/* Design tokens: camera-simulator/docs/UI_DESIGN_TOKENS.md · guardrails: docs/UI_GUARDRAILS.md */
:root {
  color-scheme: dark;
  --bg: #06080d;
  --panel: #0d121a;
  --panel-soft: #121923;
  --line: #1e2836;
  --line-strong: #334155;
  --text: #f3f7fb;
  --muted: #8b98a8;
  --green: #2ee29a;
  --green-soft: rgba(46, 226, 154, .12);
  --amber: #f4bc5d;
  --red: #ff6577;
  --color-primary: var(--green);
  --color-warning: var(--amber);
  --color-error: var(--red);
  --color-surface: var(--panel);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --touch-min: 44px;
  --font-body: 1rem;
  --radius: 14px;
  --radius-control: 8px;
  --shadow: 0 18px 48px rgba(0, 0, 0, .38);
  font-family: "Segoe UI Variable", Inter, ui-sans-serif, "Segoe UI", sans-serif;
  letter-spacing: .01em;
  font-size: var(--font-body);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--green);
  color: #04120b;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.component-launch { display: inline-block !important; margin-left: auto; font-size: .875rem; }
.key-cad-parts { margin-bottom: 16px; padding: 16px; border: 1px solid #374c63; border-radius: 12px; background: #101c29; }
.key-cad-parts h2 { margin: 0 0 5px; font-size: 1rem; }
.key-cad-parts > p { margin: 0 0 12px; color: #b2c3d6; font-size: .875rem; line-height: 1.5; }
.key-cad-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.key-cad-links a { display: grid; gap: 6px; padding: 12px; border: 1px solid #3d5670; border-radius: 8px; background: #142334; color: #edf5ff; text-decoration: none; font-size: .875rem; line-height: 1.4; }
.key-cad-links a:hover { border-color: #a9ceff; background: #1c334b; }
.key-cad-links small, .component-part-number { display: block; color: #9fbedb; font: .8125rem/1.5 ui-monospace, monospace; }
.component-cad-info { padding: 12px; border: 1px solid #425c76; background: #142333; border-radius: 8px; margin: 12px 0; }
.component-cad-info[hidden] { display: none; }
.component-cad-info p { margin: 0; font-size: .875rem; line-height: 1.5; color: #c6d5e5; }
.component-cad-info .component-specs { margin-bottom: 0; }
.component-cad-info dd { overflow-wrap: anywhere; max-width: 100%; }
.component-dialog { width: min(1120px, 96vw); max-height: 92vh; padding: 0; color: var(--text); background: #0e151f; border: 1px solid #405269; border-radius: 16px; box-shadow: 0 30px 100px #0009; }
.component-dialog::backdrop { background: #02060dd9; backdrop-filter: blur(5px); }
.component-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.component-header h2 { margin: 0 0 6px; font-size: 1.2rem; }
.component-header p { margin: 0; color: #b4c2d1; font-size: .875rem; line-height: 1.5; }
.component-workspace { display: grid; grid-template-columns: 280px minmax(0,1fr); }
.component-sidebar { padding: 16px; max-height: 73vh; overflow: auto; border-right: 1px solid var(--line); }
.component-sidebar > button { width: 100%; font-size: .875rem; }
.component-sidebar h3 { margin: 20px 0 8px; color: #b5c8db; font-size: .875rem; line-height: 1.5; }
.component-sidebar a { display: block; padding: 10px 12px; margin: 3px 0; border: 1px solid transparent; border-radius: 7px; color: #c1d9f5; text-decoration: none; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.5; }
.component-sidebar a:hover, .component-sidebar a[aria-current="true"] { background: #192b3b; border-color: #577da0; color: #fff; }
.component-detail { padding: 20px 24px; min-width: 0; max-height: 73vh; overflow: auto; }
.component-detail h3 { margin: 0 0 5px; font-size: 1.05rem; }
.component-object-name { margin: 0 0 14px; font: .8125rem/1.5 ui-monospace, monospace; color: #a9b8c9; overflow-wrap: anywhere; }
.component-preview { position: relative; min-height: 200px; aspect-ratio: 4 / 3; max-height: 380px; background: #1b2532; border: 1px solid #35465b; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.component-preview img { width: 100%; height: 100%; object-fit: contain; }
.component-preview.wide-reference { width: 100%; aspect-ratio: 4; min-height: 120px; max-height: 240px; }
.component-preview.wide-reference img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.component-preview [hidden], .component-actions [hidden] { display: none; }
.component-preview p { position: absolute; margin: 16px; padding: 12px; border-radius: 8px; background: #0a1529ec; text-align: center; max-width: 80%; font-size: 1rem; line-height: 1.5; }
.component-preview[aria-busy="true"] { border-color: var(--green); }
.component-views { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.component-views button { border: 1px solid #3f5369; background: #121d2b; color: #c2d3e5; border-radius: 7px; padding: 8px 12px; font-size: .875rem; }
.component-views button[aria-pressed="true"] { background: #234737; color: #c9f7df; border-color: #54b28b; }
.component-dialog button:disabled { opacity: .45; cursor: not-allowed; }
.component-specs { display: grid; gap: 10px; margin: 16px 0; font-size: .875rem; }
.component-specs > div { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.component-specs dt { color: #a6b7c9; }.component-specs dd { margin: 0; font-variant-numeric: tabular-nums; }
.component-note { color: #a4b6c9; font-size: .875rem; line-height: 1.5; }
.component-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .875rem; }
.component-actions .ghost-button { display: block; }
.component-live-link { color: #a9ceff; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .component-workspace { grid-template-columns: 1fr; }
  .component-sidebar { max-height: 210px; border-right: 0; border-bottom: 1px solid var(--line); }
  .component-detail { max-height: none; padding: 16px; }
  .validator-toolbar { flex-wrap: wrap; gap: 10px; }
  .component-launch { margin-left: 0; }
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
button, input, select { font: inherit; }
.camera-equipment label { display: block; margin: 12px 0 6px; font-size: 14px; }
.camera-equipment select { width: 100%; min-width: 0; padding: 10px; color: #edf4fa; background: #151e29; border: 1px solid #425268; border-radius: 6px; font-size: 14px; }
.camera-equipment p { color: #b4bfcb; font-size: 14px; line-height: 1.5; }
.camera-equipment button { width: 100%; padding: 10px; color: #56f0a4; background: #151e29; border: 1px solid #425268; border-radius: 6px; font-size: 14px; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, article:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.app-shell { min-height: 100vh; background:
  radial-gradient(ellipse 80% 40% at 50% -8%, rgba(46, 226, 154, .08), transparent 50%),
  radial-gradient(circle at 52% 0%, #121b25 0, transparent 33%), var(--bg); }
.topbar { height: 72px; padding: 0 20px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(220px, 300px) 1fr auto; align-items: center; gap: 20px; background: rgba(6, 9, 14, .88); backdrop-filter: blur(22px); position: sticky; top: 0; z-index: 20; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(145deg, #233248, #0b111a); border: 1px solid #344258; display: grid; place-items: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.brand-mark::before { content: ""; width: 18px; height: 13px; border: 2px solid var(--green); border-radius: 3px; }
.brand-mark span { position: absolute; width: 5px; height: 5px; border: 2px solid var(--green); border-radius: 50%; }
.brand h1 { font-size: 1.05rem; margin: 0; letter-spacing: -.02em; font-weight: 720; }
.brand p { color: var(--muted); margin: 3px 0 0; font-size: .72rem; }
.scene-meta { justify-self: center; display: flex; align-items: center; gap: 14px; }
.scene-name { color: #c4cfda; font-size: .86rem; }
.status-pill { border: 1px solid var(--line); color: #aeb9c5; background: #0d131c; padding: 7px 10px; border-radius: 999px; display: flex; gap: 7px; align-items: center; font-size: .76rem; }
.status-dot, .bridge-light { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(244,188,93,.5); }
.status-pill.connected .status-dot, .bridge-light.connected { background: var(--green); box-shadow: 0 0 12px rgba(36,212,131,.6); }
.top-actions { display: flex; gap: 8px; }
.ghost-button, .primary-button, .secondary-button, .apply-button, .icon-button, .add-camera-button { border-radius: var(--radius-control); min-height: var(--touch-min); min-width: var(--touch-min); border: 1px solid var(--line-strong); color: var(--text); background: #111824; padding: 0 var(--space-4); }
.ghost-button:hover, .secondary-button:hover, .icon-button:hover { background: #172130; }
.primary-button, .apply-button { background: var(--green); color: #04120b; border-color: var(--green); font-weight: 750; box-shadow: 0 7px 22px rgba(36,212,131,.16); }
.primary-button:hover, .apply-button:hover { background: #3ce095; }
.primary-button { display: flex; gap: 8px; align-items: center; }
.add-camera-button { display: flex; align-items: center; gap: 6px; color: #bff5d8; border-color: rgba(36,212,131,.42); background: rgba(36,212,131,.1); font-weight: 750; }
.add-camera-button span { font-size: 1.1rem; }.add-camera-button:hover, .add-camera-button.active { color: #06130c; background: var(--green); border-color: var(--green); }
.button-icon { font-size: .7rem; }
.icon-button { width: var(--touch-min); padding: 0; font-size: 1.1rem; }

.connection-strip { min-height: 52px; padding: 8px 18px; display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; color: #dce6ee; background: #151c27; border-bottom: 1px solid var(--line); }
.connection-icon { color: var(--amber); filter: drop-shadow(0 0 6px rgba(244,188,93,.55)); font-size: .72rem; }
.connection-copy { display: grid; gap: 2px; }
.connection-copy strong { font-size: .86rem; }
.connection-copy small { color: #9eabb9; font-size: .76rem; }
.connection-action { min-height: var(--touch-min); padding: 0 var(--space-4); border: 1px solid rgba(36,212,131,.42); border-radius: var(--radius-control); color: #07150e; background: var(--green); font-weight: 750; }
.connection-strip.connected { background: linear-gradient(90deg, rgba(36,212,131,.16), #111a1c); border-bottom-color: rgba(36,212,131,.28); }
.connection-strip.connected .connection-icon { color: var(--green); filter: drop-shadow(0 0 7px rgba(36,212,131,.75)); }
.connection-strip.connected .connection-action { color: #bdf6d8; background: rgba(36,212,131,.08); }

.workspace { height: calc(100vh - 120px); min-height: 690px; display: grid; grid-template-columns: 280px minmax(530px, 1fr) 330px; }
.catalog-panel, .inspector-panel { background: rgba(12,17,25,.96); overflow-y: auto; }
.catalog-panel { border-right: 1px solid var(--line); padding: 18px 14px; }
.inspector-panel { border-left: 1px solid var(--line); padding: 18px 16px 22px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; min-height: 34px; margin-bottom: 14px; }
.eyebrow { margin: 0; color: #9eabb9; font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; }
.selection-count, .ready-badge { color: var(--green); background: var(--green-soft); border: 1px solid rgba(36,212,131,.22); border-radius: 999px; padding: 4px 7px; font-size: .68rem; }
.catalog-note { margin: -4px 0 14px; padding: 9px 10px; color: #b7c8c0; background: rgba(36,212,131,.06); border: 1px solid rgba(36,212,131,.14); border-radius: 8px; font-size: .72rem; line-height: 1.45; }
.model-credit { margin: 12px 0 0; color: #82958c; font-size: .68rem; line-height: 1.45; }
.model-credit a { color: #9adfbf; text-decoration-color: rgba(154,223,191,.45); text-underline-offset: 2px; }
.product-stack { display: grid; gap: 8px; }
.product-card { display: grid; grid-template-columns: 28px 1fr 22px; gap: 8px; align-items: center; min-height: 67px; padding: 10px; background: #0b1018; border: 1px solid var(--line); border-radius: 10px; transition: border-color .16s, background .16s; }
.product-card:hover { border-color: #3a485a; background: #101721; }
.product-card.selected { border-left-color: var(--green); }
.product-index { color: #627083; font-size: .66rem; align-self: start; padding-top: 3px; }
.product-copy { min-width: 0; display: grid; gap: 5px; }
.product-copy strong { font-size: .84rem; }
.product-copy select { width: 100%; min-width: 0; color: #b4bfcb; background: transparent; border: 0; font-size: .72rem; padding: 0; }
.check { color: var(--green); font-size: .8rem; }
.scene-summary { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.summary-title { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 650; }
.table-map { height: 142px; margin: 16px 8px; position: relative; }
.table-shape { position: absolute; left: 20px; right: 20px; top: 25px; height: 90px; border: 5px solid #b38c4c; border-radius: 8px 8px 55px 55px; background: #236f4c; box-shadow: inset 0 0 0 4px #d7c89f; }
.tray { position: absolute; width: 46px; height: 16px; background: #090c11; top: 15px; left: calc(50% - 23px); border-radius: 2px; }
.cup { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #e1b657; box-shadow: inset 0 0 0 2px #6a4112; bottom: 9px; }
.c1 { left: 10%; } .c2 { left: 28%; bottom: 2px; } .c3 { left: 48%; bottom: -1px; } .c4 { left: 68%; bottom: 2px; } .c5 { left: 86%; }
.map-camera { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #4a5a6d; background: #121a25; color: #aab6c4; font-size: .7rem; }
.map-camera.active { color: #06120c; background: var(--green); border-color: var(--green); box-shadow: 0 0 0 4px rgba(36,212,131,.12); }
.cam-one { left: 0; top: 8px; } .cam-two { right: 0; top: 8px; } .cam-three { right: 0; bottom: 4px; }
.scene-stats { margin: 0; display: grid; gap: 8px; }
.scene-stats div { display: flex; justify-content: space-between; gap: 10px; font-size: .72rem; }
.scene-stats dt { color: var(--muted); } .scene-stats dd { margin: 0; color: #c7d1db; text-align: right; }

.monitor-stage { min-width: 0; padding: 18px; overflow: auto; background-image: linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px); background-size: 22px 22px; }
.monitor-toolbar { min-height: 72px; height: auto; display: flex; align-items: start; justify-content: space-between; gap: 20px; flex-wrap:wrap; margin-bottom:12px; }
.monitor-note { color: var(--muted); margin: 5px 0 0; font-size: .75rem; }
.toolbar-controls { display: flex; gap: 12px; align-items: center; }
.switch-label { display: flex; gap: 8px; align-items: center; font-size: .72rem; color: #b4c0cc; }
.switch-label input { position: absolute; opacity: 0; }
.switch { width: 30px; height: 17px; border-radius: 99px; background: #2a3441; position: relative; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #8f9ba9; transition: .15s; }
.switch-label input:checked + .switch { background: rgba(36,212,131,.3); }
.switch-label input:checked + .switch::after { left: 16px; background: var(--green); }
.camera-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.overview-feed { margin-top: 12px; background: var(--panel); border: 1px solid #2c3d50; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.validator-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.validator-toolbar strong, .validator-toolbar .switch-label { font-size: .875rem; }
.switch-label input:focus-visible + .switch { outline: 2px solid #fff; outline-offset: 4px; }
.overview-image { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #05080c; }
.overview-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.95) contrast(1.05) brightness(.92); }
.overview-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(5,8,12,.44), transparent 25%, transparent 74%, rgba(5,8,12,.35)); }
.camera-angle-overlay { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.camera-fov-cone { fill: var(--camera-colour); fill-opacity: .07; stroke: var(--camera-colour); stroke-opacity: .65; stroke-width: .22; stroke-dasharray: 1.2 1; }
.camera-aim-line { stroke: var(--camera-colour); stroke-width: .35; }
.camera-angle-label { fill: var(--camera-colour); stroke: #111820; stroke-width: .4; paint-order: stroke; font: 600 1.8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.overview-topline { position: absolute; z-index: 3; top: 13px; left: 14px; right: 14px; display: flex; justify-content: space-between; font: 700 .73rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.overview-pin { position: absolute; z-index: 5; display: grid; place-items: center; width: 32px; height: 32px; padding: 4px; background: transparent; border: 0; border-radius: 50%; }
.overview-pin .pin-dot { width: 22px; height: 22px; display: grid; place-items: center; color: #111820; background: var(--camera-colour); border: 2px solid #18202b; border-radius: 50%; box-shadow: 0 2px 6px #0008; font-size: .75rem; }
.overview-pin { transform: translate(-50%,-50%); transition: left .25s, top .25s, background .15s; }
.overview-pin:hover .pin-dot, .overview-pin[aria-pressed="true"] .pin-dot { outline: 2px solid var(--camera-colour); outline-offset: 2px; }
.overview-pin:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hide-overview-labels .overview-topline, .hide-overview-labels .table-label, .hide-overview-labels .camera-angle-label { display: none; }
.hide-overview-labels .pin-dot b { visibility: hidden; }
.pin-one { left: 30%; top: 36%; }.pin-two { left: 70%; top: 36%; }.pin-three { left: 70%; top: 62%; }
.table-label { position: absolute; z-index: 4; left: 50%; top: 43.333%; transform: translate(-50%,-50%); padding: 4px 6px; color: #e4e8ec; background: #111820bf; border-radius: 4px; font: 600 .75rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.overview-feed footer { min-height: 54px; padding: 10px 13px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.overview-feed footer > div:first-child { display: grid; gap: 3px; }.overview-feed footer strong { font-size: .83rem; }.overview-feed footer span { color: var(--muted); font-size: .72rem; }
.overview-feed footer { flex-direction: column; align-items: stretch; gap: 10px; }
.overview-feed footer strong { font-size: .875rem; }
.overview-feed footer > div:first-child > span { font-size: .75rem; }
.overview-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.overview-legend button { display: flex; align-items: center; gap: 9px; padding: 9px 10px; text-align: left; background: #101721; border: 1px solid var(--line); border-radius: 8px; color: #e9edf3; }
.overview-legend button[aria-pressed="true"] { border-color: var(--camera-colour); }
.overview-legend button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.overview-legend button > span { display: grid; gap: 4px; }
.overview-legend strong { color: var(--camera-colour); }
.overview-legend small { font-size: .75rem; color: #acb8c7; line-height: 1.4; }
.overview-legend i { width: 10px; height: 10px; flex-shrink: 0; border-radius: 50%; background: var(--camera-colour); }
.overview-feed.rendering .render-scan { display: block; }
.placement-hint { display: none; position: absolute; z-index: 8; inset: 0; place-content: center; justify-items: center; gap: 6px; text-align: center; color: #eafff3; background: rgba(3,9,13,.72); border: 2px dashed rgba(36,212,131,.75); cursor: crosshair; backdrop-filter: blur(2px); }
.placement-hint strong { font-size: 1.05rem; }.placement-hint span { font-size: .86rem; }.placement-hint small { color: #a8b9b1; font-size: .72rem; }
.placing-camera .placement-hint { display: grid; }.placing-camera .overview-image { cursor: crosshair; }.placing-camera .overview-pin, .placing-camera .table-label { opacity: .3; pointer-events: none; }
.camera-feed { min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .16s, transform .16s; }
.camera-feed:hover { transform: translateY(-1px); border-color: #3b4a5d; }
.camera-feed.active { border-color: var(--camera-colour, var(--green)); box-shadow: 0 12px 32px rgba(0,0,0,.24); }
.camera-feed .feed-topline > span:first-child { color: var(--camera-colour, #e9edf3); }
.camera-feed.wide { grid-column: span 2; }
.feed-image { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: #05080c; }
.camera-feed.wide .feed-image { aspect-ratio: 2.75 / 1; }
.feed-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.88) contrast(1.04) brightness(.84); transition: transform .3s, filter .3s; }
.camera-feed.active .feed-image img { filter: saturate(1) contrast(1.06) brightness(.93); }
.view-one img { object-position: 42% 45%; } .view-two img { object-position: 58% 46%; } .view-three img { object-position: center 54%; }
.feed-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(5,8,12,.35), transparent 24%, transparent 72%, rgba(5,8,12,.52)); pointer-events: none; }
.feed-topline { position: absolute; z-index: 3; top: 10px; left: 11px; right: 11px; display: flex; justify-content: space-between; font: 700 .66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.live-badge { color: var(--green); display: flex; align-items: center; gap: 5px; }
.live-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.feed-location { position: absolute; z-index: 3; left: 11px; bottom: 9px; font: 600 .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #d0d8df; }
.feed-angle { position: absolute; z-index: 3; left: 11px; bottom: 27px; padding: 4px 6px; color: #bfffe0; background: rgba(5,12,16,.74); border: 1px solid rgba(36,212,131,.35); border-radius: 4px; font: 700 .6rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.frame-guides { position: absolute; z-index: 2; inset: 18%; border: 1px solid rgba(255,255,255,.12); opacity: .7; }
.frame-guides::before, .frame-guides::after { content: ""; position: absolute; background: rgba(255,255,255,.09); }
.frame-guides::before { width: 1px; height: 100%; left: 50%; } .frame-guides::after { height: 1px; width: 100%; top: 50%; }
.render-scan { display: none; position: absolute; z-index: 4; left: 0; right: 0; height: 2px; top: 0; background: var(--green); box-shadow: 0 0 12px var(--green); animation: scan 1.15s linear infinite; }
.rendering .render-scan { display: block; }
@keyframes scan { to { top: 100%; } }
.camera-feed footer { min-height: 54px; padding: 10px 12px; display: flex; justify-content: space-between; gap: 12px; }
.camera-feed footer div { display: grid; gap: 3px; }
.camera-feed footer strong { font-size: .76rem; }.camera-feed footer span { color: var(--muted); font-size: .67rem; }
.feed-spec { text-align: right; }
.angle-reference { margin-bottom: 10px; padding: 9px 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid rgba(36,212,131,.22); border-radius: 8px; background: rgba(36,212,131,.06); }
.angle-reference span { color: #91a0ae; font-size: .68rem; }.angle-reference strong { color: #bfffe0; font: 700 .69rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.render-queue { margin-top: 12px; min-height: 48px; border: 1px solid var(--line); background: rgba(14,19,28,.9); border-radius: 10px; display: grid; grid-template-columns: 25px 1fr auto; gap: 9px; align-items: center; padding: 7px 12px; }
.queue-icon { color: var(--green); border: 1px solid rgba(36,212,131,.25); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; }
.render-queue span:nth-child(2) { display: grid; gap: 2px; }.render-queue strong { font-size: .72rem; }.render-queue small, .queue-time { color: var(--muted); font-size: .65rem; }

.inspector-heading strong { display: block; margin-top: 5px; font-size: .98rem; }
.control-section { border-top: 1px solid var(--line); padding: 16px 0; }
.control-section h2 { margin: 0 0 12px; font-size: .78rem; }
.field-row { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #aab6c2; font-size: .72rem; }
.input-with-unit { display: grid; grid-template-columns: 65px 25px; align-items: center; border: 1px solid var(--line); border-radius: 6px; background: #090e15; overflow: hidden; }
.input-with-unit input { width: 100%; border: 0; background: transparent; color: var(--text); padding: 7px; text-align: right; }
.input-with-unit em, .axis-grid em { color: #647285; font-style: normal; font-size: .62rem; }
.fov-readout { margin-top: 8px; padding: 10px; border-radius: 8px; display: flex; justify-content: space-between; background: var(--green-soft); color: #a7b8b0; font-size: .7rem; }.fov-readout strong { color: var(--green); }
.axis-grid { display: grid; gap: 7px; }
.axis-grid label { height: 35px; display: grid; grid-template-columns: 26px 1fr 28px; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: #090e15; overflow: hidden; }
.axis-grid input { min-width: 0; border: 0; background: transparent; color: var(--text); padding: 8px; text-align: right; }
.axis { font-weight: 800; font-size: .69rem; padding-left: 9px; }.axis.x { color: #ff697b; }.axis.y { color: #53dd8c; }.axis.z { color: #63a5ff; }
.constraint-note { margin-top: 10px; padding: 9px; display: flex; gap: 8px; background: #111925; border-radius: 8px; color: #8291a1; font-size: .65rem; }.constraint-note span { color: var(--green); }.constraint-note p { margin: 0; display: grid; gap: 2px; }.constraint-note strong { color: #c2ccd5; }
.slider-row { display: grid; grid-template-columns: 34px 1fr 42px; align-items: center; gap: 8px; min-height: 36px; color: #9eabb9; font-size: .72rem; }.slider-row input { accent-color: var(--green); }.slider-row output { text-align: right; color: #d9e1e8; font-variant-numeric: tabular-nums; }
.section-title-row { display: flex; align-items: center; justify-content: space-between; }.section-title-row h2 { margin-bottom: 8px; }
.bridge-section p { margin: 0 0 10px; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.endpoint-field { display: grid; gap: 5px; color: #8f9baa; font-size: .67rem; }.endpoint-field input { width: 100%; border: 1px solid var(--line); color: #c8d2dc; background: #090e15; border-radius: 7px; padding: 8px; font-size: .68rem; }
.secondary-button, .apply-button { width: 100%; margin-top: 9px; font-size: .75rem; }.apply-button { min-height: 42px; margin-top: 4px; }
.delete-camera-button { width: 100%; min-height: 38px; margin-top: 9px; border: 1px solid #4b2930; border-radius: 8px; color: #ff9aa8; background: rgba(255,101,119,.08); font-size: .8rem; font-weight: 700; }
.delete-camera-button:not(:disabled):hover, .delete-camera-button.confirming { color: #fff; background: #c83d50; border-color: #ef5d70; }
.delete-camera-button:disabled { color: #667382; background: #0b1119; border-color: var(--line); cursor: not-allowed; }
.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.preset-grid button, .nudge-grid button { min-height: 38px; padding: 7px; border: 1px solid var(--line-strong); border-radius: 8px; color: #c9d4de; background: #111925; font-size: .75rem; }
.preset-grid button:hover, .nudge-grid button:hover { color: #eafff3; border-color: rgba(36,212,131,.5); background: var(--green-soft); }
.nudge-grid { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.advanced-settings { margin: 2px 0 14px; border: 1px solid var(--line); border-radius: 9px; background: #0a1018; }
.advanced-settings summary { padding: 12px; color: #bac6d1; cursor: pointer; font-size: .8rem; font-weight: 700; }
.advanced-body { padding: 0 12px 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.inspector-panel .control-section h2, .field-row, .slider-row, .secondary-button, .apply-button { font-size: .82rem; }
.slider-row { grid-template-columns: 78px 1fr 42px; }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 50; background: #17231d; border: 1px solid rgba(36,212,131,.32); color: #d8f8e7; border-radius: 9px; padding: 11px 14px; font-size: .75rem; box-shadow: 0 14px 40px rgba(0,0,0,.35); opacity: 0; transform: translateY(8px); pointer-events: none; transition: .2s; }.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .workspace { grid-template-columns: 235px minmax(480px,1fr); height: auto; }
  .inspector-panel { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 22px; }
  .inspector-heading, .apply-button { grid-column: 1 / -1; }.control-section { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .render-scan, .camera-feed, .toast, .feed-image img { animation: none; transition: none; }
}
@media (max-width: 760px) {
  .topbar { height: auto; min-height: 66px; grid-template-columns: 1fr auto; padding: 10px 12px; }.scene-meta { display: none; }.top-actions .ghost-button { display: none; }
  .connection-strip { grid-template-columns: 16px 1fr; padding: 10px 12px; }.connection-action { grid-column: 1 / -1; width: 100%; }.connection-copy small { line-height: 1.4; }
  .workspace { display: block; min-height: 0; height: auto; }.catalog-panel { border-right: 0; }.product-stack { grid-template-columns: 1fr 1fr; }.scene-summary { display: none; }
  .camera-grid { grid-template-columns: 1fr; }.camera-feed.wide { grid-column: auto; }.camera-feed.wide .feed-image { aspect-ratio: 16 / 9; }
  .overview-legend { grid-template-columns: 1fr; }
  .inspector-panel { display: block; }.monitor-stage { padding: 14px; }
}
.component-mount-map { margin: 18px 0; padding: 16px; border: 1px solid #425467; border-radius: 12px; background: #16212c; }
.component-mount-map[hidden] { display: none; }
.mount-map-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mount-map-heading h4 { margin: 0; font-size: 16px; }
.mount-map-heading a { color: #b6c7f1; text-decoration: underline; font-size: 13px; }
.component-mount-map p { font-size: 13px; line-height: 1.5; color: #c4d0dc; }
.mount-map-scroll { overflow-x: auto; }
.component-mount-map table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.component-mount-map th, .component-mount-map td { padding: 10px 8px; border-bottom: 1px solid #344456; white-space: nowrap; }
.component-mount-map thead th { color: #a7b7c9; font-weight: 500; font-size: 12px; }
.mount-swatch { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 9px; }
.component-mount-map details { font-size: 13px; margin-top: 12px; }
.component-mount-map summary { cursor: pointer; color: #dae5ef; }
.ltg-card { margin-top: 12px; }
.inventory-inspect { display: block; margin: 0 0 16px; font-size: 14px; color: var(--accent, #9ddccb); }
select:disabled { opacity: .6; cursor: not-allowed; }
.ltg-validation { margin: 18px 0; padding: 18px; border: 1px solid #806736; border-radius: 12px; background: #18202a; }
.ltg-validation h2 { margin: 0 0 10px; font-size: 18px; }
.ltg-validation p { font-size: 14px; line-height: 1.55; color: #c3ccd7; }
.ltg-validation-rows { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 12px; }
.ltg-validation-rows article { background: #0c121b; padding: 14px; border-radius: 8px; }
.ltg-validation-rows h3 { font-size: 16px; margin-top: 0; }
.ltg-validation-rows strong, .validation-caution { color: #f5d68d; font-size: 14px; }
.ltg-validation a { color: #a9ceff; font-size: 14px; }
.tray-position { margin:16px 0; padding:14px; border:1px solid #426958; border-radius:10px; background:#101d19; }
.tray-position h3 { margin:0 0 8px; font-size:16px; }
.tray-position p, .tray-position small { font-size:14px; line-height:1.5; color:#c3ccd7; }
.tray-position form { display:grid; gap:8px; }
.tray-position label { font-size:14px; line-height:1.4; }
.tray-position label span { color:#9cb5ad; }
.tray-position input { width:100%; min-width:0; padding:9px; background:#0c121b; color:#edf5ff; border:1px solid #52635f; border-radius:6px; font-size:16px; }
.tray-position button { width:100%; white-space:normal; margin-top:4px; font-size:14px; }
.tray-position input:focus-visible, .tray-position button:focus-visible { outline:2px solid #9ddccb; outline-offset:2px; }
.optional-poles { margin-top: 14px; font-size: 14px; }
.optional-poles .switch { flex-shrink: 0; }
@media (min-width: 1500px) {
  .camera-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .camera-grid .camera-feed.wide { grid-column: auto; }
  .camera-grid .camera-feed.wide .feed-image { aspect-ratio: 16/9; }
  .camera-grid .camera-feed[data-mount] .feed-image { aspect-ratio: 4/3; }
}
.empty-cameras { padding: 40px 28px; border: 1px dashed #4d6178; border-radius: var(--radius); color: #c3ccd7; text-align: center; background: linear-gradient(180deg, rgba(46,226,154,.05), transparent); }
.camera-feed[data-mount] .feed-image { aspect-ratio: 4 / 3; }
.camera-feed[data-mount] .feed-image img { object-fit: contain; }
[hidden] { display: none !important; }
.fit-open-link, .fit-primary { border: 1px solid #609f91; border-radius: 8px; background: #15352f; color: #c8f7e9; padding: 10px 14px; font-size: 14px; cursor: pointer; }
.fit-open-link { margin-top: 10px; }
.visual-fit-dialog { width: min(1220px,calc(100% - 32px)); max-height: 92vh; padding: 24px; border: 1px solid #45586b; border-radius: 18px; background: #101822; color: #e5edf4; overflow-y: auto; box-shadow: 0 30px 100px #0009; }
.visual-fit-dialog::backdrop { background: #03080dd9; backdrop-filter: blur(5px); }
.visual-fit-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.visual-fit-header h2 { font-size: clamp(22px,3vw,30px); letter-spacing: -.025em; margin: 5px 0 0; }
.visual-fit-header .ghost-button { display: block; flex-shrink: 0; }
.fit-eyebrow { font-size: 12px; letter-spacing: .13em; color: #9ddccb; margin: 0; font-weight: 700; }
.fit-mounts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.fit-mounts button, .fit-mode-tabs button, .trace-examples button { border: 1px solid #405166; border-radius: 9px; color: #c5d2df; background: #182430; padding: 12px; cursor: pointer; font-size: 14px; }
.fit-mounts button[aria-pressed="true"], .trace-examples button[aria-pressed="true"] { color: #cdfbed; background: #1a4037; border-color: #9ddccb; }
.fit-summary { border-left: 3px solid #9ddccb; background: #192930; padding: 13px 16px; color: #dce6ee; font-size: 14px; line-height: 1.6; }
.fit-risk { color: #ffcfaa !important; border-color: #ffad81 !important; }
.fit-mode-tabs { display: flex; gap: 8px; border-bottom: 1px solid #354453; margin: 20px 0; padding-bottom: 10px; }
.fit-mode-tabs button[aria-selected="true"] { background: #d6e5f2; color: #102133; border-color: #d6e5f2; }
.fit-two-columns { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 18px; align-items: start; }
.fit-figure { margin: 0; background: #17222e; border: 1px solid #344555; border-radius: 12px; overflow: hidden; }
.fit-photo { aspect-ratio: 4/3; background: #273341; }
.fit-photo img, .ray-photo img, .section-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.fit-figure figcaption { display: grid; gap: 7px; padding: 16px; color: #b6c5d3; font-size: 14px; line-height: 1.6; }
.fit-figure figcaption strong { color: #ecf4fa; font-size: 16px; }
.clearance-panel { padding: 18px; border: 1px solid #344555; border-radius: 12px; background: #14212b; }
.clearance-panel h3 { margin: 0 0 16px; font-size: 18px; }
.head-size-options { display: flex; gap: 12px; flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.head-size-options legend { font-size: 13px; color: #b6c5d3; margin-bottom: 10px; }
.head-size-options label, .ray-points-toggle { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.visual-fit-dialog input { accent-color: #9ddccb; }
#fitClearanceDiagram { display: block; width: 100%; max-height: 355px; margin-top: 16px; }
.fit-clearance-result { color: #a7ead4; font-size: 16px; line-height: 1.5; padding: 12px; background: #0e1821; border: 1px solid #42615b; border-radius: 8px; }
.fit-small { color: #aebecd; font-size: 13px; line-height: 1.6; }
.fit-facts { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 12px; margin: 18px 0; }
.fit-facts > div { display: grid; gap: 8px; padding: 16px; background: #1c2935; border-radius: 10px; }
.fit-facts span, .fit-facts small { color: #b6c5d3; font-size: 13px; line-height: 1.5; }
.fit-facts strong { font-size: 18px; }
.trace-toolbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 14px 16px; background: #24313d; border-radius: 10px; }
.trace-toolbar strong { font-size: 16px; }
.trace-toolbar p { margin: 7px 0 0; font-size: 13px; line-height: 1.6; color: #bbcbd9; }
.trace-toolbar button { flex-shrink: 0; max-width: 240px; white-space: normal; }
.trace-toolbar button:disabled { opacity: .45; cursor: not-allowed; }
.ray-photo { aspect-ratio: 4/3; position: relative; background: #080e14; }
.ray-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ray-photo circle { cursor: crosshair; }
.ray-photo circle:hover { stroke: white; stroke-width: 3; }
.section-photo { aspect-ratio: 1000/650; background: #273341; }
.trace-examples { display: flex; gap: 6px; padding: 0 16px 16px; }
.trace-examples button { flex: 1; padding: 9px 6px; font-size: 13px; }
.ray-legend { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 18px 0; font-size: 14px; }
.ray-hardware { color: #ff957f; }.ray-player { color: #a9ceff; }.ray-surroundings { color: #bdc5d1; }.ray-clear { color: #9ddccb; }
.ray-readout { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px; background: #1d2b38; border-radius: 10px; }
.ray-readout label { font-size: 14px; font-weight: 600; }
.ray-readout select { width: auto; max-width: 100%; min-width: 220px; font-size: 14px; color: #e5edf4; background: #101b25; border: 1px solid #52677a; border-radius: 7px; padding: 10px; }
.fit-entry-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.trace-conclusion { padding: 18px; margin: 16px 0; border: 1px solid #52687d; border-radius: 12px; background: #1b2c39; }
.trace-conclusion h3 { font-size: 22px; margin: 8px 0; color: #f3e0bb; }
.trace-conclusion > p:not(.fit-eyebrow) { font-size: 16px; line-height: 1.65; margin: 8px 0 0; color: #d5e1ec; }
.trace-conclusion > p.fit-small { font-size: 14px; color: #aebecd; }
.trace-surface-key { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 10px; margin-top: 16px; }
.trace-surface-key button { position: relative; display: grid; gap: 7px; padding: 14px 14px 14px 38px; text-align: left; color: #e9f1f8; background: #17232f; border: 1px solid #42576b; border-radius: 9px; cursor: pointer; }
.trace-surface-key button[aria-pressed="true"] { border: 2px solid var(--surface-color); padding: 13px 13px 13px 37px; background: #273746; }
.surface-colour { position: absolute; left: 14px; top: 17px; width: 12px; height: 12px; border-radius: 3px; background: var(--surface-color); }
.trace-surface-key strong { font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }.trace-surface-key small { font-size: 13px; color: #b8cadb; }
#fitHitAnnotation { pointer-events: none; }
.trace-centre-section { margin-top: 16px; border-top: 1px solid #344555; padding-top: 16px; }
.trace-centre-section > summary { cursor: pointer; font-size: 15px; color: #b8cadb; margin-bottom: 14px; }
.trace-centre-section .fit-figure { max-width: 740px; margin: auto; }
.ray-readout p { flex-basis: 100%; margin: 0; font-size: 15px; line-height: 1.7; }
.fit-limitations { border-top: 1px solid #344555; padding-top: 18px; margin-top: 20px; }
.fit-limitations summary { color: #c5d8e9; cursor: pointer; font-size: 14px; }
.fit-limitations p { color: #aebecd; font-size: 14px; line-height: 1.7; }
.visual-fit-dialog :focus-visible { outline: 3px solid #a9ceff; outline-offset: 3px; }
@media (max-width: 800px) {
  .visual-fit-dialog { padding: 16px; width: calc(100% - 20px); }
  .fit-two-columns, .fit-facts { grid-template-columns: 1fr; }
  .fit-mounts button { padding: 10px 6px; font-size: 12px; }
  .trace-toolbar { flex-direction: column; align-items: stretch; }.trace-toolbar button { max-width: none; }
}
/* Room presentation is separate from the metric camera-placement canvas. */
.quality-control { display:grid; gap:.35rem; font-size:.875rem; color:var(--muted, #a8b5c4); }
.quality-control select { min-height:38px; max-width:230px; background:#141e28; color:#e8edf2; border:1px solid #3a495a; border-radius:8px; padding:.4rem .65rem; font:inherit; }
.casino-room-panel { margin:0 0 20px; border:1px solid #344552; border-radius:16px; background:#111b24; overflow:hidden; }
.casino-room-panel summary { cursor:pointer; padding:16px 20px; font-size:1rem; font-weight:600; }
.casino-room-panel summary span { float:right; font-weight:400; color:#b3c0ca; font-size:.875rem; }
.casino-room-panel img { display:block; width:100%; height:auto; aspect-ratio:8/5; object-fit:contain; background:#0c131a; }
.casino-room-panel p { margin:0; padding:14px 20px; font-size:.875rem; line-height:1.5; color:#b3c0ca; }
@media(max-width:700px) { .casino-room-panel summary span { float:none; display:block; margin-top:5px; } .toolbar-controls { flex-wrap:wrap; } }

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 8, 14, .78);
  backdrop-filter: blur(8px);
}
.access-gate[hidden] { display: none; }
.access-card {
  width: min(440px, 100%);
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.access-card h2 { margin: 0; font-size: 1.35rem; }
.access-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.5; }
.access-card label { font-size: .85rem; font-weight: 600; }
.access-card input {
  min-height: 42px;
  padding: .5rem .75rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #101820;
  color: var(--text);
  font: inherit;
}
#accessOtp { letter-spacing: .35em; font-size: 1.2rem; }
#accessOtpStep { display: grid; gap: 10px; }
#accessOtpStep[hidden] { display: none; }
.access-error { color: var(--red) !important; }
.access-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .85rem;
}
.ptz-note { margin: var(--space-4) 0; padding: var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-control); background: var(--panel-soft); font-size: .875rem; line-height: 1.5; }
.ptz-note h3, .ptz-note label, .ptz-note strong { display: block; margin: 0 0 var(--space-2); font-size: 1rem; }
.ptz-note p, .ptz-help { font-size: .875rem; line-height: 1.5; color: var(--muted); margin: var(--space-3) 0; }
.ptz-note summary, #ptzControls summary { cursor: pointer; }
.ptz-note a, #ptzControls a { color: var(--text); text-decoration: underline; }
#ptzControls[hidden], #newPtzSettings[hidden] { display: none; }
#ptzControls .preset-grid { margin-top: var(--space-3); }
#ptzControls .preset-grid button, #newPtzHeight, #ptzZoom, #ptzPresetSlot { min-height: var(--touch-min); font-size: 1rem; }
.ptz-checkbox { display: flex; gap: var(--space-2); align-items: center; font-size: 1rem; margin-top: var(--space-4); min-height: var(--touch-min); }
.ptz-checkbox input { width: auto; }
.ptz-note input[type="number"], #ptzPresetSlot { width: 100%; padding: var(--space-2); margin-top: var(--space-2); background: var(--panel); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius-control); font-size: 1rem; }
.camera-grid .camera-feed.ptz-feed .feed-image { aspect-ratio: 4 / 3; }
.camera-feed.ptz-feed .feed-image img { object-fit: contain; filter: none; }
.ptz-footprint { fill: var(--camera-colour); fill-opacity: .12; stroke: var(--camera-colour); stroke-width: .3; stroke-dasharray: 1.5 1; }
