/* WILDFM Radio Studio — Studio Objects (ADR-001).
   Huisstijl-tokens gelijk aan de backoffice; objecten gebruiken uitsluitend deze tokens. */

:root {
  --surface: #111b2d;
  --surface-2: #18243a;
  --surface-deep: rgba(9, 14, 24, 0.55);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --text-dim: #8b9bb4;
  --text-bright: #ffffff;
  --accent-2: #45e884;
  --danger: #ff6b6b;
  --mono: "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --bevel: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  --elev: 0 6px 18px -10px rgba(0, 0, 0, 0.6);
  --obj-radius: 14px;
}

/* ── Object-schil ─────────────────────────────────────────────────────────── */

.obj {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 55%), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--obj-radius);
  box-shadow: var(--bevel), var(--elev);
  padding: 14px 16px;
  overflow: hidden;
}

.obj-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.obj-head[hidden] { display: none; }
.obj-head-right { margin-left: auto; display: flex; gap: 6px; align-items: center; text-transform: none; letter-spacing: 0; }

.obj-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }

.obj-statebox {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
  padding: 18px 12px;
  border: 1px dashed var(--border-light);
  border-radius: 10px;
  margin-bottom: 10px;
}
.obj-statebox[hidden] { display: none; }

/* Vier verplichte toestanden. */
.obj-state-loading .obj-statebox { color: var(--text-dim); }
.obj-state-loading .obj-body { opacity: 0.35; }
.obj-state-empty .obj-statebox { color: var(--warn); border-color: rgba(243, 156, 18, 0.45); }
.obj-state-empty .obj-body { opacity: 0.35; }
.obj-state-blocked .obj-statebox { color: var(--danger); border-color: rgba(255, 107, 107, 0.45); }
.obj-state-blocked .obj-body { opacity: 0.25; pointer-events: none; }
.obj-state-ready .obj-body { opacity: 1; }

/* ── Gedeelde bouwstenen voor objecten ────────────────────────────────────── */

.obj .tag {
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--mono);
  white-space: nowrap;
}
.obj .tag-l0 { border-color: var(--layer-0); color: var(--layer-0); }
.obj .tag-l1 { border-color: var(--layer-1); color: var(--layer-1); }
.obj .tag-l2 { border-color: var(--layer-2); color: var(--layer-2); }
.obj .tag-l3 { border-color: var(--layer-3); color: var(--layer-3); }
.obj .tag-onair { background: var(--onair); border-color: transparent; color: #fff; font-weight: 800; }
.obj .tag-next { background: rgba(79, 206, 243, 0.2); border-color: transparent; color: var(--accent); font-weight: 800; }
.obj .tag-ok { color: var(--accent-2); border-color: rgba(69, 232, 132, 0.5); }
.obj .tag-warn { color: var(--warn); border-color: rgba(243, 156, 18, 0.5); }

.obj .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.obj .dim { color: var(--text-dim); }
.obj .bright { color: var(--text-bright); }
.obj .kpi { background: var(--surface-deep); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.obj .kpi small { display: block; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); }
.obj .kpi b { font-family: var(--mono); font-size: 24px; color: var(--text-bright); font-variant-numeric: tabular-nums; }
.obj .kpi b.ok { color: var(--accent-2); }
.obj .kpi b.warn { color: var(--warn); }
.obj .kpi b.bad { color: var(--danger); }

.obj .obj-btn {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--bevel);
  cursor: pointer;
}
.obj .obj-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.obj .obj-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Standalone route ─────────────────────────────────────────────────────── */

.obj-standalone { display: flex; flex-direction: column; gap: 12px; height: calc(100vh - 190px); min-height: 420px; }
.obj-standalone-bar { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-dim); }
.obj-standalone-title { font-weight: 800; color: var(--text-bright); letter-spacing: 1px; text-transform: uppercase; }
.obj-standalone-cfg { font-family: var(--mono); }
.obj-back { color: var(--accent); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.obj-standalone-host { flex: 1; min-height: 0; display: flex; }
.obj-standalone-host > .obj { flex: 1; }

/* ── Grid ─────────────────────────────────────────────────────────────────── */

.obj-grid { display: grid; gap: 14px; grid-auto-rows: minmax(160px, auto); }
.obj-grid.obj-grid-fit { height: calc(100vh - 190px); min-height: 640px; grid-auto-rows: minmax(0, 1fr); }
.obj-grid.obj-grid-fit .obj-cell { min-height: 0; }
.obj-cell { min-width: 0; min-height: 0; display: flex; }
.obj-cell > .obj { flex: 1; }

/* ── Index ────────────────────────────────────────────────────────────────── */

.obj-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.obj-index a {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; min-height: 56px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--surface-deep);
  color: var(--text); text-decoration: none;
}
.obj-index a:hover { border-color: rgba(79, 206, 243, 0.5); }
.obj-index strong { font-family: var(--mono); color: var(--accent); }
.obj-index span { font-size: 13px; color: var(--text-dim); }

@media (max-width: 760px) {
  .obj-grid { grid-template-columns: 1fr !important; }
  .obj-cell { grid-area: auto !important; }
}

/* ── Object: now-playing ──────────────────────────────────────────────────── */

.obj-now-playing .onp-grid { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.obj-now-playing .onp-grid.onp-noart { grid-template-columns: minmax(0, 1fr) auto; }
.obj-now-playing .onp-art {
  width: 112px; height: 112px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #243b63, #0d1a30); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
}
.obj-now-playing .onp-art-empty { font-size: 34px; color: var(--text-dim); }
.obj-now-playing .onp-art-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.obj-now-playing .onp-meta { min-width: 0; }
.obj-now-playing .onp-artist {
  font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; letter-spacing: -0.3px; line-height: 1.1;
  color: var(--text-bright); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.obj-now-playing .onp-title { font-size: 18px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.obj-now-playing .onp-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.obj-now-playing .onp-time { text-align: right; line-height: 1; }
.obj-now-playing .onp-remaining { font-size: clamp(40px, 4vw, 58px); font-weight: 800; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.obj-now-playing .onp-remaining.onp-warn { color: var(--warn); }
.obj-now-playing .onp-remaining-label { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); margin-top: 6px; }
.obj-now-playing .onp-elapsed { font-size: 13px; margin-top: 6px; }
.obj-now-playing .onp-progress { height: 8px; border-radius: 4px; background: var(--surface-deep); margin-top: 12px; overflow: hidden; }
.obj-now-playing .onp-bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 1s linear; }
.obj-now-playing .onp-next {
  margin-top: 12px; padding: 10px 12px; border-radius: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
  background: rgba(79, 206, 243, 0.08); border: 1px dashed rgba(79, 206, 243, 0.35); font-size: 14px;
}
.obj-now-playing .onp-next-label { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent); font-weight: 800; }
.obj-now-playing .onp-next-time { color: var(--accent-2); font-weight: 700; }
.obj-now-playing .onp-next-line { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.obj-now-playing .onp-next-line strong { color: var(--text-bright); }
.obj-now-playing .onp-after { width: 100%; font-size: 13px; }
.obj-now-playing .onp-after strong { color: var(--text); font-weight: 600; }
@media (max-width: 640px) {
  .obj-now-playing .onp-grid { grid-template-columns: minmax(0, 1fr); }
  .obj-now-playing .onp-art { display: none; }
  .obj-now-playing .onp-time { text-align: left; }
}

/* ── Object: hour-clock ───────────────────────────────────────────────────── */

.obj-hour-clock .hc-top { display: flex; align-items: center; gap: 14px; }
.obj-hour-clock .hc-ring { width: 84px; height: 84px; flex-shrink: 0; }
.obj-hour-clock .hc-ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 10; }
.obj-hour-clock .hc-ring-fg { fill: none; stroke: var(--accent-2); stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray 1s linear; }
.obj-hour-clock .hc-ring-txt { fill: #fff; font-family: var(--mono); font-size: 18px; font-weight: 800; }
.obj-hour-clock .hc-clock { font-size: clamp(28px, 3vw, 38px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.obj-hour-clock .hc-sub { font-size: 13px; margin-top: 6px; }
.obj-hour-clock .hc-sub b { color: var(--accent-2); font-weight: 700; }
.obj-hour-clock .hc-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.obj-hour-clock .kpi b { font-size: 22px; }

/* ── Object: player ───────────────────────────────────────────────────────── */

.obj-player { --deck: var(--accent); }
.obj-player::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--deck); }
.obj-player .pl-head { display: grid; grid-template-columns: 96px minmax(0, 1fr) 190px; gap: 14px; align-items: center; }
.obj-player .pl-art {
  width: 96px; height: 96px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #243b63, #0d1a30); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
}
.obj-player .pl-art-empty { font-size: 30px; color: var(--text-dim); }
.obj-player .pl-art-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.obj-player .pl-meta { min-width: 0; }
.obj-player .pl-artist { font-size: clamp(20px, 1.8vw, 24px); font-weight: 800; letter-spacing: -0.3px; color: var(--text-bright); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obj-player .pl-title { font-size: 16px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obj-player .pl-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.obj-player .pl-time { text-align: right; line-height: 1; }
.obj-player .pl-big { font-size: clamp(36px, 3.4vw, 50px); font-weight: 800; color: var(--text-bright); font-variant-numeric: tabular-nums; }
.obj-player .pl-big.pl-onair { color: var(--accent-2); }
.obj-player .pl-big.pl-warn { color: var(--warn); }
.obj-player .pl-big-label { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); margin-top: 6px; }
.obj-player .pl-cues { font-size: 12px; margin-top: 6px; }
.obj-player .pl-wave { margin-top: 12px; height: 64px; border-radius: 10px; background: var(--surface-deep); border: 1px solid var(--border); overflow: hidden; }
.obj-player .pl-canvas { width: 100%; height: 100%; display: block; }
.obj-player .pl-times { display: flex; justify-content: space-between; font-size: 12px; margin-top: 6px; }
.obj-player .pl-ctrl { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 8px; margin-top: 12px; }
.obj-player .pl-start:not(:disabled) { background: linear-gradient(180deg, #5ff09a, #2fbf6a); color: #04240f; border-color: transparent; }
.obj-player .pl-stop:not(:disabled) { background: linear-gradient(180deg, #ff7b7b, #d94848); color: #fff; border-color: transparent; }
.obj-player .pl-note { font-size: 12px; margin-top: 8px; }
@media (max-width: 640px) {
  .obj-player .pl-head { grid-template-columns: minmax(0, 1fr); }
  .obj-player .pl-art { display: none; }
  .obj-player .pl-time { text-align: left; }
  .obj-player .pl-ctrl { grid-template-columns: 1fr 1fr; }
}

/* ── Object: hour-log ─────────────────────────────────────────────────────── */

.obj-hour-log .hl-scroll { flex: 1; min-height: 0; overflow: auto; border-radius: 10px; }
.obj-hour-log .hl-table { width: 100%; border-collapse: collapse; font-size: 13.5px; table-layout: fixed; }
.obj-hour-log .hl-c-start { width: 88px; } .obj-hour-log .hl-c-kind { width: 82px; } .obj-hour-log .hl-c-dur { width: 64px; }
.obj-hour-log .hl-c-deck { width: 96px; } .obj-hour-log .hl-c-status { width: 150px; }
.obj-hour-log th { position: sticky; top: 0; background: var(--surface); text-align: left; font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); padding: 6px 8px; border-bottom: 1px solid var(--border-light); z-index: 1; }
.obj-hour-log td { padding: 6px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.obj-hour-log .hl-r { text-align: right; }
.obj-hour-log .hl-start { color: var(--accent-2); font-weight: 600; }
.obj-hour-log .hl-title strong { color: var(--text-bright); font-weight: 600; }
.obj-hour-log .hl-kind { font-size: 10px; font-weight: 800; letter-spacing: 0.8px; padding: 2px 6px; border-radius: 5px; background: var(--surface-2); color: var(--text); }
.obj-hour-log .hl-kind-jingle { background: rgba(243, 156, 18, 0.18); color: var(--layer-0); }
.obj-hour-log .hl-kind-news { background: rgba(255, 107, 107, 0.18); color: var(--danger); }
.obj-hour-log .hl-kind-voice { background: rgba(155, 140, 255, 0.2); color: var(--layer-2); }
.obj-hour-log tr.hl-played td { opacity: 0.45; }
.obj-hour-log tr.hl-now td { background: rgba(255, 107, 107, 0.10); }
.obj-hour-log tr.hl-now td:first-child { box-shadow: inset 3px 0 0 var(--danger); }
.obj-hour-log tr.hl-next td { background: rgba(79, 206, 243, 0.08); }
.obj-hour-log tr.hl-next td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.obj-hour-log .hl-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin-top: 8px; }

/* ── Object: queue ────────────────────────────────────────────────────────── */

.obj-queue .qu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.obj-queue .qu-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: var(--surface-deep); border: 1px solid var(--border); font-size: 14px; min-height: 44px; }
.obj-queue .qu-pos { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; background: rgba(79, 206, 243, 0.14); color: var(--accent); font-size: 11px; font-weight: 800; flex-shrink: 0; }
.obj-queue .qu-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obj-queue .qu-main strong { color: var(--text-bright); font-weight: 600; }
.obj-queue .qu-start { color: var(--accent-2); font-weight: 700; }
.obj-queue .qu-dur { font-size: 12px; width: 44px; text-align: right; }
.obj-queue .qu-none { justify-content: center; }
.obj-queue .qu-hours { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

/* ── Object: horizon ──────────────────────────────────────────────────────── */

.obj-horizon .hz-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.obj-horizon .hz-card { background: var(--surface-deep); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.obj-horizon .hz-card.hz-now { border-color: rgba(69, 232, 132, 0.5); }
.obj-horizon .hz-card.hz-empty { border-style: dashed; }
.obj-horizon .hz-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--text-dim); }
.obj-horizon .hz-label { font-weight: 800; letter-spacing: 1px; color: var(--accent); }
.obj-horizon .hz-nums { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; align-items: baseline; font-size: 12px; }
.obj-horizon .hz-nums b { font-size: 20px; color: var(--text-bright); font-variant-numeric: tabular-nums; }
.obj-horizon .hz-card .tag { align-self: flex-start; }

/* ── Object: history ──────────────────────────────────────────────────────── */

.obj-history .hi-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; overflow: auto; min-height: 0; }
.obj-history .hi-list li { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.obj-history .hi-time { color: var(--accent-2); font-weight: 600; width: 68px; flex-shrink: 0; }
.obj-history .hi-main { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.obj-history .hi-main strong { color: var(--text-bright); font-weight: 600; }

/* ── Objecten: jingle-machine / jingle-list ───────────────────────────────── */

.obj-jingle-machine .jm-pads { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(72px, 1fr); gap: 8px; flex: 1; }
.obj-jingle-machine .jm-pad {
  position: relative; text-align: left; border-radius: 10px; padding: 8px 9px 8px 9px; min-height: 72px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2px;
  background: var(--surface-2); border: 1px solid var(--border-light); box-shadow: var(--bevel);
  color: var(--text); font: inherit; cursor: pointer;
}
.obj-jingle-machine .jm-pad:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.obj-jingle-machine .jm-key { position: absolute; top: 6px; right: 8px; font: 700 10px var(--mono); color: var(--text-dim); }
.obj-jingle-machine .jm-name { font-size: 13px; color: var(--text-bright); line-height: 1.2; padding-right: 16px; }
.obj-jingle-machine .jm-sub { font-size: 11px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.obj-jingle-machine .jm-dur { font-size: 11px; color: var(--text-dim); }
.obj-jingle-machine .jm-empty { background: transparent; border-style: dashed; justify-content: center; align-items: center; color: var(--text-dim); font-size: 11px; }
.obj-jingle-machine .jm-disabled { opacity: 0.55; }
.obj-jingle-machine .jm-over { outline: 2px dashed var(--accent); outline-offset: -2px; }
.obj-jingle-machine .jm-clear { display: none; position: absolute; bottom: 6px; right: 8px; font-size: 12px; color: var(--danger); }
.obj-jingle-machine.jm-editing .jm-clear { display: inline; }
.obj-jingle-machine.jm-editing .jm-pad:not(.jm-empty) { outline: 1px dashed rgba(255, 255, 255, 0.35); }
.obj-jingle-machine .jm-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; margin-top: 8px; }
.obj-jingle-machine .jm-edit { min-height: 32px; padding: 0 10px; font-size: 11px; }
.jm-c1 { background: linear-gradient(180deg, rgba(243, 156, 18, 0.35), rgba(243, 156, 18, 0.12)) !important; border-color: rgba(243, 156, 18, 0.5) !important; }
.jm-c2 { background: linear-gradient(180deg, rgba(79, 206, 255, 0.32), rgba(79, 206, 255, 0.10)) !important; border-color: rgba(79, 206, 255, 0.5) !important; }
.jm-c3 { background: linear-gradient(180deg, rgba(155, 140, 255, 0.35), rgba(155, 140, 255, 0.12)) !important; border-color: rgba(155, 140, 255, 0.5) !important; }
.jm-c4 { background: linear-gradient(180deg, rgba(69, 232, 132, 0.32), rgba(69, 232, 132, 0.10)) !important; border-color: rgba(69, 232, 132, 0.5) !important; }
.jm-c5 { background: linear-gradient(180deg, rgba(255, 107, 107, 0.38), rgba(255, 107, 107, 0.14)) !important; border-color: rgba(255, 107, 107, 0.6) !important; }
.jm-c6 { background: linear-gradient(180deg, rgba(230, 126, 34, 0.35), rgba(230, 126, 34, 0.12)) !important; border-color: rgba(230, 126, 34, 0.5) !important; }

.obj-jingle-list .jl-search { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 10px; }
.obj-jingle-list .jl-search input { flex: 1; min-height: 40px; border-radius: 9px; border: 1px solid var(--border-light); background: var(--surface-deep); color: var(--text); padding: 6px 10px; font: inherit; }
.obj-jingle-list .jl-groups { flex: 1; min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.obj-jingle-list .jl-fam { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 9px; border-radius: 7px; border: 1px solid var(--border); background: var(--surface-2); display: inline-block; margin: 0 0 6px; }
.obj-jingle-list .jl-fam.jm-c1, .obj-jingle-list .jl-fam.jm-c2, .obj-jingle-list .jl-fam.jm-c3, .obj-jingle-list .jl-fam.jm-c4, .obj-jingle-list .jl-fam.jm-c5, .obj-jingle-list .jl-fam.jm-c6 { color: var(--text-bright); }
.obj-jingle-list .jl-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.obj-jingle-list .jl-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; min-height: 40px; border-radius: 8px; background: var(--surface-deep); border: 1px solid var(--border); font-size: 13px; cursor: grab; }
.obj-jingle-list .jl-item:active { cursor: grabbing; }
.obj-jingle-list .jl-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-bright); }
.obj-jingle-list .jl-none { padding: 12px; text-align: center; }

/* ── Objecten: news / program / monitoring-strip / stream-player / show-notes ── */

.obj-news .nw-top { display: flex; align-items: center; gap: 14px; }
.obj-news .nw-count { font-size: clamp(30px, 3vw, 40px); font-weight: 800; color: var(--accent-2); font-variant-numeric: tabular-nums; line-height: 1; }
.obj-news .nw-count.nw-soon { color: var(--warn); }
.obj-news .nw-lbl { display: flex; flex-direction: column; font-size: 12px; }
.obj-news .nw-lbl b { font-family: var(--mono); font-size: 18px; color: var(--text-bright); }
.obj-news .nw-items { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.obj-news .nw-items li { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 9px; background: var(--surface-deep); border: 1px solid var(--border); }
.obj-news .nw-items li span:nth-child(2) { flex: 1; }
.obj-news .nw-time { color: var(--accent-2); font-weight: 700; }
.obj-news .nw-foot { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }

.obj-program .pg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.obj-program .pg-card { background: var(--surface-deep); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.obj-program .pg-card small { display: block; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.obj-program .pg-name { font-size: 18px; font-weight: 800; color: var(--text-bright); }
.obj-program .pg-host { font-size: 13px; margin-top: 2px; }
.obj-program .pg-desc { font-size: 13px; margin: 6px 0 0; }

.obj-monitoring-strip .ms-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.obj-monitoring-strip .ms-item { display: grid; grid-template-columns: 12px 1fr; gap: 4px 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--surface-deep); border: 1px solid var(--border); }
.obj-monitoring-strip .ms-led { width: 10px; height: 10px; border-radius: 50%; background: #3a4656; grid-row: span 2; }
.obj-monitoring-strip .ms-ok .ms-led { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }
.obj-monitoring-strip .ms-warn .ms-led { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.obj-monitoring-strip .ms-bad .ms-led { background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.obj-monitoring-strip .ms-lbl { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); }
.obj-monitoring-strip .ms-val { font-size: 16px; color: var(--text-bright); }

.obj-stream-player .sp-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }
.obj-stream-player .sp-vol { display: flex; align-items: center; gap: 10px; font-size: 12px; margin-top: 12px; }
.obj-stream-player .sp-vol input { flex: 1; min-height: 44px; }
.obj-stream-player .sp-state { font-size: 12px; margin-top: 8px; }

.obj-show-notes .sn-area { flex: 1; min-height: 160px; width: 100%; resize: vertical; border-radius: 10px; border: 1px solid var(--border-light); background: var(--surface-deep); color: var(--text); padding: 10px 12px; font: inherit; line-height: 1.5; }
.obj-show-notes .sn-foot { display: flex; justify-content: space-between; font-size: 12px; margin-top: 8px; }

/* ── Object: topbar-status ────────────────────────────────────────────────── */

.obj-topbar-status { padding: 10px 16px; }
.obj-topbar-status .tb-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.obj-topbar-status .tb-onair { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 10px; font-weight: 900; letter-spacing: 2px; font-size: 15px; background: var(--surface-2); color: var(--text-dim); }
.obj-topbar-status .tb-onair::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #3a4656; }
.obj-topbar-status .tb-onair.is-onair { background: var(--onair); color: #fff; box-shadow: 0 0 22px rgba(231, 76, 60, 0.45); }
.obj-topbar-status .tb-onair.is-onair::before { background: #fff; box-shadow: 0 0 10px #fff; }
.obj-topbar-status .tb-mode { display: flex; flex-direction: column; line-height: 1.1; font-size: 11px; }
.obj-topbar-status .tb-mode b { font-size: 12px; letter-spacing: 1px; color: var(--accent-2); }
.obj-topbar-status .tb-hour, .obj-topbar-status .tb-chip { display: flex; flex-direction: column; line-height: 1.1; font-size: 11px; }
.obj-topbar-status .tb-chip b, .obj-topbar-status .tb-hour b { font-size: 15px; color: var(--text-bright); }
.obj-topbar-status .tb-clock { margin-left: auto; font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: 1px; font-variant-numeric: tabular-nums; }
.obj-topbar-status .tb-ok { color: var(--accent-2) !important; }
.obj-topbar-status .tb-warn { color: var(--warn) !important; }
.obj-cell > .obj-topbar-status { min-height: 0; }
