/* Live-Dashboards */
.lv-head { padding-top: 28px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lv-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0; }
.lv-head p { margin: 0; }
.lv-head p.live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-right: 8px; }

.tabs { display: flex; gap: 2px; margin: 20px 0 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
.tabs button {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: none; border: 0; color: var(--muted); font: 600 .98rem/1 var(--font);
  padding: 12px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--c, var(--dial)); }
.tabs button .count { font: 400 .78rem/1 var(--mono); color: var(--dim); }

.panel { padding: 24px 0 56px; }
.panel h2 { font-size: 1.3rem; margin: 26px 0 12px; }
.panel h2:first-child { margin-top: 0; }
.panel-intro { color: var(--muted); max-width: 70ch; }
.cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; }
.tbl-filter input { width: min(360px, 100%); margin-bottom: 10px; }
.el-tools { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.el-tools input[type="checkbox"] { accent-color: var(--dial); width: 16px; height: 16px; vertical-align: -3px; }

/* eine Reihe mit fester Hoehe: kommen Stationen dazu, rutscht nichts darunter; mehr Karten seitlich wischen/scrollen */
.onair-list { display: flex; flex-wrap: nowrap; gap: 8px; min-height: 70px; align-items: flex-start; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.onair-list::-webkit-scrollbar { display: none; }
/* BrandMeister und FM-Funknetz: immer zwei feste Reihen, weitere Karten per Scrollen in der Liste */
#bm-active, #fm-active { flex-wrap: wrap; align-content: flex-start; height: 148px; overflow-x: hidden; overflow-y: auto;
  -webkit-mask-image: none; mask-image: none; }
.onair-card {
  flex: none; white-space: nowrap;
  display: flex; flex-direction: column; gap: 2px; padding: 9px 14px; border-radius: var(--r-s);
  border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 10%, var(--panel));
}
.onair-card .call { font-size: 1.05rem; display: inline-flex; gap: 8px; align-items: center; }
.onair-card .call::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--err); animation: blink 1.1s steps(2, end) infinite; }
.onair-card small { color: var(--muted); }
.onair-none { color: var(--dim); padding: 10px 0; }

/* Balken: eine Reihe = eine Sprechgruppe, Wert direkt beschriftet */
.bars { display: grid; gap: 6px; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 10px; align-items: center; font-size: .9rem; }
.bar-label { display: flex; gap: 8px; min-width: 0; }
.bar-label .mono { flex: none; }
.bar-label span:last-child { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { grid-column: 1; height: 8px; border-radius: 0 4px 4px 0; background: color-mix(in srgb, var(--line) 40%, transparent); }
.bar-track b { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--c); }
.bar-val { grid-row: 1 / span 2; grid-column: 2; text-align: right; font: 600 .9rem/1 var(--mono); }

/* Uebersicht */
.ov-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.ov { padding: 20px 22px; background: var(--panel); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ov:nth-child(3n) { border-right: 0; }
.ov:nth-last-child(-n+3) { border-bottom: 0; }
.ov h2 { margin: 0; font-size: 1.15rem; display: flex; align-items: center; gap: 9px; }
.ov h2 i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.ov .big { font: 600 2.1rem/1.1 var(--font-head); }
.ov .big small { font: 400 .95rem/1.2 var(--font); color: var(--muted); margin-left: 6px; }
.ov ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: .9rem; }
.ov li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-top: 1px dashed color-mix(in srgb, var(--line) 70%, transparent); }
.ov li span:last-child { color: var(--muted); font-family: var(--mono); font-size: .82rem; white-space: nowrap; }
.ov li.pad { visibility: hidden; }
.ov a.more { margin-top: auto; padding-top: 8px; font-size: .9rem; }
.ov.err .big { color: var(--muted); font-size: 1.1rem; }

.badge-busy { color: var(--text); font-weight: 600; }
.badge-busy::before { content: "● "; color: var(--err); }

@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; gap: 8px; }
  .ov-grid { grid-template-columns: 1fr; }
  .ov { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .ov:last-child { border-bottom: 0 !important; }
}
