/* LirafinOS. Layout: left rail on wide screens, bottom tab bar on phones; a "Private by design"
   strip on every member screen. Manrope only (served from /fonts), Lirafin green + gold. */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/manrope-latin.woff2) format('woff2')}
:root{
  --bg:#f4f7f5;--panel:#ffffff;--sunk:#eaf1ec;--line:#d8e3dc;--fg:#14231b;--muted:#56685e;
  --brand:#1b5e42;--brand-fg:#ffffff;--brand-soft:#e1eee6;--deep:#103d2b;--deep-fg:#eaf5ef;
  --gold:#8a6a12;--gold-soft:#f8efd6;--gold-mark:#D4A843;
  --ok:#1e7f57;--ok-soft:#e2f2ea;--warn:#a35800;--warn-soft:#fbefdf;--bad:#b42318;--bad-soft:#fdeceb;
  --scrim:rgba(10,20,15,.55);
  --c0:#1b5e42;--c1:#D4A843;--c2:#6fae8c;--c3:#2f7f9e;--c4:#c27c4a;--c5:#8a7fc2;--c6:#a9b8ae;--c7:#5b4a1e;
  --font:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,monospace;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root{
  --bg:#0e1612;--panel:#151f1a;--sunk:#1c2922;--line:#2a3931;--fg:#e3ece7;--muted:#9ab0a4;
  --brand:#5cc493;--brand-fg:#0c1d15;--brand-soft:#1e382b;--deep:#0b2a1d;--deep-fg:#e3f3ea;
  --gold:#e6c25f;--gold-soft:#352b12;--ok:#62cc98;--ok-soft:#183427;--warn:#f0a54a;--warn-soft:#3a2a14;--bad:#ff8a7e;--bad-soft:#3d1c19;
  --scrim:rgba(0,0,0,.65);color-scheme:dark;
  --c0:#5cc493;--c1:#e6c25f;--c2:#8fd1ae;--c3:#6cc0de;--c4:#e09a68;--c5:#b2a8ea;--c6:#6d7d73;--c7:#c9a64a}}
*{box-sizing:border-box}
html,body{margin:0}
body{background:var(--bg);color:var(--fg);font-family:var(--font);font-size:15px;line-height:1.5;padding-top:env(safe-area-inset-top,0px)}
h1,h2,h3{text-wrap:balance;margin:0;line-height:1.2}
p{margin:0}
a{color:var(--brand);font-weight:700}
button,input,select{font-family:var(--font)}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
[hidden]{display:none!important}

/* shell */
.shell{display:grid;grid-template-columns:minmax(0,1fr);max-width:1260px;margin:0 auto}
@media (min-width:880px){.shell{grid-template-columns:240px minmax(0,1fr)}}
.rail{display:none}
@media (min-width:880px){.rail{display:flex;flex-direction:column;gap:2px;padding:22px 16px;position:sticky;top:0;height:100vh;align-self:start;overflow-y:auto}}
.brand{display:flex;align-items:center;gap:8px;color:var(--brand);padding:0 8px 18px}
.brand svg{height:24px;width:auto;display:block}
.os{font-weight:800;font-size:13px;letter-spacing:.06em;color:var(--fg);background:var(--gold-soft);border-radius:6px;padding:2px 7px}
.nav{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:0;background:transparent;color:var(--muted);font-weight:700;font-size:14.5px;padding:8px 10px;border-radius:10px;cursor:pointer;text-decoration:none}
.nav:hover{background:var(--sunk);color:var(--fg)}
.nav[aria-current="page"]{background:var(--brand-soft);color:var(--fg)}
.nav svg,.ico{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rail .sep{height:1px;background:var(--line);margin:10px 4px}
.rail .lbl{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:800;padding:4px 10px}
.soon{font-size:13px;color:var(--muted);padding:2px 10px}
.rail .foot{margin-top:auto;font-size:12px;color:var(--muted);padding:12px 8px 0}
.main{padding:16px 16px 110px;min-width:0}
@media (min-width:880px){.main{padding:22px 28px 60px}}
.mhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}
.mhead .brand{padding:0}
@media (min-width:880px){.mhead .brand{display:none}}
.mright{display:flex;gap:8px;align-items:center;margin-left:auto;flex-wrap:wrap}
.hb{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--panel);color:var(--fg);font-weight:700;font-size:13.5px;padding:7px 11px;border-radius:999px;cursor:pointer;white-space:nowrap}
.hb:hover{border-color:var(--brand)}
.hb.on{border-color:var(--brand);color:var(--brand)}
.secure{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;background:var(--deep);color:var(--deep-fg);border-radius:12px;padding:9px 14px;margin-bottom:18px;font-size:13px}
.secure b{font-weight:800}
.secure span{display:inline-flex;align-items:center;gap:6px}
.secure .ico{width:16px;height:16px}
.secure button{margin-left:auto;background:transparent;border:1px solid rgba(255,255,255,.35);color:var(--deep-fg);font-weight:700;font-size:12.5px;padding:4px 10px;border-radius:999px;cursor:pointer}
.tabbar{position:fixed;left:0;right:0;bottom:0;display:flex;justify-content:space-around;background:var(--panel);border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));z-index:5}
@media (min-width:880px){.tabbar{display:none}}
.tabbar button{display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:700;padding:4px 6px;cursor:pointer;min-width:0}
.tabbar svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tabbar button[aria-current="page"]{color:var(--brand)}

/* building blocks */
.title{display:flex;flex-direction:column;gap:5px;margin-bottom:18px}
.title h1{font-size:clamp(24px,3.2vw,30px);font-weight:800}
.title p{color:var(--muted);max-width:72ch}
.stack{display:flex;flex-direction:column;gap:16px;min-width:0}
.cols{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
@media (min-width:1040px){.cols{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:12px;min-width:0}
.panel h2{font-size:17px;font-weight:800}
.ph{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.eyebrow{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:800}
.hint{font-size:13px;color:var(--muted)}
.big{font-size:clamp(30px,4.4vw,42px);font-weight:800;line-height:1.05;font-variant-numeric:tabular-nums}
.big small{font-size:15px;font-weight:600;color:var(--muted)}
.bad{color:var(--bad)}
.pill{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;border-radius:999px;padding:2px 9px;white-space:nowrap}
.p-ok{background:var(--ok-soft);color:var(--ok)}.p-warn{background:var(--warn-soft);color:var(--warn)}.p-bad{background:var(--bad-soft);color:var(--bad)}.p-mut{background:var(--sunk);color:var(--muted)}.p-gold{background:var(--gold-soft);color:var(--gold)}.p-brand{background:var(--brand-soft);color:var(--brand)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-weight:700;font-size:14px;border-radius:999px;padding:9px 16px;cursor:pointer;border:1px solid var(--brand);background:var(--brand);color:var(--brand-fg);text-decoration:none}
.btn.ghost{background:transparent;color:var(--brand);border-color:var(--line)}
.btn.ghost:hover{border-color:var(--brand)}
.btn.danger{background:transparent;color:var(--bad);border-color:var(--bad)}
.btn.sm{font-size:13px;padding:5px 11px}
.btn:disabled{opacity:.6;cursor:wait}
.row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.kv{display:flex;flex-direction:column;gap:6px;font-size:14px}
.kv div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed var(--line);padding-bottom:5px}
.kv b{font-variant-numeric:tabular-nums;white-space:nowrap}
.note{font-size:14px;background:var(--sunk);border-radius:10px;padding:11px 13px}
.note b{display:block;margin-bottom:2px}
.err{font-size:14px;background:var(--bad-soft);color:var(--fg);border:1px solid var(--bad);border-radius:10px;padding:10px 12px}
.pts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.pts li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:2px 10px;font-size:14px}
.pts li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand);margin-top:7px;grid-row:span 2}
.pts b{font-weight:800}
.pts span{color:var(--muted);font-size:13.5px}
.track{height:12px;background:var(--sunk);border-radius:6px;overflow:hidden}
.fill{height:100%;width:0;border-radius:6px;background:var(--brand)}
.fill.now{background:var(--bad)}.fill.infl{background:var(--gold-mark)}

/* hidden numbers */
.n{transition:filter .15s}
.hidenums .n{filter:blur(7px);user-select:none}
@media (prefers-reduced-motion:reduce){.n{transition:none}}

/* home */
.hero{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (min-width:700px){.hero{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}
.totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.totals div{background:var(--sunk);border-radius:10px;padding:10px 12px;min-width:0}
.totals b{display:block;font-size:19px;font-variant-numeric:tabular-nums}
.totals span{font-size:12px;color:var(--muted)}
@media (max-width:460px){.totals{grid-template-columns:minmax(0,1fr)}}
.compare{display:flex;flex-direction:column;gap:8px}
.cbar{display:grid;grid-template-columns:132px minmax(0,1fr) 58px;gap:10px;align-items:center;font-size:13px}
.cbar b{text-align:right;font-variant-numeric:tabular-nums}

/* accounts */
.subtabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:16px;overflow-x:auto}
.subtabs button{font-weight:700;font-size:14px;color:var(--muted);background:none;border:0;border-bottom:3px solid transparent;padding:9px 12px;cursor:pointer;white-space:nowrap}
.subtabs button[aria-selected="true"]{color:var(--fg);border-bottom-color:var(--brand)}
.acct{border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:16px;display:flex;flex-direction:column;gap:10px}
.acct.warn{border-color:var(--gold-mark)}
.ahead{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 12px;align-items:flex-start}
.ahead .bank{font-size:12px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.ahead h3{font-size:16px;font-weight:800}
.abal{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums;text-align:right}
.afields{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.af{background:var(--sunk);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:2px;min-width:0}
.af span{font-size:11.5px;color:var(--muted);font-weight:700}
.af b{font-variant-numeric:tabular-nums}
.src{font-size:11px;font-weight:700}
.src.lf{color:var(--muted)}.src.me{color:var(--gold)}
.diff{font-size:13px;background:var(--gold-soft);border-radius:8px;padding:7px 10px}
.group{display:flex;flex-direction:column;gap:10px}
.group h2{font-size:15px;font-weight:800;display:flex;justify-content:space-between;gap:8px}
.taxrow{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px 0;border-bottom:1px dashed var(--line);font-size:14px}
.taxrow b{font-variant-numeric:tabular-nums;white-space:nowrap}
.taxrow.total{border-bottom:0;font-weight:800}
table{border-collapse:collapse;width:100%;font-size:13.5px;font-variant-numeric:tabular-nums}
th,td{text-align:left;padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.tw{overflow-x:auto}

/* forms, drawer, dialogs */
.scrim{position:fixed;inset:0;background:var(--scrim);z-index:30}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(480px,100%);background:var(--panel);z-index:31;display:flex;flex-direction:column;border-left:1px solid var(--line)}
.dhead{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:calc(16px + env(safe-area-inset-top,0px)) 18px 14px;border-bottom:1px solid var(--line)}
.dhead h2{font-size:18px;font-weight:800}
.x{border:0;background:var(--sunk);color:var(--fg);width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:18px;line-height:1;flex:none}
.dbody{padding:16px 18px;overflow-y:auto;display:flex;flex-direction:column;gap:14px;flex:1}
.dfoot{padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);display:flex;gap:8px;flex-wrap:wrap}
.field{display:flex;flex-direction:column;gap:5px}
.field>label,.lab{font-weight:700;font-size:14px;display:flex;justify-content:space-between;gap:8px;align-items:baseline;flex-wrap:wrap}
.inp{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:hidden}
.inp span{padding:0 12px;font-weight:700;color:var(--muted);font-size:14px}
.inp input,.sel{font:700 16px var(--font);border:0;background:transparent;color:var(--fg);padding:9px 12px;width:100%;min-width:0;font-variant-numeric:tabular-nums}
.inp input.txt{font-weight:600;font-size:15px}
.sel{border:1px solid var(--line);border-radius:10px;background:var(--panel);font-size:15px}
.inp.mine{border-color:var(--gold-mark)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.typechips{display:flex;flex-wrap:wrap;gap:6px}
.typechips button{border:1px solid var(--line);background:var(--panel);color:var(--fg);font-weight:700;font-size:13px;padding:6px 11px;border-radius:999px;cursor:pointer}
.typechips button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--brand-fg)}
.tog{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:14px;font-weight:500}
.tog input{margin-top:3px;width:16px;height:16px;flex:none;accent-color:var(--brand)}
.tog small{display:block;color:var(--muted);font-size:12.5px}
.modal{position:fixed;z-index:31;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100% - 32px));max-height:calc(100% - 64px);overflow-y:auto;background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:12px}
.code{font-family:var(--mono);font-size:20px;font-weight:700;letter-spacing:.06em;background:var(--sunk);border-radius:10px;padding:14px;text-align:center;word-break:break-all;user-select:all}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(84px + env(safe-area-inset-bottom,0px));background:var(--fg);color:var(--bg);padding:9px 16px;border-radius:999px;font-weight:700;font-size:14px;z-index:60;max-width:calc(100% - 32px)}
@media (min-width:880px){.toast{bottom:24px}}

/* gate screens (signed out, setup, unlock) */
.gatewrap{min-height:100vh;display:grid;place-items:center;padding:24px 16px}
.gatecard{width:min(560px,100%);display:flex;flex-direction:column;gap:16px}
.gatecard .brand{padding:0}
.gatecard h1{font-size:clamp(26px,4vw,34px);font-weight:800}
.gatecard .panel{gap:14px}
.promises{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.promise{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:6px}
.promise .ico{width:26px;height:26px;color:var(--brand)}
.promise h3{font-size:15.5px;font-weight:800}
.promise p{font-size:13.5px;color:var(--muted)}
.flow{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
@media (min-width:820px){.flow{grid-template-columns:minmax(0,1fr) 30px minmax(0,1fr) 30px minmax(0,1fr)}}
.fbox{border:1px solid var(--line);border-radius:12px;padding:12px;background:var(--panel);display:flex;flex-direction:column;gap:4px;font-size:13px}
.fbox h3{font-size:14px;font-weight:800}
.fbox.you{border-color:var(--brand);background:var(--brand-soft)}
.fbox .sees{font-size:12px;font-weight:700;color:var(--muted)}
.arrow{display:grid;place-items:center;color:var(--muted);font-weight:800;font-size:18px}
@media (max-width:819px){.arrow{transform:rotate(90deg);height:18px}}

/* ===== phases 3-5 ===== */
.mt{margin-top:16px}
.stack.tight{gap:8px}
.eyebrow.gold{color:var(--gold-mark)}
.eyebrow.light{color:var(--deep-fg);opacity:.8}
.hint.fg{color:var(--fg)}
.small{font-size:13px;opacity:.8}
.count{margin-left:6px;font-size:11.5px;background:var(--gold-mark);color:#1d1704;border-radius:999px;padding:1px 7px;font-weight:800}
.helpbtns{display:flex;flex-direction:column;gap:6px;padding:0 4px}
.mobonly{display:inline-flex;gap:6px}
@media (min-width:880px){.mobonly{display:none}}
.btn.gold{background:var(--gold-mark);border-color:var(--gold-mark);color:#1d1704}
.btn.light{color:var(--deep-fg);border-color:rgba(255,255,255,.35)}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:31;background:var(--panel);border-radius:18px 18px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:4px}
.modal.wide{width:min(640px,calc(100% - 32px))}
.modal h2{font-size:19px;font-weight:800}
/* goals + celebration */
.win{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;background:var(--gold-soft);border:1px solid var(--gold-mark);border-radius:14px;padding:16px;margin-bottom:16px}
.medal{width:56px;height:56px;border-radius:50%;background:var(--gold-mark);color:#1d1704;display:grid;place-items:center;font-weight:800;font-size:22px}
.win h2{font-size:18px;font-weight:800}
.goal{display:flex;flex-direction:column;gap:6px;padding:10px 0;border-bottom:1px dashed var(--line)}
.goal:last-of-type{border-bottom:0}
.goal .gh{display:flex;justify-content:space-between;gap:8px;align-items:baseline;flex-wrap:wrap}
.goal .marks{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);font-weight:700}
.goal .marks i{font-style:normal}.goal .marks i.hit{color:var(--gold)}
.goal .row{justify-content:space-between}
.sharecard{background:var(--deep);color:var(--deep-fg);border-radius:16px;padding:22px;display:flex;flex-direction:column;gap:14px;justify-content:space-between;min-height:280px}
.sharecard h3{font-size:24px;font-weight:800;line-height:1.15}
.confetti{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:70}
.checklist{display:flex;flex-direction:column;gap:8px}
.ck{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px}
.ck .num{width:28px;height:28px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-weight:800;font-size:13px}
@media (max-width:520px){.ck{grid-template-columns:28px minmax(0,1fr)}.ck .btn{grid-column:2;justify-self:start}}
/* money levels */
.journey{background:var(--deep);color:var(--deep-fg);border-radius:18px;padding:20px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin-bottom:16px}
@media (min-width:900px){.journey{grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr);align-items:center}}
.journey h2{font-size:clamp(21px,2.6vw,26px);font-weight:800}
.journey p{opacity:.85;font-size:14px}
/* Every step has the same three rows ("You", a fixed-height bar area, the labels), so the bars
   share one baseline and the labels one top line, however the text wraps. */
.path{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;align-items:start}
.stepb{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:16px 88px auto auto;row-gap:6px;font-size:12px;text-align:center;min-width:0;overflow-wrap:anywhere}
.stepb b i{font-style:normal}
.stepb .bar{align-self:end;width:100%}
.stepb .bar{border-radius:8px 8px 4px 4px;background:rgba(255,255,255,.14)}
.stepb .bar.h0{height:18px}.stepb .bar.h1{height:32px}.stepb .bar.h2{height:46px}.stepb .bar.h3{height:60px}.stepb .bar.h4{height:74px}.stepb .bar.h5{height:88px}
.stepb.here .bar{background:var(--gold-mark)}.stepb.past .bar{background:rgba(255,255,255,.38)}
.stepb b{font-size:12px;display:block}.stepb span{opacity:.75;font-size:11px}
.stepb .you{font-size:10.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-mark);min-height:14px;opacity:1}
/* Phones: numbers only, and the name under your own level. */
@media (max-width:520px){.stepb span:not(.you){display:none}.stepb b{font-size:13px}.stepb .lname{display:none}.stepb.here .lname{display:block;font-size:11px;white-space:nowrap;overflow-wrap:normal;margin-inline:-40px}.stepb .lsep{display:none}.path{gap:4px}.stepb{grid-template-rows:16px 70px auto}.stepb .bar.h5{height:70px}.stepb .bar.h4{height:59px}.stepb .bar.h3{height:48px}.stepb .bar.h2{height:37px}.stepb .bar.h1{height:26px}.stepb .bar.h0{height:15px}}
.ladder{display:flex;flex-direction:column;gap:9px}
.lv{display:grid;grid-template-columns:130px minmax(0,1fr) 92px;gap:12px;align-items:center;font-size:14px}
@media (max-width:520px){.lv{grid-template-columns:98px minmax(0,1fr) 78px;font-size:13px}}
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:3px}
.steps i{height:14px;border-radius:4px;background:var(--sunk)}
.steps i.on{background:var(--brand)}
.lv.low .steps i.on{background:var(--gold-mark)}
.lv b{text-align:right;font-size:13px}
.isnt{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;font-size:13.5px}
.isnt div{background:var(--sunk);border-radius:10px;padding:12px}
.isnt b{display:block;font-size:12px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px}
.isnt .is b{color:var(--ok)}.isnt .not b{color:var(--bad)}
@media (max-width:520px){.isnt{grid-template-columns:minmax(0,1fr)}}
.levelmini{display:flex;gap:14px;align-items:center}
.badge{width:64px;height:64px;border-radius:16px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-weight:800;font-size:28px;flex:none}
.opts{display:flex;flex-direction:column;gap:8px}
/* Money Levels v2: one-tap answers, the level as a quiet step number, the chosen one filled */
.lvopts{display:flex;flex-direction:column;gap:8px}
.lvopt{display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px;align-items:center;text-align:left;min-height:52px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--fg);font:600 15.5px var(--font);cursor:pointer;width:100%}
.lvopt:hover{border-color:var(--brand)}
.lvopt[aria-checked="true"]{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 1px var(--brand) inset}
.lvk{font-size:11.5px;font-weight:700;text-align:center;border-radius:999px;padding:2px 0;background:var(--sunk);color:var(--muted)}
.lvopt[aria-checked="true"] .lvk{background:var(--brand);color:var(--brand-fg)}
.lvprog{height:6px;background:var(--sunk);border-radius:999px;overflow:hidden}
.lvprog i{display:block;height:100%;background:var(--brand);border-radius:999px}
.btn[aria-disabled="true"]{opacity:.5}
.lvnew{display:flex;flex-wrap:wrap;gap:10px 14px;align-items:center;justify-content:space-between;background:var(--gold-soft);border-radius:12px;padding:12px 14px;margin:0 0 12px;font-size:14px;color:var(--fg)}
.lv small{display:block;font-size:12px;margin-top:1px}
.opt{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start;padding:10px 12px;border:1px solid var(--line);border-radius:12px;cursor:pointer;font-size:14px}
.opt:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.opt input{margin-top:3px;accent-color:var(--brand)}
.opt small{display:block;color:var(--muted)}
.pts em{font-style:normal;display:block;color:var(--fg);margin-top:2px}
/* feed + calendar */
.feed{display:flex;flex-direction:column}
.fi{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:start}
.fi:last-child{border-bottom:0}
.fi .mk{width:10px;height:10px;border-radius:50%;margin-top:6px;background:var(--line)}
.fi.new .mk{background:var(--gold-mark)}
.fi h3{font-size:14.5px;font-weight:800}
.fi .when{font-size:12px;color:var(--muted);white-space:nowrap}
.nx{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center;padding:8px 0;border-bottom:1px dashed var(--line)}
.nx:last-child{border-bottom:0}
.date{border:1px solid var(--line);border-radius:10px;text-align:center;padding:4px 0;font-variant-numeric:tabular-nums;background:var(--panel)}
.date b{display:block;font-size:18px;line-height:1.1}
.date span{font-size:10.5px;font-weight:800;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.month{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:14px 0 6px}
.ev{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.ev h3{font-size:14.5px;font-weight:800}
/* calculators */
.tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.tile{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:10px;min-width:0}
.tile h3{font-size:16px;font-weight:800}
.tile .acts{margin-top:auto;display:flex;flex-wrap:wrap;gap:6px}
/* alerts */
.builder{background:var(--sunk);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px}
.types{display:flex;flex-wrap:wrap;gap:6px}
.types button,.chips button{border:1px solid var(--line);background:var(--panel);color:var(--fg);font-weight:700;font-size:13px;padding:6px 11px;border-radius:999px;cursor:pointer}
.types button[aria-pressed="true"],.chips button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--brand-fg)}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.chips button:disabled{opacity:.5;cursor:not-allowed}
.sentence{font-size:17px;font-weight:600;line-height:2.1}
.sentence select,.sentence input{font:800 16px var(--font);color:var(--brand);background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:3px 6px;max-width:100%}
.sentence input{width:90px;font-variant-numeric:tabular-nums}
.preview{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:13.5px}
.watch{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.watch.hit{border-color:var(--gold-mark)}
.watch.off{opacity:.6}
.watch h3{font-size:15px;font-weight:800}
.watch .state{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:13px;color:var(--muted)}
.sw{position:relative;width:42px;height:24px;border-radius:999px;border:0;background:var(--line);cursor:pointer;flex:none}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:var(--panel);transition:left .15s}
.sw[aria-checked="true"]{background:var(--brand)}
.sw[aria-checked="true"]::after{left:21px}
/* research + peers */
.movement{background:var(--deep);color:var(--deep-fg);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:10px}
.movement h2{font-size:20px;font-weight:800}
.movement p{opacity:.85}
.movement .pts span{color:var(--deep-fg);opacity:.8}
.movement .pts li::before{background:var(--gold-mark)}
.peer{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}
.peer:last-child{border-bottom:0}
.scale{position:relative;height:30px}
.scale .rail2{position:absolute;left:0;right:0;top:12px;height:8px;border-radius:4px;background:linear-gradient(90deg,var(--sunk),var(--brand-soft))}
.scale .q{position:absolute;top:8px;width:2px;height:16px;background:var(--muted)}
.scale .me{position:absolute;top:4px;width:22px;height:22px;margin-left:-11px;border-radius:50%;background:var(--gold-mark);border:3px solid var(--panel)}
.scalekey{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.locked{border:1px dashed var(--brand);border-radius:12px;padding:14px;background:var(--brand-soft);display:flex;flex-direction:column;gap:8px}
.meter{height:10px;border-radius:5px;background:var(--panel);overflow:hidden}
.meter i{display:block;height:100%;width:0;background:var(--brand)}
.record{font-family:var(--mono);font-size:12px;background:var(--sunk);border-radius:10px;padding:12px;overflow-x:auto;white-space:pre;line-height:1.5;margin:0;max-height:320px}
/* tour + what's new */
.t-hole{position:fixed;border-radius:12px;box-shadow:0 0 0 9999px var(--scrim);pointer-events:none;z-index:40;outline:2px solid var(--gold-mark);outline-offset:3px}
.t-block{position:fixed;inset:0;z-index:39}
.t-card{position:fixed;z-index:41;width:min(360px,calc(100% - 32px));background:var(--panel);color:var(--fg);border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px;box-shadow:0 12px 30px rgba(0,0,0,.25)}
.t-card h3{font-size:16px;font-weight:800}
.t-card p{font-size:14px;color:var(--muted)}
.t-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:4px;flex-wrap:wrap}
.t-dots{font-size:12px;color:var(--muted);font-weight:700}
.rel{border-top:1px solid var(--line);padding-top:12px;display:flex;flex-direction:column;gap:8px}
.rel h3{font-size:15px;font-weight:800}
@media (prefers-reduced-motion:reduce){.sw::after{transition:none}}
/* calculators inside LirafinOS */
.calchead{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-bottom:6px}
.calchead h1{font-size:clamp(22px,3vw,28px);font-weight:800}
.calcnote{margin-bottom:12px}
.calcframe{display:block;width:100%;height:900px;border:0;background:transparent}
/* money levels: steps + confidence */
.lstep{display:flex;flex-direction:column;gap:6px;padding:12px 0;border-top:1px dashed var(--line)}
.lstep p{font-size:14px}
.kv b.wrap{white-space:normal;text-align:right;font-weight:600;font-size:13px;max-width:60%}
.opt small{margin-top:3px}
/* security page: green ticks and padlocks, worst-case scenarios */
.ticks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ticks li{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;font-size:14px;align-items:start}
.ticks li div{display:flex;flex-direction:column;gap:1px}
.ticks span{color:var(--muted);font-size:13.5px}
.tick{width:22px;height:22px;flex:none}
.tick circle{fill:var(--ok)}
.tick path,.tick rect{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.scen{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.scencard{display:flex;flex-direction:column;gap:8px;border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:var(--panel)}
.scenh{display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:center}
.scenlist{list-style:none;margin:0;padding:0 0 0 34px;display:flex;flex-direction:column;gap:6px}
.scenlist li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px;align-items:start;font-size:13.5px;color:var(--muted)}
.scenlist .tick{width:16px;height:16px;margin-top:2px}
.disclaimer{margin-top:28px;padding:12px 14px;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted);line-height:1.5}
.clearbtn{border:0;background:transparent;color:var(--brand);font:700 13px var(--font);padding:0 12px;cursor:pointer;white-space:nowrap}
/* account extras, profit, suggestions, tidy-up */
.extra{display:grid;grid-template-columns:120px 110px 140px minmax(0,1fr) auto;gap:6px;align-items:center;margin-top:6px}
@media (max-width:620px){.extra{grid-template-columns:1fr 1fr}.extra .wide{grid-column:1/-1}}
.profit{background:var(--sunk);border-radius:10px;padding:10px 12px}
.profit .kv{gap:4px;margin-top:4px}
.profit .kv div{border-bottom-color:transparent;padding-bottom:0}
.profit .kv .tot{border-top:1px solid var(--line);padding-top:4px}
.profit .kv .neg b{color:var(--bad)}.profit .kv .pos b{color:var(--ok)}
.cta{border:1px solid var(--brand);background:var(--brand-soft);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.cta p{font-size:14px}
.tidyrow{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px dashed var(--line)}
b.bad{color:var(--bad)}
/* wins + share studio */
.winsp .wins{display:flex;flex-direction:column;gap:8px}
.win2{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:12px}
.win2.fresh{border-color:var(--gold-mark);background:var(--gold-soft)}
.win2 b{display:block}
.medal.sm{width:36px;height:36px;font-size:15px}
@media (max-width:560px){.win2{grid-template-columns:auto minmax(0,1fr)}.win2 .row{grid-column:1/-1}}
.studio{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (min-width:640px){.studio{grid-template-columns:240px minmax(0,1fr)}}
.sharecv{width:100%;max-width:240px;height:auto;border-radius:12px;box-shadow:0 6px 20px rgba(0,0,0,.18);justify-self:center}
/* tools hub */
.startpanel{background:var(--brand-soft);border-color:var(--brand)}
.startgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.startbtn{text-align:left;border:1px solid var(--line);background:var(--panel);color:var(--fg);font:700 14px var(--font);padding:12px 14px;border-radius:12px;cursor:pointer}
.startbtn:hover{border-color:var(--brand)}
.later .laterlist{display:flex;flex-wrap:wrap;gap:6px}
.linkbtn{border:0;background:none;color:var(--brand);font:700 12px var(--font);cursor:pointer;padding:0 4px}
.nwchart{width:100%;height:auto;margin-top:8px}
.nwchart .line{fill:none;stroke:var(--brand);stroke-width:3}
.nwchart .area{fill:var(--brand-soft);opacity:.7}
.nwchart .dot{fill:var(--gold-mark)}
.nwchart .axis{stroke:var(--line)}
.nwchart .target{stroke:var(--gold-mark);stroke-dasharray:6 6;stroke-width:2}
.nwchart .lbl{fill:var(--muted);font:600 12px var(--font)}

/* ---------- Net worth, FIRE, guides (09/10) ---------- */
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
.kpi{background:var(--sunk);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:2px;min-width:0}
.kpi span{font-size:12px;color:var(--muted);font-weight:700}
.kpi b{font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
.kpi small{font-size:12px;color:var(--muted)}
.big.bad{color:var(--bad)}
.bigchart{width:100%;height:auto;display:block;margin-top:6px}
.bigchart .grid{stroke:var(--line);stroke-width:1}
.bigchart .lbl{fill:var(--muted);font:600 12px var(--font)}
.bigchart .lbl.age{font-size:10.5px;opacity:.8}
.bigchart .val{fill:var(--fg);font:800 15px var(--font)}
.bigchart .area{fill:var(--brand);opacity:.12}
.bigchart .line{fill:none;stroke:var(--brand);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.bigchart .dot{fill:var(--brand);stroke:var(--panel);stroke-width:3}
.bigchart .star{fill:var(--gold-mark);stroke:var(--panel);stroke-width:2}
.bigchart .pdot{fill:var(--panel);stroke:var(--brand);stroke-width:2.5}
.bigchart .dl{fill:var(--fg);font-weight:800}
.bigchart .ms{stroke:var(--gold-mark);stroke-dasharray:3 5;fill:var(--gold)}
.bigchart text.ms{stroke:none}
.bigchart .tgt{stroke-width:1.5;stroke-dasharray:6 5;stroke:var(--muted)}
.bigchart .tgt.fire{stroke:var(--gold-mark);stroke-width:2.5;stroke-dasharray:none}
.bigchart .tgtl{font-weight:800;fill:var(--fg)}
.chartempty{background:var(--sunk);border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:4px;text-align:center}
.mix{display:flex;flex-direction:column;gap:8px}
.mixrow{display:grid;grid-template-columns:minmax(0,9rem) minmax(0,1fr) 3rem;gap:10px;align-items:center;font-size:13.5px}
.mixrow .track{height:10px;background:var(--sunk);border-radius:99px;overflow:hidden}
.mixrow .fill{height:100%;background:var(--brand);border-radius:99px}
.mixrow b{text-align:right;font-variant-numeric:tabular-nums}
.firehead{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}
.ring{position:relative;width:130px;height:130px;display:grid;place-items:center;text-align:center}
.ring svg{position:absolute;inset:0;transform:rotate(-90deg)}
.ring .rb{fill:none;stroke:var(--sunk);stroke-width:12}
.ring .rf{fill:none;stroke:var(--gold-mark);stroke-width:12;stroke-linecap:round}
.ring b{font-size:26px;font-weight:800;line-height:1;align-self:end}
.ring span{font-size:11.5px;color:var(--muted);align-self:start}
.ftypes{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.ftype{border:1px solid var(--line);border-radius:12px;padding:12px;display:flex;flex-direction:column;gap:3px}
.ftype span{font-weight:800;font-variant-numeric:tabular-nums;color:var(--brand)}
.ftype p{font-size:13px;color:var(--muted)}
tr.done td{background:var(--ok-soft)}
.gate{gap:10px}
.guide h2{font-size:22px;text-wrap:balance}
.gdots{display:flex;gap:5px}
.gdots i{height:5px;flex:1;border-radius:9px;background:var(--sunk)}
.gdots i.on{background:var(--brand)}
.gbody p{max-width:62ch}
.gex{background:var(--gold-soft);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.sendlist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.sendlist li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px dashed var(--line);font-size:14px}
.sendlist li span{color:var(--muted)}
.sendlist li b{text-align:right}
.sendlist i.muted{color:var(--muted);font-weight:600}
h3.sub{font-size:13px;margin-top:6px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.ticks.nobox li{display:block;font-size:13px;color:var(--muted)}
details.raw summary{cursor:pointer;font-size:13px;color:var(--brand);font-weight:700}
details.raw .record{margin-top:8px}
@media (max-width:560px){.mixrow{grid-template-columns:minmax(0,7rem) minmax(0,1fr) 2.6rem}.ring{width:104px;height:104px}}
.ftype:last-child:nth-child(odd){grid-column:1/-1}

/* ---------- round 5: colour classes, charts, glossary, guide me ---------- */
.s0{--k:var(--c0)}.s1{--k:var(--c1)}.s2{--k:var(--c2)}.s3{--k:var(--c3)}.s4{--k:var(--c4)}.s5{--k:var(--c5)}.s6{--k:var(--c6)}.s7{--k:var(--c7)}
.cols3{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.chartbox{position:relative;width:100%;min-width:0}
.chartbox svg{display:block;max-width:100%}
.bigchart .tgt{stroke:var(--k);stroke-width:2;stroke-dasharray:6 5}
.bigchart .tgt.s1{stroke-dasharray:none;stroke-width:2.5}
.bigchart .kdot{fill:var(--k);stroke:var(--panel);stroke-width:2.5}
.bigchart .cross{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3}
.bigchart{touch-action:pan-y}
.readout{position:absolute;top:8px;width:180px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column;gap:1px;font-size:12.5px;box-shadow:0 4px 14px rgba(0,0,0,.08);pointer-events:none}
.readout span{color:var(--muted)}
.klegend{list-style:none;margin:6px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:6px 16px}
.klegend li{display:grid;grid-template-columns:14px minmax(0,1fr) auto;gap:2px 8px;align-items:center;font-size:13.5px}
.klegend li i{width:12px;height:12px;border-radius:3px;background:var(--k)}
.klegend li em{grid-column:2/4;font-style:normal;color:var(--muted);font-size:12.5px}
.klegend li.done em{color:var(--ok);font-weight:700}
.klegend li span{font-weight:800;font-variant-numeric:tabular-nums}
.kinds{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;counter-reset:k}
.kinds li{display:grid;grid-template-columns:12px minmax(0,1fr);gap:10px;align-items:stretch}
.kinds li>i{border-radius:6px;background:var(--k)}
.kinds li p{font-size:13.5px;color:var(--muted);margin:2px 0 0}
.kinds .ph span{font-weight:800;font-variant-numeric:tabular-nums}
.kinds.compact li p{font-size:13.5px}
.freedom{display:flex;flex-direction:column;gap:12px}
.fm{display:flex;flex-direction:column;gap:5px}
.fm .track{height:10px;background:var(--sunk);border-radius:99px;overflow:hidden}
.fm .fill.ok{background:var(--ok)}.fm .fill.gold{background:var(--gold-mark)}
.encourage{background:var(--brand-soft);border-color:transparent}
.encourage-line{font-size:13.5px;font-weight:700;color:var(--brand)}
.meter{height:8px;background:var(--sunk);border-radius:99px;overflow:hidden}.meter i{display:block;height:100%;background:var(--brand)}
.donutwrap{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;align-items:center}
.donut{position:relative;width:120px;height:120px}
.donut svg{width:120px;height:120px;transform:rotate(-90deg)}
.donut circle{fill:none;stroke-width:16;stroke:var(--k)}
.donut circle.dbase{stroke:var(--sunk)}
.donut .dc{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.donut .dc b{font-size:18px;font-weight:800}.donut .dc span{font-size:11px;color:var(--muted)}
.legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px;font-size:13px}
.legend.row{flex-direction:row;flex-wrap:wrap;gap:6px 16px;margin-top:8px}
.legend li{display:flex;align-items:center;gap:7px;min-width:0}
.legend li i{width:11px;height:11px;border-radius:3px;background:var(--k);flex:none}
.legend li span{color:var(--muted);flex:1;min-width:0}
.legend.row li span{flex:none}
.legend li b{font-variant-numeric:tabular-nums}
.stackbar{display:flex;height:18px;border-radius:99px;overflow:hidden;gap:2px;background:var(--sunk)}
.stackbar i{display:block;background:var(--k);min-width:3px}
.gsplit{width:100%;height:auto;display:block}
.gsplit .grid{stroke:var(--line)}.gsplit .lbl{fill:var(--muted);font:600 12px var(--font)}
.gsplit .paid{fill:var(--c2);opacity:.85}.gsplit .grow{fill:var(--c1);opacity:.85}.gsplit .edge{fill:none;stroke:var(--fg);stroke-width:1.5}
.term{border:0;background:none;padding:0;font:inherit;color:inherit;border-bottom:1.5px dotted var(--brand);cursor:help;text-align:left}
.term:hover{color:var(--brand)}
.notice{background:var(--gold-soft);border-radius:10px;padding:10px 14px;font-size:14px;margin-bottom:12px}
.glist{display:flex;flex-direction:column;border-top:1px solid var(--line)}
.gitem{border-bottom:1px solid var(--line)}
.ghead{display:flex;justify-content:space-between;width:100%;border:0;background:none;padding:11px 2px;font:inherit;color:var(--fg);cursor:pointer;text-align:left}
.ghead span{color:var(--brand);font-weight:800}
.gdef{padding:0 2px 12px;display:flex;flex-direction:column;gap:6px}
.gsearch{margin-bottom:6px}
.guideme{display:flex;flex-direction:column;gap:3px;text-align:left;border:0;border-radius:12px;padding:14px 16px;background:var(--brand);color:var(--brand-fg);cursor:pointer;font:inherit}
.guideme b{font-size:17px}.guideme span{opacity:.9;font-size:14px}
@media (max-width:560px){.donutwrap{grid-template-columns:96px minmax(0,1fr)}.donut,.donut svg{width:96px;height:96px}}
.eyebrow .term{text-transform:inherit;letter-spacing:inherit;font-weight:inherit}
.tvs .la{fill:none;stroke:var(--c0);stroke-width:3}.tvs .lb{fill:none;stroke:var(--c1);stroke-width:3}
.quote{margin:4px 0 0;padding:10px 14px;border-left:3px solid var(--gold-mark);background:var(--gold-soft);border-radius:0 10px 10px 0;font-style:italic;display:flex;flex-direction:column;gap:3px}
.quote span{font-style:normal;font-size:12.5px;color:var(--muted)}
.mreport{border:1px dashed var(--gold-mark);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:8px;background:var(--gold-soft)}
.mreport h3{margin:0;font-size:16px}
.typechips.big button{font-size:14px;padding:9px 14px}
.inp.short{max-width:9rem}
.startgrid.one{grid-template-columns:1fr}
.welcome .gbody{display:flex;flex-direction:column;gap:12px}

/* ---------- v2 (the "answers" design, 09/10/2026) ---------- */
:root{--opp:#b4520f;--opp-fg:#fff;--opp-soft:#fdf0e3;--opp-line:#f2d3b4}
@media (prefers-color-scheme:dark){:root{--opp:#f2a463;--opp-fg:#2a1606;--opp-soft:#2e2116;--opp-line:#4a3420}}
.vswitch{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;background:var(--gold-soft);border-radius:12px;padding:9px 14px;margin-bottom:10px;font-size:13px}
.vswitch a{margin-left:auto}
.hero2{background:var(--opp-soft);border:1px solid var(--opp-line);border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:14px;margin-bottom:18px}
.hero2 h1{font-size:clamp(22px,3.2vw,28px);font-weight:800}
.hero2 p{color:var(--muted)}
.big2{font-size:clamp(38px,6vw,52px);font-weight:800;line-height:1;color:var(--opp);font-variant-numeric:tabular-nums}
.sum2{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
@media (min-width:640px){.sum2{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}}
.claim{display:flex;flex-direction:column;gap:8px}
.claim .pr{display:flex;justify-content:space-between;gap:10px;font-weight:700;font-size:13.5px}
.prog2{height:14px;background:var(--panel);border:1px solid var(--line);border-radius:7px;overflow:hidden}
.prog2 i{display:block;height:100%;background:var(--ok);border-radius:7px}
.btn.go2{background:var(--opp);border-color:var(--opp);color:var(--opp-fg);font-size:15px;padding:11px 18px}
.cols2{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
@media (min-width:1100px){.cols2{grid-template-columns:minmax(0,1fr) 320px}}
.ans2{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.ans2.top{border-color:var(--ok);box-shadow:0 0 0 1px var(--ok) inset}
.ans2.info{background:var(--sunk)}
.ans2 .ahd{display:flex;gap:12px;align-items:flex-start}
.ans2 .ahd>div:nth-child(2),.ans2 .ahd>div:first-child:not(.aval){flex:1;min-width:0}
.ans2 h3{font-size:16.5px;font-weight:800}
.rank2{width:30px;height:30px;border-radius:50%;background:var(--brand);color:var(--brand-fg);display:grid;place-items:center;font-weight:800;font-size:14px;flex:none}
.aval{font-size:22px;font-weight:800;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;margin-left:auto}
.aval small{display:block;font-size:11.5px;font-weight:600;color:var(--muted)}
.aval.good{color:var(--ok)}.aval.warn{color:var(--warn)}
.impact2{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;font-size:12px;color:var(--muted)}
.impact2 .trk{height:8px;background:var(--sunk);border-radius:4px;overflow:hidden}
.impact2 .trk i{display:block;height:100%;background:var(--ok);border-radius:4px}
.ans2 .why{font-size:14px}
.ans2.flash{animation:flash2 1.2s ease}
@keyframes flash2{0%{box-shadow:0 0 0 3px var(--brand)}100%{box-shadow:0 0 0 0 transparent}}
.ask2{background:var(--sunk);border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;gap:10px}
.ask2 h3{font-size:16px;font-weight:800}
.steps2{display:flex;gap:4px}.steps2 span{flex:1;height:4px;border-radius:2px;background:var(--line)}.steps2 span.on{background:var(--brand)}
.chips2{display:flex;flex-wrap:wrap;gap:6px}
.chips2 button{border:1px solid var(--line);background:var(--panel);color:var(--fg);padding:7px 12px;border-radius:999px;font-weight:600;font-size:13.5px;cursor:pointer}
.chips2 button:hover{border-color:var(--brand)}
.big3{font-size:26px;font-weight:800;font-variant-numeric:tabular-nums}
.big3 small{font-size:13px;font-weight:600;color:var(--muted)}
.wins2 .w2{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;border-bottom:1px dashed var(--line);padding-bottom:6px}
.wins2 .w2 b{color:var(--ok);white-space:nowrap}
.earn2{display:flex;flex-direction:column;gap:5px;font-size:13.5px}.earn2 div{display:flex;justify-content:space-between;gap:10px}
.mt2{margin-top:6px;font-size:17px}.mb{margin-bottom:14px}
.drawer.wide{width:min(980px,100%);overflow:auto;padding:18px;gap:12px}
.drawer .dh{display:flex;justify-content:space-between;align-items:center;gap:10px}
.burst2{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:60}
.burst2 i{position:absolute;top:-10px;width:8px;height:12px;border-radius:2px;animation:fall2 1.6s ease-in forwards}
.burst2 i.c0{background:var(--ok)}.burst2 i.c1{background:var(--gold-mark)}.burst2 i.c2{background:var(--opp)}
@keyframes fall2{to{transform:translateY(105vh) rotate(540deg);opacity:.2}}
@media (prefers-reduced-motion:reduce){.ans2.flash{animation:none}.burst2{display:none}}
/* Compliance notices and product conditions (compliance.js) */
.plannote{background:var(--sunk);border:1px solid var(--line);border-radius:10px;padding:9px 13px;font-size:13px;color:var(--muted);margin:10px 0}
.bi{display:inline}
.bi .es{display:block;margin-top:3px;opacity:.85}
.disclaimer p{margin:0 0 8px}
.facts{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:3px;font-size:12.5px;color:var(--muted)}
.facts li::before{content:"· "}
.opts2{display:flex;flex-direction:column;gap:8px}
.opt2{border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:6px;min-width:0}
.opt2 .ph{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.opt2 .ph .n{font-weight:800;color:var(--ok);white-space:nowrap}
.rnote{font-size:12px}
.how{font-style:normal}

/* Back to the website (15/10/2026) */
a.hb.sitelink { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
a.hb.sitelink span { white-space: nowrap; }
.gateback { margin-top: 18px; text-align: center; }
@media (max-width: 600px) { a.hb.sitelink span { display: none; } }
/* MVP tester feedback (js/feedback.js): a small pill, bottom right, above the phone tab bar. */
.fb{position:fixed;right:16px;bottom:calc(78px + env(safe-area-inset-bottom,0px));z-index:40;display:flex;flex-direction:column;align-items:flex-end;gap:8px;max-width:calc(100% - 32px)}
.fb[hidden]{display:none}
@media (min-width:880px){.fb{bottom:20px;right:20px}}
.fb-open{display:inline-flex;align-items:center;gap:8px;border:0;background:var(--brand);color:var(--brand-fg);font-weight:800;font-size:14.5px;line-height:1;padding:11px 17px;border-radius:999px;cursor:pointer;box-shadow:0 6px 18px rgba(16,61,43,.24)}
.fb-open:hover,.fb-open[aria-expanded="true"]{background:var(--deep);color:var(--deep-fg)}
.fb-open.is-thanks{background:var(--deep);color:var(--deep-fg)}
.fb-open .fb-es{font-weight:600;opacity:.8}
@media (max-width:520px){.fb-open .fb-es{display:none}}
.fb-ic{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.fb-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.fb-bubble{position:relative;width:290px;max-width:100%;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:12px 36px 12px 14px;box-shadow:0 10px 30px rgba(16,61,43,.18)}
.fb-bubble[hidden]{display:none}
.fb-bubble::after{content:"";position:absolute;right:30px;bottom:-7px;width:12px;height:12px;background:var(--panel);border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}
.fb-bubble p{margin:0 0 8px;font-weight:700;font-size:14px;line-height:1.35}
.fb-bgo{border:1px solid var(--brand);background:var(--panel);color:var(--brand);font-weight:800;font-size:13px;padding:6px 12px;border-radius:999px;cursor:pointer}
.fb-bgo:hover{background:var(--brand);color:var(--brand-fg)}
.fb-bx,.fb-card-x{position:absolute;top:6px;right:6px;border:0;background:transparent;color:var(--muted);font-size:20px;line-height:1;cursor:pointer;padding:2px 6px;border-radius:6px}
.fb-card{position:relative;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;margin-bottom:16px;padding-right:40px;border-color:var(--brand)}
.fb-card-q{display:flex;flex-direction:column;gap:2px}
.fb-card-btns{display:flex;flex-wrap:wrap;gap:8px}
.fb-ask{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--sunk);color:var(--fg);font-weight:700;font-size:13.5px;padding:8px 13px;border-radius:999px;cursor:pointer;text-align:left}
.fb-ask:hover{border-color:var(--brand);color:var(--brand)}
.fb-card-done{display:flex;align-items:center;gap:8px;margin:0;font-weight:700;color:var(--brand)}
.fb-vote{display:inline-flex;align-items:center;justify-content:center;gap:6px}
body.has-fb .main{padding-bottom:96px}
.fb-panel{order:-1;width:320px;max-width:100%;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px;box-shadow:0 10px 30px rgba(16,61,43,.18)}
.fb-panel[hidden]{display:none}
.fb-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.fb-head h2{font-size:15px;line-height:1.3;margin:0}
.fb-x{border:0;background:transparent;color:var(--muted);font-size:22px;line-height:1;cursor:pointer;padding:0 4px;border-radius:6px}
.fb-votes{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.fb-vote{border:1px solid var(--line);background:var(--sunk);color:var(--fg);font-weight:700;font-size:13.5px;padding:9px 8px;border-radius:10px;cursor:pointer;text-align:center}
.fb-vote:hover{border-color:var(--brand)}
.fb-vote[aria-pressed="true"]{background:var(--brand-soft);border-color:var(--brand);color:var(--fg);box-shadow:inset 0 0 0 1px var(--brand)}
.fb-label{font-size:13px;font-weight:700}
.fb-text{width:100%;border:1px solid var(--line);border-radius:10px;padding:8px 10px;font:inherit;font-size:14px;resize:vertical;min-height:70px;background:var(--panel);color:var(--fg)}
.fb-note{font-size:12px;color:var(--muted);margin:0}
.fb-actions{display:flex;align-items:center;gap:10px}
.fb-msg{font-size:12.5px;color:var(--muted)}
@media print{.fb{display:none}}
