:root {
  color-scheme: dark;
  --ink: #e9f2fb;
  --muted: #8fa7bc;
  --panel: #101c27;
  --line: #263846;
  --cyan: #46d7d1;
  --blue: #5a8cff;
  --amber: #ffbd5a;
  --bg: #081119;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .23; background-image: linear-gradient(rgba(70,215,209,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(70,215,209,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black, transparent 70%); }
.topbar { height: 76px; padding: 0 max(24px, calc((100vw - 1440px)/2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(8,17,25,.9); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(14px); }
.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--cyan); color: var(--cyan); font: 700 13px ui-monospace, monospace; clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%); }
.brand div { display: grid; gap: 2px; } .brand strong { font-size: 16px; letter-spacing: .02em; } .brand span:last-child { color: var(--muted); font-size: 12px; }
.connection { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 5px rgba(255,189,90,.09); }
.connection.online .pulse { background: var(--cyan); box-shadow: 0 0 0 5px rgba(70,215,209,.09); }
main { position: relative; max-width: 1440px; margin: auto; padding: 46px 24px 28px; }
.intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 34px; }
.intro h1 { max-width: 780px; margin: 4px 0 10px; font-size: clamp(32px, 4.5vw, 58px); line-height: 1.02; letter-spacing: -.045em; }
.intro p:not(.eyebrow) { color: var(--muted); max-width: 680px; margin: 0; font-size: 17px; line-height: 1.6; }
.eyebrow { margin: 0; color: var(--cyan); font: 700 12px/1.5 ui-monospace, monospace; letter-spacing: .14em; }
button { border: 1px solid var(--cyan); background: rgba(70,215,209,.08); color: var(--ink); font: inherit; font-weight: 700; padding: 13px 18px; cursor: pointer; transition: .2s ease; white-space: nowrap; }
button:hover, button:focus-visible { background: var(--cyan); color: #071015; outline: none; transform: translateY(-1px); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-bottom: 22px; background: rgba(16,28,39,.72); }
.metrics article { padding: 22px; min-height: 132px; display: grid; align-content: space-between; border-right: 1px solid var(--line); }
.metrics article:last-child { border-right: 0; }.metrics span,.metrics small { color: var(--muted); }.metrics strong { font: 500 38px/1 ui-monospace, monospace; }.metrics small { font-size: 12px; }
.workspace { min-height: 570px; display: grid; grid-template-columns: minmax(290px, .78fr) minmax(0, 2fr); border: 1px solid var(--line); background: rgba(16,28,39,.72); }
.event-list { border-right: 1px solid var(--line); min-width: 0; }.section-heading { min-height: 84px; padding: 17px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }.section-heading h2 { margin: 2px 0 0; font-size: 19px; }.section-heading > span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font: 12px ui-monospace, monospace; white-space: nowrap; }
.events { max-height: 650px; overflow: auto; }.event { width: 100%; text-align: left; display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; border: 0; border-bottom: 1px solid var(--line); padding: 17px 18px; background: transparent; color: inherit; }.event:hover,.event:focus-visible,.event.active { background: rgba(70,215,209,.08); transform: none; color: inherit; outline: none; }.event .seq { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--cyan); font: 12px ui-monospace, monospace; }.event strong,.event small { display: block; }.event strong { font-size: 14px; }.event small { color: var(--muted); margin-top: 4px; }.event .totals { color: var(--muted); font: 12px ui-monospace, monospace; }
.detail { min-width: 0; }.empty { min-height: 480px; display: grid; place-content: center; justify-items: center; text-align: center; padding: 30px; }.empty[hidden] { display: none; }.empty h3 { margin: 24px 0 8px; }.empty p { max-width: 440px; color: var(--muted); line-height: 1.55; margin: 0; }.radar { width: 104px; height: 104px; border: 1px solid var(--line); border-radius: 50%; position: relative; background: radial-gradient(circle, transparent 25%, var(--line) 26%, transparent 27%, transparent 49%, var(--line) 50%, transparent 51%); }.radar::before,.radar::after { content: ""; position: absolute; background: var(--line); }.radar::before { width: 1px; inset: 0 auto 0 50%; }.radar::after { height: 1px; inset: 50% 0 auto; }.radar i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); top: 29%; left: 65%; box-shadow: 0 0 14px var(--cyan); }
.detail-content { padding: 20px; }.location-card { padding: 20px; border: 1px solid var(--line); background: linear-gradient(120deg, rgba(90,140,255,.12), rgba(70,215,209,.04)); display: flex; justify-content: space-between; gap: 20px; margin-bottom: 20px; }.location-card strong { font: 500 23px ui-monospace, monospace; }.location-card span { color: var(--muted); }.data-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }.data-grid section { min-width: 0; }.data-grid h3 { margin: 0 0 10px; font-size: 15px; display: flex; justify-content: space-between; }.data-grid h3 span { color: var(--cyan); font-family: ui-monospace, monospace; }.records { display: grid; gap: 8px; max-height: 470px; overflow: auto; }.record { border: 1px solid var(--line); padding: 13px; background: rgba(8,17,25,.48); }.record strong { font-size: 14px; word-break: break-word; }.record p { color: #c5d5e3; margin: 8px 0; line-height: 1.45; word-break: break-word; }.record small { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }.no-records { color: var(--muted); padding: 18px 0; }
footer { max-width: 1440px; margin: auto; padding: 2px 24px 26px; display: flex; justify-content: space-between; color: var(--muted); font: 12px ui-monospace, monospace; }
.map-panel { min-height: 310px; border: 1px solid var(--line); margin: 0 0 20px; background: #0a141d; display: grid; place-items: center; color: var(--muted); }
.map-panel iframe { width: 100%; height: 310px; border: 0; filter: saturate(.8) contrast(1.05); }
.audio-section { margin: 0 0 20px; }.audio-section h3 { display: flex; justify-content: space-between; font-size: 15px; }.audio-section h3 span { color: var(--cyan); font-family: ui-monospace, monospace; }
.audio-records { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 10px; }.audio-record { border: 1px solid var(--line); padding: 15px; background: rgba(8,17,25,.48); }.audio-record strong,.audio-record small { display:block; }.audio-record small { color: var(--muted); margin: 5px 0 12px; }.audio-record audio { width: 100%; }.audio-record.denied { border-color: rgba(255,189,90,.55); }
.compat-section { margin: 0 0 20px; border: 1px solid rgba(70,215,209,.45); padding: 16px; background: rgba(70,215,209,.04); }
.compat-section h3 { margin: 0 0 12px; font-size: 15px; }.compat-endpoint { color: var(--cyan); font: 14px ui-monospace, monospace; }
.compat-fields { display: grid; grid-template-columns: minmax(110px,.35fr) 1fr; gap: 5px 14px; margin: 14px 0 0; font: 12px/1.5 ui-monospace, monospace; }
.compat-fields dt { color: var(--muted); }.compat-fields dd { margin: 0; overflow-wrap: anywhere; }.compat-file { display: block; color: var(--cyan); margin-top: 10px; }
.console-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.console-head h1 { margin: 4px 0 7px; font-size: clamp(30px,4vw,48px); letter-spacing: -.04em; }.console-head p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; }.tab { border-color: var(--line); background: rgba(16,28,39,.72); }.tab span { margin-left: 8px; color: var(--cyan); font-family: ui-monospace,monospace; }.tab.active { background: var(--cyan); color: #071015; border-color: var(--cyan); }.tab.active span { color: #071015; }
.evidence-surface { min-height: 570px; border: 1px solid var(--line); background: rgba(16,28,39,.72); }.surface-heading { min-height: 86px; padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 18px; }.surface-heading h2 { margin: 2px 0 0; font-size: 21px; }.surface-heading > span { color: var(--muted); font: 12px ui-monospace,monospace; }
.view { display: none; padding: 22px; }.view.active { display: block; }.record-grid,.audio-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 12px; }.record-grid.compact { margin-top: 14px; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); }
.record-card,.audio-card { min-width: 0; border: 1px solid var(--line); padding: 17px; background: rgba(8,17,25,.5); }.record-card h3,.audio-card h3 { margin: 5px 0 9px; font-size: 18px; overflow-wrap: anywhere; }.record-label { margin: 0; color: var(--cyan); font: 700 11px/1.4 ui-monospace,monospace; letter-spacing: .1em; }.record-value,.record-note { margin: 6px 0; color: #c5d5e3; overflow-wrap: anywhere; }.record-note { color: var(--muted); font-size: 14px; }.message-body { min-height: 54px; line-height: 1.5; overflow-wrap: anywhere; }
.meta { display: grid; gap: 4px; margin-top: 14px; color: var(--muted); font: 12px/1.4 ui-monospace,monospace; }.meta .source { color: #c5d5e3; }.meta code { color: var(--muted); overflow-wrap: anywhere; }
.audio-card audio { width: 100%; margin: 8px 0 10px; }.audio-card.denied { border-color: rgba(255,189,90,.55); }.download-link { color: var(--cyan); font-size: 14px; }.location-row { display: grid; text-align: left; gap: 7px; border-color: var(--line); background: rgba(8,17,25,.5); white-space: normal; }.location-row span { color: var(--muted); font-size: 13px; }.location-row.selected { border-color: var(--cyan); background: rgba(70,215,209,.08); color: var(--ink); }
.call-recordings { display: grid; gap: 10px; margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line); }.call-recording { min-width: 0; padding: 13px; border: 1px solid rgba(70,215,209,.38); background: rgba(70,215,209,.04); }.call-recording.denied { border-color: rgba(255,189,90,.55); }.call-recording audio { display: block; width: 100%; margin: 9px 0 10px; }
@media (max-width: 900px) { .metrics { grid-template-columns: 1fr 1fr; }.metrics article { border-bottom: 1px solid var(--line); }.metrics article:nth-child(2n) { border-right: 0; }.workspace { grid-template-columns: 1fr; }.event-list { border-right: 0; border-bottom: 1px solid var(--line); }.events { max-height: 280px; }.data-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .topbar { height: 66px; padding: 0 16px; }.brand span:last-child { display: none; }.connection { font-size: 12px; } main { padding: 30px 14px 20px; }.intro { align-items: stretch; flex-direction: column; }.intro h1 { font-size: 36px; }.metrics { grid-template-columns: 1fr 1fr; }.metrics article { min-height: 112px; padding: 16px; }.metrics strong { font-size: 30px; }.data-grid { grid-template-columns: 1fr; }.location-card { flex-direction: column; } footer { padding: 2px 14px 22px; flex-direction: column; gap: 7px; } }
