.offline-status{align-items:center;gap:var(--space-3);padding:var(--space-4);margin-bottom:var(--space-5);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--success-surface);color:var(--ink);display:flex}.offline-status>svg{color:var(--green);flex:none}.offline-status>div{flex:1;min-width:0}.offline-status strong{font-size:var(--text-sm);line-height:1.5;font-weight:var(--weight-strong);display:block}.offline-status p{color:var(--muted);font-size:var(--text-xs);margin-top:var(--space-1);overflow-wrap:anywhere;line-height:1.6}.offline-status button{justify-content:center;align-items:center;gap:var(--space-1);min-height:var(--control-height);padding:var(--space-2) var(--space-3);font-size:var(--text-xs);border:1px solid var(--border-strong);border-radius:var(--radius-md);background:var(--surface);color:var(--green);flex:none;display:flex}.offline-status button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.offline-status.has-error{background:var(--warning-surface);border-color:var(--warning-border)}.offline-status.has-error>svg{color:var(--warning)}@media (width<=500px){.offline-status{padding:var(--space-3);flex-wrap:wrap;align-items:flex-start}.offline-status>div{flex-basis:calc(100% - 40px)}.offline-status button{margin-left:auto}}@media (forced-colors:active){.offline-status{border-color:canvastext}.offline-status button{border-color:buttontext}}:root{font-family:var(--font-body);font-synthesis:none;color:var(--ink);background:var(--background);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--green:#195448;--green-hover:#123e35;--green-active:#0c3028;--on-green:#fff;--ink:#18362b;--muted:#52645b;--subtle:#5d6f64;--line:#c7d0c8;--mint:#eaf1e9;--background:#f5f6f3;--surface:#fff;--surface-subtle:#f0f3ed;--surface-muted:#e8eee5;--surface-hover:#e3ebe0;--surface-selected:var(--mint);--border-strong:#7d8e80;--focus-ring:#126c50;--focus-ring-soft:color-mix(in srgb, var(--focus-ring) 18%, transparent);--focus-ring-inverse:#d6eca8;--surface-inverse:#163e32;--surface-inverse-raised:#214e3f;--surface-inverse-hover:#2a5c49;--text-inverse:#f8faf2;--muted-inverse:#c2d2c7;--border-inverse:#749281;--border-inverse-soft:color-mix(in srgb, var(--border-inverse) 30%, transparent);--accent-soft:#deebbd;--accent-ink:#344e22;--danger:#9a3434;--danger-surface:#fff2f0;--danger-border:#d7a09a;--danger-inverse:#ffd0c5;--warning:#795119;--warning-surface:#fff6e4;--warning-border:#d5b66c;--success:var(--green);--success-surface:var(--mint);--info:#315c7b;--info-surface:#edf4f8;--overlay:#0e221b7a;--chart-accent:#9c5226;--chart-accent-inverse:#ffac75;--chart-grid:var(--line);--chart-inverse-grid:#9db6a040;--chart-series-1:var(--green);--chart-series-2:#6e5c91;--chart-series-3:#a34f2b;--chart-series-4:#2c6b8a;--chart-series-5:#75612b;--chart-series-6:#585c68;--subject-default:var(--green);--font-body:"DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-display:var(--font-body);--font-brand:"Manrope", var(--font-body);--font-data:var(--font-body);--text-xs:.75rem;--text-sm:.875rem;--text-base:1rem;--text-md:1.125rem;--text-lg:1.375rem;--text-xl:1.75rem;--text-2xl:2.25rem;--text-display:clamp(2rem, 3vw, 2.75rem);--text-brand:2rem;--text-timer:62px;--text-timer-small:48px;--line-body:1.5;--line-heading:1.18;--weight-regular:400;--weight-medium:500;--weight-strong:600;--weight-bold:700;--space-0:0;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:28px;--space-8:32px;--space-9:40px;--space-10:48px;--space-11:56px;--space-12:64px;--radius-xs:4px;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-xl:18px;--radius-pill:999px;--shadow-sm:none;--shadow-md:0 8px 24px #112c2114;--shadow-lg:0 24px 64px #112c2129;--shadow-inset:none;--material-highlight:color-mix(in srgb, var(--surface) 65%, transparent);--material-reflection:linear-gradient(155deg, color-mix(in srgb, var(--surface) 22%, transparent), color-mix(in srgb, var(--surface) 6%, transparent) 34%, transparent 64%);--material-reflection-inverse:linear-gradient(155deg, color-mix(in srgb, var(--surface) 10%, transparent), transparent 58%);--material-shadow:0 4px 12px color-mix(in srgb, var(--ink) 8%, transparent), inset 0 1px 0 var(--material-highlight);--material-shadow-raised:0 10px 28px color-mix(in srgb, var(--ink) 16%, transparent), inset 0 1px 0 var(--material-highlight);--material-blur:blur(20px) saturate(135%);--material-control-blur:blur(10px) saturate(125%);--duration-fast:.14s;--duration-normal:.2s;--duration-slow:.32s;--ease-standard:cubic-bezier(.2, .7, .25, 1);--control-height:44px;--control-size-sm:36px;--control-size-xs:28px;--content-max:1440px;--z-topbar:25;--z-sidebar:30;--z-nav:50;--z-overlay:60;--z-modal:100;--z-toast:150;--tracking-tight:-.02em;--tracking-wide:.08em;--tracking-normal:0;--tracking-brand:-.04em;--tracking-data:-.035em;font-size:16px;font-weight:400}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:0 0;border:0}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}input,select,textarea{min-width:0}button,select,a,input,textarea{outline:none}button:focus-visible,a:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}input:focus,select:focus,textarea:focus{box-shadow:0 0 0 3px var(--focus-ring-soft);border-color:var(--border-strong)!important}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--font-display)}svg{stroke-width:1.8px;flex-shrink:0}::selection{background:var(--surface-subtle)}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-thumb{background:var(--surface-subtle);border-radius:var(--radius-md)}.app-shell{min-height:100vh}.sidebar{background:var(--surface);border-right:1px solid var(--line);width:242px;padding:var(--space-8) var(--space-5) 0;z-index:30;flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.brand{font-family:var(--font-brand);font-size:var(--text-brand);font-weight:var(--weight-bold);letter-spacing:var(--tracking-brand);padding:0 var(--space-2);align-items:center;width:max-content;line-height:40px;display:flex}.brand-mark{background:var(--surface-subtle);width:36px;height:36px;color:var(--green);font-family:var(--font-brand);font-size:var(--text-2xl);border-radius:var(--radius-md);margin-right:var(--space-2);letter-spacing:var(--tracking-brand);justify-content:center;align-items:center;line-height:1;display:flex}.workspace-label{font-size:var(--text-xs);font-weight:var(--weight-bold);letter-spacing:var(--tracking-wide);color:var(--muted);padding:var(--space-8) var(--space-2) var(--space-3)}.env-control{margin-bottom:var(--space-7);position:relative}.env-current{align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md);text-align:left;background:var(--surface);width:100%;display:flex}.env-current>svg{color:var(--muted);margin-left:auto}.env-current>span:nth-child(2){min-width:0}.env-current strong{font-size:var(--text-xs);font-weight:var(--weight-strong);text-overflow:ellipsis;white-space:nowrap;max-width:119px;display:block;overflow:hidden}.env-current small{color:var(--muted);font-size:var(--text-xs);margin-top:var(--space-1);display:block}.env-icon{border-radius:var(--radius-sm);background:var(--surface-subtle);width:33px;height:33px;color:var(--green);flex-shrink:0;place-items:center;display:grid}.env-menu{padding:var(--space-1);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-md);z-index:50;position:absolute;top:calc(100% + 6px);left:0;right:0}.env-menu button{gap:var(--space-2);padding:var(--space-3) var(--space-2);text-align:left;border-radius:var(--radius-sm);width:100%;font-size:var(--text-xs);align-items:center;display:flex}.env-menu button:hover{background:var(--surface-hover)}.env-menu button span{flex:1}.env-menu button:last-child{color:var(--green);border-top:1px solid var(--line);margin-top:var(--space-1);border-radius:0 0 var(--radius-sm) var(--radius-sm)}.nav-caption{font-size:var(--text-xs);font-weight:var(--weight-strong);letter-spacing:var(--tracking-wide);color:var(--muted);padding:0 var(--space-3) var(--space-3)}.nav-item{align-items:center;gap:var(--space-3);border-radius:var(--radius-sm);width:100%;padding:var(--space-3) var(--space-3);text-align:left;font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--muted);margin-bottom:var(--space-1);transition:background var(--duration-fast),color var(--duration-fast);display:flex}.nav-item:hover{background:var(--surface-hover);color:var(--green)}.nav-item.active{color:var(--green);background:var(--surface-selected);font-weight:var(--weight-strong)}.nav-item.active svg{stroke-width:2px}.nav-item em{font-style:normal;font-size:var(--text-xs);background:var(--surface-subtle);color:var(--muted);padding:1px var(--space-1);border-radius:var(--radius-xs);margin-left:auto}.active-dot{background:var(--green);border-radius:50%;width:6px;height:6px;margin-left:auto}.sidebar-divider{background:var(--surface-subtle);height:1px;margin:var(--space-4) var(--space-3)}.live-dot{background:var(--green);border-radius:50%;width:6px;height:6px;display:inline-block}.nav-item .live-dot{box-shadow:var(--shadow-sm);margin-left:auto}.sidebar-bottom{padding-top:var(--space-6);margin-top:auto}.motivation{background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-md);margin:0 2px var(--space-5);padding:var(--space-4) var(--space-4) var(--space-5);position:relative;overflow:hidden}.motivation-icon{color:var(--green);margin-bottom:var(--space-3);display:block}.motivation strong{font-family:var(--font-body);font-size:var(--text-xs);font-weight:var(--weight-bold);color:var(--green);z-index:1;line-height:1.8;position:relative}.motivation p{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-2);z-index:1;position:relative}.motivation-lines{color:var(--muted);font-size:var(--text-display);font-weight:var(--weight-regular);line-height:1;position:absolute;bottom:8px;right:-3px;transform:rotate(-10deg)}.settings-link{padding-bottom:var(--space-4)}.profile{align-items:center;gap:var(--space-2);border-top:1px solid var(--line);padding:var(--space-5) var(--space-2);text-align:left;width:100%;display:flex}.avatar,.big-avatar{background:var(--surface-subtle);border:1px solid var(--line);color:var(--muted);font-family:var(--font-body);font-weight:var(--weight-bold);width:34px;height:34px;font-size:var(--text-xs);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.profile>span:nth-child(2){min-width:0}.profile strong{font-size:var(--text-xs);font-weight:var(--weight-strong);text-overflow:ellipsis;max-width:120px;display:block;overflow:hidden}.profile small{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);display:block}.profile>svg{color:var(--muted);margin-left:auto}.main-wrap{min-width:0;margin-left:242px}.topbar{border-bottom:1px solid var(--line);background:var(--surface);height:72px;padding:0 var(--space-8);justify-content:space-between;align-items:center;gap:var(--space-5);display:flex}.breadcrumb{gap:var(--space-3);font-size:var(--text-xs);color:var(--muted);white-space:nowrap;align-items:center;display:flex}.breadcrumb strong{color:var(--ink);font-weight:var(--weight-medium)}.breadcrumb>svg{color:var(--muted)}.topbar-actions{align-items:center;gap:var(--space-4);display:flex}.top-search{align-items:center;gap:var(--space-2);color:var(--muted);display:flex}.top-search input{font-size:var(--text-xs);width:178px;padding:var(--space-2) 0;color:var(--muted);background:0 0;border:0}.top-search input::placeholder{color:var(--muted)}.top-search input:focus{box-shadow:0 0 0 3px var(--focus-ring-soft)}.top-search kbd{font-family:var(--font-body);background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-xs);padding:1px var(--space-1);color:var(--muted);font-size:var(--text-xs)}.top-divider{background:var(--surface-subtle);width:1px;height:20px;margin:0 2px}.cloud-status{align-items:center;gap:var(--space-2);color:var(--muted);font-size:var(--text-xs);padding:var(--space-2) 0;display:flex}.icon-button{width:var(--control-size-sm);height:var(--control-size-sm);border-radius:var(--radius-sm);color:var(--muted);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.icon-button:hover{background:var(--surface-hover);color:var(--green)}.help-button{color:var(--muted)}.mobile-menu{display:none}main{max-width:var(--content-max);padding:var(--space-8) var(--space-8) 0;margin:0 auto}.page-heading{justify-content:space-between;align-items:center;gap:var(--space-5);margin-bottom:var(--space-7);display:flex}.eyebrow{align-items:center;gap:var(--space-2);color:var(--muted);font-size:var(--text-xs);margin-bottom:var(--space-3);text-transform:capitalize;display:flex}.tiny-line{background:var(--surface-subtle);width:15px;height:1px}h1{font-size:var(--text-xl);letter-spacing:var(--tracking-tight);line-height:1.35;font-weight:var(--weight-bold);color:var(--ink)}.page-heading p{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-2);line-height:1.6}.heading-actions{gap:var(--space-2);padding-top:var(--space-5);flex-shrink:0;align-items:center;display:flex}.btn{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--control-height);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);font-size:var(--text-xs);font-weight:var(--weight-medium);transition:background var(--duration-fast),transform var(--duration-fast);white-space:nowrap;line-height:1.5;display:inline-flex}.btn:active{transform:translateY(1px)}.btn.primary{background:var(--green);color:var(--on-green);border:1px solid var(--green);box-shadow:var(--shadow-sm)}.btn.primary:hover{background:var(--green-hover)}.btn.secondary{background:var(--surface);color:var(--muted);border:1px solid var(--line);box-shadow:var(--shadow-sm)}.btn.secondary:hover{background:var(--surface-hover);border-color:var(--line)}.stats-grid{gap:var(--space-4);margin-bottom:var(--space-5);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.stat-card{padding:var(--space-4) var(--space-5) var(--space-4);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);box-shadow:var(--shadow-sm)}.stat-label{font-size:var(--text-xs);color:var(--muted);font-weight:var(--weight-medium);justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.stat-icon{border-radius:var(--radius-sm);width:31px;height:31px;color:var(--green);background:var(--surface-subtle);flex-shrink:0;place-items:center;display:grid}.purple .stat-icon,.blue .stat-icon,.orange .stat-icon{background:var(--surface-subtle);color:var(--muted)}.stat-value{margin-top:var(--space-2);font-family:var(--font-data);font-size:var(--text-xl);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);color:var(--ink);line-height:1.4;display:block}.value-unit{font-size:var(--text-lg);font-weight:var(--weight-strong);margin-left:2px}.value-word{font-size:var(--text-sm);font-weight:var(--weight-medium);letter-spacing:var(--tracking-normal);color:var(--muted)}.stat-foot{align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);white-space:nowrap;margin-top:var(--space-2);display:flex}.positive{font-weight:var(--weight-medium);color:var(--success);align-items:center;gap:2px;display:inline-flex}.mini-dot{background:var(--surface-subtle);border-radius:50%;width:4px;height:4px}.orange-text{color:var(--muted)}.dashboard-middle{gap:var(--space-5);margin-bottom:var(--space-7);grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);display:grid}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-5) var(--space-6)}.panel-heading{justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.panel h2,.section-heading h2{font-size:var(--text-sm);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);color:var(--ink)}.panel-heading p,.section-heading p{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);line-height:1.6}.period-select{align-items:center;gap:var(--space-1);white-space:nowrap;border:1px solid var(--border-strong);padding:var(--space-2) var(--space-2);border-radius:var(--radius-sm);font-size:var(--text-xs);color:var(--muted);display:flex}.period-select:hover{background:var(--surface-hover)}.rhythm-panel{flex-direction:column;min-height:397px;display:flex}.chart-wrap{gap:var(--space-3);height:204px;min-height:204px;margin-top:var(--space-7);display:flex}.chart-y{width:21px;height:173px;color:var(--muted);font-size:var(--text-xs);flex-direction:column;flex-shrink:0;justify-content:space-between;padding:0;display:flex;transform:translateY(-5px)}.bar-chart{flex:1;justify-content:space-around;min-width:0;height:199px;display:flex;position:relative}.chart-grid{pointer-events:none;flex-direction:column;justify-content:space-between;display:flex;position:absolute;inset:0 0 26px}.chart-grid div{border-top:1px dashed var(--line);width:100%;height:0}.bar-column{z-index:1;flex-direction:column;flex:1;align-items:center;min-width:0;height:199px;display:flex;position:relative}.bar-space{width:100%;height:173px;min-height:0;padding:0 var(--space-3);flex:none;justify-content:center;align-items:flex-end;display:flex;position:relative}.bar{background:var(--green);border-radius:var(--radius-sm) var(--radius-sm) 0 0;width:34px;max-width:100%;min-height:0;transition:height var(--duration-slow) ease,background var(--duration-normal);position:relative}.bar>div{background:var(--green);border-radius:inherit;width:100%;height:100%}.bar-column:nth-of-type(3) .bar,.bar-column.today .bar{background:var(--green)}.bar-day{gap:var(--space-1);height:26px;padding-top:var(--space-2);font-size:var(--text-xs);color:var(--muted);justify-content:center;align-items:center;display:flex}.bar-column.today .bar-day{color:var(--green);font-weight:var(--weight-strong)}.bar-day span{background:var(--green);border-radius:50%;width:3px;height:3px}.bar-value{font-size:var(--text-xs);text-align:center;color:var(--muted);opacity:0;transition:opacity var(--duration-fast);position:absolute;top:-19px;left:0;right:0}.bar-column:hover .bar-value{opacity:1}.weekly-goal{border-top:1px solid var(--line);padding-top:var(--space-4);margin-top:auto}.goal-row{font-size:var(--text-xs);margin-bottom:var(--space-3);color:var(--muted);justify-content:space-between;align-items:center;display:flex}.goal-row>span{align-items:center;gap:var(--space-2);display:flex}.goal-row strong{font-size:var(--text-xs);color:var(--green);font-weight:var(--weight-strong)}.goal-row strong span{color:var(--muted);font-weight:var(--weight-regular)}.legend-dot{background:var(--green);border-radius:var(--radius-xs);flex-shrink:0;width:6px;height:6px;display:inline-block}.progress-track{border-radius:var(--radius-md);background:var(--surface-subtle);width:100%;height:5px;overflow:hidden}.progress-track i{border-radius:var(--radius-md);background:var(--green);height:100%;transition:width var(--duration-slow) ease;display:block}.weekly-goal p{justify-content:space-between;align-items:center;gap:var(--space-2);color:var(--muted);font-size:var(--text-xs);margin-top:var(--space-2);line-height:1.5;display:flex}.weekly-goal p button{align-items:center;gap:var(--space-1);color:var(--green);font-size:var(--text-xs);white-space:nowrap;padding:0;display:inline-flex}.focus-card{isolation:isolate;background:var(--surface-inverse);color:var(--text-inverse);border:1px solid var(--border-inverse);border-radius:var(--radius-md);padding:var(--space-6) var(--space-6) var(--space-4);flex-direction:column;min-width:0;display:flex;position:relative;overflow:hidden}.focus-orbit{z-index:-1;border:1px solid var(--border-inverse-soft);pointer-events:none;border-radius:50%;width:310px;height:310px;position:absolute}.orbit-one{top:-149px;right:-168px}.orbit-two{top:-121px;right:-197px}.focus-kicker{align-items:center;gap:var(--space-2);font-size:var(--text-xs);letter-spacing:var(--tracking-wide);color:var(--muted-inverse);font-weight:var(--weight-medium);margin-bottom:var(--space-3);display:flex}.focus-kicker>svg{color:var(--muted-inverse);margin-left:auto}.focus-kicker .live-dot{background:var(--surface-inverse-raised);width:5px;height:5px}.focus-card h2{font-size:var(--text-lg);font-weight:var(--weight-strong);letter-spacing:var(--tracking-tight);color:var(--text-inverse);line-height:1.4}.focus-card>p{font-size:var(--text-xs);color:var(--muted-inverse);margin-top:var(--space-1);line-height:1.5}.focus-controls{margin-top:var(--space-5);gap:var(--space-1);flex-direction:column;display:flex}.focus-controls select{background:var(--surface-inverse-raised);color:var(--text-inverse);border:1px solid var(--border-inverse-soft);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-2);font-size:var(--text-xs);cursor:pointer;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;width:100%;height:33px}.focus-controls select.focus-topic{font-size:var(--text-xs);padding-top:var(--space-1);padding-bottom:var(--space-1);height:25px;color:var(--text-inverse);background:0 0;border-color:#0000}.focus-controls option{color:var(--text-inverse);background:var(--surface-inverse-raised)}.focus-clock{font-family:var(--font-data);font-size:var(--text-timer);letter-spacing:var(--tracking-data);font-weight:var(--weight-medium);white-space:nowrap;text-align:center;color:var(--text-inverse);font-variant-numeric:tabular-nums;margin-top:var(--space-2);line-height:1.3}.focus-clock>span{color:var(--text-inverse);padding:0 var(--space-1);font-weight:var(--weight-regular);display:inline-block;transform:translateY(-3px)}.timer-mode{justify-content:center;align-items:center;gap:var(--space-2);font-size:var(--text-xs);margin:var(--space-1) calc(-1 * var(--space-2)) var(--space-4);color:var(--muted-inverse);white-space:nowrap;display:flex}.timer-mode button{font-size:var(--text-xs);color:var(--muted-inverse);padding:var(--space-1) 0}.timer-mode button.selected{color:var(--text-inverse)}.timer-mode>span{background:var(--surface);width:1px;height:8px}.focus-button-row{gap:var(--space-2);margin-top:auto;display:flex}.focus-start{background:var(--accent-soft);border-radius:var(--radius-sm);justify-content:center;align-items:center;gap:var(--space-2);color:var(--accent-ink);width:100%;height:40px;font-size:var(--text-xs);font-weight:var(--weight-strong);transition:background var(--duration-fast);display:flex}.focus-start:hover{background:var(--accent-soft)}.focus-start>svg:last-child{width:14px;margin-left:auto}.focus-start>svg:first-child{width:13px;margin-left:var(--space-1)}.focus-start{padding:0 var(--space-3)}.focus-stop{background:var(--surface-inverse-raised);border:1px solid var(--border-inverse-soft);color:var(--muted-inverse);border-radius:var(--radius-sm);flex-shrink:0;place-items:center;width:40px;display:grid}.focus-bottom{justify-content:center;align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--text-inverse);margin-top:var(--space-3);text-align:center;line-height:1.6;display:flex}.focus-bottom-dot{background:var(--surface-inverse-raised);border-radius:50%;width:3px;height:3px}.section-heading{justify-content:space-between;align-items:center;gap:var(--space-4);margin:0 0 var(--space-4);display:flex}.section-heading h2{align-items:center;gap:var(--space-2);font-size:var(--text-sm);display:flex}.section-heading p{margin-top:var(--space-1)}.count-badge{background:var(--surface-subtle);min-width:20px;height:19px;font-size:var(--text-xs);color:var(--muted);font-family:var(--font-body);border-radius:var(--radius-sm);letter-spacing:var(--tracking-normal);font-weight:var(--weight-medium);place-items:center;display:inline-grid}.text-button{justify-content:center;align-items:center;gap:var(--space-2);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--green);padding:var(--space-1) 0;white-space:nowrap;display:inline-flex}.text-button:hover{color:var(--green)}.subject-grid{gap:var(--space-4);margin-bottom:var(--space-7);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.subject-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-5) var(--space-5) 0;transition:box-shadow var(--duration-normal),border-color var(--duration-normal);min-width:0}.subject-card:hover{border-color:var(--line);box-shadow:var(--shadow-sm)}.subject-card-top{margin-bottom:var(--space-4);justify-content:space-between;align-items:center;display:flex}.subject-icon,.upcoming-subject{border-radius:var(--radius-md);background:color-mix(in srgb,var(--subject-color) 12%,white);width:38px;height:38px;color:var(--subject-color);flex-shrink:0;place-items:center;display:grid}.subject-card-top>.icon-button{width:24px;height:22px;color:var(--muted);align-self:flex-start}.subject-main{text-align:left;width:100%;padding:0;display:block}.subject-main h3{font-size:var(--text-sm);color:var(--ink);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.subject-main p{font-size:var(--text-xs);color:var(--muted);align-items:center;gap:var(--space-1);margin-top:var(--space-2);display:flex}.subject-main p svg{color:var(--muted);width:12px}.subject-progress-label{font-size:var(--text-xs);margin:var(--space-5) 0 var(--space-2);color:var(--muted);justify-content:space-between;align-items:center;display:flex}.subject-progress-label strong{color:var(--subject-color);font-weight:var(--weight-medium)}.subject-card .progress-track{height:4px}.subject-card-foot{align-items:center;gap:var(--space-4);border-top:1px solid var(--line);padding:var(--space-3) 0;margin-top:var(--space-4);font-size:var(--text-xs);color:var(--muted);display:flex}.subject-card-foot>span{align-items:center;gap:var(--space-1);display:flex}.subject-card-foot>span svg{color:var(--muted)}.subject-card-foot button{color:var(--muted);border-radius:var(--radius-xs);place-items:center;width:18px;height:18px;margin-left:auto;padding:0;display:grid}.subject-card-foot button:hover{background:var(--surface-hover);color:var(--green)}.upcoming-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-5) var(--space-6) var(--space-1)}.upcoming-panel>.section-heading{margin-bottom:var(--space-5)}.upcoming-panel .section-heading h2{font-size:var(--text-sm)}.upcoming-row{border-top:1px solid var(--line);align-items:center;gap:var(--space-3);padding:var(--space-3) 0;display:flex}.upcoming-subject{border-radius:var(--radius-sm);width:33px;height:33px}.upcoming-row>div:nth-child(2){flex:1}.upcoming-row>div:nth-child(2) strong{font-size:var(--text-xs);font-weight:var(--weight-strong);display:block}.upcoming-row>div:nth-child(2)>span{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);display:block}.date-chip{padding:var(--space-1) var(--space-2);background:var(--surface-subtle);border-radius:var(--radius-xs);color:var(--muted);font-size:var(--text-xs)}.upcoming-time{align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);min-width:65px;margin-left:var(--space-3);display:flex}.upcoming-row>.icon-button{border:1px solid var(--line);width:27px;height:27px;margin-left:var(--space-2);color:var(--green)}.empty-inline{border-top:1px solid var(--line);align-items:center;gap:var(--space-3);font-size:var(--text-xs);padding:var(--space-6) 0 var(--space-7);color:var(--muted);display:flex}.empty-inline>svg{color:var(--muted)}.empty-inline .text-button{margin-left:auto}.app-footer{padding:var(--space-7) 0 var(--space-5);font-size:var(--text-xs);color:var(--muted);justify-content:space-between;align-items:center;display:flex}.app-footer>span:last-child{align-items:center;gap:var(--space-2);letter-spacing:var(--tracking-wide);display:flex}.footer-star{color:var(--muted);font-size:var(--text-md)}.list-meta{align-items:center;gap:var(--space-3);font-size:var(--text-xs);color:var(--muted);display:flex}.status-pill{align-items:center;gap:var(--space-1);font-size:var(--text-xs);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--muted);padding:var(--space-1) var(--space-2);white-space:nowrap;display:inline-flex}.status-pill>span{background:var(--surface-subtle);border-radius:50%;width:4px;height:4px}.add-subject-card{border:1px dashed var(--line);border-radius:var(--radius-md);background:var(--surface);min-height:228px;color:var(--muted);transition:background var(--duration-fast);flex-direction:column;justify-content:center;align-items:center;display:flex}.add-subject-card:hover{background:var(--surface-hover)}.add-subject-card>span{background:var(--surface-subtle);width:40px;height:40px;margin-bottom:var(--space-4);border-radius:50%;place-items:center;display:grid}.add-subject-card strong{font-family:var(--font-body);font-size:var(--text-xs);font-weight:var(--weight-strong)}.add-subject-card p{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-2)}.empty-state{padding:var(--space-8) var(--space-5);text-align:center;color:var(--muted);grid-column:1/-1}.empty-state>svg{margin-bottom:var(--space-3);color:var(--muted)}.empty-state h3{font-size:var(--text-sm);font-weight:var(--weight-strong);color:var(--green);letter-spacing:var(--tracking-tight)}.empty-state p{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-2);line-height:1.8}.empty-state .btn{margin-top:var(--space-5)}.schedule-toolbar{margin-bottom:var(--space-5);justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.schedule-navigation{align-items:center;gap:var(--space-2);display:flex}.schedule-toolbar h2{font-size:var(--text-sm);margin-left:var(--space-2);letter-spacing:var(--tracking-tight)}.schedule-legend{font-size:var(--text-xs);color:var(--muted);gap:var(--space-1);align-items:center;display:flex}.schedule-legend .legend-dot.completed{background:var(--green);margin-left:var(--space-2)}.calendar-grid{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);grid-template-columns:repeat(7,minmax(0,1fr));min-height:430px;display:grid;overflow:hidden}.calendar-day{border-right:1px solid var(--line);min-width:0;padding:var(--space-3) var(--space-2) var(--space-2);flex-direction:column;display:flex}.calendar-day:last-child{border:0}.calendar-day>header{align-items:center;gap:var(--space-1);border-bottom:1px solid var(--line);padding-bottom:var(--space-4);margin-bottom:var(--space-3);flex-direction:column;display:flex}.calendar-day>header span{text-transform:uppercase;font-size:var(--text-xs);letter-spacing:var(--tracking-wide);color:var(--muted)}.calendar-day>header strong{font-family:var(--font-body);font-size:var(--text-md);font-weight:var(--weight-strong);width:30px;height:30px;color:var(--muted);place-items:center;display:grid}.calendar-day.is-today{background:var(--surface)}.calendar-day.is-today>header strong{background:var(--green);color:var(--muted);border-radius:50%}.calendar-day.is-today>header span{color:var(--green)}.calendar-events{gap:var(--space-2);flex-direction:column;display:flex}.calendar-event{text-align:left;background:color-mix(in srgb,var(--subject-color) 9%,white);border:1px solid color-mix(in srgb,var(--subject-color) 15%,white);border-left:2px solid var(--subject-color);padding:var(--space-3) var(--space-2);border-radius:var(--radius-sm);color:color-mix(in srgb,var(--subject-color) 70%,var(--green));overflow:hidden}.calendar-event strong{font-size:var(--text-xs);overflow-wrap:anywhere;line-height:1.6;font-weight:var(--weight-strong);display:block}.calendar-event p{font-size:var(--text-xs);margin-top:var(--space-1);opacity:.7;overflow-wrap:anywhere;line-height:1.6}.calendar-event>span{align-items:center;gap:var(--space-1);font-size:var(--text-xs);margin-top:var(--space-2);opacity:.8;display:flex}.calendar-event.done{background:var(--surface-subtle);color:var(--muted);border-color:var(--line);border-left-color:var(--line)}.calendar-event.done strong{opacity:.7;text-decoration:line-through}.calendar-add{color:var(--muted);background:var(--surface);border:1px dashed var(--line);margin-top:var(--space-3);border-radius:var(--radius-sm);justify-content:center;align-items:center;width:100%;min-height:27px;display:flex}.calendar-add:hover{background:var(--surface-hover)}.free-day{color:var(--muted);font-size:var(--text-xs);text-align:center;padding:var(--space-4) 2px;line-height:1.8}.tip-banner{align-items:center;gap:var(--space-4);background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-5);margin-top:var(--space-6);color:var(--muted);display:flex}.tip-banner>div{flex:1}.tip-banner strong{font-family:var(--font-body);font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--green)}.tip-banner p{font-size:var(--text-xs);margin-top:var(--space-1);color:var(--muted);line-height:1.6}.tip-banner .btn{color:var(--green);background:var(--surface);border-color:var(--line)}.performance-grid{gap:var(--space-5);margin-bottom:var(--space-7);grid-template-columns:1.8fr 1fr;display:grid}.performance-bars{padding-top:var(--space-7);padding-bottom:var(--space-2);gap:var(--space-6);flex-direction:column;display:flex}.performance-bars>div>div:first-child{margin-bottom:var(--space-3);font-size:var(--text-xs);justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.performance-bars strong{font-weight:var(--weight-medium)}.performance-bars span{color:var(--muted);font-size:var(--text-xs)}.performance-bars b{font-weight:var(--weight-strong);color:var(--green);margin-left:var(--space-3)}.performance-bars .progress-track{height:7px}.total-panel{text-align:center;padding-top:var(--space-7);flex-direction:column;align-items:center;display:flex}.total-panel>.stat-icon{background:var(--surface-subtle);width:44px;height:44px;margin-bottom:var(--space-4)}.total-panel h2{font-size:var(--text-md);letter-spacing:var(--tracking-tight)}.total-panel>p{font-size:var(--text-xs);margin-top:var(--space-2);color:var(--muted)}.total-panel>div:not(.total-small){margin-top:var(--space-6)}.total-panel>div>strong{font-family:var(--font-body);font-size:var(--text-2xl);font-weight:var(--weight-bold);color:var(--green);letter-spacing:var(--tracking-tight);display:block}.total-panel>div>span{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-2);display:block}.total-panel .total-small{gap:var(--space-6);margin:var(--space-6) 0;display:flex}.total-small b{font-weight:var(--weight-strong);color:var(--green)}.total-panel .btn{width:100%;margin-top:auto}.history-table{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden}.history-table table{border-collapse:collapse;text-align:left;width:100%}.history-table th{font-size:var(--text-xs);letter-spacing:var(--tracking-wide);font-weight:var(--weight-medium);color:var(--muted);background:var(--surface);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--line);white-space:nowrap}.history-table td{font-size:var(--text-xs);padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--line);color:var(--muted)}.history-table tr:last-child td{border:0}.history-table td:first-child{gap:var(--space-3);align-items:center;display:flex}.history-table td strong{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--green);display:block}.history-table td small{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);display:block}.table-dot{border-radius:50%;flex-shrink:0;width:6px;height:6px}.rate-pill{color:var(--green);font-size:var(--text-xs);background:var(--surface-subtle);padding:var(--space-1) var(--space-2);border-radius:var(--radius-xs)}.focus-page{max-width:900px;margin:var(--space-4) auto var(--space-10);gap:var(--space-11);grid-template-columns:1fr 1fr;align-items:center;display:grid}.focus-page .focus-card{padding:var(--space-8) var(--space-8) var(--space-6);min-height:470px}.focus-page .focus-clock{font-size:var(--text-timer);margin-top:var(--space-6)}.focus-page .focus-card h2{font-size:var(--text-lg)}.focus-note>span{font-size:var(--text-display);color:var(--text-inverse);line-height:1}.focus-note h2{font-size:var(--text-xl);line-height:1.5;font-weight:var(--weight-strong);letter-spacing:var(--tracking-tight);margin-top:var(--space-7);color:var(--text-inverse);max-width:270px}.focus-note p{font-size:var(--text-xs);color:var(--muted-inverse);max-width:270px;margin-top:var(--space-4);line-height:1.9}.focus-note .text-button{margin-top:var(--space-6);white-space:normal;text-align:left;font-size:var(--text-xs);justify-content:flex-start;line-height:1.7}.floating-timer{z-index:35;align-items:center;gap:var(--space-3);background:var(--surface-inverse);color:var(--text-inverse);border:1px solid var(--border-inverse);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);font-size:var(--text-xs);padding:var(--space-4) var(--space-5);display:flex;position:fixed;bottom:25px;right:30px}.floating-timer strong{font-size:var(--text-sm);font-weight:var(--weight-medium);font-variant-numeric:tabular-nums}.toast{align-items:center;gap:var(--space-2);z-index:150;padding:var(--space-4) var(--space-4);color:var(--text-inverse);background:var(--surface-inverse);border:1px solid var(--border-inverse);box-shadow:var(--shadow-md);border-radius:var(--radius-md);font-size:var(--text-xs);max-width:calc(100vw - 30px);line-height:1.6;animation:.25s toast-in;display:flex;position:fixed;bottom:27px;left:calc(50% + 121px);transform:translate(-50%)}.toast>svg{color:var(--text-inverse)}.toast>button{margin-left:var(--space-2);color:var(--text-inverse);align-items:center;padding:0;display:flex}.error-banner{justify-content:space-between;align-items:center;gap:var(--space-4);font-size:var(--text-xs);background:var(--danger-surface);color:var(--danger);border:1px solid var(--danger-border);border-radius:var(--radius-sm);padding:var(--space-3) var(--space-4);margin-bottom:var(--space-5);line-height:1.6;display:flex}.error-banner button{color:var(--danger);white-space:nowrap;font-size:var(--text-xs);text-decoration:underline}.modal-backdrop{background:var(--overlay);-webkit-backdrop-filter:none;backdrop-filter:none;z-index:100;padding:var(--space-6);justify-content:center;align-items:center;animation:.2s fade-in;display:flex;position:fixed;inset:0}.modal{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);width:100%;max-width:485px;max-height:calc(100dvh - 48px);box-shadow:var(--shadow-lg);animation:.22s modal-in;overflow:auto}.modal.wide{max-width:650px}.modal>header{padding:var(--space-6) var(--space-7) var(--space-5);border-bottom:1px solid var(--line);background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;z-index:5;justify-content:space-between;align-items:center;display:flex;position:sticky;top:0}.modal-eyebrow{font-size:var(--text-xs);letter-spacing:var(--tracking-wide);color:var(--muted);margin-bottom:var(--space-2);font-weight:var(--weight-medium);display:block}.modal>header h2{font-size:var(--text-md);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight);color:var(--green);line-height:1.5}.modal>header .icon-button{margin-top:calc(-1 * var(--space-1));margin-right:calc(-1 * var(--space-1));color:var(--muted);align-self:flex-start}.modal-body{padding:var(--space-6) var(--space-7) var(--space-7)}.form-intro{font-size:var(--text-xs);color:var(--muted);margin-bottom:var(--space-6);line-height:1.85}.modal label{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--green);margin-bottom:var(--space-4);line-height:1.5;display:block}.modal label input:not([type=checkbox]),.modal label select,.modal label textarea,.paste-import textarea{border:1px solid var(--border-strong);background:var(--surface);border-radius:var(--radius-sm);width:100%;margin-top:var(--space-2);padding:var(--space-2) var(--space-3);color:var(--green);font-size:var(--text-base);transition:border-color var(--duration-fast),box-shadow var(--duration-fast);line-height:1.6;display:block}.modal label input:not([type=checkbox]),.modal label select{height:var(--control-height)}.modal label textarea,.paste-import textarea{resize:vertical;min-height:90px}.modal input::placeholder,.modal textarea::placeholder{color:var(--muted)}.optional{font-weight:var(--weight-regular);color:var(--muted);margin-left:var(--space-1);font-size:var(--text-xs)}.color-options{align-items:center;gap:var(--space-2);margin-top:calc(-1 * var(--space-1));margin-bottom:var(--space-6);display:flex}.color-options>button{color:var(--muted);border:3px solid var(--line);border-radius:50%;place-items:center;width:28px;height:28px;display:grid}.color-options>button.chosen{outline:1px solid var(--focus-ring);outline-offset:2px}.form-actions{justify-content:flex-end;align-items:center;gap:var(--space-3);border-top:1px solid var(--line);padding-top:var(--space-5);margin-top:var(--space-6);display:flex}.form-actions>.text-button{margin-right:auto}.form-actions .btn{font-size:var(--text-xs);min-height:39px;padding:var(--space-2) var(--space-4)}.danger,.danger:hover{color:var(--danger)}.form-warning{padding:var(--space-3) var(--space-3);background:var(--warning-surface);border:1px solid var(--line);color:var(--warning);font-size:var(--text-xs);border-radius:var(--radius-sm);margin:var(--space-4) 0;line-height:1.8}.form-warning button{font-weight:var(--weight-strong);color:var(--warning);font-size:var(--text-xs);padding:0;text-decoration:underline}.form-error{font-size:var(--text-xs);color:var(--danger);background:var(--danger-surface);border:1px solid var(--danger-border);padding:var(--space-3) var(--space-3);border-radius:var(--radius-sm);margin-top:var(--space-4);line-height:1.7}.form-row{gap:var(--space-3);grid-template-columns:1fr 1fr;display:grid}.form-row.three{grid-template-columns:1.1fr 1fr 1fr}.form-row label,.form-row label input{min-width:0}.environment-options{gap:var(--space-2);margin-top:var(--space-2);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.environment-options button{border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-5) var(--space-2);gap:var(--space-2);color:var(--muted);font-size:var(--text-xs);background:var(--surface);flex-direction:column;align-items:center;display:flex}.environment-options button.selected{background:var(--surface-selected);border-color:var(--border-strong);color:var(--green)}.upload-area{border:1px dashed var(--line);width:100%;padding:var(--space-6) var(--space-4);background:var(--surface-subtle);border-radius:var(--radius-md);color:var(--muted);transition:background var(--duration-fast);flex-direction:column;justify-content:center;align-items:center;display:flex}.upload-area:hover{background:var(--surface-hover)}.upload-area strong{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--green);margin-top:var(--space-3);text-align:center;line-height:1.7}.upload-area span{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1)}.hidden{display:none!important}.import-helper{justify-content:space-between;align-items:center;gap:var(--space-3);font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-2);display:flex}.import-helper .text-button{font-size:var(--text-xs);color:var(--muted)}.paste-import{margin-top:var(--space-5);color:var(--muted);font-size:var(--text-xs)}.paste-import summary{cursor:pointer;line-height:1.8}.paste-import textarea{margin-top:var(--space-3);margin-bottom:var(--space-2)}.paste-import .btn{font-size:var(--text-xs)}.review-heading{justify-content:space-between;align-items:center;gap:var(--space-3);border-top:1px solid var(--line);padding-top:var(--space-5);margin-top:var(--space-6);margin-bottom:var(--space-3);display:flex}.review-heading h3{font-size:var(--text-xs);color:var(--green);font-weight:var(--weight-strong);letter-spacing:var(--tracking-tight)}.review-heading>span{font-size:var(--text-xs);color:var(--muted);white-space:nowrap}.import-subjects{border:1px solid var(--line);border-radius:var(--radius-sm);max-height:220px;margin-bottom:var(--space-5);overflow:auto}.import-subjects>label{align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-3);border-bottom:1px solid var(--line);margin:0;display:flex}.import-subjects>label:last-child{border:0}.import-subjects input[type=checkbox]{accent-color:var(--green);flex-shrink:0;width:14px;height:14px;margin:0}.import-subjects>label>span{flex:1}.import-subjects strong{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--muted);line-height:1.6;display:block}.import-subjects small{font-size:var(--text-xs);font-weight:var(--weight-regular);color:var(--muted);margin-top:var(--space-1);display:block}.modal .import-subjects input.inline-name{font-size:var(--text-base);width:43%;height:31px;padding:var(--space-1) var(--space-2);background:var(--surface);margin:0}.day-picker{gap:var(--space-2);margin-top:calc(-1 * var(--space-1));margin-bottom:var(--space-5);grid-template-columns:repeat(7,1fr);display:grid}.day-picker>button{border:1px solid var(--line);background:var(--surface);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-1);font-size:var(--text-xs);color:var(--muted)}.day-picker>button.selected{background:var(--surface-selected);border-color:var(--border-strong);color:var(--green);font-weight:var(--weight-medium)}.form-hint{font-size:var(--text-xs);color:var(--muted);margin-top:1px;line-height:1.85}.detail-info{align-items:center;gap:var(--space-3);margin-bottom:var(--space-6);display:flex}.detail-info>.subject-icon{width:43px;height:43px}.detail-info>div{flex:1}.detail-info strong{font-size:var(--text-xs);color:var(--muted);font-weight:var(--weight-medium);line-height:1.8}.detail-info p{font-size:var(--text-xs);color:var(--muted);margin-top:2px;line-height:1.7}.detail-info>.btn{font-size:var(--text-xs);padding:var(--space-1) var(--space-2);min-height:31px}.topic-list{border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden}.topic-list>div{align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-3);border-bottom:1px solid var(--line);display:flex}.topic-list>div:last-child{border:0}.topic-check{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);flex-shrink:0;place-items:center;width:19px;height:19px;display:grid}.topic-check.checked{background:var(--surface-subtle);border-color:var(--line);color:var(--muted)}.topic-list strong{font-size:var(--text-xs);color:var(--muted);font-weight:var(--weight-medium);line-height:1.7}.topic-list small{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);line-height:1.7;display:block}.topic-list>.form-intro{padding:var(--space-5);margin:0}.export-box{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-4);background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-sm);margin-top:var(--space-6);display:flex}.export-box strong{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--muted);line-height:1.6}.export-box p{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);line-height:1.8}.export-box .icon-button{color:var(--muted)}.auth-submit{width:100%;font-size:var(--text-xs);min-height:40px;margin-top:var(--space-2)}.auth-toggle{justify-content:center;align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-5);line-height:1.7;display:flex}.auth-toggle button{color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-strong);padding:0}.auth-disclaimer{justify-content:center;align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);border-top:1px solid var(--line);padding-top:var(--space-4);margin-top:var(--space-6);line-height:1.8;display:flex}.account-content{text-align:center;padding:var(--space-2) 0 var(--space-4)}.big-avatar{width:64px;height:64px;font-size:var(--text-lg);margin:0 auto var(--space-5);background:var(--surface-subtle);border-color:var(--line);color:var(--muted)}.account-content h3{font-size:var(--text-md);font-weight:var(--weight-strong);color:var(--muted);overflow-wrap:anywhere}.account-content p{justify-content:center;align-items:center;gap:var(--space-2);font-size:var(--text-xs);margin:var(--space-3) 0 var(--space-7);color:var(--muted);display:flex}.account-content .btn{font-size:var(--text-xs)}.help-content>p{font-size:var(--text-xs);color:var(--muted);margin-bottom:var(--space-6);line-height:1.8}.help-step{gap:var(--space-4);margin-bottom:var(--space-6);display:flex}.help-step:last-child{margin-bottom:var(--space-1)}.help-step>svg{color:var(--muted);margin-top:var(--space-1)}.help-step h3{font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--muted);line-height:1.8}.help-step p{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);line-height:1.9}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translateY(8px)scale(.99)}to{opacity:1;transform:none}}@keyframes toast-in{0%{opacity:0;bottom:17px}to{opacity:1;bottom:27px}}@media (width>=1550px){main{padding:var(--space-9) var(--space-10) 0;max-width:var(--content-max)}.topbar{padding:0 var(--space-10)}.page-heading{margin-bottom:var(--space-8)}h1{font-size:var(--text-2xl)}.stat-card{padding:var(--space-5) var(--space-6) var(--space-5)}.stat-value{font-size:var(--text-2xl)}.stat-label,.stat-foot{font-size:var(--text-xs)}.stats-grid{gap:var(--space-5);margin-bottom:var(--space-6)}.dashboard-middle{gap:var(--space-6)}.rhythm-panel{padding:var(--space-6) var(--space-7);min-height:420px}.chart-wrap{margin-top:var(--space-8);height:220px}.bar-chart,.bar-column{height:215px}.bar-space,.chart-y{height:189px}.focus-card{padding:var(--space-6) var(--space-7) var(--space-5)}.focus-card h2{font-size:var(--text-lg)}.focus-clock{font-size:var(--text-timer)}.focus-controls{margin-top:var(--space-5)}.subject-card{padding:var(--space-5) var(--space-6) 0}.subject-main h3{font-size:var(--text-sm)}.subject-card-foot{padding:var(--space-4) 0}.subject-grid{gap:var(--space-5)}.panel h2,.section-heading h2{font-size:var(--text-sm)}.top-search input{width:200px}}@media (width<=1250px){.sidebar{width:218px;padding-left:var(--space-4);padding-right:var(--space-4)}.main-wrap{margin-left:218px}.topbar{padding:0 var(--space-6)}.topbar-actions{gap:var(--space-3)}.top-search input{width:145px}.cloud-status span{display:none}main{padding:var(--space-7) var(--space-6) 0;max-width:var(--content-max)}.page-heading{align-items:flex-start;gap:var(--space-2)}h1{font-size:var(--text-xl)}.page-heading p{font-size:var(--text-xs)}.heading-actions{padding-top:var(--space-5);gap:var(--space-2)}.heading-actions .btn{font-size:var(--text-xs);padding:var(--space-2) var(--space-2);gap:var(--space-1)}.heading-actions .btn svg{width:14px}.stat-card{padding:var(--space-4) var(--space-4)}.stat-label{font-size:var(--text-xs)}.stat-value{font-size:var(--text-xl)}.stat-foot{font-size:var(--text-xs)}.stats-grid{gap:var(--space-3)}.dashboard-middle{gap:var(--space-4);grid-template-columns:minmax(0,1.65fr) minmax(252px,1fr)}.panel{padding:var(--space-5) var(--space-4)}.panel h2,.section-heading h2{font-size:var(--text-sm)}.panel-heading p{font-size:var(--text-xs)}.period-select{font-size:var(--text-xs);padding:var(--space-2) var(--space-1);gap:var(--space-1)}.period-select svg{width:12px}.focus-card{padding-left:var(--space-5);padding-right:var(--space-5)}.focus-card h2{font-size:var(--text-md)}.focus-clock{font-size:var(--text-timer)}.weekly-goal p{font-size:var(--text-xs);gap:var(--space-1)}.weekly-goal p button{font-size:var(--text-xs)}.bar-space{padding:0 var(--space-2)}.bar{width:30px}.subject-grid{gap:var(--space-3)}.subject-card{padding:var(--space-4) var(--space-4) 0}.subject-card-foot{font-size:var(--text-xs);gap:var(--space-2)}.subject-main h3{font-size:var(--text-sm)}.toast{left:calc(50% + 109px)}.calendar-day{padding-left:var(--space-2);padding-right:var(--space-2)}.calendar-event{padding:var(--space-2) var(--space-1)}.calendar-event strong,.calendar-event p,.calendar-event>span,.schedule-toolbar h2{font-size:var(--text-xs)}.tip-banner{padding:var(--space-4)}.tip-banner strong,.tip-banner p{font-size:var(--text-xs)}.focus-page{gap:var(--space-8)}.focus-page .focus-card{padding-left:var(--space-7);padding-right:var(--space-7)}.focus-note h2{font-size:var(--text-xl)}}@media (width<=1050px){.sidebar{width:205px;padding-left:var(--space-3);padding-right:var(--space-3)}.main-wrap{margin-left:205px}.topbar{height:66px;padding:0 var(--space-5)}.breadcrumb{gap:var(--space-2);font-size:var(--text-xs)}.top-search input{width:135px;font-size:var(--text-xs)}.top-search kbd{display:none}.topbar-actions{gap:var(--space-2)}.top-divider{margin:0 2px}main{padding:var(--space-6) var(--space-5) 0;max-width:var(--content-max)}.page-heading{margin-bottom:var(--space-6);flex-wrap:wrap}.heading-actions{padding-top:var(--space-1);justify-content:flex-start;width:100%}.page-heading h1{font-size:var(--text-xl)}.heading-actions .btn{font-size:var(--text-xs)}.stats-grid{gap:var(--space-2);grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{padding:var(--space-3) var(--space-3)}.stat-icon{border-radius:var(--radius-sm);width:25px;height:25px}.stat-icon svg{width:14px}.stat-label{font-size:var(--text-xs);gap:var(--space-1)}.stat-value{font-size:var(--text-lg);letter-spacing:var(--tracking-tight);margin-top:var(--space-2)}.value-unit{font-size:var(--text-md)}.value-word{font-size:var(--text-xs)}.stat-foot{font-size:var(--text-xs);gap:var(--space-1)}.stat-foot svg{width:10px}.dashboard-middle{gap:var(--space-3);grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.panel{padding:var(--space-4) var(--space-4)}.panel-heading{align-items:flex-start;gap:var(--space-2)}.panel-heading h2,.panel-heading p{font-size:var(--text-xs)}.period-select{gap:var(--space-1);font-size:var(--text-xs);padding:var(--space-1) var(--space-1)}.period-select>svg:first-child{display:none}.focus-card{padding:var(--space-5) var(--space-4) var(--space-4)}.focus-card h2{font-size:var(--text-md)}.focus-kicker{font-size:var(--text-xs);letter-spacing:var(--tracking-wide)}.focus-card>p{font-size:var(--text-xs)}.focus-clock{font-size:var(--text-timer);letter-spacing:var(--tracking-data)}.timer-mode{gap:var(--space-1)}.timer-mode button{font-size:var(--text-xs)}.focus-start{font-size:var(--text-xs);padding:0 var(--space-2)}.focus-bottom,.focus-controls select{font-size:var(--text-xs)}.weekly-goal p{align-items:flex-start;gap:var(--space-1);flex-direction:column}.rhythm-panel{min-height:388px}.bar-space{padding:0 var(--space-2)}.bar{width:27px}.chart-wrap{gap:var(--space-2);margin-top:var(--space-6);height:200px}.chart-y{width:18px;font-size:var(--text-xs)}.subject-grid{gap:var(--space-3)}.subject-card{padding:var(--space-4) var(--space-3) 0}.subject-card-top{margin-bottom:var(--space-4)}.subject-icon{border-radius:var(--radius-sm);width:33px;height:33px}.subject-icon svg{width:18px}.subject-main h3{font-size:var(--text-xs)}.subject-main p{font-size:var(--text-xs);gap:var(--space-1)}.subject-main p svg{width:10px}.subject-card-foot{gap:var(--space-1);font-size:var(--text-xs)}.subject-card-foot>span{gap:var(--space-1)}.subject-card-foot>span svg{width:11px}.subject-progress-label,.section-heading .text-button{font-size:var(--text-xs)}.upcoming-panel{padding:var(--space-5) var(--space-4) var(--space-1)}.toast{left:calc(50% + 102px)}.calendar-grid{grid-template-columns:repeat(7,minmax(96px,1fr));min-height:430px;overflow-x:auto}.calendar-event strong,.calendar-event p,.calendar-event>span{font-size:var(--text-xs)}.schedule-toolbar{flex-wrap:wrap}.tip-banner{gap:var(--space-3)}.tip-banner .btn{font-size:var(--text-xs);padding:var(--space-2) var(--space-2)}.performance-grid{gap:var(--space-3);grid-template-columns:1.5fr 1fr}.total-panel h2{font-size:var(--text-sm)}.total-panel>div>strong{font-size:var(--text-xl)}.performance-bars strong{font-size:var(--text-xs)}.history-table th,.history-table td{padding-left:var(--space-4);padding-right:var(--space-4)}.focus-page{gap:var(--space-7);grid-template-columns:1.1fr 1fr}.focus-page .focus-card{padding-left:var(--space-5);padding-right:var(--space-5)}.focus-page .focus-clock{font-size:var(--text-timer)}.focus-page .focus-card h2,.focus-note h2{font-size:var(--text-lg)}.focus-note p{font-size:var(--text-xs)}}@media (width<=850px){.sidebar{width:210px;transition:transform var(--duration-normal) ease;z-index:65;padding-top:var(--space-6);transform:translate(-100%)}.sidebar.is-open{transform:translate(0)}.sidebar-overlay{background:var(--overlay);-webkit-backdrop-filter:none;backdrop-filter:none;z-index:60;position:fixed;inset:0}.main-wrap{margin-left:0}.topbar{padding:0 var(--space-6)}.mobile-menu{margin-left:calc(-1 * var(--space-2));color:var(--muted);margin-right:2px;display:inline-flex}.breadcrumb{font-size:var(--text-xs);gap:var(--space-2)}.topbar-actions{gap:var(--space-3)}.top-search input{width:160px;font-size:var(--text-xs)}.cloud-status span{font-size:var(--text-xs);display:inline}.top-search kbd{display:none}main{padding:var(--space-7) var(--space-6) 0;max-width:var(--content-max)}.page-heading{flex-wrap:nowrap;align-items:center}.heading-actions{width:auto;padding-top:var(--space-4)}.page-heading h1{font-size:var(--text-xl)}.heading-actions .btn{font-size:var(--text-xs);padding:var(--space-2) var(--space-2)}.heading-actions .btn svg{width:13px}.stats-grid{gap:var(--space-3)}.stat-card{padding:var(--space-4) var(--space-4)}.stat-icon{width:30px;height:30px}.stat-icon svg{width:16px}.stat-label{font-size:var(--text-xs)}.stat-value{font-size:var(--text-xl)}.stat-foot{font-size:var(--text-xs)}.dashboard-middle{gap:var(--space-4);grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr)}.panel{padding:var(--space-5) var(--space-5)}.panel-heading h2{font-size:var(--text-sm)}.panel-heading p{font-size:var(--text-xs)}.period-select{font-size:var(--text-xs);padding:var(--space-2)}.focus-card{padding:var(--space-6) var(--space-5) var(--space-4)}.focus-card h2{font-size:var(--text-lg)}.focus-kicker,.focus-card>p{font-size:var(--text-xs)}.focus-clock{font-size:var(--text-timer)}.timer-mode{gap:var(--space-2)}.timer-mode button,.focus-controls select,.focus-start,.focus-bottom{font-size:var(--text-xs)}.rhythm-panel{min-height:403px}.weekly-goal p{flex-direction:row}.subject-grid{gap:var(--space-4)}.subject-card{padding:var(--space-5) var(--space-4) 0}.subject-main h3{font-size:var(--text-sm)}.subject-main p{font-size:var(--text-xs)}.subject-card-foot{font-size:var(--text-xs);gap:var(--space-2)}.subject-card-foot>span{gap:var(--space-1)}.subject-progress-label,.section-heading .text-button{font-size:var(--text-xs)}.subject-icon{width:36px;height:36px}.subject-icon svg{width:20px}.toast{left:50%}.focus-page{gap:var(--space-9);max-width:650px}.focus-page .focus-card{min-height:460px}.motivation{padding-top:var(--space-4);padding-bottom:var(--space-4)}.motivation-icon{margin-bottom:var(--space-2)}.motivation p{margin-top:var(--space-1)}.sidebar-bottom{padding-top:var(--space-5)}.workspace-label{padding-top:var(--space-7)}}@media (width<=700px){.topbar{padding:0 var(--space-5);gap:var(--space-2);height:64px}.breadcrumb{font-size:var(--text-xs);gap:var(--space-2)}.top-search,.top-divider{display:none}.topbar-actions{gap:var(--space-3)}.cloud-status span{font-size:var(--text-xs)}.help-button{display:none}main{padding:var(--space-6) var(--space-5) 0;max-width:var(--content-max)}.page-heading{margin-bottom:var(--space-6);display:block}.eyebrow{font-size:var(--text-xs);margin-bottom:var(--space-2)}.page-heading h1{font-size:var(--text-xl)}.page-heading p{font-size:var(--text-xs);margin-top:var(--space-2)}.heading-actions{padding-top:var(--space-5);gap:var(--space-2);justify-content:flex-start}.heading-actions .btn{font-size:var(--text-xs);padding:var(--space-2) var(--space-3);min-height:37px}.heading-actions .btn svg{width:15px}.stats-grid{gap:var(--space-3);margin-bottom:var(--space-5);grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:var(--space-4) var(--space-4)}.stat-label{font-size:var(--text-xs)}.stat-value{font-size:var(--text-xl)}.stat-foot{font-size:var(--text-xs)}.value-word{font-size:var(--text-sm)}.value-unit{font-size:var(--text-lg)}.dashboard-middle{gap:var(--space-4);margin-bottom:var(--space-7);grid-template-columns:1fr}.rhythm-panel{min-height:368px;padding:var(--space-6)}.panel-heading h2{font-size:var(--text-sm)}.panel-heading p{font-size:var(--text-xs)}.period-select{font-size:var(--text-xs);padding:var(--space-2) var(--space-2);gap:var(--space-1)}.period-select>svg:first-child{display:block}.chart-wrap{margin-top:var(--space-7);gap:var(--space-3);height:200px}.chart-y{font-size:var(--text-xs);width:20px}.bar{width:35px}.bar-space{padding:0 var(--space-2)}.weekly-goal p{font-size:var(--text-xs);margin-top:var(--space-2)}.weekly-goal p button{font-size:var(--text-xs)}.focus-card{padding:var(--space-6);min-height:408px}.focus-kicker{font-size:var(--text-xs);letter-spacing:var(--tracking-wide)}.focus-card h2{font-size:var(--text-xl)}.focus-card>p{font-size:var(--text-xs)}.focus-controls{margin-top:var(--space-6);gap:var(--space-1);flex-direction:row;max-width:100%}.focus-controls select{height:37px;font-size:var(--text-xs);flex:1;max-width:100%}.focus-controls select.focus-topic{height:37px;font-size:var(--text-xs);background:var(--surface-inverse-raised);border:1px solid var(--border-inverse-soft);padding:var(--space-2) var(--space-2);flex:1}.focus-clock{font-size:var(--text-timer);margin-top:var(--space-3);line-height:1.4}.timer-mode{margin:1px 0 var(--space-5);gap:var(--space-3)}.timer-mode button{font-size:var(--text-xs)}.focus-start{height:44px;font-size:var(--text-xs)}.focus-stop{width:45px}.focus-bottom{font-size:var(--text-xs);margin-top:var(--space-4)}.focus-start>svg:last-child{width:17px}.focus-start>svg:first-child{width:15px}.section-heading{gap:var(--space-2);margin-bottom:var(--space-4);align-items:center}.section-heading h2{font-size:var(--text-sm)}.section-heading p{font-size:var(--text-xs)}.section-heading .text-button{font-size:var(--text-xs);gap:var(--space-1)}.section-heading .text-button svg{width:13px}.subject-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr))}.subject-grid:not(.full-grid) .subject-card:last-child:nth-child(odd){grid-column:1/-1}.subject-card{padding:var(--space-4) var(--space-4) 0}.subject-main h3{font-size:var(--text-sm)}.subject-main p{font-size:var(--text-xs)}.subject-card-foot{font-size:var(--text-xs);gap:var(--space-3)}.subject-card-top{margin-bottom:var(--space-4)}.subject-progress-label{margin-top:var(--space-5);font-size:var(--text-xs)}.subject-card-foot{padding:var(--space-3) 0}.upcoming-panel{padding:var(--space-6) var(--space-5) var(--space-1)}.upcoming-row{gap:var(--space-3);padding:var(--space-4) 0}.upcoming-row>div:nth-child(2) strong,.upcoming-row>div:nth-child(2)>span{font-size:var(--text-xs)}.upcoming-time{min-width:54px;margin-left:var(--space-1);font-size:var(--text-xs)}.upcoming-row>.icon-button{margin-left:2px}.empty-inline{font-size:var(--text-xs);gap:var(--space-2);flex-wrap:wrap;line-height:1.7}.empty-inline>span{flex:1}.empty-inline .text-button{width:100%;margin-left:var(--space-7);justify-content:flex-start}.schedule-navigation{gap:var(--space-1)}.schedule-toolbar h2{font-size:var(--text-xs);margin-left:var(--space-1);line-height:1.5}.schedule-legend{width:100%;margin-top:var(--space-1);justify-content:flex-end}.calendar-grid{grid-template-columns:repeat(7,minmax(115px,1fr));min-height:415px}.calendar-day{padding:var(--space-4) var(--space-2) var(--space-3)}.calendar-event{padding:var(--space-2) var(--space-2)}.calendar-event strong,.calendar-event p,.calendar-event>span{font-size:var(--text-xs)}.tip-banner{padding:var(--space-5);flex-wrap:wrap;align-items:flex-start}.tip-banner>div{flex:1;min-width:200px}.tip-banner strong{font-size:var(--text-xs);line-height:1.7}.tip-banner p{font-size:var(--text-xs);line-height:1.8}.tip-banner>.btn{margin-left:var(--space-8);font-size:var(--text-xs)}.performance-grid{gap:var(--space-4);grid-template-columns:1fr}.performance-grid>.panel{padding:var(--space-6)}.performance-bars{padding-top:var(--space-7);gap:var(--space-6)}.performance-bars>div>div:first-child,.performance-bars strong,.performance-bars span{font-size:var(--text-xs)}.total-panel{padding-bottom:var(--space-6)!important}.total-panel h2{font-size:var(--text-md)}.total-panel>p{font-size:var(--text-xs)}.total-panel>div>strong{font-size:var(--text-2xl)}.total-panel>div>span{font-size:var(--text-xs)}.total-panel>.btn{font-size:var(--text-xs);max-width:300px}.history-table{overflow-x:auto}.history-table table{min-width:560px}.history-table th,.history-table td{padding:var(--space-4) var(--space-4);font-size:var(--text-xs)}.focus-page{gap:var(--space-8);max-width:460px;margin-top:0;margin-bottom:var(--space-4);grid-template-columns:1fr}.focus-page .focus-card{min-height:440px;padding:var(--space-7)}.focus-page .focus-card h2{font-size:var(--text-xl)}.focus-page .focus-clock{font-size:var(--text-timer);margin-top:var(--space-4)}.focus-note{text-align:center;max-width:340px;margin:0 auto}.focus-note>span{font-size:var(--text-display)}.focus-note h2{font-size:var(--text-lg);max-width:100%;margin-top:var(--space-5)}.focus-note p{max-width:100%;font-size:var(--text-xs);margin-top:var(--space-3)}.focus-note .text-button{font-size:var(--text-xs);margin-top:var(--space-5);justify-content:center}.app-footer{font-size:var(--text-xs);padding-top:var(--space-6)}.floating-timer{font-size:var(--text-xs);padding:var(--space-3) var(--space-4);gap:var(--space-2);bottom:16px;right:18px}.floating-timer strong{font-size:var(--text-sm)}.modal-backdrop{padding:var(--space-4)}.modal{border-radius:var(--radius-md);max-height:calc(100dvh - 32px)}.modal>header{padding:var(--space-6) var(--space-5) var(--space-5)}.modal>header h2{font-size:var(--text-md)}.modal-body{padding:var(--space-5)}.modal-eyebrow{font-size:var(--text-xs)}.form-intro{font-size:var(--text-xs);margin-bottom:var(--space-5)}.modal label{font-size:var(--text-xs)}.modal label input:not([type=checkbox]),.modal label select,.modal label textarea,.paste-import textarea{font-size:var(--text-base)}.modal label input:not([type=checkbox]),.modal label select{height:var(--control-height)}.form-actions .btn{font-size:var(--text-xs);min-height:41px}.modal .import-subjects input.inline-name{font-size:var(--text-base)}.form-row.three{gap:var(--space-3);grid-template-columns:1fr 1fr}.form-row.three>label:first-child{grid-column:1/-1}.import-subjects>label>span{min-width:0}.import-subjects strong{font-size:var(--text-xs)}.day-picker{gap:var(--space-1)}.day-picker>button{padding:var(--space-3) 2px;font-size:var(--text-xs)}.detail-info{gap:var(--space-3);flex-wrap:wrap}.detail-info>.btn{margin-left:auto}.detail-info strong,.detail-info p{font-size:var(--text-xs)}.detail-info>.subject-icon{width:36px;height:36px}.topic-list strong,.topic-list small{font-size:var(--text-xs)}.toast{font-size:var(--text-xs);min-width:250px;max-width:calc(100vw - 30px);padding:var(--space-3) var(--space-3);bottom:20px}.toast>button{margin-left:var(--space-1)}.auth-disclaimer,.auth-toggle,.form-warning,.error-banner{font-size:var(--text-xs)}.environment-options button{font-size:var(--text-xs);padding:var(--space-5) var(--space-2)}.export-box strong,.export-box p{font-size:var(--text-xs)}.help-step h3{font-size:var(--text-sm)}.help-step p,.help-content>p{font-size:var(--text-xs)}}@media (width<=450px){.topbar{padding-left:var(--space-4);padding-right:var(--space-4)}.breadcrumb{font-size:var(--text-xs);gap:var(--space-1)}.breadcrumb>svg{width:10px}.cloud-status{gap:var(--space-1)}.cloud-status span{font-size:var(--text-xs)}.cloud-status svg{width:16px}main{padding-left:var(--space-4);padding-right:var(--space-4);max-width:var(--content-max)}.page-heading h1{font-size:var(--text-xl);letter-spacing:var(--tracking-tight)}.page-heading p{font-size:var(--text-xs);max-width:325px;line-height:1.8}.stats-grid{gap:var(--space-2)}.stat-card{padding:var(--space-4)}.stat-label{font-size:var(--text-xs)}.stat-value{font-size:var(--text-xl)}.stat-foot{font-size:var(--text-xs)}.stat-icon{width:27px;height:27px}.rhythm-panel{padding:var(--space-5) var(--space-4);min-height:366px}.panel-heading h2{font-size:var(--text-sm)}.panel-heading p{font-size:var(--text-xs)}.period-select{font-size:var(--text-xs);padding:var(--space-2) var(--space-1);gap:var(--space-1)}.period-select svg{width:12px}.chart-wrap{gap:var(--space-2)}.bar-space{padding:0 var(--space-2)}.bar{width:29px}.weekly-goal p,.weekly-goal p button{font-size:var(--text-xs)}.focus-card{padding:var(--space-6);min-height:408px}.focus-card h2{font-size:var(--text-xl)}.focus-controls{gap:var(--space-1)}.focus-controls select{font-size:var(--text-xs);padding:var(--space-2)}.focus-controls select.focus-topic{font-size:var(--text-xs)}.section-heading h2{font-size:var(--text-sm)}.section-heading p{font-size:var(--text-xs)}.section-heading .text-button{font-size:var(--text-xs);gap:var(--space-1)}.subject-grid{gap:var(--space-3);grid-template-columns:1fr}.subject-card{padding:var(--space-5) var(--space-5) 0}.subject-card-top{margin-bottom:var(--space-4)}.subject-icon{border-radius:var(--radius-md);width:39px;height:39px}.subject-main h3{font-size:var(--text-sm)}.subject-main p{font-size:var(--text-xs)}.subject-progress-label{font-size:var(--text-xs);margin-top:var(--space-6)}.subject-card-foot{font-size:var(--text-xs);padding:var(--space-4) 0;margin-top:var(--space-5);gap:var(--space-4)}.subject-card-foot>span svg{width:13px}.subject-card-top>.icon-button{width:27px}.subject-grid:not(.full-grid) .subject-card:last-child:nth-child(odd){grid-column:auto}.upcoming-panel{padding:var(--space-5) var(--space-4) var(--space-1)}.upcoming-row{gap:var(--space-2)}.upcoming-subject{border-radius:var(--radius-sm);width:29px;height:29px}.upcoming-subject svg{width:16px}.upcoming-row>div:nth-child(2) strong{font-size:var(--text-xs)}.upcoming-row>div:nth-child(2)>span{font-size:var(--text-xs);white-space:nowrap;text-overflow:ellipsis;max-width:130px;overflow:hidden}.date-chip{font-size:var(--text-xs);padding:var(--space-1) var(--space-1)}.upcoming-time{font-size:var(--text-xs);gap:var(--space-1);min-width:45px;margin-left:0}.upcoming-time svg{width:11px}.upcoming-row>.icon-button{width:24px;height:24px;margin:0}.schedule-toolbar h2{font-size:var(--text-xs);margin-left:2px}.schedule-toolbar .btn{padding:var(--space-2) var(--space-3)}.schedule-toolbar .icon-button{width:27px}.tip-banner>div{min-width:180px}.tip-banner strong,.tip-banner p{font-size:var(--text-xs)}.modal-backdrop{padding:var(--space-2)}.modal{max-height:calc(100dvh - 20px)}.modal>header{padding:var(--space-5) var(--space-5) var(--space-4)}.modal>header h2{font-size:var(--text-md)}.modal-body{padding:var(--space-5) var(--space-5)}.modal label{font-size:var(--text-xs)}.form-row{gap:var(--space-3)}.form-actions{flex-wrap:wrap}.form-actions>.text-button,.form-actions .btn{font-size:var(--text-xs)}.import-helper{font-size:var(--text-xs);gap:var(--space-2)}.import-helper .text-button{font-size:var(--text-xs)}.review-heading{gap:var(--space-2)}.review-heading h3,.review-heading>span{font-size:var(--text-xs)}.import-subjects>label{gap:var(--space-2);padding:var(--space-3)}.import-subjects strong,.import-subjects small{font-size:var(--text-xs)}.modal .import-subjects input.inline-name{font-size:var(--text-base);width:42%}.form-hint{font-size:var(--text-xs)}.detail-info>div{min-width:170px}.detail-info>.btn{margin-left:var(--space-10)}.topic-list>div{padding:var(--space-3) var(--space-3);gap:var(--space-2)}.topic-list small{font-size:var(--text-xs);line-height:1.8}.auth-toggle{gap:var(--space-1);font-size:var(--text-xs)}.auth-toggle button,.auth-disclaimer{font-size:var(--text-xs)}.account-content h3{font-size:var(--text-sm)}.account-content p{font-size:var(--text-xs)}.focus-page .focus-card{padding:var(--space-7) var(--space-6)}.focus-page .focus-card h2{font-size:var(--text-lg)}.focus-page .focus-clock{font-size:var(--text-timer)}.focus-note h2{font-size:var(--text-lg)}.add-subject-card{min-height:205px}.empty-state h3{font-size:var(--text-sm)}.empty-state p{font-size:var(--text-xs)}.toast{font-size:var(--text-xs);min-width:unset;width:max-content;line-height:1.8}.toast>svg{width:16px}.error-banner{font-size:var(--text-xs);padding:var(--space-3) var(--space-3)}.error-banner button,.app-footer{font-size:var(--text-xs)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.cloud-loading{justify-content:center;align-items:center;gap:var(--space-6);text-align:center;min-height:100dvh;padding:var(--space-7);color:var(--green);background:var(--surface);flex-direction:column;display:flex}.cloud-loading>.brand-mark{width:54px;height:54px;font-size:var(--text-display);border-radius:var(--radius-lg);margin:0}.cloud-loading h2{font-size:var(--text-lg);font-weight:var(--weight-strong);letter-spacing:var(--tracking-tight);color:var(--green);line-height:1.7}.cloud-loading p{font-size:var(--text-xs);color:var(--muted);margin-top:calc(-1 * var(--space-3));line-height:1.8}.cloud-loading .btn{min-height:41px;font-size:var(--text-xs)}.cloud-loading .text-button{font-size:var(--text-xs);margin-top:calc(-1 * var(--space-3))}.nav-item{font-size:var(--text-sm)}.profile strong,.profile small{font-size:var(--text-xs)}.btn{font-size:var(--text-xs);min-height:var(--control-height)}.page-heading>div>p,.stat-label,.stat-foot{font-size:var(--text-xs)}.panel-heading h2,.section-heading h2{font-size:var(--text-sm)}.panel-heading p,.section-heading p{font-size:var(--text-xs)}.subject-main h3{font-size:var(--text-sm)}.subject-main p,.subject-progress-label,.subject-card-foot,.weekly-goal .goal-row,.weekly-goal p,.bar-day,.chart-y,.focus-kicker,.focus-card>p,.focus-controls select,.focus-start,.focus-bottom{font-size:var(--text-xs)}.form-intro{font-size:var(--text-sm)}.modal label{font-size:var(--text-xs)}.modal input,.modal textarea,.modal select{font-size:var(--text-base)}.form-hint{font-size:var(--text-xs)}.import-topic-preview{white-space:nowrap;text-overflow:ellipsis;max-width:280px;font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);display:block;overflow:hidden}.upcoming-row strong,.upcoming-row>div>span,.top-search input,.cloud-status{font-size:var(--text-xs)}@media (width<=700px){.modal input,.modal textarea,.modal select{font-size:var(--text-base)}.stat-label,.stat-foot{font-size:var(--text-xs)}.nav-item{font-size:var(--text-sm)}.page-heading>div>p,.panel-heading p{font-size:var(--text-xs)}.section-heading h2{font-size:var(--text-sm)}.btn{font-size:var(--text-xs);min-height:var(--control-height)}.focus-card{min-height:390px}.subject-main p,.subject-card-foot{font-size:var(--text-xs)}}.negative{color:var(--muted);gap:var(--space-1);align-items:center;display:inline-flex}.negative svg{transform:rotate(90deg)}.schedule-toolbar{flex-wrap:wrap}.schedule-toolbar-actions{justify-content:flex-end;align-items:center;gap:var(--space-4);flex-wrap:wrap;margin-left:auto;display:flex}.schedule-legend{white-space:nowrap}.btn.danger{color:var(--danger);background:var(--danger-surface);border:1px solid var(--danger-border)}.btn.danger:hover:not(:disabled){background:var(--danger-surface);border-color:var(--danger-border)}.clear-schedule-confirmation .form-intro+.form-intro{margin-top:var(--space-3)}.clear-schedule-confirmation strong{color:var(--ink)}@media (width<=700px){.schedule-toolbar-actions{justify-content:space-between;gap:var(--space-3);width:100%}.schedule-legend{width:auto;margin-top:0}}.study-session-form{min-width:0}.study-session-form label{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--ink);margin-bottom:var(--space-4);line-height:var(--line-body);display:block}.study-session-form label input,.study-session-form label select{width:100%;height:var(--control-height);border:1px solid var(--border-strong);background:var(--surface);border-radius:var(--radius-sm);margin-top:var(--space-2);padding:var(--space-2) var(--space-3);color:var(--ink);font-size:var(--text-sm);line-height:var(--line-body);display:block}.study-session-form input:focus,.study-session-form select:focus{border-color:var(--focus-ring);box-shadow:var(--shadow-sm);outline:2px solid var(--focus-ring);outline-offset:3px}.session-field-hint{margin-top:var(--space-1);font-size:var(--text-xs);font-weight:var(--weight-regular);color:var(--muted);display:block}.question-entry{margin:var(--space-1) 0 0;border:0;min-width:0;padding:0}.question-entry legend{font-size:var(--text-xs);color:var(--ink);font-weight:var(--weight-strong);margin-bottom:var(--space-3)}.question-entry .question-correct{color:var(--success)}.question-entry .question-wrong{color:var(--danger)}.question-counter-fields label input{font-size:var(--text-lg);font-weight:var(--weight-strong);height:calc(var(--control-height) + var(--space-2));background:var(--surface)}.question-correct input{border-color:var(--success)!important}.question-wrong input{border-color:var(--danger)!important}.question-entry-summary{justify-content:space-between;gap:var(--space-2);padding:var(--space-3) var(--space-3);background:var(--surface-subtle);border-radius:var(--radius-sm);color:var(--ink);font-size:var(--text-xs);line-height:var(--line-body);flex-wrap:wrap;display:flex}.question-entry-summary strong{font-weight:var(--weight-strong);color:var(--ink)}.focus-session-note{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-4);padding:0 var(--space-1)}.performance-time-summary{align-items:center;gap:var(--space-4);margin:var(--space-6) 0;padding:var(--space-5);display:flex}.performance-time-summary>svg{color:var(--green);flex-shrink:0}.performance-time-summary h2{font-size:var(--text-base);margin:0 0 var(--space-1)}.performance-time-summary p{font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body)}.performance-time-summary .btn{margin-left:auto}.study-history-section{margin-top:var(--space-6)}.study-history-section>summary{cursor:pointer;font-size:var(--text-sm);font-weight:var(--weight-strong);color:var(--ink);margin-bottom:var(--space-5);padding:var(--space-2) 0}.study-history-section .section-heading{margin-top:var(--space-5)}@media (width<=700px){.study-session-form label input,.study-session-form label select{font-size:var(--text-base);height:var(--control-height)}.question-counter-fields label input{font-size:var(--text-lg);height:calc(var(--control-height) + var(--space-2))}.performance-time-summary{flex-wrap:wrap}.performance-time-summary .btn{margin-left:0}.study-session-form .form-actions .btn,.question-entry-summary{font-size:var(--text-xs)}}.focus-page.single-focus-page{grid-template-columns:minmax(0,1fr);align-items:start;gap:0;max-width:560px}.session-activity-field{min-width:0;margin:0 0 var(--space-5);border:0;padding:0}.session-activity-field legend{font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--ink);margin-bottom:var(--space-2)}.session-activity-options{gap:var(--space-1);padding:var(--space-1);background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-md);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.session-activity-options button{min-width:0;min-height:var(--control-height);padding:var(--space-2) var(--space-1);border-radius:var(--radius-sm);color:var(--ink);font-size:var(--text-xs);font-weight:var(--weight-medium);transition:background-color var(--duration-normal),color var(--duration-normal),box-shadow var(--duration-normal);background:0 0;border:1px solid #0000}.session-activity-options button.selected{background:var(--surface);border-color:var(--green);color:var(--green);box-shadow:var(--shadow-sm);font-weight:var(--weight-strong)}.session-activity-options button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.session-activity-options button:disabled{cursor:default}.session-review-banner{align-items:center;gap:var(--space-2);color:var(--green);font-size:var(--text-xs);line-height:var(--line-body);background:var(--surface-selected);border-radius:var(--radius-md);padding:var(--space-3) var(--space-3);margin:0 0 var(--space-4);display:flex}.session-review-banner svg{flex-shrink:0}.session-review-choice{margin:0 0 var(--space-5);border:1px solid var(--line);border-radius:var(--radius-md);padding:var(--space-3) var(--space-3);background:var(--surface-subtle)}.study-session-form .session-review-choice label{align-items:center;gap:var(--space-2);color:var(--ink);line-height:var(--line-body);font-size:var(--text-xs);font-weight:var(--weight-strong);min-height:var(--control-height);margin:0;display:flex}.study-session-form .session-review-choice label input{width:17px;height:17px;accent-color:var(--green);border-radius:var(--radius-xs);cursor:pointer;flex-shrink:0;margin:0;padding:0;display:block}.study-session-form .session-review-choice label input:disabled{cursor:default}.session-review-choice p{margin:var(--space-1) 0 0 var(--space-7);font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body)}.session-review-choice.is-enabled{border-color:var(--line);background:var(--surface-selected)}.study-session-form select:disabled{opacity:.8;cursor:default}@media (width<=700px){.session-activity-options button{min-height:var(--control-height);font-size:var(--text-xs)}.study-session-form .session-review-choice label{font-size:var(--text-xs);min-height:var(--control-height)}.session-review-choice p{font-size:var(--text-xs)}.study-session-form .session-review-choice label input{width:18px;height:18px}.session-review-choice{padding:var(--space-3)}.session-review-banner{font-size:var(--text-xs)}}@media (prefers-reduced-motion:reduce){.session-activity-options button{transition:none}}.session-detach-review{margin:0 0 var(--space-4);padding:var(--space-3) var(--space-3);border:1px solid var(--warning-border);background:var(--warning-surface);border-radius:var(--radius-md)}.session-detach-review .text-button{padding:var(--space-1) 0;font-size:var(--text-xs);color:var(--warning);font-weight:var(--weight-strong);text-align:left}.session-detach-review p{font-size:var(--text-xs);color:var(--warning);margin-top:var(--space-1);line-height:var(--line-body)}.session-review-active{align-items:flex-start;gap:var(--space-2);padding:var(--space-3);margin:0 0 var(--space-5);background:var(--surface-selected);border:1px solid var(--line);border-radius:var(--radius-md);color:var(--green);display:flex}.session-review-active>svg{margin-top:var(--space-1);flex-shrink:0}.session-review-active strong{font-size:var(--text-xs);font-weight:var(--weight-strong);line-height:var(--line-body)}.session-review-active p{font-size:var(--text-xs);color:var(--green);line-height:var(--line-body);margin:var(--space-1) 0 0}.study-chart{width:100%;min-width:0;color:var(--ink)}.sc-controls{justify-content:space-between;align-items:center;gap:var(--space-3);margin:var(--space-5) 0 var(--space-3);flex-wrap:wrap;display:flex}.sc-periods{gap:var(--space-1);background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-1);display:flex}.sc-periods button{color:var(--muted);border-radius:var(--radius-sm);font:inherit;font-size:var(--text-xs);padding:var(--space-2) var(--space-3);cursor:pointer;transition:background var(--duration-fast),color var(--duration-fast),box-shadow var(--duration-fast);min-height:var(--control-size-sm);background:0 0;border:0}.sc-periods button[aria-pressed=true]{background:var(--surface-selected);color:var(--muted);box-shadow:var(--shadow-sm);font-weight:var(--weight-bold);outline:1px solid var(--green)}.sc-metric{margin-left:auto}.sc-metric select{border:1px solid var(--border-strong);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);background:var(--surface);color:var(--ink);font:inherit;font-size:var(--text-xs);max-width:100%}.sc-range{justify-content:space-between;align-items:center;gap:var(--space-2);min-height:34px;margin:var(--space-3) 0;color:var(--muted);font-size:var(--text-xs);display:flex}.sc-range>span:first-letter{text-transform:uppercase}.sc-range>div{gap:var(--space-1);align-items:center;display:flex}.sc-nav,.sc-today{border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;height:var(--control-size-sm);min-width:var(--control-size-sm);color:var(--ink);justify-content:center;align-items:center;display:inline-flex}.sc-today{font:inherit;font-size:var(--text-xs);padding:0 var(--space-2);height:var(--control-size-sm);min-width:var(--control-size-sm)}.sc-plot{animation:sc-appear var(--duration-normal) var(--ease-standard);min-width:0}.sc-plot svg{width:100%;height:auto;min-height:180px;max-height:300px;display:block;overflow:visible}.sc-grid{stroke:var(--chart-grid);stroke-dasharray:3 4;stroke-width:1px}.sc-axis{fill:var(--muted);font-family:var(--font-body);font-size:var(--text-xs)}.sc-line{stroke:var(--green);stroke-width:3px;stroke-linejoin:round;stroke-linecap:round;fill:none;vector-effect:non-scaling-stroke}.sc-dot{fill:var(--green);stroke:var(--surface);stroke-width:2px;vector-effect:non-scaling-stroke}.sc-bar{fill:var(--chart-accent);transition:fill var(--duration-fast)}.sc-wrong{fill:var(--chart-series-3)}.sc-point{cursor:pointer;touch-action:manipulation;outline:none}.sc-point.is-active .sc-bar,.sc-point:focus-visible .sc-bar{fill:var(--chart-accent)}.sc-point.is-active .sc-wrong,.sc-point:focus-visible .sc-wrong{fill:var(--chart-series-3)}.sc-point.is-active .sc-dot,.sc-point:focus-visible .sc-dot{fill:var(--green);stroke:var(--green);stroke-width:4px}.sc-point:focus-visible .sc-hit{stroke:var(--green);stroke-width:1px;stroke-dasharray:3 3;fill:var(--green)}.sc-detail{justify-content:space-between;align-items:center;gap:var(--space-3);background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-sm);padding:var(--space-3) var(--space-4);font-size:var(--text-xs);min-height:51px;display:flex}.sc-detail>strong{gap:var(--space-3);font-weight:var(--weight-strong);text-transform:none;align-items:center;display:flex}.sc-detail>strong>span{color:var(--ink);font-size:var(--text-sm)}.sc-detail>span{color:var(--muted);font-size:var(--text-xs)}.sc-hint{font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body);margin:var(--space-2) 0 0}.sc-empty{gap:var(--space-2);text-align:center;min-height:220px;padding:var(--space-6);color:var(--muted);flex-direction:column;justify-content:center;align-items:center;display:flex}.sc-empty strong{font-size:var(--text-sm);line-height:var(--line-body);color:var(--muted)}.sc-empty span{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted)}.sc-periods button:focus-visible,.sc-nav:focus-visible,.sc-today:focus-visible,.sc-metric select:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}@keyframes sc-appear{0%{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (width<=700px){.sc-controls{gap:var(--space-2)}.sc-periods{justify-content:space-between;width:100%}.sc-periods button{padding:var(--space-2) var(--space-2);font-size:var(--text-xs);min-height:var(--control-height);flex:1}.sc-metric{width:100%;margin:0}.sc-metric select{font-size:var(--text-base);width:100%;height:43px}.sc-plot svg{min-height:175px}.sc-axis,.sc-date-label{font-size:var(--text-lg)}.sc-detail{align-items:flex-start;gap:var(--space-1);padding:var(--space-3);flex-direction:column}.sc-detail>strong{justify-content:space-between;width:100%}.sc-detail>span,.sc-hint,.sc-range{font-size:var(--text-xs)}.sc-nav,.sc-today{height:var(--control-height);min-width:var(--control-height)}.sc-empty{min-height:190px;padding:var(--space-5) var(--space-3)}}@media (prefers-reduced-motion:reduce){.sc-plot{animation:none}.sc-periods button,.sc-bar{transition:none}}.study-chart.sc-area{color:var(--sc-text,var(--ink))}.sc-area .sc-controls{margin-top:var(--space-5)}.sc-area .sc-periods{background:var(--sc-control,var(--surface-subtle));border-color:var(--sc-border,var(--line))}.sc-area .sc-periods button{color:var(--sc-muted,var(--muted));min-height:var(--control-size-sm)}.sc-area .sc-periods button[aria-pressed=true]{background:var(--sc-surface,var(--surface));color:var(--sc-text,var(--ink))}.sc-area .sc-metric select,.sc-area .sc-nav,.sc-area .sc-today{background:var(--sc-surface,var(--surface));color:var(--sc-text,var(--ink));border-color:var(--sc-border,var(--line))}.sc-area .sc-range,.sc-area .sc-hint{color:var(--sc-muted,var(--muted))}.sc-area-summary{justify-content:space-between;align-items:flex-end;gap:var(--space-4);margin:var(--space-5) 0 var(--space-1);font-variant-numeric:tabular-nums;display:flex}.sc-area-summary>div{gap:var(--space-1);flex-direction:column;min-width:0;display:flex}.sc-area-summary>div>span{font-size:var(--text-xs);color:var(--sc-muted,var(--muted));line-height:var(--line-body)}.sc-area-summary>div>strong{font-size:var(--text-xl);font-weight:var(--weight-strong);line-height:var(--line-heading);letter-spacing:-.025em;color:var(--sc-text,var(--ink))}.sc-area-summary>.sc-area-peak{text-align:right;max-width:46%}.sc-area-summary>.sc-area-peak>strong{font-size:var(--text-xs);font-weight:var(--weight-medium);letter-spacing:0;line-height:var(--line-heading);color:var(--sc-muted,var(--muted))}.sc-area-frame{isolation:isolate;min-width:0;position:relative}.sc-area .sc-area-plot svg{width:100%;height:268px;min-height:0;max-height:none;display:block;overflow:visible}.sc-area .sc-axis{fill:var(--sc-muted,var(--muted));font-variant-numeric:tabular-nums}.sc-area .sc-area-plot .sc-axis,.sc-area .sc-area-plot .sc-date-label{font-size:var(--text-xs)}.sc-area .sc-grid{stroke:var(--sc-grid,var(--chart-grid));stroke-dasharray:2 5}.sc-area-line{fill:none;stroke:var(--sc-orange,var(--chart-accent));stroke-width:3px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.sc-area-fill{pointer-events:none}.sc-area-endpoint,.sc-area-selected{fill:var(--sc-orange,var(--chart-accent));stroke:var(--sc-surface,var(--surface));stroke-width:2px;vector-effect:non-scaling-stroke}.sc-area-halo{fill:var(--sc-orange,var(--chart-accent));fill-opacity:.17}.sc-area-guide{stroke:var(--sc-orange,var(--chart-accent));stroke-width:1px;stroke-opacity:.25;stroke-dasharray:3 5}.sc-area-selection{pointer-events:none}.sc-area-point:focus-visible .sc-hit{stroke:var(--sc-orange,var(--chart-accent));fill:var(--sc-orange,var(--chart-accent));fill-opacity:.025;stroke-width:1px;stroke-opacity:.7;stroke-dasharray:3 4}.sc-area-point.is-future .sc-date-label{opacity:.4}.sc-area-point.is-active .sc-date-label{fill:var(--sc-orange,var(--chart-accent));font-weight:var(--weight-bold);opacity:1}.sc-area-tooltip{z-index:1;gap:var(--space-1);pointer-events:none;background:var(--sc-surface,var(--surface));border:1px solid var(--sc-border,var(--line));min-width:100px;max-width:180px;box-shadow:var(--shadow-md);border-radius:var(--radius-sm);padding:var(--space-2) var(--space-3);font-size:var(--text-xs);text-align:center;color:var(--sc-muted,var(--muted));line-height:var(--line-body);flex-direction:column;display:flex;position:absolute;transform:translate(-50%)}.sc-area-tooltip strong{font-size:var(--text-sm);font-weight:var(--weight-strong);color:var(--sc-orange,var(--chart-accent));font-variant-numeric:tabular-nums}.sc-area .sc-detail{background:var(--sc-control,var(--surface-subtle));border-color:var(--sc-border,var(--line));color:var(--sc-text,var(--ink))}.sc-area .sc-detail>strong>span{color:var(--sc-orange,var(--chart-accent));font-variant-numeric:tabular-nums}.sc-area .sc-detail>span{color:var(--sc-muted,var(--muted))}.sc-area .sc-line{stroke:var(--sc-positive,var(--success))}.sc-area .sc-dot{fill:var(--sc-positive,var(--success));stroke:var(--sc-surface,var(--surface))}.sc-area .sc-empty{color:var(--sc-muted,var(--muted))}.sc-area .sc-empty strong{color:var(--sc-text,var(--ink))}.sc-area .sc-empty span{color:var(--sc-muted,var(--muted))}.sc-area-empty{justify-content:center;align-items:center;gap:var(--space-2);pointer-events:none;text-align:center;color:var(--sc-muted,var(--muted));line-height:var(--line-body);flex-direction:column;display:flex;position:absolute;inset:30px 18px 45px 52px}.sc-area-empty strong{color:var(--sc-text,var(--ink));font-size:var(--text-xs);font-weight:var(--weight-medium)}.sc-area-empty span{font-size:var(--text-xs)}.sc-area .sc-area-detail>strong{text-transform:none}@media (width<=700px){.sc-area-summary{margin-top:var(--space-4)}.sc-area-summary>div>strong{font-size:var(--text-xl)}.sc-area .sc-area-plot svg{height:268px}.sc-area .sc-area-plot .sc-axis,.sc-area .sc-area-plot .sc-date-label{font-size:var(--text-xs)}.sc-area .sc-controls{gap:var(--space-2)}.sc-area .sc-range{font-size:var(--text-xs)}.sc-area .sc-area-detail{gap:var(--space-2)}.sc-area .sc-area-detail>strong{gap:var(--space-2);font-size:var(--text-xs);align-items:flex-start}.sc-area .sc-area-detail>strong>span{font-size:var(--text-sm);flex-shrink:0}.sc-area .sc-area-detail>span{font-size:var(--text-xs);line-height:var(--line-body)}.sc-area .sc-hint{font-size:var(--text-xs)}.sc-area-tooltip{max-width:170px}}@media (prefers-reduced-motion:reduce){.sc-area .sc-plot{animation:none}}.ritmo-dashboard{--rd-green:var(--green);--rd-ink:var(--ink);--rd-muted:var(--muted);--rd-border:var(--line);gap:var(--space-5);color:var(--rd-ink);padding-bottom:var(--space-2);animation:rd-appear var(--duration-slow) var(--ease-standard) both;flex-direction:column;display:flex}.rd-sr-only{clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.ritmo-dashboard button{touch-action:manipulation}.ritmo-dashboard button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:4px}.rd-hero{--scene-sky-top:#b8dde2;--scene-sky-bottom:#d9e9d4;--scene-sun:#fff6d9;--scene-window-frame:#f6f2dc;--scene-hill-back:#8eb7a5;--scene-hill-front:#6d9e88;--scene-hill-near:#bdd3af;--scene-floor:#d8e4c7;isolation:isolate;border:1px solid var(--line);border-radius:var(--radius-xl);min-height:286px;transition:background var(--duration-slow) var(--ease-standard);box-shadow:var(--shadow-sm);background:linear-gradient(115deg,#d9eef2 0%,#d7e9e0 64%,#f1e8ca 100%);position:relative;overflow:hidden}.rd-light-afternoon{--scene-sky-top:#ead5ad;--scene-sky-bottom:#f2e5c9;--scene-sun:#fff2c3;--scene-hill-back:#abb68d;--scene-hill-front:#819e79;background:linear-gradient(115deg,#e2e9db 0%,#e5e8d3 64%,#f2e3bd 100%)}.rd-light-night{--scene-sky-top:#66858a;--scene-sky-bottom:#a7b9af;--scene-sun:#fbf1cf;--scene-window-frame:#d8dfce;--scene-hill-back:#6e8f86;--scene-hill-front:#53786b;--scene-hill-near:#93aa8b;--scene-floor:#c8d4bd;background:linear-gradient(115deg,#d1e0df 0%,#c8d9cf 64%,#e4dfc6 100%)}.rd-hero-copy{z-index:2;padding:var(--space-8) var(--space-8);max-width:55%;position:relative}.rd-eyebrow{align-items:center;gap:var(--space-1);font-size:var(--text-xs);line-height:var(--line-body);text-transform:uppercase;letter-spacing:.04em;font-weight:var(--weight-bold);color:var(--muted);display:flex}.rd-hero .rd-eyebrow{font-size:var(--text-xs);letter-spacing:.04em;color:var(--green)}.rd-hero h1{font-size:var(--text-display);line-height:var(--line-heading);letter-spacing:-.025em;color:var(--ink);font-weight:var(--weight-bold);max-width:430px;margin-top:var(--space-4)}.rd-hero-copy>p{font-size:var(--text-sm);line-height:var(--line-body);margin-top:var(--space-3);color:var(--muted)}.rd-hero-copy>p>span{color:var(--muted)}.rd-hero-copy>.rd-button{margin-top:var(--space-6)}.rd-button{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--control-height);padding:var(--space-3) var(--space-4);border-radius:var(--radius-sm);font-size:var(--text-xs);font-weight:var(--weight-bold);line-height:var(--line-body);transition:background var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard),transform var(--duration-fast) var(--ease-standard);border:1px solid #0000;display:inline-flex}.rd-button:hover{transform:none}.rd-button:active{transform:translateY(0)}.rd-primary{color:var(--on-green);background:var(--green);box-shadow:var(--shadow-sm)}.rd-primary:hover{background:var(--green-hover);box-shadow:var(--shadow-sm)}.rd-soft{color:var(--ink);background:var(--surface-subtle);border-color:var(--line)}.rd-soft:hover{background:var(--surface-hover)}.rd-study-scene{z-index:0;pointer-events:none;width:54%;height:auto;max-height:100%;position:absolute;bottom:-3px;right:-3px}.rd-study-scene *{transition:fill var(--duration-slow) var(--ease-standard),stroke var(--duration-slow) var(--ease-standard),opacity var(--duration-slow) var(--ease-standard)}.rd-light-control{z-index:3;justify-content:center;align-items:center;gap:var(--space-1);padding:var(--space-2) var(--space-2);font-size:var(--text-xs);line-height:var(--line-body);border-radius:var(--radius-sm);background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);color:var(--muted);transition:background var(--duration-fast) var(--ease-standard);min-height:var(--control-size-sm);display:flex;position:absolute;bottom:13px;right:16px}.rd-light-control:hover{background:var(--surface-hover)}.rd-light-control i{background:var(--surface-muted);width:1px;height:10px;margin:0 var(--space-0)}.rd-stats-grid{gap:var(--space-4);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.rd-stat{background:var(--surface);border:1px solid var(--rd-border);border-radius:var(--radius-md);padding:var(--space-5) var(--space-5) var(--space-4);min-width:0;box-shadow:var(--shadow-sm);animation:rd-appear var(--duration-slow) var(--ease-standard) both}.rd-stat:nth-child(2){animation-delay:calc(var(--duration-fast) * .32)}.rd-stat:nth-child(3){animation-delay:calc(var(--duration-fast) * .64)}.rd-stat:nth-child(4){animation-delay:calc(var(--duration-fast) * .96)}.rd-stat-title{align-items:center;gap:var(--space-2);min-height:30px;display:flex}.rd-stat-title h2{font-family:var(--font-display);font-size:var(--text-xs);line-height:var(--line-heading);letter-spacing:.04em;font-weight:var(--weight-bold);color:var(--muted);text-transform:uppercase}.rd-stat-icon{background:var(--surface-subtle);color:var(--muted);border-radius:var(--radius-md);flex-shrink:0;place-items:center;width:29px;height:29px;display:grid}.rd-tone-peach .rd-stat-icon,.rd-tone-blue .rd-stat-icon{background:var(--surface-subtle);color:var(--muted)}.rd-stat-value{font-family:var(--font-data);font-size:var(--text-xl);line-height:var(--line-heading);letter-spacing:-.025em;font-weight:var(--weight-bold);margin-top:var(--space-3);font-variant-numeric:tabular-nums;color:var(--ink);display:block}.rd-stat>p{font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-0);color:var(--muted);min-height:17px}.rd-panel{background:var(--surface);border:1px solid var(--rd-border);border-radius:var(--radius-lg);padding:var(--space-6);min-width:0;box-shadow:var(--shadow-sm)}.rd-section-head{justify-content:space-between;align-items:center;gap:var(--space-4);margin-bottom:var(--space-6);display:flex}.rd-section-head h2{font-size:var(--text-md);line-height:var(--line-heading);letter-spacing:-.025em;font-weight:var(--weight-bold);color:var(--ink)}.rd-section-head p{font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-2);color:var(--muted)}.rd-section-head .rd-eyebrow{font-size:var(--text-xs);letter-spacing:.04em;margin-bottom:var(--space-2);color:var(--muted)}.rd-text-button{justify-content:center;align-items:center;gap:var(--space-2);padding:var(--space-1) 0;color:var(--muted);font-size:var(--text-xs);line-height:var(--line-body);font-weight:var(--weight-strong);white-space:nowrap;transition:color var(--duration-fast) var(--ease-standard);min-height:var(--control-size-sm);display:inline-flex}.rd-text-button:hover{color:var(--muted)}.rd-evolution-grid{gap:var(--space-5);grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start;display:grid}.rd-weekly-panel{padding-bottom:var(--space-5)}.rd-chart-heading{gap:var(--space-2);margin-bottom:var(--space-4)}.rd-mobile-break{display:none}.rd-chart-heading h2{max-width:240px}.rd-chart-heading p{font-size:var(--text-xs);margin-top:var(--space-1)}.rd-period-tabs{padding:var(--space-1);background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-sm);flex-shrink:0;align-items:center;gap:0;display:flex}.rd-period-tabs button{border-radius:var(--radius-sm);padding:var(--space-2) var(--space-2);font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);font-weight:var(--weight-strong);transition:background var(--duration-fast),color var(--duration-fast),box-shadow var(--duration-fast);min-height:var(--control-size-sm)}.rd-period-tabs button[aria-pressed=true]{background:var(--surface-selected);color:var(--muted);box-shadow:var(--shadow-sm);outline:1px solid var(--green)}.rd-week-summary{justify-content:space-between;align-items:center;gap:var(--space-3);margin-top:var(--space-4);display:flex}.rd-week-summary>div>strong{font-size:var(--text-xl);font-weight:var(--weight-bold);font-family:var(--font-data);line-height:var(--line-heading);letter-spacing:-.025em;color:var(--ink);font-variant-numeric:tabular-nums}.rd-week-summary p{font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body);margin-top:var(--space-1)}.rd-week-summary>.rd-text-button{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--muted);gap:var(--space-1)}.rd-chart-date{justify-content:space-between;align-items:center;gap:var(--space-2);margin:var(--space-4) 0 var(--space-0);font-size:var(--text-xs);color:var(--muted);display:flex}.rd-week-navigation{align-items:center;gap:var(--space-0);display:flex}.rd-week-navigation>button{min-width:var(--control-size-sm);min-height:var(--control-size-sm);border-radius:var(--radius-sm);color:var(--muted);transition:background var(--duration-fast);justify-content:center;align-items:center;display:inline-flex}.rd-week-navigation>button:hover{background:var(--surface-hover)}.rd-week-navigation>button.rd-week-label{padding:var(--space-1) var(--space-1);font-size:var(--text-xs)}.rd-weekly-panel .study-chart{margin-top:var(--space-0)}.rd-weekly-panel .sc-plot{margin-top:0}.rd-weekly-panel .sc-grid{stroke:var(--chart-grid);stroke-dasharray:0;opacity:.5}.rd-weekly-panel .sc-bar,.rd-weekly-panel .sc-point.is-active .sc-bar,.rd-weekly-panel .sc-point:hover .sc-bar{fill:var(--chart-accent)}.rd-weekly-panel .sc-axis{fill:var(--muted);font-size:var(--text-xs)}.rd-weekly-panel .sc-detail{background:var(--surface-subtle);border-color:var(--line);color:var(--muted);border-radius:var(--radius-lg);font-size:var(--text-xs)}.rd-weekly-panel .sc-detail strong{color:var(--ink)}.rd-weekly-panel .sc-hint{font-size:var(--text-xs);color:var(--muted);margin-bottom:var(--space-3)}.rd-weekly-panel .sc-empty{background:var(--surface-subtle);border:1px dashed var(--line);border-radius:var(--radius-lg);min-height:174px;margin-top:var(--space-4);color:var(--muted)}.rd-weekly-panel .sc-empty strong,.rd-weekly-panel .sc-empty span{font-size:var(--text-xs);color:var(--muted)}.rd-chart-totals{gap:var(--space-2);border-top:1px solid var(--line);padding-top:var(--space-4);margin-top:var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.rd-chart-totals>div{padding:var(--space-3) var(--space-3);background:var(--surface-subtle);border-radius:var(--radius-sm);min-width:0}.rd-chart-totals span{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);overflow-wrap:anywhere;display:block}.rd-chart-totals strong{font-family:var(--font-data);font-size:var(--text-sm);line-height:var(--line-body);letter-spacing:-.025em;color:var(--ink);margin-top:var(--space-1);display:block}.rd-week-goal{border-top:1px solid var(--line);margin-top:var(--space-4);padding-top:var(--space-4)}.rd-growth-panel .rd-section-head{margin-bottom:var(--space-5);align-items:center}.rd-growth-panel .rd-section-head h2{font-size:var(--text-md)}.rd-level-badge{justify-content:center;align-items:center;gap:var(--space-1);white-space:nowrap;font-size:var(--text-xs);font-weight:var(--weight-bold);line-height:var(--line-body);color:var(--muted);background:var(--success-surface);border:1px solid var(--line);border-radius:var(--radius-pill);padding:var(--space-1) var(--space-2);display:inline-flex}.rd-achievement-list{gap:var(--space-2);flex-direction:column;display:flex}.rd-achievement{align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-3);background:var(--surface-subtle);border:1px solid var(--line);border-radius:var(--radius-sm);min-height:52px;display:flex}.rd-achievement>span:nth-child(2){font-size:var(--text-xs);font-weight:var(--weight-strong);line-height:var(--line-body);color:var(--ink);flex:1}.rd-achievement-check{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-sm);width:23px;height:23px;color:var(--muted);flex-shrink:0;place-items:center;display:grid}.rd-achievement small{font-size:var(--text-xs);white-space:nowrap;color:var(--muted);background:var(--success-surface);border:1px solid var(--line);padding:var(--space-1) var(--space-2);border-radius:var(--radius-sm);font-weight:var(--weight-strong)}.rd-achievement.is-earned>span:nth-child(2){color:var(--muted);text-decoration:line-through}.rd-progress{border-radius:var(--radius-pill);background:var(--surface-subtle);width:100%;height:6px;display:block;overflow:hidden}.rd-progress>i{border-radius:var(--radius-pill);background:var(--green);height:100%;transition:width var(--duration-slow) var(--ease-standard);animation:rd-progress-grow var(--duration-slow) var(--ease-standard) both;transform-origin:0;display:block}.rd-xp-progress{height:7px;margin-top:var(--space-5)}.rd-xp-caption{justify-content:space-between;align-items:center;gap:var(--space-2);color:var(--muted);font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-2);display:flex}.rd-subjects-panel .rd-section-head{margin-bottom:var(--space-5)}.rd-subjects-panel .rd-section-head>.rd-text-button{border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-2) var(--space-3);font-size:var(--text-xs)}.rd-subject-list{gap:var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.rd-subject-row{align-items:center;gap:var(--space-3);text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);width:100%;padding:var(--space-4) var(--space-3);min-width:0;transition:background var(--duration-fast) var(--ease-standard),border-color var(--duration-fast) var(--ease-standard),box-shadow var(--duration-fast) var(--ease-standard);display:flex}.rd-subject-row:hover{border-color:var(--line);background:var(--surface-hover);box-shadow:var(--shadow-sm)}.rd-subject-icon{border-radius:var(--radius-lg);background:color-mix(in srgb,var(--rd-subject-color) 12%,var(--surface));width:39px;height:39px;color:var(--rd-subject-color);flex-shrink:0;place-items:center;display:grid}.rd-subject-info{gap:var(--space-1);flex-direction:column;flex:1;min-width:0;display:flex}.rd-subject-info strong{font-size:var(--text-xs);line-height:var(--line-body);font-weight:var(--weight-strong);color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rd-subject-info>span{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rd-subject-row>svg{color:var(--muted);width:13px;margin-left:auto}.rd-subject-progress{display:none}.rd-all-time{justify-content:center;align-items:center;gap:var(--space-5);margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--line);font-size:var(--text-xs);color:var(--muted);display:flex}.rd-all-time>span{align-items:center;gap:var(--space-1);display:flex}.rd-empty-subjects{align-items:center;gap:var(--space-4);padding:var(--space-4) 0 var(--space-1);display:flex}.rd-empty-icon{border-radius:var(--radius-md);width:49px;height:49px;color:var(--muted);background:var(--surface-subtle);flex-shrink:0;place-items:center;display:grid}.rd-empty-subjects>div{flex:1}.rd-empty-subjects h3{font-size:var(--text-sm);line-height:var(--line-heading);font-weight:var(--weight-strong);color:var(--muted)}.rd-empty-subjects p{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-1)}.rd-next-grid{gap:var(--space-5);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.rd-next-grid>.rd-panel{box-shadow:var(--shadow-sm);background:var(--surface)}.rd-next-grid .rd-section-head h2{font-size:var(--text-base)}.rd-next-grid .rd-section-head{margin-bottom:var(--space-5)}.rd-next-grid .rd-section-head .rd-eyebrow{font-size:var(--text-xs);letter-spacing:.04em}.rd-next-grid .rd-section-head>svg{color:var(--muted)}.rd-goal+.rd-goal{margin-top:var(--space-5)}.rd-goal-label{justify-content:space-between;align-items:center;gap:var(--space-2);font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-bottom:var(--space-2);display:flex}.rd-goal-label>span{align-items:center;gap:var(--space-2);display:flex}.rd-goal-label strong{font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--ink);white-space:nowrap}.rd-goal-label strong>span{font-weight:var(--weight-regular);color:var(--ink)}.rd-goal-label>button{align-items:center;gap:var(--space-1);font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--muted);padding:var(--space-0) 0;display:inline-flex}.rd-small-note,.rd-goal-celebrate{margin-top:var(--space-4);font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted)}.rd-goal-celebrate{align-items:center;gap:var(--space-1);color:var(--muted);display:flex}.rd-next-date{align-items:center;gap:var(--space-2);color:var(--muted);font-size:var(--text-xs);line-height:var(--line-body);display:flex}.rd-next-date>span{color:var(--muted)}.rd-next-subject{align-items:center;gap:var(--space-3);margin-top:var(--space-4);min-width:0;display:flex}.rd-next-subject>span{border-radius:var(--radius-lg);width:43px;height:43px;color:var(--rd-subject-color);background:color-mix(in srgb,var(--rd-subject-color) 12%,var(--surface));flex-shrink:0;place-items:center;display:grid}.rd-next-subject>div{min-width:0}.rd-next-subject h3{font-size:var(--text-sm);line-height:var(--line-heading);font-weight:var(--weight-strong);letter-spacing:-.025em;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rd-next-subject p{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-1);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rd-next-actions{justify-content:space-between;align-items:center;gap:var(--space-2);margin-top:var(--space-5);display:flex}.rd-next-actions .rd-button{font-size:var(--text-xs);min-height:36px;padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm)}.rd-next-actions .rd-text-button{font-size:var(--text-xs)}.rd-empty-next{align-items:center;gap:var(--space-3);padding:var(--space-1) 0 var(--space-0);flex-wrap:wrap;display:flex}.rd-empty-next>span{border-radius:var(--radius-md);background:var(--surface-subtle);width:41px;height:41px;color:var(--muted);place-items:center;display:grid}.rd-empty-next>p{font-size:var(--text-xs);line-height:var(--line-body);min-width:140px;color:var(--muted);flex:1}.rd-empty-next>.rd-text-button{padding:var(--space-2) 0;margin-left:var(--space-11)}@keyframes rd-appear{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes rd-progress-grow{0%{transform:scaleX(0)}to{transform:scaleX(1)}}@media (width>=1350px){.rd-hero{min-height:300px}.rd-hero-copy{padding:var(--space-8) var(--space-9)}.rd-hero h1{font-size:var(--text-display);max-width:470px}.rd-study-scene{width:50%;max-height:103%}.rd-stat{padding:var(--space-6)}.rd-stat-value{font-size:var(--text-xl)}.rd-panel{padding:var(--space-6)}.rd-evolution-grid{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.rd-growth-panel{flex-direction:column;justify-content:center;height:100%;display:flex}.rd-achievement{padding-top:var(--space-4);padding-bottom:var(--space-4)}.rd-achievement-list{gap:var(--space-3)}.rd-achievement>span:nth-child(2){font-size:var(--text-xs)}}@media (width<=1100px){.rd-evolution-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.rd-panel{padding:var(--space-5)}.rd-chart-heading{flex-wrap:wrap;align-items:flex-start}.rd-period-tabs{margin-left:auto}.rd-achievement{gap:var(--space-2);padding:var(--space-3) var(--space-2)}.rd-achievement small{font-size:var(--text-xs);padding:var(--space-1) var(--space-1)}.rd-achievement>span:nth-child(2){font-size:var(--text-xs)}.rd-section-head h2,.rd-growth-panel .rd-section-head h2{font-size:var(--text-base)}.rd-xp-caption{font-size:var(--text-xs)}.rd-stat{padding:var(--space-4) var(--space-4)}.rd-stat-title{gap:var(--space-1)}.rd-stat-title h2{font-size:var(--text-xs)}.rd-stat-value{font-size:var(--text-xl)}.rd-stat>p{font-size:var(--text-xs)}.rd-subject-list{grid-template-columns:1fr}.rd-subject-progress{gap:var(--space-2);width:110px;margin:0 var(--space-3);color:var(--muted);font-size:var(--text-xs);flex-direction:column;display:flex}.rd-subject-progress .rd-progress{height:4px}.rd-subject-row{padding:var(--space-3) var(--space-3)}.rd-subject-info strong{font-size:var(--text-xs)}}@media (width<=850px){.rd-hero-copy{max-width:60%;padding:var(--space-7)}.rd-hero h1{font-size:var(--text-display)}.rd-hero-copy>p{font-size:var(--text-xs)}.rd-study-scene{width:59%;right:-26px}.rd-evolution-grid{grid-template-columns:1fr}.rd-chart-heading{flex-wrap:nowrap;align-items:center}.rd-growth-panel .rd-section-head h2{font-size:var(--text-md)}.rd-achievement{padding:var(--space-3) var(--space-3);gap:var(--space-3)}.rd-achievement>span:nth-child(2){font-size:var(--text-xs)}.rd-achievement small{font-size:var(--text-xs);padding:var(--space-1) var(--space-2)}.rd-xp-caption{font-size:var(--text-xs)}.rd-period-tabs{margin-left:0}.rd-chart-heading h2{font-size:var(--text-md)}.rd-stats-grid{gap:var(--space-3);grid-template-columns:repeat(2,minmax(0,1fr))}.rd-stat{padding:var(--space-4) var(--space-5)}.rd-stat-title h2{font-size:var(--text-xs)}.rd-stat-value{font-size:var(--text-xl)}.rd-stat>p{font-size:var(--text-xs)}.rd-next-grid{gap:var(--space-4)}.rd-next-actions{flex-wrap:wrap}.rd-hero-copy>.rd-button{margin-top:var(--space-5)}.rd-empty-subjects{flex-wrap:wrap}.rd-empty-subjects>.rd-button{margin-left:var(--space-12)}}@media (width<=600px){.ritmo-dashboard{gap:var(--space-4)}.rd-hero{border-radius:var(--radius-xl);min-height:296px}.rd-hero-copy{padding:var(--space-6) var(--space-5) var(--space-7);width:100%;max-width:100%}.rd-hero .rd-eyebrow{font-size:var(--text-xs);letter-spacing:.04em}.rd-hero h1{font-size:var(--text-display);line-height:var(--line-heading);letter-spacing:-.025em;max-width:253px;margin-top:var(--space-4)}.rd-hero-copy>p{font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-3);max-width:200px}.rd-hero-copy>p>span{font-size:var(--text-xs)}.rd-hero-copy>.rd-button{font-size:var(--text-xs);min-height:41px;padding:var(--space-3) var(--space-3);margin-top:var(--space-5);border-radius:var(--radius-xl)}.rd-hero-copy>.rd-button>svg{width:13px}.rd-study-scene{width:360px;max-width:95%;max-height:230px;bottom:-8px;right:-88px}.rd-light-control{font-size:var(--text-xs);padding:var(--space-1) var(--space-2);gap:var(--space-1);border-radius:var(--radius-sm);background:var(--surface-muted);min-height:var(--control-size-sm);bottom:10px;right:11px}.rd-light-control>svg{width:10px;height:10px}.rd-light-control i{margin:0 var(--space-0);height:8px}.rd-stat{padding:var(--space-4) var(--space-4) var(--space-4);border-radius:var(--radius-md);min-height:127px}.rd-stats-grid{gap:var(--space-3)}.rd-stat-title{gap:var(--space-2);align-items:center}.rd-stat-title h2{font-size:var(--text-xs);line-height:var(--line-heading);letter-spacing:.04em}.rd-stat-icon{border-radius:var(--radius-md);width:26px;height:26px}.rd-stat-icon>svg{width:15px;height:15px}.rd-stat-value{font-size:var(--text-xl);line-height:var(--line-heading);margin-top:var(--space-2);letter-spacing:-.025em}.rd-stat>p{font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-0);min-height:15px}.rd-panel{padding:var(--space-5) var(--space-4);border-radius:var(--radius-lg)}.rd-section-head{gap:var(--space-2);margin-bottom:var(--space-5)}.rd-section-head h2,.rd-growth-panel .rd-section-head h2{font-size:var(--text-md);letter-spacing:-.025em}.rd-section-head p{font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-2)}.rd-chart-heading{gap:var(--space-2);align-items:center}.rd-chart-heading h2{font-size:var(--text-md);line-height:var(--line-heading);max-width:133px}.rd-chart-heading p{font-size:var(--text-xs);line-height:var(--line-body);max-width:130px;margin-top:var(--space-1)}.rd-mobile-break{display:block}.rd-period-tabs{padding:var(--space-1);border-radius:var(--radius-sm)}.rd-period-tabs button{font-size:var(--text-xs);padding:var(--space-2) var(--space-1);line-height:var(--line-body);border-radius:var(--radius-sm);min-height:var(--control-size-sm)}.rd-week-summary{margin-top:var(--space-4)}.rd-week-summary>div>strong{font-size:var(--text-xl)}.rd-week-summary p{font-size:var(--text-xs);margin-top:var(--space-1)}.rd-week-summary>.rd-text-button{font-size:var(--text-xs)}.rd-chart-date{font-size:var(--text-xs);margin-top:var(--space-2)}.rd-week-navigation>button{min-width:var(--control-size-sm);min-height:var(--control-size-sm)}.rd-week-navigation>button.rd-week-label{font-size:var(--text-xs)}.rd-weekly-panel .sc-axis{font-size:var(--text-md)}.rd-weekly-panel .sc-detail{margin-top:var(--space-1);font-size:var(--text-xs);padding:var(--space-2) var(--space-2)}.rd-weekly-panel .sc-hint{font-size:var(--text-xs);margin-bottom:var(--space-3)}.rd-weekly-panel .sc-empty{min-height:153px}.rd-weekly-panel .sc-empty strong,.rd-weekly-panel .sc-empty span{font-size:var(--text-xs)}.rd-chart-totals{gap:var(--space-2);margin-top:var(--space-3);padding-top:var(--space-3)}.rd-chart-totals>div{padding:var(--space-2) var(--space-2);border-radius:var(--radius-sm)}.rd-chart-totals span{font-size:var(--text-xs);line-height:var(--line-body)}.rd-chart-totals strong{font-size:var(--text-xs);margin-top:var(--space-1)}.rd-growth-panel{padding:var(--space-6) var(--space-5)}.rd-growth-panel .rd-section-head{margin-bottom:var(--space-4)}.rd-level-badge{font-size:var(--text-xs);padding:var(--space-1) var(--space-2)}.rd-achievement-list{gap:var(--space-2)}.rd-achievement{padding:var(--space-3) var(--space-2);gap:var(--space-2);border-radius:var(--radius-sm);min-height:53px}.rd-achievement-check{border-radius:var(--radius-sm);width:22px;height:22px}.rd-achievement>span:nth-child(2){font-size:var(--text-xs);line-height:var(--line-body)}.rd-achievement small{font-size:var(--text-xs);padding:var(--space-1) var(--space-2)}.rd-xp-progress{height:7px;margin-top:var(--space-5)}.rd-xp-caption{font-size:var(--text-xs);margin-top:var(--space-2)}.rd-subjects-panel{padding:var(--space-6) var(--space-5) var(--space-4)}.rd-subjects-panel .rd-section-head{margin-bottom:var(--space-5)}.rd-subjects-panel .rd-section-head>.rd-text-button{font-size:var(--text-xs);padding:var(--space-2) var(--space-2);border-radius:var(--radius-lg);gap:var(--space-2)}.rd-subject-row{padding:var(--space-3) var(--space-3);gap:var(--space-2);border-radius:var(--radius-lg)}.rd-subject-list{gap:var(--space-2)}.rd-subject-icon{border-radius:var(--radius-lg);width:36px;height:36px}.rd-subject-icon svg{width:19px;height:19px}.rd-subject-info strong{font-size:var(--text-xs)}.rd-subject-info>span{font-size:var(--text-xs);line-height:var(--line-body)}.rd-subject-progress{display:none}.rd-all-time{gap:var(--space-3);font-size:var(--text-xs);margin-top:var(--space-4);padding-top:var(--space-3);flex-wrap:wrap;justify-content:space-between}.rd-all-time>span{gap:var(--space-1)}.rd-all-time>span>svg{width:11px;height:11px}.rd-empty-subjects{padding-top:var(--space-0);gap:var(--space-3);align-items:flex-start}.rd-empty-icon{border-radius:var(--radius-md);width:38px;height:38px}.rd-empty-icon>svg{width:20px;height:20px}.rd-empty-subjects>div{min-width:170px}.rd-empty-subjects h3{font-size:var(--text-xs);line-height:var(--line-heading)}.rd-empty-subjects p{font-size:var(--text-xs);line-height:var(--line-body)}.rd-empty-subjects>.rd-button{margin-left:var(--space-10);font-size:var(--text-xs);min-height:36px;padding:var(--space-2) var(--space-3)}.rd-next-grid{gap:var(--space-3);grid-template-columns:1fr}.rd-next-grid .rd-panel{padding:var(--space-5) var(--space-5)}.rd-next-grid .rd-section-head h2{font-size:var(--text-base)}.rd-next-grid .rd-section-head .rd-eyebrow,.rd-goal-label,.rd-goal-label strong,.rd-goal-label>button{font-size:var(--text-xs)}.rd-progress{height:5px}.rd-next-actions{flex-wrap:nowrap}.rd-next-actions .rd-button,.rd-next-actions .rd-text-button{font-size:var(--text-xs)}.rd-next-subject h3{font-size:var(--text-sm)}.rd-next-subject p,.rd-next-date{font-size:var(--text-xs)}}@media (width<=380px){.rd-hero h1{font-size:var(--text-display);max-width:236px}.rd-stat{padding:var(--space-3) var(--space-3)}.rd-stat-title{gap:var(--space-1)}.rd-stat-title h2{font-size:var(--text-xs)}.rd-stat-value{font-size:var(--text-xl)}.rd-stat>p{font-size:var(--text-xs)}.rd-panel{padding-left:var(--space-4);padding-right:var(--space-4)}.rd-chart-heading h2{font-size:var(--text-base);max-width:119px}.rd-period-tabs button{font-size:var(--text-xs);padding:var(--space-2) var(--space-1);min-height:var(--control-size-sm)}.rd-chart-heading p{font-size:var(--text-xs)}.rd-growth-panel .rd-section-head h2{font-size:var(--text-base)}.rd-achievement{gap:var(--space-2);padding-left:var(--space-2);padding-right:var(--space-2)}.rd-achievement>span:nth-child(2){font-size:var(--text-xs)}.rd-achievement small{font-size:var(--text-xs);padding:var(--space-1) var(--space-1)}.rd-xp-caption,.rd-next-actions .rd-text-button{font-size:var(--text-xs)}}@media (prefers-reduced-motion:reduce){.ritmo-dashboard,.rd-stat,.rd-progress>i{animation:none}.ritmo-dashboard *{transition:none!important}.rd-button:hover{transform:none}}.rd-xp-history{margin-top:var(--space-4);border-top:1px solid var(--line);padding-top:var(--space-2);color:var(--muted);font-size:var(--text-xs);line-height:var(--line-body)}.rd-xp-history>summary{cursor:pointer;font-size:var(--text-xs);color:var(--muted);width:max-content;max-width:100%;padding:var(--space-0) 0}.rd-xp-history>summary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px;border-radius:var(--radius-sm)}.rd-xp-history>p{font-size:var(--text-xs);color:var(--muted);margin:var(--space-2) 0}.rd-xp-history>div{gap:var(--space-2);flex-direction:column;display:flex}.rd-xp-history>div>div{justify-content:space-between;gap:var(--space-2);padding:var(--space-1) var(--space-2);background:var(--surface-subtle);border-radius:var(--radius-sm);display:flex}.rd-xp-history strong{font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--ink)}@media (width<=600px){.rd-period-tabs button,.rd-text-button,.rd-light-control,.rd-week-navigation>button,.rd-next-actions .rd-text-button{min-height:var(--control-height)}.rd-week-navigation>button{min-width:var(--control-height)}}.evolved-subject{flex-direction:column;padding-bottom:0;display:flex;overflow:hidden}.evolved-subject .subject-main h3{white-space:normal;overflow-wrap:anywhere;line-height:var(--line-heading);letter-spacing:var(--tracking-tight)}.evolved-subject .subject-main p{line-height:var(--line-body);font-size:var(--text-sm);gap:var(--space-1)}.evolved-subject .subject-progress-label{margin-top:var(--space-5);font-size:var(--text-xs);gap:var(--space-2)}.evolved-subject .subject-progress-label>strong{color:var(--ink)}.evolved-subject .progress-track{flex-shrink:0;height:5px}.subject-metrics{gap:var(--space-2);margin:var(--space-5) 0 var(--space-4);grid-template-columns:1.1fr .9fr .8fr;min-width:0;display:grid}.subject-metrics>div,.subject-detail-stats>div{min-width:0}.subject-metrics span{align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);white-space:nowrap;display:flex}.subject-metrics span svg{width:11px;height:11px}.subject-metrics strong{font-family:var(--font-data);font-size:var(--text-base);font-weight:var(--weight-bold);color:var(--ink);margin-top:var(--space-2);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;letter-spacing:var(--tracking-data);display:block}.subject-card-actions{justify-content:space-between;align-items:center;gap:var(--space-2);border-top:1px solid var(--line);padding:var(--space-3) 0;margin-top:auto;display:flex}.subject-card-actions .subject-focus-action{background:var(--accent-soft);color:var(--accent-ink);border:1px solid var(--line);font-size:var(--text-xs);min-height:36px;padding:var(--space-2) var(--space-3);box-shadow:var(--shadow-sm);transition:background var(--duration-fast) var(--ease-standard),transform var(--duration-fast) var(--ease-standard)}.subject-card-actions .subject-focus-action:hover{background:var(--surface-hover)}.subject-review-count{align-items:center;gap:var(--space-1);color:var(--muted);font-size:var(--text-xs);line-height:var(--line-body);margin:calc(-1 * var(--space-1)) 0 var(--space-4);display:flex}.subject-detail-link{align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);padding:var(--space-2) 0;white-space:nowrap;display:flex}.subject-detail-link:hover{color:var(--green)}.evolved-subject-detail{min-width:0}.evolved-subject-detail .detail-info{margin-bottom:var(--space-5)}.evolved-subject-detail .detail-info>div{min-width:0}.evolved-subject-detail .detail-info strong{font-size:var(--text-sm);color:var(--ink);line-height:var(--line-body)}.evolved-subject-detail .detail-info p{font-size:var(--text-sm);color:var(--muted);line-height:var(--line-body);margin-top:var(--space-1)}.evolved-subject-detail .detail-info>.btn{font-size:var(--text-sm);min-height:var(--control-size-sm)}.subject-detail-stats{gap:var(--space-3);margin-bottom:var(--space-6);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.subject-detail-stats>div{border:1px solid var(--line);border-radius:var(--radius-lg);padding:var(--space-4);background:var(--mint)}.subject-detail-stats span{align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body);display:flex}.subject-detail-stats strong{font-family:var(--font-data);font-size:var(--text-lg);margin-top:var(--space-2);color:var(--ink);font-weight:var(--weight-bold);letter-spacing:var(--tracking-data);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;display:block}.subject-evolution{min-width:0;margin:0 0 var(--space-6)}.subject-topic-filter{margin-bottom:var(--space-4);color:var(--muted);display:block;font-size:var(--text-xs)!important}.evolved-subject-detail .subject-topic-filter select{width:100%;max-width:100%;margin-top:var(--space-2);border:1px solid var(--line);background:var(--mint);border-radius:var(--radius-md);padding:var(--space-2) var(--space-3);height:var(--control-height);min-width:0;color:var(--ink);font-size:var(--text-base);text-overflow:ellipsis;display:block}.subject-section-heading{justify-content:space-between;align-items:center;gap:var(--space-3);margin:0 0 var(--space-3);display:flex}.subject-section-heading h3{font-size:var(--text-sm);color:var(--ink);font-weight:var(--weight-bold);letter-spacing:var(--tracking-tight)}.subject-section-heading>span{font-size:var(--text-xs);color:var(--muted);white-space:nowrap}.subject-section-heading .subject-reviews-link{font-size:var(--text-xs);gap:var(--space-1);white-space:nowrap;min-height:32px;margin-left:auto}.subject-topics{margin-bottom:var(--space-7)}.evolved-subject-detail .topic-list{border-color:var(--line);border-radius:var(--radius-md)}.evolved-subject-detail .topic-list>.subject-topic-row{padding:var(--space-4) var(--space-3);gap:var(--space-3);align-items:flex-start}.evolved-subject-detail .topic-check{margin-top:var(--space-1);width:22px;height:22px}.subject-topic-copy{flex:1;min-width:0}.evolved-subject-detail .subject-topic-copy strong{font-size:var(--text-sm);color:var(--ink);font-weight:var(--weight-strong);overflow-wrap:anywhere;line-height:var(--line-body);display:block}.evolved-subject-detail .subject-topic-copy small{font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body);margin-top:var(--space-1);overflow-wrap:anywhere}.subject-topic-actions{gap:var(--space-1);flex-shrink:0;align-items:center;padding-top:0;display:flex}.subject-topic-actions .icon-button{width:var(--control-size-sm);height:var(--control-size-sm);color:var(--muted)}.subject-topic-actions .icon-button:first-child{background:var(--mint)}.subject-topic-actions .icon-button:hover{background:var(--surface-hover);color:var(--green)}.subject-topic-actions .subject-topic-review.is-enabled{background:var(--mint);color:var(--ink)}.subject-topic-copy .subject-review-enabled{align-items:center;gap:var(--space-1);font-size:var(--text-xs);line-height:var(--line-body);color:var(--ink);background:var(--mint);border-radius:var(--radius-sm);padding:var(--space-1) var(--space-1);margin-top:var(--space-2);display:inline-flex}.subject-history{margin-bottom:var(--space-5)}.subject-history-list{border-top:1px solid var(--line)}.subject-history-row{align-items:center;gap:var(--space-3);padding:var(--space-4) 0;border-bottom:1px solid var(--line);min-width:0;animation:subjectReveal var(--duration-normal) var(--ease-standard) both;display:flex}.subject-history-icon{background:var(--mint);width:33px;height:33px;color:var(--muted);border-radius:var(--radius-md);flex-shrink:0;place-items:center;display:grid}.subject-history-row>div:nth-child(2){flex:1;min-width:0}.subject-history-row strong{font-size:var(--text-xs);color:var(--ink);font-weight:var(--weight-strong);overflow-wrap:anywhere;line-height:var(--line-body);display:block}.subject-history-row time{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);display:block}.subject-activity-badge{font-size:var(--text-xs);line-height:var(--line-body);padding:var(--space-1) var(--space-2);margin-top:var(--space-1);border-radius:var(--radius-sm);background:var(--mint);color:var(--ink);font-weight:var(--weight-medium);display:inline-block}.subject-activity-review{background:var(--mint);color:var(--ink)}.subject-activity-exercises{background:var(--warning-surface);color:var(--warning)}.subject-activity-unclassified{background:var(--surface-subtle);color:var(--muted)}.subject-history-row p{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);line-height:var(--line-body)}.subject-history-result{text-align:right;flex-shrink:0;min-width:0;max-width:36%}.subject-history-result strong{font-family:var(--font-data);font-size:var(--text-sm);font-variant-numeric:tabular-nums;color:var(--ink)}.subject-history-result span{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);overflow-wrap:anywhere;display:block}.subject-history-empty{padding:var(--space-5) var(--space-4);border:1px dashed var(--line);border-radius:var(--radius-md);color:var(--muted);background:var(--mint);font-size:var(--text-sm);line-height:var(--line-body);text-align:center}.subject-more-history{margin:var(--space-3) auto 0;font-size:var(--text-xs);min-height:34px;display:flex}.evolved-subject-detail .subject-detail-actions{justify-content:flex-start;gap:var(--space-2);padding-top:var(--space-5);margin-top:var(--space-5);flex-wrap:wrap;display:flex}.subject-detail-actions .btn{font-size:var(--text-sm);min-height:var(--control-size-sm)}@keyframes subjectReveal{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@media (width>=701px) and (width<=1150px){.subject-metrics{gap:var(--space-1);grid-template-columns:1.1fr .9fr .8fr}.subject-metrics span{font-size:var(--text-xs)}.subject-metrics span svg{display:none}.subject-metrics strong{font-size:var(--text-sm)}.subject-card-actions{gap:var(--space-1);flex-wrap:wrap}.subject-card-actions .subject-focus-action,.subject-detail-link{font-size:var(--text-xs)}}@media (width<=700px){.evolved-subject-detail .detail-info>div{min-width:0}.evolved-subject-detail .detail-info{gap:var(--space-2)}.evolved-subject-detail .detail-info>.subject-icon{width:35px;height:35px}.evolved-subject-detail .detail-info strong,.evolved-subject-detail .detail-info p{font-size:var(--text-xs)}.evolved-subject-detail .detail-info>.btn{min-height:var(--control-size-sm);font-size:var(--text-xs);margin-left:0}.subject-detail-stats{gap:var(--space-2)}.subject-detail-stats>div{padding:var(--space-3) var(--space-2);border-radius:var(--radius-md)}.subject-detail-stats span{font-size:var(--text-xs);gap:var(--space-1);white-space:nowrap}.subject-detail-stats span svg{display:none}.subject-detail-stats strong{font-size:var(--text-md);margin-top:var(--space-2)}.evolved-subject-detail .subject-topic-filter select{font-size:var(--text-base)}.evolved-subject-detail .topic-list>.subject-topic-row{padding:var(--space-3) var(--space-3);gap:var(--space-2)}.evolved-subject-detail .subject-topic-copy strong{font-size:var(--text-sm)}.evolved-subject-detail .subject-topic-copy small{font-size:var(--text-xs)}.subject-topic-actions{gap:var(--space-1);flex-direction:column}.subject-topic-actions .icon-button{width:var(--control-size-sm);height:var(--control-size-sm)}.subject-section-heading h3{font-size:var(--text-sm)}.subject-section-heading>span{font-size:var(--text-xs)}.subject-history-row{gap:var(--space-2);padding:var(--space-3) 0}.subject-history-icon{width:29px;height:29px}.subject-history-row strong{font-size:var(--text-xs)}.subject-history-result strong{font-size:var(--text-sm)}.subject-history-result span{font-size:var(--text-xs)}.subject-detail-actions .btn{font-size:var(--text-xs);padding-left:var(--space-2);padding-right:var(--space-2);flex:calc(50% - 9px)}.subject-detail-actions .btn.primary{flex-basis:100%}.subject-metrics span{font-size:var(--text-xs)}.subject-metrics strong{font-size:var(--text-base)}.subject-card-actions .subject-focus-action{min-height:39px;font-size:var(--text-sm)}.subject-detail-link{font-size:var(--text-xs)}}@media (prefers-reduced-motion:reduce){.evolved-subject .progress-track i,.subject-card-actions .subject-focus-action{transition:none}.subject-history-row{animation:none}}@media (width<=700px){.subject-section-heading .subject-reviews-link{font-size:var(--text-xs)}}.subject-library{min-width:0}.subject-library-management{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-xl);padding:var(--space-3) var(--space-5);margin-bottom:var(--space-5)}.subject-library-tools{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-5);flex-wrap:wrap;display:flex}.subject-library-tools>button{justify-content:center;align-items:center;gap:var(--space-2);min-height:var(--control-height);font-size:var(--text-sm);color:var(--green);padding:var(--space-1) 0;display:inline-flex}.subject-library-tools>button[aria-pressed=true]{font-weight:var(--weight-strong);color:var(--green)}.subject-library-tools>button.subject-clear-all{color:var(--danger)}.subject-selection-toolbar{margin:var(--space-2) 0 var(--space-1);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--mint);padding:var(--space-4)}.subject-selection-toolbar>div:first-child{justify-content:space-between;align-items:center;gap:var(--space-2);display:flex}.subject-selection-toolbar strong{font-size:var(--text-sm);line-height:var(--line-body);color:var(--ink)}.subject-selection-toolbar>div:first-child>button{font-size:var(--text-xs);color:var(--green);min-height:var(--control-height);padding:var(--space-1) 0}.subject-selection-toolbar>p{font-size:var(--text-sm);color:var(--muted);line-height:var(--line-body);margin-top:var(--space-1)}.subject-selection-toolbar>p.subject-hidden-selection{color:var(--warning)}.subject-selection-actions{justify-content:space-between;align-items:center;gap:var(--space-2) var(--space-4);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.subject-selection-actions>label{align-items:center;gap:var(--space-2);min-height:44px;color:var(--ink);font-size:var(--text-xs);cursor:pointer;display:flex}.subject-selection-actions>.btn{font-size:var(--text-sm);min-height:var(--control-height);white-space:normal}.subject-selection-actions input,.subject-select-check input{width:19px;height:19px;accent-color:var(--ink);cursor:pointer;flex-shrink:0;margin:0}.subject-select-check{align-items:center;gap:var(--space-2);min-height:var(--control-height);cursor:pointer;font-size:var(--text-base);color:var(--muted);display:flex}.subject-card-selected{outline:2px solid var(--focus-ring);outline-offset:-1px;background:var(--surface-selected)!important}.subject-card-selected .subject-select-check{color:var(--green);font-weight:var(--weight-strong)}.subject-selection-state{align-items:center;gap:var(--space-1);min-height:36px;font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body);display:flex}.subject-card-selected .subject-selection-state{color:var(--green)}.subject-selection-actions input:focus-visible,.subject-select-check input:focus-visible,.subject-library-tools button:focus-visible,.subject-selection-toolbar button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}@media (width<=700px){.subject-library-management{padding:var(--space-2) var(--space-3);margin-bottom:var(--space-4)}.subject-library-tools{gap:var(--space-1) var(--space-3)}.subject-library-tools>button{font-size:var(--text-xs);gap:var(--space-1)}.subject-library-tools>button>svg{width:14px}.subject-selection-toolbar{padding:var(--space-3) var(--space-3)}.subject-selection-toolbar>div:first-child{align-items:flex-start}.subject-selection-toolbar>div:first-child>button{flex-shrink:0}.subject-selection-actions>.btn{width:100%;font-size:var(--text-sm)}.subject-select-check{font-size:var(--text-base)}.subject-select-check input{width:19px;height:19px}.subject-selection-state{font-size:var(--text-xs)}.subject-card-top{gap:var(--space-2)}}@media (width<=400px){.subject-library-tools{flex-direction:column;align-items:stretch}.subject-library-tools>button{font-size:var(--text-sm);justify-content:flex-start}.evolved-subject .subject-card-top{flex-wrap:wrap}.subject-select-check{width:100%}}.session-completion{text-align:center;padding:var(--space-1) 0 var(--space-1);color:var(--ink)}.session-completion-seal{width:65px;height:65px;margin:0 auto var(--space-4);background:var(--surface-selected);color:var(--green);box-shadow:var(--shadow-sm);animation:ritmo-completion-appear var(--duration-slow) ease-out both;border-radius:50%;place-items:center;display:grid}.session-completion-seal svg{stroke-width:2px}.session-completion-eyebrow{font-size:var(--text-xs);letter-spacing:var(--tracking-wide);font-weight:var(--weight-strong);color:var(--muted);margin:0 0 var(--space-2)}.session-completion h3{font-size:var(--text-lg);letter-spacing:var(--tracking-tight);font-weight:var(--weight-bold);color:var(--ink)}.session-completion-message{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);max-width:320px;margin:var(--space-3) auto var(--space-5)}.session-completion-subject{gap:var(--space-1);border-top:1px solid var(--line);padding-top:var(--space-5);min-width:0;display:grid}.session-completion-subject strong{font-size:var(--text-sm);overflow-wrap:anywhere;font-weight:var(--weight-strong)}.session-completion-subject>span{font-size:var(--text-xs);color:var(--muted);overflow-wrap:anywhere;line-height:var(--line-body)}.session-completion-stats{margin:var(--space-6) 0 var(--space-4);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.session-completion-stats>div{align-items:center;gap:var(--space-2);padding:0 var(--space-2);flex-direction:column;min-width:0;display:flex}.session-completion-stats>div+div{border-left:1px solid var(--line)}.session-completion-stats svg{color:var(--ink)}.session-completion-stats strong{font-family:var(--font-data);color:var(--ink);font-size:var(--text-lg);font-weight:var(--weight-bold);font-variant-numeric:tabular-nums;line-height:var(--line-body);letter-spacing:var(--tracking-tight)}.session-completion-stats span{font-size:var(--text-xs);color:var(--muted)}.session-completion-answers{justify-content:center;gap:var(--space-5);font-size:var(--text-xs);color:var(--muted);display:flex}.session-completion-answers>span{align-items:center;gap:var(--space-1);display:flex}.session-completion-answers i{background:var(--success);border-radius:50%;width:5px;height:5px}.session-completion-answers>span:last-child i{background:var(--danger)}.session-completion-xp{justify-content:center;align-items:center;gap:var(--space-2);background:var(--surface-selected);border:1px solid var(--line);padding:var(--space-4);border-radius:var(--radius-md);margin:var(--space-6) 0 0;color:var(--green);animation:ritmo-xp-appear var(--duration-slow) ease-out var(--duration-slow) both;flex-wrap:wrap;display:flex}.session-completion-xp strong{font-size:var(--text-base);color:var(--green)}.session-completion-xp>span{font-size:var(--text-xs);color:var(--green)}.session-completion-actions{align-items:center;gap:var(--space-4);margin-top:var(--space-6);flex-direction:column;display:flex}.session-completion-actions>.btn{width:100%;min-height:var(--control-height);font-size:var(--text-xs);gap:var(--space-2);border-radius:var(--radius-md)}.session-completion-actions>.text-button{font-size:var(--text-xs);padding:var(--space-1) 0}.session-completion .btn:hover{transform:translateY(-1px)}@keyframes ritmo-completion-appear{0%{opacity:0;transform:scale(.9)translateY(5px)}to{opacity:1;transform:scale(1)translateY(0)}}@keyframes ritmo-xp-appear{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (width<=450px){.session-completion h3{font-size:var(--text-lg)}.session-completion-message{font-size:var(--text-xs)}.session-completion-stats>div{padding:0 var(--space-1)}.session-completion-stats strong{font-size:var(--text-lg)}.session-completion-stats span{font-size:var(--text-xs)}.session-completion-xp{gap:var(--space-2)}.session-completion-xp>span{font-size:var(--text-xs)}.session-completion-actions>.btn{font-size:var(--text-xs);min-height:var(--control-height)}}@media (prefers-reduced-motion:reduce){.session-completion-seal,.session-completion-xp{animation:none}.session-completion .btn:hover{transform:none}}.session-completion-subject>.session-completion-activity{border:1px solid var(--line);background:var(--surface-selected);border-radius:var(--radius-lg);padding:var(--space-1) var(--space-2);font-size:var(--text-xs);color:var(--ink);margin-bottom:var(--space-1);font-weight:var(--weight-strong);line-height:var(--line-body);justify-self:center}.session-completion-review{align-items:flex-start;gap:var(--space-3);text-align:left;padding:var(--space-4);margin-top:var(--space-5);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface-selected);color:var(--ink);display:flex}.session-completion-review>svg{margin-top:var(--space-1);flex-shrink:0}.session-completion-review>div{min-width:0}.session-completion-review span{font-size:var(--text-xs);line-height:var(--line-body);color:var(--ink);display:block}.session-completion-review strong{font-size:var(--text-sm);line-height:var(--line-body);margin-top:var(--space-1);color:var(--ink);overflow-wrap:anywhere;display:block}.session-completion-review p{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-1)}.session-completion-review-note{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin:var(--space-5) 0 0}@media (width<=450px){.session-completion-review{padding:var(--space-3)}.session-completion-review strong{font-size:var(--text-sm)}.session-completion-review p{font-size:var(--text-xs)}}body{background:var(--surface-subtle);min-width:320px}.app-shell{background:var(--surface-subtle)}.sidebar{background:var(--surface);border-right-color:var(--line)}.brand{color:var(--green)}.brand-mark{color:var(--green);font-size:var(--text-2xl);background:0 0;border-radius:0}.brand-dot{color:var(--green)}.topbar{background:var(--surface);border-bottom:1px solid var(--line)}.topbar-actions{gap:var(--space-3)}.scene-toggle,.activity-shortcut{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);width:40px;height:40px;color:var(--green);position:relative}.scene-toggle span{font-size:var(--text-md)}.activity-shortcut i{background:var(--surface-subtle);width:6px;height:6px;box-shadow:var(--shadow-sm);border-radius:50%;position:absolute;top:6px;right:7px}.mobile-brand{display:none}.mobile-bottom-nav{border-radius:var(--radius-xl);display:none}.route-view{min-width:0;animation:.24s both ritmo-enter}.route-loading{justify-content:center;align-items:center;gap:var(--space-3);min-height:220px;font-size:var(--text-sm);color:var(--muted);display:flex}.panel,.history-table{border-color:var(--line);box-shadow:var(--shadow-sm)}.page-heading h1{color:var(--green)}.page-heading>div>p{color:var(--muted)}.btn.primary{background:var(--green);border-color:var(--green)}.btn.secondary{border-color:var(--line);color:var(--green);border-radius:var(--radius-md)}.btn{border-radius:var(--radius-md);min-height:var(--control-height)}.app-footer,.cloud-status{color:var(--muted)}.modal{border-radius:var(--radius-xl);border:1px solid var(--line)}.modal-body{color:var(--green)}.modal input,.modal select,.modal textarea{border-radius:var(--radius-md)}.toast{border-color:var(--border-inverse);border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}.error-banner{line-height:1.6}.focus-page.single-focus-page{max-width:560px}.floating-timer{border-radius:var(--radius-lg)}.form-hint{line-height:1.7}.study-history-section summary{line-height:1.5}.history-table th{letter-spacing:var(--tracking-wide)}.mobile-bottom-nav button:focus-visible{outline-offset:-4px}.nav-item.active{color:var(--green);background:var(--surface-selected)}.focus-start,.focus-save-session{border-radius:var(--radius-md)}.top-search{background:var(--surface)}.settings-link{color:var(--muted)}@media (width>=851px){.sidebar{width:228px;padding-left:var(--space-4);padding-right:var(--space-4)}.main-wrap{margin-left:228px}.main-wrap>main{padding:var(--space-7) var(--space-8) 0;max-width:1380px}.topbar{padding:0 var(--space-8)}.sidebar .brand{font-size:var(--text-xl)}.sidebar .workspace-label{font-size:var(--text-xs)}.sidebar .nav-item{min-height:44px}.page-heading{gap:var(--space-4)}}@media (width<=1100px) and (width>=851px){.sidebar{width:208px;padding-left:var(--space-3);padding-right:var(--space-3)}.main-wrap{margin-left:208px}.main-wrap>main{padding:var(--space-6) var(--space-6) 0}.topbar{padding:0 var(--space-6)}.top-search{max-width:180px}.topbar-actions{gap:var(--space-2)}}@media (width<=850px){.main-wrap{margin-left:0}.main-wrap>main{padding:var(--space-2) var(--space-3) 0;max-width:760px}.topbar{height:76px;padding:env(safe-area-inset-top,0px) var(--space-5) 0;background:var(--surface-subtle);border-bottom:0;min-height:76px}.mobile-brand{align-items:center;gap:var(--space-2);padding:var(--space-1) 0;font-family:var(--font-brand);font-size:var(--text-lg);letter-spacing:var(--tracking-brand);font-weight:var(--weight-bold);color:var(--green);white-space:nowrap;display:flex}.mobile-brand>span{font-family:var(--font-brand);font-weight:var(--weight-regular);font-size:var(--text-2xl);letter-spacing:var(--tracking-brand);line-height:1}.topbar>.breadcrumb,.topbar .cloud-status,.topbar .top-search,.topbar .top-divider,.topbar .help-button{display:none}.topbar-actions{gap:var(--space-2)}.scene-toggle,.activity-shortcut{border-radius:var(--radius-lg);width:42px;height:42px}.mobile-bottom-nav{inset:auto max(16px,env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));z-index:50;isolation:isolate;background:var(--surface-inverse);border:1px solid var(--border-inverse-soft);border-radius:var(--radius-xl);max-width:420px;height:74px;padding:var(--space-1);box-shadow:var(--shadow-sm);-webkit-backdrop-filter:none;backdrop-filter:none;grid-template-columns:repeat(4,minmax(0,1fr));margin-inline:auto;display:grid;position:fixed;overflow:hidden}.mobile-nav-highlight{border-radius:var(--radius-md);background:var(--surface-inverse-hover);border:1px solid var(--border-inverse-soft);width:calc(25% - 3px);box-shadow:var(--shadow-sm);pointer-events:none;transform:translateX(calc(var(--active-tab,0)*100%));transition:transform var(--duration-normal) cubic-bezier(.22,.75,.25,1),opacity var(--duration-normal) ease;position:absolute;inset:6px auto 6px 6px}.mobile-bottom-nav[data-selected=false] .mobile-nav-highlight{opacity:0}.mobile-bottom-nav button{z-index:1;justify-content:center;align-items:center;gap:var(--space-1);min-width:0;min-height:60px;color:var(--text-inverse);font-size:var(--text-xs);font-weight:var(--weight-medium);padding:var(--space-1) 0;border-radius:var(--radius-md);transition:color var(--duration-normal) ease,transform var(--duration-fast) ease;flex-direction:column;line-height:1.2;display:flex;position:relative}.mobile-bottom-nav button.selected{color:var(--text-inverse);font-weight:var(--weight-bold)}.mobile-bottom-nav button svg{stroke-width:1.8px;transition:transform var(--duration-normal) ease,stroke-width var(--duration-normal) ease}.mobile-bottom-nav button.selected svg{stroke-width:2.3px;transform:translateY(-1px)}.mobile-bottom-nav button:active{transform:scale(.94)}.mobile-bottom-nav button:focus-visible{outline:2px solid var(--focus-ring-inverse);outline-offset:-3px}.mobile-bottom-nav i{background:var(--surface-inverse);width:5px;height:5px;box-shadow:var(--shadow-sm);border-radius:50%;position:absolute;top:8px;right:calc(50% - 18px)}.main-wrap{padding-bottom:calc(108px + env(safe-area-inset-bottom,0px))}.floating-timer{bottom:calc(100px + env(safe-area-inset-bottom,0px));font-size:var(--text-xs);max-width:calc(100vw - 28px);min-height:43px;right:14px}.toast{bottom:calc(100px + env(safe-area-inset-bottom,0px));font-size:var(--text-xs);max-width:calc(100vw - 28px);animation:.2s both ritmo-enter}.sidebar{padding-top:calc(var(--space-6) + env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom);max-height:100dvh;overflow-y:auto}.sidebar .brand{padding-bottom:var(--space-1)}.page-heading{padding:var(--space-2) 2px 0;margin-bottom:var(--space-6)}.page-heading h1{font-size:var(--text-xl);letter-spacing:var(--tracking-tight);line-height:1.25}.page-heading>div>p{font-size:var(--text-sm);line-height:1.7}.heading-actions{gap:var(--space-2);flex-wrap:wrap}.heading-actions .btn{min-height:42px;font-size:var(--text-xs);padding:var(--space-2) var(--space-3)}.panel{border-radius:var(--radius-lg)}.modal-backdrop{padding:var(--space-3)}.modal{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:var(--radius-xl)}.modal-body{padding:var(--space-6) var(--space-5)}.modal header{padding:var(--space-6) var(--space-5) var(--space-4)}.modal .form-actions{gap:var(--space-2)}.modal .form-actions .btn{font-size:var(--text-xs)}.btn{min-height:var(--control-height)}.app-footer{margin-top:var(--space-7);padding-bottom:var(--space-3);font-size:var(--text-xs)}.evolution-shell .focus-card{border-radius:var(--radius-xl)}.focus-page.single-focus-page{margin:var(--space-2) auto var(--space-6)}.focus-session-note{font-size:var(--text-xs);line-height:1.8}.route-loading{min-height:50vh}}@keyframes ritmo-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.route-view,.toast{animation:none!important}.mobile-bottom-nav,.focus-start,.focus-save-session{transition:none!important}}.mobile-brand>svg{color:var(--green);width:31px;height:31px}.brand-mark>svg{width:35px;height:35px}.rd-light-afternoon{background:var(--surface-subtle)}@media (width<=850px){.topbar{height:calc(76px + env(safe-area-inset-top));min-height:calc(76px + env(safe-area-inset-top))}}.footer-star>svg{width:18px;height:18px;color:var(--green)}.other-environment-reviews{gap:var(--space-2);margin:0 0 var(--space-5);display:grid}.other-environment-reviews>button{align-items:center;gap:var(--space-3);text-align:left;padding:var(--space-3) var(--space-4);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-subtle);color:var(--muted);min-width:0;display:flex}.other-environment-reviews>button>span{flex:1;min-width:0}.other-environment-reviews strong{font-size:var(--text-xs);overflow-wrap:anywhere;line-height:1.6;display:block}.other-environment-reviews small{font-size:var(--text-xs);color:var(--muted);line-height:1.6;display:block}.other-environment-reviews svg{flex-shrink:0}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){@media (width<=850px){.mobile-bottom-nav{background:var(--surface-inverse);border-radius:var(--radius-xl)}}}@media (prefers-reduced-motion:reduce){.mobile-nav-highlight,.mobile-bottom-nav button,.mobile-bottom-nav button svg{transition:none!important}}.sidebar{scrollbar-width:thin;overflow-y:auto}.sidebar>*{flex-shrink:0}.sidebar-brand-row{justify-content:space-between;align-items:center;gap:var(--space-1);flex-shrink:0;display:flex}.sidebar-brand-row .brand{padding-left:var(--space-1);min-width:0;padding-right:0}.sidebar-toggle{width:var(--control-size-sm);height:var(--control-size-sm);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--mint);color:var(--green);transition:background var(--duration-fast) var(--ease-standard),color var(--duration-fast) var(--ease-standard);flex-shrink:0;justify-content:center;align-items:center;display:none}.sidebar-toggle:hover{background:var(--surface-hover);color:var(--green)}.sidebar-toggle:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}@media (width>=851px){.sidebar-toggle{display:inline-flex}.sidebar{transition:width var(--duration-fast) var(--ease-standard),padding var(--duration-fast) var(--ease-standard)}.main-wrap{transition:margin-left var(--duration-fast) var(--ease-standard)}.sidebar-collapsed .sidebar{width:76px;padding:var(--space-6) var(--space-2) var(--space-2);overflow:visible}.sidebar-collapsed .main-wrap{margin-left:76px}.sidebar-collapsed .sidebar-brand-row{justify-content:flex-start;gap:var(--space-2);flex-direction:column}.sidebar-collapsed .sidebar .brand{justify-content:center;width:44px;height:44px;padding:0}.sidebar-collapsed .brand-mark{flex-shrink:0;margin:0}.sidebar-collapsed .brand-word,.sidebar-collapsed .workspace-label,.sidebar-collapsed .nav-caption,.sidebar-collapsed .sidebar-label,.sidebar-collapsed .env-copy,.sidebar-collapsed .env-chevron,.sidebar-collapsed .profile-copy,.sidebar-collapsed .motivation,.sidebar-collapsed .profile>svg{display:none}.sidebar-collapsed .env-control{margin:var(--space-5) 0;flex-shrink:0}.sidebar-collapsed .env-current{width:46px;min-height:46px;padding:var(--space-1);border-radius:var(--radius-lg);justify-content:center;gap:0;margin:0 auto}.sidebar-collapsed .env-icon{width:33px;height:33px;margin:0}.sidebar-collapsed .env-menu{width:240px;max-width:calc(100vw - 100px);top:0;left:calc(100% + 12px);right:auto}.sidebar-collapsed .env-menu button{min-height:var(--control-height);white-space:normal}.sidebar-collapsed .env-menu button>span{overflow-wrap:anywhere;min-width:0}.sidebar-collapsed .sidebar>nav{scrollbar-width:thin;flex:0 auto;min-height:44px;overflow:hidden auto}.sidebar-collapsed .sidebar .nav-item{width:100%;min-height:46px;padding:var(--space-3) var(--space-2);text-align:center;border-radius:var(--radius-lg);flex-shrink:0;justify-content:center;gap:0;position:relative}.sidebar-collapsed .nav-item>svg{flex-shrink:0}.sidebar-collapsed .nav-item em{padding:var(--space-1) var(--space-1);font-size:var(--text-xs);line-height:var(--line-body);text-overflow:ellipsis;background:var(--surface-muted);min-width:14px;max-width:30px;color:var(--ink);border-radius:var(--radius-sm);margin:0;position:absolute;top:1px;right:1px;overflow:hidden}.sidebar-collapsed .nav-item .active-dot{display:none}.sidebar-collapsed .nav-item .live-dot{width:5px;height:5px;margin:0;position:absolute;top:8px;right:6px}.sidebar-collapsed .sidebar-divider{margin:var(--space-3) var(--space-2);flex-shrink:0}.sidebar-collapsed .sidebar-bottom{padding-top:var(--space-5);flex-shrink:0;margin-top:auto}.sidebar-collapsed .sidebar-bottom .settings-link{margin-bottom:var(--space-2)}.sidebar-collapsed .profile{padding:var(--space-4) 0 var(--space-1);justify-content:center;gap:0;min-height:54px}.sidebar-collapsed .profile .avatar{margin:0}}@media (width>=851px) and (height<=720px){.sidebar-collapsed .sidebar{padding-top:var(--space-3)}.sidebar-collapsed .sidebar-brand-row{gap:var(--space-1)}.sidebar-collapsed .env-control{margin:var(--space-3) 0}.sidebar-collapsed .sidebar .nav-item{min-height:40px;padding-top:var(--space-2);padding-bottom:var(--space-2);margin-bottom:var(--space-1)}.sidebar-collapsed .sidebar-divider{margin-top:var(--space-2);margin-bottom:var(--space-2)}.sidebar-collapsed .sidebar-bottom,.sidebar-collapsed .profile{padding-top:var(--space-2)}}@media (width<=850px){.sidebar{visibility:hidden;pointer-events:none}.sidebar.is-open{visibility:visible;pointer-events:auto}.sidebar-brand-row{justify-content:flex-start}.sidebar-brand-row .brand{padding-left:var(--space-2)}.sidebar-toggle{display:none}}@media (prefers-reduced-motion:reduce){.sidebar,.main-wrap,.sidebar-toggle{transition:none!important}}.focus-question-counter{width:100%;min-width:0;padding:0 var(--space-5) var(--space-5);border:1px solid var(--line);border-radius:var(--radius-xl);color:var(--ink);background:var(--surface-subtle);scroll-margin-top:calc(104px + env(safe-area-inset-top,0px))}.fqc-header{grid-template-columns:minmax(0, 1fr) minmax(0, 1.3fr) var(--control-height);align-items:center;gap:var(--space-2);border-bottom:1px solid var(--line);min-height:64px;display:grid}.fqc-header h2{min-width:0;color:var(--ink);text-align:center;font-size:var(--text-base);font-weight:var(--weight-strong);letter-spacing:var(--tracking-tight);margin:0;line-height:1.35}.fqc-back,.fqc-help{min-width:0;min-height:var(--control-height);padding:var(--space-2) 0;justify-content:flex-start;align-items:center;gap:var(--space-1);color:var(--green);font-size:var(--text-xs);border-radius:var(--radius-sm);background:0 0;line-height:1.4;display:flex}.fqc-back svg{width:17px;height:17px}.fqc-help{width:var(--control-height);justify-content:center}.fqc-help svg{width:19px;height:19px}.focus-question-counter button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.fqc-instructions{margin-top:var(--space-3);padding:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);color:var(--muted);font-size:var(--text-xs);line-height:1.7}.fqc-instructions p+p{margin-top:var(--space-2)}.fqc-subject{align-items:center;gap:var(--space-3);padding:var(--space-4) 0;min-width:0;display:flex}.fqc-subject>div{min-width:0}.fqc-subject-icon{border-radius:var(--radius-md);border:1px solid var(--line);background:var(--success-surface);width:38px;height:38px;color:var(--green);flex:none;place-items:center;display:grid}.fqc-subject-icon svg{width:20px;height:20px}.fqc-subject strong{font-size:var(--text-sm);font-weight:var(--weight-strong);overflow-wrap:anywhere;line-height:1.45;display:block}.fqc-subject small{margin-top:var(--space-1);font-size:var(--text-xs);color:var(--muted);overflow-wrap:anywhere;line-height:1.5;display:block}.fqc-timer{top:calc(88px + env(safe-area-inset-top,0px));z-index:5;justify-content:space-between;align-items:center;gap:var(--space-3);min-width:0;min-height:76px;padding:var(--space-3) var(--space-4);border:1px solid var(--border-inverse);border-radius:var(--radius-lg);background:var(--surface-inverse);background-image:var(--material-reflection-inverse);color:var(--text-inverse);box-shadow:var(--material-shadow);display:flex;position:sticky}.fqc-timer>div{min-width:0}.fqc-timer-label{align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted-inverse);line-height:1.4;display:flex}.fqc-live-dot{border-radius:var(--radius-pill);background:var(--focus-ring-inverse);flex:none;width:5px;height:5px;display:inline-block}.fqc-clock{align-items:center;gap:var(--space-3);margin-top:var(--space-1);min-width:0;display:flex}.fqc-clock strong{font-family:var(--font-data);font-size:var(--text-xl);line-height:1.1;font-weight:var(--weight-medium);letter-spacing:var(--tracking-data);font-variant-numeric:tabular-nums;color:var(--text-inverse)}.fqc-clock small{border-left:1px solid var(--border-inverse);min-width:0;max-width:130px;padding-left:var(--space-2);font-size:var(--text-xs);color:var(--muted-inverse);line-height:1.4}.fqc-pause{width:var(--control-height);min-height:var(--control-height);border:1px solid var(--border-inverse);border-radius:var(--radius-md);color:var(--text-inverse);background:var(--surface-inverse-raised);background-image:var(--material-reflection-inverse);flex:none;place-items:center;display:grid}.fqc-pause svg{width:18px;height:18px}.focus-question-counter .fqc-pause:focus-visible{outline-color:var(--focus-ring-inverse)}.fqc-counts{margin-top:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.fqc-counts>div{text-align:center;min-width:0;padding:var(--space-3) var(--space-1)}.fqc-counts>div+div{border-left:1px solid var(--line)}.fqc-counts strong{color:var(--ink);font-size:var(--text-lg);line-height:1.15;font-weight:var(--weight-strong);font-variant-numeric:tabular-nums;letter-spacing:var(--tracking-data);display:block}.fqc-counts span{margin-top:var(--space-1);font-size:var(--text-xs);color:var(--muted);line-height:1.4;display:block}.fqc-counts .fqc-correct{color:var(--green)}.fqc-counts .fqc-wrong{color:var(--danger)}.fqc-deck-heading{justify-content:space-between;align-items:center;gap:var(--space-2);margin:var(--space-5) 0 var(--space-3);font-size:var(--text-xs);color:var(--muted);flex-wrap:wrap;line-height:1.5;display:flex}.fqc-deck-heading strong{font-weight:var(--weight-strong);color:var(--green)}.fqc-deck{isolation:isolate;min-height:263px;padding:var(--space-1) var(--space-3) var(--space-4);place-items:center;display:grid;position:relative;overflow:hidden}.fqc-deck:before,.fqc-deck:after{content:"";z-index:-2;border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface-muted);pointer-events:none;position:absolute;inset:20px 25px 2px;transform:rotate(-3deg)}.fqc-deck:after{z-index:-1;background:var(--surface-subtle);inset:12px 18px 8px;transform:rotate(2deg)}.fqc-direction{inset:var(--space-1) var(--space-3) var(--space-4);z-index:0;border:1px solid var(--border-strong);border-radius:var(--radius-xl);color:var(--green);background:var(--success-surface);opacity:0;pointer-events:none;place-items:center;display:grid;position:absolute}.fqc-direction.is-wrong{background:var(--danger-surface);border-color:var(--danger-border);color:var(--danger)}.fqc-direction svg{stroke-width:1.4px;width:52px;height:52px}.fqc-direction svg:last-child,.fqc-direction.is-wrong svg:first-child{display:none}.fqc-direction.is-wrong svg:last-child{display:block}.fqc-card{z-index:1;justify-content:center;align-items:center;gap:var(--space-2);width:100%;min-width:0;height:240px;padding:var(--space-4) var(--space-5);border:1px solid var(--line);border-radius:var(--radius-xl);background:var(--surface);background-image:radial-gradient(ellipse at 50% 55%, var(--surface-subtle), var(--surface) 75%);box-shadow:var(--material-shadow);color:var(--ink);cursor:grab;touch-action:pan-y;-webkit-user-select:none;user-select:none;transform-origin:50% 90%;transition:transform var(--duration-normal) var(--ease-standard), opacity var(--duration-normal) ease;flex-direction:column;display:flex;position:relative;overflow:hidden}.fqc-card.is-dragging{cursor:grabbing;will-change:transform;transition:none}.fqc-card.is-flying{will-change:transform, opacity}.fqc-card:active{cursor:grabbing}.fqc-card:focus-visible{outline:3px solid var(--focus-ring);outline-offset:-5px}.fqc-card-kicker{max-width:100%;color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);letter-spacing:var(--tracking-wide);text-transform:uppercase;text-align:center;line-height:1.4}.fqc-illustration{justify-content:center;align-items:center;gap:var(--space-1);width:76px;height:48px;margin:var(--space-1) 0;color:var(--green);pointer-events:none;display:flex;position:relative}.fqc-illustration svg{stroke-width:1.35px;width:45px;height:45px}.fqc-illustration svg:first-child{opacity:.5;width:76px;height:28px;position:absolute;inset:0 auto auto 0}.fqc-illustration svg:last-child{width:36px;height:36px;fill:var(--surface-subtle);position:absolute;inset:auto 20px 0 auto}.fqc-card h3{max-width:100%;color:var(--ink);font-size:var(--text-xl);font-weight:var(--weight-strong);letter-spacing:var(--tracking-data);text-align:center;overflow-wrap:anywhere;margin:0;line-height:1.2}.fqc-card p{max-width:280px;color:var(--muted);font-size:var(--text-xs);text-align:center;line-height:1.6}.fqc-card-chevron{color:var(--border-strong);pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.fqc-card-chevron.left{left:var(--space-1)}.fqc-card-chevron.right{right:var(--space-1)}.fqc-card-chevron svg{width:16px;height:16px}.fqc-stamp{padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);font-size:var(--text-lg);font-weight:var(--weight-bold);letter-spacing:var(--tracking-wide);text-transform:uppercase;pointer-events:none;opacity:0;border:2px solid;line-height:1.2;position:absolute;top:55px}.fqc-stamp.is-correct{left:var(--space-4);color:var(--green);background:var(--success-surface);transform:rotate(-14deg)}.fqc-stamp.is-wrong{right:var(--space-4);color:var(--danger);background:var(--danger-surface);transform:rotate(14deg)}.fqc-hints{justify-content:space-between;align-items:flex-start;gap:var(--space-3);margin:var(--space-1) var(--space-3) 0;font-size:var(--text-xs);color:var(--green);line-height:1.5;display:flex}.fqc-hints span{min-width:0;max-width:48%}.fqc-hints span:first-child{color:var(--danger)}.fqc-hints span:last-child{text-align:right}.fqc-actions{justify-content:space-around;align-items:flex-end;gap:var(--space-3);max-width:330px;margin:var(--space-5) auto 0;display:flex}.fqc-action{justify-content:flex-end;align-items:center;gap:var(--space-2);min-width:64px;min-height:78px;color:var(--ink);font-size:var(--text-xs);font-weight:var(--weight-strong);border-radius:var(--radius-md);background:0 0;flex-direction:column;padding:0;line-height:1.4;display:flex}.fqc-round{border:1px solid var(--danger-border);border-radius:var(--radius-pill);background:var(--danger-surface);background-image:var(--material-reflection);width:58px;height:58px;color:var(--danger);box-shadow:var(--material-shadow);transition:transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease;place-items:center;display:grid}.fqc-round svg{stroke-width:1.8px;width:25px;height:25px}.fqc-action.is-correct .fqc-round{border-color:var(--border-strong);background-color:var(--accent-soft);color:var(--accent-ink)}.fqc-action.is-undo{font-weight:var(--weight-regular)}.fqc-action.is-undo .fqc-round{width:var(--control-height);height:var(--control-height);background-color:var(--warning-surface);border-color:var(--warning-border);color:var(--warning)}.fqc-action.is-undo .fqc-round svg{width:21px;height:21px}.fqc-feedback{min-height:37px;margin-top:var(--space-3);color:var(--muted);font-size:var(--text-xs);text-align:center;line-height:1.5}.fqc-history{border-top:1px solid var(--line);padding-top:var(--space-3)}.fqc-history>header{justify-content:space-between;align-items:center;gap:var(--space-1) var(--space-2);color:var(--muted);font-size:var(--text-xs);flex-wrap:wrap;line-height:1.5;display:flex}.fqc-history>header>span{text-transform:uppercase;letter-spacing:var(--tracking-wide)}.fqc-history small{font-size:var(--text-xs)}.fqc-history-list{align-items:center;gap:var(--space-1);min-height:34px;margin-top:var(--space-2);flex-wrap:wrap;display:flex}.fqc-history-chip{align-items:center;gap:var(--space-1);padding:var(--space-1) var(--space-2);border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--success-surface);color:var(--green);font-size:var(--text-xs);font-variant-numeric:tabular-nums;line-height:1.4;display:inline-flex}.fqc-history-chip.is-wrong{border-color:var(--danger-border);background:var(--danger-surface);color:var(--danger)}.fqc-history-chip svg{stroke-width:2px;width:13px;height:13px}.fqc-empty-history{color:var(--muted);font-size:var(--text-xs);line-height:1.6}.fqc-error{margin-top:var(--space-3);padding:var(--space-3);border:1px solid var(--danger-border);border-radius:var(--radius-md);background:var(--danger-surface);color:var(--danger);font-size:var(--text-xs);line-height:1.6}.focus-question-counter .fqc-save{width:100%;margin-top:var(--space-4);min-height:var(--control-height)}.fqc-footnote{margin-top:var(--space-3);color:var(--muted);font-size:var(--text-xs);text-align:center;line-height:1.7}.focus-card .focus-gesture-entry{align-items:center;gap:var(--space-3);width:100%;min-height:65px;padding:var(--space-3);margin-top:var(--space-3);border:1px solid var(--border-inverse);border-radius:var(--radius-lg);color:var(--text-inverse);background:var(--surface-inverse-raised);background-image:var(--material-reflection-inverse);box-shadow:var(--material-shadow);text-align:left;display:flex}.focus-gesture-entry .fqc-entry-icon{border:1px solid var(--border-inverse);border-radius:var(--radius-md);width:37px;height:37px;color:var(--accent-soft);background:var(--surface-inverse);flex:none;place-items:center;display:grid}.fqc-entry-icon svg{width:21px;height:21px}.focus-gesture-entry>span:not(.fqc-entry-icon){min-width:0}.focus-gesture-entry strong,.focus-gesture-entry small{font-size:var(--text-xs);line-height:1.5;display:block}.focus-gesture-entry strong{font-weight:var(--weight-strong)}.focus-gesture-entry small{margin-top:var(--space-1);color:var(--muted-inverse)}.focus-gesture-entry>svg:last-child{flex:none;width:17px;height:17px;margin-left:auto}.focus-card .focus-gesture-entry:focus-visible{outline:3px solid var(--focus-ring-inverse);outline-offset:3px}@media (hover:hover){.fqc-back:hover,.fqc-help:hover{background:var(--surface-hover)}.fqc-pause:hover{background-color:var(--surface-inverse-hover)}.fqc-action:not(:disabled):hover .fqc-round{box-shadow:var(--material-shadow-raised);transform:translateY(-2px)}.focus-card .focus-gesture-entry:not(:disabled):hover{background-color:var(--surface-inverse-hover)}}.fqc-action:not(:disabled):active .fqc-round{transform:scale(.95)}@media (width<=850px){.focus-question-counter{margin-bottom:calc(var(--space-8) + env(safe-area-inset-bottom,0px))}}@media (width<=600px){.focus-question-counter{padding:0 var(--space-4) var(--space-5)}.fqc-header{gap:var(--space-1);min-height:60px}.fqc-header h2{font-size:var(--text-sm)}.fqc-subject{gap:var(--space-2);padding:var(--space-3) 0}.fqc-subject strong{font-size:var(--text-xs)}.fqc-timer{padding:var(--space-3);gap:var(--space-2)}.fqc-deck{min-height:245px;padding-left:var(--space-2);padding-right:var(--space-2)}.fqc-card{height:222px;padding-left:var(--space-4);padding-right:var(--space-4)}.fqc-card h3{font-size:var(--text-xl)}.fqc-hints{margin-left:var(--space-2);margin-right:var(--space-2);gap:var(--space-2)}.fqc-actions{margin-top:var(--space-4)}}@media (width<=360px){.focus-question-counter{padding-left:var(--space-3);padding-right:var(--space-3)}.fqc-header{grid-template-columns:minmax(0, 1fr) minmax(0, 1.2fr) var(--control-height)}.fqc-card{padding-left:var(--space-3);padding-right:var(--space-3)}.fqc-card-kicker{letter-spacing:var(--tracking-normal)}.fqc-card h3{font-size:var(--text-lg)}.fqc-clock{gap:var(--space-2)}.fqc-clock strong{font-size:var(--text-lg)}.fqc-clock small{max-width:90px}.fqc-hints{margin-left:0;margin-right:0}.fqc-actions{gap:var(--space-2)}.fqc-action{min-width:60px}.fqc-round{width:54px;height:54px}}@media (prefers-reduced-motion:reduce){.focus-question-counter *,.focus-question-counter :before,.focus-question-counter :after,.focus-card .focus-gesture-entry{transition:none!important;animation:none!important}.fqc-card{will-change:auto}.fqc-action:not(:disabled):hover .fqc-round{transform:none}}@media (prefers-reduced-transparency:reduce){.fqc-timer,.fqc-pause,.fqc-card,.fqc-round,.focus-card .focus-gesture-entry{box-shadow:none;background-image:none}}@media (forced-colors:active){.focus-question-counter{color:canvastext;background:canvas;border-color:canvastext}.fqc-timer,.fqc-pause,.fqc-card,.fqc-round,.fqc-deck:before,.fqc-deck:after,.focus-card .focus-gesture-entry,.focus-question-counter .fqc-save{forced-color-adjust:auto;border-color:buttontext;box-shadow:none!important;background-image:none!important}.fqc-stamp,.fqc-history-chip{border-color:currentColor}.focus-question-counter button:focus-visible,.focus-question-counter .fqc-card:focus-visible,.focus-card .focus-gesture-entry:focus-visible{outline-color:highlight}}.focus-question-form{margin-top:var(--space-5);padding-top:var(--space-5);border-top:1px solid var(--border-inverse);min-width:0}.focus-question-form fieldset{border:0;min-width:0;margin:0;padding:0}.focus-question-form legend{font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--text-inverse);margin-bottom:var(--space-3)}.focus-question-counts{gap:var(--space-3);grid-template-columns:1fr 1fr;display:grid}.focus-question-counts label{font-size:var(--text-xs);color:var(--text-inverse);font-weight:var(--weight-medium);min-width:0}.focus-question-counts label:last-child{color:var(--danger-inverse)}.focus-question-counts input{width:100%;margin-top:var(--space-2);background:var(--surface-inverse-raised);border:1px solid var(--border-inverse);min-width:0;color:var(--text-inverse);border-radius:var(--radius-sm);height:calc(var(--control-height) + var(--space-2));padding:var(--space-2) var(--space-3);font-size:var(--text-lg);font-weight:var(--weight-strong);line-height:var(--line-heading);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;display:block}.focus-question-counts label:last-child input{border-color:var(--danger-inverse)}.focus-question-counts input:focus{box-shadow:var(--shadow-sm);outline:2px solid var(--focus-ring-inverse);outline-offset:3px;border-color:var(--focus-ring-inverse)!important}.focus-session-summary{justify-content:space-between;gap:var(--space-2);color:var(--muted-inverse);font-size:var(--text-xs);line-height:var(--line-body);margin:var(--space-3) 0 var(--space-4);font-variant-numeric:tabular-nums;flex-wrap:wrap;display:flex}.focus-save-session{justify-content:center;align-items:center;gap:var(--space-2);background:var(--accent-soft);border:1px solid var(--accent-soft);width:100%;color:var(--accent-ink);min-height:var(--control-height);padding:var(--space-2) var(--space-3);border-radius:var(--radius-sm);font-size:var(--text-xs);font-weight:var(--weight-strong);display:flex}.focus-save-session:hover{background:var(--surface)}.focus-save-note{text-align:center;color:var(--muted-inverse);font-size:var(--text-xs);line-height:var(--line-body);margin:var(--space-2) 0 0}.focus-question-error{font-size:var(--text-xs);color:var(--danger-inverse);line-height:var(--line-body);margin:0 0 var(--space-3)}.focus-card:has(.focus-question-form) .focus-button-row{margin-top:0}.focus-question-form .focus-question-counts input{font-family:var(--font-body)}@media (width<=700px){.focus-question-counts label{font-size:var(--text-xs)}.focus-question-counts input{height:calc(var(--control-height) + var(--space-2));font-size:var(--text-lg)}.focus-session-summary{font-size:var(--text-xs)}.focus-save-session{font-size:var(--text-sm);min-height:var(--control-height)}.focus-save-note{font-size:var(--text-xs)}}.focus-card{border-radius:var(--radius-lg);transition:background-color var(--duration-normal) var(--ease-standard),border-color var(--duration-normal) var(--ease-standard)}.focus-card .focus-clock-area{aspect-ratio:1;width:min(100%,210px);margin:var(--space-4) auto var(--space-2);flex-shrink:0;align-self:center;place-items:center;display:grid;position:relative}.focus-card .focus-progress-ring{width:100%;height:100%;position:absolute;inset:0;overflow:visible;transform:rotate(-90deg)}.focus-progress-ring circle{fill:none;stroke-width:2.5px}.focus-progress-ring .focus-ring-track{stroke:color-mix(in srgb, var(--border-inverse) 35%, transparent)}.focus-progress-ring .focus-ring-progress{stroke:var(--accent-soft);stroke-linecap:round;transition:stroke-dashoffset 1s linear,stroke var(--duration-normal)}.focus-progress-ring .focus-ring-free{stroke:var(--muted-inverse);stroke-dasharray:2 14;stroke-linecap:round;opacity:.65}.focus-clock-content{width:100%;padding:var(--space-5) var(--space-2);flex-direction:column;align-items:center;display:flex;position:relative}.focus-card .focus-clock-area .focus-clock{margin:var(--space-1) 0 var(--space-1);font-size:var(--text-timer-small);letter-spacing:var(--tracking-data);line-height:var(--line-heading);white-space:nowrap}.focus-card .focus-clock-area .focus-clock>span{padding:0 var(--space-1);color:var(--text-inverse);transform:translateY(-2px)}.focus-timer-status,.focus-timer-caption{justify-content:center;align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted-inverse);line-height:var(--line-body);display:flex}.focus-card.is-completed .focus-ring-progress{stroke:var(--accent-soft);stroke-width:3.5px}.focus-card.is-completed .focus-timer-status{color:var(--muted-inverse)}.focus-card .focus-kicker .live-dot{transition:box-shadow var(--duration-normal)}.focus-card.is-running .focus-kicker .live-dot{box-shadow:var(--shadow-sm)}.focus-card .focus-button-row{margin-top:var(--space-1)}.focus-card .focus-start,.focus-card .focus-save-session,.focus-card .focus-stop{border-radius:var(--radius-md);min-height:var(--control-height);transition:background-color var(--duration-normal),transform var(--duration-normal),box-shadow var(--duration-normal)}.focus-card .focus-start:active,.focus-card .focus-save-session:active{transform:scale(.99)}.focus-card .focus-save-session:focus-visible,.focus-card .focus-start:focus-visible,.focus-card .focus-stop:focus-visible,.focus-card .timer-mode button:focus-visible{outline:2px solid var(--focus-ring-inverse);outline-offset:3px}.focus-card .focus-controls select{border-radius:var(--radius-sm)}.focus-card .focus-controls select:disabled{opacity:.8;cursor:default}.focus-card .focus-controls{min-width:0}.focus-card .focus-controls select.focus-topic{text-overflow:ellipsis;min-width:0}.focus-card .timer-mode{margin-top:var(--space-1);margin-bottom:var(--space-4)}.focus-card .timer-mode button{padding:var(--space-2) var(--space-1);min-height:var(--control-height)}.focus-card .timer-mode button:disabled{opacity:.65}.focus-card .timer-mode button.selected{color:var(--text-inverse);font-weight:var(--weight-strong)}.focus-card .focus-question-counts input{border-radius:var(--radius-sm)}.focus-other-environment{justify-content:center;align-items:center;gap:var(--space-3);text-align:center;padding:var(--space-8) 0 var(--space-4);flex-direction:column;flex:1;display:flex}.focus-other-icon{color:var(--text-inverse);border:1px solid var(--border-inverse);background:var(--surface-inverse-raised);border-radius:50%;place-items:center;width:75px;height:75px;display:grid}.focus-other-environment strong{font-size:var(--text-sm);line-height:var(--line-body);font-weight:var(--weight-strong);overflow-wrap:anywhere;color:var(--text-inverse)}.focus-other-environment p{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted-inverse);max-width:260px}.focus-other-environment .focus-start{margin-top:var(--space-2);justify-content:center}.focus-other-environment .focus-start>svg:last-child{margin-left:0}.focus-page .focus-card .focus-clock-area{width:min(100%,252px);margin-top:var(--space-6);margin-bottom:var(--space-3)}.focus-page .focus-card .focus-clock-area .focus-clock{font-size:var(--text-timer);letter-spacing:var(--tracking-data)}.focus-page .focus-card .focus-timer-status,.focus-page .focus-card .focus-timer-caption,.focus-page .focus-card .timer-mode button{font-size:var(--text-xs)}@media (width<=1050px) and (width>=701px){.dashboard-middle .focus-card .focus-clock-area{width:min(100%,185px)}.dashboard-middle .focus-card .focus-clock-area .focus-clock{font-size:var(--text-timer-small)}.focus-card .focus-start{font-size:var(--text-xs)}}@media (width<=700px){.focus-card{border-radius:var(--radius-lg)}.focus-card .focus-clock-area{width:min(100%,238px);margin-top:var(--space-5)}.focus-card .focus-clock-area .focus-clock{font-size:var(--text-timer)}.focus-card .focus-timer-status,.focus-card .focus-timer-caption{font-size:var(--text-xs)}.focus-card .timer-mode button,.focus-card .focus-start,.focus-card .focus-controls select,.focus-card .focus-controls select.focus-topic{font-size:var(--text-xs);min-height:var(--control-height)}.focus-card .focus-controls{gap:var(--space-2)}.focus-card .focus-clock-area .focus-clock>span{padding:0 var(--space-1)}.focus-card .focus-save-session{min-height:var(--control-height)}.focus-card .focus-question-counts input{min-height:calc(var(--control-height) + var(--space-2));font-size:var(--text-lg)}.focus-other-environment{padding:var(--space-7) 0 var(--space-5)}.focus-other-environment p{font-size:var(--text-xs)}.focus-other-environment strong{font-size:var(--text-base)}}@media (width<=400px){.focus-card .focus-controls{flex-direction:column}.focus-card .focus-controls select.focus-topic{font-size:var(--text-xs)}.focus-card .focus-clock-area{width:min(100%,225px)}.focus-page .focus-card .focus-clock-area .focus-clock{font-size:var(--text-timer)}.focus-card .focus-session-summary{font-size:var(--text-xs)}.focus-card .focus-question-counts{gap:var(--space-2)}}@media (prefers-reduced-motion:reduce){.focus-card,.focus-card .focus-ring-progress,.focus-card .focus-start,.focus-card .focus-save-session,.focus-card .focus-stop,.focus-card .focus-kicker .live-dot{transition:none}.focus-card .focus-start:active,.focus-card .focus-save-session:active{transform:none}}.focus-activity-field{min-width:0;margin:var(--space-4) 0 0;border:0;padding:0}.focus-activity-field legend{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-inverse);margin-bottom:var(--space-2)}.focus-activity-options{gap:var(--space-1);background:var(--surface-inverse-raised);border:1px solid var(--border-inverse);border-radius:var(--radius-md);padding:var(--space-1);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.focus-activity-options button{min-width:0;min-height:var(--control-height);padding:var(--space-1) var(--space-1);border-radius:var(--radius-sm);font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--text-inverse);transition:background-color var(--duration-normal),color var(--duration-normal),border-color var(--duration-normal);border:1px solid #0000}.focus-activity-options button.selected{color:var(--text-inverse);background:var(--surface-inverse-hover);border-color:var(--border-inverse);font-weight:var(--weight-strong)}.focus-activity-options button:disabled{cursor:default}.focus-activity-options button:focus-visible{outline:2px solid var(--focus-ring-inverse);outline-offset:2px}.focus-card .focus-review-banner{align-items:center;gap:var(--space-1);margin:var(--space-3) 0 0;padding:var(--space-2) var(--space-2);background:var(--surface-inverse-raised);border:1px solid var(--border-inverse);border-radius:var(--radius-sm);color:var(--text-inverse);font-size:var(--text-xs);line-height:var(--line-body);display:flex}.focus-review-banner svg{flex-shrink:0}.focus-review-choice{margin-top:var(--space-3);padding:var(--space-2) var(--space-3);border:1px solid var(--border-inverse);background:var(--surface-inverse-raised);border-radius:var(--radius-md)}.focus-review-choice label{align-items:center;gap:var(--space-2);font-size:var(--text-xs);color:var(--text-inverse);font-weight:var(--weight-medium);line-height:var(--line-body);min-height:var(--control-height);display:flex}.focus-review-choice input{appearance:auto;width:15px;height:15px;accent-color:var(--accent-soft);cursor:pointer;box-shadow:var(--shadow-sm);flex-shrink:0;margin:0;padding:0}.focus-review-choice input:disabled{cursor:default}.focus-card .focus-review-choice p{margin:var(--space-1) 0 0 var(--space-6);color:var(--muted-inverse);font-size:var(--text-xs);line-height:var(--line-body)}.focus-review-choice.is-enabled{background:var(--surface-inverse-hover)}.focus-page .focus-card .focus-activity-field legend{font-size:var(--text-xs)}.focus-page .focus-card .focus-activity-options button{font-size:var(--text-xs);min-height:var(--control-height)}.focus-page .focus-card .focus-review-choice label,.focus-page .focus-card .focus-review-choice p{font-size:var(--text-xs)}@media (width<=700px){.focus-card .focus-activity-field legend{font-size:var(--text-xs)}.focus-card .focus-activity-options button{min-height:var(--control-height);font-size:var(--text-xs)}.focus-card .focus-review-choice label{font-size:var(--text-xs)}.focus-card .focus-review-choice input{width:17px;height:17px}.focus-card .focus-review-choice p{font-size:var(--text-xs);margin-left:var(--space-6)}.focus-card .focus-review-banner{font-size:var(--text-xs)}.focus-card .focus-review-choice{padding:var(--space-3)}.focus-activity-field{margin-top:var(--space-4)}}@media (prefers-reduced-motion:reduce){.focus-activity-options button{transition:none}}.focus-detach-review{margin:0 0 var(--space-3);padding:var(--space-2) var(--space-3);border:1px solid var(--border-inverse);background:var(--surface-inverse-raised);border-radius:var(--radius-sm)}.focus-detach-review button{padding:var(--space-1) 0;color:var(--text-inverse);text-underline-offset:3px;font-size:var(--text-xs);line-height:var(--line-body);text-align:left;text-decoration:underline}.focus-card .focus-detach-review p{margin:var(--space-1) 0 0;color:var(--muted-inverse);font-size:var(--text-xs);line-height:var(--line-body)}.focus-detach-review button:focus-visible{outline:2px solid var(--focus-ring-inverse);outline-offset:3px}@media (width<=700px){.focus-detach-review button{font-size:var(--text-xs);min-height:var(--control-height)}.focus-card .focus-detach-review p{font-size:var(--text-xs)}}.focus-card .focus-selection-note{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted-inverse);margin:var(--space-2) 0 var(--space-3)}.focus-card .focus-mode-note{font-size:var(--text-xs);line-height:var(--line-body);text-align:center;color:var(--muted-inverse);margin:0 0 var(--space-4)}.focus-card .focus-review-active{align-items:flex-start;gap:var(--space-2);margin-top:var(--space-3);padding:var(--space-3);border:1px solid var(--border-inverse);border-radius:var(--radius-md);background:var(--surface-inverse-raised);color:var(--text-inverse);display:flex}.focus-review-active>svg{margin-top:var(--space-1);flex-shrink:0}.focus-review-active strong{font-size:var(--text-xs);font-weight:var(--weight-strong);line-height:var(--line-body)}.focus-card .focus-review-active p{margin:var(--space-1) 0 0;color:var(--muted-inverse);font-size:var(--text-xs);line-height:var(--line-body)}@media (width<=700px){.focus-review-active strong,.focus-card .focus-review-active p{font-size:var(--text-xs)}}.ritmo-reviews{min-width:0;color:var(--ink);--rr-line:var(--line);--rr-muted:var(--muted)}.ritmo-reviews button,.rr-home-alert button{touch-action:manipulation}.rr-intro{padding:var(--space-2) var(--space-1) var(--space-6)}.rr-eyebrow{align-items:center;gap:var(--space-1);letter-spacing:var(--tracking-wide);font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--muted);display:flex}.rr-intro h2{font-family:var(--font-display);font-size:var(--text-xl);line-height:var(--line-heading);letter-spacing:var(--tracking-tight);margin:var(--space-3) 0 var(--space-2);color:var(--ink)}.rr-intro>p{font-size:var(--text-sm);line-height:var(--line-body);max-width:650px;color:var(--muted)}.rr-intro-foot{align-items:center;gap:var(--space-2);font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-3);display:flex}.rr-summary{gap:var(--space-3);margin-bottom:var(--space-6);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.rr-summary>div{padding:var(--space-5) var(--space-5);border:1px solid var(--rr-line);border-radius:var(--radius-lg);background:var(--surface);min-width:0}.rr-summary span{font-size:var(--text-xs);color:var(--muted);display:block}.rr-summary strong{font-family:var(--font-data);font-size:var(--text-xl);color:var(--ink);font-weight:var(--weight-strong);margin-top:var(--space-2);font-variant-numeric:tabular-nums;display:block}.rr-summary small{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);line-height:var(--line-body);display:block}.rr-expired-notice{gap:var(--space-2);background:var(--warning-surface);border:1px solid var(--warning-border);border-radius:var(--radius-lg);padding:var(--space-4) var(--space-4);margin-bottom:var(--space-5);color:var(--warning);align-items:center;display:flex}.rr-expired-notice>svg{flex-shrink:0}.rr-expired-notice p{font-size:var(--text-sm);line-height:var(--line-body);flex:1;min-width:0}.rr-expired-notice strong{font-weight:var(--weight-strong)}.rr-expired-notice button{gap:var(--space-1);font-size:var(--text-xs);font-weight:var(--weight-strong);min-height:var(--control-size-sm);flex-shrink:0;align-items:center;display:flex}.rr-queue{margin-bottom:var(--space-6)}.rr-queue-controls{justify-content:space-between;align-items:center;gap:var(--space-4);margin-bottom:var(--space-4);display:flex}.rr-tabs{gap:var(--space-1);background:var(--surface-subtle);padding:var(--space-1);border-radius:var(--radius-md);flex-shrink:0;display:flex}.rr-tabs button{align-items:center;gap:var(--space-2);padding:var(--space-2) var(--space-3);min-height:var(--control-size-sm);color:var(--muted);border-radius:var(--radius-md);font-size:var(--text-sm);transition:background var(--duration-normal),color var(--duration-normal),box-shadow var(--duration-normal);display:flex}.rr-tabs button[aria-pressed=true]{color:var(--green);background:var(--surface-selected);box-shadow:var(--shadow-sm);font-weight:var(--weight-strong)}.rr-tabs button span{background:var(--surface-muted);color:var(--muted);border-radius:var(--radius-sm);padding:var(--space-1) var(--space-1);font-size:var(--text-xs);line-height:var(--line-body);text-align:center;min-width:16px}.rr-filter{align-items:center;gap:var(--space-2);font-size:var(--text-xs);color:var(--muted);min-width:0;display:flex}.rr-filter select{font-size:var(--text-base);min-height:var(--control-height);border:1px solid var(--rr-line);background:var(--surface);min-width:0;max-width:220px;color:var(--ink);border-radius:var(--radius-md);padding:var(--space-2) var(--space-7) var(--space-2) var(--space-3)}.rr-review-grid{gap:var(--space-3);animation:rrReveal var(--duration-normal) var(--ease-standard);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.rr-review-card{background:var(--surface);border:1px solid var(--rr-line);border-top:3px solid var(--review-color);border-radius:var(--radius-lg);padding:var(--space-4);flex-direction:column;min-width:0;display:flex}.rr-review-top{justify-content:space-between;align-items:center;gap:var(--space-2);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.rr-review-stage{align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);display:flex}.rr-review-state{font-size:var(--text-xs);padding:var(--space-1) var(--space-2);background:var(--mint);color:var(--muted);border-radius:var(--radius-sm)}.rr-review-late .rr-review-state,.rr-review-expired .rr-review-state{background:var(--warning-surface);color:var(--warning)}.rr-review-card h3{font-size:var(--text-sm);line-height:var(--line-heading);letter-spacing:var(--tracking-tight);color:var(--ink);overflow-wrap:anywhere}.rr-review-card>p{font-size:var(--text-sm);color:var(--muted);line-height:var(--line-body);margin-top:var(--space-1);overflow-wrap:anywhere}.rr-review-meta{align-items:center;gap:var(--space-3);margin-top:var(--space-4);margin-bottom:var(--space-4);flex-wrap:wrap;display:flex}.rr-review-meta>span{align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);display:flex}.rr-review-actions{gap:var(--space-2);border-top:1px solid var(--line);padding-top:var(--space-3);flex-wrap:wrap;align-items:center;margin-top:auto;display:flex}.rr-review-actions .btn{font-size:var(--text-xs);padding:var(--space-2) var(--space-2);min-height:var(--control-size-sm);gap:var(--space-1);box-shadow:var(--shadow-sm)}.rr-log-review{align-items:center;gap:var(--space-1);color:var(--muted);font-size:var(--text-xs);min-height:34px;display:flex}.rr-early-hint{font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body);margin-top:var(--space-2);display:block}.rr-review-card>.rr-expired-help{font-size:var(--text-xs);line-height:var(--line-body);color:var(--warning);border-top:1px solid var(--warning-border);padding-top:var(--space-3);margin-top:auto}.rr-queue-empty{background:var(--mint);border:1px dashed var(--line);border-radius:var(--radius-lg);min-height:205px;padding:var(--space-7);text-align:center;animation:rrReveal var(--duration-normal) var(--ease-standard);flex-direction:column;justify-content:center;align-items:center;display:flex}.rr-queue-empty>span{border-radius:var(--radius-pill);background:var(--mint);width:43px;height:43px;color:var(--muted);margin-bottom:var(--space-3);place-items:center;display:grid}.rr-queue-empty h3{font-size:var(--text-sm);line-height:var(--line-heading);color:var(--muted)}.rr-queue-empty p{font-size:var(--text-sm);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-2);max-width:350px}.rr-panel{border:1px solid var(--rr-line);border-radius:var(--radius-lg);background:var(--surface);padding:var(--space-6);margin-bottom:var(--space-5);min-width:0}.rr-section-heading{align-items:center;gap:var(--space-3);margin-bottom:var(--space-5);display:flex}.rr-section-icon{border-radius:var(--radius-md);background:var(--mint);width:37px;height:37px;color:var(--muted);flex-shrink:0;place-items:center;display:grid}.rr-section-heading>div{min-width:0}.rr-section-heading h2{font-family:var(--font-display);letter-spacing:var(--tracking-tight);line-height:var(--line-heading);font-size:var(--text-base);color:var(--ink)}.rr-section-heading p{font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body);margin-top:var(--space-1)}.ritmo-reviews form label:not(.rr-opt-in){color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-medium);line-height:var(--line-body);display:block}.rr-dates form>label{max-width:330px}.rr-dates form>label>span{font-size:var(--text-xs);font-weight:var(--weight-regular);color:var(--muted);margin-left:var(--space-1)}.ritmo-reviews form input[type=date],.ritmo-reviews form input[type=number]{background:var(--mint);border:1px solid var(--line);border-radius:var(--radius-md);width:100%;min-width:0;max-width:100%;min-height:var(--control-height);color:var(--ink);margin-top:var(--space-2);font-size:var(--text-base);padding:var(--space-2) var(--space-3);font-weight:var(--weight-regular);appearance:none;box-shadow:var(--shadow-sm);display:block}.ritmo-reviews form input::-webkit-date-and-time-value{text-align:left;min-width:0}.ritmo-reviews input:focus-visible,.ritmo-reviews select:focus-visible,.ritmo-reviews button:focus-visible,.rr-home-alert button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.rr-field-help{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-2);max-width:650px}.rr-expand-dates{justify-content:space-between;align-items:center;gap:var(--space-3);width:100%;margin-top:var(--space-4);border-top:1px solid var(--line);padding:var(--space-3) 0 var(--space-1);color:var(--muted);font-size:var(--text-xs);font-weight:var(--weight-strong);text-align:left;min-height:42px;display:flex}.rr-expand-dates svg{transition:transform var(--duration-normal);flex-shrink:0}.rr-expand-dates[aria-expanded=true] svg{transform:rotate(180deg)}.rr-subject-dates{gap:var(--space-4) var(--space-5);padding-top:var(--space-3);animation:rrReveal var(--duration-normal) var(--ease-standard);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.rr-date-subject{align-items:center;gap:var(--space-1);overflow-wrap:anywhere;display:flex}.rr-date-subject i,.rr-subject-group>h3>i{border-radius:var(--radius-pill);flex-shrink:0;width:6px;height:6px;display:inline-block}.rr-subject-dates>.rr-field-help{grid-column:1/-1;margin-top:0}.rr-dates-footer{justify-content:flex-end;align-items:center;gap:var(--space-4);border-top:1px solid var(--line);margin-top:var(--space-4);padding-top:var(--space-3);display:flex}.rr-save-status{color:var(--muted);font-size:var(--text-xs);line-height:var(--line-body);margin-right:auto}.rr-dates-footer .btn{font-size:var(--text-xs);min-height:var(--control-size-sm);gap:var(--space-1);white-space:nowrap}.rr-error{color:var(--danger);font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-3)}.rr-subject-group{margin-top:var(--space-5)}.rr-subject-group>h3{align-items:center;gap:var(--space-2);color:var(--ink);font-size:var(--text-sm);margin-bottom:var(--space-3);overflow-wrap:anywhere;display:flex}.rr-subject-group>h3>span{font-size:var(--text-xs);font-weight:var(--weight-medium);color:var(--muted);flex-shrink:0;margin-left:auto}.rr-topic{border:1px solid var(--line);border-radius:var(--radius-md);margin-top:var(--space-2);padding:var(--space-3) var(--space-3);background:var(--mint);min-width:0}.rr-topic-enabled{border-color:var(--line);background:var(--mint)}.rr-topic-heading{justify-content:space-between;align-items:center;gap:var(--space-3);display:flex}.rr-topic-heading>div{min-width:0}.rr-topic-heading strong{font-size:var(--text-xs);line-height:var(--line-body);color:var(--ink);overflow-wrap:anywhere;font-weight:var(--weight-strong);display:block}.rr-topic-heading>div>span{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-1);display:block}.rr-topic-enabled .rr-topic-heading>div>span{color:var(--muted)}.rr-configure{align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);min-height:34px;padding:var(--space-1);flex-shrink:0;display:flex}.rr-configure:hover,.rr-configure[aria-expanded=true]{color:var(--green)}.rr-topic-form{border-top:1px solid var(--line);padding-top:var(--space-4);margin-top:var(--space-3);animation:rrReveal var(--duration-normal) var(--ease-standard)}.rr-opt-in{align-items:center;gap:var(--space-2);color:var(--ink);font-size:var(--text-xs);line-height:var(--line-body);font-weight:var(--weight-strong);cursor:pointer;min-height:30px;display:flex}.rr-opt-in input[type=checkbox]{width:18px;height:18px;accent-color:var(--ink);flex-shrink:0;margin:0}.rr-topic-fields{gap:var(--space-4);margin-top:var(--space-3);grid-template-columns:1.25fr 1fr;max-width:550px;display:grid}.rr-pause-note{font-size:var(--text-xs);line-height:var(--line-body);color:var(--warning);background:var(--warning-surface);padding:var(--space-2) var(--space-3);border-radius:var(--radius-md);margin-top:var(--space-2)}.rr-form-actions{align-items:center;gap:var(--space-5);margin-top:var(--space-4);justify-content:flex-end;display:flex}.rr-form-actions>button{align-items:center;gap:var(--space-1);color:var(--muted);font-size:var(--text-xs);min-height:var(--control-size-sm);display:flex}.rr-form-actions>button[type=submit]{color:var(--green);font-weight:var(--weight-strong)}.rr-config-empty,.rr-no-topics{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);padding:var(--space-4);border:1px dashed var(--line);border-radius:var(--radius-md);background:var(--mint)}.rr-no-topics{font-size:var(--text-xs);padding:var(--space-3)}.rr-history-row{align-items:center;gap:var(--space-3);padding:var(--space-4) 0;border-top:1px solid var(--line);display:flex}.rr-history-check{background:var(--mint);border-radius:var(--radius-md);width:30px;height:30px;color:var(--muted);flex-shrink:0;place-items:center;display:grid}.rr-history-row>div{flex:1;min-width:0}.rr-history-row>div>strong{font-size:var(--text-xs);line-height:var(--line-body);color:var(--ink);font-weight:var(--weight-strong);overflow-wrap:anywhere;display:block}.rr-history-row p{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);line-height:var(--line-body);overflow-wrap:anywhere}.rr-history-row time{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);display:block}.rr-history-result{text-align:right;flex-shrink:0;min-width:0;max-width:32%;display:block}.rr-history-result strong{font-family:var(--font-display);font-size:var(--text-sm);font-weight:var(--weight-strong);color:var(--muted);overflow-wrap:anywhere;display:block}.rr-history-result small{font-size:var(--text-xs);color:var(--muted);margin-top:var(--space-1);overflow-wrap:anywhere;display:block}.rr-history-more{align-items:center;gap:var(--space-1);font-size:var(--text-xs);color:var(--muted);min-height:38px;margin:var(--space-2) auto 0;display:flex}.rr-home-alert{align-items:center;gap:var(--space-3);border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--mint);padding:var(--space-4) var(--space-5);margin-bottom:var(--space-5);min-width:0;display:flex}.rr-home-icon{border-radius:var(--radius-md);background:var(--surface-muted);width:37px;height:37px;color:var(--muted);flex-shrink:0;place-items:center;display:grid}.rr-home-alert>div{flex:1;min-width:0}.rr-home-alert strong{font-family:var(--font-display);font-size:var(--text-sm);color:var(--ink);line-height:var(--line-body);font-weight:var(--weight-strong);display:block}.rr-home-alert p{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-1);overflow-wrap:anywhere}.rr-home-alert>button{align-items:center;gap:var(--space-1);font-size:var(--text-xs);min-height:var(--control-size-sm);color:var(--green);font-weight:var(--weight-strong);flex-shrink:0;display:flex}.rr-home-overdue{background:var(--warning-surface);border-color:var(--warning-border)}.rr-home-overdue .rr-home-icon{background:var(--warning-surface);color:var(--warning)}.rr-home-overdue strong,.rr-home-overdue>button,.rr-home-overdue p{color:var(--warning)}@keyframes rrReveal{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.rr-dates{scroll-margin-top:24px}.rr-dates:focus{outline:2px solid var(--focus-ring);outline-offset:4px}.rr-dates .rr-section-heading>div{flex:1}.rr-exam-countdown{font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--muted);background:var(--mint);border-radius:var(--radius-md);padding:var(--space-2) var(--space-2);white-space:nowrap;flex-shrink:0;display:inline-block}.rr-exam-soon{background:var(--warning-surface);color:var(--warning)}.rr-date-reminder-note{align-items:flex-start;gap:var(--space-1);font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-2);max-width:650px;display:flex}.rr-date-reminder-note>svg{margin-top:var(--space-1);flex-shrink:0}.rr-date-expired-note{font-size:var(--text-xs);line-height:var(--line-body);color:var(--warning);background:var(--warning-surface);border-radius:var(--radius-md);padding:var(--space-2) var(--space-2);margin-top:var(--space-2);max-width:650px}@media (width<=700px){.rr-dates{scroll-margin-top:15px}.rr-dates .rr-section-heading{flex-wrap:wrap}.rr-dates .rr-section-heading>div{flex-basis:calc(100% - 43px)}.rr-exam-countdown{margin-left:var(--space-9);margin-top:calc(-1 * var(--space-1));font-size:var(--text-xs);padding:var(--space-1) var(--space-2)}.rr-date-reminder-note,.rr-date-expired-note{font-size:var(--text-xs);line-height:var(--line-body)}}@media (width>=701px) and (width<=1150px){.rr-review-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rr-tabs button{padding:var(--space-2) var(--space-2)}.rr-filter select{max-width:170px}.rr-review-actions .btn{font-size:var(--text-xs)}.rr-summary>div{padding:var(--space-4) var(--space-4)}.rr-summary span{font-size:var(--text-xs)}}@media (width<=700px){.rr-intro{padding:var(--space-1) 0 var(--space-5)}.rr-eyebrow{font-size:var(--text-xs);letter-spacing:var(--tracking-wide)}.rr-intro h2{font-size:var(--text-lg);letter-spacing:var(--tracking-tight);line-height:var(--line-heading);margin-top:var(--space-3)}.rr-intro>p{font-size:var(--text-sm);line-height:var(--line-body)}.rr-intro-foot{font-size:var(--text-xs);align-items:flex-start;gap:var(--space-1)}.rr-intro-foot>svg{margin-top:var(--space-1);flex-shrink:0}.rr-summary{gap:var(--space-2);margin-bottom:var(--space-5)}.rr-summary>div{padding:var(--space-3) var(--space-2);border-radius:var(--radius-lg)}.rr-summary span{font-size:var(--text-xs);line-height:var(--line-body);min-height:30px}.rr-summary strong{font-size:var(--text-xl);margin-top:var(--space-2)}.rr-summary small{font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-1)}.rr-expired-notice{align-items:flex-start;gap:var(--space-2);padding:var(--space-3);flex-wrap:wrap}.rr-expired-notice>svg{margin-top:var(--space-1)}.rr-expired-notice p{font-size:var(--text-sm);line-height:var(--line-body);flex-basis:calc(100% - 29px)}.rr-expired-notice button{font-size:var(--text-sm);min-height:var(--control-size-sm);margin-left:auto}.rr-queue-controls{align-items:stretch;gap:var(--space-3);margin-bottom:var(--space-3);flex-direction:column}.rr-tabs{width:100%}.rr-tabs button{font-size:var(--text-sm);justify-content:center;gap:var(--space-1);padding:var(--space-2) var(--space-1);min-height:var(--control-height);flex:1}.rr-tabs button span{font-size:var(--text-xs)}.rr-filter{font-size:var(--text-xs);justify-content:space-between}.rr-filter select{font-size:var(--text-base);min-height:var(--control-height);max-width:75%;padding:var(--space-2) var(--space-6) var(--space-2) var(--space-2)}.rr-review-grid{gap:var(--space-3);grid-template-columns:1fr}.rr-review-card{padding:var(--space-4) var(--space-4);border-radius:var(--radius-lg)}.rr-review-top{margin-bottom:var(--space-3)}.rr-review-stage{font-size:var(--text-xs)}.rr-review-state{font-size:var(--text-xs);padding:var(--space-1) var(--space-2)}.rr-review-card h3{font-size:var(--text-base);line-height:var(--line-heading)}.rr-review-card>p{font-size:var(--text-sm)}.rr-review-meta{gap:var(--space-4);margin-top:var(--space-4);margin-bottom:var(--space-4)}.rr-review-meta>span{font-size:var(--text-xs)}.rr-review-actions{gap:var(--space-3);padding-top:var(--space-3)}.rr-review-actions .btn{font-size:var(--text-sm);min-height:var(--control-height);padding:var(--space-2) var(--space-3);gap:var(--space-1)}.rr-log-review{font-size:var(--text-xs);gap:var(--space-1);min-height:42px}.rr-early-hint{font-size:var(--text-xs);margin-top:var(--space-2)}.rr-review-card>.rr-expired-help{font-size:var(--text-xs)}.rr-queue-empty{padding:var(--space-6) var(--space-4);min-height:205px}.rr-queue-empty h3{font-size:var(--text-sm);line-height:var(--line-heading)}.rr-queue-empty p{font-size:var(--text-sm)}.rr-panel{padding:var(--space-4) var(--space-4);border-radius:var(--radius-lg);margin-bottom:var(--space-4)}.rr-section-heading{gap:var(--space-2);margin-bottom:var(--space-5);align-items:flex-start}.rr-section-icon{border-radius:var(--radius-md);width:32px;height:32px}.rr-section-icon svg{width:17px}.rr-section-heading h2{font-size:var(--text-sm);line-height:var(--line-heading)}.rr-section-heading p{font-size:var(--text-xs);line-height:var(--line-body)}.ritmo-reviews form label:not(.rr-opt-in){font-size:var(--text-xs)}.rr-dates form>label{max-width:none}.ritmo-reviews form input[type=date],.ritmo-reviews form input[type=number]{font-size:var(--text-base);min-height:45px;padding:var(--space-2);letter-spacing:normal}.ritmo-reviews form input[type=date]::-webkit-datetime-edit{font-size:var(--text-base)}.rr-field-help{font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-2)}.rr-expand-dates{font-size:var(--text-xs);min-height:45px;line-height:var(--line-body)}.rr-subject-dates{gap:var(--space-4);grid-template-columns:1fr}.rr-date-subject{font-size:var(--text-sm)}.rr-dates-footer{gap:var(--space-2);flex-wrap:wrap;justify-content:flex-end}.rr-save-status{font-size:var(--text-xs);flex-basis:100%}.rr-save-status:empty{display:none}.rr-dates-footer .btn{font-size:var(--text-sm);min-height:var(--control-height)}.rr-subject-group{margin-top:var(--space-5)}.rr-subject-group>h3{font-size:var(--text-sm);gap:var(--space-2);line-height:var(--line-heading)}.rr-subject-group>h3>span{font-size:var(--text-xs)}.rr-topic{padding:var(--space-3) var(--space-3);border-radius:var(--radius-md)}.rr-topic-heading{gap:var(--space-2)}.rr-topic-heading strong{font-size:var(--text-sm);line-height:var(--line-body)}.rr-topic-heading>div>span{font-size:var(--text-xs)}.rr-configure{font-size:var(--text-xs);gap:var(--space-1);min-height:39px;padding:var(--space-1);align-self:flex-start}.rr-configure>svg{flex-shrink:0;width:13px}.rr-topic-form{padding-top:var(--space-3);margin-top:var(--space-3)}.rr-opt-in{font-size:var(--text-sm);gap:var(--space-2);min-height:35px}.rr-opt-in input[type=checkbox]{width:var(--control-height);height:var(--control-height)}.rr-topic-fields{gap:var(--space-2);grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.rr-topic-fields>label{font-size:var(--text-xs)!important}.rr-topic-fields input[type=date]{padding:var(--space-2) var(--space-1)}.rr-topic-fields input::-webkit-calendar-picker-indicator{width:14px;margin:0;padding:0}.rr-form-actions{gap:var(--space-4);margin-top:var(--space-4)}.rr-form-actions>button{font-size:var(--text-sm);min-height:var(--control-height)}.rr-pause-note{font-size:var(--text-xs)}.rr-config-empty,.rr-no-topics{font-size:var(--text-xs);line-height:var(--line-body)}.rr-history-row{gap:var(--space-2);padding:var(--space-3) 0}.rr-history-row>div>strong,.rr-history-row p,.rr-history-row time{font-size:var(--text-xs)}.rr-history-result strong{font-size:var(--text-sm)}.rr-history-result small{font-size:var(--text-xs)}.rr-history-more{font-size:var(--text-xs);min-height:42px}.rr-home-alert{padding:var(--space-4) var(--space-3);gap:var(--space-2);border-radius:var(--radius-lg);margin-bottom:var(--space-4);flex-wrap:wrap;align-items:flex-start}.rr-home-icon{border-radius:var(--radius-md);width:32px;height:32px}.rr-home-icon svg{width:17px}.rr-home-alert>div{flex-basis:calc(100% - 43px)}.rr-home-alert strong{font-size:var(--text-sm);line-height:var(--line-body)}.rr-home-alert p{font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-1)}.rr-home-alert>button{font-size:var(--text-sm);min-height:var(--control-size-sm);gap:var(--space-2);margin-left:auto}}@media (prefers-reduced-motion:reduce){.rr-review-grid,.rr-queue-empty,.rr-subject-dates,.rr-topic-form{animation:none}.rr-tabs button,.rr-expand-dates svg{transition:none}}.re-exams{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--mint);margin-bottom:var(--space-5);min-width:0;color:var(--ink)}.re-exams button{align-items:center;gap:var(--space-1);font-size:var(--text-xs);font-weight:var(--weight-strong);min-height:var(--control-size-sm);color:var(--green);touch-action:manipulation;flex-shrink:0;display:flex}.re-exams button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px;border-radius:var(--radius-xs)}.re-exam-icon{background:var(--mint);width:36px;height:36px;color:var(--muted);border-radius:var(--radius-md);flex-shrink:0;place-items:center;display:grid}.re-exams h2{font-family:var(--font-display);font-size:var(--text-sm);font-weight:var(--weight-strong);line-height:var(--line-heading);color:var(--ink)}.re-exams p{font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body);margin-top:var(--space-1)}.re-exams-empty,.re-exams-expired{align-items:center;gap:var(--space-3);padding:var(--space-4) var(--space-5);display:flex}.re-exams-empty>div,.re-exams-expired>div{flex:1;min-width:0}.re-exams-upcoming{padding:var(--space-4) var(--space-5) var(--space-3)}.re-exams-heading{align-items:center;gap:var(--space-2);margin-bottom:var(--space-3);display:flex}.re-exams-heading>div{flex:1;min-width:0}.re-exams-heading p{font-size:var(--text-xs);margin:0}.re-exam-list{min-width:0}.re-exam-row{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-3) 0;border-top:1px solid var(--line);display:flex}.re-exam-row>div{min-width:0}.re-exam-row strong{overflow-wrap:anywhere;font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--ink);line-height:var(--line-body);display:block}.re-exam-row>div>span{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-1);overflow-wrap:anywhere;display:block}.re-exam-countdown{font-size:var(--text-xs);font-weight:var(--weight-strong);color:var(--ink);white-space:nowrap;background:var(--mint);border-radius:var(--radius-sm);padding:var(--space-1) var(--space-2);font-variant-numeric:tabular-nums;flex-shrink:0}.re-exams .re-exams-note{border-top:1px solid var(--line);padding-top:var(--space-2);font-size:var(--text-xs);margin-top:var(--space-1)}.re-exams-soon{border-color:var(--warning-border);background:var(--warning-surface)}.re-exams-soon .re-exam-icon{color:var(--warning);background:var(--warning-surface)}.re-exams-soon h2{color:var(--warning)}.re-exam-imminent .re-exam-countdown{background:var(--warning-surface);color:var(--warning)}.re-exams-expired{background:var(--warning-surface);border-color:var(--warning-border)}.re-exams-expired .re-exam-icon{background:var(--warning-surface);color:var(--warning)}.re-exams-expired h2{color:var(--warning)}.re-exams-footer{gap:var(--space-3);border-top:1px solid var(--line);align-items:center;display:flex}.re-exams-footer>p{flex:1;margin:0}.re-exams-footer>button{font-size:var(--text-xs);min-height:var(--control-size-sm)}.re-exams button:hover{color:var(--green)}@media (width<=700px){.re-exams{border-radius:var(--radius-lg);margin-bottom:var(--space-4)}.re-exams-empty,.re-exams-expired{padding:var(--space-4) var(--space-3);align-items:flex-start;gap:var(--space-2);flex-wrap:wrap}.re-exam-icon{border-radius:var(--radius-md);width:32px;height:32px}.re-exams-empty>div,.re-exams-expired>div{flex-basis:calc(100% - 43px)}.re-exams-empty>button,.re-exams-expired>button{min-height:var(--control-size-sm);font-size:var(--text-sm);margin-left:auto}.re-exams h2{font-size:var(--text-sm)}.re-exams p{font-size:var(--text-xs);line-height:var(--line-body)}.re-exams-upcoming{padding:var(--space-4) var(--space-3) var(--space-3)}.re-exams-heading{gap:var(--space-2);margin-bottom:var(--space-3)}.re-exams-heading>button{font-size:var(--text-xs);min-height:var(--control-size-sm);gap:var(--space-1)}.re-exam-row{gap:var(--space-2);padding:var(--space-3) 0}.re-exam-row strong{font-size:var(--text-sm)}.re-exam-row>div>span{font-size:var(--text-xs)}.re-exam-countdown{font-size:var(--text-xs);padding:var(--space-1) var(--space-2)}.re-exams .re-exams-note{font-size:var(--text-xs);line-height:var(--line-body)}.re-exams-footer{gap:var(--space-2)}.re-exams-footer>p{font-size:var(--text-xs)}.re-exams-footer>button{font-size:var(--text-xs);min-height:var(--control-size-sm)}}.schedule-deletion-confirmation{min-width:0;color:var(--ink)}.sdc-intro{font-size:var(--text-sm);line-height:var(--line-body);color:var(--muted);overflow-wrap:anywhere}.sdc-intro strong{color:var(--ink);font-weight:var(--weight-strong)}.sdc-scope{font-size:var(--text-sm);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-2)}.sdc-activity-list{overscroll-behavior:contain;max-height:245px;margin:var(--space-4) 0 0;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--mint);scrollbar-width:thin;padding:0;list-style:none;overflow-y:auto}.sdc-activity-list:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.sdc-activity-list>li{padding:var(--space-3) var(--space-3);border-bottom:1px solid var(--line);min-width:0}.sdc-activity-list>li:last-child{border-bottom:0}.sdc-activity-list strong{font-size:var(--text-xs);line-height:var(--line-body);font-weight:var(--weight-strong);color:var(--ink);overflow-wrap:anywhere;display:block}.sdc-activity-list p{font-size:var(--text-sm);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-1);overflow-wrap:anywhere}.sdc-activity-list li>div{gap:var(--space-2) var(--space-3);margin-top:var(--space-2);font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body);flex-wrap:wrap;align-items:center;display:flex}.sdc-activity-list li>div>span{align-items:center;gap:var(--space-1);display:flex}.sdc-activity-list li>div>span:last-child{font-size:var(--text-xs);border-radius:var(--radius-sm);padding:var(--space-1) var(--space-1);background:var(--warning-surface);color:var(--warning)}.sdc-activity-list li>div>span.sdc-done{background:var(--mint);color:var(--muted)}.sdc-preserved{align-items:flex-start;gap:var(--space-2);padding:var(--space-3) var(--space-3);background:var(--mint);border:1px solid var(--line);border-radius:var(--radius-md);margin-top:var(--space-5);font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);display:flex}.sdc-preserved>svg{margin-top:var(--space-1);color:var(--muted);flex-shrink:0}.sdc-blocked{border:1px solid var(--warning-border);background:var(--warning-surface);color:var(--warning);border-radius:var(--radius-md);padding:var(--space-3) var(--space-3);font-size:var(--text-sm);line-height:var(--line-body)}.sdc-actions{flex-wrap:wrap}.modal .schedule-deletion-confirmation .sdc-actions .btn{min-height:var(--control-height);white-space:normal;text-align:center}.sdc-actions .btn.danger{font-size:var(--text-sm)}@media (width<=700px){.sdc-intro,.sdc-scope{font-size:var(--text-sm)}.sdc-activity-list{max-height:225px}.sdc-activity-list>li{padding:var(--space-3)}.sdc-activity-list strong,.sdc-activity-list p{font-size:var(--text-sm)}.sdc-preserved{padding:var(--space-3);font-size:var(--text-xs)}.sdc-actions{gap:var(--space-2);grid-template-columns:minmax(80px,.8fr) minmax(0,1.4fr);display:grid}.sdc-actions .btn{font-size:var(--text-sm);padding:var(--space-2) var(--space-2)}}@media (width<=360px){.sdc-actions{grid-template-columns:1fr}.sdc-actions .btn{width:100%}}.subject-deletion-confirmation{min-width:0;color:var(--ink)}.sudc-intro{font-size:var(--text-sm);line-height:var(--line-body);color:var(--muted);overflow-wrap:anywhere}.sudc-intro strong{color:var(--ink);font-weight:var(--weight-strong)}.sudc-scope{font-size:var(--text-sm);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-2)}.sudc-subject-list{overscroll-behavior:contain;max-height:190px;margin:var(--space-4) 0 0;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--mint);scrollbar-width:thin;padding:0;list-style:none;overflow-y:auto}.sudc-subject-list:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.sudc-subject-list>li{align-items:center;gap:var(--space-2);padding:var(--space-3) var(--space-3);border-bottom:1px solid var(--line);min-width:0;display:flex}.sudc-subject-list>li:last-child{border-bottom:0}.sudc-subject-list>li>svg{color:var(--muted);flex-shrink:0}.sudc-subject-list>li>span{min-width:0}.sudc-subject-list strong{font-size:var(--text-xs);line-height:var(--line-body);font-weight:var(--weight-strong);color:var(--ink);overflow-wrap:anywhere;display:block}.sudc-subject-list small{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-1);display:block}.sudc-warning{align-items:flex-start;gap:var(--space-2);margin-top:var(--space-4);font-size:var(--text-xs);line-height:var(--line-body);color:var(--warning);display:flex}.sudc-warning>svg{margin-top:var(--space-1);color:var(--warning);flex-shrink:0}.sudc-warning strong{font-weight:var(--weight-strong)}.sudc-counts{margin:var(--space-3) 0 0;border:1px solid var(--warning-border);border-radius:var(--radius-md);background:var(--warning-surface);gap:0;padding:0;display:grid}.sudc-counts>div{justify-content:space-between;align-items:center;gap:var(--space-4);padding:var(--space-2) var(--space-3);border-bottom:1px solid var(--warning-border);display:flex}.sudc-counts>div:last-child{border-bottom:0}.sudc-counts dt{font-size:var(--text-xs);line-height:var(--line-body);color:var(--warning)}.sudc-counts dd{font-size:var(--text-sm);font-weight:var(--weight-strong);line-height:var(--line-body);color:var(--warning);font-variant-numeric:tabular-nums;margin:0}.sudc-active-focus{border:1px solid var(--warning-border);background:var(--warning-surface);border-radius:var(--radius-md);padding:var(--space-3) var(--space-3);margin-top:var(--space-4)}.sudc-active-focus>p{align-items:flex-start;gap:var(--space-2);font-size:var(--text-sm);line-height:var(--line-body);color:var(--warning);overflow-wrap:anywhere;display:flex}.sudc-active-focus>p>svg{margin-top:var(--space-1);flex-shrink:0}.sudc-active-focus>.btn{min-height:var(--control-height);margin-top:var(--space-3);font-size:var(--text-sm)}.sudc-preserved{align-items:flex-start;gap:var(--space-2);padding:var(--space-3) var(--space-3);background:var(--mint);border:1px solid var(--line);border-radius:var(--radius-md);margin-top:var(--space-4);font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);display:flex}.sudc-preserved>svg{margin-top:var(--space-1);color:var(--muted);flex-shrink:0}.sudc-blocked{border:1px solid var(--warning-border);background:var(--warning-surface);color:var(--warning);border-radius:var(--radius-md);padding:var(--space-3) var(--space-3);font-size:var(--text-sm);line-height:var(--line-body)}.sudc-actions{flex-wrap:wrap}.modal .subject-deletion-confirmation .sudc-actions .btn{min-height:var(--control-height);white-space:normal;text-align:center}.sudc-actions .btn.danger{font-size:var(--text-sm)}@media (width<=700px){.sudc-intro{font-size:var(--text-sm)}.sudc-subject-list{max-height:160px}.sudc-subject-list>li{padding:var(--space-3) var(--space-3)}.sudc-warning,.sudc-preserved{font-size:var(--text-xs)}.sudc-preserved{padding:var(--space-3) var(--space-3)}.sudc-counts>div{padding:var(--space-2) var(--space-3)}.sudc-active-focus{padding:var(--space-3)}.sudc-active-focus>p{font-size:var(--text-sm)}.sudc-actions{gap:var(--space-2);grid-template-columns:minmax(80px,.8fr) minmax(0,1.4fr);display:grid}.sudc-actions .btn{font-size:var(--text-sm);padding:var(--space-2) var(--space-2)}}@media (width<=360px){.sudc-actions{grid-template-columns:1fr}.sudc-actions .btn{width:100%}}.app-update-banner{z-index:70;align-items:flex-start;gap:var(--space-3);width:min(430px,100vw - 28px);padding:var(--space-5) var(--space-4);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);color:var(--ink);animation:ritmo-enter var(--duration-slow) ease both;display:flex;position:fixed;top:90px;right:22px}.app-update-symbol{width:var(--control-size-sm);height:var(--control-size-sm);border-radius:var(--radius-md);background:var(--surface-selected);color:var(--ink);flex-shrink:0;place-items:center;display:grid}.app-update-content{flex:1;min-width:0}.app-update-content>strong{font-size:var(--text-sm);font-family:var(--font-display)}.app-update-content>p{font-size:var(--text-xs);line-height:var(--line-body);margin-top:var(--space-1);color:var(--muted)}.app-update-content>p.app-update-blocked{color:var(--warning);font-size:var(--text-xs)}.app-update-actions{gap:var(--space-4);margin-top:var(--space-3);flex-wrap:wrap;align-items:center;display:flex}.app-update-actions .btn{font-size:var(--text-xs);min-height:var(--control-height);padding:var(--space-2) var(--space-3);gap:var(--space-1)}.app-update-actions .text-button{font-size:var(--text-xs);min-height:var(--control-height)}.app-update-close{width:var(--control-height);height:var(--control-height);color:var(--ink);flex-shrink:0}.app-update-settings{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface-subtle);padding:var(--space-5);margin:var(--space-5) 0}.app-update-settings-heading{align-items:flex-start;gap:var(--space-3);display:flex}.app-update-settings-heading>svg{margin-top:var(--space-1);color:var(--green)}.app-update-settings h3{font-size:var(--text-sm);color:var(--ink)}.app-update-settings-heading p{font-size:var(--text-xs);line-height:var(--line-body);color:var(--muted);margin-top:var(--space-1)}.app-update-settings>.btn{font-size:var(--text-xs);margin-top:var(--space-3)}.app-install-error{font-size:var(--text-xs);line-height:var(--line-body);color:var(--warning);margin-top:var(--space-2)}.modal label.app-update-preference{align-items:flex-start;gap:var(--space-2);margin:var(--space-5) 0 var(--space-4);font-size:var(--text-xs);min-height:var(--control-height);display:flex}.app-update-preference input{width:16px;height:16px;accent-color:var(--green);margin:var(--space-1) 0 0;flex-shrink:0}.app-update-preference strong{font-size:var(--text-xs);font-weight:var(--weight-strong);line-height:var(--line-body);display:block}.app-update-preference small{font-size:var(--text-xs);font-weight:var(--weight-regular);color:var(--muted);line-height:var(--line-body);margin-top:var(--space-1);display:block}.app-update-check{border-top:1px solid var(--line);padding-top:var(--space-3);gap:var(--space-2);flex-wrap:wrap;align-items:center;display:flex}.app-update-check p{font-size:var(--text-xs);color:var(--muted);line-height:var(--line-body);flex:1;min-width:150px}.app-update-check .text-button{font-size:var(--text-xs);gap:var(--space-1);white-space:nowrap}@media (width<=850px){.app-update-banner{top:calc(83px + env(safe-area-inset-top,0px));padding:var(--space-4) var(--space-3);gap:var(--space-2);right:14px}.app-update-settings{padding:var(--space-4)}.app-update-content>p{font-size:var(--text-xs)}}@media (prefers-reduced-motion:reduce){.app-update-banner{animation:none}}.app-shell{--glass-light:var(--surface);--glass-soft:var(--surface-subtle);--glass-white:var(--surface);--glass-green:var(--green);--glass-dark:var(--surface-inverse);--glass-dark-soft:var(--surface-inverse-raised);--glass-pale:var(--accent-soft);--glass-danger:var(--danger-surface);--glass-edge:var(--line);--glass-gloss:var(--material-reflection);--glass-dark-gloss:var(--material-reflection-inverse);--glass-shadow:var(--material-shadow);--glass-shadow-raised:var(--material-shadow-raised);--glass-blur:none;--glass-control-blur:none}.app-shell .topbar{z-index:var(--z-topbar);background:var(--glass-light);background-image:var(--glass-gloss);border-bottom:1px solid var(--glass-edge);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur);position:sticky;top:0}.app-shell .rr-dates{scroll-margin-top:calc(100px + env(safe-area-inset-top,0px))}.app-shell .sidebar{background:var(--glass-light);background-image:var(--glass-gloss);border-right-color:var(--glass-edge);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.app-shell .env-current,.app-shell .env-menu{background:var(--glass-white);background-image:var(--glass-gloss);border-color:var(--glass-edge);box-shadow:var(--glass-shadow)}.app-shell .env-menu{box-shadow:var(--glass-shadow-raised);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.app-shell .nav-item{color:var(--muted)}.app-shell .sidebar .profile small,.app-shell .sidebar .env-current small{color:var(--green)}.app-shell .nav-item.active{color:var(--green);background:var(--surface-selected);background-image:var(--glass-gloss);box-shadow:var(--glass-shadow)}.app-shell .btn.primary,.app-shell .rd-button.rd-primary,.app-shell .subject-focus-action{color:var(--on-green);background:var(--glass-green);background-image:var(--glass-dark-gloss);border:1px solid var(--border-inverse);border-radius:var(--radius-lg);box-shadow:var(--glass-shadow);text-shadow:none;font-size:var(--text-sm);min-height:var(--control-height)}.app-shell .btn.secondary,.app-shell .rd-button:not(.rd-primary){color:var(--green);background:var(--glass-white);background-image:var(--glass-gloss);border:1px solid var(--glass-edge);border-radius:var(--radius-lg);box-shadow:var(--glass-shadow);font-size:var(--text-sm);min-height:var(--control-height)}.app-shell .btn.danger{color:var(--danger);background:var(--glass-danger);background-image:var(--glass-gloss);border-color:var(--danger-border);border-radius:var(--radius-lg);box-shadow:var(--glass-shadow);font-size:var(--text-sm);min-height:var(--control-height)}.app-shell :is(.btn,.rd-button,.icon-button,.sidebar-toggle,.sc-nav,.sc-today,.rd-light-control){transition:transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, border-color var(--duration-fast) ease, background-color var(--duration-fast) ease}.app-shell :is(.icon-button,.sidebar-toggle,.sc-nav,.sc-today,.rd-week-navigation>button,.rd-light-control){border:1px solid var(--glass-edge);background:var(--glass-white);background-image:var(--glass-gloss);color:var(--green);box-shadow:var(--glass-shadow);border-radius:var(--radius-lg);min-height:var(--control-size-sm);min-width:var(--control-size-sm)}.app-shell :is(.btn,.rd-button,.icon-button,.sidebar-toggle,.sc-nav,.sc-today,.rd-week-navigation>button,.rd-light-control):focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.app-shell .focus-card .focus-start,.app-shell .focus-card .focus-save-session{color:var(--accent-ink);background:var(--glass-pale);background-image:var(--glass-gloss);border:1px solid var(--border-inverse);border-radius:var(--radius-lg);box-shadow:var(--glass-shadow);transition:transform var(--duration-fast) ease, box-shadow var(--duration-fast) ease, background-color var(--duration-fast) ease}.app-shell .focus-card .focus-stop{color:var(--text-inverse);background:var(--glass-dark-soft);background-image:var(--glass-dark-gloss);border-color:var(--border-inverse);border-radius:var(--radius-lg);box-shadow:var(--glass-shadow)}.app-shell .focus-card :is(.focus-start,.focus-save-session,.focus-stop):focus-visible{outline:2px solid var(--focus-ring-inverse);outline-offset:4px}.app-shell :is(.rd-period-tabs,.sc-periods,.rs-view-switch,.rr-tabs){background:var(--glass-soft);background-image:var(--glass-gloss);border:1px solid var(--glass-edge);border-radius:var(--radius-lg);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:var(--glass-control-blur);backdrop-filter:var(--glass-control-blur)}.app-shell :is(.rd-period-tabs,.sc-periods,.rs-view-switch,.rr-tabs) button{color:var(--green);border-radius:var(--radius-md)}.app-shell :is(.rd-period-tabs,.sc-periods,.rs-view-switch,.rr-tabs) button[aria-pressed=true]{color:var(--green);background:var(--glass-white);background-image:var(--glass-gloss);box-shadow:var(--glass-shadow)}.app-shell .qp-evolution .sc-periods,.app-shell .focus-card .focus-activity-options{background:var(--glass-dark-soft);background-image:var(--glass-dark-gloss);border-color:var(--border-inverse);border-radius:var(--radius-lg);box-shadow:var(--glass-shadow);-webkit-backdrop-filter:var(--glass-control-blur);backdrop-filter:var(--glass-control-blur)}.app-shell .qp-evolution :is(.sc-periods button,.sc-nav,.sc-today),.app-shell .focus-card .focus-activity-options button{color:var(--text-inverse)}.app-shell .qp-evolution :is(.sc-nav,.sc-today){background:var(--glass-dark-soft);background-image:var(--glass-dark-gloss);border-color:var(--border-inverse)}.app-shell .qp-evolution .sc-periods button[aria-pressed=true],.app-shell .focus-card .focus-activity-options button.selected{color:var(--accent-ink);background:var(--glass-pale);background-image:var(--glass-gloss);border-color:var(--accent-soft);border-radius:var(--radius-md);box-shadow:var(--glass-shadow)}.app-shell .rs-controls{background:var(--glass-white);background-image:var(--glass-gloss);border-color:var(--glass-edge);box-shadow:var(--glass-shadow)}.app-shell .floating-timer{background:var(--glass-dark);background-image:var(--glass-dark-gloss);border:1px solid var(--border-inverse);color:var(--text-inverse);box-shadow:var(--glass-shadow-raised);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.app-shell :is(.progress-track>i,.rd-progress>i,.qp-syllabus-track>span){background-image:var(--glass-dark-gloss)}@media (width<=850px){.app-shell .mobile-bottom-nav{background:var(--glass-dark);background-image:var(--glass-dark-gloss);border-color:var(--border-inverse);border-radius:var(--radius-pill);box-shadow:var(--glass-shadow-raised);-webkit-backdrop-filter:var(--glass-blur);backdrop-filter:var(--glass-blur)}.app-shell .mobile-nav-highlight{background:var(--glass-pale);background-image:var(--glass-gloss);border-color:var(--accent-soft);border-radius:var(--radius-pill);box-shadow:var(--glass-shadow)}.app-shell .mobile-bottom-nav button{color:var(--text-inverse);border-radius:var(--radius-pill)}.app-shell .mobile-bottom-nav button.selected{color:var(--accent-ink)}.app-shell .mobile-bottom-nav button:focus-visible{outline-color:var(--focus-ring-inverse)}}@supports (background:color-mix(in srgb, white 50%, transparent)) and ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.app-shell{--glass-light:color-mix(in srgb, var(--surface) 92%, transparent);--glass-soft:color-mix(in srgb, var(--surface-subtle) 90%, transparent);--glass-white:color-mix(in srgb, var(--surface) 94%, transparent);--glass-green:color-mix(in srgb, var(--green) 96%, transparent);--glass-dark:color-mix(in srgb, var(--surface-inverse) 94%, transparent);--glass-dark-soft:color-mix(in srgb, var(--surface-inverse-raised) 94%, transparent);--glass-pale:color-mix(in srgb, var(--accent-soft) 96%, transparent);--glass-danger:color-mix(in srgb, var(--danger-surface) 96%, transparent);--glass-blur:var(--material-blur);--glass-control-blur:var(--material-control-blur)}.app-shell .heading-actions .btn,.app-shell .rd-hero-copy>.rd-button,.app-shell .modal .form-actions .btn,.app-shell .rd-light-control,.app-shell .focus-card .focus-start,.app-shell .focus-card .focus-save-session{-webkit-backdrop-filter:var(--glass-control-blur);backdrop-filter:var(--glass-control-blur)}}@media (hover:hover){.app-shell :is(.btn,.rd-button,.icon-button,.sidebar-toggle,.sc-nav,.sc-today,.rd-week-navigation>button,.rd-light-control):not(:disabled):hover{box-shadow:var(--glass-shadow-raised)}.app-shell :is(.btn,.rd-button):not(:disabled):hover{transform:translateY(-1px)}}.app-shell .btn.primary:not(:disabled):hover,.app-shell .rd-button.rd-primary:not(:disabled):hover,.app-shell .subject-focus-action:not(:disabled):hover{background-color:var(--green-hover);background-image:var(--glass-dark-gloss)}.app-shell :is(.btn.secondary,.rd-button:not(.rd-primary),.icon-button,.sidebar-toggle,.sc-nav,.sc-today,.rd-week-navigation>button,.rd-light-control):not(:disabled):hover{background-color:var(--surface-hover);background-image:var(--glass-gloss);color:var(--ink);border-color:var(--border-strong)}.app-shell .qp-evolution :is(.sc-nav,.sc-today):not(:disabled):hover{color:var(--text-inverse);background-color:var(--surface-inverse-hover);background-image:var(--glass-dark-gloss)}.app-shell .btn.danger:not(:disabled):hover{background-color:var(--danger-surface);border-color:var(--danger)}.app-shell .focus-card :is(.focus-start,.focus-save-session):not(:disabled):hover{background-color:var(--accent-soft)}.app-shell .btn.primary:not(:disabled):active,.app-shell .rd-button.rd-primary:not(:disabled):active,.app-shell .subject-focus-action:not(:disabled):active{background-color:var(--green-active)}.app-shell :is(.btn,.rd-button,.focus-start,.focus-save-session):not(:disabled):active{transform:translateY(1px)scale(.98)}.app-shell .nav-item:focus-visible,.app-shell :is(.rd-period-tabs,.sc-periods,.rs-view-switch,.rr-tabs) button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.app-shell .qp-evolution :is(.sc-periods button,.sc-nav,.sc-today):focus-visible{outline-color:var(--focus-ring-inverse)}@media (prefers-reduced-motion:reduce){.app-shell :is(.btn,.rd-button,.icon-button,.sidebar-toggle,.sc-nav,.sc-today,.rd-light-control,.focus-start,.focus-save-session,.focus-stop){transition:none;transform:none!important}}@media (prefers-reduced-transparency:reduce){.app-shell{--glass-light:var(--surface);--glass-soft:var(--surface-subtle);--glass-white:var(--surface);--glass-green:var(--green);--glass-dark:var(--surface-inverse);--glass-dark-soft:var(--surface-inverse-raised);--glass-pale:var(--accent-soft);--glass-danger:var(--danger-surface);--glass-gloss:none;--glass-dark-gloss:none;--glass-shadow:var(--shadow-sm);--glass-shadow-raised:var(--shadow-md);--glass-blur:none;--glass-control-blur:none}}@media (forced-colors:active){.app-shell :is(.topbar,.sidebar,.env-current,.env-menu,.nav-item.active,.mobile-bottom-nav,.mobile-nav-highlight,.floating-timer,.btn,.rd-button,.icon-button,.sidebar-toggle,.sc-nav,.sc-today,.rd-light-control,.rd-week-navigation>button,.focus-start,.focus-save-session,.focus-stop,.rd-period-tabs,.sc-periods,.rs-view-switch,.rr-tabs,.focus-activity-options,.progress-track>i,.rd-progress>i,.qp-syllabus-track>span),.app-shell :is(.rd-period-tabs,.sc-periods,.rs-view-switch,.rr-tabs,.focus-activity-options) button{forced-color-adjust:auto;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-image:none!important}.app-shell :is(.btn,.rd-button,.icon-button,.sidebar-toggle){border-color:buttontext}.app-shell .nav-item.active,.app-shell :is(.rd-period-tabs,.sc-periods,.rs-view-switch,.rr-tabs) button[aria-pressed=true],.app-shell .focus-activity-options button.selected,.app-shell .mobile-bottom-nav button.selected{outline-offset:-2px;outline:1px solid highlight}}
