:root{--background:#f6f7fb;--surface:#fff;--welcome:#eeebf7;--text:#252536;--text-secondary:#646274;--text-muted:#757083;--text-strong:#494154;--placeholder:#777183;--accent:#8051d0;--accent-hover:#6c3fb8;--on-accent:#fff;--accent-text:#7444b9;--accent-soft:#f0eaf8;--accent-active:#eee7f8;--surface-hover:#f7f4fa;--surface-subtle:#faf8fd;--border:#e9e7ef;--border-input:#dfdfe8;--border-accent:#dfd2ee;--notice-background:#f3f0f8;--notice-text:#635573;--error-background:#fff1f1;--error-text:#a12f3e;--focus-ring:#8053ce;--decor-line:#eeeaf6;--decor-card:#8153c9;--decor-dots:#d6c4f1;--card-shadow:#74618c13;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--background);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,Segoe UI,Arial,sans-serif;font-weight:400;line-height:1.5}:root[data-theme=dark]{--background:#17151f;--surface:#211e2b;--welcome:#282236;--text:#eeeaf5;--text-secondary:#bcb4cb;--text-muted:#aaa0ba;--text-strong:#e5dcef;--placeholder:#a59aad;--accent:#9467df;--accent-hover:#8051d0;--on-accent:#fff;--accent-text:#cfafff;--accent-soft:#342742;--accent-active:#413052;--surface-hover:#302839;--surface-subtle:#272231;--border:#3b3448;--border-input:#5b506b;--border-accent:#65517e;--notice-background:#2e273b;--notice-text:#c8b8db;--error-background:#42242d;--error-text:#ffb5be;--focus-ring:#c3a0fb;--decor-line:#463956;--decor-card:#68419f;--decor-dots:#e1cbff;--card-shadow:#0003;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}body{background:var(--background);min-width:320px;color:var(--text);margin:0}button,input,select{font:inherit}button{cursor:pointer;transition:background .15s,color .15s}button:focus-visible,summary:focus-visible,select:focus-visible{outline:3px solid var(--focus-ring);outline-offset:4px}input:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}h1,h2,p{margin-top:0}button:disabled{cursor:not-allowed}#root{min-height:100vh}code{overflow-wrap:anywhere;font-size:.9em}.analytics-page .analytics-filters .lesson-period-fields>label,.analytics-page .analytics-filters>label,.analytics-page .analytics-filters>.lesson-filter-field{gap:5px}@container analytics-layout (width<=1000px){.analytics-page .metric-overview-grid.has-four{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-page .analytics-chart-grid{grid-template-columns:minmax(0,1fr)}.analytics-page .analytics-distribution{grid-template-columns:minmax(150px,1fr) minmax(0,1fr);align-items:center;column-gap:20px;display:grid}.analytics-page .analytics-distribution h2,.analytics-page .analytics-distribution>.analytics-chart-state{grid-column:1/-1}.analytics-page .analytics-actions{padding-top:0}.analytics-page .analytics-role-grid{grid-template-columns:1fr}}@container analytics-layout (width<=520px){.analytics-page .metric-overview-grid.has-four{grid-template-columns:1fr}.analytics-page .analytics-distribution{display:block}.analytics-page .analytics-chart-heading{flex-direction:column;align-items:start}.analytics-page .analytics-actions{justify-content:flex-end}.analytics-page .lesson-filters.analytics-filters{grid-template-columns:1fr}.analytics-page .analytics-filters .lesson-period{grid-column:1/-1;display:block}.analytics-page .analytics-filters .lesson-period-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.analytics-page .analytics-filters .lesson-period-extra{margin-top:6px}.analytics-page .analytics-summary-heading{grid-template-columns:1fr!important;gap:4px!important}.analytics-page .analytics-summary-heading>span{text-align:left}}@media (width<=600px){.analytics-page .analytics-details-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.analytics-page .analytics-details-dialog>.demo-dialog-header,.analytics-page .analytics-details-dialog>.dialog-content{padding:12px}.analytics-page .analytics-details-dialog>.demo-dialog-header h2{font-size:16px}.analytics-page .analytics-details-summary>p{flex-basis:100%}.analytics-page .analytics-details-summary>.dp-button{margin-left:auto}}@container analytics-layout (width<=600px){.analytics-page .analytics-course-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.analytics-page .analytics-course-row strong{grid-column:1/-1}.analytics-page .analytics-group-controls{align-items:stretch}.analytics-page .analytics-group-controls>label{flex:140px}}@container analytics-layout (width>=521px) and (width<=1000px){.analytics-page .analytics-distribution .analytics-skeleton-decoration{grid-template-columns:minmax(150px,1fr) minmax(0,1fr);align-items:center;gap:20px;display:grid}.analytics-page .analytics-distribution .analytics-skeleton-ring{margin:4px auto 8px}}@container analytics-layout (width<=800px){.analytics-page .analytics-attendance-row{grid-template-columns:minmax(0,1fr) 100px 75px;gap:8px 12px}.analytics-page .analytics-attendance-group{grid-column:1/-1}.analytics-page .analytics-attendance-meter{grid-area:2/1}.analytics-page .analytics-attendance-value{grid-area:2/2}.analytics-page .analytics-attendance-action{grid-area:2/3}.analytics-page .analytics-attendance-state{grid-area:2/1/auto/3}.analytics-page .analytics-attendance-change{grid-column:1/-1}.analytics-page .analytics-group-footer>.shared-pagination{margin-left:0}.analytics-page .analytics-skeleton-attendance .analytics-attendance-row>.short{grid-area:2/3}}@container analytics-layout (width<=400px){.analytics-page .analytics-attendance-row{grid-template-columns:minmax(0,1fr) 85px}.analytics-page .analytics-attendance-action{grid-area:3/2}.analytics-page .analytics-attendance-state,.analytics-page .analytics-attendance-change{grid-column:1/-1}.analytics-page .analytics-group-footer-settings{gap:10px 12px}.analytics-page .analytics-skeleton-attendance .analytics-attendance-row>.short{grid-area:3/2}}@container analytics-layout (width<=600px){.analytics-page .analytics-group-footer-settings{flex-basis:100%}.analytics-page .analytics-group-footer>.shared-pagination{justify-content:flex-start;width:100%;margin:0}.analytics-page .analytics-group-footer>.shared-pagination nav{justify-content:flex-start}}@media (width>=1600px){.analytics-metrics{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}}@media (width<=1000px){.staff-metrics{gap:10px}.dp-metric{padding:17px 14px}.dp-metric strong{font-size:26px}.dp-filters label{min-width:145px}.dp-filters .dp-search{min-width:100%}}@media (width<=560px){.staff-metrics{grid-template-columns:1fr}.analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dp-metric>strong{font-size:23px}.dp-metric>small{font-size:10px}.dp-caption{gap:8px}.dp-export{margin-left:0}.dp-filters,.dp-filter-panel .dp-filters{gap:10px;padding:16px}.dp-filters label{min-width:calc(50% - 10px)}.dp-filters .dp-search{min-width:100%}.dp-panel-heading{padding:20px 16px 16px}.dp-table td,.dp-table th{padding:14px 16px}.dp-pagination{flex-wrap:wrap;padding:14px 16px}.dp-tabs{gap:18px}.dp-tabs button{font-size:12px}.dp-chart-scroll,.dp-chart-footnote{padding-left:16px;padding-right:16px}.demo-dialog{padding:20px 16px}.demo-dialog-header h2{font-size:17px}.dp-details{grid-template-columns:105px 1fr}.dp-profile-name h3{font-size:16px}}@media (width<=560px){.dp-filter-panel .dp-filters label{min-width:calc(50% - 10px)}.dp-metric.accent-metric>strong{font-size:21px}}.school-section-header,.school-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin:24px 0 16px;display:flex}.school-section-header h3{margin:0;font-size:16px}.school-section-header>span{color:var(--text-secondary);font-size:12px}.school-actions{justify-content:flex-start;gap:8px}.dp-button.school-primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.dp-button.school-primary:hover:not(:disabled){background:var(--accent-hover);color:var(--on-accent)}.school-danger{color:var(--error-text);background:var(--error-background)}.school-checkbox{align-items:center;gap:8px;font-size:12px;display:flex}.school-checkbox input{accent-color:var(--accent);width:17px;height:17px}.school-form,.school-card-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0;display:grid}.school-form label,.school-card-filters label,.school-number{color:var(--text-secondary);gap:7px;font-size:12px;display:grid}.school-form input:not([type=checkbox]):not([type=radio]),.school-form select,.school-card-filters input,.school-card-filters select,.school-number input{border:1px solid var(--border-input);background:var(--surface);width:100%;min-width:0;color:var(--text);border-radius:8px;padding:10px}.school-form select,.school-card-filters select{padding-right:var(--select-text-inset,36px)}.school-form :disabled{opacity:.75}.school-roster{border:1px solid var(--border);border-radius:10px;overflow:hidden}.school-attendance-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:13px 16px;font-size:13px;display:flex}.school-attendance-row:last-child{border-bottom:0}.school-group-chip{background:var(--accent-soft);color:var(--accent-text);border:0;border-radius:6px;margin:2px;padding:4px 7px;font-size:12px;display:inline-block}.school-status-active,.school-mark-present{color:#21683d;background:#e6f4eb}.school-status-recruiting{background:var(--accent-soft);color:var(--accent-text)}.school-status-completed,.school-mark-excluded{background:var(--surface-hover);color:var(--text-muted)}.school-mark-absent{background:var(--error-background);color:var(--error-text)}.school-mark-unmarked{background:var(--notice-background);color:var(--notice-text)}.school-mark{white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;padding:5px 9px;font-size:12px;display:inline-flex}.school-legend{color:var(--text-secondary);flex-wrap:wrap;gap:12px;margin:18px 0;font-size:12px;display:flex}.school-legend>span{align-items:center;gap:6px;display:flex}.school-status-disbanded{background:var(--error-background);color:var(--error-text)}.school-attendance-grid{flex-wrap:wrap;gap:8px;display:flex}.school-cell-button{background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:9px;flex-direction:column;align-items:center;gap:6px;min-width:68px;padding:9px;font-size:11px;display:flex}.school-cell-button:hover{border-color:var(--accent)}.school-grid-block{margin:20px 0}.school-grid-block h4{margin:0 0 10px;font-size:13px}.school-segment{flex-wrap:wrap;gap:5px;display:flex}.school-segment button{background:var(--surface);color:var(--text-secondary);border:1px solid var(--border);border-radius:7px;padding:8px 12px;font-size:12px}.school-segment button[aria-pressed=true]{background:var(--accent-soft);border-color:var(--border-accent);color:var(--accent-text)}.school-history-filter{color:var(--text-secondary);align-items:center;gap:8px;margin:0 20px 18px;font-size:12px;display:flex}.school-student-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0;display:grid}.school-student-metrics>div{background:var(--surface-subtle);border:1px solid var(--border);border-radius:10px;padding:14px}.school-student-metrics strong,.school-student-metrics span{display:block}.school-student-metrics strong{font-size:23px}.school-student-metrics span{color:var(--text-secondary);font-size:12px}.school-tab-body{min-width:0}.demo-dialog{max-height:90vh;overflow:auto}.dp-panel,.demo-page{min-width:0}:root[data-theme=dark] .school-mark-present,:root[data-theme=dark] .school-status-active{color:#a1e1bc;background:#203f33}@media (width<=720px){.school-form,.school-card-filters{grid-template-columns:1fr}.school-attendance-row{flex-wrap:wrap;gap:8px;padding:12px}.school-student-metrics{gap:6px}.school-student-metrics>div{padding:9px}.school-student-metrics strong{font-size:21px}.school-student-metrics span{font-size:10px}}.dp-person strong,.dp-link{color:var(--accent-text)}.dp-person:hover strong,.dp-link:hover{text-underline-offset:3px;text-decoration:underline}.dp-person:focus-visible,.dp-link:focus-visible,.dp-sort:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}.school-actions{flex-wrap:wrap}.dp-panel-heading:empty{display:none}.demo-dialog{max-height:88dvh;overflow-y:auto}.dp-table .school-actions{gap:8px;margin:0}.school-group-lessons{border:1px solid var(--border);border-radius:12px;margin-top:28px;overflow:hidden}.group-editor-fields{border:0;min-width:0;padding:0}.school-group-lessons-heading{background:var(--surface-subtle);align-items:center;gap:10px;padding:18px 20px;display:flex}.school-group-lessons-heading h3{margin:0;font-size:15px;font-weight:600}.school-group-lessons-heading>span{background:var(--accent-soft);color:var(--accent-text);font-variant-numeric:tabular-nums;border-radius:6px;padding:3px 8px;font-size:12px}.school-group-lessons-list{margin:0;padding:0;list-style:none}.school-group-lesson{border-top:1px solid var(--border);grid-template-columns:110px minmax(0,1fr) 70px auto;align-items:center;gap:16px;padding:14px 20px;font-size:13px;display:grid}.school-group-lesson time{font-variant-numeric:tabular-nums;font-weight:600}.school-group-lesson-teacher{overflow-wrap:anywhere}.school-group-lesson-format{color:var(--text-muted);font-size:12px}.school-group-lessons-empty{color:var(--text-muted);margin:0;padding:20px;font-size:13px}.school-card-footer{border-top:1px solid var(--border);gap:12px;margin:24px 0 0;padding-top:20px}.school-card-footer>.dp-button:last-child{margin-left:auto}@media (width<=560px){.school-group-lessons-heading{padding:16px}.school-group-lesson{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:16px}.school-group-lesson-teacher{grid-area:2/1}.school-group-lesson-format{grid-area:3/1}.school-group-lesson>button{grid-area:1/2/4}.school-card-footer>.dp-button{flex:1}}.school-representative{border:1px solid var(--border);border-radius:12px;min-width:0;margin:20px 0;padding:18px}.school-representative legend{padding:0 8px;font-weight:600}.school-list-actions{justify-content:flex-end;gap:8px;padding:16px 22px 0;display:flex}.school-list-actions:empty{display:none}.dp-button.school-icon-button{flex:0 0 40px;justify-content:center;align-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;display:inline-flex}.dp-button.school-icon-button>svg{pointer-events:none;flex:0 0 20px;width:20px;height:20px;display:block}@media (width<=600px){.dp-button.school-icon-button{flex-basis:44px;width:44px;min-width:44px;height:44px;min-height:44px}}.school-icon-button:focus-visible,.school-picker-row:focus-within,.demo-dialog button:focus-visible,.demo-dialog input:focus-visible,.demo-dialog select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.demo-dialog{max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;overflow:hidden}.demo-dialog[open]{flex-direction:column;display:flex}.demo-dialog.dialog-compact{width:680px}.demo-dialog-header{border-bottom:1px solid var(--border);background:var(--surface);flex:none;margin:0;padding:18px 22px}.demo-dialog-header h2{overflow-wrap:anywhere;font-size:18px;line-height:1.35}.dialog-header-actions{flex:none;align-items:center;gap:8px;display:flex}.dialog-content{overscroll-behavior:contain;min-height:0;padding:20px 22px;overflow-y:auto}.dialog-content:has(>form){flex-direction:column;padding:0;display:flex;overflow:hidden}.dialog-content>form{flex-direction:column;min-height:0;display:flex}.dialog-form-body{overscroll-behavior:contain;min-height:0;padding:18px 22px;overflow-y:auto}.dialog-footer{border-top:1px solid var(--border);background:var(--surface);flex-wrap:wrap;flex:none;justify-content:flex-end;gap:10px;margin:0;padding:14px 22px;display:flex}.dialog-content>.dialog-footer{margin:18px -22px -20px}.dialog-form-body>.school-form:first-child{margin-top:0}.school-picker-search{gap:8px;margin-bottom:14px;font-size:13px;display:grid}.school-picker-search input{box-sizing:border-box;width:100%;min-width:0;color:var(--text);background:var(--surface);border:1px solid var(--border-input);font:inherit;border-radius:8px;padding:10px 12px}.school-picker-list{border:1px solid var(--border);border-radius:10px;max-height:min(45dvh,360px);overflow-y:auto}.school-picker-row{text-align:left;cursor:pointer;border-bottom:1px solid var(--border);justify-content:flex-start;align-items:center;gap:12px;padding:11px 14px;display:flex}.school-picker-row:last-child{border-bottom:0}.school-picker-row.is-selected{background:var(--accent-soft)}.school-picker-row:hover{background:var(--surface-subtle)}.school-picker-row>span{overflow-wrap:anywhere;min-width:0}.school-picker-row strong{font-size:14px;font-weight:500;display:block}.school-picker-row small{color:var(--text-muted);margin-top:4px;font-size:12px;display:block}.school-picker-count{color:var(--text-muted);margin:12px 0 0;font-size:13px}.school-checkbox,.school-form label.school-checkbox{justify-content:flex-start;align-items:center;gap:10px;display:flex}.school-checkbox input[type=checkbox],.school-picker-row input[type=checkbox],.school-picker-row input[type=radio]{width:17px;min-width:17px;height:17px;accent-color:var(--accent);flex:0 0 17px;margin:0;padding:0}.school-representative{margin:14px 0;padding:14px 16px}.school-representative-actions{justify-content:flex-end;display:flex}.school-representative .school-form{margin:10px 0 16px}.school-representative .dp-details{margin:0}.school-field-action{align-items:center;gap:8px;min-width:0;display:flex}.school-field-action .native-select-control{flex:1;min-width:0}.school-attendance-table{min-width:470px}.school-attendance-table td,.school-attendance-table th{text-align:left;padding:10px 12px}.school-attendance-table td:first-child{width:50%}.school-attendance-table .school-checkbox{white-space:nowrap}@media (width<=600px){.demo-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.demo-dialog-header{gap:10px;padding:14px}.demo-dialog-header h2{font-size:16px}.dialog-content,.dialog-form-body{padding:14px}.dialog-content:has(>form){padding:0}.dialog-footer{padding:12px 14px}.dialog-content>.dialog-footer{margin:14px -14px -14px}.school-list-actions{padding:14px 14px 0}.school-picker-row{padding:10px}.school-representative{padding:12px}}.school-composition-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:14px;margin-left:auto;display:flex}.shared-pagination{box-sizing:border-box;flex-wrap:wrap;gap:12px;max-width:100%}.shared-pagination nav{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.shared-pagination .dp-button{min-width:32px;padding:8px 10px}.shared-pagination [aria-current=page]{border-color:var(--accent);font-weight:700}@media (width<=500px){.branch-add-btn{width:100%;margin-left:0}}@keyframes bc-spin{to{transform:rotate(360deg)}}@media (width<=480px){.bc-panel-grid{grid-template-columns:1fr}}.dp-button.school-primary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}.dp-button.school-primary:disabled{background:var(--surface-subtle);color:var(--text-secondary);border-color:var(--border-input);opacity:1}@media (width<=600px){.shared-pagination{align-items:flex-start;padding:12px}.shared-pagination nav{gap:4px}.shared-pagination .dp-button{padding:7px 8px}.branch-card{padding:14px}}.dp-button.school-danger{color:var(--error-text);background:var(--error-background);border-color:currentColor}.dp-button.school-warning{color:#9a3412;background:#fff7ed;border-color:currentColor}[data-theme=dark] .dp-button.school-warning{color:#fdba74;background:#3d2b1f}.dp-button.school-danger:hover:not(:disabled),.dp-button.school-warning:hover:not(:disabled){background:color-mix(in srgb, currentColor 12%, var(--surface));border-color:currentColor}.dp-button.school-danger:focus-visible,.dp-button.school-warning:focus-visible{outline-offset:3px;outline:2px solid}:is(.school-actions,.school-list-actions,.dialog-footer,.school-card-footer){flex-wrap:nowrap}:is(.school-actions,.school-list-actions,.dialog-footer,.school-card-footer):has(>button:nth-of-type(4)){grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;display:grid}:is(.school-actions,.school-list-actions,.dialog-footer,.school-card-footer):has(>button:nth-of-type(4)):not(:has(>button:nth-of-type(5))){grid-template-columns:repeat(2,minmax(0,1fr))}:is(.school-actions,.school-list-actions,.dialog-footer,.school-card-footer):has(>button:nth-of-type(4))>button{min-width:0;margin-left:0}.dp-table .school-actions{grid-auto-columns:max-content;grid-auto-flow:column;align-items:center;display:inline-grid}.dp-table .school-actions:has(>button:nth-of-type(4)){grid-template-columns:repeat(3,max-content);grid-auto-flow:row}.dp-table .school-actions:has(>button:nth-of-type(4)):not(:has(>button:nth-of-type(5))){grid-template-columns:repeat(2,max-content)}.demo-page{--dp-bg:var(--surface,#fff);--dp-line:var(--border,#e6e1ed);--dp-text:var(--text,#282333);--dp-muted:var(--text-muted,#746d80);--dp-soft:var(--surface-subtle,#f7f4fb);--dp-accent:var(--accent-text,#7950c3);--dp-accent-soft:var(--accent-soft,#eee7f8);color:var(--dp-text);gap:22px;display:grid}.dp-caption{color:var(--dp-muted);flex-wrap:wrap;align-items:center;gap:12px;font-size:12px;display:flex}.dp-tag{color:var(--dp-accent);background:var(--dp-accent-soft);border-radius:7px;padding:5px 9px;font-size:11px;font-weight:600}.dp-export{margin-left:auto}.dp-metrics{gap:14px;display:grid}.staff-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.analytics-metrics{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}.dp-metric{background:var(--dp-bg);border:1px solid var(--dp-line);text-align:left;min-width:0;color:var(--dp-text);border-radius:14px;flex-direction:column;padding:21px 19px;display:flex}.dp-metric>span{color:var(--dp-muted);font-size:12px;font-weight:500}.dp-metric>strong{letter-spacing:-.8px;font-variant-numeric:tabular-nums;margin:15px 0 9px;font-size:28px;font-weight:650;line-height:1.25}.dp-metric>small{color:var(--dp-muted);font-size:10px;line-height:1.6}.dp-metric.accent-metric{background:var(--dp-accent-soft);border-color:#0000}.accent-metric>strong{color:var(--dp-accent)}button.dp-metric:hover{border-color:var(--dp-accent)}.dp-panel{background:var(--dp-bg);border:1px solid var(--dp-line);border-radius:14px;min-width:0;overflow:hidden}.dp-panel-heading{justify-content:space-between;align-items:flex-start;gap:18px;padding:23px 24px 17px;display:flex}.dp-panel-heading h2{letter-spacing:-.3px;margin:0 0 6px;font-size:17px;font-weight:650}.dp-panel-heading p{color:var(--dp-muted);margin:0;font-size:12px;line-height:1.7}.analytics-page .analytics-filters .lesson-period-fields>label,.analytics-page .analytics-filters>label,.analytics-page .analytics-filters>.lesson-filter-field{gap:5px}@container analytics-layout (width<=1000px){.analytics-page .metric-overview-grid.has-four{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-page .analytics-chart-grid{grid-template-columns:minmax(0,1fr)}.analytics-page .analytics-distribution{grid-template-columns:minmax(150px,1fr) minmax(0,1fr);align-items:center;column-gap:20px;display:grid}.analytics-page .analytics-distribution h2,.analytics-page .analytics-distribution>.analytics-chart-state{grid-column:1/-1}.analytics-page .analytics-actions{padding-top:0}.analytics-page .analytics-role-grid{grid-template-columns:1fr}}@container analytics-layout (width<=520px){.analytics-page .metric-overview-grid.has-four{grid-template-columns:1fr}.analytics-page .analytics-distribution{display:block}.analytics-page .analytics-chart-heading{flex-direction:column;align-items:start}.analytics-page .analytics-actions{justify-content:flex-end}.analytics-page .lesson-filters.analytics-filters{grid-template-columns:1fr}.analytics-page .analytics-filters .lesson-period{grid-column:1/-1;display:block}.analytics-page .analytics-filters .lesson-period-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.analytics-page .analytics-filters .lesson-period-extra{margin-top:6px}.analytics-page .analytics-summary-heading{grid-template-columns:1fr!important;gap:4px!important}.analytics-page .analytics-summary-heading>span{text-align:left}}@media (width<=600px){.analytics-page .analytics-details-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.analytics-page .analytics-details-dialog>.demo-dialog-header,.analytics-page .analytics-details-dialog>.dialog-content{padding:12px}.analytics-page .analytics-details-dialog>.demo-dialog-header h2{font-size:16px}.analytics-page .analytics-details-summary>p{flex-basis:100%}.analytics-page .analytics-details-summary>.dp-button{margin-left:auto}}@container analytics-layout (width<=600px){.analytics-page .analytics-course-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.analytics-page .analytics-course-row strong{grid-column:1/-1}.analytics-page .analytics-group-controls{align-items:stretch}.analytics-page .analytics-group-controls>label{flex:140px}}@container analytics-layout (width>=521px) and (width<=1000px){.analytics-page .analytics-distribution .analytics-skeleton-decoration{grid-template-columns:minmax(150px,1fr) minmax(0,1fr);align-items:center;gap:20px;display:grid}.analytics-page .analytics-distribution .analytics-skeleton-ring{margin:4px auto 8px}}@container analytics-layout (width<=800px){.analytics-page .analytics-attendance-row{grid-template-columns:minmax(0,1fr) 100px 75px;gap:8px 12px}.analytics-page .analytics-attendance-group{grid-column:1/-1}.analytics-page .analytics-attendance-meter{grid-area:2/1}.analytics-page .analytics-attendance-value{grid-area:2/2}.analytics-page .analytics-attendance-action{grid-area:2/3}.analytics-page .analytics-attendance-state{grid-area:2/1/auto/3}.analytics-page .analytics-attendance-change{grid-column:1/-1}.analytics-page .analytics-group-footer>.shared-pagination{margin-left:0}.analytics-page .analytics-skeleton-attendance .analytics-attendance-row>.short{grid-area:2/3}}@container analytics-layout (width<=400px){.analytics-page .analytics-attendance-row{grid-template-columns:minmax(0,1fr) 85px}.analytics-page .analytics-attendance-action{grid-area:3/2}.analytics-page .analytics-attendance-state,.analytics-page .analytics-attendance-change{grid-column:1/-1}.analytics-page .analytics-group-footer-settings{gap:10px 12px}.analytics-page .analytics-skeleton-attendance .analytics-attendance-row>.short{grid-area:3/2}}@container analytics-layout (width<=600px){.analytics-page .analytics-group-footer-settings{flex-basis:100%}.analytics-page .analytics-group-footer>.shared-pagination{justify-content:flex-start;width:100%;margin:0}.analytics-page .analytics-group-footer>.shared-pagination nav{justify-content:flex-start}}.dp-filters{flex-wrap:wrap;align-items:end;gap:12px;padding:24px;display:flex}.dp-panel-heading+.dp-filters{padding-top:4px}.dp-filters label{min-width:125px;color:var(--dp-muted);flex-direction:column;flex:1;gap:8px;font-size:12px;font-weight:600;display:flex}.dp-filters .dp-search{flex:2;min-width:225px}.dp-filters input,.dp-filters select{border:1px solid var(--dp-line);background:var(--dp-bg);width:100%;max-width:100%;height:40px;color:var(--dp-text);border-radius:8px;min-width:0;padding:0 11px;font-size:12px}.dp-filters select{padding-right:var(--select-text-inset,36px)}.dp-filters input::placeholder{color:var(--dp-muted)}.dp-button{background:var(--dp-bg,var(--surface));color:var(--dp-text,var(--text));border:1px solid var(--dp-line,var(--border));border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:39px;padding:10px 13px;font-size:12px;font-weight:500;text-decoration:none;display:inline-flex}.dp-button:hover:not(:disabled){background:var(--dp-soft,var(--surface-subtle));border-color:var(--dp-accent,var(--accent-text))}.dp-button:disabled{opacity:.45}.dp-table-scroll{overscroll-behavior-x:contain;max-width:100%;overflow-x:auto}.dp-table{border-collapse:collapse;text-align:left;width:100%;font-size:12px}.dp-table th{color:var(--dp-muted,var(--text-muted));background:var(--dp-soft,var(--surface-subtle));white-space:nowrap;font-size:10px;font-weight:600}.dp-table th,.dp-table td{border-bottom:1px solid var(--dp-line,var(--border));vertical-align:middle;padding:16px 19px}.dp-table td{color:var(--dp-text,var(--text));font-variant-numeric:tabular-nums}.dp-table td:first-child,.dp-table th:first-child{padding-left:24px}.dp-table tbody tr:last-child td{border-bottom:0}.dp-table tbody tr:hover{background:var(--dp-soft,var(--surface-subtle))}.dp-table tfoot td,.dp-table tfoot th{background:var(--dp-soft,var(--surface-subtle));border-top:1px solid var(--dp-line,var(--border));border-bottom:0;font-size:12px;font-weight:600}.dp-sort{color:inherit;font-size:inherit;font-weight:inherit;background:0 0;border:0;padding:0}.dp-person{color:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:12px;min-width:210px;padding:0;display:flex}.dp-person strong{max-width:220px;font-size:12px;font-weight:600;display:block}.dp-person small{color:var(--dp-muted);margin-top:4px;font-size:11px;display:block}.dp-avatar{background:var(--dp-accent-soft,var(--accent-soft));width:38px;height:38px;color:var(--dp-accent,var(--accent-text));border-radius:11px;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:600;display:flex}.dp-status{white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:5px 8px;font-size:10px;display:inline-flex}.dp-status:before{content:"";background:currentColor;border-radius:50%;width:5px;height:5px}.is-active{background:var(--success-soft,#e7f5ed);color:var(--success,#24714c)}.is-blocked{background:var(--error-background,#fbeaec);color:var(--error-text,#a4374b)}.dp-subtext{color:var(--dp-muted,var(--text-muted));margin-top:4px;font-size:10px;font-weight:400;line-height:1.5;display:block}.dp-email{white-space:nowrap}.dp-link{color:var(--dp-accent,var(--accent-text));text-align:left;white-space:nowrap;background:0 0;border:0;padding:3px 0;font-size:12px;text-decoration:none}.dp-link:hover{text-decoration:underline}.dp-group-link{font-weight:600}.dp-pagination{border-top:1px solid var(--dp-line);color:var(--dp-muted);justify-content:space-between;align-items:center;gap:15px;padding:16px 24px;font-size:12px;display:flex}.dp-pagination>div{align-items:center;gap:12px;display:flex}.dp-no-data{text-align:center;color:var(--dp-text,var(--text));padding:50px 24px}.dp-no-data strong{font-size:17px}.dp-no-data p{color:var(--dp-muted,var(--text-muted));margin:10px 0 18px;font-size:13px}.dp-sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.dp-tabs{border-bottom:1px solid var(--dp-line);gap:24px;display:flex;overflow-x:auto}.dp-tabs button{color:var(--dp-muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:0 0 13px;font-size:13px}.dp-tabs button.selected{color:var(--dp-accent);border-bottom-color:var(--dp-accent);font-weight:600}.quick-filter-buttons{flex-wrap:wrap;align-items:center;gap:3px;min-width:0;display:flex}.quick-filter-buttons>button{color:var(--accent-text);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:4px 6px;font-size:12px;font-weight:600;line-height:16px;position:relative}.quick-filter-buttons>button:hover{background:var(--surface-hover)}.quick-filter-buttons>button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-text);box-shadow:inset 0 -2px 0 var(--accent)}.quick-filter-buttons>button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.dp-chart-scroll{padding:5px 24px 0;overflow-x:auto}.dp-chart{border-bottom:1px solid var(--dp-line);gap:12px;min-width:500px;height:225px;display:flex}.dp-chart-column{min-width:42px;color:var(--dp-muted);background:0 0;border:0;flex-direction:column;flex:1;align-items:center;height:100%;padding:0;display:flex}.dp-chart-value{white-space:nowrap;height:26px;font-size:10px}.dp-chart-track{border-bottom:1px solid var(--dp-line);align-items:end;width:100%;height:167px;display:flex}.dp-chart-bar{background:var(--dp-accent);opacity:.7;border-radius:5px 5px 0 0;width:100%;max-width:44px;margin:auto auto 0;display:block}.dp-chart-column:hover .dp-chart-bar,.dp-chart-column:focus-visible .dp-chart-bar{opacity:1}.dp-chart-date{height:31px;padding-top:8px;font-size:10px}.dp-chart-footnote{color:var(--dp-muted);margin:0;padding:12px 24px 21px;font-size:11px;line-height:1.6}.demo-dialog{--dp-bg:var(--surface,#fff);--dp-line:var(--border,#e6e1ed);--dp-text:var(--text,#282333);--dp-muted:var(--text-muted,#746d80);--dp-soft:var(--surface-subtle,#f7f4fb);--dp-accent:var(--accent-text,#7950c3);--dp-accent-soft:var(--accent-soft,#eee7f8);background:var(--dp-bg);color:var(--dp-text);border:1px solid var(--dp-line);border-radius:18px;width:min(900px,100% - 32px);max-height:85vh;padding:28px;box-shadow:0 24px 90px #0004}.demo-dialog::backdrop{background:#11111c80}.demo-dialog-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px;display:flex}.demo-dialog-header h2{margin:0;font-size:20px}.dp-profile-name{align-items:center;gap:15px;display:flex}.dp-profile-name .dp-avatar{width:56px;height:56px;font-size:16px}.dp-profile-name h3{margin:0 0 5px;font-size:19px}.dp-profile-name p{color:var(--dp-muted);margin:0;font-size:12px}.dp-details{grid-template-columns:140px 1fr;gap:17px;margin:28px 0;font-size:13px;display:grid}.dp-details dt{color:var(--dp-muted)}.dp-details dd{overflow-wrap:anywhere;margin:0}.demo-dialog>h3{font-size:14px}.dp-group-list{padding-left:20px;font-size:13px;line-height:2}.dp-notice{background:var(--dp-soft);color:var(--dp-muted);border-radius:8px;margin:22px 0 0;padding:14px;font-size:12px}.dp-muted{color:var(--dp-muted,var(--text-muted));font-size:13px}.dp-error{background:var(--error-background);color:var(--error-text);border-radius:9px;padding:16px;font-size:13px}@media (width>=1600px){.analytics-metrics{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}}@media (width<=1000px){.staff-metrics{gap:10px}.dp-metric{padding:17px 14px}.dp-metric strong{font-size:26px}.dp-filters label{min-width:145px}.dp-filters .dp-search{min-width:100%}}@media (width<=560px){.staff-metrics{grid-template-columns:1fr}.analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dp-metric>strong{font-size:23px}.dp-metric>small{font-size:10px}.dp-caption{gap:8px}.dp-export{margin-left:0}.dp-filters,.dp-filter-panel .dp-filters{gap:10px;padding:16px}.dp-filters label{min-width:calc(50% - 10px)}.dp-filters .dp-search{min-width:100%}.dp-panel-heading{padding:20px 16px 16px}.dp-table td,.dp-table th{padding:14px 16px}.dp-pagination{flex-wrap:wrap;padding:14px 16px}.dp-tabs{gap:18px}.dp-tabs button{font-size:12px}.dp-chart-scroll,.dp-chart-footnote{padding-left:16px;padding-right:16px}.demo-dialog{padding:20px 16px}.demo-dialog-header h2{font-size:17px}.dp-details{grid-template-columns:105px 1fr}.dp-profile-name h3{font-size:16px}}:root[data-theme=dark] .demo-page .is-active{color:#98dfb8;background:#233d30}.dp-filter-panel .dp-filters label{min-width:160px}.dp-metric.accent-metric>strong{font-size:25px}@media (width<=560px){.dp-filter-panel .dp-filters label{min-width:calc(50% - 10px)}.dp-metric.accent-metric>strong{font-size:21px}}.dp-table-scroll{position:relative}.brand{align-items:center;gap:12px;display:flex}.brand-mark{object-fit:contain;background:#252536;border-radius:4px;flex:none;width:auto;height:46px;display:block}.brand strong{letter-spacing:-.6px;font-size:21px;display:block}.brand div>span{color:var(--text-muted);font-size:12px;display:block}.login-layout{grid-template-columns:1fr 1fr;min-height:100vh;display:grid}.welcome-panel{background:var(--welcome);flex-direction:column;justify-content:space-between;gap:48px;padding:42px 9%;display:flex;position:relative;overflow:hidden}.welcome-copy{max-width:480px}.eyebrow{letter-spacing:1.4px;color:var(--text-secondary);font-size:11px;font-weight:700}.welcome-copy h1{letter-spacing:-2px;margin:22px 0;font-size:clamp(36px,4vw,60px);font-weight:650;line-height:1.12}.welcome-copy>p{color:var(--text-secondary);font-size:18px}.welcome-footer{color:var(--text-muted);font-size:12px}.visual-cards{height:260px;margin-top:42px;position:relative;overflow:visible}.visual-card{background:var(--surface);width:76%;box-shadow:0 14px 40px var(--card-shadow);border-radius:22px;padding:26px;transition:transform .28s ease-out,box-shadow .28s ease-out;transform:rotate(-5deg)}.visual-card>span,.small-card>span{letter-spacing:1.5px;margin-bottom:18px;font-size:10px;display:block}.visual-card>strong{font-size:23px;font-weight:600}.decor-lines{gap:9px;margin-top:24px;display:grid}.decor-lines i{background:var(--decor-line);border-radius:8px;height:8px;display:block}.decor-lines i:nth-child(2){width:76%}.decor-lines i:nth-child(3){width:52%}.small-card{background:var(--decor-card);color:var(--on-accent);width:60%;box-shadow:0 0 0 var(--card-shadow);border-radius:20px;padding:24px;transition:transform .28s ease-out,box-shadow .28s ease-out;position:absolute;bottom:0;right:0;transform:rotate(6deg)}.visual-cards>.visual-card,.visual-cards>.small-card{pointer-events:none}@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.visual-cards:hover>.visual-card{box-shadow:0 18px 46px var(--card-shadow);transform:translate(-6px,-6px)rotate(-7deg)}.visual-cards:hover>.small-card{box-shadow:0 8px 24px var(--card-shadow);transform:translate(6px,4px)rotate(8deg)}}@media (prefers-reduced-motion:reduce){.visual-cards>.visual-card,.visual-cards>.small-card{transition:none}}.small-card strong{font-size:20px;font-weight:500;line-height:1.3}.decor-dots{color:var(--decor-dots);letter-spacing:4px;margin-top:16px;font-size:17px}.login-panel{background:var(--surface);justify-content:center;align-items:center;padding:56px 36px;display:flex}.login-content{width:100%;max-width:390px}.demo-badge{color:var(--accent-text);background:var(--accent-soft);border-radius:7px;padding:5px 10px;font-size:11px;font-weight:600;display:inline-block}.login-content h2{letter-spacing:-1px;margin:22px 0 10px;font-size:32px;font-weight:650}.muted{color:var(--text-muted)}.intro{margin-bottom:30px;font-size:14px}.login-content form>label{margin:18px 0 8px;font-size:13px;font-weight:600;display:block}.login-content input:not([type=checkbox]){border:1px solid var(--border-input);background:var(--surface);width:100%;height:48px;color:var(--text);border-radius:9px;padding:0 14px;font-size:14px}.login-content input::placeholder{color:var(--placeholder)}.password-field{position:relative}.password-field input{padding-right:87px!important}.password-field button{height:48px;color:var(--accent-text);background:0 0;border:0;font-size:12px;position:absolute;top:0;right:10px}.required-password-form fieldset{border:0;min-width:0;margin:0;padding:0}.required-password-form .school-form{grid-template-columns:minmax(0,1fr);margin:18px 0 12px}.required-password-form .school-form label{min-width:0}.required-password-form .school-field-action input{flex:1 1 0;width:auto;min-width:0}.required-password-form .dp-notice{margin:0 0 16px}.required-password-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.form-options{justify-content:space-between;align-items:center;gap:12px;margin:20px 0 24px;font-size:12px;display:flex}.checkbox-label{color:var(--text-secondary);align-items:center;gap:8px;display:flex}.checkbox-label input{width:16px;height:16px;accent-color:var(--accent);margin:0}.text-button{color:var(--accent-text);background:0 0;border:0;padding:4px 0;font-size:12px}.primary-button{background:var(--accent);width:100%;color:var(--on-accent);border:0;border-radius:9px;justify-content:center;align-items:center;gap:14px;padding:13px 20px;font-size:14px;font-weight:600;display:flex}.primary-button:hover{background:var(--accent-hover)}.error{background:var(--error-background);color:var(--error-text);border-radius:8px;padding:12px;font-size:13px}.notice{background:var(--notice-background);color:var(--notice-text);border-radius:9px;padding:14px;font-size:13px}.demo-accounts{border-top:1px solid var(--border);color:var(--text-muted);margin-top:25px;padding-top:20px;font-size:12px}.demo-accounts summary{cursor:pointer;color:var(--text-secondary);font-weight:600}.demo-accounts p{margin:14px 0 0}.account-buttons{grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;display:grid}.account-buttons button{border:1px solid var(--border-accent);background:var(--surface-subtle);color:var(--accent-text);border-radius:7px;padding:9px;font-size:12px}.account-buttons button:hover{background:var(--accent-active)}.login-footnote{text-align:center;color:var(--text-muted);margin:26px 0 0;font-size:11px}.app-layout{grid-template-rows:auto 1fr;grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.app-layout>.topbar{grid-area:1/2;min-width:0}.app-layout>.workspace{grid-area:2/2}.sidebar{background:var(--surface);border-right:1px solid var(--border);flex-direction:column;grid-area:1/1/span 2;min-width:0;padding:30px 18px;display:flex}.sidebar .brand{padding-left:10px}.nav-label{letter-spacing:1.3px;color:var(--text-muted);margin:44px 14px 14px;font-size:9px;font-weight:700}.sidebar nav{gap:5px;display:grid}.nav-item{text-align:left;box-sizing:border-box;width:100%;color:var(--text-secondary);background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;padding:12px;font-size:13px;text-decoration:none;display:flex}.nav-icon{flex:0 0 22px;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.nav-icon svg{flex:none;width:22px;height:22px;display:block}.nav-item:hover{background:var(--surface-hover)}.nav-item.active{background:var(--accent-active);color:var(--accent-text);font-weight:600}.sidebar-bottom{margin-top:auto;padding:50px 14px 0}.sidebar-bottom p{color:var(--text-muted);margin:14px 0 0;font-size:12px}.workspace{min-width:0}.topbar{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:20px;height:86px;padding:0 40px;display:flex}.user-actions{align-items:center;gap:24px;min-width:0;max-width:100%;margin-left:auto;display:flex}.user-button{color:inherit;text-align:left;background:0 0;border:0;flex:180px;align-items:center;gap:11px;min-width:0;max-width:100%;padding:4px;text-decoration:none;display:flex}.user-summary{overflow-wrap:anywhere;white-space:normal;min-width:0}@media (width>=721px){.topbar .user-button{order:1}.topbar .logout{order:2}}.avatar{background:var(--accent-soft);width:37px;height:37px;color:var(--accent-text);border-radius:50%;flex:0 0 37px;place-items:center;font-size:12px;font-weight:600;display:grid}.user-button strong{color:var(--text-strong);font-size:12px;display:block}.user-button small{color:var(--text-muted);margin-top:2px;font-size:11px;display:block}.logout{border:1px solid var(--border);color:var(--text-muted);background:0 0;border-radius:7px;flex:none;padding:7px 12px;font-size:12px}.logout:hover{background:var(--surface-hover)}.page-content{max-width:1400px;margin:auto;padding:42px}.page-heading h1{letter-spacing:-.8px;margin:10px 0;font-size:30px;font-weight:650}.page-heading p{margin-bottom:32px;font-size:13px}.brand-home-btn{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;width:100%;padding:0;text-decoration:none;display:block}.brand-home-btn:hover{background:var(--surface-hover)}.brand-home-btn:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}.nav-item:focus-visible,.user-button:focus-visible{outline:3px solid var(--focus-ring);outline-offset:4px}.content-card{background:var(--surface);border:1px solid var(--border);border-radius:15px}.empty-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:395px;padding:45px 24px;display:flex}.empty-symbol{width:65px;height:65px;color:var(--accent-text);background:var(--accent-soft);border-radius:18px;place-items:center;margin-bottom:20px;font-size:38px;display:grid}.empty-state h2{margin:16px 0 10px;font-size:20px;font-weight:600}.empty-state p{color:var(--text-muted);font-size:13px;line-height:1.8}.secondary-button{background:var(--surface);border:1px solid var(--border-accent);color:var(--accent-text);border-radius:8px;margin-top:10px;padding:11px 16px;font-size:12px}.secondary-button:hover{background:var(--surface-hover)}.workspace-note{color:var(--text-muted);max-width:660px;margin:20px 0;font-size:11px}.profile-dirty-hint,.profile-saving-hint{color:var(--text-secondary);font-size:13px}.profile-branch-error,.profile-branch-error p{margin:0 0 8px}@media (width<=767px){.profile-layout{grid-template-columns:1fr}.profile-card{text-align:left;align-self:auto;align-items:flex-start}.profile-identity{align-items:flex-start}}@media (width<=560px){.profile-contacts-grid{grid-template-columns:1fr}.profile-security-row{flex-direction:column;align-items:flex-start}.profile-form-buttons{flex-direction:column;width:100%}.profile-form-buttons>button{width:100%}.profile-branch-grid{grid-template-columns:1fr}}@media (width>=1500px){.welcome-panel{padding:48px 13%}.visual-cards{max-width:430px}}@media (width<=1000px){.welcome-panel{padding:32px 8%}.welcome-copy h1{font-size:39px}.app-layout{grid-template-columns:230px minmax(0,1fr)}.page-content{padding:28px}.topbar{padding:0 25px}.user-actions{gap:10px}}@media (width<=720px){.login-layout{display:block}.welcome-panel{padding:24px}.welcome-copy,.welcome-footer{display:none}.login-panel{min-height:calc(100vh - 92px);padding:32px 24px 40px}.app-layout{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--border);padding:18px}.sidebar .brand{padding:0}.nav-label{margin:22px 0 10px}.sidebar nav{gap:6px;padding-bottom:4px;display:flex;overflow-x:auto}.nav-item{white-space:nowrap;flex:none;width:auto;padding:10px;font-size:12px}.sidebar-bottom{display:none}.topbar{flex-wrap:wrap;gap:12px;height:auto;min-height:76px;padding:14px 20px}.user-actions{margin-left:auto}.page-content{padding:26px 20px}.page-heading h1{font-size:25px}.empty-state{min-height:330px;padding:32px 18px}.empty-state h2{font-size:19px}.empty-state br{display:none}.profile-card{padding:20px}.profile-card dl{grid-template-columns:80px 1fr;gap:16px}.brand strong{font-size:20px}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.theme-switcher{background:var(--surface-hover);border:1px solid var(--border);border-radius:9px;align-items:center;gap:2px;padding:3px;display:flex}.theme-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;width:30px;height:30px;font-size:15px;line-height:1;transition:background .12s,color .12s;display:flex}.theme-btn:hover{background:var(--surface);color:var(--text)}.theme-btn-active{box-shadow:0 1px 3px var(--card-shadow);background:var(--surface)!important;color:var(--accent-text)!important}.theme-btn:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.login-theme{justify-content:flex-end;margin-bottom:28px;display:flex}.topbar{flex-wrap:wrap;height:auto;min-height:86px;padding-top:16px;padding-bottom:16px}.user-actions{flex-wrap:wrap}@media (width<=720px){.topbar{min-height:76px}.user-actions{gap:12px;width:100%;margin-left:0}.logout{margin-left:auto}}.topbar{box-sizing:border-box;gap:12px;min-height:64px;padding:8px 28px}.page-content{padding-top:22px}.page-heading{margin-bottom:18px}.page-heading h1{margin:0}@media (width<=720px){.topbar{min-height:0;padding:6px 12px}.user-actions{gap:6px 10px}.user-button{flex-basis:150px;gap:8px;padding:2px 0}.user-button .avatar{flex-basis:30px;width:30px;height:30px}.topbar .logout{min-height:44px;padding:6px 10px}.sidebar{grid-template-columns:max-content minmax(0,1fr);align-items:center;gap:8px;padding:6px 12px;display:grid}.sidebar .brand-home-btn{align-items:center;min-height:44px;display:flex}.sidebar .brand{gap:6px;padding:0}.sidebar .brand-mark{height:30px}.sidebar .brand strong{letter-spacing:-.3px;font-size:14px}.sidebar .brand div>span{font-size:10px}.sidebar .nav-label{display:none}.sidebar nav{scrollbar-width:none;gap:4px;min-width:0;padding:2px}.sidebar nav::-webkit-scrollbar{display:none}.sidebar .nav-item{box-sizing:border-box;border-radius:6px;gap:6px;min-height:44px;padding:6px 8px;font-size:11px}.sidebar .nav-icon,.sidebar .nav-icon svg{flex-basis:18px;width:18px;height:18px}.sidebar .nav-item.active{background:var(--accent-soft);color:var(--accent-text)}.page-content{padding:20px 16px}}.brand-mark-light{background:0 0}.brand-mark-dark,:root[data-theme=dark] .brand-mark-light{display:none}:root[data-theme=dark] .brand-mark-dark{display:block}.toast-host{inset:auto 24px max(24px,env(safe-area-inset-bottom)) auto;width:min(360px,100vw - 48px);height:auto;max-height:none;color:var(--text);font:inherit;pointer-events:none;z-index:10000;background:0 0;border:0;margin:0;padding:0;position:fixed;overflow:visible}.toast-host::backdrop{pointer-events:none;background:0 0}.toast-host{margin-bottom:var(--storage-notice-toast-offset,0px)}.toast-stack{pointer-events:none;flex-direction:column;gap:10px;display:flex}.toast{border:1px solid var(--border-input);background:var(--surface);color:var(--text);box-shadow:0 6px 24px var(--card-shadow);pointer-events:auto;border-radius:19px;grid-template-columns:20px minmax(0,1fr) 28px;align-items:start;gap:10px;padding:14px;line-height:1.45;animation:.16s ease-out toast-in;display:grid}@supports ((-webkit-backdrop-filter:blur(12px)) or (backdrop-filter:blur(12px))){.toast{background:color-mix(in srgb,var(--surface) 92%,transparent);-webkit-backdrop-filter:blur(12px)}}.toast-icon{color:var(--accent-text);margin-top:3px}.toast-content{overflow-wrap:break-word;min-width:0;font-size:13px}.toast-content p{margin:2px 0 0}.toast-close{width:28px;height:28px;color:var(--text-secondary);background:0 0;border:0;border-radius:8px;justify-content:center;align-items:center;padding:4px;display:flex}.toast-close:hover{background:var(--surface-hover);color:var(--text)}.toast-close:focus-visible,.toast-action:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.toast-action{color:var(--accent-text);font:inherit;text-align:left;background:0 0;border:0;margin-top:6px;padding:2px 0}.toast-leaving{pointer-events:none;animation:.16s ease-in forwards toast-out}.toast-announcer{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@keyframes toast-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-out{to{opacity:0;transform:translateY(4px)}}@media (width<=600px){.toast-host{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));width:min(320px,calc(100vw - 24px - env(safe-area-inset-left) - env(safe-area-inset-right)))}.toast{padding:12px;font-size:12px}.toast-stack{gap:8px}}@media (prefers-reduced-motion:reduce){.toast,.toast-leaving{animation:none}.toast-leaving{opacity:0}.toast-close,.toast-action{transition:none}}.skeleton{box-sizing:border-box;width:100%;min-width:0;max-width:100%;color:var(--text);display:block}.skeleton-message{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skeleton-decoration{min-width:0;display:block}.skeleton-piece{box-sizing:border-box;background:var(--surface-hover);border-radius:5px;min-width:0;max-width:100%;height:14px;animation:1.5s ease-in-out infinite skeleton-pulse;display:block}.skeleton-piece.label{width:55%;height:14px}.skeleton-piece.content{width:85%}.skeleton-piece.caption{width:65%;height:12px}.skeleton-piece.value{width:60%;height:32px}.skeleton-piece.action{width:105px;height:36px}.skeleton-line .skeleton-piece{width:110px}.skeleton-value .skeleton-piece{width:90px;height:30px}.skeleton-field .skeleton-piece{border:1px solid var(--border);border-radius:8px;width:100%;height:40px}.skeleton-line,.skeleton-value{width:auto}.skeleton-detail{grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:12px;padding:10px 0;display:grid}.skeleton-detail>.label{width:75%}.skeleton-option{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr);gap:6px;padding:12px 0;display:grid}.skeleton-option>.label{width:55%}.skeleton-option>.content{height:12px}.skeleton-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px;padding:12px 0;display:grid}.skeleton-metric .skeleton-decoration{gap:8px;display:grid}.skeleton-pagination .skeleton-decoration{justify-content:space-between;align-items:center;gap:12px;padding:12px 0;display:flex}.skeleton-pagination .caption{width:140px}.dp-table .skeleton-status-row>td{line-height:0;border:0!important;height:0!important;padding:0!important}.skeleton-table-row .skeleton-piece{height:16px;margin:5px 0}.skeleton-field-error{color:var(--error-text);flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;display:flex}.skeleton-refresh{vertical-align:middle;align-items:center;min-width:28px;max-width:100%;min-height:20px;display:inline-flex}.skeleton-refresh>span[aria-hidden]{background:var(--text-muted);border-radius:4px;width:24px;height:4px;animation:1.5s ease-in-out infinite skeleton-pulse;display:block}@keyframes skeleton-pulse{50%{opacity:.5}}@media (prefers-reduced-motion:reduce){.skeleton-piece,.skeleton-refresh>span[aria-hidden]{animation:none}}@media (width<=480px){.skeleton-detail{grid-template-columns:minmax(80px,1fr) minmax(0,2fr);gap:8px}.skeleton-pagination .skeleton-decoration{flex-wrap:wrap}}.native-select-control,.select-trigger{--select-text-inset:36px;min-width:0;position:relative}.native-select-control{--select-chevron-inset:11px;vertical-align:middle;max-width:100%;display:inline-grid}.native-select{box-sizing:border-box;appearance:none;width:100%;min-width:0;padding-right:var(--select-text-inset);background-image:none}.select-chevron{top:50%;right:var(--select-chevron-inset,10px);width:16px;height:16px;color:var(--text-muted,var(--dp-muted));pointer-events:none;margin:0;display:block;position:absolute;transform:translateY(-50%)}.native-select:disabled+.select-chevron{opacity:.6}.select-trigger>span:first-child{min-width:0}.course-select{width:100%;min-width:0;display:block;position:relative}.course-select-trigger{width:100%;min-width:0;height:40px;padding:0 var(--select-text-inset) 0 11px;border:1px solid var(--border-input,var(--dp-line));background:var(--surface,var(--dp-bg));color:var(--text,var(--dp-text));font:inherit;text-align:left;cursor:pointer;box-sizing:border-box;appearance:none;background-image:none;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;font-weight:400;line-height:normal;display:flex;overflow:hidden}.course-select-trigger:focus-visible{outline:2px solid var(--focus-ring,var(--accent));outline-offset:2px}.course-select-trigger:disabled{cursor:default;opacity:.6}.course-select-trigger[aria-invalid=true]{border-color:var(--danger,#bb3848)}.dp-filters .course-select-trigger{border-color:var(--dp-line);background:var(--dp-bg);color:var(--dp-text);font-size:12px}.school-form .course-select-trigger{height:42px;padding:0 var(--select-text-inset) 0 10px;background:var(--surface);color:var(--text);appearance:none}.course-select-trigger .course-badge{min-width:0;max-width:100%}.course-select-trigger .course-badge-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.course-select-native{opacity:0;pointer-events:none;width:1px!important;height:1px!important;padding:0!important;position:absolute!important}.course-select-popup{box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--border-input,var(--border));background:var(--surface);color:var(--text);border-radius:8px;margin:0;padding:4px;font-size:12px;position:fixed;inset:auto;overflow:auto;box-shadow:0 8px 24px #0003}.course-select-option{box-sizing:border-box;cursor:pointer;overflow-wrap:anywhere;border-radius:5px;justify-content:space-between;align-items:center;gap:8px;min-height:40px;padding:6px;display:flex}.course-select-option .course-badge{min-width:0;max-width:100%}.course-select-option.is-active{background:var(--surface-subtle);outline:1px solid var(--accent);outline-offset:-1px}.group-choice-picker{width:100%;min-width:0;position:relative}.group-choice-picker>.group-choice-trigger{box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:9px var(--select-text-inset) 9px 11px;text-align:left;justify-content:space-between;align-items:center;gap:8px;font-weight:400;display:flex}.group-choice-trigger>span:first-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;display:block;overflow:hidden}.group-choice-options{box-sizing:border-box;border:1px solid var(--border-input);overscroll-behavior:contain;background:var(--surface);color:var(--text);border-radius:10px;margin:0;padding:10px;font-size:12px;position:fixed;inset:auto;overflow:auto;box-shadow:0 8px 24px #0003}.group-choice-options>.group-choice-search{min-width:0;color:var(--text-muted);gap:6px;margin:0 0 8px;font-size:12px;font-weight:600;display:grid}.group-choice-option{box-sizing:border-box;width:100%;color:inherit;text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:8px;flex-wrap:wrap;align-items:center;gap:6px;padding:10px;display:flex}.group-choice-option:hover,.group-choice-option:focus-visible{background:var(--surface-hover)}.group-choice-option:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.group-choice-option[aria-pressed=true]{background:var(--accent-soft)}.group-choice-option strong{white-space:normal;overflow-wrap:anywhere;min-width:0;max-width:100%}.group-choice-option small{width:100%;color:var(--text-muted);overflow-wrap:anywhere}.group-choice-options .shared-pagination{flex-wrap:wrap;gap:8px;padding:10px 0 0}.group-choice-options .shared-pagination nav{flex-wrap:wrap;gap:4px}.group-choice-options .shared-pagination .dp-button{padding:6px 8px}.group-choice-search input{box-sizing:border-box;border:1px solid var(--border-input);background:var(--surface);width:100%;min-width:0;min-height:42px;color:var(--text);font:inherit;border-radius:8px;padding:0 11px}.group-choice-search input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.course-badge{isolation:isolate;vertical-align:middle;height:auto;min-height:0;color:var(--text);box-sizing:border-box;white-space:normal;word-break:normal;overflow-wrap:break-word;background:0 0;border:1px solid #0000;border-radius:20px;flex:0 auto;place-self:center start;align-items:center;min-width:0;max-width:100%;padding:2px 9px;font-size:11px;font-weight:600;line-height:1.3;display:inline-flex;position:relative}.course-badge:after{content:"";z-index:-1;width:var(--course-painted-width,calc(100% + 2px));box-sizing:border-box;border-radius:inherit;background:color-mix(in srgb,var(--course-color,var(--border)) 14%,var(--surface));border:1px solid color-mix(in srgb,var(--course-color,var(--border)) 55%,var(--border));pointer-events:none;max-width:calc(100% + 2px);position:absolute;inset:-1px auto -1px -1px}.course-badge:before{content:"";background:var(--course-color,var(--border));border-radius:50%;flex:0 0 7px;height:7px;margin-right:6px}:root[data-theme=dark] .course-badge:after{background:color-mix(in srgb,var(--course-color,var(--border)) 22%,var(--surface))}.course-badge-name{min-width:0;line-height:inherit;white-space:normal;word-break:normal;overflow-wrap:break-word}.mobile-record-list{min-width:0;color:var(--text);padding:12px}.mobile-record-sort{flex-wrap:wrap;align-items:flex-end;gap:8px;margin-bottom:12px;display:flex}.mobile-record-sort-field{min-width:0;color:var(--text-secondary);flex:130px;font-size:11px}.mobile-record-sort-field>.course-select{margin-top:4px;display:block}.mobile-record-sort .course-select-trigger{min-height:44px}.mobile-record-sort>.dp-button{white-space:normal;flex:0 auto;min-width:44px;min-height:44px;font-size:11px}.mobile-record-card{border:1px solid var(--border);background:var(--surface);box-sizing:border-box;border-radius:12px;min-width:0;margin-bottom:10px;padding:12px}.mobile-record-card:last-child{margin-bottom:0}.mobile-record-card h3{overflow-wrap:anywhere;margin:0 0 10px;font-size:14px;font-weight:600;line-height:1.4}.mobile-record-card h3 .dp-link{font:inherit;text-align:left;white-space:normal}.mobile-record-card dl{gap:6px;margin:0;display:grid}.mobile-record-field{grid-template-columns:minmax(0,95px) minmax(0,1fr);gap:8px;font-size:12px;line-height:1.45;display:grid}.mobile-record-field dt{color:var(--text-muted)}.mobile-record-field dd{min-width:0;color:var(--text);overflow-wrap:anywhere;margin:0}.mobile-record-field dd>*{box-sizing:border-box;max-width:100%}.mobile-record-field .dp-link{white-space:normal;overflow-wrap:anywhere}.mobile-record-field .course-badge{white-space:normal}.mobile-record-field .student-group-link{margin:0 0 4px;display:block}.mobile-record-actions{border-top:1px solid var(--border);margin-top:10px;padding-top:8px}.mobile-record-card .mobile-record-actions .school-actions{flex-wrap:wrap;justify-content:flex-start;gap:6px;margin:0;display:flex}.mobile-record-card .mobile-record-actions .school-actions>.school-icon-button{flex:0 0 44px;min-width:44px;min-height:44px}.mobile-record-empty{color:var(--text-muted);margin:12px 0;font-size:13px}.mobile-record-actions{flex-wrap:wrap;gap:6px;display:flex}.mobile-record-field input[type=checkbox]{width:22px;height:22px;accent-color:var(--accent);margin:0}.mobile-record-field:has(input[type=checkbox]){align-items:center;min-height:44px}.mobile-record-field .course-badge-name,.mobile-record-card h3 .course-badge-name{white-space:normal;text-overflow:clip;overflow-wrap:anywhere;overflow:visible}@media (width<=720px){.dialog-content:has(.mobile-record-list){min-width:0}.mobile-record-list .lesson-mark-select{max-width:100%}.history-comparison-scroll{max-width:100%;overflow-x:auto}.history-comparison-scroll table{min-width:560px}.history-comparison-scroll th:first-child,.history-comparison-scroll td:first-child{z-index:1;white-space:normal;background:var(--surface);overflow-wrap:anywhere;width:110px;min-width:110px;max-width:110px;position:sticky;left:0}.history-comparison-scroll th:first-child{z-index:2}}.analytics-skeleton-piece.label{width:55%;height:16px}.analytics-skeleton-piece.wide{width:100%}.analytics-skeleton-piece.short{width:52px}.analytics-skeleton-piece.caption{width:70%;height:12px}.analytics-skeleton-piece.value{width:60%;height:32px}.analytics-skeleton-piece.action{width:105px;height:36px}.analytics-skeleton-piece.dot{border-radius:50%;width:12px;height:12px}.analytics-skeleton-row{border-top:1px solid var(--border);grid-template-columns:minmax(0,1fr) 60px;gap:9px 12px;padding:13px 0;display:grid}.analytics-skeleton-row>.label{grid-column:1}.analytics-skeleton-row>.wide{grid-area:2/1/auto/-1;height:5px}.analytics-skeleton-row>.short{grid-area:1/2}.analytics-skeleton-row>.caption{grid-column:1/-1}.analytics-skeleton-course{border-top:1px solid var(--border);grid-template-columns:minmax(130px,1fr) minmax(0,2fr) 52px;align-items:center;gap:16px;padding:15px 0;display:grid}.analytics-skeleton-course>.label{width:85%}.analytics-skeleton-course>.bar{width:85%;height:10px}.analytics-skeleton-course:nth-child(3n)>.bar{width:65%}.analytics-skeleton-course:nth-child(3n+2)>.bar{width:75%}.analytics-skeleton-option{border-bottom:1px solid var(--border);grid-template-columns:12px minmax(0,1fr) 52px;align-items:center;gap:10px;padding:12px 0;display:grid}.analytics-skeleton-field>.analytics-skeleton-decoration>.analytics-skeleton-piece{border:1px solid var(--border);border-radius:8px;height:40px}.analytics-skeleton-value>.analytics-skeleton-decoration>.analytics-skeleton-piece{width:110px;height:14px}.analytics-skeleton-summary,.analytics-skeleton-pagination{justify-content:space-between;align-items:center;gap:20px;margin:0 0 14px;display:flex}.analytics-skeleton-summary>.wide{max-width:50%;height:18px}.analytics-skeleton-pagination{margin:12px 0 0}.analytics-skeleton-pagination>.wide{width:150px}.analytics-skeleton-table{border-bottom:1px solid var(--border);display:grid;overflow:hidden}.analytics-skeleton-table>span{border-top:1px solid var(--border);padding:13px 10px}.analytics-skeleton-table .heading{background:var(--surface-subtle)}.analytics-skeleton-table .heading>.analytics-skeleton-piece{height:16px}.analytics-skeleton-metrics .metric-overview-grid{margin-top:26px}.analytics-skeleton-metrics .metric-card{align-items:start;position:relative}.analytics-skeleton-metrics .metric-card>.label{grid-area:1/1;width:95%;margin:7px 0}.analytics-skeleton-metrics .metric-card>.icon{grid-area:1/2;width:30px;height:30px}.analytics-skeleton-metrics .metric-card>.value,.analytics-skeleton-metrics .metric-card>.change,.analytics-skeleton-metrics .metric-card>.caption{grid-column:1/-1}.analytics-skeleton-metrics .metric-card>.change{width:70%}.analytics-skeleton-chart,.analytics-skeleton-chart>.analytics-skeleton-decoration{height:100%}.analytics-skeleton-graph{box-sizing:border-box;grid-template-rows:minmax(0,1fr) 30px;grid-template-columns:46px minmax(0,1fr);gap:8px 12px;height:100%;padding:18px 0 16px;display:grid}.analytics-skeleton-axis{flex-direction:column;justify-content:space-between;display:flex}.analytics-skeleton-axis .analytics-skeleton-piece{width:32px;height:12px}.analytics-skeleton-plot{background:repeating-linear-gradient(to bottom,var(--border) 0 1px,transparent 1px 25%);min-height:0}.analytics-skeleton-plot svg{width:100%;height:100%}.analytics-skeleton-plot path{stroke:var(--surface-hover);stroke-width:8px;fill:none;animation:1.5s ease-in-out infinite skeleton-pulse}.analytics-skeleton-dates{grid-column:2;justify-content:space-between;align-items:end;gap:12px;display:flex}.analytics-skeleton-dates .analytics-skeleton-piece{width:32px;height:12px}.analytics-skeleton-ring{aspect-ratio:1;box-sizing:border-box;border:25px solid var(--surface-hover);border-radius:50%;place-items:center;width:min(200px,100%);margin:4px auto 8px;animation:1.5s ease-in-out infinite skeleton-pulse;display:grid}.analytics-skeleton-ring>div{justify-items:center;gap:6px;width:100%;display:grid}.analytics-skeleton-ring .analytics-skeleton-piece{width:60px}.analytics-skeleton-ring .analytics-skeleton-piece.label{width:80px;height:12px}@media (prefers-reduced-motion:reduce){.analytics-skeleton-piece,.analytics-skeleton-ring,.analytics-skeleton-plot path{animation:none}}@media (width<=600px){.analytics-skeleton-course{grid-template-columns:minmax(0,1fr) 52px;gap:8px 12px}.analytics-skeleton-course>.label{grid-column:1/-1}.analytics-skeleton-table>span{padding:12px 5px}}.analytics-skeleton-value{flex:none;width:auto}.analytics-skeleton-donut .analytics-skeleton-option{padding:7px 0}.group-title-text{-webkit-line-clamp:2;line-clamp:2;white-space:normal;overflow-wrap:anywhere;width:18rem;min-width:0;max-width:100%;max-height:2.9em;text-align:inherit;-webkit-box-orient:vertical;line-height:1.45;display:-webkit-box;overflow:hidden}a:has(>.group-title-text):focus-visible{outline:2px solid var(--focus-ring,var(--accent));outline-offset:3px;border-radius:2px}.group-title-text.group-title-full{-webkit-line-clamp:unset;line-clamp:unset;width:auto;max-height:none;display:block;overflow:visible}.group-name-dialog .demo-dialog-header h2,.analytics-details-dialog .demo-dialog-header h2{overflow-wrap:anywhere;min-width:0}.group-name-dialog .dialog-header-actions{flex-shrink:0}.group-editor .group-title-counter{color:var(--text-muted);font-size:12px}.analytics-summary-heading>strong:has(.group-title-text){flex:1;min-width:0}@media (width<=720px){.mobile-record-card .group-title-text{width:100%}}.group-status-badge{box-sizing:border-box;white-space:normal;border-radius:6px;flex:0 auto;width:max-content;max-width:100%;height:auto;min-height:0;padding:4px 8px;font-size:11px;font-weight:600;line-height:1.3;display:inline-block}.group-status-badge.school-status-disbanded{background:var(--error-background);color:var(--error-text)}.group-status-neutral{background:var(--surface-subtle);color:var(--text-muted)}.metric-overview{min-width:0;margin:0 0 18px;container:metric-overview/inline-size}.metric-overview-caption{color:var(--text-muted);flex-wrap:wrap;justify-content:space-between;gap:6px;margin-bottom:8px;font-size:11px;display:flex}.metric-overview-error{color:var(--error-text)}.metric-overview-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px;display:grid}.metric-overview-grid.has-four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric-card{box-sizing:border-box;background:var(--surface);border:1px solid var(--border);border-radius:12px;grid-template-columns:minmax(0,1fr) 34px;align-content:start;align-items:start;gap:7px 12px;min-width:0;padding:16px 18px;display:grid;container:metric-card/inline-size}.metric-card-content{display:contents}.metric-card-content>*{grid-column:1/-1;min-width:0}.metric-card-button{text-align:left;cursor:pointer;font-family:inherit}.metric-card-button:disabled{cursor:default}.metric-card-button:not(:disabled):hover{border-color:var(--accent)}.metric-card-content>.metric-card-label{color:var(--text-secondary);overflow-wrap:break-word;grid-area:1/1;align-self:center;font-size:12px;font-weight:600;line-height:1.4}.metric-card-value{color:var(--text);font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:normal;word-break:normal;font-size:clamp(18px,10cqi,28px);font-weight:700;line-height:1.2}.metric-card-value-long{font-size:clamp(18px,8cqi,22px)}.metric-number{overflow-wrap:normal;word-break:normal}.metric-number-group{white-space:nowrap;overflow-wrap:normal;word-break:normal}.metric-card-detail{color:var(--text-muted);overflow-wrap:break-word;font-size:11px;line-height:1.4}.metric-card-icon{background:var(--accent-soft);width:34px;height:34px;color:var(--accent-text);border-radius:9px;grid-area:1/2;justify-content:center;align-items:center;display:flex}.metric-card-icon.green{color:#21683d;background:#e6f4eb}.metric-card-icon.red{background:var(--error-background);color:var(--error-text)}.metric-card-icon.blue{color:#355c93;background:#eaf1fc}[data-theme=dark] .metric-card-icon.green{color:#a1e1bc;background:#203f33}[data-theme=dark] .metric-card-icon.blue{color:#a8c9f5;background:#243247}.metric-card-change{overflow-wrap:break-word;flex-direction:column;gap:3px;font-size:12px;font-weight:600;line-height:1.4;display:flex}.metric-card-change small{color:var(--text-muted);font-size:10px;font-weight:400}.metric-card-change.positive{color:#21683d}.metric-card-change.negative{color:var(--error-text)}.metric-card-change.neutral{color:var(--text-muted)}[data-theme=dark] .metric-card-change.positive{color:#a1e1bc}.metric-skeleton{width:min(76px,100%);height:32px}@container metric-overview (width<=1120px){.metric-overview-grid.has-four{grid-template-columns:repeat(2,minmax(0,1fr))}}@container metric-overview (width<=840px){.metric-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container metric-overview (width<=560px){.metric-overview-grid,.metric-overview-grid.has-four{grid-template-columns:1fr;gap:8px}}@media (width<=1000px){.metric-overview-grid,.metric-overview-grid.has-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric-card,.analytics-page .metric-card{grid-template-columns:minmax(0,1fr) 24px;gap:5px 6px;padding:10px}.metric-card:has(.metric-card-header-tools){grid-template-columns:minmax(0,1fr) auto}.metric-card:has(.metric-card-header-tools) .metric-card-label{grid-column:1/-1}.metric-card:has(.metric-card-header-tools) .metric-card-header-tools{grid-area:2/1/auto/-1;justify-self:end}.metric-card-content>.metric-card-label{font-size:11px}.metric-card-icon{border-radius:7px;width:24px;height:24px}.metric-card-icon svg{width:14px;height:14px}.metric-card-value{font-size:clamp(18px,10cqi,24px)}.metric-card-value-long{font-size:18px}.metric-card-change{gap:2px;font-size:11px}.metric-skeleton{height:26px}@container metric-overview (width>=540px){.metric-overview-grid,.metric-overview-grid.has-four{grid-template-columns:repeat(3,minmax(0,1fr))}}@container metric-overview (width<=299px){.metric-overview-grid,.metric-overview-grid.has-four{grid-template-columns:1fr}}}.metric-list-actions{box-sizing:border-box;justify-content:flex-end;align-items:center;gap:8px;width:100%;padding:0 22px 16px;flex-wrap:wrap!important;display:flex!important}.metric-list-actions>.dp-button{flex:0 auto;max-width:100%;height:40px;min-height:40px;margin:0}@media (width<=600px){.metric-list-actions{padding:0 14px 14px}}.lesson-fields .lesson-group-field{gap:6px;display:grid}.lessons-api-page .lesson-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));align-items:start;gap:12px;padding:22px 22px 16px;display:grid}.lessons-api-page .lesson-filters>label,.lessons-api-page .lesson-filter-field{min-width:0;color:var(--dp-muted);gap:8px;margin:0;font-size:12px;font-weight:600;display:grid}.lessons-api-page .lesson-filters input,.lessons-api-page .lesson-filters select,.lessons-api-page .lesson-filters .course-select-trigger{box-sizing:border-box;width:100%;min-width:0;height:40px;min-height:40px}.lessons-api-page .school-list-actions{flex-wrap:wrap}.lessons-api-page .school-list-actions>.school-primary{margin-right:0}@media (width<=600px){.lessons-api-page .lesson-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lessons-api-page .lesson-filter-wide{grid-column:1/-1}}.lesson-fields input{box-sizing:border-box;border:1px solid var(--border-input);background:var(--surface);min-height:42px;color:var(--text);font:inherit;border-radius:8px;padding:0 11px}.lesson-fields input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.lesson-fields input[readonly]{background:var(--surface-subtle);color:var(--text-muted)}.lessons-api-page .dp-details dd{overflow-wrap:break-word;min-width:0}@media (width<=700px){.lessons-api-page .dialog-footer{flex-wrap:wrap}.lessons-api-page .dialog-footer>.dp-button{flex:120px}.lessons-api-page .dp-filters{align-items:stretch}}:is(.demo-dialog:has(.lesson-card-grid),.demo-dialog:has(.lesson-editor-grid)){width:min(1020px,100vw - 40px);max-width:1020px}.lesson-card-grid,.lesson-editor-grid{grid-template-columns:minmax(240px,1fr) minmax(0,1.65fr);align-items:start;gap:24px;display:grid}.lesson-card-grid.lesson-workshop,.lesson-editor-grid.lesson-workshop{grid-template-columns:minmax(240px,1fr) minmax(0,1fr)}.lesson-info,.lesson-fields,.lesson-roster-panel{min-width:0}.lesson-fields{flex-direction:column;gap:12px;display:flex}.lesson-fields label{gap:6px;display:grid}.lesson-fields input{width:100%}.lesson-card-grid .dp-details,.lesson-fields .dp-details{grid-template-columns:110px minmax(0,1fr);gap:8px 12px;margin:0;font-size:13px;display:grid}.lesson-card-grid .dp-details dt,.lesson-fields .dp-details dt{color:var(--text-muted)}.lesson-card-grid .dp-details dd,.lesson-fields .dp-details dd{overflow-wrap:break-word;min-width:0;margin:0}.lesson-audit{border-top:1px solid var(--border);color:var(--text-muted);overflow-wrap:break-word;margin-top:18px;padding-top:12px;font-size:12px}.lesson-audit p{margin:0 0 6px}.lesson-attendance-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px;display:flex}.lesson-attendance-heading h3{margin:0;font-size:15px}.lesson-attendance-heading>span{font-size:13px}.lesson-attendance-heading .dp-button{min-height:34px;padding:6px 10px}.lesson-attendance-table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:13px}.lesson-attendance-table th,.lesson-attendance-table td{text-align:left;border-bottom:1px solid var(--border);vertical-align:middle;overflow-wrap:break-word;padding:10px 8px}.lesson-attendance-table th{color:var(--text-muted);font-size:12px;font-weight:600}.lesson-attendance-table th:nth-child(2){width:148px}.lesson-attendance-editor th:nth-child(3){width:38px}.lesson-withdraw-heading{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.lesson-attendance-table .dp-link{white-space:normal;text-align:left;overflow-wrap:break-word}.lesson-attendance-table .school-mark{white-space:normal;gap:4px;font-size:12px;display:inline-flex}.school-mark-neutral{color:var(--text-muted);background:var(--surface-subtle)}.lesson-staged{color:var(--text-muted);margin-top:4px;font-size:11px;display:block}.lessons-api-page .school-list-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:0 22px 16px}.lessons-api-page .school-list-actions>.dp-button{box-sizing:border-box;min-height:40px}.lessons-api-page .lesson-filter-reset{justify-self:end;width:max-content;max-width:100%;min-height:40px}.lessons-api-page .school-actions{flex-wrap:nowrap;gap:6px;display:flex}.demo-dialog:has(.lesson-editor-grid)>.dialog-content>form{padding:20px}:is(.demo-dialog:has(.lesson-card-grid)>.dialog-footer,.demo-dialog:has(.lesson-editor-grid)>.dialog-footer){flex-shrink:0}@media (width<=700px){:is(.demo-dialog:has(.lesson-card-grid),.demo-dialog:has(.lesson-editor-grid)){width:calc(100vw - 20px);max-width:calc(100vw - 20px)}.lesson-card-grid,.lesson-editor-grid,.lesson-card-grid.lesson-workshop,.lesson-editor-grid.lesson-workshop{grid-template-columns:minmax(0,1fr);gap:20px}.demo-dialog:has(.lesson-editor-grid)>.dialog-content>form{padding:14px}.lesson-attendance-table th,.lesson-attendance-table td{padding:9px 4px}.lesson-attendance-table th:nth-child(2){width:128px}.lesson-attendance-editor th:nth-child(3){width:36px}.lesson-attendance-table .dp-button.school-icon-button{flex-basis:36px;width:36px;min-width:36px;height:36px;min-height:36px;padding:5px}.lesson-mark-select{font-size:12px;font-weight:400}}.demo-dialog:has(.lesson-editor-grid)>.dialog-content{flex:auto;display:block;overflow-y:auto}.demo-dialog:has(.lesson-card-grid)>.dialog-content{flex:auto}.lesson-row-attendance{flex-direction:column;align-items:flex-start;gap:3px;display:inline-flex}.lesson-row-attendance small{color:var(--text-muted);font-size:12px;font-weight:400}.lessons-api-page .school-list-actions>.dp-button{white-space:nowrap;height:40px;min-height:40px;margin:0}@media (width<=600px){.lessons-api-page .school-list-actions{gap:8px;padding:0 14px 14px}}.lesson-participation-summary{color:var(--text-muted);margin:0 0 10px;font-size:12px}.lesson-attendance-heading>.lesson-participation-summary{flex-basis:100%;order:2;margin:0}@media (width>=701px) and (width<=1000px){.lesson-card-grid,.lesson-editor-grid,.lesson-card-grid.lesson-workshop,.lesson-editor-grid.lesson-workshop{grid-template-columns:minmax(0,1fr)}}@media (width<=400px){.lesson-card-grid .dp-details,.lesson-fields .dp-details{grid-template-columns:minmax(0,1fr)}.lesson-card-grid .dp-details dd,.lesson-fields .dp-details dd{margin-bottom:8px}}.lessons-api-page .dp-panel>.school-list-actions:has(>button){flex-wrap:wrap;grid-template-columns:none;align-items:center;min-width:0;display:flex}.lessons-api-page .school-list-actions>.dp-button{flex:0 auto;max-width:100%}.lessons-api-page .lesson-period{grid-column:span 2;grid-template-columns:subgrid;align-self:start;row-gap:5px;min-width:0;display:grid}.lessons-api-page .lesson-period-fields{grid-column:1/-1;grid-template-columns:subgrid;align-items:start;min-width:0;display:grid}.lessons-api-page .lesson-period-fields>label{min-width:0;color:var(--dp-muted);gap:8px;margin:0;font-size:12px;font-weight:600;display:grid}.lessons-api-page .lesson-period-extra{grid-column:1/-1;gap:2px;min-width:0;display:grid}.lessons-api-page .lesson-period-extra .lesson-period-all-time{color:var(--text-muted);flex-direction:row;align-items:center;gap:6px;margin:0;font-size:12px;font-weight:400;display:flex}.lessons-api-page .lesson-period-extra .lesson-period-all-time input{width:15px;height:15px;min-height:0;accent-color:var(--accent-text);margin:0;padding:0}.lesson-bounds-status{min-width:0;height:14px;color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;line-height:14px;display:block;overflow:hidden}@media (width<=900px){.lessons-api-page .lesson-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=600px){.lessons-api-page .lesson-filters{padding:14px 14px 16px}}.lessons-api-page .dp-panel>.lesson-list-actions{box-sizing:border-box;flex-wrap:wrap;grid-template-columns:none;justify-content:flex-end;align-items:center;width:100%;display:flex}.lessons-api-page .lesson-period-extra{flex-wrap:wrap;align-items:center;gap:4px 10px;display:flex}.lessons-api-page .metric-card:has(.lesson-reward-toggle){grid-template-columns:minmax(0,1fr) auto}.lessons-api-page .metric-card-header-tools{grid-area:1/2;align-items:center;gap:6px;display:flex}.lessons-api-page .lesson-reward-toggle{width:34px;height:34px;min-height:34px;color:var(--text-muted);background:var(--surface);border-color:var(--border);padding:7px}.lessons-api-page .lesson-reward-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.lessons-api-page .lesson-reward-mask{white-space:nowrap;color:inherit;font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none;align-items:baseline;display:inline-flex}.lessons-api-page .lesson-reward-mask-digits{filter:blur(3px);letter-spacing:.12em;display:inline-block}.lessons-api-page .lesson-reward-value-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.lessons-api-page .lesson-reward-field{gap:6px;min-width:0;display:grid}.lessons-api-page .lesson-reward-field-heading{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.lessons-api-page .lesson-reward-field-heading label{min-width:0}.lessons-api-page .lesson-reward-toggle{flex:0 0 34px}.lessons-api-page .lesson-reward-field-mask{box-sizing:border-box;border:1px solid var(--border-input);background:var(--surface);min-height:42px;color:var(--text);font:inherit;border-radius:8px;align-items:center;min-width:0;padding:0 11px;display:flex}.analytics-page{--analytics-regular:var(--accent-text);--analytics-individual:#c76a16;--analytics-meter:#4686c6;--analytics-workshop:#288b8d;--analytics-attendance:#288b8d;gap:14px;container:analytics-layout/inline-size}[data-theme=dark] .analytics-page{--analytics-regular:#ac8aef;--analytics-individual:#f2a65a;--analytics-meter:#67b9eb;--analytics-workshop:#67c9c5;--analytics-attendance:#67c9c5}.analytics-page [hidden]{display:none!important}.analytics-page .dp-panel{box-shadow:none}.analytics-page .dp-panel-heading{flex-wrap:wrap;align-items:center;gap:8px}.analytics-page h2{margin:0;font-size:17px;font-weight:650}.analytics-page .dp-button{white-space:normal;min-height:40px}.analytics-page .dp-no-data{margin:0;padding:12px 0;font-size:13px}.analytics-page .analytics-overview{min-width:0;position:relative}.analytics-page .metric-overview{margin:0}.analytics-page .metric-overview-caption{min-height:20px;margin-bottom:6px;font-size:12px}.analytics-page .metric-overview-grid.has-four{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.analytics-page .metric-card{background:var(--surface);border-radius:12px;gap:7px 8px;min-height:0;padding:14px 16px}.analytics-page .metric-card-label{font-size:13px}.analytics-page .metric-card-icon{width:30px;height:30px}.analytics-page .metric-card-value{order:1;font-size:28px;line-height:1.25}.analytics-page .metric-card-value-long{font-size:24px}.analytics-page .metric-card-change{order:2;font-size:13px}.analytics-page .metric-card-change small{font-size:12px;line-height:1.4}.analytics-page .metric-card-detail{color:var(--error-text);order:3;font-size:12px}.analytics-page summary:focus-visible{outline:2px solid var(--focus-ring,var(--accent));outline-offset:3px;border-radius:4px}.analytics-page .analytics-filter-panel{padding:14px 16px;overflow:visible}.analytics-page .analytics-actions{box-sizing:border-box;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;width:100%;margin:10px 0 0;padding:0;display:flex!important}.analytics-page .analytics-actions>.dp-button{height:40px;min-height:40px;margin:0}.analytics-page .lesson-filters.analytics-filters{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),220px));justify-content:start;gap:10px 12px;margin:0;padding:0}.analytics-page .analytics-filters>.lesson-filter-wide{grid-column:auto}.analytics-page .analytics-filters .lesson-period{grid-column:span 2}.analytics-page .analytics-filters .lesson-period-fields>label,.analytics-page .analytics-filters>label,.analytics-page .analytics-filters>.lesson-filter-field{gap:5px}.analytics-page .analytics-chart-grid{grid-template-columns:minmax(0,2fr) minmax(270px,1fr);align-items:stretch;gap:14px;margin:0;display:grid}.analytics-page .analytics-chart-card,.analytics-page .analytics-distribution{background:var(--surface);min-width:0;margin:0;padding:16px}.analytics-page .analytics-chart-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.analytics-page .analytics-chart-switch{background:var(--surface-hover);border-radius:8px;flex-wrap:wrap;gap:3px;padding:3px;display:flex}.analytics-page .analytics-chart-switch button{color:var(--text-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:7px 9px;font-size:12px;line-height:1.4}.analytics-page .analytics-chart-switch button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-text)}.analytics-page .analytics-chart-switch button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.analytics-page .analytics-chart-legend{min-height:36px;color:var(--text-secondary);flex-wrap:wrap;align-items:center;gap:8px 12px;padding:5px 0;font-size:12px;display:flex}.analytics-page .analytics-chart-legend>span{align-items:center;gap:5px;display:flex}.analytics-page .analytics-chart-legend i,.analytics-page .analytics-tooltip-values i{background:var(--analytics-regular);border-radius:3px;flex:none;width:8px;height:8px;margin-right:4px;display:inline-block}.analytics-page .analytics-chart-legend i.attendance{background:var(--analytics-attendance)}.analytics-page .analytics-chart-legend small{color:var(--text-muted);margin-left:auto;font-size:12px}.analytics-page .analytics-chart-plot{min-width:0;height:260px;position:relative}.analytics-page .analytics-chart-plot svg{max-width:100%;font-family:inherit;font-size:12px;display:block;overflow:hidden}.analytics-page .analytics-chart-axis line{stroke:var(--border);stroke-width:1px;stroke-dasharray:3 4}.analytics-page .analytics-chart-axis text,.analytics-page .analytics-chart-date{fill:var(--text-muted);font-family:inherit;font-size:12px}.analytics-page .analytics-chart-guide{stroke:var(--border-input);stroke-dasharray:4 4}.analytics-page .analytics-chart-hit{fill:#0000}.analytics-page .analytics-chart-point{cursor:pointer;outline:none}.analytics-page .analytics-chart-point:focus-visible .analytics-chart-hit{stroke:var(--focus-ring,var(--accent));stroke-width:2px}.analytics-page .analytics-chart-tooltip{z-index:1;box-sizing:border-box;border:1px solid var(--border);background:var(--surface);overflow-wrap:anywhere;pointer-events:none;border-radius:9px;flex-direction:column;gap:5px;width:min(280px,100% - 16px);max-height:222px;padding:10px 12px;font-size:12px;line-height:1.4;display:flex;position:absolute;top:8px;overflow:auto}.analytics-page .analytics-tooltip-values{flex-direction:column;gap:3px;display:flex}.analytics-page .analytics-incomplete{color:var(--error-text)}.analytics-page .analytics-chart-state{height:100%;min-height:220px;color:var(--text-muted);justify-content:center;align-items:center;margin:0;font-size:13px;display:flex}.analytics-page .analytics-distribution h2{margin-bottom:8px}.analytics-page .analytics-donut{width:min(200px,100%);margin:4px auto 8px;position:relative}.analytics-page .analytics-donut svg{width:100%;height:auto;display:block}.analytics-page .analytics-donut-track{stroke:var(--border)}.analytics-page .analytics-donut-center{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex;position:absolute;inset:0}.analytics-page .analytics-donut-center strong{font-variant-numeric:tabular-nums;font-size:27px;line-height:1.2}.analytics-page .analytics-donut-center span{color:var(--text-muted);font-size:12px}.analytics-page .analytics-distribution-legend{margin:0;padding:0;list-style:none}.analytics-page .analytics-distribution-legend li{border-top:1px solid var(--border);grid-template-columns:8px minmax(0,1fr) auto 44px;align-items:center;gap:8px;padding:7px 0;font-size:13px;display:grid}.analytics-page .analytics-distribution-legend i{border-radius:3px;height:8px}.analytics-page .analytics-distribution-legend small{text-align:right;color:var(--text-muted);font-size:12px}.analytics-page .analytics-role-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;margin:0;display:grid}.analytics-page .analytics-role-block{min-width:0;margin:0;padding:16px}.analytics-page .analytics-role-block .dp-panel-heading{padding:0 0 10px}.analytics-page .analytics-role-list{margin:0;padding:0;list-style:none}.analytics-page .analytics-role-list li{border-top:1px solid var(--border);overflow-wrap:anywhere;flex-direction:column;gap:4px;padding:10px 0;display:flex}.analytics-page .analytics-role-list li span,.analytics-page .analytics-role-list li small{font-size:13px;line-height:1.4}.analytics-page .analytics-role-list li div{flex-wrap:wrap;gap:8px;display:flex}.analytics-page .analytics-role-list .analytics-summary-heading{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.analytics-page .analytics-summary-heading strong{font-size:14px;line-height:1.4}.analytics-page .analytics-summary-heading>span{font-variant-numeric:tabular-nums;text-align:right;color:var(--accent-text)}.analytics-page .analytics-role-list .analytics-meter{background:var(--surface-hover);border-radius:4px;height:5px;margin:3px 0;display:block;overflow:hidden}.analytics-page .analytics-meter i{background:var(--analytics-meter);border-radius:4px;height:100%;display:block}.analytics-page .analytics-summary-meta{color:var(--text-muted);align-items:center}.analytics-page .analytics-summary-meta>span{margin-right:auto;font-size:12px!important}.analytics-page .analytics-summary-meta .dp-link{font-size:12px}.analytics-page .analytics-role-caption{margin:0 0 8px;font-size:12px}.analytics-page .analytics-role-caption:empty{display:none}.analytics-page .analytics-positive{color:var(--analytics-attendance)!important}.analytics-page .analytics-negative{color:var(--error-text)!important}.analytics-page .analytics-list-controls{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:12px;display:flex}.analytics-page .analytics-list-controls label{flex-direction:column;gap:6px;display:flex}.analytics-page .analytics-list-controls select{background:var(--surface);color:var(--text);border:1px solid var(--border);padding:8px var(--select-text-inset) 8px 8px;border-radius:6px}@container analytics-layout (width<=1000px){.analytics-page .metric-overview-grid.has-four{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-page .analytics-chart-grid{grid-template-columns:minmax(0,1fr)}.analytics-page .analytics-distribution{grid-template-columns:minmax(150px,1fr) minmax(0,1fr);align-items:center;column-gap:20px;display:grid}.analytics-page .analytics-distribution h2,.analytics-page .analytics-distribution>.analytics-chart-state{grid-column:1/-1}.analytics-page .analytics-actions{padding-top:0}.analytics-page .analytics-role-grid{grid-template-columns:1fr}}@container analytics-layout (width<=520px){.analytics-page .metric-overview-grid.has-four{grid-template-columns:1fr}.analytics-page .analytics-distribution{display:block}.analytics-page .analytics-chart-heading{flex-direction:column;align-items:start}.analytics-page .analytics-actions{justify-content:flex-end}.analytics-page .lesson-filters.analytics-filters{grid-template-columns:1fr}.analytics-page .analytics-filters .lesson-period{grid-column:1/-1;display:block}.analytics-page .analytics-filters .lesson-period-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.analytics-page .analytics-filters .lesson-period-extra{margin-top:6px}.analytics-page .analytics-summary-heading{grid-template-columns:1fr!important;gap:4px!important}.analytics-page .analytics-summary-heading>span{text-align:left}}.analytics-page .analytics-empty-groups{padding:0 16px 12px;font-size:13px}.analytics-page .analytics-series-layer,.analytics-page .analytics-chart-date{pointer-events:none}.analytics-page .analytics-series-area{fill:currentColor;fill-opacity:.09;stroke:none}.analytics-page .analytics-series-line{fill:none;stroke:currentColor;stroke-width:2.25px;stroke-linejoin:round;stroke-linecap:round}.analytics-page .analytics-series-dot{fill:var(--surface);stroke:currentColor;stroke-width:2px}.analytics-page .analytics-series-incomplete{fill:var(--surface);fill-opacity:.6;stroke:currentColor;stroke-width:1.5px;stroke-dasharray:2 2}.analytics-page .analytics-chart-date-label{pointer-events:none}.analytics-page .analytics-chart-date-label line{stroke:var(--border);stroke-width:1px}.analytics-page .analytics-chart-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;margin:5px 0;display:flex}.analytics-page .analytics-chart-scale{background:var(--surface-hover);border-radius:7px;flex-wrap:wrap;align-items:center;gap:2px;padding:2px;display:flex}.analytics-page .analytics-chart-scale button{font:inherit;color:var(--text-secondary);cursor:pointer;background:0 0;border:0;border-radius:5px;padding:6px 8px;font-size:12px}.analytics-page .analytics-chart-scale button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-text)}.analytics-page .analytics-chart-scale button:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.analytics-page .analytics-chart-unit{fill:var(--text-muted);font-family:inherit;font-size:12px}.analytics-page .analytics-chart-state{text-align:center;box-sizing:border-box;padding:12px}.analytics-page .analytics-details-dialog{width:min(1120px,100vw - 32px);max-width:calc(100vw - 32px);height:auto;min-height:0;max-height:calc(100dvh - 32px);padding:0;overflow:hidden}.analytics-page .analytics-details-dialog[open]{flex-direction:column;display:flex}.analytics-page .analytics-details-dialog>.demo-dialog-header{flex:none;gap:12px;margin:0;padding:12px 16px}.analytics-page .analytics-details-dialog>.demo-dialog-header h2{margin:0;font-size:18px;line-height:1.4}.analytics-page .analytics-details-dialog>.dialog-content{overscroll-behavior:contain;min-height:0;padding:14px 16px;overflow-y:auto}.analytics-page .analytics-details-summary{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;margin-bottom:14px;display:flex}.analytics-page .analytics-details-summary>p{overflow-wrap:anywhere;flex:260px;margin:0;font-size:13px;line-height:1.5}.analytics-page .analytics-details-summary>.dp-button{flex:none;margin:0}.analytics-page .analytics-details-dialog .dp-table-scroll{width:100%;max-width:100%;overflow-x:auto}.analytics-page .analytics-details-dialog .dp-table{width:100%;min-width:760px}.analytics-page .analytics-details-dialog .dp-table th,.analytics-page .analytics-details-dialog .dp-table td{vertical-align:top;padding:10px 12px}.analytics-page .analytics-details-dialog .shared-pagination{gap:8px;margin:0;padding:10px 0 0}@media (width<=600px){.analytics-page .analytics-details-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.analytics-page .analytics-details-dialog>.demo-dialog-header,.analytics-page .analytics-details-dialog>.dialog-content{padding:12px}.analytics-page .analytics-details-dialog>.demo-dialog-header h2{font-size:16px}.analytics-page .analytics-details-summary>p{flex-basis:100%}.analytics-page .analytics-details-summary>.dp-button{margin-left:auto}}.analytics-page .analytics-group-controls{gap:8px 10px;margin:0 0 12px}.analytics-page .analytics-group-controls label{color:var(--text-muted);min-width:0;font-size:12px}.analytics-page .analytics-group-controls input,.analytics-page .analytics-group-controls select{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);max-width:100%;min-height:40px;color:var(--text);font:inherit;border-radius:7px;padding:8px 10px}.analytics-page .analytics-groups-panel .shared-pagination,.analytics-page .analytics-courses-panel .shared-pagination{gap:8px;margin:0;padding:12px 0 0}.analytics-page .analytics-course-bars{margin:0;padding:0;list-style:none}.analytics-page .analytics-course-bars li{border-top:1px solid var(--border)}.analytics-page .analytics-course-row{width:100%;color:var(--text);text-align:left;font:inherit;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(180px,1fr) minmax(0,2fr) auto;align-items:center;gap:16px;padding:12px 0;display:grid}.analytics-page .analytics-course-row strong{overflow-wrap:break-word;border-left:3px solid var(--border);min-width:0;padding-left:10px;font-size:14px;line-height:1.45}.analytics-page .analytics-course-row b{font-variant-numeric:tabular-nums;font-size:14px}.analytics-page .analytics-course-row:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:5px}.analytics-page .analytics-course-row:hover strong{color:var(--accent-text)}.analytics-page .analytics-course-track{background:var(--surface-hover);border-radius:5px;min-width:0;height:10px;display:flex;overflow:hidden}.analytics-page .analytics-course-track i{flex:none;height:100%;display:block}@container analytics-layout (width<=600px){.analytics-page .analytics-course-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.analytics-page .analytics-course-row strong{grid-column:1/-1}.analytics-page .analytics-group-controls{align-items:stretch}.analytics-page .analytics-group-controls>label{flex:140px}}.analytics-page .analytics-filter-error{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);min-height:40px;color:var(--error-text);border-radius:8px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-size:12px;display:flex}.analytics-page .analytics-filter-error .dp-link{font-size:12px}.analytics-page .analytics-chart-state{flex-direction:column;gap:12px}.analytics-page .analytics-distribution>.analytics-skeleton{grid-column:1/-1}@container analytics-layout (width>=521px) and (width<=1000px){.analytics-page .analytics-distribution .analytics-skeleton-decoration{grid-template-columns:minmax(150px,1fr) minmax(0,1fr);align-items:center;gap:20px;display:grid}.analytics-page .analytics-distribution .analytics-skeleton-ring{margin:4px auto 8px}}.analytics-page .analytics-other-role-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))}.analytics-page .analytics-groups-panel{box-sizing:border-box;width:100%}.analytics-page .analytics-attendance-list{margin:0;padding:0;list-style:none}.analytics-page .analytics-attendance-row{border-top:1px solid var(--border);grid-template-columns:minmax(180px,1fr) minmax(140px,300px) 110px 80px;align-items:center;gap:6px 20px;max-width:1120px;margin:0 auto;padding:12px 0;font-size:13px;display:grid}.analytics-page .analytics-attendance-group{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;display:flex}.analytics-page .analytics-attendance-group strong{overflow-wrap:break-word;max-width:100%;font-size:14px;line-height:1.4}.analytics-page .analytics-attendance-group .course-badge{max-width:100%}.analytics-page .analytics-attendance-meter{background:var(--surface-hover);border-radius:5px;min-width:0;height:6px;overflow:hidden}.analytics-page .analytics-attendance-meter>i{background:var(--analytics-meter);border-radius:5px;height:100%;display:block}.analytics-page .analytics-attendance-value{font-variant-numeric:tabular-nums;flex-direction:column;align-items:flex-end;gap:4px;display:flex}.analytics-page .analytics-attendance-value strong{color:var(--accent-text);font-size:15px}.analytics-page .analytics-attendance-value small{color:var(--text-muted);font-size:12px}.analytics-page .analytics-attendance-action{justify-self:end;font-size:13px}.analytics-page .analytics-attendance-state{color:var(--text-muted);grid-column:2/4}.analytics-page .analytics-attendance-change{min-width:0;color:var(--text-muted);grid-column:2/-1}.analytics-page .analytics-attendance-change .dp-subtext{margin:0;font-size:12px;line-height:1.4}.analytics-page .analytics-group-footer{border-top:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:6px;padding-top:12px;font-size:12px;display:flex}.analytics-page .analytics-group-footer-settings{flex-wrap:wrap;align-items:center;gap:10px 16px;min-width:0;display:flex}.analytics-page .analytics-group-footer-settings>label{align-items:center;gap:8px;display:flex}.analytics-page .analytics-group-footer select{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);min-height:36px;color:var(--text);padding:6px var(--select-text-inset) 6px 8px;font:inherit;border-radius:7px;max-width:100%}.analytics-page .analytics-group-footer>.shared-pagination{justify-content:flex-end;width:auto;margin-left:auto;padding:0}.analytics-page .analytics-skeleton-attendance .analytics-attendance-group>.label{width:80%}.analytics-page .analytics-skeleton-attendance .analytics-attendance-group>.caption{width:60%}.analytics-page .analytics-skeleton-attendance .analytics-attendance-meter>.analytics-skeleton-piece{height:6px}.analytics-page .analytics-skeleton-attendance .analytics-attendance-value>.caption{width:65px}@container analytics-layout (width<=800px){.analytics-page .analytics-attendance-row{grid-template-columns:minmax(0,1fr) 100px 75px;gap:8px 12px}.analytics-page .analytics-attendance-group{grid-column:1/-1}.analytics-page .analytics-attendance-meter{grid-area:2/1}.analytics-page .analytics-attendance-value{grid-area:2/2}.analytics-page .analytics-attendance-action{grid-area:2/3}.analytics-page .analytics-attendance-state{grid-area:2/1/auto/3}.analytics-page .analytics-attendance-change{grid-column:1/-1}.analytics-page .analytics-group-footer>.shared-pagination{margin-left:0}.analytics-page .analytics-skeleton-attendance .analytics-attendance-row>.short{grid-area:2/3}}@container analytics-layout (width<=400px){.analytics-page .analytics-attendance-row{grid-template-columns:minmax(0,1fr) 85px}.analytics-page .analytics-attendance-action{grid-area:3/2}.analytics-page .analytics-attendance-state,.analytics-page .analytics-attendance-change{grid-column:1/-1}.analytics-page .analytics-group-footer-settings{gap:10px 12px}.analytics-page .analytics-skeleton-attendance .analytics-attendance-row>.short{grid-area:3/2}}.analytics-page .analytics-attendance-group{text-align:left;justify-content:flex-start;align-items:flex-start}.analytics-page .analytics-attendance-group .course-badge{text-align:left;white-space:normal;justify-content:flex-start;place-self:flex-start start;width:fit-content;max-width:100%;margin:0}.analytics-page .analytics-attendance-group .course-badge-name{white-space:normal;word-break:normal;overflow-wrap:break-word;text-align:left}.analytics-page .analytics-group-footer{box-sizing:border-box;min-width:0;max-width:100%}.analytics-page .analytics-group-footer-settings{box-sizing:border-box;flex:360px;max-width:100%}.analytics-page .analytics-group-footer-settings>label{flex-wrap:wrap;min-width:0;max-width:100%}.analytics-page .analytics-group-footer>.shared-pagination{box-sizing:border-box;border-top:0;flex:0 auto;min-width:0;max-width:100%}.analytics-page .analytics-group-footer>.shared-pagination nav{flex-wrap:wrap;justify-content:flex-end;min-width:0;max-width:100%}.analytics-page .analytics-sort-control{align-items:center;gap:6px;min-width:0;max-width:100%;display:inline-flex}.analytics-page .analytics-sort-trigger{min-width:0;max-width:100%;font:inherit;white-space:normal;text-align:left;font-size:12px}.analytics-page .analytics-sort-direction{min-width:36px;font:inherit;flex:none;padding:6px 10px;font-size:16px}.analytics-page .analytics-sort-popover{box-sizing:border-box;border:1px solid var(--border-input);background:var(--surface);color:var(--text);font:inherit;overscroll-behavior:contain;border-radius:9px;margin:0;padding:5px;position:fixed;inset:auto;overflow-y:auto;box-shadow:0 3px 10px #0002}.analytics-page .analytics-sort-popover:popover-open{flex-direction:column;gap:2px;display:flex}.analytics-page .analytics-sort-popover>button{width:100%;min-width:0;color:inherit;text-align:left;font:inherit;cursor:pointer;overflow-wrap:break-word;background:0 0;border:0;border-radius:6px;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;font-size:13px;line-height:1.4;display:flex}.analytics-page .analytics-sort-popover>button:hover,.analytics-page .analytics-sort-popover>button:focus-visible{background:var(--surface-hover)}.analytics-page .analytics-sort-popover>button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.analytics-page .analytics-sort-popover>button[aria-checked=true]{background:var(--accent-soft);color:var(--accent-text)}@container analytics-layout (width<=600px){.analytics-page .analytics-group-footer-settings{flex-basis:100%}.analytics-page .analytics-group-footer>.shared-pagination{justify-content:flex-start;width:100%;margin:0}.analytics-page .analytics-group-footer>.shared-pagination nav{justify-content:flex-start}}.analytics-page .analytics-attendance-group>strong>.dp-link{text-align:left;justify-content:flex-start;margin:0;padding:0}.analytics-page .metric-card-with-action{position:relative}.analytics-page .metric-card-main-action{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;width:100%;height:100%;margin:0;padding:0;position:absolute;inset:0}.analytics-page .metric-card-main-action:focus-visible{outline:2px solid var(--focus-ring,var(--accent));outline-offset:2px}.analytics-page .metric-card-with-action:has(.metric-card-main-action:hover){border-color:var(--accent)}.analytics-page .metric-card-with-action .metric-card-detail{flex-wrap:wrap;align-items:center;gap:4px 8px;display:flex}.analytics-page .metric-card-detail-action{z-index:2;max-width:100%;min-height:28px;font:inherit;text-align:left;white-space:normal;border-radius:5px;flex:0 auto;padding:4px 6px;line-height:1.4;position:relative}.analytics-page .metric-card-detail-action:focus-visible{outline:2px solid var(--focus-ring,var(--accent));outline-offset:2px}.analytics-page .analytics-export-controls{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;min-width:0;max-width:100%;display:flex}.analytics-page .analytics-export-controls select{box-sizing:border-box;max-width:100%;min-height:40px;padding:7px var(--select-text-inset) 7px 9px;border:1px solid var(--border-input,var(--border));background:var(--surface);color:var(--text);font:inherit;border-radius:8px;font-size:12px}.analytics-page .analytics-export-controls>.dp-button{margin:0}.analytics-page .analytics-details-summary>.analytics-export-controls{margin-left:auto}.analytics-page .analytics-group-controls select{padding-right:var(--select-text-inset,36px)}.storage-notice{left:max(24px,env(safe-area-inset-left));bottom:max(24px,env(safe-area-inset-bottom));box-sizing:border-box;border:1px solid var(--border-input);background:var(--surface);width:min(430px,100vw - 48px);color:var(--text);box-shadow:0 6px 24px var(--card-shadow);z-index:9000;border-radius:19px;padding:16px 18px;font-size:13px;line-height:1.5;position:fixed}.storage-notice p{overflow-wrap:break-word;margin:0}.storage-notice-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:16px;margin-top:10px;display:flex}.storage-notice-actions button{font:inherit}.storage-information-link{font:inherit;white-space:normal;text-align:left}.storage-information-link:focus-visible,.storage-notice button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:3px}@supports ((-webkit-backdrop-filter:blur(12px)) or (backdrop-filter:blur(12px))){.storage-notice{background:color-mix(in srgb,var(--surface) 94%,transparent);-webkit-backdrop-filter:blur(12px)}}.storage-information-unread{padding-bottom:190px}.storage-notice-in-dialog{width:100%;box-shadow:none;margin-top:16px;position:static}.storage-information-dialog{width:min(720px,100vw - 32px)}.storage-information-dialog dt{margin-top:16px;font-weight:600}.storage-information-dialog dd{margin:6px 0 0;line-height:1.6}.storage-information-dialog code{overflow-wrap:anywhere}@media (width<=900px){.storage-information-unread{padding-bottom:0}.storage-notice{width:auto;margin:16px max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));padding:14px 16px;position:static}.storage-notice-in-dialog{width:100%;margin:16px 0 0}.storage-notice-actions{gap:12px}}@media (prefers-reduced-motion:reduce){.storage-notice button{transition:none}}.school-password-field{color:var(--text-secondary);gap:8px;min-width:0;margin:12px 0;font-size:13px;display:grid}.school-password-field>.school-field-action{gap:8px;width:100%;min-width:0;display:flex}.school-password-field .school-field-action input{box-sizing:border-box;border:1px solid var(--border-input);background:var(--surface);width:0;min-width:0;height:40px;color:var(--text);font:inherit;border-radius:8px;flex:1 1 0;padding:0 11px}.school-password-field .school-field-action input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.school-password-field .school-field-action input[aria-invalid=true]{border-color:var(--error-text)}.school-password-field .school-field-action>.school-icon-button{flex:0 0 40px;width:40px;height:40px;margin:0}.branch-badge{letter-spacing:.02em;white-space:nowrap;border-radius:20px;align-items:center;padding:3px 9px;font-size:11px;font-weight:600;display:inline-flex}.branch-badge--ok{background:var(--success-soft,#e7f5ed);color:var(--success,#24714c)}.branch-badge--blocked{background:var(--error-background,#fbeaec);color:var(--error-text,#a4374b)}.branch-add-btn{white-space:nowrap;flex-shrink:0;margin-left:auto}@media (width<=500px){.branch-add-btn{width:100%;margin-left:0}}.branch-name-btn{cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-weight:500}.branch-status{color:var(--dp-muted);align-items:center;gap:10px;padding:20px 24px;font-size:13px;display:flex}.branch-spinner{border:2px solid var(--border,#e6e1ed);border-top-color:var(--accent,#7950c3);vertical-align:middle;border-radius:50%;flex-shrink:0;width:15px;height:15px;animation:.7s linear infinite bc-spin;display:inline-block}.bc-body{flex-direction:column;gap:12px;display:flex}.bc-panel{background:var(--surface-subtle,var(--dp-soft,#f7f4fb));border:1px solid var(--border,var(--dp-line,#e6e1ed));border-radius:10px;padding:14px 16px}.bc-panel-title{color:var(--text,var(--dp-text));letter-spacing:.01em;margin:0 0 10px;font-size:12px;font-weight:700}.bc-panel-body{flex-direction:column;gap:8px;display:flex}.bc-panel-grid{grid-template-columns:1fr 1fr;gap:8px 20px;display:grid}@media (width<=480px){.bc-panel-grid{grid-template-columns:1fr}}.bc-field{flex-direction:column;gap:2px;min-width:0;display:flex}.bc-field-label{color:var(--text-secondary,var(--dp-muted));font-size:11px}.bc-field-value{color:var(--text,var(--dp-text));word-break:break-word;overflow-wrap:anywhere;font-size:13px}.bc-none{color:var(--text-secondary,var(--dp-muted));font-style:italic}.bc-link{word-break:break-all;font-size:13px}.bc-connected{color:var(--text-secondary,var(--dp-muted));align-items:baseline;gap:6px;margin:0;font-size:12px;display:flex}.bc-connected .bc-field-label{font-size:12px}.api-groups .group-search-hint{margin:0;padding:0 22px 12px}.api-groups>.dp-panel>.dp-filters>.group-search-field{flex:0 190px;min-width:180px;max-width:220px}.api-groups>.dp-panel>.dp-filters>.group-course-field{flex:0 340px;min-width:320px;max-width:420px}@media (width<=760px){.api-groups>.dp-panel>.dp-filters>.group-search-field,.api-groups>.dp-panel>.dp-filters>.group-course-field{flex:100%;min-width:0;max-width:none}}.api-groups .group-delete-unavailable{max-width:190px;color:var(--text-muted);font-size:11px}.group-editor{flex:auto;min-height:0}.group-editor .dialog-form-body{flex:auto;padding-top:24px;padding-bottom:28px;scroll-padding:24px}.group-editor .school-form{align-items:start;margin-top:0}.group-editor .school-form label{align-content:start;min-width:0}.group-editor .school-form input,.group-editor .school-form select{min-height:42px}.group-editor .group-editor-fields{border:0;min-width:0;padding:0}.group-editor .group-title-field{grid-column:1/-1}.group-editor .dp-error{overflow-wrap:anywhere;font-size:12px}@media (width<=600px){.group-editor .school-form{grid-template-columns:minmax(0,1fr)}.group-editor .dialog-form-body{padding-top:20px;padding-bottom:24px}.api-groups .group-search-hint{padding:0 14px 12px}}.demo-dialog:has(.group-card-body)>.dialog-content{flex:auto}.group-card-body{min-width:0}.group-card-body .dp-details{grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:10px 16px;margin:0 0 14px}.group-card-body .group-delete-note{margin:0 0 16px;font-size:12px}.group-roster .school-section-header{margin:0 0 12px;padding:0}.group-roster .school-section-header h3{margin:0}.group-roster .dp-filters{padding:0 0 16px}.api-groups>.dp-panel .dp-table{min-width:1000px}.group-roster .dp-table{min-width:760px}.group-roster .dp-table-scroll{max-width:100%;overflow-x:auto}.group-roster .dp-pagination{gap:12px;padding:14px 0 0}.group-date-fields{grid-template-columns:minmax(0,1fr);max-width:360px}.group-date-fields input[type=date]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;height:42px}:root[data-theme=dark] .group-date-fields input[type=date]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.group-date-fields input[aria-invalid=true]{border-color:var(--error-text)}@media (width<=600px){.group-card-body .dp-details{grid-template-columns:105px minmax(0,1fr);gap:8px 12px}.demo-dialog:has(.group-card-body)>.dialog-footer{flex-wrap:wrap}.demo-dialog:has(.group-card-body)>.dialog-footer>button{flex:140px}}.additional-information-value{white-space:pre-wrap;overflow-wrap:anywhere}:root{--attendance-present-bg:#e6f4eb;--attendance-present-text:#21683d;--attendance-absent-bg:var(--error-background);--attendance-absent-text:var(--error-text)}:root[data-theme=dark]{--attendance-present-bg:#203f33;--attendance-present-text:#a1e1bc}.school-mark.attendance-mark{font-variant:normal;white-space:nowrap;vertical-align:middle;border:0;border-radius:6px;justify-content:center;align-items:center;gap:4px;padding:5px 9px;font-size:12px;font-style:normal;font-weight:400;line-height:1.4;display:inline-flex}.school-mark.attendance-mark.school-mark-present{background:var(--attendance-present-bg);color:var(--attendance-present-text)}.school-mark.attendance-mark.school-mark-absent{background:var(--attendance-absent-bg);color:var(--attendance-absent-text)}.attendance-mark-icon{width:1em;height:1em;color:inherit;flex:0 0 1em;display:block}.school-mark.attendance-mark .attendance-mark-icon{flex-basis:14px;width:14px;height:14px}.attendance-select{background:0 0;min-width:0;display:block}.attendance-select>.course-select>.course-select-trigger{box-sizing:border-box;width:100%;height:36px;min-height:36px;padding:4px var(--select-text-inset) 4px 4px;border:1px solid var(--border-input);background:var(--surface);color:var(--text);border-radius:7px;gap:4px}.attendance-select.school-mark-present>.course-select>.course-select-trigger{background:var(--attendance-present-bg);color:var(--attendance-present-text);border-color:currentColor}.attendance-select.school-mark-absent>.course-select>.course-select-trigger{background:var(--attendance-absent-bg);color:var(--attendance-absent-text);border-color:currentColor}.attendance-select.school-mark-excluded>.course-select>.course-select-trigger{background:var(--surface-hover);color:var(--text-muted)}.attendance-select .course-select-trigger .school-mark{color:inherit;background:0 0;min-width:0;padding:0}.attendance-select .course-select-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.attendance-select .course-select-trigger .attendance-mark-icon{display:none}.profile-panel{min-width:0;padding-bottom:32px}.profile-status-loading{color:var(--text-secondary);margin:24px 0 0}.profile-global-error{margin:16px 0}.profile-global-error p{margin:0 0 8px}.profile-layout{grid-template-columns:minmax(200px,30%) 1fr;align-items:start;gap:20px;max-width:1100px;margin-top:20px;display:grid}.profile-card{background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:12px;flex-direction:column;justify-content:flex-start;align-self:stretch;align-items:center;gap:16px;min-width:0;padding:24px 20px;display:flex}.profile-avatar{background:var(--accent-soft);width:72px;height:72px;color:var(--accent);letter-spacing:-1px;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:26px;font-weight:700;display:flex}.profile-identity{flex-direction:column;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.profile-fullname{overflow-wrap:anywhere;font-size:16px;font-weight:600;line-height:1.35}.profile-role-chip{background:var(--accent-soft);color:var(--accent-text);white-space:nowrap;border-radius:6px;padding:3px 9px;font-size:12px;font-weight:500;display:inline-block}.profile-details{text-align:left;border-top:1px solid var(--border);flex-direction:column;gap:12px;width:100%;margin:4px 0 0;padding:16px 0 0;display:flex}.profile-details>div{min-width:0}.profile-details dt{color:var(--text-secondary);margin-bottom:2px;font-size:12px}.profile-details dd{overflow-wrap:anywhere;margin:0;font-size:14px}.profile-details time{font-size:14px}.profile-admin-note{color:var(--text-secondary);text-align:left;border-top:1px solid var(--border);width:100%;margin-top:auto;margin-bottom:0;padding-top:12px;font-size:12px}.profile-main{flex-direction:column;gap:16px;min-width:0;display:flex}.profile-section{background:var(--surface);border:1px solid var(--border);border-radius:12px;min-width:0;padding:22px 24px}.profile-section-title{margin:0 0 6px;font-size:16px;font-weight:600}.profile-section-hint{color:var(--text-secondary);margin:0 0 18px;font-size:13px}.profile-contacts-fieldset{border:0;min-width:0;margin:0;padding:0}.profile-contacts-grid{grid-template-columns:1fr 1fr;gap:16px 20px;margin-bottom:20px;display:grid}.profile-field{flex-direction:column;gap:5px;min-width:0;display:flex}.profile-field>label{color:var(--text);font-size:13px;font-weight:500}.profile-field>input{background:var(--surface);border:1px solid var(--border-input);width:100%;min-width:0;color:var(--text);border-radius:7px;padding:9px 11px}.profile-field>input::placeholder{color:var(--placeholder)}.profile-field>input[aria-invalid=true]{border-color:var(--error-text)}.profile-field-hint{color:var(--text-secondary);font-size:12px}.profile-field-error{color:var(--error-text);min-height:0;font-size:12px}.profile-field-error:empty{display:none}.profile-form-actions{flex-wrap:wrap;align-items:center;gap:10px;padding-top:4px;display:flex}.profile-form-buttons{flex-wrap:wrap;gap:8px;display:flex}.profile-dirty-hint,.profile-saving-hint{color:var(--text-secondary);font-size:13px}.profile-field-error-inline{margin:0;font-size:13px}.profile-security-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:4px 0;display:flex}.profile-security-info{flex-direction:column;gap:4px;display:flex}.profile-security-label{font-size:14px;font-weight:500}.profile-security-note{color:var(--text-secondary);font-size:12px}.profile-password-form{margin-top:16px}.profile-password-fieldset{border:0;min-width:0;margin:0;padding:0}.profile-password-fields{flex-direction:column;gap:12px;margin-bottom:16px;display:flex}.profile-password-fields label{flex-direction:column;gap:5px;font-size:13px;font-weight:500;display:flex}.profile-password-fields input{background:var(--surface);border:1px solid var(--border-input);color:var(--text);border-radius:7px;width:100%;min-width:0;padding:9px 11px}.profile-password-fields input::placeholder{color:var(--placeholder)}.profile-password-fields .school-field-action{align-items:center;gap:6px;display:flex}.profile-password-fields .school-field-action input{flex:1}.profile-pw-notice{margin:0 0 12px}.profile-branch-loading{color:var(--text-secondary);margin:0;font-size:14px}.profile-branch-error,.profile-branch-error p{margin:0 0 8px}.profile-branch-grid{grid-template-columns:1fr 1fr;gap:12px 24px;margin:0;padding:0;display:grid}.profile-branch-field{min-width:0}.profile-branch-label{color:var(--text-secondary);margin-bottom:2px;font-size:12px}.profile-branch-value{overflow-wrap:anywhere;margin:0;font-size:14px}.profile-branch-link{color:var(--accent);text-underline-offset:2px;word-break:break-all;text-decoration:underline}@media (width<=767px){.profile-layout{grid-template-columns:1fr}.profile-card{text-align:left;align-self:auto;align-items:flex-start}.profile-identity{align-items:flex-start}}@media (width<=560px){.profile-contacts-grid{grid-template-columns:1fr}.profile-security-row{flex-direction:column;align-items:flex-start}.profile-form-buttons{flex-direction:column;width:100%}.profile-form-buttons>button{width:100%}.profile-branch-grid{grid-template-columns:1fr}}.api-students{min-width:0}.api-students fieldset.student-fields{border:0;min-width:0;margin:0 0 20px;padding:0}.api-students .student-fields legend{margin-bottom:12px;font-weight:600}.api-students .student-group-link{margin:4px 0;display:block}.api-students .student-group-picker{gap:6px;min-width:0;margin-block:12px;display:grid}.api-students .student-attendance-legend{flex-wrap:wrap;gap:12px 20px;margin:18px 0;display:flex}.api-students .student-attendance-legend>span{align-items:center;gap:7px;display:flex}.api-students .student-attendance-grid{flex-wrap:wrap;gap:8px;margin:12px 0 24px;display:flex}.api-students .student-attendance-cell{cursor:pointer;border:2px solid;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;width:52px;min-height:58px;font-size:23px;font-weight:700;display:inline-flex}.api-students .student-attendance-cell small{font-size:10px;font-weight:500}.api-students .student-attendance-cell.present{color:#145b2c;background:#d9f4df;border-color:#418554}.api-students .student-attendance-cell.absent{color:#9b2433;background:#ffe0e3;border-color:#bf5866}.api-students .student-attendance-cell.withdrawn{color:#515a66;background:#e8ebef;border-color:#89929e}.api-students .student-attendance-cell.unmarked{color:inherit;background:0 0;border-style:dashed}.api-students .student-attendance-cell:focus-visible{outline:3px solid var(--accent,#8357d8);outline-offset:3px}.api-students .student-attendance-legend .student-attendance-cell{cursor:default;width:30px;min-height:30px;font-size:17px}[data-theme=dark] .api-students .student-attendance-cell.present{color:#a3eab7;background:#173d26}[data-theme=dark] .api-students .student-attendance-cell.absent{color:#ffc0c7;background:#51272f}[data-theme=dark] .api-students .student-attendance-cell.withdrawn{color:#c7cfd9;background:#333b46}.api-students .school-tabs{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.api-students .school-tabs button{font:inherit;cursor:pointer;color:var(--text-muted);background:0 0;border:0;border-bottom:2px solid #0000;padding:9px 14px}.api-students .school-tabs button.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.api-students [hidden]{display:none!important}@media (width<=600px){.api-students .dp-filters{flex-direction:column;align-items:stretch;display:flex}.api-students .school-list-actions,.api-students .dialog-footer{flex-wrap:wrap}.api-students .school-form{grid-template-columns:1fr}.api-students .dp-pagination{flex-wrap:wrap;gap:8px}}.student-editor{flex:auto;min-height:0}.student-editor .dialog-form-body{flex:auto;padding-top:24px;padding-bottom:28px;scroll-padding:24px}.student-editor .school-form{align-items:start;margin-top:0}.student-editor label{min-width:0}.student-editor .dialog-form-body>label{gap:8px;max-width:360px;margin-top:16px;display:grid}.student-editor input:not([type=checkbox]),.student-editor select{border:1px solid var(--border);background:var(--surface);max-width:100%;min-height:42px;color:var(--text);font:inherit;border-radius:8px;padding:0 11px}.api-students input[type=date]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;height:42px}:root[data-theme=dark] .api-students input[type=date]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.student-editor .dp-error{overflow-wrap:break-word;font-size:12px}.student-editor input[aria-invalid=true]{border-color:var(--error-text)}.demo-dialog:has(.student-card-body)>.dialog-content{flex:auto}.student-card-body{min-width:0}.student-card-summary{grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:10px 16px;margin:0 0 14px}.student-card-body .dp-filters{padding:0 0 16px}.student-card-body .dp-details dd{overflow-wrap:break-word;min-width:0}.student-attendance-totals{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.student-attendance-toolbar{align-items:center;gap:8px;margin:12px 0;display:flex}.student-attendance-toolbar .dp-button{min-height:40px}.student-attendance-totals>div{border:1px solid var(--border);background:var(--surface-subtle);border-radius:8px;gap:6px;padding:12px;display:grid}.student-attendance-totals span{color:var(--text-muted);font-size:12px}.student-attendance-totals strong{font-size:20px}.student-password-value{white-space:pre-wrap;overflow-wrap:break-word;min-width:0}.student-card-body .school-field-action{flex-wrap:wrap}@media (width<=600px){.student-card-summary{grid-template-columns:105px minmax(0,1fr)}.student-attendance-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-dialog:has(.student-card-body)>.dialog-footer>button{flex:140px}}.demo-dialog:has(>.dialog-content>.student-card-body){width:calc(100vw - 64px);max-width:1600px}.student-card-body,.student-card-body [role=tabpanel],.student-periods{min-width:0;max-width:100%}.student-card-body .dp-table-scroll{max-width:100%;overflow-x:auto}.student-periods .dp-table{table-layout:fixed;width:100%;min-width:1100px}.student-periods .dp-table th,.student-periods .dp-table td{white-space:normal;overflow-wrap:break-word}.student-periods .dp-table th:first-child{width:20%}.student-periods .dp-table th:nth-child(2),.student-periods .dp-table th:nth-child(3){width:15%}.student-periods .dp-table th:last-child,.student-periods .dp-table td:last-child{background:var(--surface);z-index:1;width:140px;min-width:140px;box-shadow:-2px 0 0 var(--border);position:sticky;right:0}.student-periods .dp-table th:last-child{z-index:2}.student-periods .dp-table td:last-child .dp-button{white-space:nowrap}.student-filter-control{flex:1;gap:8px;min-width:min(180px,100%);display:grid}.student-editor .school-representative{padding-top:54px;position:relative}.student-editor .school-representative-actions{position:absolute;top:8px;right:12px}.student-editor .school-representative legend{max-width:calc(100% - 60px)}.additional-information-field{grid-column:1/-1}.additional-information-field textarea{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:100%;color:var(--text);font:inherit;resize:vertical;border-radius:8px;padding:10px 12px}.additional-information-value,.student-password-value{white-space:pre-wrap;overflow-wrap:break-word}@media (width<=600px){.demo-dialog:has(>.dialog-content>.student-card-body){width:calc(100vw - 20px);max-width:calc(100vw - 20px)}}.student-periods .dp-link{white-space:normal;text-align:left;overflow-wrap:break-word;max-width:100%}.student-filter-control>span{color:var(--dp-muted);font-size:12px;font-weight:600}.school-form .student-name-field{grid-column:1/-1}.api-students .student-attendance-cell.excluded{background:var(--surface-hover);color:var(--text-muted);border-color:var(--border);border-style:solid}.student-card-body{word-break:normal;overflow-wrap:break-word}.student-card-body>h3{margin:28px 0 12px}.student-representatives{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;display:grid}.student-representatives .school-representative{margin:0}.student-attendance-toolbar{flex-wrap:wrap}.student-card-body .dp-table{min-width:720px}.student-card-body .student-periods .dp-table{min-width:1100px}.student-card-body .dp-details{grid-template-columns:minmax(120px,180px) minmax(0,1fr)}@media (width<=600px){.student-card-body .dp-details{grid-template-columns:minmax(0,1fr);gap:6px}.student-card-body .dp-details dd{margin:0 0 12px}}.student-periods .dp-table th:nth-child(2){width:20%}.api-students .student-attendance-cell.present{background:var(--attendance-present-bg);color:var(--attendance-present-text);border-color:currentColor}.api-students .student-attendance-cell.absent{background:var(--attendance-absent-bg);color:var(--attendance-absent-text);border-color:currentColor}[data-theme=dark] .api-students .student-attendance-cell.present{background:var(--attendance-present-bg);color:var(--attendance-present-text)}[data-theme=dark] .api-students .student-attendance-cell.absent{background:var(--attendance-absent-bg);color:var(--attendance-absent-text)}.student-editor select{padding-right:var(--select-text-inset,36px)}.api-students .student-search-filter{flex-direction:column;flex:2;gap:8px;min-width:min(225px,100%);display:flex}.api-students .student-search-filter>.dp-search{flex:none;min-width:0}@media (width>=601px){.api-students .student-list-filters{align-items:flex-start}}.user-role-badge{white-space:nowrap;border-radius:20px;align-items:center;padding:3px 9px;font-size:11px;font-weight:600;line-height:1.5;display:inline-flex}.user-role-badge--admin{color:#653096;background:#efe7fa}.user-role-badge--director{color:#194f88;background:#e3efff}.user-role-badge--curator{color:#006b70;background:#dff5f2}.user-role-badge--teacher{color:#8a4700;background:#fff0db}:root[data-theme=dark] .user-role-badge--admin{color:#ebd8ff;background:#49355f}:root[data-theme=dark] .user-role-badge--director{color:#c9e2ff;background:#203b61}:root[data-theme=dark] .user-role-badge--curator{color:#b8f3ed;background:#174d51}:root[data-theme=dark] .user-role-badge--teacher{color:#ffe1ae;background:#573c21}.user-editor{flex:auto;min-height:0}.user-editor .dialog-form-body{flex:auto;padding-top:24px;padding-bottom:28px;scroll-padding-top:24px;scroll-padding-bottom:28px}.user-editor .school-form{align-items:start}.user-editor .school-form label{align-content:start;min-width:0}.user-editor .user-login-hint{font-size:11px;line-height:1.4}.user-editor .school-form input:not([type=checkbox]),.user-editor .school-form select{min-height:42px}.user-editor .school-field-action{width:100%}.user-editor .school-field-action input{flex:1 1 0;width:auto;min-width:0}.user-editor .school-field-action .school-icon-button{flex:0 0 40px}.user-editor input:-webkit-autofill{-webkit-text-fill-color:var(--text);box-shadow:0 0 0 1000px var(--surface) inset}@media (width<=600px){.user-editor .dialog-form-body{padding-top:20px;padding-bottom:24px}.user-editor .school-field-action .school-icon-button{flex-basis:44px}}
