:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--brand-50:#f6f5ff;--brand-100:#efedfc;--brand-200:#e4e0fa;--brand-300:#d4cdf5;--brand-400:#a99aed;--brand-500:#6956e5;--brand-600:#513bc9;--brand-700:#4431aa;--brand-800:#332681;--brand-900:#261c59;--background:#fafafe;--surface:#fff;--surface-tint:var(--brand-50);--surface-muted:#f1f0f8;--navigation-surface:#efedfc;--navigation-selected:var(--brand-300);--text:#191531;--muted:#5e5874;--line:#e4e1ef;--line-strong:#c8c1db;--accent:var(--brand-700);--accent-hover:var(--brand-800);--accent-text:#fff;--accent-link:var(--brand-700);--accent-soft:var(--brand-100);--accent-ink:var(--brand-900);--focus:var(--brand-500);--chart-line:var(--brand-600);--chart-fill:var(--brand-500);--chart-grid:#ded8f3;--chart-ink:#5b536f;--overlay:#19143561;--danger:#a92241;--danger-hover:#861833;--danger-text:#fff;--danger-soft:#fff0f3;--success:#166541;--success-soft:#eef8f0;--skeleton-base:#efedf7;--skeleton-shine:#f8f7fc;--shadow:0 1px 2px #2515540a;--shadow-overlay:0 24px 70px #21164833;--font:Inter, Geist, "Segoe UI", system-ui, sans-serif;--radius-sm:10px;--radius-md:15px;--radius-lg:20px;--duration-fast:.13s;--duration-dialog:.22s;--ease-out:cubic-bezier(.16, 1, .3, 1)}
*,:before,:after{box-sizing:border-box}html{min-width:0}body{font-family:var(--font);background:var(--background);color:var(--text);margin:0;line-height:1.5}h1,h2,p{margin:0}h1,h2{line-height:1.15}button,input,select{font:inherit;color:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.58}a{color:inherit;text-decoration:none}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}[tabindex="-1"]:focus{outline:none}.sr-only,.skip-link:not(:focus){clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link:focus{z-index:10;color:var(--accent-text);background:var(--accent);border-radius:var(--radius-sm);padding:.7rem 1rem;position:fixed;top:.75rem;left:.75rem}.muted{color:var(--muted)}.app-shell{grid-template-columns:minmax(0,1fr);min-height:100dvh;display:grid}.mobile-header{background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:.65rem;height:65px;padding:0 1rem;display:flex}.brand{color:var(--accent-ink);letter-spacing:-.05em;white-space:nowrap;align-items:center;gap:.62rem;font-size:1.23rem;font-weight:780;display:inline-flex}.brand-mark{background:var(--accent);width:31px;height:31px;color:var(--accent-text);border-radius:9px;place-items:center;display:inline-grid}.brand-mark svg{stroke-width:2px;width:21px;height:21px}.sidebar{display:none}.navigation{gap:.42rem;display:grid}.navigation a{border-radius:var(--radius-sm);min-height:47px;color:var(--muted);transition:background var(--duration-fast), color var(--duration-fast);align-items:center;gap:.68rem;padding:.67rem .8rem;font-weight:600;display:flex}.navigation a:hover{background:var(--accent-soft);color:var(--accent-ink)}.navigation a[aria-current=page]{background:var(--navigation-selected);color:var(--accent-ink)}.navigation svg{flex:none}.main-content{width:100%;min-width:0;max-width:1260px;margin-inline:auto;padding:1.4rem clamp(1rem,4vw,2rem) 3rem}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.25rem;display:flex}.page-header h1{letter-spacing:-.055em;font-size:clamp(1.85rem,3.6vw,2.65rem);font-weight:780}.page-header p{color:var(--muted);margin-top:.35rem;font-size:.91rem}.page-actions,.form-actions{flex-wrap:wrap;gap:.6rem;display:flex}.page-actions{align-items:center}.button,.icon-button{border-radius:var(--radius-sm);min-height:44px;transition:background var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), transform var(--duration-fast) var(--ease-out);border:1px solid #0000;justify-content:center;align-items:center;gap:.5rem;font-weight:650;line-height:1.2;display:inline-flex}.button{text-align:center;padding:.65rem 1rem}.button:active:not(:disabled),.icon-button:active:not(:disabled){transform:scale(.98)}.button svg,.icon-button svg{flex:none}.primary{background:var(--accent);color:var(--accent-text);box-shadow:var(--shadow)}.primary:hover:not(:disabled){background:var(--accent-hover)}.secondary{background:var(--surface);color:var(--text);border-color:var(--line-strong)}.secondary:hover:not(:disabled){background:var(--accent-soft);border-color:var(--focus)}.danger{background:var(--danger);color:var(--danger-text)}.danger:hover:not(:disabled){background:var(--danger-hover)}.icon-button{width:44px;color:var(--muted);background:0 0;flex:none;padding:0}.icon-button:hover:not(:disabled){background:var(--accent-soft);color:var(--accent-ink)}.menu-button{color:var(--accent-ink);margin-left:-.36rem}.panel{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow)}.dashboard-filter{width:fit-content;max-width:100%;color:var(--muted);align-items:center;gap:.64rem;margin-bottom:1.05rem;font-size:.85rem;font-weight:650;display:flex}.dashboard-filter select{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);min-width:0;max-width:100%;min-height:44px;color:var(--text);padding:.4rem .64rem;font-size:.9rem;font-weight:600}.dashboard-grid,.dashboard-side{gap:1rem;min-width:0;display:grid}.dashboard-grid{align-items:stretch}.dashboard-side{align-content:start}.progress-panel{background:var(--surface-tint);min-width:0;padding:clamp(1rem,2.5vw,1.55rem)}.progress-panel h2,.session-panel h2,.history-day h2,.profile-panel h2{letter-spacing:-.025em;font-size:clamp(1rem,1.65vw,1.19rem);font-weight:700}.metric-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.7rem 1rem;display:flex}.metric{letter-spacing:-.065em;color:var(--accent-ink);font-variant-numeric:tabular-nums;margin-top:.32rem;font-size:clamp(2rem,5vw,3.4rem);font-weight:780;line-height:1.14}.metric span{letter-spacing:-.035em;font-size:.62em}.lifetime-panel .metric{font-size:clamp(1.9rem,3.3vw,2.6rem)}.segmented{background:var(--surface);border:1px solid var(--line);border-radius:11px;align-items:center;gap:.1rem;padding:.18rem;display:inline-flex}.segmented button{min-height:37px;color:var(--muted);white-space:nowrap;transition:color var(--duration-fast), background var(--duration-fast);background:0 0;border:0;border-radius:8px;padding:.32rem .57rem;font-size:.79rem;font-weight:650}.segmented button[aria-pressed=true]{color:var(--accent-ink);background:var(--navigation-selected)}.segmented button:hover:not([aria-pressed=true]){background:var(--accent-soft)}.chart{margin-top:1rem}.chart-compact{margin-top:.64rem}.chart-picture{animation:fade-in var(--duration-fast) var(--ease-out) both;position:relative}.chart-picture:has(:focus-visible){outline:2px solid var(--focus);outline-offset:3px;border-radius:var(--radius-sm)}.chart-svg{cursor:crosshair;touch-action:pan-y;width:100%;height:clamp(152px,26vw,245px);display:block;overflow:visible}.chart-compact .chart-svg{height:clamp(110px,13vw,145px)}.chart-svg text{fill:var(--chart-ink);font-family:var(--font);font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none;font-size:.75rem}.chart-gridline{stroke:var(--chart-grid);stroke-width:1px;vector-effect:non-scaling-stroke}.chart-line{fill:none;stroke:var(--chart-line);stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.chart-guide{stroke:var(--chart-line);stroke-width:1px;opacity:.55;stroke-dasharray:3 3;vector-effect:non-scaling-stroke}.chart-marker{fill:var(--chart-line);stroke:var(--surface);stroke-width:2px;vector-effect:non-scaling-stroke}.chart-keyboard{opacity:0;pointer-events:none;width:100%;height:100%;margin:0;position:absolute;inset:0}.chart-caption{color:var(--muted);justify-content:space-between;gap:.5rem;margin-top:.28rem;font-size:.75rem;display:flex}.chart-caption span{color:var(--accent-ink);white-space:nowrap;font-weight:660}.chart-empty{text-align:center;min-height:152px;color:var(--muted);align-content:center;justify-items:center;gap:.6rem;padding:1.1rem;display:grid}.empty-icon,.session-icon{background:var(--accent-soft);width:41px;height:41px;color:var(--accent);border-radius:var(--radius-sm);flex:none;place-items:center;display:inline-grid}.session-panel{padding:1rem clamp(1rem,2.5vw,1.55rem)}.session-panel h2{margin-bottom:.7rem}.session-panel>p,.session-row p{font-size:.85rem}.session-row{align-items:center;gap:.7rem;min-width:0;display:flex}.session-row>div{flex:1;min-width:0}.session-row strong{font-size:.92rem;line-height:1.25;display:block}.session-row p,.session-date{color:var(--muted)}.session-date{white-space:nowrap;font-size:.73rem}.dialog{border:1px solid var(--line);border-radius:var(--radius-lg);width:min(440px,100% - 1.6rem);max-height:calc(100dvh - 1.6rem);color:var(--text);background:var(--surface);box-shadow:var(--shadow-overlay);padding:0}.dialog[open]{animation:dialog-enter var(--duration-dialog) var(--ease-out) both}.dialog::backdrop{background:var(--overlay);animation:fade-in var(--duration-dialog) var(--ease-out) both}.dialog-content{padding:1.1rem 1.25rem 1.25rem}.dialog-header{justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:.75rem;display:flex}.dialog-header h2{letter-spacing:-.035em;font-size:1.28rem}.dialog-header .icon-button{margin-right:-.4rem}.drawer{border-radius:0 var(--radius-md) var(--radius-md) 0;border:0;width:min(320px,86vw);max-width:none;height:100dvh;max-height:100dvh;margin:0 auto 0 0}.drawer[open]{animation:drawer-enter var(--duration-dialog) var(--ease-out) both}.drawer .dialog-content{padding:1rem}.drawer .navigation a{min-height:50px}body:has(dialog[open]){overflow:hidden}.form{gap:.88rem;display:grid}.form-fields{border:0;gap:.82rem;min-width:0;margin:0;padding:0;display:grid}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.form label{gap:.34rem;min-width:0;font-size:.87rem;font-weight:650;display:grid}.form input,.form select{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);width:100%;min-width:0;height:45px;padding:0 .69rem;font-size:1rem;display:block}.form input[aria-invalid=true]{border-color:var(--danger)}.form small{font-weight:500}.field-error{color:var(--danger)}.form-summary{background:var(--accent-soft);color:var(--accent-ink);border-radius:var(--radius-sm);padding:.57rem .72rem;font-size:.86rem}.form-actions{justify-content:flex-end;margin-top:.2rem}.dialog .form-actions{margin-top:.75rem}.feedback{border-radius:var(--radius-sm);align-items:flex-start;gap:.48rem;padding:.67rem .72rem;font-size:.87rem;display:flex}.feedback svg{flex:none;width:17px;height:17px;margin-top:.15rem}.error{color:var(--danger);background:var(--danger-soft)}.success{color:var(--success);background:var(--success-soft)}.retry{justify-items:start;gap:.8rem;max-width:34rem;padding:1rem;display:grid}.history{gap:.85rem;display:grid}.history-day{padding:1rem}.history-day h2{color:var(--muted);padding-bottom:.55rem}.history-day ul{margin:0;padding:0;list-style:none}.history-row{border-top:1px solid var(--line);align-items:center;gap:.6rem;padding:.52rem 0;display:flex}.history-row>div{flex:1;min-width:0}.history-row p{color:var(--muted);font-size:.78rem;line-height:1.35}.points-label{color:var(--accent-ink);white-space:nowrap;font-size:.82rem;font-weight:650}.delete-button:hover:not(:disabled){background:var(--danger-soft);color:var(--danger)}.profile-panel{max-width:36rem;margin-bottom:1rem;padding:1.2rem}.profile-panel>.muted{margin-block:.35rem .9rem}.account-panel{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;display:flex}.account-panel p{overflow-wrap:anywhere;margin-top:.33rem}.auth-layout{background:var(--surface-tint);place-items:center;min-height:100dvh;padding:1.25rem;display:grid}.auth-inner{width:min(100%,430px)}.auth-brand{margin:0 0 .9rem .15rem;display:inline-flex}.auth-card{gap:.9rem;width:min(100%,430px);padding:clamp(1.1rem,5vw,1.75rem);display:grid}.auth-card h1{letter-spacing:-.05em;font-size:clamp(1.65rem,5.2vw,2.15rem);font-weight:780}.auth-card h1+.muted{margin-top:-.5rem}.auth-divider{color:var(--muted);align-items:center;gap:.66rem;font-size:.8rem;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--line);flex:1;height:1px}.auth-switch{text-align:center;color:var(--muted);font-size:.87rem}.text-link{width:fit-content;color:var(--accent-link);text-underline-offset:.2em;background:0 0;border:0;justify-self:start;align-items:center;gap:.25rem;padding:0;font-size:.87rem;font-weight:700;text-decoration:underline;display:inline-flex}.text-link svg{width:16px;height:16px}.demo-link{justify-self:center;min-height:30px}.demo-banner{color:var(--accent-ink);background:var(--accent-soft);border-radius:var(--radius-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.95rem;padding:.58rem .7rem;font-size:.8rem;display:flex}.standalone-loading{max-width:1120px;margin:auto;padding:2rem 1.25rem}.skeleton{border-radius:var(--radius-md);background:var(--skeleton-base);background-image:linear-gradient(105deg, var(--skeleton-base) 25%, var(--skeleton-shine) 48%, var(--skeleton-base) 71%);background-size:210% 100%;animation:1.8s linear 3 skeleton-sweep}.skeleton-heading{width:min(210px,70%);height:2.6rem;margin-bottom:1.2rem}.skeleton-chart{height:275px}.skeleton-small-chart{height:180px}.skeleton-session{height:92px}.skeleton-form{max-width:36rem;height:280px}@media (max-width:759px){.dashboard-header .button{width:100%}.segmented button{min-height:43px}}@media (max-width:359px){.history-row .session-icon,.session-date{display:none}.field-grid{grid-template-columns:minmax(0,1fr)}}@media (min-width:760px){.app-shell{grid-template-columns:clamp(178px,17vw,235px) minmax(0,1fr)}.mobile-header{display:none}.sidebar{background:var(--navigation-surface);border-right:1px solid var(--line);height:100dvh;padding:1.7rem .9rem;display:block;position:sticky;top:0}.sidebar-brand{margin:0 .2rem 1.85rem;display:inline-flex}.main-content{padding:clamp(2rem,4vw,3.3rem) clamp(1.4rem,3.1vw,3.1rem) 3rem}.page-header{align-items:center;margin-bottom:1.6rem}}@media (min-width:1040px){.dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:1.05rem}.dashboard-side{gap:1.05rem}.recent-panel{flex-direction:column;display:flex}.recent-panel .chart{margin-block:auto .1rem;padding-top:1.7rem}.recent-panel .chart-empty{flex:1}}@keyframes dialog-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes drawer-enter{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes skeleton-sweep{0%{background-position:100% 0}to{background-position:-100% 0}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
