/* Trang điều khiển cuộc thi và buồng lái của người thi */
h3 { font-size:15px; margin:14px 0 2px; }
code { background:#eef1f7; padding:1px 6px; border-radius:5px; font-size:.92em; word-break:break-all; }
.clock-big { font:800 40px/1.1 ui-monospace, Consolas, monospace; font-variant-numeric:tabular-nums; min-height:44px; }
.settings-grid { grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:6px 22px; }
label.check { color:var(--text); font-size:15px; margin-top:10px; }
select.mini { width:auto; padding:4px 6px; font-size:14px; }

.board { display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:10px; }
.col { border:1px dashed var(--line); border-radius:10px; padding:8px; min-height:90px; background:#fafbfe; }
.col.over { border-color:var(--accent); background:#ecfdf5; }
.col-head { display:flex; gap:6px; align-items:center; margin-bottom:6px; }
.col-head input.team-name { flex:1; min-width:0; font-weight:700; padding:4px 6px; border:1px solid transparent; background:transparent; border-radius:6px; font:inherit; font-weight:700; }
.col-head input.team-name:hover, .col-head input.team-name:focus { border-color:var(--line); background:#fff; }
.chip { display:flex; align-items:center; background:#fff; border:1px solid var(--line); border-radius:8px; padding:5px 8px; margin-top:5px; font-size:14px; cursor:grab; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chip.dragging { opacity:.4; }

.cockpit-head { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:10px; align-items:center; position:sticky; top:0; z-index:2; }
.stat { font-size:32px; font-weight:800; line-height:1.1; font-variant-numeric:tabular-nums; }
pre.brief { white-space:pre-wrap; font:inherit; background:#f6f7fb; border:1px solid var(--line); border-radius:8px; padding:12px; margin:8px 0; }
.tasks { display:grid; grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:8px; }
.task { text-align:left; display:flex; flex-direction:column; gap:2px; padding:8px 10px; border-radius:8px; border:1px solid var(--line); background:#fff; min-width:0; }
.task .tk { font-size:12px; color:var(--muted); font-weight:700; }
.task .tt { font-size:14px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.task .tp { font-size:12px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.task.solved { background:#f0fdf4; border-color:#86efac; }
.task.locked { background:#fef2f2; border-color:#fecaca; }
.task.closed { opacity:.65; }
.task.practice { border-style:dashed; }
.task.sel { outline:2px solid var(--accent); outline-offset:1px; }
.task-detail { margin-top:14px; border-top:1px solid var(--line); padding-top:6px; }
@media (max-width:600px) { .cockpit-head { grid-template-columns:1fr 1fr; } .clock-big { font-size:30px; } }
