/* Operator console: a private control surface. Dense, high-contrast, nothing decorative. */
body.op { background: #070b1c; color: #e8eeff; font-size: 14px; min-height: 100vh; }
.op a { color: inherit; }
.login { max-width: 340px; margin: 14vh auto; padding: 34px; border-radius: 22px; background: #0d1430; border: 1px solid #222c55; text-align: center; display: grid; gap: 12px; }
.login h1 { margin: 10px 0 0; font-size: 22px; }
.login p { margin: 0 0 8px; color: #8d9bc8; }
.login input { padding: 13px; border-radius: 12px; border: 1px solid #2b376a; background: #050918; text-align: center; font-size: 20px; letter-spacing: 0.3em; }
.login button { padding: 13px; border-radius: 12px; border: 0; background: #fff; color: #08113a; font-weight: 600; cursor: pointer; }
.login-err { color: var(--bad); min-height: 18px; }

.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 10px 18px; background: #050817; border-bottom: 1px solid #1c2448; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.clock { display: flex; flex-direction: column; line-height: 1.1; margin-left: 10px; }
.clock span { font-size: 24px; font-weight: 600; }
.clock small { font-size: 11px; color: #8d9bc8; }
.clock small.sim { color: var(--warn); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.badge { padding: 4px 9px; border-radius: 99px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid #36406e; color: #b9c4ea; }
.badge.warn { border-color: rgba(255, 181, 71, 0.6); color: #ffd28c; }
.badge.bad { border-color: rgba(255, 93, 108, 0.7); color: #ff9aa4; }
.conn { font-size: 12px; color: #9fb0e0; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; background: #555; vertical-align: middle; }
.dot.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dot.off { background: var(--bad); }
.toplink { font-size: 12px; color: #9fb0e0; background: none; border: 1px solid #2b376a; border-radius: 8px; padding: 6px 10px; cursor: pointer; text-decoration: none; }

.grid { display: grid; grid-template-columns: 310px minmax(520px, 1fr) minmax(470px, 0.95fr); gap: 14px; padding: 14px; align-items: start; }
@media (max-width: 1400px) { .grid { grid-template-columns: 290px 1fr; } .side { grid-column: 1 / -1; } }
.col-title { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #7f8db9; margin: 2px 2px 8px; }

.cues { position: sticky; top: 64px; }
.cue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: calc(100vh - 330px); overflow: auto; }
.cue { display: grid; grid-template-columns: 46px 1fr auto; gap: 8px; align-items: center; padding: 9px 10px; border-radius: 10px; background: #0d1430; border: 1px solid #1d2650; cursor: pointer; user-select: none; }
.cue:hover { border-color: #3a4a8a; }
.cue .tm { font-size: 12px; color: #8d9bc8; font-variant-numeric: tabular-nums; }
.cue .lb { font-size: 13px; line-height: 1.3; }
.cue .tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; padding: 3px 6px; border-radius: 6px; }
.cue.live { border-color: var(--red); background: linear-gradient(90deg, rgba(190, 32, 46, 0.35), #0d1430 70%); }
.cue.live .tag { background: var(--red); color: #fff; }
.cue.armed { border-color: var(--warn); }
.cue.armed .tag { background: var(--warn); color: #1c1200; }
.cue.next .tag { border: 1px solid #56609a; color: #b9c4ea; }
.utility { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.utility button { padding: 10px; border-radius: 10px; border: 1px solid #2b376a; background: #0d1430; cursor: pointer; font-weight: 600; }
.utility button.live { border-color: var(--red); background: rgba(190, 32, 46, 0.3); }
.go { width: 100%; margin-top: 10px; padding: 14px; border-radius: 14px; border: 0; background: linear-gradient(180deg, #2bd17f, #18a862); color: #02170b; cursor: pointer; display: flex; flex-direction: column; align-items: center; box-shadow: 0 8px 26px rgba(24, 168, 98, 0.35); }
.go span { font-size: 26px; font-weight: 800; letter-spacing: 0.1em; }
.go small { font-size: 12px; font-weight: 600; opacity: 0.8; }
.go:active { transform: translateY(1px); }
.keys { margin-top: 8px; font-size: 11px; color: #6f7cab; text-align: center; }

.preview { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 2px solid var(--red); background: #000; }
.preview iframe { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; border: 0; transform-origin: 0 0; pointer-events: none; }
.live-line { margin: 8px 2px; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; color: #9fb0e0; }
.live-line b { color: #fff; font-size: 16px; }
.context { display: grid; gap: 10px; }
.panel { border-radius: 14px; padding: 14px; background: #0d1430; border: 1px solid #1d2650; }
.panel h3 { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #8d9bc8; font-weight: 600; }
.panel .big { font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.kpis { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 10px; }
.kpis div small { display: block; font-size: 11px; color: #8d9bc8; text-transform: uppercase; letter-spacing: 0.1em; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 13px; border-radius: 10px; border: 1px solid #34407a; background: #131c40; cursor: pointer; font-weight: 600; font-size: 13px; text-decoration: none; color: #e8eeff; }
.btn:hover { border-color: #5566aa; }
.btn.primary { background: #fff; color: #08113a; border-color: #fff; }
.btn.danger { border-color: rgba(255, 93, 108, 0.6); color: #ffb3ba; }
.btn.warn { border-color: rgba(255, 181, 71, 0.7); color: #ffd28c; }
.btn.small { padding: 6px 10px; font-size: 12px; }
.btn[disabled] { opacity: 0.4; cursor: default; }
.hold { position: relative; overflow: hidden; min-width: 210px; padding: 14px 18px; font-size: 15px; background: #fff; color: #08113a; }
.hold .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(43, 209, 127, 0.55); transition: width 0.05s linear; }
.hold span { position: relative; }
.strip { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: #0b1128; border: 1px dashed #2b376a; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13px; color: #b9c4ea; }
.strip b { color: #fff; }
.warnbox { padding: 9px 12px; border-radius: 10px; background: rgba(255, 181, 71, 0.12); border: 1px solid rgba(255, 181, 71, 0.45); color: #ffd9a0; font-size: 13px; margin: 8px 0; }
.okbox { padding: 9px 12px; border-radius: 10px; background: rgba(67, 211, 158, 0.12); border: 1px solid rgba(67, 211, 158, 0.45); color: #b4f0d8; font-size: 13px; margin: 8px 0; }

.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.tabs button { padding: 8px 12px; border-radius: 9px; border: 1px solid #222c55; background: #0b1128; cursor: pointer; font-size: 13px; color: #9fb0e0; }
.tabs button.on { background: #fff; color: #08113a; border-color: #fff; font-weight: 600; }
.tab { border-radius: 14px; padding: 14px; background: #0d1430; border: 1px solid #1d2650; min-height: 300px; }
.row-tools { display: flex; gap: 8px; margin-bottom: 10px; }
.row-tools input { flex: 1; padding: 8px 10px; border-radius: 9px; border: 1px solid #2b376a; background: #050918; }
.add-form { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.add-form input, .add-form select, .settings input, .settings select { padding: 8px 10px; border-radius: 9px; border: 1px solid #2b376a; background: #050918; }
.summary-line { font-size: 12px; color: #8d9bc8; margin-bottom: 8px; }
.table-wrap { max-height: calc(100vh - 270px); overflow: auto; border-radius: 10px; border: 1px solid #1d2650; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th { position: sticky; top: 0; background: #111a3c; text-align: left; font-weight: 600; color: #9fb0e0; padding: 8px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
td { padding: 7px 8px; border-top: 1px solid #18204a; vertical-align: top; }
td .muted, .muted { color: #7f8db9; font-size: 11.5px; }
tr.void td { opacity: 0.45; text-decoration: line-through; }
.no { font-weight: 700; font-variant-numeric: tabular-nums; }
.tagx { display: inline-block; padding: 1px 6px; border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; background: #22305f; color: #b9c4ea; margin-left: 4px; }
.tagx.win { background: #f5d36b; color: #2a1d00; }
.mdots { display: flex; gap: 4px; }
.md { width: 12px; height: 12px; border-radius: 3px; background: #2a3260; }
.md.queued, .md.sending { background: #5a6aa8; }
.md.sent { background: #3f9dff; }
.md.delivered { background: var(--ok); }
.md.failed { background: var(--bad); }
.md.cancelled { background: #444; }
.iconbtn { background: none; border: 1px solid #2b376a; border-radius: 7px; padding: 3px 7px; cursor: pointer; font-size: 11px; color: #b9c4ea; }
.settings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.settings label { display: grid; gap: 5px; font-size: 12px; color: #9fb0e0; }
.settings .full { grid-column: 1 / -1; }
.settings h4 { grid-column: 1 / -1; margin: 10px 0 0; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #7f8db9; }
.log { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; line-height: 1.6; max-height: calc(100vh - 200px); overflow: auto; }
.log div { border-bottom: 1px solid #18204a; padding: 3px 0; }
.standings { display: grid; gap: 6px; }
.standings .sr { display: grid; grid-template-columns: 26px 1fr 50px; gap: 8px; align-items: center; font-size: 13px; }
.standings .bar { height: 8px; border-radius: 4px; background: linear-gradient(90deg, #3f9dff, #9cc6ff); }
.toast { position: fixed; z-index: 30; right: 18px; bottom: 18px; max-width: 420px; padding: 12px 16px; border-radius: 12px; background: #fff; color: #08113a; font-weight: 600; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.toast.bad { background: var(--bad); color: #fff; }

/* ---- AW26 awards loop: live overlay tab ---- */
.preview.editing iframe { pointer-events: auto; }
.preview.editing { border-color: #4da3ff; }
.ov-head { display: grid; gap: 10px; margin-bottom: 12px; }
.ov-intro b { font-size: 15px; }
.ov-intro p { margin: 6px 0 0; line-height: 1.45; }
.ov-actions { align-items: center; }
.ov-hold { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #c9d4f5; margin-left: 4px; }
.ov-list { display: grid; gap: 8px; max-height: calc(100vh - 300px); overflow: auto; padding-right: 2px; }
.ov-card { border-radius: 12px; padding: 10px 12px; background: #0a1027; border: 1px solid #1d2650; cursor: default; }
.ov-card.sel { border-color: #4da3ff; box-shadow: 0 0 0 1px #4da3ff inset; }
.ov-card.off { opacity: 0.6; }
.ov-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ov-title img { height: 26px; max-width: 160px; object-fit: contain; background: #1a2350; border-radius: 6px; padding: 3px 6px; }
.ov-vis { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.ov-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.ov-f { display: grid; grid-template-columns: 1fr 70px; gap: 2px 8px; align-items: center; font-size: 12px; color: #9fb0e0; }
.ov-f span { grid-column: 1 / -1; }
.ov-f small { color: #6f7cab; }
.ov-f input[type="range"] { width: 100%; accent-color: #4da3ff; }
.ov-f input[type="number"], .ov-t input, .ov-t select { padding: 5px 7px; border-radius: 8px; border: 1px solid #2b376a; background: #050918; color: #e8eeff; font-size: 12px; width: 100%; }
.ov-anim { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 8px; padding-top: 8px; border-top: 1px solid #1a2246; }
.ov-t { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: #9fb0e0; }
.ov-t input { width: 64px; }
.ov-t select { width: auto; }
.ov-card.timeless .ov-t:has(input) { opacity: 0.35; }
.ov-link { border-radius: 12px; padding: 10px 12px; background: #0a1027; border: 1px solid #2a3a78; display: grid; gap: 7px; }
.ov-link.off { border-color: #1d2650; }
.ov-link-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ov-sw { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #c9d4f5; }
.ov-sw select { padding: 4px 6px; border-radius: 7px; border: 1px solid #2b376a; background: #050918; color: #e8eeff; font-size: 12px; }
.ov-link.off .ov-sw:not(:first-child), .ov-link.off .ov-measure { opacity: 0.45; }
.ov-measure { font-size: 12.5px; color: #c9d4f5; font-variant-numeric: tabular-nums; }
.ov-measure .even { color: var(--ok); }
.ov-measure .diff { color: var(--warn); }
.ov-measure small { color: #6f7cab; }
.ov-chain { margin-left: 6px; padding: 2px 7px; border-radius: 99px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #9cc8ff; border: 1px solid rgba(77, 163, 255, 0.55); }
.ov-solo-tag { display: none; font-size: 12px; font-weight: 600; color: #1c1200; background: var(--warn); border-radius: 8px; padding: 5px 9px; justify-self: start; }
#overlay.solo .ov-solo-tag { display: block; }
.ov-tools { display: inline-flex; align-items: center; gap: 8px; }
