*{box-sizing:border-box}body{font:16px system-ui,sans-serif;color:#f1f6ff;background:#0b1e39;margin:0;padding-bottom:85px}header{padding:25px 20px 16px;background:#112a4a}h2{margin:0;font-size:22px}header em{font-style:normal;color:#6cb7ff}small,.mute{color:#aac0dc}main{max-width:700px;margin:auto;padding:14px}.card{background:#183251;border:1px solid #325372;padding:18px;border-radius:18px;margin:12px 0}.card h3{margin:0 0 8px}.row{display:flex;align-items:center;justify-content:space-between;gap:10px}.pill{color:#8bccff;font-size:13px}button{border:0;border-radius:11px;background:#5288ed;color:white;padding:12px 15px;font-size:14px;font-weight:650}button:disabled{opacity:.5}button.ghost{background:#284a70}nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#132b4b;padding:12px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid #375271}nav button{background:none;padding:6px;font-size:12px}#error{max-width:700px;margin:auto;color:#fff;background:#842b39;padding:10px;display:none}.exam{background:#f2f7ff;color:#18263e;border-radius:15px;padding:16px;margin:10px 0}.exam img{max-width:100%;border-radius:8px;margin:10px 0}.exam audio{max-width:100%}textarea{display:block;width:100%;min-height:200px;border:1px solid #b6c9df;border-radius:10px;padding:10px;font:15px system-ui}input{border:1px solid #bacbe0;padding:9px;border-radius:9px;max-width:160px;width:40%}.q{border-bottom:1px solid #d4e1ee;padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}.timer{color:#8bebd3}.score{font-size:26px;font-weight:750;color:#86c9ff}

/* Study Vibe: soft dark-academia aesthetic, calm focus, clear answer fields */
:root{--study-ink:#eaf5f1;--study-accent:#7ddbc1;--study-gold:#f7d88d}
body{background:radial-gradient(ellipse at 80% 2%,#153d44 0%,#0c2035 48%,#081729 100%);color:var(--study-ink)}
header{background:linear-gradient(120deg,#163d40,#17335b);border-bottom:1px solid #397879}
.card{background:linear-gradient(140deg,rgba(28,66,74,.96),rgba(23,45,77,.97));border:1px solid #377073;box-shadow:0 9px 25px #0002}
button{background:linear-gradient(125deg,#187d85,#4269b0);min-height:42px}
button.ghost{background:#274e62}button:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid var(--study-gold);outline-offset:2px}
.exam{background:#f6faf5;color:#1a3942}.exam textarea{max-width:100%;line-height:1.65;min-height:175px}
nav{background:#102b3a;border-top:1px solid #3b7577}.score,.timer{color:var(--study-accent)}
