/* Query-only preview: keeps the existing Coach dashboard intact and moves timer below roster. */
body.timer-placement-preview .interval-timer{display:none!important}
.dashboard-timer-deck{--timer-accent:var(--lime);--timer-soft:var(--muted);margin-top:24px;border:1px solid var(--line);background:var(--surface);color:var(--text)}
.dashboard-timer-deck__head{display:flex;justify-content:space-between;gap:12px;padding:13px 17px;border-bottom:1px solid var(--line);font:900 10px ui-monospace,monospace;letter-spacing:1px;color:var(--timer-accent)}
.dashboard-timer-deck__modes{display:flex;gap:8px;padding:11px 17px;border-bottom:1px solid var(--line)}
.dashboard-timer-deck button{border-radius:0;color:var(--timer-accent);border-color:var(--timer-accent);background:transparent;padding:9px 11px;font-size:10px}.dashboard-timer-deck button.active,.dashboard-timer-deck button.start{background:var(--timer-accent);color:var(--bg)}
.dashboard-timer-deck__setup{display:grid;grid-template-columns:1fr 1fr .75fr}.dashboard-timer-settings{padding:16px;border-right:1px solid var(--line)}.dashboard-timer-settings h2{font-size:17px;margin:0 0 11px}.dashboard-timer-setting{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:9px 0;border-top:1px solid var(--line)}.dashboard-timer-setting[hidden]{display:none!important}.dashboard-timer-setting b{font-size:11px}.dashboard-timer-setting small{display:block;color:var(--timer-soft);font:9px ui-monospace,monospace;margin-top:3px}.dashboard-timer-setting input{width:58px;border:1px solid var(--line);border-radius:0;background:transparent;color:var(--timer-accent);text-align:right;font:900 21px ui-monospace,monospace;padding:4px 6px}.timer-lap-field input[readonly]{pointer-events:none}.dashboard-timer-setting input:focus{outline:1px solid var(--timer-accent);outline-offset:2px}.timer-duration{display:flex;align-items:center;gap:4px}.timer-duration i{color:var(--timer-soft);font:900 21px ui-monospace,monospace;font-style:normal}.dashboard-timer-deck[data-timer-mode="stopwatch"] .dashboard-timer-counters{display:none}
.dashboard-timer-display{display:grid;place-content:center;text-align:center;padding:18px;background:color-mix(in srgb,var(--surface) 70%,var(--timer-accent) 8%)}.dashboard-timer-display small{display:block;margin-bottom:12px;line-height:1.25;color:var(--timer-accent);font:900 10px ui-monospace,monospace}.dashboard-timer-display strong{font:900 clamp(65px,9vw,130px)/.92 ui-monospace,monospace;letter-spacing:-.11em}.dashboard-timer-display b{font-size:16px;margin-top:14px}
.dashboard-timer-actions{display:grid;align-content:center;gap:8px;padding:16px}.dashboard-timer-actions .tv{color:var(--text);border-color:var(--text)}.dashboard-timer-actions p{margin:0;color:var(--timer-soft);font-size:10px;line-height:1.35}.dashboard-timer-live{display:none;text-align:center}.dashboard-timer-live .live-main{padding:24px;background:color-mix(in srgb,var(--surface) 70%,var(--timer-accent) 8%)}.dashboard-timer-live .round{display:block;margin-bottom:10px;line-height:1.25;color:var(--timer-accent);font:900 12px ui-monospace,monospace}.dashboard-timer-live h2{font-size:35px;line-height:1;margin:0 0 12px}.dashboard-timer-live time{display:block;color:var(--timer-accent);font:900 clamp(70px,11vw,145px)/.92 ui-monospace,monospace}.dashboard-timer-live .next{margin-top:16px;font-weight:800}.dashboard-timer-counters{display:grid;grid-template-columns:1fr 1fr}.dashboard-timer-counters div{padding:12px;border-right:1px solid var(--line)}.dashboard-timer-counters div:last-child{border:0}.dashboard-timer-counters b{display:block;color:var(--timer-accent);font:900 26px ui-monospace,monospace}.dashboard-timer-counters small{font:900 9px ui-monospace,monospace;color:var(--timer-soft)}.dashboard-timer-deck.is-live .dashboard-timer-deck__setup{display:none}.dashboard-timer-deck.is-live .dashboard-timer-live{display:block}.dashboard-timer-deck.is-live .dashboard-timer-deck__modes{display:none}.dashboard-timer-deck.is-live .dashboard-timer-actions{grid-template-columns:repeat(4,1fr)}
body.theme-signal .dashboard-timer-deck{--timer-accent:#ff5038;--timer-soft:#ffb0a5;background:#171717;border-color:#ff5038}body.theme-signal .dashboard-timer-deck__head,body.theme-signal .dashboard-timer-deck__modes,body.theme-signal .dashboard-timer-settings{border-color:#ff503855}body.theme-signal .dashboard-timer-deck button{border-color:#ff5038}body.theme-signal .dashboard-timer-deck button.active,body.theme-signal .dashboard-timer-deck button.start{background:#ff5038;color:#171111}body.theme-signal .dashboard-timer-display,body.theme-signal .dashboard-timer-live .live-main{background:#251b1d}
body.theme-training-log .dashboard-timer-deck{--timer-accent:#151515;--timer-soft:#5d5d58;border-color:#151515;background:#f7f5ef;border-radius:0}body.theme-clinical .dashboard-timer-deck{--timer-accent:#157c76;--timer-soft:#5f7d86;background:#fff;border-color:#2c647344}body.theme-radar .dashboard-timer-deck{--timer-accent:#9af5ed;--timer-soft:#9dbec1;background:#0d2430;border-color:#82dcd633}body.theme-athlete-focus .dashboard-timer-deck{--timer-accent:#c5ff43;--timer-soft:#aec4ce;background:#172532;border-color:#ffffff22}
.dashboard-timer-effects{display:grid;grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px}.dashboard-timer-effects button[aria-pressed="false"]{opacity:.42}.dashboard-timer-actions p{grid-column:1/-1}body.timer-placement-preview.timer-screen-flash::after{content:"";position:fixed;inset:0;z-index:9999;pointer-events:none;background:rgba(255,80,56,.24);animation:timer-screen-flash .22s ease-out}@keyframes timer-screen-flash{from{opacity:1}to{opacity:0}}
@media(max-width:800px){.dashboard-timer-deck__setup{grid-template-columns:1fr}.dashboard-timer-settings{border-right:0;border-bottom:1px solid var(--line)}.dashboard-timer-actions{grid-template-columns:1fr 1fr}.dashboard-timer-deck.is-live .dashboard-timer-actions{grid-template-columns:1fr 1fr}.dashboard-timer-deck__modes{overflow:auto}.dashboard-timer-deck__modes button{white-space:nowrap}}
