/*
Today, Anyway · "Morning after rain"
VOICE: kind, short, never red, never "overdue". One thing on screen.
COLOUR: warm paper, deep ink, one accent (sage by default), apricot for "do this now".
TYPE: Plus Jakarta Sans, 4 weights. Big targets (44px+), thumb first.
*/
:root{
  --paper:#F7F5F0; --card:#FFFFFF; --sunk:#E6E2D8; --line:#ECE8DF;
  --ink:#1E2A2C; --ink-2:#3A4648; --ink-3:#4A5759; --muted:#5E6B6D;
  --night:#1E2A2C; --night-2:#2E3E40; --night-text:#F7F5F0; --night-muted:#B9C7C2;
  --apricot:#F0A57A; --apricot-soft:#FBE9DD; --apricot-ink:#8A4A26;
  --acc:#4F7F72; --acc-ink:#2C5248; --acc-soft:#E3EDE8; --acc-line:#C9D8D1;
  --marker:#5C7FA8;
  --r:20px; --r-sm:14px;
  --font:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --tab-h:76px;
}
[data-accent="sky"]{--acc:#4F739C;--acc-ink:#2F4F75;--acc-soft:#E1EAF4;--acc-line:#C5D4E6}
[data-accent="plum"]{--acc:#7C62A0;--acc-ink:#523F6E;--acc-soft:#ECE6F3;--acc-line:#D6CBE5}
[data-accent="clay"]{--acc:#AD6445;--acc-ink:#7C432B;--acc-soft:#F6E5DC;--acc-line:#E8CDBF}
.low-stim{--apricot:#D9B79F;--apricot-soft:#F3ECE4;--marker:#7D8C9C}
.low-stim *{animation:none!important;transition:none!important}

*{box-sizing:border-box;margin:0;padding:0}
html,body{background:var(--paper);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer;text-align:inherit}
a{color:var(--acc-ink)}
:focus-visible{outline:2px solid var(--acc);outline-offset:2px;border-radius:8px}
.hidden{display:none!important}
svg{flex:none}

/* ---------- shell ---------- */
.app{max-width:560px;margin:0 auto;min-height:100dvh;padding:calc(env(safe-area-inset-top) + 28px) 20px calc(env(safe-area-inset-bottom) + var(--tab-h) + 96px);display:flex;flex-direction:column;gap:18px}
.shell.bare .app{padding-bottom:calc(env(safe-area-inset-bottom) + 32px)}
.side{display:none}
.tabs{position:fixed;left:0;right:0;bottom:0;z-index:20;height:calc(var(--tab-h) + env(safe-area-inset-bottom));padding-bottom:calc(env(safe-area-inset-bottom) + 8px);background:var(--card);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr))}
.tabs button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:600;color:var(--muted);min-height:48px}
.tabs button svg{width:22px;height:22px}
.tabs button[aria-current="page"]{color:var(--ink);font-weight:800}
.fab{position:fixed;z-index:21;right:20px;bottom:calc(var(--tab-h) + env(safe-area-inset-bottom) + 16px);width:60px;height:60px;border-radius:20px;background:var(--acc);color:#fff;display:grid;place-items:center;box-shadow:0 8px 20px rgba(30,42,44,.18)}
.fab svg{width:24px;height:24px}
.demo-bar{position:sticky;top:0;z-index:30;display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 16px;padding-top:calc(env(safe-area-inset-top) + 8px);background:var(--night);color:var(--night-text);font-size:13px;font-weight:600;text-align:center}
.demo-bar a{color:var(--night);background:var(--apricot);border-radius:999px;padding:4px 12px;text-decoration:none;font-weight:800}
.demo-bar ~ .shell .app{padding-top:24px}

@media (min-width:900px){
  .shell:not(.bare){display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100dvh}
  .shell:not(.bare) .app{max-width:1080px;width:100%;padding:36px 44px 120px}
  .tabs{display:none}
  .fab{bottom:28px;right:32px}
  .side{display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100dvh;overflow:auto;padding:28px 16px;background:var(--card);border-right:1px solid var(--line)}
  .demo-bar ~ .shell .side{height:calc(100dvh - 40px);top:40px}
}
.side-mark{display:flex;align-items:center;gap:10px;padding:0 8px 18px;font-weight:800;font-size:16px}
.side-link{display:flex;align-items:center;gap:10px;border-radius:12px;padding:10px 12px;font-size:15px;font-weight:600;color:var(--ink-2)}
.side-link svg{width:20px;height:20px;color:var(--muted)}
.side-link:hover{background:var(--paper)}
.side-link[aria-current="page"]{background:var(--acc-soft);color:var(--ink);font-weight:700}
.side-link .pill{margin-left:auto}
.pill{font-size:12px;font-weight:700;background:var(--apricot-soft);color:var(--apricot-ink);border-radius:999px;padding:2px 8px}
.side-open{margin-top:8px;border:2px dashed var(--acc-line);border-radius:12px;padding:10px 12px;font-size:14px;font-weight:700;color:var(--acc-ink)}
.side-foot{margin-top:auto;display:flex;flex-direction:column;gap:4px;padding-top:16px}
.side-fresh{margin-top:10px;background:var(--paper);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:8px;font-size:13px;line-height:1.45;color:var(--ink-3)}

/* ---------- brand, intro, onboarding, gate ---------- */
.logo{width:36px;height:36px;border-radius:12px;background:var(--acc);display:inline-flex;align-items:center;justify-content:center}
.logo svg{width:22px;height:22px}
.side-mark .logo{width:34px;height:34px;border-radius:11px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:15px}
.narrow{max-width:440px;width:100%;margin:0 auto;display:flex;flex-direction:column;gap:22px;min-height:calc(100dvh - 80px)}
.intro h1{font-size:32px;line-height:1.12;font-weight:800;letter-spacing:-.01em}
.lead{margin-top:8px;font-size:16px;line-height:1.5;color:var(--ink-3)}
.picks{display:flex;flex-direction:column;gap:8px}
.pick{width:100%;min-height:58px;padding:10px 16px;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--card);border:2px solid var(--line)}
.pick.on{background:var(--acc-soft);border-color:var(--acc)}
.pick[aria-disabled="true"]{cursor:default}
.pick-text{display:flex;flex-direction:column;gap:2px}
.pick-text b{font-size:16px}
.pick-text span{font-size:13px;color:var(--muted)}
.pick-dot{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:800;color:#fff;background:var(--paper);border:2px solid #D9D4C8}
.pick.on .pick-dot{background:var(--acc);border-color:var(--acc)}
.ob-foot{margin-top:auto;display:flex;flex-direction:column;gap:12px;padding-bottom:8px}
ol.steps{padding:20px 20px 20px 40px;display:flex;flex-direction:column;gap:10px}
.code-input{letter-spacing:.08em;text-transform:uppercase;font-weight:700}

/* ---------- common ---------- */
.page-head h1{font-size:28px;font-weight:800;letter-spacing:-.01em;line-height:1.15}
.card{background:var(--card);border-radius:var(--r);padding:18px;display:flex;flex-direction:column;gap:12px}
.card-title{font-size:17px;font-weight:800}
.card-lite{background:var(--paper);border-radius:16px;padding:14px;margin-top:4px}
.muted{color:var(--ink-3);font-size:15px;line-height:1.5}
.fine{font-size:13px;color:var(--muted);line-height:1.45}
.center{text-align:center}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--apricot)}
.list{display:flex;flex-direction:column;gap:8px}
.list-title{font-size:13px;font-weight:700;color:var(--muted)}
.row{width:100%;min-height:52px;background:var(--card);border-radius:16px;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:15px;font-weight:600}
.row-main{display:flex;align-items:center;gap:8px;min-width:0;flex:1;overflow-wrap:anywhere}
.row-main.col{flex-direction:column;align-items:flex-start;gap:2px}
.row-main small,.row-side{font-size:12.5px;color:var(--muted);font-weight:600}
.row-side{display:flex;align-items:center;gap:6px;white-space:nowrap}
.row-side.strong{font-size:15px;color:var(--ink);font-weight:700}
.row-side.ready{color:var(--acc-ink);background:var(--acc-soft);border-radius:999px;padding:3px 10px}
.muted-row{color:var(--muted);font-weight:500}
.star svg{width:15px;height:15px;color:var(--apricot);fill:var(--apricot)}
.add-line{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border-radius:16px;border:2px dashed var(--acc-line);color:var(--acc-ink);font-weight:700;font-size:14px}
.add-line svg{width:16px;height:16px}
.add-line.small{min-height:40px;border-width:1.5px;font-size:13px}
.link{color:var(--acc-ink);font-weight:700;font-size:14px;min-height:40px;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px;text-decoration-color:var(--acc-line);align-self:flex-start}
.link.light{color:var(--apricot);text-decoration-color:rgba(240,165,122,.5)}
.x{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:var(--muted)}
.x svg{width:16px;height:16px}
.empty{display:flex;flex-direction:column;gap:2px;padding:16px;border-radius:16px;background:var(--card);font-size:14px;color:var(--ink-3)}
.empty b{color:var(--ink);font-size:15px}
.tip{background:var(--apricot-soft);border-radius:18px;padding:14px 16px;font-size:14px;line-height:1.5;color:var(--ink-2)}
.notice{background:var(--apricot-soft);border-radius:16px;padding:12px 14px;font-size:14px;line-height:1.45;display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between}
.notice.soft{background:var(--card);border:1.5px solid var(--line)}
.notice svg{width:16px;height:16px;vertical-align:-3px;margin-right:6px;color:var(--acc)}
.notice-btns{display:flex;align-items:center;gap:10px}
.two-col{display:grid;gap:18px}
@media (min-width:900px){.two-col{grid-template-columns:1fr 1fr;align-items:start}}

/* buttons */
.btn{width:100%;min-height:52px;border-radius:16px;font-weight:700;font-size:16px;display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;padding:0 18px;text-align:center}
.btn svg{width:18px;height:18px}
.btn.primary{background:var(--ink);color:var(--paper)}
.btn.big{min-height:56px;font-size:17px;border-radius:18px}
.btn.ghost{background:var(--card);border:2px solid var(--line);color:var(--ink)}
.btn.dark{background:var(--night);color:var(--night-text)}
.btn.accent{background:var(--acc);color:#fff}
.btn.small{width:auto;min-height:40px;font-size:14px;padding:0 14px;border-radius:12px}
.btn.small:not(.dark):not(.accent){background:var(--acc-soft);color:var(--acc-ink)}
.btn.danger{color:#8A3B2E}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end}
.file-btn{position:relative;overflow:hidden;cursor:pointer}
.file-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}

/* forms */
.form{display:flex;flex-direction:column;gap:14px}
.field{display:flex;flex-direction:column;gap:6px;border:0;min-width:0}
.field > span,.field legend{font-size:13px;font-weight:700;color:var(--ink-3)}
.field i{font-style:normal;font-weight:500;color:var(--muted)}
input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;min-height:48px;border-radius:14px;border:2px solid var(--line);background:var(--card);padding:10px 14px;font-size:16px;outline:none}
textarea{resize:vertical;line-height:1.5}
input:focus,select:focus,textarea:focus{border-color:var(--acc)}
input[type=date],input[type=time]{appearance:none;-webkit-appearance:none}
.money-field{position:relative;display:block}
.money-field i{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-style:normal;font-weight:700;color:var(--muted)}
.money-field input{padding-left:32px!important;font-weight:700}
.money-field.big input{font-size:28px;min-height:64px}
.form-error{color:var(--apricot-ink);font-size:14px;font-weight:600}
.form-error:empty{display:none}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip input{position:absolute;opacity:0;pointer-events:none}
.chip span{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:12px;background:var(--paper);border:2px solid var(--line);font-size:14px;font-weight:700;color:var(--ink-3);cursor:pointer}
.chip input:checked + span{background:var(--acc-soft);border-color:var(--acc);color:var(--acc-ink)}
.chip input:focus-visible + span{outline:2px solid var(--acc);outline-offset:2px}
.toggle{display:flex;align-items:center;gap:10px;min-height:48px;cursor:pointer;font-weight:700;font-size:14px}
.toggle input{width:22px;height:22px;accent-color:var(--acc)}
.toggle span{display:flex;align-items:center;gap:6px}
.toggle svg{width:16px;height:16px;color:var(--apricot)}
.toggle.wide span{flex-direction:column;align-items:flex-start;gap:2px}
.toggle.wide small{font-weight:500;color:var(--muted);font-size:13px}
.inline-add{display:flex;gap:8px;align-items:center}
.inline-add input{flex:1;min-width:0}
.inline-add select{width:auto;flex:none}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.chip-btn{min-height:40px;padding:0 12px;border-radius:12px;background:var(--card);border:1.5px solid var(--line);font-size:13.5px;font-weight:700;color:var(--ink-3)}
.starters{display:flex;flex-direction:column;gap:8px}

/* sheet + toast */
.scrim{position:fixed;inset:0;background:rgba(30,42,44,.32);z-index:40}
.sheet{position:fixed;z-index:41;left:0;right:0;bottom:0;max-height:88dvh;overflow:auto;background:var(--paper);border-radius:26px 26px 0 0;padding:22px 20px calc(env(safe-area-inset-bottom) + 22px);display:flex;flex-direction:column;gap:12px;animation:up .22s ease-out}
@media (min-width:700px){.sheet{left:50%;right:auto;bottom:auto;top:50%;transform:translate(-50%,-50%);width:520px;border-radius:26px;animation:none}}
@keyframes up{from{transform:translateY(24px);opacity:.4}}
.sheet-title{font-size:22px;font-weight:800}
.sheet .list .row{background:var(--card)}
.toast{position:fixed;z-index:50;left:50%;transform:translateX(-50%);bottom:calc(var(--tab-h) + env(safe-area-inset-bottom) + 90px);background:var(--night);color:var(--night-text);border-radius:14px;padding:12px 16px;display:flex;gap:16px;align-items:center;font-size:14px;font-weight:600;max-width:calc(100% - 32px);box-shadow:0 10px 30px rgba(30,42,44,.25)}
.toast.top{top:calc(env(safe-area-inset-top) + 16px);bottom:auto}
.toast button{color:var(--apricot);font-weight:800;min-height:32px}
@media (min-width:900px){.toast{bottom:32px}}

/* ---------- Now ---------- */
.now-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
.now-head .date{font-size:13px;font-weight:600;color:var(--muted)}
.now-head h1{font-size:26px;font-weight:800;letter-spacing:-.01em;line-height:1.15;margin-top:2px}
.money-chip{background:var(--acc-soft);color:var(--acc-ink);border-radius:999px;padding:8px 12px;font-size:13px;font-weight:700;white-space:nowrap}
.now-grid{display:grid;gap:18px;grid-template-areas:"time" "weather" "card" "later"}
.g-time{grid-area:time}.g-weather{grid-area:weather}.g-card{grid-area:card}.g-later{grid-area:later;display:flex;flex-direction:column;gap:12px}
@media (min-width:900px){
  .now-head h1{font-size:34px}
  .now-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-areas:"time time" "card later" "weather later";align-items:start;gap:20px}
  .now-card{padding:30px!important;border-radius:28px!important}
  .now-title{font-size:32px!important;max-width:460px!important}
}
.timebar{display:flex;flex-direction:column;gap:8px}
.tb-top{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);font-weight:600}
.tb-rail{height:10px;border-radius:999px;background:var(--sunk);position:relative}
.tb-fill{height:10px;border-radius:999px;background:var(--apricot)}
.tb-mark{position:absolute;top:-3px;width:4px;height:16px;margin-left:-2px;border-radius:2px;background:var(--marker)}
.tb-next{font-size:12.5px;color:var(--muted)}
.weather{padding:10px 12px;gap:8px;border-radius:20px}
.weather-label{font-size:12px;font-weight:700;color:var(--muted)}
.weather-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.w-btn{min-height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:700;background:var(--paper);color:var(--ink-3)}
.w-btn svg{width:18px;height:18px}
.w-btn.on{background:var(--acc-soft);color:var(--acc-ink);outline:2px solid var(--acc)}
.now-card{background:var(--night);color:var(--night-text);border-radius:26px;padding:22px 20px;display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden;isolation:isolate}
.ring-deco{position:absolute;right:-40px;top:-40px;width:150px;height:150px;border-radius:50%;border:18px solid var(--night-2);z-index:-1}
.now-title{font-size:26px;line-height:1.2;font-weight:800;max-width:300px;overflow-wrap:anywhere}
.now-meta{font-size:14px;color:var(--night-muted)}
.now-btns{display:flex;gap:8px;flex-wrap:wrap}
.btn-start,.btn-dim,.btn-quiet{min-height:48px;padding:0 18px;border-radius:16px;font-weight:700;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn-start{background:var(--apricot);color:var(--night);font-weight:800}
.btn-start svg{width:14px;height:14px}
.btn-start.small{min-height:42px;align-self:flex-start;font-size:14px}
.btn-start.big{width:100%;min-height:56px;font-size:17px;border-radius:18px}
.btn-dim{background:var(--night-2);color:var(--night-text)}
.btn-quiet{color:var(--night-muted);padding:0 10px}
.now-tools{display:flex;gap:16px;border-top:1px solid var(--night-2);padding-top:10px;margin-top:2px}
.now-tools button{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:var(--night-muted);min-height:36px}
.now-tools svg{width:15px;height:15px}
.moving{background:var(--night-2);border-radius:14px;padding:10px 12px;font-size:13.5px;line-height:1.45;color:var(--night-text)}
.moving-btns{display:flex;gap:14px;margin-top:6px}
.moving-btns button{color:var(--apricot);font-weight:700;min-height:32px}
.now-card.calm{background:var(--card);color:var(--ink)}
.now-card.calm .now-meta{color:var(--ink-3)}
.now-card.calm .btn-dim{background:var(--acc-soft);color:var(--acc-ink)}
.now-card.calm .eyebrow{color:var(--acc)}
.steps-panel{background:var(--night-2);border-radius:16px;padding:12px 14px;display:flex;flex-direction:column;gap:8px;font-size:14px}
.steps-panel input:not([type=checkbox]){background:var(--night);border-color:#3A4C4F;color:var(--night-text);min-height:44px;font-size:15px}
.steps-panel input::placeholder{color:#8FA19C}
.sp-title{color:var(--apricot);font-weight:700}
.sp-hint{color:var(--night-muted);font-size:13px}
.step{display:flex;align-items:center;gap:10px;min-height:36px;font-size:15px;cursor:pointer}
.step input{width:20px;height:20px;accent-color:var(--acc)}
.step.done span{text-decoration:line-through;color:var(--night-muted)}
.now-foot{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.soft-chip{display:inline-flex;align-items:center;gap:6px;background:var(--acc-soft);color:var(--acc-ink);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:700;min-height:36px}
.soft-chip svg{width:15px;height:15px}

/* ---------- Focus ---------- */
.shell.focus-mode,.shell.focus-mode .app{background:var(--night)}
body:has(.focus-mode){background:var(--night)}
.focus{color:var(--night-text);display:flex;flex-direction:column;align-items:center;gap:18px;min-height:calc(100dvh - 60px);max-width:440px;width:100%;margin:0 auto}
.focus-top{width:100%;display:flex;justify-content:space-between;align-items:center}
.focus-back{display:flex;align-items:center;gap:6px;color:var(--night-muted);font-size:14px;font-weight:700;min-height:44px}
.focus-back svg{width:16px;height:16px}
.focus-task{text-align:center;display:flex;flex-direction:column;gap:8px}
.focus-doing{font-size:13px;color:var(--night-muted);font-weight:600}
.focus-task h1{font-size:24px;line-height:1.25;font-weight:800;max-width:320px;overflow-wrap:anywhere}
.ring{position:relative;width:230px;height:230px}
.ring svg{width:230px;height:230px}
.ring-bg{stroke:var(--night-2);stroke-width:16;fill:none}
.ring-fg{stroke:var(--apricot);stroke-width:16;fill:none;stroke-linecap:round;transition:stroke-dashoffset 1s linear}
.ring-mid{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.ring-time{font-size:56px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.ring-of{font-size:13px;color:var(--night-muted);font-weight:600}
.focus-presets{display:flex;gap:8px}
.focus-presets button{min-height:40px;padding:0 14px;border-radius:12px;background:var(--night-2);color:var(--night-muted);font-weight:700;font-size:14px}
.focus-presets button.on{color:var(--night);background:var(--night-muted)}
.focus-steps{width:100%;background:var(--night-2);border-radius:18px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.focus-btns{width:100%;margin-top:auto;display:flex;flex-direction:column;gap:10px}
.focus-btns .btn-dim{width:100%}
.focus-note{text-align:center;font-size:13px;color:var(--night-muted)}

/* ---------- Brain dump ---------- */
.dump-box{border:2px solid var(--acc-soft);gap:10px;padding:14px}
.dump-label{font-size:13px;font-weight:700;color:var(--muted)}
.dump-box textarea{border:none;padding:0;min-height:80px;background:transparent}
.dump-foot{display:flex;justify-content:space-between;align-items:center;gap:10px}
.sort{display:flex;flex-direction:column;gap:12px}
.sort-card{background:var(--night);color:var(--night-text);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:16px}
.sort-text{font-size:22px;line-height:1.3;font-weight:800;overflow-wrap:anywhere}
.sort-btns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sort-btns button{min-height:52px;border-radius:16px;background:var(--night-2);color:var(--night-text);font-size:15px;font-weight:700;text-align:center}
.sort-btns .b-today{background:var(--apricot);color:var(--night);font-weight:800}
.sort-btns .b-drop{color:var(--night-muted)}
.cleared{background:var(--acc-soft);border-radius:24px;padding:24px;display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;color:var(--ink-2)}
.cleared b{font-size:22px;font-weight:800;color:var(--acc-ink)}

/* ---------- Money ---------- */
.money-grid{display:grid;gap:18px}
.mg-main,.mg-side{display:flex;flex-direction:column;gap:14px}
@media (min-width:900px){.money-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start;gap:24px}}
.safe-card{background:var(--acc);color:#fff;border-radius:26px;padding:22px 20px;display:flex;flex-direction:column;gap:10px}
.safe-label{font-size:14px;font-weight:700;color:rgba(255,255,255,.85)}
.safe-num{font-size:56px;line-height:1;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.safe-sub{font-size:14px;font-weight:600;color:rgba(255,255,255,.85)}
.safe-line{font-size:14px;line-height:1.45;color:rgba(255,255,255,.9)}
.safe-rail{height:8px;border-radius:999px;background:rgba(0,0,0,.18);margin-top:4px}
.safe-rail div{height:8px;border-radius:999px;background:var(--apricot)}
.safe-foot{display:flex;justify-content:space-between;font-size:12px;font-weight:600;color:rgba(255,255,255,.85)}
.money-btns{align-items:stretch}
.money-btns .btn{margin:0}
.paid-chip{font-size:13px;font-weight:700;color:var(--acc-ink);background:var(--acc-soft);border-radius:999px;padding:4px 10px}
.wait-card{background:var(--apricot-soft);border-radius:18px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.wait-text{display:flex;flex-direction:column;gap:2px}
.wait-k{font-size:13px;font-weight:700;color:var(--apricot-ink)}
.wait-sub{font-size:12.5px;color:var(--ink-3)}
.wait-left{font-size:13px;font-weight:700;white-space:nowrap}
.wait-btns{display:flex;gap:8px}
.payday{border:2px solid var(--acc-line)}
.payday h2{font-size:18px;font-weight:800}

/* ---------- Plan ---------- */
.week{display:grid;gap:14px}
@media (min-width:900px){.week{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
.day{display:flex;flex-direction:column;gap:8px;background:transparent}
.day-head{display:flex;justify-content:space-between;align-items:baseline;font-size:16px;font-weight:800}
.day-head small{font-size:12.5px;color:var(--muted);font-weight:600}
.day.is-today .day-head span{color:var(--acc-ink)}
.day-note{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink-3);padding:0 4px}
.day-note svg{width:15px;height:15px;color:var(--muted)}
.day.someday{background:var(--card);border-radius:20px;padding:14px}
.day.someday .row{background:var(--paper)}
.fresh-card{background:var(--card);border-radius:18px;padding:14px 16px;display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:14px;color:var(--ink-3);flex-wrap:wrap}

/* ---------- Rooms ---------- */
.room-row{padding:10px 12px}
.room-go{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
.room-ic{width:40px;height:40px;border-radius:12px;background:var(--acc-soft);color:var(--acc-ink);display:grid;place-items:center;flex:none}
.room-ic svg{width:20px;height:20px}
.room-row.closed .room-ic{background:var(--paper);color:var(--muted)}
.reset-card{background:var(--night);color:var(--night-text);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:12px}
.reset-card ul{list-style:none;display:flex;flex-direction:column;gap:6px;font-size:18px;font-weight:700}
.reset-card li::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--apricot);margin-right:10px;vertical-align:3px}
.meal-row select{width:auto;max-width:55%;min-height:40px;padding:6px 10px;font-size:14px}
.check-row{cursor:pointer}
.check-row input{width:20px;height:20px;accent-color:var(--acc);flex:none}
.check-row.done .row-main span{text-decoration:line-through;color:var(--muted)}
.check-row label.row-main{cursor:pointer}
.bought{display:flex;flex-direction:column;gap:8px;opacity:.8}
.habit{display:flex;align-items:center;gap:12px;background:var(--card);border-radius:16px;padding:10px 12px}
.habit-tick{width:40px;height:40px;border-radius:12px;border:2px solid var(--acc-line);display:grid;place-items:center;color:#fff;flex:none}
.habit.on .habit-tick{background:var(--acc);border-color:var(--acc)}
.habit-tick svg{width:20px;height:20px}
.habit-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.habit-main b{font-size:15px;overflow-wrap:anywhere}
.habit-main small{font-size:12.5px;color:var(--muted);font-weight:600}
.habit-week{display:flex;gap:3px}
.habit-week span{width:18px;height:18px;border-radius:6px;background:var(--paper);font-size:10px;font-weight:700;color:var(--muted);display:grid;place-items:center}
.habit-week span.on{background:var(--acc-soft);color:var(--acc-ink)}
@media (max-width:400px){.habit-week{display:none}}
.jar-wrap{display:flex;justify-content:center;padding:8px 0}
.jar{position:relative;width:180px;height:220px;border-radius:36px 36px 44px 44px;border:4px solid var(--acc-line);background:var(--card);overflow:hidden}
.jar::before{content:"";position:absolute;top:-4px;left:30px;right:30px;height:14px;border-radius:0 0 8px 8px;background:var(--acc-line)}
.jar-fill{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(var(--apricot-soft),var(--apricot));opacity:.9;transition:height .6s ease}
.jar-count{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.jar-count b{font-size:48px;font-weight:800;line-height:1}
.jar-count span{font-size:13px;font-weight:700;color:var(--ink-3)}

/* ---------- Settings ---------- */
.swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.swatch{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:13px;font-weight:700;padding:8px 0;border-radius:14px;border:2px solid transparent}
.swatch span{width:36px;height:36px;border-radius:12px}
.swatch.on{border-color:var(--ink);background:var(--paper)}
.sw-sage span{background:#4F7F72}.sw-sky span{background:#4F739C}.sw-plum span{background:#7C62A0}.sw-clay span{background:#AD6445}
.device-card{display:flex;gap:12px;align-items:flex-start;background:var(--paper);border-radius:16px;padding:14px;font-size:14px;line-height:1.5;color:var(--ink-3)}
.device-ic{display:flex;gap:2px;color:var(--acc)}
.device-ic svg{width:20px;height:20px}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
