/* Keep the classroom palette and type; borrow the reference's motion language. */
.phase-nav.motion-ready{isolation:isolate}.phase-nav.motion-ready>button{position:relative;z-index:2}.phase-nav.motion-ready>button.active{background:transparent;border-color:transparent;box-shadow:none;transform:none}
.phase-motion-indicator{position:absolute;z-index:1;pointer-events:none;background:var(--active-phase-colour);border:4px solid #315a7c;border-radius:18px;box-shadow:0 0 0 3px #fffdf6,0 0 0 5px #315a7c,0 5px 0 #8096ae55;overflow:hidden}
.phase-motion-indicator::before{content:'';position:absolute;inset:2px;border-radius:12px;background:linear-gradient(150deg,#ffffff70,transparent 55%);border-top:1px solid #ffffffb8;pointer-events:none}
.control-left button{transform-origin:center bottom;transform:translateY(var(--dock-lift,0px)) scale(var(--dock-scale,1));transition:transform .24s cubic-bezier(.18,.9,.25,1.35),background .18s,box-shadow .18s;position:relative;z-index:1}.control-left button:hover,.control-left button:focus-visible{z-index:3;box-shadow:0 5px 12px #31526e26}
#contents.motion-dialog{background:linear-gradient(145deg,#fffef8fa,#e9f3faf5);border:2px solid #90acbf;box-shadow:0 18px 65px #16375035,inset 0 1px 0 #fff;backdrop-filter:blur(22px) saturate(1.05);transform-origin:center;will-change:transform,opacity}
.motion-dialog::backdrop{background:#15334470;backdrop-filter:blur(7px)}#contents.motion-dialog #contentsGrid button{background:#ffffffd9;box-shadow:inset 0 1px 0 #fff;transition:background .18s,box-shadow .18s,transform .22s cubic-bezier(.2,.8,.25,1.2)}#contents.motion-dialog #contentsGrid button:hover{background:#e5f1fa;transform:translateY(-2px);box-shadow:0 4px 9px #31546c13}#contents.motion-dialog #contentsGrid .current{background:#dceefa;border-color:#416f90;box-shadow:inset 0 1px 0 #fff}
.motion-dialog{transform-origin:center}.season-picture-focus{transform-origin:center;will-change:transform,opacity}
.motion-cue-host{position:relative}.lesson-cue-beam{position:absolute;inset:0;pointer-events:none;z-index:4;display:block;border-radius:inherit}.lesson-cue-beam svg{display:block;width:100%;height:100%;overflow:visible}.lesson-cue-beam path,.lesson-cue-beam rect{fill:none;stroke:#bf457f;stroke-width:3;stroke-dasharray:12 88;stroke-linecap:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 2px #fff7ce)}
.study-photo>.lesson-cue-beam{inset:5px}.study-photo>.lesson-cue-beam rect{stroke:#fff3c5;stroke-width:3}.student-season-card>.lesson-cue-beam{inset:3px}
.slide [data-at].revealed{animation:lesson-step-appear .52s cubic-bezier(.2,.75,.25,1) both}@keyframes lesson-step-appear{0%{opacity:0;transform:translateY(15px) scale(.987)}76%{opacity:1;transform:translateY(-2px) scale(1.003)}100%{opacity:1;transform:none}}
.disabled-motion .control-left button{transform:none!important;transition:none!important}.disabled-motion .lesson-cue-beam{display:none}.disabled-motion .phase-motion-indicator{will-change:auto}
.disabled-motion .slide [data-at].revealed{animation:none!important}.disabled-motion .study-photo,.disabled-motion .study-photo.centre svg,.disabled-motion .study-progress i{animation-play-state:paused!important}.disabled-motion #contents.motion-dialog #contentsGrid button{transform:none!important;transition:none!important}
@media(max-width:899px){.phase-motion-indicator{border-width:3px;border-radius:13px;box-shadow:0 0 0 2px #fffdf6,0 0 0 4px #315a7c,0 4px 0 #8096ae44}.phase-motion-indicator::before{border-radius:8px}}
@media(prefers-reduced-motion:reduce){.control-left button{transform:none!important;transition:none!important}.lesson-cue-beam{display:none!important}.slide [data-at].revealed,.study-photo,.study-photo.centre svg{animation:none!important}.phase-nav>button,#contentsGrid button{transition:none!important}}
