:root{--bg: #f4f5f7;--card: #ffffff;--ink: #0f172a;--muted: #64748b;--line: #e2e8f0;--accent: #f97316;--accent-ink: #ffffff;--ok: #16a34a;--danger: #dc2626;--run: #f97316;--trail: #a16207;--zumba: #db2777;--climbing: #2563eb;--mobility: #0d9488;--rest: #94a3b8;--other: #7c3aed;--radius: 16px;--safe-bottom: env(safe-area-inset-bottom, 0px);--safe-top: env(safe-area-inset-top, 0px);color-scheme:light dark;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,sans-serif;font-size:16px;color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%}@media (prefers-color-scheme: dark){:root{--bg: #0b1120;--card: #151d2e;--ink: #e2e8f0;--muted: #94a3b8;--line: #26324a}}*{box-sizing:border-box}body{margin:0;background:var(--bg)}h1,h2{margin:0;letter-spacing:-.01em}h1{font-size:28px}h2{font-size:18px}p{margin:0;line-height:1.45}button{font:inherit;color:inherit;cursor:pointer}input,select,textarea{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:12px;width:100%;font-size:16px}input[type=range]{padding:0;accent-color:var(--accent);background:none;border:none}.splash{display:grid;place-items:center;min-height:100dvh;font-weight:700;color:var(--muted)}.app{min-height:100dvh}.content{max-width:560px;margin:0 auto;padding:calc(16px + var(--safe-top)) 16px calc(96px + var(--safe-bottom));display:flex;flex-direction:column;gap:14px}.tabbar{position:fixed;left:0;right:0;bottom:0;z-index:10;display:grid;grid-template-columns:repeat(5,1fr);background:color-mix(in srgb,var(--card) 92%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:6px 4px calc(6px + var(--safe-bottom))}.tab{display:flex;flex-direction:column;align-items:center;gap:2px;background:none;border:none;padding:6px 0;color:var(--muted);font-size:11px}.tab.active{color:var(--accent);font-weight:600}.page-head{display:flex;flex-direction:column;gap:4px;padding:4px 2px}.eyebrow{color:var(--muted);text-transform:capitalize;font-size:14px}.row-between{display:flex;justify-content:space-between;align-items:center;gap:12px}.page-head.row-between{flex-direction:row}.center{text-align:center;display:flex;flex-direction:column;gap:2px}.center h1{font-size:20px}.card{background:var(--card);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:12px;border:1px solid var(--line)}.card.compact{flex-direction:row;justify-content:space-between;align-items:center;padding:12px 16px}.card.notice{text-align:left;border-color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,var(--card))}.card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.muted{color:var(--muted)}.small{font-size:14px}.hint{color:var(--muted);font-size:14px}.error{color:var(--danger);font-size:15px}.info{color:var(--ok);font-size:15px}.primary{display:inline-flex;justify-content:center;align-items:center;gap:6px;background:var(--accent);color:var(--accent-ink);border:none;border-radius:12px;padding:14px 16px;font-weight:600}.primary:disabled{opacity:.5}.primary.wide{width:100%}.ghost{display:inline-flex;justify-content:center;align-items:center;gap:6px;background:none;border:1px dashed var(--line);border-radius:12px;padding:10px;color:var(--muted)}.link{background:none;border:none;color:var(--accent);padding:0;font-weight:600;font-size:15px}.link.danger{color:var(--danger);font-weight:500;font-size:14px}.icon-btn{background:var(--card);border:1px solid var(--line);border-radius:12px;width:44px;height:44px;display:grid;place-items:center}.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:13px;font-weight:600;color:#fff;background:var(--other);white-space:nowrap}.badge.sport-run{background:var(--run)}.badge.sport-trail{background:var(--trail)}.badge.sport-zumba{background:var(--zumba)}.badge.sport-climbing{background:var(--climbing)}.badge.sport-mobility{background:var(--mobility)}.badge.sport-rest{background:var(--rest)}.muted-badge{background:var(--line);color:var(--muted)}.dot{width:10px;height:10px;border-radius:50%;background:var(--other)}.dot.sport-run{background:var(--run)}.dot.sport-trail{background:var(--trail)}.dot.sport-zumba{background:var(--zumba)}.dot.sport-climbing{background:var(--climbing)}.dot.sport-mobility{background:var(--mobility)}.dot.sport-rest{background:var(--rest)}.week-strip{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.week-strip li{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 0;border-radius:12px;font-size:13px;color:var(--muted)}.week-strip li.is-today{background:color-mix(in srgb,var(--accent) 12%,transparent);color:var(--ink);font-weight:700}.week-strip li.is-done .dn:after{content:" ✓";color:var(--ok)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}.stats div{display:flex;flex-direction:column;gap:2px}.stats strong{font-size:20px}.stats span{font-size:12px;color:var(--muted)}.plain{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.roadmap{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.roadmap li{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:15px}.days{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.day.is-today{border-color:var(--accent)}.activity{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-top:4px;border-top:1px solid var(--line)}.done-mark{color:var(--ok);font-weight:700}.form{display:flex;flex-direction:column;gap:12px}.form label{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}.form label.inline{flex-direction:row;color:var(--ink);font-size:16px}.form label.inline select{width:auto;min-width:58%}.row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1px solid var(--line);background:var(--card);border-radius:999px;padding:8px 14px;font-size:15px}.chip.on{color:#fff;border-color:transparent;background:var(--other)}.chip.on.sport-run{background:var(--run)}.chip.on.sport-trail{background:var(--trail)}.chip.on.sport-zumba{background:var(--zumba)}.chip.on.sport-climbing{background:var(--climbing)}.chip.on.sport-mobility{background:var(--mobility)}.sheet-backdrop{position:fixed;inset:0;background:#0006;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--card);width:100%;max-width:560px;max-height:92dvh;overflow-y:auto;border-radius:20px 20px 0 0;padding:16px 16px calc(20px + var(--safe-bottom))}.sheet-head{display:flex;justify-content:space-between;align-items:center}.bars{width:100%;height:auto}.bar{fill:color-mix(in srgb,var(--run) 45%,transparent)}.bar.current{fill:var(--run)}.bar-label{font-size:9px;fill:var(--ink)}.axis-label{font-size:9px;fill:var(--muted)}.login{min-height:100dvh;display:flex;flex-direction:column;justify-content:center;gap:24px;padding:24px;max-width:440px;margin:0 auto}.login-brand{text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.login-brand img{border-radius:18px}
