/* LSAT Unplugged phone app. Tokens match /drill (drill.html) so the two read as one product. */
:root{
  --paper:#f5f1e8; --paper-2:#ece5d6; --line:#e3dac8;
  --ink:#15191c; --slate:#5e92a8; --slate-ink:#2e5666; --slate-soft:#e4eef2;
  --taupe:#7f756b; --muted:#5c5349;
  --ok:#3f7d5a; --ok-soft:#e3efe7; --bad:#a4453a; --bad-soft:#f4e3e0;
  --card:#fff; --card-2:#fbf9f4; --on-ink:#fff;
  --tabs-h:58px; --sat:env(safe-area-inset-top,0px); --sab:env(safe-area-inset-bottom,0px);
  --read:17px;
}
:root[data-lu-eff="dark"]{
  --paper:#15191c; --paper-2:#1f2429; --line:#3a4249; --ink:#f2efe8; --card:#1c2126; --card-2:#232a30;
  --taupe:#b5aca0; --muted:#c9c1b5; --slate-soft:#243a44; --slate-ink:#9cc4d4;
  --ok:#7cc79a; --ok-soft:#1f3a2c; --bad:#ec8b80; --bad-soft:#4a2320; --on-ink:#15191c;
  color-scheme:dark;
}
*{box-sizing:border-box; margin:0; padding:0}
html{-webkit-text-size-adjust:100%; text-size-adjust:100%}
body{
  background:var(--paper); color:var(--ink);
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:16px; line-height:1.5; font-variant-numeric:tabular-nums;
  min-height:100vh; min-height:100dvh;
  overscroll-behavior-y:contain; -webkit-tap-highlight-color:transparent;
}
button,input{font:inherit; color:inherit}
button{cursor:pointer; background:none; border:0; text-align:inherit; touch-action:manipulation}
a{color:var(--slate-ink)}
[hidden]{display:none!important}
.sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap}
[tabindex="-1"]:focus{outline:none}
:focus-visible{outline:2px solid var(--slate); outline-offset:2px}

.app{max-width:560px; margin:0 auto; min-height:100vh; min-height:100dvh; display:flex; flex-direction:column}

/* ---------- chrome */
.top{display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:calc(var(--sat) + 8px) 20px 0; min-height:calc(var(--sat) + 56px)}
.wordmark{height:22px; width:auto; display:block}
:root[data-lu-eff="dark"] .wordmark{content:url("img/lsatunplugged-wordmark-white.png")}
.streak{display:inline-flex; align-items:baseline; gap:6px; min-height:44px; padding:0 2px; color:var(--muted); font-size:13px}
.streak span:first-child{font-weight:800; font-size:17px; color:var(--ink)}

.banner{display:flex; align-items:center; justify-content:space-between; gap:12px; margin:8px 20px 0; padding:10px 14px;
  background:var(--ink); color:var(--on-ink); border-radius:10px; font-size:14px; font-weight:500}
.banner button{min-height:36px; padding:0 12px; border-radius:8px; background:var(--on-ink); color:var(--ink); font-weight:600}
.banner-quiet{background:var(--paper-2); color:var(--muted); font-weight:400}

main{flex:1; display:flex; flex-direction:column}
.screen{display:none; padding:18px 20px calc(var(--tabs-h) + var(--sab) + 28px)}
.screen.on{display:block}
.app.in-drill .top,.app.in-drill .tabs,.app.in-drill .banner{display:none}
.app.in-drill .screen{padding:0}

h1{font-weight:900; font-size:30px; line-height:1.08; letter-spacing:-.025em; text-wrap:balance}
h2{font-weight:800; font-size:18px; line-height:1.25; letter-spacing:-.01em}
h2.sec{margin:36px 0 10px}
.lede{margin-top:10px; color:var(--muted); font-size:17px; line-height:1.45}
.eyebrow{font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); margin-bottom:6px}
.fine{margin-top:22px; font-size:14px; line-height:1.5; color:var(--muted)}

/* ---------- buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 18px;
  border-radius:12px; font-weight:600; font-size:16px; text-decoration:none; text-align:center; transition:transform .08s ease, opacity .15s}
.btn:active{transform:scale(.985)}
.btn-primary{background:var(--slate-ink); color:#fff}
:root[data-lu-eff="dark"] .btn-primary{background:var(--slate); color:#0e1214}
.btn-primary:disabled{opacity:.38}
#s-today.loading #goQuick:disabled{opacity:.72}
#s-today.loading #quickSub::after{content:""; display:inline-block; width:1.2em; text-align:left; animation:dots 1.2s steps(4,end) infinite}
@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}
.btn-ink{background:var(--ink); color:var(--on-ink)}
.btn-ghost{color:var(--muted); border:1px solid var(--line); background:transparent}
.btn-danger{background:var(--bad); color:#fff}
.btn-lg{min-height:54px; width:100%; font-size:17px}
.btn-xl{width:100%; min-height:84px; margin-top:22px; flex-direction:column; gap:2px; border-radius:16px; padding:14px 18px}
.btn-main{font-weight:800; font-size:21px; letter-spacing:-.01em}
.btn-sub{font-weight:400; font-size:14px; opacity:.86}
.icon-btn{display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:12px; color:var(--muted)}
.stack{display:grid; gap:10px; margin-top:26px}

/* ---------- today */
.goal{margin-top:18px}
.goal-row{display:flex; justify-content:space-between; align-items:baseline; font-size:14px; color:var(--muted); margin-bottom:7px}
.goal-n b{color:var(--ink); font-weight:800}
.bar{height:8px; border-radius:99px; background:var(--paper-2); overflow:hidden}
.bar i{display:block; height:100%; width:0; border-radius:99px; background:#568aa0; transition:width .35s ease}
.bar-thin{height:4px}

.rows{margin-top:22px; border-top:1px solid var(--line)}
h2.sec + .rows{margin-top:0}
.row{display:flex; flex-direction:column; gap:2px; width:100%; min-height:64px; padding:13px 28px 13px 2px; justify-content:center;
  border-bottom:1px solid var(--line); text-decoration:none; color:inherit; position:relative}
.row::after{content:""; position:absolute; right:6px; top:50%; width:8px; height:8px; margin-top:-5px;
  border-right:2px solid var(--taupe); border-top:2px solid var(--taupe); transform:rotate(45deg); opacity:.7}
.row-t{font-weight:600; font-size:16px; line-height:1.3}
.row-s{font-size:14px; color:var(--muted); line-height:1.35}
.row-flat::after{display:none}
.row-flat{padding-right:2px}
.row-danger .row-t{color:var(--bad)}
.row .tag{font-weight:500; font-size:13px; color:var(--muted)}

.hero-n{margin-top:14px; display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px}
.hero-n.early b{font-size:44px; letter-spacing:-.03em; line-height:1.05}
.hero-n b{font-weight:900; font-size:76px; line-height:.95; letter-spacing:-.045em}
.hero-n span{font-size:17px; color:var(--muted)}
.hero-s{margin-top:8px; font-size:16px; color:var(--muted)}
.hero-s span{color:var(--ink); font-weight:600}
h1 .big{font-size:76px; line-height:.95; letter-spacing:-.045em; margin-right:2px}
.card.install{background:var(--paper-2); border:0}

/* analytics 10-18 (app): the 3 cards, the "Too few to call yet" line, tappable words, the glossary bottom sheet */
.an-card .an-h{font-size:18px; font-weight:800; line-height:1.3; margin:0 0 4px}
.an-card .fine{margin:0 0 12px}
.an-bar{display:flex; height:12px; border-radius:6px; overflow:hidden; background:var(--paper-2); margin:4px 0 12px}
.an-bar i{display:block; height:100%}
.an-c0{background:var(--slate)} .an-c1{background:var(--taupe)} .an-c2{background:var(--ink)} .an-c3{background:var(--slate-soft); box-shadow:inset 0 0 0 1px var(--slate)}
.an-list{list-style:none; margin:0; padding:0}
.an-list li{display:flex; align-items:center; gap:10px; padding:2px 0; border-top:1px solid var(--line); font-size:15px; line-height:1.4}
.an-list li:first-child{border-top:0}
.an-list .sw{flex:0 0 12px; height:12px; border-radius:3px}
.an-list .lab{flex:1 1 auto; min-width:0}
.an-list .num{flex:0 0 auto; font-weight:700}
.an-tip{margin:12px 0 0; font-size:15px; line-height:1.45}
.an-tm{margin:0 0 6px; font-size:15px; line-height:1.45}
.an-card .btn{margin-top:12px; width:100%}
.an-few{margin-top:10px}
.an-gl{margin-top:14px}
.gl-t{display:inline; padding:4px 0; margin:-4px 0; font:inherit; color:inherit; text-align:inherit; letter-spacing:inherit; line-height:inherit; text-decoration:underline dotted; text-decoration-color:var(--taupe); text-decoration-thickness:1px; text-underline-offset:3px}
.an-list .gl-t{display:inline-flex; align-items:center; min-height:44px; margin:0; text-align:left}
.gl-back{position:fixed; inset:0; z-index:9998; background:rgba(21,25,28,.42)}
.gl-sheet{position:fixed; z-index:9999; left:0; right:0; bottom:0; max-width:560px; margin:0 auto; max-height:72vh; max-height:72dvh; display:flex; flex-direction:column;
  background:var(--card); color:var(--ink); border:1px solid var(--line); border-bottom:0; border-radius:14px 14px 0 0; box-shadow:0 -12px 40px rgba(21,25,28,.25); padding:18px 20px calc(14px + var(--sab))}
.gl-in{overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; min-height:0}
.gl-name{font-size:18px; font-weight:800; line-height:1.3; margin:0 0 6px}
.gl-def{margin:0 0 8px; font-size:16px; line-height:1.5}
.gl-next{margin:0 0 4px; font-size:15px; line-height:1.5; color:var(--muted)}
.gl-grp{font-size:17px; font-weight:800; color:var(--slate-ink); margin:22px 0 4px; padding-top:14px; border-top:1px solid var(--line)}
.gl-dl dt{font-weight:700; font-size:15px; margin-top:10px}
.gl-dl dt:first-child{margin-top:4px}
.gl-dl dd{margin:2px 0 0; font-size:15px; line-height:1.45}
.gl-dl dt.on{color:var(--slate-ink)} .gl-dl dt.on + dd{background:var(--slate-soft); border-radius:4px}
.gl-foot{display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; border-top:1px solid var(--line); margin-top:12px; padding-top:12px}
.gl-foot .btn{min-height:44px}
/* shapes 10-16 (app): "By passage shape" rows reuse .type; the avg time sits under the bar, a practice-only row has no bar */
.sh-t{margin:6px 0 0; font-size:13px; color:var(--muted)}
.type.sh-po .type-h{margin-bottom:0}
/* nextsteps 10-14 (app): "Work on this next" (the web's .nsCard) */
.ns-card ol{list-style:none; margin:0; padding:0}
.ns-card li{display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; padding:12px 0; border-top:1px solid var(--line)}
.ns-card li:first-child{border-top:0; padding-top:4px}
.ns-card li p{flex:1 1 260px; margin:0; font-size:15px; line-height:1.45; color:var(--ink)}
.ns-card li .btn{flex:0 0 auto}
.ns-card .fine{margin-top:8px}
@media (max-width:560px){.ns-card li .btn{width:100%}}
.card{margin-top:26px; padding:18px; background:var(--card); border:1px solid var(--line); border-radius:16px}
.card p{margin-top:8px; color:var(--muted); font-size:15px; line-height:1.5}
.card-actions{display:flex; gap:10px; margin-top:14px}
.card .btn-lg{margin-top:14px}
.cta{background:var(--slate-soft); border-color:transparent}
.cta p{color:var(--ink); opacity:.84}

.empty{margin-top:26px; padding:22px 18px; border:1px dashed var(--line); border-radius:16px; color:var(--muted); font-size:15px}
.empty p + p{margin-top:6px}
.empty b{color:var(--ink)}

/* ---------- drill */
#s-drill.on,#s-look.on{display:flex; flex-direction:column; min-height:100vh; min-height:100dvh}
.qbar{position:sticky; top:0; z-index:5; display:flex; align-items:center; gap:8px;
  padding:calc(var(--sat) + 6px) 12px 8px; background:var(--paper); border-bottom:1px solid var(--line)}
.qprog{flex:1; min-width:0}
.qprog-t{font-size:13px; font-weight:600; color:var(--muted); margin-bottom:6px}
.timer{min-width:64px; min-height:44px; padding:0 10px; border-radius:12px; font-weight:600; font-size:15px; color:var(--muted); text-align:right}
.timer.over{color:var(--bad)}
.timer.off{opacity:.45; font-weight:400; font-size:13px}

.seg{position:sticky; top:calc(var(--sat) + 59px); z-index:4; display:grid; grid-template-columns:1fr 1fr; gap:4px; margin:12px 16px 0; padding:4px; background:var(--paper-2); border-radius:12px; box-shadow:0 0 0 12px var(--paper)}
.seg button{min-height:44px; border-radius:9px; font-weight:600; font-size:15px; color:var(--muted); text-align:center}
.seg button[aria-selected="true"]{background:var(--card); color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,.08)}

.pane{flex:1; padding:18px 16px 176px}
.q-tag,.p-label{font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); margin-bottom:10px}
.stim,.p-text{font-size:var(--read); line-height:1.58; white-space:pre-wrap; overflow-wrap:break-word}
.p-text{min-height:40vh}
.p-text h3{font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); margin:0 0 8px}
.p-text p + p,.p-text h3 + p,.p-text p + h3{margin-top:14px}
.p-text p[data-n]{position:relative}
.p-text p[data-n]::before{content:attr(data-n); display:block; margin-bottom:2px; font-size:12px; font-weight:600; line-height:1.2; color:var(--muted)}
.p-text,.stim{white-space:normal}
.stim p + p{margin-top:12px}
.stem{margin-top:16px; font-size:var(--read); line-height:1.5; font-weight:600}
.stim:empty + .stem{margin-top:0}

.pager{position:fixed; left:0; right:0; bottom:0; z-index:6; display:flex; align-items:center; justify-content:space-between; gap:12px;
  max-width:560px; margin:0 auto; padding:12px 20px calc(var(--sab) + 12px); background:var(--paper); border-top:1px solid var(--line)}
.pager-n{font-size:14px; color:var(--muted); font-weight:500}
.pager .btn{min-width:112px}

.choices{list-style:none; margin-top:18px; display:grid; gap:10px}
.choice{display:grid; grid-template-columns:1fr 44px; align-items:stretch; background:var(--card); border:1.5px solid var(--line); border-radius:14px; overflow:hidden}
.pick{display:grid; grid-template-columns:28px 1fr; gap:10px; align-items:start; min-height:60px; padding:15px 4px 15px 12px; width:100%; font-size:calc(var(--read) - 1px); line-height:1.45}
.ltr{display:inline-flex; align-items:center; justify-content:center; width:28px; height:28px; border-radius:50%; border:1.5px solid var(--taupe);
  font-weight:600; font-size:13px; color:var(--muted); margin-top:-2px}
.cut{display:flex; align-items:center; justify-content:center; color:var(--taupe); opacity:.6; border-left:1px solid var(--line)}
.cut svg{width:18px; height:18px}
.choice.sel{border-color:var(--slate-ink); background:var(--slate-soft)}
.choice.sel .ltr{background:var(--slate-ink); border-color:var(--slate-ink); color:#fff}
:root[data-lu-eff="dark"] .choice.sel{border-color:var(--slate)}
:root[data-lu-eff="dark"] .choice.sel .ltr{background:var(--slate); border-color:var(--slate); color:#0e1214}
.choice.out .pick{opacity:.42}
.choice.out .txt{text-decoration:line-through}
.choice.out .cut{opacity:1; color:var(--ink)}
.choices.locked .cut{display:none}
.choices.locked .choice{grid-template-columns:1fr}
.choices.locked .pick{padding-right:12px; cursor:default}
.choice.right{border-color:var(--ok); background:var(--ok-soft)}
.choice.right .ltr{background:var(--ok); border-color:var(--ok); color:#fff}
.choice.wrong{border-color:var(--bad); background:var(--bad-soft)}
.choice.wrong .ltr{background:var(--bad); border-color:var(--bad); color:#fff}
:root[data-lu-eff="dark"] .choice.right .ltr,:root[data-lu-eff="dark"] .choice.wrong .ltr{color:#0e1214}
.choices.locked .choice.out .pick{opacity:.7}

.hint{margin-top:12px; font-size:14px; color:var(--muted)}
.hint-top{margin:-4px 0 12px}
.fine.consent{margin-top:14px; font-size:13px}
.fb{margin-top:22px; padding-top:20px; border-top:1px solid var(--line)}
.fb-head{font-weight:900; font-size:24px; letter-spacing:-.02em; line-height:1.15}
.fb-head.ok{color:var(--ok)} .fb-head.bad{color:var(--bad)}
.fb-meta{margin-top:4px; font-size:14px; color:var(--muted)}
.fb-body{margin-top:14px; font-size:var(--read); line-height:1.58}
.fb-body p + p{margin-top:12px}

.action{position:fixed; left:0; right:0; bottom:0; z-index:6; display:grid; grid-template-columns:auto 1fr; gap:10px;
  max-width:560px; margin:0 auto; padding:12px 20px calc(var(--sab) + 12px); background:var(--paper); border-top:1px solid var(--line)}
.action .btn{min-height:54px; font-size:17px}
.verdict{grid-column:1 / -1; font-weight:800; font-size:17px; line-height:1.2; letter-spacing:-.01em}
.verdict.ok{color:var(--ok)} .verdict.bad{color:var(--bad)}
.action.solo{grid-template-columns:1fr}

/* 9-29 home: about you, calendar reminder */
.abcard{margin-top:22px}
.abcard .ab-q{margin-top:0; font-size:18px; font-weight:800; letter-spacing:-.01em; line-height:1.25; color:var(--ink)}
.abcard .ab-why{margin-top:4px; font-size:14px}
.ab-row{display:flex; flex-wrap:wrap; gap:10px; align-items:center; margin-top:14px}
.ab-row .in{flex:1 1 100%; min-width:0}
.ab-row input[type=date]{-webkit-appearance:none; appearance:none; display:block; text-align:left; line-height:52px}
.ab-row .btn{flex:1 1 auto}
.abcard .ab-foot{display:flex; flex-wrap:wrap; align-items:center; gap:0 18px; margin-top:8px; font-size:13px; color:var(--muted)}
.abcard .ab-foot .lnk{font-weight:500; font-size:13px; color:var(--muted)}
.abcard .ab-done{margin-top:0; font-size:15px; line-height:1.5}
.remind{margin-top:22px; padding-top:16px; border-top:1px solid var(--line); font-size:15px; line-height:1.45; color:var(--muted)}
.remind .rm-t{font-weight:700; color:var(--ink)}
.remind select.in{flex:1 1 100%}
.setsum + .remind{border-top:0; padding-top:4px}
.remind a.btn{text-decoration:none}
#remindHome{margin-top:18px; padding-top:0; border-top:0}

/* 9-29 today's set: home card + summary lines */
.setcard{margin-top:22px}
.setcard .set-t{margin-top:0; font-weight:800; font-size:19px; letter-spacing:-.01em; color:var(--ink)}
.setcard .set-s{margin-top:2px}
.setcard.is-done{background:transparent}
.qs-label{margin:20px 0 -12px; font-size:13px; font-weight:600; color:var(--muted)}
#s-today.has-set #goQuick{min-height:68px; background:transparent; color:var(--ink); border:1.5px solid var(--line)}
#s-today.has-set #goQuick .btn-main{font-size:18px}
#s-today.has-set #goQuick .btn-sub{color:var(--muted); opacity:1}
.setsum{margin-top:22px}
.setline{padding:14px 0; border-top:1px solid var(--line)}
.setline:last-child{border-bottom:1px solid var(--line)}
.setk{font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted)}
.setv{margin-top:3px; font-size:16px; line-height:1.45; color:var(--muted)}
.setline.find{padding:18px 0}
.setline.find .setk{color:var(--slate-ink)}
.setline.find .setv{font-size:20px; font-weight:800; letter-spacing:-.01em; line-height:1.3; color:var(--ink)}

/* 9-29 question loop: why line, confidence buttons, miss chips */
.lnk{display:inline-flex; align-items:center; min-height:44px; padding:0 2px; font-weight:600; font-size:14px; color:var(--slate-ink); text-decoration:underline; text-underline-offset:3px}
.chips{display:flex; flex-wrap:wrap; gap:8px}
.chip{display:inline-flex; align-items:center; min-height:44px; padding:0 14px; border:1.5px solid var(--line); border-radius:99px; background:var(--card); font-size:15px; font-weight:500; color:var(--ink); text-align:left}
.chip:active{border-color:var(--slate-ink)}
.whyq{margin:-2px 0 14px; font-size:14px; line-height:1.45; color:var(--muted)}
.whyq .ctl{display:flex; flex-wrap:wrap; gap:0 18px; margin-top:2px}
.cf-tog{margin-top:6px; text-align:right}
.cf-tog .lnk{font-weight:500; font-size:13px; color:var(--muted)}
.cf-lab{display:none; align-self:center; font-size:14px; font-weight:600; color:var(--muted)}
.cfrow{display:none; grid-column:1 / -1; grid-template-columns:repeat(3,1fr); gap:8px}
.cfrow .btn{padding:0 6px}
.action.cf{grid-template-columns:1fr auto}
.action.cf .cf-lab{display:block; grid-column:1; grid-row:1}
.action.cf #qSkip{grid-column:2; grid-row:1; min-height:44px; font-size:15px}
.action.cf .cfrow{display:grid; grid-row:2}
.action.cf #qCheck{display:none}
#s-drill.has-cf .pane{padding-bottom:calc(var(--sab) + 210px)}
.fb-note{margin-top:10px; font-size:15px; line-height:1.45; font-weight:600; color:var(--muted)}
.fb-note.ok{color:var(--ok)}
/* whyquiet 10-02 */
.whybox{margin-top:16px; font-size:14px; line-height:1.5; color:var(--taupe)}
.whybox-q{display:inline; font-size:14px; font-weight:500; margin:0 10px 0 0; color:var(--taupe)}
.whybox .chips{display:inline; margin:0}
.whybox .chip{display:inline-block; background:none; border:0; border-radius:0; padding:12px 0; margin-right:16px; min-height:0; font-size:14px; font-weight:500; color:var(--muted); text-decoration:underline; text-decoration-color:var(--line); text-underline-offset:3px}
.whybox #whySkip{display:none}
@media (max-width:350px){ .cfrow .btn{font-size:16px} }

.p-fold{margin-bottom:18px; border:1px solid var(--line); border-radius:12px; background:var(--card-2)}
.p-fold summary{min-height:48px; padding:12px 14px; font-weight:600; font-size:15px; cursor:pointer}
.p-fold .p-text{padding:0 14px 16px; min-height:0}

/* wave3 9-30 (app) */
.st-why{margin-top:8px; font-size:13px; line-height:1.45; color:var(--muted)}
.home-why{margin-top:10px; font-size:15px; line-height:1.45; font-weight:600; color:var(--slate-ink)}
.hard-q{margin:-2px 0 10px; font-size:13px; font-weight:700; color:var(--muted)}
.trap-line{margin-top:16px; padding-top:14px; border-top:1px solid var(--line); font-size:15px; line-height:1.55; color:var(--ink)}
.trap-line .tn{font-weight:800}
.trap-line .tq{display:block; margin:8px 0 0; padding-left:12px; border-left:2px solid var(--line); color:var(--muted)}
.trap-line .ta{display:block; margin-top:10px}
.lesson-line{margin-top:12px; font-size:14px; line-height:1.5; color:var(--muted)}
.lesson-line a{font-weight:700; color:var(--slate-ink)}
/* predict 10-09 (app) */
.pm-hide{filter:blur(6px); pointer-events:none; user-select:none; -webkit-user-select:none}
.pm-ask{margin:16px 0; padding:12px 14px; border-left:3px solid var(--slate-ink); background:var(--paper-2); border-radius:0 8px 8px 0}
.pm-ask .pm-q{font-size:15px; font-weight:600; margin:0 0 10px}
.pm-ask .pm-row{display:flex; align-items:center; gap:16px; flex-wrap:wrap}
.set-note{margin-top:8px}
/* misslabels 10-09 (app) */
.set-why{margin:0 0 4px; font-size:15px}
.prog-streak{margin-top:12px}
.wk-vs{margin:0 0 10px; font-size:15px; line-height:1.45; font-weight:600; color:var(--ink)}
.wk-row{display:grid; grid-template-columns:72px minmax(0,1fr) auto; gap:10px; align-items:center; padding:8px 0; border-top:1px solid var(--line); font-size:14px; color:var(--muted)}
.wk-row .bar{margin:0}
.wk-row .wk-v{font-weight:700; color:var(--ink); white-space:nowrap}
.wk-row .wk-v small{font-weight:500; font-size:12px; color:var(--muted)}
.wk-row.few .wk-v{font-weight:500; color:var(--muted)}
.est-svg svg{display:block; width:100%; height:auto; margin-top:6px}
.est-svg text{font:600 11px Inter,system-ui,sans-serif; fill:var(--muted)}
.est-fine{margin-top:6px}
.sk-head{margin:0 0 4px; font-size:16px; font-weight:700; color:var(--ink)}
.sk-sec{margin:16px 0 2px; font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--muted)}
.sk-row{display:grid; grid-template-columns:minmax(0,1fr) auto 96px; gap:10px; align-items:center; padding:9px 0; border-top:1px solid var(--line); font-size:14px}
.sk-pips{display:flex; gap:4px}
.sk-pips i{display:block; width:16px; height:8px; border-radius:3px; background:var(--paper-2)}
.sk-pips i.on{background:var(--slate)}
.sk-lab{font-weight:700; font-size:13px; text-align:right}
.sk-row.none .sk-lab{font-weight:500; color:var(--muted)}
.sk-fine{margin-top:10px}
.ms-list{list-style:none; margin:6px 0 0; padding:0}
.ms-list li{position:relative; padding:10px 0 10px 26px; border-top:1px solid var(--line); font-size:15px; font-weight:600}
.ms-list li::before{content:""; position:absolute; left:4px; top:15px; width:10px; height:5px; border-left:2px solid var(--slate); border-bottom:2px solid var(--slate); transform:rotate(-45deg)}
.ms-next{margin-top:8px}
.wk-nums{margin-top:18px}
.wk-nums ul{margin:6px 0 4px; padding-left:18px; font-size:15px; line-height:1.5; color:var(--ink)}
.wk-nums li{margin:3px 0}
.wk-nums .wk-fine{font-size:13px}
.how-fold{margin-top:22px}
.how-body{padding:0 14px 14px; font-size:14px; line-height:1.55; color:var(--muted)}
.mv-link{margin:0}
.mv-link .lnk{text-align:left}
.mv-chips{margin-top:18px}
.chip[aria-pressed="true"]{border-color:var(--slate-ink); background:var(--slate-soft); font-weight:600}
.mv-group{margin-top:8px}
.mv-group h2.sec{margin-top:28px; margin-bottom:4px}
.mv-fix{margin:0 0 8px; font-size:14px; line-height:1.5; color:var(--muted)}
.mv-item{border-top:1px solid var(--line)}
.mv-item summary{display:flex; flex-wrap:wrap; justify-content:space-between; gap:2px 12px; min-height:48px; padding:12px 0; cursor:pointer; list-style:none; font-size:15px; font-weight:600}
.mv-item summary::-webkit-details-marker{display:none}
.mv-item .mv-s{font-weight:500; font-size:14px; color:var(--muted)}
.mv-body{padding:0 0 16px; font-size:15px; line-height:1.55}
.mv-body p + p{margin-top:10px}
.mv-stem{margin-top:10px; font-weight:600}
.mv-exp{margin-top:10px; color:var(--muted)}
.mv-exp p + p{margin-top:10px}
.mv-rt{margin-top:12px; font-size:14px; color:var(--muted)}
.mv-rt .btn{margin-right:10px}
.mv-note{display:inline-block; margin-top:6px; font-size:14px; color:var(--muted)}
.mv-empty{margin-top:18px; font-size:15px; color:var(--muted)}
.gate-later{margin-top:8px; text-align:center}

/* wave4 9-30 (app) */
.home-win{margin-top:10px; font-size:15px; line-height:1.45; font-weight:600; color:var(--slate-ink)}
.pt-nudge{margin-top:18px}
.pt-nudge p{margin-top:0; color:var(--ink)}
.pt-nudge .stack{margin-top:12px}
.set-choice{margin-top:12px}
.rt-later{margin:-8px 0 6px}
.rt-later .lnk{font-weight:500; font-size:14px; color:var(--muted)}
.why-fix{margin-top:12px; font-size:15px; line-height:1.5; color:var(--ink)}
.sk-lab .sk-hard{display:flex; justify-content:flex-end; min-height:44px; margin-left:auto; font-size:13px; font-weight:600}
.track-note{margin-top:16px}
.ms-list li.off{font-weight:500; color:var(--muted)}
.ms-list li.off::before{width:10px; height:10px; border:2px solid var(--taupe); border-radius:50%; transform:none; top:13px; left:2px}
.pb-row{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:2px 12px; padding:9px 0; border-top:1px solid var(--line); font-size:14px}
.pb-row b{font-weight:700; text-align:right}
.pb-row small{grid-column:1 / -1; color:var(--muted); font-size:13px}
.pb-fine{margin-top:8px}

/* ---------- progress */
.kpis{display:grid; grid-template-columns:repeat(3,1fr); margin-top:20px; border:1px solid var(--line); border-radius:16px; background:var(--card)}
.kpi{padding:16px 8px; text-align:center}
.kpi + .kpi{border-left:1px solid var(--line)}
.kpi b{display:block; font-weight:900; font-size:26px; letter-spacing:-.02em; line-height:1.1}
.kpi span{font-size:13px; color:var(--muted)}
.days{display:grid; grid-template-columns:repeat(14,1fr); gap:4px; align-items:end; height:96px; padding-top:8px}
.days .d{display:flex; flex-direction:column; justify-content:flex-end; align-items:center; height:100%; gap:5px}
.days .d i{display:block; width:100%; min-height:3px; border-radius:4px 4px 2px 2px; background:var(--paper-2)}
.days .d.hit i{background:var(--slate)}
.days .d.some i{background:#738f9b}
:root[data-lu-eff="dark"] .days .d.some i{background:#476a7a}
:root[data-lu-eff="dark"] .bar i,:root[data-lu-eff="dark"] .type .bar i{background:var(--slate)}
.days .d span{font-size:10px; color:var(--muted); line-height:1}
.days .d.now span{color:var(--ink); font-weight:600}
.type{padding:12px 0; border-bottom:1px solid var(--line)}
.type:first-child{border-top:1px solid var(--line)}
.type-h{display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:7px}
.type-n{font-weight:600; font-size:15px}
.type-p{font-size:14px; color:var(--muted); white-space:nowrap}
.type-p b{color:var(--ink); font-weight:800}
.type .bar i{background:#568aa0}
.type.low .bar i{background:var(--bad)}
:root[data-lu-eff="dark"] .type.low .bar i{background:var(--bad)}
.type.few{opacity:.62}

/* ---------- account */
.acct-email{font-weight:600; font-size:17px; overflow-wrap:anywhere}
.lbl{display:block; margin-top:16px; margin-bottom:6px; font-size:13px; font-weight:600; color:var(--muted)}
.in{width:100%; min-height:52px; padding:0 14px; border:1.5px solid var(--line); border-radius:12px; background:var(--card-2); font-size:17px}
.in:focus{outline:none; border-color:var(--slate)}
.in-code{letter-spacing:.35em; font-weight:600; font-size:22px; text-align:center}
.err{margin-top:10px; color:var(--bad); font-size:14px}
form.card .btn-ghost{width:100%; margin-top:10px}
.set{display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:60px; border-bottom:1px solid var(--line)}
h2.sec + .set{border-top:1px solid var(--line)}
.set-l{font-weight:500; font-size:16px}
.segset{display:inline-flex; padding:3px; gap:2px; background:var(--paper-2); border-radius:11px}
.segset button{min-width:52px; min-height:44px; padding:0 10px; border-radius:8px; font-size:14px; font-weight:600; color:var(--muted); text-align:center}
.segset button[aria-pressed="true"]{background:var(--card); color:var(--ink); box-shadow:0 1px 2px rgba(0,0,0,.08)}

/* ---------- tabs */
.tabs{position:fixed; left:0; right:0; bottom:0; z-index:4; display:grid; grid-template-columns:repeat(6,1fr);
  max-width:560px; margin:0 auto; padding:6px 6px calc(var(--sab) + 6px); background:var(--paper); border-top:1px solid var(--line)}
.tabs button{position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:var(--tabs-h);
  border-radius:12px; font-size:11px; font-weight:500; color:var(--muted); text-align:center}
.tabs svg{width:24px; height:24px}
.tabs button[aria-current="page"]{color:var(--ink); font-weight:600}
.tabs .dot{position:absolute; top:9px; left:50%; margin-left:9px; width:8px; height:8px; border-radius:50%; background:var(--bad)}

/* nudge 10-09 (app) */
.ndg{position:fixed; inset:0; z-index:9000; display:none; align-items:flex-end; justify-content:center; background:rgba(21,25,28,.42); padding:0 12px}
.ndg.on{display:flex}
.ndg-card{background:var(--card); color:var(--ink); width:100%; max-width:520px; border-radius:14px 14px 0 0; border-top:4px solid var(--slate); padding:22px 22px calc(18px + var(--sab)); box-shadow:0 -12px 40px rgba(21,25,28,.25); transform:translateY(24px); opacity:0; transition:transform .22s ease-out, opacity .22s ease-out}
.ndg.in .ndg-card{transform:none; opacity:1}
.ndg-card h2{font-size:22px; line-height:1.2; font-weight:800; margin:0 0 8px}
.ndg-card p{font-size:16px; line-height:1.5; margin:0 0 16px; color:var(--ink)}
.ndg-row{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.ndg-row .btn{flex:1 1 auto; text-align:center}
.ndg-never{display:block; margin:14px auto 0; padding:6px 8px; min-height:44px; font-size:14px; color:var(--muted); text-decoration:underline; text-underline-offset:3px}
@media (min-width:768px){ .ndg{align-items:center} .ndg-card{border-radius:14px} }
@media (prefers-reduced-motion:reduce){ .ndg-card{transition:none; transform:none; opacity:1} }
/* games 10-09 (app) */
.screen-games{padding-left:0; padding-right:0; padding-top:0}
.games-frame{display:block; width:100%; border:0; min-height:calc(100vh - 170px); min-height:calc(100dvh - var(--tabs-h) - var(--sab) - 112px)}
.games-off{margin:18px 20px 0}
/* drills 10-09 (app) */
.tlLab{display:block; font-weight:700; margin:18px 0 6px}
.tlLab .fine{display:inline; margin:0; font-weight:400}
.tlBox{display:block; width:100%; box-sizing:border-box; min-height:84px; font:inherit; font-size:16px; line-height:1.5; color:var(--ink); background:var(--card); border:1.5px solid var(--line); border-radius:10px; padding:12px 14px; overflow-wrap:anywhere}
.tlBox:focus{outline:2px solid var(--slate); outline-offset:1px}
.tlBox.rcText{min-height:220px}
.tlPair{display:grid; grid-template-columns:1fr; gap:12px}
.tlCard{background:var(--card); border:1px solid var(--line); border-radius:12px; padding:14px 16px; font-size:15px; line-height:1.55; overflow-wrap:anywhere}
.tlTag{font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin:0 0 6px}
.tlMine{white-space:pre-wrap; color:var(--muted)}
.tlWhy{display:block; font-size:14px; color:var(--muted); margin-top:4px; font-weight:400}
.tlQ{font-weight:800; font-size:18px; margin:24px 0 10px}
.tlCh{display:block; width:100%; text-align:left; font:inherit; font-size:15px; line-height:1.5; color:var(--ink); background:var(--card); border:1.5px solid var(--line); border-radius:10px; padding:12px 14px; margin-bottom:8px; min-height:44px}
.tlCh.right{background:var(--ok-soft); border-color:var(--ok)}
.tlCh.wrong{background:var(--bad-soft); border-color:var(--bad)}
.rcPass{background:var(--card); border:1px solid var(--line); border-radius:12px; padding:20px 22px; margin:18px 0 4px; font-size:var(--read); line-height:1.65; overflow-wrap:anywhere}
.rcPass p{margin:0 0 14px}.rcPass p:last-child{margin:0}
.rcRow{margin-top:20px}
.rcScore{font-weight:800; font-size:44px; line-height:1; margin:6px 0 8px}
.rcGrp{font-weight:700; font-size:13px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); margin:22px 0 8px}
.rcItem{display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border:1px solid var(--line); border-radius:10px; margin-bottom:8px; background:var(--card); cursor:pointer; font-size:15px; line-height:1.5; min-height:44px}
.rcItem input{width:20px; height:20px; margin:2px 0 0; accent-color:var(--ok); flex:none}
.rcItem.got{background:var(--ok-soft); border-color:transparent}
.rcItem.big{font-size:16px; font-weight:500; padding:14px 16px}
.rcItem.dt{border:0; border-bottom:1px solid var(--line); border-radius:0; margin:0; background:transparent; padding:11px 6px}
.rcItem.dt.got{background:var(--ok-soft)}
.rcAuto{font-size:12px; font-weight:700; color:var(--ok); margin-left:6px; white-space:nowrap}
.toast{position:fixed; left:50%; bottom:calc(var(--tabs-h) + var(--sab) + 22px); transform:translateX(-50%); z-index:9; max-width:86vw;
  padding:11px 16px; border-radius:12px; background:var(--ink); color:var(--on-ink); font-size:14px; font-weight:500; text-align:center}

/* skipreturn 11-17 (app): the line on the question screen, the "Came back" mark, a wider mark column for 3 marks */
.sb-note{margin:-2px 0 12px; font-size:15px; font-weight:600; line-height:1.45; color:var(--slate-ink)}
.sb-note:empty{display:none}
.rpBox .mk.bk{stroke:var(--ink); stroke-width:2.2}
.rpBox .rpList.m3 button.rpRow{grid-template-columns:36px minmax(0,1fr) 46px 54px}
/* replay 11-17 (app): the web's Replay card, bars after a timed set */
.rpBox{margin-top:30px}
.rpBox h2{margin:0 0 6px}
.rpBox .rpSub{margin:0}
.rpTip{font-size:16px; font-weight:500; line-height:1.5; color:var(--ink); margin:12px 0 16px}
.rpList{list-style:none; margin:12px 0 0; padding:0; border-top:1px solid var(--line)}
.rpList li{margin:0; padding:0}
.rpBox button.rpRow{display:grid; grid-template-columns:36px minmax(0,1fr) 46px 38px; align-items:center; gap:10px; width:100%; min-height:44px; margin:0; padding:11px 4px; background:none; border:0; border-bottom:1px solid var(--line); border-radius:0; font:inherit; font-size:14px; line-height:1.4; color:var(--ink); text-align:left; cursor:pointer}
.rpBox button.rpRow:hover{background:var(--card-2)}
.rpBox button.rpRow:focus-visible{outline:2px solid var(--slate); outline-offset:2px}
.rpQ{font-weight:700}
.rpTrack{position:relative; display:block; height:12px; border-radius:6px; background:var(--paper-2)}
.rpTrack i{position:absolute; top:0; display:block; height:12px}
.rpTrack .rpIn{left:0; background:var(--slate); border-radius:6px}
.rpTrack .rpIn.to{border-radius:6px 0 0 6px}
.rpTrack .rpOv{background:var(--taupe); border-radius:0 6px 6px 0}
.rpTrack .rpPace{top:-4px; height:20px; width:2px; margin-left:-1px; background:var(--ink); border-radius:1px}
.rpT{text-align:right; font-weight:600; font-variant-numeric:tabular-nums}
.rpM{display:inline-flex; align-items:center; gap:3px}
.rpBox svg{width:16px; height:16px; flex:none; fill:none; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round}
.rpBox .mk.right{stroke:var(--ok)}
.rpBox .mk.miss{stroke:var(--bad)}
.rpBox .mk.skip{stroke:var(--taupe)}
.rpBox .mk.chg{stroke:var(--slate-ink); stroke-width:2.2}
.rpBox .rpKey{display:flex; flex-wrap:wrap; gap:4px 16px; margin-top:10px}
.rpKey span{display:inline-flex; align-items:center; gap:5px}
@media (min-width:600px){ h1{font-size:34px} .screen{padding-left:24px; padding-right:24px} }
@media (max-width:350px){ h1{font-size:26px} .pick{font-size:16px} .segset button{min-width:44px} }
@media (prefers-reduced-motion:reduce){ *{transition:none!important; animation:none!important} }
