/* Built from web/app/src/ by scripts/build-app.mjs. Edit the source files, not this one. */
/* ── src/css/00-base.css ── */
  :root{
    --abyss:#000000; --depth:#0B0B0B; --veil:#141414; --line:#2A2A2A;
    --mist:#FFFFFF; --dim:#FFFFFF; --red:#C1121F; --red-deep:#7E0D14; --gold:#C9A25A; --ok:#7FB07F;
    /* type system: three families, four sizes, one caps tracking */
    --display:'Cinzel',Georgia,serif; --text:'Jost',system-ui,sans-serif; --read:'Atkinson Hyperlegible','Jost',system-ui,sans-serif; --mono:ui-monospace,Menlo,Consolas,monospace;
    --fs-s:13px; --fs-m:16px; --fs-l:20px; --fs-xl:clamp(24px,5vw,28px);
    --caps:.14em;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{-webkit-text-size-adjust:100%}
  body{background:var(--abyss);color:var(--mist);font-family:var(--text);font-size:var(--fs-m);line-height:1.6;min-height:100vh}
  h1,h2,h3,.serif{font-family:var(--display);font-weight:700;letter-spacing:.03em;line-height:1.25}
  h1{font-size:var(--fs-xl)}
  h2{font-size:var(--fs-l);margin-bottom:10px}
  h3{font-size:var(--fs-m);margin-bottom:6px}
  a{color:var(--gold)}
  .eyebrow{font-size:var(--fs-s);letter-spacing:var(--caps);text-transform:uppercase;color:var(--gold);font-weight:600}
  .dim{color:var(--dim)} .gold{color:var(--gold)} .red{color:var(--red)} .ok{color:var(--ok)}
  .small{font-size:var(--fs-s)}
  .wrap{max-width:880px;margin:0 auto;padding:0 16px}
  header.bar{position:sticky;top:0;z-index:5;background:rgba(0,0,0,.92);backdrop-filter:blur(6px);border-bottom:1px solid var(--line)}
  header.bar .wrap{display:flex;align-items:center;gap:10px;min-height:60px;padding-top:8px;padding-bottom:8px}
  header.bar img{width:34px;height:34px}
  header.bar .brand{font-family:var(--display);font-weight:900;letter-spacing:var(--caps);font-size:var(--fs-m)}
  header.bar .brand b{color:var(--red);font-weight:900}
  header.bar nav{margin-left:auto;display:flex;gap:6px;align-items:center}
  header.bar nav .btn{padding:6px 10px}
  @media(max-width:520px){header.bar .brand,header.bar nav .chip,header.bar nav .nav-manual{display:none}}
  .chip{display:inline-block;font-size:var(--fs-s);letter-spacing:var(--caps);text-transform:uppercase;border:1px solid var(--line);padding:3px 9px;color:var(--dim)}
  .chip.gold{border-color:var(--gold);color:var(--gold)}
  main{padding:26px 0 80px}
  .grid{display:grid;gap:16px}
  @media(min-width:760px){.grid.two{grid-template-columns:1fr 1fr}}
  .card{background:var(--depth);border:1px solid var(--line);padding:20px}
  .card.gold{border-color:var(--gold)}
  .card.red{border-color:var(--red-deep)}
  .stack>*+*{margin-top:12px}
  .row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
  .spread{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
  .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 20px;border:0;cursor:pointer;
    font-family:var(--text);font-weight:600;font-size:var(--fs-s);letter-spacing:var(--caps);text-transform:uppercase;
    background:var(--red);color:#FFFFFF;text-decoration:none}
  .btn.solid-red{background:var(--red);color:#FFFFFF}
  .btn.ghost{background:transparent;border:1px solid var(--gold);color:var(--gold)}
  .btn.quiet{background:transparent;border:1px solid var(--line);color:var(--mist)}
  .btn.danger{background:transparent;border:1px solid var(--red);color:var(--red)}
  .btn.small{min-height:36px;padding:6px 12px}
  .btn[disabled]{opacity:.5;cursor:wait}
  .linkbtn{background:none;border:0;color:var(--gold);cursor:pointer;font:inherit;text-decoration:underline;padding:0}
  label{display:block;font-size:var(--fs-s);color:var(--dim);margin-bottom:6px}
  input,textarea,select{width:100%;background:var(--veil);border:1px solid var(--line);color:var(--mist);font-family:var(--text);font-size:var(--fs-m);padding:12px 14px;outline:none;border-radius:0}
  input:focus,textarea:focus,select:focus{border-color:#1EE3E8}   /* a thin teal line when a box is active, as in Crew Chief */
  textarea{min-height:180px;resize:vertical;line-height:1.6}
  input[type=checkbox]{width:auto;accent-color:var(--gold);margin-right:8px;transform:translateY(2px)}
  .check{display:flex;align-items:flex-start;gap:4px;color:var(--mist);font-size:var(--fs-m)}
  .err{color:#F0857F;font-size:var(--fs-m);min-height:1.2em}
  .note{border-left:2px solid var(--gold);padding:8px 12px;background:var(--veil);font-size:var(--fs-m)}
  .warn{border-left:2px solid var(--red);padding:10px 14px;background:#140708;font-size:var(--fs-m)}
  .msg{border-bottom:1px solid var(--line);padding:12px 0}
  .msg:last-child{border-bottom:0}
  .msg.in{padding-left:18px;border-left:2px solid var(--line)}
  .msg .meta{font-size:var(--fs-s);color:var(--dim)}
  .msg.unread .meta::after{content:'  •  new';color:var(--red)}
  .words{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;counter-reset:w}
  @media(min-width:560px){.words{grid-template-columns:repeat(3,1fr)}}
  .words span{background:var(--veil);border:1px solid var(--line);padding:8px 10px;font-size:var(--fs-m);font-family:var(--mono)}
  .codes{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
  .codes span{background:var(--veil);border:1px solid var(--line);padding:8px 10px;font-size:var(--fs-m);letter-spacing:.08em;font-family:var(--mono);text-align:center}
  .qr{background:#fff;padding:8px;max-width:220px;line-height:0}
  .qr svg{width:100%;height:auto}
  code.key{font-family:var(--mono);letter-spacing:.06em;word-break:break-all;color:var(--gold)}
  .code-in{font-family:var(--mono);font-size:var(--fs-l);letter-spacing:.3em;max-width:220px}
  .words span::before{counter-increment:w;content:counter(w) '.';color:var(--gold);margin-right:8px;font-size:var(--fs-s)}
  .tabs{display:flex;gap:0;border-bottom:1px solid var(--line);margin-bottom:16px;overflow-x:auto}
  .tabs button{background:none;border:0;border-bottom:2px solid transparent;color:var(--dim);padding:12px 14px;cursor:pointer;font:600 var(--fs-s) var(--text);letter-spacing:var(--caps);text-transform:uppercase;white-space:nowrap}
  .tabs button.on{color:var(--gold);border-bottom-color:var(--gold)}
  .entry{border:1px solid var(--line);padding:14px 16px;background:var(--depth);cursor:pointer}
  .entry:hover{border-color:var(--gold)}
  .entry .meta{font-size:var(--fs-s);color:var(--dim)}
  .entry p{white-space:pre-wrap;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
  .prompt{font-family:var(--text);font-size:var(--fs-l);line-height:1.45;color:var(--mist)}
  .script{white-space:pre-wrap;font-size:var(--fs-m);color:var(--mist);max-height:340px;overflow:auto;border-top:1px solid var(--line);padding-top:12px}
  .reflection{border:1px solid var(--gold);padding:14px;background:#0f0c06;white-space:pre-wrap}
  audio{width:100%;filter:invert(.92) hue-rotate(180deg)}
  .center{text-align:center}
  .hero-sign{max-width:440px;margin:7vh auto 0}
  .hero-sign img{width:96px;height:96px;display:block;margin:0 auto 14px}
  .toast{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);background:var(--veil);border:1px solid var(--gold);padding:10px 16px;font-size:var(--fs-m);z-index:20;max-width:calc(100% - 32px)}
  dialog{background:var(--depth);color:var(--mist);border:1px solid var(--gold);padding:22px;max-width:560px;width:calc(100% - 32px)}
  dialog::backdrop{background:rgba(0,0,0,.8)}
  .lockline{display:flex;align-items:center;gap:8px;font-size:var(--fs-s);letter-spacing:var(--caps);text-transform:uppercase;color:var(--ok)}
  .manual-tag{font-family:var(--display);color:var(--gold);letter-spacing:.03em}
  .manual-card{border-color:var(--gold)}
  .mbar{display:flex;gap:2px}
  .mbar u{flex:1;height:6px;background:var(--line);text-decoration:none}
  .mbar u.on{background:var(--gold)}
  .mlist{display:grid;gap:0}
  .msheet{display:grid;grid-template-columns:44px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
  .msheet:last-child{border-bottom:0}
  .msheet .mnum{font-family:var(--display);font-weight:700;font-size:var(--fs-l);color:var(--gold)}
  .msheet .mtitle{display:flex;flex-direction:column}
  .msheet.done .mnum::after{content:' ✓';font-size:var(--fs-s);color:var(--ok)}
  @media(max-width:520px){.msheet{grid-template-columns:36px 1fr}.msheet .btn{grid-column:2;justify-self:start}}
  .hide{display:none!important}
  :focus-visible{outline:2px solid var(--gold);outline-offset:2px}
/* ── src/css/10-manual-in-vault.css ── */
  .mic::before{content:'';width:9px;height:9px;border-radius:50%;background:var(--red);flex:none}
  .mic.rec{border-color:var(--red);color:#FFFFFF}
  .mic.rec::before{animation:micpulse 1s infinite}
  @keyframes micpulse{50%{opacity:.2}}
  @media(prefers-reduced-motion:reduce){.mic.rec::before{animation:none}}
  .micwrap{display:flex;gap:8px;align-items:flex-start}
  .micwrap>:first-child{flex:1;min-width:0}
  .micwrap .mic{white-space:nowrap}
  .voice-off .mic{display:none}
  @media(max-width:520px){.micwrap{flex-direction:column;align-items:stretch}.micwrap .mic{align-self:flex-start}}
  .ws textarea{min-height:46px;resize:vertical}
  .ws .wtx{display:block;margin:2px 0 8px}
  .ws .say{color:var(--gold)}
  .ws ol.wsteps{padding-left:26px}
  .ws ol.wsteps>li{padding:10px 0 14px 6px;border-bottom:1px solid var(--line)}
  .ws ol.wsteps>li:last-child{border-bottom:0}
  .ws ol.wsteps>li::marker{color:var(--gold);font-family:var(--display);font-weight:700}
  .ws .wf{margin-top:8px}
  .ws .wrow{border:1px solid var(--line);padding:12px}
  .ws .wcells{display:grid;gap:10px 14px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:start}
  .ws .wrow+.wrow{margin-top:8px}
  .ws .wrow .micwrap{flex-direction:row;align-items:flex-start;gap:6px}
  .ws .wrow .mic{font-size:0;gap:0;padding:6px 11px;min-height:36px;align-self:flex-start}
  .ws .wrow .mic.rec,.ws .wrow .mic[disabled]{font-size:var(--fs-s);gap:8px}
  .ws .wrow .whead{font-weight:600;color:var(--gold);margin-bottom:8px}
  .ws .wboxes{display:flex;gap:6px 14px;flex-wrap:wrap;align-items:center;margin-top:8px}
  .ws .wbox{display:inline-flex;align-items:center;margin:0;color:var(--mist);font-size:var(--fs-m)}
  .ws .wchk{display:flex;gap:6px;align-items:flex-start}
  .ws .wchk>div{flex:1;min-width:0}
  .ws .wbox2{border:1px solid var(--gold);padding:14px}
  .ws .wwhen{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;margin-top:8px}
  .ws .wwhen .then{grid-column:2}
  .ws .wquote{border-left:2px solid var(--gold);padding:8px 14px;background:var(--veil)}
  .ws .wbig{font-family:var(--display);font-size:var(--fs-l);color:var(--gold)}
  .ws .wquad{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .ws .wquad div{border:1px solid var(--line);padding:10px}
  .ws .wquad span,.ws .wfood span{display:block;font-size:var(--fs-s)}
  .ws .wfood{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;text-align:center}
  .ws .wfood b{display:block;font-family:var(--display);font-size:var(--fs-l);color:var(--gold)}
  .wsold{white-space:pre-wrap}
  @media(max-width:520px){header.bar .wrap{gap:6px}header.bar nav{gap:4px;min-width:0;overflow-x:auto}header.bar nav .btn{padding:6px 8px;white-space:nowrap}}
/* ── src/css/20-zones-and-buttons.css ── */
  /* One typeface: Jost, everywhere except the brand name in the top bar. Labels and buttons read in
     sentence case at a readable size; emphasis comes from weight, colour and position, not from capitals. */
  :root{--display:'Jost',system-ui,sans-serif;--fs-s:14px}
  h1,h2,h3,.serif,.manual-tag,.msheet .mnum,.ws .wbig,.ws .wfood b{font-family:var(--text);font-weight:600;letter-spacing:0}
  h1{letter-spacing:-.01em}
  h2{line-height:1.3}
  .ws ol.wsteps>li::marker{font-family:var(--text);font-weight:600}
  /* The one exception: the MINDMECHANIX name is set in the brand's own lettering, the same as the book cover. */
  header.bar .brand,header.bar .brand b{font-family:'Cinzel',Georgia,serif;font-weight:900;letter-spacing:var(--caps)}
  .eyebrow{text-transform:none;letter-spacing:.01em;font-weight:500}
  .btn{text-transform:none;letter-spacing:.01em;font-size:var(--fs-m);font-weight:600}
  .btn.small{font-size:var(--fs-s)}
  .tabs button,.chip,.lockline,.levels button{text-transform:none;letter-spacing:.01em}
  .tabs button,.levels button{font-size:var(--fs-m)}
  .zone{margin-top:36px}
  .zone>.zhead{display:flex;align-items:center;gap:10px 12px;flex-wrap:wrap;margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--line)}
  .zone .zmark{width:26px;height:26px;flex:none;color:var(--zc);line-height:0}
  .zone .zmark svg{width:100%;height:100%}
  .zone .zname{margin:0;font-size:var(--fs-l)}
  .zone .zwhy{margin:0;font-size:var(--fs-m);flex:1;min-width:200px}
  .zone>.zbody{display:grid;gap:14px;align-items:start}
  .zone>.zbody>*{min-width:0;margin:0}
  @media(min-width:760px){.zone>.zbody.two{grid-template-columns:1fr 1fr}}
  @media(max-width:520px){.zone .zwhy{flex-basis:100%}}
  .zone .card,.zone .card.gold,.zone .card.red{border-color:var(--line);border-left:3px solid var(--zc)}
  .zone .card.gold{color:var(--mist)}
  .zone.listen,.zone.train,.zone.write,.zone.fire{--zc:var(--red)} .zone.store{--zc:var(--gold)} .zone.keep{--zc:#FFFFFF}
  .zone .card.aside{border-left-color:#FFFFFF}
  /* Two offers side by side, each in its own box so they read as separate choices. */
  .offerbox{border:1px solid var(--line);background:var(--veil);padding:18px 20px;display:flex;flex-direction:column;gap:10px}
  .offerbox h3{margin:0;font-size:var(--fs-l)}
  .offerbox p{margin:0}
  .offerbox .btn{margin-top:auto;align-self:flex-start}
  .guide{border-left:3px solid var(--red);padding:4px 0 4px 14px}
  .guide ol{margin:6px 0 0;padding-left:22px;display:grid;gap:6px}
  .guide li::marker{color:var(--red);font-weight:600}
  .guide .linkbtn{color:var(--mist);text-decoration:none;text-align:left;line-height:1.45}
  .guide .linkbtn:hover,.guide .linkbtn:focus-visible{text-decoration:underline}
  .guide .linkbtn.used{opacity:.55}
  .pl{display:grid;gap:10px;min-width:min(100%,280px)} .pl audio{display:none}
  .pl .plbar{display:flex;align-items:center;gap:12px}
  .pl input[type=range]{flex:1;min-width:120px;padding:0;border:0;background:none;accent-color:var(--red);height:28px;cursor:pointer}
  .pl .pltime{white-space:nowrap;font-variant-numeric:tabular-nums}
  .pl .btn[disabled]{opacity:.45;cursor:default}
  .goalcard .goaltext{font-size:var(--fs-l);font-weight:600;line-height:1.35;overflow-wrap:anywhere}
  /* The Upgrade Manual is the member's work: red carries the count, the progress and the way in. */
  .msheet .mnum{color:var(--red)} .mbar u.on{background:var(--red)}
  .msheet{border-bottom-color:var(--line)} .msheet.done .mnum{color:var(--mist)}
  .librow .row{align-items:flex-start;flex-wrap:nowrap}
  .librow .row>.stack{flex:0 1 auto;min-width:0}
  .librow .row>.stack:has(audio){flex:1}
  header.bar nav .chip,header.bar nav .btn{white-space:nowrap}
  /* The plan sits midway between the wordmark and the menu; the menu itself stays hard right. */
  header.bar nav{flex:1;margin-left:0;justify-content:flex-end}
  header.bar nav .chip{margin:0 auto}
  header.bar nav .btn.on{border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red)}
  @media(max-width:520px){header.bar nav{justify-content:flex-start}}
  /* Red leads, gold is a quiet accent (the plan chip and a few small notes). Small red text uses a
     brighter red than the buttons do, because the button red is too dim to read at label size on black. */
  :root{--redt:#E63946}
  .eyebrow{color:var(--redt)}
  .cardhead{color:var(--mist);font-weight:600;font-size:var(--fs-m);margin:0}
  .cardhead.big{font-size:var(--fs-l)}
  .manual-tag{color:var(--mist)}
  a{color:var(--mist)}
  .linkbtn{color:#1EE3E8}
  .linkbtn:hover{color:#FFFFFF}
  /* Three buttons, one hover each, everywhere in the app:
       1. Solid    red fill, white text         hover: the same red at 40% strength, text stays white
       2. Outline  red outline, red text        hover: fills red, text turns white
       3. Quiet    grey outline, white text     hover: the outline turns white
     Every older variant (ghost, danger, solid-red) is one of these three. */
  .btn{border:1px solid var(--red);transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s}
  .btn:hover{background:var(--red);color:#fff;border-color:var(--red);box-shadow:0 0 16px 4px rgba(193,18,31,.7)}   /* red buttons: a red glow, no colour change */
  .btn.ghost,.btn.danger{background:transparent;border:1px solid var(--red);color:var(--redt)}
  .btn.ghost:hover,.btn.danger:hover{background:var(--red);color:#fff;border-color:var(--red);box-shadow:0 0 16px 4px rgba(193,18,31,.7)}
  .btn.quiet{background:transparent;border:1px solid #FFFFFF;color:#FFFFFF}
  .btn.quiet:hover{background:#049DA3;color:#FFFFFF;border-color:#049DA3;box-shadow:none}
  .btn[disabled],.btn[disabled]:hover{cursor:default;box-shadow:none}
  .btn:not(.ghost):not(.danger):not(.quiet)[disabled]:hover{background:var(--red);color:#fff;border-color:var(--red)}
  .btn.ghost[disabled]:hover,.btn.danger[disabled]:hover{background:transparent;color:var(--redt)}
  .btn.quiet[disabled]:hover{background:transparent;border-color:#FFFFFF}
  @media(prefers-reduced-motion:reduce){.btn{transition:none}}
  .tabs button.on{color:var(--mist);border-bottom-color:var(--red)}
  .next{display:flex;gap:10px 14px;align-items:center;flex-wrap:wrap;border:1px solid var(--red);border-left-width:3px;background:var(--veil);padding:10px 14px}
  .next strong{color:var(--mist)}
  .next span{flex:1;min-width:200px}
  .card.fire{display:grid;gap:22px}
  .card.fire h2{margin:0}
  .card.fire .eyebrow{margin:0 0 6px}
  .card.fire .say{border-left:3px solid var(--red);padding:2px 0 2px 16px}
  .card.fire .line{font-size:clamp(22px,4.6vw,28px);line-height:1.3;font-weight:500;margin:0}
  .card.fire .body{font-size:var(--fs-m);line-height:1.65;margin:0;max-width:62ch;white-space:pre-wrap}
  .card.fire ol.body{padding-left:22px;white-space:normal}
  .card.fire ol.body li{padding-left:4px}
  .card.fire ol.body li+li{margin-top:8px}
  .card.fire ol.body li::marker{color:var(--red);font-weight:600}
  .card.fire .earlier{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:16px}
  .card.fire .earlier details{border:1px solid var(--line);padding:10px 14px}
  .card.fire .earlier summary{cursor:pointer}
  .card.fire .earlier details[open] summary{margin-bottom:10px}
  .card.fire .earlier .body{margin-bottom:10px}
  .card.fire .cols{display:grid;gap:22px}
  @media(min-width:760px){.card.fire .cols{grid-template-columns:1fr 1fr;gap:32px}}
  .levels{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);margin-bottom:4px}
  .levels button{background:none;border:0;border-right:1px solid var(--line);padding:12px 6px;color:var(--mist);cursor:pointer;display:flex;flex-direction:column;gap:2px;align-items:center;
    font:600 var(--fs-m) var(--text)}
  .levels button:last-child{border-right:0}
  .levels button.on{background:var(--veil);box-shadow:inset 0 -3px 0 var(--red);color:var(--mist)}
  .levels button small{font:400 var(--fs-s) var(--text);letter-spacing:0;text-transform:none;color:var(--mist)}
/* ── src/css/30-job-sheet-paper.css ── */
  .paper{--teal:#049DA3;--mag:#E11265;--navy:#1F3672;--ink:#1d2433;--soft:#5b6478;--wash:#f1f7f8;--tealt:#037D82;--pm:'Montserrat',var(--text);
    --mist:#1d2433;--dim:#5b6478;--gold:#037D82;--line:#c4cfdb;--veil:#f3f8f9;--red:#E11265;
    background:#fff;color:var(--ink);padding:28px clamp(16px,4.5vw,44px) 32px;border-radius:6px}
  .paper .ptop{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
  .paper .pbrand{font-family:var(--pm);font-weight:800;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:var(--navy);line-height:1.4}
  .paper .pbrand small{display:block;font-weight:600;font-style:italic;font-size:12.5px;letter-spacing:.04em;text-transform:none;color:var(--mag)}
  .paper .ptag{text-align:right;font-family:var(--pm);font-weight:700;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--soft);white-space:nowrap}
  .paper .ptag b{display:block;font-weight:900;font-size:30px;letter-spacing:.02em;line-height:1;color:var(--teal)}
  .paper .ptitle{font-family:var(--pm);font-weight:900;font-size:clamp(30px,6.5vw,46px);line-height:1;letter-spacing:-.01em;color:var(--navy);margin:22px 0 0}
  .paper .psub{font-family:var(--pm);font-weight:700;font-size:15px;color:var(--tealt);margin-top:8px}
  .paper .ppills{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
  .paper .ppill{font-family:var(--pm);font-weight:700;font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;padding:5px 12px;border-radius:99px;border:1.5px solid var(--teal);color:var(--tealt)}
  .paper .ppill.m{border-color:var(--mag);color:var(--mag)}
  .paper .plede{color:var(--soft);margin-top:12px}
  .paper .prule{height:3px;margin:16px 0 6px;border-radius:2px;background:linear-gradient(90deg,var(--teal) 0 48%,#fff 48% 49%,var(--mag) 49%)}
  .paper .small.dim,.paper .wsold{color:var(--soft)} .paper .wsold{color:var(--ink)}
  .paper .ws,.zone .paper .card.ws{background:none;border:0;padding:0;margin-top:6px}
  .paper .ws b,.paper .ws strong{font-family:var(--pm);font-weight:700;color:var(--navy)}
  .paper .ws i{color:var(--ink)}
  .paper .ws .say{font-family:var(--pm);font-weight:700;color:var(--mag)}
  .paper .ws h3{font-family:var(--pm);font-weight:800;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--tealt);margin:14px 0 0}
  .paper label{font-family:var(--pm);font-weight:700;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--tealt)}
  .paper .ws ol.wsteps{list-style:none;padding-left:0}
  .paper .ws ol.wsteps>li{counter-increment:wstep;display:grid;grid-template-columns:30px 1fr;gap:12px;padding:12px 0 14px;border-bottom:1px dashed #d5dde6}
  .paper .ws ol.wsteps>li:last-child{border-bottom:0}
  .paper .ws ol.wsteps>li::before{content:counter(wstep);width:28px;height:28px;border-radius:50%;border:2px solid var(--mag);color:var(--mag);font-family:var(--pm);font-weight:800;font-size:13px;display:grid;place-items:center;margin-top:-1px}
  .paper .ws .wstep{min-width:0}
  .paper input:not([type=checkbox]),.paper textarea,.paper select{background:var(--wash);border:1px solid #d3dde6;border-bottom:2px solid #9db2c3;color:var(--ink);padding:10px 12px;border-radius:6px;line-height:1.55}
  /* Room to write: every answer box opens at a few lines and grows as they type or speak. */
  .paper .ws textarea{min-height:78px}
  .paper .ws .wcells textarea{min-height:104px}
  .paper .ws .wlog textarea{min-height:190px}
  .paper .ws textarea.wshort{min-height:46px;max-width:110px}
  .paper .ws .micwrap:has(.wshort) .mic{display:none}
  .paper .ws .wcells:has(.wshort){display:flex;flex-wrap:wrap;gap:12px 20px}
  .paper .ws .wcells:has(.wshort)>*:has(.wshort){flex:0 0 130px}
  .paper .ws .wcells:has(.wshort)>*:not(:has(.wshort)){flex:1 1 300px;min-width:0}
  .paper .ws .wf{margin-top:10px}
  .paper input:not([type=checkbox]):focus,.paper textarea:focus,.paper select:focus{border-color:var(--teal);background:#fff;box-shadow:0 0 0 3px rgba(4,157,163,.2)}
  .paper ::placeholder{color:#6b7488}
  .paper input[type=checkbox]{accent-color:var(--teal)}
  .paper .ws .wbox,.paper .ws .wboxes{color:var(--ink)}
  .paper .ws .wboxes>span:first-child{font-family:var(--pm);font-weight:700;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--navy)}
  .paper .btn.quiet{border:1.5px solid var(--line);color:var(--ink);background:#fff;border-radius:6px}
  .paper .btn.quiet:hover{background:#fff;color:var(--ink);border-color:var(--teal)}
  .paper .mic.rec{border-color:var(--mag);color:var(--ink)}
  .paper .linkbtn{color:var(--teal)}
  .paper .ws .wrow{border:1.5px solid var(--teal);border-radius:10px;background:#fff;padding:14px 16px}
  .paper .ws .wrow+.wrow{margin-top:12px}
  .paper .ws .wrow .whead{font-family:var(--pm);font-weight:700;color:var(--navy)}
  .paper .ws .wbox2{border:1.5px solid var(--teal);border-radius:10px;background:var(--wash);padding:14px 16px}
  .paper .ws .wbox2 h3{color:var(--navy);margin:0}
  .paper .ws .wbox2.wlog{border-color:var(--mag);background:#fdf3f7}
  .paper .ws .wbox2.wlog textarea,.paper .ws .wbox2 input:not([type=checkbox]),.paper .ws .wbox2 textarea{background:#fff}
  .paper .ws .wbox2.wapex{border:2px solid var(--mag);border-radius:12px;background:#fff}
  .paper .ws .wbox2.wapex h3{font-weight:900;font-size:18px;letter-spacing:.02em;text-transform:none}
  .paper .ws .wbox2.wapex label{color:var(--mag);font-size:14px;text-transform:none;letter-spacing:0;font-weight:800}
  .paper .ws .wwhen .then{font-family:var(--pm);font-weight:800;color:var(--mag)}
  .paper .ws .wquote{border-left:3px solid var(--mag);background:none;padding:6px 0 6px 14px}
  .paper .ws .wbig{font-family:var(--pm);font-weight:900;font-size:24px;color:var(--mag)}
  .paper .ws .wfood div{border:1.5px solid var(--teal);border-radius:10px;padding:8px 4px}
  .paper .ws .wfood b{font-family:var(--pm);font-weight:900;font-size:26px;line-height:1.1;color:var(--navy)}
  .paper .ws .wfood span{font-family:var(--pm);font-weight:700;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--tealt)}
  .paper .ws .wquad div{border:1.5px solid var(--line);border-radius:10px}
  .paper .ws .wquad span{color:var(--soft)}
  @media(max-width:520px){.paper .ptop{flex-direction:column-reverse;gap:6px}.paper .ptag{text-align:left}.paper .ptag b{display:inline;margin-right:8px;font-size:24px}
    .paper .ws ol.wsteps>li{grid-template-columns:28px 1fr;gap:10px}}
  .paper .btn:not(.quiet):hover{box-shadow:0 0 16px 4px rgba(225,18,101,.55)}
/* ── src/css/40-shell.css ── */
/* ══════════ The app's frame: side menu, phone tabs, page heads, panels, gauges, player ══════════
   Colour says what a thing is:
     red   do it (train, listen, fire)       white  your record and progress
     gold  what is kept for you (Library)    grey   your account
   Magenta and aqua are only for the gauges. */
:root{--side:248px;--mag:#E11265;--magt:#F0457F;--aqua:#049DA3;--grey:#4A4A4A}
body{min-height:100vh}
.shell{display:flex;align-items:stretch;min-height:100vh}
.col{flex:1;min-width:0;display:flex;flex-direction:column}
.col main{flex:1;padding:28px 0 80px}
.wrap{max-width:1080px;padding:0 32px}

/* ── Side menu ── */
.side{position:sticky;top:0;height:100vh;flex:0 0 var(--side);box-sizing:border-box;background:var(--depth);border-right:1px solid var(--line);padding:22px 16px;display:flex;flex-direction:column;gap:24px;overflow-y:auto}
.sbrand,.topbrand a{display:flex;align-items:center;gap:10px;text-decoration:none;color:#FFFFFF;padding:0 6px}
.sbrand img,.topbrand img{width:38px;height:38px}
.brand{font-family:'Cinzel',Georgia,serif;font-weight:900;letter-spacing:.12em;font-size:15px;line-height:1.2;color:#FFFFFF}
.brand b{color:var(--red);font-weight:900}
#nav{display:flex;flex-direction:column;gap:4px}
.navitem{position:relative;display:flex;align-items:center;gap:12px;min-height:46px;padding:0 12px;border:1px solid transparent;color:#FFFFFF;text-decoration:none;font-weight:500}
.navitem:hover{background:var(--veil);color:#FFFFFF}
.navitem.on{border-color:var(--red);background:var(--veil);font-weight:600}
.navitem.on .nicon{color:var(--redt)}
.nicon{width:20px;height:20px;flex:none;line-height:0}
.nicon svg{width:100%;height:100%}
.nlabel{flex:1}
.nbadge{background:var(--red);color:#FFFFFF;font-size:13px;font-weight:600;min-width:22px;height:22px;border-radius:11px;display:grid;place-items:center;padding:0 6px;line-height:1}
.nstate{font-size:13px;color:var(--ok)}
.sidefoot{margin-top:auto;border-top:1px solid var(--line);padding:16px 6px 0;display:flex;flex-direction:column;gap:12px}
.who{display:flex;align-items:center;gap:12px}
.avatar{width:40px;height:40px;border-radius:50%;border:1px solid #FFFFFF;display:grid;place-items:center;font-weight:600;flex:none}
.whowords{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.whoname{font-weight:600}
.whoact{gap:16px}
.sidelink{color:#FFFFFF;font-size:15px;text-decoration:underline;background:none;border:0;padding:0;cursor:pointer;font-family:var(--text)}
.sidelink:hover,.sidelink.on{color:#1EE3E8}
.topbrand{display:none;padding:14px 16px;border-bottom:1px solid var(--line)}
body.out .side,body.out .tabbar{display:none}
body.out .topbrand{display:flex}
.tabbar{display:none}

/* ── Page head ── */
.page>.phead{margin-bottom:6px}
.phead{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 24px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.pheadwords{display:flex;flex-direction:column;gap:2px;min-width:0}
.phead .eyebrow{margin:0}
.phead h1{margin:0;font-size:30px;line-height:1.2}
.phead .pline{margin:0;font-size:15px;max-width:460px}
.page>*+*{margin-top:24px}

/* ── Panels: a coloured title bar, then the work ── */
.panel{border:1px solid var(--line);background:var(--depth);display:flex;flex-direction:column;min-width:0}
.panel>.pbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 14px;padding:9px 18px}
.panel>.pbar h2{margin:0;font-size:17px;font-weight:600;line-height:1.3}
.panel>.pbar .pnote{font-size:14px}
.panel.t-red{border-color:var(--red)} .panel.t-red>.pbar{background:var(--red);color:#FFFFFF}
.panel.t-white>.pbar{background:#FFFFFF;color:#000000}
.panel.t-gold>.pbar{background:var(--gold);color:#000000}
.panel.t-grey>.pbar{background:var(--grey);color:#FFFFFF}
.panel .pbody{padding:18px}
.panel .pbody>.card{border:0;padding:0;background:transparent}
.panel .pbody.stack>.card+.card{border-top:1px solid var(--line);padding-top:16px}
.pcells{display:grid;gap:1px;background:var(--line)}
.pcells>*{background:var(--depth);padding:20px 18px;border:0;margin:0;min-width:0}
.pcells>.card{border:0}
@media(min-width:760px){.pcells.two{grid-template-columns:1fr 1fr}.pcells.three{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Zones (Train, Vault and the rest) wear the same panel. */
.zone{border:1px solid var(--line);background:var(--depth)}
.page>.zone,.page>.panel,.stack>.zone{margin-top:24px}
.page>.phead+*{margin-top:24px}
.zone.listen,.zone.train,.zone.fire{--zc:var(--red);--zt:#FFFFFF;border-color:var(--red)}
.zone.write{--zc:#FFFFFF;--zt:#000000}
.zone.store{--zc:var(--gold);--zt:#000000}
.zone.keep{--zc:var(--grey);--zt:#FFFFFF}
.zone>.zhead{background:var(--zc);color:var(--zt);margin:0;padding:9px 18px;border:0;gap:4px 12px}
.zone>.zhead .zmark{width:20px;height:20px;color:var(--zt)}
.zone>.zhead .zname{font-size:17px;color:var(--zt)}
.zone>.zhead .zwhy{font-size:14px;color:var(--zt)}
.zone>.zbody{gap:1px;background:var(--line)}
.zone>.zbody>*{background:var(--depth);padding:20px 18px;border:0}
.zone>.zbody>.card,.zone>.zbody>*>.card,.zone .card.gold,.zone .card.red{border:0;padding:0;background:transparent}
.zone>.zbody>.card{padding:20px 18px;background:var(--depth)}
/* The Vault and the Manual pages are a zone with no title bar: no frame of their own. */
.zone:not(:has(>.zhead)){border:0;background:transparent}

/* Account: each card reads as a grey panel, its heading the bar. */
.titled .card{padding:0 18px 18px;border:1px solid var(--line)}
.titled .card>h2:first-child{margin:0 -18px 4px;padding:9px 18px;background:var(--grey);color:#FFFFFF;font-size:17px}
.titled .card.red{border-color:var(--red)}
.titled .card.red>h2:first-child{background:transparent;color:var(--redt);border-bottom:1px solid var(--red)}

/* ── Gauges ── */
.gauges{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1px;background:var(--line)}
.gauges.wide{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));border-top:1px solid var(--line)}
.gauge,.gcell{background:var(--depth);padding:20px 18px;display:flex;align-items:center;gap:16px;min-width:0}
.gcell{flex-direction:column;align-items:stretch;gap:12px}
.ring{width:92px;height:92px;flex:none;line-height:0} .ring svg{width:100%;height:100%}
.dial{width:92px;height:92px;flex:none;box-sizing:border-box;border:9px solid;border-radius:50%;display:grid;place-items:center;font-size:30px;font-weight:600}
.gwords{display:flex;flex-direction:column;min-width:0}
.glabel{font-size:14px;font-weight:500}
.glabel.mag{color:var(--magt)} .glabel.aqua{color:var(--aqua)}
.gbig{font-size:26px;font-weight:600;line-height:1.15}
.gsmall{font-size:14px}
.mhead{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.mnum{font-size:20px;font-weight:600}
.mtrack{height:14px;background:var(--line);display:flex}
.mtrack>span{display:block;height:100%}
.bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;align-items:end;height:150px}
.bcol{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;height:100%}
.bval,.bday{font-size:13px}
.bval{font-weight:600}
.bday.today{color:var(--magt);font-weight:600}
.bbar{display:block;width:100%;max-width:34px}

/* ── Today's circuit ── */

/* ── The docked player ── */
.dock{position:fixed;left:var(--side);right:0;bottom:0;z-index:15;background:var(--depth);border-top:1px solid var(--line);padding:12px 32px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}
body.out .dock{left:0}
.dmeta{display:flex;align-items:center;gap:12px;flex:1 1 240px;min-width:0}
.dicon{width:22px;height:22px;flex:none;line-height:0} .dicon svg{width:100%;height:100%}
.dwords{display:flex;flex-direction:column;min-width:0}
.dtitle{font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dnote{font-size:13px}
.dctl{display:flex;gap:10px}
.dbar{display:flex;align-items:center;gap:12px;flex:2 1 260px;min-width:0}
.dbar input[type=range]{flex:1;min-width:0;width:auto;padding:0;border:0;background:transparent;accent-color:var(--red)}
.dtime{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}
.dclose{background:none;border:1px solid transparent;color:#FFFFFF;font-size:18px;cursor:pointer;min-width:44px;min-height:44px}
.dclose:hover{border-color:#FFFFFF}
body.docked .col main{padding-bottom:140px}
.btn.on{background:var(--red);color:#FFFFFF}

/* ── Phone: tabs along the bottom, the player just above them ── */
@media(max-width:820px){
  .side{display:none}
  .topbrand{display:flex}
  .wrap{padding:0 16px}
  .col main{padding:20px 0 110px}
  .phead h1{font-size:26px}
  .tabbar{display:grid;position:fixed;left:0;right:0;bottom:0;z-index:20;grid-template-columns:repeat(5,minmax(0,1fr));background:#000000;border-top:1px solid var(--line);padding:6px 6px calc(8px + env(safe-area-inset-bottom))}
  .tabbar .navitem{flex-direction:column;justify-content:center;gap:2px;min-height:52px;padding:0;font-size:12px;text-align:center}
  .tabbar .nlabel{flex:none}
  .tabbar .nbadge{position:absolute;top:3px;right:calc(50% - 22px);min-width:18px;height:18px;font-size:11px;padding:0 4px}
  .dock{left:0;bottom:calc(66px + env(safe-area-inset-bottom));padding:8px 12px;gap:6px 10px}
  .dmeta{flex:1 1 0}
  .dbar{flex-basis:100%;order:3}
  .dclose{order:2}
  body.docked .col main{padding-bottom:230px}
  .bars{gap:6px;height:120px}
  .ring,.dial{width:72px;height:72px}
  .dial{border-width:7px;font-size:24px}
  .gauges:not(.wide){grid-template-columns:1fr 1fr}
  .gauge{flex-direction:column;align-items:flex-start;gap:10px;padding:16px 14px}
  .gbig{font-size:20px}
  .phoneonly{display:flex}
}
.phoneonly{display:none}

/* Every gauge opens the place where its number moves. */
.glink{color:#FFFFFF;text-decoration:none;cursor:pointer;transition:background .15s}
.glink:hover,.glink:focus-visible{background:var(--veil);color:#FFFFFF}
.gact{align-self:flex-start;margin-top:6px;font-size:14px;font-weight:600;color:#1EE3E8;text-decoration:underline;text-underline-offset:3px}
.glink:hover .gact{color:#FFFFFF}

/* ── The F5 (Apex) ── */
.navsubs{display:flex;flex-direction:column;gap:2px;margin:-2px 0 4px 22px;padding-left:10px;border-left:1px solid var(--line)}
.navitem.navsub{min-height:38px;font-size:15px;padding:0 10px}
.pillink{color:#1EE3E8;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.pillink:hover{color:#FFFFFF}
.f5tabs{display:flex;flex-wrap:wrap;gap:6px}
.f5tabs a{min-height:40px;display:inline-flex;align-items:center;padding:0 14px;border:1px solid var(--line);color:#FFFFFF;text-decoration:none;font-weight:500}
.f5tabs a:hover{border-color:#FFFFFF}
.f5tabs a.on{border-color:var(--red);background:var(--veil);font-weight:600}
@media(min-width:821px){.page>.f5tabs{display:none}}
.f5grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1px;background:var(--line)}
.f5cell{background:var(--depth);padding:20px 18px;display:flex;flex-direction:column;gap:8px;min-width:0}
.f5goal{font-size:19px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.donelist{list-style:none;margin:0;display:flex;flex-direction:column;gap:10px}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1px;background:var(--line)}
.kpi{background:var(--depth);padding:18px;display:flex;flex-direction:column;gap:2px;min-width:0}
.kbig{font-size:26px;font-weight:600;line-height:1.2}
.balance .hbars{display:flex;flex-direction:column;gap:6px}
.hbar{display:grid;grid-template-columns:96px minmax(0,1fr) 64px;align-items:center;gap:12px;padding:6px 8px;margin:0 -8px}
.hname{font-weight:500}
.htrack{height:14px;background:var(--line);display:flex}
.htrack>span{display:block;height:100%;min-width:2px}
.hnum{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.wgrid{border-collapse:separate;border-spacing:6px;margin:-6px}
.wgrid th{font-size:13px;font-weight:500;text-align:center;padding:0 2px}
.wgrid th.today{color:var(--magt);font-weight:600}
.wgrid tbody th{text-align:left;padding-right:10px;font-size:15px}
.wgrid td{padding:0;text-align:center}
.sq{display:inline-block;width:28px;height:28px;background:var(--line);vertical-align:middle}
.sq.on{background:var(--aqua)}
.sq.today{outline:2px solid var(--mag);outline-offset:1px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.f5cell .mtrack{height:8px}
.tablewrap{overflow-x:auto}
.rtable{width:100%;border-collapse:collapse;font-size:15px}
.rtable th{text-align:left;font-size:13px;font-weight:600;padding:10px 18px;border-bottom:1px solid var(--line);white-space:nowrap}
.rtable td{padding:10px 18px;border-bottom:1px solid var(--line);vertical-align:middle}
.rtable tr:last-child td{border-bottom:0}
.rtable .ract .stack{margin:0}
@media(max-width:820px){.hbar{grid-template-columns:80px minmax(0,1fr) 56px}.sq{width:22px;height:22px}.wgrid{border-spacing:4px}.kbig{font-size:21px}}
.bars.eight{grid-template-columns:repeat(8,minmax(0,1fr))}
.f5cell .gact{margin-top:auto}
/* The Hub's four gauges: label at the top, centred over the dial; the words under it. */
.gauges:not(.wide)>.gauge{flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;gap:12px;padding:16px 16px 20px}
.gauges:not(.wide)>.gauge .gtop{font-size:15px;font-weight:600;letter-spacing:.01em;line-height:1.2}
.gauges:not(.wide)>.gauge .gwords{align-items:center}
.gauges:not(.wide)>.gauge .gact{align-self:center}
@media(max-width:820px){.gauges:not(.wide)>.gauge{align-items:center;padding:14px 10px 16px}}
/* A gauge's label is the colour of its own dial or bar: magenta with magenta, aqua with aqua. */
.glabel.mag{color:var(--magt)} .glabel.aqua{color:var(--aqua)}
/* The Hub's Your Progress panel: every gauge label in white (dials and bars keep their colours). */
#progress .gauges:not(.wide)>.gauge .gtop{font-size:18px}
/* Hub: Your Progress, Your Upgrade Manual and Your Vault, Your Account wear the gold bar with white text. */
.panel.t-goldw{border-color:var(--gold)}
.panel.t-goldw>.pbar{background:var(--gold);color:#FFFFFF}
.panel.t-goldw>.pbar h2{font-weight:700}
/* Gold bars read in white, the same everywhere (Hub, Train's Library, recordings). */
.zone.store{--zt:#FFFFFF}
.panel.t-gold>.pbar{color:#FFFFFF}
.zone.store>.zhead .zname,.panel.t-gold>.pbar h2{font-weight:700}
/* Vault › Upgrade Manual: the title large and white, "(Vault Version)" small and red beside it. */
.vmtitle{font-size:28px;line-height:1.2;color:#FFFFFF;margin:0}
.vmtag{font-size:16px;font-weight:500;color:var(--redt);white-space:nowrap}
.vmline{margin:0;font-size:19px;font-weight:600}
/* Gold progress panels (Hub and F5): white labels; the headline labels a size larger; each tile's link sits on one line along the bottom. */
.panel.t-goldw .kpi .glabel{font-size:18px;font-weight:600;line-height:1.25}
.kpi .gact{margin-top:auto;padding-top:10px}
.kpi{gap:4px}
/* The five pillars: each name red, in capitals, centred in its card. */
.f5cell .f5name{align-self:stretch;text-align:center;color:var(--redt);text-transform:uppercase;letter-spacing:.12em;font-weight:700;font-size:16px;padding-bottom:4px}

/* ── Fire on demand ── */
.tabbar{grid-template-columns:repeat(var(--tabs,6),minmax(0,1fr))}
@media(max-width:820px){.tabbar{grid-template-columns:repeat(var(--tabs,6),minmax(0,1fr));padding-left:2px;padding-right:2px}.tabbar .navitem{font-size:11px}}
.hubline{margin:0;font-size:22px;font-weight:600;line-height:1.3}
.firequick{gap:8px}
.firerow{border:1px solid var(--line);padding:14px 16px;background:var(--veil)}
.fivecells{grid-template-columns:1fr}
@media(min-width:900px){.fivecells{grid-template-columns:repeat(2,minmax(0,1fr))}}
.f5anchor .f5name{align-self:stretch;text-align:center;color:var(--redt);text-transform:uppercase;letter-spacing:.12em;font-weight:700;font-size:16px}
.f5anchor .card.fire{padding:0;border:0;background:transparent}
/* The thirty seconds: the whole screen, nothing else. */
body.firing{overflow:hidden}
.fireover{position:fixed;inset:0;z-index:50;background:#000000;display:flex;align-items:center;justify-content:center;padding:24px 16px;overflow-y:auto}
.firein{max-width:620px;width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px}
.firename{margin:0;font-size:30px}
.firering{position:relative;width:220px;height:220px;line-height:0}
.firering svg{width:100%;height:100%}
.firering .fr{transition:stroke-dasharray .2s linear}
.firesec{position:absolute;inset:0;display:grid;place-items:center;font-size:56px;font-weight:600;line-height:1}
.firebeat{margin:0;font-size:22px;font-weight:500;min-height:2.6em;max-width:520px}
.fireline{margin:0;font-size:26px;font-weight:600;line-height:1.3;opacity:.55;transition:opacity .4s,color .4s}
.fireline.lit{opacity:1;color:#FFFFFF;text-shadow:0 0 18px rgba(193,18,31,.55)}
.firehow{max-width:520px;text-align:left}
.firehow summary{cursor:pointer;color:#1EE3E8}
.firebtns{justify-content:center}
@media(prefers-reduced-motion:reduce){.firering .fr,.fireline{transition:none}}
@media(min-width:900px){.fivecells>*:last-child:nth-child(odd){grid-column:1/-1}}
/* Train › Apex › Your F5: the pillar names are red links. */
.zone .pillink{color:#1EE3E8}
.zone .pillink:hover{color:#FFFFFF}
.firevoice{justify-content:center;font-size:16px}
.libname strong{font-size:1.05rem}
/* Banners that were gold: white with black text. */
:root{--lime:#FFFFFF}
.panel.t-gold,.panel.t-goldw{border-color:var(--lime)}
.panel.t-gold>.pbar,.panel.t-goldw>.pbar,.panel.t-gold>.pbar *,.panel.t-goldw>.pbar *{background-color:transparent;color:#000000}
.panel.t-gold>.pbar,.panel.t-goldw>.pbar{background:var(--lime)}
.zone.store{--zc:var(--lime);--zt:#000000;border-color:var(--lime)}
/* White-banner sections are the book and the admin side (Manual, Vault, Library, progress, account,
   messages): inside them the accents are the Upgrade Manual's, aqua-teal and magenta.
   Red stays for the sections that are something to do. */
.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store{--red:#E11265;--redt:#049DA3}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) .eyebrow{color:#049DA3}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) .btn:not(.quiet):hover{background:#E11265;border-color:#E11265;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(225,18,101,.7)}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) .btn.ghost,:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) .btn.danger{color:#F0457F;border-color:#E11265}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) .btn:not(.ghost):not(.danger):not(.quiet){background:#E11265;border-color:#E11265;color:#FFFFFF}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) .btn:not(.ghost):not(.danger):not(.quiet)[disabled]:hover{background:#E11265;border-color:#E11265}
/* …and their links are aqua-teal, not magenta. */
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) .glink{color:#FFFFFF}                 /* the numbers stay white */
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) :is(.glabel.mag,.gtop.mag){color:var(--magt)}   /* subheaders: the dial's colour */
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) :is(.glabel.aqua,.gtop.aqua){color:var(--aqua)}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) :is(a:not([class]),.linkbtn,.gact,.pillink){color:#1EE3E8}   /* links: the same teal, brighter, so they read as links */
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) :is(a:not([class]),.linkbtn,.gact,.pillink):hover{color:#FFFFFF}
/* The three wide meters' names (Minutes trained, Sessions this month, Job Sheets this month): white, a little larger. */
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) .mhead .glabel{color:#FFFFFF;font-size:16px;font-weight:600}
/* Account: its boxes are admin, so they wear the white banner with black text and the Manual's accents.
   Delete My Account stays red. */
.titled .card:not(.red){border-color:#FFFFFF;--red:#E11265;--redt:#049DA3}
.titled .card:not(.red)>h2:first-child{background:#FFFFFF;color:#000000}
.titled .card:not(.red) .eyebrow{color:#049DA3}
.titled .card:not(.red) .btn:not(.ghost):not(.danger):not(.quiet){background:#E11265;border-color:#E11265;color:#FFFFFF}
.titled .card:not(.red) .btn.ghost{color:#F0457F;border-color:#E11265}
.titled .card:not(.red) .btn:not(.quiet):hover{background:#E11265;border-color:#E11265;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(225,18,101,.7)}
.titled .card:not(.red) :is(a:not([class]),.linkbtn){color:#1EE3E8}
.titled .card:not(.red) :is(a:not([class]),.linkbtn):hover{color:#FFFFFF}
/* Library: six subjects, three by two. White boxes, black and teal text, a magenta wire frame that glows. */
.libgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:640px){.libgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.libbox{background:#FFFFFF;color:#000000;border:1px solid #E11265;padding:16px 18px;text-align:left;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:6px;font:inherit;transition:box-shadow .15s}
.libbox:hover,.libbox:focus-visible{box-shadow:0 0 0 1px #E11265,0 0 16px 3px rgba(225,18,101,.6);outline:none}
.libbox.on{box-shadow:0 0 0 2px #E11265,0 0 18px 4px rgba(225,18,101,.7)}
.libbox .lbname{font-weight:700;font-size:19px;color:#000000}
.libbox .lbmark{width:28px;height:3px;background:#E11265}
.libbox .lbnum{color:#037D82;font-weight:600}
.libbox .lbsub{color:#000000;font-size:14px}
.panel>.pbar h2 .pbicon{display:inline-flex;vertical-align:-3px;margin-right:8px;color:#C1121F}
.panel>.pbar h2 .pbicon *{color:#C1121F}
.pbar h2 .pbicon svg{width:20px;height:20px}
/* Cards inside a white-banner panel: a plain thin frame; notes take the teal accent. */
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white) .grid .card{border:1px solid var(--line);border-left-width:1px}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white) .note{border-left-color:#049DA3}
/* The Upgrade Manual landing. */
.umtop .umlead{margin:0;font-size:22px;font-weight:600;line-height:1.3;color:#FFFFFF}
.umsteps{list-style:none;counter-reset:um;margin:4px 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.umsteps li{counter-increment:um;border-top:2px solid #E11265;padding-top:10px;display:flex;flex-direction:column;gap:2px;font-size:14px}
/* no step numbers: the magenta line and the words carry it */
.umsteps strong{font-size:16px;color:#FFFFFF}
@media (max-width:640px){.umsteps{grid-template-columns:1fr}}
.umtop .kbig{font-size:40px;font-weight:700;line-height:1;color:#FFFFFF}
.umtop .mbar u.on{background:#049DA3}
.umbrand{display:flex;align-items:center;gap:20px}
.umbrand img{width:120px;height:auto;flex:none;background:#FFFFFF;border-radius:10px;padding:10px}
.umtop .umsub{margin:0;color:#049DA3;font-weight:600}
@media (max-width:520px){.umbrand{flex-direction:column;align-items:flex-start}}
.umtop .umlabel{font-size:16px;font-weight:600}
.umtop .umcount{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
/* Gratitude and Live Your Future: the teal banner with white text. */
.panel.t-teal{border-color:#049DA3}
.panel.t-teal>.pbar{background:#049DA3;color:#FFFFFF}
.panel.t-teal>.pbar h2,.panel.t-teal>.pbar .pnote{color:#FFFFFF;font-weight:700}
.panel.t-teal>.pbar .pnote{font-size:17px}
/* Gratitude and Live Your Future, inside the teal panel. */
.panel .pbody.fpcol{display:flex;flex-direction:column;gap:20px;padding:26px 24px}
.fpcol>*{margin:0}
.fplead{margin:0;font-size:30px;line-height:1.15;font-weight:600;color:#FFFFFF;letter-spacing:-.01em}
.fptally{display:flex;gap:8px;align-items:center}                       /* three for today (teal), one for your future (magenta) */
.fptally i{display:block;width:44px;height:4px;background:#049DA3}
.fptally i.f{background:#E11265;margin-left:10px}
.fpweek{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.fpdot{width:26px;height:26px;border-radius:50%;border:2px solid #049DA3;box-sizing:border-box}
.fpdot.on{background:#049DA3}
.fpweekcap{font-size:15px;color:#FFFFFF;margin-left:4px}
p.fpweekcap{margin-left:0}
.fpcap{font-size:14px;font-weight:600;color:#049DA3}
.fpstep{display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--line);padding-top:16px}
.fpseg{min-height:40px;padding:0 16px;background:transparent;border:1px solid var(--line);color:#FFFFFF;font:600 15px var(--sans,inherit);font-family:inherit;cursor:pointer}
.fpseg:hover{border-color:#FFFFFF}
.fpseg.on{border-color:#049DA3;background:#049DA3;color:#FFFFFF}
.fpreplay{display:flex;flex-wrap:wrap;align-items:center;gap:12px;border:1px solid #049DA3;padding:12px 14px}
@media (max-width:640px){.fplead{font-size:24px}}
.fprmeta{display:flex;flex-direction:column;gap:2px;flex:1;min-width:160px}
.fpquote{margin-top:auto !important;padding-top:22px;font-size:22px;line-height:1.3;font-weight:500;color:#049DA3;border-top:1px solid var(--line)}
/* Design Your Ideal Day: seven parts along the day (magenta at waking and at bed), one question at a time. */
.fpsteps{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:0;position:relative}
.fpsteps::before{content:'';position:absolute;left:12px;right:12px;top:50%;height:2px;background:#049DA3}
.fpsteps li{flex:1;display:flex;justify-content:center;position:relative}
.fpsteps li:first-child{justify-content:flex-start}.fpsteps li:last-child{justify-content:flex-end}
.fpsteps button{width:24px;height:24px;border-radius:50%;border:2px solid #049DA3;background:#000;cursor:pointer;padding:0}
.fpsteps li.done button{background:#049DA3}
.fpsteps li:first-child.done button,.fpsteps li:last-child.done button{background:#E11265;border-color:#E11265}
.fpsteps li.here button{box-shadow:0 0 0 3px #000,0 0 0 5px #FFFFFF}
.fpsteps .fpdotlabel{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.fpq{display:flex;flex-direction:column;gap:12px;border:1px solid #049DA3;padding:18px}
.fpsay{margin:0;font-size:19px;line-height:1.45;color:#FFFFFF}
.fphints{margin:0;padding-left:20px;font-size:14px;display:flex;flex-direction:column;gap:2px}
.fphints li::marker{color:#E11265}
.levels .tabup{color:#1EE3E8;text-decoration:underline;text-underline-offset:3px;font-weight:600}.levels button:hover .tabup{color:#FFFFFF}

/* Train › Apex for members below it: the F5 explained */
.apcells{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.apcell{cursor:default}
.aplead{font-size:18px;margin:0}
.apsteps{margin:0;padding-left:20px;display:grid;gap:6px}
.apsteps b{color:#1EE3E8}
.apgets{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px 28px}
.apgets li{display:flex;flex-direction:column;gap:3px;padding-left:14px;border-left:3px solid #E11265}
.apgets .agname{font-weight:600;font-size:17px;color:#1EE3E8}
.apgets .agline{color:#FFFFFF}
.fpsub{margin:6px 0 0;font-size:17px;font-weight:600;color:#1EE3E8}
.fpwalk{border-left:3px solid #E11265;padding-left:14px}

/* Train's submenu: flies out to the right of the side menu */
.ncaret{margin-left:auto;font-size:18px;line-height:1;opacity:.7}
.navfly{position:fixed;z-index:60;display:none;flex-direction:column;min-width:190px;background:var(--depth);border:1px solid var(--line);border-left:2px solid var(--red);padding:6px}
.navfly.open{display:flex}
.navflyitem{display:flex;align-items:center;min-height:42px;padding:0 14px;color:#FFFFFF;text-decoration:none;font-weight:500;border:1px solid transparent}
.navflyitem:hover,.navflyitem:focus-visible{background:var(--veil);outline:none;border-color:var(--line)}
.navflyitem.on{border-color:var(--red);font-weight:600}
@media(max-width:820px){.navfly{display:none!important}}
.fpover{flex-wrap:wrap;gap:8px}
#grat-own{width:100%;box-sizing:border-box}
.planmove{border-top:1px solid var(--line);padding-top:14px;margin-top:4px}

/* The copyright line, at the foot of every page */
.appfoot{border-top:1px solid var(--line);padding:18px 32px;font-size:14px;color:#FFFFFF;text-align:center}
.appfoot a{color:#1EE3E8;margin-left:12px;white-space:nowrap}
@media(max-width:820px){.appfoot{padding:16px 16px 96px}.appfoot a{display:inline-block;margin:6px 6px 0}}
body.docked .appfoot{padding-bottom:110px}
@media(max-width:820px){body.docked .appfoot{padding-bottom:210px}}

/* ── Ask the Mechanic: the guide at the side ── */
.navask{width:100%;background:transparent;font:inherit;cursor:pointer;text-align:left;margin-top:10px;border-color:var(--line)!important}
.navask .nicon{color:#1EE3E8}
.navask.on{border-color:#1EE3E8!important;background:var(--veil)}
.askbtn{display:none}
.askpanel{position:fixed;top:0;right:0;bottom:0;width:420px;max-width:100%;z-index:65;background:var(--depth);border-left:1px solid #FFFFFF;display:none;flex-direction:column}
.askpanel.open{display:flex}
.askbar{background:#FFFFFF;color:#000000;padding:14px 16px 12px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.askbar h2{margin:0;font-size:19px;font-weight:600;color:#000000}
.askbar .asknote{font-size:14px;color:#000000}
.askx{background:none;border:1px solid #000000;color:#000000;width:36px;height:36px;font-size:22px;line-height:1;cursor:pointer;flex:none}
.askx:hover{background:#000000;color:#FFFFFF}
.asklog{flex:1;overflow-y:auto;padding:18px 20px;display:flex;flex-direction:column;gap:16px}
.askmsg p{margin:0 0 6px;line-height:1.5}
.askwho{display:block;font-size:13px;font-weight:600;margin-bottom:3px}
.askmsg.mech .askwho{color:#1EE3E8}
.askmsg.me{border-left:3px solid #E11265;padding-left:12px}
.askmsg.me .askwho{color:#FF5C9A}
.askmsg.err p{color:var(--redt)}
.askmsg.flag{border:1px solid var(--red);padding:12px}
.askchips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.askchip{background:transparent;border:1px solid var(--line);color:#FFFFFF;font:inherit;font-size:14px;padding:7px 11px;cursor:pointer;text-align:left}
.askchip:hover,.askchip:focus-visible{border-color:#1EE3E8;color:#1EE3E8;outline:none}
.asklinks{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.askdots{display:flex;gap:6px;padding:6px 0}
.askdots i{width:7px;height:7px;border-radius:50%;background:#1EE3E8;animation:askdot 1.2s infinite ease-in-out}
.askdots i:nth-child(2){animation-delay:.15s}.askdots i:nth-child(3){animation-delay:.3s}
@keyframes askdot{0%,80%,100%{opacity:.25}40%{opacity:1}}
@media(prefers-reduced-motion:reduce){.askdots i{animation:none;opacity:.7}}
.askin{border-top:1px solid var(--line);padding:12px 16px 16px;display:flex;flex-direction:column;gap:8px}
.askin textarea{min-height:0;resize:none}
.askfoot{margin:0;font-size:13px}
/* Wide screens: the page makes room for the panel instead of sitting under it */
@media(min-width:1280px){body.asking .col{margin-right:420px}body.asking .dock{right:420px}}
@media(max-width:820px){
  .askbtn{display:inline-flex;align-items:center;gap:6px;margin-left:auto;background:none;border:1px solid var(--line);color:#FFFFFF;font:inherit;font-size:14px;padding:6px 10px;cursor:pointer}
  .askbtn .nicon{color:#1EE3E8;width:18px;height:18px}
  .askpanel{width:100%;border-left:0}
}
.askin textarea:focus,.askin textarea:focus-visible{outline:none;box-shadow:none;border-color:#1EE3E8}
.navask.on .nicon{color:#1EE3E8}
.askvault .askvaultck{font-size:14px;align-items:flex-start;gap:8px;margin:0}
.askvault .askvaultck input{accent-color:#049DA3;margin-top:3px}
.askvaultrow{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:4px}
/* ── Train › Modeling ── */
.mdareas{flex-wrap:wrap;gap:8px;margin-top:24px}
.mdcount{color:#1EE3E8;font-weight:500}
.fpseg.on .mdcount{color:inherit}
.mdcanon{margin:0;font-size:17px;line-height:1.5;color:#FFFFFF;border-left:3px solid #049DA3;padding-left:14px}
.mdaddrow{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}
.mdaddrow>.micwrap,.mdaddrow>input{flex:1;min-width:220px}
.mdlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1px;background:var(--line);border:1px solid var(--line)}
.mdlist li{display:flex;align-items:center;gap:12px;background:var(--depth);padding:12px 14px}
.mdlist li.kept{box-shadow:inset 3px 0 0 #E11265}
.mdlist .mdt{flex:1;min-width:0;font-size:16px;line-height:1.4;color:#FFFFFF}
.mdlist .mdempty{color:var(--mist,#B8C0CC);font-size:15px}
.mdkeep{min-height:36px;min-width:72px;padding:0 12px;background:transparent;border:1px solid #049DA3;color:#FFFFFF;font:600 14px inherit;font-family:inherit;cursor:pointer}
.mdkeep.on{background:#E11265;border-color:#E11265}
.mdx{min-height:36px;min-width:36px;background:transparent;border:1px solid var(--line);color:#FFFFFF;font-size:20px;line-height:1;cursor:pointer}
.mdx:hover{border-color:#E11265}
.mdkeep:focus-visible,.mdx:focus-visible,.mdspark:focus-visible{outline:2px solid #1EE3E8;outline-offset:2px}
.mdsparks{display:flex;flex-direction:column;gap:8px}
.mdspark{text-align:left;padding:10px 12px;background:transparent;border:1px dashed #049DA3;color:#FFFFFF;font:15px inherit;font-family:inherit;line-height:1.4;cursor:pointer}
.mdspark:hover{border-style:solid;border-color:#1EE3E8}
.mdmeter{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px 28px;border:1px solid #E11265;padding:18px}
.mdnum{display:flex;flex-direction:column;gap:2px}
.mdnum strong{font-size:64px;line-height:1;font-weight:600;color:#FFFFFF;letter-spacing:-.02em}
.mdnum span{font-size:14px;color:#1EE3E8}
.mdbars{display:flex;align-items:flex-end;gap:5px;height:70px;flex:1;min-width:160px;max-width:360px}
.mdbars span{flex:1;max-width:18px;background:#049DA3}
.mdbars span.last{background:#E11265}
.mdmeter .fpweekcap{flex-basis:100%}
.mdgroup{display:flex;flex-direction:column;gap:10px}
.mdgroup+.mdgroup{border-top:1px solid var(--line);padding-top:14px}
.mdline{display:flex;flex-direction:column;gap:6px}
.mdyou{margin:0;font-size:19px;line-height:1.4;color:#FFFFFF;font-weight:500}
.mdfeel{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mdfeel input[type=range]{flex:1;min-width:160px;max-width:320px;accent-color:#E11265}
.mdfeelv{min-width:22px;font-weight:600;color:#FFFFFF}
@media (max-width:640px){.mdnum strong{font-size:52px}}
/* ── Train › Today: the trail of the day's work ── */
.trail{list-style:none;margin:0;padding:0;display:grid;gap:1px;background:var(--line);border:1px solid var(--line)}
@media(min-width:760px){.trail{grid-template-columns:repeat(var(--n,4),minmax(0,1fr))}}   /* as many columns as the day has steps (Intro has three) */
.trail li{background:var(--depth);min-width:0}
.trail li>a,.trail li>.there{display:flex;gap:12px;align-items:flex-start;padding:16px 14px;color:inherit;text-decoration:none;height:100%;box-sizing:border-box}
.trail li>a:hover{background:var(--veil)}
.trail li>a:focus-visible{outline:2px solid #1EE3E8;outline-offset:-2px}
.trail li.isnext{box-shadow:inset 0 3px 0 #E11265}
.tmark{width:26px;height:26px;border-radius:50%;border:2px solid #049DA3;box-sizing:border-box;flex:none;display:grid;place-items:center;font-size:14px;font-weight:600;color:#000000}
.tmark.done{background:#FFFFFF;border-color:#FFFFFF}
.twords{display:flex;flex-direction:column;gap:2px;min-width:0}
.tname{font-size:14px;font-weight:600;color:#1EE3E8}
.twhat{font-size:16px;line-height:1.35;color:#FFFFFF;font-weight:500}
.tstate{font-size:14px;color:var(--mist,#B8C0CC)}
.trail li.isnext .tstate{color:#F0457F}
.trailnext{gap:12px 18px;align-items:center;border-top:1px solid var(--line);padding-top:16px}
/* Text boxes: the active state is the thin teal border alone (no second ring). Tick boxes and sliders keep the ring. */
input:not([type=checkbox]):not([type=radio]):not([type=range]):focus-visible,textarea:focus-visible,select:focus-visible{outline:none;border-color:#1EE3E8}
/* Hub: the Ask the Mechanic button, as it looks in the side menu */
.hubask{gap:14px 24px;align-items:center}
.hubaskbtn{width:auto;margin-top:0;padding:0 18px;flex:none}
.hubaskbtn:hover{border-color:#1EE3E8!important}
/* A confirmation that sits over the page (Move to Intro) */
.modalover{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.82);display:flex;align-items:center;justify-content:center;padding:24px 16px;overflow-y:auto}
.modalbox{width:100%;max-width:620px;max-height:100%;overflow-y:auto;border-color:#FFFFFF}
.modalbox .pbody{gap:18px}
/* Hub: today in one strip; "Your notes to study" in teal */
.notesum{color:#1EE3E8;cursor:pointer}
/* Buttons that turn teal on hover glow teal, the way the red buttons glow red. */
.btn.quiet:not([disabled]):hover,
.hubaskbtn:hover,.navask:hover{box-shadow:0 0 16px 4px rgba(4,157,163,.7)}
/* Magenta buttons (filled or wire) fill magenta with white text and glow magenta on hover. */
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) .btn:not(.quiet):not([disabled]):hover,
.titled .card:not(.red) .btn:not(.quiet):not([disabled]):hover{box-shadow:0 0 16px 4px rgba(225,18,101,.7)}
.paper .btn.quiet:not([disabled]):hover{box-shadow:0 0 16px 4px rgba(4,157,163,.45)}
/* The Mechanic on each Job Sheet: the words, read like a script, holds as space */
.msread{display:flex;flex-direction:column;gap:2px;max-width:720px}
.msread p{margin:0;font-size:17px;line-height:1.55;color:#FFFFFF}
.mshold{display:block;height:12px}

/* ── Train › Ideal Day and Train › Gratitude: a short numbered sequence, one thing at a time ── */
.panel .pbody.fxcol{display:flex;flex-direction:column;gap:26px;padding:28px 28px 30px}
.fxcol>*{margin:0}
.fxlede,.fxintro>p{margin:0;max-width:68ch;font-size:17px;line-height:1.55;color:#FFFFFF}
.fxintro{display:flex;flex-direction:column;gap:20px}
.fxstep{display:flex;flex-direction:column;gap:16px;border-top:1px solid var(--line);padding-top:22px}
.fxhead{display:flex;gap:14px;align-items:flex-start}
.fxnum{flex:none;width:32px;height:32px;border-radius:50%;border:2px solid #049DA3;color:#FFFFFF;display:grid;place-items:center;font-weight:600;font-size:15px;box-sizing:border-box}
.fxtitle h3{margin:2px 0 0;font-size:21px;line-height:1.25;font-weight:600;color:#FFFFFF}
.fxtitle p{margin:4px 0 0;font-size:15px;line-height:1.45;color:#FFFFFF;opacity:.8}
.fxbody{display:flex;flex-direction:column;gap:14px;padding-left:46px}
.fxhead.nonum+.fxbody{padding-left:0}
.fxbody>.row:empty,.fxbody>div:empty,.fxbody>.err:empty,.fxbody>.row:has(>.hide:only-child){display:none}
.fxtitle:only-child h3{margin-top:0}
.fxbody>p{margin:0;max-width:68ch;line-height:1.55}
.fxpaper{font-size:14px;color:#FFFFFF;opacity:.85;margin:0}
.fxpaper a{color:#1EE3E8}
.fxpicked{margin:0;min-height:1.4em;color:#FFFFFF}
.fxweek{display:inline-flex;align-items:center;gap:10px;font-weight:600}
.fxweekdots{display:inline-flex;gap:6px}
.fxweekdots i{width:12px;height:12px;border-radius:50%;border:2px solid #FFFFFF;box-sizing:border-box}
.fxweekdots i.on{background:#FFFFFF}
/* What a Gratitude session is: three short thanks for today (teal), one for the future (magenta). */
.grshape{display:grid;grid-template-columns:3fr 2fr;gap:12px;max-width:640px}
.grpart{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);padding:14px 16px}
.grpart strong{font-size:16px;font-weight:600;color:#FFFFFF}
.grpart span:last-child{font-size:14px;line-height:1.4}
.grbars{display:flex;gap:6px;margin-bottom:6px}
.grbars i{display:block;width:34px;height:4px;background:#049DA3}
.grpart.f{border-color:#E11265}
.grpart.f .grbars i{background:#E11265}
/* Ideal Day: the three steps, named, with where each stands. */
.idtrack{list-style:none;margin:0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border:1px solid var(--line)}
.idtrack li+li{border-left:1px solid var(--line)}
.idtrack button{width:100%;display:flex;gap:12px;align-items:center;padding:14px 16px;background:transparent;border:0;border-bottom:3px solid transparent;color:#FFFFFF;font:inherit;text-align:left;cursor:pointer}
.idtrack button:hover{background:var(--veil)}
.idtrack li.here button{border-bottom-color:#E11265;background:var(--veil)}
.idtn{flex:none;width:28px;height:28px;border-radius:50%;border:2px solid #049DA3;display:grid;place-items:center;font-weight:600;font-size:14px;box-sizing:border-box}
.idtrack li.done .idtn{background:#049DA3}
.idtt{display:flex;flex-direction:column;gap:1px;min-width:0}
.idtt strong{font-size:16px;font-weight:600}
.idtt small{font-size:13px;opacity:.8}
.idhorizon{align-items:center;gap:8px}
/* The seven parts of the day, named, so the whole day is in view. */
.idparts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.idparts button{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;background:transparent;border:1px solid var(--line);color:#FFFFFF;font:inherit;cursor:pointer}
.idparts button:hover{border-color:#FFFFFF}
.idpn{width:24px;height:24px;border-radius:50%;border:2px solid #049DA3;display:grid;place-items:center;font-size:12px;font-weight:600;box-sizing:border-box}
.idpl{font-size:13px;line-height:1.2;text-align:center}
.idparts li.done .idpn{background:#049DA3}
.idparts li.here button{border-color:#049DA3;box-shadow:inset 0 -3px 0 #049DA3}
.idparts li.here .idpl{font-weight:600}
.idqtitle{margin:0;font-size:22px;font-weight:600;color:#FFFFFF}
.idnav{flex-wrap:wrap;gap:12px}
.idsaved{color:#FFFFFF}
.idwait{border-left:3px solid #E11265;padding-left:14px;gap:12px}
.idwait p{margin:0}
@media (max-width:760px){
  .panel .pbody.fxcol{padding:22px 18px 24px}
  .fxbody{padding-left:0}
  .grshape{grid-template-columns:1fr}
  .idtrack button{flex-direction:column;align-items:flex-start;gap:6px;padding:12px 10px}
  .idtt small{display:none}
  .idparts{display:flex;overflow-x:auto;gap:6px;padding-bottom:4px}
  .idparts li{flex:0 0 92px}
}

/* Boot into the Mechanic: red bar with white text, red wire around it, a short how-to in order. */
.panel.t-red{border:1px solid var(--red)}
.panel .pbody.bootbody{display:flex;flex-direction:column;gap:22px;padding:26px 28px 28px}
.bootbody>*{margin:0}
.bootlede{max-width:68ch;font-size:17px;line-height:1.55;color:#FFFFFF}
.bootsteps{list-style:none;counter-reset:bs;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.bootsteps li{counter-increment:bs;display:flex;flex-direction:column;gap:4px;border-top:2px solid var(--red);padding-top:12px;font-size:15px;line-height:1.45}
.bootsteps li::before{content:counter(bs);width:26px;height:26px;border-radius:50%;border:2px solid var(--red);display:grid;place-items:center;font-weight:600;font-size:13px;margin-bottom:4px;box-sizing:border-box}
.bootsteps strong{font-weight:600;color:#FFFFFF}
.bootplay{border:1px solid var(--line);padding:18px}
.bootlog{border-top:1px solid var(--line);padding-top:20px;gap:10px}
.bootlog h3{margin:0;font-size:20px;font-weight:600;color:#FFFFFF}
@media (max-width:640px){.panel .pbody.bootbody{padding:20px 16px 22px}}
.bootbody>div:empty{display:none}

/* Link text is teal everywhere (magenta is for buttons and marks, never for a link). */
:is(.linkbtn,.gact,.pillink):not(.paper *):not(.guide *):hover{color:#FFFFFF}

/* Train › Modeling: the same walk as Ideal Day, in four steps. */
.idparts.mdlenses{grid-template-columns:repeat(5,minmax(0,1fr))}
.mdkeptmark{flex:none;font-size:13px;font-weight:600;color:#1EE3E8}
.mdhelp{align-items:center;gap:10px}
.fxbody .mdgroup+.mdgroup{margin-top:14px}
.fxbody .mdcanon{max-width:68ch}
@media (max-width:760px){
  .idtrack.mdtrack{grid-auto-flow:row;grid-template-columns:1fr 1fr}
  .idtrack.mdtrack li+li{border-left:0}
  .idtrack.mdtrack li:nth-child(even){border-left:1px solid var(--line)}
  .idtrack.mdtrack li:nth-child(n+3){border-top:1px solid var(--line)}
  .idparts.mdlenses{display:flex}
}
.idpl .mdn{opacity:.75;font-weight:400}

/* Gold is retired: every gold outline, rule and accent is teal. The one thing that stays gold is the
   plan badge in the side menu. */
:root{--gold:#049DA3}
.sidefoot .chip.gold{border-color:#C9A25A;color:#C9A25A}
.reflection{background:var(--veil)}
.eyebrow,.manual-tag,.msheet .mnum,code.key,.tabs button.on,.ws .say,.ws .wbig,.ws .wrow .whead,.ws .wfood b{color:#1EE3E8}

/* Train › Core and Apex: the "Open Modeling / Ideal Day / Gratitude" buttons. White wire, white text,
   clear fill; teal fill and glow on hover. Specific enough to win over the panel's magenta buttons. */
.panel .btn.wireopen.wireopen.wireopen.wireopen:not([disabled]),.titled .card .btn.wireopen.wireopen.wireopen.wireopen:not([disabled]){background:transparent;border:1px solid #FFFFFF;color:#FFFFFF;box-shadow:none}
.panel .btn.wireopen.wireopen.wireopen.wireopen:not([disabled]):hover,.panel .btn.wireopen.wireopen.wireopen.wireopen:not([disabled]):focus-visible,
.titled .card .btn.wireopen.wireopen.wireopen.wireopen:not([disabled]):hover,.titled .card .btn.wireopen.wireopen.wireopen.wireopen:not([disabled]):focus-visible{background:#049DA3;border-color:#049DA3;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(4,157,163,.7)}
/* The three Open buttons sit on one line: each cell is a column and its button is pushed to the bottom. */
.pcells.opencells>.pbody{display:flex;flex-direction:column}
.pcells.opencells>.pbody>.row:last-child{margin-top:auto;padding-top:14px}

/* Train › Blueprint: white banners, the questions in five short parts. */
.bplede{margin:0;max-width:72ch;font-size:17px;line-height:1.55;color:#FFFFFF}
.bpform{gap:22px}
.panel .pbody.bpbody{display:flex;flex-direction:column;gap:22px;padding:24px 26px 26px}
.bpbody>p{margin:0;max-width:70ch;line-height:1.55}
.bpq{display:flex;flex-direction:column;gap:10px}
.bpq>label{display:flex;gap:12px;align-items:flex-start;font-size:17px;line-height:1.45;font-weight:500;color:#FFFFFF}
.bpn{flex:none;width:28px;height:28px;border-radius:50%;border:2px solid #049DA3;display:grid;place-items:center;font-size:13px;font-weight:600;box-sizing:border-box;margin-top:-1px}
.bpname>.card{border:0;padding:0;background:transparent}
.bpname>.card>h2:first-child{display:none}
.bpsend{border-top:1px solid var(--line);padding-top:20px;gap:12px}
.bpsend>p{margin:0;max-width:70ch}
@media (max-width:640px){.panel .pbody.bpbody{padding:20px 16px 22px}.bpq>label{font-size:16px}}
/* Red banners and red-wire sections are red and white only: no teal links, labels, marks, hovers or focus lines. */
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire):is(.panel,.card,.zone):is(.panel,.card,.zone){--gold:#FFFFFF;--aqua:#FFFFFF;--redt:#FFFFFF}
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire):is(.panel,.card,.zone):is(.panel,.card,.zone) :is(a:not([class]),.linkbtn,.gact,.pillink,.notesum,.tabup,.firehow summary){color:#FFFFFF;text-decoration:underline;text-underline-offset:3px}
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire):is(.panel,.card,.zone):is(.panel,.card,.zone) :is(a:not([class]),.linkbtn,.gact,.pillink,.notesum,.tabup,.firehow summary):is(:hover,:focus-visible){color:#E8303A;text-decoration-thickness:2px}
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire):is(.panel,.card,.zone):is(.panel,.card,.zone) .pbar :is(a:not([class]),.linkbtn,.gact,.pillink):is(:hover,:focus-visible){color:#FFFFFF}
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire):is(.panel,.card,.zone):is(.panel,.card,.zone) :is(.eyebrow,.manual-tag,.tname,.mdcount,.mdkeptmark,.agname,.fpsub,.apsteps b,.askwho,code.key,.tabs button.on,.say,.wbig,.mnum){color:#FFFFFF}
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire):is(.panel,.card,.zone):is(.panel,.card,.zone) .tmark:not(.done){border-color:#FFFFFF}
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire):is(.panel,.card,.zone):is(.panel,.card,.zone) .btn.quiet:hover{background:var(--red);border-color:var(--red);color:#FFFFFF}
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire):is(.panel,.card,.zone):is(.panel,.card,.zone) .entry:hover{border-color:#FFFFFF}
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire):is(.panel,.card,.zone):is(.panel,.card,.zone) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select):is(:focus,:focus-visible){border-color:#FFFFFF}
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire):is(.panel,.card,.zone):is(.panel,.card,.zone) :is(a,button,summary):focus-visible{outline-color:#FFFFFF}
/* Phone: Train's pages in a strip under the top bar (the desktop flyout has no side menu to open from). */
.trainsubs{display:none}
@media(max-width:820px){
  .trainsubs.show{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:10px 16px;background:#000000;border-bottom:1px solid var(--line);position:sticky;top:67px;z-index:15}
  .trainsubs.show::-webkit-scrollbar{display:none}
  .trainsubs a{flex:none;display:flex;align-items:center;min-height:40px;padding:0 14px;border:1px solid var(--line);color:#FFFFFF;text-decoration:none;font-size:15px;font-weight:500;white-space:nowrap}
  .trainsubs a.on{border-color:var(--red);background:var(--red);font-weight:600}
  .trainsubs a:focus-visible{outline:2px solid #FFFFFF;outline-offset:2px}
}
/* Phone: the top row (logo and Ask) stays put while the page scrolls, so the Mechanic is always one tap away.
   Signed out, it scrolls away as before. Train's strip sticks right under it. */
@media(max-width:820px){
  body:not(.out) .topbrand{position:sticky;top:0;z-index:16;background:#000000;box-sizing:border-box;height:67px}
}
.acctout{margin-left:auto}
/* Phone-only rows (Account's Messages, Library and Sign out): this has to come after the rule that hides them. */
@media(max-width:820px){.row.phoneonly{display:flex;flex-wrap:wrap;gap:10px}}
/* Magenta-filled buttons: "Fill it out" (Upgrade Manual and the Vault's Job Sheets), "Open my Library" (Train), "Go to Train" (Library).
   Magenta with white text; on hover they glow magenta. */
.btn.fillit.fillit.fillit.fillit.fillit.fillit.fillit.fillit{background:#E11265;border-color:#E11265;color:#FFFFFF;box-shadow:none}
.btn.fillit.fillit.fillit.fillit.fillit.fillit.fillit.fillit:hover,.btn.fillit.fillit.fillit.fillit.fillit.fillit.fillit.fillit:focus-visible{background:#E11265;border-color:#E11265;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(225,18,101,.7)}
/* Download (Upgrade Manual list): magenta with white text; on hover it stays magenta and glows. */
.btn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn{background:#E11265;border-color:#E11265;color:#FFFFFF;box-shadow:none}
.btn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn:hover,.btn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn.dlbtn:focus-visible{background:#E11265;border-color:#E11265;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(225,18,101,.7)}
/* The three-way pickers (Intro / Core / Apex, and 3 / 10 / 30 minutes): a red glow on hover. */
.levels button{position:relative;transition:box-shadow .15s}
.levels button:hover,.levels button:focus-visible{z-index:1;outline:none;box-shadow:0 0 0 1px #C1121F,0 0 16px 4px rgba(193,18,31,.7)}
.levels button.on:hover,.levels button.on:focus-visible{box-shadow:inset 0 -3px 0 #C1121F,0 0 0 1px #C1121F,0 0 16px 4px rgba(193,18,31,.7)}
/* Your Vault's tabs: the current one carries a magenta line; the others turn magenta on hover. */
.tabs.tabs button.on{border-bottom-color:#E11265;color:#FFFFFF}
.tabs.tabs button:hover,.tabs.tabs button:focus-visible{color:#F0457F}
/* Speak: on hover the white box fills red with white text; the recording dot stays red inside a white ring. */
.btn.quiet.mic.mic.mic:not([disabled]):hover,.btn.quiet.mic.mic.mic:not([disabled]):focus-visible{background:#C1121F;border-color:#C1121F;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(193,18,31,.7)}
.btn.mic.mic:not([disabled]):hover::before,.btn.mic.mic:not([disabled]):focus-visible::before{background:#C1121F;box-shadow:0 0 0 2px #FFFFFF}
/* Upgrade Manual's "(Read and Print Version)": magenta. */
.vmtag.vmtag{color:#F0457F}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) .btn[disabled]:hover,.titled .card:not(.red) .btn[disabled]:hover,.btn.fillit.fillit.fillit.fillit.fillit.fillit.fillit.fillit[disabled]:hover{box-shadow:none}
/* Play buttons in the Library and in the teal sections (Ideal Day, Modeling): magenta with white text, magenta glow on hover. */
:is(.zone.store,.panel.t-teal) .btn.playbtn.playbtn.playbtn.playbtn{background:#E11265;border-color:#E11265;color:#FFFFFF;box-shadow:none}
:is(.zone.store,.panel.t-teal) .btn.playbtn.playbtn.playbtn.playbtn:hover,:is(.zone.store,.panel.t-teal) .btn.playbtn.playbtn.playbtn.playbtn:focus-visible{background:#E11265;border-color:#E11265;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(225,18,101,.7)}
/* Vault Settings: its magenta wire buttons are magenta-filled with white text, and glow magenta on hover. */
.vsettings .btn.ghost.ghost.ghost.ghost.ghost{background:#E11265;border-color:#E11265;color:#FFFFFF;box-shadow:none}
.vsettings .btn.ghost.ghost.ghost.ghost.ghost:not([disabled]):hover,.vsettings .btn.ghost.ghost.ghost.ghost.ghost:focus-visible{background:#E11265;border-color:#E11265;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(225,18,101,.7)}
/* Inside red sections (the Vault's Job Sheet parts, Journal, Life Goals), "Fill it out" is a red button like the rest. */
.panel.t-red .btn.fillit.fillit.fillit.fillit.fillit.fillit.fillit.fillit.fillit{background:#C1121F;border-color:#C1121F;color:#FFFFFF;box-shadow:none}
.panel.t-red .btn.fillit.fillit.fillit.fillit.fillit.fillit.fillit.fillit.fillit:hover,.panel.t-red .btn.fillit.fillit.fillit.fillit.fillit.fillit.fillit.fillit.fillit:focus-visible{background:#C1121F;border-color:#C1121F;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(193,18,31,.7)}
/* Library: Delete (red outline, fills red with a red glow on hover) and its ask, which urges a download first. */
.librow .row .delbtn{white-space:nowrap}
.delask{border:1px solid #C1121F;border-left-width:3px;background:var(--veil);padding:12px 14px;gap:8px}
.delask .delsaved{margin:0;color:#FFFFFF}
/* Deleting is the one red moment in the Library: Delete is a red outline that fills red; "Delete for good" is solid red. Both glow red. */
.btn.delbtn.delbtn.delbtn.delbtn.delbtn{background:transparent;border-color:#C1121F;color:#FFFFFF;box-shadow:none}
.btn.delbtn.delbtn.delbtn.delbtn.delbtn:not([disabled]):hover,.btn.delbtn.delbtn.delbtn.delbtn.delbtn:focus-visible{background:#C1121F;border-color:#C1121F;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(193,18,31,.7)}
.btn.delgo.delgo.delgo.delgo.delgo{background:#C1121F;border-color:#C1121F;color:#FFFFFF;box-shadow:none}
.btn.delgo.delgo.delgo.delgo.delgo:not([disabled]):hover,.btn.delgo.delgo.delgo.delgo.delgo:focus-visible{background:#C1121F;border-color:#C1121F;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(193,18,31,.7)}
@media(max-width:820px){.librow .row{flex-wrap:wrap}}
/* Today's session: the latest one stays on top; the next build sits under a line. Apex picks its pillar first. */
.nextbuild{border-top:1px solid var(--line);padding-top:16px;margin-top:6px}
.lastbuilt h2{margin:0}
.levels.f5pick{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
.levels.f5pick button[disabled]{opacity:.45;cursor:default;box-shadow:none}
/* Fire › Build an Anchor and Fire an Anchor; Library › Your Anchors. */
.levels.akinds{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}
.builtanchor{border-top:1px solid var(--line);padding-top:14px}
.builtanchor:first-child{border-top:0;padding-top:0}
.ainst{margin:8px 0 0;padding-left:22px;display:grid;gap:6px}
.ainstbox summary,.fireown summary{cursor:pointer}
.fireown{border-top:1px solid var(--line);padding-top:12px}
.fireown>summary{font-weight:600}
/* Train › Today: "Then, Today" is a red banner section, red and white only: the up-next step carries a red line and red words. */
.panel.t-red .trail li.isnext{box-shadow:inset 0 3px 0 #C1121F}
.panel.t-red .trail li.isnext .tstate{color:#E8303A}
.panel.t-red .trail .tstate{color:#FFFFFF}
.panel.t-red .trailnext .btn.btn{background:#C1121F;border-color:#C1121F;color:#FFFFFF}
.panel.t-red .trailnext .btn.btn:hover,.panel.t-red .trailnext .btn.btn:focus-visible{background:#C1121F;border-color:#C1121F;color:#FFFFFF;box-shadow:0 0 16px 4px rgba(193,18,31,.7)}
/* Type: the words they read (paragraphs, the Mechanic's notes and replies, Job Sheets, forms) are set in
   Atkinson Hyperlegible, made so no letter can be mistaken for another: easy text goes in easily.
   Jost carries the brand: headings, banners, buttons, menus, labels on gauges and pickers. */
body,input,textarea,select{font-family:var(--read)}
:is(h1,h2,h3,h4,.zname,.pbar,.eyebrow,.chip,.btn,button,.navitem,.nlabel,.navfly,.trainsubs,.tabbar,.tabs,.levels,.glabel,.gbig,.kbig,.mnum,.tname,.twhat,.tstate,.lbname,.lbnum,.f5name,.firename,.firesec,.next>strong,.whoname,.sidelink,.mhead,.gact){font-family:var(--text)}
/* The Job Sheet "paper" stays as printed (the Upgrade Manual's own type), so the page on screen matches the page in hand. */
.paper,.paper :is(input,textarea,select){font-family:var(--text)}

/* Hub analytics: 12-week trend, Job Sheet map, where the training goes */
.sqmap{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px}
.sqmap .sq{aspect-ratio:1;border-radius:3px;background:#2A2A2A}
.sqmap .sq.on{background:#39FF88;box-shadow:0 0 6px rgba(57,255,136,.55)}
.mnote{font-size:14px;color:#CFCFCF;margin:0}
.hbars{display:flex;flex-direction:column;gap:10px}
.hrow{display:grid;grid-template-columns:88px 1fr auto;align-items:center;gap:10px;font-size:14px}
.htrack{height:12px;background:#2A2A2A;border-radius:6px;overflow:hidden}
.hfill{display:block;height:100%;border-radius:6px}
.hval{color:#CFCFCF;font-variant-numeric:tabular-nums;min-width:56px;text-align:right}
.mhead .mnum{white-space:nowrap}
.gmark{width:120px;height:92px;flex:none;line-height:0}.gmark svg{width:100%;height:100%;overflow:visible}
@media(max-width:820px){.gmark{width:96px;height:74px}}
.glabel.yel{color:#CC5500} .glabel.lime{color:#39FF88}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) :is(.glabel.yel,.gtop.yel){color:#CC5500}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) :is(.glabel.lime,.gtop.lime){color:#39FF88}
/* Your Progress: momentum headline, time charts, F5 */
.glabel.org{color:#FF5F1F}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) :is(.glabel.org,.gtop.org){color:#FF5F1F}
#progress .mhead .glabel.lime{color:#39FF88} #progress .mhead .glabel.org{color:#FF5F1F} #progress .mhead .glabel.mag{color:#FF4F93}
#progress .gauges>.gauge .gtop.mag{color:#FF4F93}
.pg-hero{display:flex;align-items:center;gap:28px;flex-wrap:wrap;background:var(--depth);padding:22px 20px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pg-streak{display:flex;align-items:baseline;gap:14px}
.pg-big{font-family:'Jost',sans-serif;font-size:96px;line-height:.9;font-weight:600;color:#00F0FF;font-variant-numeric:tabular-nums}
.pg-what{font-family:'Jost',sans-serif;font-size:20px;font-weight:500;line-height:1.2;color:#00F0FF}
.pg-what small{display:block;font-family:var(--read);font-size:14px;font-weight:400;color:#00F0FF}
.pg-week{flex:1;min-width:240px}
.pg-wrow{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:10px;color:#00F0FF;font-size:14px}
.pg-wrow b{font-family:'Jost',sans-serif;font-size:18px;font-weight:600}
.pg-pips{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.pg-pips span{height:14px;border-radius:7px;background:#2E2E2E}
.pg-pips span.on{background:#00F0FF;box-shadow:0 0 10px rgba(0,240,255,.5)}
.gauges.pg-half{grid-template-columns:1fr 1fr}
.sqmap .sq{background:#2E2E2E;border:1px solid #3A3A3A}
.sqmap .sq.on{border-color:transparent}
.sqmap .sq.next{outline:2px solid #FFFFFF;outline-offset:1px}
.pg-radar{height:240px}.pg-radar svg{width:100%;height:100%;display:block;overflow:visible}
@media(max-width:900px){.gauges.pg-half{grid-template-columns:1fr}.pg-big{font-size:76px}}
@media(max-width:520px){.pg-hero{gap:18px}.pg-hero .btn{width:100%}.pg-wrow{flex-direction:column;gap:2px}}
.pg-half .sqmap{gap:6px}.pg-half .sqmap .sq{aspect-ratio:1.5}
.glabel.ibm{color:#4589FF}
:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) :is(.glabel.ibm,.gtop.ibm){color:#4589FF}
#progress .gauges>.gauge .gtop.ibm{color:#4589FF;text-shadow:0 0 10px rgba(69,137,255,.55)}
/* Player volume */
.dvol{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.dmute{background:none;border:1px solid transparent;color:#FFFFFF;cursor:pointer;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;line-height:0}
.dmute svg{width:22px;height:22px}
.dmute:hover,.dmute:focus-visible{border-color:#FFFFFF;outline:none}
.dvolbar{width:110px;padding:0;border:0;background:transparent;accent-color:var(--red)}
@media(max-width:820px){.dvolbar{display:none}}
.fireover p.eyebrow.fireeye.fireeye{color:var(--red);font-weight:600}
.vmtag.vmtag.vmaqua{color:#1EE3E8}   /* "(Read and Print Version)" and "(Vault Version)" in aqua */
.addrpair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:560px){.addrpair{grid-template-columns:1fr}}
.narrlist{display:flex;flex-direction:column;gap:1px;background:var(--line);border:1px solid var(--line)}
.narr{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;padding:12px 14px;background:var(--depth)}
.narr.on{box-shadow:inset 3px 0 0 #E11265}
.narr.on .btn[disabled]{opacity:1;cursor:default}
.lockedsteps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.lockedsteps li{display:flex;align-items:center;gap:10px}

/* Before a recording plays: how it's done (lying down or either way), eyes closed. */
.posnote{margin:0;font-size:14px;font-weight:600;color:#E63946}   /* "Seated or lying down. Eyes closed." in red (2026-11-17) */

/* Hub: neon aqua (F5 Balance) and neon magenta (Written) */
.glabel.naqua,#progress .glabel.naqua,:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) :is(.glabel.naqua,.gtop.naqua){color:#00F0FF}
.glabel.nmag,#progress .glabel.nmag,:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store) :is(.glabel.nmag,.gtop.nmag){color:#FF00FF}

/* ═══════════ THE BUTTON LAW (2026-11-17) ═══════════
   No clear buttons anywhere in the app. A button that was a wire frame (outline, no fill) is now filled
   with the colour of its wire frame, with white text; on hover it glows in that same colour.
     red wire frame      → red fill       (#C1121F, red glow)
     magenta wire frame  → magenta fill   (#E11265, magenta glow): the white, teal and gold sections
     white wire frame    → in red sections: red fill; everywhere else: teal fill (#049DA3, teal glow)
                           (white text can't sit on a white fill, so white frames take the section's colour)
   Buttons on the printed-paper Job Sheets keep their own white paper style.
   This block comes last and wins over every older button rule above it. */
.btn.ghost,.btn.danger,.btn.delbtn,.btn.playbtn{background:#C1121F!important;border-color:#C1121F!important;color:#FFFFFF!important;box-shadow:none!important}
.btn.ghost:not([disabled]):is(:hover,:focus-visible),.btn.danger:not([disabled]):is(:hover,:focus-visible),.btn.delbtn:not([disabled]):is(:hover,:focus-visible),.btn.playbtn:not([disabled]):is(:hover,:focus-visible){background:#C1121F!important;border-color:#C1121F!important;color:#FFFFFF!important;box-shadow:0 0 16px 4px rgba(193,18,31,.7)!important}
.btn.quiet,.btn.wireopen,.askchip,.askbtn{background:#049DA3!important;border-color:#049DA3!important;color:#FFFFFF!important;box-shadow:none!important}
.btn.quiet:not([disabled]):is(:hover,:focus-visible),.btn.wireopen:not([disabled]):is(:hover,:focus-visible),.askchip:is(:hover,:focus-visible),.askbtn:is(:hover,:focus-visible){background:#049DA3!important;border-color:#049DA3!important;color:#FFFFFF!important;box-shadow:0 0 16px 4px rgba(4,157,163,.7)!important}
/* Magenta: the white, teal and gold sections, the white cards, Vault Settings; and any button marked .mag */
.btn.mag,:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store,.vsettings,.titled .card:not(.red)) :is(.btn.ghost,.btn.danger,.btn.playbtn){background:#E11265!important;border-color:#E11265!important;color:#FFFFFF!important;box-shadow:none!important}
.btn.mag:not([disabled]):is(:hover,:focus-visible),:is(.panel.t-gold,.panel.t-goldw,.panel.t-white,.panel.t-teal,.zone.store,.vsettings,.titled .card:not(.red)) :is(.btn.ghost,.btn.danger,.btn.playbtn):not([disabled]):is(:hover,:focus-visible){background:#E11265!important;border-color:#E11265!important;color:#FFFFFF!important;box-shadow:0 0 16px 4px rgba(225,18,101,.7)!important}
/* Red sections: red and white only, so every frame there fills red */
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire) :is(.btn.ghost,.btn.danger,.btn.delbtn,.btn.playbtn,.btn.quiet,.btn.wireopen,.btn.mag,.askchip,.askbtn){background:#C1121F!important;border-color:#C1121F!important;color:#FFFFFF!important;box-shadow:none!important}
:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire) :is(.btn.ghost,.btn.danger,.btn.delbtn,.btn.playbtn,.btn.quiet,.btn.wireopen,.btn.mag,.askchip,.askbtn):not([disabled]):is(:hover,:focus-visible){background:#C1121F!important;border-color:#C1121F!important;color:#FFFFFF!important;box-shadow:0 0 16px 4px rgba(193,18,31,.7)!important}
/* Speak: the red recording dot keeps a white ring so it shows on any fill */
.btn.mic::before{box-shadow:0 0 0 2px #FFFFFF}
/* A disabled button stays filled, dimmed, and doesn't glow */
:is(.btn,.askchip,.askbtn)[disabled]{opacity:.55;box-shadow:none!important}
/* The printed-paper Job Sheets keep their white paper buttons (Speak and the like) */
.paper .btn.quiet{background:#FFFFFF!important;border:1.5px solid var(--line)!important;color:var(--ink)!important;box-shadow:none!important}
.paper .btn.quiet:not([disabled]):is(:hover,:focus-visible){background:#FFFFFF!important;border-color:var(--teal)!important;color:var(--ink)!important;box-shadow:0 0 16px 4px rgba(4,157,163,.45)!important}
.paper .mic.rec{border-color:var(--mag)!important}
/* The one exception to the Button Law (2026-11-17): on the Library page, the aqua buttons (Lock, Download,
   Install an Anchor, Your notes to study) rest clear with white text and a white wire frame, and turn aqua
   with white text on hover. */
.pg-library .btn.quiet{background:transparent!important;border-color:#FFFFFF!important;color:#FFFFFF!important;box-shadow:none!important}
.pg-library .btn.quiet:not([disabled]):is(:hover,:focus-visible){background:#049DA3!important;border-color:#049DA3!important;color:#FFFFFF!important;box-shadow:0 0 16px 4px rgba(4,157,163,.7)!important}
/* Speak, everywhere (2026-11-17): rests clear with a white wire frame, white text and a red dot; on hover it
   fills red with a red glow, and the red dot keeps a white ring so it still shows. On the printed-paper Job
   Sheets it rests on the paper's white with dark text (a white frame can't show on white paper), then turns
   red on hover the same way. */
.btn.mic.mic,:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire) .btn.mic.mic{background:transparent!important;border-color:#FFFFFF!important;color:#FFFFFF!important;box-shadow:none!important}
.btn.mic.mic::before{background:#C1121F;box-shadow:none}
.paper .btn.mic.mic{background:#FFFFFF!important;border:1.5px solid var(--line)!important;color:var(--ink)!important}
.btn.mic.mic:not([disabled]):is(:hover,:focus-visible),:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire) .btn.mic.mic:not([disabled]):is(:hover,:focus-visible),.paper .btn.mic.mic:not([disabled]):is(:hover,:focus-visible){background:#C1121F!important;border-color:#C1121F!important;color:#FFFFFF!important;box-shadow:0 0 16px 4px rgba(193,18,31,.7)!important}
.btn.mic.mic:not([disabled]):is(:hover,:focus-visible)::before{background:#C1121F;box-shadow:0 0 0 2px #FFFFFF}
/* While recording, Speak keeps a red frame (and the paper's magenta one) so the member can see it's listening. */
.btn.mic.mic.rec,:is(.panel.t-red,.card.red,.zone.red,.zone.listen,.zone.train,.zone.fire) .btn.mic.mic.rec{border-color:#C1121F!important}
.paper .btn.mic.mic.rec{border-color:var(--mag)!important}
/* Train › Intro, Where Everyone Starts (2026-11-17): the three step buttons sit on one line, the same size,
   whatever the length of the text above them. */
.startcard{display:flex;flex-direction:column}
.startcard>.row:last-child{margin-top:auto;padding-top:4px}
/* Page headings' small label above the title ("Fire on Demand", "Private", "Apex Identity", "Your F5 · …"):
   red, not teal (2026-11-17). */
.phead .eyebrow{color:#E63946}
/* Hub › Your Progress (2026-11-17): its links are white with a white underline (not teal); on hover they turn neon aqua. */
#progress :is(a:not([class]),.linkbtn,.gact,.pillink){color:#FFFFFF;text-decoration:underline;text-decoration-color:#FFFFFF;text-underline-offset:3px}
#progress :is(a:not([class]),.linkbtn,.gact,.pillink):is(:hover,:focus-visible),#progress .glink:is(:hover,:focus-visible) .gact{color:#00F0FF;text-decoration-color:#00F0FF}
/* Hub › Your Progress (2026-11-17): the Job Sheet Map's and the F5 Balance's links ("Fill Out Job Sheet NN",
   "Work Your F5") sit on the same line at the foot of their two cells. */
.gauges.pg-half>.gcell>.gact:last-child{margin-top:auto}
/* Upgrade Manual, opened on one Job Sheet (#/upgrade/NN): that row is marked so the eye lands on it. */
.msheet.focus{outline:2px solid #E11265;outline-offset:2px;background:rgba(225,18,101,.08)}
