/*! Copyright (c) 2026 Dominic Tope. Classroom use permitted. See COPYRIGHT.txt and THIRD-PARTY-NOTICES.txt. */
.quiz-dialog [hidden],.quiz-workflow [hidden]{display:none!important}body.teacher-site .quiz-workflow{margin-bottom:46px}.quiz-tour-launch{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px;width:100%;margin:0}body.teacher-site .creator-page-intro{flex-direction:column;gap:18px}.quiz-tour-launch .btn{white-space:nowrap}body.teacher-site .quiz-screen .panel-heading h2,body.teacher-site .quiz-steps button{font-family:Arial,Helvetica,sans-serif;font-size:1.2rem;font-weight:700;line-height:1.35;letter-spacing:normal}.quiz-steps ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:0;border:1px solid #d9e3f0;border-radius:16px;overflow:hidden;background:#fff}.quiz-steps li+li{border-left:1px solid #e2e8f0}.quiz-steps button{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:10px;text-align:center;padding:17px 12px;width:100%;height:100%;border:0;background:0 0;color:#52637c;font:inherit;font-weight:700;cursor:pointer}.quiz-steps .quiz-step-number{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:10px;background:#edf2f8;font-size:1rem;font-weight:700}.quiz-steps button[aria-current=step]{background:#1146a1;color:#fff}.quiz-steps button[aria-current=step] .quiz-step-number{background:#fff;color:#1146a1}.quiz-steps button:disabled{color:#8894a6;cursor:default}.quiz-steps button:not(:disabled):hover{box-shadow:inset 0 -3px #8eb8ee}.quiz-step-message{font-size:.85rem;line-height:1.5;color:#52637c;margin:16px 2px;min-height:1.5em}.quiz-screen{border:1px solid #dce5f0;border-radius:22px;background:#fff;overflow:hidden;animation:quiz-screen-in .3s ease-out}.quiz-add-grid{display:grid;grid-template-columns:1fr 1fr;min-width:0}body.teacher-site .quiz-screen .panel{border-radius:0;margin:0;box-shadow:none;border:0}body.teacher-site .quiz-screen .import-panel{border-right:1px solid #e2e8f0}body.teacher-site .quiz-screen .setup-panel{max-width:none;padding:28px;margin:0;background:#fbfdff}body.teacher-site .quiz-templates{padding:28px;background:#fff}.quiz-templates>p:not(.eyebrow){font-size:.9rem;color:#52637c;line-height:1.65}.quiz-template-switch{position:relative;isolation:isolate}.quiz-template-slider{position:absolute;left:4px;top:4px;bottom:4px;width:calc(50% - 6px);background:#fff;border-radius:9px;box-shadow:0 3px 10px rgba(15,23,42,.09);transition:transform .25s ease;z-index:-1}.quiz-template-switch[data-format=latex] .quiz-template-slider{transform:translateX(calc(100% + 4px))}.quiz-template-switch [aria-selected=true]{color:#1146a1}.quiz-template-copy{display:flex;align-items:center;gap:17px;margin:25px 0;min-height:85px}.quiz-template-copy h3{font-size:1rem;margin:0 0 7px}.quiz-template-copy p{font-size:.85rem;line-height:1.55;color:#52637c;margin:0}.quiz-file-icon{width:53px;height:65px;flex:0 0 53px;display:flex;align-items:center;justify-content:center;border:1px solid #bdd3ef;border-radius:8px 16px 8px 8px;background:#edf5ff;color:#1b57a7;font-size:1.2rem;font-weight:700}.quiz-file-icon>span{font-size:.8em;transform:translateY(3px)}.quiz-template-actions{display:grid;gap:10px}body.teacher-site .quiz-templates .quiz-template-note{font-size:.78rem;margin-top:16px}.quiz-step-footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:20px;min-height:46px}.quiz-step-footer :is(#quiz-step-next,#generate-button){width:230px;min-height:46px;flex:0 0 230px;white-space:nowrap}.quiz-step-footer #quiz-step-back{min-height:46px;min-width:100px}body.teacher-site .quiz-screen .panel-heading{align-items:flex-start;min-height:34px}body.teacher-site .quiz-screen .panel-heading h2{display:flex;align-items:center;min-height:34px}body.teacher-site .quiz-template-heading h2{min-height:34px}.quiz-setup-fields{display:grid;grid-template-columns:1fr;gap:12px;align-items:start}body.teacher-site .quiz-setup-fields .field-label{margin:0 0 8px}body.teacher-site .quiz-title-field #activity-title{box-sizing:border-box;width:100%;height:46px;min-height:46px;margin:0;padding:10px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;font:inherit;line-height:1.4}body.teacher-site .quiz-setup-fields fieldset{margin:0;padding:0;border:0;min-width:0}body.teacher-site .quiz-setup-fields legend{padding:0;margin-bottom:8px}.quiz-inline-appearance{margin:0;padding:0;border:0}body.teacher-site .quiz-inline-appearance>h3{margin:0 0 16px;font-size:1.2rem;line-height:1.35}.quiz-editor-table th:nth-child(7){width:166px}body.teacher-site .quiz-editor-table textarea{height:64px;min-height:64px;max-height:64px;font-size:.9rem;resize:none;overflow:auto;padding:10px;line-height:1.4}.quiz-editor-table .tool-select-trigger{min-height:64px}.quiz-editor-table .correct-option-cell{vertical-align:middle!important}.quiz-editor-table .tool-select-trigger[data-value=blue]{border-color:#93c5fd;background:#eff6ff;color:#1e3a8a}.quiz-editor-table .tool-select-trigger[data-value=red]{border-color:#fda4af;background:#fff1f2;color:#7f1d1d}.quiz-editor-table .tool-select-trigger[data-value=green]{border-color:#86efac;background:#f0fdf4;color:#14532d}.quiz-editor-table .tool-select-trigger[data-value=yellow]{border-color:#fcd34d;background:#fffbeb;color:#713f12}@media(max-width:760px){.quiz-setup-fields{grid-template-columns:1fr}.quiz-step-footer{flex-wrap:nowrap}}.quiz-ready-summary{margin:22px 0;flex:1 0 100%;width:100%}.quiz-ready-summary>p{color:#52637c;font-size:.95rem;margin-top:0}body.teacher-site .quiz-screen .generate-panel{padding:30px;display:block}.quiz-dialog :focus-visible,.quiz-workflow :focus-visible{outline:3px solid #60a5fa;outline-offset:3px}.quiz-workflow [tabindex="-1"]:focus{outline:0}.quiz-dialog{color:#172a49;font-family:Arial,sans-serif;border:1px solid #dce5f0;border-radius:22px;padding:0;width:min(790px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);box-shadow:0 25px 90px #0f172a40;background:#fff;overscroll-behavior:contain}.quiz-dialog::backdrop{background:#10213e80;backdrop-filter:blur(3px)}.quiz-dialog-heading{display:flex;gap:20px;justify-content:space-between;border-bottom:1px solid #e2e8f0;padding:24px 28px 20px}.quiz-dialog h2{font-size:1.45rem;line-height:1.25;margin:0 0 8px;color:#172a49}.quiz-dialog h3{font-size:1.12rem;margin:0 0 9px}.quiz-dialog-body>p,.quiz-dialog-heading p:not(.eyebrow){font-size:.88rem;line-height:1.55;color:#52637c;margin:0}.quiz-dialog .eyebrow{color:#235ccd;font-size:.7rem;font-weight:700;letter-spacing:.1em;margin:0 0 9px}.quiz-dialog-body{padding:22px 28px}.quiz-prompt-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin:20px 0}.quiz-prompt-field{min-width:0}.quiz-prompt-field label{display:block;font-size:.85rem;font-weight:700;margin-bottom:8px}.quiz-dialog label small,.quiz-prompt-field label small{font-weight:400;color:#64748b;font-size:.78rem}#quiz-prompt-output,.quiz-prompt-field input,.quiz-prompt-field select,.quiz-prompt-field textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;border:1px solid #bbc9dc;border-radius:9px;padding:11px 12px;color:#172a49;background:#fff;font:inherit;font-size:.9rem;min-height:44px}#quiz-prompt-output,.quiz-prompt-field textarea{resize:vertical;line-height:1.55}.quiz-prompt-field input::placeholder,.quiz-prompt-field textarea::placeholder{color:#737f92;font-size:.8rem}.quiz-field-wide{grid-column:1/-1}.quiz-prompt-field [aria-invalid=true]{border:2px solid #c93636;background:#fff7f7}.quiz-field-error{color:#b42318;display:block;font-size:.8rem;line-height:1.5;margin-top:6px}.quiz-dialog .quiz-error-summary{color:#a22320;background:#fff1f1;padding:10px 14px;margin-top:14px;border-radius:8px}.quiz-dialog .quiz-prompt-help,.quiz-dialog .quiz-required-note{font-size:.78rem;line-height:1.6}.quiz-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #e2e8f0;background:#fff;padding:18px 28px;position:sticky;bottom:0}.quiz-dialog-footer>span{font-size:.78rem;color:#64748b}#quiz-prompt-output{font-family:Arial,sans-serif;margin-top:9px;font-size:.86rem}#quiz-prompt-copy-status{min-height:2.7em;margin-top:13px;font-size:.8rem}.quiz-dialog .btn{font:inherit;font-size:.9rem}.quiz-shake{animation:quiz-shake .3s ease}.quiz-tour-dialog{width:min(420px,calc(100vw - 32px));overflow:visible;border:0;background:0 0;box-shadow:none}.quiz-tour-dialog.quiz-tour-active{position:fixed;margin:0;inset:auto;max-height:none}.quiz-tour-active::backdrop{background:0 0;backdrop-filter:none}#quiz-tour-card{position:relative;z-index:1;background:#fff;border:1px solid #dce5f0;border-radius:20px;padding:24px;box-shadow:0 15px 55px #10213e40;max-height:calc(100dvh - 32px);overflow:auto}#quiz-tour-description{font-size:.9rem;line-height:1.7;color:#52637c;margin:12px 0 22px}#quiz-tour-spotlight{position:fixed;z-index:-1;border:3px solid #80b5ff;border-radius:14px;box-shadow:0 0 0 9999px #10213e99;pointer-events:none;box-sizing:border-box}.quiz-tour-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.quiz-tour-last .quiz-tour-actions{flex-wrap:nowrap;justify-content:space-between}.quiz-tour-last #quiz-tour-back{margin-right:auto}#quiz-tour-close{position:absolute;top:14px;right:14px}#quiz-tour-count,#quiz-tour-title{padding-right:42px}.quiz-prompt-more{margin:22px 0 0;border:1px solid #dce5f0;border-radius:14px;background:#fbfdff}.quiz-prompt-more>summary{position:relative;list-style:none;padding:16px 46px 16px 18px;font-weight:700;cursor:pointer;color:#172a49}.quiz-prompt-more>summary::-webkit-details-marker{display:none}.quiz-prompt-more>summary::after{content:"";position:absolute;right:20px;top:20px;width:8px;height:8px;border-right:2px solid #52637c;border-bottom:2px solid #52637c;transform:rotate(45deg)}.quiz-prompt-more[open]>summary::after{transform:translateY(4px) rotate(225deg)}.quiz-prompt-more>summary small{font-size:.78rem;font-weight:400;color:#64748b;margin-left:8px}.quiz-prompt-more-body{padding:0 18px 18px;border-top:1px solid #e2e8f0}.quiz-prompt-more-body>.quiz-prompt-fields{margin-bottom:10px}.quiz-prompt-submit{justify-content:flex-end}.quiz-select{position:relative}body.teacher-site .quiz-select-trigger{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;text-align:left;border:1px solid #bbc9dc;border-radius:10px;padding:12px 14px;background:#fff;color:#172a49;font:inherit;font-size:.9rem;cursor:pointer}.quiz-select-trigger>span{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;flex:1;min-width:0;align-items:center}.quiz-select-trigger strong{font-weight:700}.quiz-select-trigger>span>span{font-size:.8rem;color:#52637c;line-height:1.45}.quiz-select-trigger::after{content:"";flex:0 0 7px;width:7px;height:7px;border-right:2px solid #52637c;border-bottom:2px solid #52637c;transform:translateY(-2px) rotate(45deg)}.quiz-select-trigger[aria-expanded=true]{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.quiz-select-menu{position:fixed;z-index:5;overflow:auto;overscroll-behavior:contain;padding:6px;margin:0;background:#fff;border:1px solid #c7d8ed;border-radius:12px;box-shadow:0 14px 40px #172a4933;box-sizing:border-box}.quiz-select-option{position:relative;display:grid;grid-template-columns:130px minmax(0,1fr);align-items:center;gap:12px;padding:13px 32px 13px 12px;border-radius:8px;color:#172a49;font-size:.88rem;line-height:1.45;cursor:pointer}.quiz-select-option+.quiz-select-option{border-top:1px solid #edf2f7}.quiz-select-option strong{font-weight:700}.quiz-select-option>span{font-size:.8rem;color:#52637c}.quiz-select-option.is-active{background:#eff6ff;outline:2px solid #93c5fd;outline-offset:-2px}.quiz-select-option[aria-selected=true]::after{content:"";position:absolute;right:14px;top:calc(50% - 6px);width:5px;height:10px;border-right:2px solid #1d4ed8;border-bottom:2px solid #1d4ed8;transform:rotate(45deg)}@media(max-width:480px){body.teacher-site .quiz-screen .panel-heading h2,body.teacher-site .quiz-steps button{font-size:1.02rem}.quiz-select-option,.quiz-select-trigger>span{grid-template-columns:100px minmax(0,1fr);gap:8px}.quiz-prompt-more-body{padding-left:12px;padding-right:12px}}.quiz-text-button{border:0;background:0 0;color:#52637c;text-decoration:underline;font:inherit;font-size:.78rem;padding:9px 0;margin-right:auto;cursor:pointer}@keyframes quiz-screen-in{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes quiz-shake{25%{transform:translateX(-4px)}50%{transform:translateX(4px)}75%{transform:translateX(-2px)}}@media(max-width:760px){.quiz-add-grid{grid-template-columns:1fr}body.teacher-site .quiz-screen .import-panel{border-right:0;border-bottom:1px solid #e2e8f0}body.teacher-site .quiz-screen .generate-panel,body.teacher-site .quiz-screen .setup-panel,body.teacher-site .quiz-templates{padding:22px 18px}.quiz-steps button{position:relative;grid-template-columns:1fr;gap:0;padding:44px 8px 12px}.quiz-steps .quiz-step-number{position:absolute;left:10px;top:10px;width:24px;height:24px;font-size:.85rem}.quiz-steps .quiz-step-label{grid-column:1}.quiz-steps button::after{display:none}.quiz-step-footer{flex-wrap:nowrap;gap:10px}.quiz-step-footer .btn{font-size:.8rem;padding:12px}.quiz-prompt-fields{grid-template-columns:1fr}.quiz-field-wide{grid-column:auto}.quiz-dialog-body,.quiz-dialog-heading{padding:20px}.quiz-dialog-footer{padding:16px 20px;flex-wrap:wrap}.quiz-dialog-footer>span{font-size:.7rem}.quiz-dialog h2{font-size:1.25rem}.quiz-dialog .btn{font-size:.8rem}}@media(prefers-reduced-motion:reduce){.quiz-screen,.quiz-shake{animation:none}.quiz-template-slider{transition:none}}body.teacher-site .quiz-stage-viewport{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:16px;min-height:0;margin-inline:auto}body.teacher-site .quiz-stage-viewport .quiz-stage{box-sizing:border-box;width:1080px;height:607.5px;min-height:0;max-height:none;grid-template-rows:72% 28%;border-radius:16px;transform-origin:top left;transform:scale(.5)}body.teacher-site .quiz-stage-viewport .quiz-question-area{padding:74px 86.4px 22px}body.teacher-site .quiz-stage-viewport .quiz-question{font-size:58px;line-height:1.22}body.teacher-site .quiz-stage-viewport .quiz-option-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:10px;padding:0 18px 18px}body.teacher-site .quiz-stage-viewport .quiz-option{min-height:0;border-top-width:6px;border-radius:16px;padding:18px 12px;font-size:68px;line-height:1.08}body.teacher-site .quiz-presentation-shell[data-show-labels=true] .quiz-stage-viewport .quiz-option{padding-top:38px}body.teacher-site .quiz-stage-viewport .option-letter{left:12px;top:11px;width:32px;height:27px;font-size:12px}body.teacher-site .quiz-stage-viewport .slide-counter{top:22px;left:22px;font-size:12px}body.teacher-site .quiz-stage-viewport .answer-state-pill{top:22px;max-width:750px;padding:8px 15px;font-size:12px}body.teacher-site .quiz-stage-viewport .correct-mark{height:calc(100% - 14px);border-width:8px}body.teacher-site .quiz-preview-shell{width:100%;border:0;box-shadow:none;margin:0;padding:0;pointer-events:none}body.teacher-site .quiz-stage-viewport .option-content,body.teacher-site .quiz-stage-viewport .slide-inline-content{display:block;width:100%}body.teacher-site .quiz-stage-viewport .option-content.prefer-one-line{width:100%}body.teacher-site .quiz-stage-viewport .option-content.prefer-one-line .activity-text-line{white-space:pre;overflow-wrap:normal}body.teacher-site .quiz-presentation-shell:-webkit-full-screen .quiz-stage-viewport,body.teacher-site .quiz-presentation-shell:fullscreen .quiz-stage-viewport{width:min(100%,calc((70dvh - 32px)*16/9));flex:none;align-self:center}.quiz-editor-table-inner{min-width:1100px}.quiz-editor-table th:nth-child(2){width:26%}.quiz-editor-table th:nth-child(n+3):nth-child(-n+6){width:11.5%}.quiz-steps .quiz-step-label{grid-column:2;min-width:0;line-height:1.35}.quiz-steps button::after{content:"";grid-column:3;width:34px}.quiz-prompt-choice-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;align-items:start;margin-top:22px}.quiz-choice-delivery .quiz-select-trigger>span{display:block}.quiz-choice-delivery .quiz-select-trigger>span>span{display:none}.quiz-choice-delivery .quiz-select-option{grid-template-columns:1fr;gap:4px}.quiz-prompt-choice-row .quiz-select-trigger{min-height:54px}.quiz-select-option>span:empty,.quiz-select-trigger>span>span:empty{display:none}.quiz-prompt-choice-row .quiz-select-trigger>span{grid-template-columns:minmax(100px,.8fr) minmax(0,1.4fr)}body.teacher-site .quiz-prompt-choice-row .quiz-select-trigger[aria-invalid=true]{border:2px solid #c93636;background:#fff7f7}body.teacher-site .quiz-preview-controls .quiz-label-toggle{justify-self:start;align-self:auto;font-size:.85rem;margin:0}.quiz-preview-footer{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin-top:12px}body.teacher-site .quiz-preview-footer .appearance-example-controls{grid-column:2;margin:0}.quiz-preview-controls{grid-column:3;display:flex;align-items:center;justify-content:flex-end;margin:0}.quiz-preview-controls .quiz-label-toggle{white-space:nowrap}@media(max-width:480px){body.teacher-site .quiz-preview-footer .appearance-question-count{width:auto;min-width:calc(8ch + 20px);font-size:12px}}.quiz-setup-fields .quiz-order-choice{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quiz-setup-fields .quiz-order-choice label{min-height:46px}body.teacher-site .quiz-setup-fields .quiz-order-choice label>span{box-sizing:border-box;height:46px;min-height:46px;padding:6px 10px;border-radius:10px;line-height:1.15}.quiz-setup-fields .quiz-order-choice strong{font-size:.85rem}.quiz-setup-validation .validation-card{margin-top:20px}.quiz-setup-validation #first-error-button{margin-top:12px}.quiz-game-layout{grid-template-columns:minmax(0,1fr)}body.teacher-site .quiz-presentation-section,body.teacher-site .quiz-teacher-guide{box-sizing:border-box;width:100%;max-width:none;min-width:0;margin-inline:0}@media(max-width:760px){.quiz-steps .quiz-step-label{grid-column:1}.quiz-steps button::after{display:none}.quiz-prompt-choice-row{gap:12px}.quiz-prompt-choice-row .quiz-select-trigger>span{grid-template-columns:1fr;gap:4px}.quiz-choice-difficulty .quiz-select-option{grid-template-columns:1fr;gap:4px}}@media(max-width:480px){.quiz-prompt-choice-row{grid-template-columns:1fr}.quiz-step-footer #quiz-step-back{width:68px;min-width:68px;flex:0 0 68px}.quiz-step-footer :is(#quiz-step-next,#generate-button){width:calc(100% - 78px);flex:0 1 calc(100% - 78px)}.quiz-step-footer #quiz-step-back[hidden]+#quiz-step-next{flex-grow:0}}body.teacher-site .quiz-screen .import-panel{padding:28px;background:#fbfdff;min-width:0}body.teacher-site .quiz-screen .input-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:#edf2f8;padding:4px;border-radius:12px;margin:20px 0}body.teacher-site .quiz-screen .input-tabs button{font-family:Arial,Helvetica,sans-serif;font-size:.9rem;line-height:1.4;padding:10px 12px;border:0;border-radius:9px;background:0 0;color:#52637c;font-weight:700;min-height:40px;cursor:pointer}body.teacher-site .quiz-screen .input-tabs button.active,body.teacher-site .quiz-screen .input-tabs button[aria-selected=true]{background:#fff;color:#1146a1;box-shadow:0 3px 10px #0f172a17}body.teacher-site .quiz-screen .quiz-template-switch button[aria-selected=true]{background:0 0;box-shadow:none}body.teacher-site .quiz-screen .stacked-actions{display:grid;gap:10px;margin-top:18px}body.teacher-site .quiz-screen .upload-box{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;min-height:180px;padding:22px 18px;border:2px dashed #bed0e8;border-radius:14px;background:#fff;cursor:pointer}body.teacher-site .quiz-screen .upload-box>span:last-of-type{font-size:.8rem;color:#64748b;line-height:1.5}body.teacher-site .quiz-screen .upload-icon{font-size:1.7rem;color:#2459a7}body.teacher-site .quiz-screen .privacy-note-small{font-size:.78rem;color:#52637c;line-height:1.6;margin-top:18px}body.teacher-site .quiz-screen .editor-panel>summary{font-family:Arial,Helvetica,sans-serif;font-size:1.2rem}body.teacher-site .quiz-screen .editor-table textarea{height:64px!important;min-height:64px!important;max-height:64px!important;resize:none;overflow:auto;font-size:.9rem;line-height:1.4;padding:10px;box-sizing:border-box}body.teacher-site .quiz-screen .review-picture-button{margin:0 24px 18px}body.teacher-site .quiz-screen .pdf-options{display:block;width:100%;max-width:none;margin:0}body.teacher-site .quiz-screen .pdf-options .lc-select-shell{max-width:none;width:100%}body.teacher-site .quiz-screen .choice-fieldset{margin:0}body.teacher-site .quiz-screen .mode-choice-grid{grid-template-columns:1fr;gap:8px}body.teacher-site .quiz-screen .choice-card-content{min-height:0;padding:12px 14px}body.teacher-site .quiz-screen .choice-card-content small{font-size:.78rem;line-height:1.5}body.teacher-site .quiz-screen .label-mode-card{margin:0;padding:14px}body.teacher-site .quiz-screen .label-mode-heading{flex-wrap:wrap;gap:8px}body.teacher-site .quiz-screen .custom-phrase-toggle{min-width:0}body.teacher-site .quiz-screen .label-mode-badge{display:none}body.teacher-site .quiz-screen .field-help{font-size:.78rem;line-height:1.6;margin:0;color:#64748b}body.teacher-site .quiz-screen .quiz-setup-validation:empty{display:none}body.teacher-site .loop-workflow-output{margin-bottom:46px}body.teacher-site .loop-workflow-output .game-header-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px;padding:24px;border:1px solid #dce5f0;border-radius:20px;background:#fff}body.teacher-site .loop-workflow-output .game-header-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}body.teacher-site .loop-workflow-output .game-header-card h2{margin:0;font-size:1.5rem}body.teacher-site .loop-workflow-output .preview-panel{width:100%;box-sizing:border-box}body.teacher-site #builder-view[hidden],body.teacher-site #loop-output[hidden]{display:none!important}@media(max-width:760px){body.teacher-site .quiz-screen .import-panel{padding:22px 18px}body.teacher-site .loop-workflow-output .game-header-card{align-items:flex-start;flex-direction:column}}body.teacher-site .quiz-screen .review-panel{--review-row-height:82px;--review-table-heading:42px;--review-body-height:calc(5 * var(--review-row-height));--review-surface:#fff;padding:28px;background:#fbfdff}body.teacher-site .review-panel .review-panel-heading{display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;min-height:76px;margin:0;padding:14px 18px;border:0;border-radius:14px 14px 0 0;background:#3d73bd;color:#fff;font-family:Arial,Helvetica,sans-serif;font-size:1.2rem;font-weight:700;line-height:1.35;letter-spacing:normal}body.teacher-site .review-panel-heading .step-number{flex:0 0 34px;display:grid;place-items:center;width:34px;height:34px;margin:0;border-radius:10px;background:#fff;color:#3d73bd;font-size:1rem}body.teacher-site .review-panel-heading small{display:block;margin-top:3px;font-size:.78rem;line-height:1.35;font-weight:400;color:#eaf2ff}body.teacher-site .review-panel>.activity-check-content,body.teacher-site .review-panel>.review-editor-shell{box-sizing:border-box;width:100%;min-width:0;margin:0;padding:0;border-radius:0;background:var(--review-surface)}body.teacher-site .review-panel .editor-table-wrap{position:relative;box-sizing:border-box;width:100%;margin:0;height:calc(var(--review-table-heading) + var(--review-body-height));max-height:none;overflow:auto;scrollbar-gutter:stable;border:1px solid #dbe3ef;border-block:0;border-radius:0;background:var(--review-surface)}body.teacher-site .review-panel .editor-table-inner{padding-bottom:0}body.teacher-site .review-panel .editor-header-scroll{box-sizing:border-box;height:var(--review-table-heading);background:#eff6ff}body.teacher-site .review-panel .editor-body-scroll{position:relative;box-sizing:border-box;height:var(--review-body-height);max-height:none;overflow:auto;scrollbar-gutter:stable}body.teacher-site .review-panel .review-editor-shell{border:1px solid #dbe3ef;border-block:0}body.teacher-site .review-panel .editor-table{border-collapse:separate;border-spacing:0}body.teacher-site .review-panel .editor-table th{height:var(--review-table-heading);padding:8px;border:0;background:var(--review-column-background,#eff6ff);color:var(--review-column-colour,#1146a1);font-size:.74rem;line-height:1.2;vertical-align:middle}body.teacher-site .review-panel .editor-table tbody tr{height:var(--review-row-height)}body.teacher-site .review-panel .editor-table td{padding:8px;border-top:1px solid #e2e8f0;border-bottom:0;vertical-align:middle}body.teacher-site .review-panel .editor-table textarea{display:block;height:64px!important;min-height:64px!important;max-height:64px!important;padding:10px;overflow:auto;resize:none;line-height:1.4}body.teacher-site .review-panel .editor-table .tool-select-trigger,body.teacher-site .review-panel .editor-table input{box-sizing:border-box;height:64px;min-height:64px;max-height:64px}body.teacher-site .review-panel .editor-table .row-drag-handle{height:64px}body.teacher-site .review-panel .row-number-wrap{position:relative}body.teacher-site .review-panel .row-issues{position:absolute;top:0;left:0;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}body.teacher-site .review-panel .row-issues:empty{display:none}body.teacher-site .review-panel .add-row-strip{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-width:0;margin:0;min-height:48px;padding:10px 16px;border:2px dashed #93b9e8;border-top:1px solid #e2e8f0;border-radius:0 0 14px 14px;background:var(--review-surface);color:#1146a1;font-family:Arial,Helvetica,sans-serif;font-size:.88rem;font-weight:700;text-align:center;cursor:pointer}body.teacher-site .review-panel .add-row-strip .add-row-icon{display:grid;place-items:center;width:20px;height:20px;font-size:1.25rem;font-weight:400;line-height:1}body.teacher-site .review-panel .add-row-strip:hover:not(:disabled){background:#eff6ff;border-color:#2563eb;border-top-color:#e2e8f0}body.teacher-site .review-panel .mistake-navigation{margin:16px 0 0}.quiz-review-issues-dialog{width:min(650px,calc(100vw - 32px))}#quiz-review-issues-list{margin:0;padding-left:22px;color:#991b1b;font-size:.95rem;line-height:1.6}#quiz-review-issues-list li+li{margin-top:14px}.quiz-review-issues-dialog .quiz-dialog-footer{justify-content:flex-end}@media(max-width:760px){body.teacher-site .quiz-screen .review-panel{padding:22px 18px}}body.teacher-site .quiz-stage-viewport::after{content:"";position:absolute;inset:0;z-index:30;border:1px dashed #94a3b8;border-radius:inherit;pointer-events:none;box-sizing:border-box}body.teacher-site .quiz-stage-viewport .quiz-stage{border:0}body.teacher-site .presentation-fullscreen-panel{display:flex;flex-direction:column;min-width:0}body.teacher-site .choice-fullscreen-panel{display:block;min-width:0}body.teacher-site .presentation-controls{flex:none}body.teacher-site .presentation-shell:is(:fullscreen,:-webkit-full-screen){width:100vw;height:100dvh;max-width:none;display:grid;place-items:center;overflow:hidden;padding:0;border:0;border-radius:0;background:#fff}body.teacher-site .presentation-shell:is(:fullscreen,:-webkit-full-screen) .presentation-fullscreen-panel{display:flex;flex-direction:column;justify-content:center;position:relative;width:92vw;height:92dvh;min-height:0;padding:0;background:#fbfdff}body.teacher-site .presentation-shell:is(:fullscreen,:-webkit-full-screen) :is(.quiz-stage-viewport,.bingo-stage-viewport){width:min(100%,calc((92dvh - 112px)*16/9));height:auto;flex:none;align-self:center}body.teacher-site .presentation-shell:is(:fullscreen,:-webkit-full-screen) .presentation-controls{min-height:100px;padding:12px}body.teacher-site .presentation-shell:is(:fullscreen,:-webkit-full-screen) .quiz-stage{height:607.5px}body.teacher-site .bingo-stage-viewport{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;margin-inline:auto;border-radius:16px;min-height:0}body.teacher-site .bingo-stage-viewport .question-slide{box-sizing:border-box;width:1080px;height:607.5px;min-height:0;border-radius:16px;transform-origin:top left;transform:scale(.5)}body.teacher-site .bingo-stage-viewport :is(.slide-question-sheet,.slide-answer-layer){padding:74px 76px 58px;border:0;border-radius:16px}body.teacher-site .bingo-stage-viewport .slide-question{font-size:64px;line-height:1.25}body.teacher-site .bingo-stage-viewport .slide-answer{font-size:72px;line-height:1.25}body.teacher-site .bingo-stage-viewport .slide-counter{top:22px;left:22px;font-size:12px}body.teacher-site .bingo-stage-viewport .slide-inline-content{display:block;width:100%}body.teacher-site .bingo-stage-viewport::after{content:"";position:absolute;inset:0;z-index:30;border:1px dashed #94a3b8;border-radius:inherit;pointer-events:none;box-sizing:border-box}body.teacher-site .bingo-preview-shell{width:100%;margin:0;padding:0;border:0;box-shadow:none;border-radius:16px}body.teacher-site .bingo-preview-shell :is(.slide-question-sheet,.slide-answer-copy){transition:none}body.teacher-site .appearance-sample[data-tool=bingo],body.teacher-site .appearance-sample[data-tool=loop]{min-height:0;border:0;background:0 0;overflow:hidden}.appearance-pdf-page{display:block;width:100%;height:auto;background:#fff}.appearance-state-switch{display:flex;padding:3px;gap:3px;border-radius:9px;background:#e2e8f0}.appearance-state-switch button{border:0;border-radius:6px;background:0 0;padding:6px 9px;font:600 .75rem Arial,sans-serif;color:#52637c;cursor:pointer}.appearance-state-switch button[aria-pressed=true]{background:#fff;color:#1146a1;box-shadow:0 1px 4px #172a4918}.appearance-state-switch button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}body.teacher-site .bingo-grid-choice{margin:24px 0 0;padding:18px 0 0;min-width:0;border:0;border-top:1px solid #dbe3ef}body.teacher-site .bingo-grid-choice legend{font-size:1rem;font-weight:700;color:#172a49;padding:0 0 10px}.bingo-card-settings{display:grid;gap:16px;min-width:0}body.teacher-site .bingo-card-settings fieldset{margin:0;padding:0;min-width:0;border:0}body.teacher-site .bingo-card-settings legend{margin-bottom:10px;font-size:.9rem;font-weight:700}body.teacher-site .bingo-mode-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.teacher-site .bingo-mode-choice label>span{box-sizing:border-box;min-height:60px;padding:10px;text-align:center;display:flex;align-items:center;justify-content:center}body.teacher-site .bingo-mode-choice strong{font-size:.85rem;line-height:1.35}body.teacher-site .appearance-example #label-mode-card{margin:18px 0 0;padding:16px;background:#fff;text-align:left}body.teacher-site .appearance-example .label-mode-badge{display:none}@media(max-width:480px){.quiz-preview-footer{grid-template-columns:1fr;row-gap:10px}body.teacher-site .quiz-preview-footer .appearance-example-controls{grid-column:1}.quiz-preview-controls{grid-column:1;justify-content:center}.appearance-example-heading{align-items:center;flex-wrap:wrap}.bingo-grid-choice .grid-size-choice{grid-template-columns:1fr 1fr}}body.teacher-site :is(.quiz-presentation-shell,.bingo-presentation-shell){--presentation-radius:24px;border:0;border-radius:var(--presentation-radius)}body.teacher-site .presentation-shell .presentation-fullscreen-panel{border:0;border-radius:var(--presentation-radius,24px)}body.teacher-site .presentation-shell:is(:fullscreen,:-webkit-full-screen){border-radius:0}body.teacher-site .quiz-stage-viewport{border-radius:var(--presentation-radius,24px);background:linear-gradient(135deg,#eff6ff,#fff)}body.teacher-site .bingo-stage-viewport{border-radius:var(--presentation-radius,24px) var(--presentation-radius,24px) 0 0;background:#fff}body.teacher-site .bingo-stage-viewport .question-slide,body.teacher-site .quiz-stage-viewport .quiz-stage{border:0;border-radius:0}body.teacher-site .bingo-stage-viewport :is(.slide-question-sheet,.slide-answer-layer){border-radius:0}body.teacher-site :is(.quiz-stage-viewport,.bingo-stage-viewport)::after{inset:0;border-radius:inherit;z-index:30;pointer-events:none}body.teacher-site :is(.quiz-preview-shell,.bingo-preview-shell){--presentation-radius:12px}body.teacher-site .bingo-preview-shell{border-radius:var(--presentation-radius) var(--presentation-radius) 0 0}body.teacher-site .appearance-sample:is([data-tool=quiz],[data-tool=bingo]){border:0;border-radius:0;overflow:visible}body.teacher-site .loop-setup-extras{display:grid;gap:16px}body.teacher-site .loop-setup-extras #label-mode-card{margin:0;padding:16px;background:#fff}body.teacher-site .loop-setup-extras .quiz-setup-validation{margin:0}body.teacher-site .loop-setup-extras #edit-custom-phrase{margin-top:12px}body.teacher-site .appearance-controls>.quiz-setup-validation{margin:0}body.teacher-site .appearance-controls>.quiz-setup-validation .validation-card{margin:0}.loop-phrase-dialog #custom-phrase-panel{margin:0;padding:0;border:0;background:0 0}.loop-phrase-dialog .quiz-dialog-heading p{margin:8px 0 0;color:#52637c;font-size:.9rem;line-height:1.5}.loop-phrase-dialog .quiz-dialog-footer{justify-content:flex-end}.loop-phrase-dialog .quiz-dialog-footer .btn{min-width:110px}.loop-phrase-dialog .custom-phrase-input-row{display:flex;gap:12px;align-items:center}.loop-phrase-dialog #custom-phrase-input{min-width:0;flex:1}.loop-phrase-dialog .custom-phrase-count{flex:none}.loop-phrase-dialog .field-help{margin:14px 0;font-size:.85rem;line-height:1.6}body.teacher-site .bingo-preview-shell,body.teacher-site .bingo-preview-shell .bingo-stage-viewport{border-radius:var(--presentation-radius,12px)}body.teacher-site .quiz-presentation-shell:not(.quiz-preview-shell) .quiz-stage-viewport{border-radius:var(--presentation-radius,24px) var(--presentation-radius,24px) 0 0}body.teacher-site .presentation-shell:is(:fullscreen,:-webkit-full-screen) :is(.quiz-stage-viewport,.bingo-stage-viewport){border-radius:var(--presentation-radius,24px)}body.teacher-site :is(.quiz-presentation-shell,.bingo-presentation-shell) .presentation-controls{border-top:0;background:linear-gradient(180deg,#f8fbff,#fff)}body.teacher-site .bingo-stage-viewport,body.teacher-site .bingo-stage-viewport :is(.question-slide,.slide-question-sheet,.slide-answer-layer){background:linear-gradient(135deg,#eff6ff,#fff)}body.teacher-site .bingo-presentation-shell{background:linear-gradient(180deg,#f8fbff,#fff)}body.teacher-site .quiz-screen .upload-icon{display:grid;place-items:center;padding:0}body.teacher-site .quiz-screen .upload-icon svg{display:block;width:26px;height:26px;flex:none}body.teacher-site .bingo-presentation-shell[data-revealed=true] .slide-answer-layer{background:linear-gradient(135deg,#f0fdf4,#fff)}body.teacher-site .presentation-shell .presentation-controls{z-index:40;overflow:visible}body.teacher-site :is(.presentation-shell,.choice-fullscreen-panel) .fullscreen-icon-button{z-index:41}body.teacher-site :is(.presentation-shell,.choice-fullscreen-panel) .icon-tooltip{z-index:50}body.teacher-site .quiz-screen-background[hidden]{display:block!important;position:fixed!important;inset:0 auto auto -20000px!important;width:var(--setup-preview-width);max-height:100dvh;overflow:hidden;visibility:hidden!important;pointer-events:none;contain:layout style paint}.appearance-preview-frame{position:relative;min-width:0}.appearance-preview-frame.is-loading{min-height:180px;aspect-ratio:16/9}.appearance-preview-frame[data-preview-kind=loop].is-loading{aspect-ratio:297/210}.appearance-preview-frame.is-loading>[data-appearance-sample]{visibility:hidden}.appearance-preview-loading,.pdf-page-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;border:1px solid #dbe3ef;border-radius:12px;background:linear-gradient(135deg,#eff6ff,#fff);color:#52637c;font-size:.9rem;text-align:center;padding:20px}.appearance-preview-loading[hidden],.pdf-page-loading[hidden]{display:none!important}.preview-loading-spinner{width:28px;height:28px;border:3px solid #c7d8ee;border-top-color:#2563eb;border-radius:50%;animation:preview-loading-turn .9s linear infinite}body.teacher-site .appearance-preview-buffer{position:fixed!important;inset:0 auto auto -20000px!important;visibility:hidden!important;pointer-events:none;contain:layout style paint;overflow:hidden}.pdf-stage{position:relative}.pdf-stage.is-loading>#pdf-page{visibility:hidden}.preview-retry{margin:0 20px 20px}@keyframes preview-loading-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.preview-loading-spinner{animation:none}}.quiz-entry-dialog [hidden],.quiz-entry-start[hidden],.quiz-tour-launch [hidden],.quiz-workflow[hidden]{display:none!important}.quiz-entry-start{box-sizing:border-box;border:1px solid #dce5f0;border-radius:22px;background:#fff;padding:30px;margin-block:24px;text-align:center}.quiz-entry-start p{color:#52637c;line-height:1.6}.quiz-entry-dialog{width:min(720px,calc(100vw - 32px))}.quiz-entry-choices{display:grid;grid-template-columns:1fr 1fr;gap:18px}.quiz-entry-choices>div{border:1px solid #dce5f0;border-radius:16px;padding:20px;background:#fbfdff;min-width:0}.quiz-entry-choices .btn{box-sizing:border-box;display:block;width:100%;white-space:normal;line-height:1.4;min-height:48px}.quiz-entry-choices p{font-size:.88rem;line-height:1.6;color:#52637c;margin:14px 0 0}.quiz-entry-dialog .quiz-dialog-footer{justify-content:center}.quiz-entry-dialog .quiz-dialog-footer .btn{width:100%}.quiz-entry-heading{padding:26px 28px 18px}.quiz-entry-heading h2{margin:0 0 9px;font-size:1.3rem;color:#172a49}.quiz-entry-heading p{margin:0;color:#52637c;font-size:.9rem;line-height:1.6}.quiz-entry-heading+div:empty{display:none}#quiz-entry-settings:not(:empty){padding:0 28px 20px}#quiz-entry-settings .bingo-grid-choice{margin:0}.quiz-manual-editing #quiz-step-title-2{display:none}.quiz-manual-files{border-top:1px solid #dce5f0;margin-top:18px}.quiz-manual-files>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 28px;font-weight:700;color:#1146a1;background:#f5f8fd}.quiz-manual-files>summary::-webkit-details-marker{display:none}.quiz-manual-files>summary svg{flex:0 0 18px;transition:transform .18s ease}.quiz-manual-files[open]>summary svg{transform:rotate(180deg)}body.teacher-site .quiz-add-grid .quiz-templates{order:-1;border-right:1px solid #e2e8f0}body.teacher-site .quiz-add-grid .import-panel{border-right:0}body.teacher-site .quiz-answer-help{padding:0 24px 18px;margin:0;font-size:.85rem;line-height:1.6;color:#52637c}body.teacher-site .quiz-screen .editor-table tr.is-complete td{background:#f0fdf4}body.teacher-site .quiz-screen .editor-table tr.is-complete td:first-child{box-shadow:inset 4px 0 #16a34a}body.teacher-site .quiz-screen .editor-table tr.is-complete :is(input,textarea){border-color:#86cfaa}body.teacher-site .quiz-stage-viewport .quiz-option-grid[data-option-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}body.teacher-site .quiz-option[hidden]{display:none!important}.guide-option-cell.is-unused{background:#f8fafc;color:#94a3b8}@media(max-width:760px){.quiz-entry-choices{grid-template-columns:1fr;gap:12px}.quiz-entry-dialog .quiz-dialog-body,.quiz-entry-dialog .quiz-dialog-footer,.quiz-entry-dialog .quiz-dialog-heading{padding:18px}.quiz-entry-heading{padding:22px 20px 16px}.quiz-manual-files>summary{padding:18px 20px}#quiz-entry-settings:not(:empty){padding:0 20px 18px}body.teacher-site .quiz-add-grid .quiz-templates{border-right:0;border-bottom:1px solid #e2e8f0}.quiz-tour-launch{flex-wrap:wrap}}