/* VOICE: warm, calm, encouraging; as few words per screen as possible
IDEA: a pocket planner that only ever shows today
PICTURE: the Today screen itself: three tasks, habit dots, the routine ring
COLOUR and TYPE: ADHD Bright purple + gold, one calm colour per module; Lexend (built for reading ease)
LAYOUT: one phone column; on wide screens it sits on a flat deep-purple field */
:root{color-scheme:light dark;
--bg:light-dark(#f6f3fa,#16111e);--card:light-dark(#ffffff,#221b2d);--ink:light-dark(#241a33,#efe9f7);--soft:light-dark(#6a5f7c,#a99dbb);--line:light-dark(#e6dfef,#352b44);
--field:light-dark(#4a2f7a,#0e0a14);--p:light-dark(#5e3fa3,#b9a2f2);--gold:#eab53c;
--task:var(--p);--habit:light-dark(#cf5a30,#f39a74);--rout:light-dark(#1d8379,#5cc8bd);--goal:light-dark(#3c8549,#7cc98a);--note:light-dark(#2f65b0,#86b4f0);--jour:light-dark(#b4426a,#ef8fae);--money:light-dark(#9c6b06,#f2c766);--meal:light-dark(#6f7514,#c6cc5e)}
:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}
:root[data-ab=light]{color-scheme:light!important}:root[data-ab=dark]{color-scheme:dark!important}
*{box-sizing:border-box;min-width:0}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 Lexend,system-ui,sans-serif;overflow-x:clip;-webkit-tap-highlight-color:transparent}
button{font:inherit;color:inherit;cursor:pointer}
.app{max-width:460px;margin:0 auto;min-height:100dvh;background:var(--bg);display:flex;flex-direction:column}
main{flex:1;padding-bottom:24px}
@media(min-width:620px){body{background:var(--field)}.app{margin:28px auto;min-height:calc(100dvh - 56px);border-radius:32px;overflow:clip;box-shadow:0 30px 80px -30px #000a}}
.top{padding:calc(env(safe-area-inset-top) + 22px) 22px 6px}
.top h1{font-size:30px;line-height:1.1;margin:2px 0 0;font-weight:600;text-wrap:balance}
.date{margin:0;color:var(--soft);font-size:14px}
.subtop{display:flex;align-items:center;gap:6px;padding:calc(env(safe-area-inset-top) + 14px) 12px 4px}
.subtop h1{font-size:24px;margin:0;flex:1;font-weight:600}
.icb{width:44px;height:44px;border-radius:14px;border:0;background:none;display:grid;place-items:center;color:var(--soft);flex:none}
.ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card{background:var(--card);border-radius:22px;padding:16px 16px 12px;margin:12px 14px;box-shadow:0 1px 0 var(--line),0 8px 24px -16px rgb(40 20 80/.35);display:block;width:auto;text-align:left;border:0}
.c-task{--c:var(--task)}.c-habit{--c:var(--habit)}.c-rout{--c:var(--rout)}.c-goal{--c:var(--goal)}.c-note{--c:var(--note)}.c-jour{--c:var(--jour)}.c-money{--c:var(--money)}.c-meal{--c:var(--meal)}
.sh{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
h2,.h2{font-size:18px;font-weight:600;margin:0;line-height:1.25;display:block}
.sh h2{color:var(--c)}
.why{width:36px;height:36px;border-radius:50%;border:0;background:none;color:var(--soft);display:grid;place-items:center;margin:-6px -8px -6px 0}
.why .ic{width:19px;height:19px}
.sub{color:var(--soft);font-size:14px;margin:6px 0 2px}
.empty{color:var(--soft);font-size:15px;margin:10px 0}
.meter{height:8px;border-radius:9px;background:color-mix(in srgb,var(--c) 15%,transparent);overflow:hidden}
.meter.big{height:12px}
.meter i{display:block;height:100%;background:var(--c);border-radius:9px;transition:width .6s cubic-bezier(.3,1.4,.5,1)}
ul{list-style:none;margin:6px 0 0;padding:0}
.task,.steps li,.irow{display:flex;align-items:center;gap:2px;border-top:1px solid var(--line)}
.task:first-child,.steps li:first-child,.irow:first-child{border-top:0}
.chk{width:44px;height:48px;border:0;background:none;display:grid;place-items:center;flex:none;margin-left:-8px}
.chk>span{width:28px;height:28px;border-radius:50%;border:2px solid var(--c);display:grid;place-items:center;color:transparent;transition:background .2s,transform .2s}
.chk .ic{width:17px;height:17px;stroke-width:3}
.done .chk>span{background:var(--c);color:var(--card)}
.chk:active>span{transform:scale(.85)}
.tt{flex:1;text-align:left;background:none;border:0;padding:10px 4px;font-size:16px}
.tt small{display:block;color:var(--soft);font-size:13px}
.done .tt span,.steps .done>span{text-decoration:line-through;color:var(--soft)}
.steps li>span{flex:1;padding:12px 4px}
.play{width:40px;height:40px;border-radius:50%;border:0;background:color-mix(in srgb,var(--c) 13%,transparent);color:var(--c);display:grid;place-items:center;flex:none}
.play .ic{width:18px;height:18px;fill:currentColor}
.del{width:40px;height:40px;border:0;background:none;color:var(--soft);display:grid;place-items:center}
.del .ic{width:18px;height:18px}
.hchips{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:6px}
.hchip{display:flex;align-items:center;gap:8px;padding:7px 14px 7px 8px;border-radius:99px;border:1.5px solid var(--line);background:none;min-height:44px;font-size:15px}
.hchip .dot{width:26px;height:26px;border-radius:50%;border:2px solid var(--c);display:grid;place-items:center;flex:none}
.hchip .ic{width:15px;height:15px;stroke-width:3}
.hchip.on{background:color-mix(in srgb,var(--c) 14%,transparent);border-color:transparent}
.hchip.on .dot{background:var(--c);color:var(--card)}
.rcard{display:flex;align-items:center;justify-content:space-between;gap:12px;width:calc(100% - 28px);padding:16px}
.rcard .h2{color:var(--c)}
.mring{width:52px;height:52px;transform:rotate(-90deg);flex:none}
.mring circle{fill:none;stroke-width:4;stroke-linecap:round}
.mring .tr{stroke:color-mix(in srgb,var(--c) 15%,transparent)}.mring .pr{stroke:var(--c);transition:stroke-dasharray .6s}
.nudge{display:flex;align-items:center;gap:10px;width:calc(100% - 28px);margin:10px 14px 0;padding:10px 14px;border-radius:16px;border:0;background:color-mix(in srgb,var(--gold) 22%,var(--card));text-align:left;min-height:48px;font-size:15px}
.nudge span{flex:1}.nudge b{color:var(--p);font-weight:600}
.add{display:flex;gap:8px;margin:8px 0 4px}
input,textarea,select{font:inherit;font-size:16px;color:inherit;background:var(--bg);border:1.5px solid var(--line);border-radius:14px;padding:10px 14px;min-height:44px;width:100%}
textarea{resize:vertical;line-height:1.45}
.add button{width:44px;height:44px;flex:none;border-radius:14px;border:0;background:color-mix(in srgb,var(--c,var(--p)) 14%,transparent);color:var(--c,var(--p));display:grid;place-items:center}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
input:focus,textarea:focus,select:focus{outline:none;border-color:var(--c,var(--p))}
.link{background:none;border:0;color:var(--c,var(--p));font-weight:600;min-height:44px;padding:0;font-size:15px}
.link.danger{color:var(--soft)}
.btn{min-height:46px;padding:0 18px;border-radius:14px;border:0;background:var(--p);color:var(--card);font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.btn.ghost{background:color-mix(in srgb,var(--p) 12%,transparent);color:var(--p)}
.btn.gold{background:var(--gold);color:#2a1b00}
.btn.sm{min-height:40px;font-size:14px;background:color-mix(in srgb,var(--c) 14%,transparent);color:var(--c);margin:6px 0}
.btn[disabled]{opacity:.5;cursor:default}
.btn .ic{width:19px;height:19px}
.wide{display:flex;width:calc(100% - 28px);margin:12px 14px}
.row{display:flex;gap:8px;flex-wrap:wrap}.row>*{flex:1}
.later{margin:4px 14px;padding:0 4px}
.later .task{border-color:var(--line)}
.mv{border:0;background:color-mix(in srgb,var(--p) 12%,transparent);color:var(--p);border-radius:12px;min-height:38px;padding:0 12px;font-size:14px;font-weight:600;flex:none}
.seg{display:flex;background:var(--bg);border-radius:14px;padding:4px;margin:0 0 12px}
.seg button{flex:1;min-height:40px;border:0;border-radius:11px;background:none;font-size:15px;color:var(--soft)}
.seg [aria-selected=true]{background:var(--card);color:var(--c,var(--p));font-weight:600;box-shadow:0 1px 4px rgb(0 0 0/.12)}
.habits li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;border-top:1px solid var(--line)}
.habits li:first-child{border-top:0}
.hn{flex:1}.hn .tt{padding:4px 0 0}.hn small{color:var(--soft);font-size:13px}
.week{display:flex;align-items:center;gap:5px;flex:none}
.wd{width:12px;height:12px;border-radius:50%;background:color-mix(in srgb,var(--c) 16%,transparent);display:block}
.wd.on{background:var(--c)}
.wd.today{width:40px;height:40px;border:2px solid var(--c);background:none;display:grid;place-items:center;color:var(--card);margin-left:4px}
.wd.today.on{background:var(--c)}
.wd.today .ic{width:18px;height:18px;stroke-width:3}
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 14px}
.tile{border:0;background:var(--card);border-radius:22px;padding:16px;text-align:left;min-height:128px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 1px 0 var(--line),0 8px 24px -16px rgb(40 20 80/.35)}
.tile .ib{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 15%,transparent);color:var(--c)}
.tile b{display:block;font-weight:600;font-size:16px;margin-top:12px}.tile small{color:var(--soft);font-size:13px}
.tile.locked{opacity:.62}
.gh{display:block;width:100%;text-align:left;background:none;border:0;padding:0 0 10px}
.gh small{color:var(--soft);font-size:13px}
.sub b{color:var(--c)}
.nlist .card{margin:10px 14px}
.nlist .tt{padding:0}
.nlist p{margin:4px 0 0;color:var(--soft);font-size:14px;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pin{color:var(--note);display:inline-grid;vertical-align:-4px;margin-right:4px}.pin .ic{width:18px;height:18px}
.moods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:4px 0 12px}
.moods button{border:1.5px solid var(--line);background:none;border-radius:14px;min-height:64px;font-size:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:6px 2px}
.moods i{width:18px;height:18px;border-radius:50%;background:var(--m)}
.moods [aria-pressed=true]{border-color:var(--m);background:color-mix(in srgb,var(--m) 14%,transparent);font-weight:600}
label.q{display:block;font-weight:500;font-size:15px;margin:12px 0 6px}
.past{border-top:1px solid var(--line);padding:10px 0}
.past b{font-weight:600;font-size:14px}.past p{margin:2px 0 0;color:var(--soft);font-size:14px}
.big{font-size:clamp(34px,10vw,44px);font-weight:700;line-height:1.05;margin:4px 0}
.big small{font-size:16px;font-weight:500;color:var(--soft)}
.levels{display:flex;gap:6px;margin:12px 0 4px}
.levels span{flex:1;height:34px;border-radius:10px;background:color-mix(in srgb,var(--c) 13%,transparent);display:grid;place-items:center;font-size:13px;font-weight:600;color:var(--soft)}
.levels .on{background:var(--c);color:var(--card)}
.meals{display:grid;grid-template-columns:44px minmax(0,1fr) minmax(0,1fr);gap:6px 8px;align-items:center}
.meals b{font-size:14px;color:var(--c);font-weight:600}
.meals .hd{font-size:13px;color:var(--soft)}
.meals input{padding:8px 10px;font-size:16px}
.irow .tt{cursor:default}
.iacts{display:flex;gap:6px;flex-wrap:wrap;padding:0 0 12px 0}
.ilist li{display:block;border-top:1px solid var(--line);padding-top:8px}.ilist li:first-child{border-top:0}
.ilist p{margin:0 0 8px;font-size:16px}.ilist small{color:var(--soft);font-size:13px}
.drive{display:flex;gap:12px;align-items:flex-start}
.drive .ib{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:color-mix(in srgb,var(--note) 15%,transparent);color:var(--note);flex:none}
.note-s{font-size:13px;color:var(--soft);margin:14px 20px 6px;text-align:center}
nav{position:sticky;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;background:var(--card);border-top:1px solid var(--line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));z-index:5}
nav button{border:0;background:none;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:13px;color:var(--soft);min-height:52px;justify-content:center;position:relative}
nav [aria-current=page]{color:var(--p);font-weight:600}
nav .badge{position:absolute;top:4px;right:calc(50% - 20px);min-width:18px;height:18px;border-radius:9px;background:var(--gold);color:#2a1b00;font-size:13px;font-weight:600;line-height:18px;padding:0 5px}
.fab{width:62px;height:62px;border-radius:50%;background:var(--gold)!important;color:#2a1b00!important;margin:-28px auto 0;box-shadow:0 10px 24px -8px rgb(160 110 0/.7);min-height:0!important}
.fab .ic{width:28px;height:28px;stroke-width:2.6}
.bd{position:fixed;inset:0;background:rgb(18 8 32/.5);display:flex;align-items:flex-end;justify-content:center;z-index:20}
.bd.in{animation:fade .2s}
.sheet{background:var(--card);width:100%;max-width:460px;border-radius:26px 26px 0 0;padding:22px 20px calc(22px + env(safe-area-inset-bottom));max-height:90dvh;overflow:auto}
.bd.in .sheet{animation:up .28s cubic-bezier(.2,1,.4,1)}
.sheet h2{font-size:21px;margin-bottom:10px}
.sheet p{margin:0 0 12px}
.sheet .row{margin-top:12px}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0}
.chips button{min-height:42px;min-width:56px;border-radius:12px;border:1.5px solid var(--line);background:none;font-size:15px;padding:0 12px}
.chips [aria-pressed=true]{background:var(--p);color:var(--card);border-color:var(--p)}
.fz{position:fixed;inset:0;z-index:30;background:var(--field);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:calc(env(safe-area-inset-top) + 24px) 24px calc(env(safe-area-inset-bottom) + 24px);text-align:center;animation:fade .25s}
.fz .icb{position:absolute;top:calc(env(safe-area-inset-top) + 12px);right:12px;color:#fffc}
.fz-l{color:var(--gold);font-weight:600;margin:0 0 6px}
.fz h2{font-size:24px;max-width:340px;text-wrap:balance;margin-bottom:18px}
.fz .chips button{border-color:#ffffff40;color:#fff}.fz .chips [aria-pressed=true]{background:var(--gold);color:#2a1b00;border-color:var(--gold)}
.fring{position:relative;width:min(260px,70vw);aspect-ratio:1;margin:8px 0 22px}
.fring svg{width:100%;height:100%;transform:rotate(-90deg);overflow:visible}
.fring circle{fill:none;stroke-width:3.5;stroke-linecap:round}
.fring .tr{stroke:#ffffff22}.fring .pr{stroke:#fff;transition:stroke-dasharray 1s linear}.fring.over .pr{stroke:var(--gold)}
.fring div{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.fring b{font-size:clamp(40px,13vw,52px);font-weight:600;font-variant-numeric:tabular-nums;line-height:1}
.fring small{color:#ffffffb0;font-size:14px;margin-top:6px}
.fz .row{width:100%;max-width:340px}
.fz .row .btn{flex:1;white-space:nowrap}.fz .btn.ghost{background:#ffffff1f;color:#fff}
.res{background:#ffffff14;border-radius:20px;padding:18px;max-width:340px;width:100%;margin-bottom:18px}
.res .acc{font-size:44px;font-weight:700;color:var(--gold);line-height:1}
.res p{margin:8px 0 0;color:#ffffffd0}
.toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translateX(-50%);background:var(--ink);color:var(--card);padding:12px 20px;border-radius:99px;font-size:15px;font-weight:500;z-index:40;animation:up .25s;white-space:nowrap;max-width:92vw;overflow:hidden;text-overflow:ellipsis}
.spark{position:fixed;width:9px;height:9px;border-radius:50%;pointer-events:none;z-index:50;animation:spark .75s cubic-bezier(.2,.8,.4,1) forwards}
.pwrap{padding:0 14px}.pwrap .card{margin:12px 0}.pwrap>.seg{margin:10px 0 0}
.dnav{display:flex;align-items:center;gap:4px;margin:10px 0 0}.dnav span{flex:1;text-align:center;font-weight:600}
.dnav .link{padding:0 8px}
.lbl{font-size:13px;color:var(--soft);margin:12px 0 0}
.tlg{position:relative}
.hr{position:absolute;left:0;right:0;height:56px;border:0;border-top:1px solid var(--line);background:none;text-align:left;padding:3px 0 0;display:block;border-radius:0}
.hr span{font-size:13px;color:var(--soft);font-variant-numeric:tabular-nums}
.hr:hover{background:color-mix(in srgb,var(--p) 6%,transparent)}
.blk{position:absolute;left:52px;right:2px;border:0;border-radius:12px;background:color-mix(in srgb,var(--p) 15%,var(--card));text-align:left;padding:5px 10px;overflow:hidden;z-index:2;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--p) 35%,transparent)}
.blk.c1{left:calc(28px + 50%)}.blk.half{right:calc(50% - 22px)}
.blk.hi{background:color-mix(in srgb,var(--gold) 26%,var(--card));box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--gold) 65%,transparent)}
.blk b{display:block;font-weight:600;font-size:14px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.blk small{font-size:13px;color:var(--soft)}
.blk.done{opacity:.5}.blk.done b{text-decoration:line-through}
.now{position:absolute;left:48px;right:0;height:2px;background:var(--habit);z-index:3;pointer-events:none}.now::before{content:'';position:absolute;left:-5px;top:-4px;width:10px;height:10px;border-radius:50%;background:var(--habit)}
.wday{border-top:1px solid var(--line);padding:8px 0}.wday:first-of-type{border-top:0}
.wdh{display:flex;align-items:baseline;justify-content:space-between;width:100%;background:none;border:0;padding:4px 0;text-align:left;min-height:40px}
.wdh b{font-weight:600}.wdh small{color:var(--soft);font-size:13px}.wdh.td b{color:var(--p)}
.meter.load{height:6px;margin:2px 0 6px}
.wt{display:flex;gap:10px;width:100%;background:none;border:0;text-align:left;font-size:15px;padding:6px 0;min-height:36px}
.wt time{color:var(--soft);width:42px;flex:none;font-variant-numeric:tabular-nums;font-size:14px}
.wt.done span{text-decoration:line-through;color:var(--soft)}
.mgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.mgrid .dh{font-size:13px;color:var(--soft);text-align:center;padding-bottom:2px}
.mc{aspect-ratio:1/1.15;border:0;border-radius:12px;background:var(--bg);display:flex;flex-direction:column;align-items:center;padding:6px 0 0;gap:5px;font-size:15px}
.mc.out{opacity:.35}.mc.td{background:var(--p);color:var(--card);font-weight:600}
.mc .dots{display:flex;gap:3px;flex-wrap:wrap;justify-content:center;max-width:30px}.mc .dots i{width:6px;height:6px;border-radius:50%;background:var(--p)}
.mc.td .dots i{background:var(--gold)}.mc .dots i.d{opacity:.35}
.catch p{margin:0 0 4px;font-size:15px}
.tbar{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.tbar>div:first-child{flex:1}.tic{display:flex;flex:none;margin:-4px -10px 0 0}.tic .icb{position:relative}.tic .badge{position:absolute;top:4px;right:2px;min-width:18px;height:18px;border-radius:9px;background:var(--gold);color:#2a1b00;font-size:13px;font-weight:600;line-height:18px;padding:0 5px}
.mhist{display:flex;gap:6px}.mhist span{width:22px;height:22px;border-radius:50%;background:var(--line)}
.hstats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.hstats div{background:color-mix(in srgb,var(--c) 11%,transparent);border-radius:16px;padding:12px 14px}
.hstats b{display:block;font-size:clamp(26px,8vw,32px);font-weight:700;line-height:1.1;color:var(--c)}.hstats small{font-size:13px;color:var(--soft)}
.hmsg{margin:12px 0 2px;font-size:15px}.hmsg b{color:var(--c);font-weight:600}
.bars{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:6px;height:160px}
.bar{display:flex;flex-direction:column;align-items:center;gap:4px;height:100%}
.bar .col{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center}
.bar i{display:block;width:100%;max-width:30px;border-radius:8px 8px 4px 4px;background:color-mix(in srgb,var(--c) 40%,transparent);transition:height .6s}
.bar i.cur{background:var(--c)}.bar .bv{font-size:13px;color:var(--soft);font-variant-numeric:tabular-nums}
.bar small{font-size:13px;color:var(--soft);white-space:nowrap;height:20px}
.hgrid .mc{aspect-ratio:1;justify-content:center;padding:0;font-size:14px;border:0}
.htoday{width:100%;margin:0 0 12px;background:color-mix(in srgb,var(--c) 14%,transparent);color:var(--c)}.htoday.on{background:var(--c);color:var(--card)}
.hgrid .mc.on{background:var(--c);color:var(--card);font-weight:600}.hgrid .mc.fut{opacity:.3}
.hgrid .mc.td{background:var(--bg);color:var(--ink);box-shadow:inset 0 0 0 2px var(--c)}.hgrid .mc.td.on{background:var(--c);color:var(--card)}
.mnav{display:flex;margin:-8px -10px -8px 0}.mnav .icb[disabled]{opacity:.3}
.tog{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 10px}.tog b{font-weight:600}.tog small{display:block;color:var(--soft);font-size:13px}
.sw{width:52px;height:32px;border-radius:99px;border:0;background:var(--line);position:relative;flex:none}
.sw i{position:absolute;top:4px;left:4px;width:24px;height:24px;border-radius:50%;background:#fff;transition:left .2s;box-shadow:0 1px 3px #0003}
.sw[aria-checked=true]{background:var(--habit)}.sw[aria-checked=true] i{left:24px}
.chips.days button{min-width:44px;padding:0 6px}
.bell{display:inline-grid;vertical-align:-2px}.bell .ic{width:14px;height:14px}
.ilist small{display:block;color:var(--soft);font-size:13px;margin-top:-4px}
.toast button{background:none;border:0;color:var(--gold);font-weight:600;margin-left:14px;padding:4px 2px;font-size:15px}
.q .qi{width:16px;height:16px;vertical-align:-3px;color:var(--p)}
.tile.span{grid-column:1/-1;min-height:0;flex-direction:row;align-items:center;justify-content:flex-start;gap:14px}.tile.span b{margin:0}
.syncb{position:relative}.syncb.s-ok{color:var(--rout)}.syncb.s-busy{animation:pulse .9s ease-in-out infinite alternate}
.syncb.s-need::after,.syncb.s-err::after,.syncb.s-offline::after{content:'';position:absolute;top:9px;right:8px;width:9px;height:9px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 2px var(--bg)}
@keyframes pulse{to{opacity:.35}}
@keyframes spark{to{transform:translate(var(--dx),var(--dy)) scale(.2);opacity:0}}
@keyframes up{from{transform:translateY(24px);opacity:0}}
@keyframes fade{from{opacity:0}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
