/* Exam Center Competitions — shared answer UI (exam day + practice) */
:root { --navy:#2c3e80; --blue:#185FA5; --orange:#E8540A; --ink:#1f2937; --mute:#6b7280; --line:#e3e6ee; --ok:#2e7d32; --warn:#b45309; --bad:#c0392b; }
.qtext { font-size:18px; margin:10px 0 18px; }
.qtext p { margin:6px 0; }
.choice { display:flex; gap:12px; align-items:center; border:1px solid var(--line); border-radius:10px; padding:12px 14px; margin-bottom:8px; cursor:pointer; font-size:17px; }
.choice:hover { border-color:var(--blue); } .choice.sel { border-color:var(--navy); background:#eef2fb; }
.choice .l { width:30px; height:30px; border-radius:50%; border:2px solid var(--navy); display:flex; align-items:center; justify-content:center; font-weight:700; color:var(--navy); flex:none; }
.choice.sel .l { background:var(--navy); color:#fff; }
.tplbar { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px; }
.tplbar button { border:1px solid var(--line); background:#fff; border-radius:8px; padding:6px 10px; font:inherit; font-size:14px; cursor:pointer; color:var(--navy); display:flex; gap:6px; align-items:center; }
.tplbar button .k { font-family:ui-serif,Georgia,serif; font-style:italic; font-size:15px; }
.tplbar button.on { background:var(--navy); color:#fff; border-color:var(--navy); }
.tplform { display:flex; align-items:center; gap:10px; flex-wrap:wrap; min-height:64px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:#fafbfe; }
.tplform input { width:auto; min-width:70px; max-width:220px; font-size:22px; padding:8px 10px; font-family:ui-monospace,Menlo,Consolas,monospace; text-align:center; }
.tplform input.wide { min-width:260px; max-width:100%; text-align:left; }
.tplform .frac { display:inline-flex; flex-direction:column; align-items:center; gap:4px; } .tplform .frac .bar { height:2px; background:var(--ink); align-self:stretch; }
.tplform .sup input { font-size:15px; min-width:48px; padding:4px 6px; position:relative; top:-14px; }
.tplform .big { font-size:30px; color:var(--navy); line-height:1; }
.tplform .rt { display:inline-flex; align-items:flex-end; gap:2px; } .tplform .rt .idx input { font-size:13px; min-width:38px; padding:3px 5px; position:relative; top:-10px; }
.tplform .rt .under { border-top:2px solid var(--ink); padding-top:3px; }
.tplform select { padding:8px; font:inherit; font-size:20px; border:1px solid #cfd4e0; border-radius:8px; }
.prev { margin-top:10px; font-size:15px; color:#374151; min-height:28px; display:flex; gap:10px; align-items:center; }
.prev .katex { font-size:1.35em; }
.ansbox input.plain { font-size:22px; padding:12px 14px; font-family:ui-monospace,Menlo,Consolas,monospace; }
.reading { font-size:14px; color:var(--mute); margin-top:6px; min-height:20px; }
.hints { font-size:13px; color:var(--mute); margin-top:8px; background:#fafbfe; border:1px solid var(--line); border-radius:8px; padding:8px 12px; }
