/* =============================================================
   ComfortSizer — styles
   Concept: a thermal instrument. One accent that moves between
   "cool" (glacier blue) and "heat" (ember orange) as the visitor
   switches mode; everything else is calm ink on a cool paper.
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
@property --accent { syntax: "<color>"; inherits: true; initial-value: #0a7cff; }
@property --accent-2 { syntax: "<color>"; inherits: true; initial-value: #2ec5f0; }
@property --glow { syntax: "<color>"; inherits: true; initial-value: rgba(10,124,255,.18); }

:root {
  --bg: #f1f4f8;
  --bg-2: #e7edf4;
  --surface: #ffffff;
  --surface-2: #f5f8fb;
  --ink: #0c1625;
  --ink-2: #2a3a50;
  --muted: #5a6a7f;
  --line: #d8e0ea;
  --line-2: #c4cfdc;
  --cool: #0a7cff; --cool-2: #2ec5f0; --cool-glow: rgba(10,124,255,.18);
  --heat: #f2541b; --heat-2: #ffad1f; --heat-glow: rgba(242,84,27,.18);
  --ok: #0f9d6b; --warn: #b8620a;
  --accent: var(--cool); --accent-2: var(--cool-2); --glow: var(--cool-glow);
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(12,22,37,.06), 0 12px 40px -12px rgba(12,22,37,.18);

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 18px;
  --radius-sm: 11px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0f17; --bg-2: #0f1622; --surface: #111a27; --surface-2: #162132;
    --ink: #e9eef6; --ink-2: #c3cedd; --muted: #8d9db2; --line: #223045; --line-2: #2d3d55;
    --cool: #3d9bff; --cool-2: #46d3ff; --cool-glow: rgba(61,155,255,.22);
    --heat: #ff6a33; --heat-2: #ffbd45; --heat-glow: rgba(255,106,51,.22);
    --ok: #34c58f; --warn: #f0a04b;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px -18px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0f17; --bg-2: #0f1622; --surface: #111a27; --surface-2: #162132;
  --ink: #e9eef6; --ink-2: #c3cedd; --muted: #8d9db2; --line: #223045; --line-2: #2d3d55;
  --cool: #3d9bff; --cool-2: #46d3ff; --cool-glow: rgba(61,155,255,.22);
  --heat: #ff6a33; --heat-2: #ffbd45; --heat-glow: rgba(255,106,51,.22);
  --ok: #34c58f; --warn: #f0a04b;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 50px -18px rgba(0,0,0,.7);
  color-scheme: dark;
}
html[data-mode="heat"] { --accent: var(--heat); --accent-2: var(--heat-2); --glow: var(--heat-glow); }
html { transition: --accent .6s var(--ease-soft), --accent-2 .6s var(--ease-soft), --glow .6s var(--ease-soft); }

/* 2. Reset & base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; line-height: 1.08; letter-spacing: -0.02em; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* 3. Utilities ------------------------------------------------- */
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

/* 4. Header ---------------------------------------------------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark .bm-bg { fill: var(--accent); transition: fill .6s var(--ease-soft); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
@media (max-width: 719px) { .nav a.nav-hide-sm { display: none; } .nav a { padding: 8px 9px; font-size: 14px; } }

/* 5. Hero + ambient ------------------------------------------- */
.hero { position: relative; padding-block: clamp(28px, 5vw, 56px) 28px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto 0; height: 620px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 320px at 12% 18%, var(--glow), transparent 70%),
    radial-gradient(620px 360px at 88% 8%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%);
}
.hero-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(18px, 2.4vw, 26px); max-width: 860px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 800; }
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 60ch; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px; }
.badge svg { width: 15px; height: 15px; color: var(--accent); }

/* 6. Tool card ------------------------------------------------- */
.tool { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); overflow: hidden; }
.tool-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.seg { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; transition: color .3s; white-space: nowrap; user-select: none; }
.seg label svg { width: 18px; height: 18px; }
.seg input:checked + label { color: var(--on-accent); }
.seg input:focus-visible + label { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.seg .thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 6px 18px -6px var(--accent); transition: transform .45s var(--ease-out), width .45s var(--ease-out); }
.seg.seg-sm label { padding: 6px 12px; font-size: 14px; }
.seg.seg-quiet .thumb { background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.seg.seg-quiet input:checked + label { color: var(--ink); }

.tool-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 960px) { .tool-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }

.inputs { display: flex; flex-direction: column; gap: 22px; padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
@media (min-width: 960px) { .inputs { border-right: 1px solid var(--line); } }
.field { display: flex; flex-direction: column; gap: 10px; min-width: 0; border: 0; padding: 0; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.field-label, .field legend { font-weight: 700; font-size: 15px; color: var(--ink); padding: 0; }
.field-hint { font-size: 13px; color: var(--muted); }
.dims { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.dim { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dim-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dim-top label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.numbox { display: inline-flex; align-items: center; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 0 10px 0 4px; transition: border-color .2s, box-shadow .2s; }
.numbox:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow); }
.numbox input { width: 70px; border: 0; background: transparent; padding: 7px 6px; font-family: var(--mono); font-size: 15px; font-weight: 600; text-align: right; outline: none; -moz-appearance: textfield; }
.numbox input::-webkit-outer-spin-button, .numbox input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.numbox .unit { font-size: 13px; color: var(--muted); font-weight: 600; }
.numbox.wide input { width: 96px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --fill: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) 0, var(--accent-2) var(--fill), var(--bg-2) var(--fill)); border: 1px solid var(--line); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.18), 0 0 0 0 var(--glow); transition: box-shadow .2s, transform .2s var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 2px 8px rgba(0,0,0,.18), 0 0 0 8px var(--glow); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 6px var(--glow), 0 0 0 9px var(--accent); }

.area-read .area-sub { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.area-read { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; padding: 8px 14px; line-height: 1.3; white-space: nowrap; background: color-mix(in srgb, var(--accent) 7%, var(--surface-2)); border: 1px dashed color-mix(in srgb, var(--accent) 40%, var(--line)); border-radius: 12px; font-size: 14px; color: var(--ink-2); }
.area-read > span:first-child { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.area-read strong { font-family: var(--mono); font-size: 17px; color: var(--ink); }
.seg.no-anim .thumb { transition: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .2s var(--ease-out); user-select: none; }
.chip label svg { width: 17px; height: 17px; }
.chip label:hover { border-color: var(--line-2); transform: translateY(-1px); }
.chip input:checked + label { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--ink); }
.chip input:focus-visible + label { outline: 2.5px solid var(--accent); outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.stepper button { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-size: 20px; font-weight: 700; color: var(--ink-2); transition: background .2s; }
.stepper button:hover { background: var(--bg-2); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 34px; text-align: center; font-family: var(--mono); font-weight: 700; font-size: 17px; }
.people-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.people-icons { display: flex; gap: 2px; color: var(--accent); min-height: 22px; flex-wrap: wrap; }
.people-icons svg { width: 18px; height: 22px; animation: pop .35s var(--ease-out) both; }

.zones { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.zone { position: relative; }
.zone input { position: absolute; opacity: 0; pointer-events: none; }
.zone label { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; text-align: center; transition: border-color .2s, background .2s, transform .2s var(--ease-out); }
.zone label:hover { transform: translateY(-1px); border-color: var(--line-2); }
.zone .z-num { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; }
.zone .z-name { font-size: 12px; font-weight: 600; color: var(--muted); }
.zone .z-bar { width: 26px; height: 5px; border-radius: 3px; }
.zone input:checked + label { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.zone input:focus-visible + label { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.zone-note { font-size: 13px; color: var(--muted); }

.mode-only { transition: opacity .3s; }
html[data-mode="cool"] .heat-only, html[data-mode="heat"] .cool-only { display: none; }

/* Output side */
.output { display: flex; flex-direction: column; min-width: 0; background:
  radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%), var(--surface); }
.room { position: relative; padding: 18px 18px 0; isolation: isolate; }
.room::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 60% at 55% 55%, var(--glow), transparent 72%),
    repeating-linear-gradient(0deg, transparent 0 23px, color-mix(in srgb, var(--line) 38%, transparent) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, color-mix(in srgb, var(--line) 38%, transparent) 23px 24px);
  -webkit-mask-image: radial-gradient(75% 80% at 50% 45%, #000 40%, transparent 100%);
  mask-image: radial-gradient(75% 80% at 50% 45%, #000 40%, transparent 100%); }
.room svg { width: 100%; height: auto; max-height: 300px; margin: 0 auto; overflow: visible; }
.room .floor { fill: color-mix(in srgb, var(--accent) 8%, var(--surface-2)); stroke: var(--line-2); stroke-width: 1.2; transition: fill .6s; }
.room .floor-grid { stroke: color-mix(in srgb, var(--line-2) 70%, transparent); stroke-width: .8; }
.room .wall-l { fill: var(--surface-2); stroke: var(--line-2); stroke-width: 1.2; }
.room .wall-r { fill: color-mix(in srgb, var(--bg-2) 70%, var(--surface)); stroke: var(--line-2); stroke-width: 1.2; }
.room .win { fill: color-mix(in srgb, var(--cool-2) 22%, var(--surface)); stroke: var(--line-2); stroke-width: 1.2; }
.room .win-sun { fill: #ffc531; opacity: 0; transition: opacity .5s; }
.room .win-shade { fill: var(--ink-2); opacity: 0; transition: opacity .5s; }
.room[data-sun="sunny"] .win-sun { opacity: .55; }
.room[data-sun="shaded"] .win-shade { opacity: .28; }
.room .sunbeam { fill: url(#sunbeam); opacity: 0; transition: opacity .5s; }
.room[data-sun="sunny"] .sunbeam { opacity: 1; }
.room .unit-box { fill: var(--surface); stroke: var(--accent); stroke-width: 1.6; transition: stroke .6s; }
.room .unit-vent { stroke: var(--accent); stroke-width: 1.4; stroke-linecap: round; transition: stroke .6s; }
.room .flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 10; opacity: .7; animation: flow 1.6s linear infinite; transition: stroke .6s; }
.room .flow:nth-child(2) { animation-delay: -.5s; opacity: .5; }
.room .flow:nth-child(3) { animation-delay: -1s; opacity: .35; }
.room .person { fill: var(--ink-2); }
.room .stove { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.2; }
.room .stove-hot { fill: var(--heat); }
.room .dim-label { font-family: var(--mono); font-size: 11px; font-weight: 600; fill: var(--muted); }
.room-caption { position: absolute; top: 14px; left: 18px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }

.result { display: flex; flex-direction: column; gap: 16px; padding: 8px clamp(18px, 2.4vw, 28px) clamp(18px, 2.4vw, 26px); }
.readout { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.gauge { width: 132px; height: 132px; position: relative; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(135deg); }
.gauge .g-track { fill: none; stroke: var(--bg-2); stroke-width: 12; stroke-linecap: round; }
.gauge .g-val { fill: none; stroke: url(#gaugeGrad); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset .7s var(--ease-out); filter: drop-shadow(0 4px 10px var(--glow)); }
.gauge .g-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.gauge .g-icon { width: 34px; height: 34px; color: var(--accent); transition: color .6s; }
.big { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.big .lbl { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.big .val { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.6vw, 60px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.big .val small { font-size: .38em; font-weight: 700; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.big .sub { font-size: 15px; color: var(--ink-2); }

.rec { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), color-mix(in srgb, var(--accent-2) 10%, var(--surface))); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.rec-icon { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); }
.rec-icon svg { width: 24px; height: 24px; }
.rec-text { min-width: 0; }
.rec-text .k { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.rec-text .v { font-family: var(--display); font-size: 22px; font-weight: 800; line-height: 1.15; }
.rec-text .n { font-size: 13px; color: var(--ink-2); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.stat .k { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat .v { font-family: var(--mono); font-weight: 700; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.breakdown { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.breakdown summary { cursor: pointer; padding: 11px 14px; font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; align-items: center; list-style: none; background: var(--surface-2); }
.breakdown summary::-webkit-details-marker { display: none; }
.breakdown summary .chev { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.breakdown[open] summary .chev { transform: rotate(180deg); }
.breakdown ol { list-style: none; padding: 4px 14px 10px; display: flex; flex-direction: column; }
.breakdown li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.breakdown li:last-child { border-bottom: 0; font-weight: 800; }
.breakdown li span:last-child { font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.breakdown li.plus span:last-child { color: var(--accent); }

.notice { font-size: 14px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--line)); color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); transition: transform .2s var(--ease-out), border-color .2s, background .2s; }
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-1px); border-color: var(--line-2); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: var(--on-accent); border-color: transparent; box-shadow: 0 8px 22px -10px var(--accent); }
.btn-primary:hover { border-color: transparent; }
.btn[data-done="1"] { border-color: var(--ok); color: var(--ok); }

.privacy { display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-top: 14px; text-align: center; }
.privacy svg { width: 16px; height: 16px; color: var(--ok); }

/* Mobile sticky result pill */
.pill-result { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); z-index: 50; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; box-shadow: 0 14px 40px -10px rgba(0,0,0,.45); transition: transform .45s var(--ease-out); text-decoration: none; white-space: nowrap; }
.pill-result .dot { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: grid; place-items: center; color: #fff; }
.pill-result .dot svg { width: 15px; height: 15px; }
.pill-result.show { transform: translate(-50%, 0); }
@media (min-width: 960px) { .pill-result { display: none; } }

/* 7. Ad slots -------------------------------------------------- */
.ad-slot { min-height: 120px; margin-block: 28px; border: 1.5px dashed var(--line-2); border-radius: 14px; display: grid; place-items: center; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: color-mix(in srgb, var(--surface) 50%, transparent); }

/* 8. Content sections ----------------------------------------- */
.section { padding-block: clamp(36px, 6vw, 72px); }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; max-width: 760px; }
.section h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); }
.step-ico svg { width: 24px; height: 24px; }
.step h3 { font-size: 20px; }
.step p { color: var(--ink-2); font-size: 16px; }

.prose { display: flex; flex-direction: column; gap: 16px; max-width: 70ch; }
.prose h2 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 16px; }
.prose h3 { font-size: 22px; margin-top: 8px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line)); }
.callout svg { width: 24px; height: 24px; flex: none; color: var(--accent); margin-top: 2px; }
.callout p { color: var(--ink); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 16px; }
th, td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--surface-2); font-weight: 700; }
td.n, th.n { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
tbody tr { transition: background .3s; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr.is-hit { background: color-mix(in srgb, var(--accent) 13%, var(--surface)); }
tbody tr.is-hit td:first-child { box-shadow: inset 4px 0 0 var(--accent); font-weight: 700; }
.table-note { font-size: 14px; color: var(--muted); margin-top: 10px; }

.faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.faq details[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease-out); color: var(--muted); }
.faq details[open] summary .chev { transform: rotate(180deg); color: var(--accent); }
.faq .a { padding: 0 18px 18px; color: var(--ink-2); }

.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tool-link { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s; min-width: 0; }
a.tool-link:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.tool-link .t-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); }
.tool-link .t-ico svg { width: 22px; height: 22px; }
.tool-link h3 { font-size: 19px; }
.tool-link p { font-size: 15px; color: var(--ink-2); }
.tool-link .soon { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--bg-2); color: var(--muted); }
div.tool-link { opacity: .75; }

/* Lookup widget (chart page) */
.lookup { display: grid; gap: 18px; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
@media (min-width: 960px) { .lookup { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.btu-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.lookup-out { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 12%, var(--surface)), color-mix(in srgb, var(--accent-2) 8%, var(--surface))); border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line)); min-width: 0; }
.lookup-out .val { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.6vw, 48px); line-height: 1.05; }
.lookup-out .sub { color: var(--ink-2); }
.bars { display: flex; flex-direction: column; gap: 6px; }
.bar-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 118px; gap: 10px; align-items: center; font-size: 14px; }
.bar-row .b { height: 12px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.bar-row .b i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transition: width .6s var(--ease-out); }
.bar-row .l, .bar-row .r { font-family: var(--mono); font-weight: 600; font-size: 13px; }
.bar-row .r { text-align: right; color: var(--muted); white-space: nowrap; }
.bar-row.is-hit .l, .bar-row.is-hit .r { color: var(--accent); }

/* 9. Footer ---------------------------------------------------- */
.site-footer { margin-top: 40px; padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--surface-2); }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h3 { font-size: 15px; font-family: var(--sans); font-weight: 800; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.site-footer a:hover { color: var(--accent); }
.site-footer p { font-size: 14px; color: var(--muted); max-width: 46ch; }
.legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* Plain document pages (about, privacy, terms) */
.doc { padding-block: clamp(32px, 5vw, 64px); }
.doc h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 15px; margin-bottom: 26px; }

/* 10. Effects -------------------------------------------------- */
@keyframes flow { to { stroke-dashoffset: -28; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.hero-head > * { animation: rise .7s var(--ease-out) both; }
.hero-head > *:nth-child(2) { animation-delay: .06s; }
.hero-head > *:nth-child(3) { animation-delay: .12s; }
.hero-head > *:nth-child(4) { animation-delay: .18s; }
.tool { animation: rise .8s .15s var(--ease-out) both; }
.val.bump { animation: bump .45s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.035); } 100% { transform: scale(1); } }

/* 11. Responsive ----------------------------------------------- */
@media (max-width: 539px) {
  body { font-size: 16px; }
  .tool-bar { padding: 10px; }
  .seg label { padding: 8px 12px; font-size: 14px; }
  .dims { gap: 14px 12px; }
  .numbox input { width: 56px; }
  .readout { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .gauge { width: 96px; height: 96px; }
  .gauge .g-icon { width: 26px; height: 26px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .stat { padding: 8px; }
  .stat .v { font-size: 15px; }
  .zones { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
  .zone .z-name { font-size: 10.5px; }
  .bar-row { grid-template-columns: 52px minmax(0, 1fr) 108px; gap: 6px; font-size: 13px; }
  .bar-row .l, .bar-row .r { font-size: 12px; }
}

/* 12. Reduced motion: only intrusive effects ------------------ */
@media (prefers-reduced-motion: reduce) {
  .room .flow { animation: none; }
  html { scroll-behavior: auto; }
}

/* 13. Small-screen hero: keep the tool above the fold -------- */
.nav a { white-space: nowrap; }
@media (max-width: 539px) {
  .hero { padding-block: 18px 20px; }
  .hero .eyebrow { display: none; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 16px; }
  .hero-sub .more { display: none; }
  .badges .badge:not(:first-child) { display: none; }
  .hero-head { gap: 8px; margin-bottom: 16px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 28px; height: 28px; }
  .site-header .wrap { min-height: 56px; }
  .tool-bar { flex-wrap: nowrap; }
}

/* 14. Products: fit cards, finder, compare ------------------- */
.fits { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.fits-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.fits-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-top: 4px; }
.fits-grid, .p-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.fine { font-size: 13px; color: var(--muted); max-width: 90ch; }

.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-width: 0; transition: transform .3s var(--ease-out), box-shadow .3s, border-color .3s; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.pcard[data-fit="fit"] { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.pc-art { position: relative; display: grid; place-items: center; height: 150px; color: var(--ink-2); background:
  radial-gradient(70% 80% at 50% 40%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 75%), var(--surface-2); border-bottom: 1px solid var(--line); }
.pc-art > svg { width: 118px; height: 118px; transition: transform .4s var(--ease-out); }
.pcard:hover .pc-art > svg { transform: scale(1.06) rotate(-1.5deg); }
.pc-type { position: absolute; top: 10px; left: 10px; }
.fitbadge { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.fitbadge:empty { display: none; }
.fitbadge svg { width: 13px; height: 13px; flex: none; }
.pc-type { z-index: 1; }
.pcard[data-fit="fit"] .fitbadge { background: color-mix(in srgb, var(--ok) 14%, var(--surface)); border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); color: var(--ok); }
.pcard[data-fit="small"] .fitbadge { background: color-mix(in srgb, var(--warn) 12%, var(--surface)); color: var(--warn); }
.pcard[data-fit="small"] { opacity: .8; }
.pc-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 12px; flex: 1; }
.pc-brand { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pc-name { font-family: var(--sans); font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.pc-cap { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pc-cap .n { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pc-cap .u { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.pc-sub { font-size: 13px; color: var(--muted); margin-top: -6px; }
.pc-specs { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--ink-2); }
.pc-specs li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }
.pc-specs li span:last-child { font-weight: 700; color: var(--ink); text-align: right; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--ink-2); border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line)); }
.pill svg { width: 13px; height: 13px; color: var(--accent); }
.pc-extras { font-size: 13px; color: var(--muted); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 16px; flex-wrap: wrap; }
.pc-foot .btn { padding: 9px 14px; font-size: 14px; }
.cmp { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; user-select: none; }
.cmp input { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }

.finder-bar { display: grid; gap: 18px; grid-template-columns: 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(16px, 2.4vw, 24px); box-shadow: var(--shadow); }
@media (min-width: 960px) { .finder-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.need { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.need-out { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), color-mix(in srgb, var(--accent-2) 10%, var(--surface))); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); }
.need-out .k { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.need-out .v { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; }
.filters { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.filters .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.select { appearance: none; -webkit-appearance: none; padding: 9px 36px 9px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); font-weight: 700; font-size: 14px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 26px 0 14px; }
.results-head h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--accent); }
.empty { padding: 28px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); text-align: center; color: var(--ink-2); }

.cmpbar { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 160%); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); transition: transform .45s var(--ease-out); white-space: nowrap; font-weight: 700; }
.cmpbar.show { transform: translate(-50%, 0); }
.cmpbar .btn { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: 0; }
.cmpbar .clear { color: var(--bg); opacity: .7; font-weight: 700; font-size: 14px; }
dialog.cmpdlg { width: min(980px, calc(100% - 24px)); max-height: calc(100% - 40px); border: 1px solid var(--line); border-radius: 22px; padding: 0; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
dialog.cmpdlg::backdrop { background: rgba(6, 12, 22, .55); backdrop-filter: blur(4px); }
.dlg-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--surface); border-bottom: 1px solid var(--line); z-index: 1; }
.dlg-head h2 { font-size: 22px; font-weight: 800; }
.dlg-close { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); }
.dlg-close svg { width: 18px; height: 18px; }
.dlg-body { padding: 16px 20px 22px; overflow-x: auto; }
.cmp-table { min-width: 560px; }
.cmp-table th:first-child { width: 150px; }
.cmp-table td, .cmp-table th { vertical-align: top; }
.cmp-table .best { color: var(--ok); font-weight: 800; }
.cmp-table thead th { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); }
.cmp-table td .btn { padding: 7px 12px; font-size: 13px; }

/* 15. Extra calculators ----------------------------------------- */
.ms-rooms { display: flex; flex-direction: column; gap: 10px; }
.ms-room { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1fr) auto; gap: 8px; align-items: end; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.ms-room label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; display: block; margin-bottom: 4px; }
.ms-room input[type="text"], .ms-room input[type="number"], .ms-room select { width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 600; }
.ms-room input:focus, .ms-room select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.ms-room .ms-out { grid-column: 1 / -1; font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--accent); }
.ms-room .ms-kit { grid-column: 1 / -1; }
.ms-del { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.ms-del svg { width: 16px; height: 16px; }
.ms-del:disabled { opacity: .35; cursor: not-allowed; }
@media (max-width: 539px) { .ms-room { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } .ms-room .ms-sunwrap { grid-column: 1 / -1; grid-row: 2; } }
.verdict { padding: 14px 16px; border-radius: 14px; font-weight: 800; font-size: 18px; border: 1px solid var(--line); background: var(--surface-2); }
.verdict[data-fit="fit"] { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); background: color-mix(in srgb, var(--ok) 10%, var(--surface)); }
.verdict[data-fit="small"] { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); background: color-mix(in srgb, var(--warn) 10%, var(--surface)); }
.verdict[data-fit="big"] { color: var(--ink-2); }
.quick { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick .stat .v { font-size: 18px; }
.mini-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.mini-form .numbox input { width: 64px; }
.ms-room label.toggle { display: inline-flex; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0; }
