/* tools.css: the /tools review pages. Part 1 = the /prompts layer (its second <style> block), part 2 = the live form fields (/free), part 3 = the tools themselves. Load after bold.css. */
body{--pain:#A4161A;--win:#17733A}
.room,[data-dark]{--pain:#FF5247;--win:#45C46B}
.hl-pain{color:var(--pain)}
main.page{--card:#FFFCF3;--card-hd:#FFF3CF;--card-line:var(--ink);--mk:#17181A;--mk-lit:#A8730F;--ex:#EDEDE8;--fill:var(--accent);--on-fill:#131313;
  background:var(--page);color:var(--ink)}
.hero-text{max-width:1280px;width:100%;margin:0 auto;padding:clamp(40px,5vw,72px) var(--pad) clamp(56px,7vw,96px)}
.hero .lead{margin-bottom:14px}
.use-line{font-size:17px;line-height:1.55;color:var(--on-room-2);max-width:40em;margin:0 0 40px}
.jump{list-style:none;counter-reset:j;margin:0;padding:0;max-width:46em}
.jump li{counter-increment:j;border-top:1px solid var(--rule-room)}
.jump li:last-child{border-bottom:1px solid var(--rule-room)}
.jump a{display:flex;gap:16px;align-items:baseline;padding:14px 0;font:700 20px/1.35 var(--text);text-decoration:none;color:var(--on-room)}
.jump a::before{content:counter(j);font:800 18px/1 var(--head);font-stretch:var(--wide);color:var(--accent);min-width:1.2em}
.jump a:hover{text-decoration:underline;text-underline-offset:5px}
.jump-all{counter-reset:j;max-width:46em}
.jump-all .jump{counter-reset:none}
.jump-gk{margin:28px 0 8px;font:800 14px/1.2 var(--text);text-transform:uppercase;letter-spacing:.08em;color:var(--on-room-2)}
.jump-all .jump-gk:first-child{margin-top:0}
.howto{background:var(--band);border-bottom:1px solid var(--rule)}
.howto .wrap{padding-top:clamp(28px,3.5vw,44px);padding-bottom:clamp(28px,3.5vw,44px)}
.howto-h{font:800 15px/1.3 var(--text);text-transform:uppercase;letter-spacing:.08em;margin:0 0 18px;color:var(--ink)}
.howto ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:14px 40px;counter-reset:hs}
.howto li{counter-increment:hs;display:flex;align-items:center;gap:14px;font:700 20px/1.35 var(--text);max-width:24em}
.howto li::before{content:counter(hs);flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:2px;background:var(--ink);color:var(--page);
  font:800 18px/1 var(--head);font-stretch:var(--wide)}
.howto li:last-child::before{background:var(--accent);color:#131313;transform:rotate(-8deg)}
.pc-group + .pc-group{margin-top:clamp(24px,3vw,40px)}
.pc-gh{padding:clamp(48px,6vw,80px) 0 0;border-top:6px solid var(--ink);max-width:880px}
.pc-group:first-child .pc-gh{border-top:0}
.pc-gk{display:inline-block;margin:0 0 16px;padding:6px 10px 5px;background:var(--accent);color:#131313;font:800 14px/1.2 var(--text);text-transform:uppercase;letter-spacing:.08em}
.page .pc-gt{font:800 clamp(32px,3.6vw,52px)/1 var(--head);font-stretch:var(--wide);text-transform:uppercase;letter-spacing:-.005em;margin:0 0 14px;max-width:16em;text-wrap:balance}
.page .pc-gl{margin:0;color:var(--ink-2);max-width:36em}
.pc-group .pc:first-of-type{border-top:0}
.pc{padding:clamp(48px,6vw,80px) 0;border-top:2px solid var(--ink);scroll-margin-top:12px;max-width:820px}
.pc-wrap > .pc:first-child{border-top:0}
.pc-h{font:800 clamp(28px,2.9vw,40px)/1.08 var(--head);font-stretch:var(--wide);letter-spacing:-.005em;margin:0 0 16px;text-wrap:balance}
.page .pc p{max-width:40em}
.pc-when,.pc-get{margin:0 0 22px}
.pc-when b,.pc-get b{font-weight:700}
.pc-box{margin:0 0 24px;background:var(--card);border:2px solid var(--card-line);border-radius:4px}
.pc-hd{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;padding:10px 10px 10px 18px;
  background:var(--card-hd);border-bottom:2px solid var(--card-line);border-radius:2px 2px 0 0}
.pc-tag{display:flex;align-items:center;gap:12px;font:700 14px/1.2 var(--text);text-transform:uppercase;letter-spacing:.08em;color:var(--ink)}
.pc-tag b{font-weight:800;font-variant-numeric:tabular-nums}
.pc-mark{flex:none;display:block;width:28px;height:28px}
.pc-mark .mk{fill:var(--mk)}
.pc-mark .mk-lit{fill:var(--mk-lit)}
.pc-copy{display:none;align-items:center;justify-content:center;min-height:52px;min-width:8.5em;padding:0 26px;border:2px solid #131313;border-radius:3px;
  background:var(--accent);color:#131313;font:800 17px/1 var(--text);text-transform:uppercase;letter-spacing:.06em;cursor:pointer}
.can-copy .pc-copy{display:inline-flex}
.pc-copy:hover{background:var(--accent-hi)}
.pc-copy:active{transform:translateY(1px)}
.pc-copy:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.pc-copy.done{background:#131313;color:#FAFAF7}
.pc-text{margin:0;padding:24px 32px 30px 18px;white-space:pre-wrap;overflow-wrap:break-word;font:400 18px/1.65 var(--text);color:var(--ink);tab-size:2}
.pc-fill{background:var(--fill);color:var(--on-fill);padding:.04em .2em;border-radius:2px;text-decoration:underline;text-decoration-thickness:2px;
  text-underline-offset:.22em;text-decoration-color:currentColor;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.pc-ex{margin:0 0 24px;margin-inline-start:clamp(16px,3vw,32px);padding:18px 22px 20px;background:var(--ex);border-inline-start:4px solid var(--ink-2);border-radius:0 3px 3px 0}
.pc-ex-k{display:block;margin:0 0 6px;font:700 13px/1.3 var(--text);text-transform:uppercase;letter-spacing:.08em;color:var(--ink-2)}
.page .pc-ex p{margin:0;font-size:17px;line-height:1.6;color:var(--ink-2);white-space:pre-line;max-width:none}
.page .pc-ex .pc-ex-for{margin:0 0 10px;font-size:15px;line-height:1.5;white-space:normal}
.howto-note{margin:18px 0 0;font-size:15px;color:var(--ink-2)}
.pc-rep{margin:0;padding-top:16px;border-top:1px solid var(--rule)}
.pc-rep .tlink{display:inline-block;margin-top:6px}
.page .tlink:focus-visible{outline-color:var(--accent-edge)}
.close1{padding-top:clamp(72px,8vw,120px);padding-bottom:clamp(48px,5vw,72px)}
.close1 .h2{font-size:clamp(30px,3.1vw,44px);line-height:1;max-width:16em;margin:0 0 20px}
.close1 .lead-line{margin:0 0 28px;font-size:20px;color:var(--on-room);max-width:32em}
.close1 .close-line{margin:14px 0 0}
.close1 .co{margin:48px 0 0;padding-top:24px;border-top:1px solid var(--rule-room);font-size:17px;color:var(--on-room-2);max-width:40em}
.close1 .co .tlink{font-size:16px;color:var(--on-room)}
@media (max-width:860px){
  .use-line{font-size:15.5px;margin-bottom:28px}
  .jump a{font-size:18px;padding:12px 0}
  .howto li{font-size:18px;flex-basis:100%}
  .howto li::before{width:34px;height:34px;font-size:16px}
  .pc-h{font-size:27px}
  .page .pc-gt{font-size:30px}
  .pc-box{margin-inline:calc(var(--pad) * -0.5)}
  .pc-hd{min-height:68px;padding:8px 8px 8px 12px}
  .pc-tag{gap:10px;font-size:13px;letter-spacing:.06em}
  .pc-copy{min-height:50px;min-width:0;padding:0 20px;font-size:16px}
  .pc-text{padding:18px 14px 22px;font-size:17px}
  .pc-ex{padding:14px 16px 16px}
  .close1{padding-top:56px}
  .close1 .h2{font-size:30px}
  .close1 .lead-line{font-size:18px}
  .pc-rep .tlink,.close1 .co .tlink{display:inline-flex;align-items:center;min-height:44px}
}
@media (forced-colors:active){
  .pc-fill{forced-color-adjust:none;background:Mark;color:MarkText}
  .pc-mark .mk,.pc-mark .mk-lit{fill:CanvasText}
  .pc-copy{border-color:ButtonText}
  .howto li::before{border:2px solid CanvasText}
}
.pc-alt .pc-gh{border-top:0}
.pc-alt.room .pc{border-top-color:var(--on-room)}
.pc-alt.room .pc-gl{color:var(--on-room-2)}
.pc-alt.room .pc-rep{border-top-color:var(--rule-room)}
.jump-gk,.page .pc-gt{text-decoration:underline;text-decoration-thickness:.06em;text-underline-offset:.1em}
.jump-gk{text-decoration-thickness:2px;text-underline-offset:.22em}
.jump li,.jump li:last-child{border:0}
.jump a:hover{text-decoration:none}
.form-card{background:var(--page);color:var(--ink);border-radius:6px;padding:28px 28px 26px;max-width:560px;width:100%;box-shadow:0 10px 30px rgba(0,0,0,.28)}
html{scroll-behavior:smooth}
#get-report{scroll-margin-top:24px}
.rf fieldset{border:0;margin:0;padding:0;min-width:0}
.rf-intro{font:700 20px/1.35 var(--text);margin:0 0 20px;max-width:none}
.rf-h{display:block;font:800 22px/1.1 var(--head);font-stretch:var(--wide);text-transform:uppercase;letter-spacing:.01em;padding:0;margin:0 0 16px}
.rf-field{margin:0 0 8px}
.rf label{display:block;font:700 17px/1.3 var(--text);margin:0 0 6px}
.rf .opt{font-weight:400;color:var(--ink-2)}
.rf-hint{font-size:15px;line-height:1.4;color:var(--ink-2);margin:-2px 0 8px}
.rf input{display:block;width:100%;min-height:52px;padding:12px 14px;font:400 18px/1.3 var(--text);color:var(--ink);background:#fff;border:2px solid var(--ink);border-radius:3px;box-shadow:none;-webkit-appearance:none;appearance:none}
.rf input::placeholder{color:#6B6B6B;opacity:1}
.rf input:focus-visible,.rf button:focus-visible,.rf a:focus-visible,.rf-done:focus-visible{outline:3px solid var(--accent-edge);outline-offset:2px}
.rf input[aria-invalid="true"]{border-color:#A4161A}
.rf-err{min-height:22px;margin:4px 0 0;font:700 15px/1.45 var(--text);color:#A4161A}
.rf .btn{border:0;width:100%;margin-top:8px;min-height:64px;padding:12px 20px;line-height:1.15;text-align:center;font-size:17.5px}
.rf .btn[aria-busy="true"]{cursor:progress;opacity:.8}
.rf .btn[aria-busy="true"]::after{content:none}
.rf-note{font-size:15px;color:var(--ink-2);margin:0 0 4px}
.rf-privacy{font-size:15px;line-height:1.45;color:var(--ink-2);margin:4px 0 0;max-width:none}
.rf-privacy a,.rf-done a,.rf-fail a{display:inline-block;padding:11px 0;margin:-11px 0;text-underline-offset:3px}
.rf-back{display:block;min-height:44px;margin:6px auto 0;padding:0 16px;background:none;border:0;font:700 16px/1 var(--text);color:var(--ink-2);text-decoration:underline;text-underline-offset:5px;cursor:pointer}
.rf-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.rf-fail{margin:16px 0 0;padding:12px 14px;border-left:4px solid #A4161A;background:#FBEDEC;font:400 16px/1.5 var(--text);color:var(--ink)}
.rf-fail p{margin:0;max-width:none}
.rf-done{outline:0}
.rf-done p{margin:0 0 14px;font-size:18px;line-height:1.5;max-width:none}
.rf-done p:last-child{margin-bottom:0}
.rf-done .rf-h{font-size:26px;margin-bottom:14px}
@media (max-width:860px){.form-card{padding:20px 18px 18px}.rf-intro{font-size:18px;margin-bottom:16px}.rf .btn{font-size:16px;letter-spacing:.04em}.rf-done p{font-size:17px}}
/* ---- /tools pages (review drafts, 25 Nov 2026): sections, fields, results, tabs, cards, the QR card ---- */
[hidden]{display:none!important}
.tsec{padding-top:clamp(56px,7vw,104px);padding-bottom:clamp(56px,7vw,104px)}
.tsec.page{background:var(--page);color:var(--ink)}
.tsec.band{background:var(--band);color:var(--ink);border-bottom:1px solid var(--rule)}
.tsec .h2{max-width:18em;text-wrap:balance}
.tsec .intro{margin:0 0 28px;max-width:34em}
.tsec.room .intro,.tsec.room .help,.tsec.room .small{color:var(--on-room-2)}
.small{font-size:16px;line-height:1.55;color:var(--ink-2);margin:12px 0 0}
.hero .under-btn{font-size:16px;color:var(--on-room-2);margin:14px 0 0}
.made-up{font-size:15px;color:var(--on-room-2);margin:28px 0 0}
.page .made-up{color:var(--ink-2)}
.tlist{margin:0;padding:0 0 0 1.2em;max-width:36em}
.tlist li{margin:0 0 12px}
.room .tlist li::marker{color:var(--accent)}
.olist{list-style:none;counter-reset:o;margin:0;padding:0;max-width:40em}
.olist > li{counter-increment:o;display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;padding:16px 0;border-top:2px solid currentColor}
.olist > li:last-child{border-bottom:2px solid currentColor}
.olist > li::before{content:counter(o);display:grid;place-items:center;width:38px;height:38px;border-radius:2px;background:var(--ink);color:var(--page);font:800 18px/1 var(--head);font-stretch:var(--wide)}
.room .olist > li::before{background:var(--accent);color:#131313}
.olist p{margin:0}

/* fields: the live form's look (.rf) */
.rf .fld{margin:0 0 22px;max-width:560px}
.rf .help{font-size:15px;line-height:1.45;color:var(--ink-2);margin:-2px 0 8px;max-width:34em}
.rf .msg{min-height:0;margin:6px 0 0;font:700 15px/1.45 var(--text);color:#A4161A}
.rf .msg.warn{color:var(--ink-2)}
.rf .msg:empty{display:none}
.rf input.n{max-width:240px}
.rf fieldset{border:0;margin:0 0 22px;padding:0;min-width:0}
.rf legend{display:block;font:700 17px/1.3 var(--text);margin:0 0 8px;padding:0}
.seg{display:flex;flex-wrap:wrap;gap:10px}
.seg label{margin:0;position:relative}
.seg input{position:absolute;opacity:0;width:1px;height:1px;min-height:0;padding:0;border:0}
.seg span{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:52px;padding:0 18px;border:2px solid var(--ink);border-radius:3px;background:#fff;font:700 18px/1 var(--text);cursor:pointer}
.seg input:checked + span{background:var(--ink);color:var(--page)}
.seg input:focus-visible + span{outline:3px solid var(--accent-edge);outline-offset:2px}
.slider{display:flex;align-items:center;gap:16px;max-width:560px}
.rf .slider input[type=range]{flex:1;min-height:44px;padding:0;border:0;background:none;-webkit-appearance:auto;appearance:auto;accent-color:var(--ink)}
.rf .slider input.n{width:96px;flex:none}
.checks{display:grid;gap:10px}
.rf .checks label,.rf .radios label,.rf .consent label{display:flex;gap:12px;align-items:flex-start;font-weight:400;margin:0;cursor:pointer}
.rf .checks input,.rf .radios input,.rf .consent input{flex:none;width:24px;height:24px;min-height:0;margin:2px 0 0;padding:0;border:2px solid var(--ink);-webkit-appearance:auto;appearance:auto;accent-color:var(--ink)}
.radios{display:flex;flex-wrap:wrap;gap:12px 28px}
.consent{margin:8px 0 14px;padding:16px 18px;border:2px solid var(--ink);border-radius:3px;background:#fff;max-width:560px}
.consent label{font-size:17px;line-height:1.5}

/* results */
.res{margin:8px 0 0;padding:24px 26px;background:var(--room);color:var(--on-room);border-radius:4px;max-width:640px}
.res p{margin:0 0 10px;max-width:none}
.res p:last-child{margin-bottom:0}
.res .big{font:700 24px/1.35 var(--text)}
.res .big b{color:var(--accent)}
.res .hint{color:var(--on-room-2)}
.res .caveat,.res .assume{font-size:15.5px;line-height:1.5;color:var(--on-room-2);border-top:1px solid var(--rule-room);padding-top:12px;margin-top:14px}
.res .assume + .caveat{border-top:0;padding-top:0;margin-top:6px}
.res a{color:var(--on-room)}
.res-gap .small{color:var(--on-room-2)}
.ex-rows{list-style:none;margin:18px 0 0;padding:0;max-width:640px;color:var(--ink-2);font-size:16px;line-height:1.5}
.ex-rows li{padding:8px 0;border-top:1px dashed var(--rule)}
.ex-rows li:last-child{border-bottom:1px dashed var(--rule)}
.fixline{margin:22px 0 0;padding:16px 18px;border-left:6px solid var(--accent);background:var(--band);max-width:640px}
.fixline b{font-weight:800}

/* calculator tabs */
.tabs{display:flex;flex-wrap:wrap;gap:0;border-bottom:3px solid var(--ink);margin:0 0 14px}
.tabs button{appearance:none;-webkit-appearance:none;border:0;background:none;color:var(--ink);font:800 17px/1 var(--text);text-transform:uppercase;letter-spacing:.05em;min-height:56px;padding:0 22px;cursor:pointer;border-radius:3px 3px 0 0}
.tabs button[aria-selected="true"]{background:var(--ink);color:var(--page)}
.tabs button:focus-visible{outline:3px solid var(--accent-edge);outline-offset:-3px}
.under-tabs{margin:0 0 26px;color:var(--ink-2)}
.tpanel h3{font:800 clamp(24px,2.4vw,32px)/1.1 var(--head);font-stretch:var(--wide);margin:0 0 18px;max-width:22em;text-wrap:balance}
.ex-btns{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
.ghost{appearance:none;-webkit-appearance:none;min-height:48px;padding:0 18px;border:2px solid var(--ink);border-radius:3px;background:var(--band);color:var(--ink);font:700 16px/1 var(--text);cursor:pointer}
.ghost:hover{background:var(--accent)}
.ghost:focus-visible{outline:3px solid var(--accent-edge);outline-offset:2px}
.calc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:start}
.calc-out{position:sticky;top:16px}
.ex-k{margin:24px 0 0;font:800 13px/1.3 var(--text);text-transform:uppercase;letter-spacing:.08em;color:var(--ink-2)}

/* copy-ready templates (prompt cards without the mark) */
.tpl .pc-tag{font-size:14px}
.tpl .pc-text{font-size:18px}

/* hub cards */
.tcards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 clamp(32px,5vw,72px)}
.tcards li{padding:28px 0 32px;border-top:6px solid currentColor}
.tcards li.first{grid-column:1 / -1}
.tcards h3{font:800 clamp(26px,2.6vw,36px)/1.08 var(--head);font-stretch:var(--wide);margin:0 0 12px;text-wrap:balance}
.tcards h3 a{text-decoration:none}
.tcards p{margin:0 0 18px;max-width:30em}
.tcards .no{display:inline-block;margin:0 0 12px;padding:5px 9px 4px;background:var(--accent);color:#131313;font:800 13px/1.2 var(--text);letter-spacing:.08em}
.room .tcards .tlink{color:var(--on-room)}

/* step guides: a step list that sticks to the side on desktop */
.guide{display:grid;grid-template-columns:240px minmax(0,1fr);gap:clamp(32px,5vw,72px);align-items:start}
.gnav{position:sticky;top:16px;font-size:16px;line-height:1.35}
.gnav p{margin:0 0 10px;font:800 13px/1.3 var(--text);text-transform:uppercase;letter-spacing:.08em;color:var(--ink-2)}
.gnav ol{list-style:none;margin:0;padding:0;counter-reset:g}
.gnav li{counter-increment:g}
.gnav a{display:flex;gap:10px;padding:7px 0;text-decoration:none;border-top:1px solid var(--rule)}
.gnav a::before{content:counter(g);font:800 15px/1.35 var(--head);font-stretch:var(--wide);min-width:1.4em}
.gnav a:hover{text-decoration:underline;text-underline-offset:4px}
.gpart{font:800 15px/1.3 var(--text);text-transform:uppercase;letter-spacing:.08em;margin:0 0 6px;padding:6px 10px 5px;display:inline-block;background:var(--accent);color:#131313}
.step{padding:40px 0 44px;border-top:2px solid var(--ink);scroll-margin-top:12px}
.step:first-of-type{border-top:0;padding-top:12px}
.step h3{font:800 clamp(26px,2.6vw,36px)/1.08 var(--head);font-stretch:var(--wide);margin:0 0 16px;text-wrap:balance}
.step p{margin:0 0 14px;max-width:36em}
.step .eg{list-style:none;margin:18px 0 0;padding:0;max-width:40em}
.step .eg li{margin:0 0 10px;padding:14px 18px;background:var(--band);border-left:4px solid var(--ink-2);font-size:18px;line-height:1.55}
.step .tools-line{margin:18px 0 0;font-size:17px}
.step .tools-line a{font-weight:700}
.at{margin:18px 0 0;padding:14px 18px;background:var(--band);border-left:4px solid var(--ink-2);font-size:18px;line-height:1.55;max-width:40em}
.area-t{width:100%;border-collapse:collapse;margin:16px 0 18px;font-size:16px;line-height:1.45}
.area-t th,.area-t td{text-align:left;vertical-align:top;padding:12px 12px 12px 0;border-top:2px solid var(--ink)}
.area-t th{font-weight:800;white-space:nowrap}
.area-t thead th{font:800 13px/1.3 var(--text);text-transform:uppercase;letter-spacing:.08em;color:var(--ink-2);border-top:0}
.area-t ul{margin:0;padding:0 0 0 1em}
.mid-cta-box{margin:32px 0 0;padding:28px;background:var(--room);color:var(--on-room);border-radius:4px}
.mid-cta-box p{margin:0 0 20px;max-width:32em}
.credit{font-size:14px;color:var(--on-room-2);margin:28px 0 0;max-width:46em}

/* response test: sample result card, form */
.sample-tabs{display:flex;gap:8px;margin:0 0 14px}
.sample-tabs button{appearance:none;-webkit-appearance:none;min-height:48px;padding:0 20px;border:2px solid currentColor;border-radius:3px;background:none;color:inherit;font:800 15px/1 var(--text);text-transform:uppercase;letter-spacing:.06em;cursor:pointer}
.sample-tabs button[aria-selected="true"]{background:var(--accent);border-color:var(--accent);color:#131313}
.sample-tabs button:focus-visible{outline:3px solid var(--accent-edge);outline-offset:2px}
.page .sheet{border:2px solid var(--ink);max-width:640px}
.sheet .sh-k{font:800 12.5px/1.3 var(--text);text-transform:uppercase;letter-spacing:.06em;padding-bottom:12px;border-bottom:2px solid var(--ink);margin:0 0 6px}
.room .form-card{color:var(--ink)}
.tsec.room + footer .close1{border-top:1px solid var(--rule-room)}
.sheet .row{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;padding:10px 0;border-top:1px solid var(--rule)}
.sheet .row:first-of-type{border-top:0}
.sheet .mk-x{color:#A4161A;font-weight:800}
.sheet .mk-ok{color:#17733A;font-weight:800}
.sheet .first-fix{border-top:2px dashed var(--rule-accent);padding-top:12px;margin-top:8px}
.form-wrap{max-width:640px}
.preview-note{margin:12px 0 0;padding:12px 14px;border-left:4px solid var(--ink);background:var(--band);font-size:16px;line-height:1.5}
.rf .btn[disabled]{opacity:.45;cursor:not-allowed}
.rf .btn[disabled]::after{content:none}
.confirm-box{margin:20px 0 0;padding:22px 24px;border:2px solid var(--ink);border-radius:4px;background:#fff}
.confirm-box p{margin:0 0 10px;max-width:none}
.linkbtn{appearance:none;-webkit-appearance:none;background:none;border:0;padding:0;min-height:44px;font:700 16px/1.2 var(--text);color:var(--ink);text-decoration:underline;text-underline-offset:5px;cursor:pointer}
.qc .q-list{min-width:0}

/* reviews kit: the QR thank-you card (screen preview + print) */
.card-sheet{display:flex;flex-wrap:wrap;gap:24px;margin:24px 0 0}
.qcard{width:340px;max-width:100%;aspect-ratio:85/55;background:#fff;color:#131313;border:1px dashed #6B6B6B;border-radius:6px;padding:18px 20px;display:flex;flex-direction:column;justify-content:center}
.qcard.front{align-items:flex-start}
.qcard.front .qc-t{font:800 24px/1.1 var(--head);font-stretch:var(--wide);margin:0;text-wrap:balance}
.qcard.back{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}
.qcard.back p{margin:0 0 6px;font-size:13.5px;line-height:1.4}
.qcard .qc-who{font-weight:700;margin-top:6px}
.qr-box{width:116px;height:116px;display:grid;place-items:center;border:1px dashed #6B6B6B;font-size:11px;line-height:1.3;text-align:center;padding:6px}
.qr-box.on{border:0;padding:0}
.qr-box svg{display:block;width:116px;height:116px}
.card-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px;max-width:none}
.card-fields .fld{max-width:none}
.qr-state{font-size:15px;color:var(--ink-2);margin:10px 0 0}
@media (max-width:860px){
  .calc-grid,.guide,.tcards,.card-fields{grid-template-columns:minmax(0,1fr)}
  .calc-out,.gnav{position:static}
  .gnav{display:none}
  .tabs button{flex:1 1 auto;padding:0 10px;font-size:14px;letter-spacing:.03em;min-height:52px}
  .res{padding:18px 18px}
  .res .big{font-size:21px}
  .area-t thead{display:none}
  .area-t tr{display:block;border-top:2px solid var(--ink);padding:10px 0}
  .area-t th,.area-t td{display:block;border:0;padding:2px 0}
  .step .eg li,.at{font-size:17px}
  .qcard{width:100%}
  .mid-cta-box{padding:22px 18px}
}
@media print{
  .nav,.cbar,.hero .btn,.gnav,.ex-btns,.ghost,.linkbtn,footer .btn{display:none!important}
  body::before{display:none}
  body,.room,.tsec,.page{background:#fff!important;color:#000!important}
}
/* the reviews kit prints the QR card only (body.print-card): everything else is left out of the print */
@media print{
  @page{margin:12mm}
  body.print-card > header,body.print-card > footer,body.print-card main > section:not(#card){display:none!important}
  body.print-card #card{padding:0!important}
  body.print-card #card .wrap{padding:0}
  body.print-card #card .wrap > *:not(#card-sheet){display:none!important}
  body.print-card #card-sheet{margin:0;gap:10mm}
  body.print-card .qcard{width:85mm;height:55mm;aspect-ratio:auto;padding:5mm 6mm;border:0.3mm dashed #555;break-inside:avoid}
  body.print-card .qcard.front .qc-t{font-size:16pt}
  body.print-card .qcard.back p{font-size:9pt}
  body.print-card .qr-box,body.print-card .qr-box svg{width:30mm;height:30mm}
}

/* ---- brand layer (25 Nov, "make them all branded"): palette B tokens only; the /prompts job ticket is the tool frame ---- */
main.page{--tool-pad:clamp(18px,2.6vw,32px)}
.tool-card{background:var(--card);color:var(--ink);border:2px solid var(--card-line);border-radius:4px;padding:0 var(--tool-pad) var(--tool-pad)}
.tc-hd{display:flex;align-items:center;gap:12px;min-height:60px;margin:0 calc(-1 * var(--tool-pad)) var(--tool-pad);padding:10px 18px;background:var(--card-hd);
  border-bottom:2px solid var(--card-line);border-radius:2px 2px 0 0;font:700 14px/1.2 var(--text);text-transform:uppercase;letter-spacing:.08em;color:var(--ink)}
.tc-hd b{font-weight:800}
.tabs{border-bottom:0;margin:0;gap:6px}
.tabs button{border:2px solid var(--ink);border-bottom:0;background:var(--page)}
.tabs button[aria-selected="true"]{background:var(--ink);color:var(--page)}
.tabs + .under-tabs{margin-top:14px}
.tpanel.tool-card .tc-hd{border-radius:0}
.tpanel h3{margin-bottom:12px}
/* the results panel: the room ground, the figure in the display face, the accent on the money */
.res{border-radius:4px;border:2px solid var(--room);padding:26px 28px 24px}
.res .big{font:700 22px/1.4 var(--text)}
.res .big b{font:800 clamp(30px,3vw,40px)/1.1 var(--head);font-stretch:var(--wide);color:var(--accent);display:inline}
.res .hint{font:700 18px/1.4 var(--text)}
.res[data-status="incomplete"],.res[data-status="error"]{background:var(--band);color:var(--ink-2);border-color:var(--rule)}
.res[data-status="incomplete"] .hint,.res[data-status="error"] .hint{color:var(--ink-2)}
.res-gap .small{border-top:1px solid var(--rule-room);padding-top:12px}
/* inputs: the live form's 2 px ink box, bigger figures, the accent edge on focus */
.rf input.n{font:700 22px/1.2 var(--text);letter-spacing:.01em;min-height:56px}
.rf input:focus{border-color:var(--ink);box-shadow:0 0 0 3px var(--accent)}
.rf input:focus-visible{outline:0}
.seg span{min-height:56px;font-size:19px}
.seg input:checked + span{background:var(--accent);color:var(--on-accent);border-color:var(--ink)}
.rf .slider input[type=range]{accent-color:var(--ink)}
.ghost{background:transparent;border-color:var(--ink)}
.ghost:hover{background:var(--card-hd)}
.ex-btns .ghost::before{content:"\2192";margin-right:8px}
.fixline{background:var(--card-hd);border-left:6px solid var(--ink)}
.fixline a{font-weight:700}
/* response test: the form card on the dark band, the sample sheet as a result ticket */
.form-card.tool-card{background:var(--card);box-shadow:none;border-color:var(--card-line);max-width:640px}
.form-card.tool-card .rf-h{font-size:26px}
.sheet.tool-card{max-width:640px;font-size:16px;border-width:2px}
.sheet .row p{margin:0;max-width:none;font-size:16px;line-height:1.5}
.sheet .mk-x,.sheet .mk-ok{display:grid;place-items:center;width:24px;height:24px;border-radius:2px;font:800 14px/1 var(--text)}
.sheet .mk-x{background:var(--ink);color:var(--page)}
.sheet .mk-ok{background:var(--accent);color:var(--on-accent)}
.sheet .sh-k{border-bottom:0;padding-bottom:4px;font-size:15px}
.sheet .first-fix{border-top:2px dashed var(--ink);padding-top:14px}
.sample-tabs button[aria-selected="true"]{border-color:var(--ink)}
.rf .consent{border-color:var(--ink);background:#fff}
.preview-note{background:var(--card-hd);border-left-color:var(--pain)}
/* guides: step titles in the display face, the bakery and example notes on the tape ground */
.step h3{text-transform:none}
.at{background:var(--card-hd);border-left:6px solid var(--accent-edge)}
.step .eg li{background:var(--band);border-left:4px solid var(--ink)}
.gpart,.tcards .no{border-radius:2px}
.tcards li{border-top-width:6px}
.tcards h3 a:hover{text-decoration:underline;text-decoration-thickness:3px;text-underline-offset:6px}
/* the QR thank-you card: front on the room ground with the tape lockup, back on paper with the mark; prints in colour */
.qcard{-webkit-print-color-adjust:exact;print-color-adjust:exact;border-radius:4px}
.qcard.front{background:var(--room);color:var(--on-room);border:2px solid var(--room);justify-content:space-between;gap:12px}
.qcard.front .qc-logo{display:block;height:26px;width:auto}
.qcard.front .qc-t{color:var(--on-room)}
.qcard.front .qc-name{color:var(--accent)}
.qcard.back{border:2px solid var(--ink);border-bottom:8px solid var(--accent)}
.qcard .qc-mark{display:block;width:22px;height:22px;margin:0 0 8px}
@media print{
  body.print-card .qcard.front{border:0.3mm solid #131313}
  body.print-card .qcard.back{border:0.3mm dashed #555;border-bottom:3mm solid #FFC629}
  body.print-card .qcard.front .qc-logo{height:7mm}
}
@media (max-width:860px){
  .tabs{gap:4px}
  .tabs button{font-size:13.5px;padding:0 8px}
  .res .big b{font-size:30px}
  .tc-hd{font-size:12.5px;letter-spacing:.06em;min-height:54px;padding:8px 12px;gap:10px}
}
.tool-card .help,.tool-card .small,.form-card .help{color:var(--ink-2)}

/* ---- Mika layer (25 Nov): "every tool is a job ticket". Same layout model as the live home (label column + content column,
   grounds alternate hard, rules not boxes). Signature: the lit, turned tile marks the reader's own first step, one per page
   (hub row 1, guide step 1, response-test step 1, reviews link step 1), as on /prompts. Markup: build/mika-patch-tools-1125.py ---- */

/* 1. label column + content column on desktop (home "Questions" / "Who's behind"); ruled lists at every width */
@media (min-width:861px){
  .split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(40px,6vw,96px);align-items:start}
  .split > .h2{grid-column:1;grid-row:1 / span 12;position:sticky;top:28px;margin:0;font-size:clamp(34px,3.3vw,46px);line-height:1.02;max-width:11em}
  .split > :not(.h2){grid-column:2;min-width:0}
  .split > .olist,.split > .tlist,.split > .intro,.split > p{max-width:none}
  .split > .sheet.tool-card{max-width:none}
}
.split .tlist{list-style:none;padding:0;border-bottom:2px solid currentColor}
.split .tlist li{margin:0;padding:14px 0;border-top:2px solid currentColor}
.split .tlist li::marker{content:none}
.split .tlist + p{margin-top:20px}

/* 2. hero: the long button stays on one line at 390 */
@media (max-width:420px){.hero .btn{font-size:15.5px;letter-spacing:.03em;padding:0 14px;white-space:nowrap}}

/* 3. hub: a ruled index of tools, not a card grid; the guide row leads */
.tcards{display:block;border-bottom:2px solid var(--ink)}
.tcards li{display:grid;grid-template-columns:56px minmax(0,1.15fr) minmax(0,1fr) auto;grid-template-areas:"no h p go";column-gap:clamp(20px,2.6vw,36px);
  align-items:center;padding:30px 0;border-top:2px solid var(--ink)}
.tcards li.first{border-top-width:6px;padding:44px 0}
.tcards .no{grid-area:no;display:grid;place-items:center;width:56px;height:56px;margin:0;padding:0;background:var(--ink);color:var(--page);
  font:800 26px/1 var(--head);font-stretch:var(--wide);letter-spacing:0;border-radius:2px}
.tcards li.first .no{background:var(--accent);color:#131313;transform:rotate(-8deg)}
.tcards h3{grid-area:h;margin:0;font-size:clamp(24px,2.3vw,32px)}
.tcards li.first h3{font-size:clamp(30px,3.1vw,44px)}
.tcards p{grid-area:p;margin:0;max-width:30em}
.tcards .tlink{grid-area:go;justify-self:end;display:inline-flex;align-items:center;min-height:52px;padding:0 20px;border:2px solid var(--ink);border-radius:3px;
  font:800 15px/1 var(--text);text-transform:uppercase;letter-spacing:.05em;text-decoration:none;white-space:nowrap;color:var(--ink)}
.tcards .tlink:hover{background:var(--card-hd)}
.tcards li.first .tlink{min-height:60px;padding:0 26px;background:var(--accent);font-size:16px}
.tcards li.first .tlink:hover{background:var(--accent-hi)}
@media (max-width:860px){
  .tcards li{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"no h" ". p" ". go";column-gap:16px;row-gap:12px;align-items:start;padding:26px 0}
  .tcards li.first{padding:32px 0}
  .tcards .no{width:44px;height:44px;font-size:20px}
  .tcards h3,.tcards li.first h3{font-size:26px;line-height:1.1;align-self:center}
  .tcards .tlink{justify-self:start;margin-top:4px}
}

/* 4. calculator: the tabs sit on the ticket like folder tabs; tab 1's figure is the largest type in the tool */
.under-tabs{margin:0 0 22px}
.tabs{margin:0}
.tabs button:not([aria-selected="true"]):hover{background:var(--card-hd)}
.tpanel.tool-card{margin-top:0}
.calc-out .res{max-width:none}
#p-t1 .res .big:first-child b{display:block;margin:6px 0 10px;font-size:clamp(34px,3.5vw,46px);line-height:1.02;text-wrap:balance}

/* 5. reviews kit: the copy-ready templates with the examples beside them (desktop) */
.tpl-grid{max-width:820px}
@media (min-width:1000px){
  .tpl-grid{max-width:none;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);column-gap:clamp(24px,3vw,44px);align-items:start}
  .tpl-grid > *{grid-column:1}
  .tpl-grid > .pc-exs{grid-column:2;grid-row:1 / span 2}
  .tpl-grid .pc-ex{margin-inline-start:0}
}
.tpl .pc-tag .pc-mark{width:28px;height:28px}
.room .pc-ex{background:var(--pool);border-inline-start-color:var(--accent)}
.room .pc-ex p,.room .pc-ex .pc-ex-k{color:var(--on-room-2)}
.room .pc-ex .pc-ex-k{color:var(--on-room)}
/* the empty result is a quiet note, not a black box */
.res:has(> .hint:only-child){background:var(--band);color:var(--ink-2);border-color:var(--rule)}
.res:has(> .hint:only-child) .hint{color:var(--ink-2)}

/* 6. the 4 rules on the yellow ground (home #proof device) */
.tsec.accent{background:var(--accent);color:var(--ink)}
.tsec.accent .olist > li::before{background:var(--ink);color:var(--accent)}
.tsec.accent .small{color:var(--on-accent-2)}
.tsec.accent a{color:var(--ink)}
.tsec.accent a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* 7. signature: the reader's first step is the lit, turned tile */
#how .olist > li:first-child::before,#link .olist > li:first-child::before{background:var(--accent);color:#131313;transform:rotate(-8deg)}

/* 8. response test: the sign-up form runs two columns on desktop, so it fits about one screen */
@media (min-width:1000px){
  #signup .form-card.tool-card{max-width:1000px}
  #rt-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:32px;grid-auto-flow:row dense;align-items:start}
  #rt-form > *{grid-column:1 / -1}
  #rt-form > .fld:has(#f1),#rt-form > .fld:has(#f2),#rt-form > fieldset:has(.radios),#rt-form > .fld:has(#f3b),
  #rt-form > .fld:has(#f8),#rt-form > .fld:has(#f9),#rt-form > #f-phone,#rt-form > #f-website,#rt-form > #f-social{grid-column:auto}
  #rt-form .fld,#rt-form .consent{max-width:none}
  #rt-form > .btn,#rt-form > .rf-note{grid-column:1}
  #rt-form > .rf-h{margin-bottom:22px}
}

/* 9. guides: "Step N." is a label above the title; the two examples sit side by side on desktop */
.step h3 .sn{display:block;width:max-content;margin:0 0 14px;padding:7px 11px 6px;background:var(--ink);color:var(--page);
  font:800 14px/1.2 var(--text);text-transform:uppercase;letter-spacing:.08em;border-radius:2px}
#step-1 h3 .sn{background:var(--accent);color:#131313;transform:rotate(-3deg);transform-origin:0 100%}
@media (min-width:1000px){
  .step .eg:has(> li + li){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;max-width:none}
  .step .eg:has(> li + li) > li{margin:0}
}

/* 10. the QR thank-you card: two real cards (3.5 x 2 in, the US print-shop size) on a light table; the card belongs to the
   owner's business, so no Shraada logo on it */
#card .card-sheet{justify-content:center;align-items:center;gap:clamp(16px,3vw,36px);margin:32px 0 0;padding:clamp(24px,4.5vw,64px) clamp(16px,3vw,40px);
  background:var(--band);border-radius:4px}
#card .qcard{width:min(100%,384px);aspect-ratio:88.9/50.8;padding:20px 22px;border-radius:3px;
  box-shadow:0 1px 2px rgba(0,0,0,.18),0 18px 30px -18px rgba(0,0,0,.55)}
.qcard .qc-logo,.qcard .qc-mark{display:none}
#card .qcard.front{justify-content:center;border-color:#131313}
#card .qcard.front .qc-t{font-size:clamp(22px,2.1vw,27px);line-height:1.08}
@media print{
  body.print-card #card-sheet{background:none;padding:0;justify-content:flex-start;align-items:flex-start}
  body.print-card #card .qcard{width:88.9mm;height:50.8mm;box-shadow:none;border-radius:0}
  /* front: the dark ground runs 1.6 mm past the light cut line, so a home cut leaves no white edge */
  body.print-card #card .qcard.front{border:0.3mm dashed #FAFAF7;outline:1.6mm solid #131313}
}

/* 11. the close heading runs 3-4 lines, not 6 */
.close1 .h2{max-width:22em}

/* round 2 (critic pass 1): fixed link column so the hub rows line up; no logo on the owner's card (beats .qcard.front .qc-logo);
   the form card fills the measure; help text on the light card inside a dark section was #C2C2BC on #FFFCF3 (1.6:1) */
.tcards li{grid-template-columns:56px minmax(0,1.15fr) minmax(0,1fr) 216px}
@media (max-width:860px){.tcards li{grid-template-columns:44px minmax(0,1fr)}}
#card .qcard .qc-logo,#card .qcard .qc-mark{display:none}
@media (min-width:1000px){#signup .form-card.tool-card{max-width:none}}
.tsec.room .tool-card .help,.tsec.room .tool-card .small,.tsec.room .form-card .rf-privacy,.tsec.room .form-card .rf-note{color:var(--ink-2)}
/* the print button sat ink-on-ink in the dark card section (invisible) */
.room .ghost{color:var(--on-room);border-color:var(--on-room)}
.room .ghost:hover{background:var(--pool)}
.room .ghost:focus-visible{outline-color:var(--accent)}

/* ---- round 3 (critics A brand system 6.5/10, B craft, C stranger 29/40; 25 Nov) ---- */
/* A1: tool heroes keep the reference's all-white headline (no coloured words in a hero) */
header.room .hl-pain{color:inherit}
/* A2: ONE note/example style everywhere = the /prompts "EXAMPLE ANSWER" block: grey ground, 4 px grey rule, ink text */
.step .eg li,.at,.preview-note,.fixline,.room .pc-ex,.tsec.room .pc-ex{background:var(--ex);color:var(--ink);border:0;border-inline-start:4px solid var(--ink-2);border-radius:0 3px 3px 0}
.room .pc-ex p,.room .pc-ex .pc-ex-for{color:var(--ink-2)}
.room .pc-ex .pc-ex-k{color:var(--ink-2)}
.step .eg,.at{max-width:40em}
.preview-note{margin-top:14px}
/* A3: no box inside the ticket: the result is set off by a heavy top rule; the figure is a yellow fill mark */
.tool-card .res{background:transparent;color:var(--ink);border:0;border-top:6px solid var(--ink);border-radius:0;padding:18px 0 0;max-width:none}
.tool-card .res .hint,.tool-card .res .caveat,.tool-card .res .assume,.tool-card .res .small{color:var(--ink-2)}
.tool-card .res .caveat,.tool-card .res .assume,.tool-card .res-gap .small{border-top-color:var(--rule)}
.tool-card .res a{color:var(--ink)}
.tool-card .res .big b{color:#131313;background:var(--accent);padding:0 .14em;border-radius:2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
#p-t1 .res .big:first-child b{display:inline;line-height:1.18}
.tool-card .res:has(> .hint:only-child),.tool-card .res[data-status="incomplete"],.tool-card .res[data-status="error"]{background:transparent;border:0;border-top:2px solid var(--rule)}
.calc-out .ex-rows{margin-top:24px}
/* B8 / A-calc: the folder tabs are the ticket's header, so the panel header (which repeated the tab) goes */
.tpanel.tool-card > .tc-hd{display:none}
.tpanel.tool-card{padding-top:var(--tool-pad);border-top-width:3px}
.rf .slider input[type=range]{-webkit-appearance:none;appearance:none;height:28px;background:transparent}
.rf .slider input[type=range]::-webkit-slider-runnable-track{height:6px;background:var(--ink);border-radius:3px}
.rf .slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:30px;height:30px;margin-top:-12px;border-radius:50%;background:var(--accent);border:3px solid var(--ink)}
.rf .slider input[type=range]::-moz-range-track{height:6px;background:var(--ink);border-radius:3px}
.rf .slider input[type=range]::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:var(--accent);border:3px solid var(--ink)}
.rf .slider input[type=range]:focus-visible{outline:3px solid var(--accent-edge);outline-offset:4px}
/* A-reviews: no stage panel on the dark ground; the dark card front gets a hairline so its edge shows; the print action is a real button */
#card .card-sheet{background:none;padding:0;justify-content:flex-start}
#card .qcard.front{border:1px solid rgba(250,250,247,.42)}
#card-print{display:inline-flex;align-items:center;gap:10px;min-height:60px;padding:0 28px;margin-top:8px;border:0;border-radius:3px;background:var(--accent);color:#131313;
  font:800 17px/1 var(--text);text-transform:uppercase;letter-spacing:.05em;cursor:pointer}
#card-print:hover{background:var(--accent-hi)}
#card-print:focus-visible{outline:3px solid var(--on-room);outline-offset:3px}
#card .qr-state:empty{display:none}
/* B2: the preview button keeps full strength (the note under it says why it does nothing yet) */
.rf .btn[disabled]{opacity:1;cursor:not-allowed}
/* B6: every check and radio row is a 44 px target */
.rf .checks label,.rf .radios label,.rf .consent label{min-height:44px;align-items:center}
.rf .consent label{align-items:flex-start;padding:4px 0}
.checks{gap:4px}
/* B9: the first-fix line and its dashed rule run the card's full inner width */
.sheet .first-fix,.sheet .row,.sheet p{max-width:none}
/* help text up to 16 px for the phone reader */
.rf .help,.rf-hint{font-size:16px}
/* A-hub: links in rows 2-6 are the reference's underlined text link, left-aligned in one fixed column; the prompts row gets a hollow tile */
.tcards li:not(.first) .tlink{justify-self:start;min-height:44px;padding:0;border:0;font:800 16px/1.2 var(--text);text-transform:none;letter-spacing:0;
  text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.tcards li:not(.first) .tlink:hover{background:none;text-decoration-thickness:4px}
.tcards li:not(:has(.no))::before{content:"";grid-area:no;width:52px;height:52px;border:2px solid var(--ink);border-radius:2px}
.tcards li.first{grid-template-columns:56px minmax(0,1.6fr) minmax(0,1fr) 216px}
/* B7: one step tag: a large display numeral; step 1 alone is lit and turned (the page's signature) */
.step h3 .sn{padding:0;background:none;color:var(--ink);font:800 clamp(32px,3vw,40px)/1 var(--head);font-stretch:var(--wide);letter-spacing:0;text-transform:uppercase;margin:0 0 12px}
#step-1 h3 .sn{padding:.1em .24em .06em;background:var(--accent);color:#131313}
/* A-guides: links in the steps look like links */
.step a:not(.btn),#before a:not(.btn){text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
/* A-guides: the mid-page offer is a full-width dark band; Part 2 sits on the grey ground (full-bleed, no markup change) */
.mid-cta-box{border-radius:0;padding:clamp(40px,5vw,64px) 0;margin:40px 0 0;box-shadow:0 0 0 100vmax var(--room);clip-path:inset(0 -100vmax)}
#part-2,#part-2 ~ *{box-shadow:0 0 0 100vmax var(--band);clip-path:inset(0 -100vmax);background:var(--band)}
#part-2{margin-top:0!important;padding-top:clamp(56px,7vw,96px)}
#steps:has(#part-2){padding-bottom:0}
#part-2 ~ :last-child{padding-bottom:clamp(56px,7vw,104px)}
#part-2 ~ .step{border-top-color:var(--ink)}
/* B5: card headers stay on one line on the phone (the "Shraada ..." prefix drops where a <b> label follows) */
@media (max-width:860px){
  .tc-hd span:has(> b){font-size:0;letter-spacing:0}
  .tc-hd span:has(> b) b{font-size:13px;letter-spacing:.06em}
  .tabs{gap:4px;flex-wrap:nowrap}
  .tabs button{flex:1 1 0;min-width:0;padding:0 6px;font-size:15px;letter-spacing:.02em;line-height:1.1;white-space:normal}
  #card-print{width:100%;justify-content:center}
  #card .qcard.back{gap:12px;padding:16px}
  #card .qcard.back p{font-size:14px;line-height:1.35}
  #card .qr-box,#card .qr-box svg{width:100px;height:100px}
  /* A5: mobile footer, one column on one baseline grid */
  .foot{flex-direction:column;align-items:flex-start;gap:12px}
  .foot ul{flex-direction:column;gap:0}
  .foot ul li{display:flex;align-items:center;min-height:44px}
}
/* hub row 1: the title gets the wide column (two lines, not three), its line sits under it */
@media (min-width:861px){
  .tcards li.first{grid-template-columns:56px minmax(0,1fr) 216px;grid-template-areas:"no h go" ". p go";row-gap:12px}
}
#card .qc-phone{white-space:nowrap}
#part-2{margin-bottom:0!important;padding-bottom:24px}
#part-2 ~ *{margin-block:0}
/* on the Part 2 grey ground the grey example blocks would vanish: they take the page ground there */
#part-2 ~ .step .eg li,#part-2 ~ .step .at{background:var(--page)}
.step .eg{margin-bottom:16px}
.tool-card .res .big b{white-space:nowrap}
/* 29 Nov (Dev): hub on the phone. Row 1 was squeezed to one word per line: the unconditional
   ".tcards li.first{grid-template-columns:56px 1.6fr 1fr 216px}" (round 3, above) beat the phone rule ".tcards li" and kept
   4 columns. Every row: tile + title on one line, text and link the full width under them; the prompts row (no number)
   drops its empty tile; tighter spacing. Scoped to the hub (.tcards / body:has(.tcards)): no other page changes. */
@media (max-width:860px){
  .tcards li,.tcards li.first{grid-template-columns:44px minmax(0,1fr);grid-template-areas:"no h" "p p" "go go";row-gap:8px;padding:18px 0}
  .tcards li.first{padding:22px 0}
  .tcards li:not(:has(.no))::before{content:none}
  .tcards li:not(:has(.no)){grid-template-areas:"h h" "p p" "go go"}
  .tcards li:not(.first) .tlink{margin-top:0}
  .tcards p{line-height:1.45}
  .tcards li:not(.first) h3{font-size:24px}
  body:has(.tcards) .tsec{padding-top:32px;padding-bottom:32px}
  body:has(.tcards) .tsec .h2{margin-bottom:16px}
  body:has(.tcards) .close1{padding-top:40px;padding-bottom:36px}
  body:has(.tcards) .close1 .made-up{margin-top:16px}
  body:has(.tcards) .hero-text{padding-top:28px;padding-bottom:36px}
  body:has(.tcards) summary{padding-top:16px;padding-bottom:16px}
  body:has(.tcards) summary::after{top:28px}
  body:has(.tcards) summary::before{top:20.5px}
  body:has(.tcards) .foot{padding-bottom:40px}
}
/* 29 Nov (Dev, Eshel's copy decisions): hub rows 2-5 carry the old tool name as a small grey label over the outcome title;
   the big close block is gone, so the footer keeps only its small note; one small link line ends the main content. */
.tcards .tname{grid-area:t;display:block;margin:0 0 4px;font:700 14px/1.3 var(--text);color:var(--ink-2);align-self:end}
.tcards li:has(.tname){grid-template-areas:"no t p go" "no h p go"}
.tcards li:has(.tname) h3{align-self:start}
.more-line{margin:32px 0 0;font-size:18px}
.close1 > .made-up:first-child{margin-top:0}
body:has(.tcards) .close1{padding-top:32px;padding-bottom:24px}
@media (max-width:860px){
  .tcards li:has(.tname){grid-template-areas:"no t" "no h" "p p" "go go"}
  .tcards li:has(.tname) .tname{margin:0}
  .tcards li:has(.tname) .no{align-self:center}
  .more-line{margin-top:24px}
}
