/* Workbook — print-first, senior-friendly (65+). Paper stays WHITE for printing;
   accents are print-safe purple (#6D28A8 family). Body >=14pt in print. */
body.wb{background:#fff;color:#1A1520;font-family:Georgia,'Times New Roman',serif;font-size:16pt;line-height:1.7;margin:0;overflow-wrap:break-word}
.wstep{max-width:820px;margin:0 auto;padding:28px 26px;border-bottom:6px solid #6D28A8}
.brand{color:#6D28A8;font-weight:800;letter-spacing:.14em}
.wb h1{font-size:42pt;line-height:1.1;margin:.2em 0;color:#1A1520}
.huge{font-size:30pt;font-weight:700}.big{font-size:19pt}.steptop{font-size:22pt;font-weight:800;color:#6D28A8;letter-spacing:.04em}.steptop span{font-size:15pt;color:#3D3652}
.steptitle{font-size:25pt;line-height:1.25;margin:.3em 0 .6em;color:#1A1520}
.wblock{border:2px solid #4A4460;border-radius:14px;padding:18px 20px;margin:18px 0}
.wblock h3{font-size:15pt;letter-spacing:.1em;color:#6D28A8;margin:0 0 8px}
.wblock p{margin:.35em 0}
.bigcheck{display:inline-block;width:22px;height:22px;min-width:22px;border:3px solid #4A4460;border-radius:4px;margin-right:12px;vertical-align:-3px;background:#fff}
.checkline{display:flex;align-items:flex-start;margin:.55em 0}
.due{border-color:#6D28A8;background:#F6F1FC}.duedate{font-size:26pt;font-weight:800;color:#6D28A8}
.doneline{font-size:18pt;border-top:2px dashed #6E6785;padding-top:14px;margin-top:22px}
.script{font-size:20pt;font-style:italic;border-left:8px solid #6D28A8;padding:8px 16px;background:#F6F1FC}
.alertbox{border:4px solid #6D28A8;border-radius:14px;padding:18px 22px;background:#F6F1FC}.alertbox p{font-size:18pt;margin:.3em 0}
table.track{width:100%;border-collapse:collapse}table.track th,table.track td{border:2px solid #4A4460;padding:16px 12px;text-align:left;min-height:44px;font-size:13pt}
.sigline{margin-top:2em}.smallprint{font-size:12pt;color:#3D3652}.stuck{font-size:15pt}
.bigbtn{display:inline-block;background:#6D28A8;color:#fff;padding:16px 22px;border-radius:14px;text-decoration:none;font-size:17pt}
.cover{background:#05050B;color:#F5F2FA;padding:48px 30px}.cover .big,.cover p{color:#F5F2FA}.cover .brand{color:#B79CFF}
@media print{ .pagebreak{page-break-before:always} body.wb{font-size:14pt;background:#fff;color:#1A1520} .wstep{border-bottom:none;padding:10px 6px} a{color:#1A1520;text-decoration:none} .cover{background:#fff;color:#1A1520;border:3px solid #6D28A8} .cover .big,.cover p{color:#1A1520} .cover .brand{color:#6D28A8} .bigbtn{display:none} }
@media screen and (max-width:700px){ body.wb{font-size:15pt} .steptitle{font-size:22pt} h1{font-size:34pt} }

/* Two-section workbook (2026-10-13) — soft blue→purple schema:
   headings deep indigo, pale tints #EDF2FF / #F3EFFF, gradient only
   in thin accent bars. Body text stays dark on white. */
.wb h1,.steptitle{color:#312E81}
.steptop{color:#4F46A5}
.wblock h3{color:#4F46A5}
.gradbar{height:8px;border-radius:4px;background:linear-gradient(90deg,#3E7BFF,#8B5CF6,#B563FF);margin:14px 0}
.secband{text-align:left}
.secnum{font-size:16pt;font-weight:800;letter-spacing:.16em;color:#4F46A5}
.sectitle{font-size:34pt;font-weight:800;line-height:1.15;margin:.15em 0;color:#312E81}
.secsub{font-size:19pt;color:#3D3652;margin:.1em 0}
.fcard{border:2px solid #C9C2EA;border-radius:14px;padding:16px 20px;margin:16px 0;background:#FBFAFF;page-break-inside:avoid}
.ftitle{font-size:19pt;line-height:1.3;margin:.1em 0 .3em;color:#312E81}
.fmeta{font-size:14pt;color:#3D3652;margin:.2em 0}
.ftime{color:#9C1D1D;font-weight:700}
.flabel{font-weight:700;letter-spacing:.06em;color:#4F46A5;margin:.6em 0 .2em}
.fexcerpt{font-style:italic;margin:.2em 0}
.fsource{font-size:13.5pt;color:#3D3652}
.fmath{background:#EDF2FF;border-radius:10px;padding:10px 14px}
.faction{font-size:16pt;background:#F3EFFF;border-radius:10px;padding:10px 14px}
.faction a{color:#4F46A5;font-weight:700}
.pill{display:inline-block;border-radius:999px;padding:8px 20px;font-size:15pt;font-weight:800;letter-spacing:.06em}
.pill-job{background:#E3ECFF;color:#1E40AF}
.pill-help{background:#EFE6FD;color:#5B21B6}
.tagrow{margin:.2em 0 .4em}
.phaseband{background:#EDF2FF;border-radius:10px;padding:10px 16px;font-weight:700;color:#312E81;margin-bottom:14px}
.whyblock{background:#F3EFFF;border-color:#C9C2EA}
.who{margin-top:.5em}
.jobstrip{display:flex;gap:16px;flex-wrap:wrap}
.jobcol{flex:1 1 300px;border:2px solid #C9C2EA;border-radius:14px;padding:16px 20px;background:#F3EFFF}
.jobcol h3{margin-top:0;color:#312E81}
.mapline{font-size:16pt;margin:.45em 0}
.mapline a{color:#4F46A5}
.numbersbox{background:#EDF2FF;border-color:#B9C8F5}

/* Workbook cover band (logo on black — prints deliberately) */
.wbband{background:#000;border-radius:12px;padding:14px 18px;display:flex;align-items:center;gap:14px;margin-bottom:22px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.wbband img{height:56px;width:56px;border-radius:10px;display:block}
.wbband a.wblogo{display:flex;align-items:center;gap:14px;text-decoration:none;color:#fff}
.wbband span{color:#fff;font-weight:800;letter-spacing:.14em;font-size:17px;min-width:0}

/* Fit-to-screen guards (2026-10-13) — SCREEN ONLY. Wide tracking/findings
   tables scroll inside their own strip on a phone; the page itself never
   moves sideways. Print rules above are untouched and the strip opens up
   fully on paper. */
@media screen{
  html,body.wb{overflow-x:hidden}
  @supports (overflow:clip){html,body.wb{overflow-x:clip}}
  .wbscroll{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%}
  img,svg{max-width:100%}
}
@media print{ .wbscroll{overflow:visible} }

/* Online-workbook chrome (2026-10-26): sticky jump nav, the two book
   part banners' print buttons, per-letter print bars, the sample strip,
   and print isolation — when a part carries .printing, ONLY that part
   reaches the printer. The document's own print design above is
   untouched; with no .printing part, printing works as it always did. */
.wbnav{position:sticky;top:0;z-index:50;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;background:#0D0C1C;padding:10px 12px;border-bottom:2px solid #6D28A8}
.wbnav a{color:#fff;background:linear-gradient(90deg,#2563EB,#7C3AED);font-weight:700;font-size:15px;line-height:1.2;padding:10px 16px;border-radius:999px;text-decoration:none}
section[id],div.part[id]{scroll-margin-top:70px}
.samplebar{background:#6D28A8;color:#fff;font-weight:700;text-align:center;padding:14px 18px;font-size:16px;line-height:1.45}
.coverbtns{margin-top:18px}
.bigbtn.altbtn{background:#fff;color:#4F46A5;border:2px solid #4F46A5}
.wb .cover h1{color:#F5F2FA}
.letterbar{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:820px;margin:22px auto 0;padding:12px 26px;background:#F3EEFA;border-top:4px solid #6D28A8;font-size:16px}
.printbtn{background:linear-gradient(90deg,#2563EB,#7C3AED);color:#fff;font-weight:700;font-size:16px;padding:12px 22px;border:none;border-radius:999px;cursor:pointer}
.printbtn.big{font-size:18px;padding:14px 28px}
@media print{
  .noprint{display:none!important}
  .printhide{display:none!important}
  .printing{margin:0!important;padding:0!important;border:0!important}
  .wb .cover h1{color:#312E81}
}
/* Mobile: nav scrolls sideways inside itself (one short row) so it never
   covers anchor headings; letter bars wrap; nothing widens the page. */
@media screen{
  section[id],div.part[id],div.letterwrap[id]{scroll-margin-top:84px}
  .letterbar{flex-wrap:wrap;box-sizing:border-box}
  .wbband span{overflow-wrap:anywhere}
}
@media screen and (max-width:700px){
  .wb .cover h1{font-size:32px;line-height:1.15;overflow-wrap:normal}
  .wbnav{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch;padding:8px 10px}
  .wbnav a{flex:0 0 auto;white-space:nowrap;font-size:14px;padding:9px 14px}
  .letterbar{padding:12px 16px}
  .printbtn,.printbtn.big{max-width:100%}
  .bigbtn{display:block;margin:10px 0;text-align:center;box-sizing:border-box}
}

/* GUI delta (screen only): light blue-purple wash, pill/icon controls,
   how-to strip, guide cards. Nothing here reaches print. */
@media screen{
  html{scroll-behavior:smooth}
  body.wb{background:linear-gradient(180deg,#E9F0FF 0%,#EEE9FE 55%,#F7EBFF 100%);background-attachment:fixed;padding:18px 10px 48px;box-sizing:border-box}
  .wstep{background:#fff;border-bottom:none;border-radius:20px;box-shadow:0 3px 18px rgba(61,38,110,.14);margin:24px auto;padding:36px 38px}
  .wb .cover{background:#fff;color:#1A1520}
  .wb .cover p,.wb .cover .big{color:#1A1520}
  .wb .cover h1{background:linear-gradient(90deg,#3E7BFF,#8B5CF6,#B563FF);-webkit-background-clip:text;background-clip:text;color:#4F46A5;-webkit-text-fill-color:transparent;display:inline-block;max-width:100%}
  .wbnav{gap:10px;padding:12px}
  .wbnav a{font-size:17px;padding:14px 20px;min-height:52px;box-sizing:border-box;display:inline-flex;align-items:center}
  section[id],div.part[id],div.letterwrap[id]{scroll-margin-top:150px}
  .howstrip{display:flex;gap:14px;flex-wrap:wrap;max-width:820px;margin:24px auto 0;padding:0 4px;box-sizing:border-box}
  .howstep{flex:1 1 220px;background:#fff;border-radius:18px;box-shadow:0 3px 14px rgba(61,38,110,.12);padding:20px;display:flex;gap:14px;align-items:flex-start;box-sizing:border-box}
  .howstep p{margin:0;font-size:17px;line-height:1.5}
  .hownum{background:linear-gradient(135deg,#3E7BFF,#8B5CF6);color:#fff;font-weight:900;font-size:23px;width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none}
  .mapline{display:block;background:linear-gradient(180deg,#F2F6FF,#F8F2FF);border:2px solid #C7D6FF;border-radius:16px;padding:18px 20px;margin:12px 0;font-size:18px;line-height:1.45}
  .mapline a{font-weight:800;text-decoration:none}
  .checkline{font-size:18px;line-height:1.55}
  .letterbar{font-size:18px;padding:18px 26px;border-radius:16px 16px 0 0}
  .printbtn{min-height:56px;font-size:18px;padding:16px 28px}
  .printbtn.big{min-height:60px;font-size:20px}
  .coverbtns .bigbtn{margin:6px 4px}
  .secband{background:linear-gradient(180deg,#EFF4FF,#F7F0FF)}
  .nextcard{background:linear-gradient(180deg,#EFF4FF,#F9F2FF)}
  .steptop{color:#6A4BD8}
  .faction a{font-weight:800}
  ::selection{background:#DCCBFF}
}
@media screen and (max-width:700px){
  .wbnav{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto}
  .wbnav a{white-space:nowrap;flex:0 0 auto}
  section[id],div.part[id],div.letterwrap[id]{scroll-margin-top:84px}
  .wstep{padding:26px 20px;border-radius:16px}
  .howstrip{padding:0}
}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

/* App shell (2026-10-30, SCREEN ONLY): the online workbook as a mini
   app — normal reading sizes instead of senior print sizes, a slim
   sticky app bar (the existing .wbnav, restyled; its Map link becomes
   the hamburger that opens the sections drawer the inline script
   builds), an app-width card column, and collapsible section cards
   (accordion bodies are wrapped at runtime by the inline script;
   closed state hides on SCREEN only). Nothing in this block reaches
   print: every rule lives in @media screen, and the print design
   above — and the PDF books, which are separate renderers — are
   byte-for-byte what they were. With JS off, no section is ever
   closed and the page is the document it always was. */
@media screen{
  body.wb{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:16px;line-height:1.55}
  .wstep{max-width:760px;margin:14px auto;padding:22px 20px;border-radius:16px}
  .wb .cover{padding:30px 22px}
  .wb h1{font-size:30px;line-height:1.2}
  .wb .cover h1{font-size:30px}
  .huge{font-size:23px}.big{font-size:17px}
  .steptop{font-size:12px;letter-spacing:.12em}
  .steptop span{font-size:12px}
  .steptitle{font-size:21px;line-height:1.3;margin:.25em 0 .5em}
  .secnum{font-size:13px}.sectitle{font-size:27px}.secsub{font-size:16px}
  .ftitle{font-size:18px}.fmeta{font-size:13px}.fsource{font-size:13px}.faction{font-size:15px}
  .fcard{padding:14px 16px;margin:14px 0}
  .script{font-size:17px;line-height:1.5;padding:8px 14px}
  .alertbox{border-width:3px;padding:16px 18px}.alertbox p{font-size:16px}
  .wblock{padding:14px 16px;margin:14px 0}.wblock h3{font-size:12.5px}
  table.track th,table.track td{font-size:14px;padding:10px;min-height:0}
  .bigcheck{width:20px;height:20px;min-width:20px;margin-right:10px}
  .checkline{font-size:16px;line-height:1.5}
  .doneline{font-size:16px}.stuck{font-size:15px}.smallprint{font-size:13px}.duedate{font-size:22px}
  .mapline{font-size:16px;padding:14px 16px;margin:10px 0}
  .pill{font-size:13px;padding:6px 14px}
  .phaseband{font-size:14.5px;padding:8px 12px;margin-bottom:12px}
  .bigbtn{font-size:16px;padding:13px 18px;border-radius:12px}
  .printbtn{font-size:15px;min-height:48px;padding:12px 20px}
  .printbtn.big{font-size:16px;min-height:52px}
  .letterbar{max-width:760px;font-size:15px;padding:12px 20px;margin:14px auto 0}
  .howstrip{max-width:760px;margin:14px auto 0}
  .howstep{padding:14px 16px}.howstep p{font-size:15px;line-height:1.45}
  .hownum{font-size:19px;width:38px;height:38px}
  .samplebar{font-size:14px;padding:10px 14px}
  /* App bar: slim sticky bar. The Map link is the hamburger (JS opens
     the drawer; without JS it still jumps to the Map section, which
     lists everything). Secondary jump links retire into the drawer —
     they remain in the HTML for the Map and for no-JS fallback. */
  .wbnav{flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:8px;padding:8px 10px;border-bottom:none;background:linear-gradient(90deg,#3E7BFF,#8B5CF6,#B563FF) bottom/100% 3px no-repeat,#0D0C1C;box-shadow:0 2px 12px rgba(5,5,20,.25);overflow:visible}
  .wbnav a{font-size:15px;min-height:44px;padding:10px 14px;border-radius:10px;display:inline-flex;align-items:center}
  .wbnav a:not(:first-of-type):not([href^="tel:"]){display:none}
  .wbnav a[href^="tel:"]{margin-left:auto}
  .wbapptitle{color:#fff;font-weight:700;font-size:16px;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
  section[id],div.part[id],div.letterwrap[id]{scroll-margin-top:70px}
  /* Accordion sections (runtime classes from the inline script) */
  section.wstep.wb-closed>.wbacc-body{display:none}
  .letterwrap.wb-closed>section.wstep{display:none}
  .wstep .steptitle[data-wbtoggle]{position:relative;padding-right:32px;cursor:pointer}
  .wstep .steptitle[data-wbtoggle]::after{content:"▾";position:absolute;right:2px;top:50%;transform:translateY(-50%);font-size:17px;color:#6A4BD8;transition:transform .2s}
  .wstep.wb-closed .steptitle[data-wbtoggle]::after{transform:translateY(-50%) rotate(-90deg)}
  .wstep .steptop{cursor:pointer}
  .letterbar [data-wbtoggle]{cursor:pointer}
  .letterbar [data-wbtoggle]::after{content:"▾";display:inline-block;margin-left:10px;color:#6A4BD8;transition:transform .2s}
  .letterwrap.wb-closed .letterbar [data-wbtoggle]::after{transform:rotate(-90deg)}
  [data-wbtoggle]:focus-visible{outline:3px solid #8B5CF6;outline-offset:2px;border-radius:6px}
  /* Sections drawer */
  .wbdrawer{position:fixed;top:0;bottom:0;left:0;width:min(84vw,330px);background:#0D0C1C;color:#fff;z-index:200;transform:translateX(-105%);visibility:hidden;transition:transform .25s ease,visibility .25s;box-shadow:4px 0 24px rgba(0,0,0,.35);display:flex;flex-direction:column}
  body.wbdrawer-open .wbdrawer{transform:none;visibility:visible}
  .wbdrawer-scrim{position:fixed;inset:0;background:rgba(5,5,15,.55);z-index:190;opacity:0;pointer-events:none;transition:opacity .25s}
  body.wbdrawer-open .wbdrawer-scrim{opacity:1;pointer-events:auto}
  body.wbdrawer-open{overflow:hidden}
  .wbdrawer-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.14)}
  .wbdrawer-title{font-weight:800;font-size:16px;letter-spacing:.03em}
  .wbdrawer-close{background:rgba(255,255,255,.1);color:#fff;border:0;border-radius:10px;width:40px;height:40px;font-size:18px;cursor:pointer;flex:none}
  .wbdrawer nav{overflow-y:auto;padding:8px}
  .wbdrawer nav a{display:block;color:#fff;text-decoration:none;padding:12px;border-radius:12px;font-size:15px;line-height:1.35}
  .wbdrawer nav a:hover,.wbdrawer nav a:active{background:rgba(255,255,255,.08)}
  .wbdrawer nav a strong{display:block;font-size:16px}
  .wbdrawer-desc{display:block;color:#C9C2EA;font-size:13px;margin-top:2px}
}
@media screen and (prefers-reduced-motion:reduce){
  .wbdrawer,.wbdrawer-scrim,.wstep .steptitle[data-wbtoggle]::after,.letterbar [data-wbtoggle]::after{transition:none}
}
