/* Fonts are self-hosted (Latin subsets, SIL Open Font License; licence texts are in /fonts). */
@font-face{font-family:"Bricolage Grotesque";src:url(../fonts/bricolage-grotesque-latin-var.woff2) format("woff2");font-weight:500 800;font-stretch:100%;font-style:normal;font-display:swap}
@font-face{font-family:"DM Mono";src:url(../fonts/dm-mono-latin-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}
/* PM Pathway course player: One Thing look, with a big lesson opener, full-screen right or wrong colour, and a roadmap home.
   Paper and ink, a hard offset shadow, volt for "now". One deliberate light look. */
:root{
  --paper:#f6f0e4; --card:#fffaf0; --ink:#1b1a1c; --soft:rgba(27,26,28,.7); --faint:rgba(27,26,28,.14);
  --volt:#d4ff1f; --tomato:#ef4a2b; --sun:#ffc928; --blush:#ffe1d9;
  --f:"Bricolage Grotesque","Helvetica Neue",Arial,sans-serif;
  --m:"DM Mono",ui-monospace,Menlo,Consolas,monospace;
  --bg:var(--paper); --pop:var(--volt);
  color-scheme:light;
}
body[data-tone=volt]{--bg:var(--volt);--pop:var(--card)}
body[data-tone=tomato]{--bg:var(--tomato);--pop:var(--card)}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--paper);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  margin:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;
  background:var(--bg);color:var(--ink);transition:background-color .3s ease;
  font:500 18px/1.45 var(--f);-webkit-font-smoothing:antialiased;
  padding:max(14px,env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) 0 max(16px,env(safe-area-inset-left,0px));
}
@supports (overflow:clip){html,body{overflow-x:clip}}
h1,h2,p,ol,ul{margin:0;padding:0}
ol,ul{list-style:none}
button{font:inherit;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.skip{position:fixed;left:-9999px;top:8px;z-index:50;background:var(--ink);color:var(--volt);padding:10px 14px;border:2px solid var(--ink);font:800 14px/1 var(--f);text-decoration:none}
.skip:focus{left:8px}
[dir="rtl"] .skip:focus{left:auto;right:8px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- frame: top strip, the card, the one button ---------- */
.stage{flex:1;display:flex;flex-direction:column;width:100%;max-width:500px;margin:0 auto;min-width:0}
.top{flex:none;min-height:30px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding-right:8px}
.mid{flex:1;display:flex;flex-direction:column;justify-content:center;padding:18px 8px 12px 0;min-width:0}
.foot{flex:none;position:sticky;bottom:0;z-index:2;display:flex;flex-direction:column;
  padding:14px 8px max(20px,env(safe-area-inset-bottom,0px)) 0;
  background:var(--bg);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 14px);mask-image:linear-gradient(to bottom,transparent,#000 14px);transition:background-color .3s ease}
.foot.hint,.foot.flow{position:static;-webkit-mask-image:none;mask-image:none} /* flow: task, sort summary, finish and final test result, so nothing covers the card */
@media (min-width:700px) and (min-height:620px){
  .stage{justify-content:center;padding-bottom:24px}
  .mid{flex:none}
  .foot{position:static}
}

/* ---------- small labels ---------- */
.kick{font:500 13px/1.2 var(--m);letter-spacing:.14em;text-transform:uppercase;color:var(--soft)}

.daylab{font:500 13px/1 var(--m);letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;flex:none}
.bar{flex:1;height:12px;border:2px solid var(--ink);border-radius:999px;background:var(--card);overflow:hidden}
.bar i{display:block;height:100%;background:var(--ink);border-radius:999px;min-width:8px;transition:width .25s ease}

/* ---------- the card ---------- */
.card{position:relative;background:var(--card);border:2.5px solid var(--ink);border-radius:22px;box-shadow:7px 7px 0 var(--ink);
  padding:24px 22px 24px;display:flex;flex-direction:column;gap:16px;min-width:0}
.card:focus{outline:none}
.card.lesson{min-height:min(52vh,400px)}
.tagrow{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:34px}
.tag{align-self:flex-start;font:500 13px/1 var(--m);letter-spacing:.1em;text-transform:uppercase;background:var(--volt);color:var(--ink);
  border:2px solid var(--ink);box-shadow:3px 3px 0 var(--ink);padding:8px 10px 7px;transform:rotate(-2deg);white-space:nowrap}
.tag.sun{background:var(--sun)}
.tag.no{background:var(--tomato);color:#fffaf0}
.tag.ink{background:var(--ink);color:var(--paper);box-shadow:3px 3px 0 var(--volt),3px 3px 0 2px var(--ink)}
.mins{font:500 13px/1.2 var(--m);letter-spacing:.1em;text-transform:uppercase;color:var(--soft);text-align:right}

.h{font:800 clamp(30px,8.4vw,40px)/1.04 var(--f);letter-spacing:-.035em;text-wrap:balance;overflow-wrap:break-word}
.h.big{font-size:clamp(34px,9.6vw,48px);line-height:1.02;letter-spacing:-.04em}
.h.q{font:800 clamp(21px,5.9vw,26px)/1.18 var(--f);letter-spacing:-.02em;text-wrap:pretty}
.b{font:500 clamp(19px,5.2vw,21px)/1.45 var(--f);text-wrap:pretty;overflow-wrap:break-word}
.b.soft{color:var(--soft)}
.lab{font:500 13px/1.2 var(--m);letter-spacing:.14em;text-transform:uppercase;color:var(--soft)}
.can{display:flex;flex-direction:column;gap:6px}
.can p:last-child{font:500 clamp(18px,5vw,20px)/1.38 var(--f);text-wrap:pretty}
.note{font:500 17px/1.4 var(--f);color:var(--soft);text-wrap:pretty}

/* ---------- the one button ---------- */
.done{appearance:none;-webkit-appearance:none;width:100%;min-height:66px;border:2.5px solid var(--ink);background:var(--ink);color:var(--paper);border-radius:16px;
  box-shadow:5px 5px 0 var(--pop),5px 5px 0 2.5px var(--ink);
  font:800 clamp(23px,6.4vw,27px)/1 var(--f);letter-spacing:-.02em;padding:18px 16px;cursor:pointer;
  transition:transform .08s ease,box-shadow .08s ease}
.done:active{transform:translate(4px,4px);box-shadow:1px 1px 0 var(--pop),1px 1px 0 2.5px var(--ink)}
.done:focus-visible,.quiet:focus-visible,.opt:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.done.wait{background:transparent;color:var(--soft);border:2.5px dashed rgba(27,26,28,.4);box-shadow:none;cursor:default;
  font:500 14px/1 var(--m);letter-spacing:.14em;text-transform:uppercase}
.done.wait:active{transform:none}
.quiet{appearance:none;-webkit-appearance:none;border:0;background:none;align-self:center;min-height:48px;min-width:120px;padding:0 20px;margin-top:4px;
  font:700 18px/1 var(--f);color:var(--ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;cursor:pointer}
.quiet.minor{font-weight:500;color:var(--soft);text-decoration-thickness:1.5px}
.quiet[hidden]{display:block;visibility:hidden}

/* ---------- quiz ---------- */
.opts{display:flex;flex-direction:column;gap:10px}
.opt{appearance:none;-webkit-appearance:none;display:block;width:100%;min-height:56px;text-align:left;background:var(--paper);border:2px solid var(--ink);border-radius:14px;
  box-shadow:3px 3px 0 var(--ink);padding:14px 16px;font:700 18px/1.28 var(--f);cursor:pointer;overflow-wrap:break-word;
  transition:transform .08s ease,box-shadow .08s ease}
.opt:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.fb{display:flex;flex-direction:column;gap:12px;scroll-margin-bottom:130px;animation:rise .2s ease-out}
.ans{display:grid;grid-template-columns:26px 1fr;gap:10px;align-items:start;border:2px solid var(--ink);border-radius:14px;padding:13px 14px;font:700 18px/1.28 var(--f)}
.ans svg{width:24px;height:24px;margin-top:1px}
.ans .lab{display:block;color:var(--ink);margin-bottom:5px;font-size:12px}
.ans.ok{background:var(--volt)}
.ans.bad{background:var(--blush);border-style:dashed}
.ans.bad span.t{text-decoration:line-through;text-decoration-thickness:2px;font-weight:500}
.why{font:500 clamp(18px,5vw,20px)/1.42 var(--f);text-wrap:pretty}

/* ---------- finish ---------- */
.rule{background:var(--volt);border:2px solid var(--ink);border-radius:14px;padding:14px 16px 15px;display:flex;flex-direction:column;gap:7px}
.rule .lab{color:var(--ink)}
.rule p:last-child{font:800 clamp(20px,5.6vw,24px)/1.18 var(--f);letter-spacing:-.02em;text-wrap:balance}
.come{font:800 clamp(21px,5.8vw,25px)/1.15 var(--f);letter-spacing:-.02em;text-wrap:balance}
.tag.stamp{animation:stamp .34s .08s cubic-bezier(.2,1.5,.4,1) backwards}
.bits{position:absolute;left:50%;top:38px;width:0;height:0;pointer-events:none}
.bits i{position:absolute;left:-5px;top:-5px;width:10px;height:10px;border:2px solid var(--ink);background:var(--volt);opacity:0;
  animation:burst .9s .12s cubic-bezier(.15,.7,.3,1) backwards}
.bits i:nth-child(3n){background:var(--sun);border-radius:50%}
.bits i:nth-child(4n){background:var(--tomato)}
.bits i:nth-child(5n){background:var(--card);width:14px;height:7px}

/* ---------- motion ---------- */
.card.deal{animation:deal .22s cubic-bezier(.2,.8,.2,1)}
.card.dealback{animation:dealback .22s cubic-bezier(.2,.8,.2,1)}
@keyframes deal{from{opacity:0;transform:translate(14px,8px) rotate(1.5deg)}to{opacity:1;transform:none}}
@keyframes dealback{from{opacity:0;transform:translate(-14px,8px) rotate(-1.5deg)}to{opacity:1;transform:none}}
@keyframes dealin{from{opacity:0;transform:translate(14px,-18px) rotate(4deg)}}
@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes pop{from{transform:scale(0)}to{transform:scale(1)}}
@keyframes stamp{from{opacity:0;transform:scale(2.4) rotate(-14deg)}to{opacity:1;transform:rotate(-2deg)}}
@keyframes burst{0%{opacity:1;transform:translate(0,0) rotate(0)}70%{opacity:1}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(var(--r))}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .bits{display:none}
}
/* The first screen after the page loads (a reload, Back or Forward) shows at once: no stamp, rise or pop, and its colour does not
   fade in (app.js, render: class "arrive" on the html tag until the first tap). */
.arrive .dayno,.arrive .fb,.arrive .gain{animation:none}
.arrive body,.arrive .foot,.arrive .card.lesson{transition:none}

/* ============ plus: big Day opener (from Story) ============ */
.opener{display:flex;flex-direction:column;gap:16px;min-width:0}
.opener:focus,.level:focus,.intro:focus{outline:none}
.dayno{font:800 clamp(92px,29vw,150px)/.84 var(--f);letter-spacing:-.06em;margin:2px 0 4px -4px;white-space:nowrap;
  animation:stampin .42s cubic-bezier(.2,1.5,.4,1) backwards}
.dayno.two{font-size:clamp(78px,24vw,128px)}
.opener .can p:last-child{font-size:clamp(19px,5.3vw,22px)}
.opener .lab,.opener .kick{color:var(--ink)}
@keyframes stampin{from{opacity:0;transform:scale(.72) rotate(-4deg)}to{opacity:1;transform:none}}

/* ============ plus: points ============ */
.ic{flex:none;display:block}
.ic path,.ic rect{stroke:var(--ink);stroke-width:2;stroke-linejoin:round;stroke-linecap:round;fill:none}
.ic .f-sun{fill:var(--sun)}
.ic .f-volt{fill:var(--volt)}
.ic .f-ink{fill:var(--ink)}
.gain{display:inline-flex;align-items:center;gap:6px;font:800 21px/1 var(--f);letter-spacing:-.02em;animation:pop .4s cubic-bezier(.2,1.6,.4,1)}
.gain .ic{width:24px;height:24px}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tiles.one{grid-template-columns:1fr}
.tile{border:2px solid var(--ink);border-radius:14px;background:var(--paper);padding:12px 10px 11px;display:flex;flex-direction:column;gap:7px;min-width:0}
.tile .v{display:flex;align-items:center;gap:6px;font:800 clamp(20px,6vw,32px)/1 var(--f);letter-spacing:-.03em;white-space:nowrap}
.tile .ic{width:clamp(18px,5.4vw,28px);height:clamp(18px,5.4vw,28px)}
.tile small{font:500 13px/1.25 var(--m);letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}
.res{font:500 17px/1.4 var(--f)}

/* ============ plus: roadmap home (from Path) ============ */
.top.dash{min-height:44px;justify-content:flex-start}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 13px 0 9px;background:var(--card);
  border:2px solid var(--ink);border-radius:999px;box-shadow:2px 2px 0 var(--ink);font:800 17px/1 var(--f);cursor:pointer}
.chip .ic{width:22px;height:22px}
.chip.off .f-sun{fill:var(--card)}
.chip[aria-expanded=true]{background:var(--volt)}
.chip:focus-visible,.node:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.mid.dash{justify-content:flex-start;gap:20px;padding-top:16px}
.level{display:flex;flex-direction:column;gap:12px}
.bar.lv{flex:none;width:100%;height:14px}
.bar.lv i{min-width:0}
.statnote{font:500 17px/1.35 var(--f);background:var(--card);border:2px solid var(--ink);border-radius:12px;padding:10px 13px}
.road{position:relative}
.road svg.rd{position:absolute;left:0;top:0;overflow:visible}
.road .base{fill:none;stroke:rgba(27,26,28,.3);stroke-width:4;stroke-linecap:round;stroke-dasharray:1 11}
.road .go{fill:none;stroke:var(--ink);stroke-width:5;stroke-linecap:round}
.rw{position:absolute;left:0;right:0;height:64px;display:flex;align-items:center;gap:14px;padding:0 4px 0 6px}
.rw.b{padding-left:62px}
.node{appearance:none;-webkit-appearance:none;flex:none;width:56px;height:56px;padding:0;border-radius:50%;border:2.5px solid var(--ink);background:var(--card);
  display:grid;place-items:center;font:800 24px/1 var(--f);color:var(--ink)}
.node .ic{width:26px;height:26px}
.is-done .node{background:var(--ink)}
.is-done .node .ic path{stroke:var(--volt);stroke-width:3.2}
.is-now .node{background:var(--volt);box-shadow:4px 4px 0 var(--ink);width:64px;height:64px;margin:0 -4px;font-size:29px;cursor:pointer;transition:transform .08s ease,box-shadow .08s ease}
.is-now .node:active{transform:translate(3px,3px);box-shadow:1px 1px 0 var(--ink)}
.is-locked .node{border-style:dashed;border-color:rgba(27,26,28,.45);background:var(--paper)}
.is-locked .node .ic{opacity:.5}
.is-won .node{background:var(--sun);box-shadow:4px 4px 0 var(--ink)}
.rw.pop .node{animation:pop .5s .25s cubic-bezier(.2,1.6,.4,1) backwards}
.lbl{display:flex;flex-direction:column;gap:4px;min-width:0}
.lbl b{font:500 12px/1 var(--m);letter-spacing:.12em;text-transform:uppercase;color:var(--soft)}
.lbl span{font:700 17px/1.18 var(--f);overflow-wrap:break-word}
.is-locked .lbl span{color:var(--soft);font-weight:500}
.is-now .lbl b{align-self:flex-start;background:var(--volt);color:var(--ink);border:2px solid var(--ink);padding:5px 7px 4px;transform:rotate(-2deg);box-shadow:2px 2px 0 var(--ink)}
.is-now .lbl span{font-size:19px;font-weight:800;letter-spacing:-.01em}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.foot.stick{position:sticky}

/* ============ after the second review ============ */
/* the card takes the colour too, so a right or wrong answer fills the screen */
.card.lesson{transition:background-color .3s ease}
body[data-tone=volt] .card.lesson{background:#f2ffbf}
body[data-tone=tomato] .card.lesson{background:var(--blush)}
body[data-tone=tomato] .ans.bad{background:var(--card)}
.tag.no{color:var(--ink)}
/* the numbers stay in reach while the road scrolls */
.top.dash{position:sticky;top:var(--pv,0px);z-index:3;background:var(--bg);padding:8px 0;margin:-8px 0}
.top.dash{box-shadow:-8px 0 0 var(--bg)} /* a strip in the page colour left of the sticky top row hides the module panel's edge (.m-band sits at left:-4px) */
.chip{min-height:48px;padding:0 14px 0 10px}
/* small labels a little bigger for cheap screens */
.lbl b{font-size:13.5px}
.tile small,.opener .lab{font-size:14px}
/* "Lesson 1" is longer than "Day 1": still the biggest thing on the screen, and it fits 360 px */
.dayno{font-size:clamp(64px,23vw,118px);letter-spacing:-.055em}
.dayno.two{font-size:clamp(58px,20.5vw,104px)}
body[data-tone] .quiet.minor{color:var(--ink)}

/* ============ site links: every screen has a way home ============ */
.sitebar{flex:none;width:100%;max-width:500px;margin:0 auto 6px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding-right:6px}
.sb-logo{display:block;flex:none}
.sb-logo img{width:36px;height:36px;display:block;transform:rotate(-4deg);box-shadow:2px 2px 0 var(--ink)}
.sb-link{font:500 13px/1 var(--m);letter-spacing:.1em;text-transform:uppercase;color:var(--ink);text-underline-offset:4px;padding:14px 0 14px 12px}
.sb-logo:focus-visible,.sb-link:focus-visible,.exit:focus-visible,.sitefoot a:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.exit{appearance:none;-webkit-appearance:none;flex:none;width:40px;height:40px;margin:-4px 0 -4px -4px;padding:0;border:2px solid var(--ink);border-radius:12px;background:var(--card);display:grid;place-items:center;cursor:pointer}
.exit svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linecap:round}
.sitefoot{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 18px;margin-top:10px;font:500 12.5px/1.3 var(--m);letter-spacing:.08em;text-transform:uppercase}
.sitefoot a{color:var(--soft);text-underline-offset:4px;padding:8px 0}
.mid.dash .sitefoot{justify-content:flex-start;margin-top:4px}

/* ============ refresher ============ */
.lab.from{font:500 15px/1.3 var(--m);letter-spacing:.06em;text-transform:none;color:var(--ink)}

/* ============ dashboard: the roadmap, with the next lesson and a refresher note around it ============ */
/* Phone: one column. The two wrappers are invisible, and the parts are put in order. */
.d-main,.d-side{display:contents}
.mid.dash .level{order:1}
.mid.dash .d-next{order:2}
.mid.dash .road{order:3}
.mid.dash .d-box{order:4}
.mid.dash .d-after{order:5}
.mid.dash .sitefoot{order:6}
.d-next{background:var(--volt);border:2.5px solid var(--ink);border-radius:22px;box-shadow:6px 6px 0 var(--ink);padding:16px 16px 18px;display:flex;flex-direction:column;gap:8px;margin-right:6px}
.d-next .kick{color:var(--ink)}
.d-h{font:800 25px/1.1 var(--f);letter-spacing:-.025em;text-wrap:balance}
.d-b{font:500 17px/1.4 var(--f)}
.d-go{display:none}
.d-box{background:var(--card);border:2px solid var(--ink);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:6px;margin-right:6px}
/* Wide screen: the roadmap on the left, the next lesson and notes on the right. The button moves into the card. */
@media (min-width:900px){
  .at-home .stage,.at-home .sitebar{max-width:1000px}
  .at-home .mid.dash{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px 56px;align-items:start}
  .at-home .d-main,.at-home .d-side{display:flex;flex-direction:column;gap:20px;min-width:0}
  .at-home .d-side{position:sticky;top:72px}
  .at-home .d-go{display:block;margin-top:8px}
  .at-home .d-go .done{box-shadow:none}
  .at-home .foot.stick{display:none}
  .at-home .mid.dash .sitefoot{grid-column:1/-1}
  .at-home .d-after{border:2px solid var(--ink);border-radius:16px;padding:14px 16px;background:var(--card);margin-right:6px}
  .at-home .d-h{font-size:30px}
}
/* A short, wide window: let the right column scroll with the page so nothing in it is cut off. */
@media (min-width:900px) and (max-height:720px){.at-home .d-side{position:static}}

/* ============ task answers: an optional box on the task screen, what they wrote on the next lesson's check, and the Your answers screen ============ */
.tn{display:flex;flex-direction:column;gap:8px;margin-top:2px;min-width:0}
.tn-lab{color:var(--ink)}
.tn-box{display:block;width:100%;min-height:132px;margin:0;resize:none;overflow-y:auto;-webkit-appearance:none;appearance:none;
  background:var(--paper);color:var(--ink);border:2px solid var(--ink);border-radius:14px;padding:12px 14px;
  font:500 18px/1.45 var(--f);overflow-wrap:break-word;scroll-margin:24px 0 32px;transition:box-shadow .12s ease,background-color .12s ease}
.tn-box::placeholder{color:rgba(27,26,28,.7);opacity:1}
.tn-box:focus{outline:2px solid transparent;background:var(--card);box-shadow:4px 4px 0 var(--volt),4px 4px 0 2px var(--ink)} /* the clear outline still shows in high-contrast mode */
.tn-hint{font:500 15px/1.4 var(--f);color:var(--soft);text-wrap:pretty;margin-top:-2px}
.tn-msg{font:500 13px/1.35 var(--m);letter-spacing:.06em;color:var(--ink)}
.tn-msg:empty{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)} /* kept for screen readers, takes no space */
/* While a box is in use, the big button sits after the card instead of over it, so an open keyboard on a small phone leaves room for the words. */
.tn-typing .foot{position:static}
/* The next lesson's "Did you do your task?" screen shows what they wrote. */
.tn-said{display:flex;flex-direction:column;gap:6px;border-left:4px solid var(--ink);padding:2px 0 2px 14px;min-width:0} /* a quote of their own words, not a box to type in */
.tn-said .lab{color:var(--ink)}
.tn-text{font:500 18px/1.45 var(--f);white-space:pre-wrap;overflow-wrap:break-word;word-break:break-word}
/* The roadmap box that opens Your answers, and the Copy button. */
.tn-go,.tn-copy{appearance:none;-webkit-appearance:none;align-self:flex-start;min-height:48px;padding:0 18px;margin-top:6px;cursor:pointer;
  background:var(--paper);color:var(--ink);border:2px solid var(--ink);border-radius:14px;box-shadow:3px 3px 0 var(--ink);
  font:700 17px/1 var(--f);transition:transform .08s ease,box-shadow .08s ease}
.tn-go:active,.tn-copy:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.tn-go:focus-visible,.tn-copy:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
/* The Your answers screen: one card per lesson, top to bottom. */
.top.tn-bar{justify-content:flex-start}
.mid.tn-mid{justify-content:flex-start;gap:18px;padding-top:14px}
.tn-top{display:flex;flex-direction:column;gap:10px}
.tn-top:focus{outline:none}
.tn-item{background:var(--card);border:2.5px solid var(--ink);border-radius:20px;box-shadow:6px 6px 0 var(--ink);padding:18px 16px;display:flex;flex-direction:column;gap:10px;margin-right:6px;min-width:0}
.tn-h{font:800 clamp(22px,6vw,25px)/1.12 var(--f);letter-spacing:-.02em;text-wrap:balance;overflow-wrap:break-word}
.tn-task{font:500 16px/1.45 var(--f);color:var(--soft);text-wrap:pretty}

/* ============ account: save progress with Google (shows only when sign-in is on) ============ */
.card.acct .h mark{background:linear-gradient(to top,var(--volt) 0,var(--volt) .42em,transparent .42em);color:inherit;padding:0 .04em}
.acct-err{font:600 17px/1.4 var(--f);background:var(--blush);border:2px solid var(--ink);border-radius:12px;padding:10px 13px}
/* Google's own logo, unchanged, on a white button with dark text (their light style) */
.gbtn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:66px;padding:14px 18px;background:#fff;color:#1f1f1f;
  border:2.5px solid var(--ink);border-radius:16px;box-shadow:5px 5px 0 var(--ink);font:800 clamp(21px,5.8vw,24px)/1.1 var(--f);letter-spacing:-.01em;text-decoration:none;
  -webkit-tap-highlight-color:transparent;transition:transform .08s ease,box-shadow .08s ease}
.gbtn:active{transform:translate(4px,4px);box-shadow:1px 1px 0 var(--ink)}
.gbtn:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.gbtn svg.g{width:24px;height:24px;flex:none}
.foot .small{font:500 15px/1.4 var(--f);color:var(--soft);text-align:center;margin-top:12px;text-wrap:pretty}
.d-hi{font:700 18px/1.3 var(--f)}
.mid.dash .d-acct{order:6}
.mid.dash .sitefoot{order:7}
.d-acts{display:flex;flex-wrap:wrap;gap:0 18px}
.d-acts .quiet{align-self:auto;min-width:0;padding:0;margin:0;font-size:17px}
/* The course page: a quiet sign-in link under the first Start button */
.lp-signin{justify-self:start;font:700 16px/1.3 var(--f);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;padding:10px 0}
.lp-signin[hidden]{display:none}
.lp-signin:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* ============ Watch (a drawn recap) and Sort it (an activity) ============ */
/* Watch: the drawing, its caption and the scene dots. Drawn in SVG and moved with CSS. Only the scene on screen is drawn. */
.card.recap{gap:14px;padding:20px 18px 18px}
.rc-screen{border:2px solid var(--ink);border-radius:14px;background:var(--paper);overflow:hidden}
.rcf{display:block;width:100%;height:auto}
.rc-cap{display:flex;flex-direction:column;gap:8px;min-height:150px}
.rc-cap .h{font-size:clamp(26px,7.4vw,34px);line-height:1.05;letter-spacing:-.03em}
.rc-cap .b{font-size:clamp(18px,5vw,20px);line-height:1.42}
.rc-dots{display:flex;gap:6px;justify-content:center}
.rc-dot{appearance:none;-webkit-appearance:none;width:44px;height:44px;border:0;background:none;padding:0;cursor:pointer;display:grid;place-items:center}
.rc-dot::after{content:"";width:12px;height:12px;border-radius:50%;border:2px solid var(--ink);background:var(--card)}
.rc-dot[aria-current=step]::after{background:var(--ink);width:26px;border-radius:999px}
.rc-dot:focus-visible,.bin:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
/* the drawing: shared marks */
.rcf text{font:800 18px var(--f);fill:var(--ink);text-anchor:middle}
.rcf text.st{text-anchor:start}
.rcf text.en{text-anchor:end}
.rcf .mono{font:500 11px var(--m);letter-spacing:.12em;fill:var(--ink)}
.rcf .mono.small{font-size:10px}
.rcf .glbl{font:500 12px var(--m);letter-spacing:.14em}
.rcf .volt{fill:var(--volt);stroke:var(--ink);stroke-width:2.5}
.rcf .tomato{fill:var(--tomato);stroke:var(--ink);stroke-width:2.5}
.rcf .card-fill{fill:var(--card);stroke:var(--ink);stroke-width:2.5}
.rcf .ink{fill:var(--ink)}
.rcf line,.rcf .faint{stroke:var(--ink);stroke-width:2.5;stroke-linecap:round;fill:none}
.rcf .faint{stroke:var(--faint);stroke-width:5}
.rcf g{transform-box:fill-box;transform-origin:center}
.rcf *{animation-fill-mode:both!important}
/* path */
.rcf .trail{fill:none;stroke:var(--ink);stroke-width:3;stroke-dasharray:6 8;opacity:.45}
.rcf .stone circle{fill:var(--card);stroke:var(--ink);stroke-width:2.5}
.rcf .stone text{font-size:16px}
.rcf .stone{animation:rc-pop .35s cubic-bezier(.2,1.6,.4,1)}
.rcf .s2{animation-delay:.15s}.rcf .s3{animation-delay:.3s}.rcf .s4{animation-delay:.45s}.rcf .s5{animation-delay:.6s}
.rcf .hop{animation:rc-hop .7s 1s cubic-bezier(.3,1.4,.5,1)}
/* start and end */
.rcf .track{stroke:var(--faint);stroke-width:18}
.rcf .grow{fill:var(--ink);transform-box:fill-box;transform-origin:left center;animation:rc-grow 1.6s .4s cubic-bezier(.5,0,.3,1)}
.rcf .f-start{animation:rc-pop .35s .1s cubic-bezier(.2,1.6,.4,1)}
.rcf .f-end{animation:rc-pop .35s 2s cubic-bezier(.2,1.6,.4,1)}
.rcf .result{animation:rc-rise .5s 2.4s cubic-bezier(.2,1.4,.4,1)}
/* build the school, teach in it */
.rcf .divide{stroke-dasharray:4 7;opacity:.5}
.rcf .br{fill:var(--card);stroke:var(--ink);stroke-width:2.5;animation:rc-drop .3s cubic-bezier(.3,1.5,.5,1)}
.rcf .b2{animation-delay:.2s}.rcf .b3{animation-delay:.4s}.rcf .b4{animation-delay:.6s}.rcf .b5{animation-delay:.8s}.rcf .b6{animation-delay:1s}.rcf .b7{animation-delay:1.25s}
.rcf .b7{fill:var(--volt)}
.rcf .stamp rect{fill:var(--volt);stroke:var(--ink);stroke-width:2}
.rcf .st3{animation:rc-stamp .3s 1.7s cubic-bezier(.2,1.6,.4,1)}
.rcf .st3b{animation:rc-stamp .3s 2.1s cubic-bezier(.2,1.6,.4,1)}
.rcf .ring{fill:none;stroke:var(--ink);stroke-width:3;stroke-dasharray:150 13}
.rcf .arrowhead{fill:var(--ink)}
.rcf .desk line{stroke-width:2}
.rcf .loop{animation:rc-spin 3s linear infinite}
/* the project manager */
.rcf .lane{fill:none;stroke:var(--ink);stroke-width:2;stroke-dasharray:4 6;opacity:.35}
.rcf .pmt{fill:var(--volt);font-size:16px}
.rcf .pm{animation:rc-pop .4s .1s cubic-bezier(.2,1.6,.4,1)}
.rcf .who{animation:rc-pop .35s .4s cubic-bezier(.2,1.6,.4,1)}
.rcf .goal{animation:rc-pop .35s .7s cubic-bezier(.2,1.6,.4,1)}
.rcf .dot{fill:var(--volt);stroke:var(--ink);stroke-width:2;offset-rotate:0deg;opacity:0;animation:rc-travel 2.4s 1.1s cubic-bezier(.5,0,.3,1) infinite}
.rcf .d1{offset-path:path("M48 60 Q 170 60 286 58")}
.rcf .d2{offset-path:path("M48 120 Q 170 110 286 64");animation-delay:1.4s}
.rcf .d3{offset-path:path("M48 180 Q 170 170 288 70");animation-delay:1.7s}
/* you have done this before */
.rcf .mt{font-size:17px}
.rcf .tk{fill:none;stroke:var(--volt);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.rcf .memo{animation:rc-deal .45s cubic-bezier(.2,.9,.3,1)}
.rcf .m1{transform:rotate(-4deg)}.rcf .m3{transform:rotate(4deg)}
.rcf .m2{animation-delay:.25s}.rcf .m3{animation-delay:.5s}
.rcf .tick{animation:rc-stamp .3s 1.2s cubic-bezier(.2,1.6,.4,1)}
.rcf .t2{animation-delay:1.5s}.rcf .t3{animation-delay:1.8s}
@keyframes rc-pop{from{transform:scale(0);opacity:0}to{transform:scale(1);opacity:1}}
@keyframes rc-hop{0%{transform:translateY(-60px);opacity:0}60%{transform:translateY(3px);opacity:1}100%{transform:none;opacity:1}}
@keyframes rc-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes rc-rise{from{transform:translateY(24px) scale(.6);opacity:0}to{transform:none;opacity:1}}
@keyframes rc-drop{from{transform:translateY(-40px);opacity:0}to{transform:none;opacity:1}}
@keyframes rc-stamp{from{transform:scale(1.8) rotate(-8deg);opacity:0}to{transform:rotate(-3deg);opacity:1}}
@keyframes rc-spin{to{transform:rotate(360deg)}}
@keyframes rc-travel{0%{offset-distance:0%;opacity:0}10%{opacity:1}85%{opacity:1}100%{offset-distance:100%;opacity:0}}
@keyframes rc-deal{from{transform:translateY(30px) rotate(10deg);opacity:0}}
/* Paused: every moving part holds still. Still (before the first tap, or less motion asked for): each scene shows complete. */
.rcf.paused *{animation-play-state:paused}
.rcf.still *{animation-duration:.001s!important;animation-delay:0s!important;animation-iteration-count:1!important}
.rcf.still .dot{animation:none!important;opacity:1;offset-distance:70%}
@media (prefers-reduced-motion:reduce){.rcf .dot{opacity:1;offset-distance:70%}}

/* Sort it: the item, the two big buttons side by side at the bottom, and the end of the round */
.h.item{font:800 clamp(24px,6.8vw,30px)/1.15 var(--f);letter-spacing:-.025em;text-wrap:balance;min-height:3.45em;display:flex;align-items:center}
.bins{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bin{appearance:none;-webkit-appearance:none;min-height:78px;border:2.5px solid var(--ink);border-radius:16px;background:var(--card);
  box-shadow:5px 5px 0 var(--ink);font:800 clamp(19px,5.4vw,23px)/1.1 var(--f);letter-spacing:-.02em;padding:12px 8px;cursor:pointer;color:var(--ink);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;transition:transform .08s ease,box-shadow .08s ease}
.bin small{font:500 11px/1 var(--m);letter-spacing:.12em;text-transform:uppercase;color:var(--soft)}
.bin:active{transform:translate(4px,4px);box-shadow:1px 1px 0 var(--ink)}
.score{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.score b{font:800 clamp(48px,14vw,64px)/.9 var(--f);letter-spacing:-.05em}
.score span{font:700 20px/1.2 var(--f)}
.slist{display:flex;flex-direction:column;gap:8px}
.slist li{display:grid;grid-template-columns:22px 1fr auto;gap:10px;align-items:center;font:600 16px/1.25 var(--f);border-top:2px solid var(--faint);padding-top:8px}
.slist svg{width:20px;height:20px}
.slist em{font:500 11px/1 var(--m);font-style:normal;letter-spacing:.1em;text-transform:uppercase;color:var(--soft);white-space:nowrap}

/* ---------- the account in the top row of the roadmap screen (signed in or signed out, always on screen) ---------- */
.top.dash.has-acct{flex-wrap:wrap}
.top.dash .statnote{flex:1 0 100%;margin:0;overflow-wrap:anywhere}
.top.dash .acctchip{margin-left:auto;flex:none}
.acctchip.in{width:48px;min-width:48px;padding:0;justify-content:center;background:var(--ink);color:var(--volt)}
.acctchip.in b{font:800 21px/1 var(--f)}
.acctchip.in[aria-expanded=true]{background:var(--ink);box-shadow:0 0 0 3px var(--volt),0 0 0 5px var(--ink)}
.acctchip.out{padding:0 14px 0 10px;font:800 16px/1 var(--f)}
.acctchip.out svg{flex:none;width:22px;height:22px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.acctchip.out.tight{width:48px;min-width:48px;padding:0;justify-content:center}
.acctchip.out.tight span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* room for it on phones: the three numbers sit a little tighter, only when the account shows */
@media (max-width:400px){
  .top.dash.has-acct{gap:8px}
  .top.dash.has-acct .chips{gap:6px}
  .top.dash.has-acct .chip{padding:0 10px 0 7px}
  .top.dash.has-acct .acctchip.in,.top.dash.has-acct .acctchip.out.tight{width:46px;min-width:46px;padding:0}
  .top.dash.has-acct .acctchip.out{padding:0 11px 0 8px;font-size:15.5px}
}
@media (max-width:340px){
  .top.dash.has-acct{gap:6px}
  .top.dash.has-acct .chips{gap:5px}
  .top.dash.has-acct .chip{padding:0 8px 0 6px;font-size:16px}
  .top.dash.has-acct .chip .ic{width:20px;height:20px}
  .top.dash.has-acct .acctchip.in,.top.dash.has-acct .acctchip.out.tight{width:44px;min-width:44px}
}

/* ============ the roadmap with 12 modules (design A: your module opens on the road) ============ */
.ic .f-card{fill:var(--card)}
/* Module stops: the same circles. The module you are in has a solid outline and a small shadow; volt stays for "Next". */
.is-cur .node,.is-started .node{background:var(--card);cursor:pointer}
.is-cur .node{box-shadow:3px 3px 0 var(--ink)}
.is-cur .lbl span{font-size:19px;font-weight:800;letter-spacing:-.01em}
.is-done button.node,.is-locked button.node{cursor:pointer}
.lbl small{font:500 13px/1.2 var(--m);letter-spacing:.08em;text-transform:uppercase;color:var(--soft)}
/* Coming soon: a dotted circle with an hourglass. Quieter than a lock. */
.is-soon .node{border-style:dotted;border-width:3px;border-color:rgba(27,26,28,.5);background:var(--paper);cursor:pointer}
.is-soon .node .ic{opacity:.8}
.is-soon .lbl span{color:var(--soft);font-weight:500}
/* The reading: a square stop, so it reads as a page, not a lesson */
.sq .node{border-radius:16px}
/* A soft panel behind the lessons of the module you are in */
.m-band{position:absolute;left:-4px;right:2px;border:2px dashed rgba(27,26,28,.22);border-radius:26px;background:rgba(255,250,240,.75)}
/* One module's own road: the way back to all modules */
.m-back{appearance:none;-webkit-appearance:none;border:0;background:none;cursor:pointer;align-self:flex-start;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 4px 0 0;margin:-6px 0 -4px;
  font:500 13px/1 var(--m);letter-spacing:.1em;text-transform:uppercase;color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.m-back svg{width:18px;height:18px;fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.m-back:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.h.big.m-mh{font-size:clamp(30px,8.6vw,44px)}
.m-key{display:flex;gap:8px;align-items:flex-start}
.m-key .ic{width:22px;height:22px;margin-top:1px;flex:none}
/* The yellow note on the roadmap ("The course has grown", "New lessons"): right after the next lesson on a phone */
.mid.dash .d-box.m-note{order:2;background:var(--sun)}
/* The note for a "coming soon" stop, with an OK button */
.m-toast{position:fixed;z-index:9;left:16px;right:16px;bottom:112px;max-width:468px;margin:0 auto;font:500 17px/1.4 var(--f);
  background:var(--card);border:2.5px solid var(--ink);border-radius:16px;box-shadow:5px 5px 0 var(--ink);padding:13px 15px}
@media (min-width:900px){.m-toast{bottom:28px;left:auto;right:28px;width:420px;margin:0}}
.m-ok{appearance:none;-webkit-appearance:none;display:block;margin:8px 0 0 auto;min-height:44px;min-width:72px;border:2px solid var(--ink);border-radius:12px;background:var(--volt);color:var(--ink);font:800 17px/1 var(--f);cursor:pointer}
.m-ok:focus-visible{outline:3px solid var(--ink);outline-offset:3px}

/* ============ two courses: the end of the intro and the phase gate ============ */
/* The card that points to the full course: first on the screen */
.mid.dash .d-next.d-more{order:0}
/* Cards that act: the card that shows the next step does what the big button does. Its title is the one button in it, and the
   button's tap area (::after) covers the whole card. The keyboard ring goes round the whole card. The big button inside a card
   on a wide screen stays on top. */
.d-next,.d-box{position:relative}
.d-tap{appearance:none;-webkit-appearance:none;display:block;width:100%;border:0;background:none;padding:0;margin:0;color:inherit;font:inherit;
  letter-spacing:inherit;word-spacing:inherit;text-transform:inherit;text-align:left;text-wrap:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.d-tap::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:20px}
.d-box .d-tap::after{border-radius:14px}
.d-tap:focus-visible{outline:none}
.d-tap:focus-visible::after{outline:3px solid var(--ink);outline-offset:4px}
.d-go{position:relative;z-index:1}
/* "Go again from Lesson 1": an underlined link on its own line, under the sentence about it */
.note.again{margin-top:-2px}
.linkbtn{appearance:none;-webkit-appearance:none;border:0;background:none;padding:0;margin:0;min-height:44px;text-align:left;cursor:pointer;
  font:700 18px/1.3 var(--f);color:var(--ink);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.linkbtn:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:4px}
/* The phase gate: the player's own card, with one small line on what the words mean */
.gate .h{font-size:clamp(34px,9.6vw,44px)}
.gate-what{font:500 16px/1.45 var(--f);color:var(--soft);border-top:2px dashed var(--faint);padding-top:14px;text-wrap:pretty;overflow-wrap:break-word}
/* The chip note floats just under the sticky top row: always in view, pushes nothing, and closes when the page is scrolled. */
.top.dash .statnote{position:absolute;left:0;right:6px;top:calc(100% - 2px);flex:none;max-width:460px;box-shadow:3px 3px 0 var(--ink);z-index:4}
.d-share{background:var(--card)}
.share-li{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:var(--volt);color:var(--ink);
  border:2px solid var(--ink);border-radius:12px;box-shadow:3px 3px 0 var(--ink);font:800 16px/1.1 var(--f);min-height:44px;padding:10px 14px}
.share-li:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.share-li:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.badge-open{appearance:none;-webkit-appearance:none;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#fff;color:var(--ink);
  border:2px solid var(--ink);border-radius:12px;box-shadow:3px 3px 0 var(--ink);font:800 15px/1.1 var(--f);min-height:44px;padding:10px 14px;cursor:pointer}
.badge-open:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
.badge-open:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.badge-open[disabled]{opacity:.65;cursor:default}
.opt.is-picked{background:var(--volt);border-color:var(--ink);box-shadow:4px 4px 0 var(--ink);font-weight:700}
.ft-input{width:100%;min-height:50px;padding:10px 14px;border:2.5px solid var(--ink);border-radius:14px;background:#fff;color:var(--ink);font:600 18px/1.3 var(--f)}
.ft-input:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.ft-mods{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.ft-mod{border:2px solid var(--ink);border-radius:14px;background:#fff;padding:12px 14px}
.ft-mod summary{cursor:pointer;font:600 16px/1.35 var(--f);display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px}
.ft-miss{margin-top:12px;padding-top:10px;border-top:1.5px solid var(--faint);display:flex;flex-direction:column;gap:6px}
.ft-mq{margin:0;font:700 15px/1.35 var(--f)}
.ft-ma{margin:0;font:500 14px/1.4 var(--f)}
.ft-mwhy{margin:0;font:500 14px/1.4 var(--f);color:var(--soft)}
.ft-pass{position:relative;overflow:hidden}
.ft-confetti{position:relative;height:22px;display:flex;justify-content:space-between;pointer-events:none;margin-bottom:4px}
.ft-confetti i{width:10px;height:10px;border:1.5px solid var(--ink);border-radius:2px;background:#d4af37;animation:ftdrop .9s ease-out both}
.ft-confetti i:nth-child(even){background:var(--volt);border-radius:50%}
.ft-confetti i:nth-child(3n){background:#f7b955;transform:rotate(20deg)}
@keyframes ftdrop{0%{transform:translateY(-18px) rotate(0deg);opacity:0}40%{opacity:1}100%{transform:translateY(4px) rotate(35deg);opacity:1}}
@media (prefers-reduced-motion: reduce){.ft-confetti i{animation:none!important;transform:none!important;opacity:1}}

/* AdSense 300x250 slot (>= 136px away from every link or button) and Your privacy choices modal */
.ad-band{padding:136px 10px;background:var(--paper);border-top:2px dashed var(--faint);display:flex;flex-direction:column;align-items:center;gap:8px}
.ad-band.ad-finish{padding:136px 0 48px;background:transparent;border-top:0}
.ad-band[hidden]{display:none!important}
.ad-label{margin:0;font:500 12px/1.2 var(--m);letter-spacing:.1em;text-transform:uppercase;color:var(--soft)}
body[data-tone=volt] .ad-label{color:var(--ink)}
.ad-box{width:100%;max-width:300px;height:250px;background:#fff;border:2px solid var(--ink);border-radius:14px;display:grid;place-items:center;overflow:hidden}
.ad-preview{width:100%;height:100%;padding:18px;background:var(--card);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;font:500 13.5px/1.35 var(--f);color:var(--soft)}
.ad-preview-kicker{font:500 11px/1.2 var(--m);letter-spacing:.08em;text-transform:uppercase;color:var(--ink)}
.ad-preview b{font:800 16px/1.1 var(--f);color:var(--ink)}
.foot-choice{appearance:none;-webkit-appearance:none;background:none;border:0;padding:8px 0;font:inherit;color:var(--soft);text-decoration:underline;text-underline-offset:4px;cursor:pointer;min-height:44px;display:inline-flex;align-items:center}
.lp-foot .foot-choice{padding:0}
.foot-choice:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.pc-modal{max-width:460px;width:calc(100% - 24px);border:2.5px solid var(--ink);border-radius:20px;box-shadow:7px 7px 0 var(--ink);background:var(--card);color:var(--ink);padding:0}
.pc-modal::backdrop{background:rgba(27,26,28,.55)}
.pc-in{padding:22px;display:flex;flex-direction:column;gap:14px}
.pc-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pc-title{margin:0;font:800 26px/1.05 var(--f);letter-spacing:-.02em}
.pc-close{appearance:none;width:40px;height:40px;border:2px solid var(--ink);border-radius:10px;background:#fff;font:800 22px/1 var(--f);cursor:pointer}
.pc-p{margin:0;font:500 15.5px/1.45 var(--f);color:var(--ink)}
.pc-small{font-size:14px;color:var(--soft)}
.pc-opt{display:grid;grid-template-columns:22px 1fr;gap:12px;align-items:start;padding:14px;border:2px solid var(--ink);border-radius:14px;background:var(--paper);cursor:pointer}
.pc-opt input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--ink)}
.pc-opt b{display:block;font:800 16px/1.2 var(--f);margin-bottom:4px}
.pc-opt small{display:block;font:500 14px/1.38 var(--f);color:var(--soft)}
.pc-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.pc-save,.pc-region,.pc-cancel{appearance:none;font:800 15px/1 var(--f);padding:12px 16px;border:2px solid var(--ink);border-radius:12px;cursor:pointer;min-height:44px}
.pc-save{background:var(--ink);color:var(--volt)}
.pc-region,.pc-cancel{background:#fff;color:var(--ink)}
.pc-status{margin:0;font:700 14px/1.3 var(--f);color:var(--ink)}



