.modal:not([open]){display:none}
.legacy-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(61,67,50,.36);z-index:50}
.legacy-modal-backdrop[hidden]{display:none}
.modal.legacy-dialog{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);margin:0;z-index:60;max-height:90vh;overflow:auto;-webkit-overflow-scrolling:touch}
.modal.legacy-dialog[open]{display:block}
.no-flex-gap .brand img{margin-right:11px}
.no-flex-gap .nav-item img{margin-right:12px}
.no-flex-gap .teacher-badge>span{margin-right:9px}
.no-flex-gap .topbar-right>*+*{margin-left:24px}
.no-flex-gap .heading-actions>*+*,.no-flex-gap .editor-buttons>*+*{margin-left:12px}
.no-flex-gap .table-actions>*+*{margin-left:9px}
.no-flex-gap .student-choice .avatar{margin-right:11px}
.no-flex-gap .confirm-actions>*+*,.no-flex-gap .result-actions>*+*{margin-left:10px}
.student-list,.table-scroll{-webkit-overflow-scrolling:touch}
@supports not (aspect-ratio:1){.wheel-wrap::before{content:"";display:block;padding-top:100%}.wheel-wrap canvas{position:absolute;top:0;left:0}}
@supports not (font-size:clamp(32px,3.8vw,52px)){.story-copy h1{font-size:38px}}
@media(max-width:760px){.no-flex-gap .nav-item img{margin-right:0;margin-bottom:5px}.no-flex-gap .topbar-right>*+*{margin-left:10px}.no-flex-gap .heading-actions>*+*{margin-left:7px}.no-flex-gap .editor-buttons>*+*,.no-flex-gap .table-actions>*+*{margin-left:5px}.story-copy h1{font-size:27px}.legacy-dialog{max-height:85vh}.legacy-dialog input,.legacy-dialog select,.legacy-dialog textarea{font-size:16px}}
