*{box-sizing:border-box}body{margin:0;background:#eef3f8;color:#132b4f;font:15px Arial,sans-serif}header{background:#092d57;color:#fff;padding:18px 28px;display:flex;justify-content:space-between;align-items:center}header b{font-size:25px;letter-spacing:1px}header b span{color:#37c6a0;margin-left:4px}.head{background:#fff;padding:20px 28px;border-bottom:1px solid #d8e2ef;display:flex;justify-content:space-between;gap:20px;align-items:center}.head h1{margin:0 0 5px;font-size:25px}.head p{margin:0;color:#607795}select{padding:11px;border:1px solid #b9c9dc;border-radius:8px;min-width:240px}.layout{max-width:1250px;margin:18px auto;display:grid;grid-template-columns:205px 1fr;gap:18px;padding:0 14px}aside,.info,.question,#result{background:#fff;border:1px solid #d8e2ef;border-radius:12px;padding:16px}aside{height:max-content;position:sticky;top:10px}#pal{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.pal{border:0;border-radius:6px;padding:8px 2px;font-weight:bold;background:#e7eef6;color:#17375f}.pal.current{background:#176db5;color:#fff}.pal.answered{background:#39a96b;color:#fff}.legend{font-size:12px;color:#607795;line-height:1.7}.info{margin-bottom:14px;border-left:5px solid #176db5}.question{padding:22px;margin-bottom:14px}.topic{font-size:12px;color:#176db5;font-weight:bold;text-transform:uppercase}.question h2{font-size:18px;margin:8px 0 16px}.option{display:block;border:1px solid #dbe5f0;padding:11px;border-radius:8px;margin:8px 0;cursor:pointer}.option:hover{background:#f5f9fd}.option input{margin-right:9px}.buttons{display:flex;gap:10px;margin:16px 0}.buttons button{border:0;border-radius:8px;padding:12px 18px;font-weight:bold;cursor:pointer;background:#e4edf6;color:#12355e}.buttons #submit{margin-left:auto;background:#d92d2d;color:white}.score{font-size:34px;color:#176db5;font-weight:900}.review{border:1px solid #d8e2ef;border-radius:9px;padding:14px;margin:10px 0}.correct{color:#17804a;font-weight:bold}.wrong{color:#c62929;font-weight:bold}.explain{background:#f3f7fb;padding:10px;border-radius:7px}.hidden{display:none}footer{background:#092d57;color:#fff;text-align:center;padding:22px;margin-top:35px}@media(max-width:800px){header,.head{flex-direction:column;align-items:flex-start}.layout{grid-template-columns:1fr}aside{position:static}.buttons #submit{margin-left:0}}