:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#05070d;--bg-glow:#0b1f5c;--surface:#0b1020;--surface-2:#111a33;--surface-3:#18234a;--line:#8caaff14;--highlight:inset 0 1px 0 #ffffff0b;--text:#f2f5ff;--text-2:#a9b3d1;--muted:#7480a3;--faint:#3d476a;--accent:#3d7bff;--accent-2:#79a6ff;--accent-ink:#fff;--accent-soft:#3d7bff24;--deep:#0a1a4a;--cyan:#2ec5ff;--positive:#4ade80;--danger:#ff4d5e;--danger-soft:#ff4d5e1f;--r-xs:8px;--r-sm:12px;--r-md:18px;--r-lg:26px;--r-xl:32px;--font:-apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;--font-display:-apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;--font-round:ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--tabbar-lift:0px;--tabbar-h:calc(64px + var(--tabbar-lift));--gutter:18px;--ease-out:cubic-bezier(.22, 1, .36, 1);--ease-spring:cubic-bezier(.34, 1.4, .64, 1);--dur:.28s}:root[data-accent=cyan]{--accent:#14b8ff;--accent-2:#6fdcff;--accent-soft:#14b8ff24;--bg-glow:#06305a}:root[data-accent=indigo]{--accent:#6b6bff;--accent-2:#a5a5ff;--accent-soft:#6b6bff29;--bg-glow:#1d1660}:root[data-black=true]{--bg:#000;--surface:#080b16;--surface-2:#0e1428}:root[data-motion=reduced]{--dur:0s}@media (prefers-reduced-motion:reduce){:root{--dur:0s}}*,:before,:after{box-sizing:border-box}html{text-size-adjust:100%;background:var(--bg);overscroll-behavior:none}body{background:var(--bg);min-height:100dvh;color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;margin:0;font-size:16px;line-height:1.4;overflow-x:hidden}#root{min-height:100dvh}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0}button:disabled{opacity:.4;cursor:default}:focus-visible{outline:2px solid var(--accent-2);outline-offset:2px}h1,h2,h3,p{margin:0}.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes fade-up{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes fade-in{0%{opacity:0}}@keyframes slide-up{0%{transform:translateY(100%)}}@keyframes slide-in{0%{transform:translate(100%)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.35}}.enter{animation:fade-up var(--dur) var(--ease-out) both}.app{max-width:560px;padding:calc(var(--safe-top) + 10px) var(--gutter) calc(var(--tabbar-h) + var(--safe-bottom) + 28px);margin:0 auto;position:relative}body:before{content:"";background:radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--bg-glow) 70%, transparent), transparent 65%);pointer-events:none;z-index:-1;height:70vh;position:fixed;inset:-30vh -20vw auto}.screen{flex-direction:column;gap:16px;display:flex}.tab.enter,.route.enter{animation:fade-up var(--dur) var(--ease-out) both}.splash,.fatal{text-align:center;place-content:center;justify-items:center;gap:12px;min-height:100dvh;padding:24px;display:grid}.splash-mark{border:3px solid var(--surface-3);border-top-color:var(--accent);border-radius:50%;width:44px;height:44px;animation:.9s linear infinite spin}.tabbar{z-index:20;padding:6px 6px calc(var(--safe-bottom) + var(--tabbar-lift) + 4px);background:var(--bg);box-shadow:0 -1px 0 var(--line), 0 -18px 24px -6px var(--bg);grid-template-columns:repeat(4,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tab-btn{min-height:52px;color:var(--muted);letter-spacing:.01em;flex-direction:column;align-items:center;gap:3px;padding-top:6px;font-size:10.5px;font-weight:500;transition:color .16s;display:flex}.tab-btn.on{color:var(--accent-2)}.tab-btn.on svg{filter:drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 60%, transparent))}.screen-head{align-items:flex-end;gap:10px;min-height:56px;padding-top:6px;display:flex}.screen-head.with-back{align-items:center}.screen-titles{flex:1;min-width:0}.screen-head h1{font-family:var(--font-display);letter-spacing:-.025em;font-size:32px;font-weight:700;line-height:1.1}.screen-head.with-back h1{text-overflow:ellipsis;white-space:nowrap;font-size:24px;overflow:hidden}.screen-head-right{flex-shrink:0}.eyebrow{letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-size:12px;font-weight:600;display:block}.back-btn{width:40px;height:40px;color:var(--accent-2);border-radius:50%;flex-shrink:0;place-items:center;margin-left:-8px;display:grid}.section-head{justify-content:space-between;align-items:center;margin:10px 2px -4px;display:flex}.section-head h2{letter-spacing:.08em;text-transform:uppercase;color:var(--text-2);font-size:13px;font-weight:650}.card-title{align-items:center;gap:7px;margin-bottom:12px;font-size:15px;font-weight:650;display:flex}.card{background:var(--surface);border-radius:var(--r-lg);box-shadow:var(--highlight);text-align:left;border:0;width:100%;padding:18px;display:block}.form-card{flex-direction:column;gap:14px;display:flex}.info-card{background:linear-gradient(160deg, color-mix(in srgb, var(--deep) 70%, var(--surface)), var(--surface) 70%);flex-direction:column;gap:12px;display:flex}.info-card p{color:var(--text-2);line-height:1.5}.divider{background:var(--line);height:1px;margin:6px 0}.muted{color:var(--muted)}.small{font-size:13px}.pad{padding:0 4px}.btn{min-height:48px;transition:transform .12s var(--ease-out), background .16s, opacity .16s;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 20px;font-size:16px;font-weight:600;display:inline-flex}.btn:active:not(:disabled){transform:scale(.97)}.btn-small{min-height:38px;padding:0 14px;font-size:14px}.btn-full{width:100%}.btn-primary{background:var(--accent);color:var(--accent-ink);box-shadow:0 8px 24px -10px color-mix(in srgb, var(--accent) 80%, transparent)}.btn-secondary{background:var(--surface-2);color:var(--text)}.btn-ghost{color:var(--accent-2)}.btn-danger{background:var(--danger-soft);color:var(--danger)}.icon-btn{width:44px;height:44px;color:var(--text-2);border-radius:50%;flex-shrink:0;place-items:center;transition:background .16s,transform .12s;display:inline-grid}.icon-btn:active:not(:disabled){background:var(--surface-2);transform:scale(.92)}.icon-btn.small{width:34px;height:34px}.icon-btn.filled{background:var(--accent);color:#fff}.link-btn{min-height:36px;color:var(--accent-2);align-items:center;gap:5px;font-size:14.5px;font-weight:600;display:inline-flex}.chip{background:var(--surface-2);min-height:34px;color:var(--text-2);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:0 13px;font-size:14px;font-weight:550;transition:background .16s,color .16s;display:inline-flex}.chip.on{background:var(--accent);color:#fff}.chip.big{min-height:44px;padding:0 18px;font-size:15.5px}.chip-row{flex-wrap:wrap;gap:8px;display:flex}.chip-scroller{margin:0 calc(-1 * var(--gutter));padding:2px var(--gutter);scrollbar-width:none;gap:8px;display:flex;overflow-x:auto}.chip-scroller::-webkit-scrollbar{display:none}.pill{background:var(--accent-soft);color:var(--accent-2);border-radius:999px;align-items:center;gap:4px;padding:2px 9px;font-size:12px;font-weight:600;display:inline-flex}.pill.positive{background:color-mix(in srgb, var(--positive) 15%, transparent);color:var(--positive)}.field{flex-direction:column;flex:1;gap:7px;min-width:0;display:flex}.field-label{color:var(--text-2);font-size:13px;font-weight:600}.field-hint{color:var(--muted);font-size:12.5px}.field-error,.form-error{color:#ff8a95;font-size:13.5px}.input{border-radius:var(--r-sm);background:var(--surface-2);width:100%;min-height:48px;color:var(--text);-webkit-appearance:none;appearance:none;border:1px solid #0000;outline:none;padding:0 14px;font-size:16px;transition:border-color .16s,background .16s}.input:focus{border-color:color-mix(in srgb, var(--accent) 70%, transparent);background:var(--surface-3)}select.input{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237480a3' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;padding-right:34px}input[type=date].input,input[type=time].input{align-items:center;line-height:48px;display:flex}input::-webkit-date-and-time-value{text-align:left}.textarea{resize:vertical;min-height:96px;padding:12px 14px;line-height:1.5}.form-row{gap:10px;display:flex}.segmented{background:var(--surface-2);border-radius:14px;gap:2px;padding:3px;display:flex}.segmented button{min-height:38px;color:var(--text-2);transition:background .2s var(--ease-out), color .2s;border-radius:11px;flex:1;padding:0 6px;font-size:14px;font-weight:550}.segmented button.on{background:var(--surface-3);color:var(--text);box-shadow:0 2px 8px #00000059, var(--highlight)}.toggle-row{text-align:left;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:48px;display:flex}.toggle-text{flex-direction:column;gap:2px;display:flex}.toggle-text small{color:var(--muted);font-size:13px}.toggle{background:var(--surface-3);border-radius:999px;flex-shrink:0;width:51px;height:31px;padding:2px;transition:background .2s}.toggle span{width:27px;height:27px;transition:transform .22s var(--ease-spring);background:#fff;border-radius:50%;display:block;box-shadow:0 2px 6px #0000004d}.toggle.on{background:var(--accent)}.toggle.on span{transform:translate(20px)}.swatches{grid-template-columns:repeat(6,1fr);gap:10px;display:grid}.swatch{aspect-ratio:1;transition:transform .16s var(--ease-spring);border-radius:50%}.swatch.on{box-shadow:0 0 0 3px var(--bg), 0 0 0 5px var(--text);transform:scale(.9)}.icon-grid{grid-template-columns:repeat(8,1fr);gap:6px;display:grid}.icon-choice{aspect-ratio:1;color:var(--text-2);background:var(--surface-2);border-radius:12px;place-items:center;display:grid}.cat-badge{border-radius:30%;flex-shrink:0;place-items:center;width:36px;height:36px;display:inline-grid}.pbar{background:var(--surface-3);border-radius:999px;height:6px;overflow:hidden}.pbar span{border-radius:inherit;background:var(--accent);height:100%;transition:width .6s var(--ease-out);display:block}.ring{flex-shrink:0;position:relative}.ring-center{place-items:center;display:grid;position:absolute;inset:0}.ring-pct{font-size:15px;font-weight:700}.ring-big{letter-spacing:-.02em;font-size:26px;font-weight:750}.sheet-layer,.dialog-layer{z-index:50;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet-backdrop{-webkit-backdrop-filter:blur(3px);animation:fade-in var(--dur) both;background:#02040a9e;position:absolute;inset:0}.sheet{width:100%;max-width:560px;max-height:calc(100dvh - var(--safe-top) - 24px);background:var(--surface);border-radius:var(--r-xl) var(--r-xl) 0 0;box-shadow:0 -20px 60px #00000080, var(--highlight);animation:slide-up .36s var(--ease-out) both;transition:transform .26s var(--ease-out);flex-direction:column;display:flex;position:relative}.sheet-head{touch-action:none;justify-content:space-between;align-items:center;padding:18px 12px 8px 22px;display:flex;position:relative}.sheet-head h2{letter-spacing:-.01em;font-size:19px;font-weight:700}.sheet-grabber{background:var(--surface-3);border-radius:99px;width:38px;height:5px;margin-left:-19px;position:absolute;top:7px;left:50%}.sheet-body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex-direction:column;gap:14px;padding:8px 20px 20px;display:flex;overflow-y:auto}.sheet-footer{padding:12px 20px calc(var(--safe-bottom) + 14px);box-shadow:0 -1px 0 var(--line)}.sheet-body:last-child{padding-bottom:calc(var(--safe-bottom) + 24px)}.sheet-lead{color:var(--text-2);font-size:14.5px;line-height:1.5}.dialog-layer{z-index:60}.dialog{width:100%;max-width:480px;padding:0 10px calc(var(--safe-bottom) + 10px);animation:slide-up .32s var(--ease-out) both;flex-direction:column;gap:8px;display:flex;position:relative}.dialog-card{background:var(--surface-2);box-shadow:var(--highlight);border-radius:20px;overflow:hidden}.dialog-card h2{text-align:center;padding:18px 20px 4px;font-size:16px;font-weight:650}.dialog-card p{text-align:center;color:var(--text-2);padding:0 20px 14px;font-size:14px;line-height:1.45}.dialog-options{flex-direction:column;display:flex}.dialog-option{border-top:1px solid var(--line);min-height:56px;color:var(--accent-2);font-size:17px;font-weight:500}.dialog-option.primary{font-weight:650}.dialog-option.destructive{color:var(--danger);font-weight:600}.dialog-cancel{background:var(--surface-2);min-height:56px;color:var(--accent-2);border-radius:20px;font-size:17px;font-weight:650}.toasts{left:0;right:0;bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 14px);z-index:70;pointer-events:none;flex-direction:column;align-items:center;gap:8px;padding:0 14px;display:flex;position:fixed}.toast{pointer-events:auto;background:color-mix(in srgb, var(--surface-3) 92%, transparent);-webkit-backdrop-filter:blur(16px);width:100%;max-width:520px;min-height:50px;box-shadow:0 12px 40px #00000080, var(--highlight);animation:fade-up .26s var(--ease-out) both;border-radius:16px;align-items:center;gap:10px;padding:8px 8px 8px 16px;font-size:14.5px;font-weight:500;display:flex}.toast span{flex:1}.toast svg{color:var(--accent-2);flex-shrink:0}.toast-success svg{color:var(--positive)}.toast-error svg{color:var(--danger)}.toast-action{background:var(--accent-soft);min-height:36px;color:var(--accent-2);border-radius:10px;padding:0 14px;font-size:14px;font-weight:650}.option-list{flex-direction:column;gap:4px;display:flex}.option{border-radius:var(--r-sm);text-align:left;background:var(--surface-2);align-items:center;gap:12px;width:100%;min-height:52px;padding:0 14px;font-size:16px;display:flex}.option.on{background:var(--accent-soft);color:var(--accent-2)}.option-label{flex:1}.menu{padding:4px 0}.menu-row{text-align:left;width:100%;min-height:54px;color:var(--text);align-items:center;gap:14px;padding:0 16px;display:flex}.menu-row+.menu-row{box-shadow:inset 0 1px 0 var(--line)}.menu-row>span:first-of-type{flex:1}.menu-row>svg:first-child{color:var(--accent-2)}.menu-row>svg:last-child{color:var(--faint)}.form-card .menu-row{padding:0}.facts{margin:0;padding:0;list-style:none}.facts li{box-shadow:inset 0 -1px 0 var(--line);color:var(--text-2);justify-content:space-between;gap:10px;padding:7px 0;display:flex}.facts strong{color:var(--text);text-align:right;font-weight:600}.empty{text-align:center;border-radius:var(--r-lg);background:radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--deep) 80%, transparent), transparent 70%), var(--surface);box-shadow:var(--highlight);flex-direction:column;align-items:center;gap:10px;padding:34px 20px 28px;display:flex}.empty h3{font-size:18px;font-weight:700}.empty p{color:var(--text-2);max-width:34ch;margin-bottom:6px;font-size:14.5px;line-height:1.5}.empty-orbit{width:64px;height:64px;color:var(--accent-2);background:var(--accent-soft);box-shadow:0 0 0 10px color-mix(in srgb, var(--accent) 6%, transparent), 0 0 0 22px color-mix(in srgb, var(--accent) 3%, transparent);border-radius:50%;place-items:center;margin-bottom:14px;display:grid}.soft-empty{color:var(--text-2);align-items:center;gap:12px;font-size:14px;line-height:1.45;display:flex}.soft-empty>svg{color:var(--accent-2);flex-shrink:0}.soft-empty p{flex:1}.chart{position:relative}.chart-svg{touch-action:pan-y;width:100%;height:auto;display:block;overflow:visible}.chart-svg .grid{stroke:var(--line);stroke-width:1px}.chart-svg .axis{fill:var(--muted);font-variant-numeric:tabular-nums;font-size:9.5px}.chart-svg .crosshair{stroke:var(--text-2);stroke-width:1px;stroke-dasharray:3 3}.chart-tooltip-slot{min-height:40px;margin-bottom:6px}.chart-hint{color:var(--faint);font-size:12.5px}.chart-tooltip{flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:13.5px;animation:.14s both fade-in;display:flex}.chart-tooltip>span{font-size:15px;font-weight:700}.chart-tooltip ul{color:var(--text-2);flex-wrap:wrap;flex-basis:100%;gap:2px 12px;margin:2px 0 0;padding:0;font-size:12.5px;list-style:none;display:flex}.chart-tooltip li{align-items:center;gap:5px;display:flex}.chart-tooltip li span{color:var(--text)}.chart-tooltip i,.legend i{border-radius:2px;width:8px;height:8px;display:inline-block}.legend{color:var(--text-2);flex-wrap:wrap;gap:4px 14px;margin:10px 0 0;padding:0;font-size:12.5px;list-style:none;display:flex}.legend li{align-items:center;gap:6px;display:flex}.dist-strip{border-radius:99px;gap:2px;height:10px;margin-bottom:14px;display:flex;overflow:hidden}.dist-strip span{min-width:3px}.dist-list,.dist-children{margin:0;padding:0;list-style:none}.dist-children{box-shadow:inset 2px 0 0 var(--line);margin:0 0 6px 30px;padding-left:10px}.dist-row{text-align:left;align-items:center;gap:11px;width:100%;padding:8px 0;display:flex}.dist-icon{flex-shrink:0;place-items:center;width:28px;display:grid}.dist-main{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.dist-line{justify-content:space-between;gap:8px;font-size:15px;display:flex}.dist-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dist-value{font-weight:650}.dist-bar{background:var(--surface-2);border-radius:99px;height:5px;overflow:hidden}.dist-bar span{height:100%;transition:width .5s var(--ease-out);border-radius:99px;display:block}.dist-meta{color:var(--muted);gap:8px;font-size:12px;display:flex}.dist-meta em,.kpi-delta,.trend-delta{font-style:normal}.up{color:var(--accent-2)}.down{color:var(--muted)}.dist-chevron{color:var(--faint);flex-shrink:0}.heatmap svg{width:100%;height:auto;display:block}.heatmap .axis{fill:var(--muted);font-size:9px}.heat{cursor:pointer;transition:opacity .16s}.heat-0{fill:var(--surface-2);background:var(--surface-2)}.heat-1{fill:color-mix(in srgb, var(--accent) 28%, var(--surface-2));background:color-mix(in srgb, var(--accent) 28%, var(--surface-2))}.heat-2{fill:color-mix(in srgb, var(--accent) 52%, var(--surface-2));background:color-mix(in srgb, var(--accent) 52%, var(--surface-2))}.heat-3{fill:color-mix(in srgb, var(--accent) 78%, var(--surface-2));background:color-mix(in srgb, var(--accent) 78%, var(--surface-2))}.heat-4{fill:var(--accent-2);background:var(--accent-2)}.heat-selected{stroke:var(--text);stroke-width:1.5px}.heat-legend{color:var(--muted);justify-content:flex-end;align-items:center;gap:4px;margin-top:10px;font-size:11.5px;display:flex}.heat-legend i{border-radius:3px;width:11px;height:11px}.heat-legend span:first-child{margin-right:4px}.heat-legend span:last-child{margin-left:4px}.today-head{justify-content:space-between;align-items:flex-end;gap:12px;padding-top:8px;display:flex}.today-head h1{font-family:var(--font-display);letter-spacing:-.03em;margin-top:4px;font-size:34px;font-weight:750;line-height:1.05}.level-chip{background:var(--surface);box-shadow:var(--highlight);color:var(--accent-2);border-radius:14px;flex-direction:column;align-items:flex-end;gap:5px;padding:8px 12px;font-size:13px;font-weight:700;display:flex}.level-mini{background:var(--surface-3);border-radius:99px;width:56px;height:4px;overflow:hidden}.level-mini span{background:var(--accent);height:100%;display:block}.day-track{align-items:center;height:22px;margin-top:-4px;display:flex;position:relative}.day-track:before{content:"";background:var(--surface-2);border-radius:99px;height:2px;position:absolute;left:0;right:0}.day-track-fill{background:linear-gradient(90deg, transparent, var(--accent));border-radius:99px;height:2px;position:absolute;left:0}.day-track-fill:after{content:"";background:var(--accent-2);width:8px;height:8px;box-shadow:0 0 12px var(--accent);border-radius:50%;position:absolute;top:-3px;right:-4px}.day-track-label{color:var(--muted);font-size:11.5px;position:absolute;top:13px;right:0}.reminders{flex-direction:column;gap:8px;margin-top:8px;display:flex}.reminder{border-radius:var(--r-md);background:var(--surface);box-shadow:var(--highlight);animation:fade-up var(--dur) var(--ease-out) both;align-items:center;gap:10px;padding:10px 6px 10px 12px;display:flex}.reminder-icon{background:var(--accent-soft);width:34px;height:34px;color:var(--accent-2);border-radius:11px;flex-shrink:0;place-items:center;display:grid}.reminder-body{text-align:left;min-width:0;color:var(--text-2);flex-direction:column;flex:1;font-size:13.5px;display:flex}.reminder-body strong{color:var(--text);font-size:14.5px}.reminder-cta{color:var(--accent-2);padding:8px 10px;font-size:14px;font-weight:650}.active-card{border-radius:var(--r-xl);background:radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--cat) 34%, transparent), transparent 60%), linear-gradient(165deg, color-mix(in srgb, var(--deep) 90%, var(--cat) 10%), var(--surface) 75%);box-shadow:0 24px 60px -30px color-mix(in srgb, var(--cat) 70%, transparent), var(--highlight);animation:fade-up var(--dur) var(--ease-out) both;padding:22px 20px 18px;position:relative;overflow:hidden}.active-orbit{border:1px solid color-mix(in srgb, var(--cat) 30%, transparent);pointer-events:none;border-radius:50%;width:230px;height:230px;position:absolute;top:-70px;right:-70px}.active-orbit:before{content:"";border:1px dashed color-mix(in srgb, var(--cat) 22%, transparent);border-radius:50%;position:absolute;inset:34px}.active-orbit span{transition:transform 1s linear;position:absolute;inset:0}.active-orbit span:after{content:"";background:var(--cat);width:8px;height:8px;box-shadow:0 0 14px var(--cat);border-radius:50%;margin-left:-4px;position:absolute;top:-4px;left:50%}.active-top{align-items:center;gap:8px;display:flex}.live-dot{background:var(--cat,var(--accent));width:8px;height:8px;box-shadow:0 0 10px var(--cat,var(--accent));border-radius:50%;animation:1.8s ease-in-out infinite pulse;display:inline-block}.live-dot.small{width:6px;height:6px;margin-left:6px}.active-name{color:var(--cat);align-items:center;gap:10px;margin-top:10px;display:flex}.active-name h2{color:var(--text);font-family:var(--font-display);letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap;font-size:26px;font-weight:700;overflow:hidden}.active-timer{font-family:var(--font-round);letter-spacing:-.035em;margin:6px 0 8px;font-size:clamp(52px,17vw,68px);font-weight:300;line-height:1.05}.active-meta{color:var(--text-2);flex-wrap:wrap;align-items:center;gap:8px;font-size:14px;display:flex}.active-meta>span{margin-right:4px}.active-meta .chip{text-overflow:ellipsis;background:#ffffff12;max-width:100%;min-height:32px;font-size:13px;overflow:hidden}.active-actions{gap:10px;margin-top:18px;display:flex}.btn-stop{background:var(--text);color:#05070d;flex:1}.btn-glass{color:var(--text);background:#ffffff14;flex:1}.icon-btn.glass{width:48px;height:48px;color:var(--text);background:#ffffff14}.idle-card{border-radius:var(--r-xl);background:linear-gradient(160deg, color-mix(in srgb, var(--deep) 60%, var(--surface)), var(--surface));box-shadow:var(--highlight);align-items:center;gap:16px;padding:20px;display:flex}.idle-card h2{font-size:19px;font-weight:700}.idle-card p{color:var(--text-2);margin-top:2px;font-size:14.5px}.idle-card .btn{margin-top:12px}.idle-ring{border:2px solid var(--surface-3);border-top-color:var(--accent);border-radius:50%;flex-shrink:0;width:46px;height:46px;animation:6s linear infinite spin}.quick-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:10px;display:grid}.quick-tile{border-radius:var(--r-md);background:var(--surface);min-height:92px;box-shadow:var(--highlight);text-align:left;transition:transform .14s var(--ease-out), background .2s;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:12px;padding:13px 12px 12px;display:flex;position:relative}.quick-tile:active{transform:scale(.95)}.quick-icon{width:36px;height:36px;color:var(--cat,var(--text-2));background:color-mix(in srgb, var(--cat,var(--surface-3)) 14%, transparent);border-radius:11px;place-items:center;display:grid}.quick-name{overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.2}.quick-tile.sub .quick-name:before{content:"";background:var(--faint);border-radius:50%;width:5px;height:5px;margin:0 5px 2px 0;display:inline-block}.quick-tile.running{background:color-mix(in srgb, var(--cat) 20%, var(--surface));box-shadow:inset 0 0 0 1.5px color-mix(in srgb, var(--cat) 70%, transparent)}.quick-tile.running .quick-icon{background:var(--cat);color:#fff}.quick-live{background:var(--cat);width:8px;height:8px;box-shadow:0 0 10px var(--cat);border-radius:50%;animation:1.8s ease-in-out infinite pulse;position:absolute;top:14px;right:13px}.quick-more{box-shadow:inset 0 0 0 1.5px var(--surface-2);background:0 0}.summary-head{align-items:center;gap:16px;display:flex}.big-number{font-family:var(--font-display);letter-spacing:-.025em;font-size:30px;font-weight:700;line-height:1.1;display:block}.role-tiles{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:16px;display:grid}.role-tile{border-radius:var(--r-sm);background:var(--surface-2);grid-template-rows:auto auto;grid-template-columns:auto 1fr;column-gap:8px;padding:11px 12px;display:grid}.role-tile svg{color:var(--accent-2);grid-row:span 2;margin-top:2px}.role-label{color:var(--muted);font-size:12.5px}.role-value{font-size:16px;font-weight:650}.role-tile.zero .role-value{color:var(--faint)}.expand-btn{width:100%;min-height:44px;color:var(--accent-2);justify-content:center;align-items:center;gap:6px;margin-top:8px;font-size:14px;font-weight:600;display:flex}.goal-list{padding:6px 16px}.goal-row{text-align:left;flex-direction:column;gap:8px;width:100%;padding:13px 0;display:flex}.goal-row+.goal-row{box-shadow:inset 0 1px 0 var(--line)}.goal-row-top{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.goal-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:15px;font-weight:600;overflow:hidden}.goal-val{white-space:nowrap;font-size:13.5px;font-weight:600}.goal-sub{color:var(--muted);font-size:12.5px}.muted-list{opacity:.6}.journal-card{padding:0}.journal-cta{text-align:left;align-items:center;gap:14px;width:100%;padding:16px 18px;display:flex}.journal-cta>span:nth-child(2){flex-direction:column;flex:1;display:flex}.journal-cta small{color:var(--muted);font-size:13px}.journal-cta>svg{color:var(--faint)}.custom-chip{color:var(--muted);gap:4px}.custom-chip input{width:46px;color:var(--text);text-align:right;background:0 0;border:0;outline:none;font-size:16px}.suggestions{flex-direction:column;gap:8px;display:flex}.suggestion{border-radius:var(--r-md);background:var(--surface-2);align-items:center;gap:12px;padding:12px;display:flex}.suggestion-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.suggestion-text strong{font-size:15px}.suggestion-text span{color:var(--text-2);font-size:13px;line-height:1.35}.day-nav{align-items:center;gap:6px;display:flex}.day-nav-label{cursor:pointer;flex-direction:column;flex:1;align-items:center;font-size:17px;font-weight:650;display:flex;position:relative}.day-nav-label small{color:var(--muted);font-size:13px;font-weight:500}.day-nav-label input{opacity:0;width:100%;font-size:16px;position:absolute;inset:0}.timeline{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.tl-btn{border-radius:var(--r-md);background:var(--surface);width:100%;box-shadow:var(--highlight);text-align:left;grid-template-columns:52px 4px 1fr auto;align-items:stretch;gap:12px;padding:12px 14px 12px 12px;display:grid}.tl-times{flex-direction:column;justify-content:space-between;font-size:13px;font-weight:600;display:flex}.tl-rail{background:var(--cat);box-shadow:0 0 10px color-mix(in srgb, var(--cat) 50%, transparent);border-radius:99px}.tl-body{flex-direction:column;gap:3px;min-width:0;display:flex}.tl-title{align-items:center;gap:7px;font-size:15.5px;font-weight:650;display:flex}.tl-title svg{color:var(--cat);flex-shrink:0}.tl-sub{color:var(--muted);flex-wrap:wrap;gap:8px;font-size:12.5px;display:flex}.tl-project{color:var(--text-2);align-items:center;gap:4px;display:inline-flex}.tl-note{color:var(--text-2);text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;overflow:hidden}.tl-dur{align-self:center;font-size:14.5px;font-weight:650}.tl-gap button{width:100%;min-height:40px;color:var(--muted);border-radius:var(--r-sm);background:repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--surface-2) 60%, transparent) 6px 8px);justify-content:space-between;align-items:center;padding:0 14px 0 76px;font-size:12.5px;display:flex}.tl-gap-add{color:var(--accent-2);align-items:center;gap:4px;font-weight:600;display:inline-flex}.month-nav{text-align:center;justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.month-nav>div{flex-direction:column;display:flex}.month-head,.month-grid{grid-template-columns:repeat(7,1fr);gap:4px;display:grid}.month-head span{text-align:center;color:var(--muted);padding-bottom:6px;font-size:11.5px;font-weight:600}.month-cell{aspect-ratio:1;background:var(--surface-2);border-radius:12px;place-items:center;font-size:14px;font-weight:550;display:grid;position:relative;overflow:hidden}.month-cell span{z-index:1;position:relative}.month-fill{background:var(--accent);position:absolute;inset:0}.month-cell.out{color:var(--faint);background:0 0}.month-cell.today{box-shadow:inset 0 0 0 1.5px var(--accent-2)}.month-cell.sel{box-shadow:inset 0 0 0 2px var(--text)}.heat-intro{margin-bottom:12px}.problem{border-radius:var(--r-sm);background:color-mix(in srgb, #ffb020 10%, var(--surface-2));color:var(--text);padding:14px;font-size:14px;line-height:1.5;box-shadow:inset 3px 0 #ffb020}.problem-actions{flex-wrap:wrap;gap:8px;margin-top:10px;display:flex}.duration-preview{color:var(--accent-2);margin-top:-4px;font-size:14px;font-weight:600}.editor-tools{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.split-row{align-items:flex-end;gap:8px;width:100%;display:flex}.compare-row{padding:2px 4px}.kpis{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.kpi{border-radius:var(--r-md);background:var(--surface);box-shadow:var(--highlight);flex-direction:column;gap:2px;min-width:0;padding:14px 16px;display:flex}.kpi.hero{background:linear-gradient(150deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface) 70%);grid-column:span 2}.kpi-label{color:var(--muted);font-size:12.5px;font-weight:550}.kpi-value{font-family:var(--font-display);letter-spacing:-.02em;font-size:23px;font-weight:700}.kpi.hero .kpi-value{font-size:38px}.kpi-delta{color:var(--muted);font-size:12.5px}.insights ul{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.insights li{color:var(--text-2);padding-left:16px;font-size:14.5px;line-height:1.45;position:relative}.insights li:before{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px;position:absolute;top:8px;left:0}.insights li.positive{color:var(--text)}.trend-grid{gap:10px;display:grid}.trend-head{align-items:center;gap:8px;display:flex}.trend-label{flex:1;font-weight:600}.trend-value{font-size:18px;font-weight:700}.trend-delta{margin-top:2px;font-size:12.5px;display:block}.trend .chart{margin-top:8px}.trend .chart-tooltip-slot{min-height:22px}.project-list{flex-direction:column;gap:8px;margin-top:10px;display:flex}.project-card{border-radius:var(--r-md);background:var(--surface);width:100%;box-shadow:var(--highlight);text-align:left;align-items:center;gap:14px;padding:14px 16px;display:flex}.project-card>svg{color:var(--faint)}.project-main{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.project-main strong{font-size:16px}.project-tasks{align-items:center;gap:8px;margin-top:4px;display:flex}.project-tasks .pbar{flex:1}.project-desc{color:var(--text-2);margin-top:-8px;line-height:1.5}.project-hero{background:linear-gradient(160deg, color-mix(in srgb, var(--cat) 20%, var(--surface)), var(--surface) 65%);flex-direction:column;gap:14px;display:flex}.project-stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.project-stats>div{flex-direction:column;min-width:0;display:flex}.project-stats .big-number{font-size:22px}.tasks{flex-direction:column;gap:10px;display:flex}.task-add{gap:8px;display:flex}.task-list{margin:0;padding:0;list-style:none}.task{align-items:flex-start;gap:12px;padding:6px 0;display:flex}.task-check{border:2px solid var(--faint);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:26px;height:26px;margin-top:9px;transition:background .16s,border-color .16s;display:grid;position:relative}.task-check:after{content:"";position:absolute;inset:-10px}.task.done .task-check{background:var(--cat);border-color:var(--cat)}.task-body{text-align:left;flex-direction:column;flex:1;justify-content:center;gap:3px;min-width:0;min-height:44px;font-size:15.5px;display:flex}.task.done .task-body{color:var(--muted);text-decoration:line-through}.task-meta{color:var(--muted);gap:8px;font-size:12px;display:flex}.prio{font-weight:650}.prio-high{color:#ffb020}.prio-medium{color:var(--accent-2)}.due-past{color:#ffb020}.session-list{padding:4px 16px}.session-row{text-align:left;grid-template-columns:1fr auto auto;align-items:center;gap:12px;width:100%;min-height:50px;font-size:14px;display:grid}.session-row+.session-row{box-shadow:inset 0 1px 0 var(--line)}.session-row>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;max-width:40vw;overflow:hidden}.danger-zone{justify-content:center;margin-top:18px;display:flex}.goal-hero{align-items:center;gap:18px;display:flex}.goal-facts{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.goal-facts>div{flex-direction:column;display:flex}.goal-facts strong{font-size:14.5px;font-weight:600}.level-card{border-radius:var(--r-xl);background:radial-gradient(90% 80% at 50% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), linear-gradient(180deg, var(--deep), var(--surface));box-shadow:var(--highlight);text-align:center;flex-direction:column;align-items:center;gap:6px;padding:26px 20px 16px;display:flex;position:relative;overflow:hidden}.level-orbit{pointer-events:none;width:300px;height:300px;margin-left:-150px;position:absolute;top:-90px;left:50%}.level-orbit span{border:1px solid color-mix(in srgb, var(--accent) 25%, transparent);border-radius:50%;position:absolute;inset:0}.level-orbit span+span{border-style:dashed;inset:40px}.level-number{font-family:var(--font-round);letter-spacing:-.04em;text-shadow:0 0 40px color-mix(in srgb, var(--accent) 60%, transparent);font-size:72px;font-weight:700;line-height:1}.level-bar{background:#ffffff14;border-radius:99px;width:70%;height:6px;margin-top:6px;overflow:hidden}.level-bar span{background:linear-gradient(90deg, var(--accent), var(--accent-2));border-radius:inherit;height:100%;display:block}.level-xp{color:var(--text-2)}.xp-rules{text-align:left;flex-direction:column;gap:10px;width:100%;display:flex}.xp-rules ul{margin:0;padding:0;list-style:none}.xp-rules li{box-shadow:inset 0 -1px 0 var(--line);justify-content:space-between;padding:6px 0;font-size:14px;display:flex}.xp-rules p{line-height:1.5}.badge-strip{justify-content:space-between;gap:6px;display:flex}.badge-mini{background:var(--surface-2);width:42px;height:42px;color:var(--faint);border-radius:50%;place-items:center;display:grid}.badge-mini.on{background:var(--accent-soft);color:var(--accent-2);box-shadow:0 0 18px -4px var(--accent)}.badge-grid{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px;display:grid}.badge{border-radius:var(--r-md);background:var(--surface);box-shadow:var(--highlight);color:var(--muted);flex-direction:column;gap:6px;padding:16px;font-size:13px;line-height:1.4;display:flex}.badge strong{color:var(--text-2);font-size:15px}.badge-icon{background:var(--surface-2);width:52px;height:52px;color:var(--faint);border-radius:50%;place-items:center;margin-bottom:4px;display:grid}.badge.on{background:linear-gradient(160deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--surface))}.badge.on strong{color:var(--text)}.badge.on .badge-icon{background:var(--accent);color:#fff;box-shadow:0 0 24px -4px var(--accent)}.body-card{align-items:center;gap:14px;display:flex}.body-card>svg{color:var(--faint)}.body-values{flex:1;gap:24px;display:flex}.body-values>span{flex-direction:column;display:flex}.body-values strong{font-size:19px}.body-values small{color:var(--muted);font-size:12.5px}.cat-list{padding:6px 4px}.cat-row{align-items:center;gap:6px;padding-right:4px;display:flex}.cat-row+.cat-row{box-shadow:inset 0 1px 0 var(--line)}.cat-row-main{text-align:left;flex:1;align-items:center;gap:12px;min-width:0;min-height:58px;display:flex}.cat-row-text{flex-direction:column;min-width:0;display:flex}.cat-row-text small{font-size:12.5px}.reorder{display:flex}.cat-preview{flex-direction:column;align-items:center;gap:8px;padding:6px 0;font-size:17px;display:flex}.footer-note,.privacy-note{text-align:center;color:var(--faint);margin-top:12px;font-size:12px}.privacy-note{color:var(--muted);justify-content:center;align-items:center;gap:6px;margin-top:0;display:flex}.import-preview{border-radius:var(--r-sm);background:var(--surface-2);flex-direction:column;gap:10px;padding:12px;display:flex}.journal-editor{flex-direction:column;gap:18px;display:flex}.journal-q{grid-template-columns:28px 1fr;align-items:center;gap:8px 10px;display:grid}.journal-num{background:var(--accent-soft);width:28px;height:28px;color:var(--accent-2);border-radius:50%;place-items:center;font-size:14px;font-weight:700;display:grid}.journal-label{font-size:15.5px;font-weight:600;line-height:1.3}.journal-q textarea{grid-column:span 2;min-height:110px;font-size:16px;line-height:1.55}.save-status{min-height:18px;color:var(--muted);align-self:flex-end;font-size:12.5px}.save-status.saved{color:var(--positive)}.journal-list{flex-direction:column;gap:6px;margin-top:10px;display:flex}.journal-item{border-radius:var(--r-sm);background:var(--surface);text-align:left;flex-direction:column;gap:2px;padding:12px 14px;display:flex}.journal-item span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:13.5px;overflow:hidden}.journal-item.on{box-shadow:inset 0 0 0 1.5px var(--accent)}@media (min-width:720px){.kpis{grid-template-columns:repeat(4,1fr)}.kpi.hero{grid-column:span 1}.kpi.hero .kpi-value{font-size:26px}}@media (max-width:360px){:root{--gutter:14px}.quick-grid{grid-template-columns:repeat(3,1fr)}.icon-grid{grid-template-columns:repeat(6,1fr)}}.brief{flex-direction:column;gap:10px;display:flex}.brief-head{font-size:19px;line-height:1.25}.brief-note{color:var(--text-2);align-items:flex-start;gap:8px;font-size:13px;display:flex}.brief-note svg{color:var(--accent-2);flex:none;margin-top:2px}.brief-note.warn svg{color:var(--danger)}.brief-empty{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.plan,.plan-list{flex-direction:column;gap:10px;margin:0;padding-left:0;list-style:none;display:flex}.plan-list.card{padding:16px}.plan-item{align-items:center;gap:12px;min-height:44px;display:flex}.plan-main{text-align:left;min-width:0;color:inherit;background:0 0;border:0;flex-direction:column;flex:1;gap:2px;padding:0;display:flex}.plan-main strong{overflow-wrap:anywhere;font-size:15px;font-weight:600}.plan-main small{color:var(--muted);font-size:13px}.plan-main small.late{color:var(--danger)}.task-check:disabled{visibility:hidden}.capture{flex-direction:column;gap:6px;display:flex}.capture-row{align-items:center;gap:8px;display:flex}.capture-row .input{flex:1;min-width:0}.class-row{width:100%;min-height:48px;color:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:14px;padding:0;display:flex}.class-time{flex-direction:column;font-size:14px;font-weight:600;display:flex}.class-time small{color:var(--muted);font-weight:400}.balance-row{flex-direction:column;gap:6px;font-size:14px;display:flex}.hw-list{flex-direction:column;padding:6px 16px;display:flex}.hw-group{flex-direction:column;gap:14px;display:flex}.hw-row{align-items:flex-start;gap:12px;padding:12px 0;display:flex}.hw-row+.hw-row{border-top:1px solid var(--line)}.hw-check{border:2px solid var(--cat);color:#fff;width:26px;height:26px;transition:background .16s, transform .16s var(--ease-spring);border-radius:50%;flex-shrink:0;place-items:center;margin-top:2px;display:grid;position:relative}.hw-check:after{content:"";position:absolute;inset:-10px}.hw-check:active{transform:scale(.88)}.hw-row.done .hw-check{background:var(--cat)}.hw-main{text-align:left;flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.hw-main strong{overflow-wrap:anywhere;font-size:15.5px;font-weight:600}.hw-row.done .hw-main strong{color:var(--muted);text-decoration:line-through}.hw-top{align-items:center;gap:8px;font-size:12px;font-weight:600;display:flex}.hw-kind{background:var(--surface-3);color:var(--text-2);border-radius:6px;padding:1px 7px}.hw-kind[data-kind=ds],.hw-kind[data-kind=colle]{background:var(--danger-soft);color:var(--danger)}.hw-subject{color:var(--cat)}.hw-note{color:var(--text-2);white-space:pre-line;font-size:13.5px}.hw-main small{color:var(--muted);font-size:13px}.hw-main small.late{color:var(--danger)}.hw-list>.link-btn{padding:10px 0 8px}.hw-list>p{padding:10px 0}.empty-small{color:var(--text-2);align-items:flex-start;gap:12px;font-size:14px;display:flex}.empty-small svg{color:var(--positive);flex-shrink:0}.nudge,.english-card{align-items:center;gap:14px;display:flex}.nudge>span,.english-text{flex-direction:column;flex:1;gap:2px;display:flex}.nudge small,.english-text small{color:var(--muted);font-size:13px}.nudge>svg:first-child{color:var(--accent-2)}.english-card{background:linear-gradient(135deg, color-mix(in srgb, #b98a00 22%, var(--surface)), var(--surface) 75%)}.english-card.calm{background:var(--surface)}.english-card.calm>svg:last-child{color:var(--positive)}.english-text strong{font-size:16px}.english-badge{color:#f2c94c;background:#f2c94c24;width:44px;height:44px}.english-go{background:var(--accent);width:42px;height:42px;color:var(--accent-ink);border-radius:50%;flex-shrink:0;place-items:center;display:grid}.class-row.now .class-time{color:var(--accent-2)}.vocab-hero{border-radius:var(--r-xl);background:radial-gradient(120% 90% at 0% 0%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%), var(--surface);box-shadow:var(--highlight);flex-direction:column;gap:8px;padding:22px 20px 20px;display:flex}.vocab-hero p{color:var(--text-2);margin-bottom:6px;font-size:14.5px;line-height:1.45}.vocab-hero-count{font-family:var(--font-display);color:var(--text-2);font-size:20px;font-weight:600}.vocab-hero-count .num{color:var(--text);letter-spacing:-.03em;margin-right:4px;font-size:52px;font-weight:700;line-height:1}.vocab-hero-done{font-family:var(--font-display);align-items:center;gap:8px;font-size:22px;font-weight:650;display:flex}.vocab-hero-done svg{color:var(--positive)}.vocab-list-card{flex-direction:column;gap:10px;display:flex}.vocab-list-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.vocab-list-top strong{font-size:16px;font-weight:650}.vocab-list-top svg{color:var(--muted);flex-shrink:0}.vocab-list-meta{color:var(--muted);margin-top:-6px;font-size:13px}.vocab-list-stats{color:var(--text-2);flex-wrap:wrap;gap:6px 14px;display:flex}.vocab-list-stats>span{align-items:center;gap:6px;display:inline-flex}.dot{background:var(--faint);border-radius:50%;flex-shrink:0;width:8px;height:8px;display:inline-block}.dot.mastered{background:var(--positive)}.dot.learning{background:#f2c94c}.kpis.three{grid-template-columns:repeat(3,1fr)}.vocab-actions{grid-template-columns:1fr 1fr;gap:10px;display:grid}.vocab-actions .btn{min-width:0}.word-list{padding:4px 16px}.word-row{text-align:left;grid-template-columns:8px 1fr 1fr;align-items:center;gap:12px;width:100%;min-height:48px;padding:8px 0;display:grid}.word-row+.word-row{border-top:1px solid var(--line)}.word-en{overflow-wrap:anywhere;font-weight:600}.word-fr{color:var(--text-2);overflow-wrap:anywhere;font-size:14px}.textarea.mono{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:14px;line-height:1.5}.app.immersive{padding-bottom:calc(var(--safe-bottom) + 20px)}.vocab-session{min-height:calc(100dvh - var(--safe-top) - var(--safe-bottom) - 40px);flex-direction:column;gap:16px;display:flex}.vocab-bar{align-items:center;gap:12px;display:flex}.vocab-bar .pbar{flex:1}.flashcard{border-radius:var(--r-xl);background:var(--surface);min-height:300px;box-shadow:var(--highlight), 0 20px 40px -24px #000000b3;text-align:center;animation:card-in .26s var(--ease-out);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:18px;padding:28px 22px;display:flex;position:relative}@keyframes card-in{0%{opacity:0;transform:translateY(10px)scale(.98)}}.flashcard.right{box-shadow:inset 0 0 0 2px var(--positive)}.flashcard.wrong{box-shadow:inset 0 0 0 2px var(--danger)}.flash-meta{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);justify-content:space-between;font-size:12px;font-weight:600;display:flex;position:absolute;top:16px;left:18px;right:18px}.flash-new{color:#f2c94c}.flash-prompt{font-family:var(--font-display);letter-spacing:-.01em;overflow-wrap:anywhere;font-size:clamp(26px,8vw,36px);font-weight:700;line-height:1.15}.flash-hint{color:var(--muted);font-size:14px}.flash-answer{border-top:1px solid var(--line);width:100%;animation:card-in .2s var(--ease-out);flex-direction:column;align-items:center;gap:10px;padding-top:18px;display:flex}.flash-answer-text{color:var(--accent-2);overflow-wrap:anywhere;font-size:clamp(21px,6vw,27px);font-weight:600}.flash-example{color:var(--text-2);font-size:15px;font-style:italic;line-height:1.45}.flash-verdict{text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:6px;font-size:13px;font-weight:650;display:inline-flex}.flashcard.right .flash-verdict{color:var(--positive)}.flashcard.wrong .flash-verdict{color:var(--danger)}.speak-btn{background:var(--surface-2);color:var(--text-2);border-radius:999px;align-self:center;align-items:center;gap:8px;padding:8px 16px;font-size:14px;font-weight:600;display:inline-flex}.grade-bar{grid-template-columns:repeat(3,1fr);gap:10px;min-height:64px;display:grid}.grade-bar>.btn{grid-column:1/-1;min-height:56px}.grade-btn{border-radius:var(--r-md);flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:64px;font-size:16px;transition:transform .12s;display:flex}.grade-btn:active:not(:disabled){transform:scale(.96)}.grade-btn small{opacity:.8;font-size:12px;font-weight:500}.grade-again{background:var(--danger-soft);color:var(--danger)}.grade-hard{color:#f2c94c;background:#f2c94c21}.grade-good{color:var(--positive);background:#4ade8021}.vocab-done{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:14px;padding:20px 4px;display:flex}.vocab-done p{color:var(--text-2);line-height:1.5}.vocab-done .btn{max-width:360px}.vocab-done-mark{width:88px;height:88px;color:var(--positive);background:#4ade8021;border-radius:50%;grid-auto-flow:column;align-content:center;place-items:baseline center;font-size:30px;font-weight:700;display:grid}.vocab-done-mark small{opacity:.7;font-size:14px}.mistakes{text-align:left;width:100%;max-width:360px;color:var(--text-2);flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.mistakes li{border-radius:var(--r-sm);background:var(--surface);padding:10px 14px}.mistakes strong{color:var(--text)}.test-form{flex-direction:column;gap:10px;display:flex}.test-input{min-height:54px;font-size:19px}.test-actions{gap:10px;display:flex}.test-actions .btn-full{flex:1}.step-grid{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.step-card{border-radius:var(--r-md);background:var(--surface);box-shadow:var(--highlight);text-align:left;flex-direction:column;gap:6px;min-height:104px;padding:14px 14px 12px;transition:transform .12s;display:flex}.step-card:active:not(.empty){transform:scale(.97)}.step-card.empty{opacity:.45;justify-content:center}.step-num{color:var(--text-2);font-size:14px;font-weight:650}.step-pct{font-family:var(--font-display);font-size:28px;font-weight:700;line-height:1}.step-pct.done{color:var(--positive)}.step-bar{background:var(--surface-3);border-radius:3px;height:5px;overflow:hidden}.step-bar>span{height:100%;width:var(--p);background:var(--positive);border-radius:inherit;display:block}.step-card small{color:var(--muted);font-size:12px}.step-section{flex-direction:column;gap:14px;display:flex}.word-list>.link-btn{padding:12px 0 8px}.word-row{grid-template-columns:1fr 1fr auto}.word-row .word-fr{color:var(--text);font-size:15px}.word-row .word-en{color:var(--text-2);font-size:14px;font-weight:500}.word-pct{text-align:right;min-width:44px;font-size:13px;font-weight:650}.word-pct.mastered{color:var(--positive)}.word-pct.learning{color:#f2c94c}.word-pct.fresh{color:var(--muted)}.hw-urgent{background:var(--danger);color:#fff;border-radius:6px;padding:1px 7px}.hw-dur{color:var(--muted);align-items:center;gap:3px;font-weight:500;display:inline-flex}.hw-main small.hw-plan{color:var(--accent-2);font-weight:600}.tt-hw{align-items:center;gap:4px;display:inline-flex;color:var(--accent-2)!important}
