:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #effcff;
  --muted: #8195a2;
  --quiet: #526773;
  --void: #020608;
  --surface: #071116;
  --surface-raised: rgba(8, 20, 26, .88);
  --line: rgba(128, 194, 201, .18);
  --line-strong: rgba(124, 234, 222, .36);
  --cyan: #74f4d6;
  --cyan-2: #38bfc4;
  --blue: #57a8ff;
  --lime: #a1ed8d;
  --amber: #f7bc69;
  --violet: #bd8cff;
  --rose: #ff7d9a;
  --danger: #ff8c98;
  --header-h: 74px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--void); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Login */
.login-page {
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(22, 93, 93, .19), transparent 24rem),
    radial-gradient(circle at 13% 12%, rgba(41, 103, 121, .13), transparent 31rem),
    linear-gradient(145deg, #020608, #051014 54%, #020507);
}

.ambient-canvas { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .85; }
.login-grid {
  position: fixed; inset: -20%; opacity: .28; pointer-events: none;
  background-image:
    linear-gradient(rgba(86, 185, 182, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(86, 185, 182, .055) 1px, transparent 1px);
  background-size: 58px 58px;
  transform: perspective(650px) rotateX(58deg) translateY(36%);
  transform-origin: center bottom;
  mask-image: linear-gradient(to bottom, transparent 5%, #000 52%, transparent 88%);
}

.login-page::before,
.login-page::after {
  content: ""; position: fixed; inset: 0; pointer-events: none;
}
.login-page::before {
  background: linear-gradient(90deg, transparent, rgba(116, 244, 214, .025), transparent);
  width: 32%; transform: skewX(-17deg); animation: login-scan 9s linear infinite;
}
.login-page::after {
  box-shadow: inset 0 0 180px rgba(0, 0, 0, .82);
  background-image: radial-gradient(rgba(255,255,255,.05) .5px, transparent .5px);
  background-size: 4px 4px; opacity: .18;
}

.login-orbit {
  position: fixed; left: 50%; top: 50%; border: 1px solid rgba(116, 244, 214, .08);
  border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%);
}
.login-orbit::after {
  content: ""; position: absolute; width: 5px; height: 5px; left: 12%; top: 16%;
  border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan);
}
.login-orbit-a { width: min(690px, 78vw); aspect-ratio: 1; animation: orbit-spin 34s linear infinite; }
.login-orbit-b { width: min(990px, 110vw); aspect-ratio: 1; opacity: .45; animation: orbit-spin 54s linear reverse infinite; }

.login-shell {
  position: relative; z-index: 2; display: grid; min-height: 100vh; min-height: 100svh;
  place-items: center; padding: 28px;
}
.login-panel {
  position: relative; width: min(382px, 100%); padding: 52px 46px 44px;
  border: 1px solid rgba(124, 234, 222, .17); border-radius: 3px;
  background: linear-gradient(145deg, rgba(8, 22, 27, .78), rgba(3, 10, 13, .7));
  box-shadow: 0 38px 90px rgba(0, 0, 0, .42), inset 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
}
.login-panel::before,
.login-panel::after {
  content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none;
}
.login-panel::before { left: -1px; top: -1px; border-left: 2px solid var(--cyan); border-top: 2px solid var(--cyan); }
.login-panel::after { right: -1px; bottom: -1px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); }
.brand-mark { display: flex; justify-content: center; gap: 5px; height: 15px; margin: 0 auto 19px; }
.brand-mark span { width: 4px; border-radius: 4px; background: linear-gradient(to top, var(--cyan-2), var(--cyan)); box-shadow: 0 0 15px rgba(116, 244, 214, .38); }
.brand-mark span:nth-child(1) { height: 8px; margin-top: 7px; }
.brand-mark span:nth-child(2) { height: 15px; }
.brand-mark span:nth-child(3) { height: 11px; margin-top: 4px; }
.login-panel h1 {
  margin: 0 0 44px; color: #f4ffff; font-size: clamp(48px, 11vw, 68px); font-weight: 680;
  line-height: .9; letter-spacing: .27em; text-align: center; text-indent: .27em;
  text-shadow: 0 0 34px rgba(116, 244, 214, .14);
}
.login-form { display: grid; gap: 13px; }
.field-shell {
  display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 12px;
  height: 54px; padding: 0 17px; border: 1px solid rgba(136, 186, 191, .18);
  background: rgba(0, 8, 11, .52); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field-shell:focus-within { border-color: rgba(116, 244, 214, .62); background: rgba(6, 25, 28, .72); box-shadow: 0 0 0 3px rgba(116, 244, 214, .055); }
.field-shell svg { width: 19px; fill: none; stroke: #66808a; stroke-width: 1.45; transition: stroke .2s ease; }
.field-shell:focus-within svg { stroke: var(--cyan); }
.field-shell input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; letter-spacing: .035em; }
.field-shell input::placeholder { color: #536872; }
.login-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 54px; margin-top: 7px;
  border: 1px solid var(--cyan); background: var(--cyan); color: #03100f; cursor: pointer;
  font-size: 13px; font-weight: 820; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease;
}
.login-submit:hover { background: #a2ffe9; box-shadow: 0 10px 32px rgba(116, 244, 214, .17); transform: translateY(-1px); }
.login-submit:active { transform: translateY(1px); }
.login-submit:disabled { cursor: wait; opacity: .65; }
.login-submit svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.login-submit.is-loading svg { animation: arrow-wait 1s ease-in-out infinite; }
.login-error { min-height: 18px; margin: 3px 0 -15px; color: var(--danger); font-size: 12px; text-align: center; letter-spacing: .035em; }
.login-form.is-shaking { animation: form-shake .32s ease; }

/* Portal header */
.map-page { height: 100vh; height: 100svh; overflow: hidden; background: #020709; }
.portal-app { display: grid; grid-template-rows: var(--header-h) 1fr; height: 100%; }
.portal-header {
  position: relative; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-width: 0; padding: 0 26px; border-bottom: 1px solid var(--line);
  background: rgba(3, 10, 13, .92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.portal-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(116,244,214,.6), transparent); opacity: .38; }
.portal-brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.portal-brand strong { font-size: 20px; font-weight: 760; letter-spacing: .22em; }
.brand-symbol { display: flex; align-items: end; gap: 3px; height: 17px; }
.brand-symbol i { display: block; width: 3px; background: var(--cyan); box-shadow: 0 0 10px rgba(116,244,214,.4); }
.brand-symbol i:nth-child(1) { height: 8px; }.brand-symbol i:nth-child(2) { height: 17px; }.brand-symbol i:nth-child(3) { height: 12px; }
.header-location { display: flex; align-items: center; gap: 12px; min-width: 150px; }
.header-location div, .environment-title div { display: flex; flex-direction: column; gap: 3px; }
.header-location small, .environment-title small { color: var(--quiet); font-size: 8px; font-weight: 800; letter-spacing: .2em; }
.header-location strong, .environment-title strong { font-size: 12px; font-weight: 760; letter-spacing: .13em; }
.signal-dot { position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(116,244,214,.72); }
.signal-dot::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(116,244,214,.35); border-radius: 50%; animation: signal-pulse 2.2s ease-out infinite; }
.header-actions { display: flex; justify-self: end; align-items: center; gap: 14px; }
.timecode { color: #718690; font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.icon-button, .drawer-close {
  display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line);
  color: inherit; background: rgba(9, 25, 31, .62); cursor: pointer; text-decoration: none;
  transition: border-color .2s, background .2s, color .2s;
}
.icon-button:hover, .drawer-close:hover { color: var(--cyan); border-color: var(--line-strong); background: rgba(13, 42, 45, .62); }
.icon-button svg, .drawer-close svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }

/* Map */
.atlas-shell { position: relative; min-height: 0; overflow: hidden; }
.map-frame {
  position: absolute; inset: 0; overflow: hidden; isolation: isolate;
  background: #030b0e;
}
.map-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .32;
  background-image:
    linear-gradient(rgba(105, 188, 190, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 188, 190, .045) 1px, transparent 1px),
    linear-gradient(rgba(105, 188, 190, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 188, 190, .018) 1px, transparent 1px);
  background-size: 88px 88px, 88px 88px, 22px 22px, 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 78%);
}
.map-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(116,244,214,.025); }
.map-chrome { position: absolute; inset: 18px; z-index: 14; border: 1px solid rgba(107, 173, 178, .08); pointer-events: none; }
.corner { position: absolute; width: 24px; height: 24px; border-color: rgba(116,244,214,.45); }
.corner-tl { left: -1px; top: -1px; border-left: 1px solid; border-top: 1px solid; }
.corner-tr { right: -1px; top: -1px; border-right: 1px solid; border-top: 1px solid; }
.corner-bl { left: -1px; bottom: -1px; border-left: 1px solid; border-bottom: 1px solid; }
.corner-br { right: -1px; bottom: -1px; border-right: 1px solid; border-bottom: 1px solid; }
.scanline { position: absolute; left: 0; right: 0; height: 1px; top: 12%; opacity: .22; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: map-scan 9s linear infinite; }
.map-heading { position: absolute; z-index: 12; left: clamp(35px, 5vw, 72px); top: clamp(38px, 8vh, 78px); pointer-events: none; }
.map-kicker, .drawer-kicker { color: var(--cyan); font: 760 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .24em; }
.map-heading h1 { margin: 10px 0 8px; font-size: clamp(42px, 6vw, 78px); font-weight: 520; line-height: .9; letter-spacing: -.04em; }
.map-heading p { margin: 0; color: var(--muted); font-size: 12px; letter-spacing: .08em; }
.map-heading p strong { color: var(--ink); font-weight: 760; }
.map-toolbar { position: absolute; z-index: 16; right: clamp(28px, 4vw, 54px); top: 34px; display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); background: rgba(4,13,17,.74); backdrop-filter: blur(12px); }
.map-mode-button { padding: 8px 13px; border: 0; color: #66808a; background: transparent; cursor: pointer; font-size: 10px; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
.map-mode-button.is-active { color: #041311; background: var(--cyan); box-shadow: 0 0 24px rgba(116,244,214,.13); }
.geo-viewport { position: absolute; inset: 0; overflow: hidden; }
.geo-layer {
  position: absolute; left: 50%; top: 52%; width: min(82vw, calc(74vh * 2.332)); aspect-ratio: 1579 / 677;
  --map-scale: 1.52;
  transform: translate(-50%, -50%) scale(var(--map-scale)); transform-origin: 51.94% 72.11%;
  transition: transform .9s cubic-bezier(.2,.75,.2,1), opacity .5s ease;
  will-change: transform;
}
.map-frame.is-wheel-zooming .geo-layer { transition-duration: .12s, .5s; transition-timing-function: ease-out, ease; }
.turkey-map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: .57; filter: grayscale(1) invert(.89) sepia(.3) hue-rotate(119deg) saturate(1.8) brightness(.72) contrast(1.2); mix-blend-mode: screen; transition: opacity .4s ease; }
.turkey-fallback {
  position: absolute; inset: 8% 1% 10%; opacity: 0; border: 1px solid rgba(116,244,214,.55);
  background: linear-gradient(140deg, rgba(21,85,83,.5), rgba(7,31,38,.55));
  clip-path: polygon(1% 55%,5% 39%,11% 32%,18% 37%,23% 26%,31% 31%,37% 21%,44% 28%,52% 18%,59% 25%,66% 17%,73% 28%,81% 23%,87% 34%,95% 36%,99% 48%,93% 55%,88% 69%,79% 70%,74% 83%,65% 79%,57% 85%,47% 78%,40% 88%,32% 76%,25% 80%,18% 67%,10% 70%,6% 62%);
}
.map-image-failed .turkey-map { display: none; }
.map-image-failed .turkey-fallback { opacity: .58; }
.location-marker {
  position: absolute; z-index: 8; width: 34px; height: 34px; padding: 0; border: 0;
  --marker-scale: .6579;
  background: transparent; cursor: pointer; transform: translate(-50%, -50%) scale(var(--marker-scale));
  transition: transform .8s cubic-bezier(.2,.75,.2,1);
}
.map-frame.is-wheel-zooming .location-marker { transition-duration: .12s; transition-timing-function: ease-out; }
.marker-core {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--cyan);
  background: linear-gradient(145deg, rgba(202,255,242,.96), rgba(54,211,188,.72));
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
  filter: drop-shadow(0 0 10px rgba(116,244,214,.5));
}
.marker-core::before {
  position: absolute; inset: 2px; content: ""; background: linear-gradient(145deg, rgba(10,39,42,.98), rgba(3,18,22,.98));
  clip-path: inherit;
}
.marker-glyph { position: relative; z-index: 1; width: 17px; height: 17px; overflow: visible; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; }
.marker-radar, .marker-radar::before, .marker-radar::after { position: absolute; content: ""; pointer-events: none; }
.marker-radar { inset: -9px; border: 1px solid rgba(116,244,214,.25); border-radius: 50%; animation: marker-breathe 2.8s ease-in-out infinite; }
.marker-radar::before { inset: 5px; border: 1px dashed rgba(116,244,214,.22); border-radius: 50%; }
.marker-radar::after { right: 1px; top: 7px; width: 3px; height: 3px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 7px var(--cyan); }
.marker-label { position: absolute; left: calc(100% + 16px); top: 50%; display: flex; min-width: 90px; flex-direction: column; gap: 3px; padding-left: 13px; border-left: 1px solid rgba(116,244,214,.52); transform: translateY(-50%); text-align: left; }
.marker-label small { color: #78929c; font: 760 7px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .2em; }
.marker-label strong { font-size: 12px; letter-spacing: .15em; }
.location-marker:hover .marker-core, .location-marker:focus-visible .marker-core { color: #d5fff5; filter: drop-shadow(0 0 15px rgba(116,244,214,.82)); }
.location-marker:focus-visible { outline: 0; }
.marker-preview {
  position: absolute; left: 50%; bottom: calc(100% + 20px); display: grid; grid-template-columns: 70px 1fr;
  width: 196px; min-height: 72px; overflow: hidden; border: 1px solid rgba(116,244,214,.26);
  color: var(--ink); background: rgba(3,14,18,.95); box-shadow: 0 18px 50px rgba(0,0,0,.46);
  opacity: 0; pointer-events: none; transform: translate(-50%, 9px); transform-origin: center bottom;
  transition: opacity .24s ease, transform .3s cubic-bezier(.2,.8,.2,1); backdrop-filter: blur(16px);
}
.marker-preview::after { content: ""; position: absolute; left: calc(50% - 4px); bottom: -5px; width: 8px; height: 8px; border-right: 1px solid rgba(116,244,214,.26); border-bottom: 1px solid rgba(116,244,214,.26); background: #061419; transform: rotate(45deg); }
.marker-preview img { width: 70px; height: 100%; min-height: 72px; object-fit: cover; filter: saturate(.82) contrast(1.06); }
.marker-preview-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: 5px; padding: 10px 11px; text-align: left; }
.marker-preview-copy small { color: var(--cyan); font: 780 7px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.marker-preview-copy strong { font-size: 11px; font-weight: 650; white-space: nowrap; }
.marker-preview-copy em { overflow: hidden; color: #718991; font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.location-marker:hover .marker-preview, .location-marker:focus-visible .marker-preview { opacity: 1; transform: translate(-50%, 0); }
.map-readout { position: absolute; z-index: 10; left: 35px; bottom: 35px; display: flex; gap: 18px; color: #4e6770; font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; }
.map-readout span + span { position: relative; }
.map-readout span + span::before { content: "/"; position: absolute; left: -11px; color: #2d4148; }
.map-readout #zoomReadout { color: #70958f; }
.map-hint { position: absolute; z-index: 15; left: 50%; bottom: 29px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); color: #849ba4; background: rgba(4,13,17,.78); cursor: pointer; transform: translateX(-50%); backdrop-filter: blur(10px); font-size: 10px; letter-spacing: .05em; }
.map-hint:hover { color: var(--ink); border-color: var(--line-strong); }
.hint-pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: hint-blink 1.6s ease-in-out infinite; }

/* Scene drawer */
.scene-drawer {
  position: absolute; z-index: 30; right: 18px; top: 18px; bottom: 18px; display: grid; grid-template-rows: auto minmax(180px, 34vh) 1fr;
  width: min(520px, calc(100vw - 36px)); overflow: hidden; border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, rgba(9,25,31,.97), rgba(3,11,14,.97));
  box-shadow: -30px 0 90px rgba(0,0,0,.48); transform: translateX(calc(100% + 30px));
  transition: transform .52s cubic-bezier(.2,.8,.2,1); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.scene-drawer.is-open { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 24px 20px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 8px 0 0; font-size: 26px; font-weight: 520; letter-spacing: -.02em; }
.scene-feature { position: relative; min-height: 0; overflow: hidden; border-bottom: 1px solid var(--line); background: #061015; }
.scene-feature > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.08); transform: scale(1.01); transition: opacity .25s, transform .7s cubic-bezier(.2,.7,.2,1); }
.scene-feature:hover > img { transform: scale(1.045); }
.scene-feature-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,8,10,.04), rgba(2,8,10,.18) 35%, rgba(2,8,10,.95)); }
.scene-feature-shade::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(220,255,247,.12); pointer-events: none; }
.scene-feature-copy { position: absolute; z-index: 2; left: 25px; right: 22px; bottom: 22px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 18px; }
.scene-feature-copy > span { position: absolute; right: 0; top: -30px; color: rgba(226,255,248,.55); font: 650 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .16em; }
.scene-feature-copy small { grid-column: 1; color: var(--cyan); font: 780 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; text-transform: uppercase; }
.scene-feature-copy h3 { grid-column: 1; margin: 3px 0 0; font-size: clamp(23px, 2.4vw, 32px); font-weight: 540; line-height: 1; letter-spacing: -.025em; }
.scene-feature-copy a { grid-column: 2; grid-row: 1 / 3; display: inline-flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid rgba(116,244,214,.4); color: #041310; background: var(--cyan); text-decoration: none; font-size: 9px; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; transition: background .2s, transform .2s; }
.scene-feature-copy a:hover { background: #b7ffed; transform: translateY(-2px); }
.scene-feature-copy a svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.scene-list { min-height: 0; overflow: auto; padding: 16px; scrollbar-color: #31535a transparent; scrollbar-width: thin; }
.scene-card {
  --scene-accent: var(--cyan); display: grid; grid-template-columns: minmax(0, 1fr) 34px; align-items: center; gap: 10px;
  min-height: 94px; margin-bottom: 10px; padding: 10px; border: 1px solid rgba(120,171,177,.12);
  color: var(--ink); background: rgba(10,24,29,.58); opacity: 0;
  transform: translateX(14px); animation: scene-enter .42s var(--delay) ease forwards;
  transition: border-color .2s, background .2s, transform .2s;
}
.scene-card:hover { border-color: color-mix(in srgb, var(--scene-accent), transparent 52%); background: rgba(14,34,39,.86); transform: translateX(-2px); }
.scene-card.is-featured { border-color: color-mix(in srgb, var(--scene-accent), transparent 38%); background: color-mix(in srgb, var(--scene-accent), rgba(10,28,33,.88) 92%); box-shadow: inset 3px 0 0 color-mix(in srgb, var(--scene-accent), transparent 12%); }
.scene-select { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 15px; min-width: 0; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; text-align: left; }
.scene-select:focus-visible { outline: 1px solid color-mix(in srgb, var(--scene-accent), transparent 38%); outline-offset: 5px; }
.accent-blue { --scene-accent: var(--blue); }.accent-lime { --scene-accent: var(--lime); }.accent-amber { --scene-accent: var(--amber); }.accent-violet { --scene-accent: var(--violet); }.accent-rose { --scene-accent: var(--rose); }
.scene-thumb { position: relative; display: block; width: 112px; height: 70px; overflow: hidden; background: #061015; }
.scene-thumb::after { content: ""; position: absolute; inset: 0; border: 1px solid color-mix(in srgb, var(--scene-accent), transparent 70%); box-shadow: inset 0 0 26px rgba(0,0,0,.2); }
.scene-thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.04); transition: transform .35s, filter .35s; }
.scene-card:hover .scene-thumb img { transform: scale(1.055); filter: saturate(.95) contrast(1.03); }
.scene-card-body { display: flex; min-width: 0; flex-direction: column; }
.scene-card-body small { overflow: hidden; color: var(--scene-accent); font-size: 8px; font-weight: 780; letter-spacing: .12em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.scene-card-body strong { margin-top: 8px; overflow: hidden; font-size: 15px; font-weight: 640; text-overflow: ellipsis; white-space: nowrap; }
.scene-ready { align-self: flex-start; margin-top: 8px; padding: 3px 6px; border: 1px solid rgba(116,244,214,.18); color: #7fb6ab; font-size: 7px; font-weight: 800; letter-spacing: .16em; }
.scene-card.is-featured .scene-ready { border-color: color-mix(in srgb, var(--scene-accent), transparent 52%); color: var(--scene-accent); }
.scene-arrow { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(120,171,177,.15); color: #607880; transition: color .2s, border-color .2s; }
.scene-arrow svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.scene-card:hover .scene-arrow { color: var(--scene-accent); border-color: color-mix(in srgb, var(--scene-accent), transparent 55%); }
.scene-direct-open { text-decoration: none; }
.scene-direct-open:focus-visible { outline: 1px solid var(--scene-accent); outline-offset: 3px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; padding: 12px 16px; border: 1px solid rgba(255,125,154,.34); color: #ffc5d0; background: rgba(35,7,14,.9); opacity: 0; pointer-events: none; transform: translate(-50%, 10px); transition: .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Guided presentation */
.presentation-mode { position: fixed; z-index: 200; inset: 0; overflow: hidden; color: #f1fffc; background: #020709; opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s; }
.presentation-mode.is-active { opacity: 1; visibility: visible; }
.presentation-image { position: absolute; inset: -2%; width: 104%; height: 104%; object-fit: cover; filter: saturate(.82) contrast(1.06); transform: scale(1.04); transition: opacity .22s, transform 6s linear; }
.presentation-mode.is-active .presentation-image { transform: scale(1.1); }
.presentation-mode.is-switching .presentation-image { opacity: .3; }
.presentation-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,7,9,.94) 0%, rgba(2,7,9,.68) 36%, rgba(2,7,9,.15) 70%), linear-gradient(180deg, rgba(2,7,9,.28), rgba(2,7,9,.1) 55%, rgba(2,7,9,.82)); }
.presentation-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(116,244,214,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(116,244,214,.13) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(90deg, #000, transparent 62%); }
.presentation-topline { position: absolute; z-index: 2; left: 38px; right: 38px; top: 30px; display: flex; align-items: center; justify-content: space-between; }
.presentation-topline > span { display: flex; align-items: center; gap: 11px; font: 760 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .2em; }
.presentation-topline i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.presentation-topline button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(222,255,247,.3); color: #eafff9; background: rgba(3,12,15,.4); cursor: pointer; backdrop-filter: blur(12px); }
.presentation-topline svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.presentation-copy { position: absolute; z-index: 2; left: clamp(38px, 8vw, 120px); bottom: clamp(90px, 16vh, 160px); max-width: 660px; }
.presentation-index { display: block; margin-bottom: 28px; color: rgba(224,255,248,.52); font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .22em; }
.presentation-copy small { color: var(--cyan); font: 780 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .2em; }
.presentation-copy h2 { margin: 15px 0 12px; font-size: clamp(50px, 7vw, 100px); font-weight: 480; line-height: .88; letter-spacing: -.055em; }
.presentation-copy p { margin: 0 0 30px; color: #9aafb4; font-size: 13px; letter-spacing: .08em; }
.presentation-copy a { display: inline-flex; align-items: center; gap: 20px; padding: 14px 17px; border: 1px solid rgba(116,244,214,.45); color: #041310; background: var(--cyan); text-decoration: none; font-size: 10px; font-weight: 820; letter-spacing: .1em; text-transform: uppercase; }
.presentation-copy a:hover { background: #baffef; }
.presentation-copy a span { font-size: 16px; }
.presentation-controls { position: absolute; z-index: 3; right: 38px; bottom: 36px; display: flex; align-items: center; gap: 8px; }
.presentation-controls button { min-width: 42px; height: 40px; padding: 0 13px; border: 1px solid rgba(222,255,247,.22); color: #d5e9e6; background: rgba(3,12,15,.6); cursor: pointer; font: 720 8px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .14em; backdrop-filter: blur(12px); }
.presentation-controls button:hover { color: var(--cyan); border-color: rgba(116,244,214,.5); }
.presentation-progress { position: absolute; z-index: 3; left: 38px; right: 38px; bottom: 30px; height: 1px; overflow: hidden; background: rgba(224,255,248,.14); }
.presentation-progress i { display: block; width: 0; height: 100%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.presentation-progress i.is-running { animation: presentation-progress 6s linear forwards; }

/* Environment */
.environment-page { height: 100vh; height: 100svh; overflow: hidden; background: #020608; }
.environment-header { position: relative; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 62px; padding: 0 18px; border-bottom: 1px solid var(--line); background: rgba(3,10,13,.96); }
.environment-back { display: inline-flex; width: fit-content; align-items: center; gap: 7px; color: #8fa3aa; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.environment-back:hover { color: var(--cyan); }
.environment-back svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.environment-title { display: flex; align-items: center; gap: 12px; }
.environment-header .icon-button { justify-self: end; }
.environment-stage { position: relative; height: calc(100vh - 62px); height: calc(100svh - 62px); background: #020608; }
.environment-stage iframe { display: block; width: 100%; height: 100%; border: 0; opacity: 1; }
.viewer-loading { position: absolute; z-index: 5; inset: 0; overflow: hidden; background: #03090c; transition: opacity .24s, visibility .24s; }
.viewer-loading.is-hidden { visibility: hidden; opacity: 0; }
.viewer-loading-preview { position: absolute; inset: -3%; width: 106%; height: 106%; object-fit: cover; opacity: 0; filter: saturate(.58) contrast(1.1) blur(6px); transform: scale(1.06); transition: opacity .7s, transform 2.2s cubic-bezier(.2,.75,.2,1), filter 1s; }
.viewer-loading.has-scene .viewer-loading-preview { opacity: .48; transform: scale(1); }
.viewer-loading.is-ready .viewer-loading-preview { filter: saturate(.84) contrast(1.04) blur(0); }
.viewer-loading-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,8,10,.92), rgba(2,8,10,.58) 48%, rgba(2,8,10,.3)), linear-gradient(180deg, rgba(2,8,10,.18), rgba(2,8,10,.78)); }
.viewer-loading-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(116,244,214,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(116,244,214,.12) 1px, transparent 1px); background-size: 62px 62px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.viewer-loading-copy { position: absolute; z-index: 2; left: clamp(34px, 8vw, 120px); top: 50%; display: flex; flex-direction: column; transform: translateY(-50%); }
.viewer-loading-copy small { color: var(--cyan); font: 780 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .22em; }
.viewer-loading-copy strong { max-width: 720px; margin-top: 16px; font-size: clamp(40px, 6vw, 84px); font-weight: 480; line-height: .9; letter-spacing: -.045em; }
.viewer-loading-copy span { margin-top: 22px; color: #8ca1a7; font: 650 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; text-transform: uppercase; }
.loader-orbit { position: absolute; z-index: 3; left: clamp(34px, 8vw, 120px); top: calc(50% - clamp(100px, 14vw, 170px)); width: 46px; height: 46px; border: 1px solid rgba(116,244,214,.18); border-top-color: var(--cyan); border-radius: 50%; box-shadow: 0 0 22px rgba(116,244,214,.08); animation: loader-spin 1.2s linear infinite; }
.viewer-loading-progress { position: absolute; z-index: 3; left: clamp(34px, 8vw, 120px); right: clamp(34px, 8vw, 120px); bottom: 48px; height: 1px; overflow: hidden; background: rgba(116,244,214,.14); }
.viewer-loading-progress i { display: block; width: 45%; height: 100%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: viewer-load-progress 1.4s ease-in-out infinite; }
.viewer-loading.is-ready .viewer-loading-progress i { width: 100%; animation: none; transition: width .35s ease; }
.viewer-loading.has-error .loader-orbit { border-top-color: var(--danger); animation-play-state: paused; }
.environment-stage:fullscreen { height: 100%; }

/* Access audit */
.audit-page {
  min-height: 100vh; min-height: 100svh; overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 4%, rgba(27, 106, 100, .16), transparent 30rem),
    linear-gradient(145deg, #020608, #061014 58%, #020608);
}
.audit-page::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .28;
  background-image:
    linear-gradient(rgba(105, 188, 190, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 188, 190, .035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.audit-app { position: relative; z-index: 1; display: grid; grid-template-rows: var(--header-h) 1fr; min-height: 100vh; min-height: 100svh; }
.audit-header { position: sticky; top: 0; }
.audit-main { width: min(1480px, 100%); margin: 0 auto; padding: 50px 38px 34px; }
.audit-hero { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.audit-kicker { color: var(--cyan); font: 780 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .23em; }
.audit-hero h1 { margin: 13px 0 9px; font-size: clamp(40px, 5vw, 68px); font-weight: 520; line-height: .94; letter-spacing: -.04em; }
.audit-hero p { margin: 0; color: var(--muted); font-size: 13px; letter-spacing: .025em; }
.audit-live-state { display: grid; grid-template-columns: auto auto; align-items: center; gap: 7px 11px; min-width: 165px; padding: 17px 20px; border: 1px solid var(--line); background: rgba(7, 20, 25, .66); }
.audit-live-state .signal-dot { grid-row: 1 / 3; }
.audit-live-state strong { font: 720 25px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.audit-live-state > span:last-child { color: var(--quiet); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.audit-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.audit-stat { position: relative; min-height: 132px; padding: 20px 22px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(145deg, rgba(10,27,32,.84), rgba(4,14,18,.76)); }
.audit-stat::after { content: ""; position: absolute; right: -22px; bottom: -37px; width: 100px; height: 100px; border: 1px solid rgba(116,244,214,.08); border-radius: 50%; }
.audit-stat > span { display: block; color: #66818a; font-size: 8px; font-weight: 820; letter-spacing: .18em; }
.audit-stat strong { display: block; margin-top: 15px; font: 650 36px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.audit-stat small { display: block; margin-top: 10px; color: var(--quiet); font-size: 10px; }
.audit-stat-alert strong { color: var(--danger); }
.audit-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 16px; align-items: start; }
.audit-panel { min-width: 0; border: 1px solid var(--line); background: rgba(5, 16, 21, .82); box-shadow: 0 24px 70px rgba(0,0,0,.2); backdrop-filter: blur(17px); -webkit-backdrop-filter: blur(17px); }
.audit-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 82px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.audit-panel-header h2 { margin: 8px 0 0; font-size: 21px; font-weight: 560; }
.audit-refresh { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--line); color: #79929b; background: rgba(8,25,30,.72); cursor: pointer; font-size: 9px; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
.audit-refresh:hover { color: var(--cyan); border-color: var(--line-strong); }
.audit-refresh:disabled { opacity: .6; cursor: wait; }
.audit-refresh svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.audit-refresh.is-loading svg { animation: loader-spin 1s linear infinite; }
.audit-filters { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid rgba(128,194,201,.1); }
.audit-filters select { height: 34px; min-width: 136px; padding: 0 30px 0 10px; border: 1px solid rgba(128,194,201,.15); border-radius: 0; outline: 0; color: #91a7af; background: #07151a; font-size: 9px; font-weight: 680; letter-spacing: .045em; }
.audit-filters select:focus { border-color: var(--line-strong); }
.audit-result-count { margin-left: auto; color: var(--quiet); font: 650 9px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.audit-table-wrap { position: relative; min-height: 280px; overflow-x: auto; }
.audit-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.audit-table th { padding: 12px 14px; border-bottom: 1px solid rgba(128,194,201,.12); color: #49616a; font-size: 8px; font-weight: 820; letter-spacing: .16em; text-align: left; }
.audit-table td { height: 58px; padding: 10px 14px; border-bottom: 1px solid rgba(128,194,201,.08); color: #8499a2; font-size: 10px; vertical-align: middle; }
.audit-table tr:hover td { background: rgba(116,244,214,.018); }
.audit-table .audit-time { min-width: 165px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #718891; }
.audit-table .audit-user { color: var(--ink); font: 720 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.audit-event { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border: 1px solid currentColor; font-size: 7px; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }
.audit-event-success { color: #76dcbf; }.audit-event-neutral { color: #79a6bd; }.audit-event-muted { color: #65777e; }.audit-event-danger { color: var(--danger); }
.audit-device { min-width: 120px; }.audit-network { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.audit-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--quiet); font-size: 11px; letter-spacing: .04em; }
.audit-active-panel { overflow: hidden; }
.active-session-list { display: grid; gap: 9px; max-height: 510px; padding: 14px; overflow-y: auto; }
.active-session-card { padding: 15px; border: 1px solid rgba(128,194,201,.12); background: rgba(10,26,31,.62); }
.active-session-card > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.active-session-card strong { font: 720 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.active-session-badge { padding: 3px 6px; border: 1px solid rgba(116,244,214,.25); color: var(--cyan); font-size: 7px; font-weight: 820; letter-spacing: .15em; }
.active-session-card p { margin: 12px 0 7px; color: #718991; font-size: 9px; line-height: 1.45; }
.active-session-card small { color: #435a62; font: 600 8px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; }
.active-session-empty { margin: 0; padding: 32px 12px; color: var(--quiet); font-size: 11px; text-align: center; }
.audit-note { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin: 0 14px 14px; padding: 13px; border: 1px solid rgba(247,188,105,.14); background: rgba(56,37,13,.12); }
.audit-note > span { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(247,188,105,.3); border-radius: 50%; color: var(--amber); font: 760 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.audit-note p { margin: 0; color: #8b8173; font-size: 9px; line-height: 1.55; }
.audit-footer { display: flex; justify-content: space-between; gap: 20px; padding: 18px 2px 0; color: #40565e; font: 650 8px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }

@keyframes login-scan { from { transform: translateX(-170%) skewX(-17deg); } to { transform: translateX(440%) skewX(-17deg); } }
@keyframes orbit-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes arrow-wait { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes form-shake { 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-2px); } }
@keyframes signal-pulse { 0% { transform: scale(.65); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes map-scan { from { top: 2%; } to { top: 98%; } }
@keyframes marker-breathe { 0%,100% { transform: scale(.92); opacity: .42; } 50% { transform: scale(1.06); opacity: .9; } }
@keyframes hint-blink { 0%,100% { opacity: .42; } 50% { opacity: 1; } }
@keyframes scene-enter { to { opacity: 1; transform: translateX(0); } }
@keyframes presentation-progress { from { width: 0; } to { width: 100%; } }
@keyframes viewer-load-progress { 0% { transform: translateX(-110%); } 50% { transform: translateX(120%); } 100% { transform: translateX(250%); } }

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .portal-header { grid-template-columns: 1fr auto; padding: 0 16px; }
  .header-location { display: none; }
  .timecode { display: none; }
  .map-heading { left: 26px; top: 35px; }
  .map-heading h1 { font-size: 46px; }
  .map-toolbar { right: 22px; top: 24px; }
  .geo-layer { top: 48%; width: min(132vw, calc(60vh * 2.332)); }
  .scene-drawer { top: auto; left: 10px; right: 10px; bottom: 10px; width: auto; height: min(70vh, 590px); transform: translateY(calc(100% + 20px)); }
  .scene-drawer.is-open { transform: translateY(0); }
  .map-readout { left: 22px; bottom: 25px; }
  .map-hint { bottom: 58px; width: calc(100% - 42px); justify-content: center; }
  .scene-drawer { grid-template-rows: auto minmax(155px, 28vh) 1fr; height: min(82vh, 680px); }
  .scene-feature-copy { left: 18px; right: 16px; bottom: 16px; }
  .scene-feature-copy a { padding: 9px 10px; }
  .scene-card { grid-template-columns: minmax(0, 1fr) 30px; }
  .scene-select { grid-template-columns: 90px minmax(0, 1fr); }
  .scene-thumb { width: 90px; height: 62px; }
  .presentation-topline { left: 20px; right: 20px; top: 20px; }
  .presentation-copy { left: 24px; right: 24px; bottom: 120px; }
  .presentation-copy h2 { font-size: clamp(43px, 13vw, 68px); }
  .presentation-controls { right: 20px; bottom: 28px; }
  .presentation-progress { left: 20px; right: 20px; bottom: 20px; }
  .viewer-loading-copy { left: 28px; right: 28px; }
  .loader-orbit { left: 28px; }
  .viewer-loading-progress { left: 28px; right: 28px; }
  .environment-header { grid-template-columns: auto 1fr auto; }
  .environment-title { justify-self: center; }
  .audit-main { padding: 34px 16px 26px; }
  .audit-hero { align-items: start; flex-direction: column; margin-bottom: 24px; }
  .audit-live-state { width: 100%; }
  .audit-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audit-stat { min-height: 116px; padding: 17px; }
  .audit-content-grid { grid-template-columns: 1fr; }
  .audit-filters { align-items: stretch; flex-wrap: wrap; }
  .audit-filters label { flex: 1 1 calc(50% - 8px); }
  .audit-filters select { width: 100%; min-width: 0; }
  .audit-result-count { align-self: center; }
  .audit-footer { align-items: start; flex-direction: column; }
}

@media (max-width: 460px) {
  .login-shell { padding: 18px; }
  .login-panel { padding: 44px 24px 38px; }
  .login-panel h1 { margin-bottom: 36px; }
  .map-mode-button { padding: 7px 9px; font-size: 8px; }
  .map-heading p { max-width: 120px; line-height: 1.45; }
  .map-readout span:nth-child(2) { display: none; }
  .scene-drawer { height: 74vh; }
  .drawer-header { padding: 20px 18px 16px; }
  .scene-list { padding: 12px; }
  .scene-card { grid-template-columns: minmax(0, 1fr) 28px; gap: 8px; min-height: 78px; padding: 8px; }
  .scene-select { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; }
  .scene-thumb { width: 76px; height: 56px; }
  .scene-card-body strong { font-size: 13px; }
  .environment-back span { display: none; }
  .environment-title strong { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .marker-preview { width: 176px; grid-template-columns: 60px 1fr; }
  .marker-preview img { width: 60px; }
  .scene-feature-copy a span { display: none; }
  .scene-feature-copy a { padding: 10px; }
  .presentation-copy p { display: none; }
  .presentation-controls button { padding: 0 9px; }
  .audit-hero h1 { font-size: 40px; }
  .audit-summary-grid { gap: 8px; }
  .audit-stat strong { font-size: 30px; }
  .audit-panel-header { padding: 16px; }
  .audit-filters label { flex-basis: 100%; }
  .audit-result-count { width: 100%; margin: 4px 0 0; }
}

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