/* Admin design system. The visual thread is the broadcast "tally light":
   a small colored edge that tells you at a glance what state something is in. */
:root {
  --accent: #1466a3;
  --accent-ink: #fff;
  --ink: #1b1f24;
  --ink-2: #4a525c;
  --ink-3: #6b737d;
  --line: #dfe3e8;
  --line-2: #eceff2;
  --bg: #f5f6f8;
  --panel: #fff;
  --live: #d92d20;
  --live-bg: #fdecea;
  --ok: #1a7f4b;
  --ok-bg: #e6f4ec;
  --info: #1f5fbf;
  --info-bg: #e8f0fc;
  --warn: #8a5a00;
  --warn-bg: #fdf3dc;
  --muted-bg: #eef0f3;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(20, 28, 38, .06);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --side: 15.5rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 var(--font); color: var(--ink); background: var(--bg); }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 1.65rem; font-weight: 650; }
h2 { font-size: 1.1rem; font-weight: 650; }
p { margin: .25rem 0 .75rem; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, white); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .5rem .75rem; border-radius: 6px; z-index: 100; }
.skip:focus { left: .5rem; }
.muted { color: var(--ink-3); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* Shell */
.app { display: flex; min-height: 100vh; }
.side { width: var(--side); flex: none; background: #14202c; color: #cfd8e1; padding: 1rem .75rem; display: flex; flex-direction: column; gap: .75rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brandmark { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; padding: .35rem .5rem; font-weight: 650; }
.brandmark-dot { width: 2rem; height: 2rem; border-radius: 6px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex: none; }
.brandmark-logo { width: 2rem; height: 2rem; object-fit: contain; background: #fff; border-radius: 6px; flex: none; }
.brandmark-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: .65rem; padding: .55rem .6rem; border-radius: 6px; color: #cfd8e1; text-decoration: none; border-left: 3px solid transparent; }
.side-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side-nav a.is-current { background: rgba(255, 255, 255, .1); color: #fff; border-left-color: var(--accent); font-weight: 600; }
.side-group { margin: .75rem .6rem 0; font-size: .78rem; color: #8fa0b2; }
.side-foot { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: .75rem; display: flex; flex-direction: column; gap: .5rem; }
.who { padding: 0 .5rem; display: flex; flex-direction: column; }
.who-name { color: #fff; font-weight: 600; }
.who-role { font-size: .82rem; color: #8fa0b2; }
.btn-quiet { background: none; border: 0; color: #cfd8e1; padding: .4rem .5rem; display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font: inherit; border-radius: 6px; }
.btn-quiet:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.page { padding: 1.75rem clamp(1rem, 3vw, 2.5rem) 4rem; max-width: 72rem; width: 100%; }
.page:focus { outline: none; }
.support-bar { background: #3b2a00; color: #ffe9b0; padding: .6rem clamp(1rem, 3vw, 2.5rem); display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.scope-bar { background: var(--panel); border-bottom: 1px solid var(--line); padding: .5rem clamp(1rem, 3vw, 2.5rem); }
.scope-form { display: flex; align-items: center; gap: .6rem; }
.scope-form label { color: var(--ink-3); font-size: .9rem; }
.scope-form select { max-width: 22rem; }

/* Page heads, sections */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.page-head h1 { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.page-head p { margin-bottom: 0; }
.actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.link-quiet { color: var(--ink-3); text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; font-size: .9rem; }
.link-quiet:hover { color: var(--ink); text-decoration: underline; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 1.5rem 0 .6rem; }
.section-head:first-child { margin-top: 0; }
.two-col { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 2rem; align-items: start; margin-top: 1.25rem; }
.big-n { font-size: 2.6rem; font-weight: 650; line-height: 1; margin: .25rem 0; }
.facts { display: grid; grid-template-columns: 9rem 1fr; gap: .5rem 1rem; margin: 0; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .55rem .95rem; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-weight: 550; cursor: pointer; text-decoration: none; min-height: 2.5rem; box-shadow: var(--shadow); }
.btn:hover { background: #f7f8fa; border-color: #c9cfd6; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, black); border-color: color-mix(in srgb, var(--accent) 88%, black); }
.btn-danger { background: var(--live); border-color: var(--live); color: #fff; }
.btn-danger:hover { background: #b42318; border-color: #b42318; }
.btn-danger-outline { color: var(--live); border-color: #f1b5af; }
.btn-danger-outline:hover { background: var(--live-bg); }
.btn-small { padding: .3rem .65rem; min-height: 2rem; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn { width: 2.25rem; height: 2.25rem; display: inline-grid; place-items: center; border: 1px solid transparent; background: none; border-radius: 6px; color: var(--ink-3); cursor: pointer; }
.icon-btn:hover { background: var(--muted-bg); color: var(--ink); }

/* Badges and tally edges */
.badge { display: inline-block; padding: .1rem .55rem; border-radius: 99px; font-size: .78rem; font-weight: 600; background: var(--muted-bg); color: var(--ink-2); vertical-align: middle; white-space: nowrap; }
.badge-live { background: var(--live-bg); color: var(--live); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-muted { background: var(--muted-bg); color: var(--ink-3); }
.tally-live { --t: var(--live); }
.tally-info { --t: var(--info); }
.tally-ok { --t: var(--ok); }
.tally-muted { --t: #c3c9d0; }

/* Lists of events */
.lines { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.line { display: flex; align-items: center; gap: .85rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line-2); }
.line:last-child { border-bottom: 0; }
.line .tally { width: 4px; align-self: stretch; border-radius: 2px; background: var(--t, #c3c9d0); }
.line-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.line-title { font-weight: 600; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.line-title:hover { color: var(--accent); text-decoration: underline; }
.line-meta { color: var(--ink-3); font-size: .88rem; }

/* On-air banner */
.onair { display: flex; align-items: center; gap: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem 1.1rem 0; box-shadow: var(--shadow); overflow: hidden; flex-wrap: wrap; }
.onair-tally { align-self: stretch; width: 6px; background: var(--live); margin-right: .25rem; }
.onair-next .onair-tally { background: var(--info); }
.onair-idle { padding-left: 1.25rem; }
.onair-main { flex: 1; min-width: 14rem; }
.onair-main h2 { font-size: 1.35rem; margin: .15rem 0; }
.onair-main h2 a { color: inherit; text-decoration: none; }
.onair-main h2 a:hover { text-decoration: underline; }
.onair-main p { margin: 0; }
.onair-label { font-weight: 650; color: var(--live); font-size: .9rem; }
.onair-next .onair-label { color: var(--info); }
.onair-idle .onair-label { color: var(--ink-3); }
.onair:not(.onair-next):not(.onair-idle) .onair-label::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--live); margin-right: .45rem; animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.feed li { padding-left: .9rem; border-left: 3px solid var(--line); }
.feed time { display: block; }

/* Notes, toasts, empty states */
.note { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--info); border-radius: var(--radius); padding: .8rem 1rem; margin: 1rem 0; }
.note p { margin: .15rem 0; }
.note-warn { border-left-color: #d9a21b; background: var(--warn-bg); }
.note-ok { border-left-color: var(--ok); }
.toasts { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.toast { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .75rem 1rem; border-radius: var(--radius); background: var(--ok-bg); color: #0f5132; border: 1px solid #bfe0cd; }
.toast-error { background: var(--live-bg); color: #8c1d14; border-color: #f1b5af; }
.toast-x { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; line-height: 0; opacity: .7; }
.toast-x:hover { opacity: 1; }
.empty { text-align: center; padding: 3rem 1rem; background: var(--panel); border: 1px dashed #c9cfd6; border-radius: var(--radius); }
.empty h2 { margin-bottom: .35rem; }
.empty p { max-width: 34rem; margin-left: auto; margin-right: auto; }
.empty-mark { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--muted-bg); display: grid; place-items: center; margin: 0 auto 1rem; color: var(--ink-3); }

/* Tabs, toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1.25rem; overflow-x: auto; }
.toolbar .tabs { margin-bottom: 0; border-bottom: 0; }
.tabs a, .tab-soon { padding: .6rem .85rem; color: var(--ink-2); text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); background: rgba(0, 0, 0, .03); }
.tabs a.is-current { color: var(--ink); font-weight: 650; border-bottom-color: var(--accent); }
.tab-soon { color: #9aa2ab; cursor: default; }
.tab-soon small { background: var(--muted-bg); border-radius: 99px; padding: .05rem .4rem; margin-left: .25rem; }
.count { display: inline-block; min-width: 1.4rem; text-align: center; background: var(--muted-bg); border-radius: 99px; font-size: .78rem; padding: 0 .4rem; color: var(--ink-3); }
.search { position: relative; display: flex; align-items: center; }
.search svg { position: absolute; left: .65rem; color: var(--ink-3); }
.search > input { padding-left: 2.2rem !important; width: 18rem; max-width: 100%; }

/* Tables */
.table-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; margin-bottom: 1.5rem; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table thead th { font-size: .85rem; color: var(--ink-3); font-weight: 600; background: #fafbfc; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 600; }
.table tbody th a { text-decoration: none; color: var(--ink); }
.table tbody th a:hover { color: var(--accent); text-decoration: underline; }
.table tbody tr[class^="tally-"] > :first-child { box-shadow: inset 4px 0 0 var(--t); }
.table .sub { display: block; font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table tr.is-off { color: var(--ink-3); }
.row-actions { display: flex; gap: .4rem; justify-content: flex-end; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.swatch { display: inline-block; width: .85rem; height: .85rem; border-radius: 3px; vertical-align: -1px; margin-right: .3rem; }

/* Forms */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.panel > h2 { margin: 1.25rem 0 .9rem; padding-top: 1rem; border-top: 1px solid var(--line-2); }
.panel > h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.panel.narrow { max-width: 30rem; }
.field { margin: 0 0 1.1rem; min-width: 0; border: 0; padding: 0; }
.field > label, .field > legend, .label { display: block; font-weight: 600; margin-bottom: .3rem; padding: 0; }
fieldset.field > legend { float: left; width: 100%; }
fieldset.field > legend + * { clear: both; }
.opt { font-weight: 400; color: var(--ink-3); font-size: .85rem; margin-left: .25rem; }
.hint { color: var(--ink-3); font-size: .88rem; margin: .3rem 0 0; }
.field-error { color: #b42318; font-size: .9rem; margin: .35rem 0 0; display: flex; gap: .35rem; align-items: flex-start; }
input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=file]), select, textarea { width: 100%; padding: .55rem .7rem; border: 1px solid #c3c9d0; border-radius: 6px; font: inherit; background: #fff; color: var(--ink); min-height: 2.5rem; }
textarea { resize: vertical; }
input[type=color] { width: 4rem; height: 2.5rem; padding: .15rem; border: 1px solid #c3c9d0; border-radius: 6px; background: #fff; }
input[aria-invalid=true] { border-color: #d92d20; box-shadow: 0 0 0 3px #fdecea; }
input[readonly] { background: #f3f4f6; color: var(--ink-2); }
input[type=checkbox], input[type=radio] { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.check { display: inline-flex; align-items: center; gap: .45rem; font-weight: 400 !important; margin: 0 !important; cursor: pointer; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.slug-row { display: flex; align-items: stretch; }
.slug-prefix { background: var(--muted-bg); border: 1px solid #c3c9d0; border-right: 0; border-radius: 6px 0 0 6px; padding: .55rem .6rem; color: var(--ink-3); white-space: nowrap; font-size: .9rem; display: flex; align-items: center; flex: none; }
.slug-row input { border-radius: 0 6px 6px 0 !important; }
.choice-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .6rem; }
.choice-row.compact { margin-top: .6rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 14rem)); }
.choice-stack { display: flex; flex-direction: column; gap: .5rem; }
.choice { display: flex; align-items: flex-start; gap: .65rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: #fff; font-weight: 400 !important; margin: 0 !important; }
.choice:hover { border-color: #aab2bb; }
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, white); box-shadow: inset 3px 0 0 var(--accent); }
.choice input { margin-top: .2rem; }
.choice span { display: flex; flex-direction: column; gap: .1rem; }
.choice strong { font-weight: 600; }
.choice small { color: var(--ink-3); font-size: .86rem; }
.choice-row.compact .choice span { flex-direction: row; align-items: center; gap: .4rem; }
.form-bar { display: flex; gap: .6rem; justify-content: flex-end; border-top: 1px solid var(--line-2); margin-top: 1.25rem; padding-top: 1rem; }
.inline-pick { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.inline-pick select { width: auto; min-width: 14rem; }
.copy-row { display: flex; gap: .5rem; }
.copy-row input { flex: 1; }
.cover-current { display: flex; align-items: center; gap: 1rem; margin-bottom: .5rem; }
.cover-current img { border-radius: 6px; border: 1px solid var(--line); height: auto; }
.preview:not(:empty) { margin-top: .75rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #0f1720; color: #cfd8e1; }
.preview iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.preview .preview-note { padding: .75rem 1rem; display: flex; align-items: center; gap: .6rem; }
.preview audio, .preview video { display: block; width: 100%; background: #000; }
.danger-zone { border-color: #f1d1ce; }
.danger-zone form { margin: 0 0 1rem; }

/* Question editor */
.qlist { list-style: none; margin: 0 0 .75rem; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.qrow { display: grid; grid-template-columns: 1fr auto; gap: .5rem .75rem; align-items: center; padding: .65rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fafbfc; }
.qrow-main { display: grid; grid-template-columns: minmax(10rem, 2fr) minmax(8rem, 1fr) auto; gap: .6rem; align-items: center; }
.qrow-options { grid-column: 1; }
.qrow-tools { display: flex; grid-row: 1; grid-column: 2; }
.qrow.is-flash { animation: flash 700ms ease; }
@keyframes flash { from { background: color-mix(in srgb, var(--accent) 20%, white); } }

/* Wizard */
.wizard { max-width: 46rem; }
.stepper { list-style: none; display: flex; gap: .25rem; padding: 0; margin: 0 0 1.25rem; counter-reset: s; }
.stepper li { flex: 1; }
.stepper button { width: 100%; display: flex; align-items: center; gap: .5rem; background: none; border: 0; border-bottom: 3px solid var(--line); padding: .5rem .25rem; cursor: pointer; font: inherit; color: var(--ink-3); text-align: left; }
.stepper button:hover { color: var(--ink); }
.step-n { width: 1.55rem; height: 1.55rem; border-radius: 50%; background: var(--muted-bg); display: grid; place-items: center; font-size: .82rem; font-weight: 650; flex: none; }
.stepper button[aria-current=step] { color: var(--ink); font-weight: 650; border-bottom-color: var(--accent); }
.stepper button[aria-current=step] .step-n { background: var(--accent); color: var(--accent-ink); }
.stepper li.is-done .step-n { background: var(--ok); color: #fff; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem 0.5rem; box-shadow: var(--shadow); }
.step > h2 { margin-bottom: 1rem; }
.wizard-bar { display: flex; gap: .6rem; align-items: center; margin-top: 1rem; position: sticky; bottom: 0; background: var(--bg); border-top: 1px solid var(--line); padding: .75rem 0; z-index: 5; }
.spacer { flex: 1; }
.review { display: grid; grid-template-columns: 10rem 1fr; gap: .5rem 1rem; margin: 0 0 1rem; }
.review dt { color: var(--ink-3); }
.review dd { margin: 0; overflow-wrap: anywhere; }
.review .review-warn { color: var(--warn); }

/* Dialog */
.dialog { border: 0; border-radius: 12px; padding: 0; width: min(28rem, calc(100vw - 2rem)); box-shadow: 0 20px 50px rgba(10, 20, 30, .3); }
.dialog::backdrop { background: rgba(15, 23, 32, .5); }
.dialog-body { padding: 1.5rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.25rem; }
.dialog label { display: block; font-weight: 600; margin: .75rem 0 .3rem; }

/* Sign-in and plain pages */
.plain { background: var(--bg); min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.plain-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 2rem; width: min(26rem, 100%); box-shadow: 0 6px 24px rgba(20, 28, 38, .08); }
.plain-card h1 { font-size: 1.4rem; margin-bottom: .5rem; }
.plain-code { font-family: ui-monospace, Menlo, Consolas, monospace; }
.stack > * + * { margin-top: 1rem; }

/* Responsive */
@media (max-width: 60rem) {
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 48rem) {
  .app { flex-direction: column; }
  .side { position: static; width: 100%; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: .5rem; gap: .25rem; }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .side-nav a { border-left: 0; border-bottom: 3px solid transparent; padding: .45rem .55rem; }
  .side-nav a.is-current { border-bottom-color: var(--accent); }
  .side-nav a span { font-size: .9rem; }
  .side-group { display: none; }
  .side-foot { margin: 0 0 0 auto; border: 0; padding: 0; flex-direction: row; align-items: center; }
  .who { display: none; }
  .row-2, .qrow-main { grid-template-columns: 1fr; }
  .facts, .review { grid-template-columns: 1fr; gap: .1rem; }
  .facts dd, .review dd { margin-bottom: .6rem; }
  .stepper .step-l { display: none; }
  .search input { width: 100%; }
  .slug-row { flex-direction: column; }
  .slug-prefix { border-right: 1px solid #c3c9d0; border-bottom: 0; border-radius: 6px 6px 0 0; }
  .slug-row input { border-radius: 0 0 6px 6px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Phase 2: viewers and reports */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow); }
.stat .big-n { font-size: 2rem; }
.stat p { margin: 0; }
.plain-list { margin: 0 0 1rem; padding-left: 1.2rem; }
.plain-list li { margin: 0 0 .5rem; overflow-wrap: anywhere; }
.actions-row { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 0; }
.table td.row-actions { display: table-cell; white-space: nowrap; text-align: right; }
.table td.row-actions > * { vertical-align: middle; }
.row-actions .inline { display: inline; }

/* ---- event page editor: speakers ---- */
.spk-list { display: grid; gap: 1rem; margin-bottom: 1rem; }
.spk { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2, #f7f9fb); position: relative; }
.spk-photo { display: grid; gap: .5rem; justify-items: start; align-content: start; }
.spk-thumb { width: 7rem; height: 7rem; background: #dfe5ea; overflow: hidden; display: grid; place-items: center; color: var(--ink-3); font-size: .8rem; }
.spk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spk-circle { border-radius: 50%; } .spk-rounded { border-radius: 18%; } .spk-square { border-radius: 0; }
.spk-fields .field { margin-bottom: .7rem; }
.spk-focus input[type=range] { width: 100%; }
.spk-remove { position: absolute; top: .6rem; right: .6rem; }
@media (max-width: 40rem) { .spk { grid-template-columns: 1fr; } .spk-remove { position: static; justify-self: start; } }
