/* AlarmCare portaal en superadmin. Rood = urgent actief alarm, oranje = escalatie/waarschuwing, groen = beschikbaar/bevestigd,
   grijs = offline/onbekend. Status staat altijd ook in tekst, nooit alleen in kleur. Geen inline stijlen (CSP). */
:root {
  --red: #c8102e; --red-dark: #8e0b20; --red-soft: #fdecee; --ink: #14213d; --ink-soft: #55627a; --line: #e2e6ec; --bg: #f4f5f7; --side: #23272e;
  --green: #1e8e3e; --green-soft: #e7f5ec; --orange: #b85f00; --orange-soft: #fff3e2; --gray: #6b7280; --gray-soft: #eef0f3; --blue-soft: #eaf1fb;
  --radius: 12px; --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 15.5px; line-height: 1.5; }
a { color: var(--red); }
.icon { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #1f6feb; outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 6px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.side { background: var(--side); color: #d6dae1; padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 21px; padding: 4px 8px 16px; }
.side .brand b { color: #ff5a6e; }
.side .org { padding: 10px; margin: 0 4px 12px; background: rgba(255,255,255,.06); border-radius: 10px; font-size: 13.5px; }
.side .org strong { display: block; color: #fff; font-size: 14.5px; }
.side h6 { margin: 16px 10px 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .8px; color: #8d94a0; }
.side a.item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; color: #d6dae1; text-decoration: none; border-radius: 8px; font-size: 14.5px; }
.side a.item:hover { background: rgba(255,255,255,.07); color: #fff; }
.side a.item[aria-current="page"] { background: var(--red); color: #fff; }
.side a.item .count { margin-left: auto; background: var(--red); color: #fff; border-radius: 10px; padding: 0 7px; font-size: 12px; font-weight: 700; }
.main { min-width: 0; }
.topbar { display: flex; align-items: center; gap: 16px; padding: 14px 28px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar h1 { font-size: 21px; margin: 0; }
.topbar .right { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); }
.topbar form { margin: 0; }
.content { padding: 26px 28px 60px; max-width: 1400px; }
.banner { padding: 12px 28px; font-weight: 600; }
.banner-warn { background: var(--orange-soft); color: #6b3a00; border-bottom: 1px solid #f1d3a6; }
.banner-err { background: var(--red-soft); color: var(--red-dark); border-bottom: 1px solid #f5c2ca; }
.banner-info { background: var(--blue-soft); color: #1d3f72; border-bottom: 1px solid #c9daf2; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.stat .label { color: var(--ink-soft); font-size: 13.5px; display: flex; gap: 6px; align-items: center; }
.stat .value { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.stat.urgent { border-color: #f5c2ca; background: var(--red-soft); }
.stat.urgent .value { color: var(--red-dark); }
.stat.warn { border-color: #f1d3a6; background: var(--orange-soft); }
.stat.ok .value { color: var(--green); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.panel h2 { font-size: 17px; margin: 0 0 14px; display: flex; gap: 8px; align-items: center; }
.panel h2 .actions { margin-left: auto; display: flex; gap: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-main { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }

table.list { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.list th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); padding: 8px 10px; border-bottom: 1px solid var(--line); background: #fafbfc; }
table.list td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.list tr:hover td { background: #fbfbfc; }
table.list td.num, table.list th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }
.empty { color: var(--ink-soft); padding: 18px; text-align: center; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 20px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.b-red { background: var(--red-soft); color: var(--red-dark); }
.b-orange { background: var(--orange-soft); color: var(--orange); }
.b-green { background: var(--green-soft); color: var(--green); }
.b-gray { background: var(--gray-soft); color: var(--gray); }
.b-blue { background: var(--blue-soft); color: #1d4f9a; }

.btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 9px; font-weight: 700; font-size: 14.5px; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; font-family: inherit; line-height: 1.2; background: #fff; color: var(--ink); border-color: #c9cfd9; }
.btn:hover { border-color: var(--ink); }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-danger { color: var(--red-dark); border-color: #f0b7c0; }
.btn-sm { padding: 5px 10px; font-size: 13px; }
.btn-link { background: none; border: 0; color: var(--red); padding: 0; font-weight: 600; cursor: pointer; font: inherit; }

form.stack { display: grid; gap: 14px; }
form.inline { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.field label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 14px; }
.field .hint { color: var(--ink-soft); font-size: 13px; margin-top: 3px; }
input:not([type]), input[type=text], input[type=tel], input[type=url], input[type=email], input[type=password], input[type=number], input[type=search], input[type=time], input[type=date], input[type=file], select, textarea {
  width: 100%; padding: 9px 11px; border: 1.5px solid #c9cfd9; border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
textarea { min-height: 100px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.checks-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.alert { border-radius: 10px; padding: 11px 15px; margin: 0 0 16px; font-weight: 600; }
.alert-ok { background: var(--green-soft); color: #145c29; }
.alert-err { background: var(--red-soft); color: var(--red-dark); }
.alert-info { background: var(--blue-soft); color: #1d3f72; }
.alert-warn { background: var(--orange-soft); color: #6b3a00; }
.muted { color: var(--ink-soft); }
.small { font-size: 13px; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; }
.code-big { font-family: ui-monospace, Consolas, monospace; font-size: 30px; font-weight: 800; letter-spacing: 3px; }
.qr { width: 230px; height: 230px; }
.qr svg { width: 100%; height: 100%; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
dl.kv dt { color: var(--ink-soft); }
dl.kv dd { margin: 0; font-weight: 600; }
meter { width: 100%; height: 12px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs a { padding: 9px 14px; text-decoration: none; color: var(--ink-soft); font-weight: 600; border-bottom: 3px solid transparent; }
.tabs a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 8px 0 8px 18px; border-left: 2px solid var(--line); position: relative; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--gray); }
.timeline li.k-geaccepteerd::before, .timeline li.k-afgehandeld::before { background: var(--green); }
.timeline li.k-geescaleerd::before, .timeline li.k-geen_online_ontvanger::before { background: var(--orange); }
.timeline li.k-ontvangen::before { background: var(--red); }
.tree { list-style: none; padding-left: 18px; margin: 0; }
.tree > li { padding: 4px 0; }
.floorplan { max-width: 100%; border: 1px solid var(--line); border-radius: 8px; }

/* Alarmcentrale */
.ac-state { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.ac-alarm { border: 2px solid var(--line); border-left-width: 8px; border-radius: 12px; background: #fff; padding: 14px 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; }
.ac-alarm + .ac-alarm { margin-top: 12px; }
.ac-alarm.p-urgent { border-color: #f5c2ca; border-left-color: var(--red); }
.ac-alarm.p-escalated { border-color: #f1d3a6; border-left-color: var(--orange); }
.ac-alarm.p-accepted { border-left-color: var(--green); }
.ac-alarm.test { border-style: dashed; }
.ac-alarm h3 { margin: 0; font-size: 19px; display: flex; gap: 10px; align-items: center; }
.ac-alarm .meta { color: var(--ink-soft); font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.ac-alarm .elapsed { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.fullscreen .side, .fullscreen .topbar .right { display: none; }
.fullscreen .shell { grid-template-columns: 1fr; }
.fullscreen .content { max-width: none; }
.fullscreen .ac-alarm h3 { font-size: 24px; }

/* Inloggen en installatie */
.auth { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px 16px; background: linear-gradient(160deg, #fff 0%, var(--bg) 60%); }
.auth-card { width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: 0 10px 30px rgba(20,33,61,.08); }
.auth-card.wide { max-width: 760px; }
.auth-card .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 24px; color: var(--ink); text-decoration: none; margin-bottom: 18px; }
.auth-card .brand b { color: var(--red); }
.auth-card h1 { font-size: 22px; margin: 0 0 6px; }
.auth-card p.sub { color: var(--ink-soft); margin: 0 0 18px; }
.steps-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.steps-bar span { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.steps-bar span.on { background: var(--red); }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-family: ui-monospace, Consolas, monospace; font-size: 16px; background: var(--bg); padding: 12px; border-radius: 8px; }
.req { list-style: none; padding: 0; margin: 0; }
.req li { padding: 6px 0; display: flex; gap: 10px; border-bottom: 1px solid var(--line); }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-main, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .grid-2, .row-2, .row-3, .row-4 { grid-template-columns: 1fr; }
  .content { padding: 18px 14px 50px; }
  .topbar { padding: 12px 14px; }
}
@media print { .side, .topbar form, .btn { display: none !important; } .shell { display: block; } body { background: #fff; } }
/* Inspringing per diepte in de locatieboom (geen inline styles vanwege CSP). */
.d1 { padding-left: 18px !important; } .d2 { padding-left: 36px !important; } .d3 { padding-left: 54px !important; } .d4 { padding-left: 72px !important; }
.d5, .d6, .d7, .d8 { padding-left: 90px !important; }
.color-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; margin-right: 6px; }
.c-rood { background: #d71920; } .c-oranje { background: #f08a00; } .c-blauw { background: #1f6fd1; } .c-groen { background: #1f9d55; } .c-grijs { background: #8a94a3; }
details.inline-edit summary { cursor: pointer; color: var(--red); font-weight: 600; }
details.inline-edit[open] { margin-top: 8px; }
.print-only { display: none; }
@media print { .side, .topbar, .no-print { display: none !important; } .print-only { display: block; } .main { padding: 0 !important; } }
.menu-btn { display: none; }
@media (max-width: 800px) {
  .menu-btn { display: inline-flex; }
  .side .item, .side h6, .side .org { display: none; }
  body.menu-open .side .item, body.menu-open .side h6, body.menu-open .side .org { display: flex; }
  body.menu-open .side h6, body.menu-open .side .org { display: block; }
}
pre { background: var(--bg); padding: 10px 12px; border-radius: 8px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
.auth-card.install { max-width: 900px; }
.auth-card.install h2 { font-size: 17px; margin: 22px 0 8px; }
fieldset.field { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
fieldset.field legend { font-weight: 700; padding: 0 6px; }
/* TV-displays: voorbeeld van het scherm in het portaal. */
.code-input { font-size: 22px; letter-spacing: 3px; text-transform: uppercase; max-width: 260px; }
.bgthumb { width: 100%; max-width: 360px; border-radius: 8px; border: 1px solid var(--line); }
.tvprev { background: #0f1b2d; color: #fff; border-radius: 12px; padding: 14px 16px; aspect-ratio: 16 / 9; display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.tvprev-top { display: flex; justify-content: space-between; font-size: 13px; opacity: .85; font-weight: 700; }
.tvprev-idle { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 18px; opacity: .8; text-align: center; }
.tvprev-card { flex: 1; background: #c8102e; border-radius: 10px; padding: 12px 16px; }
.tvprev-title { font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.tvprev-place { font-size: 16px; margin: 2px 0 10px; opacity: .95; }
.tvprev-kv { display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; margin: 0; font-size: 13px; }
.tvprev-kv dt { opacity: .8; }
.tvprev-kv dd { margin: 0; font-weight: 700; }
.tvprev-ticker { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; background: rgba(255,255,255,.08); border-radius: 8px; padding: 6px 10px; }
.tvprev-ticker span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; margin-right: 6px; }
.tvprev-ticker span.open::before { background: #e5484d; }
/* Kaartweergave en kaarteditor (Central 05) */
.me { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; margin: 14px 0; }
.me-map { position: relative; height: 70vh; min-height: 420px; background: #e9edf2; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.me-side { display: flex; flex-direction: column; gap: 10px; }
.me-box { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0; }
.me-box label { display: block; font-size: 13.5px; margin: 6px 0; }
.me-box input, .me-box select { width: 100%; }
.me-box h3 { margin: 0 0 6px; font-size: 14.5px; }
.me-modes { display: flex; gap: 14px; }
.me-list { max-height: 30vh; overflow: auto; padding-left: 18px; }
.me-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.text-err { color: var(--red-dark); }
@media (max-width: 1000px) { .me { grid-template-columns: 1fr; } }
.acm { width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; user-select: none; }
.acm-tools { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 4px; }
.acm-tools button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid #9aa6b5; background: #fff; font-size: 18px; cursor: pointer; }
.acm-o rect { fill: #fff; stroke: #23324a; stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.acm-o text { fill: #23324a; font-weight: 700; font-family: inherit; pointer-events: none; }
.acm-o text.acm-name { fill: #12203a; paint-order: stroke; stroke: #fff; stroke-width: 3px; font-weight: 600; }
.acm-k-aed rect { fill: #1e8e3e; stroke: #fff; } .acm-k-aed text { fill: #fff; }
.acm-k-nooduitgang rect { fill: #1e8e3e; stroke: #fff; } .acm-k-nooduitgang text { fill: #fff; }
.acm-k-camera rect { fill: #33415c; stroke: #fff; } .acm-k-camera text { fill: #fff; }
.acm-k-verzamelplaats rect { fill: #ffd24d; }
polygon.acm-o { fill: rgba(31, 95, 191, .12); stroke: #1f5fbf; vector-effect: non-scaling-stroke; }
polyline.acm-o { fill: none; stroke: #6b7280; vector-effect: non-scaling-stroke; }
polyline.acm-k-wandelpad { stroke-dasharray: 6 4; }
.acm-shape-label { fill: #1d3f72; font-weight: 700; text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 3px; pointer-events: none; }
.acm-temp-line { fill: none; stroke: #c8102e; stroke-dasharray: 5 3; vector-effect: non-scaling-stroke; }
.acm-temp-dot { fill: #c8102e; }
.acm-m .acm-dot { fill: #6b7280; stroke: #fff; }
.acm-m-ijk .acm-dot { fill: #7c3aed; }
.acm-m text { fill: #12203a; font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 3px; }
.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.qr-card { border: 1px dashed var(--line); border-radius: 10px; padding: 12px; margin: 0; text-align: center; break-inside: avoid; }
.qr-card svg { width: 180px; height: 180px; }
@media print { .qr-card { border-color: #999; } }

/* Lokale meldkamer (AlarmCare Local) */
.local-gw { margin: 4px 0 6px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.local-cloud { font-size: .9rem; padding: 8px 10px; border-radius: 8px; margin: 0 0 14px; }
.local-cloud.ok { background: #e8f6ee; color: #155d36; }
.local-cloud.off { background: #fff4e0; color: #7a4a00; }
.local-open { font-size: 1.15rem; font-weight: 700; padding: 10px 12px; border-radius: 8px; background: #f2f4f8; }
body.l-alarm .local-open { background: #b3261e; color: #fff; }
.code-big { font-size: 1.8rem; letter-spacing: .08em; font-weight: 700; margin: 8px 0; }
.panel > form.inline + form { margin-top: 14px; }
/* AlarmCare Personal: eigen, lichtere omgeving */
body.personal .side { background: #fff; color: var(--ink); border-right: 1px solid var(--line); }
body.personal .side .brand { color: var(--ink); }
body.personal .side .brand b { color: var(--red); }
body.personal .side .org { background: #f5f6f8; color: var(--ink-soft); }
body.personal .side .org strong { color: var(--ink); }
body.personal .side h6 { color: #8a919c; }
body.personal .side a.item { color: var(--ink); }
body.personal .side a.item:hover { background: #f1f3f6; color: var(--ink); }
body.personal .side a.item[aria-current="page"] { background: var(--red); color: #fff; }
.panel.alarm-now { border: 2px solid var(--red); background: var(--red-soft); }
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.inline-actions form.inline { display: inline-flex; }
td.nowrap { white-space: nowrap; }
td.nowrap .btn + .btn { margin-left: 6px; }
.inline-form { display: inline; margin: 0; }
.steps-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.steps-list li { display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.steps-list li.done { background: #f6fbf7; }
.feature-steps { padding-left: 20px; display: grid; gap: 6px; }
.soon-badge { display: inline-block; font-size: 12px; font-weight: 700; color: #6b4300; background: #fff6e8; border: 1px solid #f3d29c; border-radius: 999px; padding: 1px 8px; }
.mini-map { position: relative; height: 280px; background: #e6eaee; overflow: hidden; border-radius: 10px; }
.mini-map .tiles { position: absolute; left: 0; top: 0; }
.mini-map .tiles img { position: absolute; width: 256px; height: 256px; }
.mini-map .pin { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--red); border: 4px solid #fff; box-shadow: 0 0 0 6px rgba(200,16,46,.25); }
.mini-map .acc { position: absolute; border-radius: 50%; background: rgba(200,16,46,.12); border: 1px solid rgba(200,16,46,.4); }
.mini-map .acc[hidden] { display: none; }
.mini-map .zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.mini-map .zoom button { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #c9d1d9; background: #fff; font-size: 20px; line-height: 1; font-weight: 700; color: var(--ink, #1b1f24); cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.mini-map .zoom button:hover:not(:disabled) { background: #f2f4f6; }
.mini-map .zoom button:disabled { opacity: .4; cursor: default; }
.mini-map .zoom button:focus-visible { outline: 3px solid var(--red); outline-offset: 1px; }
dl.faq dt { font-weight: 700; margin-top: 10px; }
dl.faq dd { margin: 2px 0 0; color: var(--ink-soft); }

/* Alarmgeluid (AlarmCare Audio Engine, particulier) */
.audio-status { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: #9aa4ae; display: inline-block; flex: none; }
.dot.live { background: var(--red); animation: acpulse 1.2s infinite; }
.dot.local { background: #e08a00; }
.dot.done { background: #1f9d55; }
@keyframes acpulse { 0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .5); } 70% { box-shadow: 0 0 0 10px rgba(200, 16, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); } }
.audio-clock { font: 600 24px/1.2 ui-monospace, Consolas, monospace; margin: 0 0 8px; }
.audio-rec { border-top: 1px solid #e4e8ec; padding-top: 10px; margin-top: 10px; }
.audio-rec p { margin: 0 0 8px; }
.audio-player { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.audio-player [data-seek] { flex: 1 1 200px; accent-color: var(--red); }
.audio-time { font-variant-numeric: tabular-nums; font-size: 14px; white-space: nowrap; }
.audio-vol { display: inline-flex; align-items: center; gap: 6px; }
.audio-vol input { width: 90px; accent-color: var(--red); }
.audio-vol svg { width: 18px; height: 18px; }
.ok-text { color: #1f7a45; }
.err-text { color: var(--red); }
@media (prefers-reduced-motion: reduce) { .dot.live { animation: none; } }
[hidden] { display: none !important; }
.input-sm { max-width: 90px; }
