.focus-control{position:relative}.focus-trigger{display:flex;align-items:center;gap:6px;min-width:40px;height:40px;padding:0 10px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-size:10px;font-weight:800}.focus-trigger:hover,.focus-trigger.active{background:var(--surface-2);color:var(--orange)}.focus-trigger svg{width:18px}.focus-popover{position:absolute;z-index:60;top:48px;right:0;width:min(360px,calc(100vw - 24px));padding:16px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--shadow-lg)}.focus-popover header{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px}.focus-popover header div{display:grid;gap:3px}.focus-popover header strong{font-size:13px}.focus-popover header small{max-width:260px;color:var(--muted);font-size:9px;line-height:1.4}.focus-popover header button{width:30px;height:30px;border:0;background:transparent;color:var(--muted)}.focus-popover header svg{width:16px}.focus-popover label{display:grid;gap:6px;color:var(--muted);font-size:9px;font-weight:750}.focus-popover select{width:100%;height:42px;padding:0 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text)}.focus-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.focus-presets button{height:36px;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--muted);font-size:10px;font-weight:750}.focus-presets button.selected{border-color:var(--orange);background:var(--orange-soft);color:var(--orange)}.focus-start{width:100%;justify-content:center}.focus-clock{display:grid;place-items:center;min-height:116px;color:var(--text);font-size:48px;font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.focus-clock.complete{color:#2f9b72}.focus-clock svg{width:54px;height:54px}.focus-actions{display:flex;justify-content:center;gap:8px}.focus-actions button{min-width:112px;justify-content:center}@media(max-width:760px){.focus-trigger{padding:0;width:40px;justify-content:center}.focus-trigger span{display:none}.focus-popover{position:fixed;top:64px;right:12px;left:12px;width:auto}.focus-popover select{font-size:16px}}.offline-banner{position:fixed;z-index:80;top:0;left:50%;display:flex;align-items:center;gap:7px;padding:7px 12px;border-radius:0 0 9px 9px;background:#9b5c12;color:#fff;font-size:10px;font-weight:800;transform:translate(-50%)}.offline-banner svg{width:14px}.update-toast{position:fixed;z-index:90;right:18px;bottom:18px;display:grid;grid-template-columns:32px 1fr auto 34px;align-items:center;gap:10px;width:min(440px,calc(100vw - 28px));padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}.update-toast>svg{color:var(--orange)}.update-toast div{display:grid;gap:2px}.update-toast strong{font-size:11px}.update-toast small{color:var(--muted);font-size:9px}@media(max-width:560px){.update-toast{right:14px;bottom:calc(76px + env(safe-area-inset-bottom));grid-template-columns:28px 1fr 34px}.update-toast .primary-button{grid-column:1/-1;grid-row:2;justify-content:center}}.palette-backdrop{position:fixed;inset:0;z-index:80;padding-top:min(15vh,130px);background:#05111c94;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.search-palette{width:min(680px,calc(100% - 28px));margin:auto;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 30px 90px #00000059;overflow:hidden}.search-palette>header{display:flex;align-items:center;gap:10px;padding:15px 17px;border-bottom:1px solid var(--border)}.search-palette>header>svg{color:var(--orange)}.search-palette input{flex:1;border:0;background:transparent;color:var(--text);font-size:15px;outline:none}.search-palette header button,.reminder-popover article button{display:grid;place-items:center;border:0;background:transparent;color:var(--muted)}.search-palette header button svg{width:18px}.palette-results{max-height:430px;overflow:auto;padding:7px}.palette-results>button{display:flex;align-items:center;gap:11px;width:100%;padding:10px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left}.palette-results>button:hover,.palette-results>button:focus{background:var(--surface-2);outline:none}.result-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--orange-soft);color:var(--orange)}.result-icon svg{width:16px}.result-icon.task{background:#eef5ff;color:var(--blue)}.result-icon.class{background:#edfaf5;color:var(--green)}.result-icon.event{background:#f2ecff;color:#6d58b5}.palette-results button>span:nth-child(2){flex:1;min-width:0}.palette-results strong,.palette-results small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.palette-results strong{font-size:12px}.palette-results small{margin-top:3px;color:var(--muted);font-size:9px}.palette-results kbd,.search-palette>footer kbd{font-size:9px}.palette-message{padding:45px;text-align:center;color:var(--muted);font-size:12px}.palette-message.error{color:var(--red)}.search-palette>footer{display:flex;justify-content:flex-end;gap:16px;padding:9px 15px;border-top:1px solid var(--border);color:var(--muted);font-size:9px}.reminder-bell{position:relative}.reminder-bell>.icon-button{position:relative}.reminder-bell>.icon-button>span{position:absolute;right:3px;top:2px;display:grid;place-items:center;min-width:15px;height:15px;padding:0 3px;border-radius:9px;background:var(--red);color:#fff;font-size:8px;font-weight:800}.reminder-popover{position:absolute;right:0;top:45px;width:min(360px,calc(100vw - 25px));border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 20px 55px #0000003d;overflow:hidden}.reminder-popover>header{display:flex;align-items:center;justify-content:space-between;padding:13px 15px;border-bottom:1px solid var(--border)}.reminder-popover header strong,.reminder-popover header small{display:block}.reminder-popover header strong{font-size:12px}.reminder-popover header small{margin-top:3px;color:var(--muted);font-size:9px}.reminder-popover header button{display:flex;align-items:center;gap:4px;border:0;background:transparent;color:var(--orange);font-size:10px;font-weight:750}.reminder-popover header button svg{width:13px}.reminder-popover article{display:flex;align-items:center;gap:10px;padding:12px 15px;border-bottom:1px solid var(--border)}.reminder-popover article.due{background:#fff8f4}.reminder-popover article>div{flex:1}.reminder-popover article strong,.reminder-popover article small{display:block}.reminder-popover article strong{font-size:11px}.reminder-popover article small{margin-top:3px;color:var(--muted);font-size:9px}.reminder-popover article button svg{width:15px}.popover-empty,.popover-error{padding:25px;text-align:center;color:var(--muted);font-size:10px}.popover-error{color:var(--red)}.reminder-help{font-size:11px;line-height:1.5;margin:0}@media(max-width:760px){.palette-backdrop{padding-top:8vh}.search-palette>footer{display:none}.reminder-popover{position:fixed;right:12px;top:64px}}.palette-results>button.active{background:var(--surface-2);outline:none}.quick-capture textarea{width:100%;resize:vertical;font:inherit}.capture-hint{margin:-4px 0 4px;color:var(--muted);font-size:11px;line-height:1.5}.capture-preview{padding:18px}.capture-kind{display:inline-block;margin-bottom:13px;padding:4px 8px;border-radius:999px;background:var(--orange-soft);color:var(--orange);font-size:9px;font-weight:800;text-transform:uppercase}.capture-preview label{display:grid;gap:6px;margin-bottom:12px;font-size:11px;font-weight:700}.capture-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.capture-preview footer{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.plan-preview{margin-bottom:18px;padding:18px}.plan-preview>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.plan-preview h2{margin:3px 0}.plan-preview p{margin:4px 0;color:var(--muted);font-size:11px}.proposal-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.proposal-list article{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2)}.proposal-list time{min-width:75px;color:var(--muted);font-size:9px}.proposal-list time strong,.proposal-list article>div>strong,.proposal-list small{display:block}.proposal-list time strong{margin-top:3px;color:var(--text);font-size:11px}.proposal-list article>div>strong{font-size:11px}.proposal-list small{margin-top:3px;color:var(--muted);font-size:9px}.morning-briefing{margin-bottom:18px;padding:18px;background:linear-gradient(135deg,var(--surface),var(--orange-soft))}.morning-briefing>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.morning-briefing .eyebrow{display:flex;align-items:center;gap:5px}.morning-briefing .eyebrow svg{width:14px}.morning-briefing h2{margin:4px 0 0}.briefing-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:15px}.briefing-grid article{padding:11px;border:1px solid color-mix(in srgb,var(--border),transparent 25%);border-radius:9px;background:color-mix(in srgb,var(--surface),transparent 12%)}.briefing-grid strong,.briefing-grid span,.briefing-grid small{display:block}.briefing-grid strong{font-size:18px}.briefing-grid span{margin-top:2px;font-size:9px;font-weight:800;text-transform:uppercase}.briefing-grid small{margin-top:5px;color:var(--muted);font-size:9px;line-height:1.35}.briefing-next{display:flex;align-items:center;gap:6px;margin:13px 0 0;font-size:11px}.briefing-next svg{width:14px;color:var(--orange)}.notification-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 18px 18px}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px;border:1px solid var(--border);border-radius:9px}.toggle-row span strong,.toggle-row span small{display:block}.toggle-row span strong{font-size:11px}.toggle-row span small{margin-top:3px;color:var(--muted);font-size:9px}.toggle-row input{width:18px;height:18px;accent-color:var(--orange)}.quiet-hours{display:flex;gap:10px;grid-column:1/-1}.quiet-hours label{flex:1;display:grid;gap:5px;font-size:10px}.review-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.review-stats article{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1px 10px;padding:17px}.review-stats svg{grid-row:1/3;width:23px;color:var(--orange)}.review-stats strong{font-size:22px}.review-stats span{color:var(--muted);font-size:10px}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.review-grid>.panel{padding:18px}.review-grid header{display:flex;align-items:center;justify-content:space-between}.review-grid header span{padding:3px 7px;border-radius:10px;background:var(--surface-2);font-size:9px}.review-grid h2{margin:0;font-size:14px}.review-grid ul{display:grid;gap:7px;margin:14px 0 0;padding:0;list-style:none}.review-grid li{display:flex;align-items:center;gap:8px;padding:9px;border-radius:8px;background:var(--surface-2);font-size:10px}.review-grid li svg{width:14px;color:var(--green)}.review-grid li span{flex:1}.review-grid li small{display:block;margin-top:3px;color:var(--muted)}.empty-copy{margin:16px 0;color:var(--muted);font-size:11px}.upcoming-week>a{display:flex;align-items:center;gap:5px;margin-top:14px;color:var(--orange);font-size:10px;font-weight:750}.upcoming-week>a svg{width:13px}.reflection p,.reflection>small{color:var(--muted);font-size:10px;line-height:1.5}.reflection textarea{width:100%;margin:10px 0;resize:vertical}.free-window-strip{display:flex;align-items:center;gap:7px;margin-bottom:12px;overflow:auto}.free-window-strip>strong{flex:none;font-size:10px}.free-window-strip span{flex:none;padding:5px 8px;border-radius:999px;background:var(--orange-soft);color:var(--orange);font-size:9px;font-weight:700}@media(max-width:760px){.capture-grid,.proposal-list,.notification-controls,.review-grid{grid-template-columns:1fr}.plan-preview>header,.morning-briefing>header{align-items:stretch;flex-direction:column}.briefing-grid,.review-stats{grid-template-columns:1fr 1fr}.review-stats article:last-child{grid-column:1/-1}}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172231;background:#f5f7fa;font-synthesis:none;--navy:#0e2841;--navy-2:#173852;--orange:#e67713;--orange-soft:#fff3e8;--surface:#fff;--surface-2:#f8fafc;--text:#172231;--muted:#6f7d8d;--border:#e3e8ee;--shadow:0 14px 38px rgba(14,40,65,.07);--red:#d94c4c;--green:#2a9d6f;--blue:#3d79c5}:root[data-theme=dark]{color:#eaf0f6;background:#0b1723;--surface:#111f2c;--surface-2:#172735;--text:#edf3f8;--muted:#98aaba;--border:#263a4a;--shadow:0 18px 48px rgba(0,0,0,.22)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--surface-2);color:var(--text)}button,input{font:inherit}button,a{color:inherit}button{cursor:pointer}a{text-decoration:none}h1,h2,h3,p{margin-top:0}.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;padding:22px 16px;background:var(--navy);color:#fff;display:flex;flex-direction:column;z-index:20}.sidebar-head{display:flex;align-items:center;justify-content:space-between}.wordmark{display:flex;align-items:center;gap:10px;font-size:20px}.wordmark span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--orange);font-weight:900}.add-button,.primary-button{border:0;border-radius:9px;background:var(--orange);color:#fff;font-weight:750;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 17px}.add-button{margin:28px 0 20px;width:100%}.sidebar nav{display:grid;gap:4px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:8px;color:#c6d2dc;font-size:14px;font-weight:650}.sidebar nav a:hover,.sidebar nav a.active{background:#ffffff1a;color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 var(--orange)}.sidebar-foot{margin-top:auto;display:flex;align-items:center;gap:10px;padding:14px 10px 0;border-top:1px solid rgba(255,255,255,.1)}.eia-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(230,119,19,.7);border-radius:7px;color:var(--orange);font-weight:900;font-size:12px}.sidebar-foot strong,.sidebar-foot small{display:block}.sidebar-foot strong{font-size:12px}.sidebar-foot small{color:#91a7b8;font-size:10px;margin-top:2px}.main-column{margin-left:244px;min-height:100vh}.app-header{height:68px;padding:0 30px;border-bottom:1px solid var(--border);background:color-mix(in srgb,var(--surface) 92%,transparent);display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.search-button{width:min(390px,45vw);height:38px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);color:var(--muted);display:flex;align-items:center;gap:9px;padding:0 11px;text-align:left}.search-button span{flex:1}.search-button kbd{font-size:11px;border:1px solid var(--border);background:var(--surface);padding:3px 6px;border-radius:5px}.header-actions{display:flex;align-items:center;gap:8px}.icon-button,.avatar{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:9px;background:transparent;color:var(--muted)}.icon-button:hover{background:var(--surface-2);color:var(--text)}.icon-button svg{width:19px}.avatar{border-radius:50%;background:var(--navy);color:#fff;font-weight:800}.page{max-width:1500px;margin:auto;padding:30px clamp(20px,3vw,46px) 48px}.page-title{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:27px}.page-title h1{font-size:31px;letter-spacing:-.03em;margin-bottom:5px}.page-title p{color:var(--muted);margin-bottom:0}.date-label{font-size:12px!important;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--orange)!important;margin-bottom:7px!important}.primary-button.compact{min-height:42px}.primary-button svg{width:18px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:18px}.stat-grid article{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}.stat-grid strong{font-size:24px}.stat-grid p{font-size:12px;color:var(--muted);margin:2px 0 0}.stat-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:10px}.stat-icon svg{width:19px}.stat-icon.orange{color:var(--orange);background:var(--orange-soft)}.stat-icon.red{color:var(--red);background:#fff0f0}.stat-icon.blue{color:var(--blue);background:#eef5ff}.stat-icon.green{color:var(--green);background:#edfaf5}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);gap:18px}.panel{border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.panel-title{min-height:69px;padding:15px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.panel-title>div{display:flex;align-items:center;gap:10px}.panel-title h2{font-size:16px;margin:0}.panel-title p{font-size:11px;color:var(--muted);margin:3px 0 0}.panel-title button{border:0;background:transparent;color:var(--orange);font-size:12px;font-weight:750;display:flex;align-items:center;gap:4px}.panel-title button svg{width:14px}.spark{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:var(--orange-soft);color:var(--orange)}.recommendation{display:flex;align-items:center;gap:12px;padding:15px 20px;border-bottom:1px solid var(--border)}.recommendation:last-child{border-bottom:0}.rank{color:#a0aab4;font-size:12px;font-weight:800}.item-check{width:18px;height:18px;border:2px solid #cbd3dc;border-radius:50%}.item-main{flex:1;min-width:0}.item-main strong{font-size:13px}.item-main p,.deadline p,.class-row p{font-size:11px;color:var(--muted);margin:4px 0 0}.class-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px}.thermo{background:#9070ce!important}.mechanics{background:#4b8dd5!important}.calculus{background:#3ead85!important}.due{text-align:right}.due strong,.due small{display:block;font-size:11px}.due small{color:var(--muted);margin-top:3px}.due.critical strong{color:var(--red)}.workload-panel{padding-bottom:14px}.workload-chart{height:176px;display:flex;align-items:flex-end;justify-content:space-around;padding:26px 18px 6px}.bar-wrap{height:100%;display:flex;flex-direction:column;align-items:center;gap:8px;width:25px}.bar-track{height:100%;width:9px;background:var(--surface-2);border-radius:10px;display:flex;align-items:flex-end;overflow:hidden}.bar{width:100%;background:var(--orange);border-radius:10px}.bar.heavy{background:var(--red)}.bar-wrap>span{font-size:10px;color:var(--muted)}.legend{display:flex;justify-content:center;gap:13px;font-size:9px;color:var(--muted)}.legend i{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:4px}.legend .light{background:#f3c590}.legend .moderate{background:var(--orange)}.legend .heavy{background:var(--red)}.deadline,.class-row{display:flex;align-items:center;gap:12px;padding:13px 20px;border-bottom:1px solid var(--border)}.deadline:last-child,.class-row:last-child{border:0}.deadline time{width:37px;text-align:center;border:1px solid var(--border);border-radius:7px;overflow:hidden}.deadline time strong,.deadline time span{display:block}.deadline time strong{font-size:15px;padding:4px}.deadline time span{font-size:8px;background:var(--navy);color:#fff;padding:2px}.deadline>div,.class-row>div{flex:1}.deadline>div>strong,.class-row>div>strong{font-size:12px}.badge{font-size:8px;font-weight:900;padding:4px 6px;border-radius:5px}.badge.high{color:var(--red);background:#fff0f0}.badge.medium{color:var(--orange);background:var(--orange-soft)}.badge.quiz{color:#7251ad;background:#f2ecff}.class-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:#fff}.class-icon svg{width:15px}.class-row>span:last-child{font-size:9px;color:var(--muted)}.empty-state{text-align:center;padding:90px 20px}.empty-icon{display:grid;place-items:center;margin:0 auto 18px;width:48px;height:48px;border-radius:12px;background:var(--orange-soft);color:var(--orange)}.empty-state p{color:var(--muted)}.empty-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px}.empty-actions a{display:inline-flex;align-items:center;gap:7px}.empty-actions svg{width:15px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:var(--surface-2)}.auth-layout.single{display:grid;place-items:center;padding:24px}.auth-copy{display:flex;flex-direction:column;justify-content:center;padding:10vw;color:#fff;background:linear-gradient(145deg,var(--navy),#071827);position:relative;overflow:hidden}.auth-copy:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:#e677131f;right:-170px;bottom:-160px}.auth-copy h1{font-size:clamp(42px,5vw,72px);line-height:1.02;letter-spacing:-.05em;margin:22px 0}.auth-copy>p:last-child{color:#b9cbd9;max-width:460px}.logo{display:grid;place-items:center;width:44px;height:44px;border-radius:11px;background:var(--orange);margin-bottom:52px}.auth-card{width:min(430px,calc(100% - 40px));align-self:center;justify-self:center;padding:36px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow)}.auth-card h2{font-size:27px;margin-bottom:6px}.muted{color:var(--muted)}.auth-card label{display:block;font-size:12px;font-weight:750;margin-top:18px}.auth-card input{display:block;width:100%;height:44px;margin-top:7px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text);padding:0 12px;outline:none}.auth-card input:focus{border-color:var(--orange);box-shadow:0 0 0 3px #e677131f}.auth-card .primary-button{width:100%;margin-top:20px}.form-row{text-align:right;margin-top:10px}.form-row a,.form-footer a{color:var(--orange);font-size:12px;font-weight:750}.form-footer{text-align:center;color:var(--muted);font-size:12px;margin:20px 0 0}.form-error,.notice{font-size:12px;padding:10px;border-radius:7px;margin:12px 0 0}.form-error{color:#a92f2f;background:#fff0f0}.notice{color:#176347;background:#eaf8f2}.setup-page,.center-page{min-height:100vh;display:grid;place-items:center;padding:30px;background:var(--surface-2)}.setup-page>section{max-width:960px}.setup-page h1{font-size:clamp(36px,6vw,64px);max-width:700px;letter-spacing:-.05em}.setup-page>section>p{color:var(--muted);max-width:700px;line-height:1.7}.setup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}.setup-grid article{padding:24px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.setup-grid svg{color:var(--orange)}.setup-grid h3{margin:16px 0 8px}.setup-grid p{color:var(--muted);font-size:13px;line-height:1.6}.spinner{width:34px;height:34px;border:3px solid var(--border);border-top-color:var(--orange);border-radius:50%;animation:spin .8s linear infinite}.mobile-only,.scrim{display:none}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1050px){.stat-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.workload-panel{grid-row:2}.setup-grid{grid-template-columns:1fr}}@media(max-width:760px){.mobile-only{display:grid}.sidebar{transform:translate(-100%);transition:transform .2s}.sidebar.open{transform:none}.scrim{display:block;position:fixed;inset:0;border:0;background:#00000073;z-index:15}.main-column{margin-left:0}.app-header{height:60px;padding:0 14px;gap:9px}.search-button{flex:1}.search-button kbd{display:none}.page{padding:22px 15px 38px}.page-title{align-items:flex-start}.page-title h1{font-size:27px}.page-title .primary-button{font-size:0;width:42px;padding:0}.stat-grid{gap:10px}.stat-grid article{padding:13px}.dashboard-grid{gap:12px}.recommendation{padding:14px 13px}.rank{display:none}.due{max-width:74px}.auth-layout{grid-template-columns:1fr}.auth-copy{display:none}.auth-card{padding:25px}.setup-page{padding:20px}}.add-menu-wrap{position:relative}.add-menu{position:absolute;z-index:3;left:0;right:0;top:74px;padding:7px;border:1px solid rgba(255,255,255,.15);border-radius:9px;background:#173852;box-shadow:0 15px 40px #0000004d}.add-menu button{display:flex;justify-content:space-between;width:100%;padding:9px 10px;border:0;border-radius:6px;background:transparent;color:#fff;text-align:left;font-size:12px}.add-menu button:hover{background:#ffffff1a}.add-menu kbd{font-size:9px;color:#9fb2c1}.secondary-button{min-height:42px;padding:0 15px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text);font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px}.secondary-button svg{width:17px}.button-group{display:flex;gap:9px}.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:20px;background:#040e189e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.modal{width:min(760px,100%);max-height:calc(100vh - 40px);overflow:auto;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:0 30px 90px #0000004d}.modal.small{width:min(620px,100%)}.modal>header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--border)}.modal>header h2{margin:4px 0 0}.modal form{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:22px 24px}.modal label{font-size:11px;font-weight:750;color:var(--muted)}.modal input,.modal select,.modal textarea,.assignment-toolbar select{display:block;width:100%;margin-top:6px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text);padding:10px;outline:none}.modal input,.modal select{height:42px}.modal input:focus,.modal select:focus,.modal textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px #e677131a}.modal .wide{grid-column:1/-1}.modal footer{display:flex;justify-content:flex-end;gap:9px;padding-top:5px}.input-icon{position:relative}.input-icon svg{position:absolute;left:10px;top:17px;width:15px;color:var(--muted)}.input-icon input{padding-left:34px}.date-shortcuts{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);margin-top:-5px}.date-shortcuts button{border:1px solid var(--border);border-radius:99px;background:var(--surface);color:var(--text);padding:4px 9px;font-size:10px}.assignment-toolbar{display:flex;gap:9px;align-items:center;margin-bottom:16px}.assignment-search{display:flex;align-items:center;flex:1;min-width:210px;height:41px;border:1px solid var(--border);border-radius:9px;background:var(--surface)}.assignment-search svg{width:17px;color:var(--muted);margin-left:11px}.assignment-search input{flex:1;min-width:0;height:100%;border:0;background:transparent;color:var(--text);padding:0 10px;outline:none}.assignment-toolbar>select,.sort-label select{width:auto;height:41px;margin:0;padding:0 30px 0 11px}.sort-label{position:relative;display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.sort-label svg{position:absolute;right:8px;width:14px;pointer-events:none}.assignment-list{border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.assignment-row{display:flex;align-items:center;gap:12px;min-height:70px;padding:12px 16px;border-bottom:1px solid var(--border)}.assignment-row:last-child{border-bottom:0}.completion{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border:2px solid #c4ced7;border-radius:50%;background:transparent;color:#fff;padding:0}.completion.done{border-color:var(--green);background:var(--green)}.completion svg{width:12px}.assignment-color{width:4px;height:38px;border-radius:4px}.assignment-main{flex:1;min-width:0}.assignment-main>div{display:flex;align-items:center;gap:8px}.assignment-main strong{font-size:13px}.assignment-main p{margin:4px 0 0;color:var(--muted);font-size:10px;text-transform:capitalize}.priority-pill{min-width:60px;text-align:center;border-radius:99px;padding:4px 8px;font-size:9px;font-weight:850;text-transform:uppercase}.priority-pill.low{background:#edf2f6;color:#657483}.priority-pill.medium{background:#eef5ff;color:var(--blue)}.priority-pill.high{background:var(--orange-soft);color:var(--orange)}.priority-pill.critical{background:#fff0f0;color:var(--red)}.assignment-due{min-width:95px;text-align:right}.assignment-due strong,.assignment-due small{display:block;font-size:10px}.assignment-due small{margin-top:4px;color:var(--muted);text-transform:capitalize}.assignment-due.overdue strong{color:var(--red)}.row-actions{display:flex}.row-actions button,.class-card-top button{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:var(--muted)}.row-actions button:hover,.class-card-top button:hover{background:var(--surface-2);color:var(--text)}.row-actions svg,.class-card-top button svg{width:15px}.error-banner{display:flex;align-items:center;gap:8px;margin-bottom:15px;padding:12px;border:1px solid #f1b6b6;border-radius:9px;background:#fff0f0;color:#9f3030;font-size:12px}.error-banner svg{width:18px}.list-skeleton{height:70px;border-bottom:1px solid var(--border);background:linear-gradient(90deg,var(--surface),var(--surface-2),var(--surface));background-size:200% 100%;animation:shimmer 1.2s infinite}.class-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.class-card{--class-color: #3d79c5;position:relative;min-height:230px;padding:22px;border:1px solid var(--border);border-top:4px solid var(--class-color);border-radius:12px;background:var(--surface);box-shadow:var(--shadow)}.class-card-top{display:flex;justify-content:space-between}.class-card-top>span{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:color-mix(in srgb,var(--class-color) 14%,var(--surface));color:var(--class-color)}.class-card-top>span svg{width:19px}.class-card>p{margin:20px 0 6px;color:var(--class-color);font-size:10px;font-weight:850;letter-spacing:.08em}.class-card h2{font-size:19px}.class-meta{display:flex;gap:8px;flex-wrap:wrap}.class-meta span{padding:4px 7px;border-radius:5px;background:var(--surface-2);color:var(--muted);font-size:10px}.class-card footer{position:absolute;left:22px;right:22px;bottom:18px;display:flex;align-items:baseline;gap:5px;padding-top:13px;border-top:1px solid var(--border)}.class-card footer strong{font-size:20px}.class-card footer span{font-size:10px;color:var(--muted)}.class-card.skeleton{background:linear-gradient(90deg,var(--surface),var(--surface-2),var(--surface));background-size:200% 100%;animation:shimmer 1.2s infinite}.modal fieldset{border:0;padding:0;margin:0;display:flex;gap:5px;flex-wrap:wrap}.modal fieldset legend{font-size:11px;font-weight:750;color:var(--muted);margin-bottom:7px}.modal fieldset label{display:flex;align-items:center;gap:4px;border:1px solid var(--border);border-radius:6px;padding:6px 8px}.modal fieldset input,.check-label input{width:auto;height:auto;margin:0}.check-label{display:flex;align-items:center;gap:7px}@keyframes shimmer{to{background-position:-200% 0}}@media(max-width:1100px){.assignment-toolbar{flex-wrap:wrap}.assignment-search{flex-basis:100%}.class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.button-group .secondary-button{font-size:0;width:42px;padding:0}.assignment-toolbar{display:grid;grid-template-columns:1fr 1fr}.assignment-search{grid-column:1/-1}.assignment-toolbar>select,.sort-label,.sort-label select{width:100%}.assignment-row{gap:8px;padding:11px 10px}.assignment-color,.priority-pill{display:none}.assignment-main strong{font-size:12px}.assignment-due{min-width:72px}.row-actions button:last-child{display:none}.class-grid{grid-template-columns:1fr}.modal-backdrop{padding:0;align-items:end}.modal{max-height:94vh;border-radius:15px 15px 0 0}.modal form{grid-template-columns:1fr;padding:17px}.modal .wide{grid-column:auto}.modal>header{padding:18px}.date-shortcuts{flex-wrap:wrap}.modal footer{position:sticky;bottom:0;background:var(--surface)}}.recurrence-days small{align-self:center;color:var(--red);font-size:9px}.class-card-actions{display:flex}.section-tabs{display:flex;gap:5px;margin-bottom:15px}.section-tabs button{border:0;border-radius:7px;background:transparent;color:var(--muted);padding:8px 13px;font-size:12px;font-weight:750}.section-tabs button.active{background:var(--surface);color:var(--text);box-shadow:0 2px 10px #0e284114}.task-list{display:grid;gap:10px}.task-card{border:1px solid var(--border);border-radius:11px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.task-row{display:flex;align-items:center;gap:12px;padding:16px}.task-main{flex:1;min-width:0}.task-main strong{font-size:13px}.task-main p{margin:4px 0 0;color:var(--muted);font-size:10px}.task-progress{width:120px;height:4px;margin-top:8px;border-radius:5px;background:var(--surface-2);overflow:hidden}.task-progress span{display:block;height:100%;background:var(--green)}.subtask-toggle,.row-icon{display:flex;align-items:center;gap:5px;border:0;background:transparent;color:var(--muted);padding:6px}.subtask-toggle svg,.row-icon svg{width:16px}.subtask-toggle small{font-size:9px}.subtasks{padding:4px 18px 14px 50px;border-top:1px solid var(--border);background:var(--surface-2)}.subtasks>label{display:flex;align-items:center;gap:8px;padding:8px 0;font-size:12px}.subtasks>label:has(input:checked) span{text-decoration:line-through;color:var(--muted)}.subtasks form{display:flex;align-items:center;gap:7px;margin-top:5px}.subtasks form svg{width:15px;color:var(--muted)}.subtasks form input{flex:1;height:35px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text);padding:0 9px}.subtasks form button{border:0;background:transparent;color:var(--orange);font-weight:750;font-size:11px}.today-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.today-main{display:grid;gap:14px}.today-section{border:1px solid var(--border);border-radius:11px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.today-section>header{display:flex;align-items:center;gap:8px;padding:13px 17px;border-bottom:1px solid var(--border)}.today-section>header span{display:grid;place-items:center;color:var(--orange)}.today-section>header svg{width:17px}.today-section>header h2{font-size:14px;margin:0}.today-section.danger>header{color:var(--red);background:#fff8f8}.today-section.danger>header span{color:var(--red)}.today-item{display:flex;align-items:center;gap:11px;padding:13px 17px;border-bottom:1px solid var(--border)}.today-item:last-child{border-bottom:0}.today-item>.completion svg{opacity:0}.today-item>.completion:hover svg{opacity:.5;color:var(--muted)}.today-item>div{flex:1}.today-item strong{font-size:12px}.today-item p{margin:3px 0 0;color:var(--muted);font-size:10px}.empty-line{padding:17px;margin:0;color:var(--muted);font-size:12px}.upcoming-line{display:flex;justify-content:space-between;gap:15px;padding:13px 17px;border-bottom:1px solid var(--border);font-size:12px}.upcoming-line:last-child{border:0}.upcoming-line strong{font-size:10px;color:var(--muted)}.today-aside{position:sticky;top:86px}.next-card{display:flex;align-items:center;gap:10px;padding:15px;border-bottom:1px solid var(--border)}.next-card>span{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:var(--orange-soft);color:var(--orange);font-size:11px;font-weight:850}.next-card strong{font-size:11px}.next-card p{margin:4px 0 0;color:var(--muted);font-size:9px}.planner-link{display:flex;align-items:center;gap:7px;margin:14px;padding:10px;border-radius:8px;background:var(--navy);color:#fff;font-size:11px;font-weight:750}.planner-link svg{width:15px}.planner-board{display:grid;gap:14px}.planner-day{border:1px solid var(--border);border-radius:11px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.planner-day>header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--border)}.planner-day>header strong{font-size:13px}.planner-day>header span{color:var(--muted);font-size:10px}.session{display:flex;align-items:center;gap:13px;padding:14px 18px;border-bottom:1px solid var(--border)}.session:last-child{border:0}.session.done{opacity:.55}.session time{width:65px;color:var(--orange);font-size:11px;font-weight:750}.session>div{flex:1}.session strong{font-size:12px}.session p{margin:3px 0 0;color:var(--muted);font-size:10px}@media(max-width:900px){.today-layout{grid-template-columns:1fr}.today-aside{position:static;grid-row:1}}@media(max-width:760px){.task-row{padding:13px 10px;gap:8px}.task-row>.priority-pill,.task-row>.row-icon:last-child{display:none}.subtasks{padding-left:39px}.today-item{padding:12px}.today-item>.priority-pill{display:none}.planner-day>header,.session{padding-left:12px;padding-right:12px}.session time{width:52px}}.calendar-shell{border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:var(--shadow);overflow:hidden}.swipe-hint{display:none}.calendar-toolbar{min-height:66px;padding:11px 16px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:14px}.calendar-nav,.view-switch{display:flex;align-items:center;gap:5px}.calendar-nav h2{font-size:17px;margin:0 0 0 8px}.calendar-nav .secondary-button{min-height:36px;padding:0 12px}.view-switch{padding:3px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2)}.view-switch button{border:0;border-radius:6px;background:transparent;color:var(--muted);padding:7px 11px;text-transform:capitalize;font-size:11px;font-weight:750}.view-switch button.active{background:var(--surface);color:var(--text);box-shadow:0 2px 8px #081e311a}.calendar-loading{height:560px;display:grid;place-items:center}.month-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.weekday{padding:9px 10px;border-bottom:1px solid var(--border);color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;text-align:right}.calendar-day{min-width:0;min-height:118px;padding:7px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:var(--surface)}.calendar-day:nth-child(7n){border-right:0}.calendar-day.outside{background:color-mix(in srgb,var(--surface-2) 55%,var(--surface));color:var(--muted)}.day-number{display:grid;place-items:center;margin-left:auto;width:25px;height:25px;border:0;border-radius:50%;background:transparent;font-size:11px}.calendar-day.today .day-number{background:var(--orange);color:#fff;font-weight:850}.calendar-chip{display:flex;align-items:center;gap:4px;width:100%;min-width:0;margin-top:3px;padding:4px 5px;border:0;border-radius:5px;background:color-mix(in srgb,var(--item-color) 11%,var(--surface));color:var(--text);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left;font-size:9px}.calendar-chip i{flex:0 0 5px;width:5px;height:5px;border-radius:50%;background:var(--item-color)}.calendar-chip small{color:var(--muted);font-size:8px}.more-items{display:block;padding:4px;border:0;background:transparent;color:var(--muted);font-size:9px;cursor:pointer}.more-items:hover,.more-items:focus-visible{color:var(--orange);text-decoration:underline}.calendar-legend{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:11px;border-top:1px solid var(--border);color:var(--muted);font-size:9px}.calendar-legend span{display:flex;align-items:center;gap:5px}.calendar-legend i{width:7px;height:7px;border-radius:50%}.calendar-legend i.assignment{background:var(--orange)}.calendar-legend i.task{background:var(--blue)}.calendar-legend i.event{background:#6d58b5}.calendar-legend i.session{background:var(--green)}.calendar-legend svg{width:12px}.agenda-calendar>section{display:grid;grid-template-columns:82px 1fr;min-height:100px;border-bottom:1px solid var(--border)}.agenda-calendar>section:last-child{border-bottom:0}.agenda-calendar>section.today{background:color-mix(in srgb,var(--orange-soft) 25%,var(--surface))}.agenda-date{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px;border:0;border-right:1px solid var(--border);background:transparent;color:var(--muted)}.agenda-date strong{font-size:10px;text-transform:uppercase}.agenda-date span{font-size:25px;color:var(--text);font-weight:750}.agenda-items{padding:10px}.agenda-item{--item-color: var(--orange);display:grid;grid-template-columns:5px 75px minmax(120px,1fr) auto;align-items:center;gap:10px;width:100%;padding:11px;border:0;border-bottom:1px solid var(--border);background:transparent;text-align:left}.agenda-item:last-child{border-bottom:0}.agenda-item>i{height:34px;border-radius:4px;background:var(--item-color)}.agenda-item time{color:var(--muted);font-size:10px}.agenda-item strong,.agenda-item small{display:block}.agenda-item strong{font-size:12px}.agenda-item small{margin-top:3px;color:var(--muted);font-size:9px}.agenda-item>span{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:9px}.agenda-item>span svg{width:12px}.agenda-empty{display:flex;align-items:center;gap:6px;margin:8px;padding:10px;border:1px dashed var(--border);border-radius:8px;background:transparent;color:var(--muted);font-size:10px}.agenda-empty svg{width:14px}@media(max-width:760px){.calendar-title p:not(.date-label){display:none}.calendar-toolbar{align-items:flex-start;flex-direction:column}.calendar-nav{width:100%}.calendar-nav h2{font-size:14px;margin-left:auto}.view-switch{width:100%}.view-switch button{flex:1}.month-calendar{overflow-x:auto;grid-template-columns:repeat(7,minmax(105px,1fr))}.calendar-day{min-height:105px}.agenda-calendar>section{grid-template-columns:62px 1fr}.agenda-date{padding:13px 8px}.agenda-items{padding:6px}.agenda-item{grid-template-columns:4px 54px 1fr}.agenda-item>span{display:none}.calendar-legend{justify-content:flex-start;overflow:auto;flex-wrap:nowrap}.calendar-legend span{white-space:nowrap}}.subtask-row{display:flex;align-items:center;gap:8px;padding:8px 0}.subtask-row>label{display:flex;align-items:center;gap:8px;flex:1;font-size:12px}.subtask-row:has(input:checked) span{text-decoration:line-through;color:var(--muted)}.subtask-row>button{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:6px;background:transparent;color:var(--muted)}.subtask-row>button:hover{background:var(--surface);color:var(--red)}.subtask-row>button svg{width:14px}html{color-scheme:light}html[data-theme=dark]{color-scheme:dark}:where(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid color-mix(in srgb,var(--orange) 65%,white);outline-offset:2px}:where(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.62}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(prefers-contrast:more){:root{--border:#8794a1;--muted:#475666}.sidebar nav a{color:#eef4f8}}.today-event{display:flex;align-items:center;gap:14px;padding:13px 17px;border-bottom:1px solid var(--border)}.today-event:last-child{border-bottom:0}.today-event time{width:68px;color:var(--orange);font-size:10px;font-weight:750}.today-event time.all-day-time{color:var(--muted)}.today-event strong{display:block;font-size:12px}.today-event small{display:block;margin-top:3px;color:var(--muted);font-size:8px;font-weight:700;letter-spacing:.03em}.today-event p{display:flex;align-items:center;gap:4px;margin:4px 0 0;color:var(--muted);font-size:9px}.today-event p.event-description{display:-webkit-box;max-width:64ch;overflow:hidden;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.today-event p svg{width:12px;flex:0 0 auto}.eyebrow{color:var(--orange);font-size:10px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.class-card-link{display:block;color:inherit}.class-card-link:focus-visible{outline:3px solid color-mix(in srgb,var(--class-color) 38%,transparent);outline-offset:4px;border-radius:8px}.back-link{display:inline-flex;align-items:center;gap:6px;margin-bottom:14px;color:var(--muted);font-size:11px;font-weight:750}.back-link svg{width:15px}.class-detail-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:24px;margin-bottom:16px;border:1px solid var(--border);border-top:5px solid var(--class-color);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.class-detail-hero p{margin:0 0 5px;color:var(--class-color);font-size:11px;font-weight:850;letter-spacing:.08em}.class-detail-hero h1{margin:0;font-size:28px}.class-detail-meta{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px;color:var(--muted);font-size:10px}.class-detail-meta span{display:flex;align-items:center;gap:5px}.class-detail-meta svg{width:14px}.class-detail-stats{display:grid;grid-template-columns:repeat(3,1fr) 1.6fr;gap:10px;margin-bottom:16px}.class-detail-stats article{padding:15px}.class-detail-stats strong,.class-detail-stats span{display:block}.class-detail-stats strong{font-size:20px}.class-detail-stats span{margin-top:4px;color:var(--muted);font-size:9px}.class-detail-stats .danger strong{color:var(--red)}.class-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}.class-detail-main{display:grid;gap:13px}.class-detail-section{overflow:hidden}.class-detail-section>header{display:flex;align-items:center;gap:8px;padding:13px 15px;border-bottom:1px solid var(--border)}.class-detail-section>header span{display:grid;place-items:center;color:var(--orange)}.class-detail-section>header svg{width:16px}.class-detail-section>header h2{flex:1;margin:0;font-size:13px}.class-detail-section>header small{color:var(--muted)}.class-work-list button{display:grid;grid-template-columns:4px minmax(0,1fr) auto 18px;align-items:center;gap:12px;width:100%;padding:13px 15px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);text-align:left}.class-work-list button:last-child{border-bottom:0}.class-work-list button:hover{background:var(--surface-2)}.class-work-list i{height:32px;border-radius:4px}.class-work-list strong,.class-work-list small{display:block}.class-work-list strong{font-size:11px}.class-work-list small{margin-top:3px;color:var(--muted);font-size:9px;text-transform:capitalize}.class-work-list time{color:var(--muted);font-size:9px}.class-work-list svg{width:14px;color:var(--muted)}.class-detail-aside{display:grid;gap:13px;position:sticky;top:84px}.class-information,.class-notes{padding:16px}.class-information h2,.class-notes h2{margin:0;font-size:13px}.class-information dl{margin:14px 0}.class-information dl div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid var(--border);font-size:10px}.class-information dt{color:var(--muted)}.class-information dd{margin:0;text-align:right}.class-information>p{margin:12px 0 0;color:var(--muted);font-size:10px;line-height:1.6}.class-notes>header{display:flex;align-items:center;gap:7px}.class-notes>header svg{width:16px;color:var(--orange)}.class-notes form{display:grid;gap:7px;margin-top:12px}.class-notes label{font-size:9px;font-weight:750}.class-notes textarea{resize:vertical;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text);padding:9px;font:inherit;font-size:10px}.class-notes button{justify-self:end}.class-note-list{display:grid;gap:7px;margin-top:13px}.class-note-list article{padding:9px;border-radius:8px;background:var(--surface-2)}.class-note-list p{margin:0;white-space:pre-wrap;font-size:10px;line-height:1.5}.class-note-list time{display:block;margin-top:6px;color:var(--muted);font-size:8px}.class-note-list .empty-line{padding:8px 0}@media(max-width:900px){.class-detail-grid{grid-template-columns:1fr}.class-detail-aside{position:static;grid-template-columns:1fr 1fr}.class-detail-stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.class-detail-hero{align-items:flex-start;flex-direction:column;padding:18px}.class-detail-hero h1{font-size:23px}.class-detail-hero .primary-button{width:100%}.class-detail-aside{grid-template-columns:1fr}.class-detail-stats{grid-template-columns:1fr 1fr}.class-work-list button{grid-template-columns:4px minmax(0,1fr) 16px}.class-work-list time{display:none}}.class-hero-actions{display:flex;gap:8px;flex-wrap:wrap}.class-hero-actions a{display:inline-flex;align-items:center;gap:6px}.class-hero-actions svg{width:15px}@media(max-width:620px){.class-hero-actions{width:100%}.class-hero-actions .secondary-button{flex:1}.class-hero-actions .primary-button{width:auto;flex:1}}.class-work-item{display:grid;grid-template-columns:4px minmax(0,1fr) auto auto 24px;align-items:center;gap:12px;width:100%;padding:13px 15px;border-bottom:1px solid var(--border);color:var(--text);text-align:left}.class-work-item:last-child{border-bottom:0}.class-work-item:hover{background:var(--surface-2)}.class-work-list .class-work-item>button{display:grid;place-items:center;width:24px;padding:0;border:0;background:transparent;color:var(--muted)}.study-link{display:flex;align-items:center;gap:5px;padding:6px 8px;border-radius:6px;background:var(--orange-soft);color:var(--orange);font-size:9px;font-weight:750}.study-link svg{width:12px}@media(max-width:620px){.class-work-item{grid-template-columns:4px minmax(0,1fr) auto 22px}.study-link{font-size:0}.study-link svg{width:14px}}.semester-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.semester-controls select{min-height:36px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);padding:0 30px 0 10px;font-size:10px;font-weight:700}.semester-controls svg{width:14px}@media(max-width:700px){.semester-controls{width:100%;justify-content:flex-start}.semester-controls select,.semester-controls .primary-button{flex:1}}.calendar-detail-modal{max-width:520px}.calendar-detail-heading{display:flex;align-items:flex-start;gap:11px}.calendar-detail-heading>i{flex:0 0 7px;width:7px;height:48px;border-radius:6px}.calendar-detail-heading h2{margin-bottom:3px}.calendar-detail-heading small{color:var(--muted);font-size:9px;text-transform:capitalize}.calendar-detail-body{display:grid;gap:4px;padding:4px 20px 18px}.calendar-detail-row{display:flex;align-items:flex-start;gap:10px;padding:9px 0}.calendar-detail-row>span{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:var(--surface-2);color:var(--orange)}.calendar-detail-row svg{width:14px}.calendar-detail-row small,.calendar-detail-row strong{display:block}.calendar-detail-row small{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.05em}.calendar-detail-row strong{margin-top:2px;font-size:11px;font-weight:650}.calendar-detail-copy{padding:11px;margin-top:5px;border-radius:9px;background:var(--surface-2)}.calendar-detail-copy h3{display:flex;align-items:center;gap:6px;margin:0 0 7px;font-size:10px}.calendar-detail-copy h3 svg{width:14px;color:var(--orange)}.calendar-detail-copy p{margin:0;white-space:pre-wrap;color:var(--text);font-size:11px;line-height:1.6}.calendar-detail-empty{margin:7px 0;padding:12px;border:1px dashed var(--border);border-radius:9px;color:var(--muted);font-size:10px}.calendar-detail-modal>footer{display:flex;justify-content:flex-end;gap:8px;padding:13px 20px;border-top:1px solid var(--border)}.calendar-detail-modal>footer a{display:inline-flex;align-items:center;gap:6px}.calendar-detail-modal>footer svg{width:14px}@media(max-width:620px){.calendar-detail-modal{max-height:88vh;overflow:auto}.calendar-detail-modal>footer{position:sticky;bottom:0;background:var(--surface)}}.calendar-detail-modal>footer{flex-wrap:wrap}.today-edit{display:grid;place-items:center;width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:var(--muted)}.today-edit:hover{background:var(--surface-2);color:var(--orange)}.today-edit svg{width:14px}.upcoming-editable{align-items:center;width:100%;border:0;background:transparent;color:var(--text);text-align:left}.upcoming-editable:hover{background:var(--surface-2)}.upcoming-editable span{flex:1}.upcoming-editable svg{width:13px;color:var(--muted)}.next-card-editable{width:100%;border:0;background:transparent;color:var(--text);text-align:left}.next-card-editable:hover{background:var(--surface-2)}.next-card-editable>svg{width:13px;color:var(--muted)}@media(max-width:620px){.today-item{gap:8px}.today-item>.priority-pill{display:none}.today-edit{margin-left:auto}}.today-event-button{width:100%;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}.today-event-button:hover{background:var(--surface-2)}.today-event-button>div{flex:1}.today-event-button>svg{width:14px;color:var(--muted)}.tag-picker{display:grid;gap:9px;margin:0;padding:11px;border:1px solid var(--border);border-radius:9px}.tag-picker legend{display:flex;align-items:center;gap:5px;padding:0 4px;font-size:10px;font-weight:750}.tag-picker legend svg{width:14px;color:var(--orange)}.tag-options{display:flex;gap:6px;flex-wrap:wrap}.tag-options label{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid var(--border);border-radius:999px;background:var(--surface);font-size:9px;cursor:pointer}.tag-options label.selected{border-color:var(--tag-color);background:color-mix(in srgb,var(--tag-color) 12%,var(--surface))}.tag-options input{position:absolute;opacity:0;pointer-events:none}.tag-options i{width:7px;height:7px;border-radius:50%;background:var(--tag-color)}.tag-options small{color:var(--muted);font-size:9px}.tag-create{display:flex;gap:6px}.tag-create input{flex:1;min-height:32px}.tag-create button{display:flex;align-items:center;gap:4px;border:0;border-radius:7px;background:var(--surface-2);color:var(--text);padding:0 9px;font-size:9px;font-weight:750}.tag-create button svg{width:13px}.tag-create button:disabled{opacity:.45}.mobile-tab-bar,.mobile-quick-add,.mobile-brand{display:none}@media(max-width:760px){html{scroll-padding-bottom:92px}body{background:var(--surface);overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent}.main-column{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.app-header{height:56px;padding:0 12px;justify-content:flex-start;border-bottom-color:color-mix(in srgb,var(--border) 72%,transparent)}.app-header>.mobile-only{display:none}.mobile-brand{display:flex;align-items:center;gap:8px;margin-right:auto;font-size:15px}.mobile-brand span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--orange);color:#fff;font-weight:900}.search-button{order:2;flex:0 0 40px;width:40px;height:40px;padding:0;justify-content:center;border:0;background:transparent}.search-button span{display:none}.search-button svg{width:20px}.header-actions{order:3;gap:2px}.header-actions>.avatar,.header-actions>button:last-child{display:none}.header-actions .icon-button{width:40px;height:40px}.page{padding:18px 14px 28px}.page-title{gap:12px;margin-bottom:18px}.page-title h1{margin:8px 0 4px;font-size:26px}.page-title>div>p{font-size:11px}.page-title .date-label{font-size:9px}.panel,.calendar-shell,.today-section,.task-card,.assignment-list{border-radius:12px;box-shadow:none}.mobile-tab-bar{position:fixed;z-index:30;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);height:calc(62px + env(safe-area-inset-bottom));padding:5px 4px env(safe-area-inset-bottom);border-top:1px solid var(--border);background:color-mix(in srgb,var(--surface) 94%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 -8px 28px #081b2c14}.mobile-tab-bar a,.mobile-tab-bar button{display:flex;min-width:0;min-height:52px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:transparent;color:var(--muted);font-size:9px;font-weight:700}.mobile-tab-bar svg{width:20px;height:20px}.mobile-tab-bar a.active{color:var(--orange)}.mobile-tab-bar a.active svg{stroke-width:2.6}.mobile-quick-add{position:fixed;z-index:31;right:16px;bottom:calc(76px + env(safe-area-inset-bottom));display:grid;place-items:center;width:52px;height:52px;border:0;border-radius:17px;background:var(--orange);color:#fff;box-shadow:0 8px 24px color-mix(in srgb,var(--orange) 38%,transparent)}.mobile-quick-add svg{width:24px}.sidebar{width:min(88vw,340px);padding-bottom:calc(20px + env(safe-area-inset-bottom));overflow-y:auto}.sidebar nav a{min-height:46px}.sidebar-foot{margin-top:20px}.calendar-page{padding-left:0;padding-right:0}.calendar-page>.page-title,.calendar-page>.error-banner{margin-left:14px;margin-right:14px}.calendar-shell{border-left:0;border-right:0;border-radius:0}.calendar-toolbar{padding:12px 14px;gap:10px}.calendar-nav{display:grid;grid-template-columns:auto 40px 40px 1fr;gap:5px}.calendar-nav .secondary-button{min-height:40px;padding:0 12px}.calendar-nav .icon-button{width:40px;height:40px}.calendar-nav h2{font-size:13px;text-align:right;line-height:1.2}.view-switch button{min-height:38px;text-transform:capitalize}.month-calendar{overflow:visible;grid-template-columns:repeat(7,minmax(0,1fr))}.weekday{padding:8px 1px;font-size:8px}.calendar-day{min-width:0;min-height:64px;padding:3px;border-right-color:color-mix(in srgb,var(--border) 55%,transparent)}.day-number{width:28px;height:28px;margin:auto;font-size:10px}.calendar-day>div{display:flex;justify-content:center;gap:2px;overflow:hidden}.calendar-chip{width:5px;height:5px;min-height:0;padding:0;border-radius:50%;font-size:0;background:var(--item-color)}.calendar-chip i,.calendar-chip small,.more-items{display:none}.agenda-calendar>section{grid-template-columns:54px minmax(0,1fr)}.agenda-date{min-height:76px;padding:12px 5px}.agenda-date span{font-size:20px}.agenda-items{padding:6px 8px}.calendar-swipe-surface{position:relative;touch-action:pan-y;transition:transform .2s cubic-bezier(.22,.8,.3,1);will-change:transform}.calendar-swipe-surface.dragging{transition:none}.calendar-swipe-surface.swipe-next{animation:calendar-swipe-next .3s cubic-bezier(.22,.8,.3,1)}.calendar-swipe-surface.swipe-previous{animation:calendar-swipe-previous .3s cubic-bezier(.22,.8,.3,1)}.calendar-swipe-surface.refreshing:after{content:"";position:absolute;top:0;left:0;width:32%;height:2px;background:var(--orange);animation:calendar-refresh 1s ease-in-out infinite}.swipe-hint{display:flex;align-items:center;justify-content:center;gap:5px;margin:0;padding:7px;border-bottom:1px solid var(--border);color:var(--muted);font-size:9px}.swipe-hint svg{width:12px;height:12px}@keyframes calendar-swipe-next{0%{transform:translate(var(--swipe-start));opacity:1}44%{transform:translate(-34px);opacity:0}45%{transform:translate(34px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes calendar-swipe-previous{0%{transform:translate(var(--swipe-start));opacity:1}44%{transform:translate(34px);opacity:0}45%{transform:translate(-34px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes calendar-refresh{0%{transform:translate(-110%)}to{transform:translate(420%)}}.agenda-item{min-height:58px;grid-template-columns:4px 48px minmax(0,1fr);gap:8px;padding:10px 8px}.agenda-item time{font-size:8px}.agenda-item strong{font-size:11px}.agenda-item small{font-size:8px;white-space:normal}.calendar-legend{padding:10px 14px 14px;font-size:8px;-webkit-overflow-scrolling:touch}.assignment-toolbar{position:sticky;top:56px;z-index:8;padding:10px;background:var(--surface)}.assignment-row{min-height:64px}.assignment-due{font-size:9px}.row-actions button{width:38px;height:38px}.today-layout{gap:12px}.today-section>header{padding:13px 14px}.today-item{min-height:62px;padding:12px 13px}.today-item strong{font-size:12px}.today-item p{font-size:9px;line-height:1.4}.task-card{padding:14px}.section-tabs{overflow-x:auto;padding-bottom:3px}.section-tabs button{white-space:nowrap;min-height:40px}.modal-backdrop{padding-top:env(safe-area-inset-top)}.modal{width:100%;max-height:calc(96dvh - env(safe-area-inset-top));border-left:0;border-right:0}.modal input,.modal select,.modal textarea{font-size:16px}.modal footer{padding-bottom:calc(14px + env(safe-area-inset-bottom))}.palette-backdrop{padding:env(safe-area-inset-top) 0 0}.search-palette{width:100%;height:100%;margin:0;border:0;border-radius:0}.palette-results{max-height:calc(100dvh - 70px)}.search-palette input{font-size:16px}}@media(max-width:390px){.mobile-tab-bar a,.mobile-tab-bar button{font-size:8px}.calendar-nav h2{font-size:12px}.page-title h1{font-size:24px}}
