:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#f6f3ee;--surface:#fffdf9;--surface-2:#eeeae2;--raised:#fffdf9;--ink:#1c1b19;--muted:#6b665e;--line:#e2ddd4;--belt:#121110;--tape:#f4f3ef;--accent:#c8102e;--accent-ink:#fff;--accent-soft:#c8102e1a;--ok:#2f7d4f;--shadow:0 1px 2px #0000000d, 0 4px 16px #0000000a;--radius:14px;--nav-h:64px;color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,sans-serif;font-size:16px;line-height:1.45}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#141312;--surface:#1d1c1a;--surface-2:#292724;--raised:#3b3834;--ink:#f1ede6;--muted:#a39d93;--line:#34312d;--belt:#050505;--tape:#ecebe6;--accent:#e8344e;--accent-soft:#e8344e26;--ok:#5cbf83;--shadow:0 1px 2px #0006}}*{box-sizing:border-box}body{background:var(--bg);margin:0}h1,h2,h3,p{margin:0}button,input,select,textarea{font:inherit;color:inherit}a{color:inherit}:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}[hidden]{display:none!important}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.shell{min-height:100dvh}.topbar{z-index:5;padding:calc(env(safe-area-inset-top,0px) + 10px) 16px 10px;background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.brand{letter-spacing:-.02em;align-items:center;gap:10px;font-size:1.1rem;font-weight:800;text-decoration:none;display:flex}.brand-mark{background:var(--belt);border-radius:7px;grid-template-columns:repeat(3,4px);place-content:center;gap:2px;width:26px;height:26px;display:grid}.brand-mark i{background:var(--tape);border-radius:1px;height:13px}.brand-mark i:last-child{background:var(--accent)}main{padding:4px 16px calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 24px);max-width:1180px;margin:0 auto}.tabbar{z-index:10;height:calc(var(--nav-h) + env(safe-area-inset-bottom,0px));padding-bottom:env(safe-area-inset-bottom,0px);background:var(--surface);border-top:1px solid var(--line);grid-template-columns:repeat(3,1fr);display:grid;position:fixed;inset:auto 0 0}.navlink{color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:2px;min-height:44px;font-size:.72rem;font-weight:600;text-decoration:none;display:flex}.navlink svg{width:24px;height:24px}.navlink[aria-current=page]{color:var(--ink)}.navlink[aria-current=page] svg{color:var(--accent)}.iconbtn{width:44px;height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:12px;place-items:center;display:grid}.iconbtn:disabled{opacity:.35;cursor:default;background:0 0}.iconbtn:hover,.iconbtn[aria-current=page]{color:var(--ink);background:var(--surface-2)}.iconbtn svg{width:22px;height:22px}.rail{display:none}.stack{align-content:start;gap:16px;display:grid}.dash{gap:16px;display:grid}.desktop-only{display:none}@media (width>=900px){.shell{grid-template-columns:232px 1fr;display:grid}.topbar,.tabbar{display:none}.rail{border-right:1px solid var(--line);background:var(--surface);flex-direction:column;gap:4px;height:100dvh;padding:24px 14px;display:flex;position:sticky;top:0}.rail .brand{padding:0 10px 22px}.rail .navlink{border-radius:10px;flex-direction:row;justify-content:flex-start;gap:12px;padding:10px 12px;font-size:.95rem}.rail .navlink:hover,.rail .navlink[aria-current=page]{background:var(--surface-2)}.rail .navlink.bottom{margin-top:auto}main{width:100%;padding:32px 40px 48px}.dash{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start;gap:24px}.desktop-only{display:grid}}.page-title{letter-spacing:-.02em;margin:6px 0 4px;font-size:1.6rem;font-weight:800}.label{letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-size:.72rem;font-weight:700}.muted{color:var(--muted)}.small{font-size:.875rem}.num{font-variant-numeric:tabular-nums}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.card-head{justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px;display:flex}.row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.spread{justify-content:space-between}.btn{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-weight:650;text-decoration:none;transition:transform 80ms,background .15s;display:inline-flex}.btn:hover{background:var(--surface-2)}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55;cursor:default;transform:none}.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.btn.primary:hover{background:color-mix(in srgb, var(--accent) 88%, #000)}.btn.block{width:100%}.btn.ghost{color:var(--muted);background:0 0;border-color:#0000}.btn.ghost:hover{color:var(--ink);background:var(--surface-2)}.btn.danger{color:var(--accent)}.btn.small{min-height:36px;padding:0 12px;font-size:.875rem}.field{gap:6px;display:grid}.field>span{color:var(--muted);font-size:.85rem;font-weight:600}.input{border:1px solid var(--line);background:var(--bg);border-radius:11px;width:100%;min-height:46px;padding:10px 12px}.input:focus{outline:2px solid var(--accent);outline-offset:-1px}select.input{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);background-position:right 18px center,right 13px center;background-repeat:no-repeat;background-size:5px 5px;padding-right:36px}.segmented{background:var(--surface-2);border-radius:12px;grid-template-columns:1fr 1fr;gap:4px;padding:4px;display:grid}.segmented button{min-height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;font-weight:650}.segmented button[aria-pressed=true]{background:var(--raised);color:var(--ink);box-shadow:var(--shadow)}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:999px;min-height:36px;padding:0 14px;font-size:.875rem}.chip:hover{background:var(--surface-2)}.error{color:var(--accent);font-size:.875rem;font-weight:600}.linkbtn{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0;font-size:.875rem;text-decoration:underline}.hero{gap:16px;display:grid}.hero-main{align-items:center;gap:14px;display:flex}.flame{width:52px;height:52px;color:var(--line);flex:none}.flame.lit{color:var(--accent)}.hero-num{letter-spacing:-.04em;font-size:3.4rem;font-weight:850;line-height:.95}.hero-sub{font-weight:650}.minis{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.mini{background:var(--surface-2);border-radius:11px;padding:10px 12px}.mini b{font-size:1.3rem;font-weight:800;display:block}.mini .label{white-space:nowrap;letter-spacing:.06em;font-size:.66rem}.belt{gap:10px;display:grid}.belt-bar{grid-template-columns:repeat(var(--n), 1fr);background:var(--belt);height:38px;box-shadow:inset 0 0 0 1px #ffffff14, var(--shadow);border-radius:6px;gap:3px;padding:6px;display:grid}.tape{background:#ffffff10;border-radius:1.5px}.tape.on{background:linear-gradient(180deg, #fff 0%, var(--tape) 55%, #d9d7d0 100%);animation:.35s both tape-in;box-shadow:0 1px #0006}@keyframes tape-in{0%{opacity:0;transform:scaleY(.2)}}.belt-swatch{background:var(--c);box-shadow:inset 0 0 0 1px var(--line);vertical-align:middle;border-radius:3px;padding-left:22px;display:inline-flex}.belt-swatch.white{--c:#f4f3ef}.belt-swatch.blue{--c:#1f4fa8}.belt-swatch.purple{--c:#6a2c8f}.belt-swatch.brown{--c:#6b4325}.belt-swatch.black{--c:#121110}.belt-swatch.black .stripes{background:#c8102e}.belt-select{text-transform:capitalize;width:auto;padding-block:4px}.belt-name:first-letter{text-transform:uppercase}.stripes{vertical-align:middle;background:var(--belt);border-radius:3px;gap:3px;padding:3px 4px;display:inline-flex}.stripes i{background:var(--tape);border-radius:1px;width:4px;height:14px}.stripes i.off{background:#ffffff1f}.week{text-align:center;grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.week .d{color:var(--muted);justify-items:center;gap:6px;font-size:.75rem;font-weight:650;display:grid}.dot{border:2px dashed var(--line);border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.dot.class{background:var(--ink);border:0}.dot.special{background:var(--accent);border:0}.dot.today{box-shadow:0 0 0 2px var(--bg), 0 0 0 4px var(--accent)}.logged{align-items:center;gap:14px;display:flex}.badge{background:var(--belt);width:52px;height:52px;color:var(--tape);border-radius:12px;flex:none;place-items:center;font-size:1.25rem;font-weight:850;display:grid}.badge.special{background:var(--accent);color:var(--accent-ink)}.check{color:var(--ok);font-weight:700}.cal-head{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.cal-head h2{font-size:1.1rem;font-weight:750}.cal{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.cal .wd{text-align:center;color:var(--muted);padding-bottom:4px;font-size:.72rem;font-weight:700}.cell{aspect-ratio:1;cursor:pointer;font-variant-numeric:tabular-nums;background:0 0;border:1px solid #0000;border-radius:10px;place-items:center;min-height:40px;font-weight:600;display:grid;position:relative}.cell:hover:not(:disabled){background:var(--surface-2)}.cell:disabled{color:var(--line);cursor:default}.cell.class{background:var(--ink);color:var(--bg)}.cell.special{background:var(--accent);color:var(--accent-ink)}.cell.today{border-color:var(--accent)}.cell.selected{outline:2px solid var(--ink);outline-offset:1px}.legend{color:var(--muted);gap:16px;margin-top:12px;font-size:.8rem;display:flex}.legend i{vertical-align:-1px;background:var(--ink);border-radius:3px;width:10px;height:10px;margin-right:6px;display:inline-block}.legend i.sp{background:var(--accent)}.list{margin:0;padding:0;list-style:none;display:grid}.list li{border-top:1px solid var(--line);align-items:center;gap:12px;padding:12px 0;display:flex}.list li:first-child{border-top:0}.list .grow{flex:1;min-width:0}.list button.item{all:unset;cursor:pointer;border-radius:8px;flex:1;align-items:center;gap:12px;display:flex}.list button.item:focus-visible{outline:2px solid var(--accent)}.datechip{text-align:center;flex:none;width:44px;line-height:1.1}.datechip b{font-size:1.2rem;display:block}.datechip span{text-transform:uppercase;color:var(--muted);font-size:.7rem;font-weight:700}.ellipsis{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}dialog.sheet{color:var(--ink);background:var(--surface);border:0;border-radius:20px 20px 0 0;width:100%;max-width:100%;max-height:92dvh;margin:auto 0 0;padding:0;overflow:auto}dialog.sheet::backdrop{background:#0008}dialog.sheet[open]{animation:.22s ease-out sheet-up}@keyframes sheet-up{0%{opacity:0;transform:translateY(40px)}}.sheet-body{padding:20px 18px calc(env(safe-area-inset-bottom,0px) + 20px);gap:16px;display:grid}.grabber{background:var(--line);border-radius:3px;width:40px;height:5px;margin:-8px auto 0}@media (width>=900px){dialog.sheet{border-radius:20px 0 0 20px;width:420px;height:100dvh;max-height:100dvh;margin:0 0 0 auto}dialog.sheet[open]{animation-name:sheet-left}@keyframes sheet-left{0%{opacity:0;transform:translate(40px)}}.grabber{display:none}}.toast{z-index:20;left:50%;bottom:calc(var(--nav-h) + env(safe-area-inset-bottom,0px) + 12px);background:var(--ink);color:var(--bg);box-shadow:var(--shadow);border-radius:12px;align-items:center;gap:14px;max-width:calc(100% - 32px);padding:8px 8px 8px 16px;display:flex;position:fixed;transform:translate(-50%)}.toast .btn{min-height:36px;color:var(--bg);background:0 0;border-color:#fff3}@media (width>=900px){.toast{bottom:24px}}.classes{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;display:grid}.klass{background:var(--surface);border:1px solid var(--line);border-radius:12px;grid-template-columns:auto 1fr;align-items:center;gap:4px 12px;padding:12px 14px 12px 12px;display:grid;position:relative;overflow:hidden}.klass .no{background:var(--surface-2);border-radius:10px;grid-row:span 2;place-items:center;width:40px;height:40px;font-weight:800;display:grid}.klass.done .no{background:var(--belt);color:var(--tape)}.klass.done:after{content:"";background:linear-gradient(90deg, #fff, var(--tape) 60%, #d9d7d0);width:6px;height:100%;box-shadow:0 0 0 1px var(--line);position:absolute;top:0;right:12px}.klass .name{min-width:0;padding-right:14px;font-weight:650}.klass .name button{all:unset;cursor:text;text-overflow:ellipsis;white-space:nowrap;border-radius:4px;display:block;overflow:hidden}.klass .name button:focus-visible{outline:2px solid var(--accent)}.klass .name button.unnamed{color:var(--muted);font-style:italic;font-weight:500}.klass .meta{color:var(--muted);padding-right:14px;font-size:.8rem}.klass input{min-height:34px;padding:4px 8px}.gate{place-items:center;min-height:100dvh;padding:24px 16px;display:grid}.gate .card{gap:18px;width:min(420px,100%);padding:28px 24px;display:grid}.gate .brand{font-size:1.4rem}.skeleton{border-radius:var(--radius);background:linear-gradient(90deg, var(--surface-2), var(--surface), var(--surface-2));background-size:200% 100%;height:120px;animation:1.2s linear infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}
