/* statix-look-c-calc.css - LOOK C for the 44 calculator pages (owner 2 Nov 2026: "look C everywhere"; coordinator 3 Nov: #1 builds,
   #8 reviews). Linked after statix-tokens.css + statix-tokens-legacy.css (the legacy sheet maps the calculators' old colour and
   font variables onto #8's tokens). This file covers what a variable cannot reach: the literal Archivo / Fraunces / JetBrains Mono
   names, rounded corners and shadows. Look only - it changes no input, no result and no drawing. */
body.stx-calc-theme { background: var(--stx-ground) !important; color: var(--stx-ink); font-family: var(--stx-font) !important; }
body.stx-calc-theme h1, body.stx-calc-theme h2, body.stx-calc-theme h3, body.stx-calc-theme h4,
body.stx-calc-theme p, body.stx-calc-theme li, body.stx-calc-theme td, body.stx-calc-theme th, body.stx-calc-theme label,
body.stx-calc-theme input, body.stx-calc-theme select, body.stx-calc-theme textarea, body.stx-calc-theme button, body.stx-calc-theme a,
body.stx-calc-theme .card, body.stx-calc-theme .stx-band, body.stx-calc-theme .cux-card, body.stx-calc-theme .stx-vb-v {
  font-family: var(--stx-font) !important; }
/* equations and code keep the code face; drawings keep their own SVG fonts */
body.stx-calc-theme .eqn, body.stx-calc-theme code, body.stx-calc-theme pre, body.stx-calc-theme .mono { font-family: var(--stx-font-code) !important; }
body.stx-calc-theme h1 { font-size: var(--stx-fs-h1); font-weight: var(--stx-fw-head); letter-spacing: 0; }
/* flat panels: 2 px corners, a 1 px line, no shadows */
body.stx-calc-theme .card, body.stx-calc-theme .stx-band, body.stx-calc-theme .cux-card, body.stx-calc-theme .stx-sheet-card,
body.stx-calc-theme .stx-cg, body.stx-calc-theme .btn, body.stx-calc-theme button, body.stx-calc-theme input, body.stx-calc-theme select {
  border-radius: var(--stx-r) !important; box-shadow: none !important; }
body.stx-calc-theme .card, body.stx-calc-theme .cux-card, body.stx-calc-theme .stx-sheet-card { background: var(--stx-panel); border-color: var(--stx-line); }
/* the header bar and the footer as on the site pages */
body.stx-calc-theme header.stx-top { background: var(--stx-panel) !important; border-bottom: 1px solid var(--stx-line) !important; }
body.stx-calc-theme footer.stx-foot { background: var(--stx-chrome) !important; }
body.stx-calc-theme footer.stx-foot, body.stx-calc-theme footer.stx-foot * { color: #E6E8EB !important; }
/* the calculators index: its cards as flat white panels */
body.stx-calc-theme a.cc { background: var(--stx-panel) !important; border: 1px solid var(--stx-line) !important; border-radius: var(--stx-r) !important; box-shadow: none !important; }
body.stx-calc-theme a.cc:hover { border-color: var(--stx-accent) !important; }
/* the index's 'In development' box: a white panel with the accent edge and dark text (the site layer clears section backgrounds) */
body.stx-look section.soon { background: var(--stx-panel) !important; border: 1px solid var(--stx-line) !important; border-left: 3px solid var(--stx-accent) !important; }
body.stx-look section.soon, body.stx-look section.soon * { color: var(--stx-ink) !important; }
body.stx-look section.soon .eyebrow { color: var(--stx-accent) !important; }
body.stx-look section.soon a, body.stx-look section.soon .btn { color: var(--stx-on-accent) !important; }
body.stx-look section.soon::before, body.stx-look section.soon::after { background: none !important; box-shadow: none !important; }
/* #8: interface notes in the UI face (the code face only for equations and values in calc text) */
body.stx-calc-theme .stx-note { font-family: var(--stx-font) !important; }
/* #8: the index card icons without the mint tile - the icon alone */
body.stx-calc-theme a.cc .ic { background: none !important; border: 0 !important; border-radius: 0 !important; }
/* the account dashboard: the banner and the cards as flat white panels with dark text (the dark gradient banner becomes a
   white panel with the accent edge); the 'All calculators' offer keeps one accent fill so it still reads as the offer */
body.stx-look .dhero { background: var(--stx-panel) !important; background-image: none !important; border: 1px solid var(--stx-line) !important; border-left: 3px solid var(--stx-accent) !important; }
body.stx-look .dhero, body.stx-look .dhero * { color: var(--stx-ink) !important; }
body.stx-look .dhero::before, body.stx-look .dhero::after, body.stx-look .dhero-art { background: none !important; }
body.stx-look .dhero-art * { stroke: var(--stx-accent) !important; }
body.stx-look .dcard, body.stx-look .app, body.stx-look #packGrid > * { background: var(--stx-panel) !important; border: 1px solid var(--stx-line) !important; }
body.stx-look .best { background: var(--stx-accent) !important; border-color: var(--stx-accent) !important; }
body.stx-look .best, body.stx-look .best * { color: var(--stx-on-accent) !important; }
body.stx-look .packs > .top { background: transparent !important; border: 0 !important; }
/* the 'This isn't a toy calculator' box: it took --head (now the light header grey) with white text - a white panel with the
   accent edge and dark text, as the other Look C notes */
body.stx-calc-theme section.trust, body.stx-look section.trust { background: var(--stx-panel) !important; border: 1px solid var(--stx-line) !important; border-left: 3px solid var(--stx-accent) !important; border-radius: var(--stx-r) !important; }
body.stx-calc-theme section.trust, body.stx-calc-theme section.trust *:not(a.cta), body.stx-look section.trust, body.stx-look section.trust *:not(a.cta) { color: var(--stx-ink) !important; }
body.stx-calc-theme section.trust a.cta, body.stx-look section.trust a.cta { background: var(--stx-accent) !important; color: var(--stx-on-accent) !important; border-radius: var(--stx-r) !important; }

/* #8 (phone bottom edge): on a phone the chat is a 48 px round button at the bottom right, raised above the cookie notice while
   it shows; the "Install app" chip goes bottom left, clear of it. Nothing covers more than the corners. */
@media (max-width: 600px) {
  .stx-support:not(.stx-support--anchored) { left: auto !important; right: 16px !important; bottom: 16px !important; }
  .stx-support:not(.stx-support--anchored) .stx-support__launcher { width: 48px !important; height: 48px !important; padding: 0 !important;
    border-radius: 50% !important; font-size: 0 !important; justify-content: center !important; gap: 0 !important; }
  .stx-support:not(.stx-support--anchored) .stx-support__launcher::before { font-size: 16px; width: 24px; height: 24px; }
  body:has(#stx-notice) .stx-support:not(.stx-support--anchored) { bottom: calc(16px + var(--stx-notice-h, 150px)) !important; }
  /* #8 (3 Nov 2026, pipe page phone check): raised above the notice, the round button landed on the last input rows of the inputs band
     (measured: button y 580-628, 'Fill density' input y 582-616 at 390 px). While the notice shows, the chat button waits; it appears
     at the bottom corner when the visitor closes the notice (one thing at the bottom edge at a time). */
  body:has(#stx-notice) .stx-support:not(.stx-support--anchored) { display: none !important; }
  /* #8 batch review (3 Nov 2026): on long forms (box culvert, tank) the round button sat on the unit column of the row at the screen
     bottom while typing - it waits while an input has focus */
  body:has(input:focus, select:focus, textarea:focus) .stx-support:not(.stx-support--anchored) { display: none !important; }
  body > button[style*="z-index:99999"] { right: auto !important; left: 16px !important; border-radius: var(--stx-r) !important;
    background: var(--stx-accent) !important; color: var(--stx-on-accent) !important; box-shadow: none !important; font-weight: 600 !important; }
  body:has(#stx-notice) > button[style*="z-index:99999"] { bottom: calc(16px + var(--stx-notice-h, 150px)) !important; }
}
/* #8: the read-only note cells (e.g. 'Pattern loading -> ULS envelope') take the full row under their input, in the UI face;
   card-header tags ('for column / footing design') in the UI face too (units stay in the code face) */
body.stx-calc-theme .stx-cell.stx-ro:has(> .stx-cv.stx-note) { grid-column: 1 / -1; display: block; }
body.stx-calc-theme .stx-cell.stx-ro:has(> .stx-cv.stx-note) > .stx-cl { display: none; }
body.stx-calc-theme .stx-cv.stx-note { display: block; width: 100%; max-width: none; white-space: normal; font: 600 13px/1.4 var(--stx-font) !important; }
body.stx-calc-theme .peaktag { font-family: var(--stx-font) !important; }
/* #8 INFO spec (3 Nov 2026): the INFO badge (slate blue, dotted, regular weight) and the black-and-white print shapes - colour cannot
   carry the state on a mono printer, so the word and the border do: PASS bold word; FAIL white on black; NOT CHECKED dashed box;
   REVIEW double underline; INFO dotted box, regular weight. Colour print keeps the colours and gains the shapes. */
.sheet .pf.i{background:#EDF1F7;color:#36507A;border:1px dotted #9AAAC4;font-weight:600;white-space:nowrap}
@media print{
  .sheet .pf{font-size:7.5pt;min-width:0}
  .sheet .pf.g{background:none!important;border:0}
  .sheet .pf.b{background:#000!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .sheet .pf.w{border:1px dashed #000}
  .sheet .pf.w.r{border:0;text-decoration:underline double}
  .sheet .pf.i{border:1px dotted #000;font-weight:400;background:none!important}
}
/* N/A (no load of that kind): neutral grey, regular weight - no verdict; print: the plain word */
.sheet .pf.n{background:#eef0f2;color:#4a5560;font-weight:600}
@media print{.sheet .pf.n{background:none!important;border:0;font-weight:400}}
