/* GENERATED by pnpm build:frontend. Edit frontend/styles/. */
:root,:root:not(:where([data-theme=dark])){--bg: #ffffff;--card: #ffffff;--text: #202723;--muted: #707872;--line: #e8ebe9;--green: #176d52;--primary: #176d52;--soft: #e8f1eb;--subtle: #f6f7f8;--sidebar: #f5f6f7;--warning: #95641c;--warning-bg: #fbf2e3;--nav-bg: #ffffff;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}:root:where([data-theme=dark]){--bg: #1c1e22;--card: #1c1e22;--text: #eceef0;--muted: #a2a8a4;--line: #30343a;--green: #79c9a5;--primary: #287e5d;--soft: #26372f;--subtle: #15171b;--sidebar: #181a1e;--warning: #e8be7c;--warning-bg: #3b3020;--nav-bg: #1c1e22;color:var(--text);background:var(--bg)}body{font-size:14px;line-height:1.5;background:var(--bg);color:var(--text)}h1,h2,h3{font-weight:600;letter-spacing:-0.5px}h1{font-size:27px;line-height:1.22}h2{font-size:18px}svg{width:17px;height:17px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}button:disabled{opacity:0.5;cursor:default}button,a{transition:background-color 0.15s,color 0.15s,border-color 0.15s}.layout{min-height:100svh}.sidebar{width:228px;padding:26px 14px 20px;background:var(--sidebar)!important;border-color:var(--line);gap:0}.sidebar>.wordmark{padding:0 10px 16px;gap:10px;font-size:21px}.mark{width:40px;height:34px}.brand-copy{display:grid;line-height:1.25}.brand-copy small{font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:2px}.nav-caption{font-size:10px;font-weight:600;letter-spacing:0.6px;color:var(--muted);padding:16px 0 7px}.nav-item{min-height:38px;padding:7px 10px;border-radius:6px;margin:0 0 3px;gap:10px;font-size:14px;font-weight:400;color:var(--text)!important}.nav-item svg{color:var(--muted);width:17px;height:17px}.nav-item:hover{background:var(--line)!important}.nav-item.active{background:var(--soft)!important;color:var(--green)!important;font-weight:500}.nav-item.active svg{color:var(--green)}.nav-item i{display:none}.side-bottom{padding-top:16px}.side-bottom p{font-size:10px;padding:18px 0 0;color:var(--muted)}.side-bottom #logout{font-size:12px;color:var(--muted)!important;min-height:28px;margin-top:12px}.side-profile{width:100%;border-top:1px solid var(--line);padding:12px 8px;display:flex;align-items:center;gap:10px;text-align:left;border-radius:0}.side-profile>b{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--green);font-size:11px;font-weight:600;flex-shrink:0}.side-profile>span{font-size:12px;line-height:1.4;min-width:0}.side-profile small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.workspace{margin-left:228px;width:calc(100% - 228px);display:flex;flex-direction:column}.topbar{height:80px;min-height:80px;padding:0 48px;background:var(--bg);position:relative;gap:16px}.header-left{margin-right:auto}.header-actions{display:flex;align-items:center;gap:16px}.theme-toggle,:where([data-theme=dark]) .theme-toggle{background:transparent!important;color:var(--muted);width:24px;height:28px;border-radius:6px}.theme-toggle svg{width:17px;height:17px}.theme-toggle:hover{color:var(--green)}.header-original{font-size:21px;line-height:1;min-width:24px;min-height:28px;display:grid;place-items:center;color:var(--muted)}.section-title small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.user{padding:3px 9px;border-radius:6px;font-size:12px;color:var(--muted);background:var(--subtle);gap:0}.user b{display:none}.mobile-brand,.page-head{display:none!important}#main{width:100%;max-width:1400px;padding:32px 48px 28px;margin:0 auto;flex:1;min-width:0}.snapshot-notice{font-size:11px;line-height:1.5;margin:0 0 24px;padding:8px 12px;background:var(--subtle)!important;border:1px dashed var(--line);color:var(--muted)!important}.workspace-footer{font-size:12px;padding:18px 48px;min-height:52px;color:var(--muted);margin-top:auto;display:flex;align-items:center;justify-content:space-between}.workspace-footer .text-link{color:var(--green)}.button,.select-label select,.semester-picker select,.schedule-group select,.teacher-controls input,.teacher-controls select,.calendar-controls select,.retakes-controls select,.schedule-calendar select,.schedule-calendar input{min-height:36px;border-radius:6px;padding:7px 12px;font-size:13px;font-weight:500;border:1px solid var(--line);background:var(--card)!important;color:var(--text)!important;line-height:1.4}.primary,:where([data-theme=dark]) .primary{background:var(--primary)!important;border-color:var(--primary);color:#ffffff!important}.primary:hover{filter:brightness(0.94)}.secondary,:where([data-theme=dark]) .secondary{background:var(--card);color:var(--text);border-color:var(--line)}.secondary:hover{background:var(--subtle)!important}.button svg{width:16px;height:16px}.text-link,:where([data-theme=dark]) .text-link{color:var(--green);font-size:12px}.search,:where([data-theme=dark]) .search{height:36px;background:var(--card);border:1px solid var(--line);border-radius:6px;padding:0 12px;gap:8px;width:280px;max-width:100%;display:flex;align-items:center}.search input,:where([data-theme=dark]) .search input{font-size:13px;line-height:1.5;background:transparent;color:var(--text);width:100%;padding:0;min-height:32px;border:0;outline-offset:0}.search input::placeholder,:where([data-theme=dark]) .search input::placeholder{color:var(--muted)}.search svg{width:16px;height:16px;color:var(--muted)}.search:focus-within{outline:2px solid var(--green);outline-offset:1px}.search input:focus-visible{outline:none}.semester-card,:where([data-theme=dark]) .semester-card{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:16px;padding:0;margin:0;background:transparent;border-radius:0;color:var(--text)}.semester-context{font-size:12px;color:var(--muted)}.semester-picker{margin:0;display:flex;align-items:center;flex-direction:row;gap:0}.semester-picker label{display:none}.semester-picker select,:where([data-theme=dark]) .semester-picker select{width:auto;max-width:100%;color-scheme:inherit}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:24px 0;padding:20px 0 24px;border-block:1px solid var(--line);gap:24px}.stats>div,:where([data-theme=dark]) .stats>div{padding:0;border:0;border-radius:0;background:transparent;min-width:0;border-right:1px solid var(--line)}.stats>div:last-child{border:0}.stats span,:where([data-theme=dark]) .stats span{font-size:12px;min-height:0;color:var(--muted);display:block}.stats b{font-size:30px;line-height:1.3;font-weight:600;margin:8px 0 6px;display:block}.stats>div:first-child b{font-size:40px}.stats .stats-denominator{display:inline;font-size:30px;color:var(--text)}.stats small{display:block;font-size:12px;color:var(--muted)}.stats em{display:none}.grades-panel,:where([data-theme=dark]) .grades-panel{border:0;border-radius:0;background:transparent;overflow:visible}.panel-toolbar{padding:0;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.panel-toolbar h2{font-size:18px;margin:0}.panel-toolbar h2 span{display:inline-block;font-size:12px;letter-spacing:0;color:var(--muted);background:var(--subtle);padding:2px 8px;margin-left:8px;border-radius:6px;font-weight:400}.grade-filter-bar,.retake-period-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--line);margin:0 0 24px;min-height:40px;overflow-x:auto}.grade-filter-bar button,.retake-period-tabs button{font-size:13px;color:var(--muted);padding:10px 0;white-space:nowrap;border-bottom:2px solid transparent;min-height:40px}.grade-filter-bar .selected,.retake-period-tabs .selected{color:var(--green);border-bottom-color:var(--green)}#grade-reset{margin-left:auto;color:var(--green);font-size:12px}.table-heading{display:grid;grid-template-columns:minmax(0,1fr) 170px 190px;gap:26px;padding:12px 16px;border-block:0 1px solid var(--line);background:transparent!important;font-size:11px;text-transform:uppercase;color:var(--muted)}.subject-row{display:grid;grid-template-columns:minmax(0,1fr) 170px 190px;gap:26px;padding:13px 16px;min-height:50px;align-items:center;border-bottom:1px solid var(--line)!important;background:transparent;color:var(--text);position:relative}.subject-row:last-child{border-bottom:1px solid var(--line)!important}.subject-row:after{content:"\203a";position:absolute;right:16px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:18px}.subject-name{min-width:0;flex:1}.subject-name b{font-size:15px;font-weight:400;line-height:1.5;display:block}.subject-name small{font-size:12px;color:var(--muted)!important}.assessment-mobile{display:none!important}.subject-assessment{font-size:12px;color:var(--muted);line-height:1.6}.results{display:flex;flex-wrap:wrap;gap:5px;max-width:none;justify-content:flex-start;align-items:center;padding:0 20px 0 0;text-align:left;position:relative}.grade,:where([data-theme=dark]) .grade{background:transparent!important;border:0!important;padding:0;min-width:0;min-height:0;border-radius:0;font-size:19px;line-height:1.4;font-weight:600;color:var(--text)!important}.grade.passed,:where([data-theme=dark]) .grade.passed{color:var(--green)!important;font-size:13px;font-weight:400}.grade.failed,:where([data-theme=dark]) .grade.failed{color:var(--warning)!important;font-size:13px}.no-grade,:where([data-theme=dark]) .no-grade{font-size:13px;color:var(--muted);padding:0}.subject-retake-link{font-size:11px;color:var(--muted);display:block;flex-basis:100%;margin:0}.missing-assessment{max-width:none;text-align:left;font-size:11px}.subject-retakes:hover{background:var(--subtle)}.plan-note,:where([data-theme=dark]) .plan-note{background:transparent;border:0;padding:0;margin:24px 0;border-radius:6px;color:var(--muted);font-size:12px}.plan-note small{display:inline;font-size:12px;margin-left:5px}.plan-warning,:where([data-theme=dark]) .plan-warning{background:var(--warning-bg);color:var(--warning);padding:14px 16px;border-radius:6px;font-size:13px}.plan-warning small{display:block}.transfer-note{border-radius:6px;padding:14px 16px;font-size:13px}.section-note{font-size:12px;color:var(--muted);line-height:1.65;margin:24px 0}.plan-choices{border-radius:6px;font-size:13px}.schedule-overview,:where([data-theme=dark]) .schedule-overview{background:transparent;color:var(--text);padding:0;margin-bottom:24px;border-radius:0;display:flex;gap:24px;justify-content:space-between;align-items:center}.schedule-overview h2{font-size:20px;letter-spacing:-0.5px}.schedule-overview small{font-size:12px;color:var(--muted);margin-top:4px}.schedule-group{color:var(--muted);font-size:11px;min-width:160px}.schedule-group select{margin-top:4px;max-width:230px;width:100%}.teacher-controls{max-width:600px;gap:10px}.teacher-controls label{color:var(--muted)}.teacher-controls input,.teacher-controls select{font-weight:400}.live-schedule{background:var(--soft);border-left:3px solid var(--green);border-radius:8px;padding:24px;margin:0 0 24px;min-width:0}.live-status{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px;margin-bottom:18px}.live-status b{font-weight:500;color:var(--green)}.live-main{display:flex;align-items:center;justify-content:space-between;gap:32px}.live-main>div:first-child{min-width:0}.live-main h2{font-size:22px;line-height:1.4;overflow-wrap:anywhere}.live-main p{font-size:13px;color:var(--muted);margin-top:8px}.live-countdown{text-align:right;white-space:nowrap;flex-shrink:0}.live-countdown b{display:block;font-size:32px;line-height:1.25;font-weight:600;letter-spacing:-1px}.live-countdown span{font-size:12px;color:var(--muted)}.live-progress{margin-top:18px;font-size:12px;color:var(--green)}.live-progress progress{width:100%;height:5px;display:block;margin-top:9px;appearance:none;border:0;border-radius:3px;overflow:hidden;background:var(--line)}.live-progress progress::-webkit-progress-bar{background:var(--line);border-radius:3px}.live-progress progress::-webkit-progress-value{background:var(--primary);border-radius:3px}.live-progress progress::-moz-progress-bar{background:var(--primary)}.live-bottom{display:flex;justify-content:space-between;gap:24px;color:var(--muted);font-size:12px;margin-top:18px}.live-bottom>span{min-width:0}.live-schedule.other-date,.live-schedule.after,.live-schedule.empty,.live-schedule.unspecified{background:var(--subtle);border-color:var(--line)}.schedule-calendar{border:0;border-radius:0;padding:0 0 20px;background:transparent;margin:0;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);flex-wrap:wrap}.schedule-calendar>button{width:36px;height:36px;border-radius:6px;border:1px solid var(--line);background:var(--card);color:var(--text);font-size:19px}.schedule-calendar>b{font-size:23px;letter-spacing:-0.7px;line-height:1.25;font-weight:600}.week-badge{font-size:12px;color:var(--green);background:var(--soft);border-radius:4px;padding:3px 9px}.schedule-actions{margin-left:auto;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.schedule-calendar .schedule-actions{display:flex}.schedule-calendar .schedule-actions label{margin:0;display:flex;gap:0;font-size:13px}.schedule-date-label{position:relative;height:36px;min-width:82px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;color:var(--text);align-items:center}.schedule-date-label input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.schedule-date-label input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}.day-shortcuts{height:100px;display:flex;gap:0;margin:0 0 24px;padding:8px 0 16px;border-bottom:1px solid var(--line)}.day-shortcuts button,:where([data-theme=dark]) .day-shortcuts button{flex:1;width:auto;height:100%;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:0;border-radius:0;background:transparent!important;color:var(--text)}.day-shortcuts small{font-size:12px;color:var(--muted)}.day-shortcuts b{font-size:20px;font-weight:500;line-height:40px;min-width:40px;height:40px;border-radius:50%}.day-shortcuts .selected small{color:var(--green)}.day-shortcuts .selected b{background:var(--primary);color:white}.schedule-day,:where([data-theme=dark]) .schedule-day{background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}.schedule-day-head{padding:0 0 20px;border-bottom:1px solid var(--line);align-items:center}.schedule-day-head h2{font-size:22px}.schedule-day-head>span{font-size:12px}.lesson{padding:24px 0;gap:40px;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.lesson-time{min-width:64px;font-size:13px;gap:5px}.lesson-time b,:where([data-theme=dark]) .lesson-time b{font-size:19px;font-weight:500;color:var(--text)}.lesson-body{border:0;padding:0;min-width:0}.lesson-top{justify-content:flex-start;align-items:center;gap:16px;margin-bottom:10px;flex-wrap:wrap}.lesson-kind,.period-chip,:where([data-theme=dark]) .period-chip{font-size:12px;line-height:1.3;color:var(--muted);background:transparent!important;padding:0;white-space:normal}.lesson h3{font-size:19px;font-weight:500;line-height:1.45}.lesson-details{font-size:12px;margin-top:10px;gap:20px;line-height:1.5}.lesson-details span:first-child{color:var(--text)}.lesson-details b{font-weight:400}.lesson.is-current{background:var(--soft);border-left:2px solid var(--primary);padding:20px 16px;border-radius:6px}.lesson-now{margin-left:auto;color:var(--green);font-size:11px}.lesson-now[hidden]{display:none}.military-lesson{padding:24px 0!important;margin:0;border-radius:0;background:transparent}.military-lesson.is-current{padding:20px 16px!important}.lesson.all-day,:where([data-theme=dark]) .lesson.all-day{background:var(--subtle);padding:20px 16px;border-radius:6px}.refresh-status{font-size:12px;color:var(--muted);margin:0 0 16px}.section-toolbar{margin:0 0 24px;gap:16px;display:flex;justify-content:space-between;align-items:center}.breadcrumbs button{font-size:18px;font-weight:600}.file-list,.subject-list,:where([data-theme=dark]) .file-list,:where([data-theme=dark]) .subject-list{border:0;border-radius:0;background:transparent}.file-row{min-height:50px;padding:13px 16px;gap:16px;border-bottom:1px solid var(--line)}.file-row:last-child{border-bottom:1px solid var(--line)}.file-row b{font-size:15px;font-weight:400}.file-row small{display:none}.file-icon,:where([data-theme=dark]) .file-icon{width:17px;height:20px;background:transparent;color:var(--muted);border-radius:0}.file-icon svg{width:17px;height:17px}.file-row:hover,:where([data-theme=dark]) .file-row:hover{background:var(--subtle)}.file-row>svg{width:14px;color:var(--muted)}.subject-list .subject-row{display:flex;min-height:56px}.subject-list .subject-row:after{display:none}.subject-icon{display:none}.subject-list .subject-name{display:flex;justify-content:space-between;gap:16px;align-items:center}.subject-list .subject-name small{font-size:12px;color:var(--muted)}.empty,:where([data-theme=dark]) .empty,.loading,:where([data-theme=dark]) .loading{border:0;background:transparent;border-radius:0;padding:80px 24px;color:var(--muted)}.empty h2{font-size:20px;color:var(--text)}.empty p,:where([data-theme=dark]) .empty p{color:var(--muted);font-size:13px}.empty>svg{width:28px;height:28px;color:var(--muted)}.library-group{margin-bottom:24px}.library-group h2{margin-bottom:14px}.resource-grid{display:block}.resource,:where([data-theme=dark]) .resource{min-height:50px;font-size:15px;padding:13px 16px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;gap:16px}.resource:before{content:"\25a7";font-size:18px;color:var(--muted)}.resource svg{margin-left:auto;width:16px;color:var(--muted)}.resource:hover{background:var(--subtle)}.profile-card,:where([data-theme=dark]) .profile-card{padding:8px 0 0;border:0;border-radius:0;background:transparent}.profile-top{margin-bottom:24px;padding-bottom:28px;border-bottom:1px solid var(--line);gap:22px;align-items:center}.profile-top h2{font-size:28px}.large-avatar,:where([data-theme=dark]) .large-avatar{width:76px;height:76px;border-radius:50%;font-size:24px;background:var(--soft);color:var(--green)}.profile-top .eyebrow{display:none}.profile-status{font-size:12px;padding:3px 9px;color:var(--green);background:var(--soft);border-radius:4px;white-space:nowrap;margin-left:auto}.fields{margin:0;display:grid;grid-template-columns:1fr 1fr;gap:24px 40px}.fields>div{display:block;border:0!important;padding:0;min-width:0}.fields dt,:where([data-theme=dark]) .fields dt{font-size:12px;color:var(--muted);margin-bottom:6px}.fields dd{font-size:14px;line-height:1.55;white-space:pre-line}.profile-summary{padding:0 0 24px;border-bottom:1px solid var(--line);margin-bottom:28px}.profile-summary .fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.profile-summary dd{font-size:16px;font-weight:500}.profile-program>p{font-size:24px;font-weight:500;line-height:1.4;margin:24px 0;max-width:940px;letter-spacing:-0.5px}.profile-program .fields{margin-top:24px}.order-card,:where([data-theme=dark]) .order-card{padding:0 0 0 24px;border:0;border-left:2px solid var(--line);border-radius:0;background:transparent;margin:32px 0;display:block}.order-card.current{border-color:var(--primary)}.order-title{display:flex;gap:20px;align-items:center;margin-bottom:22px}.order-title h2{font-size:20px}.order-title p{font-size:12px;color:var(--muted);margin-top:3px}.order-card .fields{padding-bottom:20px}.order-card summary{color:var(--green);font-size:13px;cursor:pointer;list-style:none}.order-card summary:after{content:"\2304";margin-left:12px}.order-card details .fields{margin-top:20px}.orders-count{margin:0}.document-card,:where([data-theme=dark]) .document-card{padding:28px;border-radius:8px;background:transparent;border-color:var(--line);max-width:840px}.document-plan-top{display:flex;gap:24px;align-items:flex-start}.document-plan-top>svg{box-sizing:content-box;width:28px;height:28px;padding:16px;background:var(--subtle);border-radius:4px;color:var(--muted)}.document-plan-top h2{font-size:22px}.document-plan-top p{font-size:18px;line-height:1.5;max-width:580px;margin:8px 0 0}.document-plan-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.document-plan-bottom>span{font-size:12px;color:var(--muted)}.calendar-controls{margin:0 0 24px;align-items:center;gap:10px}.calendar-controls label{flex:none;max-width:300px}.calendar-controls label:not(.calendar-profile){font-size:0;gap:0}.calendar-controls .button{margin-left:auto}.calendar-overview,:where([data-theme=dark]) .calendar-overview{padding:0 0 24px;background:transparent;color:var(--text);border-radius:0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:24px}.calendar-overview>.eyebrow,.calendar-overview>p{display:none}.calendar-overview>h2{font-size:12px;font-weight:400;color:var(--muted);grid-column:1/-1;letter-spacing:0}.calendar-current,.calendar-next{margin:0;gap:8px;padding-left:20px;border-left:2px solid var(--line)}.calendar-current{border-color:var(--primary)}.calendar-current b,.calendar-next b{font-size:22px;line-height:1.4;font-weight:500}.calendar-current span,.calendar-next span,.calendar-current small,.calendar-next small{color:var(--muted);font-size:13px}.calendar-current small,.calendar-next small{text-transform:uppercase;letter-spacing:0.8px;font-size:11px;font-weight:500}.calendar-current small{color:var(--green)}.calendar-columns{display:grid;grid-template-columns:minmax(0,1fr) 276px;gap:40px;margin-top:24px}.calendar-periods{display:block}.calendar-term,.calendar-holidays{padding:0;background:transparent;border:0;border-radius:0;margin:0}.calendar-term{margin-bottom:20px}.calendar-holidays{border-left:1px solid var(--line);padding-left:28px;align-self:start}.calendar-term h2,.calendar-holidays h2{margin-bottom:16px}.calendar-period{padding:20px 0;gap:16px;align-items:center}.calendar-period h3{font-size:15px;font-weight:400}.calendar-period p{font-size:13px;margin-top:4px}.calendar-dot{width:14px;height:14px;border:1px solid var(--muted);background:transparent!important;margin:0;position:relative}.calendar-period.active{padding:20px 0;background:transparent;border-radius:0;position:relative}.calendar-period.active .calendar-dot{border-color:var(--primary)}.calendar-period.active .calendar-dot:after{content:"";position:absolute;inset:5px;background:var(--primary);border-radius:50%}.calendar-period.active small{position:absolute;right:0;top:28px;font-size:12px;color:var(--green);background:var(--soft);border-radius:4px;padding:3px 9px;margin:0}.calendar-period.active>div{padding-right:100px}.calendar-holidays>div{display:block}.calendar-holidays article{padding:12px 0;background:transparent;font-size:13px;line-height:1.4;border-radius:0}.calendar-holidays article:before{content:"\25a2";margin-right:12px;color:var(--muted)}.calendar-missing{font-size:13px}.calendar-term-profile{font-size:12px;margin:0 0 8px}.retakes-overview,:where([data-theme=dark]) .retakes-overview{padding:0;background:transparent;color:var(--muted);border-radius:0;margin-bottom:20px}.retakes-overview>p{margin:0 0 16px;padding:14px 16px;background:var(--warning-bg);color:var(--warning);font-size:13px;border-radius:6px;max-width:none}.retakes-sync{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;margin-top:0}.retakes-sync>span:nth-child(2){display:none}.retakes-controls{margin:0 0 24px;gap:10px;align-items:center;flex-wrap:wrap}.retakes-controls label{font-size:0;gap:0;flex:none;min-width:0;max-width:240px}.retakes-controls label:nth-child(2){flex:none;max-width:220px}.retakes-controls select{width:100%;max-width:240px;min-height:36px}.retakes-controls .search{flex:1;width:auto;max-width:380px;min-width:180px}.retakes-controls .button{margin-left:auto}.retakes-heading{margin:24px 0 16px}.retakes-heading h2{font-size:18px}.retakes-grid{display:block}.retake-card,:where([data-theme=dark]) .retake-card{display:flex;gap:24px;padding:20px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;align-items:flex-start}.retake-date{width:128px;flex-shrink:0;border:0;padding:0;font-size:12px;gap:4px}.retake-date b{font-size:13px;color:var(--text);font-weight:500;line-height:1.5}.retake-content{flex:1;min-width:0}.retake-card h3{font-size:15px;font-weight:500;line-height:1.5;margin:0 0 4px;letter-spacing:0}.retake-department{font-size:12px;margin:0;line-height:1.5}.retake-details{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;line-height:1.5;margin:3px 0;color:var(--text)}.retake-details b{font-weight:400}.retake-groups{font-size:11px;margin:4px 0 0;line-height:1.5}.retake-card>.text-link{flex-shrink:0;color:var(--muted);font-size:11px}.retakes-extra{border:0;margin:24px 0 0;padding:0}.retakes-extra summary{font-size:18px;list-style:none}.retakes-extra summary:after{content:"\2304";font-size:14px;margin-left:12px;color:var(--muted)}.retakes-extra summary span{background:var(--subtle);padding:3px 8px;border-radius:4px;color:var(--muted)}.retakes-extra .section-note{margin:12px 0}.retake-period-tabs{margin-bottom:24px}.sheet,:where([data-theme=dark]) .sheet,.more-grid button,:where([data-theme=dark]) .more-grid button{background:var(--card);color:var(--text)}.more-grid button{border:1px solid var(--line);border-radius:6px}.more-grid svg{color:var(--muted)}.retake-dialog,.document-viewer{border-radius:10px}.retake-dialog-header h2{font-size:22px}.retake-dialog-close,.document-viewer-close{border-radius:6px}.subject-retake-date{background:var(--subtle);border-radius:6px}.document-viewer-header .button,.document-viewer-toolbar input,.document-viewer-toolbar button{border-radius:6px}.document-viewer-toolbar,.document-viewer-scroll{background:var(--subtle)}.word-document{border-radius:6px}.login{color:var(--text)}.login input,:where([data-theme=dark]) .login input{background:var(--card);color:var(--text);border-color:var(--line)}.login .theme-toggle{width:40px;height:40px}.login .remember-device input{accent-color:var(--primary)}#toast,:where([data-theme=dark]) #toast{background:var(--primary)}@media(max-width:1200px){.table-heading,.grades-panel .subject-row{grid-template-columns:minmax(0,1fr) 130px 145px;gap:16px}.grade-filter-bar{gap:18px}.schedule-calendar>b{font-size:20px}.schedule-actions{width:100%;margin-left:0}.calendar-columns{grid-template-columns:minmax(0,1fr) 230px;gap:24px}.calendar-holidays{padding-left:24px}}@media(max-width:1000px)and (min-width:761px){.topbar{padding-inline:28px}#main{padding-inline:28px}.workspace-footer{padding-inline:28px}.table-heading,.grades-panel .subject-row{grid-template-columns:minmax(0,1fr) 100px 100px;gap:12px}.grade-filter-bar{gap:16px}.stats{gap:16px}.calendar-columns{display:block}.calendar-holidays{border:0;padding:0;margin-top:24px}.calendar-holidays>div{display:grid;grid-template-columns:1fr 1fr}.teacher-controls{max-width:330px}.retake-card{gap:16px}.retake-date{width:95px}}@media(max-width:760px){.sidebar{display:none}.workspace{margin:0;width:100%;padding-bottom:calc(78px + env(safe-area-inset-bottom,0px))}.topbar{height:calc(72px + env(safe-area-inset-top,0px));min-height:72px;padding:env(safe-area-inset-top,0px) 20px 0;gap:8px}.section-title h1{font-size:23px;letter-spacing:-0.7px}.section-title small{display:none}.header-actions{gap:8px}.user{font-size:11px;padding:4px 7px;white-space:nowrap}.header-original{display:none}.theme-toggle{width:32px!important;height:36px!important}.theme-toggle svg{width:20px;height:20px}#main{padding:24px 20px 20px}.workspace-footer{padding:16px 20px;font-size:11px}.snapshot-notice{font-size:10px;margin-bottom:20px}.semester-card{flex-direction:row-reverse;gap:8px}.semester-picker select{width:auto;max-width:200px;font-size:12px;padding:9px 10px}.semester-context{font-size:11px;text-align:right;max-width:135px}.stats{gap:16px;margin:20px 0 24px;padding:20px 0}.stats span{font-size:11px;line-height:1.5;min-height:32px}.stats b,.stats .stats-denominator{font-size:25px;margin-top:8px}.stats>div:first-child b{font-size:30px}.stats .stats-denominator{min-height:0}.stats small{display:none}.panel-toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}.panel-toolbar h2{font-size:18px;margin:0}.panel-toolbar .search{width:100%;flex-basis:100%}.grade-filter-bar{gap:20px;margin-bottom:14px;width:100%;scrollbar-width:thin}#grade-reset{margin-left:0}.table-heading{grid-template-columns:minmax(0,1fr) 98px;padding:10px 0;font-size:10px;gap:12px}.table-heading>span:nth-child(2){display:none}.grades-panel .subject-row{grid-template-columns:minmax(0,1fr) 98px;padding:14px 0;gap:12px;min-height:58px}.subject-row:after{display:none}.subject-name b{font-size:14px;line-height:1.5}.subject-name .assessment-mobile{display:block!important;font-size:11px;margin-top:4px;max-width:none}.subject-assessment{display:none}.results{max-width:none;gap:4px;padding:0}.grade{font-size:18px}.no-grade,.grade.passed{font-size:12px!important;white-space:normal}.subject-retake-link{font-size:11px}.missing-assessment{font-size:10px;max-width:none}.section-note{font-size:11px;margin:20px 0}.plan-note{flex-wrap:wrap;flex-direction:row;font-size:11px;gap:10px}.plan-note small{display:block;margin-left:0}.plan-warning{flex-direction:column;padding:14px 16px;font-size:12px}.transfer-note{font-size:12px}.schedule-overview{flex-direction:column;align-items:flex-start;gap:14px;margin-bottom:20px}.schedule-overview h2{font-size:20px}.schedule-group{display:flex;width:100%;align-items:center;justify-content:space-between;font-size:12px;gap:12px}.schedule-group select{width:170px;max-width:65%;margin:0;padding:9px 10px}.teacher-controls{max-width:none;width:100%}.live-schedule{padding:18px 16px;margin-bottom:20px}.live-status{font-size:11px;margin-bottom:14px}.live-main{gap:16px;align-items:flex-start}.live-main h2{font-size:18px;line-height:1.4}.live-main p{font-size:12px}.live-countdown b{font-size:25px}.live-countdown span{font-size:10px}.live-bottom{flex-direction:column;gap:6px;font-size:11px;margin-top:14px}.live-progress{font-size:11px}.schedule-calendar{gap:8px;padding-bottom:16px}.schedule-calendar>b{font-size:17px;max-width:calc(100% - 88px)}.schedule-calendar>button{width:32px;height:36px}.week-badge{font-size:11px}.schedule-actions{gap:7px}.schedule-actions .button,.schedule-actions select{font-size:12px;padding:8px 10px;min-height:40px}.schedule-actions .schedule-date-label{height:40px;font-size:12px}.schedule-actions #schedule-refresh{margin-left:auto}.day-shortcuts{height:88px;margin-bottom:20px;padding:8px 0 12px}.day-shortcuts button{height:100%;min-height:0}.day-shortcuts small{font-size:11px}.day-shortcuts b{font-size:17px;min-width:34px;width:34px;height:34px;line-height:34px}.schedule-day-head{padding:0 0 16px;gap:12px}.schedule-day-head h2{font-size:18px}.schedule-day-head>span{font-size:11px}.lesson,.military-lesson{padding:20px 0!important;gap:18px}.lesson-time{min-width:50px;font-size:12px}.lesson-time b{font-size:16px!important}.lesson-top{gap:7px 10px;margin-bottom:8px}.lesson-kind,.period-chip{font-size:10px!important}.lesson h3{font-size:15px}.lesson-details{font-size:11px;gap:7px 12px}.lesson-body{padding:0}.lesson.is-current,.military-lesson.is-current{padding:16px 12px!important;gap:16px}.lesson-now{font-size:10px}.section-toolbar{gap:12px;margin-bottom:20px;align-items:center}.section-toolbar .button{font-size:12px;min-height:40px}.file-row{padding:15px 0;gap:14px;min-height:52px}.file-row b{font-size:14px}.file-icon{width:17px;height:20px}.file-icon svg{width:17px}.subject-list .subject-row{padding:14px 0}.subject-list .subject-name{gap:12px}.subject-list .subject-name small{font-size:11px;white-space:nowrap}.resource{padding:15px 0;min-height:54px;font-size:14px;gap:12px}.library-group{margin-bottom:22px}.library-group h2{font-size:17px}.profile-top{align-items:center;gap:14px;flex-wrap:wrap;padding-bottom:24px}.large-avatar{width:56px;height:56px;font-size:20px}.profile-top>div:nth-child(2){flex:1;min-width:200px}.profile-top h2{font-size:23px;line-height:1.3}.profile-status{margin-left:0;font-size:11px}.profile-summary .fields{grid-template-columns:1fr 1fr;gap:20px}.fields{grid-template-columns:1fr;gap:20px}.fields dt{font-size:11px}.fields dd{font-size:14px}.profile-program>p{font-size:20px;margin:20px 0}.order-card{padding-left:16px}.order-title{align-items:flex-start;gap:12px}.order-title h2{font-size:18px}.order-title p{font-size:11px}.order-title .profile-status{white-space:normal;max-width:100px;flex-shrink:0}.document-card{padding:20px}.document-plan-top{gap:16px}.document-plan-top>svg{padding:12px;width:22px;height:22px}.document-plan-top h2{font-size:19px}.document-plan-top p{font-size:15px}.document-plan-bottom{flex-direction:column;align-items:flex-start;gap:16px;padding-top:20px;margin-top:20px}.calendar-controls{margin:0 0 20px;gap:8px}.calendar-controls label:not(.calendar-profile){min-width:0;flex:none;max-width:140px}.calendar-controls .calendar-profile{max-width:100%;flex-basis:100%}.calendar-controls select{padding:8px;font-size:12px;min-height:40px}.calendar-controls .button{width:auto;min-height:40px;font-size:12px;padding:8px 10px}.calendar-overview{grid-template-columns:1fr;gap:20px}.calendar-overview h2{font-size:12px;grid-column:auto}.calendar-current,.calendar-next{padding-left:16px;gap:6px}.calendar-current b,.calendar-next b{font-size:20px}.calendar-current span,.calendar-next span{font-size:12px}.calendar-columns{display:block;margin-top:24px}.calendar-periods{display:block}.calendar-holidays{margin-top:26px;border:0;border-top:1px solid var(--line);padding:20px 0 0}.calendar-term h2,.calendar-holidays h2{font-size:18px}.calendar-period,.calendar-period.active{padding:18px 0}.calendar-period.active>div{padding-right:70px}.calendar-period.active small{font-size:10px;padding:3px 7px}.calendar-period h3{font-size:14px}.calendar-period p{font-size:12px}.calendar-holidays>div{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px}.calendar-holidays article{font-size:12px;padding:9px 0}.retakes-controls{gap:8px;display:flex;margin-bottom:20px}.retakes-controls label,.retakes-controls label:nth-child(2){max-width:none;min-width:0;flex:1;order:0}.retakes-controls label:nth-child(2){flex-basis:45%}.retakes-controls select{font-size:12px;min-height:40px}.retakes-controls .search{order:3;min-width:100%;max-width:none;width:100%;margin-top:0}.retakes-controls .button{order:0;width:auto;font-size:12px;min-height:40px;padding:8px 10px;margin-left:0}.retakes-controls label:nth-child(3){flex:1}.retakes-sync{font-size:11px;gap:8px}.retakes-overview>p{font-size:12px}.retake-period-tabs{gap:24px}.retake-period-tabs button{font-size:12px}.retakes-heading{display:flex;margin-top:20px}.retakes-heading h2{font-size:18px}.retake-card{gap:14px;flex-wrap:wrap;padding:18px 0;position:relative}.retake-date{width:86px;font-size:11px}.retake-date b{font-size:12px}.retake-content{flex:1}.retake-card h3{font-size:14px;line-height:1.5}.retake-card>.text-link{margin-left:100px;font-size:11px}.retake-department,.retake-details{font-size:11px}.retake-groups{font-size:10px}.retakes-extra summary{font-size:17px}.retakes-grid{display:block}.sheet{border-radius:12px 12px 0 0}.more-grid button{font-size:13px}.empty{padding:60px 16px}.document-viewer-header h2{font-size:17px}.retake-dialog-header h2{font-size:20px}}@media(max-width:370px){#main{padding-inline:16px}.topbar{padding-inline:16px}.section-title h1{font-size:21px}.user{font-size:10px}.stats{gap:12px}.stats b,.stats .stats-denominator{font-size:22px}.stats>div:first-child b{font-size:28px}.live-main{flex-wrap:wrap;gap:14px}.live-countdown{text-align:left}.live-countdown b{display:inline;font-size:24px}.live-countdown span{display:inline;margin-left:7px}.schedule-actions #schedule-refresh{margin-left:0}.retake-date{width:74px}.retake-card>.text-link{margin-left:88px}}@media(prefers-reduced-motion:reduce){button,a{transition:none}}.stats b .stats-denominator,:where([data-theme=dark]) .stats b .stats-denominator{display:inline;font:inherit;color:inherit;min-height:0;margin:0;letter-spacing:inherit;overflow-wrap:normal}:root[data-theme=dark]{color-scheme:dark}.schedule-chooser{position:relative;flex-shrink:0;font-size:13px}.schedule-chooser summary{list-style:none;cursor:pointer;min-height:36px;display:flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid var(--line);border-radius:6px;background:var(--card);color:var(--text);font-weight:500}.schedule-chooser summary::-webkit-details-marker{display:none}.schedule-chooser summary svg{color:var(--muted);width:16px;height:16px}.chooser-panel{position:absolute;right:0;top:calc(100% + 8px);width:300px;padding:18px;background:var(--card);border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #0001;z-index:3}.teacher-chooser .chooser-panel{width:400px}.chooser-panel .schedule-group{display:block;width:100%;max-width:none}.chooser-panel .schedule-group select{max-width:none;width:100%;margin-top:8px}.teacher-chooser .teacher-controls{width:100%;max-width:none}.schedule-calendar .schedule-actions .week-choice{margin-left:0}.schedule-calendar .schedule-actions .schedule-date-label{margin-left:0}@media(max-width:760px){.schedule-chooser{align-self:flex-start;width:100%}.schedule-chooser summary{width:fit-content;min-height:40px}.chooser-panel,.teacher-chooser .chooser-panel{left:0;right:auto;width:min(100%,400px)}.schedule-overview{align-items:flex-start}.stats b .stats-denominator{font-size:inherit}}.resource:before,.calendar-holidays article:before{content:none}.resource>span{flex:1}.resource>svg:first-child{margin:0}.calendar-holidays article{display:flex;gap:12px;align-items:flex-start}.calendar-holidays svg{width:14px;height:14px;color:var(--muted);margin-top:3px;flex-shrink:0}.lesson-details>span:first-child{display:flex;align-items:center;gap:10px}.lesson-details svg{width:14px;height:14px;color:var(--muted)}.side-profile.active{background:var(--soft);border-radius:6px}.header-original svg{width:17px;height:17px}.workspace-footer .text-link svg{width:12px;height:12px}.table-heading{border-bottom:1px solid var(--line)}.retakes-controls .search{display:flex;font-size:13px}.file-list+.section-note{margin-top:16px}.section-toolbar+.section-note{margin-top:0}.retake-period-tabs{margin-top:0}.retakes-heading h2>span{display:inline-block;background:var(--subtle);border-radius:4px;padding:2px 7px;margin-left:10px;letter-spacing:0}.library-group .resource svg:first-child{color:var(--muted)}.preview-source{display:block;font-size:10px;color:var(--muted);margin-top:3px;line-height:1.45}.workspace-footer>div{min-width:0}.workspace-footer{gap:20px}.workspace-footer>a{white-space:nowrap;flex-shrink:0}.semester-picker{position:relative}.semester-picker:before{content:none}.section-title{min-width:0}@media(max-width:760px){.semester-picker select{padding:9px 10px 9px 30px}.workspace-footer{align-items:flex-start}.preview-source{font-size:9px;max-width:240px}.user{flex-shrink:0}}.semester-picker{min-height:36px;justify-content:center;border:1px solid var(--line);border-radius:6px;background:var(--card)}.semester-picker-display{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:7px 12px;font-size:13px;font-weight:500;line-height:1.4;pointer-events:none}.semester-picker-display svg{width:16px;height:16px;flex-shrink:0;color:var(--muted)}.semester-picker select,:where([data-theme=dark]) .semester-picker select{position:absolute;inset:0;width:100%;height:100%;max-width:none;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer}.semester-picker:focus-within{outline:2px solid var(--green);outline-offset:3px}
