:root {
  --font:
    "Be Vietnam Pro",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  --ink: #33121a;
  --ink-2: #5a3d3f;
  --ink-3: #85706d;
  --ink-4: #b8a7a2;
  --wine: #44101b;
  --wine-dark: #2a0f11;
  --wine-2: #6b1b2b;
  --brand-amber: #fcb549;
  --saffron: #facc14;
  --amber-ink: #b86f0b;
  --mauve: #756563;
  --cream: #faf1e2;
  --glass: rgba(250, 245, 238, .78);
  --glass-2: rgba(253, 250, 245, .93);
  --glass-solid: #fbf6ef;
  --paper: #fffdf9;
  --line: rgba(68, 16, 27, .11);
  --line-2: rgba(68, 16, 27, .19);
  --fill: rgba(68, 16, 27, .045);
  --fill-2: rgba(68, 16, 27, .08);
  --fill-3: rgba(68, 16, 27, .13);
  --emerald: #44101b;
  --emerald-2: #6b1b2b;
  --on-emerald: #ffffff;
  --emerald-soft: rgba(68, 16, 27, .09);
  --f1: #86b13a;
  --f2: #1c9fa9;
  --signal: #c2303a;
  --amber: #e39a1f;
  --shadow:
    inset 0 1px 0 rgba(255, 255, 255, .7),
    inset 0 0 0 1px rgba(255, 255, 255, .32),
    0 26px 60px -26px rgba(42, 15, 17, .42),
    0 4px 14px -4px rgba(42, 15, 17, .12);
  --shadow-sm: 0 10px 26px -12px rgba(42, 15, 17, .34), 0 1px 3px rgba(42, 15, 17, .08);
  --blur: saturate(1.55) blur(22px);
  --r-panel: 22px;
  --r-card: 14px;
  --r-ctl: 11px;
  --panel-w: clamp(372px, 28vw, 420px);
  --gap: 14px;
  --top: 14px;
  --bar-h: 56px;
  --strip-h: 76px;
  --ease: cubic-bezier(.2, .75, .1, 1);
  --sheet-h: min(42dvh, 360px);
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  overflow: hidden;
  background: #b9c9d6;
  color: var(--ink);
  font: 400 13.5px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" 0;
  text-rendering: optimizeLegibility;
  transition: color .6s;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color .18s,
    color .18s,
    box-shadow .18s,
    transform .18s var(--ease),
    opacity .18s;
}
button:disabled {
  opacity: .38;
  cursor: default;
}
a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
}
a:hover {
  text-decoration-color: currentColor;
}
:focus-visible {
  outline: 2px solid var(--emerald-2);
  outline-offset: 2px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -.015em;
  margin: 0;
}
small {
  font-size: 11.5px;
}
.ico {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--fill-3) transparent;
}
::selection {
  background: var(--emerald-soft);
}
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  border-radius: var(--r-panel);
  transition: background-color .6s, box-shadow .6s;
}
#world {
  position: fixed;
  inset: 0;
  z-index: 0;
}
#world canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
#world canvas:active {
  cursor: grabbing;
}
#markers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
#sceneTitle,
.simulation,
footer,
#panelToggle,
#leftToggle,
.lease-scene-heading,
.infra-heading,
.infra-scene-note,
.lease-tour-nav,
.architecture-switch,
.live-badge,
.infra-design-badge,
#homeView {
  display: none !important;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-ctl);
  background: var(--emerald);
  color: var(--on-emerald);
  font-weight: 500;
  font-size: 13.5px;
  box-shadow: 0 8px 18px -10px rgba(68, 16, 27, .7);
}
.primary:hover:not(:disabled) {
  background: var(--emerald-2);
}
.primary:active:not(:disabled) {
  transform: scale(.985);
}
.primary span {
  display: none;
}
.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  padding: 0 14px;
  border-radius: var(--r-ctl);
  background: var(--fill);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line);
}
.secondary:hover:not(:disabled) {
  background: var(--fill-2);
}
.secondary.active,
.secondary[aria-pressed=true] {
  background: var(--ink);
  color: var(--glass-solid);
  box-shadow: none;
}
.text-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 2px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
}
.text-button:hover {
  color: var(--emerald);
}
.text-button span {
  margin-left: auto;
  color: var(--ink-3);
  font-weight: 400;
  font-size: 12px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--ink-2);
}
.icon-button:hover {
  background: var(--fill-2);
  color: var(--ink);
}
.eyebrow,
.section-label,
.pop-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.section-label {
  margin: 22px 0 8px;
}
.section-label span {
  font-variant-numeric: tabular-nums;
  color: var(--ink-4);
}
.segmented {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
}
.segmented > button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.segmented > button:hover {
  color: var(--ink);
  background: var(--fill);
}
.segmented > button.active,
.segmented > button[aria-pressed=true] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px -2px rgba(0, 0, 0, .1);
}
.segmented .ico {
  width: 16px;
  height: 16px;
}
#topbar {
  position: fixed;
  z-index: 30;
  top: var(--top);
  left: var(--gap);
  right: var(--gap);
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 8px 0 10px;
  border-radius: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 9px;
  box-shadow: 0 6px 14px -8px rgba(42, 15, 17, .45);
}
.brand-text {
  display: grid;
  line-height: 1.2;
  min-width: 0;
}
.brand-text b {
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.brand-text b span {
  font-weight: 400;
  color: var(--ink-2);
}
.brand-text small {
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modes {
  position: relative;
  display: flex;
  gap: 2px;
  margin: 0 auto;
  padding: 4px;
  border-radius: 14px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
}
.modes button {
  position: relative;
  z-index: 1;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.modes button:hover {
  color: var(--ink);
}
.modes button.active {
  color: var(--on-emerald);
}
.mode-thumb {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  border-radius: 10px;
  background: var(--emerald);
  box-shadow: 0 6px 16px -8px rgba(68, 16, 27, .8);
  transition: transform .42s var(--ease), width .42s var(--ease);
}
.utilities {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sky-button {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
}
.sky-button:hover,
.sky-button.active {
  background: var(--fill-2);
}
.sky-ico {
  display: grid;
  color: var(--amber);
}
.scene-heading {
  position: fixed;
  z-index: 5;
  top: calc(var(--top) + var(--bar-h) + 18px);
  left: calc(var(--gap) + 8px);
  max-width: min(560px, calc(100vw - var(--panel-w) - 80px));
  pointer-events: none;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 6px 26px rgba(10, 25, 40, .35);
}
.scene-heading span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  opacity: .86;
}
.scene-heading h1 {
  font-size: 36px;
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -.025em;
  margin: 2px 0 4px;
}
.scene-heading p {
  margin: 0;
  font-size: 13.5px;
  opacity: .9;
  max-width: 46ch;
}
.scene-heading.swap h1,
.scene-heading.swap p {
  animation: heading-in .7s var(--ease) both;
}
.scene-heading.swap p {
  animation-delay: .06s;
}
@keyframes heading-in {
  from {
    opacity: 0;
    transform: translateY(6px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.scene-strip {
  position: fixed;
  z-index: 20;
  left: var(--gap);
  right: calc(var(--panel-w) + var(--gap) * 2);
  bottom: var(--gap);
  height: var(--strip-h);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 20px;
  transition: right .35s var(--ease);
}
body.details-hidden .scene-strip,
body.lease-presenting .scene-strip {
  right: var(--gap);
}
.strip-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 100%;
  border-radius: 13px;
  color: var(--ink-2);
}
.strip-btn:hover:not(:disabled) {
  background: var(--fill-2);
  color: var(--ink);
}
#contextLinks {
  flex: 1;
  display: flex;
  gap: 6px;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 10px,
      #000 calc(100% - 22px),
      transparent);
  padding: 0 6px;
}
#contextLinks::-webkit-scrollbar {
  display: none;
}
.scene-card {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 5px 14px 5px 5px;
  border-radius: 13px;
  scroll-snap-align: start;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.scene-card img,
.card-ico {
  width: 72px;
  height: 50px;
  border-radius: 9px;
  object-fit: cover;
  flex: none;
  background: var(--fill-2);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s var(--ease);
}
.card-ico {
  display: grid;
  place-items: center;
  color: var(--ink-2);
}
.scene-card:hover {
  background: var(--fill);
  color: var(--ink);
}
.scene-card:hover img {
  transform: scale(1.03);
}
.scene-card[aria-pressed=true] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px -8px rgba(0, 0, 0, .25);
}
.scene-card[aria-pressed=true] img {
  box-shadow: 0 0 0 2px var(--emerald);
}
.view-rail {
  position: fixed;
  z-index: 20;
  left: var(--gap);
  bottom: calc(var(--strip-h) + var(--gap) * 2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 5px;
  border-radius: 16px;
}
.view-rail button,
.rail-slot button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  color: var(--ink-2);
}
.view-rail button:hover,
.view-rail button.active {
  background: var(--fill-2);
  color: var(--ink);
}
.rail-slot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 0;
  margin: 2px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
#panelHandle {
  position: fixed;
  z-index: 21;
  top: calc(var(--top) + var(--bar-h) + 12px);
  right: var(--gap);
  width: var(--panel-w);
  height: 54px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px 0 18px;
  border-radius: var(--r-panel) var(--r-panel) 0 0;
  box-shadow: none;
  background: var(--glass-2);
  border-bottom: 1px solid var(--line);
}
.handle-title {
  flex: 1;
  display: grid;
  line-height: 1.25;
  min-width: 0;
}
.handle-title small {
  font-size: 11.5px;
  color: var(--ink-3);
}
.handle-title b {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
}
#panelHandle button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--ink-2);
}
#panelHandle button:hover {
  background: var(--fill-2);
  color: var(--ink);
}
#workspaceExpand {
  display: none !important;
}
body.details-hidden #panelHandle {
  width: auto;
  border-radius: 16px;
  padding-left: 16px;
  border: 0;
  box-shadow: var(--shadow);
}
body.lease-presenting #panelHandle {
  display: none;
}
#rightPanel,
.lease-board,
.infra-board {
  position: fixed;
  z-index: 20;
  top: calc(var(--top) + var(--bar-h) + 66px);
  right: var(--gap);
  bottom: var(--gap);
  width: var(--panel-w);
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}
#rightPanel {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 22px 24px;
}
.lease-board,
.infra-board {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
body.details-hidden #rightPanel,
body.details-hidden .lease-board,
body.details-hidden .infra-board {
  display: none !important;
}
body.lease-mode #rightPanel,
body.infra-mode #rightPanel {
  display: none !important;
}
#panelHandle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 54px;
  height: 12px;
  background: var(--glass-2);
  pointer-events: none;
}
body.details-hidden #panelHandle::after {
  display: none;
}
.popover {
  position: fixed;
  z-index: 40;
  padding: 16px;
  border-radius: 20px;
  background: var(--glass-2);
  max-height: calc(100dvh - 200px);
  overflow-y: auto;
  animation: pop-in .26s var(--ease);
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#displayMenu,
#architecturePopover,
#layerPopover,
.minimap {
  left: calc(var(--gap) + 62px);
  bottom: calc(var(--strip-h) + var(--gap) * 2);
  width: 340px;
}
#skyPanel {
  top: calc(var(--top) + var(--bar-h) + 10px);
  right: calc(var(--gap) + 52px);
  width: 360px;
}
.pop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.pop-head b {
  font-weight: 600;
  font-size: 15px;
}
.pop-head small {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  margin-top: 2px;
}
.pop-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: -4px -4px 0 0;
  border-radius: 10px;
  color: var(--ink-3);
}
.pop-close:hover {
  background: var(--fill-2);
  color: var(--ink);
}
.pop-label {
  margin: 16px 0 8px;
}
.pop-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  padding: 0 12px;
  border-radius: 11px;
  background: var(--fill);
  font-weight: 500;
  font-size: 13px;
  text-align: left;
}
.pop-row:hover {
  background: var(--fill-2);
}
.pop-hint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3);
}
body:not(.lease-mode) #workspacePresent {
  display: none;
}
#toolsContent {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
#toolsContent .dock {
  display: grid;
  gap: 10px;
}
.dock .view-switch,
.dock .floor-switch {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
}
.dock .view-switch button,
.dock .floor-switch button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.dock .view-switch button.active,
.dock .floor-switch button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px -2px rgba(0, 0, 0, .1);
}
.dock .view-switch .ico {
  width: 16px;
  height: 16px;
}
#layers,
#labelsToggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 11px;
  background: var(--fill);
  font-weight: 500;
  font-size: 13px;
}
#layers:hover,
#labelsToggle:hover {
  background: var(--fill-2);
}
#layers.active,
#labelsToggle.active {
  box-shadow: inset 0 0 0 1.5px var(--emerald);
}
body.lease-mode .dock,
body.infra-mode .dock {
  display: none !important;
}
.view-tools {
  display: grid;
  gap: 8px;
}
.view-tools > :not(#labelsToggle) {
  display: none;
}
body.lease-mode .view-tools,
body.infra-mode .view-tools {
  display: none;
}
#layerPopover label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: 13px;
  cursor: pointer;
}
#layerPopover input {
  accent-color: var(--emerald);
  width: 16px;
  height: 16px;
}
#layerPopover i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
#layerPopover small {
  display: block;
  color: var(--ink-3);
  font-size: 12px;
  margin-top: 6px;
}
#layerPopover .section-label {
  margin-top: 0;
}
.minimap {
  padding: 14px;
}
.minimap-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 13px;
}
.minimap-head b {
  font-weight: 600;
}
.minimap-head span {
  color: var(--ink-3);
  font-size: 12px;
}
.minimap svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--wine-dark);
}
.minimap small {
  display: block;
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 11.5px;
}
#miniCamera {
  fill: var(--signal);
  stroke: #fff;
  stroke-width: .8;
}
#miniDots circle {
  cursor: pointer;
}
.sky-dial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 6px;
}
.sky-dial output {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
#skySun {
  color: var(--amber);
}
#skySun .ico {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
}
.sky-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 30px;
  margin: 4px 0 0;
  background: transparent;
  cursor: ew-resize;
}
.sky-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 8px;
  background:
    linear-gradient(
      90deg,
      #dc8a62 0%,
      #f0bf8c 7%,
      #a9cdea 20%,
      #7fb2e3 50%,
      #a9cdea 78%,
      #f0b07c 91%,
      #d4744f 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}
.sky-range::-moz-range-track {
  height: 8px;
  border-radius: 8px;
  background:
    linear-gradient(
      90deg,
      #dc8a62 0%,
      #f0bf8c 7%,
      #a9cdea 20%,
      #7fb2e3 50%,
      #a9cdea 78%,
      #f0b07c 91%,
      #d4744f 100%);
}
.sky-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 2px 8px rgba(0, 0, 0, .3);
}
.sky-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .35), 0 2px 8px rgba(0, 0, 0, .3);
}
.sky-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.sky-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 4px;
}
.sky-presets button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 8px;
  white-space: nowrap;
  border-radius: 10px;
  background: var(--fill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.sky-presets button:hover {
  background: var(--fill-2);
  color: var(--ink);
}
.sky-presets button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 1.5px var(--emerald);
}
.sky-presets .ico {
  width: 16px;
  height: 16px;
  color: var(--amber);
}
.switch-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.switch-row small {
  display: block;
  font-weight: 400;
  color: var(--ink-3);
  font-size: 11.5px;
}
.switch-row input {
  position: absolute;
  right: 0;
  opacity: 0;
  width: 40px;
  height: 24px;
  cursor: pointer;
}
.switch-row i {
  flex: none;
  width: 40px;
  height: 24px;
  border-radius: 12px;
  background: var(--fill-3);
  padding: 3px;
  transition: background .2s;
}
.switch-row i::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .25s var(--ease);
}
.switch-row input:checked + i {
  background: var(--emerald);
}
.switch-row input:checked + i::after {
  transform: translateX(16px);
}
.switch-row input:focus-visible + i {
  outline: 2px solid var(--emerald-2);
  outline-offset: 2px;
}
.slider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
}
.slider-row input {
  flex: 1;
  accent-color: var(--emerald);
}
#leftPanel {
  position: fixed;
  z-index: 25;
  top: calc(var(--top) + var(--bar-h) + 12px);
  left: var(--gap);
  bottom: calc(var(--strip-h) + var(--gap) * 2);
  width: 330px;
  padding: 22px 22px 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--glass-2);
  display: none;
  animation: drawer-in .32s var(--ease);
}
body.left-open #leftPanel {
  display: block;
}
@keyframes drawer-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
#leftPanel h1 {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.12;
  margin: 0 0 8px;
}
#leftPanel h1 span {
  color: var(--emerald);
}
#leftPanel .eyebrow {
  margin-bottom: 6px;
}
.intro {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 16px 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--line);
  box-shadow: inset 0 0 0 1px var(--line);
}
.stats > div {
  padding: 12px 14px;
  background: var(--glass-2);
}
.stats strong {
  display: block;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stats strong small {
  font-size: 12px;
  margin-left: 4px;
  color: var(--ink-3);
  letter-spacing: 0;
}
.stats span {
  font-size: 12px;
  color: var(--ink-3);
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}
.loc,
.scenario {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 13px;
  text-align: left;
  color: var(--ink);
}
.loc b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: var(--fill-2);
  font-size: 11.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.loc span {
  flex: 1;
}
.loc i {
  font-style: normal;
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.loc:hover,
.scenario:hover:not(:disabled) {
  background: var(--fill);
}
.loc.active {
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 14px -8px rgba(0, 0, 0, .25);
}
.loc.active b {
  background: var(--emerald);
  color: var(--on-emerald);
}
.scenario {
  display: block;
  padding: 12px 14px;
  margin: 6px 0;
  background: var(--fill);
}
.scenario span {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 2px;
}
.scenario.active {
  background: color-mix(in srgb, var(--signal) 12%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--signal);
}
#leftPanel label {
  font-size: 13px;
}
#leftPanel input[type=checkbox] {
  accent-color: var(--emerald);
}
#leftPanel .primary {
  margin: 16px 0 4px;
}
.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--fill-2);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.panel-number {
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
#rightPanel h3 {
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.22;
  margin: 14px 0 6px;
}
.body-copy {
  margin: 8px 0 16px;
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.62;
}
.cover-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: var(--r-card);
  cursor: zoom-in;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .35s var(--ease);
}
.cover-photo:hover {
  transform: scale(1.01);
}
.photo-caption {
  font-size: 12px;
  color: var(--ink-3);
  margin: 8px 0 12px;
}
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.data-row span {
  color: var(--ink-3);
}
.data-row strong {
  text-align: right;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  max-width: 60%;
}
.info-note,
.storage-note {
  margin: 16px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--fill);
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.6;
}
.storage-note {
  background: none;
  padding: 0;
  color: var(--ink-3);
  font-size: 12px;
}
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.metric {
  padding: 14px;
  border-radius: var(--r-card);
  background: var(--fill);
}
.metric small {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}
.metric strong {
  display: block;
  margin: 6px 0 2px;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.metric strong small {
  display: inline !important;
  font-size: 13px;
}
.metric span {
  font-size: 12px;
  color: var(--ink-2);
}
.bar {
  height: 5px;
  margin: 10px 0 4px;
  border-radius: 5px;
  background: var(--fill-2);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 5px;
  background: var(--emerald);
  transition: width .6s var(--ease);
}
.alert-box {
  padding: 14px;
  border-radius: var(--r-card);
  background: color-mix(in srgb, var(--signal) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--signal) 30%, transparent);
  font-size: 13px;
  line-height: 1.6;
}
.alert-box b {
  color: var(--signal);
  font-weight: 600;
}
.steps label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}
.steps input {
  accent-color: var(--emerald);
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex: none;
}
.log-entry {
  padding: 8px 0 8px 12px;
  margin: 6px 0;
  border-left: 2px solid var(--line-2);
  font-size: 12.5px;
}
.log-entry small {
  display: block;
  color: var(--ink-3);
}
.progress-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.check-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.55;
}
.check-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.check-options button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  background: var(--fill);
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.check-options button:hover {
  background: var(--fill-2);
}
.check-options button.pass {
  background: color-mix(in srgb, #3e9b5c 16%, transparent);
  box-shadow: inset 0 0 0 1.5px #3e9b5c;
  color: var(--ink);
}
.check-options button.fail {
  background: color-mix(in srgb, var(--signal) 14%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--signal);
  color: var(--ink);
}
.check-options button.na {
  background: var(--fill-2);
  box-shadow: inset 0 0 0 1.5px var(--ink-4);
  color: var(--ink);
}
.form-field {
  display: block;
  margin: 14px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.form-field input,
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  box-shadow: inset 0 0 0 1.5px var(--emerald);
}
.form-field textarea {
  min-height: 84px;
  resize: vertical;
}
.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1.5px dashed var(--line-2);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.file-drop:hover,
.file-drop:focus-within {
  border-color: var(--emerald-2);
  background: var(--emerald-soft);
}
.file-drop:focus-within {
  outline: 2px solid var(--emerald-2);
  outline-offset: 2px;
}
.file-drop svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--emerald);
}
.file-drop span {
  display: grid;
  gap: 2px;
}
.file-drop b {
  font-weight: 600;
  font-size: 13.5px;
}
.file-drop small {
  color: var(--ink-3);
  font-size: 12px;
}
.file-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
}
.evidence {
  display: block;
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 8px;
}
#leaseUI[hidden] {
  display: none;
}
.lease-board-head {
  display: none;
}
.lease-step-tabs {
  flex: none;
  display: flex;
  gap: 3px;
  margin: 12px 16px 0;
  padding: 3px;
  border-radius: 12px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
}
.lease-step-tabs button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  border-radius: 9px;
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.lease-step-tabs span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.lease-step-tabs button.active {
  background: var(--paper);
  color: var(--emerald);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px -2px rgba(0, 0, 0, .1);
}
.lease-step-tabs button.active span {
  color: var(--ink);
}
.lease-board-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 20px 22px;
}
.lease-kpi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lease-kpi > div > span {
  font-size: 12.5px;
  color: var(--ink-3);
}
.lease-kpi strong {
  display: block;
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.lease-kpi strong small {
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: 4px;
}
.lease-ring {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--emerald) var(--fill, 25%), var(--fill-2) 0);
  transition: background .3s;
}
.lease-ring::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--glass-2);
}
.lease-ring b {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.lease-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 8px 0 4px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.lease-summary b {
  color: var(--ink);
  font-weight: 500;
  margin-left: 4px;
  font-variant-numeric: tabular-nums;
}
.lease-summary i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--f1);
  margin-right: 6px;
}
.lease-summary span + span i {
  background: var(--f2);
}
.lease-stage {
  animation: stage-in .3s var(--ease);
}
@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.lease-intro-photo,
.stage-lead {
  display: none;
}
.lease-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0 10px;
}
.lease-section-head b {
  font-size: 13.5px;
  font-weight: 600;
}
.lease-section-head button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--emerald);
}
.lease-section-head button:hover {
  background: var(--emerald-soft);
}
.lease-presets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lease-presets button {
  position: relative;
  display: block;
  min-height: 72px;
  padding: 14px 16px;
  border-radius: var(--r-card);
  text-align: left;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.lease-presets button:hover {
  background: var(--fill-2);
}
.lease-presets button::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  height: 3px;
  border-radius: 3px;
  background: var(--fill-3);
}
.lease-presets button[data-preset=half1]::after {
  background:
    linear-gradient(
      90deg,
      var(--f1) 50%,
      var(--fill-3) 50%);
}
.lease-presets button[data-preset=full1]::after {
  background: var(--f1);
}
.lease-presets button[data-preset=half2]::after {
  background:
    linear-gradient(
      90deg,
      var(--f2) 50%,
      var(--fill-3) 50%);
}
.lease-presets button[data-preset=full2]::after {
  background: var(--f2);
}
.lease-presets button[data-preset=both]::after {
  background:
    linear-gradient(
      90deg,
      var(--f1) 50%,
      var(--f2) 50%);
}
.lease-presets button:last-child {
  grid-column: span 2;
}
.lease-presets b {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.lease-presets span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.lease-presets button.active {
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--emerald), 0 8px 18px -12px rgba(0, 0, 0, .4);
}
.lease-floor-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 12px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
}
.lease-floor-tabs button {
  flex: 1;
  min-height: 36px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.lease-floor-tabs button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px -2px rgba(0, 0, 0, .1);
}
.plan-wrap {
  margin-top: 10px;
  padding: 4px;
  border-radius: var(--r-card);
  background: var(--wine-dark);
  box-shadow: inset 0 0 0 1px rgba(252, 181, 73, .18);
  overflow: hidden;
  color: #fff6e8;
}
.plan-floor-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px 0;
  font-size: 12px;
  font-weight: 600;
}
.plan-floor-heading span {
  font-weight: 400;
  color: rgba(255, 246, 232, .6);
}
.floor-plan {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--font);
}
.plan-hit {
  cursor: pointer;
  transition: fill .15s;
}
.plan-hit:hover,
.plan-hit:focus {
  fill: rgba(255, 246, 232, .06);
  outline: none;
  stroke: rgba(255, 246, 232, .55);
  stroke-dasharray: 5 4;
}
.lease-adjust {
  margin-top: 10px;
  padding: 14px 16px;
  border-radius: var(--r-card);
  background: var(--fill);
}
.lease-area-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
}
.lease-area-entry > div {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lease-area-entry button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 36px;
  border-radius: 9px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 16px;
}
.lease-area-entry input {
  width: 84px;
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-2);
  text-align: right;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.lease-area-entry input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.lease-area-entry span {
  color: var(--ink-3);
  font-size: 12px;
}
.lease-adjust-label {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-2);
}
.lease-adjust-label output {
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.lease-adjust input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 6px;
  margin: 16px 0 10px;
  border-radius: 6px;
  background:
    linear-gradient(
      90deg,
      var(--emerald) var(--range, 50%),
      var(--fill-3) 0);
  cursor: ew-resize;
}
.lease-adjust input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .25);
}
.lease-adjust input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.lease-adjust-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--ink-3);
}
.lease-side {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12.5px;
}
.lease-side > span {
  margin-right: auto;
  color: var(--ink-3);
}
.lease-side button {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.lease-side button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--emerald);
}
.plan-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
}
.plan-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border-radius: 3px;
  background: var(--fill-3);
}
.plan-legend .legend-selected {
  background: var(--f1);
}
.decision-title {
  margin: 16px 0 12px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.decision-bars > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 12.5px;
  color: var(--ink-3);
}
.decision-bars i {
  flex: 1;
  height: 8px;
  border-radius: 8px;
  background: var(--fill-2);
  overflow: hidden;
}
.decision-bars b {
  display: block;
  height: 100%;
  border-radius: 8px;
  transition: width .5s var(--ease);
}
.decision-bars strong {
  min-width: 74px;
  text-align: right;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.decision-caption {
  margin: 0 0 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}
.lease-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--line);
  box-shadow: inset 0 0 0 1px var(--line);
}
.lease-specs button {
  padding: 12px 14px;
  text-align: left;
  background: var(--glass-2);
}
.lease-specs button:hover {
  background: var(--paper);
}
.lease-specs span {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
}
.lease-specs b {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.lease-price {
  position: relative;
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--r-card);
  color: #f2f6f3;
  background:
    radial-gradient(
      120% 140% at 100% 0%,
      #1b7a62 0%,
      #0d4a3c 55%,
      #0a372d 100%);
  box-shadow: 0 16px 30px -18px rgba(9, 50, 40, .9);
}
.lease-price > div > span {
  font-size: 12.5px;
  opacity: .8;
}
.lease-price b {
  display: block;
  margin-top: 2px;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.lease-price button {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
}
.lease-price button:hover {
  background: rgba(255, 255, 255, .2);
}
.lease-price small {
  display: block;
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.55;
  opacity: .72;
}
.lease-notes {
  margin: 16px 0 4px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.lease-notes summary,
#infraDetail summary,
.infra-method summary {
  cursor: pointer;
  min-height: 36px;
  display: flex;
  align-items: center;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
}
.lease-notes summary::before,
#infraDetail summary::before,
.infra-method summary::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .2s;
}
details[open] > summary::before {
  transform: rotate(45deg);
}
summary::-webkit-details-marker {
  display: none;
}
.lease-step-footer,
.lease-board-foot {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}
.lease-step-footer > span {
  margin: 0 auto;
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.lease-step-footer button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
.lease-step-footer button:hover:not(:disabled) {
  background: var(--fill-2);
  color: var(--ink);
}
.lease-step-footer button:last-child {
  background: var(--emerald);
  color: var(--on-emerald);
  padding: 0 12px 0 16px;
}
.lease-step-footer .ico,
.lease-board-foot .ico {
  width: 17px;
  height: 17px;
}
.lease-step-footer button:last-child:hover {
  background: var(--emerald-2);
}
.lease-board-foot {
  padding-top: 0;
  border: 0;
}
.lease-board-foot button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 11px;
  background: var(--fill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
.lease-board-foot button:hover:not(:disabled) {
  background: var(--fill-2);
  color: var(--ink);
}
.lease-board-foot button:first-child {
  flex: 1;
}
.lease-board-foot button span {
  color: var(--ink-3);
  margin-left: 4px;
  font-variant-numeric: tabular-nums;
}
#exportLease {
  width: 40px;
  padding: 0;
  display: grid;
  place-items: center;
}
.lease-view-actions {
  position: fixed;
  z-index: 22;
  top: calc(var(--top) + var(--bar-h) + 14px);
  right: var(--gap);
  display: none;
  gap: 6px;
}
body.lease-presenting .lease-view-actions {
  display: flex;
}
.lease-view-actions button {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 500;
}
body.lease-presenting .lease-view-actions #leasePresent,
body.lease-presenting .lease-view-actions #leaseLabels {
  display: flex;
}
#infraUI[hidden] {
  display: none;
}
.infra-board {
  --infra-accent: #c84938;
}
.infra-board-head {
  flex: none;
  display: block;
  padding: 12px 16px 0;
}
.infra-board-head > div:first-child {
  display: none;
}
.infra-viewport-controls {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 4px;
  align-items: center;
}
.infra-floor {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 12px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
}
.infra-floor button {
  flex: 1;
  min-height: 32px;
  padding: 0 6px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
}
.infra-floor button[aria-pressed=true] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 2px 8px -2px rgba(0, 0, 0, .1);
}
.infra-viewport-controls > button {
  display: grid;
  place-items: center;
  height: 38px;
  min-width: 38px;
  padding: 0 8px;
  border-radius: 11px;
  color: var(--ink-2);
  font-size: 0;
}
.infra-viewport-controls > button .ico {
  width: 18px;
  height: 18px;
}
.infra-viewport-controls > button:hover {
  background: var(--fill-2);
  color: var(--ink);
}
.infra-viewport-controls > button[aria-pressed=true] {
  background: var(--fill-2);
  color: var(--ink);
}
.infra-systems {
  flex: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 16px 0;
}
.infra-systems button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 64px;
  padding: 10px 12px;
  border-radius: var(--r-card);
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  color: var(--ink-2);
}
.infra-systems i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-style: normal;
  background: var(--fill-2);
}
.infra-systems i .ico {
  width: 16px;
  height: 16px;
}
.infra-systems button[data-infra-system=fire] i {
  color: #c84938;
}
.infra-systems button[data-infra-system=water] i {
  color: #1584a1;
}
.infra-systems button[data-infra-system=power] i {
  color: #b07514;
}
.infra-systems [aria-pressed=true] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--infra-accent), 0 8px 18px -12px rgba(0, 0, 0, .35);
}
#infraCombine {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 16px 0;
  min-height: 38px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: inset 0 0 0 1px var(--line);
}
#infraCombine:hover {
  background: var(--fill);
}
#infraCombine[aria-pressed=true] {
  background: var(--ink);
  color: var(--glass-solid);
  box-shadow: none;
}
.infra-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 20px 22px;
}
.infra-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.infra-overview strong {
  display: block;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.infra-overview span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
}
#infraSystemIcon {
  color: var(--infra-accent);
}
#infraSystemIcon .ico {
  width: 34px;
  height: 34px;
  stroke-width: 1.3;
}
#infraSummary {
  margin: 10px 0 18px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.infra-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-3);
}
.infra-section-title button {
  min-height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  color: var(--emerald);
  font-size: 12.5px;
  font-weight: 500;
}
#infraComponents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.infra-layer {
  display: flex;
  align-items: center;
  min-width: 0;
  border-radius: 12px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.infra-layer button {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 46px;
  padding: 6px 10px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}
.infra-layer button small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-3);
}
.infra-layer i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  flex: none;
}
.infra-layer input {
  width: 17px;
  height: 17px;
  margin: 0 10px 0 0;
  accent-color: var(--infra-accent);
  cursor: pointer;
  flex: none;
}
.infra-layer:has([aria-pressed=true]) {
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--infra-accent);
}
.infra-layer:has(input:not(:checked)) {
  opacity: .55;
}
#infraDetail {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.infra-detail-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
}
.infra-detail-kicker button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--emerald-soft);
  color: var(--emerald);
  font-size: 12.5px;
  font-weight: 500;
}
#infraDetail h3 {
  margin: 8px 0 10px;
  font-size: 19px;
  font-weight: 500;
}
.infra-metric {
  padding-left: 12px;
  border-left: 3px solid var(--infra-accent);
}
.infra-metric strong {
  display: block;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--infra-accent);
  font-variant-numeric: tabular-nums;
}
.infra-metric span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-3);
}
#infraDetail p {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
#infraDetail dl {
  margin: 0 0 12px;
}
#infraDetail dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
#infraDetail dt {
  color: var(--ink-3);
}
#infraDetail dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}
.infra-evidence-buttons {
  display: flex;
  gap: 6px;
}
.infra-evidence-buttons button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 11px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12.5px;
  font-weight: 500;
}
.infra-evidence-buttons button:hover {
  background: var(--fill-2);
}
.infra-evidence-buttons small {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
#infraDetail p.infra-evidence-caption {
  margin: 8px 0;
  font-size: 12px;
  color: var(--ink-3);
}
#infraDetail details,
.infra-method {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.infra-method {
  margin-top: 14px;
}
.infra-chain {
  display: none;
}
.infra-board-foot {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}
.infra-board-foot i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--emerald);
}
.infra-board-foot button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--fill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
}
#infraMarkers {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
#architectureUI {
  position: fixed;
  inset: 0;
  z-index: 26;
  pointer-events: none;
}
#architecturePopover {
  pointer-events: auto;
}
.architecture-pop-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}
.architecture-pop-head .eyebrow {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.architecture-pop-head p {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}
#architectureClose {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--ink-3);
  font-size: 0;
}
#architectureClose:hover {
  background: var(--fill-2);
  color: var(--ink);
}
.architecture-toggles {
  padding: 6px 0;
}
.architecture-toggles label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  font-size: 13px;
  cursor: pointer;
}
.architecture-toggles label span {
  flex: 1;
}
.architecture-toggles input {
  position: absolute;
  right: 0;
  width: 40px;
  height: 24px;
  opacity: 0;
  cursor: pointer;
}
.architecture-toggles i {
  display: block;
  width: 38px;
  height: 22px;
  padding: 3px;
  border-radius: 12px;
  background: var(--fill-3);
  transition: background .2s;
  pointer-events: none;
}
.architecture-toggles i::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .25s var(--ease);
}
.architecture-toggles input:checked + i {
  background: var(--emerald);
}
.architecture-toggles input:checked + i::after {
  transform: translateX(16px);
}
.architecture-toggles input:disabled + i {
  opacity: .35;
}
.architecture-toggles input:focus-visible + i {
  outline: 2px solid var(--emerald-2);
  outline-offset: 2px;
}
.architecture-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
}
.architecture-detail-head small {
  font-weight: 400;
  color: var(--ink-3);
}
.architecture-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}
.architecture-details button {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--fill);
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
}
.architecture-details button:hover {
  background: var(--fill-2);
}
.architecture-footnote {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.55;
}
#architectureDetail {
  position: fixed;
  left: calc(var(--gap) + 62px);
  bottom: calc(var(--strip-h) + var(--gap) * 2);
  width: 340px;
  padding: 16px 18px;
  border-radius: 20px;
  pointer-events: auto;
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
  animation: pop-in .3s var(--ease);
}
#architectureDetail .eyebrow {
  display: block;
  font-size: 12px;
}
#architectureDetail h3 {
  margin: 4px 36px 4px 0;
  font-size: 17px;
  font-weight: 500;
}
#architectureDetail p {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
#architectureDetailPhoto {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--fill);
  font-size: 12.5px;
  font-weight: 500;
}
#architectureDetailPhoto:hover {
  background: var(--fill-2);
}
#architectureDetailBack {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--ink-3);
  font-size: 0;
}
#architectureDetailBack:hover {
  background: var(--fill-2);
  color: var(--ink);
}
#deckViewAngles {
  display: flex;
  gap: 3px;
  margin: 0 0 10px;
  padding: 3px;
  border-radius: 11px;
  background: var(--fill);
}
#deckViewAngles button {
  flex: 1;
  min-height: 32px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
#deckViewAngles button[aria-pressed=true] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
}
.marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 12px 0 4px;
  transform: translate(-50%, calc(-100% - 14px));
  border-radius: 999px;
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: auto;
  color: var(--ink);
}
.marker b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fill-2);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 1.5px;
  height: 14px;
  background: linear-gradient(var(--glass-2), rgba(255, 255, 255, .2));
  transform: translateX(-50%);
}
.marker:hover {
  transform: translate(-50%, calc(-100% - 16px));
}
.marker.active {
  background: var(--emerald);
  color: var(--on-emerald);
}
.marker.active b {
  background: rgba(255, 255, 255, .2);
}
.marker.alert {
  background: var(--signal);
  color: #fff;
  animation: alert-pulse 1.4s ease-in-out infinite;
}
.marker.alert b {
  background: rgba(255, 255, 255, .22);
}
@keyframes alert-pulse {
  50% {
    box-shadow: 0 0 0 8px color-mix(in srgb, var(--signal) 25%, transparent), var(--shadow-sm);
  }
}
#leaseCallouts {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.callout-leaders {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.callout-leaders .leader-track {
  stroke: rgba(0, 0, 0, .18);
  stroke-width: 3;
  fill: none;
}
.callout-leaders .leader-flow {
  stroke: #fff;
  stroke-width: 1.4;
  fill: none;
}
.callout-leaders circle {
  fill: #fff;
  stroke: rgba(0, 0, 0, .25);
  stroke-width: 1;
}
.world-callout,
.infra-marker {
  position: absolute;
  width: 184px;
  min-height: 82px;
  padding: 11px 14px;
  text-align: left;
  border-radius: 14px;
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm);
  pointer-events: auto;
  color: var(--ink);
  animation: callout-in .35s var(--ease) both;
}
@keyframes callout-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.world-callout small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.35;
}
.world-callout strong {
  display: block;
  margin: 1px 0;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -.025em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.world-callout span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.35;
}
.world-callout:hover {
  box-shadow: inset 0 0 0 1.5px var(--emerald), var(--shadow-sm);
}
.infra-marker {
  display: none;
  min-height: 68px;
  border-left: 0;
  box-shadow: inset 3px 0 0 var(--pin), var(--shadow-sm);
}
.infra-marker b {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.infra-marker span {
  display: block;
  margin-top: 2px;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.infra-marker[aria-pressed=true] {
  box-shadow:
    inset 3px 0 0 var(--pin),
    inset 0 0 0 1.5px var(--pin),
    var(--shadow-sm);
}
body.sheet-expanded #leaseCallouts,
body.sheet-expanded #infraMarkers,
body.sheet-expanded #markers {
  visibility: hidden;
}
#tourBar {
  position: fixed;
  z-index: 24;
  left: 50%;
  bottom: calc(var(--strip-h) + var(--gap) * 2);
  transform: translateX(calc(-50% - var(--panel-w) / 2));
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
#tourBar:not([hidden]) {
  display: flex;
}
#tourText {
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}
#tourBar button {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 11px;
  background: var(--fill);
}
#tourBar button:hover {
  background: var(--fill-2);
}
#tourNext {
  background: var(--emerald) !important;
  color: var(--on-emerald);
  font-weight: 500;
}
#walkPad {
  position: fixed;
  z-index: 22;
  left: calc(var(--gap) + 66px);
  bottom: calc(var(--strip-h) + var(--gap) * 2);
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 8px;
  border-radius: 18px;
  background: var(--glass);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}
#walkPad:not([hidden]) {
  display: grid;
}
#walkPad > div {
  display: flex;
  gap: 4px;
}
#walkPad button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--fill);
  touch-action: none;
}
#walkPad button:active {
  background: var(--fill-3);
}
#walkPad small {
  font-size: 11.5px;
  color: var(--ink-3);
}
#toast {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: calc(var(--strip-h) + var(--gap) * 2 + 8px);
  transform: translate(-50%, 12px);
  max-width: min(520px, 90vw);
  padding: 12px 18px;
  border-radius: 14px;
  background: #1c2326;
  color: #f1f4f2;
  font-size: 13px;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, transform .35s var(--ease);
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  width: min(1040px, 94vw);
  max-height: 90dvh;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--glass-solid);
  color: var(--ink);
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .55), 0 0 0 1px var(--line);
  overflow: hidden;
}
dialog[open] {
  display: flex;
  flex-direction: column;
  animation: dialog-in .38s var(--ease);
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
dialog::backdrop {
  background: rgba(12, 20, 22, .42);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
}
.modal-header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 16px 14px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.modal-header button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--ink-2);
}
.modal-header button:hover {
  background: var(--fill-2);
  color: var(--ink);
}
#modalBody {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 26px 28px;
}
#modalBody .body-copy {
  max-width: 72ch;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-grid > div {
  min-width: 0;
}
.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  cursor: zoom-in;
  background: var(--fill-2);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.gallery-grid img:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5);
}
.gallery-grid p {
  margin: 8px 2px 0;
  font-size: 13px;
  line-height: 1.45;
}
.gallery-grid .eyebrow {
  display: inline;
  font-size: 11.5px;
  color: var(--ink-3);
}
.gallery-filter {
  display: inline-flex;
  margin-bottom: 18px;
}
.big-photo {
  display: block;
  max-width: 100%;
  max-height: 66vh;
  margin: 0 auto;
  border-radius: 16px;
}
.source-card {
  margin: 12px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.source-card h4 {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 600;
}
.source-card p {
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
.source-card a {
  font-size: 13px;
  font-weight: 500;
  color: var(--emerald);
}
.cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.total-cost {
  margin: 18px 0;
  padding: 20px 22px;
  border-radius: 16px;
  color: #f2f6f3;
  font-size: 12.5px;
  background:
    radial-gradient(
      120% 140% at 100% 0%,
      #1b7a62 0%,
      #0d4a3c 55%,
      #0a372d 100%);
}
.total-cost strong {
  display: block;
  margin-top: 4px;
  font-size: 34px;
  font-weight: 300;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.cost-table th {
  text-align: left;
  font-weight: 500;
  color: var(--ink-3);
  font-size: 12px;
  padding: 8px 10px 8px 0;
  border-bottom: 1px solid var(--line-2);
}
.cost-table td {
  padding: 11px 10px 11px 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.cost-table td:last-child {
  text-align: right;
  padding-right: 0;
}
.report-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 16px 20px;
  margin: 14px 0;
  border-radius: 16px;
  background: var(--fill);
  font-size: 13px;
}
.report-summary strong {
  display: block;
  font-size: 26px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.site-plan-svg {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px;
  border-radius: 16px;
  background: #2a0f11;
  box-shadow: 0 14px 30px -22px rgba(42, 15, 17, .9);
}
.site-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}
.site-facts div {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.site-facts b {
  display: block;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.site-facts span {
  font-size: 12.5px;
  color: var(--ink-3);
}
.drawing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.drawing-tabs button {
  width: auto;
  margin: 0;
  min-height: 36px;
  font-size: 12.5px;
}
.drawing-image {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.drawing-image img {
  display: block;
  width: 100%;
  height: auto;
}
.lease-compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.lease-compare article {
  padding: 20px;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.lease-compare h2 {
  margin: 6px 0;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.lease-compare p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}
.lease-compare strong {
  display: block;
  margin: 14px 0 4px;
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.compare-plan {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  padding: 4px;
  border-radius: 10px;
  background: var(--wine-dark);
  color: #fff6e8;
}
.compare-plan > span {
  padding-left: 6px;
  font-size: 12px;
  font-weight: 600;
}
.compare-plan .floor-plan text {
  display: none;
}
.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.editor-toolbar .lease-floor-tabs {
  min-width: 210px;
}
.editor-toolbar > span {
  font-size: 13px;
  color: var(--ink-3);
}
.editor-zoom {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: var(--fill);
}
.editor-zoom button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 18px;
}
.editor-zoom button:hover:not(:disabled) {
  background: var(--fill-2);
}
.editor-zoom output {
  min-width: 44px;
  text-align: center;
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}
.editor-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 10px 0 16px;
}
.editor-hero > div > span {
  font-size: 12.5px;
  color: var(--ink-3);
}
.editor-hero strong {
  display: block;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.editor-hero small {
  font-size: 18px;
  color: var(--ink-3);
}
.editor-hero p {
  margin: 0;
  text-align: right;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}
.editor-hero p span {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 400;
}
.editor-canvas {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 14px 6px;
  border-radius: 16px;
  background: var(--wine-dark);
  box-shadow: inset 0 0 0 1px rgba(252, 181, 73, .18);
  touch-action: pan-x pan-y;
  color: #1c2326;
}
.plan-drag-handle {
  cursor: ew-resize;
  touch-action: none;
  outline: none;
}
.plan-drag-handle:focus-visible rect {
  stroke: #44101b;
  stroke-width: 3;
}
.editor-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.editor-controls label,
.editor-controls > div > span {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.editor-controls input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px 12px;
  border: 0;
  border-radius: 11px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 22px;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
}
.editor-controls small {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--ink-3);
  font-weight: 400;
}
.editor-controls .primary {
  width: auto;
  padding: 0 20px;
  min-height: 46px;
}
.editor-context {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 18px 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
  box-shadow: inset 0 0 0 1px var(--line);
}
.editor-context span {
  padding: 12px 14px;
  font-size: 12px;
  color: var(--ink-3);
  background: var(--glass-solid);
}
.editor-context b {
  display: block;
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
dialog:has(#planEditorCanvas) {
  width: min(1160px, 95vw);
}
.infra-evidence-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.infra-evidence-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  background: var(--fill);
  font-size: 13px;
  font-weight: 500;
}
.infra-evidence-tabs [aria-pressed=true] {
  background: var(--ink);
  color: var(--glass-solid);
}
.infra-evidence-tabs > span {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--ink-3);
}
.infra-source-select {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.infra-source-select button {
  flex: none;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--fill);
  text-align: left;
  font-size: 13px;
  font-weight: 500;
}
.infra-source-select [aria-pressed=true] {
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--emerald);
}
.infra-source-select small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-3);
}
.infra-source-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 8px 0 14px;
  font-size: 12.5px;
}
.infra-source-tools span {
  margin-right: auto;
  color: var(--ink-3);
  max-width: 70%;
}
.infra-source-tools a {
  font-weight: 500;
  color: var(--emerald);
}
.infra-sheet-image {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.infra-sheet-image img {
  display: block;
  width: 100%;
  height: auto;
}
.infra-source-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.infra-documents a {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none;
}
.infra-documents a:hover {
  box-shadow: inset 0 0 0 1.5px var(--emerald);
}
.infra-documents a > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--fill-2);
}
.infra-documents strong {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
}
.infra-documents small {
  display: block;
  color: var(--ink-3);
}
.infra-documents b {
  margin-left: auto;
  color: var(--ink-3);
}
.site-life-photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  align-items: start;
}
.site-life-photos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.help-grid .source-card {
  margin: 0;
}
.help-grid .source-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.help-grid .source-card h4 .ico {
  color: var(--emerald);
}
#boot {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      120% 90% at 50% 110%,
      #a9c4d8 0%,
      #d9e3e8 45%,
      #eef1ee 100%);
  transition: opacity .9s var(--ease), visibility .9s;
}
#boot.done {
  opacity: 0;
  visibility: hidden;
}
.boot-inner {
  width: min(360px, 80vw);
  text-align: center;
  color: #1c2326;
}
.boot-mark {
  display: inline-block;
  width: 52px;
  height: 52px;
  color: #44101b;
}
.boot-mark svg {
  width: 100%;
  height: 100%;
}
.boot-kicker {
  margin: 18px 0 2px;
  font-size: 12.5px;
  color: #5d6a70;
}
#boot h2 {
  font-size: 34px;
  font-weight: 300;
  letter-spacing: -.03em;
}
#boot h2 span {
  color: #5d6a70;
}
.boot-status {
  margin: 14px 0 10px;
  font-size: 12.5px;
  color: #5d6a70;
  min-height: 20px;
}
.boot-bar {
  height: 3px;
  border-radius: 3px;
  background: rgba(28, 35, 38, .1);
  overflow: hidden;
}
.boot-bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 3px;
  background: #44101b;
  animation: boot-bar 1.4s var(--ease) infinite;
}
@keyframes boot-bar {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(260%);
  }
}
body.booting #topbar,
body.booting #workspaceUI,
body.booting .lease-board,
body.booting .infra-board,
body.booting #rightPanel {
  opacity: 0;
}
#topbar,
#workspaceUI > *,
.lease-board,
.infra-board,
#rightPanel {
  transition:
    opacity .8s var(--ease),
    background-color .6s,
    box-shadow .6s;
}
body.intro .scene-strip,
body.intro .view-rail,
body.intro #panelHandle,
body.intro .lease-board {
  opacity: 0;
  transform: translateY(10px);
}
.scene-strip,
.view-rail {
  transition:
    opacity .8s var(--ease),
    transform .8s var(--ease),
    right .35s var(--ease),
    background-color .6s;
}
#fallback {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 40px;
  background: linear-gradient(#cfdbe3, #eef1ee);
}
#fallback img {
  width: min(70vw, 900px);
  border-radius: 18px;
}
#fallback p {
  max-width: 50ch;
  text-align: center;
  color: #48545a;
}
@media (max-width: 1240px) {
  .brand-text b span {
    display: none;
  }
  .modes button {
    padding: 0 12px;
  }
}
@media (max-width: 1080px) {
  .brand-text {
    display: none;
  }
  .scene-heading h1 {
    font-size: 30px;
  }
}
@media (max-width: 900px) and (min-height: 521px) {
  :root {
    --gap: 10px;
    --top: 10px;
    --bar-h: 96px;
    --strip-h: 56px;
    --panel-w: 100vw;
  }
  #topbar {
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 0;
    padding: 6px 6px 6px 8px;
    border-radius: 18px;
  }
  .brand {
    flex: 1;
    height: 40px;
  }
  .brand-text {
    display: grid;
  }
  .brand-text b span {
    display: none;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .modes {
    order: 3;
    flex-basis: 100%;
    margin: 6px 0 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .modes::-webkit-scrollbar {
    display: none;
  }
  .modes button {
    flex: 1;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12.5px;
  }
  #fullscreen {
    display: none;
  }
  .scene-heading {
    top: calc(var(--top) + var(--bar-h) + 12px);
    max-width: calc(100vw - 80px);
  }
  .scene-heading span {
    font-size: 11.5px;
  }
  .scene-heading h1 {
    font-size: 24px;
  }
  .scene-heading p {
    display: none;
  }
  body:not(.details-hidden):not(.lease-presenting) .scene-heading {
    opacity: 1;
  }
  #panelHandle {
    top: auto;
    left: 0;
    right: 0;
    bottom: calc(var(--sheet-h) - 0px);
    width: auto;
    height: 50px;
    padding-left: 20px;
    border-radius: 20px 20px 0 0;
  }
  #panelHandle::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 36px;
    height: 4px;
    margin-left: -18px;
    border-radius: 4px;
    background: var(--fill-3);
  }
  #panelHandle::after {
    display: none;
  }
  #workspaceExpand {
    display: grid !important;
  }
  #rightPanel,
  .lease-board,
  .infra-board {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: var(--sheet-h);
    border-radius: 0;
    box-shadow: none;
  }
  body.details-hidden #panelHandle {
    top: auto;
    bottom: var(--gap);
    left: auto;
    right: var(--gap);
    width: auto;
    border-radius: 16px;
  }
  body.details-hidden #panelHandle::before {
    display: none;
  }
  body.sheet-expanded {
    --sheet-h: calc(100dvh - 150px);
  }
  body.sheet-expanded .scene-strip,
  body.sheet-expanded .view-rail,
  body.sheet-expanded .scene-heading {
    opacity: 0;
    pointer-events: none;
  }
  .scene-strip {
    left: var(--gap);
    right: var(--gap) !important;
    bottom: calc(var(--sheet-h) + 50px + var(--gap));
    padding: 5px;
    border-radius: 16px;
  }
  body.details-hidden .scene-strip {
    bottom: calc(var(--gap) * 2 + 50px);
  }
  .strip-btn {
    width: 36px;
  }
  .scene-card {
    gap: 8px;
    padding: 3px 12px 3px 3px;
    font-size: 12px;
    border-radius: 11px;
  }
  .scene-card img,
  .card-ico {
    width: 46px;
    height: 38px;
    border-radius: 8px;
  }
  .view-rail {
    left: auto;
    right: var(--gap);
    bottom: auto;
    top: calc(var(--top) + var(--bar-h) + 12px);
  }
  #displayMenu,
  #architecturePopover,
  #layerPopover,
  .minimap,
  #skyPanel,
  #architectureDetail {
    left: var(--gap);
    right: var(--gap);
    width: auto;
    top: auto;
    bottom: calc(var(--sheet-h) + 50px + var(--strip-h) + var(--gap) * 2);
    max-height: calc(100dvh - var(--sheet-h) - 230px);
  }
  body.details-hidden #displayMenu,
  body.details-hidden #architecturePopover,
  body.details-hidden #layerPopover,
  body.details-hidden .minimap,
  body.details-hidden #skyPanel,
  body.details-hidden #architectureDetail {
    bottom: calc(var(--strip-h) + 50px + var(--gap) * 3);
    max-height: calc(100dvh - 260px);
  }
  #skyPanel,
  body.details-hidden #skyPanel {
    top: calc(var(--top) + var(--bar-h) + 10px);
    bottom: auto;
    z-index: 45;
    max-height: calc(100dvh - var(--top) - var(--bar-h) - 24px);
    padding: 14px;
  }
  #skyPanel .sky-dial output {
    font-size: 36px;
  }
  #leftPanel {
    top: calc(var(--top) + var(--bar-h) + 10px);
    left: var(--gap);
    right: var(--gap);
    width: auto;
    bottom: calc(var(--sheet-h) + 50px + var(--strip-h) + var(--gap) * 2);
  }
  #tourBar {
    left: var(--gap);
    right: var(--gap);
    transform: none;
    bottom: calc(var(--sheet-h) + 50px + var(--strip-h) + var(--gap) * 2);
  }
  #walkPad {
    left: auto;
    right: var(--gap);
    bottom: calc(var(--sheet-h) + 50px + var(--strip-h) + var(--gap) * 2);
  }
  #toast {
    bottom: calc(var(--sheet-h) + 64px);
  }
  .lease-board-scroll {
    padding: 14px 18px 20px;
  }
  .lease-kpi strong {
    font-size: 36px;
  }
  .lease-step-tabs {
    margin-top: 8px;
  }
  .lease-step-footer,
  .lease-board-foot,
  .infra-board-foot {
    display: none;
  }
  body.sheet-expanded .lease-step-footer,
  body.sheet-expanded .lease-board-foot,
  body.sheet-expanded .infra-board-foot {
    display: flex;
  }
  .infra-systems button {
    min-height: 52px;
    flex-direction: row;
    align-items: center;
  }
  .world-callout,
  .infra-marker {
    width: 156px !important;
    padding: 9px 11px;
    min-height: 0;
  }
  .world-callout strong {
    font-size: 20px;
  }
  .cost-grid,
  .site-facts,
  .help-grid,
  .editor-context {
    grid-template-columns: 1fr 1fr;
  }
  .editor-controls {
    grid-template-columns: 1fr 1fr;
  }
  .editor-controls .primary {
    grid-column: span 2;
  }
  .editor-hero strong {
    font-size: 34px;
  }
  dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 94dvh;
    margin: auto 0 0;
    border-radius: 22px 22px 0 0;
  }
  #modalBody {
    padding: 16px 18px 24px;
  }
  .modal-header {
    padding: 12px 12px 12px 18px;
    font-size: 15.5px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .lease-view-actions {
    top: auto;
    bottom: var(--gap);
    right: var(--gap);
  }
}
@media (max-width: 420px) and (min-height: 521px) {
  .brand-text small {
    display: none;
  }
  .modes button {
    padding: 0 8px;
    font-size: 12px;
  }
  .sky-button {
    padding: 0 8px;
  }
  .cost-grid,
  .site-facts,
  .help-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) and (max-height: 520px) {
  :root {
    --gap: 8px;
    --top: 8px;
    --bar-h: 46px;
    --strip-h: 50px;
    --panel-w: 320px;
  }
  #topbar {
    padding: 0 4px 0 6px;
    gap: 8px;
    border-radius: 14px;
  }
  .brand-text,
  #fullscreen {
    display: none;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .modes {
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .modes button {
    min-height: 32px;
    padding: 0 9px;
    font-size: 12px;
  }
  .scene-heading {
    display: none;
  }
  #panelHandle {
    height: 44px;
  }
  #panelHandle::after {
    top: 44px;
  }
  #rightPanel,
  .lease-board,
  .infra-board {
    top: calc(var(--top) + var(--bar-h) + 56px);
  }
  .scene-card img,
  .card-ico {
    width: 44px;
    height: 34px;
  }
  .scene-card {
    font-size: 12px;
  }
  .view-rail {
    bottom: auto;
    top: calc(var(--top) + var(--bar-h) + 8px);
  }
  .view-rail button,
  .rail-slot button {
    width: 36px;
    height: 36px;
  }
  .lease-step-footer,
  .lease-board-foot,
  .infra-board-foot {
    display: none;
  }
  #displayMenu,
  #architecturePopover,
  #layerPopover,
  .minimap,
  #architectureDetail {
    left: 56px;
    bottom: calc(var(--strip-h) + var(--gap) * 2);
    max-height: calc(100dvh - 130px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-contrast: more) {
  :root {
    --glass: rgba(250, 251, 249, .97);
    --glass-2: #fff;
  }
}
.ctx-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 1px;
  max-width: 210px;
  padding: 7px 11px 8px;
  transform: translate(-50%, calc(-100% - 12px));
  border-radius: 12px;
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  line-height: 1.3;
  color: var(--ink-2);
  white-space: nowrap;
  pointer-events: none;
}
.ctx-label b {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.ctx-label::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 1.5px;
  height: 12px;
  background: var(--ink-3);
  opacity: .55;
  transform: translateX(-50%);
}
.ctx-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--ink-3);
  box-shadow: 0 0 0 2px var(--glass-2);
}
.ctx-water::after {
  background: #1b86a6;
}
.ctx-power::after {
  background: var(--amber);
}
.ctx-road::after {
  background: #5c6669;
}
.ctx-label.below {
  transform: translate(-50%, 14px);
}
.ctx-label.below::before {
  bottom: auto;
  top: -12px;
}
.ctx-label.below::after {
  bottom: auto;
  top: -15px;
}
.ctx-lot.below:hover {
  transform: translate(-50%, 12px);
}
.ctx-lot {
  pointer-events: auto;
  cursor: pointer;
  border: 1.5px solid #e39a1f;
}
.ctx-lot::after {
  background: #e39a1f;
}
.ctx-lot:hover {
  transform: translate(-50%, calc(-100% - 14px));
}
.xsec,
.core-plan {
  display: block;
  width: 100%;
  height: auto;
  margin: 12px 0 4px;
  border-radius: var(--r-card);
  box-shadow: 0 14px 30px -22px rgba(42, 15, 17, .9);
}
.xsec text,
.core-plan text {
  font-family: inherit;
}
.xsec .xs-dim {
  font-size: 11px;
  font-weight: 700;
  fill: #f8cc15;
  font-family: var(--display);
}
.xsec .xs-lbl {
  font-size: 9.5px;
  fill: rgba(255, 246, 232, .72);
}
.xsec .xs-red {
  font-size: 9.5px;
  fill: #ef7b6f;
}
.xsec .xs-src {
  font-size: 8.5px;
  fill: rgba(255, 246, 232, .45);
}
.core-plan .lbl {
  font-size: 10px;
  fill: rgba(255, 246, 232, .7);
}
.core-plan .lbl.strong {
  font-weight: 700;
  fill: #fff6e8;
}
.core-plan .dim text {
  font-size: 10px;
  fill: #f8cc15;
  font-weight: 700;
  font-family: var(--display);
}
.xsec-tabs,
.core-tabs {
  margin-top: 4px;
}
.conn-list .text-button {
  align-items: flex-start;
  padding: 10px 2px;
}
.conn-list .text-button {
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
}
.conn-list .text-button span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 0;
  color: var(--ink);
  font-size: 13px;
}
.conn-list .text-button .conn-dot {
  margin-left: 0;
}
.conn-list small {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-3);
}
.conn-dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--ink-3);
}
.conn-water {
  background: #1b86a6;
}
.conn-power {
  background: var(--amber);
}
.lot-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.lot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 58px;
  padding: 10px 34px 10px 12px;
  border-radius: var(--r-ctl);
  background: var(--fill);
  text-align: left;
  font-size: 12px;
  color: var(--ink-2);
}
.lot-card b {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.lot-card i {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
}
.lot-card:hover {
  background: var(--fill-2);
}
.lot-offer {
  box-shadow: inset 3px 0 0 #e39a1f;
}
.lot-project {
  box-shadow: inset 3px 0 0 var(--emerald);
}
.lot-green {
  box-shadow: inset 3px 0 0 #5f8f4e;
}
.lot-service {
  box-shadow: inset 3px 0 0 var(--ink-4);
}
.ctx-lot.ctx-built,
.ctx-lot.ctx-service {
  border-color: var(--ink-4);
}
.ctx-lot.ctx-built::after,
.ctx-lot.ctx-service::after {
  background: var(--ink-3);
}
.ctx-lot.ctx-green {
  border-color: #5f8f4e;
}
.ctx-lot.ctx-green::after {
  background: #5f8f4e;
}
.ctx-lot.ctx-vacant {
  border-color: #b08a4e;
}
.ctx-lot.ctx-vacant::after {
  background: #b08a4e;
}
.ctx-lot.ctx-offer,
.ctx-lot.ctx-vacant[data-lot^=CN] {
  border-color: #e39a1f;
}
.lot-legend {
  display: grid;
  gap: 6px;
  margin: 2px 0 10px;
}
.lot-legend div {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: start;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.35;
}
.lot-legend b {
  font-weight: 600;
  color: var(--ink);
}
.lot-legend small {
  display: block;
  color: var(--ink-3);
  font-size: 11px;
}
.lot-legend span.sw {
  width: 18px;
  height: 12px;
  margin-top: 2px;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}
.sw-built {
  background:
    linear-gradient(
      90deg,
      #dfe2df 0 45%,
      #c9ccc7 45% 55%,
      #dfe2df 55%);
}
.sw-vacant {
  background: #b39a72;
}
.sw-construction {
  background:
    repeating-linear-gradient(
      90deg,
      #b39a72 0 4px,
      #8e959a 4px 5px);
}
.sw-green {
  background: #7d9a62;
}
.lot-legend em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 600;
}
.birdseye-btn {
  margin: 0 0 12px;
}
.lot-sat {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 4px 0 12px;
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--fill-2);
}
.lot-sat iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.core-views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8px;
}
.core-views .secondary {
  font-size: 12px;
  min-height: 38px;
}
.core-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.core-photos button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  font-size: 11.5px;
  color: var(--ink-2);
}
.core-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 11px;
  box-shadow: inset 0 0 0 1px var(--line);
}
:root {
  --display:
    "Archivo",
    "Be Vietnam Pro",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
}
h1,
h2,
h3,
h4,
#boot h2,
.lease-compare h2 {
  font-family: var(--display);
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: -.012em;
}
.scene-heading h1 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.018em;
  line-height: 1.02;
}
.scene-heading span {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#leftPanel h1 {
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -.018em;
}
#rightPanel h3 {
  font-weight: 750;
  font-stretch: 112%;
  letter-spacing: -.012em;
  line-height: 1.16;
}
#infraDetail h3,
#architectureDetail h3 {
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -.008em;
}
.brand-text b {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -.01em;
}
.brand-text b span {
  font-weight: 600;
  font-stretch: 100%;
}
.stats strong,
.metric strong,
.lease-kpi strong,
.lease-price b,
.infra-overview strong,
.infra-metric strong,
.world-callout strong,
.total-cost strong,
.report-summary strong,
.site-facts b,
.editor-hero strong,
.sky-dial output,
.lot-legend em {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -.02em;
  font-feature-settings: "tnum" 1;
}
.section-label {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 125%;
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.section-label small,
.section-label span {
  font-family: var(--font);
  font-weight: 500;
  font-stretch: 100%;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-3);
}
.badge {
  font-family: var(--display);
  font-weight: 650;
  font-stretch: 108%;
  letter-spacing: .01em;
}
.ctx-label b,
.lot-card b,
.scene-card span,
.loc b {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 108%;
  letter-spacing: -.005em;
}
#modeSwitch button,
.mode-switch button {
  font-family: var(--display);
  font-weight: 650;
  font-stretch: 108%;
}
h1,
h2,
h3,
h4,
#rightPanel h3,
#infraDetail h3,
#architectureDetail h3,
.lease-compare h2 {
  color: var(--wine);
}
#leftPanel h1 {
  color: var(--wine);
}
#leftPanel h1 span {
  color: var(--amber-ink);
}
.stats strong,
.metric strong,
.lease-kpi strong,
.lease-price b,
.total-cost strong,
.report-summary strong,
.site-facts b,
.editor-hero strong,
.lot-legend em {
  color: var(--wine);
}
.section-label {
  color: var(--amber-ink);
}
.scene-heading span {
  color: var(--brand-amber);
  opacity: 1;
  text-shadow: 0 1px 10px rgba(42, 15, 17, .45);
}
.brand-text b {
  color: var(--wine);
}
.brand-text b span {
  color: var(--amber-ink);
}
.badge {
  background: rgba(252, 181, 73, .18);
  color: #7a4a06;
}
.panel-number {
  color: var(--mauve);
}
.ctx-label b,
.lot-card b {
  color: var(--wine);
}
.world-callout strong {
  color: var(--wine);
}
.body-copy,
.info-note {
  color: var(--ink-2);
}
#boot h2 {
  color: var(--wine);
}
#boot h2 span {
  color: var(--amber-ink);
}
.scene-heading h1,
.scene-heading p {
  color: #fff;
}
.text-button b {
  color: var(--wine);
}
.world-callout strong {
  font-stretch: 104%;
}
body.pov-mode #workspaceUI .scene-strip,
body.pov-mode #workspaceUI .scene-heading,
body.pov-mode #rightPanel,
body.pov-mode #panelHandle,
body.pov-mode #leaseUI,
body.pov-mode #infraUI,
body.pov-mode #architectureUI,
body.pov-mode #markers,
body.pov-mode .view-rail,
body.pov-mode #leftPanel {
  display: none !important;
}
#pov {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  font-family: var(--font);
}
#pov > * {
  pointer-events: auto;
}
.pov-top {
  position: absolute;
  top: calc(var(--top) + var(--bar-h) + 12px);
  left: var(--gap);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  border-radius: 999px;
}
.pov-top b {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 13.5px;
  color: var(--wine);
  letter-spacing: -.005em;
}
.pov-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-amber);
  box-shadow: 0 0 0 0 rgba(252, 181, 73, .7);
  animation: pov-live 1.8s ease-out infinite;
}
@keyframes pov-live {
  70% {
    box-shadow: 0 0 0 9px rgba(252, 181, 73, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(252, 181, 73, 0);
  }
}
.pov-exit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
}
.pov-exit .ico {
  width: 14px;
  height: 14px;
}
.pov-exit:hover {
  background: var(--wine-2);
}
.pov-guide {
  position: absolute;
  left: 50%;
  bottom: var(--gap);
  transform: translateX(-50%);
  width: min(640px, calc(100vw - 2 * var(--gap)));
  padding: 14px 16px 10px;
  border-radius: 20px;
}
body.pov-board-open .pov-guide {
  left: calc((100vw - var(--panel-w) - var(--gap)) / 2);
  width: min(600px, calc(100vw - var(--panel-w) - 3 * var(--gap)));
}
.pov-say {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}
.pov-avatar {
  display: block;
  width: 40px;
  height: 40px;
}
.pov-avatar .brand-mark {
  width: 40px;
  height: 40px;
}
.pov-say small {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 118%;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.pov-say p {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}
.pov-stations {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 12px 0 6px;
}
.pov-stations button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  border-radius: 11px;
  background: var(--fill);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.pov-stations button i {
  font-style: normal;
  font-family: var(--display);
  font-weight: 800;
  font-size: 10.5px;
  color: var(--ink-3);
}
.pov-stations button:hover {
  background: var(--fill-2);
  color: var(--ink);
}
.pov-stations button[aria-current=true] {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 6px 16px -8px rgba(68, 16, 27, .6);
}
.pov-stations button[aria-current=true] i {
  color: var(--brand-amber);
}
.pov-hint {
  margin: 0;
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-3);
}
.pov-board-toggle {
  position: absolute;
  right: var(--gap);
  top: calc(var(--top) + var(--bar-h) + 12px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 600;
  color: var(--wine);
}
.pov-board {
  position: absolute;
  right: var(--gap);
  top: calc(var(--top) + var(--bar-h) + 12px);
  bottom: var(--gap);
  width: var(--panel-w);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-panel);
  overflow: hidden;
  animation: pov-in .45s var(--ease) both;
}
@keyframes pov-in {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
}
.pov-board header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 10px;
}
.pov-board header small {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 118%;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.pov-board header h3 {
  margin: 2px 0 0;
  font-size: 24px;
  color: var(--wine);
}
.pov-board header button {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink-2);
  background: var(--fill);
}
.pov-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 0 14px 10px;
  padding: 4px;
  border-radius: 16px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pov-tabs button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-height: 76px;
  padding: 9px 9px 8px;
  border-radius: 12px;
  text-align: left;
  color: var(--ink-2);
  transition:
    background .2s,
    color .2s,
    box-shadow .25s;
}
.pov-tabs button > i {
  font-style: normal;
  font-family: var(--display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--ink-4);
}
.pov-tabs button > span:last-child {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.22;
}
.pov-tab-ico {
  position: absolute;
  top: 8px;
  right: 8px;
}
.pov-tab-ico .ico {
  width: 16px;
  height: 16px;
  opacity: .55;
}
.pov-tabs button:hover {
  background: var(--fill-2);
  color: var(--ink);
}
.pov-tabs button[aria-selected=true] {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(68, 16, 27, .85);
}
.pov-tabs button[aria-selected=true] > i {
  color: var(--brand-amber);
}
.pov-tabs button[aria-selected=true] .ico {
  opacity: 1;
  color: var(--brand-amber);
}
.pov-tabs button[data-pov-tab=infra]:not([aria-selected=true]) {
  box-shadow: inset 0 0 0 1.5px rgba(252, 181, 73, .7);
}
.pov-hero {
  padding: 16px 16px 14px;
  margin-bottom: 6px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(
      120% 140% at 100% 0%,
      #6b1b2b 0%,
      var(--wine) 45%,
      var(--wine-dark) 100%);
}
.pov-hero span {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 118%;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-amber);
}
.pov-hero b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 34px;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-top: 4px;
}
.pov-hero p {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: .82;
}
.pov-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
}
.pov-chips span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(252, 181, 73, .14);
  color: var(--amber-ink);
  font-size: 11.5px;
  font-weight: 600;
}
.pov-next {
  display: grid;
  gap: 6px;
}
.pov-link {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 12px 12px 14px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
  transition: box-shadow .2s, transform .2s;
}
.pov-link > i {
  font-style: normal;
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  color: var(--amber-ink);
}
.pov-link > .ico:first-of-type {
  width: 18px;
  height: 18px;
  color: var(--wine);
}
.pov-link b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.pov-link small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
}
.pov-link > .ico:last-child {
  width: 16px;
  height: 16px;
  color: var(--ink-3);
}
.pov-link:hover {
  box-shadow: inset 0 0 0 1.5px var(--wine);
  transform: translateX(2px);
}
.pov-plan {
  position: relative;
  margin: 2px 0 10px;
  padding: 12px 10px 18px;
  border-radius: 16px;
  background: var(--wine-dark);
  box-shadow: inset 0 0 0 1px rgba(252, 181, 73, .18);
}
.pov-plan-svg {
  min-height: 110px;
}
.pov-plan-svg svg {
  display: block;
  width: 100%;
  height: auto;
}
.pov-plan-note {
  position: absolute;
  left: 14px;
  bottom: 5px;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 246, 232, .55);
}
.pov-plan-note.r {
  left: auto;
  right: 14px;
}
.pov-plan-lease {
  fill: color-mix(in srgb, var(--lc) 34%, transparent);
  stroke: var(--lc);
  stroke-width: .6;
  transition: x .45s var(--ease), width .45s var(--ease);
}
.pov-plan-me .cone {
  fill: rgba(252, 181, 73, .35);
}
.pov-plan-me .halo {
  fill: none;
  stroke: rgba(252, 181, 73, .8);
  stroke-width: .5;
  animation: pov-me 1.6s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.pov-plan-me .dot {
  fill: #fcb549;
  stroke: #2a0f11;
  stroke-width: .4;
}
@keyframes pov-me {
  from {
    transform: scale(.6);
    opacity: 1;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}
.pov-area {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pov-area small {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
}
.pov-area b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 108%;
  font-size: 24px;
  color: var(--wine);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.pov-area b em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
}
.pov-area span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-2);
}
.pov-area .r {
  text-align: right;
}
.pov-seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pov-seg button {
  padding: 8px 4px;
  border-radius: 10px;
  text-align: center;
  color: var(--ink-2);
}
.pov-seg button b {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.pov-seg button small {
  display: block;
  font-size: 10.5px;
  color: var(--ink-3);
}
.pov-seg button:hover {
  background: var(--fill-2);
}
.pov-seg button[aria-pressed=true] {
  background: var(--paper);
  color: var(--wine);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, .08),
    0 4px 12px -6px rgba(68, 16, 27, .45),
    inset 0 -2px 0 var(--brand-amber);
}
.pov-side {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--ink-3);
}
.pov-side .segmented > button {
  font-size: 12px;
  min-height: 32px;
}
.pov-legend {
  margin: 0 0 12px;
  border-radius: 14px;
  background: var(--fill);
}
.pov-legend summary {
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.pov-legend ol,
.dwg-legend {
  list-style: none;
  margin: 0;
  padding: 0 12px 10px;
  display: grid;
  gap: 6px;
}
.pov-legend li,
.dwg-legend li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 12px;
}
.pov-legend li i,
.dwg-legend li i {
  display: grid;
  place-items: center;
  height: 20px;
  min-width: 20px;
  padding: 0 4px;
  border-radius: 999px;
  background: #facc14;
  color: #2a0f11;
  font-style: normal;
  font-family: var(--display);
  font-weight: 800;
  font-size: 10.5px;
}
.pov-legend li b,
.dwg-legend li b {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.pov-legend li small,
.dwg-legend li small {
  display: block;
  color: var(--ink-3);
  font-size: 11px;
}
.pov-total {
  padding: 16px;
  margin-bottom: 10px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(
      120% 140% at 100% 0%,
      #6b1b2b 0%,
      var(--wine) 45%,
      var(--wine-dark) 100%);
}
.pov-total small {
  display: block;
  font-size: 11.5px;
  opacity: .75;
}
.pov-total b {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 30px;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: #fff;
}
.pov-total b em {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-amber);
  letter-spacing: 0;
}
.pov-total span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255, 246, 232, .78);
}
.pov-bars {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.pov-bars div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  font-size: 12.5px;
}
.pov-bars span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
}
.pov-bars span i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
}
.pov-bars b {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pov-bars em {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 99px;
  background: var(--fill-2);
  position: relative;
  overflow: hidden;
}
.pov-bars em::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: var(--c);
  animation: pov-bar .7s var(--ease) both;
}
@keyframes pov-bar {
  from {
    width: 0;
  }
}
.pov-sub {
  margin: 4px 0 6px;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.pov-prices div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.pov-prices span {
  color: var(--ink-2);
}
.pov-prices span small {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
}
.pov-prices b {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.pov-note {
  margin: 10px 0 12px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink-3);
}
.pov-cost-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.pov-cost-links .secondary {
  margin: 0;
  font-size: 12px;
  text-decoration: none;
  padding: 0 8px;
}
#povBody {
  flex: 1;
  overflow-y: auto;
  padding: 4px 18px 18px;
  overscroll-behavior: contain;
}
.pov-facts {
  display: grid;
  gap: 0;
  margin-bottom: 14px;
}
.pov-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.pov-facts span {
  color: var(--ink-3);
}
.pov-facts b {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.pov-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px;
  margin-bottom: 8px;
  border-radius: 16px;
  background: var(--wine);
  color: #fff;
  text-align: left;
  box-shadow: 0 14px 30px -18px rgba(68, 16, 27, .8);
}
.pov-cta b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 14px;
}
.pov-cta small {
  display: block;
  font-size: 11.5px;
  opacity: .78;
}
.pov-cta > .ico:first-child {
  width: 22px;
  height: 22px;
  color: var(--brand-amber);
}
.pov-cta:hover {
  background: var(--wine-2);
}
.pov-cta.subtle {
  margin-top: 10px;
  background: var(--fill);
  color: var(--ink);
  box-shadow: none;
}
.pov-cta.subtle > .ico:first-child {
  color: var(--wine);
}
.pov-cta.subtle:hover {
  background: var(--fill-2);
}
.pov-sys {
  margin-bottom: 8px;
}
.pov-sys button[aria-pressed=true] {
  box-shadow: inset 0 -2px 0 var(--c, var(--wine)), 0 1px 2px rgba(0, 0, 0, .08);
}
.pov-layer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 4px 0 8px;
  font-size: 12px;
  color: var(--ink-3);
}
.pov-layer-bar .text-link {
  font-weight: 600;
  color: var(--wine);
}
.pov-rows {
  display: grid;
  gap: 6px;
}
.pov-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 4px;
  border-radius: 14px;
  background: var(--fill);
  transition: background .2s, box-shadow .25s;
}
.pov-row.on {
  background: var(--paper);
  box-shadow: inset 3px 0 0 var(--c), 0 6px 18px -14px rgba(42, 15, 17, .5);
}
.pov-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px;
  text-align: left;
}
.pov-row-main b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.pov-row-main small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pov-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
}
.pov-row.on .pov-dot {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent), 0 0 12px var(--c);
  animation: pov-glow 1.6s ease-in-out infinite;
}
@keyframes pov-glow {
  50% {
    box-shadow: 0 0 0 7px color-mix(in srgb, var(--c) 10%, transparent), 0 0 18px var(--c);
  }
}
.pov-locate {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--wine);
  background: rgba(252, 181, 73, .16);
}
.pov-locate:hover {
  background: rgba(252, 181, 73, .32);
}
.pov-switch {
  position: relative;
  width: 38px;
  height: 22px;
  flex: none;
  cursor: pointer;
}
.pov-switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.pov-switch i {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--fill-3);
  transition: background .2s;
}
.pov-switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .22s var(--ease);
}
.pov-switch input:checked + i {
  background: var(--c, var(--wine));
}
.pov-switch input:checked + i::after {
  transform: translateX(16px);
}
.pov-switch input:focus-visible + i {
  outline: 2px solid var(--wine-2);
  outline-offset: 2px;
}
.pov-detail {
  grid-column: 1 / -1;
  padding: 4px 8px 6px 30px;
  font-size: 12.5px;
  color: var(--ink-2);
}
.pov-detail p {
  margin: 0 0 6px;
}
.pov-detail div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}
.pov-detail span {
  color: var(--ink-3);
}
.pov-detail b {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.pov-detail .secondary {
  margin-top: 8px;
}
body.pov-mode #walkPad {
  z-index: 31;
  bottom: calc(var(--gap) + 150px);
}
@media (max-width: 900px) {
  .pov-top {
    top: calc(var(--top) + var(--bar-h) + 8px);
  }
  .pov-guide {
    bottom: auto;
    top: calc(var(--top) + var(--bar-h) + 58px);
    padding: 10px 12px 8px;
  }
  .pov-hint {
    display: none;
  }
  body.pov-board-open .pov-guide {
    left: 50%;
    width: calc(100vw - 2 * var(--gap));
  }
  body.pov-board-open .pov-say {
    display: none;
  }
  .pov-board {
    top: auto;
    left: var(--gap);
    width: auto;
    max-height: 52dvh;
    animation-name: pov-up;
  }
  @keyframes pov-up {
    from {
      opacity: 0;
      transform: translateY(16px);
    }
  }
  .pov-board-toggle {
    top: auto;
    bottom: var(--gap);
    right: 50%;
    transform: translateX(50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pov-live,
  .pov-row.on .pov-dot {
    animation: none;
  }
  .pov-board {
    animation: none;
  }
}
.rail-pov {
  flex-direction: column;
  gap: 0 !important;
}
.rail-pov span {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 8.5px;
  letter-spacing: .06em;
  line-height: 1;
  margin-top: 1px;
}
.plans-block {
  margin: 18px 0 8px;
}
.plans-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}
.plans-head h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-ink);
}
.plans-head .text-link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--wine);
}
.plans-head .text-link .ico {
  width: 14px;
  height: 14px;
}
.plan-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.plan-thumb {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 6px 6px 9px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
  transition: box-shadow .2s, transform .2s;
}
.plan-thumb:hover {
  box-shadow: inset 0 0 0 1.5px var(--wine), 0 10px 22px -16px rgba(68, 16, 27, .7);
  transform: translateY(-1px);
}
.plan-thumb-art {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 2.1;
  margin-bottom: 6px;
  padding: 6px;
  border-radius: 10px;
  background: var(--wine-dark);
  overflow: hidden;
}
.plan-thumb-art img,
.plan-thumb-art svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.plan-thumb b {
  padding: 0 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.plan-thumb small {
  padding: 0 4px;
  font-size: 11px;
  color: var(--ink-3);
}
.plan-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.plan-tabs button {
  flex: 1 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.plan-tabs button:hover {
  background: var(--fill-2);
  color: var(--ink);
}
.plan-tabs button[aria-selected=true] {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(68, 16, 27, .8);
}
.plan-sheet {
  margin: 0;
  border-radius: 20px;
  background: var(--wine-dark);
  overflow: hidden;
  box-shadow: 0 24px 60px -36px rgba(42, 15, 17, .9);
}
.plan-sheet figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 18px 0;
  color: #fff;
}
.plan-sheet figcaption b {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 15px;
  letter-spacing: -.005em;
}
.plan-sheet figcaption span {
  font-size: 11.5px;
  color: rgba(255, 246, 232, .6);
}
.plan-canvas {
  padding: 14px 18px 18px;
  overflow-x: auto;
}
.plan-canvas svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 62dvh;
}
.plan-sheet.elev .plan-canvas svg {
  min-width: 860px;
}
.plan-sheet.elev .plan-canvas svg.end {
  min-width: 0;
  max-width: 560px;
  margin: 0 auto;
}
.plan-loading {
  height: 240px;
  border-radius: 12px;
  background:
    linear-gradient(
      90deg,
      rgba(255, 246, 232, .04),
      rgba(255, 246, 232, .1),
      rgba(255, 246, 232, .04));
  background-size: 200% 100%;
  animation: plan-shimmer 1.2s linear infinite;
}
@keyframes plan-shimmer {
  to {
    background-position: -200% 0;
  }
}
.plan-info {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 16px;
}
.plan-info:has(> .plan-facts:only-child) {
  grid-template-columns: 1fr;
}
.dwg-legend {
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  align-content: start;
}
.plan-facts div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.plan-facts span {
  color: var(--ink-3);
}
.plan-facts b {
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}
.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.plan-actions .secondary {
  width: auto;
  margin: 0;
}
.source-note {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--ink-3);
}
.plan-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--wine);
}
.plan-back .ico {
  width: 16px;
  height: 16px;
}
@media (max-width: 720px) {
  .plan-info {
    grid-template-columns: 1fr;
  }
  .dwg-legend {
    grid-template-columns: 1fr;
  }
  .plan-canvas {
    padding: 10px 10px 14px;
  }
  .plan-sheet figcaption {
    flex-direction: column;
    gap: 2px;
    padding: 12px 12px 0;
  }
  .pov-tabs button {
    min-height: 66px;
    padding: 7px 6px;
  }
  .pov-tabs button > span:last-child {
    font-size: 10.5px;
  }
  .pov-tab-ico {
    display: none;
  }
  .pov-seg button b {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pov-plan-me .halo,
  .pov-bars em::after,
  .plan-loading {
    animation: none;
  }
}
.modes button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.modes button .ico {
  width: 16px;
  height: 16px;
  opacity: .7;
  transition: opacity .2s;
}
.modes button.active .ico {
  opacity: 1;
  color: var(--brand-amber);
}
@media (max-width: 1180px) {
  .modes button .ico {
    display: none;
  }
}
.strip-sep {
  flex: none;
  align-self: center;
  width: 1px;
  height: 60%;
  margin: 0 4px;
  background: var(--line-2);
}
.scene-card.is-pov {
  background: var(--wine);
  color: #fff;
  padding-right: 16px;
  box-shadow: 0 10px 24px -14px rgba(68, 16, 27, .9);
}
.scene-card.is-pov > span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.scene-card.is-pov small {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 118%;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-amber);
}
.scene-card.is-pov small .ico {
  width: 11px;
  height: 11px;
}
.scene-card.is-pov img {
  box-shadow: 0 0 0 1.5px var(--brand-amber);
}
.scene-card.is-pov:hover {
  background: var(--wine-2);
  color: #fff;
}
#contextLinks.at-start {
  mask-image:
    linear-gradient(
      90deg,
      #000,
      #000 calc(100% - 26px),
      transparent);
}
#contextLinks.at-end {
  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 14px);
}
#contextLinks.at-start.at-end {
  mask-image: none;
}
.strip-scroll {
  width: 34px !important;
}
[data-tip] {
  position: relative;
}
.view-rail [data-tip]::after,
.scene-strip [data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  z-index: 60;
  left: calc(100% + 10px);
  top: 50%;
  transform: translate(-4px, -50%);
  padding: 6px 10px;
  border-radius: 9px;
  background: var(--wine);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .15s, transform .15s;
  box-shadow: 0 8px 20px -10px rgba(42, 15, 17, .8);
}
.scene-strip [data-tip]::after {
  left: 50%;
  top: auto;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
}
.view-rail [data-tip]:hover::after,
.view-rail [data-tip]:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}
.scene-strip [data-tip]:hover::after,
.scene-strip [data-tip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (hover: none) {
  [data-tip]::after {
    display: none;
  }
}
@media (max-width: 900px) {
  .view-rail [data-tip]::after {
    left: auto;
    right: calc(100% + 10px);
  }
  .view-rail [data-tip]:hover::after {
    transform: translate(0, -50%);
  }
}
@media (pointer: coarse), (max-width: 900px) {
  .view-rail .rail-slot {
    display: none;
  }
}
.rail-pov {
  color: var(--wine) !important;
}
.rail-pov .ico {
  color: var(--wine);
}
.panel-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 14px;
}
.action-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 13px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: background .2s, box-shadow .2s;
}
.action-tile .ico {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--wine);
}
.action-tile:hover {
  background: var(--fill-2);
}
.action-tile.accent {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 10px 22px -14px rgba(68, 16, 27, .9);
}
.action-tile.accent .ico {
  color: var(--brand-amber);
}
.action-tile.accent:hover {
  background: var(--wine-2);
}
.source-line {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--ink-3);
}
.lease-pov {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  text-align: left;
  color: #fff;
  background:
    radial-gradient(
      120% 160% at 100% 0%,
      #6b1b2b 0%,
      var(--wine) 50%,
      var(--wine-dark) 100%);
  box-shadow: 0 18px 36px -22px rgba(42, 15, 17, .95);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.lease-pov:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px -20px rgba(42, 15, 17, .95);
}
.lease-pov-ico {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(252, 181, 73, .16);
  color: var(--brand-amber);
}
.lease-pov-ico .ico {
  width: 22px;
  height: 22px;
}
.lease-pov small {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 118%;
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-amber);
}
.lease-pov b {
  display: block;
  margin-top: 2px;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 110%;
  font-size: 14.5px;
}
.lease-pov em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11.5px;
  color: rgba(255, 246, 232, .72);
}
.lease-pov > .ico:last-child {
  width: 18px;
  height: 18px;
  color: rgba(255, 246, 232, .7);
}
.infra-dwg {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}
.infra-dwg-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  width: 100%;
  padding: 8px;
  border-radius: 16px;
  background: var(--wine-dark);
  color: #fff6e8;
  text-align: left;
  position: relative;
  box-shadow: 0 14px 30px -22px rgba(42, 15, 17, .9);
}
.infra-dwg-art svg {
  display: block;
  width: 100%;
  height: auto;
}
.infra-dwg-text {
  padding: 0 30px 2px 6px;
}
.infra-dwg-text b {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: 13.5px;
}
.infra-dwg-text small {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 246, 232, .66);
}
.infra-dwg-main > .ico {
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 16px;
  height: 16px;
  color: var(--brand-amber);
}
.infra-dwg-main:hover {
  box-shadow: inset 0 0 0 1.5px rgba(252, 181, 73, .6), 0 14px 30px -22px rgba(42, 15, 17, .9);
}
.infra-dwg-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.infra-dwg-row button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  border-radius: 12px;
  background: var(--fill);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.infra-dwg-row button .ico {
  width: 15px;
  height: 15px;
  color: var(--wine);
}
.infra-dwg-row button:hover {
  background: var(--fill-2);
}
.plan-sheet.wide .plan-canvas svg {
  min-width: 760px;
}
#siteTags {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.site-tag {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  will-change: transform;
  font-family: var(--font);
}
.site-tag::before {
  content: "";
  position: absolute;
  left: -3px;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 2px rgba(255, 253, 249, .85);
}
.site-tag::after {
  content: "";
  position: absolute;
  left: -.75px;
  bottom: 2px;
  width: 1.5px;
  height: 13px;
  background: linear-gradient(rgba(68, 16, 27, .7), rgba(68, 16, 27, .15));
}
.st-pin {
  position: absolute;
  left: 0;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 11px 0 3px;
  border-radius: 999px;
  background: var(--glass-2);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  pointer-events: auto;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--ink);
}
.st-pin:hover {
  background: #fff;
}
.st-pin i {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.st-pin i .ico {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.site-tag.extra .st-pin i {
  background: var(--brand-amber);
  color: var(--wine-dark);
}
.site-tag.dot .st-name {
  display: none;
}
.site-tag.dot .st-pin {
  padding: 0 3px;
  gap: 0;
}
.site-tag.behind {
  opacity: .5;
}
.site-tag.behind:hover {
  opacity: 1;
}
.site-tag.sel .st-pin,
.site-tag.open .st-pin {
  background: var(--wine);
  color: #fff;
}
.site-tag.sel .st-pin i,
.site-tag.open .st-pin i {
  background: var(--brand-amber);
  color: var(--wine-dark);
}
.site-tag.alert .st-pin {
  background: var(--signal);
  color: #fff;
  animation: alert-pulse 1.4s ease-in-out infinite;
}
#tagCard {
  position: fixed;
  z-index: 26;
  left: var(--gap);
  top: calc(var(--top) + var(--bar-h) + 118px);
  width: 300px;
  padding: 13px 13px 11px;
  border-radius: 18px;
  background: var(--glass-2);
  color: var(--ink);
  animation: pop-in .26s var(--ease);
}
#tagCard header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: start;
}
#tagCard header i {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
#tagCard.extra header i {
  background: var(--brand-amber);
  color: var(--wine-dark);
}
#tagCard header i .ico {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
#tagCard .tc-kicker {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 500;
  margin: 0;
}
#tagCard header b {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}
#tagCard header small {
  display: block;
  color: var(--amber-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  margin-top: 1px;
}
#tagCard header small.tc-kicker {
  color: var(--ink-3);
  font-size: 11px;
}
.tc-x {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: -4px -4px 0 0;
  border-radius: 9px;
  color: var(--ink-3);
}
.tc-x:hover {
  background: var(--fill-2);
  color: var(--ink);
}
.tc-x .ico {
  width: 16px;
  height: 16px;
}
#tagCard p {
  margin: 9px 0 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.tc-go {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 12px;
  background: var(--wine);
  color: #fff;
  text-align: left;
}
.tc-go:hover {
  background: var(--wine-2);
}
.tc-go span {
  flex: 1;
}
.tc-go b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}
.tc-go small {
  display: block;
  font-size: 11px;
  opacity: .8;
}
.tc-src {
  display: block;
  margin-top: 8px;
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--ink-3);
}
body.pov-mode #tagCard {
  display: none;
}
.minimap {
  position: fixed;
  z-index: 40;
  width: 404px;
  border-radius: 20px;
  background: var(--glass-2);
  max-height: calc(100dvh - var(--top) - var(--bar-h) - var(--strip-h) - var(--gap) * 4);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: pop-in .26s var(--ease);
}
.minimap > small {
  margin-top: 6px;
  font-size: 11px;
}
.view-rail button {
  position: relative;
}
.rail-tags.off {
  color: var(--ink-4);
}
.rail-tags s {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 0 0 1.5px var(--glass);
}
.label-switches {
  margin-bottom: 6px;
}
.label-switches .pop-label {
  margin-top: 2px;
}
.tgl {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 4px 2px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.tgl > span {
  flex: 1;
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 8px;
  align-items: center;
  font-weight: 500;
  font-size: 13px;
}
.tgl > span .ico {
  grid-row: span 2;
  color: var(--ink-2);
}
.tgl small {
  grid-column: 2;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.3;
}
.tgl input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tgl i {
  position: relative;
  flex: none;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: var(--fill-3);
  transition: background-color .2s;
}
.tgl i::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(42, 15, 17, .25);
  transition: transform .2s var(--ease);
}
.tgl input:checked + i {
  background: var(--wine);
}
.tgl input:checked + i::after {
  transform: translateX(16px);
}
.tgl input:focus-visible + i {
  outline: 2px solid var(--wine-2);
  outline-offset: 2px;
}
#castPanel {
  left: calc(var(--gap) + 62px);
  bottom: calc(var(--strip-h) + var(--gap) * 2);
  width: 368px;
}
.cast-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.cast-list li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 9px 9px 9px 10px;
  border-radius: 14px;
  background: var(--fill);
}
.cast-av svg {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(#f4ead9, #e8dac4);
}
.cast-list b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}
.cast-list em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-3);
  margin-left: 3px;
  font-variant-numeric: tabular-nums;
}
.cast-list small {
  display: block;
  color: var(--amber-ink);
  font-size: 11.5px;
  line-height: 1.35;
}
.cast-list p {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.42;
  color: var(--ink-2);
}
.cast-go {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 46px;
  padding: 7px 6px 5px;
  border-radius: 11px;
  background: var(--glass-2);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--wine);
}
.cast-go:hover {
  background: var(--wine);
  color: #fff;
}
.cast-go .ico {
  width: 17px;
  height: 17px;
}
#povPad {
  position: fixed;
  z-index: 31;
  right: var(--gap);
  bottom: var(--gap);
  display: grid;
  gap: 6px;
  width: 176px;
  padding: 8px;
  border-radius: 20px;
  user-select: none;
  -webkit-user-select: none;
}
.pad-grid,
.pad-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.pad-grid button {
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 13px;
  background: var(--fill);
  color: var(--ink);
  touch-action: none;
}
.pad-grid button .ico {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}
.pad-grid [data-move=q],
.pad-grid [data-move=e] {
  background: transparent;
  color: var(--ink-2);
}
.pad-grid button:hover {
  background: var(--fill-2);
}
.pad-grid button.down,
.pad-grid button:active {
  background: var(--wine);
  color: #fff;
}
.pad-row button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 5px 0 4px;
  border-radius: 11px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.pad-row button:hover {
  background: var(--fill-2);
}
.pad-row .ico {
  width: 17px;
  height: 17px;
}
#padRun[aria-pressed=true] {
  background: var(--brand-amber);
  color: var(--wine-dark);
}
#padTags[aria-pressed=false] {
  color: var(--ink-4);
}
#padCast[aria-expanded=true] {
  background: var(--wine);
  color: #fff;
}
.pad-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: var(--ink-3);
}
.pad-hint .ico {
  width: 14px;
  height: 14px;
}
body.pov-board-open #povPad {
  right: calc(var(--panel-w) + var(--gap) * 2);
  bottom: calc(var(--gap) + 160px);
}
body.pov-mode #castPanel {
  left: auto;
  right: var(--gap);
  bottom: calc(var(--gap) + 214px);
  max-height: calc(100dvh - 214px - var(--top) - var(--bar-h) - var(--gap) * 3);
}
body.pov-mode.pov-board-open #castPanel {
  right: calc(var(--panel-w) + var(--gap) * 2);
  bottom: calc(var(--gap) + 374px);
  max-height: calc(100dvh - 470px);
}
#walkPad {
  display: none !important;
}
.mini-item {
  cursor: pointer;
}
.mini-item circle {
  fill: #fff;
  stroke: #44101b;
  stroke-width: .9;
}
.mini-item circle.x {
  fill: #fcb549;
  stroke: #2a0f11;
}
.mini-item text {
  font: 700 5.4px "Be Vietnam Pro", sans-serif;
  fill: #44101b;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}
.mini-item:hover circle {
  fill: #fcb549;
}
.mini-item.alert circle {
  fill: #c2303a;
}
.mini-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px 2px;
  margin-top: 8px;
}
.mini-legend button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  padding: 4px 4px;
  border-radius: 9px;
  text-align: left;
}
.mini-legend button:hover {
  background: var(--fill-2);
}
.mini-legend i {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
}
.mini-legend button:nth-last-of-type(-n+2) i {
  background: var(--brand-amber);
  color: var(--wine-dark);
}
.mini-legend span {
  min-width: 0;
}
.mini-legend b {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.minimap .mini-legend small {
  display: block;
  margin: 0;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  color: var(--ink-3);
}
.mini-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  margin-top: 6px;
}
.mini-facts span {
  padding: 5px 8px;
  border-radius: 9px;
  background: var(--fill);
  font-size: 10px;
  line-height: 1.3;
  color: var(--ink-3);
}
.mini-facts b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
#navHint {
  position: fixed;
  z-index: 24;
  left: calc((100vw - var(--panel-w) - var(--gap)) / 2);
  bottom: calc(var(--strip-h) + var(--gap) * 2 + 8px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  max-width: min(760px, calc(100vw - var(--panel-w) - 120px));
  padding: 9px 10px 9px 16px;
  border-radius: 16px;
  font-size: 12.5px;
  color: var(--ink-2);
  animation: hint-in .45s var(--ease);
  transition: opacity .35s, transform .35s var(--ease);
}
@keyframes hint-in {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
}
#navHint.out {
  opacity: 0;
  transform: translate(-50%, 8px);
}
#navHint b {
  font-weight: 600;
  color: var(--wine);
}
#navHint span {
  white-space: nowrap;
}
#navHint i {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  margin-right: 5px;
}
#navHint button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  color: var(--ink-3);
}
#navHint button:hover {
  background: var(--fill-2);
}
#navHint button .ico {
  width: 15px;
  height: 15px;
}
body.pov-mode #navHint {
  display: none;
}
@media (max-width: 900px) {
  .st-pin {
    height: 28px;
    font-size: 12px;
    padding-right: 9px;
  }
  .st-pin i {
    min-width: 22px;
    height: 22px;
    font-size: 10.5px;
  }
  #tagCard {
    top: calc(var(--top) + var(--bar-h) + 64px);
    width: min(300px, calc(100vw - 2 * var(--gap) - 52px));
    padding: 11px;
  }
  #tagCard p {
    display: none;
  }
  #castPanel {
    left: var(--gap);
    right: var(--gap);
    width: auto;
    top: auto;
    bottom: calc(var(--sheet-h) + 50px + var(--strip-h) + var(--gap) * 2);
    max-height: calc(100dvh - var(--sheet-h) - 210px);
  }
  body.details-hidden #castPanel {
    bottom: calc(var(--strip-h) + 50px + var(--gap) * 2);
    max-height: calc(100dvh - 260px);
  }
  #povPad {
    width: 150px;
    padding: 6px;
    gap: 4px;
    bottom: calc(var(--gap) + 54px);
  }
  .pad-grid button {
    height: 40px;
  }
  .pad-row button {
    font-size: 9.5px;
  }
  .pad-hint {
    display: none;
  }
  body.pov-board-open #povPad {
    display: none;
  }
  body.pov-mode #castPanel {
    left: var(--gap);
    right: var(--gap);
    bottom: calc(var(--gap) + 220px);
    max-height: calc(100dvh - 400px);
  }
  #navHint {
    left: 50%;
    bottom: auto;
    top: calc(var(--top) + var(--bar-h) + 76px);
    max-width: calc(100vw - 2 * var(--gap));
    font-size: 12px;
  }
  .minimap {
    width: auto;
    max-height: calc(100dvh - var(--sheet-h) - 230px);
  }
  body.details-hidden .minimap {
    max-height: calc(100dvh - 260px);
  }
}
@media (max-width: 900px) and (max-height: 520px) {
  .minimap {
    max-height: calc(100dvh - 130px);
  }
}
@media (max-width: 900px) and (max-height: 520px) {
  #povPad {
    bottom: var(--gap);
  }
}
@media (prefers-reduced-motion: reduce) {
  #tagCard,
  #navHint,
  .minimap {
    animation: none;
  }
  .site-tag.alert .st-pin {
    animation: none;
  }
}
.site-tag.chip .st-pin i {
  background: var(--f2);
  color: #fff;
}
.site-tag.chip .st-pin {
  font-size: 12px;
}
#povAct {
  position: fixed;
  z-index: 32;
  right: var(--gap);
  bottom: calc(var(--gap) + 192px);
  width: 268px;
  padding: 9px;
  border-radius: 18px;
  display: grid;
  gap: 6px;
  animation: hint-up .3s var(--ease);
}
@keyframes hint-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
#povAct small {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 600;
}
#povAct small .ico {
  width: 15px;
  height: 15px;
  color: var(--f2);
}
#povAct p {
  margin: 0 4px 2px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
#povAct button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: 13px;
  background: var(--fill);
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
#povAct button:first-of-type {
  background: var(--wine);
  color: #fff;
}
#povAct button:hover {
  filter: brightness(1.06);
}
#povAct button span {
  flex: 1;
  line-height: 1.3;
}
#povAct button .ico {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}
#povAct kbd {
  font: 600 10px var(--font);
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .18);
  color: inherit;
  opacity: .85;
}
#povAct button:not(:first-of-type) kbd {
  background: var(--fill-2);
}
#povAct .act-skip {
  background: var(--fill-2) !important;
  color: var(--ink) !important;
}
body:not(.pov-mode) #povAct {
  display: none;
}
body.pov-board-open #povAct {
  right: calc(var(--panel-w) + var(--gap) * 2);
  bottom: calc(var(--gap) + 352px);
}
#povFade {
  position: fixed;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 50% 45%,
      #1b2124,
      #07090a 70%);
  opacity: 0;
}
#povFade .ride {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  display: none;
  min-width: 240px;
  text-align: center;
  color: #f3efe6;
  font-family: var(--font);
}
#povFade.riding .ride {
  display: block;
}
#povFade .ride small {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fcb549;
  font-weight: 700;
}
#povFade .ride-floors {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 12px 0 8px;
}
#povFade .ride-floors b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(252, 181, 73, .7);
  font-size: 20px;
  font-weight: 700;
}
#povFade .ride-floors i {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .15);
  overflow: hidden;
}
#povFade .ride-floors i span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: #fcb549;
  border-radius: 4px;
}
#povFade .ride em {
  font-style: normal;
  font-size: 13px;
  opacity: .8;
}
body:not(.pov-mode) #povFade {
  display: none;
}
@media (max-width: 900px) {
  #povAct {
    width: min(250px, calc(100vw - 2 * var(--gap)));
    bottom: calc(var(--gap) + 54px + 160px);
    padding: 7px;
  }
  #povAct button {
    min-height: 40px;
    font-size: 12.5px;
  }
  #povAct kbd {
    display: none;
  }
  body.pov-board-open #povAct {
    display: none;
  }
}
@media (max-width: 900px) and (max-height: 520px) {
  #povAct {
    bottom: calc(var(--gap) + 160px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #povAct {
    animation: none;
  }
}
.pov-guide-toggle {
  position: absolute;
  top: 9px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px 0 7px;
  border-radius: 999px;
  background: var(--fill);
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 600;
  z-index: 1;
}
.pov-guide-toggle:hover {
  background: var(--fill-2);
  color: var(--ink);
}
.pov-guide-toggle .ico {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}
.pov-guide .pov-say {
  padding-right: 84px;
}
.pov-guide.collapsed {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: calc(100vw - 2 * var(--gap));
  padding: 6px;
  border-radius: 16px;
}
.pov-guide.collapsed .pov-say,
.pov-guide.collapsed .pov-hint {
  display: none;
}
.pov-guide.collapsed .pov-stations {
  display: flex;
  margin: 0;
  gap: 4px;
}
.pov-guide.collapsed .pov-stations button {
  height: 34px;
  padding: 0 11px;
}
.pov-guide.collapsed .pov-guide-toggle {
  position: static;
  order: 2;
  height: 34px;
  border-radius: 11px;
  background: var(--wine);
  color: #fff;
}
body.pov-board-open .pov-guide.collapsed {
  width: auto;
}
@media (max-width: 900px) {
  .pov-guide .pov-say {
    padding-right: 0;
  }
  .pov-guide-toggle {
    top: auto;
    bottom: 8px;
    right: 8px;
    height: 26px;
  }
  .pov-guide:not(.collapsed) .pov-stations {
    margin-bottom: 30px;
  }
  .pov-guide.collapsed,
  body.pov-board-open .pov-guide.collapsed {
    left: var(--gap);
    right: var(--gap);
    transform: none;
    width: auto;
    overflow-x: auto;
  }
  .pov-guide.collapsed .pov-stations button {
    padding: 0 8px;
    font-size: 12px;
    white-space: nowrap;
  }
  .pov-guide.collapsed .pov-guide-toggle span {
    display: none;
  }
  .pov-guide.collapsed .pov-guide-toggle {
    padding: 0 9px;
    flex: none;
  }
}
body.pov-guide-collapsed .pad-hint {
  display: none;
}
#rideHud {
  position: fixed;
  z-index: 31;
  left: 50%;
  top: calc(var(--top) + var(--bar-h) + 14px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  border-radius: 18px;
  min-width: 250px;
  animation: hint-up .3s var(--ease);
  pointer-events: none;
}
#rideHud[hidden] {
  display: none;
}
#rideHud .lcd {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 62px;
  height: 52px;
  border-radius: 12px;
  background: #0d1a2e;
  box-shadow: inset 0 0 0 2px rgba(90, 168, 255, .25);
  color: #5aa8ff;
}
#rideHud .lcd b {
  font: 700 28px/1 var(--font);
  font-variant-numeric: tabular-nums;
}
#rideHud .lcd i {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  opacity: 0;
}
#rideHud .lcd i.up {
  border-bottom: 11px solid #5aa8ff;
  opacity: 1;
  animation: ride-blink 1s steps(2) infinite;
}
#rideHud .lcd i.down {
  border-top: 11px solid #5aa8ff;
  opacity: 1;
  animation: ride-blink 1s steps(2) infinite;
}
@keyframes ride-blink {
  50% {
    opacity: .35;
  }
}
#rideHud .ride-info {
  flex: 1;
  min-width: 0;
}
#rideHud small {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--f2);
  font-weight: 700;
}
#rideHud .ride-floors {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}
#rideHud .ride-floors i {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--fill);
  overflow: hidden;
}
#rideHud .ride-floors i span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--f2);
  border-radius: 4px;
  transition: width .12s linear;
}
#rideHud em {
  display: block;
  font-style: normal;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
body:not(.pov-mode) #rideHud {
  display: none;
}
@media (max-width: 900px) {
  #rideHud {
    top: calc(var(--top) + var(--bar-h) + 58px);
    min-width: 220px;
  }
  body.lift-ride .pov-guide {
    opacity: 0;
    pointer-events: none;
  }
}
.panel-actions > .action-tile.accent:last-child {
  grid-column: 1 / -1;
}
.pov-cost-links {
  grid-template-columns: 1fr;
}
.help-grid > .source-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
