body{font-size:16px}.eyebrow{font-size:12px}.header-caption{font-size:12px}.teacher-link{font-size:14px}.button,.text-button{font-size:15px}label{font-size:15px}small{font-size:14px}.topbar{height:84px}.activity-shell,.teacher-shell{max-width:1180px;padding:38px 28px 64px;margin:auto}.teacher-shell{max-width:1500px}.surface{border:1px solid var(--line);border-radius:18px;background:#fff;padding:30px}.surface h1{font-size:34px;letter-spacing:-1px}.surface h2{font-size:26px;margin:8px 0 14px}.surface p{margin:12px 0;line-height:1.7}.stack{display:grid;gap:18px;margin-top:22px}.activity-entry{max-width:1180px;margin:auto;padding:78px 28px;display:grid;grid-template-columns:1.12fr 1fr;gap:70px;align-items:center}.entry-intro h1{font-size:64px;letter-spacing:-3px;margin:24px 0;line-height:1.08}.entry-intro h1 span{color:var(--purple)}.entry-intro p{font-size:18px;color:var(--muted);max-width:480px}.pill{font-size:12px;letter-spacing:.8px}.fact-row{display:flex;gap:30px;margin:32px 0}.fact-row span{display:grid;font-size:14px;color:var(--muted)}.fact-row b{font-size:34px;color:var(--ink)}.activity-entry .surface{box-shadow:0 18px 50px #3921660b}.activity-entry small{display:block;margin-top:22px;color:var(--muted)}.section-head{display:flex;justify-content:space-between;align-items:center;gap:22px;margin-bottom:26px}.section-head h1{font-size:36px;margin:10px 0;letter-spacing:-1px}.section-head p{color:var(--muted);margin:8px 0}.rules{padding-left:25px;line-height:1.8}.rules li{padding-left:8px;margin:12px 0}.checkbox-label{display:flex;gap:12px;align-items:start;line-height:1.7;margin:26px 0}.checkbox-label input{width:22px;height:22px;flex-shrink:0;margin-top:2px;accent-color:var(--purple)}.room-message{font-size:16px}.form-error{color:#a32f41;min-height:1.2em;margin-top:12px!important}.question-bar{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.question-bar>span:nth-child(2){font-size:14px;color:var(--muted)}.activity-timer{font-size:24px;letter-spacing:1px;background:#e9e4fc;color:var(--purple);border-radius:9px;padding:6px 14px;min-width:110px;text-align:center}.part-progress{display:flex;gap:6px;margin-bottom:24px}.part-progress span{flex:1;border-top:5px solid var(--line);padding-top:10px;font-size:14px;color:var(--muted)}.part-progress .current{border-color:var(--purple);color:var(--purple)}.part-progress .complete{border-color:#23886c;color:#23886c}.student-question .surface h1{font-size:30px;margin:14px 0}.question-prompt{font-size:18px}.activity-code{overflow-x:auto;white-space:pre;line-height:1.7;padding:22px;color:#f0ebff;font-size:16px}.code-top{font-size:14px}.assumption{font-size:15px;line-height:1.7;display:block}.reference{margin:22px 0}.reference summary{cursor:pointer;color:var(--purple);font-weight:600}.reference .code-panel{margin-top:15px}.reference .activity-code{max-height:520px}.choice-list{display:grid;gap:12px}.choice{border:1px solid #ddd7ed;border-radius:12px;padding:18px;display:flex;gap:14px;align-items:flex-start;cursor:pointer;font-size:16px;font-weight:400;line-height:1.65}.choice:has(input:checked){border:2px solid var(--purple);background:#f6f2ff;padding:17px}.choice input{width:18px;height:18px;margin:5px 0 0;accent-color:var(--purple);flex-shrink:0}.choice-letter{width:28px;height:28px;border-radius:7px;background:#ece6fb;color:var(--purple);display:grid;place-items:center;font-weight:700;flex-shrink:0}.choice-list input:focus-visible{outline-offset:2px}fieldset{padding:0;border:0;margin:0}.save-instruction{font-size:14px;color:var(--muted)}.student-question>p{margin-top:22px;font-size:14px}.toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:30;max-width:760px;width:calc(100% - 36px);background:#eee8ff;border:1px solid #c9b8f3;border-radius:12px;color:#432b80;padding:16px 22px;box-shadow:0 4px 24px #24203920;font-size:15px}.toast:empty{display:none}.toast.error{background:#fff0f0;color:#a32f41;border-color:#edbdc4}dialog{border:1px solid var(--line);border-radius:18px;box-shadow:0 25px 90px #24203938;color:var(--ink);max-height:90vh;overflow:auto}dialog::backdrop{background:#2119349c}.focus-dialog,.action-dialog{padding:32px;max-width:590px;width:calc(100% - 36px)}.focus-dialog h2,.action-dialog h2{margin:14px 0 20px;font-size:30px}.focus-dialog p,.action-dialog p{line-height:1.8;margin:14px 0}.focus-dialog .button{margin-top:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px}.finished{text-align:center;max-width:880px}.finished h1{font-size:38px;margin:28px 0 16px}.finished>p{color:var(--muted);margin-bottom:28px}.result-score{margin:32px auto;display:flex;flex-direction:column;width:190px;height:190px;align-items:center;justify-content:center;background:#eee8fc;border:8px solid #dfd3fa;border-radius:50%;color:var(--purple)}.result-score b{font-size:64px;line-height:1.2}.score-breakdown{display:flex;gap:20px;margin:25px 0;flex-wrap:wrap}.score-breakdown>div{flex:1;min-width:110px;display:grid;gap:8px;padding:18px;background:#f2eefb;border-radius:12px}.score-breakdown span,.score-breakdown small{font-size:14px;color:var(--muted)}.score-breakdown b{font-size:24px;color:var(--purple)}.teacher-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 28px}.block-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:25px 0}.block-card{background:linear-gradient(120deg,#fff,#f2ecff)}.block-card-top{display:flex;justify-content:space-between;align-items:center}.state-tag{display:inline-block;background:#eee8f8;color:#614a84;border-radius:5px;padding:4px 8px;font-size:14px;white-space:nowrap}.block-card h2{font-size:30px}.block-card p{min-height:52px;color:var(--muted)}.block-clock{display:block;font-size:40px;color:var(--purple);font-variant-numeric:tabular-nums}.block-card small{display:block;color:var(--muted)}.block-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.danger-button{font-size:15px}.roster-filters{display:flex;gap:14px;min-width:380px}.roster-filters label{flex:1}.roster-filters input,.roster-filters select{margin-top:6px}.table-scroll{overflow:auto}.activity-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:15px}.activity-table th,.activity-table td{padding:16px 12px;text-align:left;border-bottom:1px solid var(--line)}.activity-table th{font-size:14px;color:var(--muted);font-weight:600}.activity-table td small{display:block;color:var(--muted);font-size:13px;max-width:310px;white-space:normal}.activity-table td strong{font-size:14px}.teacher-rules{margin-top:26px}.teacher-rules summary{font-size:17px;font-weight:650;cursor:pointer}.review-dialog{padding:30px;width:1100px;max-width:calc(100% - 32px)}.review-dialog h3{font-size:24px;margin:28px 0 14px}.review-dialog>p{margin:15px 0}.review-code{background:#272139;color:#f0e9ff;border-radius:10px;padding:20px;overflow:auto;max-height:440px;font-size:15px;line-height:1.7;margin:20px 0}.review-item{border:1px solid var(--line);border-radius:10px;margin:14px 0;padding:20px}.review-item summary{cursor:pointer;font-weight:650;line-height:1.6}.review-item p{line-height:1.8;margin:16px 0}.review-item li{line-height:1.8;padding:8px 0}.correct-option{color:#126148;font-weight:650}.explanation{background:#f0f7f3;border-radius:8px;padding:15px}.grade-buttons{display:flex;gap:12px;flex-wrap:wrap}.auth-wrap{max-width:520px;padding:54px 25px;margin:auto}
@media(max-width:950px){.activity-entry{gap:30px}.entry-intro h1{font-size:49px}.section-head{align-items:flex-start;flex-wrap:wrap}.roster-filters{min-width:0;width:100%}.header-caption{display:none}.block-buttons .button{width:100%}}
@media(max-width:650px){.activity-entry{grid-template-columns:1fr;padding-top:40px}.entry-intro h1{font-size:46px}.activity-shell,.teacher-shell{padding:28px 16px 70px}.surface{padding:23px 18px}.block-grid{grid-template-columns:1fr}.activity-code{font-size:14px;padding:17px}.question-bar{gap:12px}.question-bar>span:nth-child(2){order:3;width:100%}.choice{padding:14px;gap:10px;font-size:15px}.choice:has(input:checked){padding:13px}.section-head h1{font-size:29px}.part-progress span{font-size:13px}.teacher-link{font-size:13px}.topbar{padding:0 18px}.brand{font-size:25px}.focus-dialog,.action-dialog,.review-dialog{padding:24px 19px}.dialog-actions{flex-wrap:wrap}.finished h1{font-size:30px}}
