.racecontrol .clock { font-size: clamp(3rem, 10vw, 6rem); font-weight: 850; font-variant-numeric: tabular-nums; line-height: 1; }
.groupcard { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.groupcard.started { border-color: var(--ok); background: var(--ok-bg); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.pclass-lap { color: var(--ok); font-weight: 700; } .pclass-start { color: var(--brand); font-weight: 700; }
.pclass-suspect_short, .pclass-out_of_order { color: var(--warn); font-weight: 700; } .pclass-rejected, .pclass-pre_start, .pclass-post_finish, .pclass-extra_lap, .pclass-after_max { color: var(--muted); text-decoration: line-through; }
.slide-row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 6px 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.slide-row select { width: auto; flex: 1 1 160px; min-height: 36px; padding: 4px 8px; }
.slide-row input { min-height: 36px; padding: 4px 8px; }
.slide-n { font-weight: 800; min-width: 1.5em; text-align: center; color: var(--muted); }
/* Live-bediening per scherm */
.live-box { border: 2px solid var(--ok); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--ok-bg); }
.live-box.off { border-color: var(--warn); background: var(--warn-bg); }
.live-label { font-weight: 900; font-size: .75rem; letter-spacing: .14em; color: #fff; background: var(--err); padding: 2px 8px; border-radius: 6px; }
.now-box { display: flex; gap: 8px; align-items: baseline; font-size: .92rem; flex-wrap: wrap; }
.now-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--err); box-shadow: 0 0 0 0 rgba(220,38,38,.6); animation: pulse 1.2s infinite; flex: none; align-self: center; }
.switch { display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 46px; height: 26px; border-radius: 13px; background: var(--border); position: relative; transition: background .2s; flex: none; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.switch input:checked + .switch-ui { background: var(--ok); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Startprogramma als stappenplan */
.phase-flow { display: flex; flex-direction: column; gap: 6px; }
.phase-flow.disabled { opacity: .5; }
.phase-step { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.phase-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--brand); color: #fff; flex: none; }
.phase-arrow { font-size: .82rem; font-weight: 700; color: var(--muted); padding-left: 18px; }
.tokenbox { font-family: var(--mono); background: var(--surface-2); padding: 12px; border-radius: 8px; word-break: break-all; user-select: all; }
.dev-online { color: var(--ok); font-weight: 700; } .dev-offline { color: var(--err); font-weight: 700; }
