/* pflegegrad-aktuell.de: one stylesheet. Contract: DESIGN.md. No inline styles (CSP style-src 'self').
   Light theme only for v1: no dark mode. */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #e8f0f0;
  --surface: #ffffff;
  --ink: #1c2a2e;
  --ink-2: #3f4d51;
  --teal: #0e4a57;
  --teal-hover: #0b3a45; /* DESIGN.md .btn hover */
  --teal-tint: #d5e7e8;
  --amber-text: #8a4300;
  --amber-bg: #fdf0dd;
  --amber-ui: #a85a00;
  --line: #6b7b7e;

  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2rem, 1.3rem + 3vw, 3.25rem);
  --fs-h2: clamp(1.625rem, 1.45rem + 0.5vw, 1.75rem); /* ≥1.3× h3 at every width */
  --fs-body: 1.125rem;
  --fs-small: 1rem;
  --fs-label: 0.875rem; /* .tag-draft only */

  --radius-input: 10px;
  --radius-card: 12px;
  --radius-pill: 999px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 72px;

  --measure: 70ch;
  --gutter: clamp(16px, 4vw, 32px);
  --container: 70rem;
  --target: 44px;
  --hatch: repeating-linear-gradient(135deg, var(--amber-ui) 0 2px, transparent 2px 8px);
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/source-serif-4-600.woff2") format("woff2");
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--line) var(--bg); }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }

/* ---------- 3. Base typography ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  caret-color: var(--teal);
  overflow-wrap: break-word;
  hyphens: manual; /* soft hyphens only; auto split too many short words at 320–390px */
}
::selection { background: var(--teal); color: var(--surface); }

h1, h2 { font-family: var(--font-display); font-weight: 600; color: var(--ink); text-wrap: balance; hyphens: manual; }
h1 { font-size: var(--fs-display); line-height: 1.15; letter-spacing: -0.015em; max-width: 22ch; }
h2 { font-size: var(--fs-h2); line-height: 1.25; letter-spacing: -0.005em; max-width: 36ch; }
h3 { font-size: 1.25rem; line-height: 1.35; font-weight: 600; text-wrap: balance; hyphens: manual; }
p, li, dd { text-wrap: pretty; }
:where(p, ul, ol, dl, blockquote) { max-width: var(--measure); }
:where(ul, ol) { padding-inline-start: 1.4em; }
li + li { margin-block-start: var(--space-2); }
li::marker { color: var(--ink-2); }
strong, b { font-weight: 700; }
small { font-size: var(--fs-small); }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

/* Numbers in data line up */
table, .rows__amount, .figures, .result__loss, .countdown, .scales__ticks, .stand { font-variant-numeric: tabular-nums; }

/* Flow: tight groups, more space above headings than below */
:where(main, main section, main article, .card, .result, .offer, .flow) > * + * { margin-block-start: var(--space-4); }
:where(main, main section, main article, .flow) > * + h2 { margin-block-start: var(--space-7); }
:where(main, main section, main article, .card, .flow) > * + h3 { margin-block-start: var(--space-5); }
main > * + section { margin-block-start: var(--space-7); }
h1 + .stand { margin-block-start: var(--space-3); }

blockquote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5);
}
blockquote > * + * { margin-block-start: var(--space-3); }

/* ---------- 4. Layout ---------- */
.site-header__inner, main, .site-footer__inner {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
main { display: block; padding-block: var(--space-6) var(--space-8); }
.lede { font-size: 1.25rem; line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-4);
}
@media (min-width: 40rem) { .card { padding: var(--space-6); } }
/* Home hero: calculator card + .scales strip. Stacked on phones (strip right under the card),
   side by side from 60rem so both sit in the first viewport; the strip stays in view while the card grows. */
.hero { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); }
  .hero__scales { position: sticky; top: var(--space-4); }
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- 5. Focus, skip link ---------- */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 10;
  padding: var(--space-3) var(--space-4);
  background: var(--teal);
  color: var(--surface);
  font-weight: 600;
  border-radius: var(--radius-input);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- 6. Header ---------- */
.site-header { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: var(--space-6);
  padding-block: var(--space-2);
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: var(--target);
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.site-header__logo::before {
  content: "";
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  background: url("/favicon.svg") center / contain no-repeat;
}
.site-header__nav { display: flex; flex-wrap: wrap; column-gap: var(--space-5); }
.site-header__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--target);
  color: var(--ink);
  font-size: var(--fs-small);
  text-decoration: none;
  text-underline-offset: 0.35em;
}
.site-header__nav a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.site-header__nav a[aria-current="page"] {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--teal);
}
@media (min-width: 48rem) { .site-header__nav a { font-size: var(--fs-body); } }

/* ---------- 7. Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-small); line-height: 1.5; }
.site-footer__inner { padding-block: var(--space-6) var(--space-7); }
.site-footer__inner > * + * { margin-block-start: var(--space-3); }
.site-footer__inner > nav { margin-block-start: var(--space-5); }
.site-footer__disclaimer { color: var(--ink); }
.site-footer__links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; column-gap: var(--space-5); max-width: none; }
.site-footer__links li { margin: 0; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: var(--target); }
.site-footer__links--legal { border-top: 1px solid var(--line); padding-top: var(--space-2); }

/* ---------- 8. Components ---------- */

/* .btn */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--target);
  padding: 12px 22px;
  border: 2px solid var(--teal);
  border-radius: var(--radius-input);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}
.btn--primary { background: var(--teal); color: var(--surface); }
.btn--primary:hover { background: var(--teal-hover); border-color: var(--teal-hover); }
.btn--secondary { background: var(--surface); color: var(--teal); }
.btn--secondary:hover { background: var(--teal-tint); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--surface); border-color: var(--line); color: var(--ink-2); cursor: not-allowed; }

/* .offer + .disclosure (hidden via [hidden], see end of file) */
.offer {
  display: grid;
  gap: var(--space-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-4);
}
.offer > * + * { margin-block-start: 0; }
.offer .btn { justify-self: start; }
.disclosure { font-size: var(--fs-small); color: var(--ink-2); }
.offer .disclosure { margin-block-start: calc(-1 * var(--space-1)); }
@media (min-width: 48rem) {
  .offer {
    grid-template-columns: 1fr auto;
    grid-template-areas: "head cta" "text disc";
    column-gap: var(--space-6);
    row-gap: var(--space-2);
    align-items: center;
    padding: var(--space-5) var(--space-6);
  }
  .offer > h2, .offer > h3 { grid-area: head; }
  .offer > p:not(.disclosure) { grid-area: text; align-self: start; }
  .offer > .btn { grid-area: cta; justify-self: stretch; }
  .offer > .disclosure { grid-area: disc; align-self: start; text-align: center; margin: 0; }
}

/* .tag-draft: neutral, never amber (A10) */
.tag-draft {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--fs-label);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 0.12em;
  white-space: nowrap;
}

/* .stand */
.stand { font-size: var(--fs-small); line-height: 1.5; color: var(--ink-2); }

/* .sources */
.sources { font-size: var(--fs-small); line-height: 1.5; }
.sources ul { padding-inline-start: 1.2em; }

/* .table (+ .table-scroll wrapper for wide tables on phones) */
.table-scroll { overflow-x: auto; max-width: 100%; }
.table { width: 100%; background: var(--surface); border: 1px solid var(--line); }
.table caption {
  caption-side: top;
  text-align: start;
  padding-block-end: var(--space-2);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink);
}
.table th, .table td { border: 1px solid var(--line); padding: var(--space-3) var(--space-4); text-align: start; vertical-align: top; }
.table thead th { background: var(--teal-tint); font-weight: 600; }
.table tbody th { font-weight: 600; }
/* Downgrade row: amber-ui hatch strip on the first cell (pattern + colour, echoes .scales).
   Same swatch as the .scales caption legend; no text ever sits on the hatch. */
.table__row--downgrade > :first-child::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1rem;
  margin-block: var(--space-1);
  border: 1px solid var(--line);
  background: var(--teal-tint) var(--hatch);
}

/* .rows: grade list */
.rows { list-style: none; padding: 0; max-width: none; border-top: 1px solid var(--line); }
.rows__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: var(--space-4);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--line);
}
li.rows__item { margin: 0; }
.rows__grade { font-weight: 600; }
.rows__amount { font-weight: 600; text-align: end; }
.rows__label { font-weight: 400; color: var(--ink-2); }
.rows__link { grid-column: 1 / -1; display: inline-flex; align-items: center; min-height: var(--target); justify-self: start; }
@media (min-width: 40rem) {
  .rows__item { grid-template-columns: minmax(9rem, 1fr) 2fr auto; }
  .rows__amount { text-align: start; }
  .rows__link { grid-column: auto; }
}

/* .choice radio cards: real radios, whole card clickable */
.choice { display: grid; gap: var(--space-3); }
.choice legend { font-size: 1.25rem; font-weight: 600; line-height: 1.35; margin-block-end: var(--space-2); }
.choice__hint { grid-column: 1 / -1; color: var(--ink-2); font-size: var(--fs-small); margin-block-start: calc(-1 * var(--space-2)); }
.choice--row { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.choice__card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 56px;
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}
.choice__card:hover { border-color: var(--ink-2); }
.choice__card input {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0;
  accent-color: var(--teal);
  cursor: pointer;
}
.choice__card:has(input:checked) { border-color: var(--teal); box-shadow: inset 0 0 0 1px var(--teal); background: var(--teal-tint); }
.choice__card:has(input:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.choice__card input:focus-visible { outline: none; }

/* Text inputs + select */
.field { display: grid; gap: var(--space-2); max-width: var(--measure); }
.field > label, .field__label { font-weight: 600; line-height: 1.4; }
.field__hint { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.5; }
input:where([type="text"], [type="email"], [type="search"], [type="tel"], [type="number"], :not([type])), select, textarea {
  min-height: var(--target);
  width: 100%;
  max-width: 100%;
  padding: 10px var(--space-3);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius-input);
  font-size: var(--fs-body);
  line-height: 1.4;
}
input:where([type="text"], [type="email"], [type="search"], [type="tel"], [type="number"], :not([type])):hover, select:hover, textarea:hover { border-color: var(--ink-2); }
input::placeholder, textarea::placeholder { color: var(--ink-2); opacity: 1; }
.input--points { width: 9ch; min-height: 56px; font-size: 1.5rem; font-weight: 600; font-variant-numeric: tabular-nums; text-align: end; }
/* Invalid: thicker ink border + the message with a drawn badge; never colour alone */
[aria-invalid="true"] { border-color: var(--ink); border-width: 3px; padding-inline: 11px; }
.field__error { display: flex; gap: var(--space-2); align-items: baseline; font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
.field__error::before {
  content: "!";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  font-weight: 700;
  line-height: 1;
  transform: translateY(0.2em);
}

/* Range input: 44px hit area, 28px thumb. calc.js may set --p (0–100) for the WebKit fill */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: var(--target);
  margin: 0;
  background: transparent;
  cursor: pointer;
}
input[type="range"]:focus-visible { outline: none; }
input[type="range"]::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(to right, var(--teal) calc(var(--p, 0) * 1%), var(--surface) 0);
  box-shadow: inset 0 0 0 1px var(--line);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -9px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 1px 3px rgba(28, 42, 46, 0.3);
}
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px var(--surface), 0 0 0 5px var(--teal); }
input[type="range"]::-moz-range-track { height: 10px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); }
input[type="range"]::-moz-range-progress { height: 10px; border-radius: var(--radius-pill); background: var(--teal); }
input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), 0 1px 3px rgba(28, 42, 46, 0.3);
}
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px var(--surface), 0 0 0 5px var(--teal); }

/* .result: amber only in data-state="drop" (A10) */
.result {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-5) var(--space-4);
}
@media (min-width: 40rem) { .result { padding: var(--space-5) var(--space-6); } }
.result__heading { font-size: var(--fs-h2); }
.result__body { max-width: var(--measure); }
.result[data-state="drop"] { box-shadow: 0 2px 8px rgba(28, 42, 46, 0.08); }
.result__loss { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.result[data-state="drop"] .result__loss {
  background: var(--amber-bg);
  color: var(--amber-text);
  border-radius: var(--radius-input);
  padding: var(--space-3) var(--space-4);
  max-width: none;
}
.result__loss-detail { font-size: var(--fs-small); color: var(--ink-2); }
.result[data-state="drop"] .result__loss + .result__loss-detail { margin-block-start: var(--space-2); }

/* Result figure rows (e.g. "Heute: 599 € Pflegegeld" / "Ab 2027: 638 € …") */
.figures { display: grid; max-width: var(--measure); }
.figures > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  column-gap: var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
}
.figures > div:last-child { border-bottom: 1px solid var(--line); }
.figures dt { color: var(--ink-2); }
.figures dd { font-weight: 600; }

/* .countdown: shape everywhere, amber only inside a drop result */
.countdown {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: var(--fs-body);
  line-height: 1.4;
}
.result[data-state="drop"] .countdown { background: var(--amber-bg); color: var(--amber-text); }

/* .scales: two stacked bars. Custom properties are unitless percentages (0–100):
   .scales__segment --start/--end, .scales__marker --pos. Set via el.style.setProperty (CSP-safe). */
.scales {
  --pad: var(--space-4);
  position: relative;
  display: grid;
  gap: var(--space-4);
  padding: 2.75rem var(--pad) var(--space-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
@media (min-width: 40rem) { .scales { --pad: var(--space-6); } }
.scales__bar { display: grid; gap: var(--space-1); }
.scales__bar-label {
  position: relative;
  z-index: 2;
  justify-self: start;
  padding-inline-end: var(--space-2);
  background: var(--surface);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.5;
}
.scales__track {
  position: relative;
  height: var(--target);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-input);
  overflow: hidden;
}
.scales__segment {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--start, 0) * 1%);
  width: calc((var(--end, 0) - var(--start, 0)) * 1%);
  display: grid;
  place-items: center;
  background: var(--teal-tint);
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  white-space: nowrap;
}
.scales__segment[data-grade="0"] { background: var(--surface); border-left: 0; }
.scales__segment:not([data-grade="0"], .scales__segment--downgrade)::before { content: "PG\00a0" attr(data-grade); }
.scales__segment--downgrade { background-color: var(--teal-tint); background-image: var(--hatch); }
@media (max-width: 29.99rem) {
  .scales__segment:not([data-grade="0"], .scales__segment--downgrade)::before { content: attr(data-grade); }
}
.scales__ticks { position: relative; height: 2rem; color: var(--ink-2); font-size: var(--fs-small); line-height: 1; }
.scales__ticks span { position: absolute; top: 10px; transform: translateX(-50%); }
.scales__ticks span::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 1px;
  height: 6px;
  background: var(--line);
}
.scales__ticks span:nth-child(1) { left: 0; transform: none; }
.scales__ticks span:nth-child(1)::before { left: 0; }
.scales__ticks span:nth-child(2) { left: 25%; }
.scales__ticks span:nth-child(3) { left: 50%; }
.scales__ticks span:nth-child(4) { left: 75%; }
.scales__ticks span:nth-child(5) { left: 100%; transform: translateX(-100%); }
.scales__ticks span:nth-child(5)::before { left: auto; right: 0; }
.scales__marker {
  position: absolute;
  z-index: 1;
  top: 2.5rem;
  bottom: calc(var(--space-3) + 2rem);
  left: calc(var(--pad) + (100% - 2 * var(--pad)) * var(--pos, 0) / 100);
  width: 3px;
  margin-left: -1px;
  background: var(--amber-ui);
  transition: left 150ms ease-out;
}
.scales__marker::before {
  content: attr(data-label);
  position: absolute;
  bottom: 100%;
  left: 0;
  transform: translateX(calc(var(--pos, 0) * -1%));
  padding: 2px var(--space-2);
  background: var(--surface);
  border: 2px solid var(--amber-ui);
  border-radius: var(--radius-pill);
  color: var(--ink);
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.scales__caption { display: flex; gap: var(--space-2); align-items: baseline; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.5; }
.scales__caption::before {
  content: "";
  flex: none;
  width: 1.5rem;
  height: 1rem;
  border: 1px solid var(--line);
  background: var(--teal-tint) var(--hatch);
  transform: translateY(0.15em);
}
* + .scales__caption { margin-block-start: var(--space-2); }

/* Plain list of links (404, hubs): each row a full-width 44px target */
.linklist { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.linklist li { margin: 0; padding: var(--space-2) 0; border-bottom: 1px solid var(--line); }
.linklist a { display: flex; align-items: center; min-height: var(--target); font-weight: 600; }

/* noscript note */
.noscript {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: var(--space-4);
  max-width: var(--measure);
}

/* ---------- 9. Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0ms !important;
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 10. [hidden] must win over component display rules (kept last) ---------- */
[hidden], .offer[hidden], .scales__marker[hidden] { display: none; }
