/* StoreCalc (店有数) site kit — shared by every tool. See docs/design.md for the rules behind these tokens. */
@font-face {
  font-family: "Archivo";
  src: url("archivo-var.woff2") format("woff2-variations"), url("archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

/* Light tokens. Dark tokens below are chosen separately (validated against the dark surface), not inverted. */
:root {
  color-scheme: light;
  --ink: #1d2b45;
  --cotton: #f8f9fb;
  --paper: #ffffff;
  --chalk: #e4e9f2;
  --line: #d5dce8;
  --thread: #5d6676;
  --selvedge: #c42b32; /* brand red; the name is kept from the first kit */
  --brand-red: #c42b32;
  --card-rule: #e0606a; /* red rule on the ink result card, same in both modes */
  --shadow: 0 10px 28px rgba(18, 26, 43, 0.14);
  --selvedge-band: #1d2b45;
  --selvedge-gap: #ffffff;
  --label-bg: #1d2b45;
  --label-text: #ffffff;
  --label-muted: #c9d3e6;
  --label-line: rgba(255, 255, 255, 0.22);
  --label-edge: transparent;
  --button-bg: #1d2b45;
  --choice-bg: #1d2b45;
  --choice-text: #ffffff;
  --button-text: #ffffff;
  --button-hover: #2a3b5c;
  --done: #2f6b3f;
  --heat-1: #dbe3f1;
  --heat-2: #b3c3e2;
  --heat-3: #869fcc;
  --heat-4: #4f6ea8;
  --heat-5: #33528a;
  --heat-6: #1f3463;
  --heat-text-low: #1d2b45;
  --heat-text-high: #ffffff;
  --sans: "Archivo", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: 1.875rem;
  --step-4: 2.375rem;
  --step-5: 3rem;
  --space: 1.5rem;
  --measure: 68ch;
  --radius: 3px;
}
/* Dark: denim at night. Same block twice: once for "follow the system", once for a manual choice. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #e6ebf4; --cotton: #121a2b; --paper: #19233a; --chalk: #1e2a45; --line: #2e3b57; --thread: #9aa6bc;
    --selvedge: #e0606a; --selvedge-band: #2c4270; --selvedge-gap: #c9d3e6; --brand-red: #e0606a; --shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    --label-bg: #24355a; --label-text: #f3f6fb; --label-muted: #c3cde0; --label-line: rgba(255, 255, 255, 0.16); --label-edge: #3a4e7a;
    --choice-bg: #3a5791; --choice-text: #ffffff; --button-bg: #e6ebf4; --button-text: #121a2b; --button-hover: #c9d3e6; --done: #8fd1a6;
    --heat-1: #223050; --heat-2: #2c4270; --heat-3: #3a5791; --heat-4: #6a8ac6; --heat-5: #8ea9da; --heat-6: #c5d4f0;
    --heat-text-low: #e6ebf4; --heat-text-high: #0f1726;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e6ebf4; --cotton: #121a2b; --paper: #19233a; --chalk: #1e2a45; --line: #2e3b57; --thread: #9aa6bc;
  --selvedge: #e0606a; --selvedge-band: #2c4270; --selvedge-gap: #c9d3e6; --brand-red: #e0606a; --shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  --label-bg: #24355a; --label-text: #f3f6fb; --label-muted: #c3cde0; --label-line: rgba(255, 255, 255, 0.16); --label-edge: #3a4e7a;
  --choice-bg: #3a5791; --choice-text: #ffffff; --button-bg: #e6ebf4; --button-text: #121a2b; --button-hover: #c9d3e6; --done: #8fd1a6;
  --heat-1: #223050; --heat-2: #2c4270; --heat-3: #3a5791; --heat-4: #6a8ac6; --heat-5: #8ea9da; --heat-6: #c5d4f0;
  --heat-text-low: #e6ebf4; --heat-text-high: #0f1726;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cotton);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variant-numeric: tabular-nums lining-nums;
}
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }

/* Site header: logo, tools menu, site links, language, color mode. Below 760px the menu collapses into one button. */
.site-head { position: relative; display: flex; align-items: center; gap: 2rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand svg { display: block; height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; flex: 1 1 auto; min-width: 0; }
.site-nav > a, .tools-menu > summary { color: var(--thread); text-decoration: none; padding: 0.35rem 0; white-space: nowrap; }
.site-nav > a:hover, .tools-menu > summary:hover { color: var(--ink); }
.site-nav > a[aria-current="page"] { color: var(--ink); font-weight: 620; }
.site-tools { display: flex; align-items: center; gap: 1rem; font-size: var(--step--1); }
.lang-switch { color: var(--thread); }
.theme-toggle { font: inherit; color: var(--thread); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.65rem 0.2rem 0.45rem; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2rem; }
.theme-toggle:hover { color: var(--ink); border-color: var(--thread); }
.theme-toggle::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 50%; border: 1.5px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

.tools-menu { position: relative; }
.tools-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--ink); font-weight: 620; }
.tools-menu > summary::-webkit-details-marker, .menu-mobile > summary::-webkit-details-marker { display: none; }
.tools-menu > summary::after { content: ""; width: 0.42rem; height: 0.42rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; margin-top: -0.3rem; transform: rotate(45deg); transition: transform 0.15s; }
.tools-menu[open] > summary::after { margin-top: 0.3rem; transform: rotate(225deg); }
.tools-panel {
  position: absolute; z-index: 30; top: calc(100% + 0.6rem); left: -1.25rem; width: min(36rem, 92vw);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.1rem 1.25rem 1.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2rem;
}
.tools-panel h3 { margin: 0 0 0.3rem; font-size: var(--step--1); font-weight: 560; color: var(--thread); }
.tools-panel ul { list-style: none; margin: 0; padding: 0; }
.tools-panel li a, .tools-panel li > span { display: block; padding: 0.3rem 0; text-decoration: none; color: var(--ink); line-height: 1.35; }
.tools-panel li a:hover { text-decoration: underline; }
.tools-panel li small { display: block; color: var(--thread); font-size: var(--step--1); }
.tools-panel li > span { color: var(--thread); }
.tools-panel .all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 0.75rem; font-size: var(--step--1); }
.menu-mobile { display: none; }
.menu-mobile > summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: var(--radius); padding: 0.3rem 0.7rem; min-height: 2.25rem; display: inline-flex; align-items: center; font-size: var(--step--1); color: var(--ink); }
.menu-mobile[open] > summary { background: var(--ink); color: var(--cotton); border-color: var(--ink); }
@media (max-width: 760px) {
  .site-head { gap: 0.75rem; }
  .site-nav { display: none; }
  .site-tools { margin-left: auto; gap: 0.75rem; }
  .theme-toggle { font-size: 0; gap: 0; padding: 0; width: 2.25rem; height: 2.25rem; justify-content: center; }
  .menu-mobile { display: block; }
  .menu-mobile .tools-panel { left: 0; right: 0; width: auto; grid-template-columns: 1fr; top: 100%; }
  .brand svg { height: 26px; }
}

/* Breadcrumbs and the current tool's own pages as tabs */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 1rem; font-size: var(--step--1); color: var(--thread); }
.crumbs a { color: var(--thread); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--line); }
.tool-tabs { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--line); margin-top: 0.75rem; overflow-x: auto; scrollbar-width: none; }
.tool-tabs a { padding: 0.55rem 0; color: var(--thread); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tool-tabs a:hover { color: var(--ink); }
.tool-tabs a[aria-current="page"] { color: var(--ink); font-weight: 620; border-bottom-color: var(--ink); }

/* Page intro */
.intro { padding: 1.5rem 0 1rem; max-width: var(--measure); }
.intro h1 { font-stretch: 76%; font-weight: 740; font-size: var(--step-4); line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 0.5rem; }
.intro p { margin: 0; color: var(--thread); font-size: var(--step-1); line-height: 1.5; }
.meta, .intro .meta { margin-top: 0.75rem; font-size: var(--step--1); line-height: 1.5; color: var(--thread); }

/* Tool layout: form beside the result label */
.tool { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem; align-items: start; padding: 1rem 0 2rem; }
@media (max-width: 820px) { .tool { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Form fields */
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1rem; }
.field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field > span { font-size: var(--step--1); color: var(--thread); }
.field small { font-size: var(--step--1); color: var(--thread); }
.field select, .field input {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 0.55rem 0.65rem; min-height: 2.75rem; width: 100%;
}
.field select:hover, .field input:hover { border-color: var(--thread); }

/* Segmented choice (radio buttons) */
.segmented { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.segmented label { flex: 1 1 auto; position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; text-align: center; padding: 0.55rem 0.75rem; min-height: 2.75rem; line-height: 1.6; color: var(--thread); }
.segmented label + label span { border-left: 1px solid var(--line); }
.segmented input:checked + span { background: var(--choice-bg); color: var(--choice-text); }
.segmented input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: -4px; }
.segmented input:disabled + span { color: var(--line); cursor: not-allowed; }
/* Five or more choices: an even 3-column grid (the form column is narrow even on desktop), every cell full height. */
.segmented:has(> label:nth-child(5)) { display: grid; grid-template-columns: repeat(3, 1fr); }
.segmented:has(> label:nth-child(5)) label { display: flex; }
.segmented:has(> label:nth-child(5)) span { flex: 1; display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.segmented:has(> label:nth-child(5)) label:nth-child(3n+1) span { border-left: 0; }
.segmented:has(> label:nth-child(5)) label:nth-child(n+4) span { border-top: 1px solid var(--line); }

/* The result card: the one memorable element. Ink card; the total sits on a red rule, the same line as the logo's. */
.care-label {
  position: relative; background: var(--label-bg); color: var(--label-text); border: 1px solid var(--label-edge);
  padding: 1.5rem 1.75rem 1.25rem; border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(15, 23, 38, 0.25);
}
.care-label .code { font-size: var(--step--1); color: var(--label-muted); letter-spacing: 0.02em; }
.care-label .headline { font-stretch: 66%; font-weight: 780; font-size: var(--step-5); line-height: 1; letter-spacing: -0.02em; margin: 0.25rem 0 0.25rem; }
.care-label .headline small { font-size: var(--step-1); font-weight: 500; font-stretch: 85%; letter-spacing: 0; color: var(--label-muted); margin-left: 0.4rem; }
.care-label .sub { color: var(--label-muted); font-size: var(--step--1); margin: 0 0 0.75rem; }
.care-label dl { margin: 0; display: grid; grid-template-columns: 1fr auto auto; column-gap: 0; }
.care-label dt, .care-label dd { margin: 0; padding: 0.45rem 0; border-top: 1px solid var(--label-line); font-size: 0.95rem; }
.care-label dd { text-align: right; white-space: nowrap; padding-left: 1rem; }
.care-label dt small { display: block; color: var(--label-muted); font-size: var(--step--1); }
.care-label .total dt, .care-label .total dd { font-weight: 680; border-top: 2px solid var(--card-rule); }
.care-label .foot { margin-top: 0.9rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.care-label .foot strong { font-stretch: 70%; font-weight: 760; font-size: var(--step-3); }
.care-label .foot span { color: var(--label-muted); font-size: var(--step--1); }
.care-label a { color: var(--label-text); }

/* Sections below the tool */
.section { padding: 2rem 0; border-top: 1px solid var(--line); }
.section h2 { font-stretch: 80%; font-weight: 720; font-size: var(--step-3); line-height: 1.15; margin: 0 0 0.5rem; }
.section > p, .section .prose { max-width: var(--measure); }
.section h3 { font-size: var(--step-1); margin: 1.5rem 0 0.5rem; }

/* Data tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.data-table caption { text-align: left; color: var(--thread); font-size: var(--step--1); padding-bottom: 0.5rem; }
.data-table th, .data-table td { text-align: left; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-weight: 600; color: var(--thread); font-size: var(--step--1); border-bottom-color: var(--thread); }
.data-table .num { text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* Heat table: sequential indigo ramp, 6 bins, value always printed in the cell */
.heat-table { width: auto; min-width: min(100%, 30rem); }
.heat-table td.cell { color: var(--heat-text-low); text-align: right; border: 2px solid var(--cotton); font-weight: 560; min-width: 5.5rem; }
/* Row labels stay on one line and stick to the left edge when many fiber columns scroll sideways. */
.heat-table tbody th { white-space: nowrap; position: sticky; left: 0; background: var(--cotton); z-index: 1; }
.heat-table td.h1 { background: var(--heat-1); }
.heat-table td.h2 { background: var(--heat-2); }
.heat-table td.h3 { background: var(--heat-3); }
.heat-table td.h4 { background: var(--heat-4); color: var(--heat-text-high); }
.heat-table td.h5 { background: var(--heat-5); color: var(--heat-text-high); }
.heat-table td.h6 { background: var(--heat-6); color: var(--heat-text-high); }
.heat-table td.cell.none { background: transparent; color: var(--thread); font-weight: 400; }
.heat-table tr.current th, .heat-table tr.current td:first-child { font-weight: 700; }
.heat-legend { display: flex; flex-wrap: wrap; gap: 0 1rem; align-items: center; margin-top: 0.75rem; font-size: var(--step--1); color: var(--thread); }
.heat-legend i { display: inline-block; width: 1.1rem; height: 0.8rem; vertical-align: -0.1rem; margin-right: 0.3rem; border-radius: 1px; }

/* Callouts */
.callout { border-left: 3px solid var(--ink); background: var(--chalk); padding: 0.6rem 0.9rem; font-size: 0.95rem; max-width: var(--measure); margin: 0.75rem 0; }
.callout.caution { border-left-color: var(--selvedge); }

/* Long-form pages (guide, prompts) */
.prose { max-width: var(--measure); }
.prose ol, .prose ul { padding-left: 1.3rem; }
.prose li + li { margin-top: 0.35rem; }
.formula { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 1rem; max-width: var(--measure); }
.prompt-block + .prompt-block { margin-top: 2rem; }
.prompt-block h3 { margin-top: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 0.75rem 0; max-width: var(--measure); }
.faq summary { cursor: pointer; font-weight: 620; list-style-position: outside; }
.faq details[open] summary { margin-bottom: 0.4rem; }
.faq details p { margin: 0.4rem 0; }

/* Prompt for AI assistants */
.ai-prompt textarea {
  width: 100%; max-width: var(--measure); display: block; min-height: 11rem; font: inherit; font-size: 0.9rem; line-height: 1.55;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem; resize: vertical;
}
.button {
  font: inherit; font-weight: 600; color: var(--button-text); background: var(--button-bg); border: 0; border-radius: var(--radius);
  padding: 0.6rem 1rem; min-height: 2.75rem; cursor: pointer; margin-top: 0.6rem;
}
.button:hover { background: var(--button-hover); }
.button[data-state="done"] { background: var(--done); }

/* Ad slots reserve space so the page does not jump when an ad loads */
.ad-slot { margin: 1.5rem 0; min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ad-slot > small { color: var(--thread); font-size: var(--step--1); align-self: flex-start; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 1.5rem 0 3rem; color: var(--thread); font-size: var(--step--1); }
.site-foot p { max-width: var(--measure); margin: 0.4rem 0; }
.site-foot ul { padding-left: 1.1rem; margin: 0.4rem 0; }

/* Home: quick answer. One sentence with a select; the answer sits inline at the end. */
.quick { background: var(--label-bg); color: var(--label-text); border-radius: var(--radius); padding: 1rem 1.4rem 0.9rem; margin: 0.5rem 0; max-width: 46rem; box-shadow: inset 0 0 0 1px var(--label-edge); }
.quick .ask { margin: 0; font-size: var(--step-0); line-height: 1.7; }
.quick select {
  font: inherit; color: var(--label-text); background: transparent; border: 0; border-bottom: 2px solid var(--card-rule);
  border-radius: 0; padding: 0 1.3rem 0 0.1rem; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 0.5rem center, right 0.2rem center; background-size: 0.3rem 0.3rem; background-repeat: no-repeat;
}
.quick select option { color: #1d2b45; background: #fff; }
.quick .ask strong { font-stretch: 66%; font-weight: 780; font-size: 2rem; line-height: 1; letter-spacing: -0.02em; margin-left: 0.2rem; white-space: nowrap; }
.quick .detail { margin: 0.15rem 0 0; color: var(--label-muted); font-size: var(--step--1); }
.quick .foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1.5rem; align-items: center; margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid var(--label-line); font-size: var(--step--1); color: var(--label-muted); }
.quick .foot a { color: var(--label-text); font-weight: 620; }

/* Home: tool directory, one row per tool, grouped */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; border-top: 1px solid var(--line); padding: 1.5rem 0 1rem; }
.pair h2 { font-stretch: 80%; font-weight: 720; font-size: var(--step-2); margin: 0.5rem 0 0.4rem; }
.pair p { margin: 0.4rem 0; color: var(--thread); max-width: var(--measure); }
@media (max-width: 720px) { .pair { grid-template-columns: 1fr; } }
.directory { padding: 2.25rem 0 1rem; }
.directory > h2 { font-stretch: 80%; font-weight: 720; font-size: var(--step-3); margin: 0 0 0.25rem; }
.directory > p { margin: 0 0 1.25rem; color: var(--thread); max-width: var(--measure); }
.tool-group { margin-top: 1.5rem; }
.tool-group h3 { margin: 0 0 0.25rem; font-size: var(--step-0); font-weight: 620; }
.tool-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tool-list li { border-bottom: 1px solid var(--line); }
.tool-row { display: grid; grid-template-columns: minmax(12rem, 1.1fr) 2fr 7.5rem; gap: 0.25rem 1.5rem; align-items: baseline; padding: 0.9rem 0; text-decoration: none; color: var(--ink); }
a.tool-row:hover .name { text-decoration: underline; text-decoration-thickness: 2px; }
.tool-row .name { font-weight: 680; font-size: var(--step-1); font-stretch: 85%; }
.tool-row .desc { color: var(--thread); }
.tool-row .state { font-size: var(--step--1); color: var(--thread); white-space: nowrap; text-align: right; }
.tool-row.soon .name { color: var(--thread); font-weight: 560; }
@media (max-width: 680px) { .tool-row { grid-template-columns: 1fr 6.5rem; } .tool-row .desc { grid-column: 1 / -1; grid-row: 2; } }

/* Tool pages: related tools */
.related ul { list-style: none; padding: 0; margin: 0.75rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.75rem; }
.related li { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.85rem 1rem; background: var(--paper); }
.related li strong { display: block; font-stretch: 85%; }
.related li strong small { font-weight: 400; color: var(--thread); font-size: var(--step--1); margin-left: 0.5rem; }
.related li span { color: var(--thread); font-size: var(--step--1); }

/* Footer brand line */
.foot-brand { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); font-weight: 620; margin-bottom: 0.4rem; }
.foot-brand svg { height: 20px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 0.6rem 0; }

/* Mobile result bar: mirrors the result card while the card is below the screen */
.result-bar { display: none; }
@media (max-width: 820px) {
  .result-bar {
    position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 0.75rem;
    padding: 0.7rem 1.25rem calc(0.7rem + env(safe-area-inset-bottom)); background: var(--label-bg); color: var(--label-text);
    box-shadow: 0 -6px 20px rgba(18, 26, 43, 0.18); border-top: 2px solid var(--card-rule);
    transform: translateY(110%); transition: transform 0.2s ease;
  }
  .result-bar.show { transform: none; }
  .result-bar .rb-rate { font-stretch: 66%; font-weight: 780; font-size: var(--step-3); line-height: 1; }
  .result-bar .rb-sub { color: var(--label-muted); font-size: var(--step--1); line-height: 1.3; flex: 1; min-width: 0; }
  .result-bar a { color: var(--label-text); font-size: var(--step--1); font-weight: 620; white-space: nowrap; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 560px) {
  .intro h1 { font-size: var(--step-3); }
  .fields { grid-template-columns: 1fr; }
  .care-label { padding: 1.25rem 1.25rem 1rem; }
  .care-label .headline { font-size: var(--step-4); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print {
  html:root:root { color-scheme: light; --ink: #1d2b45; --cotton: #fff; --paper: #fff; --chalk: #e4e9f2; --line: #d5dce8; --thread: #5d6676; }
}
@media print { .ad-slot, .ai-prompt .button, .site-tools, .site-nav, .menu-mobile, .tool-tabs, .result-bar { display: none; } body { background: #fff; } }
