.wizard-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0;padding:24px!important;background:linear-gradient(110deg,#182343,#332b52)!important;color:#fff4d8}.wizard-card h2{margin:5px 0;color:#ffe2a0}.wizard-card p{margin:6px 0;color:#e0daf4}.wizard-card label{color:#f5ebd0}.wizard-card progress{display:block;width:min(360px,100%);height:12px;margin-top:9px;accent-color:#efc56f}.wizard-card .primary small{display:block;font-size:.78em;margin-top:5px}.quest-panel{max-width:850px;margin:0 auto;padding:28px!important}.quest-panel h2{line-height:1.4}.quest-panel button{margin:6px 6px 6px 0}.quest-teaching{background:#f5ead1;color:#28304b;padding:18px;border-radius:12px;font-size:1.15rem}.quest-panel .arena-answers{margin:18px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quest-panel .arena-answers button{white-space:normal;min-height:60px;text-align:left;margin:0}.quest-panel li{margin:12px 0}#questFeedback{line-height:1.7}#questPrompt:focus,#questResultTitle:focus{outline:2px solid #8066b3;outline-offset:5px}@media(max-width:650px){.wizard-card{align-items:stretch;flex-direction:column;gap:12px}.quest-panel{padding:18px!important}.quest-panel .arena-answers{grid-template-columns:1fr}}@media print{.wizard-card,#quests{display:none!important}}

/* Quest controls sit on light parchment, so they need explicit dark ink. */
#quests .quest-panel .subtle{color:#342718;background:#fff4d5;border:1px solid #87673c;font-weight:600}
#quests .quest-panel .subtle:hover:not(:disabled){background:#eedcb4}
#quests .quest-panel .subtle:disabled{opacity:1;color:#342718;background:#f0e3c5}
#quests .quest-panel .arena-correct,#quests .quest-panel .arena-correct:disabled{color:#233c20;background:#d9e7bd;border:2px solid #416538;opacity:1}
#quests .quest-panel .subtle:focus-visible{outline:3px solid #563979;outline-offset:3px}
#quests #questStorage{color:#342718;background:#fff4d5;border-color:#a78854}
#quests .quest-teaching,#quests #questFeedback{color:#342718}
.quest-recall-form{grid-column:1 / -1;display:grid;gap:10px}.quest-recall-form label{font-weight:700;color:#342718}.quest-recall-form input{font:inherit;font-size:18px;color:#342718;background:#fffaf0;border:2px solid #87673c;border-radius:8px;padding:12px;min-width:0;width:100%}.quest-recall-form button{justify-self:start}
