/* Student Starter surface: all selection styling follows aria-pressed, never a sticky hover state. */
.hm-starter-overlay{position:fixed;inset:0;z-index:2147483647;overflow:auto;display:grid;place-items:start center;padding:24px;color:#172b42;background:radial-gradient(ellipse at 12% 8%,#fff1b8,transparent 48%),radial-gradient(ellipse at 92% 90%,#c8e8ff,transparent 52%),#eef5fc}
.hm-starter-overlay *{box-sizing:border-box}
.hm-starter-card{width:min(900px,100%);margin:auto;background:linear-gradient(160deg,#fff,#fffdf5);border:1px solid #e3d9b6;border-top:6px solid #f4c64e;border-radius:24px;padding:24px 32px;box-shadow:0 18px 60px #284b6c24;text-align:center}
.hm-starter-card h2{margin:18px 0;font-size:clamp(1.2rem,2.5vw,1.7rem);line-height:1.4;color:#173552}
.hm-starter-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e5eaf0;padding-bottom:10px}
.hm-starter-brand>span{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#52677b}
.hm-starter-brand-icon{width:70px;height:50px;object-fit:contain;border-radius:8px}
.hm-starter-brand-banner{width:140px;height:70px;object-fit:contain}
.hm-starter-card .btn{font:inherit;font-weight:700;cursor:pointer;min-height:46px;border-radius:12px;transition:box-shadow .15s,background-color .15s;touch-action:manipulation}
.hm-starter-card .btn-primary{padding:12px 28px;border:1px solid #1e5681;color:#fff;background:linear-gradient(135deg,#2c78ad,#20496d);box-shadow:0 5px 0 #173952,0 8px 18px #2b648530}
.hm-starter-card .btn:disabled{cursor:default;opacity:.6;box-shadow:none}
.hm-starter-card .btn:focus-visible{outline:3px solid #a86c00;outline-offset:4px}
.hm-starter-intro{display:block;width:100%;max-height:67vh;object-fit:contain;margin-bottom:20px;border-radius:14px}
.hm-starter-question-count{display:inline-block;margin:14px 0 8px;padding:5px 16px;border-radius:999px;background:#e4f0fc;color:#255778;font-size:.85rem;font-weight:800}
.hm-starter-progress{display:flex;gap:6px;width:min(260px,100%);margin:0 auto 18px}
.hm-starter-progress span{height:5px;flex:1;border-radius:8px;background:#dce5ef}
.hm-starter-progress .is-current{background:#efbd3f}.hm-starter-progress .is-done{background:#42a68a}
.hm-starter-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0}
.hm-starter-card .hm-starter-options .btn{display:flex;align-items:center;gap:12px;text-align:left;white-space:normal;overflow-wrap:anywhere;padding:14px;min-height:76px;border:2px solid #a5c7e1;background:linear-gradient(145deg,#f4faff,#e1effa);color:#183c5b;box-shadow:0 4px 0 #b7cfe0}
.hm-starter-card .hm-starter-options .btn:nth-child(2){background:linear-gradient(145deg,#fffaf0,#fff0c7);border-color:#e8cb81;box-shadow:0 4px 0 #dfc581}
.hm-starter-card .hm-starter-options .btn:nth-child(3){background:linear-gradient(145deg,#f2fcf8,#daf2e9);border-color:#9acdbb;box-shadow:0 4px 0 #a4ccbd}
.hm-starter-card .hm-starter-options .btn:nth-child(4){background:linear-gradient(145deg,#faf6ff,#ede3fc);border-color:#c5afe1;box-shadow:0 4px 0 #c6b5dc}
.hm-starter-option-letter{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:10px;background:#fff9;box-shadow:0 1px 4px #163a5812;font-weight:900}
.hm-starter-card .hm-starter-options .btn[aria-pressed="true"]{background:linear-gradient(135deg,#2c638e,#203f63);border-color:#edb83b;box-shadow:0 0 0 2px #f9d775,0 5px 0 #16324c;color:#fff}
.hm-starter-card .hm-starter-options .btn[aria-pressed="true"] .hm-starter-option-letter{background:#f4c64e;color:#183652}
.hm-starter-confidence-label{margin:22px 0 12px;font-weight:750}.hm-starter-confidence-label small{display:block;margin-top:4px;color:#65768a;font-weight:400}
.hm-starter-confidence{display:flex;gap:10px;justify-content:center;margin-bottom:22px}
.hm-starter-card .hm-starter-confidence .btn{min-width:46px;padding:9px 14px;background:linear-gradient(#fff,#edf3fb);border:2px solid #c2d3e4;color:#244a69;box-shadow:0 3px 0 #ccdae6}
.hm-starter-card .hm-starter-confidence .btn[aria-pressed="true"]{background:linear-gradient(#ffe79b,#f6cb54);border-color:#b37b13;color:#3e2e13;box-shadow:0 3px 0 #bd8c29}
.hm-starter-card [role="status"]:empty{display:none}
.hm-starter-spinner{width:36px;height:36px;margin:24px auto;border:4px solid #dfebf6;border-top-color:#cb961e;border-radius:50%;animation:hm-starter-spin .9s linear infinite}
@keyframes hm-starter-spin{to{transform:rotate(360deg)}}
.hm-starter-feedback-symbol{display:grid;place-items:center;width:74px;height:74px;margin:24px auto 0;border-radius:50%;font-size:2.6rem;font-weight:800;background:#d9f4e8;color:#187250;box-shadow:0 4px 16px #19925b18}
.hm-starter-feedback.is-learning .hm-starter-feedback-symbol{background:#fff0bc;color:#91620c}
.hm-starter-answer-feedback{font-size:1.15rem;line-height:1.6;padding:16px;border-radius:14px;background:#eef6fb}
.hm-starter-celebration{display:flex;align-items:center;justify-content:center;gap:24px;margin:20px auto 8px}
.hm-starter-celebration img{width:100px;height:104px;object-fit:contain}.hm-starter-celebration img:last-child{border-radius:50%}
.hm-starter-score{font-size:3.4rem;font-weight:850;color:#205b4c;margin:4px 0;text-shadow:0 3px 0 #d6eddf}
.hm-starter-support{font-size:1.1rem;font-weight:700;color:#345775}
.hm-starter-success{display:block;width:min(310px,100%);max-height:225px;object-fit:contain;margin:16px auto;border-radius:16px;box-shadow:0 7px 22px #183a5220}
.hm-starter-wait{margin:20px 0 0;padding:12px;border:1px solid #cbddeb;border-radius:12px;background:#edf5fc;color:#48647d;font-size:.9rem}
.hm-starter-error{color:#b91c1c}
@media(hover:hover) and (pointer:fine){.hm-starter-card .btn:not(:disabled):hover{filter:brightness(1.025);box-shadow:0 4px 12px #173a5c28}}
@media(prefers-reduced-motion:reduce){.hm-starter-card .btn{transition:none}.hm-starter-spinner{animation:none}}
@media(max-width:560px){.hm-starter-overlay{padding:12px}.hm-starter-card{padding:16px;border-radius:18px}.hm-starter-brand>span{font-size:.65rem;letter-spacing:.05em}.hm-starter-brand-icon{width:45px;height:38px}.hm-starter-brand-banner{width:92px;height:46px}.hm-starter-options{grid-template-columns:1fr;gap:10px;margin:16px 0}.hm-starter-card .hm-starter-options .btn{min-height:60px;padding:10px}.hm-starter-confidence{gap:7px}.hm-starter-card .hm-starter-confidence .btn{min-width:42px;padding:8px 12px}.hm-starter-success{max-height:175px}}

/* Teacher controls and results. Leave ordinary slide-answer cards alone outside a Starter. */
#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-grid-starter{grid-template-columns:repeat(3,minmax(0,1fr))}
.hm-starter-control-body{min-width:0}.hm-starter-status{margin:.5rem 0 0;font-size:.75rem;line-height:1.4;color:#53677c}
.hm-starter-completion{box-sizing:border-box;width:min(29rem,calc(100% - 2rem));padding:1.35rem;border:1px solid #ccd9e5;border-top:5px solid #f4c64e;border-radius:18px;background:#fff;color:#19334d;box-shadow:0 20px 64px #10223740}
.hm-starter-completion::backdrop{background:rgba(16,34,55,.45)}
.hm-starter-completion-heading{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.85rem}
.hm-starter-completion-heading p{margin:0;font-size:1.05rem;font-weight:700;line-height:1.5}
.hm-starter-completion-icon{display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:12px;background:#fff0bc;color:#705016;font-size:1.25rem;font-weight:800}
.hm-starter-completion-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.65rem;margin-top:1.25rem}
.hm-starter-completion-actions button{min-width:5.25rem;min-height:44px;padding:.45rem 1rem;border:1px solid;border-radius:10px;font:inherit;font-weight:750;cursor:pointer}
.hm-starter-completion-actions .hm-starter-completion-confirm{border-color:#184568;background:#245e85;color:#fff;box-shadow:0 3px 0 #163a58}
.hm-starter-completion-actions .hm-starter-completion-confirm:hover{background:#1b4c72;color:#fff}
.hm-starter-completion-actions .hm-starter-completion-cancel{border-color:#bbcddd;background:#f2f7fb;color:#24445f}
.hm-starter-completion-actions .hm-starter-completion-cancel:hover{background:#e3edf6;color:#24445f}
.hm-starter-completion-actions button:focus-visible{outline:3px solid #a86c00;outline-offset:3px;box-shadow:none}
#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-grid-starter select{width:100%;max-width:none;min-width:0;min-height:42px;border:1px solid #a8bacb;border-radius:10px;background-color:#fff;color:#29435f;font-size:.82rem;font-weight:750;padding:.55rem 1.8rem .55rem .7rem;cursor:pointer}
#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-task-body.hm-starter-showing{max-height:none;min-height:0;overflow:visible}
#live-dashboard-content-area #teacher-live-slides-phase2-card #teacher-live-slides-section-answers.hm-starter-showing{display:block;overflow:visible;min-width:0}
#teacher-live-slides-section-answers.hm-starter-showing>:not(#teacher-starter-results){display:none!important}
#teacher-starter-results.hm-starter-results{max-height:none;overflow:visible;min-width:0;margin:0}
.hm-starter-results-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.hm-starter-results-heading h4{font-size:1.05rem;margin:0}.hm-starter-results-heading p{font-size:.78rem;margin:0;color:#4a6177}
.hm-starter-legend{margin:8px 0;font-size:.75rem;color:#52657a;line-height:1.8}.hm-starter-legend span{display:inline-block;padding:0 6px;border-bottom:3px solid #cbd5e1;line-height:1.4}
.hm-starter-legend .improved{border-color:#15803d}.hm-starter-legend .unchanged{border-color:#fbbf24}.hm-starter-legend .declined{border-color:#b91c1c}
.hm-starter-fallback{margin:4px 0 8px;color:#52657a;font-size:.72rem}
.hm-starter-table-wrap{overflow-x:auto;width:100%}
#teacher-starter-results table{width:100%;border-collapse:separate;border-spacing:4px 3px;font-size:.82rem;table-layout:fixed}
#teacher-starter-results th,#teacher-starter-results td{padding:4px 8px;text-align:center;border-radius:5px;line-height:1.3;vertical-align:middle}
#teacher-starter-results th:first-child{width:24%;text-align:left;font-weight:650;overflow-wrap:anywhere}
#teacher-starter-results thead tr:first-child th{padding:4px 2px}
#teacher-starter-results thead tr:nth-child(2){font-size:.72rem;color:#4a6177}
#teacher-starter-results thead .btn{width:100%;padding:5px 3px;white-space:nowrap;font-size:.78rem;min-height:30px}
#teacher-starter-results tbody tr{height:32px}
#teacher-starter-results .hm-starter-student-score{white-space:nowrap;font-weight:650}
#teacher-starter-results .hm-starter-cell{border:3px solid #cbd5e1;background:#f1f5f9}
#teacher-starter-results .hm-starter-cell.correct-low{background:#dcfce7}#teacher-starter-results .hm-starter-cell.correct-mid{background:#86efac}#teacher-starter-results .hm-starter-cell.correct-high{background:#22c55e}
#teacher-starter-results .hm-starter-cell.incorrect-low{background:#fee2e2}#teacher-starter-results .hm-starter-cell.incorrect-mid{background:#fca5a5}#teacher-starter-results .hm-starter-cell.incorrect-high{background:#ef4444;color:#fff}
#teacher-starter-results .hm-starter-cell.improved{border-color:#15803d}#teacher-starter-results .hm-starter-cell.declined{border-color:#b91c1c}#teacher-starter-results .hm-starter-cell.unchanged{border-color:#fbbf24}
.hm-starter-detail{text-align:left;background:#f0f7ff;padding:12px 16px;border:1px solid #bcd5ec;border-left:4px solid #3b78a4;border-radius:10px;margin:10px 0}
.hm-starter-detail h5{font-size:1rem;margin:0 0 8px}.hm-starter-detail ul{padding:0;margin:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}.hm-starter-detail li{font-size:.82rem;line-height:1.5}.hm-starter-detail li.is-correct{color:#166044}.hm-starter-detail li small{white-space:nowrap;color:#52657a}
@media(max-width:560px){#live-dashboard-content-area #teacher-live-slides-phase2-card .hm-ls-control-grid-starter{grid-template-columns:minmax(0,1fr)}#teacher-starter-results table{min-width:610px}.hm-starter-detail ul{grid-template-columns:1fr}}
