/* Shared visual theme for every sandboxed activity document. Does not change content or logic. */
:root { color-scheme:light !important; --bg:#fffef9 !important; --paper:#fffef9 !important; --surface:#fffef9 !important; --ink:#111 !important; --text:#111 !important; --muted:#42525c !important; --line:#c6dbe1 !important; --accent:#137d96 !important; --blue:#137d96 !important; --teal:#137d96 !important; --light:#eaf6f9 !important; --radius:9px !important; }
html,body { background:#fffef9 !important; color:#111 !important; }
body { font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif; line-height:1.65; }
*,*::before,*::after { box-sizing:border-box; }
.shell,main { min-width:0; max-width:1100px; }
.eyebrow { color:#126c84 !important; letter-spacing:.1em; }
h1,h2,h3,h4,.question,legend { color:#111 !important; }
.module,.panel,.card,.slab,.scenario,.recap,.result,.feedback,.step,.taskrow,.audit-row,.optionline,.option,.choice { border-radius:8px !important; border-color:#c6dbe1 !important; box-shadow:none !important; }
.module,.panel,.card,.slab,.step,.taskrow,.audit-row { background:#fffef9 !important; color:#111 !important; }
.scenario { background:#edf7fa !important; border-left-color:#219bb5 !important; color:#111 !important; }
.option,.optionline,.choice { background:#fffef9 !important; color:#111 !important; }
.option span,.optionline span,.choice span { color:inherit !important; }
.option:has(input:checked),.choice.selected,.choice:hover:not(:disabled) { background:#e3f5fa !important; border-color:#218fa9 !important; color:#111 !important; }
.choice.correct,.feedback.good,.feedback.correct,.result { background:#eaf6ed !important; color:#16452b !important; border-color:#8dbc9d !important; }
.choice.wrong,.feedback.wrong { background:#fcece9 !important; color:#732d28 !important; border-color:#ca8d86 !important; }
.feedback { background:#edf6fa !important; color:#123d51 !important; }
.notice,.feedback.warn { background:#fff9e8 !important; color:#614b12 !important; border-color:#d8bc72 !important; }
button { max-width:100%; white-space:normal; border-radius:6px !important; color:#111 !important; background:#fffef9 !important; border-color:#a6c6d1 !important; }
button.primary,.primary,.nav button[aria-current=true],.nav button[aria-current=step],.nav button.active,.tab[aria-selected=true] { background:#c4f0f7 !important; border-color:#5cb8cb !important; color:#072d3b !important; }
button.secondary,.secondary { background:#f1f6f7 !important; color:#111 !important; }
.tab,.pill,.tag { border-radius:5px !important; background:#edf6f9 !important; color:#15526a !important; border-color:#b4d3de !important; }
.number,.num { background:#daf1f7 !important; color:#12495e !important; border:1px solid #a3cdd9; border-radius:50%; }
.progress,.bar { background:#dcebf0 !important; border-radius:5px !important; }
.progress>div,.bar>span { background:#219eb9 !important; }
.metric,.score,.finish-score,.big { color:#126d85 !important; }
.logo { background:#073147 !important; color:#60ddeb !important; border:1px solid #277287; border-radius:8px !important; }
.counter { background:#e1f3f8 !important; color:#154c61 !important; border-radius:5px; }
.cards { gap:14px; }
input,select,textarea { color-scheme:light !important; background:#fff !important; color:#111 !important; border-color:#a6c6d1 !important; border-radius:6px; max-width:100%; }
input[type=radio],input[type=checkbox] { accent-color:#157e98; }
:is(button,input,select,textarea):focus-visible { outline:3px solid #ce9d30 !important; outline-offset:3px; }
.compare,.grid2,.audit-grid { min-width:0; }
@media(max-width:600px) { .shell { padding:20px 12px 35px !important; } .compare,.grid2,.choices,.audit-grid { grid-template-columns:minmax(0,1fr) !important; } .module,.panel { padding:17px !important; } .step,.taskrow { gap:10px; flex-wrap:wrap; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none !important; transition:none !important; } }
