:root {
  color-scheme: light;

  --ink: oklch(0.23 0.008 85);
  --ink-2: oklch(0.34 0.008 85);
  --screen-bg: oklch(0.985 0.004 85);
  --card-bg: oklch(1 0 0);
  --border: oklch(0.90 0.006 85);
  --border-light: oklch(0.93 0.006 85);
  --text-mute: oklch(0.52 0.010 85);
  --text-mute-2: oklch(0.50 0.010 85);
  /* These three carry small type — 10.5px mono labels, 11.5px ranges, the
     "Not verified" rows — so they are held at 4.5:1 against both --card-bg
     and --screen-bg rather than at whatever looked quiet enough. At 0.62 and
     0.66 they measured 3.6:1 and 3.0:1, which is a failure on the exact text
     that says how much to trust the number beside it. */
  --text-faint: oklch(0.545 0.010 85);
  --text-unverified: oklch(0.545 0.008 85);
  --placeholder: oklch(0.555 0.008 85);

  /* The accent is blue now. The tokens keep the word "green" on purpose: three
     frozen animation snapshots read --green by that name to paint themselves,
     and renaming it would quietly drop them back to their built-in colour. */
  --green: #006ce4;
  --green-hover: oklch(0.48 0.20 257);
  --green-deep: oklch(0.40 0.18 257);
  --green-deep-hover: oklch(0.34 0.15 257);
  --green-label: oklch(0.42 0.17 257);
  --green-body: oklch(0.40 0.14 257);
  --green-card-bg: oklch(0.965 0.030 257);
  --green-card-border: oklch(0.86 0.06 257);
  --green-cta-ink-light: oklch(0.99 0.004 257);

  --amber: oklch(0.60 0.14 60);
  --amber-deep: oklch(0.38 0.11 60);
  --amber-label: oklch(0.44 0.11 60);
  --amber-body: oklch(0.40 0.09 60);
  --amber-card-bg: oklch(0.965 0.025 60);
  --amber-card-border: oklch(0.88 0.04 60);
  --amber-outline-border: oklch(0.82 0.04 60);
  --amber-outline-hover-bg: oklch(0.95 0.03 60);

  --sans: "Instrument Sans", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--screen-bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
h1, h2, p { text-wrap: pretty; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@keyframes rs-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes rs-sweep { to { transform: rotate(360deg); } }

.anim-in { animation: rs-in 0.3s ease-out both; }
.anim-in-slow { animation: rs-in 0.35s ease-out both; }

/* ---------- screens ---------- */

.screen {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--screen-bg);
}
.screen--landing,
.screen--loading { padding: calc(var(--safe-top) + 20px) 24px calc(var(--safe-bottom) + 44px); }
.screen--result { padding: calc(var(--safe-top) + 16px) 20px calc(var(--safe-bottom) + 44px); }
.screen--empty { padding: calc(var(--safe-top) + 16px) 24px calc(var(--safe-bottom) + 44px); }
.spacer { flex: 1; }
.spacer--min { min-height: 24px; }

/* ---------- landing ---------- */

/* The padding is the tap target, not decoration: the wordmark is the way home
   from every screen, and as a bare 16px line it stood 20px tall — under the
   24px floor, never mind a thumb. The negative margins hold the mark where it
   was drawn, so the target grew and the layout did not move. */
/* Every screen opens with this row: the way home on the left, the language
   on the right. */
.screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 52px;
}
.lang-btn {
  flex: 0 0 auto;
  font-size: 13px;
  padding: 0 8px;
  margin-right: -8px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 8px;
  margin: 0 0 0 -8px;
  text-decoration: none;
  border-radius: 8px;
}
.logo:hover .logo__name { text-decoration: underline; text-underline-offset: 3px; }
/* The wordmark is a comparison: the OTA side muted, the sign in the accent
   colour the old dot used, and the name in the page's own face. */
/* The page face, not the mono one: in a monospace the double bar sits in two
   separate cells and the mark reads as "B | | T". */
.logo__formula { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--sans); font-size: 16px; }
.logo__ota { color: var(--text-mute); font-weight: 500; letter-spacing: -0.01em; }
.logo__cmp { color: var(--green); font-size: 17px; line-height: 1; }
.logo__name { font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }

.hero { font-size: 40px; line-height: 1.02; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 16px; }
html[lang="ru"] .hero { font-size: 38px; line-height: 1.04; }
.lede { font-size: 16px; line-height: 1.5; color: var(--text-mute-2); margin: 0 0 32px; }

.field {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 6px 4px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 2px oklch(0.23 0.008 85 / 0.05), 0 10px 28px oklch(0.23 0.008 85 / 0.05);
}
.field:focus-within { outline: 2px solid var(--green); outline-offset: 2px; }
.field.is-invalid { border-color: var(--amber); }
.field__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  padding: 17px 0;
  color: var(--ink);
}
.field__input::placeholder { color: var(--placeholder); }
.field__paste {
  flex: 0 0 auto;
  min-height: 44px;
  border: none;
  background: transparent;
  color: var(--text-mute);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 12px 8px;
}
.field__paste:hover { color: var(--ink); }

.otas {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.field-error { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--amber-deep); }

.footnote { margin: 14px 0 0; font-size: 13.5px; color: var(--text-mute); text-align: center; }
.slogan { margin: 0; padding-top: 32px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }

/* ---------- buttons ---------- */

.btn {
  width: 100%;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: 0 16px;
}
.btn--primary {
  margin-top: 24px;
  min-height: 56px;
  border-radius: 13px;
  background: var(--green);
  color: var(--green-cta-ink-light);
  font-size: 17px;
}
.btn--primary:hover { background: var(--green-hover); }
.btn--verdict {
  margin-top: 20px;
  min-height: 54px;
  border-radius: 12px;
  background: var(--green-deep);
  color: var(--green-cta-ink-light);
  font-size: 16.5px;
}
.btn--verdict:hover { background: var(--green-deep-hover); }
.btn--dark {
  margin-top: 20px;
  min-height: 54px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--screen-bg);
  font-size: 16.5px;
}
.btn--dark:hover { background: var(--ink-2); }
.btn--amber-outline {
  margin-top: 10px;
  min-height: 54px;
  border-radius: 12px;
  border: 1px solid var(--amber-outline-border);
  background: transparent;
  color: var(--amber-deep);
  font-size: 16.5px;
}
.btn--amber-outline:hover { background: var(--amber-outline-hover-bg); }
.btn--outline-ink {
  margin-top: 14px;
  min-height: 50px;
  border-radius: 12px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}
.btn--outline-ink:hover:not(:disabled) { background: var(--ink); color: var(--screen-bg); }
.btn--outline-ink:disabled { cursor: default; opacity: 0.55; }
.btn--bottom {
  min-height: 54px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--screen-bg);
  font-size: 16.5px;
}
.btn--bottom:hover { background: var(--ink-2); }

.link-btn {
  min-height: 44px;
  border: none;
  background: transparent;
  color: var(--text-faint);
  font: inherit;
  padding: 0 4px;
  margin-right: -4px;
}
.link-btn:hover { color: var(--ink); }
.link-btn--center {
  align-self: center;
  margin: 12px 0 0;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

/* ---------- loading ---------- */

.loading-head { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; min-width: 0; }
.spinner {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid oklch(0.89 0.006 85);
}
.spinner::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: var(--green);
  animation: rs-sweep 0.9s linear infinite;
}
.loading-url {
  min-width: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.steps { display: flex; flex-direction: column; gap: 30px; }
.step__title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 12px; }
.step__lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-mute-2);
}
.step__line { display: flex; gap: 9px; }
.step__check { flex: 0 0 auto; color: var(--green); }
.step__note { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-mute-2); }
.step__final { margin: 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: oklch(0.48 0.14 150); }

/* ---------- result ---------- */

.hotel { display: flex; gap: 13px; align-items: center; margin-bottom: 20px; }
.hotel__img {
  flex: 0 0 auto;
  width: 54px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: cover;
  background-image: repeating-linear-gradient(135deg, oklch(0.94 0.006 85) 0 5px, oklch(0.975 0.004 85) 5px 10px);
}
.hotel__text { min-width: 0; }
.hotel__name { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.hotel__meta { margin-top: 3px; font-size: 13px; color: var(--text-mute); }

.verdict {
  border: 1px solid var(--green-card-border);
  background: var(--green-card-bg);
  border-radius: 16px;
  padding: 22px 20px;
}
.verdict__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-label);
}
.verdict__dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.verdict__metric {
  margin: 0;
  font-size: 56px;
  line-height: 0.92;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--green-deep);
}
html[lang="ru"] .verdict__metric { font-size: 48px; line-height: 0.96; }
.verdict__body { margin: 11px 0 0; font-size: 15px; line-height: 1.45; color: var(--green-body); }

.verdict--ota { border-color: var(--amber-card-border); background: var(--amber-card-bg); }
.verdict--ota .verdict__label { color: var(--amber-label); }
.verdict--ota .verdict__dot { background: var(--amber); }
.verdict--ota .verdict__metric { font-size: 38px; line-height: 1.0; letter-spacing: -0.035em; color: var(--amber-deep); }
html[lang="ru"] .verdict--ota .verdict__metric { font-size: 34px; line-height: 1.04; }
.verdict--ota .verdict__body { margin-top: 12px; color: var(--amber-body); }

.rates { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.rate {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rate__label,
.read-card__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.rate__sub { margin-top: 5px; font-size: 13px; color: var(--text-mute); }
.rate__price { font-size: 24px; font-weight: 600; letter-spacing: -0.025em; white-space: nowrap; }
.rate--loser .rate__price { color: oklch(0.45 0.010 85); }
.rate--win-green { border: 1.5px solid var(--green); }
.rate--win-green .rate__label { color: var(--green-label); }
.rate--win-amber { border: 1.5px solid var(--amber); }
.rate--win-amber .rate__label { color: var(--amber-label); }

.panel {
  margin-top: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 13px;
  overflow: hidden;
}
.acc__btn {
  width: 100%;
  min-height: 52px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.acc__btn:focus-visible { outline-offset: -3px; }
.acc__toggle { font-size: 13px; color: var(--text-faint); }
.acc__body { padding: 0 18px 18px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--border-light); font-size: 14px; }
.kv__k { flex: 0 0 auto; color: var(--text-mute); }
.kv__v { text-align: right; }
.kv__v--good { color: var(--green-label); }
.kv__v--unverified { color: var(--text-unverified); }
.fineprint { margin: 14px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-mute); }

.explain { padding: 18px; }
.explain__title { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.explain__body { margin: 0; font-size: 14px; line-height: 1.55; color: oklch(0.48 0.010 85); }
.inline-mono { font-family: var(--mono); font-size: 13px; color: var(--ink); }

.result-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

/* ---------- empty / no match ---------- */

/* The screens below open with the wordmark, which is also the way home; the
   dashed circle that used to sit there was decoration in that spot. */
.screen--empty > .screen-head { margin-bottom: 14px; }
.screen--result > .screen-head { margin-bottom: 6px; }
.screen--loading > .screen-head { margin-bottom: 28px; }
.empty-title { margin: 0 0 14px; font-size: 30px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
html[lang="ru"] .empty-title { font-size: 28px; line-height: 1.12; }
.empty-lede { margin: 0 0 24px; font-size: 15.5px; line-height: 1.5; color: var(--text-mute-2); }
.empty-title + .read-card { margin-top: 10px; }

.read-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.read-card + .read-card { margin-top: 14px; }
.read-card__label { margin-bottom: 12px; }
.read-card__price { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.read-card__sub { margin-top: 6px; font-size: 13.5px; color: var(--text-mute); }
.read-card__rows {
  border-top: 1px solid var(--border-light);
  margin-top: 16px;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
}
.read-card__rows--flush { border-top: none; margin-top: 0; padding-top: 0; }
.read-card__row { display: flex; justify-content: space-between; gap: 12px; }

.ask { margin-top: 14px; border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.ask__text { margin: 0; font-size: 14.5px; line-height: 1.55; color: oklch(0.48 0.010 85); }

/* ---------- screenshot evidence ---------- */

.evidence__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.evidence__note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mute);
}
.source-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-unverified);
}
.tried { margin-top: 14px; }
.tried__title {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.tried__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-mute);
}
.tried__status { font-family: var(--mono); font-size: 11px; color: var(--text-faint); text-align: right; }

@media (prefers-reduced-motion: reduce) {
  .anim-in, .anim-in-slow { animation: none; }
  .spinner::after { animation-duration: 2.4s; }
}

/* ---------- wide screens ---------- */

/* The result is the one screen with more than a phone's worth of content on
   it — a verdict, two rate rows, a perk list and up to forty-four rates in
   two folded lists — and on a desktop it was all of that in a 480px ribbon
   with the rest of the display empty. The answer stays in the left column and
   the evidence moves alongside it.
   Only this screen widens. The landing is a headline and one field, and it
   does not get better for being stretched. */
@media (min-width: 900px) {
  .screen--result {
    max-width: 940px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-auto-flow: row dense;
    align-content: start;
    column-gap: 24px;
    padding-inline: 28px;
  }
  .screen--result > * { grid-column: 1; align-self: start; }
  .screen--result > .screen-head,
  .screen--result > .hotel,
  .screen--result > .result-foot { grid-column: 1 / -1; }
  .screen--result > .panel { grid-column: 2; }
  /* The lists are the tall things; opened, they should scroll with the page
     rather than push the verdict off the top of it. */
  .screen--result > .panel:first-of-type { margin-top: 0; }
}

/* ---------- copy-the-link demo ---------- */

.demo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 18px;
}

/* ---------- segmented control ---------- */

/* One component, used twice: which platform the clip demonstrates, and which
   of the page's rates the comparison runs against. It was two — a pill on the
   landing and a card on the confirmation — written as two rule sets under the
   same class names, so each quietly restyled the other. Worse, only one of
   them carried aria-pressed, which is why the selected state on the
   confirmation screen existed in colour and nowhere else.
   Selection is now keyed off aria-pressed itself. A button that looks chosen
   is a button that says it is chosen; they cannot drift apart again. */
.seg {
  display: flex;
  gap: 6px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--screen-bg);
}

.seg__btn {
  appearance: none;
  flex: 1 1 0;
  min-height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  padding: 6px 8px;
  color: var(--text-mute);
  transition: background 140ms ease, color 140ms ease;
}

.seg__btn:hover:not(:disabled) { color: var(--ink); }

.seg__btn[aria-pressed="true"] {
  background: var(--card-bg);
  color: var(--ink);
  box-shadow: 0 1px 2px oklch(0.23 0.008 85 / 0.10);
}

.seg__label { font-size: 12px; }
.seg__price { font-size: 15px; font-weight: 600; }
.seg__btn[aria-pressed="true"] .seg__price { color: var(--green-label); }

/* The landing's variant: one word per button, so it wants a pill. */
.seg--pill {
  display: inline-flex;
  align-self: center;
  gap: 2px;
  background: oklch(0.955 0.005 85);
  border-color: var(--border-light);
  border-radius: 999px;
}
.seg--pill .seg__btn {
  flex: 0 0 auto;
  min-height: 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 6px 14px;
  border-radius: 999px;
}

.demo__stage {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: var(--screen-bg);
  overflow: hidden;
}

/* The canvas keeps its own 4:3 height; the script sets it in pixels. */
.demo__canvas {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.demo__caption {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  min-height: 1.4em;
}

@media (prefers-reduced-motion: reduce) {
  .seg__btn { transition: none; }
}

/* Version badge, shown only while a frozen cut of the clip is being viewed. */
.demo__stage { position: relative; }

.demo__version {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: oklch(0.23 0.008 85 / 0.72);
  color: oklch(0.99 0.004 85);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- sign-in ---------- */

.providers {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.btn--provider {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--card-bg);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 500;
}

.btn--provider:hover { border-color: var(--text-faint); }

/* Telegram renders its own button here and will not be restyled. */
.tg-slot { display: flex; justify-content: center; min-height: 40px; }

.signed-in {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-faint);
  text-align: center;
}

/* The magnifier sits beside the name, not crowded against it. */
.btn--primary { gap: 10px; }
.btn__icon { flex: 0 0 auto; }

/* ---------- confirm what we read ---------- */

.confirm {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-bg);
  overflow: hidden;
}

.cr { padding: 12px 16px; border-top: 1px solid var(--border-light); }
.cr:first-child { border-top: none; }

.cr__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.cr__value { margin-top: 3px; font-size: 15px; line-height: 1.4; color: var(--ink); }

.cr__edit { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.cr__field { flex: 1 1 120px; display: flex; flex-direction: column; gap: 3px; }
.cr__field > span { font-size: 11px; color: var(--text-mute); }

.cr__input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--screen-bg);
  padding: 9px 10px;
  font-size: 15px;
  color: var(--ink);
}
.cr__input:focus { outline: 2px solid var(--green); outline-offset: 1px; }

.cr__hint { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: var(--text-faint); }

/* A price nobody has vouched for: the row says so rather than sitting there
   looking like every other read field. */
.cr--warn { background: var(--amber-card-bg); }
/* The amber fill is lighter than the card, so the muted greys that clear
   4.5:1 on white fall just under it here. These are the labels that say how
   much to trust the price beside them, so they take the amber ink. */
.cr--warn .cr__label,
.cr--warn .basis__title { color: var(--amber-label); }
.cr--warn .cr__hint { color: var(--amber-body); }

.cr__edit--stacked { flex-direction: column; gap: 4px; }
.cr__nightly {
  margin: 0;
  min-height: 16px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-faint);
}
.cr__value .cr__nightly { display: inline; }

/* This tick is the gate on the whole two-minute search, and it used to be an
   18px box inside a 19px-tall label. Now the row itself is the target. */
.cr__check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  min-height: 44px;
  padding: 6px 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--amber-deep);
  cursor: pointer;
}
.cr__check input { width: 22px; height: 22px; margin: 0; accent-color: var(--green); flex: 0 0 auto; }

/* Not disabled any more: the button stays pressable and says what is missing,
   because a greyed-out control that never takes focus is invisible to anyone
   arriving by keyboard. This is what "not ready yet" looks like. */
.btn--primary[aria-disabled="true"] {
  background: var(--border);
  /* Darker than --text-mute, which only cleared 4.1:1 on this fill. A
     disabled control is exempt from the contrast rule; this one is not
     disabled, so it is not exempt. */
  color: oklch(0.42 0.010 85);
}
.btn--primary[aria-disabled="true"]:hover { background: var(--border); }

/* The comparison runs on USD; the site's own currency sits under it. */
.rate__prices { text-align: right; }
.rate__quoted {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: var(--text-faint);
  white-space: nowrap;
}

/* A tie is neither a win nor a warning, so it takes neither colour. */
.verdict--tie { border-color: var(--border); background: var(--card-bg); }
.verdict--tie .verdict__label { color: var(--text-mute); }
.verdict--tie .verdict__dot { background: var(--text-faint); }
.verdict--tie .verdict__metric { font-size: 40px; line-height: 1.0; letter-spacing: -0.035em; color: var(--ink); }
html[lang="ru"] .verdict--tie .verdict__metric { font-size: 34px; line-height: 1.04; }
.verdict--tie .verdict__body { margin-top: 12px; color: var(--ink-2); }

/* Under a button that leads somewhere with a login on it. */
.cta-note { margin: 9px 0 0; font-size: 12.5px; line-height: 1.4; text-align: center; color: var(--text-mute); }
.verdict--ota .cta-note { color: var(--amber-body); }

/* One box per child, small enough to sit in a row. */
.cr__ages { margin-top: 8px; }
.cr__ages .cr__field { flex: 0 1 108px; }
.cr__input--age { text-align: center; }

/* ---------- the perk rate ---------- */

/* The advisor's whole reason to exist, so it gets a card of its own rather
   than a line in a list. */
.perks {
  margin-top: 14px;
  border: 1.5px solid var(--green);
  border-radius: 16px;
  background: var(--green-card-bg);
  padding: 18px 18px 20px;
}
.perks__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-label);
}
.perks__price {
  margin-top: 10px;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--green-deep);
}
.perks__delta { margin: 8px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--green-body); }

/* The perk rate leading the page. It takes the weight the "Save $16" card
   used to have, because at a few dollars over the cheapest line it is the
   answer — the saving is the smaller number on the screen and it was the
   bigger one. */
.perks--lead { margin-top: 0; padding: 22px 20px; }
.perks--lead .perks__label { margin-bottom: 14px; }
.perks__metric {
  margin: 0;
  font-size: 44px;
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--green-deep);
}
html[lang="ru"] .perks__metric { font-size: 36px; line-height: 1.02; }
.perks__total {
  margin-top: 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--green-body);
}

/* The qualifiers that belong beside the claim, not eight rows under a fold:
   whether the rooms are the same room, and whether the terms match. */
.verdict__caveat {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--green-card-border);
  font-size: 13px;
  line-height: 1.5;
  color: var(--green-body);
}
.verdict--tie .verdict__caveat { border-top-color: var(--border); color: var(--text-mute); }

/* A heading may not live inside a button, so it wraps one. */
.acc__head { margin: 0; font-size: inherit; font-weight: inherit; }
.perks__meta { margin-top: 10px; font-size: 14.5px; color: var(--ink); }
.perks__note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--text-mute); }

/* A price from a supplier with no stake in this comparison. It gets a rule
   above it because it is evidence, not more of the same argument. */
.perks__outside {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--green-card-border);
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--green-body);
}

.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-mute);
  background: var(--card-bg);
}
.badge--perks { border-color: var(--green); color: var(--green-label); background: var(--green-card-bg); }
.badge--warn { border-color: var(--amber-outline-border); color: var(--amber-deep); }

/* ---------- every rate the portal listed ---------- */

.rl__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--border-light);
}
.rl__row:first-child { border-top: none; }
.rl__row--perks { background: var(--green-card-bg); border-radius: 10px; padding: 11px 10px; }
/* Long room names must not push the price out of the card. */
.rl__main { min-width: 0; }
.rl__name { font-size: 14.5px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.rl__room { margin-top: 2px; font-size: 13px; color: var(--text-mute); }
.rl__price { flex: 0 0 auto; font-size: 16px; font-weight: 600; color: var(--ink); }

/* Which of the page's rates the comparison runs against. */
.basis { margin-top: 12px; }
.basis__title {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.basis .seg { margin-top: 6px; }

/* The span of a rate list, legible from the header. */
/* On the title's own line: the count and the span read as one label. */
.acc__range { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 400; color: var(--text-faint); white-space: nowrap; }

/* What the perk programme actually includes. */
.perks__list ul { margin: 6px 0 0; padding-left: 18px; }
.perks__list li { font-size: 14px; line-height: 1.5; color: var(--ink); }
.perks__list li + li { margin-top: 2px; }
