:root { color-scheme: dark; --bg: #0f1115; --panel: #171a21; --line: #2a2f3a; --text: #e6e8ee; --muted: #9aa3b2; --accent: #6cb4ff; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 14px/20px system-ui, -apple-system, "Segoe UI", sans-serif; }
#app { height: 100%; }
.boot { padding: 24px; color: var(--muted); }
.shell { display: grid; grid-template-rows: auto 1fr auto; height: 100%; }
.bar { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding: 8px 12px; background: var(--panel); border-bottom: 1px solid var(--line); }
.bar h1 { font-size: 15px; margin: 0 8px 0 0; font-weight: 600; }
.bar label { color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.bar select, .bar button, .bar input[type=file]::file-selector-button { background: #222734; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font: inherit; cursor: pointer; }
.bar button:hover, .bar select:hover { border-color: var(--accent); }
.bar .group { display: inline-flex; gap: 6px; align-items: center; }
.view { position: relative; min-height: 0; }
.status { padding: 6px 12px; color: var(--muted); background: var(--panel); border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status .error { color: #ff8f8f; }
.shell.embed { grid-template-rows: 0 1fr 0; }
.shell.embed .bar, .shell.embed .status { visibility: hidden; height: 0; padding: 0; border: 0; overflow: hidden; }
/* annotations=1: hotspots positioned over the canvas by the WebGPU executor. */
.hotspot { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--text); font: 12px/16px system-ui, sans-serif; cursor: pointer; }
.hotspot .dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(15, 17, 21, .78); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); font-weight: 600; }
.crowd-name { display: inline-block; padding: 1px 5px; border-radius: 3px; background: rgba(15, 17, 21, .6); color: #fff; font: 11px/14px system-ui, sans-serif; white-space: nowrap; pointer-events: none; }
.hotspot.open .dot, .hotspot:hover .dot { background: var(--accent); color: #0f1115; }
.hotspot .label { position: absolute; left: 28px; padding: 2px 8px; border-radius: 4px; background: rgba(15, 17, 21, .85); white-space: nowrap; }
/* /example/telemetry (Pages/TelemetryExample.razor) */
.example { display: grid; grid-template-columns: 1fr 360px; height: 100%; }
.example-view { position: relative; min-height: 0; }
.example-side { overflow: auto; padding: 8px 12px; background: var(--panel); border-left: 1px solid var(--line); }
.example-side h2 { font-size: 13px; margin: 12px 0 4px; color: var(--muted); }
.example-side .warning { color: #ffd27f; } .example-side .error { color: #ff8f8f; }
