:root{color-scheme:light;--bg:#f6f8fc;--panel:#fff;--panel-2:#fafbfd;--side:#fff;--text:#202b41;--muted:#7c899d;--muted-2:#a2adbd;--border:#e8edf4;--brand:#566d9e;--brand-hover:#445c8a;--brand-soft:#eaf0fa;--brand-cutout:#fff;--nav-active:#eef3fb;--nav-hover:#f6f8fc;--nav-text:#718097;--shadow:0 3px 15px rgba(28,48,79,.035);--shadow-lg:0 20px 70px rgba(27,40,74,.17);--good:#409e80;--good-soft:#eaf7f0;--warn:#d18a51;--warn-soft:#fff5e9;--bad:#c76c75;--bad-soft:#fff0f1;--focus-ring:#91addc;--r:16px}
:root[data-theme="dark"]{color-scheme:dark;--bg:#111827;--panel:#1c2638;--panel-2:#202d41;--side:#172134;--text:#ecf1f9;--muted:#a3b0c5;--muted-2:#7f91aa;--border:#2c3a51;--brand:#91a9df;--brand-hover:#b1c4f4;--brand-soft:#2c3d5a;--brand-cutout:#172134;--nav-active:#2a3d5a;--nav-hover:#223249;--nav-text:#9baec8;--shadow:0 3px 20px rgba(0,0,0,.06);--shadow-lg:0 20px 70px rgba(0,0,0,.4);--good:#76cbb0;--good-soft:#224239;--warn:#efb481;--warn-soft:#493b2f;--bad:#e49da3;--bad-soft:#482f3b;--focus-ring:#a7c2fd}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}button:disabled{opacity:.45;cursor:not-allowed}svg{display:block;width:20px;height:20px}a{color:var(--brand)}.app-shell{display:flex;min-height:100vh}.sidebar{width:252px;flex-shrink:0;background:var(--side);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:31px 16px 19px;position:sticky;top:0;height:100vh;z-index:10}.brand{display:flex;align-items:center;gap:10px;margin:0 10px 44px;font-size:24px;letter-spacing:-1.4px;font-weight:750}.brand-mark{display:grid;place-items:center;background:#566d9e;border-radius:11px;color:#fff;width:37px;height:37px}.brand-mark svg{width:29px;height:29px}.brand-dot{color:var(--brand)}.workspace-label,.eyebrow{font-size:10px;color:var(--muted-2);letter-spacing:1.7px;font-weight:780}.workspace-label{padding:0 15px;margin-bottom:12px}.main-nav{display:grid;gap:5px}.nav-link{width:100%;display:flex;gap:13px;align-items:center;color:var(--nav-text);text-align:left;background:transparent;border:0;border-radius:10px;padding:12px 13px;font-weight:600;font-size:13px;transition:.16s}.nav-link>span[data-icon],.nav-link>span[data-icon] svg{width:18px;height:18px}.nav-link:hover{background:var(--nav-hover);color:var(--text)}.nav-link.active{color:var(--brand);background:var(--nav-active)}.nav-count{margin-left:auto;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:700;border-radius:6px;padding:2px 7px}.sidebar-bottom{margin-top:auto}.small-panel{background:linear-gradient(145deg,var(--brand-soft),var(--panel));border:1px solid var(--border);padding:16px;border-radius:13px;margin:0 4px 20px}.small-panel-icon{color:var(--brand);margin-bottom:10px}.small-panel-icon svg{width:21px;height:21px}.small-panel strong{font-size:12px}.small-panel p{margin:7px 0 0;color:var(--muted);font-size:11px;line-height:1.65}.settings-link{margin-bottom:14px}.sidebar-footer{border-top:1px solid var(--border);padding:17px 6px 0;display:flex;align-items:center;gap:10px}.avatar,.top-avatar{background:linear-gradient(140deg,#8aa4d0,#566d9e);color:white;border-radius:11px;width:35px;height:35px;display:grid;place-items:center;font-size:14px;font-weight:700}.sidebar-footer>div:nth-child(2){display:grid;gap:4px}.sidebar-footer strong{font-size:12px}.sidebar-footer span{font-size:10px;color:var(--muted)}.footer-chevron{margin-left:auto;color:var(--muted-2)}.footer-chevron svg{width:15px}.main-area{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:79px;min-height:79px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:0 clamp(22px,3.6vw,62px);background:var(--panel);gap:14px}.topbar-left,.topbar-right,.breadcrumbs{display:flex;align-items:center;gap:17px}.breadcrumbs{color:var(--muted);font-size:12px;font-weight:500;gap:11px}.breadcrumbs svg{width:14px;height:14px;color:var(--muted-2)}#crumb-current{color:var(--text);font-weight:700}.topbar-right{gap:15px}.top-date{font-size:12px;color:var(--muted);margin-right:5px}.icon-btn{border:1px solid var(--border);display:grid;place-items:center;color:var(--muted);background:var(--panel);border-radius:10px;width:37px;height:37px}.icon-btn:hover{color:var(--brand);background:var(--brand-soft)}.icon-btn svg{width:17px;height:17px}.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#566d9e;border:1px solid #566d9e;color:white;border-radius:10px;padding:11px 16px;font-weight:650;font-size:12px;min-height:39px;transition:.15s}.primary-btn:hover{background:#435b8d}.primary-btn svg,.ghost-btn svg,.outline-btn svg{height:16px;width:16px}.top-avatar{width:34px;height:34px;border-radius:50%;font-size:12px}.mobile-menu{display:none}.content{padding:36px clamp(22px,3.6vw,62px) 50px;width:100%;max-width:1630px;flex:1;margin:0 auto}.main-footer{padding:14px clamp(22px,3.6vw,62px) 22px;display:flex;justify-content:space-between;color:var(--muted-2);font-size:11px}.page-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:27px}.eyebrow{margin-bottom:8px}.page-top h1{margin:0;letter-spacing:-1.4px;font-size:clamp(25px,2.5vw,34px);font-weight:750}.subhead{font-size:13px;margin:9px 0 0;color:var(--muted);line-height:1.65}.page-actions{display:flex;align-items:center;gap:10px}.outline-btn,.ghost-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:11px 14px;min-height:38px;background:var(--panel);border:1px solid var(--border);color:var(--text);font-size:12px;font-weight:650}.outline-btn:hover,.ghost-btn:hover{background:var(--nav-hover)}.ghost-btn{border-color:transparent}.card{background:var(--panel);border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--shadow)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,.88fr);gap:20px}.full-span{grid-column:1/-1}.stack{display:grid;gap:20px;align-content:start}.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat-card{padding:23px;min-height:141px;display:flex;flex-direction:column;gap:12px}.stat-card .stat-top{display:flex;align-items:center;justify-content:space-between}.stat-label{color:var(--muted);font-size:12px;font-weight:550}.stat-icon{display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);width:33px;height:33px;border-radius:10px}.stat-icon svg{width:17px;height:17px}.stat-number{font-size:31px;font-weight:750;letter-spacing:-1.2px}.stat-bottom{display:flex;align-items:baseline;gap:8px;color:var(--muted-2);font-size:10px}.stat-bottom strong{color:var(--good);font-size:11px}.section-card{padding:23px}.section-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:23px}.section-header h2,.section-header h3{margin:0;font-size:15px;letter-spacing:-.3px}.section-header p{margin:5px 0 0;color:var(--muted);font-size:11px}.text-btn{border:0;padding:3px 0;background:transparent;font-weight:700;color:var(--brand);font-size:11px}.text-btn:hover{text-decoration:underline}.task-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);min-width:0}.task-item:last-child{border:0}.task-check{appearance:none;width:19px;height:19px;flex:0 0 19px;border:1.5px solid var(--muted-2);border-radius:6px;display:grid;place-items:center;cursor:pointer;background:transparent}.task-check:checked{background:#566d9e;border-color:#566d9e}.task-check:checked:after{content:'✓';font-weight:800;font-size:13px;color:#fff}.task-info{min-width:0;flex:1}.task-name{font-size:12.5px;font-weight:640;overflow-wrap:anywhere}.done .task-name{text-decoration:line-through;color:var(--muted-2)}.task-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:5px;font-size:10.5px;color:var(--muted)}.dot-sep{width:3px;height:3px;background:var(--muted-2);border-radius:50%}.priority{font-size:10px;font-weight:700;padding:5px 9px;border-radius:6px;white-space:nowrap}.priority.high{background:var(--bad-soft);color:var(--bad)}.priority.medium{background:var(--warn-soft);color:var(--warn)}.priority.low{background:var(--good-soft);color:var(--good)}.row-actions{display:flex;gap:3px;align-items:center}.tiny-btn{color:var(--muted-2);border:0;background:none;padding:6px;border-radius:7px}.tiny-btn:hover{color:var(--brand);background:var(--brand-soft)}.tiny-btn.danger:hover{color:var(--bad);background:var(--bad-soft)}.tiny-btn svg{width:15px;height:15px}.hero-card{padding:25px;background:linear-gradient(125deg,#51699d,#7c95bf);border-radius:16px;color:white;position:relative;overflow:hidden;min-height:152px;display:flex;flex-direction:column;justify-content:center}.hero-card:after{content:'';position:absolute;right:-40px;top:-100px;width:245px;height:245px;border-radius:50%;border:1px solid rgba(255,255,255,.16);box-shadow:0 0 0 45px rgba(255,255,255,.035),0 0 0 95px rgba(255,255,255,.028)}.hero-card .hero-small{font-size:10px;text-transform:uppercase;font-weight:700;letter-spacing:1.3px;color:#d9e4f7;margin-bottom:12px}.hero-card h2{font-size:21px;letter-spacing:-.65px;margin:0 0 9px;max-width:80%}.hero-card p{font-size:12px;line-height:1.7;color:#e6edfb;margin:0;max-width:75%}.right-stat-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.right-stat-number{font-size:25px;font-weight:730;letter-spacing:-.7px}.small-muted{color:var(--muted);font-size:11px;line-height:1.65}.progress-track{height:7px;border-radius:9px;background:var(--brand-soft);overflow:hidden;margin-top:13px}.progress-fill{height:100%;border-radius:9px;background:#7f9dce;transition:width .25s}.schedule-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.schedule-item:last-child{border-bottom:0}.schedule-time{font-size:10px;color:var(--muted);width:72px;flex:0 0 72px}.schedule-marker{height:29px;width:3px;border-radius:3px;background:#8ba1ce}.schedule-name{font-size:12px;font-weight:650}.schedule-room{font-size:10.5px;color:var(--muted);margin-top:4px}.schedule-item-info{min-width:0;flex:1}.focus-small{display:flex;align-items:center;gap:18px}.timer-ring{width:112px;height:112px;border:8px solid var(--brand-soft);border-right-color:#8ea9d5;border-top-color:#8ea9d5;border-radius:50%;display:grid;place-items:center;flex:0 0 auto}.timer-ring strong{font-size:20px;font-variant-numeric:tabular-nums;letter-spacing:-.6px}.focus-small h3{font-size:13px;margin:0 0 7px}.focus-small p{font-size:11px;line-height:1.6;color:var(--muted)}.focus-small .primary-btn{margin-top:8px}.empty{padding:26px 15px;text-align:center;color:var(--muted)}.empty-illustration{color:var(--brand);background:var(--brand-soft);width:46px;height:46px;border-radius:13px;display:grid;place-items:center;margin:0 auto 11px}.empty strong{display:block;color:var(--text);margin-bottom:6px}.empty p{font-size:12px;margin:0 0 12px}.toolbar{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:18px;flex-wrap:wrap}.filter-group{display:flex;gap:7px;flex-wrap:wrap}.filter-chip{border:1px solid var(--border);border-radius:8px;padding:9px 14px;background:var(--panel);color:var(--muted);font-weight:630;font-size:11px}.filter-chip.active{background:var(--brand-soft);color:var(--brand);border-color:transparent}.count-info{font-size:11px;color:var(--muted)}.list-panel{padding:9px 23px}.list-panel .task-item{padding:18px 0}.list-panel .task-name{font-size:13px}.schedule-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.day-column{background:var(--panel);border:1px solid var(--border);border-radius:13px;overflow:hidden;min-height:215px}.day-header{padding:17px 14px;border-bottom:1px solid var(--border);font-weight:730;font-size:12px;display:flex;justify-content:space-between}.day-header.today{color:var(--brand);background:var(--brand-soft)}.day-header span{font-size:10px;color:var(--muted)}.day-body{padding:11px;display:grid;align-content:start;gap:10px}.class-block{border-radius:9px;padding:12px 10px;background:var(--brand-soft);border-left:3px solid var(--brand);min-height:100px}.class-block strong{font-size:11px;display:block;line-height:1.45;overflow-wrap:anywhere}.class-block span{font-size:10px;color:var(--muted);display:block;margin-top:8px}.class-block .room{margin-top:4px}.class-block .row-actions{margin-top:6px}.day-empty{color:var(--muted-2);font-size:11px;text-align:center;padding:24px 0}.grades-intro{padding:18px 21px;display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}.grade-summary-item{display:grid;gap:7px}.grade-summary-item:not(:last-child){border-right:1px solid var(--border)}.grade-summary-item span{font-size:11px;color:var(--muted)}.grade-summary-item strong{font-size:24px;letter-spacing:-.8px}.grade-help{background:var(--brand-soft);padding:13px 16px;border-radius:10px;color:var(--text);margin-bottom:18px;font-size:12px;line-height:1.6}.grade-help strong{color:var(--brand)}.grade-table{width:100%;border-collapse:collapse;min-width:780px}.grade-table th{text-align:left;color:var(--muted);font-size:10px;letter-spacing:.3px;padding:15px 14px;border-bottom:1px solid var(--border);font-weight:700}.grade-table td{padding:14px;border-bottom:1px solid var(--border);font-size:12px;vertical-align:middle}.grade-table tbody tr:last-child td{border-bottom:0}.grade-table input{width:80px;max-width:100%;border:1px solid var(--border);background:var(--panel-2);border-radius:7px;padding:10px 8px;color:var(--text);font-size:12px}.grade-table td:first-child strong{display:block;font-size:12px}.grade-table td:first-child span{display:block;margin-top:5px;font-size:10px;color:var(--muted)}.grade-chip{font-size:11px;font-weight:750}.grade-chip.ok{color:var(--good)}.grade-chip.bad{color:var(--bad)}.grade-chip.pending{color:var(--muted)}.table-scroll{overflow-x:auto}.note-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:15px}.note-card{padding:22px;display:flex;flex-direction:column;min-height:216px}.note-card h3{margin:0 0 13px;font-size:15px}.note-body{font-size:12px;line-height:1.8;white-space:pre-wrap;color:var(--muted);overflow-wrap:anywhere;flex:1}.note-footer{display:flex;align-items:center;justify-content:space-between;margin-top:15px;border-top:1px solid var(--border);padding-top:12px;color:var(--muted-2);font-size:10px}.focus-layout{display:grid;grid-template-columns:1.3fr .8fr;gap:20px}.focus-main{padding:35px 24px;text-align:center}.focus-switch{display:inline-flex;gap:5px;background:var(--bg);padding:5px;border-radius:11px;margin-bottom:30px}.focus-switch button{border:0;background:transparent;color:var(--muted);padding:9px 15px;font-size:12px;border-radius:8px;font-weight:650}.focus-switch button.active{background:var(--panel);color:var(--brand);box-shadow:var(--shadow)}.large-timer{width:236px;height:236px;margin:0 auto 24px;border:11px solid var(--brand-soft);border-top-color:var(--brand);border-right-color:var(--brand);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center}.large-timer span{font-size:47px;font-weight:760;font-variant-numeric:tabular-nums;letter-spacing:-2px}.large-timer small{font-size:11px;color:var(--muted);margin-top:3px}.focus-actions{display:flex;align-items:center;justify-content:center;gap:11px}.focus-actions .primary-btn{min-width:120px}.focus-tip{margin-top:26px;color:var(--muted);font-size:12px}.focus-side{padding:24px}.session-stat{padding:20px 0;border-bottom:1px solid var(--border)}.session-stat:last-child{border-bottom:0}.session-stat strong{display:block;font-size:28px;letter-spacing:-1px}.session-stat span{font-size:11px;color:var(--muted)}.settings-group{padding:23px;margin-bottom:18px}.settings-group h2{font-size:15px;margin:0 0 7px}.settings-group p{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 20px}.theme-options{display:flex;gap:12px;flex-wrap:wrap}.theme-option{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:10px;background:var(--panel);color:var(--muted);padding:13px 17px;font-size:12px;font-weight:650}.theme-option.active{border-color:var(--brand);background:var(--brand-soft);color:var(--brand)}.theme-option svg{height:17px;width:17px}.settings-line{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.settings-line span{font-size:12px;color:var(--muted)}.danger-btn{border:1px solid var(--bad);color:var(--bad);background:transparent;border-radius:9px;padding:10px 13px;font-weight:600;font-size:12px}.danger-btn:hover{background:var(--bad-soft)}.app-modal{border:1px solid var(--border);border-radius:18px;width:min(470px,calc(100vw - 24px));padding:0;background:var(--panel);color:var(--text);box-shadow:var(--shadow-lg);max-height:min(90vh,750px)}.app-modal::backdrop{background:rgba(17,28,50,.58);backdrop-filter:blur(4px)}.modal-header{display:flex;align-items:start;justify-content:space-between;padding:25px 27px 19px;border-bottom:1px solid var(--border)}.modal-header h2{font-size:23px;letter-spacing:-.8px;margin:4px 0 0}.modal-body{padding:22px 27px;display:grid;gap:15px;max-height:60vh;overflow:auto}.field{display:grid;gap:7px}.field label{font-size:11px;font-weight:700;color:var(--text)}.field input,.field select,.field textarea{width:100%;border-radius:9px;border:1px solid var(--border);background:var(--panel-2);padding:11px 12px;color:var(--text);font-size:13px;min-width:0}.field textarea{min-height:110px;resize:vertical;line-height:1.6}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.modal-footer{padding:17px 27px 23px;display:flex;justify-content:flex-end;gap:8px}.toast{position:fixed;bottom:22px;right:23px;background:var(--text);color:var(--panel);padding:13px 19px;border-radius:11px;box-shadow:var(--shadow-lg);font-weight:600;font-size:12px;opacity:0;transform:translateY(15px);pointer-events:none;transition:.22s;z-index:40}.toast.show{opacity:1;transform:translateY(0)}.sidebar-scrim{display:none}.info-box{padding:13px 15px;border:1px solid var(--border);background:var(--panel-2);border-radius:10px;color:var(--muted);font-size:11px;line-height:1.7}
@media(max-width:1190px){.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(235px,.85fr)}.stat-card{padding:17px}.section-card{padding:19px}.schedule-days{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:920px){.sidebar{width:225px}.content{padding:27px 24px}.topbar{padding:0 24px}.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>.stack{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-card{min-height:100%}.schedule-days{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.sidebar{position:fixed;top:0;left:0;transform:translateX(-100%);transition:transform .2s;box-shadow:var(--shadow-lg);width:258px;height:100dvh}.sidebar.open{transform:translateX(0)}.sidebar-scrim.show{display:block;position:fixed;inset:0;background:rgba(9,20,39,.48);z-index:9}.mobile-menu{display:grid}.topbar{height:66px;min-height:66px;padding:0 17px}.topbar-left,.topbar-right{gap:9px}.top-date,.crumb-root,.breadcrumbs>svg{display:none}.top-new{padding:9px;min-width:36px}.top-new span:last-child{display:none}.content{padding:25px 16px 36px}.page-top{align-items:flex-start;gap:13px}.page-top h1{font-size:27px}.page-top .primary-btn,.page-top .outline-btn{padding:10px}.dashboard-grid>.stack{grid-template-columns:1fr}.stat-grid{gap:9px}.stat-card{padding:14px;min-height:118px}.stat-number{font-size:24px}.stat-label{font-size:10px}.stat-icon{height:29px;width:29px}.stat-bottom{font-size:9px}.section-card{padding:17px}.schedule-days{grid-template-columns:repeat(2,minmax(0,1fr))}.focus-layout{grid-template-columns:1fr}.grades-intro{padding:14px}.grade-summary-item strong{font-size:19px}.main-footer{padding:14px 17px;gap:10px}.main-footer span{display:none}}
@media(max-width:390px){.schedule-days{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(3,1fr)}.stat-card{padding:11px}.stat-icon{width:25px;height:25px}.stat-icon svg{width:14px;height:14px}.stat-number{font-size:21px}.stat-bottom strong{display:none}.page-top h1{font-size:24px}.field-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* Plenory v0.3 — responsive navigation, personal settings and motion */
.mobile-menu{display:grid!important;flex-shrink:0}
.app-shell.sidebar-collapsed .sidebar{width:0;min-width:0;flex-basis:0;padding:0;border:0;opacity:0;overflow:hidden;pointer-events:none;visibility:hidden}
.sidebar{transition:width .28s ease,padding .28s ease,opacity .22s ease}
.main-area{transition:width .28s ease}
.profile-trigger{border:0;cursor:pointer;flex:0 0 auto}
.profile-trigger:hover{box-shadow:0 0 0 3px var(--brand-soft)}
.profile-grid{display:grid;grid-template-columns:minmax(235px,.75fr) minmax(0,1.25fr);gap:18px}
.profile-overview{padding:30px 24px;text-align:center}
.profile-avatar{width:92px;height:92px;border-radius:26px;background:linear-gradient(145deg,#8fa4c7,#566d9e);color:#fff;font-size:34px;font-weight:800;display:grid;place-items:center;margin:0 auto 18px;box-shadow:0 14px 28px rgba(86,109,158,.19)}
.profile-overview h2{font-size:24px;letter-spacing:-.7px;margin:0 0 4px;overflow-wrap:anywhere}
.profile-overview p{font-size:13px;color:var(--muted);margin:0 0 16px}
.profile-pill{display:inline-flex;border-radius:999px;background:var(--brand-soft);color:var(--brand);padding:8px 12px;font-size:11px;font-weight:700}
.profile-metrics{display:grid;grid-template-columns:repeat(3,1fr);margin-top:28px;padding-top:22px;border-top:1px solid var(--border);gap:8px}
.profile-metrics div{display:grid;gap:5px}.profile-metrics strong{font-size:22px}.profile-metrics span{font-size:10px;color:var(--muted)}
.profile-form{display:grid;gap:14px}.profile-form label,.goal-fields label,.timer-preferences label{display:grid;gap:7px;font-size:12px;font-weight:700;color:var(--text)}
.profile-form input,.goal-fields input,.timer-preferences input{width:100%;background:var(--panel-2);color:var(--text);border:1px solid var(--border);border-radius:10px;padding:11px 12px;min-width:0}
.profile-form input:disabled{opacity:.7;cursor:not-allowed}
.profile-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}.profile-signout{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--border);margin-top:24px;padding-top:20px}.profile-signout span{font-size:12px;color:var(--muted)}
.compact-goals{margin:0 0 18px}.compact-goals .section-header{margin-bottom:16px}.compact-goals .small-muted{display:block;margin-top:12px}
.goal-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:12px}
.timer-preferences{display:flex;gap:10px;justify-content:center;align-items:end;flex-wrap:wrap;margin:-8px auto 23px}
.timer-preferences label{text-align:left;max-width:140px}.timer-preferences input{padding:10px 12px}
.nav-editor{display:grid;gap:7px;margin:12px 0 16px}
.nav-sort-row{background:var(--panel-2);border:1px solid var(--border);border-radius:11px;padding:9px 12px;display:flex;align-items:center;gap:12px;cursor:grab}
.nav-sort-row.dragging{opacity:.4}.nav-sort-row strong{font-size:12px;flex:1}.drag-icon{color:var(--muted-2);display:grid;place-items:center}.drag-icon svg{height:19px;width:19px}.sort-actions{display:flex;gap:5px}.sort-actions .tiny-btn{width:32px;height:32px}
/* Respect user preference when moving between pages */
@media(prefers-reduced-motion:no-preference){
  .content>div:first-child,.content>.page-top{animation:fadeRise .3s both}
  .card,.hero-card,.nav-sort-row{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
  .card:hover{box-shadow:0 10px 28px rgba(25,45,80,.075)}
  .primary-btn:hover{transform:translateY(-1px)}
  .nav-link:hover{transform:translateX(2px)}
  .profile-avatar{animation:gentleEnter .5s ease both}
  @keyframes fadeRise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
  @keyframes gentleEnter{from{opacity:0;transform:scale(.93)}to{opacity:1;transform:scale(1)}}
}
@media(max-width:920px){.profile-grid{grid-template-columns:1fr}.profile-overview{padding:23px}}
@media(max-width:700px){
 .app-shell.sidebar-collapsed .sidebar{width:258px;min-width:258px;flex-basis:auto;padding:31px 16px 19px;opacity:1;pointer-events:auto;visibility:visible}
 .sidebar{transition:transform .23s ease,opacity .23s ease}
 .main-area{width:100%}.topbar{padding:0 12px}.topbar-right{gap:8px}.profile-trigger{width:32px;height:32px}
 .goal-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.goal-fields .primary-btn{grid-column:1/-1}
 .timer-preferences{gap:8px}.timer-preferences label{width:calc(50% - 8px);max-width:none}
 .timer-preferences .outline-btn{width:100%;justify-content:center}
}
@media(max-width:440px){.profile-actions .primary-btn,.profile-actions .outline-btn{flex:1}.goal-fields{grid-template-columns:1fr}.profile-metrics strong{font-size:19px}.profile-overview{padding:24px 14px}}
@media(prefers-reduced-motion:reduce){.sidebar,.main-area,.card,.primary-btn,.nav-link,.content>*{animation:none!important;transition:none!important}}

/* Keep signed-out and onboarding views isolated from the workspace */
[hidden]{display:none!important}


/* Plenory v0.3.3 — refined weekly schedule */
.schedule-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:0 0 19px;padding:22px 26px;border-radius:17px;background:linear-gradient(116deg,var(--brand-soft),var(--panel) 76%);border:1px solid var(--border)}
.schedule-kicker{font-size:10px;font-weight:800;letter-spacing:1.7px;color:var(--brand)}
.schedule-heading h2{font-size:23px;line-height:1.3;letter-spacing:-.8px;margin:7px 0 5px}
.schedule-heading h2 span{font-size:13px;letter-spacing:0;font-weight:600;color:var(--muted);margin-left:7px}
.schedule-heading p{color:var(--muted);margin:0;font-size:12px}
.schedule-metrics{display:flex;gap:12px;flex-wrap:wrap}
.schedule-metric{display:flex;align-items:center;gap:12px;padding:11px 17px;background:var(--panel);border:1px solid var(--border);border-radius:12px;min-width:125px}
.schedule-metric .metric-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--brand-soft);color:var(--brand)}
.schedule-metric svg{width:17px;height:17px}
.schedule-metric div{display:flex;flex-direction:column;gap:3px}.schedule-metric strong{font-size:18px;letter-spacing:-.6px}.schedule-metric div span{font-size:10px;color:var(--muted)}
.schedule-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:18px;align-items:start}
.schedule-week-rail{padding:17px}.rail-heading{display:flex;justify-content:space-between;align-items:center;margin:1px 5px 15px;gap:9px}.rail-heading strong{font-size:12px}.rail-heading>span{font-size:10px;color:var(--muted)}
.schedule-week-buttons{display:grid;gap:5px}
.schedule-day-btn{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:12px 11px;border-radius:11px;border:1px solid transparent;background:transparent;color:var(--text);transition:background .22s ease,border-color .22s ease,transform .22s ease;min-width:0}
.schedule-day-btn:hover{background:var(--nav-hover);transform:translateX(2px)}
.schedule-day-btn.selected{background:var(--brand-soft);border-color:var(--border)}.schedule-day-btn.selected .day-badge{background:var(--brand);color:#fff}
.day-badge{border-radius:10px;background:var(--panel-2);border:1px solid var(--border);width:40px;height:42px;flex:none;display:grid;place-items:center;font-weight:800;font-size:13px;color:var(--brand)}
.day-info{display:grid;gap:4px;flex:1;min-width:0}.day-info strong{font-size:12px;white-space:nowrap}.day-info small{font-size:10px;color:var(--muted)}
.today-dot{color:var(--brand);font-size:10px;font-weight:700}
.day-chevron{color:var(--muted-2)}.day-chevron svg{height:15px;width:15px}.schedule-day-btn.selected .day-chevron{color:var(--brand)}
.schedule-agenda{padding:27px;min-height:420px}.agenda-header{display:flex;align-items:start;justify-content:space-between;gap:15px;padding-bottom:22px;border-bottom:1px solid var(--border)}
.agenda-header h2{margin:7px 0;font-size:25px;letter-spacing:-.85px}.agenda-header p{color:var(--muted);font-size:12px;margin:0}
.agenda-header-icon{width:45px;height:45px;border-radius:13px;background:var(--brand-soft);display:grid;place-items:center;color:var(--brand);flex:0 0 auto}
.agenda-header-icon svg{height:21px;width:21px}.agenda-list{display:grid;gap:0;margin-top:20px}
.agenda-event{display:grid;grid-template-columns:90px 22px minmax(0,1fr);gap:9px;min-height:145px}
.agenda-time{padding-top:20px;display:flex;flex-direction:column;gap:6px;align-items:flex-start;white-space:nowrap}.agenda-time strong{font-size:12px;color:var(--text)}.agenda-time span{font-size:10px;color:var(--muted)}
.agenda-axis{display:flex;flex-direction:column;align-items:center;gap:0;padding-top:25px}.agenda-node{width:10px;height:10px;background:var(--brand);border:3px solid var(--panel);outline:2px solid var(--brand);border-radius:50%;flex:none}
.agenda-line{background:var(--border);width:2px;flex:1;margin-top:10px}.agenda-event:last-child .agenda-line{background:transparent}
.agenda-course{padding:18px 20px;margin-bottom:12px;border:1px solid var(--border);border-radius:13px;background:var(--panel-2);transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;min-width:0}
.agenda-course:hover{transform:translateY(-2px);border-color:var(--brand);box-shadow:var(--shadow)}
.agenda-topline,.agenda-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.agenda-index{font-weight:800;font-size:10px;letter-spacing:1.2px;color:var(--brand)}
.agenda-duration{font-size:10px;color:var(--muted);padding:5px 8px;border-radius:7px;background:var(--panel)}
.agenda-course h3{font-size:16px;letter-spacing:-.35px;line-height:1.35;overflow-wrap:anywhere;margin:11px 0 14px}
.agenda-bottom{flex-wrap:wrap}.agenda-location{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px;min-width:0;overflow-wrap:anywhere}.agenda-location svg{height:14px;width:14px;flex:none}
.agenda-actions{display:flex;align-items:center;gap:5px}
.agenda-empty{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:11px;min-height:300px;padding:30px 18px}.agenda-empty-icon{display:grid;place-items:center;width:65px;height:65px;border-radius:20px;background:var(--brand-soft);color:var(--brand)}
.agenda-empty-icon svg{width:29px;height:29px}.agenda-empty h3{font-size:17px;letter-spacing:-.45px;margin:0}.agenda-empty p{font-size:12px;color:var(--muted);max-width:320px;line-height:1.7;margin:0 0 5px}
.schedule-footnote{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);margin:15px 3px}.schedule-footnote svg{width:14px;height:14px;flex:none}
/* Smooth desktop collapse: the rail closes as the content slides and fades out, with no visibility jump. */
@media(min-width:701px){
 .sidebar{box-sizing:border-box;flex:0 0 252px;width:252px;min-width:0;overflow:hidden;transition:width .46s cubic-bezier(.22,1,.36,1),flex-basis .46s cubic-bezier(.22,1,.36,1),padding .46s cubic-bezier(.22,1,.36,1),border-color .3s ease;will-change:width,flex-basis}
 .sidebar>*{flex-shrink:0;min-width:219px;transition:transform .28s ease,opacity .25s ease}
 .app-shell.sidebar-collapsed .sidebar{width:0;min-width:0;flex-basis:0;padding-left:0;padding-right:0;border-right-color:transparent;border:0;opacity:1;pointer-events:none;visibility:visible}
 .app-shell.sidebar-collapsed .sidebar>*{transform:translateX(-20px);opacity:0}
 .main-area{transition:none;min-width:0}
}
@media(min-width:701px) and (max-width:920px){.sidebar{width:225px;flex-basis:225px}.sidebar>*{min-width:193px}}
@media(max-width:950px){.schedule-layout{grid-template-columns:minmax(180px,215px) minmax(0,1fr)}.schedule-week-rail{padding:12px}.schedule-agenda{padding:20px}.agenda-event{grid-template-columns:79px 18px minmax(0,1fr)}.agenda-course{padding:16px}}
@media(max-width:760px){.schedule-layout{grid-template-columns:1fr}.schedule-week-rail{padding:12px}.rail-heading{margin-bottom:10px}.schedule-week-buttons{display:grid;grid-template-columns:repeat(7,minmax(72px,1fr));gap:6px;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}.schedule-day-btn{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:95px;gap:7px;padding:9px 6px}.schedule-day-btn .day-badge{width:35px;height:35px;font-size:12px}.schedule-day-btn .day-info{width:100%}.schedule-day-btn .day-info strong{font-size:10px;overflow:hidden;text-overflow:ellipsis}.schedule-day-btn .day-info small{font-size:9px}.schedule-day-btn .day-chevron{display:none}.schedule-day-btn .today-dot{display:block;font-size:9px}.schedule-overview{padding:18px}.schedule-heading h2{font-size:21px}.schedule-metrics{width:100%}.schedule-metric{flex:1}}
@media(max-width:440px){.schedule-agenda{padding:17px}.agenda-header h2{font-size:21px}.agenda-event{grid-template-columns:74px 14px minmax(0,1fr);gap:6px}.agenda-course{padding:12px}.agenda-course h3{font-size:14px}.agenda-time strong{font-size:10px}.agenda-time span{font-size:9px}.schedule-heading h2 span{display:block;margin:3px 0 0}.agenda-location{font-size:10px}.schedule-overview{gap:13px}.schedule-footnote{align-items:flex-start;line-height:1.6}}
@media(max-width:700px){
 .sidebar{will-change:transform;transition:transform .35s cubic-bezier(.22,1,.36,1)}
 .sidebar-scrim{display:block;position:fixed;inset:0;background:rgba(9,20,39,.48);opacity:0;visibility:hidden;pointer-events:none;z-index:9;transition:opacity .35s ease,visibility .35s ease}
 .sidebar-scrim.show{display:block;opacity:1;visibility:visible;pointer-events:auto}
}
@media(prefers-reduced-motion:reduce){.sidebar,.sidebar>*,.agenda-course,.schedule-day-btn,.sidebar-scrim{transition:none!important;animation:none!important}}
/* Let the compact seven-day strip scroll inside its card instead of widening the phone page. */
@media(max-width:760px){
 .schedule-layout>*{min-width:0}
 .schedule-week-rail{width:100%;min-width:0;max-width:100%}
 .schedule-week-buttons{grid-template-columns:repeat(7,72px);width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
}


/* Plenory v0.3.4 — redesigned profile page */
.profile-shell{display:grid;gap:18px}
.profile-hero{padding:28px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start;background:linear-gradient(135deg,var(--panel),var(--brand-soft) 140%)}
.profile-hero-main{display:flex;align-items:center;gap:18px;min-width:0}
.profile-hero .profile-avatar{width:88px;height:88px;border-radius:24px;margin:0;flex:0 0 auto;font-size:32px;box-shadow:0 16px 32px rgba(86,109,158,.18)}
.profile-hero-copy{min-width:0}.profile-hero-copy h2{font-size:29px;line-height:1.15;letter-spacing:-1px;margin:6px 0 7px;overflow-wrap:anywhere}
.profile-subline{margin:0;color:var(--muted);font-size:13px;line-height:1.65}.profile-chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.profile-chip{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:750;border:1px solid transparent}
.profile-chip.soft{background:var(--panel);border-color:var(--border);color:var(--text)}
.profile-hero-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.profile-stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.profile-stat-card{padding:19px 20px;display:grid;gap:7px}
.profile-stat-label{font-size:11px;font-weight:750;letter-spacing:.2px;color:var(--muted)}
.profile-stat-card strong{font-size:30px;line-height:1;letter-spacing:-1px}.profile-stat-card small{font-size:11px;color:var(--muted);line-height:1.6}
.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.profile-card{padding:24px}
.profile-card .section-header{margin-bottom:18px}.profile-card .section-header p{font-size:12px}
.profile-detail-list{display:grid;gap:0}
.profile-detail-item{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--border)}
.profile-detail-item:first-child{padding-top:2px}.profile-detail-item:last-child{padding-bottom:0;border-bottom:0}
.profile-detail-label{font-size:10px;letter-spacing:1.1px;font-weight:800;text-transform:uppercase;color:var(--muted-2)}
.profile-detail-value{font-size:13px;font-weight:700;text-align:right;overflow-wrap:anywhere}
.profile-form-card .profile-form{margin-top:4px}.profile-form-card .profile-actions{margin-top:10px}
.profile-signout-inline{margin-top:20px;padding-top:18px;border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:12px}
.profile-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.profile-summary-box{padding:17px;border-radius:14px;border:1px solid var(--border);background:var(--panel-2);display:grid;gap:6px}
.profile-summary-box strong{font-size:24px;letter-spacing:-.8px}.profile-summary-box span{font-size:11px;color:var(--muted)}
.profile-progress-row{display:grid;gap:8px;margin-bottom:16px}.profile-progress-row:last-of-type{margin-bottom:0}
.profile-progress-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}
.profile-progress-head strong{font-size:12px}
@media(max-width:1100px){.profile-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px){.profile-grid{grid-template-columns:1fr}.profile-hero{flex-direction:column}.profile-hero-actions{justify-content:flex-start}}
@media(max-width:640px){.profile-hero-main{align-items:flex-start;flex-direction:column}.profile-stat-strip{grid-template-columns:1fr 1fr}.profile-summary-grid{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.profile-stat-strip,.profile-summary-grid{grid-template-columns:1fr}.profile-detail-item{flex-direction:column;align-items:flex-start}.profile-detail-value{text-align:left}.profile-hero{padding:22px 18px}.profile-card{padding:20px}.profile-signout-inline,.profile-hero-actions{flex-direction:column;align-items:stretch}.profile-hero-actions .outline-btn,.profile-signout-inline .outline-btn,.profile-actions .primary-btn{width:100%}}

/* Plenory v0.3.5 — intentional edit mode and profile quick actions */
.profile-hero-actions{align-items:center}
.profile-quick-actions .section-header{margin-bottom:10px}
.profile-action-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid var(--border)}
.profile-action-row:last-child{border-bottom:0;padding-bottom:0}
.profile-action-row>div{display:grid;gap:5px;min-width:0}
.profile-action-row strong{font-size:12px;font-weight:720}
.profile-action-row span{font-size:11px;line-height:1.55;color:var(--muted)}
.profile-action-row .outline-btn{flex:0 0 auto}
.profile-edit-active{border-color:var(--brand);animation:gentleEnter .24s ease both}
.profile-edit-note{margin-top:18px}
@media(max-width:540px){.profile-action-row{align-items:flex-start;flex-direction:column;gap:12px}.profile-action-row .outline-btn{width:100%}.profile-hero-actions{width:100%}.profile-hero-actions .primary-btn,.profile-hero-actions .outline-btn{flex:1}}
@media(prefers-reduced-motion:reduce){.profile-edit-active{animation:none!important}}

/* Plenory v0.4 — daily overview, customizable dashboard and calendar */
.dashboard-custom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.dashboard-widget{min-width:0;animation:gentleEnter .36s ease both}
.dashboard-widget[data-widget="today"],.dashboard-widget[data-widget="stats"],.dashboard-widget[data-widget="tasks"]{grid-column:1/-1}
.dashboard-widget .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.daily-brief{padding:28px;background:linear-gradient(120deg,var(--panel) 15%,var(--brand-soft) 160%)}
.daily-brief-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.daily-brief h2{margin:5px 0 7px;font-size:23px;letter-spacing:-.7px}
.daily-brief p{font-size:12px;color:var(--muted);margin:0;line-height:1.7}
.daily-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}
.daily-kpis>div{background:var(--panel);padding:16px 17px;border:1px solid var(--border);border-radius:13px;display:flex;flex-direction:column;gap:5px}
.daily-kpis strong{font-size:25px;letter-spacing:-.8px}.daily-kpis span{font-size:11px;color:var(--muted)}
.daily-lines{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
.daily-lines>div{display:flex;gap:11px;align-items:center;background:var(--panel);border-radius:12px;padding:14px;border:1px solid var(--border);min-width:0}
.daily-lines>div>span{display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);padding:9px;border-radius:9px}
.daily-lines>div>p{min-width:0;display:grid;gap:4px}.daily-lines strong{color:var(--text);font-size:12px;overflow-wrap:anywhere}.daily-lines small{color:var(--muted);font-size:10px}
.reminder-banner{display:flex;align-items:center;gap:12px;border-radius:13px;border:1px solid var(--border);background:var(--brand-soft);padding:13px 18px;margin-bottom:17px;color:var(--brand)}
.reminder-banner>span svg{width:20px;height:20px}.reminder-banner>div{flex:1;min-width:0}.reminder-banner strong{font-size:12px}.reminder-banner p{margin:3px 0 0;font-size:11px;overflow-wrap:anywhere}.reminder-banner .text-btn{flex:none}
.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:18px;align-items:start}
.calendar-main{padding:22px;min-width:0}.calendar-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.calendar-header h2{font-size:22px;letter-spacing:-.7px;margin:6px 0 0}
.calendar-controls{display:flex;gap:6px}.calendar-controls .outline-btn{min-width:36px;padding:9px 11px}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--border);border-left:1px solid var(--border);border-radius:10px;overflow:hidden}
.calendar-weekday{padding:10px 3px;font-size:10px;color:var(--muted);font-weight:750;text-align:center;background:var(--panel-2);border-bottom:1px solid var(--border);border-right:1px solid var(--border)}
.calendar-cell{border-bottom:1px solid var(--border);border-right:1px solid var(--border);min-height:110px;padding:9px 6px;display:flex;flex-direction:column;gap:4px;min-width:0}
.calendar-cell.outside{opacity:.42}.calendar-cell.is-today{background:var(--brand-soft)}.calendar-day-number{font-size:12px;font-weight:750;margin-bottom:5px}
.calendar-event{font-size:10px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border:0;border-radius:6px;color:var(--brand);background:var(--brand-soft);padding:6px;min-width:0}
.calendar-event.exam{background:var(--bad-soft);color:var(--bad)}.calendar-event.break{background:var(--good-soft);color:var(--good)}
.calendar-event:hover{filter:brightness(.95)}.calendar-task-dot,.calendar-more{font-size:9px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calendar-upcoming{padding:24px}.calendar-upcoming h2{font-size:16px;margin:0}.upcoming-event{display:flex;align-items:center;gap:8px;padding:14px 0;border-bottom:1px solid var(--border)}.upcoming-event:last-of-type{border-bottom:0}.upcoming-date{font-size:10px;color:var(--brand);font-weight:750;min-width:43px}.upcoming-event>div{display:grid;gap:5px;flex:1;min-width:0}.upcoming-event strong{font-size:12px;overflow-wrap:anywhere}.upcoming-event small{font-size:10px;color:var(--muted)}
.grade-weight-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.grade-weight-fields label,.reminder-settings label{display:grid;gap:8px;color:var(--text);font-size:12px;font-weight:700}
.grade-weight-fields input,.reminder-settings select{width:100%;min-width:0;border:1px solid var(--border);border-radius:10px;color:var(--text);background:var(--panel-2);padding:11px 12px}
.dashboard-editor{display:grid;gap:8px;margin:16px 0}
.dashboard-edit-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:11px;border:1px solid var(--border);padding:11px 14px;background:var(--panel-2)}
.dashboard-edit-row label{display:flex;align-items:center;gap:11px;min-width:0}.dashboard-edit-row strong{font-size:12px;overflow-wrap:anywhere}.dashboard-edit-row input{accent-color:#566d9e;width:17px;height:17px}
.dashboard-edit-row>div{display:flex;gap:4px;flex:none}.reminder-settings{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:15px}.reminder-settings label:first-child{min-width:180px}.reminder-settings .toggle-line{display:flex;gap:9px;align-items:center}.reminder-settings input{accent-color:#566d9e}
.focus-sound{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.5;color:var(--text);margin:18px 0}.focus-sound input{accent-color:#566d9e;margin-top:2px}
.focus-history{border-top:1px solid var(--border);padding-top:18px}.focus-history h3{font-size:13px;margin:0 0 12px}.focus-history>div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:10px 0;font-size:11px}.focus-history>div span{color:var(--muted)}
@media(max-width:1050px){.calendar-layout{grid-template-columns:1fr}.calendar-upcoming{display:grid;gap:0}.dashboard-custom-grid{grid-template-columns:1fr}.dashboard-widget{grid-column:1/-1}}
@media(max-width:700px){.daily-kpis{gap:8px}.daily-kpis>div{padding:12px}.daily-lines{grid-template-columns:1fr}.calendar-main{padding:12px}.calendar-cell{min-height:88px;padding:6px 3px}.calendar-event{padding:4px 2px;font-size:8px}.calendar-header h2{font-size:18px}.calendar-controls .outline-btn{padding:7px 9px}.grade-weight-fields{grid-template-columns:1fr}.reminder-settings{align-items:stretch;flex-direction:column}.dashboard-widget .stat-grid{grid-template-columns:1fr 1fr}.dashboard-widget .stat-grid .stat-card:last-child{grid-column:1/-1}}
@media(max-width:430px){.daily-brief{padding:18px}.daily-brief h2{font-size:18px}.daily-kpis strong{font-size:21px}.daily-kpis span{font-size:9px}.calendar-cell{min-height:70px}.calendar-weekday{font-size:9px}.calendar-task-dot{font-size:8px}.calendar-controls{gap:2px}.calendar-header{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.dashboard-widget{animation:none!important}}
