.monode-compat-finder {
  margin: 24px 0;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.monode-compat-finder,
.monode-compat-finder * {
  font-family: inherit;
}

.monode-compat-finder__intro {
  margin-bottom: 14px;
  color: #444;
  font-size: 16px;
}

.monode-compat-finder__controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.monode-compat-finder__search,
.monode-compat-finder__column-filter {
  height: 46px;
  box-sizing: border-box !important;
  padding: 0 16px;
  border: 1.5px solid #d8d8d8;
  border-radius: 10px;
  font-size: 16px;
  background-color: #fff;
  color: #1a1a1a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.monode-compat-finder input.monode-compat-finder__search {
  flex: 1;
  min-width: 220px;
  padding-left: 44px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 16px center !important;
  background-size: 18px 18px !important;
  font-size:18px;
}

.monode-compat-finder input.monode-compat-finder__search::-webkit-search-decoration,
.monode-compat-finder input.monode-compat-finder__search::-webkit-search-cancel-button,
.monode-compat-finder input.monode-compat-finder__search::-webkit-search-results-button,
.monode-compat-finder input.monode-compat-finder__search::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.monode-compat-finder__search::placeholder {
  color: #999;
}

.monode-compat-finder select.monode-compat-finder__column-filter {
  min-width: 200px;
  padding-right: 40px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 18px 18px !important;
  cursor: pointer;
}

.monode-compat-finder__search:hover,
.monode-compat-finder__column-filter:hover {
  border-color: #b8b8b8;
}

.monode-compat-finder__search:focus,
.monode-compat-finder__column-filter:focus {
  outline: none;
  border-color: #c0102a;
  box-shadow: 0 0 0 3px rgba(192, 16, 42, 0.12);
}

.monode-compat-finder__table-wrap {
  overflow-x: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.monode-compat-finder__table {
  border-collapse: collapse;
  width: 100%;
  min-width: 900px;
  font-size: 16px;
  background-color:#FFF;
}

.monode-compat-finder__table th,
.monode-compat-finder__table td {
  border: 1px solid #ddd;
  padding: 5px;
  text-align: center;
  white-space: nowrap;
  font-size: 16px;
}

.monode-compat-finder__table th:first-child,
.monode-compat-finder__table td:first-child {
  text-align: left;
  font-weight: bold;
  background: #fff;
  position: sticky;
  left: 0;
  width:auto;
}

.monode-compat-finder__table th {
  background: #f0f0f0;
  font-size: 14px;
}

.monode-compat-finder__table th.is-active-filter,
.monode-compat-finder__table td.is-active-filter {
  background: #fff3cd;
}

.monode-compat-finder__table td.monode-compat-finder__name-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  white-space: normal;
}

.monode-compat-finder__cell-add-to-quote-btn {
    display: block;
    margin: 6px auto 0;
    background: #c0102a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    line-height: 12px;
    width: 70px;
    transition: background 0.15s ease;
}

.monode-compat-finder__cell-add-to-quote-btn:hover,
.monode-compat-finder__cell-add-to-quote-btn:focus {
  background: #96061e;
}

.monode-compat-finder__add-to-quote-btn {
  background: #c0102a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
line-height:12px; width:70px;
  transition: background 0.15s ease;
}

.monode-compat-finder__add-to-quote-btn:hover,
.monode-compat-finder__add-to-quote-btn:focus {
  background: #96061e;
}

.monode-compat-finder__group-row td {
  background: var(--surface-1, #eee);
  font-weight: bold;
  text-align: left;
  padding: 10px 14px;
  border-top: 2px solid #c0102a;
  letter-spacing: 0.03em;
  font-size: 16px;
}

.monode-compat-finder__text-cell {
  text-align: left;
  white-space: normal;
  max-width: 320px;
  font-size: 16px;
}

.monode-compat-finder__row-select {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

.monode-compat-finder__row-select:hover,
.monode-compat-finder__row-select:focus {
  color: #c0102a;
  outline: none;
}

.monode-compat-finder__table tbody tr.is-selected td {
  background: #fff3cd;
}

.monode-compat-finder__table tbody tr.is-selected td:first-child {
  font-weight: bold;
}

.monode-compat-finder__legend {
  margin-top: 14px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #444;
  font-size: 16px;
}

.variations select {font-size:18px;}