:root{--navy:#0d2344;--navy-2:#153965;--orange:#ff6b35;--orange-soft:#fff0ea;--sky:#eaf4ff;--ink:#14213d;--muted:#64748b;--line:#dbe4ef;--paper:#fff;--background:#f4f8fc;--shadow:0 18px 45px rgba(13,35,68,.1)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--background);color:var(--ink);font-family:Times New Roman,Times,serif}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}.siteHeader{min-height:82px;padding:16px clamp(20px,5vw,72px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:hsla(0,0%,100%,.96);position:-webkit-sticky;position:sticky;top:0;z-index:20;backdrop-filter:blur(14px)}.brand{display:inline-flex;align-items:center;gap:12px}.brandMark{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,var(--navy),var(--navy-2));color:#fff;font-weight:900;box-shadow:inset 0 -4px 0 var(--orange)}.brand strong{display:block;font-size:1.3rem;color:var(--navy)}.brand small{display:block;margin-top:2px;color:var(--orange);font-size:.68rem;font-weight:800;letter-spacing:.18em}.headerBadge,.statusPill{border-radius:999px;background:var(--orange-soft);color:#b43a11;font-weight:800;padding:9px 14px;font-size:.84rem}.backLink{font-weight:800;color:var(--navy-2)}.hero{text-align:center;padding:86px 20px 54px;background:radial-gradient(circle at 15% 20%,rgba(255,107,53,.13),transparent 28%),radial-gradient(circle at 85% 30%,rgba(21,57,101,.15),transparent 32%),linear-gradient(180deg,#fff,#f4f8fc)}.eyebrow{color:var(--orange);letter-spacing:.15em;font-size:.78rem;font-weight:900}.builderHero h1,.hero h1{margin:14px auto 16px;max-width:950px;color:var(--navy);font-family:Times New Roman,Times,serif;line-height:1.08}.hero h1{font-size:clamp(2.2rem,5vw,4.6rem)}.builderHero p,.hero p{max-width:800px;margin:0 auto;color:var(--muted);font-size:1.08rem;line-height:1.75}.activityGrid{width:min(1180px,calc(100% - 36px));margin:0 auto 80px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:22px;gap:22px}.activityCard{min-height:300px;padding:26px;border-radius:24px;border:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow);transition:transform .2s ease,border-color .2s ease;display:flex;flex-direction:column}.activityCard:hover{transform:translateY(-6px);border-color:rgba(255,107,53,.55)}.cardTop{display:flex;align-items:center;justify-content:space-between}.activityIcon,.builderIcon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,var(--navy),#204d80);color:#fff;font-weight:900;font-size:1.35rem;box-shadow:inset 0 -5px 0 var(--orange)}.activityTag{color:var(--orange);font-weight:900;text-transform:uppercase;letter-spacing:.1em;font-size:.72rem}.activityCard h2{color:var(--navy);font-family:Times New Roman,Times,serif;font-size:1.55rem;margin:26px 0 12px}.activityCard p{color:var(--muted);line-height:1.65;margin:0}.cardAction{margin-top:auto;padding-top:24px;color:var(--orange);font-weight:900}.builderHero{width:min(1180px,calc(100% - 36px));margin:42px auto 24px;border-radius:28px;padding:34px;background:linear-gradient(135deg,#fff,#edf5ff);border:1px solid var(--line);display:flex;align-items:center;gap:24px}.builderHero h1{font-size:clamp(2rem,4vw,3.5rem);margin-left:0}.builderHero p{margin-left:0}.builderLayout{width:min(1180px,calc(100% - 36px));margin:0 auto 40px;display:grid;grid-template-columns:minmax(0,1fr) 310px;grid-gap:24px;gap:24px;align-items:start}.generatedSection,.generatorPanel,.workflowPanel{background:var(--paper);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow)}.generatorPanel{padding:28px}.generatedHeader>div,.panelHeader>div{display:flex;align-items:flex-start;gap:14px}.generatedHeader h2,.panelHeader h2{margin:0 0 6px;color:var(--navy)}.generatedHeader p,.panelHeader p{margin:0;color:var(--muted)}.stepNumber{flex:0 0 auto;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--orange);color:#fff;font-weight:900}.field{display:flex;flex-direction:column;gap:8px}.field span{font-weight:800;color:var(--navy);font-size:.9rem}.field input,.field select,.field textarea,.questionCard textarea{width:100%;border:1px solid #cdd8e5;border-radius:12px;padding:12px 14px;background:#fff;color:var(--ink);outline:none}.field input:focus,.field select:focus,.field textarea:focus,.questionCard textarea:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,107,53,.12)}.fullField{grid-column:1/-1}.generatorPanel>.fullField{margin-top:24px}.advancedSettings{margin-top:24px;border:1px solid var(--line);border-radius:16px;overflow:hidden}.advancedSettings summary{cursor:pointer;list-style:none;padding:16px 18px;background:#f7faff;color:var(--navy);font-weight:900}.settingsGrid{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;padding:20px}.toggleGrid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;padding:0 20px 20px}.toggleRow{display:flex;align-items:center;gap:9px;color:var(--ink);font-weight:700}.toggleRow input{accent-color:var(--orange);width:17px;height:17px}.primaryButton,.secondaryButton{border:0;border-radius:13px;padding:14px 20px;font-weight:900;cursor:pointer}.primaryButton{width:100%;margin-top:22px;background:linear-gradient(135deg,var(--orange),#ff7e4f);color:#fff;box-shadow:0 10px 20px rgba(255,107,53,.24)}.primaryButton:disabled{opacity:.65;cursor:wait}.primaryButton.compact{width:auto;margin:0}.secondaryButton{background:#eaf1f8;color:var(--navy)}.aiConnectionNote{color:var(--muted);font-size:.78rem;line-height:1.5;text-align:center}.workflowPanel{padding:24px;position:-webkit-sticky;position:sticky;top:105px}.workflowPanel h3{color:var(--navy);margin-top:0}.workflowPanel ol{list-style:none;padding:0;margin:0;display:grid;grid-gap:18px;gap:18px}.workflowPanel li{display:grid;grid-gap:4px;gap:4px;padding-left:16px;border-left:3px solid var(--orange)}.workflowPanel li strong{color:var(--navy)}.workflowPanel li span{color:var(--muted);font-size:.9rem;line-height:1.5}.generatedSection{width:min(1180px,calc(100% - 36px));margin:0 auto 60px;padding:28px}.generatedHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.questionList{display:grid;grid-gap:18px;gap:18px;margin-top:24px}.questionCard{border:1px solid var(--line);border-radius:18px;padding:20px;background:#fbfdff}.questionNumber{color:var(--orange);font-weight:900;margin-bottom:10px}.questionCard textarea{min-height:85px;resize:vertical;font-weight:700}.answerBox,.explanationBox{margin-top:12px;padding:13px 15px;border-radius:12px;line-height:1.5}.answerBox{background:#eaf8ef;color:#1f5f39}.explanationBox{background:var(--sky);color:var(--navy-2)}.publishBar{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.publishedCard{margin-top:18px;display:grid;grid-gap:7px;gap:7px;padding:18px;border-radius:16px;background:#eaf8ef;color:#1f5f39}.siteFooter{padding:28px 20px;text-align:center;color:var(--muted);border-top:1px solid var(--line);background:#fff}@media (max-width:900px){.activityGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.builderLayout{grid-template-columns:1fr}.workflowPanel{position:static}}@media (max-width:620px){.siteHeader{padding:13px 16px}.headerBadge{display:none}.brand strong{font-size:1.05rem}.hero{padding-top:56px}.activityGrid{grid-template-columns:1fr}.builderHero{align-items:flex-start;padding:24px}.settingsGrid,.toggleGrid{grid-template-columns:1fr}.generatedHeader,.publishBar{flex-direction:column}.publishBar>button{width:100%}}.mathContent{min-width:0;white-space:pre-wrap;line-height:1.75;overflow-wrap:anywhere}.mathInline{display:inline-block;max-width:100%;vertical-align:middle}.mathDisplay{display:block;margin:12px 0;text-align:center}.mathDisplay .katex-display{margin:0}.katex{font-size:1.08em}.quizDetailsCard{margin-top:24px;display:grid;grid-gap:18px;gap:18px}.renderedFeedbackPreview,.renderedPreview{margin-top:18px;padding:18px;border:1px solid #cfddec;border-radius:16px;background:#fff}.compactPreview{margin-top:0;background:#f8fbff}.renderedFeedbackPreview{background:#f4f8fc}.previewLabel{display:inline-block;margin-bottom:12px;color:var(--orange);font-size:.76rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.studentPrompt{color:var(--navy);font-size:1.18rem;font-weight:700}.studentInstructions{margin-top:6px;color:var(--muted)}.previewChoices,.studentChoices{display:grid;grid-gap:12px;gap:12px;margin-top:18px}.previewChoice,.studentChoice{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;padding:13px 15px;border:1px solid var(--line);border-radius:13px;background:#fbfdff}.studentChoice{grid-template-columns:20px 34px minmax(0,1fr);cursor:pointer}.studentChoice:has(input:checked){border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,107,53,.12);background:var(--orange-soft)}.studentChoice input{width:18px;height:18px;accent-color:var(--orange)}.choiceLetter{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--navy);color:#fff;font-weight:900}.shortAnswerPreview{margin-top:18px;padding:14px 16px;border:1px dashed #aebfd2;border-radius:12px;color:var(--muted);background:#fbfdff}.choiceEditGrid{padding-left:0;padding-right:0}.visualTeacherRow{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:var(--sky);color:var(--navy-2);font-weight:800;text-transform:capitalize}.smallButton{padding:9px 12px;font-size:.82rem}.visualFigure{margin:20px 0 8px;padding:16px;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}.visualFigure h4{margin:0 0 12px;color:var(--navy);font-size:1.05rem;text-align:center}.visualFigure figcaption{margin-top:10px;color:var(--muted);line-height:1.55;text-align:center}.mathVisualSvg{width:100%;height:auto;display:block;overflow:visible}.visualPlotBackground{fill:#fcfeff;stroke:#dbe4ef}.visualGridLine{stroke:#e3eaf2;stroke-width:1}.visualAxisLine{stroke:#0d2344;stroke-width:2.2}.visualAxisArrow{fill:#0d2344}.visualTick{stroke:#0d2344;stroke-width:1.5}.visualLegendLabel,.visualPointLabel,.visualTickLabel{fill:#334155;font-family:Times New Roman,Times,serif;font-size:14px}.visualPointLabel{font-weight:700}.visualLegendLabel{font-size:15px;font-weight:700}.visualIntervalLine,.visualSeriesLine{stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.visualEndpointFilled,.visualPoint{fill:currentColor;stroke:#fff;stroke-width:1.5}.visualEndpointOpen{fill:#fff;stroke:currentColor;stroke-width:3}.visualSeries1{color:#153965}.visualSeries2{color:#ff6b35}.visualSeries3{color:#2f855a}.visualSeries4{color:#7c3aed}.visualSeries5{color:#b45309}.numberLineSvg{min-height:170px}.studentSection{max-width:980px}.studentQuestionCard{padding:clamp(18px,3vw,28px)}.studentAnswerField{margin-top:20px}.scoreCard{margin:24px 0;padding:22px;display:grid;grid-gap:5px;gap:5px;place-items:center;border:1px solid #b9dfc7;border-radius:18px;background:#eaf8ef;color:#1f5f39;text-align:center}.scoreCard span{font-weight:800}.scoreCard strong{font-size:clamp(2rem,6vw,3.5rem)}.scoreCard p{margin:0}.studentFeedback{margin-top:20px;padding:17px;border-radius:14px;line-height:1.6}.studentFeedback h4{margin:0 0 12px;font-size:1.15rem}.studentFeedback p{margin:10px 0 4px}.correctFeedback{background:#eaf8ef;color:#1f5f39}.incorrectFeedback{background:#fff0ea;color:#8a3519}@media (max-width:700px){.visualFigure{padding:8px}.visualLegendLabel,.visualPointLabel,.visualTickLabel{font-size:12px}.studentChoice{grid-template-columns:18px 30px minmax(0,1fr)}.visualTeacherRow{align-items:stretch;flex-direction:column}.smallButton{width:100%}}.activityCard h2,.builderHero h1,.hero h1,.katex,.mathContent,.questionCard,.visualFigure h4{font-family:Times New Roman,Times,serif}.mathFallback{display:inline-block;padding:2px 5px;border-radius:6px;background:#fff7ed;color:#7c2d12;font-style:italic}.questionCardHeading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.visualTypeBadge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;background:var(--sky);color:var(--navy-2);font-size:.76rem;font-weight:900;text-transform:capitalize}.sourceEditorDetails{margin-top:18px;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.sourceEditorDetails>summary{cursor:pointer;list-style:none;padding:14px 16px;color:var(--navy);background:#f7faff;font-weight:900}.sourceEditorDetails>summary::-webkit-details-marker{display:none}.sourceEditorDetails>summary:after{content:"+";float:right;color:var(--orange);font-size:1.2rem}.sourceEditorDetails[open]>summary:after{content:"−"}.sourceEditorBody{display:grid;grid-gap:16px;gap:16px;padding:18px;border-top:1px solid var(--line)}.sourceEditorBody .settingsGrid{padding:0}.inlineEditPreview{min-height:48px;padding:10px 12px;border:1px dashed #cbd8e6;border-radius:10px;background:#f8fbff}.compactPreview h3{margin:0 0 12px;color:var(--navy);font-size:1.5rem}.mathAnswerEditor{display:grid;grid-gap:12px;gap:12px;margin-top:20px}.mathAnswerEditor textarea{min-height:96px;resize:vertical}.mathSymbolToolbar{display:flex;flex-wrap:wrap;gap:8px;padding:11px;border:1px solid var(--line);border-radius:13px;background:#f7faff}.mathSymbolButton{min-width:42px;border:1px solid #c8d7e7;border-radius:9px;padding:8px 10px;background:#fff;color:var(--navy);font-weight:800;cursor:pointer}.mathSymbolButton:hover:not(:disabled){border-color:var(--orange);background:var(--orange-soft)}.mathSymbolButton:disabled{opacity:.5;cursor:not-allowed}.studentMathPreview{min-height:72px;padding:13px 15px;border:1px solid #cfddec;border-radius:13px;background:#fff}.studentMathPreview>span{display:block;margin-bottom:8px;color:var(--orange);font-size:.74rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.studentMathPreview p{margin:0;color:var(--muted)}.visualCanvasWrap{width:100%;overflow-x:auto;overflow-y:hidden}.mathVisualSvg{min-width:620px}.visualAxisLabel{fill:var(--navy);font-family:Times New Roman,Times,serif;font-size:17px;font-style:italic;font-weight:700}.visualLegend{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 18px;margin-top:12px;padding:10px 12px;border-radius:11px;background:#f8fbff}.visualLegend>div{display:inline-flex;align-items:center;gap:8px;color:var(--ink);font-weight:700}.visualLegendSwatch{width:28px;height:4px;border-radius:999px;background:currentColor}.visualIntervalArrow{fill:currentColor}.visualIntervalLabel{fill:currentColor;font-family:Times New Roman,Times,serif;font-size:15px;font-weight:800}.numberLinePointLabel{paint-order:stroke;stroke:#fff;stroke-width:4px;stroke-linejoin:round}.numberLineFigure .visualCanvasWrap{overflow-x:auto}.numberLineFigure .mathVisualSvg{min-width:680px}.visualFigure figcaption{max-width:780px;margin-left:auto;margin-right:auto}@media (max-width:700px){.questionCardHeading{align-items:flex-start;flex-direction:column}.mathSymbolToolbar{gap:6px}.mathSymbolButton{min-width:39px;padding:7px 8px}.sourceEditorBody{padding:14px}}.visualMathAnswerEditor{gap:14px}.visualMathEditorHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.visualMathEditorHeader>div:first-child{display:grid;grid-gap:5px;gap:5px}.visualMathEditorHeader strong{color:var(--navy);font-size:1rem}.visualMathEditorHeader span{max-width:720px;color:var(--muted);font-size:.9rem;line-height:1.45}.mathEditorActions,.mathEditorMovement{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.mathEditorActions button,.mathEditorMovement button{border:1px solid #c8d7e7;border-radius:9px;padding:8px 11px;background:#fff;color:var(--navy);font-weight:800;cursor:pointer}.mathEditorActions button:hover:not(:disabled),.mathEditorMovement button:hover:not(:disabled){border-color:var(--orange);background:var(--orange-soft)}.mathEditorActions button:disabled,.mathEditorMovement button:disabled,.mathTemplateButton:disabled{opacity:.48;cursor:not-allowed}.mathFieldShell{position:relative;min-height:112px;border:2px solid #bdd0e4;border-radius:16px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}.mathFieldShell:focus-within{border-color:var(--orange);box-shadow:0 0 0 4px rgba(255,107,53,.13)}.studentVisualMathField{width:100%;min-height:108px;padding:22px 20px;border:0;border-radius:14px;background:transparent;color:var(--navy);font-size:clamp(1.35rem,2.2vw,1.75rem);line-height:1.6;--primary:var(--orange);--caret-color:var(--orange);--selection-background-color:rgba(255,107,53,.18);--selection-color:var(--navy);--contains-highlight-background-color:rgba(234,244,255,.8);--placeholder-color:#2f6fa3;--placeholder-opacity:1;--smart-fence-color:var(--orange);--smart-fence-opacity:.7}.studentVisualMathField::part(container){min-height:64px}.studentVisualMathField::part(content){width:100%}.studentVisualMathField::part(prompt){min-width:1.15em;min-height:1.05em;padding:0 .12em;border:1px dashed #2f6fa3;border-radius:.2em;background:#eaf4ff}.studentVisualMathField::part(menu-toggle){display:none}.mathFieldLoading{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-weight:700;pointer-events:none}.mathEditorMovement{justify-content:flex-end}.mathEditorMovement>span{color:var(--muted);font-size:.84rem;font-weight:800}.mathTemplatePanel{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#f7faff}.mathTemplateTabs{display:flex;gap:6px;padding:10px;overflow-x:auto;border-bottom:1px solid var(--line);background:#edf5ff;scrollbar-width:thin}.mathTemplateTabs button{flex:0 0 auto;border:1px solid transparent;border-radius:999px;padding:9px 13px;background:transparent;color:var(--navy-2);font-weight:900;white-space:nowrap;cursor:pointer}.mathTemplateTabs button.isActive,.mathTemplateTabs button:hover{border-color:#c8d7e7;background:#fff;color:var(--orange)}.mathTemplateGrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:10px;gap:10px;padding:12px}.mathTemplateButton{min-height:88px;display:grid;place-items:center;align-content:center;grid-gap:7px;gap:7px;border:1px solid #c8d7e7;border-radius:12px;padding:10px 8px;background:#fff;color:var(--navy);cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease}.mathTemplateButton:hover:not(:disabled){transform:translateY(-2px);border-color:var(--orange);background:var(--orange-soft)}.mathTemplateButton>span{color:var(--navy-2);font-size:.78rem;font-weight:800;text-align:center}.mathTemplatePreview{width:100%;display:grid;place-items:center;min-height:31px;font-size:1.05rem;overflow:hidden}.mathTemplatePreview .mathInline{max-width:100%}.mathEditorHelp{padding:13px 15px;border:1px solid #b9dfc7;border-radius:13px;background:#f0fbf4;color:#1f5f39}.mathEditorHelp strong{display:block;margin-bottom:5px}.mathEditorHelp ol{margin:0;padding-left:20px;line-height:1.55}.mathAnswerRequiredNote{color:#b43a11;font-size:.84rem;font-weight:800}@media (max-width:980px){.mathTemplateGrid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:700px){.visualMathEditorHeader{flex-direction:column}.mathEditorActions{width:100%}.mathEditorActions button{flex:1 1 auto}.mathTemplateGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.mathTemplateButton{min-height:82px}.studentVisualMathField{min-height:100px;padding:18px 14px;font-size:1.35rem}}.fieldHelp{display:block;margin:-3px 0 8px;color:#5c6f82;font-size:.84rem;line-height:1.45;font-weight:600}.gradingNotice{margin:16px 0;padding:13px 15px;border:1px solid #f3c58f;border-radius:13px;background:#fff8e8;color:#7a4a00;font-weight:700;line-height:1.5}.reviewFeedback{background:#fff8e8;color:#765000;border:1px solid #f0cf91}.gradingReason{padding:10px 12px;border-radius:10px;background:hsla(0,0%,100%,.58)}.primaryButton:disabled,.secondaryButton:disabled{cursor:wait;opacity:.68}.quizTimer{min-width:170px;padding:.75rem 1rem;border:1px solid #b8cdeb;border-radius:16px;background:#f7fbff;text-align:center;box-shadow:0 8px 20px rgba(15,49,92,.08)}.quizTimer small,.quizTimer span{display:block}.quizTimer span{margin-bottom:.15rem;font-size:.82rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#38557c}.quizTimer strong{display:block;font-size:1.65rem;line-height:1.1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:#082b5b}.quizTimer small{margin-top:.35rem;max-width:190px;font-size:.76rem;line-height:1.3}.quizTimerWarning{border-color:#e8a73b;background:#fff8e8}.quizTimerWarning strong{color:#9a5600}.quizTimerExpired{border-color:#d75546;background:#fff0ed}.quizTimerExpired small,.quizTimerExpired strong{color:#9b281d}.timerNotice{border-color:#e8a73b;background:#fff8e8;color:#774500}@media (max-width:720px){.quizTimer{width:100%;min-width:0}}.errorInteractionGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.errorGeneratedSection{max-width:1180px}.activityAiEditButton{justify-self:start}.activityAiPanel{margin-bottom:22px}.errorQuestionList,.errorStudentQuestionList{gap:22px}.errorTeacherQuestionCard{overflow:visible}.errorQuestionSummary{gap:14px}.errorSummarySteps{display:grid;grid-gap:8px;gap:8px}.errorSummaryStep{display:grid;grid-template-columns:minmax(90px,auto) minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;padding:10px 13px;border:1px solid #d9e5f0;border-radius:10px;background:#fff}.errorSummaryStep>strong{color:var(--navy);font-size:.87rem}.errorStepEditorList{display:grid;grid-gap:15px;gap:15px}.errorStepEditor{display:grid;grid-gap:13px;gap:13px;padding:16px;border:1px solid #cfdeeb;border-radius:14px;background:#fbfdff}.errorStepEditor.isKeyStep{border-color:#e7a844;box-shadow:0 0 0 2px rgba(231,168,68,.12);background:#fffaf0}.errorKeyRadio,.errorPartEditorRow,.errorStepEditorHeader,.stepMoveActions{display:flex;align-items:center}.errorStepEditorHeader{justify-content:space-between;gap:12px}.errorKeyRadio{gap:8px;color:var(--navy);font-weight:900}.stepMoveActions{flex-wrap:wrap;gap:7px}.stepMoveActions button{min-height:34px;padding:6px 10px;border:1px solid #cbdbe8;border-radius:8px;background:#fff;color:var(--navy);font:inherit;font-size:.82rem;font-weight:800;cursor:pointer}.stepMoveActions button:disabled{opacity:.42;cursor:not-allowed}.teacherMathPreview{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px;padding:12px 14px;border:1px dashed #b7cddd;border-radius:11px;background:#fff}.teacherMathPreview>span{color:var(--muted);font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.errorPartEditor{display:grid;grid-gap:11px;gap:11px;padding-top:13px;border-top:1px solid #e1e9f0}.errorPartEditor h4{margin:0;color:var(--navy)}.errorPartEditorRow{display:grid;grid-template-columns:auto minmax(0,1fr) 38px;grid-gap:10px;gap:10px;padding:11px;border:1px solid #d5e2ed;border-radius:11px;background:#fff}.errorPartEditorRow.isKeyPart{border-color:#e7a844;background:#fff8e9}.errorTypeCheckboxGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:9px;gap:9px;max-height:390px;margin-top:14px;padding:12px;overflow:auto;border:1px solid #d6e2ec;border-radius:13px;background:#f8fbff}.errorFinalToggle{margin-bottom:16px}.errorStudentPreview{max-width:1120px}.learningObjectiveStrip{display:grid;grid-template-columns:auto minmax(0,1fr);grid-gap:12px;gap:12px;margin:12px 0 18px;padding:11px 14px;border:1px solid #c8d9e7;border-radius:10px;background:#f4f9fd;color:var(--navy)}.learningObjectiveStrip strong{white-space:nowrap}.workedSolutionSheet{margin-top:20px;padding:20px;border:1px solid #b9cddd;border-radius:15px;background:#fff;box-shadow:inset 0 0 0 4px #f7fafc}.workedSolutionSheet h3{margin:0 0 15px;color:var(--navy);font-size:1.08rem}.workedSolutionSteps{display:grid;grid-gap:10px;gap:10px}.workedStepButton{display:grid;grid-template-columns:minmax(84px,auto) minmax(0,1fr);align-items:center;grid-gap:14px;gap:14px;width:100%;min-height:62px;padding:13px 16px;border:1px solid #cfdae4;border-radius:10px;background:#fff;color:var(--navy);text-align:left;font:inherit;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.workedStepButton:hover:not(:disabled){border-color:#6d98bf;background:#f7fbff}.workedStepButton.isSelected{border-color:var(--orange);box-shadow:0 0 0 3px rgba(241,140,31,.14);background:#fff9f1}.workedStepButton.isCorrectKey{border-color:#2e9b62;box-shadow:0 0 0 3px rgba(46,155,98,.12);background:#effaf4}.workedStepButton>strong{color:var(--navy);font-size:.88rem}.studentInvestigationSection{display:grid;grid-gap:12px;gap:12px;margin-top:18px;padding:17px;border:1px solid #d7e2eb;border-radius:13px;background:#fafcfe}.studentInvestigationSection h4{margin:0;color:var(--navy);font-size:1rem}.studentInvestigationSection textarea{width:100%;min-height:108px;resize:vertical;border:1px solid #bdcedd;border-radius:10px;padding:12px 13px;background:#fff;color:var(--navy);font:inherit;line-height:1.55}.studentErrorTypeGrid,.studentPartChoices{display:flex;flex-wrap:wrap;gap:9px}.studentErrorTypeGrid button,.studentPartChoices button{min-height:42px;padding:9px 13px;border:1px solid #c5d6e3;border-radius:10px;background:#fff;color:var(--navy);font:inherit;font-weight:800;cursor:pointer}.studentErrorTypeGrid button:hover:not(:disabled),.studentPartChoices button:hover:not(:disabled){border-color:#6d98bf;background:#f4f9fd}.studentErrorTypeGrid button.isSelected,.studentPartChoices button.isSelected{border-color:var(--orange);background:var(--orange-soft);box-shadow:0 0 0 2px rgba(241,140,31,.12)}.errorFeedbackGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;margin-top:15px}.errorFeedbackComponent{display:grid;grid-gap:5px;gap:5px;padding:13px;border:1px solid rgba(35,67,91,.16);border-radius:11px;background:hsla(0,0%,100%,.66)}.errorFeedbackComponent strong{color:var(--navy)}.errorFeedbackComponent span{color:var(--muted);font-size:.85rem;font-weight:900}.errorFeedbackComponent p{margin:0}.correctedWorkReview{display:grid;grid-gap:8px;gap:8px;margin-top:16px;padding:16px;border:1px solid #c6d9cb;border-radius:12px;background:#f5fbf7}.correctedWorkReview h4,.correctedWorkReview p{margin:0}@media (max-width:900px){.errorFeedbackGrid,.errorInteractionGrid,.errorSummaryStep,.errorTypeCheckboxGrid,.learningObjectiveStrip,.teacherMathPreview,.workedStepButton{grid-template-columns:1fr}.errorPartEditorRow{grid-template-columns:1fr 38px}.errorPartEditorRow .errorKeyRadio{grid-column:1/-1}}@media (max-width:620px){.errorStepEditorHeader{align-items:flex-start;flex-direction:column}.stepMoveActions{width:100%}.stepMoveActions button{flex:1 1}.studentInvestigationSection,.workedSolutionSheet{padding:13px}.studentErrorTypeGrid button,.studentPartChoices button{flex:1 1 100%}}.simpleTopicField textarea{min-height:112px}.simpleGeneratorGrid{margin-top:18px;padding:18px;border:1px solid var(--line);border-radius:16px;background:#f8fbff}.simpleErrorToggles{margin-top:14px;padding:0}.compactQuestionAdvanced{overflow:hidden}.compactQuestionAdvanced>summary{cursor:pointer;list-style:none;color:var(--navy);font-weight:900}.dragEditorSection.compactQuestionAdvanced>summary{margin:-17px;padding:16px 17px;background:#f3f8fc}.dragEditorSection.compactQuestionAdvanced[open]>summary{margin-bottom:0;border-bottom:1px solid var(--line)}.compactDetailsBody{display:grid;grid-gap:16px;gap:16px;padding-top:16px}@media (max-width:760px){.simpleGeneratorGrid{padding:14px}.simpleErrorToggles{grid-template-columns:1fr}}.studentCorrectionChoiceGrid,.teacherChoiceEditorList,.teacherCorrectionChoiceList{display:grid;grid-gap:11px;gap:11px}.teacherChoiceEditorRow{display:grid;grid-template-columns:auto 78px minmax(0,1fr);align-items:center;grid-gap:11px;gap:11px;padding:12px 14px;border:1px solid #d4e1ec;border-radius:11px;background:#fff;color:var(--navy);font-weight:800}.teacherChoiceEditorRow.isCorrectChoice,.teacherCorrectionChoiceRow.isCorrectChoice{border-color:#e7a844;background:#fff9ed;box-shadow:0 0 0 2px rgba(231,168,68,.1)}.teacherChoiceEditorRow select{width:100%;min-height:42px;border:1px solid #c5d6e3;border-radius:9px;padding:8px 10px;background:#fff;color:var(--navy);font:inherit}.teacherCorrectionChoiceRow{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:start;grid-gap:14px;gap:14px;padding:14px;border:1px solid #d4e1ec;border-radius:12px;background:#fff}.teacherCorrectionChoiceRow .errorKeyRadio{min-height:48px}.teacherCorrectionChoiceInput{min-width:0}.studentCorrectionChoiceGrid button{display:grid;grid-template-columns:minmax(78px,auto) minmax(0,1fr);align-items:center;grid-gap:14px;gap:14px;width:100%;min-height:62px;padding:13px 16px;border:1px solid #c5d6e3;border-radius:10px;background:#fff;color:var(--navy);text-align:left;font:inherit;cursor:pointer}.studentCorrectionChoiceGrid button:hover:not(:disabled){border-color:#6d98bf;background:#f4f9fd}.studentCorrectionChoiceGrid button.isSelected{border-color:var(--orange);background:var(--orange-soft);box-shadow:0 0 0 2px rgba(241,140,31,.12)}.studentCorrectionChoiceGrid button>strong{color:var(--navy);font-size:.88rem}@media (max-width:700px){.studentCorrectionChoiceGrid button,.teacherChoiceEditorRow,.teacherCorrectionChoiceRow{grid-template-columns:1fr}}.generatedSection.studentSection{width:min(1440px,calc(100% - 40px));max-width:none;margin-left:auto;margin-right:auto}.studentPreviewPage{width:min(1440px,calc(100% - 40px));margin:34px auto 64px;padding:clamp(18px,3vw,38px);border:1px solid var(--line);border-radius:26px;background:var(--paper);box-shadow:var(--shadow)}.studentPreviewHeader{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;grid-gap:24px;gap:24px;padding-bottom:22px;border-bottom:1px solid var(--line)}.studentPreviewHeader h1{margin:7px 0 10px;color:var(--navy);font-size:clamp(1.75rem,3.2vw,2.8rem);line-height:1.12}.studentPreviewHeader .mathContent{color:var(--muted);font-size:1.02rem}.studentTimer{min-width:170px;padding:15px 18px;display:grid;grid-gap:5px;gap:5px;border:1px solid #cbd9e6;border-radius:16px;background:#f5f9fd;color:var(--navy);text-align:center}.studentTimer span{color:var(--muted);font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.studentTimer strong{font-size:1.65rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.studentTimer.timeExpired{border-color:#e7a58e;background:var(--orange-soft);color:#8a3519}.studentScoreCard{margin:24px 0;padding:20px;display:grid;place-items:center;grid-gap:4px;gap:4px;border:1px solid #a9d7bb;border-radius:18px;background:#edf9f2;color:#17643d;text-align:center}.studentScoreCard strong{font-size:clamp(2.1rem,5vw,3.4rem)}.studentScoreCard p{margin:0}.errorStudentPreview,.sequenceStudentPreview{max-width:none}.runtimeSettingsCard{margin:20px 0;padding:22px;border:1px solid rgba(35,78,112,.22);border-radius:18px;background:linear-gradient(180deg,#fff,#f7fbff);box-shadow:0 12px 30px rgba(25,55,80,.08)}.runtimeSettingsHeading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.runtimeSettingsHeading h3{margin:5px 0}.runtimeSettingsHeading p{margin:0;color:#506376}.scoreLockBadge{background:#173b5f;color:#fff;border-radius:999px;padding:8px 12px;font-weight:700;white-space:nowrap}.runtimeModeGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.runtimeModeOption{display:flex;flex-direction:column;gap:5px;padding:15px;border:1px solid #c9d7e3;border-radius:14px;background:#fff;cursor:pointer}.runtimeModeOption input{width:auto;align-self:flex-start}.runtimeModeOption span{font-size:.88rem;color:#627487}.runtimeModeOption.isSelected{border-color:#1f6fa7;box-shadow:0 0 0 2px rgba(31,111,167,.12)}.runtimeValueGrid{margin-top:16px}.runtimeToggle{min-height:48px}.studentAccessGate{max-width:720px;margin:45px auto;padding:18px}.studentAccessCard{padding:30px;border:1px solid #cad8e4;border-radius:22px;background:#fff;box-shadow:0 18px 45px rgba(22,51,77,.12)}.studentAccessCard form{display:grid;grid-gap:14px;gap:14px;margin-top:20px}.studentAccessCard small{display:block;margin-top:14px;color:#6d7e8d}.generationError{padding:12px;border-radius:10px;background:#fff0f0;color:#8a1f1f;border:1px solid #f0b3b3}.studentRuntimeBar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 16px;margin-bottom:16px;border-radius:14px;background:#eef6fc;border:1px solid #c8deef}.studentLives{font-size:1.1rem;font-weight:700;letter-spacing:3px}.activityEndedCard{padding:24px;border-radius:18px;border:1px solid #e1b3b3;background:#fff4f4;text-align:center}.escapeMap{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:14px 4px}.escapeNode{min-width:115px;padding:12px;border-radius:14px;border:1px solid #c6d4df;background:#fff;text-align:center}.escapeNode.isCurrent{border-color:#1c6da4;box-shadow:0 0 0 3px rgba(28,109,164,.14)}.escapeNode.isComplete{background:#eef9f1}.escapeNode.isLocked{opacity:.55}.escapeConnector{font-size:1.35rem;color:#627487}.escapeChoiceGrid{grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.escapeChoice{padding:14px;border:1px solid #cbd7e2;border-radius:14px;background:#fff;text-align:left}.escapeChoice:hover{border-color:#1f6fa7}.escapeTeacherMap{grid-gap:12px;gap:12px}.escapeStationCard{border:1px solid #cad8e4;border-radius:16px;padding:18px;background:#fff}.escapeBranchGrid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.escapePathBadge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf4fa;font-size:.82rem;font-weight:700}.netFaceLabel{font-size:25px;font-weight:800;fill:#173b5f;pointer-events:none}@media(max-width:800px){.escapeBranchGrid,.escapeChoiceGrid,.runtimeModeGrid{grid-template-columns:1fr}.runtimeSettingsHeading{flex-direction:column}.scoreLockBadge{align-self:flex-start}}.solidChoiceFrame{fill:#f8fbff;stroke:#9db4c8;stroke-width:2}.solidChoiceGlyph{cursor:pointer}.solidChoiceGlyph .solidPart{fill:#dbe7f2;stroke:#35516a;stroke-width:2.5}.solidChoiceGlyph .solidPart.isSelected{fill:#d7e8ff;stroke:#174b7a;stroke-width:4}.solidChoiceGlyph .solidPart.isCorrectTarget{fill:#dff5e5;stroke:#287942}.solidChoiceLabel{font-size:30px;font-weight:700;fill:#18344c}.builderActionBar{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.escapeFinishCard,.escapeMissionCard,.escapeStationPlayCard,.teacherEscapePreview{background:#fff;border:1px solid #dbe4ec;border-radius:22px;padding:24px;box-shadow:0 14px 35px rgba(35,57,76,.08)}.escapeHud{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.escapeHud span{background:#eff5fa;border-radius:999px;padding:8px 14px;font-weight:700}.escapeStudentMap{display:flex;align-items:stretch;gap:10px;overflow-x:auto;padding:18px 2px}.escapeStudentNode{min-width:120px;border:2px solid #c8d5df;border-radius:16px;padding:12px;text-align:center;background:#f7fafc}.escapeStudentNode span{display:block;font-size:24px;font-weight:800}.escapeStudentNode small{display:block;margin-top:6px}.escapeStudentNode.isCurrent{border-color:#174b7a;box-shadow:0 0 0 4px rgba(23,75,122,.12)}.escapeStudentNode.isVisited{border-color:#567b9b;background:#edf5fb}.escapeStudentNode.isLocked{opacity:.62}.stationKindBadge{display:inline-block;padding:7px 12px;border-radius:999px;background:#edf3f8;font-weight:700}.escapeChoiceGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px;margin:22px 0}.escapeChoiceButton{min-height:92px;border:2px solid #aebfce;background:#fff;border-radius:18px;padding:16px;font:inherit;cursor:pointer}.escapeChoiceButton:hover:not(:disabled){border-color:#174b7a;transform:translateY(-2px)}.escapeChoiceButton:disabled{cursor:default;opacity:.72}.escapeFeedback{padding:15px;border-left:5px solid #d58a22;background:#fff8ec;border-radius:10px;margin:15px 0}.escapeFinalScore{font-size:74px;font-weight:900;margin:18px 0}.escapeFinalScore small{font-size:28px}.escapeFinishCard{max-width:680px;margin:60px auto;text-align:center}.escapeTeacherMap{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:14px;gap:14px;margin:18px 0}.escapeMapNode{border:1px solid #cfdae4;border-radius:16px;padding:15px;background:#f9fbfd}.escapeMapNode>span,.escapeMapNode>strong{display:block}.teacherCorrectPath,.teacherWrongPath{padding:8px;border-radius:8px;font-size:14px}.teacherCorrectPath{background:#e7f5eb}.teacherWrongPath{background:#fff0ef}.escapeStationEditorList{display:grid;grid-gap:18px;gap:18px;margin-top:18px}.escapeChoiceEditor{display:grid;grid-gap:10px;gap:10px;margin-top:14px}.escapeChoiceEditRow{display:grid;grid-template-columns:2fr 1fr 1.2fr 2fr;grid-gap:10px;gap:10px;padding:12px;background:#f7fafc;border-radius:14px}@media (max-width:900px){.escapeChoiceGrid{grid-template-columns:1fr}.escapeChoiceEditRow{grid-template-columns:1fr 1fr}.escapeStudentMap{align-items:stretch}}@media (max-width:600px){.escapeChoiceEditRow{grid-template-columns:1fr}}.escapeStudentShell{min-height:100vh;background:radial-gradient(circle at 50% 0,#263f68 0,#13243f 45%,#091321 100%);padding:24px;color:#f8fbff}.escapeStudentShell .studentPreviewHeader{max-width:1180px;margin:0 auto 18px;background:rgba(7,19,34,.82);border:1px solid hsla(0,0%,100%,.16);border-radius:20px;padding:18px 22px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.escapeStudentShell .studentPreviewHeader h1{font-size:clamp(1.6rem,3vw,2.5rem);line-height:1.15;margin:4px 0}.escapeStudentShell .escapeMissionCard{max-width:1180px;margin:0 auto 18px;background:linear-gradient(135deg,rgba(27,52,86,.96),rgba(13,31,55,.96));border:1px solid rgba(255,211,112,.35);color:#fff;padding:20px 24px}.escapeStudentShell .mathContent{font-size:clamp(1.15rem,2vw,1.55rem);line-height:1.65;letter-spacing:.01em}.escapeStudentShell .mathInline{display:inline-flex;vertical-align:middle;margin:0 .18em}.escapeStudentShell .escapeStudentMap{max-width:1180px;margin:0 auto 18px;justify-content:center;gap:8px;padding:10px}.escapeStudentShell .escapeStudentNode{min-width:48px;width:48px;height:48px;padding:0;border-radius:50%;display:grid;place-items:center;background:#152b49;border-color:#58769b;color:#fff}.escapeStudentShell .escapeStudentNode small{display:none}.escapeStudentShell .escapeStudentNode span{font-size:1rem}.escapeStudentShell .escapeStudentNode.isCurrent{background:#ffb22c;border-color:#ffe0a0;color:#17243a;box-shadow:0 0 0 5px rgba(255,178,44,.2)}.escapeStudentShell .escapeStudentNode.isVisited{background:#2e9e68;border-color:#8ce0b8}.escapeStudentShell .escapeStationPlayCard{max-width:1180px;margin:0 auto;background:linear-gradient(180deg,#f8fbff,#e9f0f8);color:#13243f;border:0;padding:clamp(22px,4vw,42px);box-shadow:0 28px 65px rgba(0,0,0,.35)}.escapeStudentShell .escapeStationPlayCard h2{font-size:clamp(1.5rem,3vw,2.35rem);margin:8px 0 16px;text-align:center}.escapeStudentShell .stationKindBadge{display:block;width:max-content;margin:0 auto;padding:7px 14px;border-radius:999px;background:#152b49;color:#fff;font-weight:800;letter-spacing:.04em}.escapeStudentShell .escapeChoiceGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,2.5vw,28px);align-items:stretch;margin-top:30px}.escapeDoorButton{position:relative;min-height:310px!important;border:0!important;border-radius:14px 14px 5px 5px!important;padding:22px 18px 28px!important;background:linear-gradient(90deg,#5e2f17,#9b5727 12%,#c37a36 50%,#8e4b22 88%,#542812)!important;color:#fff!important;box-shadow:inset 0 0 0 7px rgba(62,28,10,.42),inset 0 0 0 10px rgba(255,205,116,.22),0 16px 25px rgba(19,29,43,.28)!important;overflow:hidden;transition:transform .18s ease,filter .18s ease!important}.escapeDoorButton:before{content:"";position:absolute;inset:52px 24px 78px;border:3px solid rgba(70,31,12,.5);box-shadow:inset 0 0 0 4px rgba(255,209,132,.13);border-radius:5px;pointer-events:none}.escapeDoorButton:hover:not(:disabled){transform:translateY(-7px) scale(1.015)!important;filter:brightness(1.08)}.doorNumber{display:inline-flex;padding:6px 13px;border-radius:999px;background:#152b49;color:#fff;font-size:1rem;font-weight:900}.doorNumber,.doorPanel{position:relative;z-index:2}.doorPanel{display:grid;place-items:center;min-height:170px;margin-top:28px;padding:18px;font-weight:800;text-shadow:0 1px 1px rgba(0,0,0,.35)}.doorPanel .mathContent{font-size:clamp(1.08rem,1.7vw,1.4rem);line-height:1.45;color:#fff}.doorKnob{position:absolute;z-index:3;right:25px;bottom:44px;width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3a8,#d99b1b 55%,#80500a);box-shadow:0 0 0 3px rgba(78,42,8,.35)}.escapeFeedback{font-size:1.1rem;font-weight:750;text-align:center;border-left:0!important;border:2px solid #d58a22;border-radius:14px!important}.escapeBuilderMission,.teacherEscapePreview .mathContent{font-size:1.08rem;line-height:1.6}.escapeMapNode .mathContent{display:inline-block;margin:4px 0;font-size:1rem}@media(max-width:850px){.escapeStudentShell .escapeChoiceGrid{grid-template-columns:1fr}.escapeDoorButton{min-height:230px!important}.doorPanel{min-height:110px}.escapeStudentShell{padding:12px}.escapeStudentShell .escapeStationPlayCard{padding:20px}}.curriculumWizardPanel,.sourceScriptPanel{max-width:1120px;margin:0 auto 30px}.academicWizardGrid{grid-template-columns:repeat(3,minmax(0,1fr));padding:0;margin:18px 0}.academicFixedCourse,.academicStepField{border:1px solid #d7e3ed;border-radius:16px;padding:14px;background:#f8fbfd;display:flex;flex-direction:column;gap:8px}.academicFixedCourse>span,.academicStepField>span{font-weight:750;color:#31506b}.academicFixedCourse b,.academicStepField b{display:inline-grid;place-items:center;min-width:58px;padding:4px 8px;margin-right:6px;border-radius:999px;background:#174b7a;color:#fff;font-size:.78rem}.academicFixedCourse strong{min-height:48px;display:flex;align-items:center;padding:10px 12px;border:1px solid #cbd9e4;border-radius:10px;background:#fff;color:#173b5f}.topicStepField{margin-top:18px}.topicStepField>span b{display:inline-grid;place-items:center;padding:4px 9px;margin-right:6px;border-radius:999px;background:#174b7a;color:#fff;font-size:.78rem}.escapeTeacherBuilder{max-width:1280px;margin:0 auto}.escapeRoomEditorSection{max-width:1180px;margin:26px auto}.escapeRoomEditorCard{padding:24px;border-radius:22px;border:1px solid #cbd9e5;box-shadow:0 12px 32px rgba(28,57,80,.08);overflow:hidden}.escapeRoomEditorCard h3{margin:6px 0 0;font-size:1.35rem}.escapeEditorPreview{margin:12px 0 18px;padding:18px;border:1px solid #d7e4ef;border-radius:16px;background:#f7fbff}.escapeEditorPreview .mathContent{font-size:1.16rem;line-height:1.75}.escapeChoiceEditRow{grid-template-columns:1.1fr 2.2fr 1.4fr 2fr!important;align-items:end;border:1px solid #d8e3ec;background:#f9fbfd!important}.escapeChoiceEditRow.isCorrectDoorRow{border-color:#66b488;background:#f0fbf5!important;box-shadow:0 0 0 2px rgba(63,155,105,.1)}.correctDoorSelector{display:flex;align-items:center;gap:9px;min-height:48px;padding:10px 12px;border-radius:12px;background:#eef4f8;font-weight:800}.correctDoorSelector input{width:19px;height:19px}.doorAnswerPreview{min-height:48px;display:flex;align-items:center;justify-content:center;padding:8px;border:1px dashed #aebfcd;border-radius:12px;background:#fff}.doorAnswerPreview .mathContent{font-size:1.05rem}.teacherEscapePreview{max-width:1180px;margin:24px auto}.teacherCorrectPath,.teacherWrongPath{display:grid;grid-template-columns:auto 1fr;grid-gap:8px;gap:8px;align-items:center;margin-top:9px;padding:10px;border-radius:12px}.teacherCorrectPath{background:#eaf8f0;border:1px solid #83c5a0}.teacherWrongPath{background:#f7f9fb;border:1px solid #d6e0e8}.teacherCorrectPath .mathContent,.teacherWrongPath .mathContent{font-size:1rem}.escapeGameHeader{display:flex;align-items:center;justify-content:space-between;gap:20px}.escapeAudioControls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.audioToggleButton{border:1px solid hsla(0,0%,100%,.28);border-radius:999px;padding:9px 13px;background:hsla(0,0%,100%,.1);color:#fff;font:inherit;font-weight:750;cursor:pointer}.audioToggleButton:hover,.escapeProgressTrack{background:hsla(0,0%,100%,.18)}.escapeProgressTrack{height:10px;margin-top:16px;border-radius:999px;overflow:hidden}.escapeProgressTrack span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#ffb22c,#ffe08a);transition:width .35s ease}.escapeQuestionCard{max-width:920px;margin:18px auto 0;padding:22px;border:1px solid #cad9e5;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(25,52,75,.08)}.escapeQuestionCard .mathContent{font-size:clamp(1.22rem,2.2vw,1.65rem)!important;line-height:1.8;text-align:center}.escapeDoorButton .doorPanel .mathContent{font-size:clamp(1.05rem,1.6vw,1.32rem)!important;line-height:1.45;overflow-wrap:anywhere}.escapeDoorButton.isWrongDoor{filter:grayscale(.75) brightness(.7)!important;transform:translateY(4px)!important}.escapeDoorButton.isOpening{animation:doorUnlock .65s ease forwards;transform-origin:left center}.doorStatus{position:absolute;left:50%;bottom:13px;transform:translateX(-50%);padding:5px 10px;border-radius:999px;background:rgba(8,18,32,.78);font-size:.8rem;font-weight:900;letter-spacing:.04em}.escapeFeedback .mathContent{font-size:1.12rem;line-height:1.65}.escapeContinueButton{display:block;margin:16px auto 0;min-width:220px}.livesPill{color:#8d1d2d;background:#fff0f2!important}@keyframes doorUnlock{0%{transform:perspective(800px) rotateY(0)}55%{transform:perspective(800px) rotateY(-38deg);filter:brightness(1.18)}to{transform:perspective(800px) rotateY(-18deg);filter:brightness(1.1)}}@media(max-width:960px){.academicWizardGrid{grid-template-columns:1fr}.escapeChoiceEditRow{grid-template-columns:1fr 1fr!important}.escapeGameHeader{align-items:flex-start;flex-direction:column}.escapeAudioControls{justify-content:flex-start}}@media(max-width:620px){.escapeChoiceEditRow{grid-template-columns:1fr!important}.escapeQuestionCard,.escapeRoomEditorCard{padding:16px}.audioToggleButton{font-size:.85rem}}.internalModeNotice{margin:14px 0;padding:13px 15px;border:1px solid #c9dceb;border-radius:13px;background:#f2f8fc;color:#31536d;font-weight:650}.attemptCompletedNotice{display:inline-flex;align-items:center;min-height:44px;padding:.7rem 1rem;border-radius:12px;border:1px solid rgba(250,204,21,.42);background:rgba(250,204,21,.1);color:#fef3c7;font-weight:700}.scoreLockedRule{min-height:44px;display:flex;align-items:center;padding:.75rem 1rem;border-radius:12px}.escapeStudentShell .studentPreviewHeader .previewLabel,.escapeStudentShell .studentPreviewHeader h1,.escapeStudentShell .studentPreviewHeader p{color:#fff}.attemptCompletedNotice{color:#5b3a00;background:#fff8d8;border-color:#e3bf45}.systemTestShell{max-width:1180px;margin:0 auto;padding:42px 24px 70px}.systemTestHero{padding:34px;border-radius:28px;background:linear-gradient(135deg,#0d1b34,#162c52);color:#fff;box-shadow:0 24px 70px rgba(11,24,48,.22)}.systemTestHero h1{margin:12px 0 10px;font-size:clamp(2rem,4vw,3.2rem)}.systemTestHero p{max-width:780px;color:#dbe8ff;font-size:1.05rem;line-height:1.7}.systemTestWarning{margin:20px 0;padding:14px 16px;border:1px solid hsla(0,0%,100%,.2);border-radius:14px;background:hsla(0,0%,100%,.08)}.systemTestSummary{display:flex;gap:18px;margin:24px 0}.systemTestSummary span{padding:12px 18px;border-radius:999px;background:#fff;box-shadow:0 8px 26px rgba(15,35,68,.1)}.systemTestGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px}.systemTestCard{padding:22px;border:1px solid #dce5f2;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(15,35,68,.08)}.systemTestCardHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.systemTestCard h2{margin:0;font-size:1.08rem;color:#14213d}.systemTestCardHeader span{font-size:.72rem;font-weight:800;letter-spacing:.08em}.systemTestCard p{color:#53657d;line-height:1.55;overflow-wrap:anywhere}.systemTestCard.is-pass{border-color:#8fd5ab;background:#f3fff7}.systemTestCard.is-fail{border-color:#f2aaa3;background:#fff6f5}.systemTestCard.is-running{border-color:#9fbce8;background:#f5f9ff}@media (max-width:760px){.systemTestGrid{grid-template-columns:1fr}.systemTestHero{padding:24px}}.escapeTeacherBuilder .builderActionBar,.escapeTeacherBuilder .runtimeSettingsCard,.escapeTeacherBuilder .teacherEscapePreview,.escapeTeacherBuilder .teacherReviewSection{width:min(1180px,calc(100% - 32px))}.escapeTeacherBuilder .questionEditorHeader{flex-wrap:wrap;align-items:flex-start}.escapeTeacherBuilder .questionEditorHeader .secondaryButton{white-space:normal;text-align:center}.escapeTeacherBuilder .escapeChoiceEditRow{grid-template-columns:220px minmax(0,1fr)!important;align-items:start;gap:14px 18px;padding:18px}.escapeTeacherBuilder .escapeChoiceEditRow>*{min-width:0}.escapeTeacherBuilder .correctDoorSelector{align-self:stretch}.escapeTeacherBuilder .doorAnswerPreview{align-self:stretch;min-height:74px}.escapeTeacherBuilder input,.escapeTeacherBuilder select,.escapeTeacherBuilder textarea{font-size:1rem}.escapeTeacherBuilder .field>span{font-size:.9rem}@media (max-width:760px){.escapeTeacherBuilder .escapeChoiceEditRow{grid-template-columns:1fr!important}.escapeTeacherBuilder .builderActionBar,.escapeTeacherBuilder .runtimeSettingsCard,.escapeTeacherBuilder .teacherEscapePreview,.escapeTeacherBuilder .teacherReviewSection{width:min(100% - 20px,1180px)}}.lessonSourceField textarea{min-height:180px;line-height:1.6;resize:vertical}.runtimeSubheading{margin:18px 0 10px;color:#16395f;font-size:1rem}.escapeJourneyScene{position:relative;height:138px;margin:20px 8px 8px;border:1px solid #b8cbe0;border-radius:22px;background:linear-gradient(180deg,#dff5ff 0 55%,#c8e8bc 55% 100%);overflow:hidden;box-shadow:inset 0 -18px 30px rgba(34,91,44,.08)}.journeyTrail{position:absolute;left:4%;right:4%;top:86px;height:7px;border-radius:999px;background:repeating-linear-gradient(90deg,#c58a4a 0 18px,#e7bd7f 18px 35px);box-shadow:0 3px 0 rgba(75,43,22,.18)}.journeyGoal,.journeyStartFlag{position:absolute;z-index:3;top:20px;font-weight:800;font-size:.76rem;color:#173b5f;text-align:center}.journeyStartFlag{left:2%}.journeyGoal{right:1%;display:flex;flex-direction:column;align-items:center;gap:2px}.goalGlow{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#ffd56b;color:#8b5400;font-size:1.55rem;box-shadow:0 0 0 7px rgba(255,213,107,.25),0 8px 18px rgba(94,65,9,.2)}.journeyDoorNode{position:absolute;z-index:2;top:42px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:2px;color:#31506b;font-weight:800;transition:filter .3s,transform .3s}.miniDoor{position:relative;display:block;width:28px;height:43px;border:solid #173b5f;border-width:3px 3px 5px;border-radius:5px 5px 2px 2px;background:#8e5a35;box-shadow:inset -6px 0 rgba(0,0,0,.1)}.miniDoor:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#ffd56b;margin:20px 0 0 19px}.journeyDoorNode.isActive{transform:translateX(-50%) scale(1.12);filter:drop-shadow(0 0 8px rgba(255,108,62,.55))}.journeyDoorNode.isComplete .miniDoor{background:#76b87a;border-color:#235d37;transform:perspective(45px) rotateY(-22deg);transform-origin:left center}.journeyAvatar{position:absolute;z-index:5;top:66px;width:36px;height:54px;transition:left 1.15s cubic-bezier(.22,.8,.24,1);filter:drop-shadow(0 5px 4px rgba(0,0,0,.22))}.avatarHead{position:absolute;left:9px;top:0;width:18px;height:18px;border-radius:50%;background:#f0b07a;border:2px solid #173b5f}.avatarBody{position:absolute;left:7px;top:17px;width:22px;height:24px;border-radius:8px 8px 5px 5px;background:#ff6c3e;border:2px solid #173b5f}.avatarLeg{position:absolute;top:39px;width:6px;height:14px;border-radius:4px;background:#173b5f;transform-origin:top}.avatarLegLeft{left:10px}.avatarLegRight{left:21px}.isJourneyMoving .avatarLegLeft{animation:journeyWalkLeft .35s linear infinite alternate}.isJourneyMoving .avatarLegRight{animation:journeyWalkRight .35s linear infinite alternate}@keyframes journeyWalkLeft{to{transform:rotate(22deg)}}@keyframes journeyWalkRight{to{transform:rotate(-22deg)}}.journeyMovingNotice{margin-top:15px;padding:13px 16px;border-radius:14px;background:#e5f5ff;border:1px solid #9ac9e5;color:#164b70;font-weight:800;text-align:center;animation:journeyPulse .8s ease-in-out infinite alternate}@keyframes journeyPulse{to{transform:translateY(-2px);box-shadow:0 8px 20px rgba(22,75,112,.15)}}.escapeGoalCelebration{display:flex;flex-direction:column;align-items:center;gap:8px;margin:16px auto}.goalTrophy{display:grid;place-items:center;width:74px;height:74px;border-radius:50%;font-size:2.6rem;background:#ffd56b;color:#8b5400;box-shadow:0 0 0 12px rgba(255,213,107,.2);animation:goalPop .65s ease both}@keyframes goalPop{0%{transform:scale(.25) rotate(-40deg);opacity:0}to{transform:scale(1);opacity:1}}@media(max-width:720px){.escapeJourneyScene{height:124px}.journeyDoorNode small{display:none}.miniDoor{width:22px;height:36px}.journeyAvatar{top:60px}}.headerActions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.teacherIdentity{max-width:260px;color:var(--navy);font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.headerButton{border:0;cursor:pointer}.headerButton:disabled{cursor:wait;opacity:.65}.textButton{border:0;padding:9px 6px;background:transparent;color:var(--navy-2);font-weight:800;cursor:pointer}.textButton:disabled{opacity:.6;cursor:wait}.accessShell{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(circle at 12% 12%,rgba(255,107,53,.13),transparent 28%),radial-gradient(circle at 88% 30%,rgba(21,57,101,.16),transparent 32%),var(--background)}.accessHeader{position:relative}.accessPanel,.statusPanel{width:min(620px,calc(100% - 32px));margin:64px auto;padding:clamp(26px,5vw,44px);border:1px solid var(--line);border-radius:28px;background:hsla(0,0%,100%,.97);box-shadow:var(--shadow)}.accessPanel h1,.statusPanel h1{margin:14px 0 12px;color:var(--navy);font-size:clamp(2rem,5vw,3rem);line-height:1.1}.accessPanel>p,.statusPanel>p{color:var(--muted);line-height:1.7;font-size:1.02rem}.accessForm{display:grid;grid-gap:16px;gap:16px;margin-top:26px}.accessForm .primaryButton{margin-top:2px}.accessNotice,.configurationNotice{padding:13px 15px;border:1px solid #9fd2b2;border-radius:13px;background:#effcf4;color:#225c37;line-height:1.5;font-weight:700}.configurationNotice{width:min(620px,calc(100% - 32px));margin:-42px auto 50px;border-color:#efc88f;background:#fff8e8;color:#765000}.verifiedEmailLine{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 14px;border-radius:12px;background:var(--sky);color:var(--navy-2)}.verifiedEmailLine strong{overflow-wrap:anywhere}.otpInput{text-align:center;letter-spacing:.32em;font-size:1.45rem;font-weight:900}.accessSecondaryActions{display:flex;align-items:center;justify-content:space-between;gap:12px}.accessSecondaryActions .secondaryButton{flex:1 1}.statusPill{display:inline-flex;text-transform:uppercase;letter-spacing:.08em}.statusPill.is-admin,.statusPill.is-approved{background:#e8f8ee;color:#1f6a3d}.statusPill.is-pending{background:#fff7df;color:#845c00}.statusPill.is-expired,.statusPill.is-inactive,.statusPill.is-rejected{background:#fff0f0;color:#8a1f1f}.statusPill.is-configuration_error,.statusPill.is-missing_profile{background:#edf2f7;color:#41546b}.statusDetails{display:grid;grid-gap:0;gap:0;margin:26px 0;border:1px solid var(--line);border-radius:16px;overflow:hidden}.statusDetails div{display:grid;grid-template-columns:150px minmax(0,1fr);grid-gap:14px;gap:14px;padding:14px 16px;border-bottom:1px solid var(--line)}.statusDetails div:last-child{border-bottom:0}.statusDetails dt{color:var(--muted);font-weight:700}.statusDetails dd{margin:0;color:var(--navy);font-weight:800;overflow-wrap:anywhere}.statusPanel .secondaryButton{width:100%}.adminLoginShell{min-height:calc(100vh - 82px)}.adminShell{width:min(1280px,calc(100% - 36px));margin:0 auto;padding:42px 0 72px}.adminHero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:32px;border-radius:28px;background:linear-gradient(135deg,#0d2344,#1c4b7f);color:#fff;box-shadow:0 22px 58px rgba(13,35,68,.2)}.adminHero h1{margin:12px 0 8px;font-size:clamp(2rem,4vw,3.25rem)}.adminHero p{max-width:720px;margin:0;color:#dbe9fb;line-height:1.65}.adminMetrics{display:grid;grid-template-columns:repeat(3,minmax(105px,1fr));grid-gap:12px;gap:12px}.adminMetrics div{min-width:110px;padding:16px;border:1px solid hsla(0,0%,100%,.18);border-radius:16px;background:hsla(0,0%,100%,.08);text-align:center}.adminMetrics span,.adminMetrics strong{display:block}.adminMetrics strong{font-size:1.75rem}.adminMetrics span{margin-top:4px;color:#dbe9fb;font-size:.82rem}.adminCard{margin-top:24px;padding:26px;border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow)}.adminSectionHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.adminSectionHeader h2{margin:0 0 6px;color:var(--navy)}.adminSectionHeader p{margin:0;color:var(--muted)}.adminFormGrid,.teacherEditGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:16px;gap:16px}.adminNotesField,.teacherNotes{grid-column:span 2}.adminFormGrid>.primaryButton{width:auto;align-self:end;margin:0}.adminSearch,.adminSearchHeader{align-items:center}.adminSearch{display:flex;gap:8px}.adminSearch input{min-width:260px;border:1px solid #cdd8e5;border-radius:12px;padding:12px 14px;outline:none}.adminSearch input:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,107,53,.12)}.adminEmpty{padding:30px;border:1px dashed #bdcadd;border-radius:16px;color:var(--muted);text-align:center}.teacherRecordList{display:grid;grid-gap:18px;gap:18px}.teacherRecord{padding:22px;border:1px solid var(--line);border-radius:20px;background:#fbfdff}.teacherRecordTop{display:flex;justify-content:space-between;gap:24px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid var(--line)}.teacherRecordTop h3{margin:10px 0 4px;color:var(--navy);font-size:1.3rem}.teacherRecordTop p{margin:0;color:var(--muted);overflow-wrap:anywhere}.teacherMeta{display:grid;grid-gap:5px;gap:5px;color:var(--muted);font-size:.84rem;text-align:right}.teacherRecord>.primaryButton{margin-top:18px}@media (max-width:980px){.adminHero{align-items:flex-start;flex-direction:column}.adminMetrics{width:100%}.adminFormGrid,.teacherEditGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.adminNotesField,.teacherNotes{grid-column:1/-1}.adminSearchHeader{align-items:flex-start;flex-direction:column}.adminSearch{width:100%}.adminSearch input{flex:1 1;min-width:0}}@media (max-width:700px){.headerActions{gap:6px}.teacherIdentity{max-width:125px;font-size:.82rem}.headerButton{display:inline-flex;padding:8px 10px}.accessPanel,.statusPanel{margin:34px auto;padding:24px}.statusDetails div{grid-template-columns:1fr;gap:4px}.adminShell{width:min(100% - 20px,1280px);padding-top:20px}.adminCard,.adminHero{padding:20px;border-radius:20px}.adminFormGrid,.adminMetrics,.teacherEditGrid{grid-template-columns:1fr}.adminNotesField,.teacherNotes{grid-column:auto}.adminFormGrid>.primaryButton{width:100%}.adminSearch{align-items:stretch}.adminSearch,.teacherRecordTop{flex-direction:column}.teacherMeta{text-align:left}.accessSecondaryActions{align-items:stretch;flex-direction:column}}.adminPagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line);color:var(--muted);text-align:center}@media (max-width:620px){.adminPagination{align-items:stretch;flex-direction:column}}html{text-size-adjust:100%}body{min-width:320px;overflow-x:hidden}a,button,input,label,summary{-webkit-tap-highlight-color:transparent}a,button,label,summary{touch-action:manipulation}.siteHeader{-webkit-backdrop-filter:blur(14px)}.escapeStudentMap,.mathDisplay,.mathTemplateTabs,.visualCanvasWrap,.workedSolutionSheet{-webkit-overflow-scrolling:touch}.mathDisplay{max-width:100%;overflow-x:auto;overflow-y:hidden}.escapeDoorButton,.mathContent,.studentChoice,.studentCorrectionChoiceGrid button,.studentPrompt,.workedStepButton{min-width:0;overflow-wrap:anywhere}.studentLivePage,.studentPublicPage{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:radial-gradient(circle at 12% 12%,rgba(255,107,53,.12),transparent 28%),radial-gradient(circle at 88% 24%,rgba(21,57,101,.14),transparent 32%),var(--background)}.studentPublicHeader{padding-left:max(clamp(16px,4vw,64px),env(safe-area-inset-left));padding-right:max(clamp(16px,4vw,64px),env(safe-area-inset-right))}.studentJoinSection{width:min(1120px,calc(100% - 36px));margin:auto;padding:clamp(42px,8vw,92px) 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,470px);align-items:center;grid-gap:clamp(32px,7vw,82px);gap:clamp(32px,7vw,82px)}.studentJoinIntro h1{max-width:720px;margin:14px 0 16px;color:var(--navy);font-size:clamp(2.25rem,5vw,4.5rem);line-height:1.06}.studentJoinIntro p{max-width:620px;margin:0;color:var(--muted);font-size:clamp(1rem,2vw,1.18rem);line-height:1.7}.studentJoinCard{min-width:0;padding:clamp(24px,4vw,38px);border:1px solid var(--line);border-radius:26px;background:hsla(0,0%,100%,.97);box-shadow:var(--shadow)}.studentJoinCard h2{margin:2px 0 8px;color:var(--navy);font-size:1.85rem}.studentJoinCard>p{margin:0;color:var(--muted);line-height:1.55}.studentJoinForm{display:grid;grid-gap:18px;gap:18px;margin-top:25px}.studentJoinForm .field{display:grid;grid-gap:8px;gap:8px}.studentJoinForm .field>span{color:var(--navy);font-weight:900}.studentJoinForm input{width:100%;min-height:54px;border:1px solid #bdcedd;border-radius:13px;padding:12px 14px;background:#fff;color:var(--navy);font-size:16px;line-height:1.35;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.studentJoinForm input:focus{border-color:var(--orange);box-shadow:0 0 0 4px rgba(255,107,53,.12)}.activityCodeInput{text-align:center;text-transform:uppercase;letter-spacing:.22em;font-size:clamp(1.35rem,4vw,1.8rem)!important;font-weight:900;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.studentJoinForm .primaryButton{width:100%;min-height:52px}.studentPrivacyNote{margin-top:18px;padding:12px 14px;border-radius:12px;background:var(--sky);color:var(--navy-2);font-size:.88rem;line-height:1.5}.studentActivityShell{width:min(1440px,calc(100% - 36px));min-width:0;flex:1 1;margin:30px auto 58px;padding:clamp(18px,3vw,34px);border:1px solid var(--line);border-radius:26px;background:hsla(0,0%,100%,.98);box-shadow:var(--shadow)}.studentActivityBody{min-width:0}.liveStudentHeader{margin-bottom:16px}.studentRuntimeBar>span{min-width:0;overflow-wrap:anywhere}.studentStateCard{width:min(680px,calc(100% - 32px));margin:auto;padding:clamp(26px,5vw,44px);border:1px solid var(--line);border-radius:24px;background:hsla(0,0%,100%,.98);box-shadow:var(--shadow);color:var(--navy);text-align:center}.studentStateCard h1,.studentStateCard h2{margin:10px 0}.studentStateCard p{color:var(--muted);line-height:1.65}.embeddedStudentState{margin:28px auto 0;box-shadow:none}.studentStateAction{display:inline-flex;justify-content:center;margin-top:10px}.studentFinalScore{margin:18px 0;font-size:clamp(3rem,10vw,5.5rem);font-weight:900}.studentFinalScore small{font-size:.35em}.studentLoadingSpinner{width:42px;height:42px;display:inline-block;border:4px solid #d8e4ef;border-top:4px solid var(--orange);border-radius:50%;animation:studentSpin .8s linear infinite}@keyframes studentSpin{to{transform:rotate(1turn)}}.graphStudentProgress{margin-bottom:18px}.graphStudentProgress>div{height:9px;margin-top:8px;overflow:hidden;border-radius:999px;background:#e5edf5}.graphStudentProgress>div>span{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,var(--orange),#ff9b73);transition:width .2s ease}.studentQuestionCard{min-width:0}.studentChoice.isSelected{border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,107,53,.12);background:var(--orange-soft)}.escapeChoiceButton,.studentChoice,.studentCorrectionChoiceGrid button,.studentErrorTypeGrid button,.studentPlayerActions button,.workedStepButton{min-height:44px}.studentPlayerActions{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.studentPlayerActions>span{color:var(--muted);font-weight:800;text-align:center}.errorStudentQuestionCard .workedSolutionSheet{overflow-x:auto}.liveEscapeShell{min-height:auto;margin:0 calc(clamp(18px, 3vw, 34px) * -1) calc(clamp(18px, 3vw, 34px) * -1);padding-bottom:max(24px,env(safe-area-inset-bottom));border-radius:0 0 25px 25px}.escapeDoorButton{-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (hover:none),(pointer:coarse){.activityCard:hover,.escapeDoorButton:hover:not(:disabled),.mathTemplateButton:hover:not(:disabled),.studentCorrectionChoiceGrid button:hover:not(:disabled),.studentErrorTypeGrid button:hover:not(:disabled),.workedStepButton:hover:not(:disabled){transform:none!important}.escapeChoiceButton,.mathTemplateButton,.mathTemplateTabs button,.studentChoice,.studentCorrectionChoiceGrid button,.studentErrorTypeGrid button,.studentPlayerActions button,.workedStepButton{min-height:48px}}@media (max-width:900px){.studentJoinSection{grid-template-columns:1fr;width:min(720px,calc(100% - 32px))}.studentJoinIntro{text-align:center}.studentJoinIntro p{margin-left:auto;margin-right:auto}.studentPreviewHeader{grid-template-columns:1fr;gap:14px}.studentTimer{width:100%;min-width:0}.studentRuntimeBar{align-items:stretch;flex-direction:column}.studentRuntimeBar>span{width:100%}}@media (max-width:640px){.studentPublicHeader{min-height:72px;padding-top:12px;padding-bottom:12px}.studentPublicHeader .brandMark{width:42px;height:42px}.studentPublicHeader .brand strong{font-size:1.05rem}.studentPublicHeader .brand small{font-size:.58rem;letter-spacing:.11em}.studentPublicHeader .headerBadge{max-width:118px;padding:7px 10px;font-size:.72rem;text-align:center}.studentJoinSection{width:min(100% - 20px,720px);padding:26px 0 38px}.studentJoinIntro h1{font-size:clamp(2rem,10vw,3rem)}.studentJoinCard{padding:22px 18px;border-radius:20px}.studentActivityShell{width:100%;margin:0;padding:16px 12px 28px;border-left:0;border-right:0;border-radius:0;box-shadow:none}.studentQuestionCard{padding:16px 12px;border-radius:16px}.studentChoice{grid-template-columns:20px 30px minmax(0,1fr);padding:12px 10px}.studentPlayerActions{align-items:stretch;flex-direction:column}.studentPlayerActions>span{order:-1}.studentPlayerActions button{width:100%}.studentErrorTypeGrid{display:grid;grid-template-columns:1fr}.studentCorrectionChoiceGrid button,.workedStepButton{padding:13px 11px}.liveEscapeShell{margin:0 -12px -28px;border-radius:0}.escapeJourneyScene{margin-left:0;margin-right:0}.escapeStudentShell .escapeMissionCard,.escapeStudentShell .escapeStationPlayCard{border-radius:16px}.siteFooter{padding-bottom:max(20px,env(safe-area-inset-bottom))}}@media (prefers-reduced-motion:reduce){.goalTrophy,.isJourneyMoving .avatarLegLeft,.isJourneyMoving .avatarLegRight,.journeyAvatar,.studentLoadingSpinner{animation:none!important;transition:none!important}}.studentSavedFeedback{margin:0 0 18px;padding:13px 15px;border:1px solid #b7d8c2;border-radius:13px;background:#eefaf2;color:#174f2d;line-height:1.55;overflow-wrap:anywhere}.studentSavedFeedback.incorrect{border-color:#efc0bd;background:#fff1f0;color:#812a25}.studentSavedFeedback.partially_correct,.studentSavedFeedback.review{border-color:#eed79c;background:#fff9e8;color:#694d08}.sequentialStudentActions{justify-content:flex-end}.sequentialStudentActions>span{margin-right:auto}.studentReviewNote{max-width:540px;margin:14px auto 0;padding:12px 14px;border-radius:12px;background:#fff9e8;color:#694d08!important}.escapeFeedback{margin-top:16px;margin-bottom:4px}.escapeCheckingNotice{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:16px;color:var(--navy);font-weight:900}.escapeCheckingNotice .studentLoadingSpinner,.studentStateCard .studentLoadingSpinner{width:28px;height:28px;border-width:3px}.studentLives{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@media (max-width:640px){.sequentialStudentActions{align-items:stretch}.sequentialStudentActions>span{margin-right:0}.studentSavedFeedback{padding:12px}}.teacherManageCallout{width:min(1180px,calc(100% - 36px));margin:0 auto 24px;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid rgba(255,107,53,.25);border-radius:22px;background:linear-gradient(120deg,#fff8f4,#fff 48%,#eef6ff);box-shadow:0 15px 34px rgba(13,35,68,.08)}.teacherManageCallout h2{margin:10px 0 7px;color:var(--navy);font-size:clamp(1.45rem,2.5vw,2.05rem)}.teacherManageCallout p{max-width:760px;margin:0;color:var(--muted);line-height:1.6}.teacherManageCalloutButton,.teacherPrimaryLink{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border-radius:13px;background:linear-gradient(135deg,var(--orange),#ff8357);color:#fff;font-weight:900;box-shadow:0 10px 22px rgba(255,107,53,.22)}.teacherActivitiesShell{min-height:calc(100vh - 82px);padding:36px clamp(14px,3vw,38px) 0;background:radial-gradient(circle at 10% 5%,rgba(255,107,53,.09),transparent 24%),radial-gradient(circle at 92% 16%,rgba(21,57,101,.11),transparent 28%),var(--background)}.teacherActivitiesHero,.teacherActivitiesPanel,.teacherDetailPanel,.teacherOverviewGrid{width:min(1380px,100%);margin-left:auto;margin-right:auto}.teacherActivitiesHero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:clamp(24px,4vw,38px);border-radius:28px;background:linear-gradient(135deg,#0d2344,#173f70 60%,#23568d);color:#fff;box-shadow:0 22px 54px rgba(13,35,68,.18)}.teacherActivitiesHero h1{margin:12px 0 8px;font-size:clamp(2.05rem,4vw,3.75rem);line-height:1.05}.teacherActivitiesHero p{max-width:760px;margin:0;color:#dbe9fb;font-size:1.02rem;line-height:1.65}.activityBadge{display:inline-flex;padding:7px 11px;border-radius:999px;background:rgba(255,107,53,.15);color:var(--orange);font-size:.75rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.teacherActivitiesHero .activityBadge{background:hsla(0,0%,100%,.12);color:#ffd6c7}.teacherActivityHeroActions{display:grid;grid-gap:10px;gap:10px;min-width:210px}.teacherSecondaryAction{min-height:46px;border:1px solid hsla(0,0%,100%,.26);border-radius:13px;background:hsla(0,0%,100%,.08);color:#fff;font-weight:900;cursor:pointer}.teacherSecondaryAction:disabled{opacity:.65;cursor:wait}.teacherOverviewGrid{margin-top:20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:14px;gap:14px}.teacherAnalyticsOverview article,.teacherAttemptOverview article,.teacherOverviewGrid article{padding:19px 20px;border:1px solid var(--line);border-radius:18px;background:hsla(0,0%,100%,.96);box-shadow:0 10px 25px rgba(13,35,68,.06)}.teacherAnalyticsOverview span,.teacherAttemptOverview span,.teacherOverviewGrid span{display:block;color:var(--muted);font-size:.82rem;font-weight:800}.teacherAnalyticsOverview strong,.teacherAttemptOverview strong,.teacherOverviewGrid strong{display:block;margin-top:6px;color:var(--navy);font-size:1.75rem;line-height:1.1}.teacherActivitiesPanel,.teacherDetailPanel{margin-top:22px;padding:clamp(19px,3vw,28px);border:1px solid var(--line);border-radius:24px;background:#fff;box-shadow:var(--shadow)}.teacherDetailHeader,.teacherPanelHeading{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.teacherDetailHeader h2,.teacherPanelHeading h2{margin:0 0 6px;color:var(--navy);font-size:clamp(1.55rem,3vw,2.2rem)}.teacherDetailHeader p,.teacherPanelHeading p{margin:0;color:var(--muted);line-height:1.55}.teacherDetailTabs,.teacherScopeTabs{display:inline-flex;align-items:center;gap:5px;padding:5px;border:1px solid var(--line);border-radius:13px;background:#f3f7fb}.teacherDetailTabs button,.teacherScopeTabs button{border:0;border-radius:9px;padding:10px 13px;background:transparent;color:var(--muted);font-weight:900;cursor:pointer}.teacherDetailTabs button.is-active,.teacherScopeTabs button.is-active{background:#fff;color:var(--navy);box-shadow:0 4px 12px rgba(13,35,68,.09)}.teacherActivityFilters,.teacherResultsFilters{display:grid;grid-template-columns:minmax(220px,1.6fr) minmax(180px,.8fr) minmax(180px,.8fr) auto;align-items:end;grid-gap:12px;gap:12px;margin-top:22px;padding:16px;border:1px solid var(--line);border-radius:17px;background:#f8fbff}.teacherActivityFilters label,.teacherResultsFilters label{display:grid;grid-gap:7px;gap:7px}.teacherActivityFilters label>span,.teacherResultsFilters label>span{color:var(--navy);font-size:.8rem;font-weight:900}.teacherActivityFilters input,.teacherActivityFilters select,.teacherResultsFilters input,.teacherResultsFilters select{width:100%;min-height:44px;border:1px solid #cbd7e5;border-radius:11px;padding:10px 12px;background:#fff;color:var(--ink);outline:none}.teacherActivityFilters input:focus,.teacherActivityFilters select:focus,.teacherResultsFilters input:focus,.teacherResultsFilters select:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,107,53,.12)}.teacherFilterCount{min-width:76px;min-height:44px;display:grid;place-content:center;border-radius:11px;background:var(--navy);color:#fff;text-align:center}.teacherFilterCount strong{font-size:1.15rem}.teacherFilterCount span{font-size:.68rem;text-transform:uppercase;letter-spacing:.08em}.teacherActivityCardList{display:grid;grid-gap:16px;gap:16px;margin-top:20px}.teacherActivityCard{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:#fff;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}.teacherActivityCard:hover{border-color:#bdccdc;box-shadow:0 12px 30px rgba(13,35,68,.08)}.teacherActivityCard.is-selected{border-color:rgba(255,107,53,.65);box-shadow:0 0 0 3px rgba(255,107,53,.1)}.teacherActivityCardMain{display:flex;align-items:center;gap:16px;padding:20px 20px 14px}.teacherActivityTypeIcon{flex:0 0 auto;width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:var(--navy);color:#fff;font-size:1.2rem;font-weight:900;box-shadow:inset 0 -4px 0 var(--orange)}.teacherActivityTypeIcon.type-error_detective{background:#173f70}.teacherActivityTypeIcon.type-math_escape_path{background:#254e48}.teacherActivityIdentity{min-width:0}.teacherActivityTitleLine{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.teacherAttemptBadge,.teacherItemStatus,.teacherResponseStatus,.teacherStatusBadge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 9px;font-size:.7rem;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.teacherAttemptBadge.is-submitted,.teacherItemStatus.is-correct,.teacherResponseStatus.is-correct,.teacherStatusBadge.is-active{background:#e7f8ed;color:#166534}.teacherAttemptBadge.is-expired,.teacherItemStatus.is-unanswered,.teacherStatusBadge.is-inactive{background:#fff5df;color:#8a5b00}.teacherAttemptBadge.is-abandoned,.teacherStatusBadge.is-archived{background:#edf2f7;color:#475569}.teacherResponseStatus.is-incorrect,.teacherStatusBadge.is-deleted{background:#fff0f0;color:#9b1c1c}.teacherAttemptBadge.is-in_progress,.teacherItemStatus.is-pending,.teacherResponseStatus.is-pending{background:#e9f3ff;color:#245d91}.teacherItemStatus.is-review,.teacherResponseStatus.is-review{background:#f5edff;color:#6b35a8}.teacherItemStatus.is-partially_correct,.teacherResponseStatus.is-partially_correct{background:#fff5df;color:#8a5b00}.teacherActivityTypeLabel{color:var(--orange);font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.teacherActivityIdentity h3{margin:9px 0 7px;color:var(--navy);font-size:1.3rem;line-height:1.25;overflow-wrap:anywhere}.teacherActivityMetadata{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--muted);font-size:.82rem}.teacherActivityMetadata strong{color:var(--navy);letter-spacing:.08em}.teacherActivityMetrics{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));grid-gap:1px;gap:1px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--line)}.teacherActivityMetrics div{min-width:0;padding:14px 16px;background:#f9fbfd}.teacherActivityMetrics span{display:block;color:var(--muted);font-size:.73rem;font-weight:800}.teacherActivityMetrics strong{display:block;margin-top:5px;color:var(--navy);font-size:1.02rem;overflow-wrap:anywhere}.teacherActivityControls,.teacherActivityTools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:13px 18px}.teacherActivityTools a,.teacherActivityTools button,.teacherAttemptModalHeader button,.teacherCloseDetail,.teacherControlButtons button,.teacherPagination button,.teacherResultsFilters button{min-height:38px;border:1px solid #cbd7e5;border-radius:10px;padding:8px 12px;background:#fff;color:var(--navy);font-weight:900;cursor:pointer}.teacherActivityTools a:hover,.teacherActivityTools button:hover,.teacherControlButtons button:hover{border-color:var(--orange);color:#b83f16}.teacherActivityTools .teacherResultsButton{margin-left:auto;border-color:var(--navy);background:var(--navy);color:#fff}.teacherActivityControls{justify-content:space-between;border-top:1px solid var(--line);background:#fbfdff}.teacherToggle{display:inline-flex;align-items:center;gap:9px;color:var(--navy);font-weight:800;cursor:pointer}.teacherToggle input{width:18px;height:18px;accent-color:var(--orange)}.teacherControlButtons{display:flex;flex-wrap:wrap;gap:8px}.teacherControlButtons button.is-danger{border-color:#f2b5b5;color:#9b1c1c;background:#fff7f7}.teacherControlButtons button:disabled{opacity:.55;cursor:wait}.teacherEmptyState,.teacherLoadingState{margin-top:20px;min-height:150px;display:grid;place-content:center;grid-gap:6px;gap:6px;padding:28px;border:1px dashed #b8c6d6;border-radius:17px;color:var(--muted);text-align:center}.teacherEmptyState strong{color:var(--navy);font-size:1.15rem}.teacherEmptyState span{line-height:1.5}.teacherActivitiesPanel>.accessNotice,.teacherActivitiesPanel>.generationError{margin-top:16px}.teacherDetailPanel{scroll-margin-top:100px}.teacherCloseDetail{flex:0 0 auto}.teacherDetailTabs{margin-top:20px}.teacherAnalyticsSection,.teacherResultsSection{margin-top:18px}.teacherResultsFilters{grid-template-columns:minmax(220px,1.5fr) minmax(180px,.8fr) auto auto;margin-top:0}.teacherResultsFilters button{min-height:44px;background:var(--navy);color:#fff;border-color:var(--navy)}.teacherResultsFilters button.is-text{background:#fff;color:var(--navy);border-color:#cbd7e5}.teacherResultsSummaryLine{display:flex;justify-content:space-between;gap:14px;margin:17px 0 10px;color:var(--muted);font-size:.86rem}.teacherResultsSummaryLine strong{color:var(--navy)}.teacherResultsTableWrap{overflow-x:auto;border:1px solid var(--line);border-radius:16px;-webkit-overflow-scrolling:touch}.teacherResultsTable{width:100%;min-width:1080px;border-collapse:collapse;background:#fff}.teacherResultsTable th{padding:12px 13px;background:#f3f7fb;color:var(--navy);font-size:.75rem;text-align:left;white-space:nowrap}.teacherResultsTable td{padding:13px;border-top:1px solid var(--line);color:#334155;font-size:.84rem;vertical-align:middle}.teacherResultsTable tbody tr:hover{background:#fbfdff}.teacherCorrectCount{color:#18713d!important}.teacherWrongCount{color:#a82727!important}.teacherReviewCount{display:inline-flex;min-width:25px;justify-content:center;padding:3px 7px;border-radius:999px;background:#f5edff;color:#6b35a8!important}.teacherResultActionCell{text-align:right}.teacherResultActionCell button{border:0;border-radius:9px;padding:8px 11px;background:var(--navy);color:#fff;font-weight:900;cursor:pointer;white-space:nowrap}.teacherResultActionCell button:disabled{opacity:.6;cursor:wait}.teacherPagination{display:flex;align-items:center;justify-content:center;gap:15px;margin-top:16px}.teacherPagination span{color:var(--muted);font-size:.86rem}.teacherPagination button:disabled{opacity:.45;cursor:default}.teacherAnalyticsOverview{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:10px;gap:10px}.teacherAnalyticsOverview article{padding:15px;box-shadow:none;background:#f9fbfd}.teacherAnalyticsOverview strong{font-size:1.25rem}.teacherQuestionAnalyticsList{display:grid;grid-gap:15px;gap:15px;margin-top:18px}.teacherQuestionAnalyticsCard{padding:20px;border:1px solid var(--line);border-radius:19px;background:#fff}.teacherQuestionAnalyticsHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.teacherQuestionAnalyticsHeader>div:first-child{min-width:0;flex:1 1}.teacherQuestionNumber{display:inline-flex;color:var(--orange);font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.teacherAnalyticsPrompt,.teacherAttemptPrompt{margin-top:8px;color:var(--navy);font-size:1.02rem;font-weight:700}.teacherSuccessRing{--success-value:0%;flex:0 0 auto;width:82px;height:82px;display:grid;place-content:center;border-radius:50%;background:radial-gradient(circle at center,#fff 56%,transparent 58%),conic-gradient(#2d8b57 var(--success-value),#e5ebf1 0);text-align:center}.teacherSuccessRing strong{color:var(--navy);font-size:1rem}.teacherSuccessRing span{color:var(--muted);font-size:.65rem;font-weight:800}.teacherQuestionMetricGrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:8px;gap:8px;margin-top:17px}.teacherComponentAnalytics>div,.teacherQuestionMetricGrid>div,.teacherSpecialAnalytics{min-width:0;padding:12px;border-radius:13px;background:#f6f9fc}.teacherComponentAnalytics span,.teacherQuestionMetricGrid span,.teacherSpecialAnalytics>span{display:block;color:var(--muted);font-size:.7rem;font-weight:800}.teacherComponentAnalytics strong,.teacherQuestionMetricGrid strong,.teacherSpecialAnalytics strong{display:block;margin-top:5px;color:var(--navy);font-size:1rem;overflow-wrap:anywhere}.teacherComponentAnalytics small,.teacherQuestionMetricGrid small,.teacherSpecialAnalytics small{display:block;margin-top:3px;color:var(--muted);font-size:.7rem}.teacherComponentAnalytics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin-top:10px}.teacherSpecialAnalytics{margin-top:10px;border-left:4px solid var(--orange)}.teacherSpecialAnalytics strong{font-size:1.05rem}.teacherModalBackdrop{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:20px;background:rgba(7,20,38,.62);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}.teacherConfirmModal{width:min(510px,100%);padding:28px;border-radius:23px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.28);text-align:center}.teacherConfirmIcon{width:52px;height:52px;display:grid;place-items:center;margin:0 auto;border-radius:50%;background:#fff3df;color:#8a5b00;font-size:1.5rem;font-weight:900}.teacherConfirmIcon.is-danger{background:#fff0f0;color:#a52020}.teacherConfirmModal h2{margin:16px 0 9px;color:var(--navy)}.teacherConfirmModal p{margin:0;color:var(--muted);line-height:1.65}.teacherConfirmModal p strong{display:block;margin-bottom:5px;color:var(--navy)}.teacherConfirmActions{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-top:22px}.teacherConfirmActions button{min-height:45px;border:1px solid #cbd7e5;border-radius:11px;background:#fff;color:var(--navy);font-weight:900;cursor:pointer}.teacherConfirmActions button.is-primary{border-color:var(--navy);background:var(--navy);color:#fff}.teacherConfirmActions button.is-danger{border-color:#b52828;background:#b52828;color:#fff}.teacherConfirmActions button:disabled{opacity:.6;cursor:wait}.teacherAttemptBackdrop{align-items:start;overflow-y:auto}.teacherAttemptModal{width:min(1180px,100%);max-height:calc(100vh - 40px);margin:auto;overflow-y:auto;overscroll-behavior:contain;border-radius:24px;background:#f7faff;box-shadow:0 30px 90px rgba(0,0,0,.3)}.teacherAttemptModalHeader{position:-webkit-sticky;position:sticky;top:0;z-index:3;display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px;border-bottom:1px solid var(--line);background:hsla(0,0%,100%,.96);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.teacherAttemptModalHeader h2{margin:5px 0;color:var(--navy);font-size:1.8rem}.teacherAttemptModalHeader p{margin:0;color:var(--muted)}.teacherAttemptOverview{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:9px;gap:9px;padding:18px 22px 0}.teacherAttemptOverview article{padding:13px;box-shadow:none}.teacherAttemptOverview strong{font-size:.98rem;line-height:1.25}.teacherAttemptMetaLine{display:flex;flex-wrap:wrap;gap:8px 18px;margin:13px 22px 0;padding:12px 15px;border:1px solid var(--line);border-radius:13px;background:#eef5fc;color:var(--muted);font-size:.83rem}.teacherAttemptMetaLine strong{color:var(--navy);text-transform:capitalize}.teacherAttemptItems{display:grid;grid-gap:14px;gap:14px;padding:18px 22px 26px}.teacherAttemptItemCard{padding:19px;border:1px solid var(--line);border-radius:18px;background:#fff}.teacherAttemptItemHeader{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.teacherAttemptItemHeader>div:first-child{min-width:0;flex:1 1}.teacherItemStatus{flex:0 0 auto}.teacherItemScore{margin-top:12px;color:var(--muted);font-size:.84rem}.teacherItemScore strong{color:var(--navy)}.teacherUnansweredBox{margin-top:14px;padding:14px;border:1px dashed #d2b16d;border-radius:12px;background:#fff9ec;color:#785500}.teacherResponseList{display:grid;grid-gap:10px;gap:10px;margin-top:14px}.teacherResponseCard{padding:15px;border:1px solid var(--line);border-radius:14px;background:#fbfdff}.teacherResponseTop{display:flex;align-items:center;justify-content:space-between;gap:12px}.teacherResponseTop>strong{color:var(--navy)}.teacherSubmittedAnswer{margin-top:11px;padding:12px;border-radius:11px;background:#fff;color:var(--ink)}.teacherResponseMeta{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:10px;color:var(--muted);font-size:.76rem}.teacherTimedOutLabel{color:#9b1c1c;font-weight:900}.teacherFeedbackBox{margin-top:10px;padding:11px 12px;border-radius:11px;background:#eef6ff;color:var(--navy-2)}.teacherFeedbackBox>strong{display:block;margin-bottom:4px}.teacherDoorChoice{display:grid;grid-gap:5px;gap:5px;margin-top:10px;padding:12px;border-radius:11px;background:#fff}.teacherDoorChoice>span{color:var(--muted);font-size:.72rem;font-weight:800}.teacherDoorChoice small{color:var(--navy-2);font-weight:800}.teacherErrorDetectiveDetail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:9px;gap:9px;margin-top:11px}.teacherErrorDetectiveDetail>div{padding:12px;border-radius:11px;background:#fff}.teacherErrorDetectiveDetail span{display:block;color:var(--muted);font-size:.72rem;font-weight:800}.teacherErrorDetectiveDetail strong{display:block;margin-top:5px;color:var(--navy)}.teacherErrorDetectiveDetail .teacherComponentScoreLine{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px}.teacherComponentScoreLine span{padding:6px 9px;border-radius:999px}.teacherComponentScoreLine span.is-correct{background:#e7f8ed;color:#166534}.teacherComponentScoreLine span.is-wrong{background:#fff0f0;color:#9b1c1c}.teacherCorrectAnswerDetails{margin-top:13px;border-top:1px solid var(--line);padding-top:11px}.teacherCorrectAnswerDetails summary{cursor:pointer;color:var(--navy-2);font-weight:900}.teacherCorrectAnswerDetails .mathContent{margin-top:9px;color:var(--muted)}.teacherActivitiesFooter{width:calc(100% + (2 * clamp(14px, 3vw, 38px)));margin:42px calc(-1 * clamp(14px, 3vw, 38px)) 0}@media (max-width:1100px){.teacherActivityMetrics,.teacherAnalyticsOverview,.teacherAttemptOverview,.teacherQuestionMetricGrid{grid-template-columns:repeat(3,minmax(0,1fr))}.teacherActivityMetrics div:nth-child(4),.teacherActivityMetrics div:nth-child(5){border-top:1px solid var(--line)}}@media (max-width:900px){.teacherActivitiesHero,.teacherManageCallout{align-items:flex-start;flex-direction:column}.teacherManageCalloutButton{width:100%}.teacherActivityHeroActions{width:100%;grid-template-columns:1fr 1fr}.teacherOverviewGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacherDetailHeader,.teacherPanelHeading{flex-direction:column}.teacherScopeTabs{width:100%;overflow-x:auto}.teacherScopeTabs button{flex:1 0 auto}.teacherActivityFilters{grid-template-columns:repeat(2,minmax(0,1fr))}.teacherFilterCount{min-height:44px}.teacherActivityControls{align-items:flex-start;flex-direction:column}.teacherResultsFilters{grid-template-columns:repeat(2,minmax(0,1fr))}.teacherErrorDetectiveDetail{grid-template-columns:1fr}.teacherErrorDetectiveDetail .teacherComponentScoreLine{grid-column:auto}}@media (max-width:700px){.teacherManagerHeader .teacherIdentity{display:none}.teacherActivitiesShell{padding-top:18px}.teacherActivitiesHero{padding:23px 20px;border-radius:21px}.teacherActivityHeroActions{grid-template-columns:1fr}.teacherOverviewGrid{gap:9px}.teacherOverviewGrid article{padding:14px}.teacherOverviewGrid strong{font-size:1.35rem}.teacherActivitiesPanel,.teacherDetailPanel{padding:15px;border-radius:19px}.teacherActivityFilters,.teacherResultsFilters{grid-template-columns:1fr;padding:12px}.teacherActivityCardMain{align-items:flex-start;padding:16px}.teacherActivityTypeIcon{width:44px;height:44px;border-radius:13px}.teacherActivityMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}.teacherActivityMetrics div:nth-child(3){border-top:1px solid var(--line)}.teacherActivityMetrics div:last-child{grid-column:1/-1}.teacherActivityTools{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.teacherActivityTools a,.teacherActivityTools button{display:flex;align-items:center;justify-content:center;text-align:center}.teacherActivityTools .teacherResultsButton{margin-left:0;grid-column:1/-1}.teacherToggle{align-items:flex-start}.teacherControlButtons{width:100%;display:grid;grid-template-columns:1fr 1fr}.teacherControlButtons button,.teacherDetailTabs{width:100%}.teacherDetailTabs button{flex:1 1}.teacherResultsTableWrap{overflow:visible;border:0}.teacherResultsTable{min-width:0;display:block}.teacherResultsTable thead{display:none}.teacherResultsTable tbody{display:grid;grid-gap:10px;gap:10px}.teacherResultsTable tr{display:grid;padding:13px;border:1px solid var(--line);border-radius:14px;background:#fff}.teacherResultsTable td{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0;border-top:1px solid #edf1f5;text-align:right}.teacherResultsTable td:first-child{border-top:0}.teacherResultsTable td:before{content:attr(data-label);color:var(--muted);font-size:.72rem;font-weight:800;text-align:left}.teacherResultActionCell{padding-top:11px!important}.teacherResultActionCell:before{content:""!important}.teacherResultActionCell button{width:100%}.teacherAnalyticsOverview,.teacherAttemptOverview,.teacherComponentAnalytics,.teacherQuestionMetricGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacherAttemptItemHeader,.teacherQuestionAnalyticsHeader{flex-direction:column}.teacherSuccessRing{width:72px;height:72px}.teacherAttemptModal{max-height:calc(100vh - 16px);border-radius:18px}.teacherAttemptModalHeader{padding:17px}.teacherAttemptOverview{padding:13px 14px 0}.teacherAttemptMetaLine{margin:11px 14px 0}.teacherAttemptItems{padding:14px}.teacherAttemptItemCard{padding:15px}.teacherConfirmActions{grid-template-columns:1fr}}@media (max-width:460px){.teacherManageCallout{width:calc(100% - 20px);padding:20px}.teacherOverviewGrid{grid-template-columns:1fr 1fr}.teacherActivityCardMain{gap:10px}.teacherActivityTypeIcon{display:none}.teacherActivityMetrics{grid-template-columns:1fr 1fr}.teacherActivityTools{grid-template-columns:1fr}.teacherActivityTools .teacherResultsButton{grid-column:auto}.teacherAnalyticsOverview,.teacherAttemptOverview,.teacherComponentAnalytics,.teacherControlButtons,.teacherQuestionMetricGrid{grid-template-columns:1fr}.teacherAttemptOverview article{padding:11px}.teacherAttemptModalHeader h2{font-size:1.45rem}}.teacherCommonWrongMath{display:block;margin-top:6px;color:var(--navy);font-size:1.05rem;overflow-wrap:anywhere}.teacherManualReview{margin-top:14px;padding:14px;border:1px solid #d9c7ef;border-radius:14px;background:#fbf8ff}.teacherManualReviewHeader{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.teacherManualReviewHeader strong{color:#5f2c91}.teacherManualReviewHeader span{color:var(--muted);font-size:.78rem}.teacherReviewQuickActions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.teacherReviewQuickActions button{border:1px solid #c7b4df;border-radius:10px;background:#fff;color:var(--navy);padding:8px 12px;font:inherit;font-weight:700;cursor:pointer}.teacherReviewFeedback,.teacherReviewPoints{display:grid;grid-gap:6px;gap:6px;margin-top:10px;color:var(--navy);font-size:.8rem;font-weight:700}.teacherReviewPoints>div{display:flex;align-items:center;gap:8px}.teacherReviewPoints input{width:120px;min-height:40px;border:1px solid var(--line);border-radius:9px;padding:8px 10px;font:inherit}.teacherReviewFeedback textarea{width:100%;min-height:76px;resize:vertical;border:1px solid var(--line);border-radius:10px;padding:10px;font:inherit;font-weight:400}.teacherSaveReview{margin-top:12px}.teacherReviewedAnswerNote{display:flex;justify-content:space-between;gap:10px;margin-top:10px;padding:9px 11px;border-radius:9px;background:#eef8f0;color:#24663a;font-size:.76rem}@media (max-width:700px){.teacherManualReviewHeader,.teacherReviewedAnswerNote{align-items:flex-start;flex-direction:column}.teacherReviewQuickActions button,.teacherSaveReview{width:100%}}.teacherActivityTools .teacherPdfReportButton{border-color:#bf5a2d;background:#fff6f0;color:#9f3d16}.teacherActivityTools .teacherPdfReportButton:hover{border-color:var(--orange);background:#ffede2;color:#8d2f0e}.teacherActivityTools .teacherPdfReportButton:disabled{opacity:.62;cursor:wait}