/* Controls: large touch targets, visible focus, responsive layouts. */
:root{--fc-violet:#44358b;--fc-orange:#ee8039;--fc-sage:#528879;--fc-ivory:#fffcf5}
html{scroll-padding-top:150px}button,select,input,textarea{font:inherit}button,select{touch-action:manipulation}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #9c430d;outline-offset:4px}[hidden]{display:none!important}
#fc-top-tools{position:sticky;top:0;z-index:50;background:#fffaf0;border-block:1px solid #e4ddd2;padding:12px 3vw;display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#30275d;font:600 15px/1.4 Arial,sans-serif}
#fc-top-tools button,#fc-top-tools a,#fc-top-tools summary,.fc-public-full{min-height:46px;min-width:46px;padding:11px 15px;background:white;border:1px solid #c9c2da;border-radius:9px;text-decoration:none;color:#44358b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font:700 15px/1.4 Arial,sans-serif}
#fc-top-tools [data-fc-full],.fc-public-full{border:2px solid #44358b;background:#f4f0ff;white-space:nowrap}.fc-class-form{display:flex;align-items:center;gap:12px;margin:0}.fc-class-form label{font-size:16px;font-weight:800}.fc-class-form select{min-width:230px;min-height:48px;padding:10px 30px 10px 14px;border:1px solid #6c5aa8;border-radius:8px;color:#352876;background:white}.fc-class-form button{background:#ee8039;border-color:#ee8039;color:#211d37}.fc-activity-menu{position:relative}.fc-activity-menu nav{position:absolute;top:100%;left:0;margin:5px 0;padding:12px;background:white;box-shadow:0 10px 40px #22164125;border:1px solid #ddd;width:300px;max-height:65dvh;overflow:auto;display:grid;z-index:100}.fc-activity-menu nav button{white-space:normal;text-align:left;justify-content:start}.fc-sequence-menu{display:flex;align-items:center;gap:7px;font-size:13px}.fc-sequence-menu select{max-width:285px;min-height:46px;font-size:14px}
#fc-tools-status{position:fixed;bottom:12px;left:12px;right:12px;z-index:999;padding:0;background:#fff4d8;color:#3b2e51;border-radius:9px;text-align:center;font:16px/1.5 Arial}#fc-tools-status:not(:empty){padding:12px;border:1px solid #bda45e}
#fc-report{width:min(650px,94vw);max-height:90dvh;border:0;border-radius:18px;padding:24px;color:#352876;background:#fffcf5;font:18px/1.5 Arial}#fc-report::backdrop{background:#1c163a99}#fc-report textarea{display:block;width:100%;padding:12px;margin-block:12px}#fc-report button{margin:6px;min-height:46px;padding:10px;border:1px solid #786aa9;border-radius:8px;background:white}
.mg-interface{--ink:#352876;--green:#44358b;--soft:#f4effb;--gold:#f4b277;--line:#dfd8e8;--paper:#fffcf5;--muted:#655c76;--accent:#44358b;background:#fffcf5;color:#352876}.mg-interface button,.mg-interface select{min-height:46px}.mg-interface .primary,.mg-interface .purple{background:#44358b;color:white}.mg-interface .topbar .brandmark{display:none}.mg-interface .topbar .brand{color:#44358b}.mg-interface>header{position:static!important}.mg-interface .brand,.mg-interface .fc-brand{color:#44358b}.mg-interface #fc-top-tools~.shell .sidebar{padding-top:22px}.mg-interface .school-welcome{background:#f3eadb}.mg-interface .side-note{background:#fff0df}.mg-interface .hero img{max-height:460px;object-fit:contain}.mg-interface .footer,.mg-interface footer{color:#625970}.mg-interface .jv-ambience{display:none}.mg-interface .teacher-companion,.mg-interface .guide-companion{display:none}
.mg-interface .subjects,.mg-interface .grid{grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}.mg-interface .writing-area{width:100%}.mg-interface .fc-board-button{background:#44358b;color:white}
.mg-interface.jv-reader{background:#fffcf5;color:#352876}.mg-interface.jv-reader .topbar,.mg-interface.jv-reader>header{background:white;color:#44358b;border-color:#dfd8e8}.mg-interface.jv-reader .sidebar{background:#f3eef8;color:#352876}.mg-interface.jv-reader .sidebar h1,.mg-interface.jv-reader main h2,.mg-interface.jv-reader #title{color:#44358b}.mg-interface.jv-reader .audio-panel{background:white;border-color:#dfd8e8}.mg-interface.jv-reader .side-note{background:#fff0df}.mg-interface .topbar .brand img{object-fit:contain}.mg-interface .school-welcome{display:block}.mg-interface .welcome-copy{max-width:none}.mg-interface .school-welcome h1{font-size:clamp(32px,4vw,50px)}.mg-interface .welcome-art{display:none}.lp-header{flex-wrap:wrap;height:auto;min-height:80px}#fc-top-tools .fc-activity-menu nav button[aria-current=true]{background:#44358b;color:white}
@media(max-width:760px){html{scroll-padding-top:220px}#fc-top-tools{gap:7px;padding:10px 12px}.fc-class-form{flex:1 1 100%;gap:8px}.fc-class-form label{font-size:14px}.fc-class-form select{min-width:0;width:100%;flex:1}#fc-top-tools button,#fc-top-tools a,#fc-top-tools summary{font-size:14px;padding:9px 10px}.fc-sequence-menu{width:100%}.fc-sequence-menu select{flex:1;max-width:none;min-width:0}.fc-public-full{font-size:13px;padding:8px}.mg-interface .audio-panel #voice{max-width:100%}.mg-interface main{min-width:0}#fc-report{padding:18px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
@media print{#fc-top-tools,.fc-public-full,#fc-tools-status,.jv-ambience{display:none!important}}

.fc-extra-tools{position:relative}.fc-extra-panel{position:absolute;right:0;top:100%;background:white;padding:12px;min-width:230px;display:grid;gap:8px;border:1px solid #ddd5e6;border-radius:10px;box-shadow:0 8px 28px #21173822;z-index:101}.fc-immersive>header,.fc-immersive>.jv-session,.fc-immersive>footer{display:none!important}.fc-immersive #fc-top-tools{top:0}.fc-immersive main{max-width:none}
@media(max-width:760px){.fc-class-form{display:grid;grid-template-columns:1fr auto;width:100%}.fc-class-form label{grid-column:1/-1}.fc-class-form select{width:100%;font-size:16px}#fc-top-tools{justify-content:center}.fc-extra-panel{max-width:85vw}#fc-top-tools .fc-sequence-menu{order:5}.fc-activity-menu nav{left:auto;right:0;max-width:90vw}#fc-top-tools{position:relative}.fc-immersive #fc-top-tools{position:sticky}input,select,textarea{font-size:16px}html{scroll-padding-top:20px}}

.mg-interface .jv-session{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:10px 4vw;background:#f1ecf7;color:#44358b;font:14px/1.5 Arial}.mg-interface .jv-session a,.mg-interface .jv-session button{color:#44358b;min-height:44px;padding:9px;border:1px solid #cfc5df;background:white;border-radius:8px}.mg-interface .jv-session form{margin:0}.mg-interface #fc-board{background:#fffcf5;color:#352876;border-color:#dbd2e5}.mg-interface #fc-board button,.mg-interface #fc-board select{color:#44358b;border-color:#c9bfda;min-height:46px}.mg-interface #fc-board #fb-prompt{background:#fff0de}
@media(max-width:600px){#fc-board{max-height:94vh;max-height:94dvh;padding:14px}#fc-board .fb-paper{min-height:220px}#fc-board #fb-canvas{height:220px}#fc-board .fb-tools{gap:8px}#fc-board label{flex-wrap:wrap}}
.fc-luminous #demo-audio{background:#176c52;color:#fff}.fc-luminous .lp-footer small{color:#536557}
.mg-interface .school-welcome h1,.mg-interface .school-welcome h1 em{color:#44358b}.mg-interface .school-welcome p,.mg-interface .school-welcome .welcome-bottom,.mg-interface .school-welcome .welcome-tag{color:#4c4266}.mg-interface .school-welcome em{font-style:normal}
.mg-interface .school-welcome .welcome-bottom>span{color:#4c4266}
.mg-interface>header::after{display:none}

/* Compatibility with the current course layouts. */
.fc-luminous nav.fc-tools{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;padding:18px;background:#fffaf0}.fc-luminous nav.fc-tools a{padding:10px 24px;color:#176c52;font-weight:bold}.mg-interface .fc-hero-art img{object-fit:cover}.mg-interface .fc-class-menu .fc-popover-panel{z-index:110}.mg-interface #fc-board{width:min(1000px,96vw)}.mg-interface .topbar .brand{display:flex;align-items:center;gap:12px}.mg-interface .topbar .brand img{max-width:64px}.mg-interface #fc-classroom-board-trigger{margin:12px 0}.mg-interface .fc-hero-art{background:#f3eef8}
@media(max-width:760px){.mg-interface .fc-header-inner,.mg-interface .fc-header-nav{flex-wrap:wrap}.mg-interface .fc-hero{grid-template-columns:1fr}.mg-interface .fc-hero-copy,.mg-interface .fc-hero-art{min-width:0}.mg-interface .fc-hero h1{overflow-wrap:anywhere}.mg-interface .fc-tools{position:relative}.mg-interface .courseNav{flex-wrap:wrap}#fc-top-tools .fc-class-form{max-width:100%}#fc-top-tools .fc-activity-menu nav{position:fixed;left:12px;right:12px;top:auto;width:auto;max-width:calc(100vw - 24px)}.mg-interface .shell{grid-template-columns:1fr}.mg-interface .audio-panel{flex-wrap:wrap}.mg-interface dialog{max-width:96vw;max-height:94dvh}}
