.finder-page {
  --finder-surface: #131915;
  --finder-border: #35453a;
  --finder-muted: #b4c1b5;
  padding-block: clamp(24px, 4vw, 52px) clamp(46px, 8vw, 110px);
}

.finder-intro {
  margin-bottom: clamp(22px, 3vw, 32px);
}

.finder-intro .breadcrumbs {
  padding-block: 0;
}

.finder-intro h1 {
  margin: 13px 0 11px;
  font-size: clamp(2.35rem, 5.3vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -.064em;
}

.finder-intro > p {
  max-width: 56ch;
  margin: 0;
  color: var(--finder-muted);
  line-height: 1.65;
}

.finder-layout {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(16px, 3vw, 38px);
}

.finder-filters,
.finder-best,
.finder-empty,
.finder-other li {
  min-width: 0;
  background: var(--finder-surface);
  border: 1px solid var(--finder-border);
  border-radius: 16px;
}

.finder-filters,
.finder-best,
.finder-empty {
  padding: clamp(16px, 3vw, 34px);
}

.finder-filters h2,
.finder-matches h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.036em;
}

.finder-workload {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 16px 0;
  border: 0;
}

.finder-workload legend {
  margin-bottom: 7px;
}

.finder-workload legend,
.finder-fields label {
  color: #dbe6d9;
  font-size: .84rem;
  font-weight: 650;
}

.finder-workload-choice {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 11px;
  background: #111613;
  border: 1px solid var(--finder-border);
  border-radius: 9px;
  color: #e9f0e8;
  cursor: pointer;
}

.finder-workload-choice:has(input:checked) {
  background: #233224;
  border-color: #789563;
}

.finder-workload-choice input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--lime);
}

.finder-workload-choice .icon {
  width: 20px;
  height: 20px;
  color: #a9cc9e;
}

.finder-workload-choice strong {
  font-size: .85rem;
}

.finder-workload-choice small {
  display: block;
  margin-top: 2px;
  color: #bac7b9;
  font-size: .75rem;
  line-height: 1.35;
}

.finder-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
}

.finder-fields label {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.finder-fields :is(input, select) {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 8px 9px;
  background: #101612;
  border: 1px solid #4e6253;
  border-radius: 7px;
  color: #e6efe5;
  color-scheme: dark;
  font-size: .85rem;
}

.finder-fields input::placeholder {
  color: #a9b8ab;
}

.finder-workload-choice:has(:focus-visible),
.finder-fields :focus-visible {
  outline: 2px solid #bde974;
  outline-offset: 2px;
}

.finder-note,
.finder-matches-note {
  margin: 14px 0;
  color: var(--finder-muted);
  font-size: .8rem;
  line-height: 1.5;
}

.finder-filters > button {
  width: 100%;
}

.finder-matches {
  min-width: 0;
  scroll-margin-top: 106px;
}

.finder-matches-header,
.finder-best-top,
.finder-best-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.finder-matches-header {
  margin-bottom: 14px;
}

.finder-matches-header p,
.finder-best-top p,
.finder-best-bottom p,
.finder-empty p {
  margin: 3px 0 0;
  color: var(--finder-muted);
  font-size: .84rem;
  line-height: 1.5;
}

.finder-best {
  border-color: #648052;
  background: radial-gradient(ellipse at 78% 0%, #233424 0%, transparent 62%), var(--finder-surface);
}

.finder-best-top {
  align-items: end;
}

.finder-best-top .finder-best-label {
  margin: 0 0 3px;
  color: #d6f1ad;
  font-size: .76rem;
  font-weight: 650;
}

.finder-best-top h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3.6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -.052em;
}

.finder-price {
  justify-self: end;
  text-align: end;
  font-variant-numeric: tabular-nums;
  color: #c5d9bb;
}

.finder-price > strong {
  color: #effbe7;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -.045em;
  line-height: 1;
}

.finder-price > small {
  display: block;
  margin-top: 3px;
}

.finder-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 18px 0;
  background: #111713;
  border: 1px solid var(--finder-border);
  border-radius: 9px;
}

.finder-specs > div {
  padding: 10px 11px;
}

.finder-specs > div + div {
  border-inline-start: 1px solid var(--finder-border);
}

.finder-specs dt,
.finder-other small {
  color: var(--finder-muted);
  font-size: .73rem;
}

.finder-specs dd {
  margin: 2px 0 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.finder-best-bottom p {
  display: flex;
  align-items: center;
  gap: 7px;
}

.finder-best-bottom .icon {
  width: 17px;
  height: 17px;
  color: #bce49d;
}

.finder-other {
  margin-top: 20px;
}

.finder-other h3,
.finder-empty h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.finder-other ul {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.finder-other li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px 14px;
  padding: 10px 13px;
  border-radius: 10px;
}

.finder-other small {
  display: block;
  line-height: 1.35;
}

.finder-other-price {
  text-align: end;
  font-size: .88rem;
  font-variant-numeric: tabular-nums;
}

.finder-empty p {
  margin: 6px 0 15px;
}

@media (max-width: 830px) {
  .finder-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .finder-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .finder-specs > div:nth-child(3) {
    border-inline-start: 0;
  }

  .finder-specs > div:nth-child(n + 3) {
    border-top: 1px solid var(--finder-border);
  }

  .finder-price {
    text-align: start;
  }

  .finder-other li {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .finder-other li > a {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
