.schedule-desk{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:18px;align-items:start}
.schedule-call{grid-column:1/-1;background:#eeeaf7;border:1px solid #dcd5ec;border-radius:20px;padding:clamp(20px,3vw,34px);display:flex;align-items:center;justify-content:space-between;gap:24px;color:#28223a}
.schedule-desk h2{margin:0 0 8px;font-size:clamp(20px,2vw,26px);line-height:1.2}.schedule-call p{margin:0;color:#514961}
.schedule-call form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.schedule-call label{display:grid;gap:5px;font-weight:600}.schedule-call select{width:clamp(185px,17vw,270px);max-width:100%;height:46px;background:#fff}.schedule-call .btn{min-height:46px;background:#473473;color:white;border:0;padding:0 20px}
.schedule-desk>.folio{margin:0;min-width:0}.schedule-plan>summary,.schedule-history summary{cursor:pointer;padding:7px 0;font-weight:650}.schedule-plan>summary{font-size:18px}.schedule-plan .folio{margin:10px 0 0;padding:0;border:0;box-shadow:none;background:none}.schedule-plan form h3{display:none}.schedule-history{grid-column:1/-1}.schedule-agenda .lesson-record{margin-block:12px}.schedule-agenda .quiet{color:#655e6d}.schedule-agenda .lesson-record+h2{margin-top:24px}
@media(max-width:950px){.schedule-call{align-items:flex-start;flex-direction:column;gap:14px}.schedule-desk{grid-template-columns:minmax(0,1fr)}}
@media(max-width:570px){.schedule-call form,.schedule-call label,.schedule-call select,.schedule-call .btn{width:100%}.schedule-call form{display:grid;grid-template-columns:minmax(0,1fr)}.schedule-desk{gap:12px}}

/* Shared student and teacher workspace */
.campus{--canvas:#f3f5fa;--ink:#22243b;--muted:#586079;--line:#dde1ec;--accent:#503bb2;--soft:#ece9ff;font-family:Inter,system-ui,"Segoe UI",sans-serif;font-size:16px}
.campus .workspace{max-width:1520px}
.campus .schoolbar{min-height:62px;padding-inline:max(20px,calc((100vw - 1470px)/2));gap:18px}
.schoolbar #call-notifications,.account-menu{position:relative}
.account-menu summary,#call-notifications summary,.site-menu summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 13px;border:1px solid var(--line);border-radius:14px;background:white;font-size:14px}
.campus summary::-webkit-details-marker{display:none}
.account-menu summary::after,.site-menu summary::after{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-top:-3px}
.account-menu>div,.push-settings{position:absolute;z-index:16;top:calc(100% + 6px);right:0;min-width:190px;padding:10px;background:white;border:1px solid var(--line);border-radius:16px;box-shadow:0 14px 40px #27234126}
.account-menu button{display:flex;width:100%;justify-content:flex-start;border:0}
.push-settings{width:min(310px,calc(100vw - 32px));font-size:14px;padding:17px}
.push-settings strong,.push-settings span:not(:empty){display:block}.push-settings p:not(:empty),.push-settings button{margin:8px 0}
#recap-banner{display:flex;justify-content:center;min-height:42px;padding:9px 16px;color:#40307b;background:#e8e4ff;border:0;border-radius:0;font-size:14px}
.nav-short{display:none}
.campus .app-sidebar{background:#29283e;color:#fff;border:0;padding:28px 14px}
.app-sidebar .profile{padding:0 3px 20px;margin:0 5px 18px;border-bottom:1px solid #ffffff27}
.app-sidebar .profile small{color:#c6c5dc}
.app-sidebar .avatar{background:#dcd5ff;color:#433675}
.app-sidebar .rolebar button{color:#deddeb;border-radius:12px}
.app-sidebar .rolebar button:hover{background:#39384e}
.app-sidebar .rolebar button[aria-pressed=true]{color:#fff;background:#504963}
.campus .app-content{padding:clamp(22px,3vw,44px)}
.view-head h1{font-size:clamp(29px,3vw,43px);letter-spacing:-.045em}
.campus .folio{border-radius:20px;box-shadow:0 4px 18px #25234508}
.campus .folio h2{font-size:clamp(19px,1.5vw,24px)}
.folio+.spread,.recap-list+.work-filters{margin-top:16px}
.campus .next-lesson,.campus .schedule-call{background:linear-gradient(115deg,#353152,#4a416f);color:#fff;border:0;border-radius:22px}
.next-lesson .lesson-label,.schedule-call p{color:#e2dff4}
.lesson-art:before{background:#e5e0fc;box-shadow:0 0 0 13px #ffffff18}
.next-lesson button,.schedule-call .btn{background:#ede9ff;color:#322956;border:0}
.next-lesson button:hover,.schedule-call .btn:hover{background:#fff;color:#322956}
.schedule-call select{margin:0;color:var(--ink)}.schedule-call label{color:#f5f2ff}
.week-metrics{display:flex;flex-wrap:wrap;gap:12px;margin:15px 0}
.week-metrics>div{flex:1;min-width:110px;padding:12px 16px;background:#f4f3fc;border-radius:14px}
.week-metrics span,.week-metrics strong{display:block}.week-metrics span{font-size:14px;color:var(--muted)}.week-metrics strong{font-size:26px}
.campus .week-strip button[aria-pressed=true]{background:#4b406d;color:white}.week-strip button[aria-pressed=true] span{color:inherit}
.recap-list .entrytext{padding:12px 14px;background:#f5f5fb;border-radius:12px}
.recap-list .entrytext strong{font-size:13px;color:var(--muted)}
.work-filters{width:fit-content;padding:4px;background:#e8e9f1;border-radius:14px}
.work-filters button{background:transparent;border-color:transparent}
.work-filters button[aria-pressed=true]{background:white;box-shadow:0 1px 5px #26243a18}
.campus .record{overflow-wrap:anywhere}
@media(min-width:701px){.campus .app-shell{grid-template-columns:clamp(175px,17vw,224px) minmax(0,1fr)}}
@media(max-width:700px){
 .campus{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
 .campus .schoolbar{min-height:54px;padding:6px 14px;gap:8px}
 .campus .app-sidebar{position:fixed;inset:auto 0 0;z-index:8;padding:5px 6px calc(5px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 20px #25234009}
 .app-sidebar .rolebar{gap:2px}.app-sidebar .rolebar button{min-height:50px;color:#5a6077;font-size:clamp(10px,2.7vw,12px);text-align:center}
 .app-sidebar .rolebar button[aria-pressed=true],.app-sidebar .rolebar button:hover{color:#47368c;background:#eeeaff}
 .nav-full{display:none}.nav-short{display:inline}
 .campus .app-content{padding:19px 14px 24px}.view-head{align-items:center;gap:8px}
 .view-head h1{font-size:clamp(23px,6.4vw,31px)}.view-head .desk-account{font-size:13px}
 .view-tools{margin-left:auto}.view-tools #reload{width:40px;min-height:44px}
 .view-head .account-menu summary{font-size:13px;padding:8px}
 .lesson-info{width:64%;padding:20px 0 20px 18px}.campus .next-lesson{min-height:190px}
 .campus .app-shell{min-height:calc(100dvh - 174px)}.week-metrics>div{min-width:95px}
 .campus .schedule-call{padding:19px}.schedule-call form{width:100%}
 .campus input,.campus select,.campus textarea{font-size:16px}
}


.roster{display:grid;gap:14px;max-width:1100px}.roster-head,.roster-row{display:flex;align-items:center;gap:15px}.roster-head{justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.roster-head h2 small{display:inline-block;vertical-align:middle;border-radius:15px;background:#eeebfa;color:#50437a;padding:3px 9px;font-size:13px}
.roster-search{max-width:420px;color:var(--muted);margin:10px 0 18px}.roster-row{border-top:1px solid var(--line);padding:16px 0;align-items:flex-start}.roster-row:last-child{padding-bottom:0}
.roster-avatar{flex:none;display:grid;place-items:center;width:40px;height:40px;background:#ebe7fb;color:#514079;border-radius:13px}
.roster-row>div{min-width:0;overflow-wrap:anywhere;flex:1}.roster-row summary{color:var(--accent);font-size:14px;padding:5px 0}.roster-row p,.roster-row details span{font-size:14px;color:var(--muted);margin-block:5px}
.roster summary{list-style:none}.roster summary:after{content:"⌄";display:inline-block;margin-left:8px}.roster details[open]>summary:after{transform:rotate(180deg)}
.roster-invite>summary{background:#47386c;color:white;border-radius:12px;padding:10px 15px;min-height:44px}
.roster-invite form{margin-top:12px}.roster-wait>section{padding:10px 0;border:0;box-shadow:none;background:none}.roster-wait section h2{display:none}
.roster>a{font-size:14px;justify-self:start}
@media(max-width:560px){.roster-row{gap:8px}.roster-avatar{width:32px;height:32px}.roster-row>button{padding:8px;font-size:13px}.roster-invite[open]{width:100%}}


/* Student desk */
.learner-overview{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:18px;align-items:start}
.learner-overview>.next-lesson{grid-column:1;min-height:255px}
.learner-overview>.folio:not(.queue):not(.learner-feedback){grid-column:1/-1}
.learner-overview>.queue{grid-column:2}
.learner-overview>.learner-feedback{grid-column:1/-1}
.learner-overview .lesson-info>.btn{margin-top:20px;background:#ede9ff;color:#322956;border:0}
.learner-overview .queue-row{grid-template-columns:minmax(0,1fr) auto}.learner-overview .tile-icon{display:none}
.learner-overview .queue>button{margin-top:16px}
.learner-feedback>summary{display:flex;align-items:center;gap:8px;list-style:none;padding:4px 0}
.learner-feedback>summary small{background:var(--soft);color:var(--accent);border-radius:16px;padding:2px 9px}
.learner-feedback>summary:after{content:"";margin-left:auto;width:8px;height:8px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.learner-feedback[open]>summary:after{transform:rotate(225deg)}.learner-feedback[open]>summary{margin-bottom:14px}
.learner-shell .schedule-agenda .lesson-record{display:grid;grid-template-columns:52px minmax(0,1fr);gap:14px;align-items:start}
.learner-shell .schedule-agenda .date-tile{display:grid;justify-items:center;align-content:center;min-height:58px;background:var(--soft);color:var(--accent);border-radius:14px;line-height:1.13}
.learner-shell .schedule-agenda .record-date{display:none}
.learner-shell .work-filters{margin-top:0}
.learner-shell .app-content>.recap-list{margin-top:14px}
@media(max-width:980px){.learner-overview{grid-template-columns:minmax(0,1fr)}.learner-overview>.queue{grid-column:1}.learner-overview>.next-lesson{min-height:190px}}
@media(max-width:700px){.learner-overview{gap:12px}.learner-shell .schedule-agenda .lesson-record{grid-template-columns:44px minmax(0,1fr);gap:10px}.learner-shell .work-filters{max-width:100%}}

