
/* ---------- compound page, plain layout (Paulo, 2026-10-25) ----------
   What it is → Dosage → Calculator → What to watch for → Supplies → Go deeper
   (dropdowns). Injected after the base styles by setup/v2-transform.py. */

/* Header card = What it is: two sentences, studied-for list, other names, note */
#whatis #c-studied{margin-top:4px}
.st-h{font-size:1.05rem;margin:6px 0 6px}
.studied{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}
.studied li{padding:10px 0;border-bottom:1px solid var(--line)}
.st-t{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.st-t b{font-family:var(--f-display);font-size:1rem}
.studied li p{margin:3px 0 0;color:var(--ink-2);font-size:.95rem;line-height:1.5;max-width:var(--measure)}
.evs{font:600 .75rem/1 var(--f-body);padding:4px 8px;border-radius:999px;white-space:nowrap}
.evs.ev-H{background:#E3F4F1;color:#0B6B5C}
.evs.ev-A{background:#ECEEF6;color:#3A4A7A}
.evs.ev-U{background:#FFF1DE;color:#8A4B00}
.evs.ev-\?{background:#EEECE8;color:#5A5650}
#whatis .aka{align-items:center;margin-top:2px}
#whatis .aka-l{font:600 .75rem var(--f-body);color:var(--ink-3);background:none;border:0;padding:0;margin-right:2px;text-transform:uppercase;letter-spacing:.05em}
#whatis .note-edu{margin-top:4px;background:rgba(255,255,255,.6);font-size:.82rem;padding:8px 12px}
#whatis .newhere{margin-top:0}

/* Dosage */
#dosing .facts{margin:14px 0 4px}
.dsum{font-size:1.05rem;margin:14px 0 12px;max-width:var(--measure)}
.psum{margin:6px 0 12px;color:var(--ink-2);max-width:var(--measure)}
.psum b{color:var(--ink)}
.palso{margin-top:14px}
.palso h3{font-size:.95rem;margin-bottom:6px}
.palso ul{margin:0;padding-left:18px;color:var(--ink-2);font-size:.95rem}
.palso li{margin-bottom:4px}

/* the ladder: weeks, dose, units on one line, also on phones */
table.dose.simple th:nth-child(1),table.dose.simple td:nth-child(1){display:none}
table.dose.simple.flat th:nth-child(2),table.dose.simple.flat td:nth-child(2){display:none}
table.dose.simple td{vertical-align:middle}

/* dropdowns inside a card */
details.sub{margin-top:14px;border-top:1px solid var(--line)}
details.sub>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:14px 0 6px;font:700 1rem var(--f-display);color:var(--teal-ink);min-height:44px}
details.sub>summary::-webkit-details-marker,details.drop>summary::-webkit-details-marker{display:none}
.chev{flex:none;transition:transform .15s}
details[open]>summary .chev{transform:rotate(180deg)}
details.sub .protos{margin-top:10px}

/* What to watch for */
.wlist{list-style:none;padding:0;margin:12px 0 0;display:grid;gap:8px}
.wlist li{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:10px 14px;border-radius:var(--r-m);background:var(--surface)}
.wavoid{margin-top:12px;max-width:var(--measure);color:var(--ink-2)}

/* Go deeper */
.deeper{margin-top:28px}
.deeper h2{margin-bottom:4px}
details.drop{padding:0;overflow:hidden}
details.drop>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:18px 22px;min-height:56px}
details.drop>summary b{display:block;font:700 1.1rem var(--f-display)}
details.drop>summary small{display:block;color:var(--ink-3);font-size:.88rem}
details.drop>summary .chev{order:2;margin-left:auto;color:var(--teal-ink)}
details.drop[open]>summary{border-bottom:1px solid var(--line)}
.drop-body{padding:4px 22px 22px}
.drop-body>.card{border:0;padding:0;margin:22px 0 0;background:none;box-shadow:none;border-radius:0}
.drop-body>.card h2{font-size:1.2rem}
.drop-body>.reg{margin-top:18px}

@media (max-width:560px){
  table.dose.simple tr{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:4px 12px;padding:10px 12px}
  table.dose.simple.flat tr{grid-template-columns:1fr auto}
  table.dose.simple td:nth-child(2)::before{content:none}
  table.dose.simple td:nth-child(2){display:block;font-size:.8rem;text-transform:none;letter-spacing:0}
  table.dose.simple td:nth-child(3){margin:0;font-size:1rem}
  table.dose.simple td:nth-child(3) .mono{display:none}
  table.dose.simple td:nth-child(4){margin:0;text-align:right}
  table.dose.simple td:nth-child(4)::before{content:none}
  details.drop>summary{padding:14px 16px}
  .drop-body{padding:4px 16px 16px}
  .studied li,.wlist li{padding:10px 12px;flex-direction:column;gap:6px}
}
#whatis ul.studied{padding-left:0;margin-left:0}
#whatis ul.studied li{margin-bottom:0}
/* compound calculator: vial strength question */
.strengths{margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.str-q{font:700 1rem/1.3 var(--f-display);margin:0}
.str-hint{font-size:.88rem;color:var(--ink-2);margin:2px 0 8px}
.str-chips{display:flex;flex-wrap:wrap;gap:6px}
#whatis .st-more{margin-top:0;border-top:0}
#whatis .st-more>summary{padding:10px 0 4px;font-size:.95rem}
#whatis .st-more .studied{border-top:0}
/* Stacking, short (Paulo, 2026-10-27) */
.stk-intro{margin:6px 0 10px;color:var(--ink-2)}
.stk{list-style:none;padding:0;margin:0 0 4px;border-top:1px solid var(--line)}
.stk li{padding:10px 0;border-bottom:1px solid var(--line)}
.stk li p{margin:3px 0 0;color:var(--ink-2);font-size:.95rem;line-height:1.5}
.stk-line{margin:12px 0 0;font-size:.95rem;color:var(--ink-2)}
.stk-line b{color:var(--ink)}
#stk ul.stk{padding-left:0}
.splitnote{margin:12px 0 0;padding:10px 14px;border-left:3px solid var(--orange);background:var(--orange-wash);border-radius:0 var(--r-s) var(--r-s) 0}
.splitnote b{color:var(--ink)}
.sup.sup-note{background:var(--surface);border-style:dashed}
/* blends (Paulo, 2026-10-28; switch + search the same evening) */
.calc{color-scheme:light}
.bl-mode{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 16px;border-radius:14px;background:var(--surface,#F2F4F6)}
.bl-mode button{min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--ink-2,#4A5063);font:600 .98rem var(--f-body);cursor:pointer}
.bl-mode button[aria-checked="true"]{background:#fff;color:var(--navy);box-shadow:0 0 0 1.5px var(--navy) inset}
.blendbox{margin:0 0 16px;padding-bottom:14px;border-bottom:1px solid var(--line)}
.bl-parts{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bl-part{display:grid;gap:6px;align-content:start}
.bl-part label{font-weight:600;font-size:.92rem}
.bl-combo{position:relative}
.bl-name{width:100%;height:44px;border:1.5px solid var(--line-strong,#8A8F9E);border-radius:10px;padding:0 12px;font:inherit;font-size:16px;background:#fff;color:var(--navy)}
.bl-list{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);list-style:none;margin:0;padding:4px;background:#fff;border:1.5px solid var(--navy);border-radius:12px;max-height:260px;overflow:auto;box-shadow:0 8px 24px rgba(13,19,42,.12)}
.bl-list li{padding:10px 12px;border-radius:8px;cursor:pointer;color:var(--navy);min-height:24px}
.bl-list li small{color:var(--ink-3,#6B7080);font-size:.8rem}
.bl-list li[aria-selected="true"],.bl-list li:hover{background:var(--teal-wash,#E3F4F4)}
.bl-part .inp input{font-size:16px}
.bl-basis{border:0;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center}
.bl-basis legend{font-weight:600;font-size:.92rem;padding:0;margin-bottom:6px;width:100%}
.bl-basis label{display:inline-flex;align-items:center;gap:8px;min-height:36px;cursor:pointer}
.bl-basis input{flex:none;accent-color:var(--navy);width:24px;height:24px;margin:0}
.bl-line{margin:10px 0 0;padding:10px 14px;border-radius:12px;background:var(--teal-wash,#E3F4F4);color:var(--navy)}
.bl-row{display:block;font-size:.8rem;color:var(--ink-2);margin-top:2px}
@media (max-width:560px){.bl-parts{grid-template-columns:1fr}}


/* ---------- phones (M3 mobile pass, 2026-10-25) ----------
   Checked by setup/verify-mobile.js at 320, 360, 390 and 430 px. */

/* Small text sits on its own line with its own line height, so a 12px note
   inside 16px body copy doesn't inherit a 27px line gap. */
small{line-height:1.45}
.fact small,.water small,.calc small{display:block;margin-top:2px}

/* compound page: the selected protocol's card, and "show all" buttons */
.proto-on{margin-top:14px;background:var(--surface)}
.proto-on dl div{grid-template-columns:110px minmax(0,1fr)}
.protos-h{margin:22px 0 10px;font-size:1rem}
.more-btn{margin-top:12px}
#c-protocols{display:block}
/* compound header: text runs full width (the letter watermark column made the
   header twice as tall and pushed the dosage down) */
.cover-plain{grid-template-columns:minmax(0,1fr)!important}
.cover-plain .cv-art{display:none}
.cover-plain .cv-txt p{max-width:70ch}

/* Glossary definitions open as a bottom sheet on touch screens, so a term
   near the right edge never opens a box that runs off the screen. */
@media (hover:none),(max-width:560px){
  .term .def{position:fixed;left:12px;right:12px;bottom:12px;top:auto;width:auto;max-width:none;z-index:200;font-size:.95rem;padding:14px 16px;box-shadow:0 10px 40px rgba(14,31,58,.35)}
  .term .def::before{display:none}
}

/* Syringe: fit the screen instead of scrolling sideways; scale its labels up
   so they stay readable at phone width. */
@media (max-width:640px){
  .syr-wrap{overflow:visible}
  .syr-wrap svg{min-width:0}
  .syr-wrap svg text{font-size:32px}
  .syr-wrap svg text[font-weight="800"]{font-size:36px}
  .syr-wrap svg text.t-odd{display:none}
}

@media (max-width:560px){
  /* readable minimums: labels, chips and tags never under 12px */
  .fact span,.stat span,.who,.tag,.ev,.evc,.auto-pill,.dose th,.calc label span,.water>span{font-size:.75rem}
  .ev,.evc{min-height:26px}

  /* nested cards: each wrapper gave up 16-22px a side; on a phone the text
     column was down to about 240px */
  .wrap{padding-left:14px;padding-right:14px}
  .card{padding:18px 16px;border-radius:var(--r-m)}
  .card .card,.card .boxed,.boxed{padding:14px}
  .mix-band{padding:16px 12px}
  .calc{padding:16px 14px}
  .water{padding:14px}
  .card ul,.boxed ul{padding-left:18px}
  .card ul li,.boxed ul li{margin-bottom:6px}

  /* compound hero facts: vial chips wrap in a row, not one per line */
  .fact .sizes{display:flex;flex-wrap:wrap;gap:6px}
  .facts .fact:first-child,.facts .fact:last-child{grid-column:1/-1}
  .cover-plain .cv-txt p{font-size:1rem;line-height:1.55}
  .note-edu{font-size:.82rem;padding:10px 12px}
  .note-edu .rev{margin-left:0}
  .aka span{font-size:.75rem;padding:3px 7px}

  /* "What brings you here?" cards: icon, title, then the count, stacked */
  .topics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .topic{grid-template-columns:1fr;gap:8px;padding:14px;align-items:start;align-content:start}
  .topic .ring{width:38px;height:38px}
  .topic svg{width:20px;height:20px}
  .topic b{font-size:1rem}
  .topic small{font-size:.85rem}
  .topic .n{font-size:.8rem;white-space:normal}

  /* dose steps: tighter cards, still one tap each */
  .dose tr{padding:10px 14px;margin-bottom:8px}

  /* compound hero: the watermark strip below the text is empty space on a phone */
  .cover-plain .cv-art{display:none}
  .cv-txt{padding:20px 18px}

  /* breadcrumb and footer links: room for a thumb */
  .crumbs a{padding-block:10px}
  .sup .who,body .who{font-size:.75rem}
  .calc a[target=_blank]{display:inline-block;padding-block:10px}
  .cta-inline,a.go,a.more{display:inline-block;padding-block:10px}
  a.logo{min-height:40px;display:inline-flex;align-items:center}
  .foot a{padding:9px 0}

  /* compound list rows: one column, so the dose never sits on top of the class */
  .crow{grid-template-columns:minmax(0,1fr);gap:4px;padding:12px 14px}
  .crow .cd,.crow .cf,.crow .cev{grid-column:1;justify-self:start;text-align:left;white-space:normal}

  /* mascot boxes: smaller mascot so the text keeps its width */
  .mguide{grid-template-columns:56px minmax(0,1fr);gap:10px;padding:14px}
  .mguide img{width:56px;margin-top:0}

  /* Start here steps: number above the text instead of beside it */
  .stepc{grid-template-columns:minmax(0,1fr);gap:10px;padding:16px}
  .stepc .n{width:36px;height:36px;border-radius:10px;font-size:1rem}

  /* protocol cards: narrower label column */
  .proto dl div{grid-template-columns:84px minmax(0,1fr)}

  /* calculator vial and syringe chips: label on its own line, chips pack two to a row */
  .vials,.syr-tabs{display:flex;flex-wrap:wrap;gap:6px}
  .vials .lab,.syr-tabs .lab{flex-basis:100%}
  .vials .chip,.syr-tabs .chip{padding:5px 9px;font-size:.8rem;min-height:36px}

  /* long headings break cleanly */
  h1,h2,h3{overflow-wrap:break-word;hyphens:auto}

  /* tap targets: chips, tabs and buttons at least 40px tall */
  .chip,.btn,.icon-btn,.seg button,.unit button,#ptabs button,.toc a,#toc a{min-height:40px}
}

@media (max-width:340px){
  .topics{grid-template-columns:1fr}
  .facts{grid-template-columns:1fr 1fr;gap:8px}
}

/* supplies on phones: quantities stay on one line (Paulo, 2026-10-27) */
@media (max-width:560px){.sup .qty{font-size:1.15rem;white-space:nowrap}}


/* ---------- visual pass (impeccable + visual-hierarchy audit, 2026-10-27) ----------
   Fixes ranked by visual impact. Brand palette only; tints allowed. */

/* 1. full-width bands reach the edges (the browser's 8px body margin was showing) */
body{margin:0}

/* 2. home: break the stack of identical rows */
@media (min-width:861px){
  .topics{grid-template-columns:repeat(4,minmax(0,1fr))}
  .topic{grid-template-columns:1fr;align-content:start;align-items:start;gap:10px;min-height:150px;padding:18px}
  .topic .n{white-space:normal}
  .evrow{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.evi{grid-template-columns:1fr;gap:8px}
.evi .evc{justify-self:start}

/* 3. home calculator: the question sits at the top beside the tool */
@media (min-width:861px){
  .mix-band{align-items:start}
  .mix-band>div:first-child{position:sticky;top:96px;padding-top:12px}
}

/* 4. compounds index: one library, not islands */
.cgroups section,.cgroup{padding-block:0}
.cgroups{gap:44px}

/* 6. color carries meaning: teal = clickable/selected; labels in the warm accent */
.eyebrow{color:var(--orange-ink)}
.res .num{color:var(--navy)}

/* 7. clearer steps from H1 to h2 to label to body */
h2{font-size:clamp(1.75rem,3.4vw,2.5rem);letter-spacing:-.02em}
.card h2,.drop-body h2,.boxed h2{font-size:clamp(1.35rem,2.4vw,1.75rem)}
.eyebrow{font:600 .78rem/1.4 var(--f-body);text-transform:uppercase;letter-spacing:.08em}
.hero p{font-size:1.2rem;line-height:1.5;font-weight:400}

/* 8. "Start here" is the main action */
.door{border:1.5px solid var(--line);background:#fff;padding:22px 24px}
.door:not(.vet){background:var(--navy);border-color:var(--navy);color:#fff}
.door:not(.vet) *{color:#fff}
.door:not(.vet) p,.door:not(.vet) small{color:rgba(255,255,255,.78)}
.door:not(.vet) .ic,.door:not(.vet) .ic *{background:var(--teal-wash);color:var(--teal-ink)}
.door:not(.vet) .ic *{background:none}
.door b,.door h3{font:700 1.15rem/1.3 var(--f-display)}
@media (min-width:861px){.hero-grid{align-items:end}}
@media (max-width:860px){.hero-art{max-width:240px}}

/* 9. numbers in the body face (tabular), mono only in the calculator and syringe */
.crow .cd,.pc .line,.fact b,.cover .aka span,#whatis .aka span{font-family:var(--f-body);font-variant-numeric:tabular-nums}

/* 10. no clipped watermark letters on cards */
.pc .wm,.sq .wm{display:none}
.pc .tag{margin-bottom:14px}

/* dosage: the ladder is the main thing in the section */
#dosing .fact{background:transparent;border:1.5px solid var(--line)}
.supplier img{aspect-ratio:3/2;object-fit:cover}

/* 5. compound header: an "At a glance" panel beside the plain answer (desktop) */
#glance{display:none}
@media (min-width:901px){
  .cover-plain{grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr)!important;align-items:start}
  #glance{display:grid;gap:14px;margin:22px 22px 22px 0;padding:22px;border-radius:var(--r-l);background:var(--navy);color:#fff;align-self:start;position:sticky;top:90px}
  #glance h3{font:600 .75rem/1.4 var(--f-body);text-transform:uppercase;letter-spacing:.08em;color:#7FE0E0;margin:0}
  #glance div{display:grid;gap:2px}
  #glance span{font-size:.8rem;color:rgba(255,255,255,.7)}
  #glance b{font:700 1.25rem/1.25 var(--f-display);font-variant-numeric:tabular-nums}
  #glance a{color:#fff;font-weight:600;font-size:.95rem;text-decoration:none;border-top:1px solid rgba(255,255,255,.18);padding-top:12px;margin-top:2px}
  @media (hover:hover) and (pointer:fine){#glance a:hover{color:#7FE0E0}}
}

/* ---------- skill-review fixes (a11y, layout, type; 2026-10-27) ---------- */
:root{--focus-ring:var(--orange-ink);--line-strong:#8A8F9E;--teal-on-navy:#7FE0E0;--measure:46ch}
:focus-visible,.search input:focus-visible,.inp input:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
.inp,.search input{border-color:var(--line-strong)}
html{scroll-padding-top:96px}
body{font-size:1.0625rem}
h1{line-height:1.1}
p,li,.dsum,.psum{text-wrap:pretty}
.water .wl b{font-variant-numeric:tabular-nums}
/* labels never under 12px, at every width */
.tag,.ev,.evc,.auto-pill,.dose th,.who,.fact span,.stat span{font-size:.75rem}
/* one evidence-label system: the compact chips use the same tokens as the big ones */
.ev-H,.evs.ev-H{color:var(--teal-ink);background:var(--teal-wash)}
.evs.ev-A{color:#3B4A7A;background:#ECEEF6}
.evs.ev-U{color:var(--orange-ink);background:var(--orange-wash)}
#glance h3,.term .def b{color:var(--teal-on-navy)}
.term.hush .def{display:none!important}
/* measure */
.dsum,.psum,.studied li p,.wavoid,.cover-plain .cv-txt p{max-width:var(--measure)}
/* readable-measure review: 46ch of Inter is about 65 real characters at any size.
   !important beats the old inline 58-62ch caps on intro paragraphs. */
.art :is(p,li,dd),.post :is(p,li),#v-start p,.wrap>p.muted,.cover-plain .cv-txt p,.mguide p{max-width:var(--measure)!important}
.post{max-width:760px}
.watch{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
.gloss-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,340px),1fr))}
/* the info icon sits beside its note, not on its own row */
.note-edu{display:grid;grid-template-columns:18px 1fr;gap:10px;align-items:start}
.note-edu .rev{grid-column:2;margin:0}
/* aliases: first four, then a "+N more" */
.aka-more{border:0;background:none;color:var(--teal-ink);font:600 .8rem var(--f-body);cursor:pointer;padding:4px 6px;min-height:28px}
/* phones: the at-a-glance strip under the plain answer */
.glance-m{display:none}
@media (max-width:900px){
  .glance-m{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:4px 0 6px;padding:10px 14px;border-radius:var(--r-m);background:#fff;border:1px solid var(--line)}
  .glance-m span{display:grid;line-height:1.25}
  .glance-m small{font-size:.75rem;color:var(--ink-3)}
  .glance-m b{font:700 1rem var(--f-display);font-variant-numeric:tabular-nums}
  .glance-m .gm-go{margin-left:auto;font-weight:600;color:var(--teal-ink);text-decoration:none;padding:8px 0}
}
/* dosage: "Your vial" sits under the ladder */
.vial-h{font-size:1rem;margin:18px 0 6px}
#dosing .facts{margin-top:0}
@media (min-width:900px){#dosing .facts{grid-template-columns:minmax(210px,1.3fr) repeat(3,minmax(0,1fr))}}
/* ladder: visible "Use" button, aligned columns on phones */
.use-calc{margin-left:10px;border:1px solid var(--line-strong);background:#fff;color:var(--teal-ink);border-radius:999px;padding:4px 10px;font:600 .8rem var(--f-body);cursor:pointer;min-height:32px;transition:transform 160ms var(--ease-out),background-color 160ms ease}
.use-calc:active{transform:scale(.97)}
@media (hover:hover) and (pointer:fine){.use-calc:hover{background:var(--teal-wash)}}
table.dose.simple td b{white-space:nowrap}
@media (max-width:560px){
  table.dose.simple tr{grid-template-columns:5.2rem 1fr auto}
  .use-calc{margin:6px 0 0;display:block;margin-left:auto}
}
/* compound page calculator: the vial is already picked under Dosage */
#calc .vials{display:none}
/* What to watch for: chip inline, and the stop line stands out */
@media (max-width:560px){.wlist li{flex-direction:row;flex-wrap:wrap}}
.wstop{margin-top:12px;padding:10px 14px;border-left:3px solid var(--navy);background:var(--surface);border-radius:0 var(--r-s) var(--r-s) 0;max-width:var(--measure)}
/* lists with their own markers keep the card edge */
@media (max-width:560px){.card ul{padding-left:0}.card ul:not([class]){padding-left:18px}}
/* Go deeper heading on the same edge as the cards */
#deeper>h2,#deeper>p{padding-inline:clamp(20px,3.4vw,32px)}
@media (max-width:560px){#deeper>h2,#deeper>p{padding-inline:16px}}
/* supplies: no card looks "selected"; arrows don't wrap alone */
.sup.featured{border-color:var(--line);box-shadow:none}
[id$="-f"] small{font-size:.75rem}
/* phone section menu: fade at the edge so hidden items read as "more" */
@media (max-width:900px){.toc{-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}}

/* ---------- calculator: aligned fields, steady water card (Paulo, 2026-10-27) ---------- */
/* the two input boxes line up whatever the hint length (label, hint, box, note share rows) */
.calc .row{grid-template-rows:auto auto auto auto;row-gap:0}
.calc .row>.field{display:grid;grid-row:span 4;grid-template-rows:subgrid;align-content:start}
.calc .row>.field .hint{min-height:0}
@media (max-width:640px){.calc .row{grid-template-rows:none;row-gap:16px}.calc .row>.field{grid-row:auto;grid-template-rows:none}}
/* water card: title and stepper on one line, state below, note last; same shape in both states */
.water{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"wl step" "meta meta" "note note";align-items:center;gap:8px 16px}
.water .wl{grid-area:wl;min-width:0;flex:none}
.water .stepper{grid-area:step}
.water .wmeta{grid-area:meta;display:flex;align-items:center;gap:12px;min-height:32px}
.water .vialnote{grid-area:note;margin:0}
.water .linkbtn{min-height:32px}
/* calculator re-check */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.stepper button:disabled{opacity:.35;cursor:not-allowed}
#calcReta .seg{display:none}
.unit-fixed{display:flex;align-items:center;padding:0 14px;font:600 .9rem var(--f-mono);color:var(--ink-2);border-left:1px solid var(--line)}
@media (max-width:640px){
  .water{grid-template-columns:1fr auto;grid-template-areas:"wl wl" "step meta" "note note"}
  .msg{display:block}
  .stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stat span{font-size:.75rem}
}
.unitsfor{margin:10px 0 4px;font-size:.92rem;color:var(--ink-2)}
.unitsfor a{color:var(--teal-ink);font-weight:600}
.linkbtn{min-height:32px;display:inline-flex;align-items:center}
/* ---------- line breaks (Paulo, 2026-10-27): short notes run the width of their card's content
   (up to ~90 characters), break into even lines, and links never split ---------- */
:root{--note-measure:64ch}
.art :is(.dsum,.psum,.unitsfor,.wavoid,.wstop,.stk-intro,.stk-line,.str-hint,.disclose),.cover-plain .cv-txt p{max-width:var(--note-measure)!important;text-wrap:pretty}
.unitsfor a,.srcl{white-space:nowrap}
.sup small,.calc .hint,.water .vialnote{text-wrap:pretty}
.art .unitsfor{max-width:none!important}
.nw{white-space:nowrap}
.art .stk li p,.art .studied li p{max-width:var(--note-measure)!important;text-wrap:pretty}
.art .stk li,.art .studied li,.art .wlist li{max-width:none!important}
#whatis .note-edu{max-width:none}
/* footer FDA disclaimer (Paulo, 2026-10-28) */
.fine .fda{margin:0;max-width:none;font-size:.8rem;line-height:1.6;color:var(--ink-3,#6B7080)}
.fine .fda b{color:var(--ink-2,#4A5063)}
