:root {
  color-scheme: dark;
  --navy: #072d3b;
  --navy-2: #0a4657;
  --paper: #f6f2e7;
  --paper-2: #fffdf7;
  --ink: #17343d;
  --muted: #62777c;
  --sea: #167b8b;
  --sea-dark: #0a596b;
  --sea-light: #7bd8db;
  --sand: #d59135;
  --sand-dark: #9b5c13;
  --line: rgba(23, 52, 61, 0.15);
  --header-height: 74px;
  --panel-width: 390px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}

button,
dialog { font: inherit; }

button { -webkit-tap-highlight-color: transparent; }

.tour-shell {
  display: grid;
  grid-template-columns: var(--panel-width) minmax(0, 1fr);
  grid-template-rows: var(--header-height) minmax(0, 1fr);
  width: 100%;
  height: 100dvh;
  background: var(--navy);
}

.tour-header {
  z-index: 40;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 9px 18px;
  color: white;
  background:
    radial-gradient(circle at 24% -120%, rgba(123, 216, 219, 0.35), transparent 37%),
    linear-gradient(112deg, #062c3a, #0a4b5e 66%, #083947);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: white;
  text-decoration: none;
}

.brand img {
  flex: 0 0 auto;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,0.22));
}

.brand img.site-logo,
.dialog-heading img.site-logo {
  object-fit: cover;
  background: #f5f0e7;
  border: 2px solid rgba(255,255,255,0.74);
  border-radius: 7px;
}

.dialog-heading img.site-logo { border-color: rgba(9,59,76,0.24); }

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.brand-copy small {
  margin-bottom: 3px;
  color: #a7eaeb;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-copy strong {
  overflow: hidden;
  font-size: clamp(1rem, 2vw, 1.22rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.access-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 11px;
  color: white;
  font: inherit;
  font-size: .74rem;
  font-weight: 760;
  background: rgba(213,145,53,.16);
  border: 1px solid rgba(245,204,133,.38);
  border-radius: 11px;
  cursor: pointer;
}

.access-button:hover,
.access-button:focus-visible { background: rgba(213,145,53,.27); outline: 3px solid rgba(255,255,255,.14); }
.access-button.is-unlocked { background: rgba(64,174,132,.18); border-color: rgba(146,235,198,.42); }

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: white;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.19);
  border-radius: 12px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255,255,255,0.17);
  border-color: rgba(255,255,255,0.4);
  outline: 2px solid transparent;
}

.icon-button:active { transform: translateY(1px); }

.icon-button svg,
.model-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.model-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 12px;
  color: white;
  font-size: 0.8rem;
  font-weight: 720;
  text-decoration: none;
  background: rgba(213,145,53,0.16);
  border: 1px solid rgba(245,204,133,0.35);
  border-radius: 11px;
}

.model-link:hover,
.model-link:focus-visible { background: rgba(213,145,53,0.27); }

.local-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  color: rgba(255,255,255,0.82);
  font-size: 0.73rem;
  background: rgba(0,16,22,0.25);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
}

.local-badge > span {
  width: 8px;
  height: 8px;
  background: #7de2aa;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(125,226,170,0.12);
}

.scene-panel {
  z-index: 30;
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  padding: 25px 22px 24px;
  overflow: auto;
  color: var(--ink);
  background:
    radial-gradient(circle at 112% 0%, rgba(123,216,219,0.18), transparent 31%),
    var(--paper);
  border-right: 1px solid rgba(255,255,255,0.24);
  box-shadow: 13px 0 38px rgba(0,0,0,0.16);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), opacity 180ms ease;
}

.panel-heading h1 {
  margin: 0 0 8px;
  font-size: 1.48rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.panel-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.48;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--sea);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.floor-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin: 19px 0 22px;
  padding: 5px;
  background: rgba(10,89,107,0.08);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.floor-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 39px;
  padding: 6px 3px;
  color: #567078;
  font-size: 0.78rem;
  font-weight: 750;
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}

.floor-tabs button b { font-size: 0.7rem; }

.floor-tabs button span {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  font-size: 0.64rem;
  background: rgba(23,52,61,0.09);
  border-radius: 999px;
}

.floor-tabs button[aria-selected="true"] {
  color: white;
  background: linear-gradient(120deg, var(--sea-dark), var(--sea));
  box-shadow: 0 7px 18px rgba(10,89,107,0.2);
}

.floor-tabs button[aria-selected="true"] span { background: rgba(255,255,255,0.18); }

.floor-tabs button:focus-visible { outline: 3px solid rgba(22,123,139,0.28); }

.plan-section {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-heading h2 {
  margin: 0;
  font-size: 1rem;
}

.plan-badge {
  padding: 5px 8px;
  color: var(--sand-dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(213,145,53,0.12);
  border: 1px solid rgba(155,92,19,0.18);
  border-radius: 999px;
}

.plan-map {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 130px;
  aspect-ratio: var(--plan-aspect, 1 / 1);
  overflow: hidden;
  background: #e9ebdf;
  border: 1px solid rgba(23,52,61,0.16);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(23,52,61,0.09);
}

.plan-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.plan-map > svg,
#plan-markers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.plan-map > svg { pointer-events: none; }

.plan-map .route-confirmed {
  stroke: var(--sea);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.plan-map .route-likely {
  stroke: var(--sand);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  vector-effect: non-scaling-stroke;
}

.plan-marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  padding: 0;
  color: white;
  font-size: 0.66rem;
  font-weight: 850;
  background: var(--sea-dark);
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.32);
  transform: translate(-50%,-50%);
  cursor: pointer;
}

.plan-marker.is-likely { background: var(--sand-dark); }
.plan-marker.is-private { color: #fff4d7; background: #704719; border-color: #ffd89d; border-style: dashed; }
.plan-marker.is-private::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 8px; height: 8px; background: #ffd89d; border: 1px solid #704719; border-radius: 50%; }

.plan-marker.is-active {
  background: #b64e2e;
  box-shadow: 0 0 0 6px rgba(182,78,46,0.21), 0 3px 10px rgba(0,0,0,0.34);
  transform: translate(-50%,-50%) scale(1.08);
}

.plan-marker:focus-visible { outline: 4px solid rgba(255,255,255,0.9); }

.plan-note {
  margin: 9px 1px 8px;
  color: var(--muted);
  font-size: 0.69rem;
  line-height: 1.38;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 13px;
  color: #5f747a;
  font-size: 0.66rem;
}

.legend span { display: inline-flex; align-items: center; gap: 6px; }

.legend-line {
  display: inline-block;
  width: 22px;
  height: 0;
  border-top: 2px solid var(--sea);
}

.legend-line.likely { border-top: 2px dashed var(--sand); }

.scene-list {
  display: grid;
  gap: 8px;
  padding-top: 18px;
}

.station-group {
  display: grid;
  gap: 6px;
}
.station-group.is-private .scene-card { background: rgba(213,145,53,.08); border-color: rgba(155,92,19,.22); }

.station-files {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 0 4px 2px 43px;
}

.photo-chip {
  min-height: 28px;
  padding: 4px 7px;
  color: #537078;
  font: inherit;
  font-size: 0.61rem;
  font-weight: 780;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(23,52,61,0.14);
  border-radius: 7px;
  cursor: pointer;
}

.photo-chip:hover,
.photo-chip:focus-visible {
  color: var(--sea-dark);
  background: white;
  border-color: rgba(22,123,139,0.42);
  outline: none;
}

.photo-chip.is-active {
  color: white;
  background: var(--sea-dark);
  border-color: var(--sea-dark);
}

.scene-card {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 64px;
  padding: 9px 10px;
  color: var(--ink);
  text-align: left;
  background: rgba(255,255,255,0.58);
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.scene-card:hover,
.scene-card:focus-visible {
  background: white;
  border-color: rgba(22,123,139,0.38);
  outline: none;
  transform: translateX(2px);
}

.scene-card.is-active {
  color: white;
  background: linear-gradient(112deg, var(--sea-dark), var(--sea));
  border-color: transparent;
  box-shadow: 0 9px 22px rgba(10,89,107,0.22);
}

.scene-number {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: var(--sea-dark);
  font-size: 0.66rem;
  font-weight: 850;
  background: rgba(22,123,139,0.1);
  border-radius: 9px;
}

.scene-card.is-active .scene-number {
  color: white;
  background: rgba(255,255,255,0.15);
}

.scene-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.scene-copy strong {
  font-size: 0.84rem;
  line-height: 1.2;
}

.scene-copy small {
  color: #667b80;
  font-size: 0.69rem;
  line-height: 1.28;
}

.scene-card.is-active .scene-copy small { color: rgba(255,255,255,0.76); }

.scene-tag {
  align-self: start;
  padding: 4px 6px;
  color: var(--sand-dark);
  font-size: 0.58rem;
  font-weight: 800;
  background: rgba(213,145,53,0.12);
  border-radius: 999px;
}

.scene-card.is-active .scene-tag { color: white; background: rgba(255,255,255,0.14); }

.viewer-stage {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #061d26;
}

.route-nav {
  position: absolute;
  z-index: 9;
  bottom: 18px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.route-nav button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 122px;
  min-height: 48px;
  padding: 7px 11px;
  color: white;
  text-align: left;
  background: rgba(4,29,38,0.8);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.28);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.route-nav button:last-child { text-align: right; }
.route-nav button:disabled { opacity: 0.35; cursor: default; }
.route-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.route-nav span { display: grid; gap: 1px; }
.route-nav small { color: rgba(255,255,255,0.67); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.08em; }
.route-nav strong { font-size: 0.72rem; }

#panorama { width: 100%; height: 100%; }

.scene-status {
  position: absolute;
  z-index: 8;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(560px, calc(100% - 36px));
  min-height: 54px;
  padding: 8px 11px 8px 8px;
  color: white;
  background: rgba(4,29,38,0.76);
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 14px;
  box-shadow: 0 9px 30px rgba(0,0,0,0.22);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.status-index {
  display: grid;
  place-items: center;
  min-width: 59px;
  min-height: 36px;
  padding: 0 7px;
  color: #d7ffff;
  font-size: 0.68rem;
  font-weight: 850;
  background: rgba(22,123,139,0.67);
  border-radius: 9px;
}

.status-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.status-copy strong {
  overflow: hidden;
  font-size: 0.91rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-copy small {
  color: rgba(255,255,255,0.65);
  font-size: 0.67rem;
}

.status-confidence {
  margin-left: 5px;
  padding: 5px 8px;
  color: #c9f7f3;
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: rgba(22,123,139,0.25);
  border: 1px solid rgba(123,216,219,0.26);
  border-radius: 999px;
}

.status-confidence.is-likely {
  color: #ffe3b4;
  background: rgba(213,145,53,0.22);
  border-color: rgba(245,204,133,0.3);
}

.drag-hint {
  position: absolute;
  z-index: 8;
  bottom: 82px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  color: white;
  font-size: 0.75rem;
  font-weight: 720;
  background: rgba(4,29,38,0.75);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.22);
  backdrop-filter: blur(9px);
  transform: translateX(-50%);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.drag-hint.is-hidden { opacity: 0; transform: translate(-50%,8px); }

.drag-hint svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--sea-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tour-loading,
.tour-error {
  position: absolute;
  z-index: 12;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  color: white;
  text-align: center;
  background: radial-gradient(circle at center, #165364, #061d26 72%);
  transition: opacity 260ms ease, visibility 260ms ease;
}

.tour-loading.is-hidden { visibility: hidden; opacity: 0; }
.tour-error[hidden] { display: none; }
.tour-error span { color: rgba(255,255,255,0.72); }

.loading-ring {
  width: 47px;
  height: 47px;
  border: 3px solid rgba(255,255,255,0.18);
  border-top-color: var(--sea-light);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.panel-scrim { display: none; }

.pnlm-hotspot-base.tour-hotspot {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  background: linear-gradient(145deg, #269aaa, #0a6475);
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 7px 24px rgba(0,0,0,0.4), 0 0 0 7px rgba(123,216,219,0.23);
  cursor: pointer;
  animation: hotspot-breathe 2.5s ease-in-out infinite;
}

.pnlm-hotspot-base.tour-hotspot::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  content: "";
  border-top: 3px solid white;
  border-right: 3px solid white;
  transform: translate(-62%,-50%) rotate(45deg);
}

.pnlm-hotspot-base.tour-hotspot.is-likely {
  background: linear-gradient(145deg, #d99a46, #a76218);
  border-style: dashed;
  box-shadow: 0 7px 24px rgba(0,0,0,0.4), 0 0 0 7px rgba(213,145,53,0.23);
}

.pnlm-hotspot-base.tour-info-hotspot {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  color: white;
  background: rgba(5,44,56,0.9);
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  box-shadow: 0 7px 22px rgba(0,0,0,0.35);
}

.pnlm-hotspot-base.tour-info-hotspot::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: "i";
  font-size: 1.15rem;
  font-weight: 850;
}

.tour-hotspot-label {
  position: absolute;
  bottom: calc(100% + 13px);
  left: 50%;
  width: max-content;
  max-width: 225px;
  padding: 8px 11px;
  color: white;
  font-size: 0.7rem;
  font-weight: 720;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  background: rgba(4,29,38,0.91);
  border: 1px solid rgba(255,255,255,0.17);
  border-radius: 9px;
  box-shadow: 0 7px 20px rgba(0,0,0,0.25);
  opacity: 0;
  transform: translate(-50%,4px);
  transition: opacity 150ms ease, transform 150ms ease;
  pointer-events: none;
}

.tour-hotspot:hover .tour-hotspot-label,
.tour-hotspot:focus-visible .tour-hotspot-label,
.tour-info-hotspot:hover .tour-hotspot-label,
.tour-info-hotspot:focus-visible .tour-hotspot-label {
  opacity: 1;
  transform: translate(-50%,0);
}

@keyframes hotspot-breathe {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.14); }
}

.pnlm-controls-container {
  top: auto;
  right: 18px;
  bottom: 18px;
  left: auto;
}

.pnlm-compass { top: 18px; right: 18px; left: auto; }

.help-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  padding: 0;
  color: var(--ink);
  background: var(--paper-2);
  border: 0;
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0,0,0,0.42);
}

.help-dialog::backdrop { background: rgba(2,20,27,0.68); backdrop-filter: blur(4px); }
.help-dialog form { padding: 27px; }

.dialog-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.dialog-heading h2 { margin: 0; font-size: 1.35rem; }

.help-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 21px 0;
  list-style: none;
}

.help-list li {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  color: #49626a;
  font-size: 0.84rem;
  line-height: 1.45;
}

kbd,
.mini-hotspot {
  display: grid;
  place-items: center;
  min-width: 42px;
  min-height: 36px;
  color: white;
  font-weight: 850;
  background: var(--sea-dark);
  border: 0;
  border-radius: 10px;
  box-shadow: none;
}

.mini-hotspot.likely { background: var(--sand-dark); border: 2px dashed white; }

.dialog-note {
  margin: 0 0 20px;
  padding: 14px 15px;
  color: #4f6469;
  font-size: 0.78rem;
  line-height: 1.48;
  background: #eef1e8;
  border-left: 4px solid var(--sand);
  border-radius: 0 10px 10px 0;
}

.primary-button {
  width: 100%;
  min-height: 45px;
  color: white;
  font-weight: 760;
  background: linear-gradient(115deg, var(--sea-dark), var(--sea));
  border: 0;
  border-radius: 11px;
  cursor: pointer;
}

@media (min-width: 901px) {
  .tour-shell.is-panel-closed { grid-template-columns: 0 minmax(0,1fr); }
  .tour-shell.is-panel-closed .scene-panel { opacity: 0; transform: translateX(-100%); pointer-events: none; }
}

@media (max-width: 900px) {
  :root { --header-height: 68px; --panel-width: 380px; }
  .tour-shell { grid-template-columns: minmax(0,1fr); }
  .tour-header { padding: 8px 12px; }
  .brand img { width: 45px; height: 45px; }
  .scene-panel {
    position: fixed;
    top: var(--header-height);
    bottom: 0;
    left: 0;
    width: min(var(--panel-width), calc(100% - 38px));
    transform: translateX(-105%);
  }
  .tour-shell:not(.is-panel-closed) .scene-panel { transform: translateX(0); }
  .panel-scrim {
    position: fixed;
    z-index: 20;
    inset: var(--header-height) 0 0;
    display: block;
    padding: 0;
    background: rgba(2,18,24,0.58);
    border: 0;
    opacity: 1;
    transition: opacity 180ms ease;
  }
  .tour-shell.is-panel-closed .panel-scrim { visibility: hidden; opacity: 0; pointer-events: none; }
  .viewer-stage { grid-column: 1; }
}

@media (max-width: 620px) {
  .brand-copy small { font-size: 0.57rem; letter-spacing: 0.09em; }
  .brand-copy strong { font-size: 0.9rem; }
  .header-actions { gap: 5px; }
  .access-button { width: 39px; min-height: 39px; padding: 0; font-size: 0; }
  .access-button span { font-size: 0; }
  .access-button span::first-letter { font-size: .9rem; }
  .local-badge { display: none; }
  .model-link { width: 39px; min-height: 39px; justify-content: center; padding: 0; }
  .model-link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .icon-button { width: 39px; height: 39px; border-radius: 11px; }
  .scene-status { top: 11px; left: 11px; max-width: calc(100% - 74px); gap: 7px; }
  .status-index { min-width: 50px; }
  .status-confidence { display: none; }
  .status-copy strong { font-size: 0.8rem; }
  .drag-hint { bottom: 76px; }
  .route-nav { bottom: 10px; width: calc(100% - 94px); }
  .route-nav button { min-width: 0; flex: 1; padding: 6px 8px; }
  .route-nav strong { font-size: 0.64rem; }
  .pnlm-controls-container { right: 11px; bottom: 70px; }
  .pnlm-compass { top: 11px; right: 11px; }
  .help-dialog form { padding: 20px; }
}

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