/* House Cleaners Resources. Spiffy Office's ink, paper and sunshine palette. */

@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --ink: #0b1a24;
  --paper: #f5f3ee;
  --card: #ffffff;
  --sky: #0069a8;
  --sky-soft: #e0f2fe;
  --sun: #facc15;
  --sun-soft: #fef6c7;
  --text: var(--ink);
  --muted: rgb(11 26 36 / 0.7);
  --line: rgb(11 26 36 / 0.14);
  --link: var(--sky);
  --warn-bg: #fff4e0;
  --warn-ink: #7a3d00;
  --danger: #b42318;
  --ok: #1f7a3d;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(11 26 36 / 0.06), 0 6px 24px rgb(11 26 36 / 0.06);
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.32rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-4: clamp(2.4rem, 1.8rem + 3vw, 4.1rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1a24;
    --card: #12252f;
    --text: #f5f3ee;
    --muted: rgb(245 243 238 / 0.74);
    --line: rgb(245 243 238 / 0.16);
    --link: #7dd3fc;
    --sky-soft: #0f3347;
    --sun-soft: #3a3410;
    --warn-bg: #3b2608;
    --warn-ink: #ffd8a8;
    --danger: #ff8a7a;
    --ok: #7ddc9b;
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 var(--step-0) / 1.6 var(--sans);
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: #7dd3fc; } }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; margin: 0 0 0.5em; }
h1 { font: 400 var(--step-4) / 1.05 var(--serif); letter-spacing: -0.01em; }
h2 { font: 400 var(--step-3) / 1.1 var(--serif); }
h3 { font-size: var(--step-1); font-weight: 650; }
p, ul, ol { margin: 0 0 1em; }
p { text-wrap: pretty; }
.accent { font-style: italic; color: var(--sky); }
@media (prefers-color-scheme: dark) { .accent { color: #7dd3fc; } }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.eyebrow { font-size: var(--step--1); font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 62ch; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 1em; height: 1em; vertical-align: -0.12em; flex: none; }
.wrap { width: min(100% - 2rem, 1180px); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; z-index: 50; }
.skip:focus { top: 1rem; }
main:focus { outline: none; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; flex-wrap: wrap; padding-block: 0.4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font: 400 1.35rem/1 var(--serif); }
.brand-by { font-size: 0.78rem; color: var(--muted); }
.site-nav { display: flex; gap: 0.25rem 1.1rem; flex-wrap: wrap; font-size: var(--step--1); font-weight: 600; }
.site-nav a { color: inherit; text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current='page'] { border-bottom-color: var(--sun); }

/* ---------------------------------------------------------------- buttons, chips */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.6rem 1.15rem; border-radius: 999px;
  background: var(--ink); color: #fff; border: 2px solid var(--ink);
  font: 650 var(--step--1) / 1.2 var(--sans); text-decoration: none; cursor: pointer;
}
.button:hover { background: #17303f; }
@media (prefers-color-scheme: dark) {
  .button { background: var(--sun); border-color: var(--sun); color: var(--ink); }
  .button:hover { background: #fde047; }
}
.button-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.button-ghost:hover { background: var(--card); }
@media (prefers-color-scheme: dark) { .button-ghost { background: transparent; color: var(--text); border-color: var(--line); } .button-ghost:hover { background: var(--card); } }
.button-sun { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.button-sun:hover { background: #fde047; }
.button[disabled] { opacity: 0.6; cursor: progress; }
.icon-button { border: 0; background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; width: 2.75rem; height: 2.75rem; border-radius: 999px; cursor: pointer; }
.icon-button:hover { background: var(--line); }
.chip {
  min-height: 2.5rem; padding: 0.35rem 0.95rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--card); color: var(--text); font: 600 var(--step--1) / 1.2 var(--sans); cursor: pointer;
}
.chip[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (prefers-color-scheme: dark) { .chip[aria-pressed='true'] { background: var(--sun); color: var(--ink); border-color: var(--sun); } }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block: 1rem 0.5rem; }
.filter-status { min-height: 1.6em; font-size: var(--step--1); color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); }
.hero-grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.05fr; } }
.search { display: flex; align-items: center; gap: 0.5rem; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 0.3rem 0.3rem 0.3rem 1rem; max-width: 34rem; box-shadow: var(--shadow); }
.search:focus-within { border-color: var(--sky); }
.search input[type='search'] { flex: 1; min-width: 0; min-height: 2.5rem; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; padding: 0.55rem 0; }
.search input[type='search']:focus { outline: none; }
.search .icon { color: var(--muted); }
.search-inline { max-width: 26rem; padding-right: 1rem; }

/* The before/after window */
.compare { position: relative; margin: 0; }
.compare-svg { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.compare-label {
  position: absolute; top: 8%; padding: 0.2rem 0.65rem; border-radius: 999px;
  background: rgb(11 26 36 / 0.82); color: #fff; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.04em; pointer-events: none;
}
.compare-label-after { left: 9%; }
.compare-label-before { right: 9%; }
.compare-range {
  position: absolute; inset: 0 0 2.6rem; width: 100%; height: calc(100% - 2.6rem);
  margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: ew-resize; opacity: 0;
}
.compare-range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.compare-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 64px; height: 100%; background: transparent; }
.compare-range::-moz-range-track { height: 100%; background: transparent; }
.compare-range::-moz-range-thumb { width: 64px; height: 100%; border: 0; background: transparent; }
.compare-focus { opacity: 0; }
.compare:has(.compare-range:focus-visible) .compare-focus { opacity: 1; }
.compare figcaption { margin-top: 0.75rem; font-size: var(--step--1); display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; }

/* ---------------------------------------------------------------- sections */
.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section-tight { padding-block: 2rem; }
.section-head { display: grid; gap: 0.25rem; max-width: 60ch; }
.section-steps { background: var(--card); border-block: 1px solid var(--line); }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.band { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.band-ink { background: var(--ink); color: #f5f3ee; }
.band-ink .accent { color: var(--sun); }
.band-ink .eyebrow { color: rgb(245 243 238 / 0.7); }
.band-inner { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 860px) { .band-inner { grid-template-columns: 1.6fr auto; } }
.band-ink a:not(.button) { color: #7dd3fc; }

/* Numbered editorial question list */
.qgroup { margin-top: 2.25rem; }
.qgroup-h { font: 650 var(--step--1) / 1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; }
.qlist { list-style: none; padding: 0; margin: 0; }
.qitem { display: grid; grid-template-columns: 3.2rem 1fr; gap: 0.75rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.qnum { font: 400 1.6rem/1.1 var(--serif); color: var(--muted); }
.qlink { font: 400 var(--step-2) / 1.15 var(--serif); color: var(--text); text-decoration: none; }
.qlink:hover { text-decoration: underline; text-decoration-color: var(--sun); text-decoration-thickness: 3px; }
.qmeta { margin: 0.35rem 0 0; font-size: var(--step--1); color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.qstats.has-reviews { color: var(--text); font-weight: 600; }
.empty { padding: 2rem 0; }

.steps { list-style: none; padding: 0; display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { position: relative; }
.step-n { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sun); color: var(--ink); font: 400 1.5rem/1 var(--serif); margin-bottom: 0.75rem; }

.mini-pairs { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.mini-pairs li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; }
.never { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; color: var(--danger); margin-right: 0.35rem; }

/* Resource cards */
.resources { list-style: none; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin-block: 1.25rem; }
.resource { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem; display: flex; flex-direction: column; }
.resource h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.resource h3 a { color: var(--text); text-decoration: none; }
.resource h3 a:hover { text-decoration: underline; }
.resource h3 .icon { margin-left: 0.3rem; color: var(--muted); width: 0.85em; }
.resource p { margin-bottom: 0.5rem; font-size: var(--step--1); }
.resource-type { font-size: 0.75rem !important; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.35rem !important; }
.resource-featured { border: 2px solid var(--sun); background: linear-gradient(var(--sun-soft), var(--card) 70%); }
.disclosure { margin-top: auto !important; font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.page-head { padding-block: 1.5rem 0.5rem; max-width: 70ch; }

/* ---------------------------------------------------------------- question page */
.crumbs ol { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: 0.25rem; font-size: var(--step--1); color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 0.35rem; }
.crumbs a { color: inherit; }
.question-head { padding-block: 1.5rem 0.5rem; max-width: 72ch; }
.question-head h1 { font-size: var(--step-3); }
.question-meta { font-size: var(--step--1); }
.why { max-width: 72ch; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--sky); border-radius: var(--radius); padding: 1.1rem 1.25rem; margin-block: 1rem 1.5rem; }
.why h2 { font: 650 1rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.why p { margin: 0; }
.order-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.5rem; margin-block: 1rem; }
.order { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: center; font-size: var(--step--1); }
.order legend { float: left; font-weight: 650; margin-right: 0.75rem; padding: 0; }
.order label { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 2.75rem; cursor: pointer; }
.order-status { margin: 0; font-size: var(--step--1); }
.solutions { display: grid; gap: 1.5rem; }
.solution { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.1rem, 3vw, 2rem); box-shadow: var(--shadow); }
.solution.is-top { border: 2px solid var(--sun); }
.solution-head { display: grid; gap: 0.25rem; margin-bottom: 1rem; }
.solution-n { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0; }
.solution-head h2 { font-size: var(--step-2); margin: 0; }
.solution-body { display: grid; gap: 0.5rem 2rem; }
@media (min-width: 820px) { .solution-body { grid-template-columns: 1fr 1.4fr; } }
.solution h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.4rem; }
.solution ul, .solution ol { padding-left: 1.2rem; }
.solution li { margin-bottom: 0.35rem; }
.caution { background: var(--warn-bg); color: var(--warn-ink); border-radius: var(--radius); padding: 0.9rem 1.1rem; margin-block: 0.75rem; }
.caution-h { display: flex; align-items: center; gap: 0.4rem; font-weight: 750; margin-bottom: 0.35rem; }
.caution ul { margin: 0; }
.solution-sources { margin-block: 0.75rem; font-size: var(--step--1); }
.solution-sources summary { cursor: pointer; font-weight: 650; min-height: 2.75rem; display: flex; align-items: center; }
.sources { padding-left: 1.2rem; }
.sources .icon { width: 0.8em; margin-left: 0.25rem; }
.solution-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1rem; }

.community { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1rem; font-size: var(--step--1); margin-top: 0.35rem; }
.community-empty { margin: 0; }
.stars { --pct: 0%; position: relative; display: inline-block; font-size: 1.15rem; line-height: 1; letter-spacing: 2px; }
.stars::before { content: '★★★★★'; color: var(--line); }
.stars-fill { position: absolute; inset: 0; overflow: hidden; width: var(--pct); white-space: nowrap; color: #d4a106; }
.stars-fill::before { content: '★★★★★'; }
@media (prefers-color-scheme: dark) { .stars::before { color: rgb(245 243 238 / 0.25); } .stars-fill { color: var(--sun); } }
.score { font-weight: 750; font-size: 1.05rem; }
.badge { display: inline-flex; align-items: center; gap: 0.3rem; background: var(--sun); color: var(--ink); border-radius: 999px; padding: 0.15rem 0.65rem; font-weight: 700; font-size: 0.8rem; }

.reviews:empty { display: none; }
.reviews { margin-top: 1.25rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.reviews-h { font-size: 1rem; margin-bottom: 0.75rem; }
.review-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.review { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; }
.review-top { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: center; font-size: var(--step--1); }
.review-top .stars { font-size: 1rem; }
.review p { margin: 0.4rem 0 0; white-space: pre-line; }
.review dl { margin: 0.5rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 0.15rem 0.75rem; font-size: var(--step--1); }
.review dt { color: var(--muted); }
.review dd { margin: 0; white-space: pre-line; }
.review-foot { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-top: 0.4rem; font-size: var(--step--1); color: var(--muted); }
.link-button { background: none; border: 0; padding: 0.4rem 0; color: var(--link); font: inherit; text-decoration: underline; cursor: pointer; min-height: 2.75rem; }
.suggest-box { margin-block: 2rem; padding: 1.5rem; border: 2px dashed var(--line); border-radius: calc(var(--radius) + 4px); }
.suggest-box h2 { font-size: var(--step-2); }
.related { padding-left: 1.2rem; columns: 2 18rem; }
.related li { margin-bottom: 0.5rem; break-inside: avoid; }

/* ---------------------------------------------------------------- dialogs and forms */
.dialog {
  width: min(100% - 1.5rem, 40rem); max-height: min(92dvh, 56rem); padding: 0; border: 0; border-radius: 18px;
  background: var(--card); color: var(--text); box-shadow: 0 20px 60px rgb(0 0 0 / 0.3);
}
dialog:modal { overscroll-behavior: contain; }
dialog::backdrop { background: rgb(11 26 36 / 0.55); overflow: hidden; overscroll-behavior: contain; }
.form { display: grid; gap: 1rem; padding: clamp(1rem, 3vw, 1.75rem); }
.dialog-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.dialog-head h2 { font-size: var(--step-2); margin: 0; }
.dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0.75rem; }
.field { display: grid; gap: 0.35rem; font-weight: 600; font-size: var(--step--1); border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 0.35rem; }
.field > label { font-weight: 500; display: flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; }
.hint { font-weight: 400; color: var(--muted); }
.req { font-weight: 500; color: var(--muted); font-size: 0.8em; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
input:not([type='radio'], [type='checkbox'], [type='range']), select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 0.65rem 0.75rem; min-height: 2.75rem;
}
textarea { resize: vertical; }
input:user-invalid, select:user-invalid, textarea:user-invalid, [aria-invalid='true'] { border-color: var(--danger); }
input[type='radio'], input[type='checkbox'] { width: 1.2rem; height: 1.2rem; accent-color: var(--sky); flex: none; }
.again { display: flex; flex-wrap: wrap; gap: 0 1.25rem; align-content: start; }
.again legend { width: 100%; }
.check { display: flex; gap: 0.6rem; align-items: start; font-size: var(--step--1); }
.rating { border: 0; padding: 0; margin: 0; }
.rating legend { font-weight: 600; font-size: var(--step--1); margin-bottom: 0.5rem; padding: 0; }
.rating-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
.rating-options label { position: relative; display: grid; justify-items: center; gap: 0.2rem; padding: 0.55rem 0.25rem; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; text-align: center; font-size: 0.78rem; line-height: 1.15; }
.rating-options input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rating-face { font: 400 1.6rem/1 var(--serif); }
.rating-options label:has(input:checked) { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.rating-options label:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-weight: 600; margin: 0; min-height: 1px; }
.form-error:empty { display: none; }
.toast { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 0.8rem 1.15rem; border-radius: 12px; box-shadow: var(--shadow); max-width: calc(100% - 2rem); }
.toast:empty { padding: 0; box-shadow: none; }
@media (prefers-color-scheme: dark) { .toast { background: var(--sun); color: var(--ink); } }

/* ---------------------------------------------------------------- mix checker */
.mixer { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1rem, 3vw, 2rem); margin-block: 1.5rem; box-shadow: var(--shadow); }
.mixer-pick { display: grid; gap: 0.75rem; align-items: end; }
@media (min-width: 700px) { .mixer-pick { grid-template-columns: 1fr auto 1fr; } }
.mixer-pick > * { min-width: 0; }
select { max-width: 100%; text-overflow: ellipsis; }
.mixer-plus { font: 400 2rem/1 var(--serif); text-align: center; padding-bottom: 0.4rem; }
.mixer-result { margin-top: 1.25rem; min-height: 3rem; }
.mix-verdict { border-radius: var(--radius); padding: 1rem 1.2rem; }
.mix-never { background: #fde8e6; color: #7a1d12; border: 2px solid #e5484d; }
@media (prefers-color-scheme: dark) { .mix-never { background: #3a1210; color: #ffd2cc; border-color: #e5484d; } }
.mix-unknown { background: var(--warn-bg); color: var(--warn-ink); }
.mix-verdict h3 { display: flex; align-items: center; gap: 0.5rem; font-size: var(--step-1); margin-bottom: 0.4rem; }
.mix-verdict p { margin: 0.25rem 0; }
/* position: relative keeps the absolutely positioned .sr-only link text inside the scroller, so it can't widen the page. */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: var(--step--1); }
th, td { text-align: left; vertical-align: top; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--line); }
thead th { font-weight: 700; background: var(--paper); }
tbody tr:last-child > * { border-bottom: 0; }
.pairs tbody th { font-weight: 650; min-width: 11rem; }
.caution-big { background: var(--warn-bg); color: var(--warn-ink); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-block: 1.5rem; }
.caution-big h2 { font-size: var(--step-2); display: flex; align-items: center; gap: 0.5rem; }

/* ---------------------------------------------------------------- prose, admin, footer */
.prose { max-width: 72ch; padding-bottom: 3rem; }
.prose h1 { font-size: var(--step-3); margin-top: 1.5rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2rem; }
.prose li { margin-bottom: 0.5rem; }
.admin-login { max-width: 26rem; padding: 0; }
.admin-table td { max-width: 32rem; white-space: pre-line; }
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem 1.5rem; margin-top: 0; }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr; } }
.footer-line { font: 400 var(--step-2) / 1.15 var(--serif); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; font-size: var(--step--1); align-content: start; }
.footer-links a { color: inherit; min-height: 2rem; display: inline-flex; align-items: center; }
.footer-base { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1rem; color: var(--muted); }

@media (forced-colors: active) {
  .stars-fill { color: CanvasText; }
  .button, .chip[aria-pressed='true'] { border: 2px solid ButtonText; }
  .compare-focus { stroke: Highlight; }
}
@media print {
  .site-header, .site-footer, .band, .solution-actions, .suggest-box, .order-bar, dialog { display: none !important; }
  .solution { box-shadow: none; break-inside: avoid; }
}
