:root{--canvas: #f8f9ff;--surface: #fff;--soft: #eff4ff;--soft-blue: #e5eeff;--ink: #0f172a;--muted: #475569;--line: #e2e8f0;--primary: #2563eb;--primary-dark: #004ac6;--python-bg: #eff6ff;--python-ink: #1e40af;--english-bg: #fff1e8;--english-ink: #9a3412;--success: #047857;--danger: #b91c1c;--warning: #92400e;--radius: 10px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:15px;line-height:1.5;color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;touch-action:manipulation}a{color:var(--primary-dark);text-underline-offset:3px;overflow-wrap:anywhere}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{letter-spacing:-.02em}h1{font-size:24px}h2{font-size:20px}h3{font-size:16px}.muted{color:var(--muted)}.positive{color:var(--success)}.negative,.overdue{color:var(--danger)}.overdue{font-weight:600}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.eyebrow{font-size:14px;font-weight:600;color:var(--muted);letter-spacing:.04em}.status-badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 8px;font-size:14px;font-weight:500;line-height:1.35;white-space:nowrap;max-width:100%}.status-scheduled{color:#1e40af;background:#dbeafe}.status-completed,.status-accepted{color:#065f46;background:#d1fae5}.status-missed,.status-needs_revision{color:#92400e;background:#ffedd5}.status-cancelled{color:#991b1b;background:#fee2e2}.status-assigned{color:#1e40af;background:#e0e7ff}.status-submitted{color:#6b21a8;background:#f3e8ff}.subject-tag{display:inline-flex;align-items:center;max-width:100%;padding:3px 9px;border-radius:5px;font-size:14px;line-height:1.4;font-weight:500;background:var(--soft);color:var(--primary-dark);overflow-wrap:anywhere}.subject-tag.blue,.subject-tag.indigo{background:#dbeafe;color:#1e40af}.subject-tag.sand{background:#ffdbce;color:#9a3412}.subject-tag.sage{background:#d1fae5;color:#065f46}.subject-dot,.status-dot{display:inline-block;width:8px;height:8px;flex:none;border-radius:50%;background:#2563eb}.subject-dot.english{background:#ea580c}.subject-dot.python{background:#2563eb}.status-dot.completed{background:#047857}.MuiTypography-caption,.MuiTypography-overline,.MuiTypography-body2,.MuiButton-root{font-size:14px!important}.MuiFormHelperText-root{font-size:14px!important;line-height:1.4!important}.MuiInputLabel-shrink{font-size:18.667px!important}.MuiChip-root{font-size:14px!important}.MuiOutlinedInput-notchedOutline{border-color:#d5deee!important}.MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline{border-color:#93b4ee!important}.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline{border-color:#2563eb!important}.MuiButton-outlined{background:#fff!important;border-color:#cbd5e1!important;color:#1e40af!important}.MuiButton-outlined:hover{background:#eff6ff!important;border-color:#93b4ee!important}.MuiButton-text{color:#1e40af}.MuiButton-text.MuiButton-colorError{color:#b91c1c}.MuiButton-text.MuiButton-colorWarning{color:#92400e}.MuiInputBase-input{font-variant-numeric:tabular-nums}.MuiAlert-root{font-size:14px!important}.simple-panel,.work-card{background:#fff;border:1px solid #e8edf5;border-radius:12px;overflow:hidden}.work-card{padding:20px}.panel-title{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}.panel-title h2{font-size:18px;margin:0}.empty{display:grid;justify-items:center;text-align:center;padding:44px 20px;gap:6px}.empty .MuiTypography-body1{max-width:480px}.checkbox-field{display:flex;align-items:center;min-height:44px;gap:4px;cursor:pointer}.roles-fieldset{border:1px solid var(--line);border-radius:8px;padding:8px 14px 12px;margin:0}.roles-fieldset legend{font-size:14px;font-weight:600;padding:0 6px}.roles-fieldset .checkbox-field{min-height:44px}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}.app-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.app-header{flex:none;background:#fff;border-bottom:1px solid var(--line);z-index:20}.header-inner{height:64px;display:flex;align-items:center;gap:20px;padding:0 24px;min-width:0}.wordmark{display:inline-flex;align-items:center;gap:10px;color:#0f172a;font-size:21px;letter-spacing:-.035em;white-space:nowrap;font-weight:650;text-decoration:none}.brand-symbol{width:34px;height:36px;display:inline-grid;place-items:center;flex:none;font-family:Inter,Segoe UI,sans-serif;font-size:21px;font-weight:650;letter-spacing:-1px;color:#fff;background:#004ac6;border-radius:9px;box-shadow:inset 0 0 0 1px #003ea8}.school-context{font-size:14px;font-weight:500;background:var(--soft);padding:6px 10px;border-radius:6px;color:#1e40af;max-width:180px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.main-nav{display:flex;gap:6px;align-items:center;margin:auto}.main-nav-link{padding:8px 12px;text-decoration:none;border-radius:7px;color:#0f172a;font-size:15px;white-space:nowrap}.main-nav-link:hover{background:var(--soft)}.main-nav-link.active{background:var(--primary);color:#fff;box-shadow:inset 0 0 0 1px #1d4ed8}.header-account{display:flex;align-items:center;gap:4px}.account-button{display:flex;align-items:center;gap:5px;border:0;border-radius:7px;padding:4px;background:none;min-height:44px}.account-button:hover{background:var(--soft)}.account-button .MuiAvatar-root{background:#004ac6;font-size:14px!important}.account-name{font-size:14px;color:var(--muted)}.header-account>.MuiButtonBase-root{color:#475569}.header-context{display:flex;align-items:center;gap:8px}.context-school-name{display:none}.student-switch{min-width:144px;max-width:190px;background:var(--soft)!important;border-radius:7px!important;font-size:14px!important}.student-switch fieldset{border:0!important}.student-switch .MuiSelect-select{padding:8px 32px 8px 12px!important}.content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px;scrollbar-gutter:stable}.content>div:first-child:not(.schedule-workspace){min-width:0}.route-schedule .content{padding:0;display:flex;overflow:hidden;scrollbar-gutter:auto}.content>.MuiStack-root:first-child{margin-bottom:20px}.content>.MuiStack-root:first-child .MuiTypography-h4{font-size:24px;font-weight:600;letter-spacing:-.025em}.content>.MuiStack-root:first-child .MuiTypography-body1{font-size:14px}.mobile-nav{display:none}.skip-link{position:fixed;top:-90px;left:16px;background:#fff;border:2px solid var(--primary);padding:10px 16px;border-radius:6px;z-index:1600}.skip-link:focus{top:8px}@media(max-width:1250px){.header-inner{gap:12px;padding-inline:16px}.school-context{max-width:120px}.main-nav-link{padding:8px 10px}.account-name{display:none}}@media(max-width:1100px){.header-inner>.school-context{display:none}.main-nav{margin-left:auto;margin-right:auto}.header-inner{gap:12px}.student-switch{max-width:160px}}@media(max-width:800px){.header-inner{height:auto;min-height:56px;display:grid;grid-template-columns:1fr auto;gap:0 8px;padding:8px 14px}.wordmark{font-size:20px;grid-row:1;grid-column:1}.brand-symbol{width:31px;height:32px;font-size:19px}.main-nav{display:none}.header-account{grid-row:1;grid-column:2}.header-account>.MuiButtonBase-root{min-width:44px;min-height:44px}.account-button{min-width:44px;min-height:44px}.account-button>.MuiSvgIcon-root{display:none}.header-context{grid-column:1/-1;grid-row:2;justify-content:space-between;min-height:48px;gap:12px;padding-top:6px}.context-school-name{display:block;font-size:14px;color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:48%}.student-switch{min-width:150px;max-width:55%;height:44px}.content{padding:18px 14px}.content>.MuiStack-root:first-child{gap:12px;margin-bottom:18px}.content>.MuiStack-root:first-child .MuiTypography-h4{font-size:23px}.content>.MuiStack-root:first-child>.MuiButton-root{align-self:stretch}.mobile-nav{display:flex;flex:none;z-index:30;background:#fff;border-top:1px solid var(--line);min-height:68px;padding:6px 6px calc(6px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav a{min-width:0;flex:1;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:#475569;font-size:14px;border-radius:8px;white-space:nowrap}.mobile-nav a.active{color:#004ac6;background:#e5eeff;font-weight:600}.mobile-nav a svg{font-size:22px}.MuiButton-root{min-height:44px!important}.MuiIconButton-root{min-width:44px!important;min-height:44px!important}}@media(max-width:800px){.MuiSnackbar-anchorOriginBottomCenter{bottom:calc(80px + env(safe-area-inset-bottom))!important}}.schedule-workspace{height:100%;min-height:0;display:flex;flex-direction:column;flex:1;background:#fff}.schedule-toolbar{flex:none;display:flex;align-items:center;gap:14px;padding:10px 18px 7px;min-height:62px;border-bottom:1px solid #f1f5f9;background:#fff;min-width:0}.calendar-navigation{display:flex;align-items:center;gap:4px;flex:none}.calendar-navigation .MuiIconButton-root{padding:6px;color:#475569}.today-button{margin-right:4px!important;background:#e5eeff!important;border-color:transparent!important;color:#0f172a!important}.month-picker{padding-inline:8px!important;color:#0f172a!important}.month-picker h2{font-size:20px;line-height:1.2;margin:0;white-space:nowrap;font-weight:650}.subject-filters{display:flex;align-items:center;gap:4px;padding:3px;background:var(--soft);border-radius:7px;min-width:0;max-width:330px;overflow:hidden}.subject-filters button{display:flex;align-items:center;gap:5px;background:none;border:0;padding:6px 8px;min-width:0;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#334155;font-size:14px;border-radius:5px}.subject-filters button.selected{background:#fff;color:#004ac6;box-shadow:0 1px 3px #0f172a0d;font-weight:600}.toolbar-end{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0;flex:none}.toolbar-end .MuiToggleButtonGroup-root{padding:3px;background:var(--soft);border:0}.toolbar-end .MuiToggleButton-root{border:0;padding:4px 10px;text-transform:none;font-size:14px;line-height:1.5;color:#475569;min-height:30px}.toolbar-end .MuiToggleButton-root.Mui-selected{background:#fff;color:#004ac6;box-shadow:0 1px 3px #0f172a0d}.add-lesson{white-space:nowrap}.schedule-subtoolbar{display:flex;align-items:center;gap:14px;padding:4px 18px 7px;flex:none;min-height:43px;background:#fff}.schedule-subtoolbar h1{font-size:16px;font-weight:600;margin:0;color:#475569}.schedule-timezone{display:flex;align-items:center;gap:5px;margin-left:auto;color:#475569}.schedule-timezone .MuiAutocomplete-root{width:320px;max-width:100%}.schedule-timezone .MuiOutlinedInput-root{font-size:14px;background:var(--soft);min-height:30px;padding-top:2px!important;padding-bottom:2px!important;border-radius:5px}.schedule-timezone .MuiInputLabel-root{font-size:14px}.schedule-timezone .MuiOutlinedInput-notchedOutline{border:0!important}.schedule-timezone .MuiInputLabel-root.MuiInputLabel-shrink{transform:translate(12px,-8px) scale(.75)}.schedule-notice{flex:none;margin:8px 16px!important}.setup-panel{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 16px;margin:0;border-bottom:1px solid var(--line);background:#eff6ff;font-size:14px}.calendar-layout{flex:1;min-height:0;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);overflow:hidden;border-top:1px solid var(--line)}.calendar-layout.with-inspector{grid-template-columns:minmax(0,1fr) 380px}.calendar-panel{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff;overflow:hidden}.calendar-body{flex:1;min-height:0;position:relative}.month-grid{height:100%;width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}.month-grid thead{height:32px}.month-grid th{height:32px;padding:5px;font-size:14px;font-weight:500;text-transform:uppercase;border-bottom:1px solid #dce7fa;background:#fff;color:#475569}.month-grid th:nth-last-child(-n+2){background:#f5f8ff;color:#9a3412}.month-grid td{vertical-align:top;position:relative;border-bottom:1px solid #dce7fa;border-right:1px solid #dce7fa;height:0;padding:0;overflow:hidden}.month-grid td:last-child{border-right:0}.month-grid tr:last-child td{border-bottom:0}.month-grid td.outside-month{background:#f8faff}.month-grid td.selected-day{background:#f5f8ff;box-shadow:inset 0 0 0 2px #2563eb}.calendar-cell{position:absolute;top:0;right:0;bottom:0;left:0;padding:5px;overflow:hidden;display:flex;flex-direction:column;gap:4px}.cell-date{display:flex;align-items:center;justify-content:space-between;min-height:26px;flex:none}.cell-date>span{font-size:14px;color:#004ac6}.day-number{border:0;background:none;display:grid;place-items:center;font-size:14px;color:#334155;width:26px;height:26px;flex:none;padding:0;border-radius:50%}.outside-month .day-number{color:#64748b}.today .day-number{background:#004ac6;color:#fff;font-weight:650}.day-number[aria-pressed=true]{font-weight:700}.day-events{display:flex;flex-direction:column;gap:3px;min-height:0;overflow:hidden}.calendar-event{width:100%;display:flex;align-items:center;gap:4px;min-height:25px;flex:none;border:0;border-left:3px solid #2563eb;background:#e5eeff;color:#1e3a8a;border-radius:4px;padding:3px 5px;text-align:left;font-size:14px;line-height:1.3;overflow:hidden;transition:background .12s}.calendar-event span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.calendar-event time{font-variant-numeric:tabular-nums;flex:none}.calendar-event:hover{background:#dbeafe}.calendar-event.sand{background:#ffede4;border-left-color:#ea580c;color:#9a3412}.calendar-event.sand:hover{background:#ffdbce}.calendar-event.sage{background:#e0f5ed;border-left-color:#047857;color:#065f46}.calendar-event.event-selected{background:#2563eb;color:#fff;border-left-color:#004ac6}.calendar-event.cancelled{text-decoration:line-through;background:#f1f5f9;color:#475569;border-left-color:#94a3b8}.event-status{width:6px;height:6px;flex:none;border-radius:50%;background:currentColor}.event-status-completed{background:#047857}.event-status-missed{background:#b45309}.more-events{padding:0 5px;border:0;background:none;text-align:left;color:#475569;font-size:14px;min-height:20px}.calendar-loading{position:absolute;top:32px;right:0;bottom:0;left:0;background:#ffffffd9;padding:24px}.calendar-footer{flex:none;display:flex;align-items:center;gap:14px;padding:7px 16px;border-top:1px solid #dce7fa;min-height:37px;background:#fff;font-size:14px;color:#475569}.calendar-legend{display:flex;gap:14px;align-items:center}.calendar-legend>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.calendar-footer>[data-testid]{margin-left:auto;white-space:nowrap}.calendar-zone{display:none}.day-agenda,.lesson-inspector{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#fff;border-left:1px solid #dce7fa}.inspector-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:16px 18px;background:var(--soft);flex:none;border-bottom:1px solid #e8edf5}.inspector-heading>div{min-width:0}.inspector-heading h2{font-size:20px;line-height:1.3;margin:8px 0 0;font-weight:650}.inspector-heading>.MuiIconButton-root{margin:-4px -8px 0 0}.lesson-tags{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.lesson-tags .status-badge{font-size:14px}.inspector-scroll{flex:1;min-height:0;overflow:auto;padding:18px;overscroll-behavior:contain}.inspector-footer{border-top:1px solid var(--line);padding:12px 16px;display:flex;gap:8px;flex-wrap:wrap;background:#fff;flex:none}.inspector-footer>.MuiButton-contained{flex-basis:100%}.lesson-summary{padding:14px;background:var(--soft);border-radius:10px;margin-bottom:16px}.lesson-date{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:14px}.lesson-date svg{font-size:20px;color:var(--primary)}.lesson-date>strong{font-weight:500}.lesson-date>span{font-variant-numeric:tabular-nums}.lesson-timezone{font-size:14px;color:var(--muted);margin:7px 0 12px}.lesson-people{display:grid;grid-template-columns:1fr 1fr;gap:8px}.lesson-people>div{padding:10px;background:#fff;border-radius:8px;display:flex;align-items:center;gap:9px;min-width:0}.lesson-people>div>span:last-child{min-width:0}.lesson-people strong,.lesson-people small{display:block;font-size:14px;overflow-wrap:anywhere}.lesson-people small{color:#047857}.lesson-people>div:last-child small{color:#475569}.lesson-people .person-avatar{width:32px;height:32px;min-width:32px;font-size:16px}.lesson-section{margin-top:18px;padding:16px;background:var(--soft);border-radius:10px;font-size:15px}.lesson-section p{margin:10px 0}.lesson-section .section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.lesson-section h3{font-size:15px;display:flex;align-items:center;gap:7px;margin:0}.lesson-section h3 svg{font-size:19px;color:var(--primary)}.lesson-section.private-note{background:#f1f5f9}.lesson-charge{font-size:14px;color:#475569}.lesson-reason{border-left:3px solid #f59e0b;padding-left:10px;color:#92400e}.date-strip{display:flex;justify-content:space-between;gap:8px;padding:12px 18px;border-bottom:1px solid var(--line);flex:none;background:#fff}.date-strip button{display:flex;align-items:center;flex-direction:column;gap:3px;min-width:44px;flex:1;min-height:56px;padding:7px 4px;border:0;border-radius:8px;background:#f1f5f9;color:#475569;font-size:14px}.date-strip button strong{font-size:18px;color:#0f172a}.date-strip button.active{background:#2563eb;color:#fff}.date-strip button.active strong{color:#fff}.day-scroll{overflow:auto;flex:1;min-height:0;overscroll-behavior:contain;background:var(--canvas);padding:20px}.day-list-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}.day-list-heading h2{margin:0;font-size:20px}.day-list-heading span{font-size:14px;color:var(--muted)}.agenda-list{display:flex;flex-direction:column;gap:12px}.agenda-item{border:1px solid #dbeafe;border-left:3px solid #2563eb;border-radius:10px;padding:16px;background:#fff}.agenda-item.sand{border-color:#fed7aa;border-left-color:#ea580c}.agenda-time{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.agenda-time time{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}.agenda-time time span{font-size:14px;font-weight:400;color:var(--muted)}.agenda-time .status-badge{font-size:14px}.agenda-item h3{margin:10px 0 3px;font-size:18px}.agenda-item p{margin:0;color:var(--muted);font-size:14px}.agenda-item-footer{display:flex;gap:8px;align-items:center;margin-top:14px;flex-wrap:wrap}.agenda-item-footer .MuiButton-contained{margin-left:auto}.agenda-empty{text-align:center;max-width:360px;margin:auto;padding:36px 16px;color:#475569}.agenda-empty h3{font-size:18px;color:#0f172a;margin-bottom:8px}.agenda-empty p{font-size:15px;margin:0}.empty-day-icon{display:inline-grid;place-items:center;border-radius:50%;width:48px;height:48px;background:#fff7ed;color:#9a3412;font-size:24px}.upcoming-card{display:flex;align-items:center;gap:12px;flex:none;padding:8px 18px;background:#eff6ff;border-top:1px solid #dbeafe;font-size:14px}.upcoming-card>span{flex:1;min-width:0}@media(max-width:1350px){.subject-filters{max-width:245px}.subject-filters button{max-width:105px}.filter-button{min-width:36px!important;padding:6px!important}.filter-label{display:none}.filter-button .MuiButton-startIcon{margin:0}.calendar-layout.with-inspector{grid-template-columns:minmax(0,1fr) 360px}.calendar-footer{gap:8px;padding-inline:10px}.calendar-legend{gap:8px}.calendar-footer>[data-testid]{font-size:14px}.calendar-legend>span:last-child{display:none}}@media(max-width:1100px){.subject-filters{display:none}.schedule-toolbar{padding-inline:14px;gap:8px}.calendar-navigation{gap:2px}.month-picker h2{font-size:19px}.toolbar-end{gap:6px}}@media(max-width:800px){.schedule-toolbar{flex-wrap:wrap;padding:10px 12px;gap:8px;min-height:0}.calendar-navigation{flex:1;gap:0;min-width:0}.today-button{order:3;margin-left:auto!important;padding-inline:10px!important}.month-picker{order:-1;padding-inline:0!important;margin-right:auto!important}.month-picker h2{font-size:18px}.calendar-navigation>.MuiIconButton-root{min-width:36px!important;min-height:44px!important;width:36px;padding:4px}.toolbar-end{margin:0;width:100%;justify-content:space-between;gap:8px}.toolbar-end .MuiToggleButtonGroup-root{padding:2px}.toolbar-end .MuiToggleButton-root{min-height:38px;padding:6px 12px}.toolbar-end .add-lesson{margin-left:auto;min-height:42px!important;padding-inline:12px!important}.toolbar-end>.MuiIconButton-root{min-width:36px!important;width:36px}.filter-button{min-height:42px!important;min-width:38px!important}.schedule-subtoolbar{padding:0 12px 8px;gap:6px;min-height:36px}.schedule-subtoolbar h1{font-size:15px;white-space:nowrap}.schedule-timezone{min-width:0;max-width:72%;gap:0}.schedule-timezone>svg{display:none}.schedule-timezone .MuiAutocomplete-root{width:250px;min-width:0}.schedule-timezone .MuiOutlinedInput-root{min-height:32px;padding-top:2px!important;padding-bottom:2px!important}.schedule-timezone .MuiInputLabel-root{display:none}.schedule-timezone .MuiAutocomplete-input{padding:4px 4px 4px 8px!important;font-size:14px;min-width:0!important}.schedule-subtoolbar>.MuiButton-root{display:none}.date-strip{gap:5px;padding:8px 12px}.date-strip button{min-width:40px;min-height:54px}.date-strip button strong{font-size:17px}.day-scroll{padding:14px 12px}.day-list-heading{margin:0 0 12px;gap:8px}.day-list-heading h2{font-size:18px}.calendar-footer{min-height:28px;padding:5px 12px;font-size:14px;gap:6px}.calendar-footer .calendar-legend{display:none}.calendar-footer>[data-testid]{margin:0;font-size:14px;white-space:normal}.calendar-panel{min-height:0}.calendar-cell{padding:3px}.month-grid th{font-size:14px;padding:4px 0;height:30px}.cell-date>span{display:none}.day-number{min-width:36px;min-height:36px;width:36px;height:36px}.calendar-event{font-size:14px;padding:4px 2px;min-height:26px;gap:2px;border-left-width:2px}.calendar-event .event-status,.calendar-event span{display:none}.calendar-event time{font-size:14px}.more-events{font-size:14px;padding:0}.upcoming-card{padding:8px 12px;flex-wrap:wrap;gap:6px;max-height:138px;overflow:auto}.upcoming-card>span{font-size:14px;flex-basis:100%}.upcoming-card .MuiButton-root{min-height:36px!important;font-size:14px!important;padding:5px 10px}.agenda-item{padding:14px 12px}.agenda-time{gap:5px}.agenda-time time{font-size:16px}.agenda-time time span{font-size:14px}.agenda-item-footer .MuiButton-root{flex:1;white-space:normal}.agenda-item-footer .MuiButton-contained{margin:0}.inspector-heading,.inspector-scroll{padding:16px}.inspector-footer{padding:12px;gap:6px}.inspector-footer>.MuiButton-root{flex:1}.lesson-people{gap:6px}.lesson-people>div{padding:9px 7px;gap:7px}.lesson-section{padding:14px}.lesson-section .section-title{flex-wrap:wrap}.setup-panel{padding:8px 12px;gap:4px}.setup-panel strong{width:100%}.setup-panel .MuiButton-root{min-height:36px!important}.schedule-notice{max-height:120px;overflow:auto;margin:6px 12px!important}}@media(max-height:720px)and (min-width:801px){.header-inner{height:56px}.schedule-toolbar{min-height:54px;padding-block:6px}.schedule-subtoolbar{min-height:36px}.calendar-footer{min-height:32px;padding-block:5px}}.mobile-label{display:none}@media(max-width:800px){.add-lesson .desktop-label{display:none}.add-lesson .mobile-label{display:inline}.toolbar-end .MuiToggleButton-root{padding-inline:8px}.toolbar-end>.MuiIconButton-root{width:44px;min-width:44px!important}.filter-button{min-width:44px!important}.agenda-time{flex-wrap:wrap}.agenda-time .status-badge{margin-left:auto}}.month-grid{display:flex;flex-direction:column}.month-grid thead{display:block;flex:none}.month-grid thead tr,.month-grid tbody tr{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-height:0}.month-grid tbody{display:grid;flex:1;min-height:0}.month-grid td{display:block;height:auto;min-height:0}@media(min-width:1351px){.calendar-layout.with-inspector{grid-template-columns:minmax(0,1fr) 420px}}@media(max-width:1350px){.lesson-people .person-avatar{display:none}}.calendar-legend>span>span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.subject-dot.sand{background:#ea580c}.subject-dot.sage{background:#047857}@media(max-width:800px){.calendar-navigation>.MuiIconButton-root{min-width:44px!important;width:44px}.schedule-timezone .MuiOutlinedInput-root{min-height:44px}}.list-tools{display:flex;align-items:center;gap:12px;padding:16px;background:#fff;border:1px solid #e8edf5;border-radius:10px;margin-bottom:18px}.list-tools>.MuiTextField-root:first-child{flex:1;min-width:200px;max-width:480px}.list-tools>.MuiTextField-root:last-child{width:210px;margin-left:auto}.people-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}.people-workspace.with-profile{grid-template-columns:minmax(0,1fr) minmax(350px,420px)}.people-table{min-width:0;border:1px solid #e8edf5;border-radius:12px;background:#fff;overflow:hidden}.people-table-heading{display:flex;align-items:center;gap:12px;padding:16px 18px;background:#f5f7ff;border-bottom:1px solid #e8edf5}.people-table-heading h2{margin:0;font-size:18px}.people-table-heading>span{border-radius:6px;background:#dbeafe;color:#1e40af;padding:1px 7px;font-size:14px}.people-columns{display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(130px,1fr) minmax(100px,.8fr) 100px;gap:12px;padding:12px 18px;background:#f8faff;font-size:14px;color:#475569;font-weight:600}.people-list{display:flex;flex-direction:column}.person-row{width:100%;display:grid;grid-template-columns:40px minmax(118px,1.2fr) minmax(130px,1fr) minmax(100px,.8fr) 100px;gap:12px;align-items:center;text-align:left;padding:16px 18px;background:#fff;border:0;border-bottom:1px solid #eef2f7;color:#0f172a;position:relative;min-width:0;font-size:15px}.person-row:last-child{border-bottom:0}.person-row:hover{background:#f8faff}.person-row.selected{background:#eff6ff;box-shadow:inset 3px 0 #2563eb}.person-avatar{width:40px;height:42px;min-width:40px;border-radius:10px;display:inline-grid;place-items:center;background:#dbeafe;color:#1e40af;font-size:20px;font-weight:600}.person-avatar.neutral{background:#e2e8f0;color:#334155}.person-info{min-width:0;display:flex;flex-direction:column;gap:3px}.person-info strong{font-size:15px}.person-info>span{font-size:14px;color:#475569;overflow-wrap:anywhere}.person-roles{display:flex;align-items:flex-start;gap:5px;flex-wrap:wrap;min-width:0}.person-roles .MuiChip-root{height:auto;min-height:24px;background:#dbeafe;color:#1e40af;border-radius:5px}.person-roles .MuiChip-label{padding:2px 7px;white-space:normal;font-size:14px}.person-relatives{font-size:14px;color:#475569;flex-basis:100%;margin-top:3px}.person-courses{display:flex;gap:5px;flex-wrap:wrap;min-width:0}.person-access{display:flex;flex-direction:column;gap:5px;align-items:flex-start}.access-pill{padding:3px 7px;background:#d1fae5;color:#065f46;border-radius:5px;font-size:14px;white-space:nowrap}.person-open{font-size:14px;color:#475569}.member-drawer{position:sticky;top:0;min-width:0;min-height:0;height:calc(100dvh - 280px)}.member-drawer .member-profile{position:relative;height:100%;max-height:100%;border:1px solid #e8edf5;border-radius:12px;background:#fff;overflow-y:auto;box-sizing:border-box;overscroll-behavior:contain}.member-profile>.MuiStack-root:first-child .MuiTypography-root{font-size:23px;font-weight:600}.member-profile>.MuiTypography-root{font-size:14px}.member-profile .MuiTypography-h6{font-size:16px}.profile-course{display:grid;gap:5px;padding:14px;background:var(--soft);border-radius:8px;margin-bottom:8px;font-size:14px}.profile-course>span{color:#475569}.profile-course>.MuiButton-root{justify-self:start;padding-left:0}.participant-balance{padding:16px;background:#e5eeff;border-radius:10px;margin-top:20px}.participant-balance-total{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:6px 0}.participant-balance-total>strong{font-size:34px;line-height:1;color:#004ac6;letter-spacing:-.04em}.participant-balance-total>span{font-size:14px}.participant-balance-total .MuiButton-root{margin-left:auto}.participant-balance p{font-size:14px;margin:6px 0 0}.profile-ledger{margin-top:20px}.profile-ledger h3{font-size:15px}.profile-ledger>div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e8edf5}.profile-ledger strong,.profile-ledger small{font-size:14px;display:block}.profile-ledger small{color:var(--muted);margin-top:3px}.profile-ledger>b{font-size:16px}.assignment-filters{display:flex;gap:6px;align-items:center;background:#eaf0ff;padding:4px;border-radius:8px;width:fit-content;max-width:100%;overflow-x:auto;margin-bottom:20px}.assignment-filters button{display:flex;align-items:center;gap:8px;background:none;border:0;padding:8px 12px;border-radius:6px;font-size:14px;color:#334155;white-space:nowrap}.assignment-filters button.active{background:#2563eb;color:#fff}.assignment-filters button span{border-radius:5px;min-width:20px;padding:0 4px;background:#dbeafe;color:#1e40af}.assignment-filters button.active span{background:#ffffff35;color:#fff}.homework-workspace{display:grid;gap:20px;grid-template-columns:1fr;align-items:start}.homework-workspace.with-review{grid-template-columns:minmax(280px,350px) minmax(0,1fr)}.homework-queue{min-width:0}.queue-heading{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding-inline:4px}.queue-heading h2{font-size:17px;margin:0}.queue-heading>span{font-size:14px;padding:1px 7px;background:#dbeafe;color:#1e40af;border-radius:5px}.assignment-list{display:flex;flex-direction:column;gap:12px}.assignment-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:18px;background:#fff;border:1px solid #e8edf5;border-radius:12px}.assignment-row.selected{border-color:#93b4ee;background:#fcfdff;box-shadow:inset 3px 0 #2563eb}.assignment-title{padding:0;background:none;border:0;text-align:left;font-size:17px;line-height:1.4;font-weight:600;color:#0f172a}.assignment-title:hover{color:#004ac6}.assignment-body{min-width:0}.assignment-body p{font-size:14px;color:#475569;margin:6px 0}.assignment-body small{font-size:14px;color:#475569}.assignment-meta{display:flex;flex-direction:column;gap:8px;align-items:flex-start;font-size:14px}.with-review .assignment-row{display:flex;align-items:stretch;flex-direction:column;gap:12px;padding:16px}.with-review .assignment-row>.MuiButton-root{align-self:flex-end}.homework-preview{display:grid;gap:16px;min-width:0}.homework-preview .work-card{padding:20px 22px}.homework-preview .work-card>.MuiStack-root{padding-block:0}.homework-preview .MuiTypography-h6{font-size:20px;font-weight:600}.homework-preview .preview-actions{background:#eff4ff}.preview-actions h2{font-size:18px;margin:0 0 8px}.preview-actions p{font-size:15px;margin-bottom:16px}.review-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px}.review-layout>div{min-width:0}.review-layout>div:first-child{background:#f5f8ff;border:1px solid #e8edf5;border-radius:10px;padding:16px}.course-list{display:grid;gap:18px;align-items:start}.course-card{padding:22px 24px;border-top:3px solid #2563eb}.course-card.sand{border-top-color:#ea580c}.course-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.course-heading h2{margin:10px 0 6px;font-size:22px;line-height:1.35}.course-heading p{font-size:15px;color:#475569;white-space:pre-wrap;margin:0;max-width:700px}.course-heading>div:last-child{flex:none}.course-enrollments{display:grid;gap:8px;margin:18px -24px -22px;background:#f3f6ff;padding:18px 24px;border-top:1px solid #e2e8f0}.sand .course-enrollments{background:#fff7ed}.course-enrollments article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;background:#fff;border:1px solid #e8edf5;border-radius:9px}.course-enrollments article strong{font-size:15px}.course-enrollments article p{font-size:14px;color:#475569;margin:4px 0}.learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px;align-items:start}.learning-layout>div{min-width:0}.feedback-panel{margin-top:20px}.course-row{display:flex;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid var(--line)}.course-row:last-child{border-bottom:0}.course-initial{height:40px;width:40px;min-width:40px;display:grid;place-items:center;border-radius:8px;background:#dbeafe;color:#1e40af;font-size:20px;font-weight:600}.course-initial.sand{background:#ffdbce;color:#9a3412}.course-row>div:nth-child(2){flex:1;min-width:0}.course-row h3{font-size:17px;margin:0 0 5px}.course-row p{font-size:14px;color:#475569;margin:0}.feedback-row{padding:18px 20px;margin:12px 16px;background:#f8faff;border:1px solid #e8edf5;border-left:3px solid #2563eb;border-radius:9px}.feedback-row.sand{border-left-color:#ea580c;background:#fffaf6}.feedback-row h3{font-size:17px;margin:10px 0 5px}.feedback-row p{font-size:15px;margin:8px 0}.history-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;color:#475569;flex-wrap:wrap}.balance-summary{padding:22px;background:#eff4ff}.balance-number{font-size:52px;font-weight:650;line-height:1.2;color:#004ac6;letter-spacing:-.04em;margin:12px 0 6px;font-variant-numeric:tabular-nums}.balance-number.negative{color:#b91c1c}.balance-warning{font-size:14px;color:#b91c1c}.billing-back{margin-bottom:12px!important}.ledger-list{display:grid;gap:10px}.ledger-row{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;padding:18px 20px;border:1px solid #e8edf5;border-radius:10px}.ledger-row>div{min-width:0}.ledger-row>div>strong{font-size:16px}.ledger-row p{font-size:14px;color:#475569;margin:5px 0}.ledger-row>strong{font-size:22px;white-space:nowrap}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stat-card{padding:20px;background:#fff;border:1px solid var(--line);border-radius:10px}@media(max-width:1200px){.people-workspace.with-profile{grid-template-columns:minmax(0,1fr) 370px}.people-workspace.with-profile .person-courses,.people-workspace.with-profile .people-columns>span:nth-child(3){display:none}.people-workspace.with-profile .person-row{grid-template-columns:36px minmax(100px,1fr) minmax(110px,1fr) 90px;padding:14px;gap:10px}.people-workspace.with-profile .people-columns{grid-template-columns:minmax(146px,1fr) minmax(110px,1fr) 90px;padding-inline:14px}.people-workspace.with-profile .person-open{display:none}}@media(max-width:1000px){.people-workspace.with-profile{grid-template-columns:minmax(0,1fr)}.member-drawer{position:static;height:0}.member-drawer .member-profile{position:fixed;max-height:none;height:100dvh;border-radius:0;border:0}.learning-layout{grid-template-columns:minmax(0,1fr) 250px}.homework-workspace.with-review{grid-template-columns:280px minmax(0,1fr)}.assignment-filters{width:100%}}@media(max-width:800px){.list-tools{padding:12px;gap:10px;flex-wrap:wrap;margin-bottom:14px}.list-tools>.MuiTextField-root:first-child{flex-basis:100%;min-width:0;max-width:none}.list-tools>.MuiTextField-root:last-child{width:100%;margin:0}.people-columns{display:none!important}.people-table-heading{padding:14px}.people-table-heading h2{font-size:17px}.person-row,.people-workspace.with-profile .person-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:14px;align-items:start}.person-avatar{width:40px;height:40px}.person-info{grid-column:2;grid-row:1}.person-roles{grid-column:2/-1;grid-row:2;margin-top:-3px}.person-courses,.person-open{display:none}.person-access{grid-column:3;grid-row:1}.access-pill{font-size:14px}.people-workspace{gap:0}.homework-workspace.with-review{grid-template-columns:1fr}.homework-preview{display:none}.queue-heading{margin-bottom:10px}.assignment-filters{margin-bottom:16px;gap:2px;padding:3px}.assignment-filters button{min-height:44px;padding:7px 9px;gap:5px}.assignment-row,.with-review .assignment-row{display:flex;flex-direction:column;align-items:stretch;padding:16px;gap:12px}.assignment-meta{gap:7px}.assignment-row>.MuiButton-root,.with-review .assignment-row>.MuiButton-root{align-self:stretch}.assignment-title{font-size:18px}.review-layout{grid-template-columns:1fr;gap:18px}.review-layout>div:first-child{padding:12px}.course-card{padding:18px}.course-heading{flex-direction:column;gap:10px;margin-bottom:14px}.course-heading h2{font-size:21px}.course-heading>div:last-child{align-self:flex-end}.course-enrollments{margin:16px -18px -18px;padding:14px 18px}.course-enrollments article{align-items:flex-start;flex-direction:column;padding:12px;gap:8px}.course-enrollments .MuiStack-root{gap:4px}.learning-layout{grid-template-columns:1fr;gap:16px}.learning-layout>aside{grid-row:1}.learning-layout>aside>.balance-summary{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px}.learning-layout>aside>.balance-summary>.eyebrow{flex-basis:100%}.learning-layout>aside>.balance-summary>.balance-number{margin:0;font-size:36px}.learning-layout>aside>.balance-summary>.MuiButton-root{margin:0!important}.course-row{padding:16px;gap:10px;flex-wrap:wrap}.course-row>.MuiButton-root{margin-left:50px}.feedback-row{padding:14px;margin:10px}.history-heading{gap:8px}.ledger-row{padding:16px;gap:12px}.balance-summary{padding:18px}.balance-number{font-size:44px}.work-card{padding:16px}.stat-grid{grid-template-columns:1fr}.member-profile{padding:20px!important}}.people-columns{grid-template-columns:40px minmax(118px,1.2fr) minmax(130px,1fr) minmax(100px,.8fr) 100px}.people-column-person{grid-column:1/3}@media(max-width:1200px){.people-workspace.with-profile .people-columns{grid-template-columns:36px minmax(100px,1fr) minmax(110px,1fr) 90px}}.access-pill.blocked{color:#991b1b;background:#fee2e2}.editor-dialog .MuiDialog-paper{border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 20px 70px #0f172a29}.editor-dialog .MuiDialog-paper>form{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 64px)}.editor-dialog .MuiDialogTitle-root{padding:20px 24px 16px;font-size:22px;font-weight:600;line-height:1.3;border-bottom:1px solid #e8edf5;background:#f8faff;flex:none}.editor-dialog .MuiDialogContent-root{padding:24px!important;min-height:0;overflow:auto}.MuiDialogActions-root{padding:14px 24px!important;border-top:1px solid #e8edf5;gap:8px;flex-wrap:wrap;flex:none;background:#fff}.MuiDialogActions-root>.MuiButton-root{margin:0!important}.editor-dialog .MuiTextField-root{min-width:0}.MuiDrawer-paper{color:#0f172a}.staff-note{background:#f1f5f9;padding:12px 14px;border-radius:8px;font-size:14px}.staff-note summary{cursor:pointer;color:#334155;font-weight:500;min-height:30px;display:flex;align-items:center}.staff-note p{margin:10px 0 0}.auth-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:32px 16px;background:radial-gradient(ellipse at 50% 0%,#e5eeff,#f8f9ff 58%);gap:28px}.auth-card{background:#fff;padding:36px;border:1px solid #e2e8f0;border-radius:14px;width:100%;max-width:440px;box-shadow:0 8px 30px #0f172a06}.auth-card .MuiTypography-root{font-size:14px}.auth-card .MuiTypography-h4{font-size:26px}.auth-card .MuiButton-root{min-height:44px}.auth-footer{font-size:14px;color:#475569}.password-page{min-height:100dvh;display:grid;place-items:center;padding:24px}.password-page>form,.password-page>.MuiBox-root{width:min(100%,480px);background:#fff;padding:28px;border:1px solid var(--line);border-radius:12px}.auth-page .wordmark-light{display:none}.auth-page .wordmark{gap:8px}.auth-page .wordmark>.brand-symbol{font-size:22px}.password-page .MuiTypography-h4{font-size:25px}.MuiMenu-paper,.MuiPopover-paper{border:1px solid #e2e8f0!important;box-shadow:0 8px 28px #0f172a14!important;border-radius:9px!important}.MuiMenuItem-root{font-size:15px!important;min-height:38px!important}.MuiFormControlLabel-label{font-size:15px!important}@media(max-width:800px){.editor-dialog .MuiDialog-paper{margin:12px;width:calc(100% - 24px);max-width:none;max-height:calc(100dvh - 24px)}.editor-dialog .MuiDialog-paper>form{max-height:calc(100dvh - 24px)}.editor-dialog .MuiDialogTitle-root{padding:18px;font-size:21px}.editor-dialog .MuiDialogContent-root{padding:18px!important}.MuiDialogActions-root{padding:12px 18px!important}.MuiDialogActions-root>.MuiButton-contained{flex:1}.MuiMenuItem-root{min-height:44px!important}.auth-card{padding:26px 22px}.auth-page{gap:24px}.password-page{padding:16px}.password-page>form,.password-page>.MuiBox-root{padding:22px}}
