/* Secondary work surfaces inherit the same restrained hierarchy. */
:is(.cl-edu-layout,#students-screen.cl-students-page,[data-cl-edu-view=attendance] #workspace){
 --cl-ink:#1d1d1f;--cl-muted:#626268;--cl-blue:#0066cc;--cl-fill:#f5f5f7;--cl-line:#dedee4;
 --cl-end-radius:16px;--cl-end-title:clamp(25px,4vw,32px);--cl-end-content:16px;
}
.cl-edu-layout .cl-edu-mast h1,#students-screen.cl-students-page>.hero h1,[data-cl-edu-view=attendance] #workspace .edu-head h1{
 font-size:var(--cl-end-title)!important;font-weight:690!important;line-height:1.14!important;letter-spacing:-.025em!important;
}
.cl-edu-layout .cl-edu-mast{margin-bottom:12px;min-height:54px}
.cl-edu-layout .cl-edu-viewbar{margin-bottom:12px;align-items:center;min-height:44px}
.cl-edu-layout #classScope{width:auto!important;min-width:112px;max-width:100%;padding:7px 12px!important;background:var(--cl-fill)!important;border-color:transparent!important}
.cl-edu-layout .cl-edu-class{background:#fff;border-color:var(--cl-line);border-radius:var(--cl-end-radius);padding-top:11px}
.cl-edu-layout .cl-edu-class h2,.cl-edu-layout .cl-edu-lesson-core>strong{font-size:var(--cl-end-content)}
.cl-edu-layout .cl-edu-rule{padding-block:4px;margin-top:9px}
.cl-edu-layout .cl-edu-class-actions{justify-content:flex-start}
.cl-edu-layout .cl-edu-class-actions .cl-edu-link{padding-left:0!important}
.cl-edu-layout .cl-edu-date-controls .edu-date-today,.cl-edu-layout .cl-edu-date-controls .edu-btn{background:transparent!important;color:var(--cl-blue)!important}
.cl-edu-layout .edu-segments{background:var(--cl-fill)!important;border:0!important;padding:2px!important;border-radius:9px!important;gap:0!important;min-height:40px}
.cl-edu-layout .edu-segments button{background:transparent!important;border:0!important;border-radius:7px!important;box-shadow:none!important;min-height:36px!important}
.cl-edu-layout .edu-segments button.active{background:#fff!important;box-shadow:0 1px 3px #1d1d1f24!important;color:var(--cl-blue)!important}
.cl-edu-layout :is(.cl-edu-agenda,.edu-month-shell){border-radius:var(--cl-end-radius)}
.cl-edu-layout .edu-roster-person[data-attendance=expected] small{display:none}
.cl-edu-layout .edu-roster-person[data-attendance=expected]{background:transparent!important;padding-inline:0!important;padding-block:2px!important}
.cl-edu-layout .edu-roster-names{column-gap:12px!important;row-gap:4px!important}
.cl-edu-layout .edu-month .edu-month-blank{background:transparent!important;border-color:transparent!important}
.cl-edu-layout .edu-monthcell:not(.has-lessons) .edu-month-count{visibility:hidden}
.cl-edu-layout .edu-monthcell.has-lessons .edu-month-count{font-weight:650}
.cl-edu-layout .edu-week-summary>div{background:var(--cl-fill)!important;border:0!important}
body[data-ui-page=education]:is([data-cl-edu-view=classes],[data-cl-edu-view=timetable],[data-cl-edu-view=attendance]){background:#fff}
[data-cl-edu-view=attendance] #workspace .edu-head{margin-bottom:12px!important}
[data-cl-edu-view=attendance] #workspace .edu-card{border-radius:var(--cl-end-radius)!important}
[data-cl-edu-view=attendance] #workspace .edu-namecard{min-height:52px!important;box-shadow:none!important;border-radius:12px!important;padding:8px!important}
[data-cl-edu-view=attendance] #workspace .edu-namecard.is-present{background:#f5f8fc!important;border-color:#dce7f4!important;color:var(--cl-ink)!important}
[data-cl-edu-view=attendance] #workspace .edu-namecard b{font-size:16px!important;font-weight:650!important}
[data-cl-edu-view=attendance] #workspace .edu-namecard small{font-size:12px!important}
[data-cl-edu-view=attendance] #workspace .edu-head .edu-actions .edu-btn{min-height:44px;background:transparent!important;color:#0066cc!important}
#students-screen.cl-students-page>.hero{padding-block:0 10px!important}
#students-screen.cl-students-page .search-bar{margin-bottom:0!important;max-width:none}
#students-screen.cl-students-page>.ui-filters{margin-bottom:4px!important}
#students-screen.cl-students-page .dash-card-top{padding-block:7px!important}
#students-screen.cl-students-page #student-results{overflow:auto;overscroll-behavior:contain;block-size:clamp(132px,calc(100dvh - 320px),468px);scrollbar-width:thin}
#students-screen.cl-students-page .cl-student-row{min-height:54px}
#students-screen .cl-student-initial{background:#f0f3f8;color:#28587d}
#students-screen .cl-student-credit{background:none;color:#274c6d;padding-inline:0}
#students-screen .cl-student-credit.is-empty{background:none}
.cl-student-pagination{display:flex;justify-content:space-between;align-items:center;min-height:47px;border-top:1px solid var(--cl-line);background:#fff;color:var(--cl-muted);font-size:13px;padding-inline:2px}
.cl-student-pagination[hidden]{display:none}
.cl-student-page-actions{display:flex;align-items:center}
.cl-student-page-actions button{min-width:44px;height:44px;border:0;background:transparent;color:var(--cl-blue);font-size:24px}
.cl-student-page-actions button:disabled{color:#98989f}
.cl-student-page-label{position:relative;display:grid;place-items:center;min-width:76px;min-height:44px;color:var(--cl-ink);font-weight:600}
.cl-student-page-label select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.cl-student-page-label:focus-within,.cl-student-page-actions button:focus-visible{outline:2px solid var(--cl-blue);outline-offset:-2px;border-radius:8px}

#students-screen .cl-student-page-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:0 8px}
#students-screen .cl-student-pagination{border-top:0;min-height:44px;padding:0}
#students-screen .cl-student-range{display:none}
#students-screen .cl-student-page-label{min-width:68px}
#students-screen .cl-student-page-label span::after{content:" ⌄";color:var(--cl-blue)}
#students-screen .cl-student-page-actions button:not(:disabled){background:#f0f5fb;border-radius:10px}

.cl-schedule-classes { margin:0 0 12px; }
.cl-schedule-classes > summary { min-height:44px; box-sizing:border-box; cursor:pointer; padding:12px 14px; color:#075b9f; background:#f1f5fb; border-radius:10px; }
.cl-schedule-classes > summary span { margin-inline-start:8px; color:#596777; font-size:.86em; }
.cl-schedule-classes[open] { margin-block-end:24px; }
.cl-schedule-classes .cl-edu-class-grid { margin-block-end:14px; }
