:root{color-scheme:dark;--bg:#071827;--panel:#0d2434;--line:#36566a;--gold:#e2bf72;--muted:#a9bdca;--text:#eef6fa}
*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{min-width:420px;background:var(--bg);color:var(--text);font:16px/1.5 Inter,Segoe UI,system-ui,sans-serif;overflow:hidden}
button,select{font:inherit}.academy-shell{height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at 80% 0,rgba(44,102,125,.2),transparent 42%),var(--bg)}
.academy-command-bar{min-height:64px;display:flex;align-items:center;gap:16px;padding:8px 18px;border-bottom:1px solid var(--line);background:#0b1d2b}.academy-brand{display:flex;flex:0 0 auto;align-items:center;gap:10px;white-space:nowrap}.academy-brand>span{font-size:26px}.academy-brand strong,.academy-brand small{display:block}.academy-brand small{color:var(--muted);font-size:.74rem}.academy-section-nav{display:flex;min-width:0;flex:1;justify-content:flex-end;gap:5px;overflow:auto}.academy-section-nav button{padding:7px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font-size:.78rem;font-weight:750;white-space:nowrap;cursor:pointer}.academy-section-nav button:hover,.academy-section-nav button.active{border-color:var(--gold);background:#173246;color:#fff}.academy-window-navigation{display:flex;flex:0 0 auto;align-items:center;gap:6px;white-space:nowrap}.academy-window-navigation button{padding:7px 10px;border:1px solid #4a6c80;border-radius:8px;background:#173246;color:#eef6fa;font:700 .74rem/1.2 inherit;cursor:pointer}.academy-window-navigation button:hover{border-color:var(--gold);filter:brightness(1.14)}
.academy-language-control{display:flex;align-items:center;gap:5px;padding:4px 7px;border:1px solid #4a6c80;border-radius:8px;color:var(--muted);font:700 .7rem/1.2 inherit}.academy-language-control select{min-width:82px;border:0;background:#0b1d2b;color:#eef6fa;font:700 .72rem/1.2 inherit;outline:none}
.academy-layout{min-height:0;flex:1;display:grid;grid-template-columns:390px minmax(0,1fr)}.academy-sidebar{padding:16px;text-align:left;border-right:1px solid var(--line);background:linear-gradient(180deg,#122c3d,#0d2231);overflow:auto}
.academy-main{min-width:0;overflow:hidden;padding:18px}.eyebrow{color:var(--gold);font-weight:800;letter-spacing:.12em;font-size:.68rem}.academy-controls{display:grid;gap:12px;margin:0;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(7,24,39,.58);text-align:left}.academy-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.academy-actions .btn,.academy-close{width:100%}.academy-close{margin-top:12px}label{display:grid;gap:7px;color:var(--muted);font-size:.86rem;font-weight:700}select{width:100%;padding:9px;border:1px solid var(--line);border-radius:9px;background:#071827;color:var(--text);font-size:.86rem}.btn{padding:9px 12px;border:1px solid #4a6c80;border-radius:9px;background:#1b3547;color:var(--text);cursor:pointer;font-size:.84rem;font-weight:750}.btn:hover{filter:brightness(1.15)}.btn.primary{border-color:var(--gold);background:#a47c2e;color:#fff}.btn.danger{border-color:#b95d5d;background:#6c2e2e}.academy-board{position:absolute;z-index:4;inset:58px 18px 18px;min-height:0;margin:0;padding:18px;overflow:auto;border:1px solid #6c897d;border-radius:10px;background:rgba(7,28,28,.97);box-shadow:inset 0 0 36px rgba(0,0,0,.28);white-space:pre-wrap;line-height:1.5}.academy-board[hidden]{display:none}.academy-choices{display:grid;gap:8px;margin:14px 0}.academy-source{color:var(--muted)}
.academy-teaching-stage{position:relative;width:100%;height:100%;min-height:560px;overflow:hidden;border:1px solid #5c6b66;border-radius:18px;background:linear-gradient(180deg,#d9d3c3 0 84%,#856c50 84% 86%,#594838 86% 100%);box-shadow:inset 0 0 70px rgba(0,0,0,.22),0 18px 38px rgba(0,0,0,.2)}.academy-teaching-stage::before{content:"";position:absolute;inset:0 0 auto;height:18px;background:linear-gradient(180deg,#f3efe4,#bdb5a5);box-shadow:0 4px 10px rgba(0,0,0,.2)}.academy-teaching-stage::after{content:"";position:absolute;z-index:0;left:-5%;right:-5%;bottom:-9%;height:23%;background:repeating-linear-gradient(100deg,#67533e 0 54px,#755f47 55px 58px);transform:perspective(420px) rotateX(58deg);transform-origin:bottom;opacity:.9}.academy-lesson-clock{position:absolute;z-index:2;top:2.5%;left:58%;width:clamp(84px,9vw,112px);aspect-ratio:1;display:grid;place-content:center;gap:3px;text-align:center;border:7px solid #705937;border-radius:50%;background:radial-gradient(circle at 38% 30%,#213b43 0,#0b1e28 72%);box-shadow:inset 0 0 0 2px #d9bf7a,0 8px 18px rgba(0,0,0,.24);color:#f2d384}.academy-lesson-clock-label{font-size:clamp(.46rem,.62vw,.58rem);font-weight:800;letter-spacing:.1em}.academy-lesson-clock time{font:800 clamp(1rem,1.55vw,1.42rem)/1 ui-monospace,SFMono-Regular,Consolas,monospace;color:#effaf6;text-shadow:0 0 9px rgba(101,232,200,.45)}.academy-live-board{position:absolute;z-index:1;left:17%;top:21%;width:81%;height:39%;min-height:230px;padding:22px 30px 22px 15%;border:12px solid #765c36;border-radius:8px;background:linear-gradient(145deg,#173a32,#0d2b26);box-shadow:inset 0 0 42px rgba(0,0,0,.45),0 12px 20px rgba(0,0,0,.28);color:#eef7dc}.academy-live-board strong{display:block;padding-bottom:9px;border-bottom:1px solid rgba(238,247,220,.25);color:#f2d384;font-size:1rem}.academy-live-board pre{max-width:100%;margin:14px 0 0;white-space:pre-wrap;font:600 clamp(.9rem,1.2vw,1.16rem)/1.48 "Segoe Print","Comic Sans MS",cursive;color:#f2f4df}.academy-sinbad{position:absolute;z-index:3;left:0;bottom:.5%;width:clamp(250px,27%,430px);height:88%;pointer-events:none;filter:drop-shadow(0 18px 14px rgba(0,0,0,.45))}.academy-sinbad img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;transform-origin:50% 90%;transition:transform .45s ease;animation:academySinbadTeach 2.6s ease-in-out infinite}.academy-sinbad[data-gesture="explain"] img{transform:translateX(2px) rotate(.5deg)}.academy-sinbad[data-gesture="nod"] img{transform:translateY(3px) rotate(-.25deg)}.academy-sinbad[data-gaze="audience"]{filter:drop-shadow(0 18px 14px rgba(0,0,0,.45)) drop-shadow(0 0 8px rgba(117,217,174,.2))}@keyframes academySinbadTeach{0%,100%{margin-top:0}50%{margin-top:-2px}}
.academy-sinbad[data-state="walking"] img{animation:academyWalkCycle .52s ease-in-out infinite alternate;transform:translateX(5%) scale(.96)}
.academy-sinbad[data-state="listening"] img{animation:academyListen 1.25s ease-in-out infinite alternate}.academy-sinbad[data-state="thinking"] img{animation:academyThink 1.8s ease-in-out infinite alternate}.academy-sinbad[data-state="speaking"] img{animation:academySpeak .72s ease-in-out infinite alternate}.academy-sinbad[data-state="laughing"] img{animation:academyLaugh .38s ease-in-out 4 alternate}.academy-sinbad[data-gesture="wave-right"] img{animation:academyWave .34s ease-in-out 5 alternate}.academy-sinbad[data-gesture="show-palm"] img,.academy-sinbad[data-gesture="show-left-palm"] img,.academy-sinbad[data-gesture="show-both-hands"] img{animation:academyShowHand .62s ease-out 2 alternate}.academy-sinbad[data-gesture="look-left"] img{transform:translateX(-9px) rotate(-1.5deg)}.academy-sinbad[data-gesture="look-right"] img{transform:translateX(9px) rotate(1.5deg)}.academy-sinbad[data-gesture="turn-left"] img{animation:academyTurnLeft 1.25s ease-in-out 1 both}.academy-sinbad[data-gesture="turn-right"] img{animation:academyTurnRight 1.25s ease-in-out 1 both}.academy-sinbad[data-gesture^="shake-head"] img{animation:academyShakeHead .2s ease-in-out 6 alternate}.academy-sinbad[data-gesture="shrug"] img{animation:academyShrug .4s ease-in-out 3 alternate}
.academy-sinbad[data-state="speaking"][data-gesture="hold"] img{transform:translateX(-3px) rotate(-.6deg) scale(.992)}.academy-sinbad[data-state="speaking"][data-gesture="nod"] img{animation:academySpeakNod .58s ease-in-out 2}.academy-sinbad[data-state="speaking"][data-gesture="open-hand"] img,.academy-sinbad[data-state="speaking"][data-gesture="explain"] img{transform:translateX(calc(3px + 5px * var(--academy-motion-energy,.3))) rotate(.7deg)}.academy-sinbad[data-state="speaking"][data-gaze="thought"] img{transform:translate(-4px,-2px) rotate(-.8deg)}.academy-sinbad[data-emotion="concerned"]{filter:drop-shadow(0 18px 14px rgba(0,0,0,.45)) saturate(.88)}.academy-sinbad[data-emotion="warm"],.academy-sinbad[data-emotion="confident"]{filter:drop-shadow(0 18px 14px rgba(0,0,0,.45)) drop-shadow(0 0 9px rgba(242,211,132,.16))}@keyframes academySpeakNod{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(5px) rotate(-.4deg)}}
.academy-rig-stage{position:absolute;inset:0;z-index:4;opacity:0;pointer-events:none;transition:opacity .2s ease;overflow:visible}.academy-sinbad[data-rig-active="true"]>#academySinbadImage{opacity:0}.academy-sinbad[data-rig-active="true"] .academy-rig-stage{opacity:1}.academy-rig-part{position:absolute;display:block;width:auto;will-change:transform;transition:transform .48s cubic-bezier(.22,.72,.25,1);filter:saturate(calc(1 + var(--sinbad-rig-energy,0)))}.academy-rig-torso{z-index:2;height:74%;left:22%;bottom:0;transform-origin:50% 48%;transform:rotate(var(--sinbad-rig-lean,0deg));animation:academyRigBreath 4.2s ease-in-out infinite}.academy-rig-head{z-index:4;height:31.2%;left:31.5%;top:3.5%;transform-origin:50% 85%;transform:translateY(calc(var(--sinbad-rig-energy,0) * -2px)) rotate(var(--sinbad-rig-head-x,0deg)) rotateX(var(--sinbad-rig-head-y,0deg))}.academy-rig-right-arm{z-index:3;height:35.5%;left:-7%;top:28%;transform-origin:88% 9%;transform:rotate(var(--sinbad-rig-right-arm,0deg))}.academy-rig-left-arm{z-index:3;height:36.5%;right:-5.5%;top:27.5%;transform-origin:12% 9%;transform:rotate(var(--sinbad-rig-left-arm,0deg))}.academy-sinbad[data-rig-active="true"][data-state="speaking"] .academy-rig-head{animation:academyRigTalk .34s ease-in-out infinite alternate}@keyframes academyRigBreath{0%,100%{scale:1}50%{scale:1.006}}@keyframes academyRigTalk{from{margin-top:0}to{margin-top:2px}}@media(prefers-reduced-motion:reduce){.academy-rig-part{transition:none}.academy-rig-torso,.academy-sinbad[data-rig-active="true"][data-state="speaking"] .academy-rig-head{animation:none}}
.academy-teaching-stage[data-phase="lesson"]{background:#102d28}.academy-teaching-stage[data-phase="lesson"]::before,.academy-teaching-stage[data-phase="lesson"]::after,.academy-teaching-stage[data-phase="lesson"] .academy-sinbad{display:none}.academy-teaching-stage[data-phase="lesson"] .academy-lesson-clock{top:18px;left:auto;right:22px;width:82px}.academy-teaching-stage[data-phase="lesson"] .academy-live-board{inset:18px;width:auto;height:auto;min-height:0;padding:34px 38px;border-width:14px}.academy-teaching-stage[data-phase="lesson"] .academy-live-board strong{padding-right:105px;font-size:clamp(1rem,1.6vw,1.35rem)}.academy-teaching-stage[data-phase="lesson"] .academy-live-board pre{height:calc(100% - 48px);margin-top:22px;overflow:auto;font-size:clamp(1rem,1.55vw,1.42rem);line-height:1.6}.academy-teaching-stage[data-phase="lesson"] .academy-board{inset:82px 38px 38px;padding:22px;border:0;background:transparent;box-shadow:none;font-size:clamp(.9rem,1.25vw,1.12rem)}
@keyframes academyWalkCycle{to{transform:translateX(9%) translateY(-5px) rotate(1deg) scale(.96)}}@keyframes academyListen{to{transform:translateX(4px) rotate(.8deg) scale(1.01)}}@keyframes academyThink{to{transform:translateY(-3px) rotate(-.8deg)}}@keyframes academySpeak{to{transform:translateY(-2px) rotate(.65deg) scale(1.005)}}@keyframes academyLaugh{to{transform:translateY(-8px) rotate(1.2deg)}}@keyframes academyWave{to{transform:translateY(-4px) rotate(2.3deg) scale(1.01)}}@keyframes academyShowHand{to{transform:translateX(7px) rotate(1.4deg) scale(1.012)}}@keyframes academyTurnLeft{0%{transform:translateX(0) scaleX(1)}45%,100%{transform:translateX(-18px) scaleX(-1)}}@keyframes academyTurnRight{0%{transform:translateX(0) scaleX(-1)}45%,100%{transform:translateX(18px) scaleX(1)}}@keyframes academyShakeHead{to{transform:translateX(7px) rotate(1.4deg)}}@keyframes academyShrug{to{transform:translateY(-8px) scale(1.015)}}
.academy-chalk-cursor{display:inline-block;width:.55em;height:1.05em;margin-left:.12em;vertical-align:-.14em;border-radius:2px;background:#f2f4df;box-shadow:0 0 7px rgba(242,244,223,.55);animation:academyChalkPulse .55s steps(2,end) infinite}@keyframes academyChalkPulse{50%{opacity:.28}}
@media(prefers-reduced-motion:reduce){.academy-sinbad img{animation:none}}
.academy-question-page{display:block;width:min(100%,920px);height:auto;margin:18px auto;border:1px solid var(--line);border-radius:12px;background:#fff}.academy-answer-pending{padding:12px 14px;border-left:4px solid var(--gold);background:rgba(225,194,119,.08);color:var(--text)}
.academy-conversation{margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#0a2030}.academy-conversation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.academy-conversation-head h2{margin:3px 0 0;font-size:1.05rem}.academy-status-pill{padding:4px 7px;border:1px solid #3c685d;border-radius:999px;color:#8ce0bd;font-size:.68rem;white-space:nowrap}.academy-runtime-status{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.academy-runtime-pill{padding:4px 7px;border:1px solid #3c685d;border-radius:999px;background:rgba(76,178,139,.08);color:#8ce0bd;font-size:.65rem}.academy-runtime-pill.pending{border-color:#665c3e;color:#e2bf72}.academy-runtime-pill.offline{border-color:#784949;background:rgba(185,93,93,.08);color:#f29a9a}.academy-messages{display:grid;gap:7px;max-height:190px;margin:10px 0;padding:9px;overflow:auto;border:1px solid #29495e;border-radius:10px;background:#061724}.academy-message{width:94%;margin:0;padding:8px 9px;border-radius:9px;white-space:pre-wrap;font-size:.78rem}.academy-message.sinbad{justify-self:start;background:#173448}.academy-message.student{justify-self:end;background:#5d4925}.academy-question-composer{display:grid;gap:8px}.academy-question-composer textarea{width:100%;min-height:66px;resize:vertical;padding:9px;border:1px solid var(--line);border-radius:9px;background:#071827;color:var(--text);font:inherit;font-size:.78rem}.academy-question-actions{display:grid;grid-template-columns:1fr 1fr 1.35fr 1.15fr;gap:6px}.academy-question-actions .btn{padding:8px 5px;font-size:.68rem}.academy-question-actions #toggleAcademyHandsFree[aria-pressed="true"]{border-color:#77dab5;background:#164c43;color:#d8fff1}
@media(max-width:1300px){.academy-command-bar{flex-wrap:wrap}.academy-section-nav{order:3;flex:1 0 100%;justify-content:center}.academy-window-navigation{margin-left:auto}}
@media(max-width:1100px){.academy-layout{grid-template-columns:330px minmax(0,1fr)}.academy-lesson-clock{left:60%}.academy-live-board{left:19%;width:79%;padding-left:16%}.academy-sinbad{width:31%}.academy-actions{grid-template-columns:1fr}}
@media(max-width:820px){body{min-width:0;overflow:auto}.academy-command-bar{position:relative;align-items:stretch;flex-direction:column;height:auto;min-height:0}.academy-brand{position:static;width:100%}.academy-section-nav{position:static;flex:none;width:100%;justify-content:flex-start}.academy-window-navigation{position:static;width:100%;flex-wrap:wrap}.academy-shell{height:auto;min-height:100vh}.academy-layout{grid-template-columns:1fr}.academy-sidebar{display:grid;grid-template-columns:1fr;gap:10px;padding:12px}.academy-controls{margin:0}.academy-conversation{margin:0}.academy-main{padding:12px;overflow:visible}.academy-teaching-stage{height:620px;min-height:620px}.academy-lesson-clock{left:64%;width:78px}.academy-live-board{left:18%;top:22%;width:80%;height:40%;min-height:0;padding:14px 14px 14px 19%;border-width:8px}.academy-live-board pre{max-width:100%}.academy-sinbad{left:-2%;width:43%;height:78%}.academy-question-composer{grid-template-columns:1fr}.academy-question-actions{grid-template-columns:1fr 1fr}}
.academy-actions .exam-intelligence-launch{grid-column:1/-1;border-color:#35d0ba;background:#123e43;color:#d8fff7}
.academy-actions .owner-review-launch{grid-column:1/-1;border-color:#e2bf72;background:#4a3718;color:#fff3cd}
.gasm-qualification-menu{margin-bottom:12px;padding:12px;border:1px solid #4d6d7d;border-radius:14px;background:#071b29}.gasm-menu-heading{display:grid;gap:2px;margin-bottom:9px}.gasm-menu-heading strong{color:#f2d384}.gasm-menu-heading small{color:var(--muted)}.gasm-branch{margin:8px 0;border:1px solid #29495e;border-radius:10px;overflow:hidden}.gasm-branch>summary,.gasm-qualification>summary{padding:9px 10px;cursor:pointer;font-weight:800;list-style:none}.gasm-branch>summary{background:#173448;color:#d8fff1}.gasm-qualification{border-top:1px solid #29495e}.gasm-qualification>summary{display:flex;justify-content:space-between;gap:8px;font-size:.78rem}.gasm-subjects{display:grid;gap:5px;padding:7px}.gasm-subject-button{display:grid;grid-template-columns:1fr auto;text-align:left;gap:3px;padding:8px;border:1px solid #36566a;border-radius:8px;background:#102b3d;color:#eef6fa;cursor:pointer}.gasm-subject-button small{grid-column:1/-1;color:#a9bdca}.gasm-subject-button.active{border-color:#e2bf72;background:#3b3522}.gasm-topic-list{display:flex;flex-wrap:wrap;gap:5px;padding:0 7px 8px}.gasm-topic-button{padding:6px 8px;border:1px solid #3d615d;border-radius:999px;background:#123631;color:#d8fff1;cursor:pointer;font-size:.7rem}.gasm-test-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.gasm-test-header small{color:var(--muted)}.gasm-question-card{display:grid;gap:14px;margin-top:18px;padding:20px;border:1px solid #617e74;border-radius:14px;background:#0b2726}.gasm-question-meta{display:flex;flex-wrap:wrap;gap:6px;color:#c8d8d0;font-size:.72rem}.gasm-option{display:grid;grid-template-columns:32px 1fr;gap:9px;align-items:start;text-align:left;padding:11px;border:1px solid #496a70;border-radius:10px;background:#143344;color:#fff;cursor:pointer}.gasm-option b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#0a1e2c;color:#f2d384}.gasm-option.selected{border-color:#f2d384;background:#41381f}.gasm-test-actions{display:flex;justify-content:space-between;gap:8px}.gasm-status-note{padding:10px;border-left:4px solid #e2bf72;background:rgba(226,191,114,.1);color:#f5e3b7}.gasm-empty{padding:18px;border:1px dashed #5a7480;border-radius:10px;color:#b8cad3}

/* Owner-approved Academy system · Paul Gauguin language · C/C/A/B/A/B/A/C */
:root{--academy-ink:#061827;--academy-deep:#09263a;--academy-turquoise:#1d7d82;--academy-coral:#da6d4a;--academy-sun:#f0c667;--academy-cream:#f6e9c4}
html{scroll-behavior:smooth}body{overflow:auto;background:#061827}.academy-shell{height:auto;min-height:100vh;display:block;background:radial-gradient(circle at 12% 18%,rgba(29,125,130,.28),transparent 28%),linear-gradient(135deg,#061522,#0a2b3d 58%,#071b2b)}
.academy-command-bar{position:sticky;z-index:30;top:0;min-height:70px;border-bottom-color:rgba(240,198,103,.55);background:rgba(4,20,31,.94);backdrop-filter:blur(16px);box-shadow:0 12px 28px rgba(0,0,0,.26)}
.academy-brand{color:var(--academy-cream);text-decoration:none}.academy-brand>span{font-size:inherit}.academy-brand-mark{display:grid;width:42px;height:42px;place-items:center;border:1px solid rgba(240,198,103,.66);border-radius:50%;font-size:24px!important;color:var(--academy-sun);background:radial-gradient(circle at 40% 35%,#234c54,#061827 72%)}.academy-brand strong{font:700 1.15rem/1 Georgia,"Times New Roman",serif;letter-spacing:.16em;color:#f6d478}.academy-brand small{margin-top:5px;letter-spacing:.22em;color:#c9d9d4;font-size:.58rem}
.academy-section-nav button{border-radius:999px;letter-spacing:.04em}.academy-section-nav button:hover,.academy-section-nav button.active{border-color:#f0c667;background:linear-gradient(135deg,rgba(29,125,130,.44),rgba(218,109,74,.28));box-shadow:inset 0 0 0 1px rgba(246,233,196,.08);color:#fff7df}
.academy-landing{position:relative;min-height:min(54vw,660px);overflow:hidden;border-bottom:1px solid rgba(240,198,103,.55)}.academy-landing-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}.academy-landing-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,17,27,.84) 0,rgba(3,17,27,.38) 42%,rgba(3,17,27,.08) 70%),linear-gradient(0deg,rgba(4,20,31,.92),transparent 38%)}.academy-landing-copy{position:absolute;left:clamp(28px,6vw,108px);bottom:clamp(68px,9vw,132px);width:min(620px,64vw);text-shadow:0 3px 20px rgba(0,0,0,.72)}.academy-kicker{color:#f3c85e;font-size:.76rem;font-weight:850;letter-spacing:.2em}.academy-landing-copy h1{margin:.22em 0 .16em;font:700 clamp(2.8rem,6vw,6.8rem)/.92 Georgia,"Times New Roman",serif;color:#fff2c9}.academy-landing-copy p{max-width:610px;margin:0;color:#f7f3e6;font-size:clamp(1rem,1.6vw,1.3rem)}.academy-landing-status{position:absolute;right:clamp(22px,4vw,64px);bottom:30px;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.academy-landing-status span{padding:8px 12px;border:1px solid rgba(240,198,103,.48);border-radius:999px;background:rgba(4,20,31,.72);color:#f4ead1;font-size:.72rem;font-weight:750}.status-dot{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#e8bc58;box-shadow:0 0 8px rgba(232,188,88,.75)}.status-dot.online{background:#5ce3b5;box-shadow:0 0 8px rgba(92,227,181,.9)}
.academy-program-grid{display:grid;grid-template-columns:repeat(6,minmax(170px,1fr));gap:12px;padding:18px clamp(18px,3vw,48px);border-bottom:1px solid rgba(240,198,103,.38);background:rgba(5,22,34,.96)}.academy-program-card{position:relative;min-height:260px;overflow:hidden;padding:0;border:1px solid rgba(240,198,103,.58);border-radius:18px;background:#081b29;color:#fff;text-align:left;cursor:pointer;box-shadow:0 14px 32px rgba(0,0,0,.24);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.academy-program-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.academy-program-card::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(2,13,22,.98),rgba(2,13,22,.06) 72%)}.academy-program-card>span{position:absolute;z-index:2;inset:auto 16px 14px;display:grid;gap:4px}.academy-program-card small{color:#f2c761;font-size:.6rem;font-weight:850;letter-spacing:.16em}.academy-program-card strong{font:700 clamp(1.05rem,1.45vw,1.42rem)/1.05 Georgia,"Times New Roman",serif;color:#fff5d7}.academy-program-card em{color:#c8d8d5;font-size:.68rem;font-style:normal}.academy-program-card:hover,.academy-program-card:focus-visible{z-index:2;transform:translateY(-4px) scale(1.018);border-color:#ffe29a;box-shadow:0 20px 42px rgba(0,0,0,.38),0 0 0 1px rgba(255,226,154,.25)}.academy-program-card:hover img,.academy-program-card:focus-visible img{transform:scale(1.045)}
.academy-layout{min-height:780px;display:grid;grid-template-columns:minmax(360px,34%) minmax(0,1fr);border-top:1px solid rgba(240,198,103,.2);background:linear-gradient(120deg,#09253a,#071a2a)}.academy-sidebar{padding:18px;border-right-color:rgba(240,198,103,.4);background:linear-gradient(180deg,rgba(9,38,58,.97),rgba(4,21,33,.98));overflow:visible}.academy-main{min-height:780px;padding:18px;overflow:hidden}
.academy-layer-art{position:relative;height:310px;margin-bottom:14px;overflow:hidden;border:1px solid rgba(240,198,103,.62);border-radius:18px;background:#061827;box-shadow:0 14px 32px rgba(0,0,0,.3)}.academy-layer-art::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,15,24,.94),transparent 64%)}.academy-layer-art img{position:absolute;inset:0;display:none;width:100%;height:100%;object-fit:cover}.academy-layer-art img.is-active{display:block}.academy-layer-art-caption{position:absolute;z-index:2;right:18px;bottom:15px;left:18px;display:grid;gap:2px}.academy-layer-art-caption strong{font:700 1.55rem/1.1 Georgia,"Times New Roman",serif;color:#fff0c2}.academy-layer-art-caption small{color:#c3d9d2;font-size:.7rem;letter-spacing:.08em}
.academy-family-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}.academy-family-grid button{display:grid;gap:2px;min-height:82px;padding:12px;border:1px solid rgba(240,198,103,.46);border-radius:13px;background:linear-gradient(135deg,rgba(29,125,130,.3),rgba(218,109,74,.14));color:#eef7f1;text-align:left;cursor:pointer}.academy-family-grid strong{font:700 .95rem Georgia,serif;color:#ffe6a1}.academy-family-grid span{color:#bcd0cb;font-size:.68rem}.academy-family-grid button:last-child{border-color:#e18b5d;background:linear-gradient(135deg,rgba(218,109,74,.36),rgba(29,125,130,.18))}
.academy-controls,.academy-conversation,.gasm-qualification-menu,.academy-exam-preview{border-color:rgba(240,198,103,.42);background:rgba(4,20,31,.78);box-shadow:inset 0 1px rgba(255,255,255,.04)}.academy-exam-preview{display:grid;grid-template-columns:120px 1fr;gap:12px;margin:12px 0;padding:10px;border:1px solid rgba(240,198,103,.42);border-radius:14px}.academy-exam-preview[hidden]{display:none}.academy-exam-preview img{width:120px;height:92px;border-radius:9px;object-fit:cover}.academy-exam-preview div{display:grid;align-content:center;gap:3px}.academy-exam-preview small{color:#f0c667;font-size:.62rem;font-weight:850;letter-spacing:.12em}.academy-exam-preview strong{font:700 1.05rem Georgia,serif;color:#fff0c2}.academy-exam-preview span{color:#b8cbc8;font-size:.68rem}
.academy-teaching-stage{border-color:#9b7042;background:linear-gradient(180deg,#dbcba3 0 84%,#856c50 84% 86%,#594838 86% 100%);box-shadow:inset 0 0 86px rgba(94,54,35,.24),0 24px 48px rgba(0,0,0,.34)}.academy-live-board{border-color:#7d522b;background:linear-gradient(145deg,#17493e,#0a3029);box-shadow:inset 0 0 46px rgba(0,0,0,.46),0 12px 26px rgba(0,0,0,.34)}
@media(max-width:1500px){.academy-program-grid{grid-template-columns:repeat(3,1fr)}.academy-program-card{min-height:230px}}
@media(max-width:980px){.academy-program-grid{grid-template-columns:repeat(2,1fr)}.academy-layout{grid-template-columns:1fr}.academy-main{min-height:650px}.academy-layer-art{height:min(54vw,420px)}}
@media(max-width:620px){.academy-landing{min-height:540px}.academy-landing-copy{width:auto;right:24px;bottom:105px}.academy-landing-status{left:24px;right:24px;justify-content:flex-start}.academy-program-grid{grid-template-columns:1fr}.academy-program-card{min-height:250px}.academy-family-grid{grid-template-columns:1fr}.academy-exam-preview{grid-template-columns:1fr}.academy-exam-preview img{width:100%;height:180px}}
.academy-family-grid button:hover,.academy-family-grid button.active{border-color:#ffe29a;box-shadow:0 0 0 1px rgba(255,226,154,.24),0 10px 22px rgba(0,0,0,.2)}

/* The approved visual is the page. Live controls sit on its drawn controls and
   the functional classroom opens as a separate in-page mode, never appended. */
[hidden]{display:none!important}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.academy-program-grid{display:none!important}
.academy-shell[data-academy-view="landing"] .academy-command-bar,.academy-shell[data-academy-view="landing"] .academy-layout{display:none}
.academy-shell[data-academy-view="landing"] .academy-landing{display:block;width:100%;min-height:0;aspect-ratio:1679/941;border:0;background:#061827}
.academy-shell[data-academy-view="landing"] .academy-landing-art{object-fit:contain;object-position:center top}
.academy-landing-hotspots,.academy-layer-hotspots{position:absolute;z-index:4;inset:0}.academy-landing-hotspots button,.academy-layer-hotspots button{position:absolute;min-width:24px;min-height:24px;border:0;border-radius:14px;background:transparent;color:transparent;cursor:pointer}.academy-landing-hotspots button:focus-visible,.academy-layer-hotspots button:focus-visible{outline:3px solid #fff0a4;outline-offset:-4px;background:rgba(255,218,112,.08)}.academy-layer-hotspots [data-academy-scope]{display:none;left:var(--hotspot-x);top:var(--hotspot-y);width:var(--hotspot-w);height:var(--hotspot-h)}.academy-shell[data-academy-active="goss-gasm"] .academy-layer-hotspots [data-academy-scope="goss-gasm"],.academy-shell[data-academy-active="stcw"] .academy-layer-hotspots [data-academy-scope="stcw"],.academy-shell[data-academy-active="goc"] .academy-layer-hotspots [data-academy-scope="goc"],.academy-shell[data-academy-active="general-maritime-education"] .academy-layer-hotspots [data-academy-scope="general-maritime-education"],.academy-shell[data-academy-active="ism-isps-mlc"] .academy-layer-hotspots [data-academy-scope="ism-isps-mlc"],.academy-shell[data-academy-active="professor-sinbad"] .academy-layer-hotspots [data-academy-scope="professor-sinbad"]{display:block}
.academy-landing-hotspots button:nth-child(1){left:9.2%;top:41.5%;width:24.8%;height:26.2%}.academy-landing-hotspots button:nth-child(2){left:34.5%;top:41.5%;width:23.6%;height:26.2%}.academy-landing-hotspots button:nth-child(3){left:58.6%;top:41.5%;width:21.4%;height:26.2%}.academy-landing-hotspots button:nth-child(4){left:9.3%;top:68.3%;width:27.7%;height:22.9%}.academy-landing-hotspots button:nth-child(5){left:37.5%;top:68.3%;width:24.4%;height:22.9%}.academy-landing-hotspots button:nth-child(6){left:62.2%;top:68.3%;width:34.7%;height:22.9%}
.academy-shell[data-academy-view="layer"] .academy-landing,.academy-shell[data-academy-view="tools"] .academy-landing{display:none}.academy-shell[data-academy-view="layer"] .academy-command-bar{display:none}.academy-shell[data-academy-view="tools"] .academy-command-bar{display:flex}.academy-shell[data-academy-view="layer"] .academy-layout{display:block;min-height:0}.academy-shell[data-academy-view="layer"] .academy-sidebar{padding:0;border:0;background:#061827;overflow:hidden}.academy-shell[data-academy-view="layer"] .academy-layer-art{display:block;width:100%;height:auto;aspect-ratio:1679/941;margin:0;border:0;border-radius:0;box-shadow:none}.academy-shell[data-academy-view="layer"] .academy-layer-art::after{display:none}.academy-shell[data-academy-view="layer"] .academy-layer-art img{object-fit:contain;object-position:center top}.academy-shell[data-academy-view="layer"] .academy-family-grid,.academy-shell[data-academy-view="layer"] .gasm-qualification-menu,.academy-shell[data-academy-view="layer"] .academy-controls,.academy-shell[data-academy-view="layer"] .academy-exam-preview,.academy-shell[data-academy-view="layer"] .academy-conversation,.academy-shell[data-academy-view="layer"] .academy-close,.academy-shell[data-academy-view="layer"] .academy-main{display:none!important}
.academy-shell[data-academy-view="tools"] .academy-layout{display:grid;grid-template-columns:390px minmax(0,1fr);min-height:calc(100vh - 70px)}.academy-shell[data-academy-view="tools"] .academy-layer-art{display:none}.academy-shell[data-academy-view="tools"] .academy-sidebar{padding:16px;overflow:auto}.academy-shell[data-academy-view="tools"] .academy-main{display:block;min-height:calc(100vh - 70px)}
@media(max-width:820px){.academy-shell[data-academy-view="landing"] .academy-landing,.academy-shell[data-academy-view="layer"] .academy-layer-art{min-height:0;aspect-ratio:1679/941}.academy-shell[data-academy-view="tools"] .academy-layout{grid-template-columns:1fr}.academy-shell[data-academy-view="tools"] .academy-main{min-height:650px}}
