:root{--bg:#0b0d0c;--surface:#151917;--surface-2:#1d2320;--line:#262d29;--fg:#f1f4f2;--muted:#8d9792;--faint:#5c6661;--accent:#c6f36b;--accent-text:#c6f36b;--on-accent:#0b0d0c;--c-body:#c6f36b;--c-study:#a99cff;--c-work:#6fd3ff;--c-food:#ffc46b;--c-mind:#ff9a76;--c-rest:#7f8c86;--good:#7ee0a1;--good-bg:#13291c;--warn:#ffc46b;--warn-bg:#2d2412;--bad:#ff8a80;--bad-bg:#321816;--info:#9fb3ff;--info-bg:#171d33;--radius:24px;--radius-sm:16px;--font:"Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}@media (prefers-color-scheme:light){:root{--bg:#f3f5f1;--surface:#fff;--surface-2:#eceff0;--line:#e1e5df;--fg:#0e1110;--muted:#66706b;--faint:#9aa39e;--accent:#c6f36b;--accent-text:#4a7a00;--on-accent:#0b0d0c;--c-body:#5c8f0a;--c-study:#6a58e0;--c-work:#0f8fbf;--c-food:#c07d00;--c-mind:#d4552a;--c-rest:#74807a;--good:#18794e;--good-bg:#e5f6ec;--warn:#8a5a00;--warn-bg:#fff3dc;--bad:#b42318;--bad-bg:#fdecea;--info:#3446a8;--info-bg:#eaeefe;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--bg);color:var(--fg);margin:0}body{font-family:var(--font);-webkit-font-smoothing:antialiased;font-variant-numeric:tabular-nums;font-size:15px;line-height:1.45}button,input,select{font:inherit;color:inherit}h1,h2,h3,p{margin:0}.app{max-width:480px;min-height:100dvh;padding:calc(env(safe-area-inset-top,0px) + 20px) max(18px, env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 104px) max(18px, env(safe-area-inset-left,0px));flex-direction:column;gap:18px;margin:0 auto;display:flex}.top{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.top .hello{flex-direction:column;gap:2px;min-width:0;display:flex}.top .date{color:var(--muted);font-size:13px;font-weight:500}.top h1{letter-spacing:-.02em;font-size:26px;font-weight:800}.pill{border:1px solid var(--line);background:var(--surface);white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:7px 12px;font-size:12.5px;font-weight:600;display:inline-flex}.pill .dot{background:var(--accent);border-radius:50%;width:7px;height:7px}.pill.exam .dot{background:var(--c-study)}.card{background:var(--surface);border-radius:var(--radius);flex-direction:column;gap:14px;padding:18px;display:flex}.card.tight{gap:8px}.section-title{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;justify-content:space-between;align-items:baseline;gap:10px;padding:6px 4px 0;font-size:13px;font-weight:700;display:flex}.section-title span:last-child:not(:first-child){text-transform:none;letter-spacing:0;font-weight:600}.hero{background:var(--accent);color:var(--on-accent);border-radius:28px;flex-direction:column;gap:14px;padding:20px;display:flex}.hero.study{background:var(--c-study)}.hero .tag{text-transform:uppercase;letter-spacing:.08em;opacity:.7;font-size:12px;font-weight:700}.hero h2{letter-spacing:-.02em;text-wrap:balance;font-size:26px;font-weight:800;line-height:1.15}.hero p{opacity:.75;font-size:14px}.hero .bar{background:#0b0d0c26;border-radius:99px;height:6px;overflow:hidden}.hero .bar i{background:var(--on-accent);border-radius:99px;height:100%;display:block}.hero .row{justify-content:space-between;font-size:13px;font-weight:600;display:flex}.next{background:#0b0d0c1a;border-radius:18px;align-items:center;gap:12px;padding:10px 14px;font-size:13.5px;display:flex}.next b{font-weight:700}.next .when{white-space:nowrap;margin-left:auto;font-weight:700}.stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.stats.two{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{background:var(--surface);text-align:left;cursor:pointer;border:0;border-radius:20px;flex-direction:column;gap:4px;min-width:0;padding:14px;display:flex}.stat:disabled{cursor:default}.stat .k{color:var(--muted);font-size:12px;font-weight:600}.stat .v{letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;font-size:22px;font-weight:800;overflow:hidden}.stat .v small{color:var(--muted);margin-left:2px;font-size:13px;font-weight:600}.stat .s{color:var(--faint);font-size:11.5px;font-weight:500}.stat .meter{background:var(--surface-2);border-radius:99px;height:4px;margin-top:4px;overflow:hidden}.stat .meter i{background:var(--accent);height:100%;display:block}.score{align-items:center;gap:16px;display:flex}.score .ring-wrap{flex:none;width:76px;height:76px;position:relative}.score .ring-wrap span{place-items:center;font-size:18px;font-weight:800;display:grid;position:absolute;inset:0}.score .txt{flex-direction:column;gap:2px;min-width:0;display:flex}.score .txt b{font-size:17px}.score .txt span{color:var(--muted);font-size:13px}.streak{text-align:right;flex-direction:column;margin-left:auto;display:flex}.streak b{letter-spacing:-.02em;font-size:28px;font-weight:800;line-height:1}.streak span{color:var(--muted);font-size:11.5px;font-weight:600}.list{background:var(--surface);border-radius:var(--radius);flex-direction:column;display:flex;overflow:hidden}.check{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:14px;width:100%;padding:14px 18px;display:flex}.check+.check,.check+.row-item,.row-item+.check,.row-item+.row-item{border-top:1px solid var(--line)}.check .box{border:2px solid var(--faint);border-radius:50%;flex:none;place-items:center;width:26px;height:26px;transition:all .15s;display:grid}.check.on .box{background:var(--accent);border-color:var(--accent)}.check .box svg{opacity:0;color:var(--on-accent)}.check.on .box svg{opacity:1}.check .body{flex-direction:column;flex:1;min-width:0;display:flex}.check .body b{font-size:15px;font-weight:600}.check.on .body b{color:var(--muted)}.check .body span{color:var(--muted);font-size:12.5px}.check .aside{color:var(--muted);white-space:nowrap;font-size:12.5px;font-weight:600}.row-item{align-items:center;gap:14px;padding:14px 18px;display:flex}.row-item .body{flex-direction:column;flex:1;min-width:0;display:flex}.row-item .body b{font-weight:600}.row-item .body span{color:var(--muted);font-size:12.5px}.stepper{align-items:center;gap:10px;display:flex}.stepper button{background:var(--surface-2);cursor:pointer;border:0;border-radius:50%;place-items:center;width:34px;height:34px;font-size:18px;font-weight:700;display:grid}.stepper b{text-align:center;min-width:20px;font-size:17px}.session{flex-direction:column;gap:12px;display:flex}.session .head{align-items:center;gap:12px;display:flex}.session .head .ico{background:var(--surface-2);width:44px;height:44px;color:var(--c-body);border-radius:14px;flex:none;place-items:center;display:grid}.session .head div{flex-direction:column;min-width:0;display:flex}.session .head b{font-size:17px;font-weight:700}.session .head span{color:var(--muted);font-size:12.5px}.ex{counter-reset:ex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.ex li{align-items:baseline;gap:10px;font-size:14px;display:flex}.ex li:before{counter-increment:ex;content:counter(ex);color:var(--muted);background:var(--surface-2);border-radius:50%;flex:none;place-items:center;width:20px;height:20px;font-size:11px;font-weight:700;display:inline-grid}.btn{cursor:pointer;background:var(--surface-2);color:var(--fg);border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:13px 20px;font-size:15px;font-weight:700;display:inline-flex}.btn.primary{background:var(--accent);color:var(--on-accent)}.btn.danger{background:var(--bad-bg);color:var(--bad)}.btn.block{width:100%}.btn.sm{padding:8px 14px;font-size:13px}.btn:disabled{opacity:.4;cursor:default}:where(button,a,input,select):focus-visible{outline:2px solid var(--accent);outline-offset:2px}.seg{background:var(--surface);border-radius:999px;gap:2px;padding:4px;display:flex}.seg button{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:999px;flex:1;padding:9px 6px;font-size:13.5px;font-weight:700}.seg button[aria-pressed=true]{background:var(--fg);color:var(--bg)}.tl{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.tl li{border-radius:18px;grid-template-columns:54px 4px minmax(0,1fr);align-items:stretch;gap:12px;padding:10px 12px 10px 6px;display:grid}.tl li.now{background:var(--surface)}.tl li.past{opacity:.45}.tl .time{text-align:right;padding-top:1px;font-size:13px;font-weight:700}.tl .time small{color:var(--muted);font-size:11.5px;font-weight:500;display:block}.tl .stripe{background:var(--c);border-radius:4px}.tl .what{flex-direction:column;gap:2px;display:flex}.tl .what .tag{text-transform:uppercase;letter-spacing:.07em;color:var(--c);font-size:11px;font-weight:700}.tl .what b{font-size:15px;font-weight:700}.tl .what span{color:var(--muted);font-size:13px}.tl .nowtag{background:var(--accent);color:var(--on-accent);vertical-align:2px;letter-spacing:.04em;border-radius:99px;margin-left:6px;padding:1px 7px;font-size:10.5px;font-weight:800;display:inline-block}.c-body{--c:var(--c-body)}.c-study{--c:var(--c-study)}.c-work{--c:var(--c-work)}.c-food{--c:var(--c-food)}.c-mind{--c:var(--c-mind)}.c-rest{--c:var(--c-rest)}.totals{flex-wrap:wrap;gap:8px;display:flex}.chip{background:var(--surface);color:var(--muted);border-radius:999px;padding:6px 12px;font-size:12.5px;font-weight:600}.chip b{color:var(--c,var(--fg))}.note{border-radius:20px;flex-direction:column;gap:4px;padding:14px 16px;font-size:14px;display:flex}.note b{font-weight:700}.note.good{background:var(--good-bg);color:var(--good)}.note.warn{background:var(--warn-bg);color:var(--warn)}.note.bad{background:var(--bad-bg);color:var(--bad)}.note.info{background:var(--info-bg);color:var(--info)}.big{flex-direction:column;gap:4px;display:flex}.big .k{color:var(--muted);font-size:13px;font-weight:600}.big .v{letter-spacing:-.04em;font-size:52px;font-weight:800;line-height:1}.big .v small{color:var(--muted);letter-spacing:0;margin-left:4px;font-size:20px;font-weight:700}.delta{flex-wrap:wrap;gap:6px;font-size:13px;font-weight:600;display:inline-flex}.delta span{background:var(--surface-2);border-radius:99px;padding:4px 10px}.delta .down{color:var(--good);background:var(--good-bg)}.delta .up{color:var(--bad);background:var(--bad-bg)}.track{flex-direction:column;gap:6px;display:flex}.track .bar{background:var(--surface-2);border-radius:99px;height:10px;overflow:hidden}.track .bar i{background:var(--accent);border-radius:99px;height:100%;display:block}.track .ends{color:var(--muted);justify-content:space-between;font-size:12px;font-weight:600;display:flex}.chart svg{width:100%;height:auto;display:block;overflow:visible}.chart .legend{color:var(--muted);flex-wrap:wrap;gap:14px;font-size:12px;font-weight:600;display:flex}.chart .legend i{vertical-align:middle;border-radius:2px;width:14px;height:3px;margin-right:6px;display:inline-block}.empty{color:var(--muted);text-align:center;padding:24px 8px;font-size:14px}.miles{flex-direction:column;display:flex}.mile{grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;display:grid}.mile+.mile{border-top:1px solid var(--line)}.mile .m{border:2px solid var(--faint);border-radius:50%;place-items:center;width:22px;height:22px;display:grid}.mile.done .m{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.mile b{font-size:14.5px;font-weight:700}.mile span{color:var(--muted);font-size:12.5px;display:block}.mile .w{font-size:16px;font-weight:800}.week7{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.week7 div{color:var(--muted);flex-direction:column;align-items:center;gap:6px;font-size:11.5px;font-weight:600;display:flex}.week7 i{aspect-ratio:1;background:var(--surface-2);border-radius:12px;width:100%;max-width:40px;position:relative;overflow:hidden}.week7 i:after{content:"";height:var(--p,0%);background:var(--accent);position:absolute;inset:auto 0 0}.week7 .today{color:var(--fg)}.weekrows{flex-direction:column;display:flex}.weekrow{text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:12px 0;display:grid}.weekrow+.weekrow,.weekrow+.weekdetail,.weekdetail+.weekrow{border-top:1px solid var(--line)}.weekrow .d{color:var(--muted);font-size:13px;font-weight:800}.weekrow.today .d{color:var(--accent-text)}.weekrow b{font-size:14.5px;font-weight:700}.weekrow span{color:var(--muted);font-size:12.5px;display:block}.weekrow svg{color:var(--faint);transition:transform .15s}.weekrow[aria-expanded=true] svg{transform:rotate(90deg)}.weekdetail{padding:4px 0 14px 52px}.meal{flex-direction:column;gap:10px;display:flex}.meal .head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.meal .head b{font-size:18px;font-weight:800}.meal .head span{color:var(--muted);font-size:13px;font-weight:600}.meal ul{flex-direction:column;gap:3px;margin:0;padding-left:18px;font-size:14px;display:flex}.macros{gap:8px;display:flex}.macros span{background:var(--surface-2);border-radius:99px;padding:4px 10px;font-size:12.5px;font-weight:700}.plain{flex-direction:column;gap:6px;margin:0;padding-left:18px;font-size:14px;display:flex}.rule{grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;padding:10px 0;font-size:14px;display:grid}.rule+.rule{border-top:1px solid var(--line)}.rule .lbl{text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;border-radius:8px;padding:4px 9px;font-size:11px;font-weight:800}.rule .lbl.good{background:var(--good-bg);color:var(--good)}.rule .lbl.warn{background:var(--warn-bg);color:var(--warn)}.rule .lbl.bad{background:var(--bad-bg);color:var(--bad)}.field{flex-direction:column;gap:6px;display:flex}.field label{color:var(--muted);font-size:12.5px;font-weight:600}.input{background:var(--surface-2);border:1px solid #0000;border-radius:14px;width:100%;padding:12px 14px;font-size:16px;font-weight:600}.input:focus{border-color:var(--accent);outline:none}.input[type=date]{min-width:0;padding:12px 10px;font-size:14.5px}.grid2{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.err{color:var(--bad);font-size:13px;font-weight:600}.ok{color:var(--good);font-size:13px;font-weight:600}.examrow{align-items:center;gap:12px;padding:10px 0;display:flex}.examrow+.examrow{border-top:1px solid var(--line)}.examrow div{flex-direction:column;flex:1;min-width:0;display:flex}.examrow b{font-weight:700}.examrow span{color:var(--muted);font-size:12.5px}.iconbtn{background:var(--surface-2);cursor:pointer;width:36px;height:36px;color:var(--muted);border:0;border-radius:50%;flex:none;place-items:center;display:grid}.muted{color:var(--muted);font-size:13.5px}.scrim{z-index:40;background:#00000080;animation:.15s fade;position:fixed;inset:0}.sheet{z-index:41;background:var(--surface);max-width:480px;padding:10px max(20px, env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 20px) max(20px, env(safe-area-inset-left,0px));border-radius:28px 28px 0 0;flex-direction:column;gap:16px;margin:0 auto;animation:.2s up;display:flex;position:fixed;bottom:0;left:0;right:0}.sheet .grab{background:var(--line);border-radius:99px;width:40px;height:5px;margin:0 auto 4px}.sheet h3{font-size:20px;font-weight:800}.sheet .bigin{justify-content:center;align-items:baseline;gap:8px;display:flex}.sheet .bigin input{text-align:center;border:0;border-bottom:2px solid var(--line);letter-spacing:-.03em;background:0 0;width:100%;max-width:220px;padding:4px 0;font-size:52px;font-weight:800}.sheet .bigin input:focus{border-color:var(--accent);outline:none}.sheet .bigin span{color:var(--muted);font-size:20px;font-weight:700}.quick{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}@keyframes up{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}@keyframes fade{0%{opacity:0}to{opacity:1}}.nav{z-index:30;padding:10px max(16px, env(safe-area-inset-right,0px)) calc(env(safe-area-inset-bottom,0px) + 10px) max(16px, env(safe-area-inset-left,0px));background:linear-gradient(to top, var(--bg) 60%, transparent);pointer-events:none;position:fixed;bottom:0;left:0;right:0}.nav .bar{pointer-events:auto;background:var(--surface);border:1px solid var(--line);border-radius:999px;grid-template-columns:repeat(4,1fr);max-width:440px;margin:0 auto;padding:6px;display:grid}.nav button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;flex-direction:column;align-items:center;gap:2px;padding:9px 4px;font-size:11px;font-weight:700;display:flex}.nav button[aria-current=page]{background:var(--fg);color:var(--bg)}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}
