:root{--bg:#f8fafc;--surface:#fff;--text:#0f172a;--text-2:#475569;--text-3:#94a3b8;--primary:#4f46e5;--primary-soft:#eef2ff;--primary-hover:#4338ca;--border:#e2e8f0;--green:#059669;--green-soft:#ecfdf5;--orange:#d97706;--orange-soft:#fff7ed;--red:#dc2626;--red-soft:#fef2f2;--yellow:#ca8a04;--yellow-soft:#fefce8;--blue-soft:#eff6ff;--radius:16px;--radius-sm:10px;--shadow:0 1px 2px #0f172a0d, 0 10px 24px #0f172a0d;--font:"Geist", "Segoe UI", system-ui, sans-serif;--sidebar:260px}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;overflow:hidden}body{font-family:var(--font);color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:inherit}.frame{background:var(--bg);flex-direction:column;height:100%;display:flex}.frame-body{flex:1;min-height:0;overflow:hidden}.titlebar{background:var(--surface);border-bottom:1px solid var(--border);-webkit-user-select:none;user-select:none;flex-shrink:0;align-items:stretch;height:40px;display:flex}.titlebar-drag{flex:1;align-items:center;min-width:0;padding:0 12px;display:flex}.titlebar-brand{pointer-events:none;color:var(--text);align-items:center;gap:8px;font-size:13px;font-weight:700;display:flex}.titlebar-logo{background:var(--primary);color:#fff;border-radius:7px;place-items:center;width:22px;height:22px;display:grid}.titlebar-controls{display:flex}.titlebar-btn{width:46px;color:var(--text-2);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}.titlebar-btn:hover{color:var(--text);background:#f1f5f9}.titlebar-btn.close:hover{background:var(--red);color:#fff}.app{background:var(--bg);height:100%;display:flex;overflow:hidden}.sidebar{width:var(--sidebar);background:var(--surface);border-right:1px solid var(--border);flex-direction:column;flex-shrink:0;height:100%;padding:24px;display:flex}.sidebar-footer{flex-direction:column;gap:8px;margin-top:auto;display:flex}.brand{align-items:center;gap:10px;margin-bottom:32px;display:flex}.logo{background:var(--primary);color:#fff;border-radius:10px;place-items:center;width:32px;height:32px;display:grid}.brand-name{font-size:20px;font-weight:700}.nav{flex-direction:column;gap:6px;display:flex}.nav-item{height:44px;color:var(--text-2);cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:0 16px;font-size:14px;font-weight:500;display:flex;position:relative}.nav-item:hover{background:#f8fafc}.nav-item.active{background:var(--primary-soft);color:var(--primary);font-weight:600}.nav-item.active:before{content:"";background:var(--primary);border-radius:99px;width:3px;position:absolute;top:10px;bottom:10px;left:0}.profile-card{text-align:left;cursor:pointer;width:100%;color:inherit;background:#f8fafc;border:0;border-radius:14px;align-items:center;gap:12px;padding:12px;display:flex}.profile-card:hover{background:#eef2ff}.profile-card.active{background:var(--primary-soft)}.avatar{color:#fff;background:linear-gradient(#c7d2fe,#818cf8);border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;font-size:14px;font-weight:700;display:grid}.profile-meta{flex:1;min-width:0}.profile-name{font-size:14px;font-weight:600}.profile-role{color:var(--text-3);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.icon-btn{width:32px;height:32px;color:var(--text-3);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.icon-btn:hover{color:var(--text);background:#fff}.main{flex-direction:column;flex:1;gap:24px;min-width:0;min-height:0;padding:32px;display:flex;overflow:hidden}.main-scroll{flex-direction:column;flex:1;gap:24px;min-height:0;display:flex;overflow:auto}.header-row{justify-content:space-between;align-items:center;min-height:40px;display:flex}.page-title{font-size:30px;font-weight:700;line-height:36px}.header-right{align-items:center;gap:16px;display:flex}.bell{border:1px solid var(--border);width:40px;height:40px;color:var(--text-2);background:#fff;border-radius:12px;place-items:center;display:grid}.header-date{color:var(--text-2);font-size:14px}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid #eef2f7}.stats-row,.two-col,.three-col{gap:16px;display:grid}.stats-row{grid-template-columns:repeat(4,1fr)}.two-col{grid-template-columns:1.05fr 1fr}.three-col{grid-template-columns:1.15fr 1fr 1fr}.stat-card,.panel{padding:20px 24px}.card-kicker{letter-spacing:.04em;text-transform:uppercase;color:var(--primary);font-size:12px;font-weight:600}.accent{color:var(--primary)}.link-accent{color:var(--primary);cursor:pointer;background:0 0;border:0;padding:0;font-size:13px;font-weight:600}.link-accent:hover{color:var(--primary-hover)}.panel-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.stat-head{color:var(--text-2);justify-content:space-between;align-items:center;font-size:14px;display:flex}.icon-bg{background:var(--primary-soft);width:36px;height:36px;color:var(--primary);border-radius:10px;place-items:center;display:grid}.stat-value{margin-top:16px;font-size:26px;font-weight:700}.trend{color:var(--text-3);gap:6px;margin-top:6px;font-size:12px;display:flex}.trend.up{color:var(--green)}.trend.down{color:var(--red)}.trend span{color:var(--text-3)}.profile-page{flex-direction:column;width:min(800px,100%);display:flex}.profile-identity{border-bottom:1px solid #f1f5f9;flex-direction:column;align-items:flex-start;gap:6px;padding-bottom:20px;display:flex}.profile-avatar-lg{width:72px;height:72px;font-size:24px}.profile-section{padding-top:20px}.profile-section+.profile-section{border-top:1px solid #f1f5f9;margin-top:8px}.panel-title{font-size:16px;font-weight:600}.muted{color:var(--text-3);font-size:13px}.lesson-list{flex-direction:column;gap:10px;margin-top:16px;display:flex}.lesson-card{border:1px solid var(--border);background:#fcfdff;border-radius:14px;padding:14px}.lesson-card.is-completed{background:var(--green-soft);border-color:#a7f3d0}.lesson-row{border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:14px;grid-template-columns:108px 1fr auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.lesson-row:hover{background:#f8fafc}.lesson-top{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.lesson-time{color:var(--text-2);font-size:13px;font-weight:500}.lesson-name{margin-top:8px;font-weight:600}.lesson-row .lesson-name{margin-top:0}.lesson-subject{color:var(--text-3);margin-top:2px;font-size:13px}.actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.btn{cursor:pointer;border:0;border-radius:9px;align-items:center;gap:6px;padding:8px 12px;font-size:13px;font-weight:600;display:inline-flex}a.btn{color:inherit;box-sizing:border-box;justify-content:center;text-decoration:none}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover)}.btn:disabled{opacity:.55;cursor:not-allowed}.btn-ghost{color:var(--text-2);border:1px solid var(--border);background:#fff}.btn-late{background:var(--yellow-soft);color:#a16207}.btn-cancel{background:var(--red-soft);color:#b91c1c}.btn-move{background:var(--orange-soft);color:#c2410c}.badge{border-radius:999px;padding:4px 8px;font-size:12px;font-weight:600}.badge-planned{background:var(--primary-soft);color:var(--primary)}.badge-completed,.badge-credited,.badge-active{background:var(--green-soft);color:var(--green)}.badge-late{background:var(--yellow-soft);color:#a16207}.badge-cancelled{background:var(--red-soft);color:var(--red)}.badge-rescheduled,.badge-success{background:var(--blue-soft);color:#2563eb}.badge-frozen,.badge-done{background:var(--orange-soft);color:var(--orange)}.calendar-nav{justify-content:space-between;align-items:center;display:flex}.calendar-nav-split{margin-bottom:4px}.calendar-nav .month-switch strong{min-width:0}.weekdays,.days{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.weekdays{color:var(--text-3);text-align:center;margin:18px 0 8px;font-size:12px}.day{cursor:pointer;height:54px;color:var(--text);background:0 0;border:0;border-radius:12px;position:relative}.day:hover{background:#f8fafc}.day.out{color:#cbd5e1}.day.selected{background:var(--primary);color:#fff}.day-num{font-size:14px;font-weight:600}.day-meta{opacity:.8;font-size:10px;display:block}.day-count{background:var(--primary-soft);width:18px;height:18px;color:var(--primary);border-radius:50%;place-items:center;font-size:10px;font-weight:700;line-height:1;display:grid;position:absolute;top:2px;right:2px}.day.selected .day-count{color:var(--primary);background:#fff}.calendar-compact .weekdays{margin:12px 0 6px}.calendar-compact .days{gap:6px}.calendar-compact .day{aspect-ratio:1;border-radius:10px;place-items:center;height:auto;display:grid}.calendar-compact .day.has-lessons:not(.selected){background:var(--primary-soft)}.tabs{gap:8px;display:flex}.tab{border:1px solid var(--border);color:var(--text-2);cursor:pointer;background:#fff;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600}.tab.active{background:var(--primary);border-color:var(--primary);color:#fff}.search{border:1px solid var(--border);min-width:240px;height:36px;color:var(--text);background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") 12px no-repeat;border-radius:10px;padding:0 12px 0 36px;font-size:13px;position:relative}.table{border-collapse:collapse;width:100%}.table th{text-align:left;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3);border-bottom:1px solid var(--border);padding:12px 16px;font-size:11px;font-weight:600}.table td{border-bottom:1px solid #f1f5f9;padding:14px 16px;font-size:14px}.table-compact th,.table-compact td{padding:10px 12px}.table-compact td{white-space:nowrap;font-size:13px}.table-name{color:var(--primary);font-weight:600}.table tr.clickable{cursor:pointer}.table tr.clickable:hover{background:#f8fafc}.row-actions{justify-content:flex-end;display:flex}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px;display:flex}.finance-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.month-switch{align-items:center;gap:4px;display:flex}.month-switch strong{text-align:center;min-width:168px}.finance-actions{flex-wrap:wrap;gap:8px;display:flex}.report-split{background:#e2e8f0;border-radius:99px;height:10px;margin-top:16px;display:flex;overflow:hidden}.report-split .income{background:var(--green)}.report-split .expense{background:var(--red)}.balance-card{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#2563eb 100%);border:0;flex-direction:column;justify-content:space-between;min-height:190px;display:flex}.balance-card .card-kicker,.balance-card .muted{color:#ffffffb8}.balance-value{font-size:36px;font-weight:700}.pay-row,.tx-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;gap:12px;padding:10px 0;font-size:14px;display:flex}.pay-row:last-child,.tx-row:last-child{border-bottom:0}.report-line{justify-content:space-between;margin-bottom:12px;display:flex}.profit-box{background:var(--green-soft);border-radius:12px;margin-top:8px;padding:12px 14px}.overlay{z-index:50;background:#0f172a66;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:20px;width:min(560px,100%);max-height:min(90vh,840px);padding:24px;overflow:auto;box-shadow:0 24px 64px #0f172a33}.modal h2{margin-bottom:4px;font-size:20px}.field{flex-direction:column;gap:6px;margin-top:14px;display:flex}.field span{color:var(--text-2);font-size:13px;font-weight:500}.field input,.field textarea,.field select{border:1px solid var(--border);color:var(--text);background:#fff;border-radius:10px;padding:10px 12px;font-size:14px}.field textarea{resize:vertical;min-height:88px}.grid-2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.modal-actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.delete-choices{flex-direction:column;gap:8px;margin-top:16px;display:flex}.delete-choices .btn{justify-content:center;width:100%}.link-box{gap:8px;margin-top:14px;display:flex}.link-box input{flex:1}.chart-row{grid-template-columns:1.4fr 1fr;gap:16px;display:grid}.bars{align-items:flex-end;gap:16px;height:180px;margin-top:20px;display:flex}.bar-col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:8px;height:100%;display:flex}.bar{background:var(--primary);border-radius:8px 8px 4px 4px;width:100%;max-width:42px}.donut-wrap{align-items:center;gap:24px;margin-top:16px;display:flex}.donut{background:conic-gradient(#2563eb 0 65%, #4f46e5 65% 85%, #f59e0b 85% 100%);border-radius:50%;width:140px;height:140px;position:relative}.donut:after{content:"";background:#fff;border-radius:50%;position:absolute;inset:28px}.legend{flex-direction:column;gap:10px;font-size:13px;display:flex}.dot{border-radius:50%;width:8px;height:8px;margin-right:8px;display:inline-block}.chart{grid-template-columns:36px 1fr;gap:10px;margin-top:16px;display:grid}.chart-y{height:200px;color:var(--text-3);text-align:right;flex-direction:column;justify-content:space-between;padding-top:2px;font-size:12px;line-height:1;display:flex}.chart-body{min-width:0}.chart-canvas{border-left:1px solid var(--border);border-bottom:1px solid var(--border);height:200px;position:relative}.chart-grid-line{border-top:1px dashed #e2e8f0;position:absolute;left:0;right:0}.chart-bars{align-items:flex-end;gap:12px;padding:0 16px;display:flex;position:absolute;inset:0}.chart-col{cursor:pointer;flex:1;justify-content:center;align-items:flex-end;height:100%;display:flex}.chart-bar{border-radius:6px 6px 0 0;width:100%;max-width:48px}.chart-x{color:var(--text-3);text-align:center;gap:12px;padding:8px 16px 0;font-size:12px;display:flex}.chart-x span{flex:1;min-width:0}.chart-tooltip{z-index:80;pointer-events:none;color:#fff;background:#0f172a;border-radius:10px;padding:8px 10px;font-size:12px;position:fixed;transform:translate(0);box-shadow:0 8px 24px #0f172a33}.chart-tooltip strong{margin-bottom:2px;display:block}.student-split{grid-template-columns:280px 1fr;gap:16px;display:grid}.student-side{flex-direction:column;gap:6px;display:flex}.student-pick{text-align:left;border:1px solid var(--border);cursor:pointer;background:#fff;border-radius:12px;padding:10px 12px}.student-pick.active{border-color:var(--primary);background:var(--primary-soft)}.toggle{cursor:pointer;background:#cbd5e1;border:0;border-radius:99px;width:42px;height:24px;position:relative}.toggle.on{background:var(--primary)}.toggle:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:left .15s;position:absolute;top:3px;left:3px}.toggle.on:after{left:21px}.form-row{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.empty{color:var(--text-3);padding:24px 0;font-size:14px}.schedule-page{flex:1;grid-template-columns:380px minmax(0,1.4fr);gap:16px;height:100%;min-height:0;display:grid}.schedule-side,.schedule-day{flex-direction:column;height:100%;min-height:0;display:flex}.schedule-cal-head{flex-shrink:0;align-items:flex-start}.schedule-side .calendar-fill{flex-direction:column;flex:1;min-height:0;margin-top:12px;display:flex}.calendar-fill .days{flex:1;grid-auto-rows:1fr}.calendar-fill .day{height:100%;min-height:52px;padding:6px 4px}.schedule-day-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.day-grid{border:1px solid var(--border);scrollbar-width:none;background:linear-gradient(#fff 0%,#f8fafc 100%);border-radius:16px;flex:1;min-height:0;margin-top:16px;position:relative;overflow:auto}.day-grid::-webkit-scrollbar{display:none}.day-grid-inner{position:relative}.hour-row{cursor:pointer;text-align:left;background:0 0;border:0;flex:none;grid-template-columns:64px 1fr;align-items:start;width:100%;padding:0;display:grid}.hour-row:hover{background:#4f46e50a}.hour-label{color:var(--text-3);font-variant-numeric:tabular-nums;padding:6px 8px 0 12px;font-size:12px}.hour-line{background:#eef2f7;height:1px;margin-top:10px;display:block}.day-blocks{pointer-events:none;position:absolute;inset:0 10px 0 64px}.slot-block{cursor:pointer;pointer-events:auto;border:1px solid #0000;border-radius:12px;padding:8px 10px;position:absolute;left:0;right:0;overflow:hidden;box-shadow:0 8px 18px #0f172a0f}.slot-block.planned{background:var(--primary-soft);border-color:#c7d2fe}.slot-block.completed{background:var(--green-soft);color:#065f46;border-color:#a7f3d0}.slot-block.late{background:var(--yellow-soft);border-color:#fde68a}.slot-block.rescheduled{background:var(--orange-soft);border-color:#fed7aa}.slot-block.cancelled{border-color:var(--border);opacity:.7;background:#f8fafc}.slot-block.selected{outline:2px solid var(--primary);z-index:2}.slot-block.live:not(.selected){box-shadow:inset 0 0 0 2px var(--primary), 0 8px 18px #0f172a0f}.slot-name{font-size:13px;font-weight:700}.slot-subject{color:var(--text-3);margin-top:2px;font-size:12px}.slot-actions{flex-wrap:wrap;gap:8px;display:flex}.ctx-menu{z-index:80;border:1px solid var(--border);background:#fff;border-radius:12px;min-width:220px;max-width:280px;max-height:calc(100vh - 16px);padding:6px;position:fixed;overflow-y:auto;box-shadow:0 16px 40px #0f172a29}.ctx-menu-title{color:var(--text-3);border-bottom:1px solid #f1f5f9;margin-bottom:4px;padding:8px 10px 10px;font-size:12px}.ctx-menu-title strong,.ctx-menu-title span{display:block}.ctx-menu-title strong{color:var(--text);margin-top:2px;font-size:13px}.ctx-menu button{width:100%;color:var(--text);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:13px;font-weight:600;display:flex}.ctx-menu button:hover{background:#f8fafc}.ctx-menu button.danger{color:var(--red)}.repeat-pills{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.repeat-pill{border:1px solid var(--border);color:var(--text-2);cursor:pointer;background:#fff;border-radius:10px;padding:10px 8px;font-size:13px;font-weight:600}.repeat-pill.active{background:var(--primary-soft);border-color:var(--primary);color:var(--primary)}.login-page{background:var(--bg);place-items:center;height:100%;padding:24px;display:grid;overflow-y:auto}.login-card{width:min(420px,100%)}.student-app{height:100%}.student-app .sidebar{padding:18px 16px}.student-app .sidebar .brand{margin-bottom:18px}.student-app .nav-item{height:40px;padding:0 12px}.student-app .main{gap:14px;padding:20px 24px 24px}.student-app .main-scroll{gap:14px}.student-app .page-title{font-size:24px;line-height:28px}.student-app .profile-card{padding:8px 10px}.student-app .avatar{width:36px;height:36px}.sc-logout{width:100%}.sc-home,.sc-home-single{flex-direction:column;gap:14px;display:flex}.sc-hero{color:#fff;background:linear-gradient(135deg,#4f46e5 0%,#2563eb 100%);border:0;flex-direction:column;padding:16px 18px;display:flex}.sc-hero .card-kicker,.sc-hero .muted{color:#ffffffb8}.sc-hero-when{margin-top:4px;font-size:13px;font-weight:600}.sc-hero-time{margin-top:2px;font-size:24px;font-weight:700;line-height:1.15}.sc-hero-subject,.sc-hero-title{margin-top:6px;font-size:16px;font-weight:600}.sc-hero-title{margin-top:8px}.sc-hero-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.sc-hero-btn{color:var(--primary);background:#fff}.sc-hero-btn:hover{background:#eef2ff}.sc-hero-ghost{color:#fff;background:#ffffff1f;border:1px solid #ffffff38}.sc-hero-ghost:hover{background:#fff3}.sc-hero-wait{color:#fffc;font-size:13px;font-weight:600}.sc-connect-card{flex-direction:column;display:flex}.sc-connect-card .btn,.sc-profile .btn{align-self:flex-start}.sc-week{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:12px;display:grid}.sc-week-day{border:1px solid var(--border);cursor:pointer;color:inherit;background:#fff;border-radius:12px;flex-direction:column;align-items:center;gap:2px;padding:8px 4px;display:flex}.sc-week-day:hover{background:#f8fafc}.sc-week-day.has-lessons{background:var(--primary-soft);border-color:#0000}.sc-week-day.today{box-shadow:inset 0 0 0 2px var(--primary)}.sc-week-name,.sc-week-count{color:var(--text-3);font-size:11px;font-weight:600}.sc-week-day.has-lessons .sc-week-count{color:var(--primary)}.sc-note{justify-content:space-between;align-items:center;gap:16px;display:flex}.sc-sched-meta{margin-top:4px}.sc-schedule{grid-template-columns:minmax(0,1.15fr) minmax(280px,.9fr);align-items:start;gap:14px;display:grid}.sc-profile{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;display:grid}.sc-profile .form-row:last-child{border-bottom:0}.sc-teacher-list{flex-direction:column;gap:8px;margin-top:12px;display:flex}.sc-teacher{border:1px solid var(--border);text-align:left;cursor:pointer;width:100%;color:inherit;background:#fff;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.sc-teacher span:first-child{flex-direction:column;gap:2px;min-width:0;display:flex}.sc-teacher:hover:not(:disabled){background:#f8fafc}.sc-teacher.active{background:var(--primary-soft);cursor:default;border-color:#0000}.sc-teacher-now{color:var(--primary);flex-shrink:0;align-items:center;gap:4px;font-size:12px;font-weight:600;display:inline-flex}.form-error{color:var(--red);margin-top:12px;font-size:13px}.banner-error{background:var(--red-soft);color:var(--red);cursor:pointer;border-radius:12px;padding:10px 14px;font-size:13px}@media (width<=1280px){.stats-row,.three-col,.chart-row,.student-split,.schedule-page,.two-col{grid-template-columns:1fr}.schedule-page{height:auto}.schedule-day{min-height:640px}}@media (width<=960px){.student-app{flex-direction:column;overflow:auto}.student-app .sidebar{border-right:0;border-bottom:1px solid var(--border);grid-template-columns:auto 1fr auto auto;grid-template-areas:"brand.profile logout""nav nav nav nav";align-items:center;gap:8px;width:100%;height:auto;padding:8px 12px;display:grid}.student-app .sidebar .brand{grid-area:brand;margin:0}.student-app .brand-name{font-size:16px}.student-app .logo{border-radius:8px;width:28px;height:28px}.student-app .nav{flex-direction:row;grid-area:nav;gap:4px;width:100%}.student-app .nav-item{flex:1;justify-content:center;gap:6px;height:34px;padding:0 10px;font-size:13px}.student-app .nav-item svg{width:16px;height:16px}.student-app .nav-item.active:before{display:none}.student-app .sidebar-footer{display:contents}.student-app .profile-card{background:0 0;border-radius:50%;grid-area:profile;width:auto;padding:2px}.student-app .profile-card.active{background:var(--primary-soft)}.student-app .profile-meta{display:none}.student-app .sc-logout{grid-area:logout;justify-content:center;width:34px;min-width:34px;height:34px;padding:0}.student-app .sc-logout span{display:none}.student-app .avatar{width:32px;height:32px;font-size:12px}.student-app .main{gap:10px;padding:12px 12px 20px}.student-app .main-scroll{gap:10px}.student-app .page-title{font-size:18px;line-height:22px}.student-app .header-date,.student-app .header-row .muted{display:none}.sc-schedule,.sc-profile{grid-template-columns:1fr}.sc-hero{padding:14px}.sc-hero-time{font-size:22px}.sc-week{margin-top:10px}.sc-week-day{border-radius:10px;padding:6px 2px}.sc-note{flex-direction:column;align-items:flex-start;gap:10px}.sc-note .btn{justify-content:center;align-self:stretch}.student-app .calendar-nav{flex-wrap:wrap;align-items:flex-start;gap:8px}.student-app .month-switch{margin-left:auto}.student-app .month-switch strong{min-width:0}.student-app .weekdays{margin-top:10px}}
