/* The CSS timeout also releases the screen if JavaScript is unavailable. */
.launch-screen {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background: #111b17;
  color: #f1f3ee;
  text-align: center;
  animation: launch-release 0s 3s forwards;
}
.launch-screen[hidden] { display: none; }
.launch-brand { padding: 24px; }
.launch-mark { width: 96px; height: 96px; stroke: #86bc92; stroke-width: 1.6; }
.launch-point { fill: #bce9b8; stroke: #111b17; stroke-width: 3; }
.launch-brand h2 { margin: 24px 0 10px; font-size: clamp(32px, 6vw, 48px); font-weight: 500; letter-spacing: -.04em; }
.launch-author { margin: 0; color: #b2c3b7; font-size: 16px; }
.launch-progress { display: block; width: 120px; height: 3px; margin: 36px auto 0; background: #86bc92; transform-origin: left; animation: launch-progress 2s ease-out both; }
.launch-skip { position: absolute; bottom: max(32px, env(safe-area-inset-bottom)); color: #c6d7ca; background: transparent; border: 1px solid #4a6151; border-radius: 24px; padding: 10px 20px; cursor: pointer; font: inherit; }
.launch-skip:focus-visible { outline: 3px solid #bce9b8; outline-offset: 4px; }
@keyframes launch-progress { from { transform: scaleX(.05); } to { transform: scaleX(1); } }
@keyframes launch-release { to { visibility: hidden; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) { .launch-progress { animation: none; } }

:root {
  --canvas: #111512;
  --surface: #171c19;
  --surface-raised: #1d2420;
  --surface-soft: #222a25;
  --text: #f1f3ee;
  --muted: #a5aea5;
  --dim: #a5aea5;
  --line: rgba(235, 241, 231, 0.12);
  --line-strong: rgba(235, 241, 231, 0.2);
  --live: #86bc92;
  --attention: #d8ae68;
  --accent: #d9dfd1;
  --ink: #172018;
  --radius: 10px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html, body, #app { width: 100%; height: 100%; margin: 0; }
body {
  overflow: hidden;
  background: var(--canvas);
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--attention);
  outline-offset: 3px;
}
button:disabled { cursor: not-allowed; opacity: .48; }
.maplibregl-ctrl, .maplibregl-ctrl *, .cesium-widget, .cesium-widget * {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
}

#app { display: grid; grid-template-columns: 356px minmax(0, 1fr); }
#sidebar {
  position: relative;
  z-index: 3;
  overflow-y: auto;
  padding: 24px 20px 20px;
  background: var(--surface);
  border-right: 1px solid var(--line);
}
#viewer { position: relative; min-width: 0; overflow: hidden; background: #29342b; }
#map, #cesiumContainer { position: absolute; inset: 0; }
#cesiumContainer { display: none; }
.map-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 12, 9, .28) 0, rgba(8, 12, 9, .06) 11%, transparent 22%);
}

.brand {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 0 0 22px;
}
.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(218, 224, 209, .42);
  border-radius: 7px;
  color: #f3f5ee;
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px;
  font-weight: 500;
}
.eyebrow {
  margin: 0 0 2px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}
h1, h2, p { margin: 0; }
h1 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.1; }
h2 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.status-badge i { width: 6px; height: 6px; border-radius: 50%; background: #68726b; }
.status-badge.is-live { color: #b7d4bb; }
.status-badge.is-live i { background: var(--live); box-shadow: 0 0 0 3px rgba(134, 188, 146, .12); }

.rail-section {
  position: relative;
  margin: 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  animation: rail-in .42s var(--ease-out) both;
}
.camera-card { padding-top: 0; border-top: 0; animation-delay: 50ms; }
.control-card { animation-delay: 100ms; }
.metrics-card { animation-delay: 145ms; }
.action-card { animation-delay: 185ms; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.section-heading.compact { margin-bottom: 8px; }

#cameraContainer {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(238, 244, 233, .15);
  border-radius: var(--radius);
  background: #090c0a;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
#cameraContainer:has(.camera-empty.is-hidden) { border-color: rgba(134, 188, 146, .42); box-shadow: inset 0 0 0 1px rgba(134, 188, 146, .08); }
#video, #canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#video { transform: scaleX(-1); opacity: .94; }
#canvas { pointer-events: none; }
.camera-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  color: #a8b0a7;
  background: #121814;
  font-size: 12px;
  text-align: center;
  transition: opacity 220ms var(--ease-out), visibility 220ms var(--ease-out);
}
.camera-empty.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
.camera-empty-icon {
  position: relative;
  width: 25px;
  height: 25px;
  border: 1px solid #829084;
  border-radius: 50%;
}
.camera-empty-icon::before, .camera-empty-icon::after { position: absolute; top: 50%; left: 50%; background: #829084; content: ""; transform: translate(-50%, -50%); }
.camera-empty-icon::before { width: 11px; height: 1px; }
.camera-empty-icon::after { width: 1px; height: 11px; }
.camera-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  padding: 22px 9px 8px;
  color: #e7ece4;
  background: linear-gradient(transparent, rgba(5, 8, 6, .8));
  font-size: 10px;
}
.camera-readout { color: #d4ddd2; font-family: "IBM Plex Mono", monospace; font-size: 9px; white-space: nowrap; }
.camera-readout b { color: inherit; font-weight: 500; }

.gesture-pill {
  padding: 4px 7px;
  border: 1px solid rgba(216, 174, 104, .34);
  border-radius: 999px;
  color: #d7c18d;
  background: rgba(216, 174, 104, .08);
  font-size: 11px;
  font-weight: 500;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.gesture-pill.is-active { color: #f2d392; border-color: rgba(216, 174, 104, .62); background: rgba(216, 174, 104, .16); }
.gesture-hint { min-height: 38px; color: var(--muted); font-size: 12px; line-height: 1.48; }
.gesture-guide { display: grid; gap: 0; margin: 13px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(235, 241, 231, .08); }
.gesture-guide li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(235, 241, 231, .08);
  color: #aeb7ae;
  font-size: 10.5px;
}
.gesture-guide b { color: #eef1ea; font-size: 10.5px; font-weight: 600; }
.fallback-note { margin-top: 11px; color: var(--dim); font-size: 10px; line-height: 1.45; }

.metrics-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-bottom: 16px; }
.metric { min-width: 0; padding: 6px 0; }
.metric:nth-child(odd) { border-right: 1px solid var(--line); }
.metric:nth-child(even) { padding-left: 15px; }
.metric:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.metric:nth-child(n + 3) { padding-top: 11px; }
.metric span { display: block; color: var(--dim); font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.metric b { display: block; margin-top: 3px; color: var(--text); font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }

.action-card { display: grid; gap: 8px; }
.mode-action, .secondary-action {
  display: flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  transition: border-color 140ms var(--ease-out), background-color 140ms var(--ease-out), transform 140ms var(--ease-out), color 140ms var(--ease-out);
}
.mode-action { justify-content: flex-start; gap: 10px; padding: 0 10px; }
.mode-action:hover, .secondary-action:hover { border-color: rgba(235, 241, 231, .42); background: rgba(235, 241, 231, .06); }
.mode-action:active, .secondary-action:active { transform: translateY(1px); }
.mode-label { color: var(--dim); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
kbd { margin-left: auto; padding: 1px 5px; border: 1px solid rgba(235, 241, 231, .2); border-radius: 4px; color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 9px; }
.action-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.marker-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.secondary-action { justify-content: center; min-height: 33px; color: var(--muted); font-size: 11px; }
.secondary-action:hover { color: var(--text); }
.secondary-action:disabled:hover { color: var(--muted); border-color: var(--line-strong); background: transparent; }
.secondary-action.is-locked { color: #f0d193; border-color: rgba(216, 174, 104, .48); background: rgba(216, 174, 104, .08); }

.map-hud {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(242, 244, 237, .35);
  border-radius: 7px;
  color: #f4f5f1;
  background: rgba(20, 26, 21, .76);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .16);
  backdrop-filter: blur(10px);
  font-size: 11px;
}
.top-hud { top: 16px; left: 16px; }
.satellite-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.hud-divider { width: 1px; height: 13px; background: rgba(244, 245, 241, .35); }
#statusOverlay {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10;
  display: none;
  max-width: min(360px, calc(100vw - 32px));
  padding: 10px 12px;
  border: 1px solid rgba(242, 244, 237, .24);
  border-radius: 7px;
  color: #f4f6f1;
  background: rgba(21, 28, 23, .94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .23);
  font-size: 12px;
  animation: toast-in 180ms var(--ease-out) both;
}

.maplibregl-ctrl-group { overflow: hidden; border-radius: 7px !important; box-shadow: 0 4px 16px rgba(0, 0, 0, .2) !important; }
.maplibregl-ctrl-group button { background-color: rgba(20, 26, 21, .92) !important; }
.maplibregl-ctrl-group button span { filter: brightness(0) invert(1); }
.maplibregl-ctrl-attrib { background: rgba(20, 26, 21, .62) !important; color: #e5e9e1 !important; }
.maplibregl-ctrl-attrib a { color: #e5e9e1 !important; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { border: 2px solid var(--surface); border-radius: 10px; background: #566057; }

@keyframes rail-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 880px) {
  #app { display: block; }
  #sidebar {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-height: min(560px, 67vh);
    padding: 17px 16px 12px;
    border: 1px solid rgba(235, 241, 231, .2);
    border-radius: 12px;
    background: rgba(23, 28, 25, .96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
    backdrop-filter: blur(14px);
  }
  .brand { padding-bottom: 15px; }
  .camera-card { display: none; }
  .control-card { padding-top: 15px; }
  .metrics-card { grid-template-columns: repeat(4, 1fr); padding-bottom: 13px; }
  .metric { padding: 0 9px !important; border: 0 !important; }
  .metric:first-child { padding-left: 0 !important; }
  .metric:last-child { padding-right: 0 !important; }
  .metric + .metric { border-left: 1px solid var(--line) !important; }
}

@media (max-width: 580px) {
  #sidebar { right: 8px; bottom: 8px; left: 8px; max-height: 62vh; padding: 14px 14px 8px; }
  .brand { grid-template-columns: 30px 1fr; }
  .status-badge { grid-column: 2; justify-self: start; }
  .metrics-card { grid-template-columns: 1fr 1fr; gap: 0; }
  .metric { padding: 6px 0 !important; }
  .metric:nth-child(odd) { border-right: 1px solid var(--line) !important; }
  .metric:nth-child(even) { padding-left: 13px !important; }
  .metric:nth-child(-n + 2) { border-bottom: 1px solid var(--line) !important; }
  .metric:nth-child(n + 3) { padding-top: 10px !important; }
  .top-hud { top: 10px; left: 10px; }
  #locationLabel, .hud-divider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Privacy, accessible controls, and layouts that reflow without obscuring the map. */
a { color: #c9e6cf; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #f2ca83; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 100; padding: 12px; background: #171c19; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.privacy-note, .consent-label, .site-footer { font-size: 13px; line-height: 1.6; color: var(--muted); }
.privacy-note { margin: 12px 0; overflow-wrap: anywhere; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; cursor: pointer; }
.consent-label input { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; accent-color: #86bc92; }
#cameraConsentForm button { width: 100%; margin-top: 8px; }
.mode-action, .secondary-action { min-height: 44px; padding: 9px; font-size: 13px; border-color: #778179; }
.action-row { grid-template-columns: 1fr; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.map-gate { position: absolute; z-index: 5; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(20px, 5vw, 70px); background: #171c19; overflow: auto; }
.map-gate h2 { font-size: 28px; }
.map-gate p { max-width: 65ch; line-height: 1.65; }
.map-gate button { width: fit-content; }
.maplibregl-ctrl-group button { width: 44px !important; height: 44px !important; }
.maplibregl-ctrl-attrib { background: #171c19 !important; max-width: 100%; font-size: 12px !important; }
.map-hud { background: #171c19; }
body.policy-page { overflow: auto; height: auto; }
.policy-main { max-width: 820px; padding: 32px 24px 64px; margin: auto; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.policy-main h1 { font-size: clamp(26px, 5vw, 38px); margin: 24px 0; }
.policy-main h2 { font-size: 21px; margin: 26px 0 10px; }
.policy-main p { margin: 14px 0; }
.policy-main nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.policy-main nav a { padding: 10px 0; }
.draft-notice { border-left: 3px solid #d8ae68; padding: 12px 16px; background: #222a25; }
@media (max-width: 880px) {
  html, body { height: auto; min-height: 100%; }
  body { overflow: auto; }
  #app { display: flex; flex-direction: column; height: auto; min-height: 100dvh; }
  #viewer { order: -1; width: 100%; height: 62svh; min-height: 420px; }
  #sidebar { position: relative; inset: auto; max-height: none; width: 100%; padding: 20px 16px; border-radius: 0; overflow: visible; }
  .camera-card { display: block; }
  #cameraContainer { max-width: 440px; }
  .action-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .map-gate { justify-content: flex-start; padding: 20px; }
  .map-gate h2 { font-size: 24px; }
  .map-gate p { font-size: 14px; }
  .map-gate button { width: 100%; flex-shrink: 0; }
  .top-hud { max-width: calc(100% - 20px); }
}
@media (max-width: 380px) {
  .action-row, .marker-actions { grid-template-columns: 1fr; }
  .brand { gap: 8px; }
}
#ad-slot { flex-shrink: 0; }
.ad-slot { grid-column: 1 / -1; padding: 6px 16px; min-height: 42px; text-align: center; background: #111512; color: #a5aea5; font-size: 12px; border-top: 1px solid #778179; }
.ad-slot a { margin-left: 10px; }
.ad-consent-button { min-height: 30px; margin-left: 10px; padding: 4px 10px; border: 1px solid #778179; border-radius: 5px; color: #f1f3ee; background: #222a25; cursor: pointer; }
.ad-consent-button:hover { background: #2d382f; }
.ad-status { margin: 3px 0 0; }
#adContainer { max-width: 728px; min-height: 28px; margin: 0 auto; }
.adsbygoogle { min-height: 28px; }
#app { grid-template-rows: minmax(0, 1fr) auto; }
@media (max-width: 880px) {
  .ad-slot { width: 100%; padding: 6px 10px; }
  .ad-slot a, .ad-consent-button { display: inline-flex; align-items: center; min-height: 36px; margin: 4px 4px 0; }
}
.site-footer p, .site-footer a { overflow-wrap: anywhere; }
.gis-tools fieldset { border: 0; padding: 0; margin: 12px 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.gis-tools legend, .gis-tools h3 { font-size: 14px; margin: 14px 0 4px; font-weight: 700; }
.gis-tools label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; overflow-wrap: anywhere; }
.gis-tools input:not([type=checkbox]), .gis-tools textarea { width: 100%; min-width: 0; padding: 9px; color: #f1f3ee; background: #171c19; border: 1px solid #778179; border-radius: 5px; font: inherit; }
.gis-tools input[type=checkbox] { width: 18px; height: 18px; }
.gis-tools textarea { resize: vertical; }
.workspace-list { display: grid; gap: 8px; }
.workspace-item { display: grid; gap: 8px; padding: 10px; background: #222a25; border: 1px solid #778179; border-radius: 6px; overflow-wrap: anywhere; }
.workspace-item summary { cursor: pointer; padding: 5px 0; }
.workspace-item label, .workspace-item small { margin: 6px 0; }
#workspaceStatus, #measurementReadout { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.workspace-pin { width: 24px; height: 24px; padding: 0; border: 3px solid white; border-radius: 50%; background: #258774; cursor: pointer; box-shadow: 0 2px 8px #0009; }
.feature-properties { color: #171c19; max-height: 260px; overflow: auto; overflow-wrap: anywhere; }
.feature-properties p { margin: 7px 0; }
.gis-tools button[aria-pressed=true] { border-color: #ffc66d; color: #ffc66d; }
.gis-tools select { width:100%; padding:9px; color:#f1f3ee; background:#171c19; border:1px solid #778179; border-radius:5px; }
.gis-tools input[type=date] { color-scheme:dark; }
.gis-tools h4 { margin:12px 0 6px; }
#saveState { font-size:12px; line-height:1.5; color:#ffc66d; }
.vertex-marker { min-width:28px; height:28px; border-radius:50%; background:#ffc66d; border:2px solid #171c19; color:#171c19; cursor:grab; padding:3px; font-weight:bold; }
.inspection-photos figure { margin:8px 0; }
.inspection-photos img { display:block; width:100%; max-height:180px; object-fit:contain; }
.inspection-photos figcaption { font-size:11px; overflow-wrap:anywhere; }
#vertexEditor { max-height:360px; overflow:auto; }
#reportView { width:min(1000px,95vw); max-height:92vh; padding:24px; border:0; border-radius:8px; background:white; color:#17201c; font:14px/1.5 system-ui,sans-serif; overflow:auto; }
#reportView::backdrop { background:#000a; }
#reportView h1 { font-size:28px; margin:20px 0 8px; }
#reportView h2 { font-size:20px; margin:24px 0 10px; }
#reportView h3 { margin:20px 0 8px; }
#reportView h4 { margin:14px 0 6px; }
#reportView p { margin:8px 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.report-toolbar { position:sticky; top:-24px; padding:12px 0; background:white; display:flex; gap:12px; z-index:1; }
.report-toolbar button { min-height:44px; padding:8px 16px; background:#214e40; color:white; border:0; border-radius:5px; cursor:pointer; }
.report-map { width:100%; height:auto; display:block; }
.report-scale { border:solid #17201c; border-width:0 2px 3px; height:8px; margin-top:12px; }
#reportView table { width:100%; border-collapse:collapse; table-layout:fixed; margin:10px 0; }
#reportView th,#reportView td { border:1px solid #aebbb5; padding:7px; text-align:left; overflow-wrap:anywhere; }
#reportView th { background:#edf2ef; }
.report-photos { display:flex; flex-wrap:wrap; gap:12px; }
.report-photos figure { margin:0; max-width:250px; }
.report-photos img { width:100%; max-height:220px; object-fit:contain; }
@media print {
  @page { size:A4; margin:14mm; }
  html,body { height:auto!important; overflow:visible!important; background:white!important; }
  body > *:not(#reportView) { display:none!important; }
  #reportView { display:block!important; position:static!important; width:100%!important; max-width:none!important; max-height:none!important; height:auto!important; overflow:visible!important; margin:0!important; padding:0!important; border:0!important; font-size:10pt; }
  #reportView::backdrop,.report-toolbar { display:none!important; }
  #reportView h2,#reportView h3,#reportView h4 { break-after:avoid; }
  #reportView tr,.report-photos figure,.report-map { break-inside:avoid; }
  #reportView thead { display:table-header-group; }
}

@media (max-width: 880px) {
  #viewer > #cameraContainer {
    position: absolute;
    left: 12px;
    bottom: var(--preview-clearance, 76px);
    z-index: 3;
    width: clamp(136px, 38vw, 184px);
    aspect-ratio: 4 / 3;
    border: 1px solid #a5aea5;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .4);
    pointer-events: none;
  }
  #viewer > #cameraContainer .camera-empty { padding: 10px 8px 28px; gap: 5px; font-size: 11px; }
  #viewer > #cameraContainer .camera-empty-icon { width: 18px; height: 18px; }
  #viewer > #cameraContainer .camera-footer { padding: 16px 6px 6px; font-size: 10px; }
  #viewer > #cameraContainer .camera-readout { display: none; }
}
