/* subqinjectionsites.com site styles, loaded AFTER app-shell.css (the shared app shell: header, tab bar, grouped rows,
   segmented panes, tables; see ../../APP-SHELL.md). This file holds what is specific to this site: the look (Ken approved
   layout A "Body map", 2026-10-06, mockups/subq-map.html: sage accent, light gradient, pill tab bar with animated icons),
   the body map, the rotation sheet and its print geometry (tests/print-fit.mjs measures the guide bars), the share row
   and the one-line H1 sizes. No left-border callouts anywhere (Ken 2026-10-06).
   Font: the mockup names Plus Jakarta Sans; it is not on this machine and fetching it is a download that needs Ken's OK,
   so it is named first and the self-hosted Manrope (OFL, from the sister tool site) renders until then. */
@font-face{font-family:"Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/manrope-latin.woff2) format("woff2")}
/* --acc is the text, link and button sage (#3F7458, 5.45:1 on white); the mockup's #4E8467 (4.36:1, under 4.5) is kept
   for the glowing zones and bars only (--glow). */
:root{--bg:#EEF3EF;--card:#fff;--ink:#1D2620;--soft:#5E6A62;--line:#DEE6E0;--line2:#C9D4CC;--acc:#3F7458;--glow:#4E8467;--acc-ink:#fff;
--acc-tint:#E7F1EA;--tint:#F3F7F4;--sk1:#E9E4DE;--sk2:#F8F5F1;--used:#E3A54A;--used-ink:#8A5A14;--used-bg:#FBEBD2;--r:24px;--r-s:12px;
--fb:"Plus Jakarta Sans","Manrope",system-ui,-apple-system,"Segoe UI",sans-serif}
body{font-family:var(--fb);background:#EEF3EF linear-gradient(180deg,#FBFCFA 0%,#EEF3EF 100%) no-repeat;min-height:100vh;-webkit-font-smoothing:antialiased}
@media print{body{min-height:0;background:#fff}}
button,input,select,textarea{font-family:inherit}
h1{font-weight:800;letter-spacing:-.02em}
.brand{font-weight:800}
.card{border-radius:var(--r);box-shadow:0 18px 36px rgba(30,60,40,.10)}
.list{border-radius:18px;box-shadow:0 6px 18px rgba(30,60,40,.06)}
.seg{background:var(--acc-tint);border-radius:12px}
.seg label{border-radius:9px}
.btn,.copy{border-radius:12px;font-weight:700}
.pill{border-radius:14px}
.check input,.field.check input{accent-color:var(--acc)}

/* tab bar (look A): white bar, a soft pill behind the current tab's icon; the icon bobs on tap */
.tabs{background:rgba(255,255,255,.94);border-top:1px solid var(--line)}
.tab{color:var(--soft);font-weight:700;font-size:11.5px;gap:3px}
.tab .p{display:grid;place-items:center;width:52px;height:30px;border-radius:999px;transition:background-color .3s}
.tab svg{width:22px;height:22px;stroke-width:2}
.tab[aria-current]{color:var(--ink)}
.tab[aria-current] .p{background:var(--acc-tint);color:var(--acc)}
.tab.go svg{animation:bob .5s cubic-bezier(.2,.9,.3,1.4)}
@keyframes bob{40%{transform:translateY(-3px) scale(1.12)}}
@media (max-width:359px){.tab .p{width:44px}}
/* header pill from 768 px (the header fit fix rules in app-shell.css still apply) */
@media (min-width:768px){.tab .p{display:none}.app-head .tabs{background:var(--acc-tint);border:0}.app-head .tab[aria-current]{background:#fff;color:var(--ink)}}

/* body map (look A) */
.card h2#map-title{margin-bottom:10px}
.sides{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:3px;background:var(--acc-tint);border-radius:12px}
.sides button{min-height:40px;border:0;border-radius:9px;background:none;font-weight:700;font-size:14px;color:var(--soft)}
.sides button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 2px 6px rgba(0,0,0,.08)}
.stage{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.bf{display:block;width:100%;max-width:238px;height:auto;margin:0 auto;filter:drop-shadow(0 12px 14px rgba(30,60,40,.16))}
.js-map .stage{display:block;position:relative;height:300px;perspective:900px;overflow:hidden}
.js-map .bf{position:absolute;left:50%;top:4px;width:232px;transform:translateX(-50%)}
/* the flip transition starts only after the first paint, so the figure never slides in from the right on load */
.map-ready .bf{transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .4s}
.js-map .stage[data-side-on=front] .bf-back,.js-map .stage[data-side-on=back] .bf-front{opacity:0;visibility:hidden;transform:translateX(-50%) rotateY(90deg)}
.sk1{stop-color:var(--sk1)}.sk2{stop-color:var(--sk2)}
.bf-out{fill:#DCD3C9;stroke:#DCD3C9;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.bf-out path[stroke-width]{fill:none}
.bf-line{pointer-events:none;fill:none;stroke:#D9D1C8;stroke-width:1.4;stroke-linecap:round}
.zg{cursor:pointer;outline:none}
.zh{fill:transparent;stroke:none}
.zhs{fill:none;stroke:transparent;stroke-width:30;stroke-linecap:round}
.zv{fill:var(--glow);fill-opacity:.24;stroke:var(--glow);stroke-width:2;transition:fill-opacity .25s;animation:zglow 2.4s ease-in-out infinite}
.zs{fill:none;stroke-width:13;stroke-linecap:round;stroke-opacity:.5}
.zn{fill:var(--glow)}
.zg.on .zv{fill-opacity:.65;animation:none}
.nskip{pointer-events:none}.nskip-l{fill:none;stroke:var(--ink);stroke-width:1;stroke-linecap:round}
.nskip-t{font-size:14px;font-weight:700;fill:var(--ink)}
.zg.on .zs{stroke-opacity:.9}
.zg.used .zv{fill:var(--used);stroke:#C98A2E}
.zg:focus-visible .zv{stroke:var(--ink);stroke-width:3}
@keyframes zglow{50%{fill-opacity:.42}}
.acards{display:grid;gap:10px;margin-top:6px}
.acard{background:var(--acc-tint);border-radius:16px;padding:12px 14px;font-size:15px;color:var(--soft)}
@media screen{.js-map .acard:not(.is-on){display:none}}
.acard.is-on{animation:slideup .35s cubic-bezier(.2,.8,.2,1)}
@keyframes slideup{from{transform:translateY(8px);opacity:0}}
.ac-n{font-size:18px;font-weight:800;line-height:1.2;color:var(--ink);margin:0}
.ac-cnt{font-size:14px;font-weight:700;color:var(--acc);margin:2px 0 4px}
.lbar{display:block;width:100%;height:8px;margin:0 0 8px}
.lbar-bg{fill:#fff}
.lbar-fg{fill:var(--glow);transform-box:fill-box;transform-origin:left center}
.acard.is-on .lbar-fg{animation:grow .7s cubic-bezier(.2,.8,.2,1)}
@keyframes grow{from{transform:scaleX(0)}}
.acard p{margin:0 0 6px}
.acard .small{margin:0 0 10px}
/* pinch clip: a square thumbnail with its caption beside it, so the card stays short (home height cap at 375 px) */
.ac-fig{display:flex;align-items:center;gap:12px;margin:0 0 10px}
.ac-vbox{position:relative;flex:none;width:128px}
.ac-vid{display:block;width:100%;height:auto;aspect-ratio:1/1;border-radius:14px;background:#fff;object-fit:cover}
.ac-cap{flex:1;min-width:0;font-size:14px;font-weight:600;line-height:1.35;color:var(--soft)}
.ac-play{position:absolute;right:0;bottom:0;width:44px;height:44px;padding:0;border:0;background:none;cursor:pointer;display:grid;place-items:center}
.ac-play[hidden]{display:none}
.ac-ico{width:32px;height:32px;padding:4px;border-radius:50%;background:rgba(255,255,255,.92);fill:var(--ink);box-shadow:0 1px 3px rgba(16,24,40,.18)}
.ac-play .i-pause,.ac-play.is-playing .i-play{display:none}
.ac-play.is-playing .i-pause{display:inline}
.ac-play:focus-visible{outline:none}.ac-play:focus-visible .ac-ico{outline:2px solid var(--ink);outline-offset:2px}
@media (min-width:768px){.ac-vbox{width:168px}}
.ac-figs{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.6fr);gap:8px;margin:0 0 10px}
.ac-figs .ac-fig:last-child .ac-vbox{width:62.5%}
.ac-figs .ac-fig{display:block;margin:0;min-width:0}
.ac-figs .ac-vbox{width:auto}
.ac-figs .ac-cap{display:block;margin-top:4px;font-size:12px;line-height:1.3}
.ac-figs .ac-play{right:-4px;bottom:-4px}
.ac-figs .ac-ico{width:26px;height:26px;padding:3px}
.mark{width:100%}
.mark[aria-pressed=true]{background:#fff;color:var(--acc)}
.used{display:flex;flex-wrap:nowrap;align-items:center;gap:6px;margin-top:10px;min-width:0;overflow:hidden}
.used[hidden]{display:none}
.used-l{flex:none;font-size:12.5px;font-weight:700;color:var(--soft)}
.chip-u{flex:none;white-space:nowrap;font-size:12.5px;font-weight:700;padding:6px 10px;border-radius:999px;background:var(--used-bg);color:var(--used-ink)}
#map-tool .fine{margin:10px 2px 0}
/* under 360 px the four used chips need the full row: the "Used:" word stays for screen readers only */
@media (max-width:359px){.used-l{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.chip-u{padding:6px 8px;font-size:12px}}
@media print{.acard{break-inside:avoid}.ac-fig,.mark,.used,.sides{display:none!important}.zv,.lbar-fg{animation:none}.bf{filter:none}.js-map .stage{display:grid;height:auto;overflow:visible;perspective:none}.js-map .stage[data-side-on] .bf{position:static;width:100%;transform:none;opacity:1;visibility:visible;transition:none}}

/* rotation sheet card: title, one line and Print on top; choices in a collapsible row; the blank preview below prints */
.ps-hd{display:flex;align-items:center;gap:12px}
.ps-t{flex:1;min-width:0}
.card .ps-hd h2{font-size:17px;font-weight:800;line-height:1.25;margin:0}
.ps-sub{font-size:13px;color:var(--soft);margin:3px 0 0}
.ps-hd .btn{flex:none;padding:0 18px}
.sheet-setup{margin-top:12px;border:1px solid var(--line);border-radius:14px;background:#fff}
.sheet-setup>summary{padding:8px 12px}
.sheet-setup .row-body{padding:0 12px 12px}
#rotation .priv{display:block;margin:10px 2px 0}
/* the sheet has no Date column (2026-10-06 look port: "no dates, no order"): its first column is a tick column like the
   others, not the shell's sticky label column */
.table-scroll .sheet-tab th:first-child,.table-scroll .sheet-tab td:first-child{position:static;white-space:normal;box-shadow:none;background:none}
.table-scroll .sheet-tab th:first-child{background:var(--tint)}
.sheet-tab th.spot-col+th.spot-col,.sheet-tab td.box+td.box{border-left:1px solid var(--line)}

/* H1 on one line on phones: sized from the heading's length (class set by build.py h1_fit), capped for the 560 px panel */
h1.fit-12{font-size:max(16px,min(28px,calc((100vw - 36px) / 12)))}
h1.fit-13{font-size:max(16px,min(28px,calc((100vw - 36px) / 13)))}
h1.fit-14{font-size:max(16px,min(28px,calc((100vw - 36px) / 14)))}
h1.fit-15{font-size:max(16px,min(28px,calc((100vw - 36px) / 15)))}
h1.fit-16{font-size:max(16px,min(28px,calc((100vw - 36px) / 16)))}
h1.fit-17{font-size:max(16px,min(28px,calc((100vw - 36px) / 17)))}
h1.fit-18{font-size:max(16px,min(28px,calc((100vw - 36px) / 18)))}
h1.fit-19{font-size:max(16px,min(28px,calc((100vw - 36px) / 19)))}
h1.fit-20{font-size:max(16px,min(28px,calc((100vw - 36px) / 20)))}
h1.fit-21{font-size:max(16px,min(28px,calc((100vw - 36px) / 21)))}
h1.fit-22{font-size:max(16px,min(28px,calc((100vw - 36px) / 22)))}
.embed h1{font-size:22px}

/* breadcrumb links: 44 px tap target without adding height (Franky app shell review, insulinsyringesizes.com r1) */
.crumbs a{display:inline-flex;align-items:center;min-height:44px;margin:-10px 0}

/* Share, Embed, Cite, Prefer: four equal app action buttons on one row */
.ecp{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:12px}
.ecp-solo{margin:10px 0 0}
.pill{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:52px;padding:4px 2px;font-size:12px;font-weight:600;
color:var(--soft);background:var(--tint);border:0;border-radius:var(--r-s);text-decoration:none}
.pill:hover,.pill[aria-expanded=true]{color:var(--acc);background:var(--acc-tint)}
.pill svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.panel{margin-top:8px}
.panel p{margin:0 0 6px;font-size:13px;color:var(--soft)}
.panel textarea{width:100%;font:13px/1.4 ui-monospace,Menlo,monospace;border:1px solid var(--line);border-radius:8px;padding:8px;resize:vertical;background:#fff}

/* buttons and notes */
.copyrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.btn,.copy{min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--acc);background:var(--acc);color:var(--acc-ink);font-weight:600;font-size:15px}
.copy,.btn.ghost{background:#fff;color:var(--acc)}
.copy{margin-top:6px}
.btn.ok,.copy.ok{background:var(--ok);border-color:var(--ok);color:#fff}
.priv{font-size:13px;color:var(--soft)}
.noscript{font-size:14px;color:var(--warn-ink)}
.note{font-size:14px;color:var(--warn-ink);background:var(--warn-bg);border-radius:8px;padding:6px 10px;margin:8px 0 0}
.note:empty{display:none}
.fine{font-size:13px;color:var(--soft);margin:10px 0 0}
.src-note{font-size:13px;line-height:1.4;color:var(--soft);font-style:italic}
.callout{;padding:0;border:0;background:none}
input,select,textarea{font-family:inherit;color:var(--ink)}
.card h2,.card>h2:first-child{font-size:17px;line-height:1.3;margin:0 0 8px}
.tool+.tool{margin-top:14px}

/* tool fields */
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px}
.field{min-width:0}
.field label{display:block;font-size:13px;color:var(--soft);margin-bottom:4px;line-height:1.3}
.field .opt{font-size:12px;color:var(--soft);font-weight:400}
.field .opt::before{content:"(";}.field .opt::after{content:")"}
.inrow{display:flex;gap:6px;min-width:0}
.field input[type=text],.field input[type=date],.field select{width:100%;min-width:0;min-height:44px;font-size:16px;border:1px solid var(--line2);border-radius:10px;padding:8px 10px;background:#fff}
.field input[type=text]{font-weight:600}
.unit select{width:auto;min-width:76px}
.echo{font-size:12px;color:var(--soft);margin:3px 0 0;min-height:0}
.echo:empty{display:none}
.echo.err{color:var(--warn-ink)}
input[aria-invalid=true]{border-color:#c77700}
.hint{font-size:12px;color:var(--soft);margin:3px 0 0}
.field.check{display:flex;align-items:center;gap:8px;grid-column:1/-1;min-height:44px}
.field.check input{width:22px;height:22px;margin:0}
.field.check label{margin:0;font-size:15px;color:var(--ink)}
.more{grid-column:1/-1;border:1px solid var(--line);border-radius:8px;padding:0 12px;background:#fff}
.more summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-weight:600;font-size:15px;list-style:none}
.more summary::-webkit-details-marker{display:none}
.more summary::after{content:"+";font-size:20px;color:var(--soft)}
.more[open] summary::after{content:"\2212"}
.more[open]{padding-bottom:12px}
.decnote{font-size:12px;color:var(--soft);margin:8px 0 0}

/* FAQ answers and sources inside rows */
.faq-a p{color:var(--soft)}
.sources ol{font-size:14px;color:var(--soft)}

/* embed: tool only, no shell */
body.embed{background:transparent}
body.embed .wrap{padding:8px}
.embed-foot{font-size:12px;color:var(--soft);margin:8px 0 0}

@media print{.ecp,.panel,.related,.no-print,.copyrow{display:none!important}.card{box-shadow:none;transform:none}a{color:inherit}}

/* home segmented panes (audit 2026-10-06): print shows every pane; "Print the sheet" keeps only the sheet pane */
.seg-more{margin-top:18px}
.seg-pane>.group:first-child,.seg-pane>.tool:first-child{margin-top:0}
@media print{.seg{display:none!important}.seg-pane{display:block!important}.seg-pane+.seg-pane{margin-top:16px}}

/* rotation sheet (on screen it is a preview) */
fieldset.areas{border:0;margin:0 0 6px;padding:0;min-width:0}
fieldset.areas legend{font-size:13px;color:var(--soft);padding:0;margin-bottom:4px}
.checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
.check{display:flex;align-items:center;gap:8px;min-height:44px}
.check input{width:22px;height:22px;margin:0;flex:none}
.check label{font-size:15px}
.hint{font-size:13px;color:var(--soft);margin:2px 0 10px}
.sheet{margin-top:12px;border:1px solid var(--line);border-radius:8px;padding:12px;background:#fff}
.sheet-t{font-size:18px;font-weight:700;margin:0}
.sheet-s{font-size:13px;color:var(--soft);margin:2px 0 8px}
.sheet-tab{font-size:14px}
.sheet-tab th,.sheet-tab td{padding:6px 6px}
.sheet-tab{table-layout:auto}
.sheet-tab th.date-col{min-width:72px}
.sheet-tab th.spot-col{font-size:12px;line-height:1.25;text-align:center;min-width:58px}
.sheet-tab .blank{border-bottom:1px solid var(--line2)}
.sheet-tab .box{text-align:center}
.tick{display:inline-block;width:18px;height:18px;border:2px solid #8DB39E;border-radius:4px}
.rules-wrap{overflow-x:auto;margin-top:10px}
.rule{display:flex;align-items:center;gap:8px;margin:4px 0;white-space:nowrap}
.bar{display:inline-block;height:8px;border:1px solid #333;border-top:0;flex:none}
.bar-1{width:1in}.bar-2{width:2in}.bar-3{width:3in}
.rule-l{font-size:12px;color:var(--soft)}
.sheet-f{font-size:11px;color:var(--soft);margin:8px 0 0}
.btn:disabled{opacity:.5;cursor:not-allowed}

@media (max-width:359px){.grid{grid-template-columns:minmax(0,1fr)}.checks{grid-template-columns:minmax(0,1fr)}}
@page{size:portrait;margin:10mm}
@media print{
  html.print-sheet .app-head,html.print-sheet .app-foot{display:none!important}
  html.print-sheet .sheet{line-height:1.6}
  html.print-sheet .table-scroll{border:0;border-radius:0}
  html.print-sheet .sheet-tab{border-collapse:collapse}
  html.print-sheet .sheet-tab th,html.print-sheet .sheet-tab td{position:static!important;box-shadow:none!important;background:none!important;color:#000}
  html.print-sheet .sheet-tab tr:last-child>td{border-bottom:0.3mm solid #999}
  html.print-sheet main .wrap>*:not(#rotation):not(.seg-tools){display:none!important}
  html.print-sheet .seg-tools{margin:0}
  html.print-sheet .seg-tools .seg-pane:not([data-i="2"]){display:none!important}
  html.print-sheet #rotation .card>*:not(.sheet){display:none!important}
  html.print-sheet #rotation .card{box-shadow:none;transform:none;border:0;padding:0;background:#fff}
  html.print-sheet .wrap{max-width:none;padding:0}
  html.print-sheet .sheet{border:0;padding:0;margin:0}
  html.print-sheet .sheet-tab{width:100%;font-size:10pt;line-height:1.25}
  html.print-sheet .sheet-tab tr{break-inside:avoid}
  html.print-sheet .table-scroll{overflow:visible}
  html.print-sheet .sheet-tab th,html.print-sheet .sheet-tab td{border-bottom:0.3mm solid #999;padding:1.0mm 1.2mm}
  html.print-sheet .sheet-tab th.spot-col{font-size:8pt;min-width:0;border-left:0.2mm solid #ccc}
  html.print-sheet .sheet-tab td.box{border-left:0.2mm solid #ccc}
  html.print-sheet .sheet-tab th.date-col{width:24mm}
  html.print-sheet .tick{width:4mm;height:4mm;border:0.4mm solid #333;vertical-align:middle}
  html.print-sheet .rules-wrap{overflow:visible;margin-top:4mm}
  html.print-sheet .rule{margin:1.5mm 0}
  html.print-sheet .sheet-t{font-size:16pt}
  html.print-sheet .sheet-s,html.print-sheet .sheet-f,html.print-sheet .rule-l{font-size:9.5pt;color:#333}
  html.print-sheet .bar{border-color:#000}
}
.app-foot .lrow-t b{-webkit-hyphens:auto;hyphens:auto}
