/* GENERATED by node tools/build-viewer-css.mjs. Edit the source files, not this file. */

/* Source: viewer-surface-tokens.css */
/* Shared values only. Components opt in; defining these does not migrate mobile. */
:root, body {
  --palette-soft-gray: #F3F5F7;
  --gradient-cg01-partner: #164B70;
  --gradient-cg01: linear-gradient(45deg, var(--palette-navy), var(--gradient-cg01-partner));
  --gradient-cg02-base: #2A925A;
  --gradient-cg02-partner: #96D947;
  --gradient-cg02: linear-gradient(45deg, var(--gradient-cg02-base), var(--gradient-cg02-partner));
  --gradient-cg03-base: #FF672C;
  --gradient-cg03-partner: #FDC137;
  --gradient-cg03: linear-gradient(45deg, var(--gradient-cg03-base), var(--gradient-cg03-partner));
  --gradient-cg04-base: #601525;
  --gradient-cg04-partner: #E8284A;
  --gradient-cg04: linear-gradient(45deg, var(--gradient-cg04-base), var(--gradient-cg04-partner));
  --surface-panel-radius: 20px;
  --surface-panel-light-background: var(--palette-white);
  --surface-panel-light-border: 1px solid var(--palette-line);
  --surface-panel-light-shadow: var(--effect-shadow-medium);
  --surface-panel-dark-background: var(--accent);
  --surface-panel-dark-ink: var(--color-text-inverse);
  --surface-glass-background: var(--effect-glass-surface);
  --surface-glass-blur: var(--effect-glass-blur);
  --surface-glass-border: 1px solid var(--palette-line);
  --surface-glass-shadow: none;
  --surface-glass-radius: 21px;
  --surface-glass-compact-radius: 16px;
  --spin-frame-radius: var(--surface-panel-radius);
  --spin-frame-border: var(--surface-panel-light-border);
  --spin-frame-shadow: var(--surface-panel-light-shadow);
  --spin-brand-width: 40px;
  --spin-brand-background: var(--gradient-cg01);
  --spin-brand-logo-size: 24px;
  --spin-brand-padding: 8px 8px 12px;
  --spin-brand-gap: 8px;
  --tile-entity-radius: 16px;
  --tile-entity-min-height: 112px;
  --tile-entity-rail: 24px;
  --tile-entity-padding: 8px;
  --tile-entity-inset: 16px;
  --tile-entity-background: var(--palette-white);
  --tile-entity-border: var(--palette-line);
  --tile-entity-gradient: var(--gradient-cg01);
  --tile-apartment-inset: 12px;
  --tile-apartment-thumb-width: 112px;
  --tile-apartment-thumb-height: 96px;
  --tile-apartment-thumb-gap: 8px;
  --tile-apartment-gap: 12px;
  --tile-apartment-action-gap: 8px;
  --tile-apartment-border-width: 1px;
  --tile-apartment-active-width: 3px;
  --tile-discount-height: 36px;
  --tile-discount-radius: 16px;
}

/* Source: viewer-button-tokens.css */
/* Surface tokens only: no component selectors, geometry or typography. */
:root, body {
  --button-surface-light: linear-gradient(180deg, var(--palette-white), color-mix(in srgb, var(--palette-white) 70%, var(--palette-mist)));
  --button-highlight: color-mix(in srgb, var(--palette-white) 8%, transparent);
  --button-highlight-hover: color-mix(in srgb, var(--palette-white) 12%, transparent);
  --button-highlight-pressed: color-mix(in srgb, var(--palette-white) 4%, transparent);
  --button-edge: color-mix(in srgb, var(--palette-white) 16%, transparent);
  --button-edge-hover: color-mix(in srgb, var(--palette-white) 24%, transparent);
  --button-border-light: color-mix(in srgb, var(--palette-line) 50%, transparent);
  --button-shadow-dark: 0 2px 4px color-mix(in srgb, var(--palette-navy) 16%, transparent);
  --button-shadow-light: inset 0 1px 0 var(--palette-white), 0 2px 4px color-mix(in srgb, var(--palette-navy) 4%, transparent);
  --button-shadow-light-hover: inset 0 1px 0 var(--palette-white), 0 2px 4px color-mix(in srgb, var(--palette-navy) 6%, transparent);
  --button-shadow-light-pressed: inset 0 1px 2px color-mix(in srgb, var(--palette-navy) 4%, transparent);
  --button-shadow-dark-pressed: inset 0 1px 2px color-mix(in srgb, var(--palette-navy) 24%, transparent);
  --button-surface-dark-pressed: linear-gradient(180deg, transparent, color-mix(in srgb, var(--palette-white) 3%, transparent));
  --button-glass-bottom: color-mix(in srgb, var(--palette-white) 2%, transparent);
  --button-glass-border: color-mix(in srgb, var(--palette-white) 40%, transparent);
  --button-glass-selection-overlay: color-mix(in srgb, var(--palette-white) 20%, transparent);
  --button-glass-selection-ink: var(--palette-white);
  --button-glass-selection-line: var(--button-glass-border);
  --button-glass-selected-border: color-mix(in srgb, var(--palette-white) 65%, transparent);
  --button-glass-blur: var(--effect-glass-blur);
  --button-disabled-surface: var(--palette-soft-gray);
  --button-disabled-ink: var(--palette-muted);
  --button-disabled-inverse-surface: color-mix(in srgb, var(--palette-soft-gray) 8%, transparent);
  --button-disabled-inverse-border: color-mix(in srgb, var(--palette-soft-gray) 16%, transparent);
  --button-disabled-inverse-ink: color-mix(in srgb, var(--palette-soft-gray) 40%, transparent);
}

/* Source: styles.css */
:root {
  /* Approved LIGHT palette shared by desktop and mobile. DARK retains its mapping. */
  --palette-navy: #0a2239;
  --palette-white: #ffffff;
  --palette-mist: #eef4fb;
  --palette-muted: #4a607c;
  --palette-line: #cfdbeb;
  --palette-pink: #cc405e;
  --palette-blue: #0875c1;
  --palette-green: #4e9432;
  --palette-orange: #f77f00;
  --palette-red: #c73232;
  --listing-idle-background: #eef4fb;
  --listing-idle-border: #c7d8ea;
  --listing-idle-text: #4a607c;
  --font-scale: 1;
  --mobile-app-height: 100dvh;
  --mobile-building-density: 1;
  --mobile-menu-scale: 0.79;
  --font-heading: "Montserrat", Arial, Helvetica, sans-serif;
  --font-ui: "Lato", Arial, Helvetica, sans-serif;
  --fs-caption: 0.5625rem;
  --fs-label: 0.75rem;
  --fs-small: 0.875rem;
  --fs-body: 1rem;
  --fs-lead: 1.125rem;
  --fs-title: 1.375rem;
  /* Shared typography values; panel migration preserves the existing hierarchy. */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-heavy: 800;
  --fw-black: 900;
  --lh-solid: 1;
  --lh-compact: 1.15;
  --lh-control: 1.2;
  --lh-heading: 1.25;
  --lh-field: 1.35;
  --lh-body: 1.4;
  --tracking-normal: 0;
  --tracking-heading: -0.01em;
  --tracking-label: 0.01em;
  /* Fixed surface/contrast roles do not follow investment accent or theme tokens. */
  --color-surface-paper: #ffffff;
  --color-surface-paper-hover: #f4f8fc;
  --color-text-inverse: #ffffff;
  --color-border-inverse: #ffffff;
  --color-text-on-paper: #16283d;
  --color-text-muted-on-paper: #627a95;
  --color-dark-text: #edf3fb;
  --color-dark-text-secondary: #d7e4f3;
  --color-dark-border: #3c4653;
  --color-dark-control-border: #4f5b69;
  --color-dark-control-border-hover: #5b6777;
  --color-dark-surface-hover: rgba(55, 65, 80, 0.98);
  /* Ordinary controls; scene glass and media surfaces keep their own palette. */
  --ui-surface-field: #ffffff;
  --ui-surface-hover: #f4f8fc;
  --ui-border-control: #bccddd;
  --ui-surface-disabled: #d5dee9;
  --ui-text-disabled: #627a95;
  /* Dynamic investment theme; values are supplied by applyViewerThemeTokens. */
  --bg: #f7f9f9;
  --surface: #ffffff;
  --surface-alt: #f7f9f9;
  --ink: #16283d;
  --ink-soft: #627a95;
  --line: #cfdbeb;
  --accent: var(--palette-navy);
  --accent-strong: var(--palette-navy);
  --accent-rgb: 10 34 57;
  --accent-strong-rgb: 10 34 57;
  --night: #dde7f3;
  --available: #4e9432;
  --reserved: #f77f00;
  --sold: #c73232;
  --vr360: #18a9ff;
  --room-tone-interior: #e64c5a;
  --room-tone-interior-active: #ff7a86;
  --room-tone-external: #0b3d63;
  --room-tone-external-active: #062b49;
  --room-tone-garden: #2f8f5f;
  --room-tone-garden-active: #216f48;
  --room-tone-parking: #3a3f46;
  --room-tone-parking-active: #272c32;
  --shadow: 0 14px 28px rgba(26, 56, 96, 0.1);
  --selection: var(--room-tone-interior-active);
  --on-selection: var(--color-text-inverse);
  --feature-pink: #ff7a86;
  --feature-pink-active: #e64c5a;
  --scene-label-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 90' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M4 0H96Q100 0 100 4V43Q100 47 96 47H14L0 90V4Q0 0 4 0Z'/%3E%3C/svg%3E");
}

/* Desktop weight compatibility for components outside the role map below. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body {
  --fw-heavy: 600;
  --fw-black: 700;
}

/* One LIGHT palette for both responsive layouts. */
html[data-boot-mode="viewer"] body:not([data-theme-mode="DARK"]) {
  --bg: var(--palette-mist);
  --surface: var(--palette-white);
  --surface-alt: var(--palette-mist);
  --ink: var(--palette-navy);
  --ink-soft: var(--palette-muted);
  --line: var(--palette-line);
  --night: var(--palette-mist);
  --color-surface-paper: var(--palette-white);
  --color-surface-paper-hover: var(--palette-mist);
  --color-text-on-paper: var(--palette-navy);
  --color-text-muted-on-paper: var(--palette-muted);
  --listing-idle-background: var(--palette-mist);
  --listing-idle-border: var(--palette-line);
  --listing-idle-text: var(--palette-muted);
  --ui-surface-field: var(--palette-white);
  --ui-surface-hover: var(--palette-mist);
  --ui-border-control: var(--palette-muted);
  --ui-surface-disabled: var(--palette-line);
  --ui-text-disabled: var(--palette-muted);
  --available: var(--palette-green);
  --reserved: var(--palette-orange);
  --sold: var(--palette-red);
  --vr360: var(--palette-blue);
  --selection: var(--palette-pink);
  --on-selection: var(--palette-white);
  --feature-pink: var(--palette-pink);
  --feature-pink-active: var(--palette-pink);
  --room-tone-interior: var(--palette-pink);
  --room-tone-interior-active: var(--palette-pink);
  --room-tone-external: var(--palette-navy);
  --room-tone-external-active: var(--palette-navy);
  --room-tone-garden: var(--palette-green);
  --room-tone-garden-active: var(--palette-green);
  --room-tone-parking: var(--palette-navy);
  --room-tone-parking-active: var(--palette-navy);
  --scene-control-ink: var(--palette-navy);
  --scene-control-surface: var(--palette-mist);
  --scene-control-line: var(--palette-line);
  /* Legacy fallbacks remain for DARK and non-viewer pages. */
  --ui-color-ink: var(--palette-navy);
  --ui-color-muted: var(--palette-muted);
  --ui-color-surface: var(--palette-mist);
  --ui-color-paper: var(--palette-white);
  --ui-color-line: var(--palette-line);
  --ui-color-control-line: var(--palette-muted);
  --ui-color-disabled-surface: var(--palette-line);
  --ui-color-available: var(--available);
  --ui-color-reserved: var(--reserved);
  --ui-color-sold: var(--sold);
  --ui-color-pink: var(--selection);
  --ui-color-inverse: var(--palette-white);
  --ui-color-compass-north: var(--palette-red);
}

/* LIGHT effects: depth, selection and glass remain separate semantic roles. */
html[data-boot-mode="viewer"] body:not([data-theme-mode="DARK"]) {
  --effect-shadow-small: 0 4px 12px color-mix(in srgb, var(--palette-navy) 10%, transparent);
  --effect-shadow-medium: 0 12px 28px color-mix(in srgb, var(--palette-navy) 14%, transparent);
  --effect-shadow-large: 0 20px 44px color-mix(in srgb, var(--palette-navy) 22%, transparent);
  --effect-shadow-sheet: 0 -12px 28px color-mix(in srgb, var(--palette-navy) 14%, transparent);
  --effect-glass-surface: color-mix(in srgb, var(--palette-white) 35%, transparent);
  --effect-glass-popup: var(--effect-glass-surface);
  --effect-glass-line: color-mix(in srgb, var(--palette-line) 80%, transparent);
  --effect-glass-blur: blur(14px);
  --effect-glass-popup-blur: blur(20px);
  --effect-gradient-light: linear-gradient(180deg, var(--palette-white), var(--palette-mist));
  --effect-color-blue: var(--vr360);
  --effect-color-pink: var(--selection);
  --effect-color-available: var(--available);
  --effect-color-reserved: var(--reserved);
  --effect-color-sold: var(--sold);
  --shadow: var(--effect-shadow-medium);
}

/* Approved LIGHT promotion/media roles; DARK keeps the historical fallbacks. */
html[data-boot-mode="viewer"] body:not([data-theme-mode="DARK"]) {
  --promotion-color: var(--palette-red);
  --promotion-background: linear-gradient(90deg, color-mix(in srgb, var(--promotion-color) 90%, var(--palette-navy)), var(--promotion-color));
  --promotion-shadow: var(--effect-shadow-small);
  --promotion-text-shadow: none;
  --media-surface: var(--palette-navy);
  --media-intro-background: radial-gradient(circle at 50% 44%, var(--palette-navy), color-mix(in srgb, var(--palette-navy) 35%, black));
  --media-loading-light: color-mix(in srgb, var(--palette-mist) 78%, transparent);
  --media-loading-scene: color-mix(in srgb, var(--palette-navy) 18%, transparent);
  --media-loading-dark: rgb(0 0 0 / 68%);
  --media-loading-card: color-mix(in srgb, var(--palette-navy) 92%, transparent);
  --media-thumbs-background: linear-gradient(180deg, rgb(0 0 0 / 2%), rgb(0 0 0 / 46%));
  --media-dialog-backdrop: rgb(0 0 0 / 45%);
}

/* The desktop page background remains separate from mobile panel backgrounds. */
html[data-boot-mode="viewer"]:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) {
  background: radial-gradient(circle at 12% 16%, var(--palette-white), var(--palette-mist));
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: calc(var(--fs-body) * var(--font-scale));
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  background: radial-gradient(circle at 12% 16%, #f8fbff 0, #edf3fb 48%, #e6eef8 100%);
  min-height: 100vh;
  min-height: 100dvh;
  overflow: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-boot-mode="landing"] body {
  background: var(--color-surface-paper);
  overflow: hidden;
}

html[data-boot-mode="viewer"] .landing-shell {
  display: none;
}

html[data-boot-mode="viewer"] body {
  display: flow-root;
}

html[data-boot-mode="landing"] .app-shell {
  display: none;
}

html[data-viewer-access="mobile-blocked"] body {
  background: var(--color-surface-paper);
  overflow: hidden;
}

html[data-viewer-access="mobile-blocked"] .landing-shell,
html[data-viewer-access="mobile-blocked"] .app-shell {
  display: none;
}

html[data-embed-mode="true"] body {
  min-height: 0;
  overflow: hidden;
}

.landing-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.landing-stage {
  width: min(92vw, 1200px);
  padding: 2rem 1rem;
}

.landing-content {
  display: grid;
  justify-items: center;
}

.landing-brand-lockup {
  display: grid;
  justify-items: center;
  row-gap: 0.22rem;
}

.landing-title {
  margin: 0;
  color: #111111;
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 1.85vw, 1.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 800;
  text-align: center;
}

.landing-powered {
  margin: 0;
  display: block;
  width: auto;
  padding-left: 0;
  transform: translateX(24%);
  color: #111111;
  font-family: var(--font-heading);
  font-size: clamp(0.4rem, 0.58vw, 0.54rem);
  line-height: 1;
  font-weight: 700;
  text-align: left;
}

.landing-powered-brand {
  color: #111111;
  font-weight: 700;
  text-decoration: none;
}

.landing-powered-brand:hover {
  text-decoration: underline;
}

.mobile-blocker-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: none;
  place-items: center;
  padding: 2rem 1.4rem;
  background: var(--color-surface-paper);
}

html[data-viewer-access="mobile-blocked"] .mobile-blocker-shell {
  display: grid;
}

.mobile-blocker-card {
  width: min(100%, 28rem);
  display: grid;
  justify-items: start;
  gap: 0.7rem;
}

.mobile-blocker-eyebrow {
  margin: 0;
  color: #111111;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: var(--fw-heavy);
  letter-spacing: -0.05em;
}

.mobile-blocker-title {
  margin: 0;
  color: #111111;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 6vw, 2.15rem);
  line-height: var(--lh-solid);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.05em;
}

.mobile-blocker-text,
.mobile-blocker-investment {
  margin: 0;
  max-width: 24rem;
  color: #111111;
  font-size: 0.98rem;
  line-height: 1.55;
}

.mobile-blocker-investment {
  font-weight: var(--fw-bold);
}

.mobile-orientation-shell {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  place-items: center;
  padding:
    calc(1.4rem * var(--mobile-building-density))
    calc(1rem * var(--mobile-building-density));
  background: var(--color-surface-paper);
}

html[data-boot-mode="viewer"][data-mobile-orientation="blocked"] .mobile-orientation-shell,
body.is-mobile-orientation-blocked .mobile-orientation-shell {
  display: grid;
}

html[data-boot-mode="viewer"][data-mobile-orientation="blocked"] .landing-shell,
html[data-boot-mode="viewer"][data-mobile-orientation="blocked"] .app-shell,
body.is-mobile-orientation-blocked .landing-shell,
body.is-mobile-orientation-blocked .app-shell {
  display: none !important;
}

html[data-boot-mode="viewer"][data-mobile-orientation="blocked"] body,
body.is-mobile-orientation-blocked {
  overflow: hidden;
  touch-action: none;
  overscroll-behavior: none;
}

.mobile-orientation-stack {
  width: min(100%, 26rem);
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.mobile-orientation-brand-lockup {
  row-gap: 0.18rem;
}

.mobile-orientation-brand-lockup .landing-title {
  font-size: 22px;
  line-height: 1;
}

.mobile-orientation-brand-lockup .landing-powered {
  transform: translateX(16%);
  font-size: 9px;
}

.mobile-orientation-hint {
  margin: 0;
  max-width: 18rem;
  color: #111111;
  font-family: var(--font-heading);
  font-size: 12px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.045em;
  text-align: center;
}

.mobile-orientation-graphic {
  width: min(26vw, 3.2rem);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(7, 26, 43, 0.08));
}

body[data-theme-mode="DARK"] {
  --listing-idle-background: rgba(44, 52, 64, 0.82);
  --listing-idle-border: var(--color-dark-control-border);
  --listing-idle-text: var(--color-dark-text-secondary);
  --ui-surface-field: #2c3440;
  --ui-surface-hover: #374150;
  --ui-border-control: #4f5b69;
  --ui-surface-disabled: #39424d;
  --ui-text-disabled: #b5c0cb;
  color-scheme: dark;
  background: radial-gradient(circle at 12% 16%, #303030 0, #252525 48%, #1f1f1f 100%);
  --on-color-dark: #0d1623;
}

body[data-theme-mode="DARK"] .topbar {
  border-color: var(--color-dark-border);
  background: linear-gradient(120deg, #2c2c2c 0%, #252525 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

body[data-theme-mode="DARK"] .topbar-link {
  border-color: #495566;
  background: #2f3742;
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .brand-rail {
  border-color: var(--color-dark-border);
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
}

body[data-theme-mode="DARK"] .brand-rail-link:hover {
  color: rgba(255, 255, 255, 0.84);
}

body[data-theme-mode="DARK"] .viewer-card,
body[data-theme-mode="DARK"] .list-card {
  border-color: var(--color-dark-border);
  background: var(--surface);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

body[data-theme-mode="DARK"] .viewer-nav-dock,
body[data-theme-mode="DARK"] .viewer-utility-dock {
  border-color: rgba(78, 92, 111, 0.86);
  background: rgba(38, 38, 38, 0.74);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

body[data-theme-mode="DARK"] .viewer-mode-panel-title,
body[data-theme-mode="DARK"] .icon-control-label {
  color: #dbe7f4;
}

body[data-theme-mode="DARK"] .icon-toggle-btn {
  border-color: #556173;
  background: #313944;
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .viewer-legal-popover {
  border-color: rgba(132, 149, 171, 0.62);
  background: rgba(24, 29, 36, 0.74);
  color: var(--color-dark-text);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(38px) saturate(120%) brightness(0.72);
  -webkit-backdrop-filter: blur(38px) saturate(120%) brightness(0.72);
}

body[data-theme-mode="DARK"] .viewer-legal-popover-title {
  color: var(--color-text-inverse);
}

body[data-theme-mode="DARK"] .viewer-legal-popover-summary {
  color: #b9cce0;
}

body[data-theme-mode="DARK"] .viewer-legal-popover-details {
  border-top-color: rgba(132, 149, 171, 0.32);
}

body[data-theme-mode="DARK"] .viewer-legal-popover-expand {
  border-color: rgba(132, 149, 171, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .viewer-legal-popover-expand:hover {
  border-color: rgba(182, 198, 218, 0.68);
  background: rgba(255, 255, 255, 0.14);
}

body[data-theme-mode="DARK"] .view-mode-btn {
  border-color: rgba(85, 97, 115, 0.82);
  background: rgba(49, 57, 68, 0.62);
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .view-mode-btn:hover {
  background: rgba(57, 67, 79, 0.76);
  border-color: rgba(104, 119, 140, 0.92);
}

body[data-theme-mode="DARK"] .view-mode-btn.is-active,
body[data-theme-mode="DARK"] .icon-toggle-btn.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-color-dark);
  text-shadow: none;
}

body[data-theme-mode="DARK"] .list-investment {
  border-bottom-color: var(--color-dark-border);
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] #resultCount {
  color: #b6c5d7;
}

body[data-theme-mode="DARK"] .desktop-listings-view-toggle {
  background: transparent;
  border-color: transparent;
}

body[data-theme-mode="DARK"] .desktop-listings-view-btn {
  color: var(--color-dark-text-secondary);
  border-color: var(--color-dark-control-border);
  background: rgba(44, 52, 64, 0.82);
}

body[data-theme-mode="DARK"] .desktop-listings-view-btn:hover {
  background: var(--color-dark-surface-hover);
  border-color: var(--color-dark-control-border-hover);
}

body[data-theme-mode="DARK"] .desktop-listings-view-btn.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--color-text-inverse);
}

body[data-theme-mode="DARK"] .desktop-listings-sort-popover {
  border-color: var(--ui-border-control);
  background: var(--surface);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

body[data-theme-mode="DARK"] .desktop-listings-sort-option {
  color: var(--ink);
}

body[data-theme-mode="DARK"] .desktop-listings-sort-option:hover,
body[data-theme-mode="DARK"] .desktop-listings-sort-option:focus-visible {
  background: var(--ui-surface-hover);
  color: var(--ink);
}

body[data-theme-mode="DARK"] .desktop-listings-sort-option.is-active {
  background: var(--accent);
  color: var(--on-accent, var(--color-text-inverse));
}

body[data-theme-mode="DARK"] .filter-select-btn {
  border-color: var(--ui-border-control);
  background: var(--ui-surface-field);
  color: var(--ink);
  box-shadow: none;
}

body[data-theme-mode="DARK"] .filter-select-btn:hover {
  border-color: var(--accent);
  background: var(--ui-surface-hover);
}

body[data-theme-mode="DARK"] .filter-select-popover {
  border-color: var(--ui-border-control);
  background: var(--surface);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

body[data-theme-mode="DARK"] .filter-select-option {
  color: var(--ink);
}

body[data-theme-mode="DARK"] .filter-select-option:hover,
body[data-theme-mode="DARK"] .filter-select-option:focus-visible {
  background: var(--ui-surface-hover);
  color: var(--ink);
}

body[data-theme-mode="DARK"] .filter-select-option.is-active {
  background: var(--accent);
  color: var(--on-accent, var(--color-text-inverse));
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop-header {
  border-bottom-color: #4b5663;
  color: #c6d3e2;
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop {
  background: transparent;
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop::after {
  background: #404a57;
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop:nth-of-type(even) {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.018) 6%,
      rgba(255, 255, 255, 0.045) 16%,
      rgba(255, 255, 255, 0.045) 84%,
      rgba(255, 255, 255, 0.018) 94%,
      rgba(255, 255, 255, 0) 100%
    );
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-cell {
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-cell-name,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-cell-price {
  color: var(--color-text-inverse);
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-action-toggle,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions-popover .listing-media-btn,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions-popover .listing-mail-btn {
  color: var(--accent);
  border-color: var(--accent);
  background: transparent;
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-action-toggle:hover,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-action-toggle:focus-visible,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions-popover .listing-media-btn:hover,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions-popover .listing-media-btn:focus-visible,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions-popover .listing-mail-btn:hover,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions-popover .listing-mail-btn:focus-visible {
  background: transparent;
  border-color: var(--accent-strong);
  color: var(--accent-strong);
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions-menu.is-open .listing-row-action-toggle {
  border-color: var(--accent-strong);
  background: transparent;
  color: var(--accent-strong);
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions-popover {
  border-color: var(--color-dark-control-border);
  background: rgba(30, 38, 48, 0.96);
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions .listing-media-btn,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions .listing-mail-btn {
  color: #d8e6f6;
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-view2d-btn.is-unavailable {
  color: #7a8ea6;
}

body[data-theme-mode="DARK"] .listing-row-apartment-desktop.is-active {
  background:
    linear-gradient(
      90deg,
      rgb(var(--listing-row-accent-rgb) / 0) 0%,
      rgb(var(--listing-row-accent-rgb) / 0.05) 6%,
      rgb(var(--listing-row-accent-rgb) / 0.14) 16%,
      rgb(var(--listing-row-accent-rgb) / 0.14) 84%,
      rgb(var(--listing-row-accent-rgb) / 0.05) 94%,
      rgb(var(--listing-row-accent-rgb) / 0) 100%
    );
}

body[data-theme-mode="DARK"] .investment-logo-wrap {
  border-color: var(--color-dark-border);
  background: var(--color-surface-paper);
}

body[data-theme-mode="DARK"] select,
body[data-theme-mode="DARK"] input,
body[data-theme-mode="DARK"] textarea {
  border-color: #4b5663;
  background: #2c3440;
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .filter-field label,
body[data-theme-mode="DARK"] .mobile-select-control label {
  color: #d8e3ef;
}

body[data-theme-mode="DARK"] .filters select,
body[data-theme-mode="DARK"] .mobile-select-control select {
  border-color: #4b5663;
  background: #2c3440;
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .filters select option,
body[data-theme-mode="DARK"] .mobile-select-control select option {
  background: #2c3440;
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .listing-card {
  border-color: var(--color-dark-border);
  background: var(--surface);
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .listing-card:hover {
  border-color: var(--ui-border-control);
  background: var(--ui-surface-hover);
}

body[data-theme-mode="DARK"] .listing-card.is-active {
  border-color: #516072;
  background: #303842;
  color: var(--color-text-inverse);
}

body[data-theme-mode="DARK"] .listing-card.is-active:hover {
  border-color: #5b6b7e;
  background: #343d47;
}

body[data-theme-mode="DARK"] .listing-card.has-actions.is-active {
  border-color: var(--listing-accent);
  background: #262c33;
  box-shadow: 0 0 0 var(--listing-active-ring-width) var(--listing-accent);
}

body[data-theme-mode="DARK"] .listing-card.has-actions.is-active:hover {
  border-color: var(--listing-accent);
  background: #2b323a;
  box-shadow: 0 0 0 var(--listing-active-ring-width) var(--listing-accent);
}

body[data-theme-mode="DARK"] .listing-card.status-location {
  --listing-accent: var(--accent);
}

body[data-theme-mode="DARK"] .listing-card.status-location::after {
  color: #f2f4f7;
}

body[data-theme-mode="DARK"] .listing-card.status-building {
  --listing-accent: var(--accent);
}

body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)),
    linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: rgba(255, 255, 255, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.22);
}

body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active,
body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: var(--color-text-inverse);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.24),
    0 0 0 2px rgba(255, 255, 255, 0.1);
}

body[data-theme-mode="DARK"] .listing-card::after {
  color: var(--on-color-dark);
  text-shadow: none;
}

body[data-theme-mode="DARK"] .listing-card-thumbnail {
  border-color: #4a5666;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 54%),
    linear-gradient(180deg, rgba(52, 61, 73, 0.98), rgba(40, 47, 57, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-theme-mode="DARK"] .listing-card-thumbnail.has-image {
  border-color: #59687a;
  background: linear-gradient(180deg, rgba(58, 67, 79, 0.98), rgba(46, 54, 64, 0.98));
}

body[data-theme-mode="DARK"] .listing-card-thumbnail-placeholder-icon {
  stroke: #d7e4f2;
  opacity: 0.78;
}

body[data-theme-mode="DARK"] .listing-card.is-active .listing-card-thumbnail {
  border-color: #697a8f;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 54%),
    linear-gradient(180deg, rgba(62, 72, 85, 0.98), rgba(50, 59, 70, 0.98));
}

body[data-theme-mode="DARK"] .listing-card.is-active .listing-card-thumbnail-placeholder-icon {
  stroke: #eef5ff;
}

body[data-theme-mode="DARK"] .listing-title,
body[data-theme-mode="DARK"] .listing-card.is-active .listing-title {
  color: #f4f7fb;
}

body[data-theme-mode="DARK"] .listing-meta span,
body[data-theme-mode="DARK"] .listing-card.is-active .listing-meta span {
  border-color: #4b5663;
  background: #39424d;
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .listing-card.has-actions .listing-meta,
body[data-theme-mode="DARK"] .listing-card.has-actions.is-active .listing-meta {
  color: #d8e2ef;
}

body[data-theme-mode="DARK"] .listing-card.has-actions .listing-meta span,
body[data-theme-mode="DARK"] .listing-card.has-actions.is-active .listing-meta span {
  border: 0;
  background: transparent;
  color: inherit;
}

body[data-theme-mode="DARK"] .listing-card.has-actions .listing-meta span + span::before,
body[data-theme-mode="DARK"] .listing-card.has-actions.is-active .listing-meta span + span::before {
  color: rgba(190, 206, 226, 0.7);
}

@media (min-width: 1000px) and (orientation: landscape) {
  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions),
  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions):hover {
    border-color: var(--accent);
    background: var(--surface);
    color: var(--ink);
    box-shadow: none;
  }

  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions)::before {
    background: var(--accent);
    opacity: 0.96;
  }

  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions)::after {
    color: var(--color-text-inverse);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  }

  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions).is-active,
  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions).is-active:hover {
    border-color: var(--accent);
    background: #e8eff7;
    color: var(--ink);
    box-shadow: none;
  }

  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions) .listing-title,
  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions).is-active .listing-title {
    color: var(--ink);
  }

  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions) .listing-meta,
  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions).is-active .listing-meta {
    margin-top: 0.16rem;
    gap: 0.16rem 0.24rem;
    color: inherit;
    font-size: calc(0.64rem * var(--font-scale));
    font-weight: var(--fw-semibold);
  }

  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions) .listing-meta span,
  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions).is-active .listing-meta span {
    padding: 0.06rem 0.28rem;
    border: 1px solid #d4e0ef;
    border-radius: 999px;
    background: #f7f9f9;
    color: #111111;
    font-weight: var(--fw-bold);
    line-height: var(--lh-control);
  }

  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions).is-active .listing-meta span {
    border-color: rgba(128, 146, 170, 0.42);
    background: #f7f9f9;
    color: #111111;
  }

  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions) .listing-meta span + span::before,
  body:not([data-theme-mode="DARK"]) .listing-card.status-building:not(.has-actions).is-active .listing-meta span + span::before {
    content: none;
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) {
    border-color: color-mix(in srgb, var(--accent) 92%, transparent);
    background: var(--surface);
    color: var(--color-dark-text);
    box-shadow: none;
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions):hover {
    border-color: color-mix(in srgb, var(--accent) 98%, transparent);
    background: var(--ui-surface-hover);
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active,
  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active:hover {
    border-color: color-mix(in srgb, var(--accent) 98%, transparent);
    background: #303842;
    color: var(--color-text-inverse);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 22%, transparent);
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) .listing-meta,
  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active .listing-meta {
    margin-top: 0.16rem;
    gap: 0.16rem 0.24rem;
    color: inherit;
    font-size: calc(0.64rem * var(--font-scale));
    font-weight: var(--fw-semibold);
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) .listing-meta span,
  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active .listing-meta span {
    padding: 0.06rem 0.28rem;
    border: 1px solid #4b5663;
    border-radius: 999px;
    background: #39424d;
    color: var(--color-dark-text);
    font-weight: var(--fw-bold);
    line-height: var(--lh-control);
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) .listing-meta span + span::before,
  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active .listing-meta span + span::before {
    content: none;
  }
}

body[data-theme-mode="DARK"] .listing-pricing-label,
body[data-theme-mode="DARK"] .listing-card.is-active .listing-pricing-label {
  color: #b5c0cb;
}

body[data-theme-mode="DARK"] .listing-price-base,
body[data-theme-mode="DARK"] .listing-card.is-active .listing-price-base {
  color: #96a5b6;
}

body[data-theme-mode="DARK"] .listing-discount,
body[data-theme-mode="DARK"] .listing-card.is-active .listing-discount {
  color: #8fbbe0;
}

body[data-theme-mode="DARK"] .listing-price-final,
body[data-theme-mode="DARK"] .listing-card.is-active .listing-price-final {
  color: #ff7d7d;
}

body[data-theme-mode="DARK"] .listing-price-regular {
  color: #f0f4f8;
}

body[data-theme-mode="DARK"] .listing-card-footer {
  border-top-color: #445060;
}

body[data-theme-mode="DARK"] .listing-media-btn,
body[data-theme-mode="DARK"] .listing-mail-btn,
body[data-theme-mode="DARK"] .listing-card.is-active .listing-media-btn,
body[data-theme-mode="DARK"] .listing-card.is-active .listing-mail-btn {
  border-color: #556173;
  background: #39424d;
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .listing-row {
  border-bottom-color: #48505f;
}

body[data-theme-mode="DARK"] .listing-row.is-active {
  border-color: #4a5563;
}

body[data-theme-mode="DARK"] .listing-row-title,
body[data-theme-mode="DARK"] .listing-row.is-active .listing-row-title {
  color: #eef3f8;
}

body[data-theme-mode="DARK"] .listing-row-meta,
body[data-theme-mode="DARK"] .listing-row-pzt .listing-row-meta {
  color: #b5c0cb;
}

body[data-theme-mode="DARK"] .listing-row-distance {
  color: #d5e2ef;
}

body[data-theme-mode="DARK"] .listing-section-title {
  color: #b9c8d8;
}

body[data-theme-mode="DARK"] .mobile-controls-tab.is-active {
  color: var(--on-color-dark);
}

body[data-theme-mode="DARK"] .building-picker {
  border-color: var(--accent);
  background: var(--accent);
}

body[data-theme-mode="DARK"] .building-picker-label,
body[data-theme-mode="DARK"] .building-picker-key,
body[data-theme-mode="DARK"] .building-picker-value,
body[data-theme-mode="DARK"] .building-picker-floor-title {
  color: var(--on-accent);
  text-shadow: none;
}

body[data-theme-mode="DARK"] .building-chip {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.78);
  color: var(--on-color-dark);
  text-shadow: none;
}

body[data-theme-mode="DARK"] .building-chip:hover {
  border-color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.9);
  color: var(--on-color-dark);
}

body[data-theme-mode="DARK"] .building-chip.is-active {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--on-accent-strong);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body[data-theme-mode="DARK"] .building-chip-back {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.56);
  color: var(--on-color-dark);
}

body[data-theme-mode="DARK"] .badge.status-available,
body[data-theme-mode="DARK"] .badge.status-reserved,
body[data-theme-mode="DARK"] .badge.status-sold,
body[data-theme-mode="DARK"] .badge.status-building,
body[data-theme-mode="DARK"] .badge.status-location {
  color: var(--on-color-dark);
  text-shadow: none;
}

body[data-theme-mode="DARK"] .location-hotspot-link.is-info-feature {
  --info-feature-fill: var(--feature-pink);
  background: var(--info-feature-fill);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.16);
}

body[data-theme-mode="DARK"] .location-hotspot-link.is-info-feature::after,
body[data-theme-mode="DARK"] .location-hotspot-link.is-info-feature.mobile-label-pos-right::after,
body[data-theme-mode="DARK"] .location-hotspot-link.is-info-feature.mobile-label-pos-left::after {
  background: var(--info-feature-fill);
}

body[data-theme-mode="DARK"] .location-hotspot-link.is-info-feature .location-hotspot-title,
body[data-theme-mode="DARK"] .location-hotspot-link.is-info-feature .location-hotspot-meta {
  color: var(--color-text-inverse);
  text-shadow: none;
}

body[data-theme-mode="DARK"] .location-hotspot-link.is-active .location-hotspot-status-band,
body[data-theme-mode="DARK"] .location-hotspot-link.is-interactive-selected .location-hotspot-status-band {
  color: var(--color-text-inverse);
  text-shadow: none;
}

body[data-theme-mode="DARK"] .location-hotspot-link.is-investment.is-active .location-hotspot-status-band,
body[data-theme-mode="DARK"] .location-hotspot-link.is-investment.is-interactive-selected .location-hotspot-status-band {
  color: var(--on-color-dark);
}

body[data-theme-mode="DARK"] .modal-backdrop {
  background: rgba(5, 8, 12, 0.56);
  backdrop-filter: blur(4px);
}

body[data-theme-mode="DARK"] .modal-card,
body[data-theme-mode="DARK"] .gallery-modal-card,
body[data-theme-mode="DARK"] .apartment-media-modal-card {
  border-color: var(--color-dark-border);
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.98) 0%, rgba(31, 31, 31, 0.98) 100%);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .modal-card h2,
body[data-theme-mode="DARK"] .modal-subtitle,
body[data-theme-mode="DARK"] #visualizationsModal .modal-subtitle,
body[data-theme-mode="DARK"] .gallery-empty,
body[data-theme-mode="DARK"] .gallery-counter,
body[data-theme-mode="DARK"] #leadModal .lead-status,
body[data-theme-mode="DARK"] :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal, #leadInlineHost) .apartment2d-status,
body[data-theme-mode="DARK"] :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal, #leadInlineHost) .apartment2d-details {
  color: #d8e3ef;
}

body[data-theme-mode="DARK"] .external-mode-stage,
body[data-theme-mode="DARK"] .gallery-media-wrap,
body[data-theme-mode="DARK"] #leadModal .lead-form-shell,
body[data-theme-mode="DARK"] .lead-inline-host .lead-form-shell {
  border-color: var(--color-dark-border);
  background: #262c33;
}

body[data-theme-mode="DARK"] .lead-inline-host .lead-modal-card {
  border-color: var(--color-dark-border);
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.98) 0%, rgba(31, 31, 31, 0.98) 100%);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
}

body[data-theme-mode="DARK"] .lead-inline-host .apartment2d-meta-row {
  border-bottom-color: var(--color-dark-border);
  background: rgba(30, 37, 46, 0.98);
}

body[data-theme-mode="DARK"] .lead-inline-host .lead-modal-actionbar {
  background: var(--accent);
}

body[data-theme-mode="DARK"] :is(#leadModal, .lead-inline-host) .lead-privacy-summary {
  color: #b8c7d7;
}

body[data-theme-mode="DARK"] :is(#leadModal, .lead-inline-host) .lead-privacy-link {
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] #privacyPolicyModal .modal-subtitle,
body[data-theme-mode="DARK"] #privacyPolicyModal .apartment2d-status,
body[data-theme-mode="DARK"] #privacyPolicyModal .apartment2d-details,
body[data-theme-mode="DARK"] #privacyPolicyModal .privacy-policy-content {
  color: #d8e3ef;
}

body[data-theme-mode="DARK"] #privacyPolicyModal .privacy-policy-content-shell {
  border-color: var(--color-dark-border);
  background: #262c33;
}

body[data-theme-mode="DARK"] #privacyPolicyModal .lead-modal-actionbar {
  border-color: var(--accent);
  background: var(--accent);
}

body[data-theme-mode="DARK"] #privacyPolicyModal .lead-modal-close-btn {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-text-inverse);
}

body[data-theme-mode="DARK"] #privacyPolicyModal .lead-modal-close-btn:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.24);
  color: var(--color-text-inverse);
}

body[data-theme-mode="DARK"] .apartment3d-room-panel {
  border-color: var(--color-dark-border);
  background: #222933;
}

body[data-theme-mode="DARK"] .apartment3d-card-heading,
body[data-theme-mode="DARK"] .apartment3d-room-total,
body[data-theme-mode="DARK"] .apartment3d-card-note {
  border-color: var(--color-dark-border);
}

body[data-theme-mode="DARK"] .apartment3d-room-row-type,
body[data-theme-mode="DARK"] .apartment3d-card-note {
  color: #9cadc0;
}

body[data-theme-mode="DARK"] .apartment3d-card-title,
body[data-theme-mode="DARK"] .apartment3d-section-title,
body[data-theme-mode="DARK"] .apartment3d-room-row-name,
body[data-theme-mode="DARK"] .apartment3d-room-total,
body[data-theme-mode="DARK"] .apartment3d-room-summary,
body[data-theme-mode="DARK"] .apartment3d-card-note h4 {
  color: var(--color-dark-text);
}

body[data-theme-mode="DARK"] .apartment3d-room-row {
  border-color: var(--color-dark-border);
}

body[data-theme-mode="DARK"] .apartment3d-room-row-area {
  color: #d8e3ef;
}

body[data-theme-mode="DARK"] .apartment3d-room-total-row > span {
  color: #9cadc0;
}

body[data-theme-mode="DARK"] .gallery-loading {
  background: rgba(22, 28, 36, 0.82);
}

body[data-theme-mode="DARK"] .gallery-loading .loader-text {
  color: #d8e3ef;
}

body[data-theme-mode="DARK"] :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-topbar {
  border-color: var(--accent);
  background: var(--accent);
}

body[data-theme-mode="DARK"] :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-topbar .list-investment {
  color: var(--on-accent);
}

body[data-theme-mode="DARK"] #apartment2dModal .apartment2d-download-inline,
body[data-theme-mode="DARK"] :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-close-inline {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: var(--on-accent);
}

body[data-theme-mode="DARK"] #apartment2dModal .apartment2d-download-inline:hover,
body[data-theme-mode="DARK"] :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-close-inline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.22);
  color: var(--on-accent);
}

body[data-theme-mode="DARK"] #apartment2dModal .apartment2d-download-inline.is-disabled,
body[data-theme-mode="DARK"] #apartment2dModal .apartment2d-download-inline[aria-disabled="true"] {
  color: rgba(13, 22, 35, 0.54);
}

body[data-theme-mode="DARK"] .lead-form input,
body[data-theme-mode="DARK"] .lead-form textarea,
body[data-theme-mode="DARK"] #leadModal .lead-form input,
body[data-theme-mode="DARK"] #leadModal .lead-form textarea {
  border-color: var(--ui-border-control);
  background: var(--ui-surface-field);
  color: var(--ink);
}

body[data-theme-mode="DARK"] .lead-form input::placeholder,
body[data-theme-mode="DARK"] .lead-form textarea::placeholder,
body[data-theme-mode="DARK"] #leadModal .lead-form input::placeholder,
body[data-theme-mode="DARK"] #leadModal .lead-form textarea::placeholder {
  color: var(--ink-soft);
}

body[data-theme-mode="DARK"] .lead-form input:focus,
body[data-theme-mode="DARK"] .lead-form textarea:focus,
body[data-theme-mode="DARK"] #leadModal .lead-form input:focus,
body[data-theme-mode="DARK"] #leadModal .lead-form textarea:focus {
  background: var(--ui-surface-hover);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

body[data-theme-mode="DARK"] #leadModal .lead-form .btn,
body[data-theme-mode="DARK"] .btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

body[data-theme-mode="DARK"] #leadModal .lead-form .btn:hover,
body[data-theme-mode="DARK"] .btn-accent:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--on-accent-strong);
}

.topbar {
  width: calc(100% - 1.6rem);
  max-width: none;
  margin: 0.8rem auto;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(120deg, #ffffff 0%, #f4f8ff 100%);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-weight: 700;
  color: #f7fbff;
  background: linear-gradient(160deg, var(--accent), var(--accent-strong));
}

.brand-logo-mark {
  display: block;
  width: 76%;
  height: 80%;
  color: inherit;
}

.brand-mark.brand-rail-mark .brand-logo-mark {
  color: var(--accent-strong);
}

.brand-logo-mark path {
  fill: currentColor;
}

.brand-name {
  margin: 0;
  font-size: calc(var(--fs-lead) * var(--font-scale));
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.brand-sub {
  margin: 0.15rem 0 0;
  color: var(--ink-soft);
  font-size: calc(var(--fs-small) * var(--font-scale));
  font-weight: 600;
  letter-spacing: -0.005em;
}

.topbar-link {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--ui-color-control-line, #bdd0e6);
  background: var(--ui-color-surface, #f2f7ff);
  color: var(--ui-color-ink, #1b4568);
  font-size: calc(var(--fs-small) * var(--font-scale));
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* C04 preserves the renderer's three tracks and its measured scene dimensions. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) {
  --spin-rail-width: var(--spin-brand-width);
  --spin-rail-radius: var(--spin-frame-radius);
  --spin-rail-padding: var(--spin-brand-padding);
  --spin-rail-gap: var(--spin-brand-gap);
  --spin-rail-logo-size: var(--spin-brand-logo-size);
}
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) .app-shell > .viewer-column > .viewer-card {
  --spin-card-border: 0;
  --spin-card-background: transparent;
  --spin-card-shadow: none;
  --spin-card-overflow: visible;
  --spin-card-isolation: isolate;
  --spin-scene-radius: var(--spin-frame-radius);
  --spin-frame-content: "";
}
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) .brand-rail {
  position:relative;
  border:0;
  background:transparent;
  box-shadow:none;
}
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) .brand-rail-tag {
  box-sizing:border-box;
  width:var(--spin-brand-width);
  flex:0 0 var(--spin-brand-width);
  padding:var(--spin-brand-padding);
  gap:var(--spin-brand-gap);
}
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) .brand-rail-mark {
  box-sizing:border-box;
  width:var(--spin-brand-logo-size); height:var(--spin-brand-logo-size);
  min-width:var(--spin-brand-logo-size); min-height:var(--spin-brand-logo-size);
  flex:0 0 var(--spin-brand-logo-size); margin:0;
}
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) .brand-rail-name {
  flex:0 0 auto; margin:0; max-width:var(--spin-brand-logo-size);
}
.spin-brand-info { display:none; }
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) .spin-brand-info {
  position:absolute; top:8px; right:8px; width:24px; height:24px;
  display:grid; place-items:center; color:var(--color-text-inverse);
  pointer-events:auto; padding:0; border:0; background:transparent; cursor:pointer;
}
.spin-brand-info::before {
  content:""; width:20px; height:20px; background:currentColor;
  mask:var(--control-art-info) center / contain no-repeat;
  -webkit-mask:var(--control-art-info) center / contain no-repeat;
}
.spin-brand-info:focus-visible { outline:2px solid currentColor; outline-offset:2px; }
.spin-brand-info:disabled { visibility:hidden; }
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) #infoViewerButton { display:none; }
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) .viewer-legal-popover { top:8px; bottom:auto; }

.brand-rail {
  align-self: stretch;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 20px 20px 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  margin-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.brand-rail-tag {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.28rem;
  padding: 0.34rem 0.06rem 0.46rem;
  overflow: hidden;
}

.brand-rail-mark {
  order: 2;
  width: 1.44rem;
  height: 1.44rem;
  border-radius: 8px;
  font-size: calc(0.56rem * var(--font-scale));
  color: var(--accent);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 18px rgba(6, 35, 59, 0.18);
}

.brand-rail-name {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  line-height: 1;
  white-space: nowrap;
}

.brand-rail-name {
  order: 1;
  color: var(--color-text-inverse);
  font-size: calc(0.96rem * var(--font-scale));
  font-weight: 800;
  letter-spacing: 0.008em;
  text-transform: none;
  text-shadow: none;
}

.brand-rail-link {
  text-decoration: none;
}

.brand-rail-link:hover {
  color: rgba(255, 255, 255, 0.84);
}

.app-shell {
  width: min(calc(100% - 1.6rem), 2300px);
  max-width: 2300px;
  margin: 0.8rem auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--spin-rail-width, 42px) 430px;
  gap: 0;
  height: calc(100vh - 1.6rem);
  height: calc(100dvh - 1.6rem);
  align-items: stretch;
}

html[data-embed-mode="true"] .app-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 0;
  height: auto;
  align-items: start;
}

.mobile-viewer-topbar {
  display: none;
}

.mobile-viewer-topbar-title {
  margin: 0;
}

.viewer-column {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 1rem;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

html[data-embed-mode="true"] .viewer-column {
  height: auto;
}

.viewer-card {
  position: relative;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: var(--spin-card-overflow, hidden);
  isolation: var(--spin-card-isolation, auto);
  border-radius: 20px 0 0 20px;
  border: var(--spin-card-border, 1px solid var(--line));
  border-left: 0;
  border-right: 0;
  background: var(--spin-card-background, var(--surface));
  box-shadow: var(--spin-card-shadow, var(--shadow));
  min-height: 0;
  height: auto;
}

.viewer-card::before,
.viewer-card::after {
  content: var(--spin-frame-content, none);
  position:absolute; inset:0 calc(-1 * var(--spin-rail-width, 42px)) 0 0;
  border-radius:var(--spin-frame-radius); pointer-events:none;
}
.viewer-card::before {
  z-index:-1;
  background:var(--spin-brand-background) right / calc(var(--spin-brand-width) + var(--spin-frame-radius)) 100% no-repeat var(--palette-navy);
  box-shadow:var(--spin-frame-shadow);
}
.viewer-card::after {
  z-index:10;
  border:var(--spin-frame-border);
}

.viewer-info-stack {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 4;
  display: grid;
  gap: 0.36rem;
  width: fit-content;
  max-width: min(88%, 760px);
}

.viewer-stage {
  --viewer-overlay-scale: 1;
  --viewer-edge-vignette: none;
  position: relative;
  inset: auto;
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  border-radius: var(--spin-scene-radius, 20px 0 0 20px);
  overflow: hidden;
  border: 0;
  transition: background 0.24s ease;
  z-index: 1;
}

.viewer-apartment2d-panel {
  --viewer-apartment2d-pad-block: clamp(1.2rem, 2.3vh, 2.2rem);
  --viewer-apartment2d-pad-inline: clamp(0.95rem, 1.8vw, 1.75rem);
  position: absolute;
  inset: 0;
  z-index: 7;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border-radius: 20px 0 0 20px;
  background: var(--color-surface-paper);
  overflow: hidden;
  clip-path: inset(0 round 20px 0 0 20px);
}

.viewer-apartment2d-panel[hidden] {
  display: none !important;
}

.viewer-apartment2d-room-sheet {
  display: none;
}

.viewer-apartment2d-surface {
  min-height: 0;
  background: var(--color-surface-paper);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 20px 0 0 0;
  padding-block: var(--viewer-apartment2d-pad-block);
  padding-inline: var(--viewer-apartment2d-pad-inline);
}

.viewer-apartment2d-surface.is-image-preview {
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.viewer-apartment2d-image,
.viewer-apartment2d-pdf {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  background: var(--color-surface-paper);
  border: 0;
}

.viewer-apartment2d-image[hidden],
.viewer-apartment2d-pdf[hidden],
.viewer-apartment2d-empty[hidden] {
  display: none !important;
}

.viewer-apartment2d-image {
  object-fit: contain;
  object-position: center center;
}

.viewer-apartment2d-empty {
  margin: 0;
  padding: 1.1rem 1.3rem;
  color: var(--ui-color-muted, #546d8c);
  text-align: center;
}

.viewer-apartment2d-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1rem;
  border-top: 1px solid var(--ui-color-line, #d6e1ee);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 0 0 0 20px;
}

.viewer-apartment2d-copy {
  min-width: 0;
  display: grid;
  gap: 0.16rem;
}

.viewer-apartment2d-actions {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 0.34rem;
}

.viewer-apartment2d-title,
.viewer-apartment2d-meta {
  margin: 0;
  min-width: 0;
}

.viewer-apartment2d-title {
  color: var(--ui-color-ink, #17314f);
}

.viewer-apartment2d-meta {
  color: var(--ui-color-muted, #4a6483);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment2d-download-btn {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: var(--color-text-inverse);
  box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(36, 59, 95, 0.18));
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment2d-download-btn:hover,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment2d-download-btn:focus-visible {
  border-color: var(--accent-strong);
  background: linear-gradient(180deg, var(--accent-strong) 0%, color-mix(in srgb, var(--accent-strong) 72%, #000000) 100%);
  color: var(--color-text-inverse);
  box-shadow: var(--effect-shadow-medium, 0 10px 22px rgba(36, 59, 95, 0.22));
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment2d-close-btn {
  border: 1px solid var(--ui-color-control-line, #d7e1ee);
  background: var(--color-surface-paper);
  color: var(--ui-color-ink, #4d6785);
  box-shadow: none;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment2d-close-btn:hover,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment2d-close-btn:focus-visible {
  border-color: var(--ui-color-control-line, #bfd0e4);
  background: var(--ui-color-surface, #f6f9fc);
  color: var(--ui-color-ink, #24405f);
  box-shadow: none;
}

.viewer-privacy-policy-panel {
  z-index: 8;
}

.viewer-privacy-policy-surface {
  place-items: stretch;
  justify-items: stretch;
  align-items: start;
  align-content: start;
  overflow: auto;
  padding: clamp(1.25rem, 2.3vh, 2.2rem) clamp(1.3rem, 2.2vw, 2.4rem);
  background: var(--effect-gradient-light, linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%));
  -webkit-overflow-scrolling: touch;
}

.viewer-privacy-policy-content {
  width: 100%;
  height: auto;
  min-height: 0;
  max-width: none;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ui-color-ink, #233a57);
  font-size: calc(0.84rem * var(--font-scale));
  font-weight: 600;
  line-height: 1.62;
  white-space: pre-wrap;
  column-count: 3;
  column-gap: clamp(1.35rem, 2vw, 2.4rem);
  column-fill: balance;
  widows: 3;
  orphans: 3;
}

.viewer-privacy-policy-content:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 58%, transparent);
  outline-offset: 3px;
}

body[data-theme-mode="DARK"] .viewer-privacy-policy-panel,
body[data-theme-mode="DARK"] .viewer-privacy-policy-surface {
  background: #101b2b;
}

body[data-theme-mode="DARK"] .viewer-privacy-policy-content {
  color: #dce8f6;
}

body[data-theme-mode="DARK"] .viewer-privacy-policy-bar {
  border-top-color: rgba(139, 159, 187, 0.34);
  background: #101b2b;
}

body[data-theme-mode="DARK"] .viewer-privacy-policy-panel .viewer-apartment2d-title {
  color: #f3f7fb;
}

body[data-theme-mode="DARK"] .viewer-privacy-policy-panel .viewer-apartment2d-meta {
  color: #b8c8da;
}

.viewer-vr360-panel {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border-radius: 20px 0 0 20px;
  background: #05080d;
  overflow: hidden;
  clip-path: inset(0 round 20px 0 0 20px);
}

.viewer-vr360-panel[hidden] {
  display: none !important;
}

.viewer-vr360-stage {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 38%, rgba(24, 169, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #07101a 0%, #05080d 48%, #111c2a 100%);
}

.viewer-vr360-stage.is-rendering-panorama360 {
  background: #05080d;
}

.viewer-vr360-panel.is-apartment3d-card-embedded {
  inset: 0;
  z-index: 12;
  place-self: stretch;
  border-radius: 0;
  clip-path: none;
}

.viewer-vr360-renderer {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #05080d;
}

.viewer-vr360-renderer[hidden] {
  display: none !important;
}

.viewer-vr360-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(1.08) contrast(1.04);
}

.viewer-vr360-preview[hidden],
.viewer-vr360-empty[hidden] {
  display: none !important;
}

.viewer-vr360-placeholder {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100% - 2rem));
  padding: clamp(1rem, 2vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(5, 12, 20, 0.62);
  color: #eef7ff;
  text-align: center;
  backdrop-filter: blur(14px) saturate(128%);
  -webkit-backdrop-filter: blur(14px) saturate(128%);
  box-shadow: var(--effect-shadow-large, 0 24px 52px rgba(0, 0, 0, 0.32));
}

.viewer-vr360-kicker,
.viewer-vr360-placeholder h2,
.viewer-vr360-placeholder p,
.viewer-vr360-empty {
  margin: 0;
}

.viewer-vr360-kicker {
  color: var(--vr360);
  font-size: calc(0.74rem * var(--font-scale));
  font-weight: var(--fw-black);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.viewer-vr360-placeholder h2 {
  margin-top: 0.28rem;
  font-size: calc(1.35rem * var(--font-scale));
  font-weight: var(--fw-black);
  line-height: 1.12;
}

.viewer-vr360-placeholder p:not(.viewer-vr360-kicker) {
  margin-top: 0.46rem;
  color: rgba(238, 247, 255, 0.78);
  font-size: calc(0.88rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: 1.36;
}

.viewer-vr360-empty {
  position: relative;
  z-index: 1;
  padding: 1rem 1.2rem;
  color: rgba(238, 247, 255, 0.82);
  font-size: calc(0.9rem * var(--font-scale));
  font-weight: var(--fw-heavy);
  text-align: center;
}

.viewer-vr360-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 16, 28, 0.96);
  color: var(--color-text-inverse);
}

.viewer-vr360-copy {
  min-width: 0;
  display: grid;
  gap: 0.16rem;
}

.viewer-vr360-title,
.viewer-vr360-meta {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.viewer-vr360-title {
  font-size: calc(0.98rem * var(--font-scale));
  font-weight: var(--fw-black);
  line-height: var(--lh-control);
}

.viewer-vr360-meta {
  color: rgba(239, 247, 255, 0.72);
  font-size: calc(0.78rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
}

.viewer-vr360-close-btn {
  min-height: 2.18rem;
  padding: 0.36rem 0.92rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text-inverse);
}

.viewer-vr360-close-btn:hover,
.viewer-vr360-close-btn:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-text-inverse);
}

.viewer-vr360-expand-btn.listing-media-btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  border-radius: 14px;
  box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
}

.viewer-vr360-expand-btn[hidden] {
  display: none !important;
}

.viewer-vr360-expand-btn.listing-media-btn:hover,
.viewer-vr360-expand-btn.listing-media-btn:focus-visible {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--color-text-inverse);
}

.viewer-vr360-expand-icon {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
  stroke: none;
}

.viewer-vr360-expand-icon path {
  fill: currentColor;
  stroke: none;
}

.viewer-vr360-expand-icon-exit,
.viewer-vr360-expand-btn.is-expanded .viewer-vr360-expand-icon-open {
  display: none;
}

.viewer-vr360-expand-btn.is-expanded .viewer-vr360-expand-icon-exit {
  display: block;
}

.viewer-apartment3d-card-panel {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  border-radius: 20px 0 0 20px;
  background: #f7f9f9;
  overflow: hidden;
  clip-path: inset(0 round 20px 0 0 20px);
}

.viewer-apartment3d-card-panel[hidden] {
  display: none !important;
}

.viewer-apartment3d-card-main {
  min-height: 0;
  display: grid;
  grid-template-columns: clamp(320px, 31%, 430px) minmax(0, 1fr);
  grid-template-areas: "side stage";
  background: var(--color-surface-paper);
  align-items: stretch;
}

.viewer-apartment3d-card-stage {
  grid-area: stage;
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000000;
}

.viewer-apartment3d-card-panel.is-expanded {
  grid-template-rows: minmax(0, 1fr);
  background: #000000;
}

.viewer-apartment3d-card-panel.is-expanded .viewer-apartment3d-card-main {
  height: 100% !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "stage";
  background: #000000;
}

.viewer-apartment3d-card-panel.is-expanded .viewer-apartment3d-card-side,
.viewer-apartment3d-card-panel.is-expanded .viewer-apartment3d-card-bar {
  display: none !important;
}

.viewer-apartment3d-card-panel.is-expanded .viewer-apartment3d-card-stage {
  width: 100%;
  height: 100%;
}

.viewer-apartment3d-card-panel.is-expanded .viewer-vr360-panel.is-apartment3d-card-embedded {
  grid-template-rows: minmax(0, 1fr);
}

.viewer-apartment3d-card-panel.is-expanded .viewer-vr360-panel.is-apartment3d-card-embedded .viewer-vr360-bar {
  display: none !important;
}

.viewer-apartment3d-card-expand-btn.listing-media-btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 16;
  border-radius: 14px;
  box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
}

.viewer-apartment3d-card-panel.is-vr360-embedded:not(.is-expanded) .viewer-apartment3d-card-expand-btn.listing-media-btn {
  bottom: calc(1rem + 3.95rem);
}

.viewer-apartment3d-card-panel.is-vr360-embedded .viewer-vr360-expand-btn {
  display: none !important;
}

.viewer-apartment3d-card-expand-btn[hidden] {
  display: none !important;
}

.viewer-apartment3d-card-expand-btn.listing-media-btn:hover,
.viewer-apartment3d-card-expand-btn.listing-media-btn:focus-visible {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--color-text-inverse);
}

.viewer-apartment3d-card-expand-icon {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
  stroke: none;
}

.viewer-apartment3d-card-expand-icon path {
  fill: currentColor;
  stroke: none;
}

.viewer-apartment3d-card-expand-icon-exit,
.viewer-apartment3d-card-expand-btn.is-expanded .viewer-apartment3d-card-expand-icon-open {
  display: none;
}

.viewer-apartment3d-card-expand-btn.is-expanded .viewer-apartment3d-card-expand-icon-exit {
  display: block;
}

.spin-gesture-hint {
  --spin-hint-width: clamp(4.2rem, 7vw, 5.7rem);
  --spin-hint-height: clamp(2.4rem, 4vw, 3.3rem);
  --spin-hint-left: 76%;
  --spin-hint-top: 66.666%;
  position: absolute;
  left: var(--spin-hint-left);
  top: var(--spin-hint-top);
  z-index: 11;
  display: grid;
  justify-items: center;
  gap: 0.54rem;
  color: var(--color-text-inverse);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.94);
  filter:
    drop-shadow(0 10px 18px rgba(0, 0, 0, 0.62))
    drop-shadow(0 2px 3px rgba(0, 0, 0, 0.42));
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
}

.viewer-spin-hint {
  --spin-hint-left: 50%;
  --spin-hint-top: calc(100% - 5.85rem);
}

.spin-gesture-hint[hidden] {
  display: none !important;
}

.spin-gesture-hint.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.spin-gesture-hint-orbit {
  position: relative;
  width: var(--spin-hint-width);
  height: var(--spin-hint-height);
  display: grid;
  place-items: center;
  overflow: visible;
}

.spin-gesture-hint-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: visible;
}

.spin-gesture-hint-icon svg,
.spin-gesture-hint-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  stroke: none;
}

.viewer-apartment3d-card-intro-overlay {
  z-index: 10;
}

.viewer-apartment3d-card-panel[data-intro-phase="loading"] .viewer-intro-brand,
.viewer-apartment3d-card-panel[data-intro-phase="spinning"] .viewer-intro-brand,
.viewer-apartment3d-card-panel[data-intro-phase="revealing"] .viewer-intro-brand {
  animation: viewerApartment3dCardIntroBrandReveal 2.6s ease-in-out both;
}

.viewer-apartment3d-card-panel[data-intro-phase="loading"],
.viewer-apartment3d-card-panel[data-intro-phase="spinning"] {
  background:
    var(--media-intro-background, radial-gradient(circle at 50% 44%, rgba(19, 31, 45, 0.98) 0%, rgba(7, 13, 22, 0.99) 54%, #020408 100%));
}

.viewer-apartment3d-card-panel[data-intro-phase="loading"] .viewer-apartment3d-card-main,
.viewer-apartment3d-card-panel[data-intro-phase="spinning"] .viewer-apartment3d-card-main {
  background:
    var(--media-intro-background, radial-gradient(circle at 50% 44%, rgba(19, 31, 45, 0.98) 0%, rgba(7, 13, 22, 0.99) 54%, #020408 100%));
}

.viewer-apartment3d-card-panel[data-intro-phase="loading"] .viewer-apartment3d-card-side,
.viewer-apartment3d-card-panel[data-intro-phase="loading"] .viewer-apartment3d-card-bar,
.viewer-apartment3d-card-panel[data-intro-phase="spinning"] .viewer-apartment3d-card-side,
.viewer-apartment3d-card-panel[data-intro-phase="spinning"] .viewer-apartment3d-card-bar {
  visibility: hidden;
}

.viewer-apartment3d-card-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
  background: #000000;
  user-select: none;
  -webkit-user-drag: none;
}

.viewer-apartment3d-card-image[hidden],
.viewer-apartment3d-card-empty[hidden],
.viewer-apartment3d-card-loading[hidden] {
  display: none !important;
}

.viewer-apartment3d-card-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: var(--media-loading-card, rgba(4, 7, 12, 0.92));
}

.viewer-apartment3d-card-loading-box {
  min-width: min(78%, 300px);
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: var(--media-surface, rgba(14, 22, 34, 0.92));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.viewer-apartment3d-card-loading-spinner {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--color-border-inverse);
  animation: viewerApartment3dCardSpin 0.9s linear infinite;
}

.viewer-apartment3d-card-loading-text {
  margin: 0;
  color: var(--color-text-inverse);
  font-size: calc(0.88rem * var(--font-scale));
  font-weight: var(--fw-heavy);
  line-height: 1.3;
  text-align: center;
}

.viewer-apartment3d-card-empty {
  margin: 0;
  padding: 1.25rem 1.4rem;
  color: var(--color-text-inverse);
  font-size: calc(0.9rem * var(--font-scale));
  font-weight: var(--fw-heavy);
  line-height: var(--lh-field);
  text-align: center;
}

.viewer-apartment3d-card-side {
  grid-area: side;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  border-right: 0;
  border-radius: 0;
  padding: 0.95rem 1.06rem 1rem 1.02rem;
  box-shadow: none;
}

.viewer-apartment3d-card-side.apartment3d-room-panel {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.viewer-apartment3d-card-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 0.22rem;
}

.viewer-apartment3d-card-copy-side {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #d6e1ee;
  margin-bottom: 0.72rem;
}

.viewer-apartment3d-card-sheet-header-row,
.viewer-apartment3d-card-sheet-heading {
  min-width: 0;
  display: grid;
  gap: 0.22rem;
}

.viewer-apartment3d-card-sheet-header-row {
  grid-template-columns: minmax(0, 1fr);
}

.viewer-apartment3d-card-sheet-eyebrow,
.viewer-apartment3d-card-room-sheet-toggle,
.viewer-apartment3d-card-back-to-listings-btn,
.viewer-apartment3d-card-commerce,
.apartment3d-room-table-header {
  display: none;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment3d-card-copy-side {
  padding-bottom: 0.52rem;
  margin-bottom: 0.54rem;
}

.viewer-apartment3d-card-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 12px;
  border-top: 1px solid #d6e1ee;
  background: #f7f9f9;
  color: inherit;
  border-radius: 0 0 0 20px;
  align-items: stretch;
  align-self: stretch;
  overflow: hidden;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment3d-card-bar {
  gap: 12px;
  padding: 12px;
}

.viewer-apartment3d-card-note,
.viewer-apartment3d-card-note-inline {
  min-width: 0;
  min-height: 0;
}

.viewer-apartment3d-card-note-copy {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  padding-right: 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--accent) 28%, transparent) transparent;
}

.viewer-apartment3d-card-note-copy::-webkit-scrollbar {
  width: 8px;
}

.viewer-apartment3d-card-note-copy::-webkit-scrollbar-track {
  background: transparent;
}

.viewer-apartment3d-card-note-copy::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 999px;
}

.viewer-apartment3d-card-note-label {
  margin: 0;
  color: var(--ink) !important;
  font-family: var(--font-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-heading);
  text-transform: none;
}

.viewer-apartment3d-card-note-text {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-compact);
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.viewer-apartment3d-card-desktop-actions {
  grid-column: 1 / -1;
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.36rem;
  align-self: flex-start;
  margin-top: auto;
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .viewer-apartment3d-card-desktop-actions,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .apartment-card-share-actions {
  display: none;
}

.viewer-apartment3d-card-gallery {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--color-surface-paper);
  border-radius: 18px;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}

.viewer-apartment3d-card-gallery-secondary {
  border-radius: 18px;
}

.viewer-apartment3d-card-details,
.viewer-apartment3d-card-details-footer {
  display: contents;
}

.viewer-apartment3d-card-thumbnail,
.viewer-apartment3d-card-details .viewer-apartment3d-card-note {
  display: none;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardPanel .viewer-apartment3d-card-side {
  overflow: hidden;
  background: var(--gradient-cg01) var(--palette-navy);
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails {
  --apartment3d-ink: var(--color-text-inverse);
  --apartment3d-muted: var(--color-text-inverse);
  --apartment3d-rule: color-mix(in srgb, var(--color-text-inverse) 24%, transparent);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  padding: 24px;
  border-radius: var(--surface-panel-radius);
  background: linear-gradient(180deg, var(--button-highlight), var(--button-glass-bottom));
  box-shadow: inset 0 0 0 1px var(--button-glass-border), inset 0 1px 0 var(--button-edge);
  backdrop-filter: var(--button-glass-blur);
  -webkit-backdrop-filter: var(--button-glass-blur);
  color: var(--surface-panel-dark-ink);
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--color-text-inverse) 35%, transparent) transparent;
  scrollbar-gutter: stable;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails > *,
html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails > .mc-room-foreground > * {
  flex: 0 0 auto;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails .viewer-apartment3d-card-details-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails .viewer-apartment3d-card-copy-side {
  margin: 0;
  border-color: var(--apartment3d-rule);
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails .apartment3d-room-section {
  display: block;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardRoomList {
  height: auto !important;
  max-height: none !important;
  overflow: visible;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails :is(.viewer-apartment3d-card-titlebar, .viewer-apartment3d-card-meta, .viewer-apartment3d-card-note-label, .viewer-apartment3d-card-note-text, .apartment3d-room-row-name, .apartment3d-room-row-area, .apartment3d-room-empty, .apartment3d-room-total-row > span) {
  color: var(--color-text-inverse) !important;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails .viewer-apartment3d-card-note {
  display: none;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails .viewer-apartment3d-card-note-copy {
  overflow: visible;
  padding: 0;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails .viewer-apartment3d-card-note-text {
  font-size: 11px !important;
  line-height: 1.1 !important;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails .apartment3d-room-row:is(:hover, .is-active) {
  background: linear-gradient(90deg,
    transparent 0%,
    color-mix(in srgb, var(--color-text-inverse) 3%, transparent) 6%,
    color-mix(in srgb, var(--color-text-inverse) 16%, transparent) 16%,
    color-mix(in srgb, var(--color-text-inverse) 16%, transparent) 84%,
    color-mix(in srgb, var(--color-text-inverse) 3%, transparent) 94%,
    transparent 100%);
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails .apartment3d-room-row:focus-visible {
  outline: 2px solid var(--color-text-inverse);
  outline-offset: -2px;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardDetails .apartment3d-room-total {
  margin-top: 0;
}

html:not([data-viewer-layout="mobile"]) #viewerApartment3dCardThumbnail {
  display: block;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--color-surface-paper);
}

#viewerApartment3dCardThumbnail[hidden] {
  display: none !important;
}

#viewerApartment3dCardThumbnail > div,
#viewerApartment3dCardThumbnail .listing-card-thumbnail {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  aspect-ratio: auto;
  overflow: visible;
}

#viewerApartment3dCardThumbnail .listing-card-thumbnail:not(.has-image)::after {
  content: "Brak miniatury";
  display: grid;
  min-height: 64px;
  place-items: center;
  color: var(--color-text-muted-on-paper);
  font: var(--fw-medium) var(--fs-label) / var(--lh-compact) var(--font-ui);
}

#viewerApartment3dCardThumbnail .listing-card-thumbnail-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

#viewerApartment3dCardThumbnail .listing-card-thumbnail-image[hidden] {
  display: none;
}

.viewer-apartment3d-card-gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center center;
}

.viewer-apartment3d-card-gallery-image[hidden],
.viewer-apartment3d-card-gallery-empty[hidden] {
  display: none !important;
}

.viewer-apartment3d-card-gallery-empty {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--ink-soft);
  font-size: calc(0.82rem * var(--font-scale));
  font-weight: var(--fw-heavy);
  text-align: center;
}

.viewer-apartment3d-card-bar .viewer-apartment3d-card-gallery {
  justify-self: stretch;
}

.viewer-apartment3d-card-bar .viewer-apartment3d-card-gallery-empty {
  background: linear-gradient(180deg, rgba(247, 249, 249, 0.12), rgba(247, 249, 249, 0.24));
}

.viewer-apartment3d-card-bar .viewer-apartment3d-card-gallery-image {
  background: var(--color-surface-paper);
  object-fit: cover;
}

.viewer-apartment3d-card-titlebar,
.viewer-apartment3d-card-meta {
  margin: 0;
  min-width: 0;
}

.viewer-apartment3d-card-side .viewer-apartment3d-card-titlebar {
  color: var(--accent);
  font-size: calc(var(--fs-title) * var(--font-scale));
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.viewer-apartment3d-card-side .viewer-apartment3d-card-meta {
  color: var(--apartment3d-muted);
  white-space: normal;
}

body.mobile-apartment-shell .viewer-apartment3d-card-bar {
  display: none !important;
}

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


.viewer-frame-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.viewer-frame-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.viewer-runtime-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  border-radius: inherit;
  pointer-events: none;
  background: var(--viewer-edge-vignette);
  opacity: 1;
}

@media (min-width: 1000px) and (orientation: landscape) {
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-stage.has-media-frame .viewer-runtime-gradient-overlay {
    display: block;
  }
}

body[data-viewer-intro-state="loading"] .viewer-runtime-gradient-overlay,
body[data-viewer-intro-state="spinning"] .viewer-runtime-gradient-overlay {
  display: none !important;
}

.tracking-overlay-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  user-select: none;
  z-index: 2;
}

.tracking-overlay-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  user-select: none;
  z-index: 2;
}

.tracking-overlay-svg[data-render-style="VIEW"] .tracking-overlay-polygon,
.tracking-overlay-svg[data-render-style="VIEW"] .tracking-overlay-polygon:hover,
.tracking-overlay-svg[data-render-style="VIEW"] .tracking-overlay-polygon.is-hovered,
.tracking-overlay-svg[data-render-style="VIEW"] .tracking-overlay-polygon.is-active {
  fill-opacity: 0 !important;
  stroke-opacity: 0 !important;
  stroke-width: 0 !important;
  filter: none !important;
}

.tracking-overlay-polygon {
  pointer-events: auto;
  cursor: pointer;
  vector-effect: non-scaling-stroke;
  transition:
    fill-opacity 0.14s ease,
    stroke-opacity 0.14s ease,
    stroke-width 0.14s ease,
    filter 0.14s ease;
}

.tracking-overlay-polygon:hover,
.tracking-overlay-polygon.is-hovered {
  fill-opacity: 0.24;
  stroke-opacity: 0.96;
  stroke-width: 2.1;
  filter: saturate(118%) brightness(1.05);
}

html[data-viewer-layout="desktop"] .tracking-overlay-svg[data-tracking-mode="units"] .tracking-overlay-polygon:not(.is-active):is(:hover, .is-hovered) {
  fill-opacity: 0.5;
}

.tracking-overlay-polygon.is-active {
  fill-opacity: 0.3;
  stroke-opacity: 1;
  stroke-width: 3.2;
  filter: saturate(126%) brightness(1.06);
}

.tracking-overlay-polygon.status-available.is-active {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--effect-color-available, rgb(78, 148, 50)) 32%, transparent));
}

.tracking-overlay-polygon.status-reserved.is-active {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--effect-color-reserved, rgb(247, 127, 0)) 32%, transparent));
}

.tracking-overlay-polygon.status-sold.is-active {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--effect-color-sold, rgb(199, 50, 50)) 32%, transparent));
}

.tracking-overlay-polygon.status-building.is-active,
.tracking-overlay-polygon.status-location.is-active {
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--accent-strong) 30%, transparent));
}

.viewer-loading {
  position: absolute;
  inset: 0;
  z-index: 11;
  display: grid;
  align-content: end;
  justify-items: center;
  row-gap: 0.68rem;
  box-sizing: border-box;
  padding: 0 1.5rem clamp(2.8rem, 10vh, 5.6rem);
  background: var(--media-loading-scene, rgba(17, 36, 59, 0.18));
  pointer-events: none;
}

.viewer-loading[hidden] {
  display: none !important;
}

.viewer-load-retry {
  order: 3;
  margin-top: 0.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: var(--media-surface, #0b263b);
  color: var(--color-text-inverse);
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}

.viewer-load-retry[hidden] {
  display: none !important;
}

body[data-viewer-startup-error="true"] #viewerStage {
  min-height: min(640px, 75vh) !important;
}

.viewer-loading-progress-track {
  order: 1;
  width: min(420px, calc(100% - 3rem));
  height: 2.25px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(193, 209, 225, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.viewer-loading:not(.has-progress) .viewer-loading-progress-track {
  display: none;
}

.viewer-loading-progress-bar {
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-surface-paper);
  animation: viewerTransitionLoaderSweep 1.05s ease-in-out infinite;
  transform: translateX(-120%);
}

.viewer-loading.is-determinate .viewer-loading-progress-bar {
  width: var(--viewer-loading-progress, 0%);
  animation: none;
  transform: none;
  transition: width 0.18s ease;
}

.viewer-loading .loader-text {
  order: 2;
  width: min(420px, calc(100% - 3rem));
  text-align: center;
}

@keyframes viewerIntroSoftReveal {
  from {
    opacity: 1;
  }

  to {
    opacity: 0.78;
  }
}

@keyframes viewerApartment3dCardIntroBrandReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%);
  }

  14% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.viewer-intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  opacity: 1;
  pointer-events: none;
  background:
    var(--media-intro-background, radial-gradient(circle at 50% 44%, rgba(19, 31, 45, 0.98) 0%, rgba(7, 13, 22, 0.99) 54%, #020408 100%));
  will-change: opacity;
}

/* Intro stays in one host; desktop follows the viewer bounds, mobile keeps its full-screen cover. */
html[data-boot-mode="landing"] #viewerIntroOverlay,
html[data-viewer-access="mobile-blocked"] #viewerIntroOverlay,
html[data-mobile-orientation="blocked"] #viewerIntroOverlay {
  display: none !important;
}

html[data-viewer-boot-state="loading"] .app-shell,
html[data-viewer-boot-state="error"] .app-shell {
  visibility: hidden;
  pointer-events: none;
}

html:is([data-viewer-boot-state="loading"], [data-viewer-boot-state="error"]) body #viewerIntroOverlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  z-index: 10001;
  visibility: visible !important;
  opacity: 1 !important;
  border-radius: 0;
  pointer-events: auto;
}

html:is([data-viewer-boot-state="loading"], [data-viewer-boot-state="error"]) #viewerIntroOverlay .viewer-intro-brand {
  left: 50%;
  top: 50%;
}

html:not([data-viewer-layout="mobile"]) body #viewerIntroOverlay {
  position: fixed;
  inset: auto;
  left: var(--viewer-intro-left, max(0.8rem, calc((100% - 2300px) / 2)));
  top: var(--viewer-intro-top, 0.8rem);
  width: var(--viewer-intro-width, min(calc(100% - 1.6rem), 2300px));
  height: var(--viewer-intro-height, calc(100dvh - 1.6rem));
  min-height: 0;
  border-radius: var(--viewer-intro-top-left, 20px) var(--viewer-intro-top-right, 20px)
    var(--viewer-intro-bottom-right, 20px) var(--viewer-intro-bottom-left, 20px);
  overflow: hidden;
  z-index: 10001;
  pointer-events: auto;
}

html:not([data-viewer-layout="mobile"]) #viewerIntroOverlay .viewer-intro-brand {
  left: 50%;
  top: 50%;
}

.viewer-intro-brand {
  position: absolute;
  left: var(--intro-brand-x, 50%);
  top: var(--intro-brand-y, 50%);
  display: grid;
  min-width: min(50%, 300px);
  text-align: center;
  transform: translate(-50%, -50%);
  color: rgba(246, 250, 255, 0.96);
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.viewer-intro-brand-lockup {
  display: grid;
  justify-items: center;
  row-gap: 0.22rem;
}

.viewer-intro-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.98);
  font-family: var(--font-heading);
  font-size: clamp(0.7rem, 1.85vw, 1.6rem);
  line-height: 0.92;
  font-weight: var(--fw-bold);
  letter-spacing: -0.06em;
}

.viewer-intro-signature {
  margin: 0;
  display: block;
  width: auto;
  padding-left: 0;
  transform: translateX(24%);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-heading);
  font-size: clamp(0.4rem, 0.58vw, 0.54rem);
  line-height: var(--lh-solid);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-normal);
  text-align: left;
}

.viewer-intro-signature-brand {
  font-weight: var(--fw-bold);
}

.viewer-intro-progress {
  position: absolute;
  left: 50%;
  bottom: clamp(2.8rem, 10vh, 5.6rem);
  display: grid;
  gap: 0.68rem;
  width: min(420px, calc(100% - 3rem));
  transform: translateX(-50%);
}

.viewer-intro-progress[hidden] {
  display: none !important;
}

.viewer-intro-progress-track {
  position: relative;
  width: 100%;
  height: 2.25px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(193, 209, 225, 0.24);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.viewer-intro-progress-bar {
  width: 36%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-surface-paper);
  box-shadow: none;
  animation: viewerTransitionLoaderSweep 1.05s ease-in-out infinite;
  transform: translateX(-120%);
}

.viewer-intro-progress.is-determinate .viewer-intro-progress-bar {
  width: var(--viewer-intro-progress, 0%);
  animation: none;
  transform: none;
  transition: width 0.18s ease-out;
}

.viewer-intro-progress-text {
  margin: 0;
  text-align: center;
  color: rgba(235, 242, 249, 0.92);
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
}

.viewer-intro-overlay.is-fading {
  opacity: 0;
  animation: none;
}

.viewer-intro-overlay[hidden] {
  display: none !important;
}

.viewer-transition-overlay {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  place-items: stretch;
  overflow: hidden;
  background: transparent;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.14s ease-out;
  will-change: opacity;
}

.viewer-transition-overlay.is-active {
  opacity: 1;
}

.viewer-transition-overlay[hidden] {
  display: none !important;
}

.viewer-transition-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: var(--viewer-edge-vignette);
}

.viewer-transition-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: transparent;
}

@keyframes viewerTransitionLoaderSweep {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(280%);
  }
}

.loader-text {
  margin: 0;
  color: var(--color-text-inverse);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.48);
  font-size: calc(0.78rem * var(--font-scale));
  font-weight: 700;
  letter-spacing: 0.01em;
}

.loader-spinner {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: var(--color-border-inverse);
  animation: loaderSpin 0.84s linear infinite;
}

.loader-spinner-sm {
  width: 1.6rem;
  height: 1.6rem;
  border-width: 2px;
}

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

.viewer-stage.day-mode {
  background: linear-gradient(160deg, #edf4ff 0%, #e3ecf9 45%, #d9e4f3 100%);
}

.viewer-stage.night-mode {
  background: linear-gradient(160deg, #dde6f3 0%, #d1dceb 50%, #c6d2e2 100%);
}

.viewer-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 23%, rgba(255, 255, 255, 0.85) 0 70px, transparent 72px),
    linear-gradient(0deg, rgba(77, 130, 184, 0.14), rgba(77, 130, 184, 0)),
    repeating-linear-gradient(
      100deg,
      rgba(118, 146, 182, 0.12),
      rgba(118, 146, 182, 0.12) 2px,
      transparent 2px,
      transparent 60px
    );
}

.viewer-stage.has-media-frame::before {
  opacity: 0.14;
}

.viewer-stage.night-mode::before {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 237, 165, 0.2) 0 45px, transparent 48px),
    linear-gradient(0deg, rgba(70, 93, 122, 0.18), rgba(70, 93, 122, 0)),
    repeating-linear-gradient(
      100deg,
      rgba(122, 146, 176, 0.12),
      rgba(122, 146, 176, 0.12) 2px,
      transparent 2px,
      transparent 60px
    );
}

.viewer-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.viewer-stage.has-media-frame::after {
  opacity: 0.34;
}

.viewer-stage.season-spring::after {
  background: linear-gradient(180deg, rgba(170, 233, 191, 0.12), rgba(170, 233, 191, 0));
}

.viewer-stage.season-summer::after {
  background: linear-gradient(180deg, rgba(255, 206, 95, 0.12), rgba(255, 206, 95, 0));
}

.viewer-stage.season-winter::after {
  background: linear-gradient(180deg, rgba(170, 213, 255, 0.14), rgba(170, 213, 255, 0));
}

/* C03 compact uses; legacy mobile, DARK and utility dock keep their own paint. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) :is(.viewer-overlay, .viewer-nav-dock, .spin-compass) {
  --panel-glass-radius: var(--surface-glass-compact-radius);
  --panel-glass-border: var(--surface-glass-border);
  --panel-glass-background: var(--surface-glass-background);
  --panel-glass-shadow: var(--surface-glass-shadow);
  --panel-glass-blur: var(--surface-glass-blur);
}

.viewer-overlay {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 0.16rem;
  padding: 0.38rem 0.5rem;
  border-radius: var(--panel-glass-radius, 10px);
  border: var(--panel-glass-border, 1px solid var(--line));
  color: var(--on-color-dark);
  background: var(--panel-glass-background, var(--effect-glass-surface, rgba(255, 255, 255, 0.57)));
  box-shadow: var(--panel-glass-shadow, none);
  backdrop-filter: var(--panel-glass-blur, var(--effect-glass-blur, blur(14px) saturate(110%)));
  -webkit-backdrop-filter: var(--panel-glass-blur, var(--effect-glass-blur, blur(14px) saturate(110%)));
  width: fit-content;
  max-width: 100%;
}

.viewer-overlay[hidden] {
  display: none !important;
}

body[data-viewer-intro-state="loading"] .viewer-info-stack,
body[data-viewer-intro-state="loading"] .viewer-control-panel,
body[data-viewer-intro-state="loading"] #spinCompass,
body[data-viewer-intro-state="loading"] #hotspotLayer,
body[data-viewer-intro-state="loading"] #trackingOverlayCanvas,
body[data-viewer-intro-state="loading"] #trackingOverlaySvg,
body[data-viewer-intro-state="spinning"] .viewer-info-stack,
body[data-viewer-intro-state="spinning"] .viewer-control-panel,
body[data-viewer-intro-state="spinning"] #spinCompass,
body[data-viewer-intro-state="spinning"] #hotspotLayer,
body[data-viewer-intro-state="spinning"] #trackingOverlayCanvas,
body[data-viewer-intro-state="spinning"] #trackingOverlaySvg {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.viewer-stage.night-mode .viewer-overlay {
  color: var(--on-color-dark);
}

.spin-compass {
  --compass-step-px: 9px;
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: grid;
  justify-items: stretch;
  gap: 0.18rem;
  min-width: 206px;
  padding: 0.34rem 0.42rem 0.28rem;
  border: var(--panel-glass-border, 1px solid var(--effect-glass-line, rgba(178, 198, 224, 0.7)));
  border-radius: var(--panel-glass-radius, 12px);
  background: var(--panel-glass-background, var(--effect-glass-surface, rgba(255, 255, 255, 0.57)));
  box-shadow: var(--panel-glass-shadow, var(--effect-shadow-medium, 0 10px 28px rgba(10, 20, 35, 0.14)));
  backdrop-filter: var(--panel-glass-blur, var(--effect-glass-blur, blur(14px) saturate(110%)));
  -webkit-backdrop-filter: var(--panel-glass-blur, var(--effect-glass-blur, blur(14px) saturate(110%)));
  pointer-events: none;
}

.spin-compass[hidden] {
  display: none !important;
}

.spin-compass-track-wrap {
  position: relative;
  width: 100%;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(185, 205, 230, 0.74);
  background: rgba(244, 248, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 6px 18px rgba(5, 18, 32, 0.08);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 6%,
    rgba(0, 0, 0, 0.42) 12%,
    rgba(0, 0, 0, 0.78) 18%,
    #000000 26%,
    #000000 74%,
    rgba(0, 0, 0, 0.78) 82%,
    rgba(0, 0, 0, 0.42) 88%,
    rgba(0, 0, 0, 0.12) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 6%,
    rgba(0, 0, 0, 0.42) 12%,
    rgba(0, 0, 0, 0.78) 18%,
    #000000 26%,
    #000000 74%,
    rgba(0, 0, 0, 0.78) 82%,
    rgba(0, 0, 0, 0.42) 88%,
    rgba(0, 0, 0, 0.12) 94%,
    transparent 100%
  );
}

.spin-compass-track {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  will-change: transform;
  transition: none;
}

.spin-compass-cell {
  position: relative;
  flex: 0 0 var(--compass-step-px);
  width: var(--compass-step-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  font-size: calc(0.49rem * var(--font-scale));
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--scene-control-ink, rgba(41, 73, 105, 0.95));
  text-transform: uppercase;
  text-shadow: none;
}

.spin-compass-cell::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 1px;
  height: 9px;
  border-radius: 999px;
  background: rgba(36, 68, 101, 0.58);
  transform: translateX(-50%);
}

.spin-compass-cell.is-major::after {
  width: 0;
  height: 0;
  bottom: 2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 7px solid rgba(36, 68, 101, 0.9);
  background: transparent;
}

.spin-compass-cell.is-major {
  padding-bottom: 12px;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.spin-compass-cell.is-major.is-north::after {
  border-top-color: #c73232;
}

.spin-compass-cell.is-minor {
  color: transparent;
  font-size: 0;
}

.spin-compass-cell.is-minor::after {
  width: 1px;
  height: 6px;
  bottom: 4px;
  border-radius: 999px;
  background: rgba(36, 68, 101, 0.42);
}

.spin-compass-pointer {
  justify-self: center;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 12px solid var(--accent);
  margin-top: -2px;
  filter: drop-shadow(0 2px 4px rgba(5, 18, 32, 0.18));
}

.spin-compass-text {
  margin: 0;
  text-align: center;
  font-size: calc(0.52rem * var(--font-scale));
  line-height: 1;
  font-weight: 800;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  color: var(--accent);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: none;
}

body[data-theme-mode="DARK"] .spin-compass {
  border-color: rgba(78, 92, 111, 0.86);
  background: rgba(38, 38, 38, 0.74);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

body[data-theme-mode="DARK"] .spin-compass-track-wrap {
  border-color: rgba(85, 97, 115, 0.82);
  background: rgba(31, 31, 31, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.16);
}

body[data-theme-mode="DARK"] .spin-compass-cell {
  color: rgba(219, 231, 244, 0.94);
}

body[data-theme-mode="DARK"] .spin-compass-cell::after {
  background: rgba(219, 231, 244, 0.52);
}

body[data-theme-mode="DARK"] .spin-compass-cell.is-major::after {
  border-top-color: rgba(219, 231, 244, 0.92);
}

body[data-theme-mode="DARK"] .spin-compass-cell.is-major.is-north::after {
  border-top-color: #c73232;
}

body[data-theme-mode="DARK"] .spin-compass-cell.is-minor::after {
  background: rgba(219, 231, 244, 0.34);
}

.viewer-title {
  margin: 0;
  font-size: calc(var(--fs-body) * var(--font-scale) * 0.88);
  font-weight: 700;
  letter-spacing: -0.008em;
  line-height: 1.15;
  color: var(--ink);
}

:is(#selectedMeta, .viewer-overlay-meta) {
  margin: 0;
  font-size: calc(0.74rem * var(--font-scale));
  font-weight: 600;
  letter-spacing: -0.004em;
  line-height: 1.2;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: var(--color-text-inverse);
  padding: 0.08rem 0.28rem;
  border-radius: 8px;
  width: fit-content;
  max-width: 100%;
}

html[data-viewer-layout="desktop"] .viewer-info-stack #selectedMeta {
  background: none;
  color: var(--ink);
  padding: 0;
  border-radius: 0;
}

.viewer-control-panel {
  position: absolute;
  inset: 0;
  z-index: 6;
  --viewer-panel-gap: 0.34rem;
  pointer-events: none;
}

.viewer-nav-dock,
.viewer-utility-dock {
  position: absolute;
  pointer-events: auto;
  border-radius: var(--panel-glass-radius, 12px);
  border: var(--panel-glass-border, 1px solid var(--effect-glass-line, rgba(178, 198, 224, 0.7)));
  background: var(--panel-glass-background, var(--effect-glass-surface, rgba(255, 255, 255, 0.57)));
  box-shadow: var(--panel-glass-shadow, var(--effect-shadow-medium, 0 10px 28px rgba(10, 20, 35, 0.14)));
  backdrop-filter: var(--panel-glass-blur, var(--effect-glass-blur, blur(14px) saturate(110%)));
  -webkit-backdrop-filter: var(--panel-glass-blur, var(--effect-glass-blur, blur(14px) saturate(110%)));
}

.viewer-nav-dock {
  left: 50%;
  bottom: 0.72rem;
  transform: translateX(-50%);
  width: fit-content;
  max-width: calc(100% - 10rem);
  display: grid;
  gap: 0.18rem;
  padding: 0.22rem;
}

.viewer-utility-dock {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 0.38rem;
}

.viewer-utility-dock:not(:has(.icon-control-group:not([hidden]))) {
  display: none;
}

.viewer-powered-link {
  position: absolute;
  left: 1rem;
  bottom: 0.9rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-inverse);
  text-decoration: none;
  font-size: calc(0.94rem * var(--font-scale));
  font-weight: 700;
  letter-spacing: -0.002em;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(8, 20, 35, 0.72);
}

.viewer-powered-link:hover {
  color: var(--color-text-inverse);
  text-decoration: underline;
}

.viewer-corner-controls {
  display: grid;
  grid-auto-flow: row;
  align-items: stretch;
  gap: var(--viewer-panel-gap);
  width: auto;
}

.viewer-mode-panel-title {
  margin: 0;
  padding: 0 0.1rem;
  text-align: center;
  color: #2f547a;
  font-size: calc(0.54rem * var(--font-scale));
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
}

.icon-control-group {
  display: inline-flex;
  gap: 0.36rem;
  padding: 0.28rem;
  border-radius: 10px;
  border: 1px solid rgba(178, 198, 224, 0.85);
  background: rgba(255, 255, 255, 0.9);
}

.viewer-control-panel .icon-control-group {
  border: 0;
  background: transparent;
  padding: 0;
}

.viewer-nav-dock .viewer-mode-panel-title {
  color: var(--scene-control-ink, #2b4e75);
}

.icon-control-group.with-label {
  display: grid;
  gap: 0.24rem;
  padding: 0.34rem 0.34rem 0.3rem;
}

.viewer-control-panel .icon-control-group.with-label {
  min-width: 0;
  gap: 0.2rem;
  padding: 0;
}

.icon-control-buttons {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: var(--viewer-panel-gap);
  width: 100%;
}

.icon-control-label {
  margin: 0;
  text-align: center;
  color: var(--scene-control-ink, #365e8f);
  font-size: calc(0.68rem * var(--font-scale));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.icon-control-group.is-disabled {
  opacity: 0.48;
}

#timeModeGroup[hidden],
#seasonGroup[hidden],
#overlayViewerControl[hidden],
#infoViewerControl[hidden] {
  display: none !important;
}

.icon-toggle-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid var(--scene-control-line, #b9cde6);
  background: var(--scene-control-surface, #f4f8ff);
  color: var(--scene-control-ink, #294969);
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  line-height: var(--lh-solid);
  cursor: pointer;
}

.panel-icon-svg {
  width: 1rem;
  height: 1rem;
  display: block;
  margin: auto;
  fill: currentColor;
}

.overlay-toggle-icon {
  display: none;
}

.icon-toggle-btn[data-overlay-toggle="VISIBLE"] .overlay-toggle-icon-hide,
.icon-toggle-btn[data-overlay-toggle="HIDDEN"] .overlay-toggle-icon-show {
  display: block;
}

.viewer-control-panel .icon-toggle-btn {
  width: 100%;
  min-width: 0;
}

.viewer-utility-dock .icon-control-buttons {
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-auto-rows: minmax(0, auto);
  width: auto;
}

.viewer-utility-dock .icon-toggle-btn {
  width: 2.1rem;
  height: 2.1rem;
}

.viewer-nav-dock .viewer-view-group {
  display: inline-flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.22rem;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
}

.viewer-utility-dock .icon-control-group.with-label {
  gap: 0;
}

.viewer-info-control {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.viewer-info-button {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-text-inverse);
  cursor: pointer;
  pointer-events: auto;
}

.viewer-info-button .panel-icon-svg {
  width: 1.2rem;
  height: 1.2rem;
  filter: drop-shadow(0 1px 2px rgba(8, 20, 35, 0.72));
}

.viewer-info-button:hover {
  opacity: 0.8;
}

.viewer-info-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
  border-radius: 50%;
}

.viewer-utility-dock .icon-control-label {
  display: none;
}

.viewer-legal-popover {
  position: absolute;
  bottom: 3.6rem;
  right: 0.6rem;
  z-index: 20;
  width: min(15.5rem, calc(100vw - 2rem));
  max-width: calc(100% - 1.2rem);
  max-height: min(calc(100% - 4.2rem), 34rem);
  padding: 0.82rem 0.9rem 0.86rem;
  border: 1px solid var(--effect-glass-line, rgba(178, 198, 224, 0.62));
  border-radius: 12px;
  background: var(--effect-glass-popup, rgba(255, 255, 255, 0.74));
  color: #14273d;
  box-shadow: var(--effect-shadow-large, 0 18px 42px rgba(10, 20, 35, 0.2));
  backdrop-filter: var(--effect-glass-popup-blur, blur(38px) saturate(126%) brightness(1.1));
  -webkit-backdrop-filter: var(--effect-glass-popup-blur, blur(38px) saturate(126%) brightness(1.1));
  text-align: left;
  pointer-events: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.viewer-legal-popover[data-expanded="true"] {
  width: min(19rem, calc(100vw - 2rem));
}

.viewer-legal-popover[hidden] {
  display: none !important;
}

.viewer-legal-popover-title,
.viewer-legal-popover-summary,
.viewer-legal-popover p {
  margin: 0;
}

.viewer-legal-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.62rem;
}

.viewer-legal-popover-title {
  color: var(--accent);
  font-size: calc(0.78rem * var(--font-scale));
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex: 1 1 auto;
}

.viewer-legal-popover-summary {
  margin-top: 0.35rem;
  color: #476580;
  font-size: calc(0.7rem * var(--font-scale));
  font-weight: 700;
  line-height: 1.38;
}

.viewer-legal-popover-details {
  margin-top: 0.56rem;
  padding-top: 0.56rem;
  border-top: 1px solid rgba(178, 198, 224, 0.42);
}

.viewer-legal-popover-details[hidden] {
  display: none !important;
}

.viewer-legal-popover p:not(.viewer-legal-popover-title):not(.viewer-legal-popover-summary) {
  margin-top: 0.46rem;
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: 600;
  line-height: 1.35;
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
}

.viewer-legal-popover a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.viewer-legal-popover-expand {
  flex: 0 0 auto;
  width: 1.38rem;
  height: 1.38rem;
  border: 1px solid rgba(178, 198, 224, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.viewer-legal-popover-expand:hover {
  border-color: color-mix(in srgb, var(--accent-strong) 62%, transparent);
  background: rgba(255, 255, 255, 0.46);
}

.viewer-legal-popover-expand svg {
  width: 0.76rem;
  height: 0.76rem;
  display: block;
  transform: rotate(0deg);
  transition: transform 0.18s ease;
}

.viewer-legal-popover[data-expanded="true"] .viewer-legal-popover-expand svg {
  transform: rotate(180deg);
}

.icon-toggle-btn.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--color-text-inverse);
  box-shadow: none;
}

.icon-toggle-btn:disabled {
  cursor: not-allowed;
}

.icon-toggle-btn.is-locked {
  opacity: 0.48;
}

.hotspot-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hotspot-layer [hidden] {
  display: none !important;
}

body.is-apartment3d-modal-open .viewer-frame-image,
body.is-apartment3d-modal-open .viewer-frame-canvas,
body.is-apartment3d-modal-open .viewer-runtime-gradient-overlay,
body.is-apartment3d-modal-open .tracking-overlay-canvas,
body.is-apartment3d-modal-open .tracking-overlay-svg,
body.is-apartment3d-modal-open .hotspot-layer,
body.is-apartment3d-modal-open .viewer-overlay,
body.is-apartment3d-modal-open .viewer-loading,
body.is-apartment3d-modal-open .spin-compass {
  display: none !important;
}

body.is-apartment3d-modal-open .viewer-stage::before,
body.is-apartment3d-modal-open .viewer-stage::after {
  opacity: 0 !important;
}

.hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid var(--color-border-inverse);
  border-radius: 999px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
  pointer-events: auto;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    width 0.14s ease,
    height 0.14s ease;
}

.hotspot.kind-vr {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  transform: translate(-50%, -100%);
  width: 2.32rem;
  height: 2.32rem;
  box-shadow: none;
}

.hotspot.kind-info-feature {
  display: none;
}

.hotspot.kind-info-feature::after {
  content: none;
}

.hotspot.kind-info-feature.is-active,
.hotspot.kind-info-feature.is-interactive-selected {
  display: none;
}

.hotspot.kind-info-feature.is-active::after,
.hotspot.kind-info-feature.is-interactive-selected::after {
  content: none;
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  border: 1px dashed currentColor;
  opacity: 0.5;
}

.hotspot.kind-vr::before {
  content: none;
}

.hotspot.kind-vr::after {
  content: none;
}

.hotspot.kind-vr.is-active::before,
.hotspot.kind-vr.is-interactive-selected::before {
  content: none;
}

.hotspot.kind-vr.is-active::after,
.hotspot.kind-vr.is-interactive-selected::after {
  content: none;
}

.hotspot.kind-vr .vr360-symbol {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: currentColor;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.2),
    0 10px 24px rgba(3, 14, 26, 0.28);
  pointer-events: none;
  z-index: 1;
}

.hotspot.kind-vr .vr360-svg {
  width: 78%;
  height: 78%;
  display: block;
  filter: none;
  color: var(--color-text-inverse);
  fill: none;
  overflow: visible;
  stroke: currentColor;
  stroke-miterlimit: 10;
  stroke-width: 1.95;
}

.hotspot.kind-vr .vr360-line {
  fill: none;
  stroke: currentColor;
}

.hotspot.kind-vr .vr360-badge {
  display: none;
}

.hotspot:not(.kind-vr):not(.kind-info-feature):not(.is-active):not(.is-interactive-selected) {
  width: 0.9rem;
  min-width: 0.9rem;
  max-width: 0.9rem;
  height: 0.9rem;
  min-height: 0.9rem;
  max-height: 0.9rem;
  aspect-ratio: 1 / 1;
  border-radius: 999px !important;
  box-sizing: border-box;
  border-width: 1.6px;
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hotspot:not(.kind-vr):not(.kind-info-feature):not(.is-active):not(.is-interactive-selected)::after {
  content: none;
}

.hotspot.status-available {
  color: var(--available);
  background: var(--available);
}

.hotspot.status-reserved {
  color: var(--reserved);
  background: var(--reserved);
}

.hotspot.status-sold {
  color: var(--sold);
  background: var(--sold);
}

.hotspot.status-location {
  color: #f7f9f9;
  background: #f7f9f9;
}

.hotspot.status-building {
  color: var(--accent);
  background: var(--accent);
}

.hotspot.kind-info-feature.status-building {
  color: rgba(255, 255, 255, 0.98);
  background: rgba(255, 255, 255, 0.98);
}

.hotspot.status-vr360 {
  color: var(--vr360);
  background: var(--vr360);
}

.hotspot.kind-vr.status-vr360 {
  color: var(--vr360);
  background: transparent;
}

.hotspot.is-active:not(.kind-info-feature):not(.kind-vr) {
  width: 1.15rem;
  height: 1.15rem;
}

.hotspot.status-location.is-active {
  width: 1.24rem;
  height: 1.24rem;
  color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent);
}

.hotspot.status-building.is-active {
  width: 1.24rem;
  height: 1.24rem;
  color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 28%, transparent);
}

.hotspot.kind-vr.is-active {
  width: 2.56rem;
  height: 2.56rem;
}

.hotspot.kind-vr.is-interactive-selected {
  width: 2.56rem;
  height: 2.56rem;
  box-shadow: none;
}

@keyframes vrHotspotFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-3px);
  }
  70% {
    transform: translateY(2px);
  }
}

.hotspot.kind-vr .vr360-float {
  animation: none;
  transform-origin: 50% 50%;
}

@media (prefers-reduced-motion: reduce) {
  .hotspot.kind-vr .vr360-float {
    animation: none;
  }
}

.hotspot.is-interactive-selected:not(.kind-info-feature):not(.kind-vr) {
  z-index: 4;
  width: 1.34rem;
  height: 1.34rem;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.78),
    0 0 0 8px rgba(255, 255, 255, 0.22);
}

.hotspot.is-interactive-selected:not(.kind-info-feature):not(.kind-vr)::after {
  inset: -12px;
  border: 2px solid currentColor;
  border-style: solid;
  opacity: 0.92;
  animation: hotspotPulse 1.35s ease-in-out infinite;
}

.hotspot.is-pink-active:not(.kind-info-feature):not(.kind-vr) {
  z-index: 4;
  width: 1.24rem;
  height: 1.24rem;
  color: var(--feature-pink);
  background: var(--feature-pink);
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--feature-pink) 22%, transparent);
}

.hotspot.is-pink-active:not(.kind-info-feature):not(.kind-vr)::after {
  content: none;
}

.location-hotspot-link {
  position: absolute;
  z-index: 6;
  --hotspot-label-lift: 30px;
  --hotspot-stem-length: 24px;
  --hotspot-side-gap: 20px;
  --hotspot-side-stem-clearance: 6px;
  --hotspot-bottom-gap: 16px;
  --hotspot-status-color: var(--accent);
  transform: translate(-50%, calc(-100% - var(--hotspot-label-lift)));
  transform-origin: 50% 100%;
  border: 0 solid transparent;
  background: rgba(246, 250, 255, 0.96);
  color: var(--ui-color-ink, #111821);
  border-radius: 12px;
  padding: 0.44rem 0.56rem 0.46rem;
  display: grid;
  gap: 0.14rem;
  justify-items: start;
  text-align: left;
  font-family: inherit;
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  cursor: pointer;
  pointer-events: auto;
  min-width: 8.8rem;
  max-width: min(56vw, 19rem);
  white-space: normal;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.12s ease;
}

.location-hotspot-link.is-investment {
  z-index: 9;
}

.location-hotspot-link.is-info-feature {
  --hotspot-status-color: #70798b;
  --hotspot-side-gap: 18px;
  --hotspot-bottom-gap: 14px;
  --info-feature-offset-x: 10px;
  --info-feature-offset-y: calc(-100% - 0.7rem);
  --info-feature-fill: var(--feature-pink);
  --info-feature-tail-height: 1.26rem;
  min-width: 0;
  max-width: min(24vw, 17rem);
  min-height: 0;
  padding: 0.28rem 0.82rem 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
  position: relative;
  isolation: isolate;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: none;
}

.location-hotspot-link.is-info-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 calc(-1 * var(--info-feature-tail-height)) 0;
  z-index: -1;
  background: var(--info-feature-fill);
  -webkit-mask: no-repeat center / 100% 100% var(--scene-label-mask);
  mask: no-repeat center / 100% 100% var(--scene-label-mask);
  filter: drop-shadow(0 8px 18px rgba(9, 17, 28, 0.14));
}

.info-feature-anchor-line {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0;
  width: 0;
  height: 1.4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  transform-origin: 0 50%;
  pointer-events: none;
}

.location-hotspot-link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  width: 1.2px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  opacity: 1;
  box-shadow: none;
  pointer-events: none;
}

.location-hotspot-link.is-info-feature::after {
  content: none;
}

.hotspot-layer.is-layouting .location-hotspot-link {
  transition: none !important;
}

.location-hotspot-link.mobile-label-pos-top {
  transform: translate(-50%, calc(-100% - var(--hotspot-label-lift)));
}

.location-hotspot-link.mobile-label-pos-top::after {
  left: 50%;
  right: auto;
  top: 100%;
  bottom: auto;
  transform: translateX(-50%);
  width: 1px;
  height: var(--hotspot-stem-length);
}

.location-hotspot-link.mobile-label-pos-right {
  transform: translate(var(--hotspot-side-gap), -50%);
}

.location-hotspot-link.mobile-label-pos-right::after {
  content: none;
}

.location-hotspot-link.mobile-label-pos-left {
  transform: translate(calc(-100% - var(--hotspot-side-gap)), -50%);
}

.location-hotspot-link.mobile-label-pos-left::after {
  content: none;
}

.location-hotspot-link.is-info-feature.mobile-label-pos-right::after {
  content: none;
}

.location-hotspot-link.is-info-feature.mobile-label-pos-right::before {
  content: "";
}

.location-hotspot-link.is-info-feature.mobile-label-pos-left::after {
  content: none;
}

.location-hotspot-link.is-info-feature.mobile-label-pos-left::before {
  content: "";
}

.location-hotspot-link.is-info-feature.mobile-label-pos-left::before {
  -webkit-mask: no-repeat center / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 90' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M4 0H96Q100 0 100 4V90L86 47H4Q0 47 0 43V4Q0 0 4 0Z'/%3E%3C/svg%3E");
  mask: no-repeat center / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 90' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M4 0H96Q100 0 100 4V90L86 47H4Q0 47 0 43V4Q0 0 4 0Z'/%3E%3C/svg%3E");
}

.pzt-feature-label {
  all: unset;
  position: absolute;
  z-index: 5;
  --desktop-info-pointer-size: 0.78rem;
  --desktop-info-radius: 12px;
  transform: translate(-50%, calc(-100% - var(--desktop-info-pointer-size)));
  transform-origin: 50% 100%;
  min-width: 0;
  max-width: min(12.8rem, 18vw);
  min-height: 1.82rem;
  padding: 0.24rem 0.6rem 0.28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--on-selection);
  cursor: pointer;
  pointer-events: auto;
  isolation: isolate;
  background: var(--feature-pink);
  border-radius: var(--desktop-info-radius);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--effect-color-pink, rgb(118, 20, 44)) 22%, transparent);
}

.pzt-feature-label::before {
  content: none;
  display: none;
}

.pzt-feature-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-1 * var(--desktop-info-pointer-size) * 0.52);
  width: var(--desktop-info-pointer-size);
  height: var(--desktop-info-pointer-size);
  z-index: -1;
  background: var(--feature-pink);
  border-radius: 0;
  transform: translateX(-50%) rotate(45deg);
}

.pzt-feature-label-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0;
  font-family: var(--font-ui);
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--on-selection);
  text-align: center;
  white-space: normal;
}

.pzt-feature-label-icon {
  display: none;
}

.pzt-feature-label-icon-img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pzt-feature-label-icon-svg {
  display: none;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: currentColor;
  stroke: currentColor;
}

.pzt-feature-label.is-active,
.pzt-feature-label.is-interactive-selected {
  z-index: 10;
  background: var(--feature-pink);
  box-shadow: 0 12px 24px color-mix(in srgb, var(--effect-color-pink, rgb(118, 20, 44)) 28%, transparent);
}

.pzt-feature-label.is-active::after,
.pzt-feature-label.is-interactive-selected::after {
  background: var(--feature-pink);
}

.pzt-feature-label.is-active .pzt-feature-label-title,
.pzt-feature-label.is-interactive-selected .pzt-feature-label-title {
  font-size: calc(0.84rem * var(--font-scale));
  font-weight: 900;
}

.pzt-feature-label.is-building-compact-info {
  max-width: min(11.5rem, 18vw);
}

.pzt-feature-label.is-building-compact-info .pzt-feature-label-icon-svg {
  display: block;
  width: 1.22rem;
  height: 1.22rem;
  color: var(--color-text-inverse);
}

.pzt-feature-label.is-building-compact-info:not(.is-active):not(.is-interactive-selected) {
  width: 1.9rem;
  min-width: 1.9rem;
  max-width: 1.9rem;
  min-height: 1.9rem;
  max-height: 1.9rem;
  padding: 0;
  box-shadow: 0 4px 10px color-mix(in srgb, var(--effect-color-pink, rgb(118, 20, 44)) 14%, transparent);
}

.pzt-feature-label.is-building-compact-info:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: var(--desktop-info-radius);
  background: transparent;
  color: var(--color-text-inverse);
  font-family: var(--font-ui);
  font-size: calc(0.82rem * var(--font-scale));
  font-weight: 600;
  line-height: 1;
}

.pzt-feature-label.is-building-compact-info:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-title {
  display: none;
}

.pzt-feature-label.is-building-compact-info.is-active .pzt-feature-label-icon,
.pzt-feature-label.is-building-compact-info.is-interactive-selected .pzt-feature-label-icon {
  display: none;
}

.pzt-feature-label.is-building-compact-info.is-active .pzt-feature-label-title,
.pzt-feature-label.is-building-compact-info.is-interactive-selected .pzt-feature-label-title {
  display: flex;
}

@media (width < 1000px), (orientation: portrait) {
  .pzt-feature-label.is-mobile-compact-info {
    --mobile-info-badge-size: 1.9rem;
    --mobile-info-pointer-size: 0.78rem;
    --mobile-info-radius: 12px;
    transform: translate(-50%, calc(-100% - var(--mobile-info-pointer-size)));
    transform-origin: 50% 100%;
    min-height: var(--mobile-info-badge-size);
    max-width: min(11.5rem, 62vw);
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #e64c5a;
    border-radius: var(--mobile-info-radius);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--effect-color-pink, rgb(118, 20, 44)) 22%, transparent);
  }

  .pzt-feature-label.is-mobile-compact-info::before {
    content: none;
    display: none;
  }

  .pzt-feature-label.is-mobile-compact-info::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(-1 * var(--mobile-info-pointer-size) * 0.52);
    width: var(--mobile-info-pointer-size);
    height: var(--mobile-info-pointer-size);
    background: #e64c5a;
    border-radius: 0;
    transform: translateX(-50%) rotate(45deg);
    z-index: -1;
  }

  .pzt-feature-label.is-mobile-compact-info .pzt-feature-label-title {
    width: auto;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.12;
  }

  .pzt-feature-label.is-mobile-compact-info.is-active::after,
  .pzt-feature-label.is-mobile-compact-info.is-interactive-selected::after {
    display: block;
    background: var(--feature-pink);
  }

  .pzt-feature-label.is-mobile-compact-info.is-active,
  .pzt-feature-label.is-mobile-compact-info.is-interactive-selected {
    width: auto;
    min-width: 0;
    max-width: min(56vw, 19rem);
    min-height: var(--mobile-info-badge-size);
    padding: 0.36rem 0.5rem 0.38rem;
    display: inline-flex;
    text-align: center;
    background: var(--feature-pink);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--effect-color-pink, rgb(118, 20, 44)) 28%, transparent);
  }

  .pzt-feature-label.is-mobile-compact-info:not(.is-active):not(.is-interactive-selected) {
    width: var(--mobile-info-badge-size);
    min-width: var(--mobile-info-badge-size);
    max-width: var(--mobile-info-badge-size);
    min-height: var(--mobile-info-badge-size);
    max-height: var(--mobile-info-badge-size);
    padding: 0;
    box-shadow: 0 4px 10px color-mix(in srgb, var(--effect-color-pink, rgb(118, 20, 44)) 14%, transparent);
  }

  .pzt-feature-label.is-mobile-compact-info:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 100%;
    border-radius: var(--mobile-info-radius);
    background: transparent;
    color: var(--color-text-inverse);
    font-family: var(--font-ui);
    font-size: calc(0.82rem * var(--font-scale));
    font-weight: 600;
    line-height: 1;
  }

  .pzt-feature-label.is-mobile-compact-info:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon-svg {
    display: block;
    width: 1.18rem;
    height: 1.18rem;
    color: var(--color-text-inverse);
  }

  .pzt-feature-label.is-mobile-compact-info[data-mobile-feature-icon="hamaki"]:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon {
    color: transparent;
    font-size: 0;
  }

  .pzt-feature-label.is-mobile-compact-info[data-mobile-feature-icon="hamaki"]:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon-svg {
    display: block;
    width: 1.34rem;
    height: 1.34rem;
    color: var(--color-text-inverse);
  }

  .pzt-feature-label.is-mobile-compact-info[data-mobile-feature-icon="stojaki_rowerowe"]:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon {
    color: transparent;
    font-size: 0;
  }

  .pzt-feature-label.is-mobile-compact-info[data-mobile-feature-icon="stojaki_rowerowe"]:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon-svg {
    display: block;
    width: 1.2rem;
    height: 1.2rem;
    color: var(--color-text-inverse);
  }

  .pzt-feature-label.is-mobile-compact-info[data-mobile-feature-icon="przystanek_autobuowy"]:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon {
    color: transparent;
    font-size: 0;
  }

  .pzt-feature-label.is-mobile-compact-info[data-mobile-feature-icon="przystanek_autobuowy"]:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon-svg {
    display: block;
    width: 1.34rem;
    height: 1.34rem;
    color: var(--color-text-inverse);
    transform: translateY(0.03rem);
  }

  .pzt-feature-label.is-mobile-compact-info:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-title {
    display: none;
  }

  .pzt-feature-label.is-mobile-compact-info.is-active .pzt-feature-label-icon,
  .pzt-feature-label.is-mobile-compact-info.is-interactive-selected .pzt-feature-label-icon {
    display: none;
  }

  .pzt-feature-label.is-mobile-compact-info.is-active .pzt-feature-label-title,
  .pzt-feature-label.is-mobile-compact-info.is-interactive-selected .pzt-feature-label-title {
    display: flex;
    white-space: normal;
  }
}

.location-hotspot-link.mobile-label-pos-bottom {
  transform: translate(-50%, var(--hotspot-bottom-gap));
}

.location-hotspot-link.mobile-label-pos-bottom::after {
  left: 50%;
  right: auto;
  top: auto;
  bottom: 100%;
  transform: translateX(-50%);
  width: 1px;
  height: var(--hotspot-bottom-gap);
}

.location-hotspot-title {
  display: block;
  font-family: var(--font-ui);
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: 600;
  line-height: 1.18;
  color: var(--ui-color-ink, #121a27);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-hotspot-link.is-info-feature .location-hotspot-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: 800;
  line-height: 1;
  color: var(--color-text-inverse);
  text-shadow: none;
  text-align: center;
  transform: none;
}

.location-hotspot-distance {
  display: block;
  font-family: var(--font-ui);
  font-size: calc(0.68rem * var(--font-scale));
  font-weight: 600;
  line-height: 1.15;
  opacity: 1;
}

.location-hotspot-status-band {
  text-transform: uppercase;
}

.location-hotspot-link.is-active .location-hotspot-title,
.location-hotspot-link.is-interactive-selected .location-hotspot-title {
  font-family: var(--font-ui);
  font-weight: 600;
}

.location-hotspot-link.is-active .location-hotspot-distance,
.location-hotspot-link.is-interactive-selected .location-hotspot-distance {
  font-family: var(--font-ui);
  font-weight: 600;
}

.location-hotspot-meta {
  display: block;
  font-size: calc(0.66rem * var(--font-scale));
  font-weight: 700;
  line-height: 1.15;
  color: var(--ui-color-ink, #1c2638);
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-hotspot-link.is-info-feature .location-hotspot-meta {
  font-size: calc(0.61rem * var(--font-scale));
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.location-hotspot-link.is-info-feature:not(.is-active):not(.is-interactive-selected) .location-hotspot-meta,
.location-hotspot-link.is-info-feature .location-hotspot-status-band {
  display: none;
}

.location-hotspot-link.status-location {
  --hotspot-status-color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 54%, transparent);
}

.location-hotspot-link.status-building {
  --hotspot-status-color: var(--accent);
  border-color: rgba(47, 76, 121, 0.95);
}

.location-hotspot-link.status-vr360 {
  --hotspot-status-color: var(--accent);
  border-color: rgba(47, 76, 121, 0.95);
}

.location-hotspot-link.status-available {
  --hotspot-status-color: var(--available);
  border-color: var(--ui-color-available, rgba(46, 179, 126, 0.95));
}

.location-hotspot-link.status-reserved {
  --hotspot-status-color: var(--reserved);
  border-color: var(--ui-color-reserved, rgba(212, 153, 21, 0.95));
}

.location-hotspot-link.status-sold {
  --hotspot-status-color: var(--sold);
  border-color: var(--ui-color-sold, rgba(220, 87, 87, 0.95));
}

.location-hotspot-link.status-available .location-hotspot-distance {
  color: var(--ui-color-available, #2e8f66);
}

.location-hotspot-link.status-reserved .location-hotspot-distance {
  color: var(--ui-color-reserved, #9a7112);
}

.location-hotspot-link.status-sold .location-hotspot-distance {
  color: var(--ui-color-sold, #b03838);
}

.location-hotspot-link.status-building .location-hotspot-distance,
.location-hotspot-link.status-vr360 .location-hotspot-distance {
  color: var(--ui-color-ink, #2f4c79);
}

.location-hotspot-link.status-location .location-hotspot-distance {
  color: var(--accent);
}

.location-hotspot-link.is-interactive-label.status-building,
.location-hotspot-link.is-interactive-label.status-vr360,
.location-hotspot-link.is-interactive-label.status-available,
.location-hotspot-link.is-interactive-label.status-reserved,
.location-hotspot-link.is-interactive-label.status-sold {
  background: rgba(246, 250, 255, 0.96);
  color: var(--ui-color-ink, #111821);
}

.location-hotspot-link.is-interactive-label.is-info-feature.status-building {
  background: transparent;
  color: var(--color-text-inverse);
}

.location-hotspot-link.is-interactive-label.status-building.is-active,
.location-hotspot-link.is-interactive-label.status-building.is-interactive-selected {
  border-color: rgba(47, 76, 121, 0.95);
}

.location-hotspot-link.is-interactive-label.status-vr360.is-active,
.location-hotspot-link.is-interactive-label.status-vr360.is-interactive-selected {
  border-color: rgba(47, 76, 121, 0.95);
}

.location-hotspot-link.is-interactive-label.status-available.is-active,
.location-hotspot-link.is-interactive-label.status-available.is-interactive-selected {
  border-color: rgba(46, 179, 126, 0.95);
}

.location-hotspot-link.is-interactive-label.status-reserved.is-active,
.location-hotspot-link.is-interactive-label.status-reserved.is-interactive-selected {
  border-color: rgba(212, 153, 21, 0.95);
}

.location-hotspot-link.is-interactive-label.status-sold.is-active,
.location-hotspot-link.is-interactive-label.status-sold.is-interactive-selected {
  border-color: rgba(220, 87, 87, 0.95);
}

.location-hotspot-link.is-interactive-label.is-active:not(.is-info-feature) {
  box-shadow: none;
}

.location-hotspot-link.is-active:not(.is-info-feature)::after {
  height: 22px;
}

.location-hotspot-link.is-interactive-label.is-interactive-selected:not(.is-info-feature) {
  z-index: 8;
  transform: translate(-50%, calc(-100% - var(--hotspot-label-lift)));
  border-width: 0;
  box-shadow: none;
  filter: none;
}

.location-hotspot-link.is-info-feature.is-active,
.location-hotspot-link.is-info-feature.is-interactive-selected {
  justify-items: start;
  text-align: left;
  --info-feature-fill: var(--info-feature-fill-active);
  background: transparent;
  box-shadow: none;
}

.location-hotspot-link.is-info-feature.is-active::before,
.location-hotspot-link.is-info-feature.is-interactive-selected::before {
  background: var(--info-feature-fill);
  filter: drop-shadow(0 10px 22px rgba(5, 16, 29, 0.18));
}

.location-hotspot-link.is-info-feature.mobile-label-pos-top.is-active,
.location-hotspot-link.is-info-feature.mobile-label-pos-top.is-interactive-selected {
  transform: translate(-50%, calc(-100% - var(--hotspot-label-lift)));
}

.location-hotspot-link.is-info-feature.mobile-label-pos-right.is-active,
.location-hotspot-link.is-info-feature.mobile-label-pos-right.is-interactive-selected {
  transform: translate(var(--info-feature-offset-x), var(--info-feature-offset-y));
}

.location-hotspot-link.is-info-feature.mobile-label-pos-left.is-active,
.location-hotspot-link.is-info-feature.mobile-label-pos-left.is-interactive-selected {
  transform: translate(var(--info-feature-offset-x), var(--info-feature-offset-y));
}

.location-hotspot-link.is-info-feature.mobile-label-pos-right {
  transform: translate(var(--info-feature-offset-x), var(--info-feature-offset-y));
}

.location-hotspot-link.is-info-feature.mobile-label-pos-left {
  transform: translate(var(--info-feature-offset-x), var(--info-feature-offset-y));
}


.location-hotspot-link.is-info-feature.mobile-label-pos-bottom.is-active,
.location-hotspot-link.is-info-feature.mobile-label-pos-bottom.is-interactive-selected {
  transform: translate(-50%, var(--hotspot-bottom-gap));
}

.location-hotspot-link.is-interactive-label.is-interactive-selected:not(.is-info-feature)::after {
  height: 22px;
}

.location-hotspot-link.is-active:not(.is-info-feature) {
  border-width: 0;
  box-shadow: none;
  justify-items: center;
  text-align: center;
}

.location-hotspot-link.is-interactive-selected:not(.is-info-feature) {
  justify-items: center;
  text-align: center;
}

.location-hotspot-link.is-hover-preview {
  z-index: 7;
  --hotspot-label-lift: 12px;
  min-width: 0;
  width: fit-content;
  max-width: min(34vw, 17rem);
  padding: 0.34rem 0.48rem 0.38rem;
  border: 1px solid rgba(179, 193, 210, 0.58);
  background: rgba(248, 251, 255, 0.96);
  box-shadow: var(--effect-shadow-medium, 0 10px 22px rgba(11, 24, 39, 0.14));
  justify-items: center;
  text-align: center;
  pointer-events: none;
}

.location-hotspot-link.is-hover-preview::after {
  content: none;
}

.location-hotspot-link.is-hover-preview .location-hotspot-title {
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: 800;
  line-height: 1.12;
  color: var(--ui-color-ink, #151d29);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.location-hotspot-link.is-hover-preview .location-hotspot-meta {
  display: block;
  font-size: calc(0.62rem * var(--font-scale));
  font-weight: 700;
  line-height: 1.14;
  color: var(--ui-color-muted, #445064);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.location-hotspot-link.is-hover-preview .location-hotspot-status-band {
  display: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-link.is-hover-preview.is-apartment-hover-preview {
  border: 0;
  background: var(--hotspot-status-color);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-link.is-hover-preview.is-apartment-hover-preview :is(.location-hotspot-title, .location-hotspot-meta, .apartment-hover-status) {
  color: var(--color-text-inverse) !important;
  font-weight: var(--fw-bold) !important;
}

.location-hotspot-link.is-apartment-hover-preview .apartment-hover-status {
  margin-top: 0.12rem;
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  line-height: var(--lh-compact);
}

.location-hotspot-link.is-active:not(.is-info-feature)::after,
.location-hotspot-link.is-interactive-selected:not(.is-info-feature)::after {
  background: var(--hotspot-status-color);
}

.location-hotspot-link.is-active .location-hotspot-status-band,
.location-hotspot-link.is-interactive-selected .location-hotspot-status-band {
  display: block;
  justify-self: stretch;
  width: calc(100% + 1.12rem);
  box-sizing: border-box;
  margin: 0.22rem -0.56rem -0.46rem;
  padding: 0.24rem 0.56rem 0.22rem;
  background: var(--hotspot-status-color);
  color: var(--color-text-inverse);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  text-align: center;
  letter-spacing: 0.04em;
  line-height: 1;
  border-radius: 0 0 12px 12px;
  font-family: var(--font-ui);
  font-weight: 600;
}

.location-hotspot-link.is-building-summary {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 11.8rem;
  max-width: min(22rem, 28vw);
  padding: 0;
  gap: 0;
  overflow: visible;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ui-color-ink, #13263d);
  text-align: center;
  box-shadow: var(--effect-shadow-medium, 0 14px 28px rgba(12, 23, 38, 0.14));
}

.location-hotspot-link.is-building-summary::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  width: 1.2px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 1;
  box-shadow: none;
  pointer-events: none;
}

.location-hotspot-link.is-building-summary.is-svg-building-label::after {
  content: none;
  display: none;
}

.location-hotspot-header-band {
  display: block;
  order: 3;
  width: 100%;
  box-sizing: border-box;
  padding: 0.26rem 0.72rem 0.24rem;
  background: var(--accent);
  color: var(--color-text-inverse);
  text-align: center;
  font-size: calc(0.62rem * var(--font-scale));
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1.05;
  text-transform: uppercase;
  border-radius: 0 0 12px 12px;
}

.location-hotspot-link.is-building-summary .location-hotspot-title {
  display: block;
  order: 1;
  padding: 0.48rem 0.82rem 0 0.82rem;
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: 900;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  line-height: 1.18;
  color: var(--ui-color-ink, #102236);
  text-align: center;
}

.location-hotspot-link.is-building-summary .location-hotspot-meta {
  display: block;
  padding: 0.18rem 0.82rem 0.5rem 0.82rem;
  font-size: calc(0.62rem * var(--font-scale));
  font-weight: 800;
  line-height: 1.2;
  color: var(--ui-color-muted, #4a607c);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  text-align: center;
}

.location-hotspot-building-stats {
  display: grid;
  order: 2;
  gap: 0.08rem;
  padding: 0.18rem 0.82rem 0.42rem 0.82rem;
}

.location-hotspot-building-stats-row {
  display: block;
  font-size: calc(0.66rem * var(--font-scale));
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.15;
  color: var(--ui-color-muted, #4a607c);
  white-space: nowrap;
  text-align: center;
}

.location-hotspot-link.is-mobile-label-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Applied only to the selected apartment label by the mobile layout adapter. */
.hotspot-layer .location-hotspot-link.is-interactive-selected.is-mobile-apartment-positioned {
  transform: translate(var(--apartment-label-x), var(--apartment-label-y)) !important;
  transition: none;
}

.hotspot-layer .location-hotspot-link.is-interactive-selected.is-mobile-apartment-positioned::after {
  content: "";
  left: var(--apartment-stem-x);
  top: var(--apartment-stem-y);
  right: auto;
  bottom: auto;
  width: var(--apartment-stem-length);
  height: 1.2px;
  transform: rotate(var(--apartment-stem-angle));
  transform-origin: 0 50%;
  pointer-events: none;
}

@media (min-width: 1000px) and (orientation: landscape) {
  .location-hotspot-link.is-building-summary {
    min-width: 11rem;
    max-width: min(16vw, 13.1rem);
    border-radius: 12px;
  }

  .location-hotspot-link.is-building-summary .location-hotspot-header-band {
    padding: 0.42rem 0.78rem 0.38rem;
    font-size: calc(0.6rem * var(--font-scale));
    letter-spacing: 0.035em;
    border-radius: 0 0 12px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .location-hotspot-link.is-building-summary .location-hotspot-title {
    padding: 0.72rem 0.78rem 0.64rem;
    font-size: calc(0.82rem * var(--font-scale));
    line-height: 1.1;
  }

  .location-hotspot-link.is-building-summary:not(.is-active):not(.is-interactive-selected) .location-hotspot-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .location-hotspot-link.is-building-summary.is-active,
  .location-hotspot-link.is-building-summary.is-interactive-selected {
    min-width: 9.4rem;
    max-width: min(13.6vw, 10.9rem);
  }

  .location-hotspot-link.is-building-summary.is-active .location-hotspot-title,
  .location-hotspot-link.is-building-summary.is-interactive-selected .location-hotspot-title {
    padding-left: 0.62rem;
    padding-right: 0.62rem;
    padding-bottom: 0.22rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .location-hotspot-link.is-building-summary.is-active .location-hotspot-building-stats,
  .location-hotspot-link.is-building-summary.is-interactive-selected .location-hotspot-building-stats {
    gap: 0.06rem;
    padding: 0.02rem 0.62rem 0.42rem;
  }

  .location-hotspot-link.is-building-summary.is-active .location-hotspot-building-stats-row,
  .location-hotspot-link.is-building-summary.is-interactive-selected .location-hotspot-building-stats-row {
    font-size: calc(0.62rem * var(--font-scale));
    line-height: 1.12;
    white-space: normal;
  }

  .location-hotspot-link.is-interactive-label:not(.is-active):not(.is-interactive-selected) {
    width: fit-content;
    min-width: 0;
    max-width: min(30vw, 240px);
  }

  .location-hotspot-link.is-interactive-label:not(.is-active):not(.is-interactive-selected) .location-hotspot-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}

@keyframes hotspotPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.94;
  }
  60% {
    transform: scale(1.05);
    opacity: 0.52;
  }
  100% {
    transform: scale(1.14);
    opacity: 0.08;
  }
}


.viewer-view-group {
  --viewer-view-mode-count: 4;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: var(--viewer-panel-gap);
  padding: 0;
  border-top: 0;
  min-width: 132px;
}

.viewer-control-panel .viewer-view-group {
  position: relative;
  border: 0;
  border-radius: 12px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  overflow: hidden;
}

.viewer-control-panel .viewer-view-group::before {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.viewer-control-panel .viewer-view-group > * {
  position: relative;
  z-index: 1;
}

@media (width < 1000px), (orientation: portrait) {
  body.mobile-building-shell {
    height: var(--mobile-app-height, 100dvh);
    overflow: hidden;
  }

  .viewer-control-panel .viewer-view-group > * {
    width: 100% !important;
    min-width: 0 !important;
  }
}

.view-mode-btn {
  min-height: 1.72rem;
  min-width: max-content;
  width: auto;
  border-radius: 8px;
  border: 1px solid var(--effect-glass-line, rgba(185, 205, 230, 0.72));
  background: var(--effect-glass-surface, rgba(244, 248, 255, 0.38));
  box-shadow: none;
  color: var(--scene-control-ink, #244465);
  padding: 0.28rem 0.48rem;
  text-align: center;
  cursor: pointer;
  backdrop-filter: var(--effect-glass-blur, blur(8px) saturate(112%));
  -webkit-backdrop-filter: var(--effect-glass-blur, blur(8px) saturate(112%));
}

.view-mode-btn[hidden] {
  display: none !important;
}

.view-mode-btn:hover {
  background: rgba(244, 248, 255, 0.46);
  border-color: rgba(185, 205, 230, 0.82);
}

.view-mode-btn-line {
  display: block;
  white-space: nowrap;
}

.view-mode-btn[data-view="INTERACTIVE"] .view-mode-btn-line {
  display: inline;
}

.view-mode-btn[data-view="INTERACTIVE"] .view-mode-btn-line + .view-mode-btn-line {
  margin-left: 0.18rem;
}

.view-mode-btn.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--color-text-inverse);
  box-shadow: none;
}

/* C01: opt in only on desktop/compact LIGHT; legacy mobile and DARK stay intact. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]) .list-card {
  --list-panel-radius: var(--surface-panel-radius);
  --list-panel-border: var(--surface-panel-light-border);
  --list-panel-background: var(--surface-panel-light-background);
  --list-panel-shadow: var(--surface-panel-light-shadow);
}

.list-card {
  border-radius: var(--list-panel-radius, 20px);
  border: var(--list-panel-border, 1px solid var(--line));
  background: var(--list-panel-background, var(--surface));
  box-shadow: var(--list-panel-shadow, var(--shadow));
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  height: auto;
  min-height: 0;
  overflow: hidden;
}

.list-column {
  align-self: start;
  min-height: 0;
  margin-left: 1rem;
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.list-head[hidden] {
  display: none !important;
  margin-bottom: 0;
}

.desktop-panel-back-btn {
  width: 100%;
  flex-shrink: 0;
  margin: 20px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  cursor: pointer;
}

.desktop-panel-back-btn::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 1.25rem;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12H18M6 12L11 7M6 12L11 17' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.desktop-building-location-back-label {
  min-width: 0;
  white-space: nowrap;
}

.list-branding {
  display: flex;
  align-items: center;
  gap: 0.54rem;
  margin: 0 0 0.92rem;
}

.investment-heading { display: contents; }
.investment-address { display: none; }
html:not([data-viewer-layout="mobile"]) .investment-heading { display: block; flex: 1; min-width: 0; }
html:not([data-viewer-layout="mobile"]) .investment-heading:has(> .investment-address:not([hidden])) > .list-investment {
  border-bottom: 0;
}
html:not([data-viewer-layout="mobile"]) .investment-address:not([hidden]) {
  display: flex;
  align-items: flex-start;
  gap: 0.3em;
  margin: 0;
  padding-bottom: 0.24rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: var(--fs-label);
  font-weight: var(--fw-heavy);
  line-height: var(--lh-compact);
  color: var(--ink);
  overflow-wrap: anywhere;
}

.investment-address::before {
  content: "";
  flex: 0 0 1em;
  width: 1em;
  height: 1.2em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14,2.25 C19.3847763,2.25 23.75,6.61522369 23.75,12 C23.75,16.1196455 20.855433,20.6092677 15.1401958,25.5178507 C14.4843932,26.0810927 13.5155806,26.0810925 12.8571694,25.5155993 L12.4794181,25.1881258 C7.01712282,20.4088515 4.25,16.0278108 4.25,12 C4.25,6.61522369 8.61522369,2.25 14,2.25 Z M14,8.25 C11.9289322,8.25 10.25,9.92893219 10.25,12 C10.25,14.0710678 11.9289322,15.75 14,15.75 C16.0710678,15.75 17.75,14.0710678 17.75,12 C17.75,9.92893219 16.0710678,8.25 14,8.25 Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.viewer-tour-branding { display: none; }
html:not([data-viewer-layout="mobile"]) .viewer-tour-branding {
  display: flex;
  /* The sidebar already supplies a 20px gap after this shared header. */
  margin-bottom: calc(0.92rem - 20px);
}

.list-title-host {
  display: block;
  min-height: 0;
}

.list-title-host-location {
  margin: 0;
}

.desktop-location-featured-host {
  display: grid;
  gap: 0.5rem;
  margin: 0.28rem 0 0.04rem;
}

.desktop-location-featured-host[hidden] {
  display: none !important;
}

.desktop-building-featured-host {
  display: grid;
  gap: 0.5rem;
  margin: 0.08rem 0 0.42rem;
}

.desktop-building-featured-host[hidden] {
  display: none !important;
}

.desktop-building-featured-host .listing-section-title {
  margin: 0.24rem 0 0;
}

.list-title-host-apartment {
  display: flex;
  align-items: center;
  gap: 0.68rem;
  margin: 0.54rem 0 0.42rem;
}

.list-title-host-apartment:empty {
  display: none;
  margin: 0;
}

.list-title-host-apartment > .list-title {
  margin: 0;
  min-width: 0;
  white-space: nowrap;
}

.list-mobile-shell {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.investment-logo-wrap {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--color-surface-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.investment-logo-wrap[hidden] {
  display: none !important;
}

.investment-logo {
  width: auto;
  height: auto;
  max-width: 1.72rem;
  max-height: 1.72rem;
  object-fit: contain;
  display: block;
}

.list-investment {
  margin: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0 0 0.24rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: calc(1.12rem * var(--font-scale));
  font-weight: 900;
  letter-spacing: -0.014em;
  line-height: 1.15;
  box-shadow: none;
}

.list-head h2 {
  margin: 0;
  font-size: calc(var(--fs-title) * var(--font-scale));
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-weight: 900;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.list-title {
  margin: 0;
  display: block;
}

.list-title-host-location > .list-title {
  margin: 0.62rem 0 0.42rem;
}

.lead-inline-host {
  width: 100%;
  margin: 0 0 0.95rem;
  position: relative;
  z-index: 4;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ui-color-ink, #1f3652);
}

.lead-inline-host[hidden] {
  display: none !important;
}

.lead-inline-host,
.lead-inline-host * {
  font-family: inherit;
}

.lead-inline-host .lead-modal-card {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 !important;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--color-surface-paper);
  box-shadow: var(--effect-shadow-large, 0 18px 40px rgba(15, 31, 54, 0.14));
  overflow: hidden;
  display: grid;
  gap: 0;
}

.lead-inline-host .apartment2d-meta-row {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.78rem 0.95rem;
  border: 0;
  border-radius: 0;
  background: var(--color-surface-paper);
  grid-template-columns: minmax(0, 1fr);
}

.lead-inline-host #leadModalSubtitle,
.lead-inline-host .apartment2d-details {
  color: var(--ui-color-ink, #1f3652);
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-size: calc(1rem * var(--font-scale));
  font-weight: var(--fw-black);
  letter-spacing: -0.013em;
  line-height: 1.08;
  white-space: pre-line;
}

.lead-inline-host .apartment2d-status {
  display: none !important;
}

.lead-inline-host .lead-form-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 0;
  padding: 0.95rem;
  border: 0;
  border-radius: 0;
  background: var(--color-surface-paper);
}

.lead-inline-host .lead-form {
  gap: 0.55rem;
}

.lead-inline-host .lead-form input,
.lead-inline-host .lead-form textarea {
  border: 1px solid var(--ui-border-control);
  background: var(--ui-surface-field);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.5rem 0.62rem;
  font-size: calc(0.74rem * var(--font-scale));
  font-weight: 600;
  line-height: 1.35;
}

.lead-inline-host .lead-form input::placeholder,
.lead-inline-host .lead-form textarea::placeholder {
  color: var(--ink-soft);
}

.lead-inline-host .lead-form textarea {
  min-height: 5.8rem;
  resize: vertical;
}

.lead-inline-host .lead-status {
  margin: 0;
  min-height: 1.1rem;
  color: var(--ui-color-ink, #33577f);
  font-size: calc(0.7rem * var(--font-scale));
  font-weight: var(--fw-semibold);
}

.lead-inline-host .lead-modal-actionbar {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0.75rem 0.95rem;
  border: 0;
  border-radius: 0;
  background: var(--color-surface-paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}

.lead-inline-host .lead-modal-actionbar-title {
  color: var(--ui-color-ink, #1f3652);
  font-size: calc(0.92rem * var(--font-scale));
  font-weight: 900;
  line-height: 1.2;
}

.lead-inline-host .lead-modal-close-btn,
.lead-inline-host .lead-modal-submit-btn {
  min-height: 2.05rem;
  padding: 0.28rem 0.78rem;
  border-radius: 10px;
  font-size: calc(0.78rem * var(--font-scale));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.lead-inline-host .lead-modal-actionbar-actions {
  justify-content: flex-end;
  gap: 0.42rem;
}

.lead-inline-host .lead-modal-close-btn {
  border: 1px solid var(--accent);
  background: var(--color-surface-paper);
  color: var(--accent);
}

.lead-inline-host .lead-modal-close-btn:hover {
  border-color: var(--accent-strong);
  background: var(--color-surface-paper-hover);
  color: var(--accent-strong);
}

.lead-inline-host .lead-modal-submit-btn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}

.lead-inline-host .lead-modal-submit-btn:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--on-accent-strong);
}

#resultCount {
  margin: 0;
  color: var(--ui-color-muted, #4e6b8f);
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: 700;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-listings-view-toggle {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.desktop-listings-view-toggle[hidden] {
  display: none !important;
}

.desktop-listings-view-btn {
  min-height: 2.1rem;
  padding: 0.32rem 0.84rem;
  border: 1px solid var(--listing-idle-border);
  border-radius: 12px;
  background: var(--listing-idle-background);
  color: var(--listing-idle-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
  backdrop-filter: blur(8px) saturate(108%);
  -webkit-backdrop-filter: blur(8px) saturate(108%);
}

.desktop-listings-view-btn:hover {
  border-color: var(--ui-color-control-line, #b5c9e0);
  background: var(--ui-color-surface, #e8f0fa);
  color: var(--ui-color-ink, #3d5674);
}

.desktop-listings-view-btn.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--color-text-inverse);
  box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
}

.desktop-listings-view-icon {
  width: 0.82rem;
  height: 0.82rem;
  fill: currentColor;
  stroke: none;
  flex: 0 0 auto;
}

.desktop-listings-sort-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.desktop-listings-sort-btn {
  width: 2.1rem;
  min-width: 2.1rem;
  padding-inline: 0;
}

.desktop-listings-sort-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.desktop-listings-sort-popover {
  position: absolute;
  top: calc(100% + 0.42rem);
  right: 0;
  z-index: 80;
  width: min(13rem, 72vw);
  display: grid;
  gap: 0.12rem;
  padding: 0.32rem;
  border: 1px solid var(--ui-border-control);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--effect-shadow-medium, 0 16px 32px rgba(26, 56, 96, 0.14));
}

.desktop-listings-sort-popover[hidden] {
  display: none !important;
}

.desktop-listings-sort-option {
  appearance: none;
  -webkit-appearance: none;
  min-height: 2rem;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-compact);
  text-align: left;
  cursor: pointer;
  padding: 0.42rem 0.56rem;
}

.desktop-listings-sort-option:hover,
.desktop-listings-sort-option:focus-visible {
  background: var(--ui-surface-hover);
  color: var(--ink);
  outline: none;
}

.desktop-listings-sort-option.is-active {
  background: var(--accent);
  color: var(--on-accent, var(--color-text-inverse));
}

.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.building-picker + .filters {
  margin-top: -0.28rem;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.5rem 0.46rem;
  border: 1px solid var(--accent);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: var(--accent);
  box-shadow: none;
}

.building-picker + .filters .filter-field {
  gap: 0.14rem;
}

.building-picker + .filters .filter-field label {
  color: rgba(255, 255, 255, 0.9);
}

.building-picker + .filters select {
  min-height: 1.5rem;
  padding: 0.08rem 1.34rem 0.08rem 0.42rem;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.16);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.96) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 50%, transparent 50%);
  background-position:
    calc(100% - 0.82rem) calc(50% - 1px),
    calc(100% - 0.62rem) calc(50% - 1px);
  background-size: 0.22rem 0.22rem, 0.22rem 0.22rem;
  background-repeat: no-repeat;
  color: var(--color-text-inverse);
  font-size: calc(0.65rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-solid);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}

.building-picker + .filters select:hover {
  border-color: rgba(255, 255, 255, 0.56);
  background-color: rgba(255, 255, 255, 0.24);
}

.building-picker + .filters select:focus {
  border-color: rgba(255, 255, 255, 0.82);
  outline: none;
}

.building-picker + .filters select option {
  color: var(--ui-color-ink, #1a3552);
}

.building-picker + .filters .filter-select-btn {
  min-height: 1.5rem;
  padding: 0.08rem 1.34rem 0.08rem 0.42rem;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--color-text-inverse);
  font-size: calc(0.65rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-solid);
  box-shadow: none;
}

.building-picker + .filters .filter-select-btn:hover {
  border-color: rgba(255, 255, 255, 0.56);
  background-color: rgba(255, 255, 255, 0.24);
}

.building-picker + .filters .filter-select-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.82);
  outline-color: rgba(255, 255, 255, 0.3);
}

.building-picker + .filters .filter-select-chevron {
  right: 0.72rem;
  width: 0.34rem;
  height: 0.34rem;
}

.filters[hidden] {
  display: none !important;
  margin: 0 !important;
}

.filters.is-collapsed {
  display: none !important;
  margin: 0 !important;
}

.mobile-controls-panel {
  display: none;
}

.mobile-controls-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.3rem;
}

.mobile-controls-tab {
  width: 100%;
  min-height: 1.8rem;
  padding: 0.22rem 0.5rem;
  border-radius: 10px;
  border: 1px solid rgba(170, 190, 214, 0.9);
  background: var(--ui-color-surface, #f2f7ff);
  color: var(--ui-color-ink, #24486d);
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
}

.mobile-controls-tab:hover {
  border-color: rgba(137, 165, 198, 0.96);
  background: var(--ui-color-surface, #e9f2ff);
}

.mobile-controls-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--color-text-inverse);
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-controls-tab.is-active {
  border-color: rgba(255, 255, 255, 0.58);
  background: transparent;
  color: var(--color-text-inverse);
  box-shadow: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-controls-tab.is-active:hover {
  border-color: rgba(255, 255, 255, 0.78);
  background: transparent;
  color: var(--color-text-inverse);
}

.mobile-select-control {
  display: none;
  margin: 0 0 0.42rem;
}

.mobile-controls-panel[hidden],
.mobile-select-control[hidden] {
  display: none !important;
}

.mobile-select-control label {
  margin: 0 0 0.18rem;
  display: block;
  color: var(--ui-color-muted, #4b6788);
  font-size: calc(0.66rem * var(--font-scale));
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-label);
  line-height: 1.1;
}

.mobile-select-control select {
  min-height: 1.82rem;
  padding: 0.24rem 0.48rem;
  font-size: calc(0.78rem * var(--font-scale));
}

.filter-field {
  display: grid;
  gap: 0.22rem;
}

.filter-field label {
  margin: 0;
  color: var(--ui-color-muted, #4b6788);
  font-size: calc(0.66rem * var(--font-scale));
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-label);
  line-height: 1.1;
}

.filters select {
  min-height: 2.05rem;
  padding: 0.34rem 0.58rem;
  font-size: calc(0.8rem * var(--font-scale));
}

.filter-field.is-custom-filter-select,
.mobile-select-control.is-custom-filter-select {
  position: relative;
}

.filters select.is-native-filter-select,
.mobile-select-control select.is-native-filter-select {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.filter-select-menu {
  position: relative;
  min-width: 0;
}

.filter-select-btn {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.42rem;
  width: 100%;
  min-height: 2.05rem;
  border: 1px solid var(--ui-border-control);
  border-radius: 10px;
  background: var(--ui-surface-field);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: calc(0.8rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-control);
  text-align: left;
  cursor: pointer;
  padding: 0.34rem 1.5rem 0.34rem 0.58rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.filter-select-btn:hover {
  border-color: var(--accent);
  background: var(--ui-surface-hover);
}

.filter-select-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 35%, transparent);
  outline-offset: 2px;
}

.filter-select-btn-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-select-chevron {
  position: absolute;
  top: 50%;
  right: 0.68rem;
  width: 0.42rem;
  height: 0.42rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  opacity: 0.72;
  pointer-events: none;
  transform: translateY(-62%) rotate(45deg);
  transition: transform 0.16s ease;
}

.filter-select-menu.is-open .filter-select-chevron {
  transform: translateY(-36%) rotate(225deg);
}

.filter-select-popover {
  position: absolute;
  top: calc(100% + 0.42rem);
  left: 0;
  z-index: 80;
  width: max(100%, min(13rem, 72vw));
  display: grid;
  gap: 0.12rem;
  padding: 0.32rem;
  border: 1px solid var(--ui-border-control);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--effect-shadow-medium, 0 16px 32px rgba(26, 56, 96, 0.14));
}

.filters .filter-field:nth-child(n + 3) .filter-select-popover {
  right: 0;
  left: auto;
}

.filter-select-popover[hidden] {
  display: none !important;
}

body.mobile-apartment-shell .mobile-filters-overlay .filter-select-popover.is-mobile-floating {
  position: fixed;
  right: auto !important;
  z-index: 240;
  max-width: calc(100vw - 16px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.filter-select-option {
  appearance: none;
  -webkit-appearance: none;
  min-height: 2rem;
  width: 100%;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-compact);
  text-align: left;
  cursor: pointer;
  padding: 0.42rem 0.56rem;
}

.filter-select-option:hover,
.filter-select-option:focus-visible {
  background: var(--ui-surface-hover);
  color: var(--ink);
  outline: none;
}

.filter-select-option.is-active {
  background: var(--accent);
  color: var(--on-accent, var(--color-text-inverse));
}

.building-picker {
  margin: 0;
  position: relative;
  isolation: isolate;
  border: 1px solid var(--accent);
  border-radius: 14px 14px 0 0;
  background: var(--accent);
  background-clip: padding-box;
  padding: 0.5rem 0.5rem 0.34rem;
  display: grid;
  gap: 0.38rem;
  box-shadow: none;
  overflow: hidden;
  clip-path: inset(0 round 14px 14px 0 0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.building-picker[hidden],
.building-picker.is-collapsed {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.building-picker-label {
  margin: 0;
  display: grid;
  width: auto;
  max-width: 100%;
  gap: 0.04rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text-inverse);
  letter-spacing: -0.002em;
}

.building-picker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.building-picker-key {
  font-size: calc(0.66rem * var(--font-scale));
  font-weight: var(--fw-bold);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--lh-compact);
}

.building-picker-value {
  font-size: calc(0.94rem * var(--font-scale));
  font-weight: var(--fw-heavy);
  color: var(--color-text-inverse);
  line-height: var(--lh-control);
}

.building-picker-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
}

.building-picker-floor-row {
  display: grid;
  gap: 0.15rem;
}

.building-picker-floor-title {
  font-size: calc(0.58rem * var(--font-scale));
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-label);
  color: rgba(255, 255, 255, 0.9);
}

.building-picker-floor-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem;
  max-height: 3.28rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.08rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.58) transparent;
}

.building-picker-floor-buttons::-webkit-scrollbar {
  width: 4px;
}

.building-picker-floor-buttons::-webkit-scrollbar-track {
  background: transparent;
}

.building-picker-floor-buttons::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.58);
  border-radius: 999px;
}

.building-chip {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-text-inverse);
  border-radius: 10px;
  min-height: 1.8rem;
  padding: 0.2rem 0.58rem;
  cursor: pointer;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease;
}

.building-chip:hover {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.24);
}

.building-chip.is-active {
  border-color: var(--color-border-inverse);
  background: var(--color-surface-paper);
  color: var(--accent);
}

.building-chip-back {
  margin-left: auto;
  flex: 0 0 auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-text-inverse);
}

.building-chip-back::before {
  content: "";
  width: 0;
  height: 0;
  display: block;
  flex: 0 0 auto;
  border-top: 0.34rem solid transparent;
  border-bottom: 0.34rem solid transparent;
  border-right: 0.5rem solid currentColor;
  background-color: transparent;
  opacity: 0.96;
}

.building-floor-chip {
  min-height: 1.46rem;
  min-width: 2.02rem;
  padding: 0.08rem 0.42rem;
  border-radius: 8px;
}

select,
input,
textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0.68rem 0.74rem;
  font: inherit;
  font-size: calc(var(--fs-small) * var(--font-scale));
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.003em;
  color: inherit;
  background: var(--color-surface-paper);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.listings {
  display: grid;
  grid-auto-rows: max-content;
  gap: 0.5rem;
  max-height: none;
  min-height: 0;
  overflow: auto;
  padding: 0 0.3rem 0.1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-content: start;
}

.listings::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

@media (min-width: 1000px) and (orientation: landscape) {
  .list-column {
    align-self: stretch;
    height: 100%;
    min-height: 0;
  }

  .list-card {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    height: 100%;
    min-height: 0;
  }

  .listings,
  #listings {
    height: 100%;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

.listing-card {
  --listing-card-desktop-min-height: 6.9rem;
  --listing-accent: var(--accent);
  --listing-active-ring-width: 2px;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 0.42rem 0.56rem 0.38rem 2.16rem;
  position: relative;
  min-height: 88px;
  color: var(--ink);
  overflow: hidden;
  box-shadow: none;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease;
}

html:not([data-viewer-layout="mobile"]) .listing-card {
  --listing-active-ring-width: 3px;
}

/* Shared selection color for location/building cards, independent of theme and viewport. */
.listing-card:is(.status-building, .status-location):not(.has-actions).is-active {
  border-color: var(--room-tone-interior-active) !important;
  box-shadow: 0 0 0 var(--listing-active-ring-width) var(--room-tone-interior-active) !important;
}

html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) .listing-card:is(.status-building, .status-location):not(.has-actions).is-active {
  border-color: var(--line) !important;
}

.listing-card:hover {
  border-color: var(--ui-border-control);
  background: var(--ui-surface-hover);
}

.listing-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1.54rem;
  background: var(--listing-accent);
  opacity: 0.96;
}

.listing-card::after {
  content: attr(data-status-label);
  position: absolute;
  left: 0.17rem;
  top: 0.24rem;
  bottom: 0.24rem;
  width: 1.18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--color-text-inverse);
  font-size: calc(0.61rem * var(--font-scale));
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.listing-card.is-active {
  border-color: var(--ui-color-control-line, #8ea3bb);
  background: var(--ui-color-surface, #e8eff7);
  color: var(--ui-color-ink, #111111);
  box-shadow: none;
}

.listing-card.is-active:hover {
  border-color: var(--ui-color-control-line, #8097b1);
  background: var(--ui-color-surface, #e2ebf5);
}

.listing-card.is-active::before {
  opacity: 1;
}

.listing-card.is-active .badge {
  box-shadow: none;
}

.listing-card.is-active .listing-price-base {
  color: var(--ui-color-muted, #6a7d95);
}

.listing-card.is-active .listing-discount {
  color: var(--ui-color-ink, #35597d);
}

.listing-card.is-active .listing-price-final {
  color: var(--promotion-color, #b32626);
}

.listing-card.status-available {
  --listing-accent: var(--available);
}

.listing-card.status-reserved {
  --listing-accent: var(--reserved);
}

.listing-card.status-reserved::after {
  color: var(--color-text-inverse);
  text-shadow: none;
}

.listing-card.status-sold {
  --listing-accent: var(--sold);
}

.listing-card.status-location {
  --listing-accent: var(--accent);
}

.listing-card.status-location::after {
  color: var(--ui-color-ink, #111111);
  text-shadow: none;
}

.listing-card.status-building {
  --listing-accent: var(--accent);
}

.listing-card.status-building:not(.has-actions) {
  border-color: rgba(14, 52, 89, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)),
    linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.listing-card.status-building:not(.has-actions):hover {
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, var(--accent), var(--accent-strong));
}

.listing-card.status-building:not(.has-actions)::before {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.listing-card.status-building:not(.has-actions)::after {
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.072em;
  opacity: 0.92;
  text-shadow: none;
}

.listing-card.status-building:not(.has-actions).is-active,
.listing-card.status-building:not(.has-actions).is-active:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: var(--color-text-inverse);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.listing-card.status-building:not(.has-actions).is-active::before {
  background: rgba(255, 255, 255, 0.2);
}

.listing-card.status-building:not(.has-actions).is-active::after {
  color: var(--color-text-inverse);
  letter-spacing: 0.09em;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(6, 35, 59, 0.28);
}

.listing-card.status-building:not(.has-actions) .listing-title,
.listing-card.status-building:not(.has-actions) .listing-price-base,
.listing-card.status-building:not(.has-actions) .listing-discount,
.listing-card.status-building:not(.has-actions) .listing-price-final,
.listing-card.status-building:not(.has-actions) .listing-title {
  color: rgba(255, 255, 255, 0.9);
}

.listing-card.status-building:not(.has-actions).is-active .listing-title,
.listing-card.status-building:not(.has-actions).is-active .listing-price-base,
.listing-card.status-building:not(.has-actions).is-active .listing-discount,
.listing-card.status-building:not(.has-actions).is-active .listing-price-final {
  color: var(--color-text-inverse);
}

.listing-card.has-actions.is-active {
  border-color: var(--listing-accent);
  background: var(--ui-color-paper, #fcfdff);
  box-shadow: 0 0 0 var(--listing-active-ring-width) var(--listing-accent);
}

.listing-card.has-actions.is-active:hover {
  border-color: var(--listing-accent);
  background: var(--color-surface-paper);
  box-shadow: 0 0 0 var(--listing-active-ring-width) var(--listing-accent);
}

.listing-card.has-actions {
  --listing-card-padding-left: 2.16rem;
  --listing-card-content-left: calc(var(--listing-card-padding-left) + 5.34rem);
  --listing-discount-left: 1.54rem;
}

.listing-select {
  border: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  padding-right: 0.2rem;
  padding-bottom: 0.18rem;
  background: transparent;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: inherit;
}

.listing-card.has-actions .listing-select {
  padding-right: 2.3rem;
  padding-bottom: 0;
}

.listing-card.has-actions .listing-card-body {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  align-items: start;
  gap: 0.74rem;
  min-width: 0;
}

.listing-card.has-actions .listing-card-main {
  min-width: 0;
}

.listing-card.has-actions .listing-top {
  min-width: 0;
}

.listing-card-thumbnail {
  width: 4.6rem;
  min-width: 4.6rem;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(139, 159, 184, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0) 54%),
    linear-gradient(180deg, rgba(243, 248, 253, 0.98), rgba(228, 236, 246, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.listing-card-thumbnail.has-image {
  border-color: rgba(132, 154, 182, 0.42);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.98));
}

.listing-card-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem;
}

.listing-card-thumbnail-placeholder-icon {
  width: 100%;
  height: 100%;
  stroke: var(--ui-color-muted, #5c7392);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.92;
}

.listing-card-thumbnail-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.listing-discount-sticker {
  --listing-discount-bg: var(--promotion-background,
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.16) 64%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(90deg, #941520 0%, #bd1b29 42%, #e22f39 100%));
  --listing-discount-curve-radius: 1.18rem;
  --listing-discount-action-space: 9.04rem;
  --listing-discount-value-left: calc(var(--listing-card-content-left) - var(--listing-discount-left));
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: var(--listing-discount-left);
  z-index: 2;
  width: auto;
  height: 1.34rem;
  display: block;
  padding: 0;
  background: transparent;
  border-radius: 0 14px 0 0;
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-weight: 800;
  overflow: visible;
  pointer-events: none;
}

.listing-discount-sticker::before {
  display: none;
}

.listing-discount-sticker::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--listing-discount-curve-radius));
  bottom: 0;
  z-index: 1;
  border-radius: 0;
  background: var(--listing-discount-bg);
  box-shadow: var(--promotion-shadow, 0 0.18rem 0.34rem rgba(70, 7, 14, 0.22));
  -webkit-clip-path: polygon(
    0 0,
    calc(var(--listing-discount-curve-radius) * 0.08) calc(var(--listing-discount-curve-radius) * 0.39),
    calc(var(--listing-discount-curve-radius) * 0.2) calc(var(--listing-discount-curve-radius) * 0.6),
    calc(var(--listing-discount-curve-radius) * 0.4) calc(var(--listing-discount-curve-radius) * 0.8),
    calc(var(--listing-discount-curve-radius) * 0.68) calc(var(--listing-discount-curve-radius) * 0.95),
    var(--listing-discount-curve-radius) var(--listing-discount-curve-radius),
    100% var(--listing-discount-curve-radius),
    100% 100%,
    0 100%
  );
  clip-path: polygon(
    0 0,
    calc(var(--listing-discount-curve-radius) * 0.08) calc(var(--listing-discount-curve-radius) * 0.39),
    calc(var(--listing-discount-curve-radius) * 0.2) calc(var(--listing-discount-curve-radius) * 0.6),
    calc(var(--listing-discount-curve-radius) * 0.4) calc(var(--listing-discount-curve-radius) * 0.8),
    calc(var(--listing-discount-curve-radius) * 0.68) calc(var(--listing-discount-curve-radius) * 0.95),
    var(--listing-discount-curve-radius) var(--listing-discount-curve-radius),
    100% var(--listing-discount-curve-radius),
    100% 100%,
    0 100%
  );
}

.listing-discount-sticker-text {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  transform: none;
  transform-origin: center;
  color: var(--color-text-inverse);
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: var(--promotion-text-shadow, 0 1px 1px rgba(50, 0, 8, 0.34));
}

.listing-discount-sticker-title {
  font-size: calc(0.58rem * var(--font-scale));
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  position: absolute;
  left: 0.72rem;
  top: 50%;
  transform: translateY(-50%);
}

.listing-discount-sticker-value {
  font-size: calc(0.9rem * var(--font-scale));
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1;
  position: absolute;
  left: var(--listing-discount-value-left);
  top: 50%;
  transform: translateY(-50%);
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker {
  --listing-discount-curve-radius: calc(1.14rem * var(--mobile-building-density));
  --listing-discount-action-space: calc(8.95rem * var(--mobile-building-density));
  --listing-card-content-left: calc(7.94rem * var(--mobile-building-density));
  --listing-discount-left: calc(2.18rem * var(--mobile-building-density));
  left: var(--listing-discount-left);
  right: 0;
  bottom: 0;
  width: auto;
  height: calc(1.77rem * var(--mobile-building-density));
  border-top-right-radius: calc(14px * var(--mobile-building-density));
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker::after {
  border-radius: 0;
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker-text {
  display: block;
  padding: 0;
  text-align: left;
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker::before {
  display: none;
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker-title {
  font-size: calc((0.46rem * var(--font-scale)) * var(--mobile-building-density));
  position: absolute;
  left: calc(0.76rem * var(--mobile-building-density));
  top: 50%;
  transform: translateY(-50%);
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker-value {
  font-size: calc((0.72rem * var(--font-scale)) * var(--mobile-building-density));
  position: absolute;
  left: var(--listing-discount-value-left);
  top: 50%;
  transform: translateY(-50%);
}

.listing-card-thumbnail-image[hidden] {
  display: none !important;
}

.listing-card-thumbnail.is-dedicated-thumb .listing-card-thumbnail-image {
  object-fit: contain;
  object-position: center;
}

.listing-card-thumbnail.is-dedicated-thumb,
.listing-card.is-active .listing-card-thumbnail.is-dedicated-thumb {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: none;
}

.listing-card.is-active .listing-card-thumbnail {
  border-color: rgba(109, 133, 163, 0.46);
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 52%),
    linear-gradient(180deg, rgba(251, 253, 255, 0.98), rgba(236, 243, 251, 0.98));
}

.listing-card.is-active .listing-card-thumbnail-placeholder-icon {
  stroke: var(--ui-color-ink, #375a7d);
}

.listing-status {
  display: none;
}

.listing-actions-media {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0.34rem;
  width: calc((2.48rem * 3) + (0.34rem * 2));
  min-width: calc((2.48rem * 3) + (0.34rem * 2));
  flex: 0 0 calc((2.48rem * 3) + (0.34rem * 2));
}

.listing-actions-contact {
  position: absolute;
  z-index: 6;
  right: 0.44rem;
  top: 0.34rem;
  display: inline-flex;
  align-items: center;
}

.listing-media-btn {
  position: relative;
  width: 2.48rem;
  min-width: 2.48rem;
  height: 2.48rem;
  border: 1px solid var(--accent);
  border-radius: 14px;
  background: var(--accent);
  color: var(--color-text-inverse);
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.listing-media-btn:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
}

.listing-media-btn.is-loading {
  border-color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent-strong) 82%, #000000);
  color: var(--color-text-inverse);
}

.listing-media-btn[hidden] {
  display: none !important;
}

.apartment-card-share-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.apartment-share-btn {
  white-space: nowrap;
  touch-action: manipulation;
}

.apartment-share-btn[hidden] { display: none !important; }

.apartment-card-contact-btn[hidden] {
  display: none !important;
}

body #mobileSpinApartmentActions {
  position: fixed;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: var(--mobile-ui-module);
  padding: calc(2 * var(--mobile-ui-module));
  border: 1px solid var(--line);
  border-radius: calc(var(--mobile-radius-action) + 2 * var(--mobile-ui-module) + 1px);
  background: var(--surface);
  box-shadow: var(--effect-shadow-medium, 0 8px 22px rgba(7, 21, 35, 0.2));
}

body #mobileSpinApartmentActions[hidden],
body #mobileSpinApartmentActions [hidden],
html:not([data-viewer-layout="mobile"]) #mobileSpinApartmentActions {
  display: none !important;
}

body #mobileSpinApartmentActions .listing-media-text {
  gap: calc(0.07rem * var(--mobile-building-density, 1));
}

body #mobileSpinApartmentActions .listing-media-text-primary {
  font-size: calc(0.76rem * var(--font-scale) * var(--mobile-building-density, 1));
}

body #mobileSpinApartmentActions .listing-media-text-secondary {
  font-size: calc(0.4rem * var(--font-scale) * var(--mobile-building-density, 1));
}

body #mobileSpinApartmentActions .listing-media-360-icon {
  width: calc(1.48rem * var(--mobile-building-density, 1));
  height: calc(1.1rem * var(--mobile-building-density, 1));
}

body #mobileSpinApartmentActions .listing-mail-btn svg {
  width: var(--mobile-button-icon-size);
  height: var(--mobile-button-icon-size);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.lead-success {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.8rem;
  padding: 2rem 1.2rem;
  text-align: center;
  color: var(--ui-color-ink, #1f3652);
}

.lead-success[hidden] { display: none; }

.lead-success .lead-success-text {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
  overflow-wrap: anywhere;
}

body[data-theme-mode="DARK"] .lead-success { color: #ffffff; }

:is(#leadModal, .lead-inline-host) .lead-modal-card.is-lead-success {
  height: auto;
  min-height: 0;
  grid-template-rows: auto auto;
  align-content: start;
}

:is(#leadModal, .lead-inline-host) .is-lead-success > .apartment2d-meta-row,
:is(#leadModal, .lead-inline-host) .is-lead-success > .lead-form-shell,
:is(#leadModal, .lead-inline-host) .is-lead-success .lead-modal-actionbar-title,
:is(#leadModal, .lead-inline-host) .is-lead-success .lead-modal-submit-btn {
  display: none !important;
}

:is(#leadModal, .lead-inline-host) .is-lead-success .lead-modal-actionbar {
  display: flex;
  justify-content: center;
}

.lead-marketing-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.lead-form .lead-marketing-choice input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.apartment-icon-action .apartment-action-icon {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  pointer-events: none;
}

@media (width < 1000px), (orientation: portrait) {
  .apartment-icon-action:not(:disabled):not([aria-disabled="true"]) {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: var(--color-text-inverse) !important;
  }

  .apartment-icon-action:not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible) {
    background: var(--accent-strong) !important;
    border-color: var(--accent-strong) !important;
  }
}

.apartment-share-status {
  position: fixed;
  z-index: 100000;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 2rem);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: var(--accent);
  color: var(--color-text-inverse);
  box-shadow: 0 4px 20px #0003;
}

@media (width < 1000px), (orientation: portrait) {
  body.mobile-apartment-shell :is(.viewer-apartment3d-card-sheet-header-row, .viewer-apartment2d-sheet-header-row) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.mobile-apartment-shell .viewer-apartment2d-sheet-actions {
    flex-wrap: wrap;
  }
}

.listing-media-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  max-width: 100%;
  font-family: var(--font-ui);
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}

.listing-media-text-primary,
.listing-media-text-secondary {
  display: block;
  max-width: 100%;
  overflow: hidden;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-media-text-primary {
  font-size: 0.78rem;
  font-weight: 900;
}

.listing-media-360-icon {
  display: block;
  width: 1.5rem;
  height: 1.14rem;
  fill: none;
  overflow: visible;
  stroke: currentColor;
  stroke-miterlimit: 10;
  stroke-width: 1.95;
}

.listing-media-360-line {
  fill: none;
  stroke: currentColor;
}

.listing-media-text-secondary {
  font-size: 0.4rem;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-media-icon {
  width: 1.12rem;
  height: 1.12rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.listing-media-icon-2d {
  width: 1.7rem;
  height: 1.7rem;
  stroke-width: 1.55;
}

.listing-media-icon-3d {
  width: 1.72rem;
  height: 1.28rem;
  fill: currentColor;
  stroke: none;
}

.listing-media-icon-vr {
  width: 1.8rem;
  height: 1.62rem;
  fill: currentColor;
  stroke: none;
}

.listing-mail-btn {
  position: static;
  width: 1.72rem;
  height: 1.72rem;
  border: 1px solid rgba(147, 168, 195, 0.46);
  border-radius: 10px;
  padding: 0;
  background: rgba(244, 248, 255, 0.9);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.listing-mail-btn svg {
  width: 0.94rem;
  height: 0.94rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.listing-mail-btn:hover {
  border-color: color-mix(in srgb, var(--accent) 28%, #ffffff);
  background: color-mix(in srgb, var(--accent) 7%, #ffffff);
  color: var(--accent-strong);
}

.listing-card.is-active .listing-mail-btn {
  border-color: color-mix(in srgb, var(--accent) 28%, #ffffff);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent);
}

.listing-card.is-active .listing-media-btn {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--color-text-inverse);
}

.listing-card-footer {
  margin-top: 0.24rem;
  padding-top: 0.22rem;
  border-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 0.4rem;
}

.listing-card.has-actions .listing-card-footer {
  padding-left: 5.34rem;
}

.listing-card-footer.has-visible-media {
  grid-template-columns: minmax(0, 1fr) auto;
}

.listing-pricing-wrap {
  min-width: 0;
}

.listing-top {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.34rem;
}

.listing-title,
.apartment3d-card-title {
  margin: 0;
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-size: calc(1rem * var(--font-scale));
  font-weight: 900;
  letter-spacing: -0.013em;
  line-height: 1.08;
}

.badge {
  display: none;
}

.badge.status-available {
  background: var(--available);
  border: 1px solid var(--ui-color-available, #3f7a28);
  color: var(--color-text-inverse);
}

.badge.status-reserved {
  background: var(--reserved);
  border: 1px solid var(--ui-color-reserved, #d86f00);
  color: var(--color-text-inverse);
}

.badge.status-sold {
  background: var(--sold);
  border: 1px solid var(--ui-color-sold, #a92a2a);
  color: var(--color-text-inverse);
}

.badge.status-location {
  background: var(--ui-color-surface, #f7f9f9);
  border: 1px solid var(--ui-color-line, #d7dde3);
  color: var(--ui-color-ink, #111111);
}

.badge.status-building {
  background: var(--accent);
  border: 1px solid var(--accent-strong);
  color: var(--color-text-inverse);
}

.listing-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.16rem 0.24rem;
  margin: 0.16rem 0 0;
  color: inherit;
  font-size: calc(0.64rem * var(--font-scale));
  font-weight: 600;
  letter-spacing: -0.004em;
}

.listing-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.06rem 0.28rem;
  border-radius: 999px;
  border: 1px solid var(--ui-color-line, #d4e0ef);
  background: var(--ui-color-surface, #f7f9f9);
  color: var(--ui-color-ink, #111111);
  font-size: inherit;
  font-weight: 700;
  line-height: 1.2;
}

.listing-card.has-actions .listing-meta {
  gap: 0.1rem 0.34rem;
  margin-top: 0.24rem;
  color: var(--ui-color-muted, #556a85);
  font-size: calc(0.65rem * var(--font-scale));
  font-weight: 400;
}

.listing-card.has-actions .listing-meta span {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-weight: 400;
  line-height: 1.1;
}

.listing-card.has-actions .listing-meta span + span::before {
  content: "•";
  display: inline-block;
  margin-right: 0.34rem;
  color: rgba(104, 124, 150, 0.78);
  font-weight: 400;
}

.listing-card.is-active .listing-meta span {
  border-color: rgba(128, 146, 170, 0.42);
  background: var(--ui-color-surface, #f7f9f9);
  color: var(--ui-color-ink, #111111);
}

.listing-card.has-actions.is-active .listing-meta {
  color: var(--ui-color-muted, #4a607d);
}

.listing-card.has-actions.is-active .listing-meta span {
  border: 0;
  background: transparent;
  color: inherit;
}

@media (min-width: 1000px) and (orientation: landscape) {
  body[data-desktop-listings-view="cards"] .listings,
  body[data-desktop-listings-view="cards"] #listings {
    padding-top: 0.24rem;
  }

  body[data-desktop-listings-view="cards"] .listing-card.has-actions,
  body[data-desktop-listings-view="cards"] .listing-card.has-actions:hover,
  body[data-desktop-listings-view="cards"] .listing-card.has-actions.is-active,
  body[data-desktop-listings-view="cards"] .listing-card.has-actions.is-active:hover {
    background: var(--color-surface-paper);
  }

  body[data-desktop-listings-view="cards"] .listing-card.has-actions {
    --listing-card-content-left: 9.12rem;
  }

  body[data-desktop-listings-view="cards"] .listing-card.has-actions:hover,
  body[data-desktop-listings-view="cards"] .listing-card.has-actions:focus-visible {
    border-color: var(--line);
    background: var(--color-surface-paper);
    box-shadow: none;
    transform: none;
  }

  .listing-card.has-actions {
    min-height: var(--listing-card-desktop-min-height);
    padding-top: 0.34rem;
    padding-bottom: 0.34rem;
  }

  .listing-card.has-actions::after {
    top: 0.2rem;
    bottom: 0.2rem;
    font-size: calc(0.56rem * var(--font-scale));
    letter-spacing: 0.045em;
  }

  .listing-card.has-actions .listing-select {
    display: block;
    padding-left: 6.96rem;
    padding-right: 2.05rem;
  }

  .listing-card.has-actions .listing-card-body {
    display: block;
    min-height: 0;
  }

  .listing-card.has-actions .listing-card-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 3.9rem;
  }

  .listing-card.has-actions .listing-card-thumbnail {
    position: absolute;
    left: 2.16rem;
    top: 0.34rem;
    bottom: 0.34rem;
    width: auto;
    min-width: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    transform: none;
    border-radius: 14px;
    padding: 0.22rem;
  }

  .listing-card.has-actions .listing-card-thumbnail.is-dedicated-thumb,
  .listing-card.has-actions.is-active .listing-card-thumbnail.is-dedicated-thumb {
    padding: 0.22rem;
  }

  .listing-card.has-actions .listing-card-thumbnail:not(.has-image),
  .listing-card.has-actions.is-active .listing-card-thumbnail:not(.has-image) {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
    padding: 0;
  }

  .listing-card.has-actions .listing-card-thumbnail-placeholder,
  .listing-card.has-actions .listing-card-thumbnail-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    max-width: none;
    max-height: none;
    align-self: stretch;
    justify-self: stretch;
  }

  .listing-card.has-actions .listing-card-thumbnail:not(.has-image) .listing-card-thumbnail-placeholder {
    display: grid;
    place-items: center;
  }

  .listing-card.has-actions .listing-card-thumbnail:not(.has-image) .listing-card-thumbnail-placeholder-icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  .listing-card.has-actions .listing-title {
    line-height: 1.02;
  }

  .listing-card.has-actions .listing-meta,
  .listing-card.has-actions.is-active .listing-meta {
    margin-top: 0.16rem;
    gap: 0.08rem 0.3rem;
  }

  .listing-card.has-actions .listing-card-footer {
    margin-top: 0.2rem;
    padding-top: 0;
    padding-left: 6.96rem;
    align-items: end;
    gap: 0.28rem;
  }

  .listing-card.has-actions .listing-pricing,
  .listing-card.has-actions.is-active .listing-pricing {
    min-height: 2.22rem;
  }

  .listing-card.has-actions .listing-pricing {
    gap: 0.02rem;
  }

  .listing-card.has-actions .listing-pricing-row {
    gap: 0;
  }

  .listing-card.has-actions .listing-pricing-label {
    display: none;
  }

  .listing-card.has-actions .listing-price-base {
    font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
    font-size: calc(0.68rem * var(--font-scale));
    font-weight: 700;
    line-height: 1.02;
  }

  .listing-card.has-actions .listing-price-final {
    font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
    font-size: calc(0.96rem * var(--font-scale));
    font-weight: 900;
    letter-spacing: -0.013em;
    line-height: 1.02;
  }

  .listing-card.has-actions .listing-price-final,
  .listing-card.has-actions.is-active .listing-price-final {
    color: var(--ink);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions .listing-price-final,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions.is-active .listing-price-final {
    color: var(--listing-accent);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions .listing-pricing,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions.is-active .listing-pricing {
    min-height: 2.42rem;
  }

  body[data-theme-mode="DARK"] .listing-card.has-actions .listing-card-thumbnail:not(.has-image),
  body[data-theme-mode="DARK"] .listing-card.has-actions.is-active .listing-card-thumbnail:not(.has-image) {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .listing-card.status-building:not(.has-actions) .listing-meta,
  .listing-card.status-building:not(.has-actions).is-active .listing-meta {
    gap: 0.1rem 0.34rem;
    margin-top: 0.24rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: calc(0.65rem * var(--font-scale));
    font-weight: var(--fw-bold);
  }

  .listing-card.status-building:not(.has-actions) .listing-meta span,
  .listing-card.status-building:not(.has-actions).is-active .listing-meta span {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-weight: var(--fw-bold);
    line-height: 1.1;
  }

  .listing-card.status-building:not(.has-actions) .listing-meta span + span::before,
  .listing-card.status-building:not(.has-actions).is-active .listing-meta span + span::before {
    content: "|";
    display: inline-block;
    margin-right: 0.34rem;
    color: rgba(255, 255, 255, 0.46);
    font-weight: var(--fw-heavy);
  }

  .listing-card.status-building:not(.has-actions).is-active .listing-meta {
    color: var(--color-text-inverse);
  }

  .listing-card.status-building:not(.has-actions).is-active .listing-meta span + span::before {
    color: rgba(255, 255, 255, 0.72);
  }
}

.listing-price {
  margin: 0.4rem 0 0;
  font-family: var(--font-ui);
  font-size: calc(0.86rem * var(--font-scale));
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}

.listing-pricing {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.04rem;
}

.listing-pricing-row {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.02rem;
  align-items: baseline;
}

.listing-pricing-label {
  color: var(--listing-row-accent);
  font-size: calc(0.54rem * var(--font-scale));
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.listing-pricing-value {
  justify-self: start;
  text-align: left;
  font-variant-numeric: normal;
  white-space: nowrap;
  min-width: 0;
}

.listing-price-base {
  color: var(--listing-row-accent);
  opacity: 0.95;
  text-decoration: line-through;
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: 600;
}

.listing-discount {
  font-size: calc(0.69rem * var(--font-scale));
  font-weight: 600;
  color: var(--accent);
}

.listing-price-final {
  color: var(--listing-accent);
  font-family: var(--font-ui);
  font-size: calc(0.88rem * var(--font-scale));
  font-weight: 700;
  letter-spacing: 0;
}

.listing-price-regular {
  color: var(--ink);
}

.listing-pricing-single .listing-pricing-row {
  grid-template-columns: minmax(0, 1fr);
}

.listing-card.is-active .listing-pricing-label {
  color: var(--listing-row-accent);
}

.listing-row {
  --listing-row-accent: var(--accent);
  --listing-row-accent-rgb: var(--accent-rgb);
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.listing-row:last-child {
  border-bottom: 0;
}

.listing-row.status-location {
  --listing-row-accent: var(--accent);
  --listing-row-accent-rgb: var(--accent-rgb);
}

.listing-row-select {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.62rem 0.22rem 0.62rem 0.18rem;
  display: grid;
  grid-template-columns: 1.3rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.72rem;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
  border-radius: 14px;
  transition:
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.listing-row:hover {
  background: transparent;
  border-color: var(--line);
}

.listing-row:hover .listing-row-select {
  background: transparent;
  box-shadow: none;
}

.listing-row.is-active {
  background: transparent;
  border-color: var(--line);
}

.listing-row.is-active .listing-row-select {
  background: transparent;
  box-shadow: none;
}

.listing-row-status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--listing-row-accent);
  box-shadow: 0 0 0 3px rgba(95, 107, 124, 0.12);
  justify-self: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
}

.listing-row-status-dot.has-pzt-icon {
  width: 1.42rem;
  height: 1.42rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--info-feature-fill);
  color: var(--on-selection);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--feature-pink) 16%, transparent);
}

.listing-row-status-dot.has-pzt-icon .pzt-feature-label-icon-svg {
  display: block;
  width: 0.92rem;
  height: 0.92rem;
  color: currentColor;
}

.listing-row-body {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.listing-row-title {
  display: block;
  font-size: calc(0.92rem * var(--font-scale));
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.listing-row-meta {
  display: block;
  font-size: calc(0.66rem * var(--font-scale));
  font-weight: 400;
  color: var(--listing-row-accent);
  line-height: 1.2;
}

.listing-row-distance {
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: 600;
  color: var(--listing-accent);
  white-space: nowrap;
}

.listing-row.is-active .listing-row-status-dot {
  background: var(--info-feature-fill-active);
  transform: scale(1.55);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--feature-pink-active) 20%, transparent);
}

.listing-row.is-active .listing-row-status-dot.has-pzt-icon {
  background: var(--info-feature-fill-active);
  transform: scale(1.14);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--feature-pink-active) 22%, transparent);
}

.listing-row.is-active .listing-row-title {
  color: var(--ui-color-ink, #0f1d2d);
}

.listing-row-apartment-desktop-header,
.listing-row-apartment-desktop {
  --listing-desktop-action-width: 2.65rem;
}

.listing-row-apartment-desktop-header {
  grid-template-columns:
    1.34rem
    minmax(4rem, 0.92fr)
    minmax(1.7rem, 0.28fr)
    minmax(4.2rem, 0.68fr)
    minmax(2rem, 0.28fr)
    minmax(5.4rem, 0.86fr)
    1.82rem
    2.34rem;
  align-items: center;
  gap: 0.34rem;
}

.listing-row-apartment-desktop-header .listing-row-header-cell {
  min-width: 0;
  font-size: calc(0.58rem * var(--font-scale));
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-self: center;
  color: var(--color-text-on-paper);
}

.listing-row-apartment-desktop-header .listing-row-header-name {
  grid-column: 1 / span 2;
}

.listing-row-apartment-desktop-header .listing-row-header-rooms {
  grid-column: 3;
}

.listing-row-apartment-desktop-header .listing-row-header-area {
  grid-column: 4;
}

.listing-row-apartment-desktop-header .listing-row-header-floor {
  grid-column: 5;
}

.listing-row-apartment-desktop-header .listing-row-header-price {
  grid-column: 6;
}

.listing-row-apartment-desktop-header .listing-row-header-plan {
  grid-column: 7;
}

.listing-row-apartment-desktop-header .listing-row-header-contact {
  grid-column: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.listing-row-apartment-desktop-header .listing-row-header-contact svg {
  width: 0.92rem;
  height: 0.92rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.listing-row-apartment-desktop {
  --listing-row-accent: var(--accent);
  --listing-row-accent-rgb: var(--accent-rgb);
  position: relative;
  display: grid;
  align-items: stretch;
  min-height: 3rem;
  padding: 0 0.26rem;
  border-top: 0;
  border-radius: 0;
  background: transparent;
}

.listing-row-apartment-desktop::after {
  content: "";
  position: absolute;
  left: 0.18rem;
  right: 0.18rem;
  bottom: 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.listing-row-apartment-desktop:last-child::after {
  content: none;
}

.listing-row-apartment-desktop:nth-of-type(even) {
  background:
    linear-gradient(
      90deg,
      rgb(var(--accent-rgb) / 0) 0%,
      rgb(var(--accent-rgb) / 0.02) 6%,
      rgb(var(--accent-rgb) / 0.04) 16%,
      rgb(var(--accent-rgb) / 0.04) 84%,
      rgb(var(--accent-rgb) / 0.02) 94%,
      rgb(var(--accent-rgb) / 0) 100%
    );
}

.listing-row-apartment-desktop.status-available {
  --listing-row-accent: var(--available);
  --listing-row-accent-rgb: 78 148 50;
}

.listing-row-apartment-desktop.status-reserved {
  --listing-row-accent: var(--reserved);
  --listing-row-accent-rgb: 247 127 0;
}

.listing-row-apartment-desktop.status-sold {
  --listing-row-accent: var(--sold);
  --listing-row-accent-rgb: 199 50 50;
}

.listing-row-apartment-desktop .listing-row-select {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 100%;
  height: 100%;
  padding: 0 0.16rem 0 0.32rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.listing-row-apartment-desktop .listing-row-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  font-size: calc(0.74rem * var(--font-scale));
  font-weight: 700;
  color: var(--color-text-on-paper);
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-row-apartment-desktop .listing-row-cell-name {
  font-size: calc(0.82rem * var(--font-scale));
  font-weight: 900;
  color: var(--color-text-on-paper);
  text-align: center;
  overflow: visible;
  padding-block: 0.28rem;
}

.listing-row-apartment-desktop .listing-row-status-pill {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding: 0.28rem 0.42rem;
  border-radius: 8px;
  background: var(--listing-row-accent);
  color: var(--color-text-inverse);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgb(var(--listing-row-accent-rgb) / 0.14);
  overflow: visible;
}

.listing-row-apartment-desktop .listing-row-status-pill .listing-row-name-text {
  color: var(--color-text-inverse) !important;
  -webkit-text-fill-color: var(--color-text-inverse) !important;
  font-weight: 800 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}

.listing-row-apartment-desktop .listing-row-status-pill .listing-row-status-text {
  max-width: 100%;
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-size: calc(0.5rem * var(--font-scale));
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-row-apartment-desktop .listing-row-status-pill::after {
  content: "";
  position: absolute;
  inset: -0.28rem;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.16) 46%,
    rgba(255, 255, 255, 0) 76%
  );
  opacity: 0;
  transform: scale(0.78);
  pointer-events: none;
}

.listing-row-apartment-desktop.is-active .listing-row-status-pill {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgb(var(--listing-row-accent-rgb) / 0.18),
    0 0 0 4px rgba(255, 255, 255, 0.1);
  animation: desktop-status-pill-breathe 1.8s ease-in-out infinite;
}

.listing-row-apartment-desktop.is-active .listing-row-status-pill::after {
  opacity: 1;
  animation: desktop-status-pill-pulse 1.8s ease-in-out infinite;
}

@keyframes desktop-status-pill-pulse {
  0%,
  100% {
    transform: scale(0.78);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.34;
  }
}

@keyframes desktop-status-pill-breathe {
  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 0 0 1px rgb(var(--listing-row-accent-rgb) / 0.18),
      0 0 0 4px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 0 1px rgb(var(--listing-row-accent-rgb) / 0.22),
      0 0 0 7px rgb(var(--listing-row-accent-rgb) / 0.18),
      0 0 18px rgb(var(--listing-row-accent-rgb) / 0.22);
  }
}

.listing-row-apartment-desktop .listing-row-cell-price {
  font-size: calc(0.82rem * var(--font-scale));
  font-weight: 900;
  color: var(--color-text-on-paper);
  text-align: center;
  overflow: visible;
}

.listing-row-price-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  min-width: 0;
  max-width: 100%;
  color: inherit;
  line-height: 1.05;
  white-space: nowrap;
}

.listing-row-price-base {
  display: block;
  max-width: 100%;
  color: var(--color-text-muted-on-paper);
  font-family: inherit;
  font-size: 0.72em;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-decoration: line-through;
  text-decoration-color: rgba(98, 122, 149, 0.72);
  text-decoration-thickness: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-row-price-final {
  display: block;
  max-width: 100%;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
}

.listing-row-price-stack-discounted .listing-row-price-final {
  color: var(--promotion-color, #c73232);
}

.listing-row-apartment-desktop .listing-row-cell-status {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 100%;
  min-width: 1.34rem;
  min-height: 1.5rem;
  align-self: center;
  line-height: 0;
  font-size: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.listing-row-apartment-desktop .listing-row-status-indicator {
  display: block;
  flex: 0 0 auto;
  position: relative;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--listing-row-accent);
  color: var(--listing-row-accent);
  box-shadow: 0 0 0 3px rgba(95, 107, 124, 0.12);
  transform-origin: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.listing-row-apartment-desktop .listing-row-status-indicator::after {
  content: "";
  position: absolute;
  inset: -0.52rem;
  border-radius: 999px;
  background: rgb(var(--listing-row-accent-rgb) / 0.42);
  opacity: 0;
  transform: scale(0.68);
  pointer-events: none;
}

.listing-row-apartment-desktop .listing-row-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  height: 100%;
  align-self: center;
  justify-self: center;
}

.listing-row-apartment-desktop .listing-row-actions .listing-media-btn,
.listing-row-apartment-desktop .listing-row-actions .listing-mail-btn {
  width: 1.42rem;
  min-width: 1.42rem;
  height: 1.42rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--accent);
}

.listing-row-apartment-desktop .listing-row-actions .listing-media-btn:hover,
.listing-row-apartment-desktop .listing-row-actions .listing-mail-btn:hover,
.listing-row-apartment-desktop .listing-row-actions .listing-media-btn:focus-visible,
.listing-row-apartment-desktop .listing-row-actions .listing-mail-btn:focus-visible {
  color: var(--ui-color-ink, #163c69);
  background: transparent;
  border: 0;
  outline: none;
}

.listing-row-apartment-desktop .listing-row-actions .listing-media-icon {
  width: 0.92rem;
  height: 0.92rem;
}

.listing-row-apartment-desktop .listing-row-actions .listing-media-icon-2d {
  width: 1.26rem;
  height: 1.26rem;
}

.listing-row-apartment-desktop .listing-row-actions .listing-mail-btn svg {
  width: 0.98rem;
  height: 0.98rem;
}

.listing-row-apartment-desktop .listing-view2d-btn.is-unavailable {
  opacity: 0.24;
  color: var(--ui-color-muted, #94a7be);
}

.listing-row-apartment-desktop.is-active {
  background:
    linear-gradient(
      90deg,
      rgb(var(--listing-row-accent-rgb) / 0) 0%,
      rgb(var(--listing-row-accent-rgb) / 0.028) 6%,
      rgb(var(--listing-row-accent-rgb) / 0.2) 16%,
      rgb(var(--listing-row-accent-rgb) / 0.2) 84%,
      rgb(var(--listing-row-accent-rgb) / 0.028) 94%,
      rgb(var(--listing-row-accent-rgb) / 0) 100%
    );
}

.listing-row-apartment-desktop.status-available .listing-row-status-indicator {
  background: var(--listing-row-accent);
}

.listing-row-apartment-desktop.status-reserved .listing-row-status-indicator {
  background: var(--listing-row-accent);
}

.listing-row-apartment-desktop.status-sold .listing-row-status-indicator {
  background: var(--listing-row-accent);
}

.listing-row-apartment-desktop.is-active .listing-row-status-indicator {
  color: var(--listing-row-accent);
  transform: scale(1.26);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.14),
    0 0 0 8px rgb(var(--listing-row-accent-rgb) / 0.34);
}

.listing-row-apartment-desktop.is-active .listing-row-status-indicator::after {
  opacity: 1;
  animation: desktop-status-indicator-pulse 1.7s ease-in-out infinite;
}

@keyframes desktop-status-indicator-pulse {
  0%,
  100% {
    transform: scale(0.72);
    opacity: 0.34;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.62;
  }
}

.listing-row-actions-menu[hidden],
.listing-row-actions-popover[hidden] {
  display: none !important;
}

.listing-row-actions-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  overflow: visible;
  isolation: isolate;
}

.listing-row-action-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--ui-color-control-line, #cad6e2);
  background: var(--effect-gradient-light, linear-gradient(180deg, #ffffff 0%, #edf3f8 100%));
  color: var(--ui-color-ink, #23496f);
  cursor: pointer;
  box-shadow: var(--effect-shadow-medium, 0 10px 24px rgba(18, 43, 71, 0.12));
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.listing-row-action-toggle:hover,
.listing-row-action-toggle:focus-visible {
  border-color: var(--ui-color-control-line, #aebfd1);
  color: var(--ui-color-ink, #163d66);
  box-shadow: var(--effect-shadow-medium, 0 12px 28px rgba(18, 43, 71, 0.16));
  outline: none;
}

.listing-row-actions-menu.is-open .listing-row-action-toggle {
  border-color: var(--accent-strong);
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: var(--color-text-inverse);
  box-shadow: var(--effect-shadow-medium, 0 12px 28px rgba(16, 39, 65, 0.22));
}

.listing-row-action-toggle-plus {
  display: block;
  line-height: 1;
  font-weight: 900;
}

.listing-row-actions-popover {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.46rem);
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  padding: 0.26rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--ui-color-control-line, #d6e0ea);
  box-shadow: var(--effect-shadow-medium, 0 14px 30px rgba(14, 35, 58, 0.18));
  z-index: 30;
}

.listing-row-actions-popover .listing-media-btn,
.listing-row-actions-popover .listing-mail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.listing-row-actions-popover .listing-media-btn:hover,
.listing-row-actions-popover .listing-media-btn:focus-visible,
.listing-row-actions-popover .listing-mail-btn:hover,
.listing-row-actions-popover .listing-mail-btn:focus-visible {
  outline: none;
}

.listing-row-apartment-desktop-header {
  position: sticky;
  top: 0;
  z-index: 24;
  display: block;
  margin: 0.42rem -0.3rem 0.42rem;
  width: calc(100% + 0.6rem);
  padding: 0;
  border: 0;
  background: var(--surface);
  color: var(--color-text-inverse);
  box-sizing: border-box;
}

.listing-row-apartment-desktop-header .listing-row-header-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(var(--listing-desktop-action-width) + 0.24rem);
  align-items: center;
  gap: 0.34rem;
  width: 100%;
  padding: 0.36rem 0.16rem 0.48rem 0.32rem;
  border: 1px solid var(--listing-idle-border);
  border-radius: 12px;
  background: var(--listing-idle-background);
  box-shadow: none;
}

.listing-row-apartment-desktop-header .listing-row-header-main {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.62fr) minmax(0, 0.86fr) minmax(0, 0.78fr) minmax(0, 1.18fr);
  align-items: center;
  justify-items: stretch;
  gap: 0.34rem;
  min-width: 0;
  width: 100%;
  padding: 0;
}

.listing-row-apartment-desktop-header .listing-row-header-name,
.listing-row-apartment-desktop-header .listing-row-header-rooms,
.listing-row-apartment-desktop-header .listing-row-header-area,
.listing-row-apartment-desktop-header .listing-row-header-floor,
.listing-row-apartment-desktop-header .listing-row-header-price {
  grid-column: auto;
}

.listing-row-apartment-desktop-header .listing-row-header-actions {
  display: block;
  width: calc(var(--listing-desktop-action-width) + 0.24rem);
  min-width: calc(var(--listing-desktop-action-width) + 0.24rem);
  min-height: 1px;
}

.listing-row-apartment-desktop {
  grid-template-columns:
    minmax(0, 1fr)
    var(--listing-desktop-action-width);
  gap: 0.28rem;
}

.listing-row-apartment-desktop .listing-row-select {
  grid-template-columns:
    minmax(0, 1.42fr)
    minmax(0, 0.62fr)
    minmax(0, 0.86fr)
    minmax(0, 0.78fr)
    minmax(0, 1.18fr);
  gap: 0.34rem;
}

.listing-row-apartment-desktop .listing-row-select > .listing-row-cell {
  min-width: 0;
}

.listing-row-apartment-desktop .listing-row-cell-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
}

.listing-row-apartment-desktop .listing-row-name-text {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-row-apartment-desktop .listing-row-actions-menu {
  grid-column: 2;
  align-self: center;
  justify-self: center;
}

.listing-row-apartment-desktop .listing-row-action-toggle {
  display: grid;
  place-items: center;
  width: 1.58rem;
  min-width: 1.58rem;
  height: 1.58rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  box-shadow: none;
}

.listing-row-apartment-desktop .listing-row-action-toggle-plus {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-0.01rem);
}

.listing-row-apartment-desktop .listing-row-action-toggle-more {
  width: var(--listing-desktop-action-width);
  min-width: var(--listing-desktop-action-width);
  height: 1.58rem;
  padding: 0 0.18rem;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: calc(0.65rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-solid);
  white-space: nowrap;
}

.listing-row-apartment-desktop .listing-row-action-toggle:hover,
.listing-row-apartment-desktop .listing-row-action-toggle:focus-visible {
  border-color: var(--accent-strong);
  background: transparent;
  color: var(--accent-strong);
  box-shadow: none;
}

.listing-row-apartment-desktop .listing-row-actions-menu.is-open .listing-row-action-toggle {
  border-color: var(--accent-strong);
  background: transparent;
  color: var(--accent-strong);
  box-shadow: none;
}

.listing-row-apartment-desktop .listing-row-actions-popover {
  right: calc(100% + 0.56rem);
  gap: 0.34rem;
  padding: 0.34rem;
  border-radius: 14px;
  border-color: color-mix(in srgb, var(--accent-strong) 92%, transparent);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 98%, transparent),
    color-mix(in srgb, var(--accent-strong) 98%, transparent)
  );
  box-shadow: var(--effect-shadow-medium, 0 16px 34px rgba(9, 24, 39, 0.28));
}

.listing-row-apartment-desktop .listing-row-actions-popover .listing-media-btn,
.listing-row-apartment-desktop .listing-row-actions-popover .listing-mail-btn {
  width: 1.88rem;
  min-width: 1.88rem;
  height: 1.88rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-inverse);
}

.listing-row-apartment-desktop .listing-row-actions-popover .listing-media-btn:hover,
.listing-row-apartment-desktop .listing-row-actions-popover .listing-media-btn:focus-visible,
.listing-row-apartment-desktop .listing-row-actions-popover .listing-mail-btn:hover,
.listing-row-apartment-desktop .listing-row-actions-popover .listing-mail-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-text-inverse);
}

.listing-row-apartment-desktop .listing-row-actions-popover .listing-media-icon {
  width: 1.08rem;
  height: 1.08rem;
}

.listing-row-apartment-desktop .listing-row-actions-popover .listing-media-icon-2d {
  width: 1.34rem;
  height: 1.34rem;
}

.listing-row-apartment-desktop .listing-row-actions-popover .listing-media-icon-3d {
  width: 1.42rem;
  height: 1.08rem;
}

.listing-row-apartment-desktop .listing-row-actions-popover .listing-media-icon-vr {
  width: 1.24rem;
  height: 1.18rem;
}

.listing-row-apartment-desktop .listing-row-actions .listing-media-text-primary,
.listing-row-apartment-desktop .listing-row-actions-popover .listing-media-text-primary {
  font-size: 0.54rem;
}

.listing-row-apartment-desktop .listing-row-actions .listing-media-360-icon,
.listing-row-apartment-desktop .listing-row-actions-popover .listing-media-360-icon {
  width: 1.12rem;
  height: 0.84rem;
}

.listing-row-apartment-desktop .listing-row-actions .listing-media-text-secondary,
.listing-row-apartment-desktop .listing-row-actions-popover .listing-media-text-secondary {
  font-size: 0.27rem;
}

.listing-row-apartment-desktop .listing-row-actions-popover .listing-mail-btn svg {
  width: 1.08rem;
  height: 1.08rem;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop {
  align-items: center;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-main,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-select {
  align-items: center;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-cell,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell {
  line-height: 1.05;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-cell {
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.94);
  text-transform: none;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  justify-self: center;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-cell:not(:last-child) {
  border-right: 1px solid var(--listing-idle-border);
  padding-right: 0.34rem;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-name {
  gap: 0.56rem;
  padding-block: 0.18rem;
}

.listing-section-title {
  margin: 0.92rem 0 0.42rem;
  padding: 0 0.18rem;
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ui-color-muted, #5e7392);
}

.listing-row-pzt {
  border-bottom-color: var(--ui-color-line, #e4ebf4);
}

.listing-row-pzt .listing-row-select {
  grid-template-columns: 1.58rem minmax(0, 1fr);
  padding-right: 0.18rem;
}

.listing-row-pzt .listing-row-meta {
  color: var(--ui-color-muted, #667b98);
}

.lead-form {
  display: grid;
  gap: 0.65rem;
}

.lead-form input,
.lead-form textarea {
  border: 1px solid var(--ui-border-control);
  background: var(--ui-surface-field);
  color: var(--ink);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: var(--ink-soft);
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--ui-surface-hover);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.lead-form .btn {
  margin-top: 0.2rem;
}

body :is(#leadModal, .lead-inline-host) .lead-form :is(input, textarea):focus {
  border-color: var(--accent);
  background: var(--ui-surface-hover);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

body :is(#leadModal, .lead-inline-host) .lead-modal-submit-btn:disabled {
  border-color: var(--ui-border-control) !important;
  background: var(--ui-surface-disabled) !important;
  color: var(--ui-text-disabled) !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 0.62rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: var(--on-accent, var(--color-text-inverse));
  box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(36, 59, 95, 0.26));
}

.btn-accent:hover {
  background: var(--accent-strong);
  color: var(--on-accent-strong, var(--color-text-inverse));
}

.btn:disabled {
  background: var(--ui-color-disabled-surface, #b8c2cf);
  cursor: not-allowed;
}

.status {
  margin: 0.75rem 0 0;
  color: var(--ui-color-ink, #355f8f);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem 4px 4px;
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--media-dialog-backdrop, rgba(24, 38, 56, 0.26));
  backdrop-filter: blur(2px);
}

body.has-frozen-modal-backdrop .modal-backdrop {
  overflow: hidden;
  background: var(--media-surface, #101d2d);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
}

body.has-frozen-modal-backdrop .modal-backdrop::before {
  content: "";
  position: absolute;
  inset: -30px;
  z-index: 0;
  background-image: var(--modal-backdrop-image);
  background-position: center;
  background-size: cover;
  filter: blur(14px) brightness(0.72) saturate(0.9);
  opacity: 0.82;
  transform: scale(1.06);
  pointer-events: none;
}

body.has-frozen-modal-backdrop .modal-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.07), transparent 40%),
    linear-gradient(135deg, rgba(6, 18, 33, 0.52), rgba(6, 18, 33, 0.72));
  pointer-events: none;
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  border-radius: 16px;
  background: var(--color-surface-paper);
  border: 1px solid var(--ui-color-line, #c7d8ee);
  padding: 1rem;
  box-shadow: var(--effect-shadow-large, 0 18px 46px rgba(15, 36, 64, 0.28));
}

.modal-card h2 {
  margin: 0 2rem 0.3rem 0;
  font-size: calc(1.15rem * var(--font-scale));
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

#visualizationsModalTitle.gallery-investment-label {
  margin: 0 2.1rem 0.46rem 0;
  display: inline-flex;
  width: fit-content;
  max-width: calc(100% - 2.2rem);
  font-size: calc(0.94rem * var(--font-scale));
  font-weight: 900;
  line-height: 1.2;
}

.modal-subtitle {
  margin: 0 0 0.8rem;
  color: var(--ui-color-muted, #587495);
}

.external-mode-actions {
  display: flex;
  gap: 0.56rem;
  justify-content: flex-end;
}

.external-mode-modal-card {
  grid-template-rows: minmax(0, 1fr) auto auto;
}

.external-mode-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--ui-color-line, #c8d8ec);
  border-radius: 12px;
  background: var(--color-surface-paper);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
}

.external-mode-modal-card {
  width: min(1400px, calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  max-width: calc(100vw - (var(--popup-edge-gap, 4px) * 2));
  height: min(92vh, calc(100dvh - (var(--popup-edge-gap, 4px) * 2)));
  max-height: calc(100dvh - (var(--popup-edge-gap, 4px) * 2));
}

.external-mode-frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: var(--color-surface-paper);
  display: block;
}

.external-mode-stage .gallery-empty {
  width: 100%;
  min-height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-modal-card {
  width: min(1180px, calc(100vw - 8px));
  max-width: calc(100vw - 8px);
  max-height: calc(100dvh - 1rem - 4px);
  height: min(82vh, calc(100dvh - 1rem - 4px));
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  row-gap: 8px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--ui-color-line, #c7d8ee);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 251, 255, 0.96) 100%);
  box-shadow: 0 24px 56px rgba(16, 39, 70, 0.28);
  padding: 0.9rem;
}

#visualizationsModal {
  padding: 1rem 4px 4px;
  place-items: center;
}

#visualizationsModal .gallery-modal-card {
  margin: 0 auto;
}

#visualizationsModal .modal-subtitle {
  margin: 0 0 0.15rem;
  color: var(--ui-color-muted, #567291);
}

.gallery-stage {
  position: relative;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  padding: 0;
}

.gallery-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 12px;
  border: 1px solid var(--ui-color-line, #c8d8ec);
  background: var(--color-surface-paper);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  touch-action: pan-y;
}

.gallery-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 0.34rem;
  background: var(--media-loading-light, rgba(244, 248, 255, 0.78));
  pointer-events: none;
}

.gallery-loading .loader-text {
  color: var(--ui-color-ink, #36597e);
  text-shadow: none;
}

.gallery-loading[hidden] {
  display: none !important;
}

.apartment3d-loader-progress {
  width: min(300px, 70%);
  height: 1.5px;
  border-radius: 999px;
  background: rgba(188, 206, 232, 0.62);
  overflow: hidden;
}

.apartment3d-loader-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-surface-paper);
  transition: width 0.18s ease;
}

.gallery-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(66vh, calc(82dvh - 250px));
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.gallery-empty {
  margin: 0;
  padding: 0.9rem 1rem;
  max-width: min(92%, 640px);
  color: var(--ui-color-muted, #4d6788);
  text-align: center;
}

.gallery-counter {
  margin: 0;
  min-width: 4.2rem;
  text-align: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ui-color-ink, #2e4663);
  font-size: calc(0.8rem * var(--font-scale));
  font-weight: 700;
}

.viewer-visualizations-inline-host {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: block;
  overflow: hidden;
  background: #000000;
}

.viewer-visualizations-inline-host[hidden] {
  display: none !important;
}

body.is-viewer-visualizations-open #timeModeGroup,
body.is-viewer-visualizations-open #seasonGroup,
body.is-viewer-vr360-open #timeModeGroup,
body.is-viewer-vr360-open #seasonGroup {
  display: none !important;
}

body.is-viewer-visualizations-open #overlayViewerControl,
body.is-viewer-visualizations-open #infoViewerControl,
body.is-viewer-visualizations-open .viewer-info-stack,
body.is-viewer-visualizations-open #hotspotLayer,
body.is-viewer-visualizations-open #trackingOverlayCanvas,
body.is-viewer-visualizations-open #trackingOverlaySvg,
body.is-viewer-vr360-open #overlayViewerControl,
body.is-viewer-vr360-open #infoViewerControl,
body.is-viewer-vr360-open .viewer-info-stack,
body.is-viewer-vr360-open #hotspotLayer,
body.is-viewer-vr360-open #trackingOverlayCanvas,
body.is-viewer-vr360-open #trackingOverlaySvg {
  display: none !important;
}

body.is-viewer-visualizations-open #spinCompass,
body.is-viewer-vr360-open #spinCompass {
  display: none !important;
}

body.is-viewer-visualizations-open .viewer-utility-dock,
body.is-viewer-vr360-open .viewer-utility-dock {
  display: none !important;
}

.gallery-modal-card.is-inline-viewer-modal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  display: block;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: #000000;
  box-shadow: none;
  overflow: hidden;
}

.gallery-modal-card.is-inline-viewer-modal .gallery-stage {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border-radius: 0;
}

.gallery-modal-card.is-inline-viewer-modal .gallery-media-wrap {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: #000000;
}

.gallery-modal-card.is-inline-viewer-modal .gallery-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
}

.gallery-modal-card.is-inline-viewer-modal .gallery-loading {
  background: var(--media-loading-dark, rgba(0, 0, 0, 0.68));
}

.gallery-modal-card.is-inline-viewer-modal .gallery-loading .loader-text {
  color: var(--color-text-inverse);
}

.gallery-modal-card.is-inline-viewer-modal .gallery-empty {
  color: rgba(255, 255, 255, 0.9);
}

#visualizationsModal .apartment2d-top-actions {
  display: none !important;
}

.gallery-thumbs {
  position: absolute;
  left: 50%;
  top: 0.95rem;
  right: auto;
  bottom: auto;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.4rem;
  max-width: min(88%, 900px);
  padding: 0.35rem 0.45rem;
  border-radius: 14px;
  background: var(--media-thumbs-background, linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.46) 100%));
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  overflow-x: auto;
  overflow-y: hidden;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  z-index: 7;
  width: auto;
  min-width: 2.16rem;
  min-height: 2rem;
  padding: 0.38rem 0.56rem;
  border-radius: 8px;
  border: 1px solid rgba(185, 205, 230, 0.72);
  background: var(--surface);
  color: var(--scene-control-ink, #244465);
  box-shadow: none;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.gallery-nav-btn svg {
  display: block;
  width: 1.08rem;
  height: 1.08rem;
}

.gallery-nav-btn:hover {
  border-color: rgba(185, 205, 230, 0.82);
  background: var(--surface);
  color: var(--accent);
}

.gallery-nav-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.gallery-nav-btn-prev {
  left: 0.7rem;
  transform: translateY(-50%);
}

.gallery-nav-btn-next {
  right: 0.7rem;
  transform: translateY(-50%);
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 5.4rem;
  height: 3.45rem;
  padding: 0;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.gallery-thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.56);
}

.gallery-thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.78), 0 10px 22px rgba(0, 0, 0, 0.32);
}

.gallery-thumb-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-close-btn {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  bottom: auto;
  z-index: 7;
  width: auto;
  min-width: 2.16rem;
  min-height: 2rem;
  padding: 0.38rem 0.56rem;
  border-radius: 8px;
  border: 1px solid rgba(185, 205, 230, 0.72);
  background: var(--surface);
  color: #244365;
  cursor: pointer;
  box-shadow: none;
  display: grid;
  place-items: center;
}

.gallery-close-btn:hover {
  border-color: rgba(185, 205, 230, 0.82);
  background: var(--surface);
  color: var(--accent);
}

.gallery-close-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gallery-close-btn svg {
  display: block;
  width: 1.08rem;
  height: 1.08rem;
}

.gallery-mobile-dots {
  display: none;
}

@media (width < 1000px), (orientation: portrait) {
  .gallery-thumbs {
    display: none !important;
  }

  .gallery-nav-btn {
    width: calc(2.14rem * var(--mobile-building-density));
    height: calc(2.14rem * var(--mobile-building-density));
    min-width: calc(2.14rem * var(--mobile-building-density));
    min-height: calc(2.14rem * var(--mobile-building-density));
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: var(--color-surface-paper);
    color: var(--accent);
    box-shadow: none;
  }

  .gallery-nav-btn-prev {
    left: 0.45rem;
  }

  .gallery-nav-btn-next {
    right: 0.45rem;
  }

  .gallery-nav-btn-prev,
  .gallery-nav-btn-next {
    display: none !important;
  }

  .gallery-close-btn {
    top: auto;
    right: 16px;
    bottom: 8px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: var(--color-text-inverse);
    font-size: 0;
    box-shadow: none;
  }

  .gallery-close-btn svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 1px 2px var(--palette-navy));
  }

  .gallery-mobile-dots {
    position: absolute;
    top: calc(0.58rem * var(--mobile-building-density));
    left: 50%;
    z-index: 8;
    width: min(74%, calc(18rem * var(--mobile-building-density)));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.28rem * var(--mobile-building-density));
    transform: translateX(-50%);
    pointer-events: none;
  }

  .gallery-mobile-dots[hidden] {
    display: none !important;
  }

  .gallery-mobile-dot {
    width: calc(0.38rem * var(--mobile-building-density));
    height: calc(0.38rem * var(--mobile-building-density));
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 4px rgba(5, 18, 32, 0.28);
    transition:
      width 160ms ease,
      background-color 160ms ease,
      opacity 160ms ease;
  }

  .gallery-mobile-dot.is-active {
    width: calc(1.15rem * var(--mobile-building-density));
    background: var(--color-surface-paper);
  }

  .gallery-nav-btn:not(.gallery-close-btn):hover,
  .gallery-nav-btn:not(.gallery-close-btn):focus-visible {
    border-color: var(--accent-strong);
    background: var(--color-surface-paper-hover);
    color: var(--accent-strong);
    box-shadow: none;
  }

  .gallery-close-btn:hover,
  .gallery-close-btn:focus-visible {
    border: 0;
    background: transparent;
    color: var(--color-text-inverse);
    box-shadow: none;
  }
}

.gallery-modal-card.is-inline-viewer-modal .apartment2d-topbar,
.gallery-modal-card.is-inline-viewer-modal .apartment2d-meta-row {
  display: none !important;
}


.apartment-media-modal-card {
  width: fit-content;
  max-width: calc(100vw - (var(--popup-edge-gap, 4px) * 2));
  max-height: calc(100dvh - 1rem - 4px);
  height: auto;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  row-gap: 8px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--ui-color-line, #c7d8ee);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 255, 0.96) 100%);
  box-shadow: var(--effect-shadow-large, 0 24px 56px rgba(16, 39, 70, 0.28));
  padding: 0.9rem;
}

#leadModal .lead-modal-card {
  --popup-content-width: min(calc(100vw - 64px), 760px);
  width: min(calc(100vw - (var(--popup-edge-gap, 4px) * 2)), calc(var(--popup-content-width) + 1.8rem));
  max-width: calc(100vw - (var(--popup-edge-gap, 4px) * 2));
  grid-template-rows: auto minmax(0, 1fr) auto;
}

#apartment2dModal .apartment-media-modal-card {
  --apartment2d-content-width: min(calc(100vw - 64px), 1040px);
  --popup-content-width: var(--apartment2d-content-width);
  height: auto;
  max-height: calc(100dvh - (var(--popup-edge-gap, 4px) * 2));
  grid-template-rows: auto auto auto;
}

#apartment2dModal .apartment-media-modal-card[data-asset-kind="pdf"] {
  --apartment2d-content-width: min(calc(100vw - 48px), 1400px);
  height: min(92vh, calc(100dvh - (var(--popup-edge-gap, 4px) * 2)));
  grid-template-rows: minmax(0, 1fr) auto auto;
}

#apartment3dModal .apartment-media-modal-card {
  --popup-content-width: min(calc(100vw - 64px), 1320px);
  height: min(92dvh, calc(100dvh - (var(--popup-edge-gap, 4px) * 2)));
  max-height: calc(100dvh - (var(--popup-edge-gap, 4px) * 2));
  grid-template-rows: minmax(0, 1fr) auto auto;
}

:is(#apartment2dModal, #apartment3dModal) .apartment-media-modal-card {
  width: min(calc(100vw - (var(--popup-edge-gap, 4px) * 2)), calc(var(--popup-content-width) + 1.8rem));
  max-width: calc(100vw - (var(--popup-edge-gap, 4px) * 2));
}

#apartment3dModal .apartment-media-modal-card {
  width: fit-content;
}

#externalModeModal .external-mode-modal-card,
#visualizationsModal .gallery-modal-card {
  --popup-content-width: 100%;
}

:is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-topbar {
  box-sizing: border-box;
  width: min(100%, var(--popup-content-width));
  max-width: min(100%, var(--popup-content-width));
  min-height: 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: var(--accent);
}

:is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-topbar .list-investment {
  margin: 0;
  min-width: 0;
  width: auto;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--color-text-inverse);
  display: inline-flex;
  align-items: center;
  font-size: calc(0.9rem * var(--font-scale));
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-normal);
  line-height: var(--lh-control);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-top-actions {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#apartment2dModal .apartment2d-download-inline {
  min-height: 1.8rem;
  padding: 0.2rem 0.58rem;
  gap: 0.22rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-text-inverse);
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-compact);
  letter-spacing: var(--tracking-normal);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

#apartment2dModal .apartment2d-download-inline:hover {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.24);
  color: var(--color-text-inverse);
}

#apartment2dModal .apartment2d-download-inline.is-disabled,
#apartment2dModal .apartment2d-download-inline[aria-disabled="true"] {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.62);
}

:is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-close-inline {
  min-width: 1.8rem;
  width: 1.8rem;
  min-height: 1.8rem;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-text-inverse);
  font-size: calc(0.92rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-solid);
}

#apartment3dModal .apartment3d-back-inline {
  width: auto;
  min-width: 4.2rem;
  padding: 0.18rem 0.72rem;
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: var(--fw-heavy);
  line-height: 1.1;
  white-space: nowrap;
}

:is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-meta-row {
  width: min(100%, var(--popup-content-width));
  max-width: min(100%, var(--popup-content-width));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

:is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-status {
  margin: 0;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: var(--ui-color-ink, #2e4663);
  font-size: calc(0.8rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-control);
  white-space: nowrap;
  justify-self: end;
}

:is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-details {
  margin: 0;
  color: var(--ui-color-ink, #2e4663);
  font-size: calc(0.8rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: 1.3;
  min-width: 0;
  text-align: left;
}

#apartment2dModal .apartment-plan-stage {
  width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  max-width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  margin-inline: auto;
  min-height: 0;
  height: auto;
  border: 1px solid var(--ui-color-line, #c8d8ec);
  border-radius: 12px;
  background: var(--color-surface-paper);
  overflow: hidden;
  align-items: flex-start;
  justify-content: flex-start;
}

#apartment2dModal .apartment-media-modal-card[data-asset-kind="image"] .apartment-plan-stage {
  height: var(--apartment2d-stage-height, auto);
}

#apartment2dModal .apartment-media-modal-card[data-asset-kind="pdf"] .apartment-plan-stage {
  height: 100%;
}

#apartment2dModal .apartment-plan-image,
#apartment2dModal .apartment-plan-pdf {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
}

#apartment2dModal .apartment-plan-image {
  height: auto;
  max-height: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: block;
}

#apartment3dModal .apartment3d-layout {
  width: fit-content;
  max-width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  height: 100%;
  margin-inline: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(270px, 340px);
  align-items: stretch;
  gap: 10px;
}

#apartment3dModal .apartment-spin-stage {
  width: fit-content;
  max-width: min(960px, calc(100vw - 430px));
  height: 100%;
  min-height: 0;
  margin-inline: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  overflow: visible;
  padding: 0;
}

#apartment2dModal .apartment2d-topbar,
#apartment2dModal .apartment2d-meta-row,
#apartment3dModal .apartment2d-topbar,
#apartment3dModal .apartment2d-meta-row {
  width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  max-width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  margin-inline: auto;
}

#apartment3dModal .apartment2d-topbar,
#apartment3dModal .apartment2d-meta-row {
  width: 100%;
  max-width: 100%;
}

#apartment2dModal .apartment-plan-pdf {
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: var(--color-surface-paper);
  display: block;
}

#apartment3dModal .apartment-spin-image {
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border: 1px solid var(--ui-color-line, #c8d8ec);
  border-radius: 12px;
  background: var(--color-surface-paper);
  display: block;
}

.apartment3d-room-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.viewer-apartment3d-card-room-layer {
  z-index: 4;
}

.apartment3d-room-label {
  --info-feature-offset-x: 10px;
  --info-feature-offset-y: calc(-100% - 0.7rem);
  --info-feature-tail-height: 1.08rem;
  --apartment3d-room-fill: var(--room-tone-interior);
  --apartment3d-room-fill-active: var(--room-tone-interior-active);
  --apartment3d-room-shadow: color-mix(in srgb, var(--feature-pink) 20%, transparent);
  position: absolute;
  z-index: 5;
  left: var(--label-x, 50%);
  top: var(--label-y, 50%);
  transform: translate(var(--info-feature-offset-x), var(--info-feature-offset-y));
  transform-origin: 0 100%;
  min-width: 0;
  max-width: min(17rem, 24vw);
  padding: 0.28rem 0.82rem 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--color-text-inverse);
  box-shadow: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: var(--fw-heavy);
  line-height: var(--lh-solid);
  letter-spacing: var(--tracking-normal);
  text-align: center;
  text-shadow: none;
  cursor: pointer;
  pointer-events: auto;
  isolation: isolate;
  transition: none;
}

.apartment3d-room-label-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.apartment3d-room-label-number {
  display: none;
}

.apartment3d-room-label::before {
  content: "";
  position: absolute;
  inset: 0 0 calc(-1 * var(--info-feature-tail-height)) 0;
  z-index: -1;
  background: var(--apartment3d-room-fill);
  -webkit-mask: no-repeat center / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 78' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M4 0H96Q100 0 100 4V43Q100 47 96 47H12L0 78V4Q0 0 4 0Z'/%3E%3C/svg%3E");
  mask: no-repeat center / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 78' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M4 0H96Q100 0 100 4V43Q100 47 96 47H12L0 78V4Q0 0 4 0Z'/%3E%3C/svg%3E");
  filter: drop-shadow(0 8px 18px rgba(9, 17, 28, 0.18));
}

.apartment3d-room-label.is-active {
  z-index: 6;
  padding: 0.34rem 0.96rem 0.38rem;
  font-size: calc(0.84rem * var(--font-scale));
  font-weight: var(--fw-black);
}

.apartment3d-room-label.is-active::before {
  background: var(--apartment3d-room-fill-active, var(--info-feature-fill-active));
  filter: drop-shadow(0 10px 22px var(--apartment3d-room-shadow, color-mix(in srgb, var(--effect-color-pink, rgb(118, 20, 44)) 28%, transparent)));
}

.apartment3d-room-label.is-muted {
  opacity: 1;
}

/* One desktop bubble template, matching the PZT labels actually rendered in LOCATION. */
html:not([data-viewer-layout="mobile"]) :is(.pzt-feature-label:not(.is-building-compact-info):not(.is-mobile-compact-info), .apartment3d-room-label) {
  --desktop-info-pointer-size: 0.78rem;
  --desktop-info-radius: 12px;
  min-width: 0;
  min-height: 1.82rem;
  max-width: min(12.8rem, 18vw);
  padding: 0.24rem 0.6rem 0.28rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 0;
  border-radius: var(--desktop-info-radius);
  background: var(--scene-bubble-fill, var(--feature-pink));
  box-shadow: none;
  font-family: var(--font-ui);
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: var(--fw-semibold);
  line-height: 1.12;
  letter-spacing: var(--tracking-normal);
  text-align: center;
}

html:not([data-viewer-layout="mobile"]) :is(.pzt-feature-label:not(.is-building-compact-info):not(.is-mobile-compact-info), .apartment3d-room-label)::before {
  content: none;
  display: none;
}

html:not([data-viewer-layout="mobile"]) :is(.pzt-feature-label:not(.is-building-compact-info):not(.is-mobile-compact-info), .apartment3d-room-label)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-1 * var(--desktop-info-pointer-size) * 0.52);
  width: var(--desktop-info-pointer-size);
  height: var(--desktop-info-pointer-size);
  z-index: -1;
  background: var(--scene-bubble-fill, var(--feature-pink));
  border-radius: 0;
  transform: translateX(-50%) rotate(45deg);
}

html:not([data-viewer-layout="mobile"]) :is(.pzt-feature-label:not(.is-building-compact-info):not(.is-mobile-compact-info), .apartment3d-room-label):is(.is-active, .is-interactive-selected) {
  font-size: calc(0.84rem * var(--font-scale));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--effect-color-pink, rgb(118, 20, 44)) 28%, transparent);
}

html:not([data-viewer-layout="mobile"]) .apartment3d-room-label {
  --scene-bubble-fill: var(--apartment3d-room-fill);
  transform: translate(-50%, calc(-100% - var(--desktop-info-pointer-size)));
  transform-origin: 50% 100%;
}

html:not([data-viewer-layout="mobile"]) .apartment3d-room-label.is-active {
  --scene-bubble-fill: var(--apartment3d-room-fill-active);
}

html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) .apartment3d-room-label:not(.is-active) {
  color: var(--palette-navy);
  filter: drop-shadow(1px 0 var(--apartment3d-room-fill))
    drop-shadow(-1px 0 var(--apartment3d-room-fill))
    drop-shadow(0 1px var(--apartment3d-room-fill))
    drop-shadow(0 -1px var(--apartment3d-room-fill));
}

html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) .apartment3d-room-label:not(.is-active),
html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) .apartment3d-room-label:not(.is-active)::after {
  background: var(--color-surface-paper);
}

html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) .apartment3d-room-label.is-active:not(.is-room-tone-external):not(.is-room-tone-garden):not(.is-room-tone-parking) {
  color: var(--on-selection);
}

/* Pink scene labels share idle/selected colors; compact building bubbles retain filled icons. */
html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) :is(
  .apartment3d-room-label:not(.is-room-tone-external):not(.is-room-tone-garden):not(.is-room-tone-parking),
  .location-hotspot-link.is-info-feature,
  .pzt-feature-label:not(.is-building-compact-info)
):not(.is-active):not(.is-interactive-selected) {
  color: var(--palette-pink);
}

html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) :is(
  .location-hotspot-link.is-info-feature,
  .pzt-feature-label:not(.is-building-compact-info)
):not(.is-active):not(.is-interactive-selected) {
  --info-feature-fill: var(--color-surface-paper);
  box-shadow: none;
  filter: drop-shadow(1px 0 var(--palette-pink))
    drop-shadow(-1px 0 var(--palette-pink))
    drop-shadow(0 1px var(--palette-pink))
    drop-shadow(0 -1px var(--palette-pink));
}

html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) .location-hotspot-link.is-info-feature:not(.is-active):not(.is-interactive-selected)::before {
  background: var(--color-surface-paper);
  filter: none;
}

html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) .pzt-feature-label:not(.is-building-compact-info):not(.is-active):not(.is-interactive-selected),
html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) .pzt-feature-label:not(.is-building-compact-info):not(.is-active):not(.is-interactive-selected)::after {
  background: var(--color-surface-paper);
}

html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) .pzt-feature-label:not(.is-building-compact-info):not(.is-active):not(.is-interactive-selected) :is(.pzt-feature-label-title, .pzt-feature-label-icon, .pzt-feature-label-icon-svg) {
  color: inherit;
}

html:not([data-viewer-layout="mobile"]) body:not([data-theme-mode="DARK"]) :is(.listing-card, .viewer-tour-room, .apartment3d-room-label, .viewer-tour-point):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 5px;
}

.apartment3d-room-vr-label.hotspot {
  z-index: 8;
  width: 2.18rem;
  min-width: 2.18rem;
  max-width: 2.18rem;
  height: 2.18rem;
  min-height: 2.18rem;
  max-height: 2.18rem;
  color: var(--accent);
  pointer-events: auto;
  filter: drop-shadow(0 8px 16px rgba(3, 14, 26, 0.34));
}

.apartment3d-room-panel {
  --apartment3d-fs-row: calc(0.92rem * var(--font-scale));
  --apartment3d-fs-small: calc(0.66rem * var(--font-scale));
  --apartment3d-ink: var(--color-text-on-paper);
  --apartment3d-muted: var(--color-text-muted-on-paper);
  --apartment3d-rule: #d7e2ec;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ui-color-line, #c8d8ec);
  border-radius: 12px;
  background: var(--color-surface-paper);
  font-family: var(--font-ui);
  overflow: hidden;
}

.apartment3d-card-heading {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--apartment3d-rule);
  min-width: 0;
}

.apartment3d-card-title {
  margin: 0;
  min-width: 0;
  color: var(--apartment3d-ink);
}

.apartment3d-room-section {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: start;
  gap: 6px;
}

.apartment3d-section-title {
  margin: 0 0 6px;
  color: var(--apartment3d-muted);
  text-transform: uppercase;
}

.apartment3d-section-title-placeholder {
  min-height: calc(var(--apartment3d-fs-small) * 1.2);
}

.apartment3d-room-list {
  min-height: 0;
  overflow: auto;
  display: grid;
  align-content: start;
  padding-right: 2px;
  padding-left: 0.35rem;
}

.apartment3d-room-row {
  --apartment3d-room-fill: var(--room-tone-interior);
  --apartment3d-room-fill-active: var(--room-tone-interior-active);
  --apartment3d-room-shadow: color-mix(in srgb, var(--feature-pink) 20%, transparent);
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 0.72rem;
  row-gap: 2px;
  padding: 0.52rem 0.1rem 0.52rem 0;
  border: 0;
  border-bottom: 1px solid var(--apartment3d-rule);
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.apartment3d-room-row:hover,
.apartment3d-room-row.is-active {
  background: transparent;
}

.apartment3d-room-row:last-child {
  border-bottom: 0;
}

.apartment3d-room-row-marker {
  min-width: 0;
  display: inline-grid;
  place-items: center;
  justify-self: center;
}

.apartment3d-room-row-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--apartment3d-room-fill, #9aa8b9);
  box-shadow: 0 0 0 3px var(--apartment3d-room-shadow, rgba(95, 107, 124, 0.12));
  justify-self: center;
}

.apartment3d-room-row.is-active .apartment3d-room-row-dot {
  background: var(--apartment3d-room-fill-active, var(--info-feature-fill-active));
  transform: scale(1.45);
  box-shadow: 0 0 0 5px var(--apartment3d-room-shadow, color-mix(in srgb, var(--feature-pink-active) 20%, transparent));
}

.apartment3d-room-row-number {
  display: none;
}

.apartment3d-room-row.is-room-tone-external,
.apartment3d-room-label.is-room-tone-external {
  --apartment3d-room-fill: var(--room-tone-external);
  --apartment3d-room-fill-active: var(--room-tone-external-active);
  --apartment3d-room-shadow: rgba(11, 61, 99, 0.22);
}

.apartment3d-room-row.is-room-tone-garden,
.apartment3d-room-label.is-room-tone-garden {
  --apartment3d-room-fill: var(--room-tone-garden);
  --apartment3d-room-fill-active: var(--room-tone-garden-active);
  --apartment3d-room-shadow: rgba(47, 143, 95, 0.22);
}

.apartment3d-room-row.is-room-tone-parking,
.apartment3d-room-label.is-room-tone-parking {
  --apartment3d-room-fill: var(--room-tone-parking);
  --apartment3d-room-fill-active: var(--room-tone-parking-active);
  --apartment3d-room-shadow: rgba(58, 63, 70, 0.24);
}

.apartment3d-room-row-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--apartment3d-ink);
  font-family: var(--font-ui);
  font-size: var(--apartment3d-fs-row);
  font-weight: var(--fw-heavy);
  line-height: var(--lh-control);
  white-space: nowrap;
}

.apartment3d-room-row-type {
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--apartment3d-muted);
  font-family: var(--font-ui);
  font-size: var(--apartment3d-fs-small);
  font-weight: var(--fw-bold);
  line-height: var(--lh-control);
  white-space: nowrap;
}

.apartment3d-room-row-area {
  color: var(--apartment3d-ink);
  font-family: var(--font-ui);
  font-size: var(--apartment3d-fs-row);
  font-weight: var(--fw-heavy);
  line-height: var(--lh-control);
  white-space: nowrap;
}

.apartment3d-room-row-vr {
  grid-column: 4;
  grid-row: 1 / span 2;
  justify-self: end;
  align-self: center;
  padding: 0.14rem 0.34rem;
  border-radius: 999px;
  background: rgba(6, 62, 92, 0.1);
  color: var(--accent);
  font-family: var(--font-ui);
  font-size: calc(0.58rem * var(--font-scale));
  font-weight: var(--fw-black);
  line-height: var(--lh-solid);
  letter-spacing: 0.04em;
}

.apartment3d-room-total {
  margin-top: auto;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--apartment3d-rule);
  color: var(--apartment3d-ink);
}

.apartment3d-room-total-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 10px;
}

.apartment3d-room-total-row > span {
  color: var(--apartment3d-ink);
  font-size: calc(1rem * var(--font-scale));
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-weight: var(--fw-black);
  line-height: 1.08;
  letter-spacing: -0.013em;
  text-transform: none;
}

.apartment3d-room-summary {
  min-width: 0;
  color: var(--apartment3d-ink);
  font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
  font-size: calc(1rem * var(--font-scale));
  font-weight: var(--fw-black);
  line-height: 1.08;
  letter-spacing: -0.013em;
  white-space: normal;
  text-align: right;
}

.apartment3d-card-note {
  align-self: end;
  padding-top: 8px;
  border-top: 1px solid var(--apartment3d-rule);
  color: var(--apartment3d-muted);
}

.apartment3d-card-note h4 {
  margin: 0 0 3px;
  color: var(--apartment3d-muted);
  font-family: var(--font-ui);
  font-size: var(--apartment3d-fs-small);
  font-weight: var(--fw-bold);
  line-height: var(--lh-control);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.apartment3d-card-note p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: calc(var(--apartment3d-fs-small) * 1.03);
  font-weight: var(--fw-semibold);
  line-height: 1.34;
  text-align: justify;
  text-align-last: left;
}

.apartment3d-card-note p + p {
  margin-top: 5px;
}

.apartment3d-room-empty {
  margin: 0;
  align-self: start;
  padding: 0.72rem 0.1rem;
  border: 1px dashed var(--ui-color-line, #c9d7e8);
  border-width: 1px 0;
  border-radius: 0;
  background: transparent;
  color: var(--ui-color-muted, #72879f);
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: 1.32;
}

#visualizationsModal .gallery-counter-inline {
  min-width: 4.2rem;
  text-align: right;
}

#leadModal .lead-form-shell {
  width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  max-width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  margin-inline: auto;
  min-height: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--ui-color-line, #c8d8ec);
  border-radius: 12px;
  background: var(--color-surface-paper);
}

#leadModal .apartment2d-meta-row,
#leadModal .lead-modal-actionbar {
  width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  max-width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  margin-inline: auto;
}

#leadModal .lead-form {
  gap: 8px;
}

#leadModal .lead-form input,
#leadModal .lead-form textarea {
  border: 1px solid var(--ui-border-control);
  background: var(--ui-surface-field);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.62rem 0.7rem;
  font-size: calc(0.8rem * var(--font-scale));
  font-weight: 600;
  line-height: 1.3;
}

#leadModal .lead-form textarea {
  min-height: 7rem;
  resize: vertical;
}

:is(#leadModal, .lead-inline-host) .lead-privacy-notice {
  display: grid;
  gap: 0.26rem;
  margin-top: -0.08rem;
  padding-top: 0.1rem;
}

:is(#leadModal, .lead-inline-host) .lead-privacy-summary {
  margin: 0;
  color: var(--ui-color-muted, #49627e);
  font-size: calc(0.7rem * var(--font-scale));
  font-weight: 600;
  line-height: 1.45;
  white-space: pre-line;
}

:is(#leadModal, .lead-inline-host) .lead-privacy-link {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: 800;
  line-height: 1.35;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  cursor: pointer;
}

:is(#leadModal, .lead-inline-host) .lead-privacy-link:hover {
  color: var(--accent-strong);
}

#leadModal .lead-status {
  margin: 0;
  min-height: 1.2rem;
  color: var(--ui-color-ink, #355f8f);
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-normal);
}

#leadModal .lead-modal-actionbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: var(--accent);
}

#leadModal .lead-modal-actionbar-title {
  margin: 0;
  min-width: 0;
  color: var(--color-text-inverse);
  font-size: calc(0.9rem * var(--font-scale));
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

#leadModal .lead-modal-actionbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.42rem;
}

#leadModal .lead-modal-close-btn,
#leadModal .lead-modal-submit-btn {
  min-height: 1.86rem;
  padding: 0.22rem 0.68rem;
  border-radius: 10px;
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  box-shadow: none;
}

#leadModal .lead-modal-close-btn {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.16);
  color: var(--color-text-inverse);
}

#leadModal .lead-modal-close-btn:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.24);
  color: var(--color-text-inverse);
}

#leadModal .lead-modal-submit-btn {
  border: 1px solid var(--color-border-inverse);
  background: var(--color-surface-paper);
  color: var(--accent);
}

#leadModal .lead-modal-submit-btn:hover {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-strong);
}

#privacyPolicyModal .privacy-policy-modal-card {
  width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  padding: 0.55rem;
  row-gap: 0.45rem;
}

#privacyPolicyModal .privacy-policy-modal-meta,
#privacyPolicyModal .privacy-policy-content-shell,
#privacyPolicyModal .privacy-policy-modal-actionbar {
  width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  max-width: min(var(--popup-content-width), calc(100vw - (var(--popup-edge-gap, 4px) * 2)));
  margin-inline: auto;
}

#privacyPolicyModal .privacy-policy-content-shell {
  min-height: 0;
  max-height: min(56vh, 560px);
  overflow: auto;
  padding: 0.95rem 1rem;
  border: 1px solid var(--ui-color-line, #c8d8ec);
  border-radius: 12px;
  background: var(--color-surface-paper);
}

#privacyPolicyModal .privacy-policy-content {
  margin: 0;
  color: var(--ui-color-ink, #233a57);
  font-size: calc(0.78rem * var(--font-scale));
  font-weight: 600;
  line-height: 1.58;
  white-space: pre-wrap;
}

#privacyPolicyModal .lead-modal-actionbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.6rem;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: var(--accent);
}

#privacyPolicyModal .lead-modal-actionbar-title {
  margin: 0;
  min-width: 0;
  color: var(--color-text-inverse);
  font-size: calc(0.9rem * var(--font-scale));
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

#privacyPolicyModal .lead-modal-actionbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.42rem;
}

#privacyPolicyModal .lead-modal-close-btn {
  min-height: 1.86rem;
  padding: 0.22rem 0.68rem;
  border-radius: 10px;
  border: 1px solid var(--color-border-inverse);
  background: var(--color-surface-paper);
  color: var(--accent);
  font-size: calc(0.76rem * var(--font-scale));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
  box-shadow: none;
}

#privacyPolicyModal .lead-modal-close-btn:hover {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-strong);
}

@media (width < 1000px), (orientation: portrait) {
  .lead-inline-host {
    display: none !important;
  }

  :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-topbar {
    padding: 6px 6px;
    gap: 6px;
  }

  :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-topbar .list-investment {
    font-size: calc(0.82rem * var(--font-scale));
  }

  :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-top-actions {
    gap: 6px;
  }

  #apartment2dModal .apartment2d-download-inline {
    max-width: 6.9rem;
    padding: 0.2rem 0.46rem;
    font-size: calc(0.7rem * var(--font-scale));
  }

  #apartment2dModal .apartment2d-download-extra {
    display: none;
  }

  :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-close-inline {
    min-width: 1.66rem;
    width: 1.66rem;
    min-height: 1.66rem;
  }

  #apartment3dModal .apartment3d-back-inline {
    width: auto;
    min-width: 3.7rem;
    padding-inline: 0.58rem;
    font-size: calc(0.7rem * var(--font-scale));
  }

  :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal, #visualizationsModal) .apartment2d-meta-row {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  /* Popupy mobile: 2D/3D/360/Kontakt - marginesy wewnętrzne x2 mniejsze */
  #leadModal .lead-modal-card,
  #apartment2dModal .apartment-media-modal-card,
  #apartment3dModal .apartment-media-modal-card,
  #externalModeModal .external-mode-modal-card {
    padding: 0.45rem;
    row-gap: 4px;
  }

  #leadModal .lead-modal-card {
    width: min(calc(100vw - (var(--popup-edge-gap, 0.3rem) * 2)), calc(var(--popup-content-width) + 0.9rem));
    padding: 0 !important;
    row-gap: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--color-surface-paper);
    box-shadow: var(--effect-shadow-large, 0 18px 40px rgba(15, 31, 54, 0.14));
    overflow: hidden;
  }

  :is(#apartment2dModal, #apartment3dModal) .apartment-media-modal-card {
    width: min(calc(100vw - (var(--popup-edge-gap, 0.3rem) * 2)), calc(var(--popup-content-width) + 0.9rem));
  }

  #apartment3dModal .apartment-media-modal-card {
    width: min(calc(100vw - (var(--popup-edge-gap, 0.3rem) * 2)), calc(var(--popup-content-width) + 0.9rem));
  }

  #leadModal .apartment2d-meta-row {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.68rem 0.8rem;
    border: 0;
    border-radius: 0;
    background: var(--color-surface-paper);
    grid-template-columns: minmax(0, 1fr);
  }

  #leadModal #leadModalSubtitle,
  #leadModal .apartment2d-details {
    color: #1f3652;
    font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
    font-size: calc(0.86rem * var(--font-scale));
    font-weight: var(--fw-black);
    letter-spacing: -0.013em;
    line-height: 1.08;
    white-space: pre-line;
  }

  #leadModal .apartment2d-status {
    display: none !important;
  }

  #leadModal .lead-form-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 0;
    display: grid;
    gap: 0.45rem;
    align-content: start;
    padding: 0.75rem;
    border: 0;
    border-radius: 0;
    background: var(--color-surface-paper);
  }

  #leadModal .lead-form {
    gap: 0.45rem;
  }

  #leadModal .lead-form input,
  #leadModal .lead-form textarea {
    border: 1px solid var(--ui-border-control);
    background: var(--ui-surface-field);
    color: var(--ink);
    border-radius: 10px;
    padding: 0.46rem 0.56rem;
    font-size: calc(0.7rem * var(--font-scale));
    font-weight: 600;
    line-height: 1.35;
  }

  #leadModal .lead-form textarea {
    min-height: 5.2rem;
    resize: vertical;
  }

  :is(#leadModal, .lead-inline-host) .lead-privacy-summary {
    font-size: calc(0.66rem * var(--font-scale));
  }

  :is(#leadModal, .lead-inline-host) .lead-privacy-link {
    font-size: calc(0.68rem * var(--font-scale));
  }

  #leadModal .lead-status {
    margin: 0;
    min-height: 1.1rem;
    color: #33577f;
    font-size: calc(0.7rem * var(--font-scale));
    font-weight: var(--fw-semibold);
  }

  #leadModal .lead-modal-actionbar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.68rem 0.75rem;
    border: 0;
    border-radius: 0;
    background: var(--color-surface-paper);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
  }

  #leadModal .lead-modal-actionbar-title {
    margin: 0;
    min-width: 0;
    color: #1f3652;
    font-size: calc(0.84rem * var(--font-scale));
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
  }

  #leadModal .lead-modal-actionbar-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.42rem;
  }

  #leadModal .lead-modal-close-btn,
  #leadModal .lead-modal-submit-btn {
    min-height: 1.95rem;
    padding: 0.24rem 0.68rem;
    border-radius: 10px;
    font-size: calc(0.72rem * var(--font-scale));
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    box-shadow: none;
  }

  #leadModal .lead-modal-close-btn {
    border: 1px solid #c8d8ec;
    background: var(--color-surface-paper);
    color: #214061;
  }

  #leadModal .lead-modal-close-btn:hover {
    border-color: #9fb6d1;
    background: var(--color-surface-paper-hover);
    color: #1f3652;
  }

  #leadModal .lead-modal-submit-btn {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--on-accent);
  }

  #leadModal .lead-modal-submit-btn:hover {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    color: var(--on-accent-strong);
  }

  #privacyPolicyModal .privacy-policy-modal-card {
    width: min(calc(100vw - (var(--popup-edge-gap, 0.3rem) * 2)), calc(var(--popup-content-width) + 0.9rem));
    padding: 0 !important;
    row-gap: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--color-surface-paper);
    box-shadow: var(--effect-shadow-large, 0 18px 40px rgba(15, 31, 54, 0.14));
    overflow: hidden;
  }

  #privacyPolicyModal .privacy-policy-modal-meta {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.68rem 0.8rem;
    border: 0;
    border-radius: 0;
    background: var(--color-surface-paper);
    grid-template-columns: minmax(0, 1fr);
  }

  #privacyPolicyModal .apartment2d-status {
    display: none !important;
  }

  #privacyPolicyModal .privacy-policy-content-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    max-height: min(56vh, 480px);
    padding: 0 0.75rem 0.75rem;
    border: 0;
    border-radius: 0;
    background: var(--color-surface-paper);
  }

  #privacyPolicyModal .privacy-policy-content {
    font-size: calc(0.72rem * var(--font-scale));
    line-height: 1.55;
  }

  #privacyPolicyModal .lead-modal-actionbar {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.68rem 0.75rem;
    border: 0;
    border-radius: 0;
    background: var(--color-surface-paper);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
  }

  #privacyPolicyModal .lead-modal-actionbar-title {
    margin: 0;
    min-width: 0;
    color: #1f3652;
    font-size: calc(0.84rem * var(--font-scale));
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0;
  }

  #privacyPolicyModal .lead-modal-actionbar-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.42rem;
  }

  #privacyPolicyModal .lead-modal-close-btn {
    min-height: 1.95rem;
    padding: 0.24rem 0.68rem;
    border-radius: 10px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--on-accent);
    font-size: calc(0.72rem * var(--font-scale));
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    box-shadow: none;
  }

  #privacyPolicyModal .lead-modal-close-btn:hover {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    color: var(--on-accent-strong);
  }

  :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal) .apartment2d-topbar {
    padding: 3px 4px;
    gap: 4px;
  }

  :is(#leadModal, #apartment2dModal, #apartment3dModal, #externalModeModal) .apartment2d-meta-row {
    gap: 4px;
  }

  #apartment3dModal .apartment3d-layout {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) minmax(13.5rem, 36vh);
    gap: 6px;
  }

  #apartment3dModal .apartment-spin-stage {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
  }

  #apartment3dModal .apartment-spin-image {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
  }

  .apartment3d-room-panel {
    max-height: none;
    padding: 8px 9px;
    gap: 6px;
  }

  .apartment3d-room-row {
    padding: 0.42rem 0.1rem 0.42rem 0;
  }

  .apartment3d-card-note p {
    font-size: var(--apartment3d-fs-small);
  }

  .apartment3d-room-label {
    max-width: 8.6rem;
    padding: 0.3rem 0.44rem;
    font-size: calc(0.66rem * var(--font-scale));
  }

  #leadModal,
  #apartment3dModal,
  #apartment2dModal,
  #externalModeModal {
    --popup-edge-gap: max(0.3rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --popup-top-gap: calc(0.35rem + env(safe-area-inset-top, 0px));
  }
}

#leadModal,
#apartment3dModal,
#apartment2dModal,
#externalModeModal,
#visualizationsModal {
  padding: var(--popup-top-gap, 1rem) var(--popup-edge-gap, 4px) var(--popup-edge-gap, 4px);
  place-items: center;
}

.apartment-spin-stage {
  position: relative;
  min-height: 0;
  border: none;
  background: transparent;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(calc(100vw - 64px), 1040px);
  margin: 0 auto;
  padding: 0;
  user-select: none;
}

.apartment-plan-stage {
  position: relative;
  min-height: 0;
  border: none;
  background: transparent;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: min(calc(100vw - 64px), 1040px);
  margin: 0 auto;
  padding: 0;
}

.apartment-spin-image,
.apartment-plan-image {
  width: auto;
  height: auto;
  max-width: min(calc(100vw - 64px), 1040px);
  max-height: min(62vh, 560px);
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.apartment-spin-image {
  border: 1px solid var(--ui-color-line, #c8d8ec);
  border-radius: 12px;
  background: var(--color-surface-paper);
}

.apartment-plan-image {
  border: 1px solid var(--ui-color-line, #c8d8ec);
  border-radius: 12px;
  background: var(--color-surface-paper);
  max-height: min(62vh, 560px);
}

.apartment-plan-pdf {
  width: min(calc(100vw - 64px), 1040px);
  height: min(62vh, 560px);
  border: 1px solid var(--ui-color-line, #c8d8ec);
  border-radius: 12px;
  background: var(--color-surface-paper);
}

#apartment2dModal .apartment-plan-stage > [hidden] {
  display: none !important;
}

.apartment-plan-actions {
  margin: 0 0 0.18rem;
  display: flex;
  justify-content: flex-start;
  width: min(calc(100vw - 64px), 1040px);
}

.apartment-plan-download-btn {
  min-height: 1.92rem;
  padding: 0.3rem 0.68rem;
  border-radius: 10px;
  border: 1px solid var(--ui-color-control-line, #bfcde0);
  background: var(--ui-color-surface, #eef3f9);
  color: var(--ui-color-ink, #2e4766);
  font-size: calc(0.78rem * var(--font-scale));
  font-weight: 700;
  letter-spacing: -0.004em;
  box-shadow: none;
}

.apartment-plan-download-btn:hover {
  border-color: var(--ui-color-control-line, #a9bdd5);
  background: var(--ui-color-surface, #e5edf7);
  color: var(--ui-color-ink, #233b57);
}

.apartment-plan-download-btn.is-disabled,
.apartment-plan-download-btn[aria-disabled="true"] {
  background: var(--ui-color-surface, #eef3f9);
  border-color: var(--ui-color-control-line, #c8d4e4);
  color: var(--ui-color-muted, #89a0bc);
}

.apartment-plan-close-btn {
  min-width: 1.92rem;
  width: 1.92rem;
  padding: 0;
  font-size: calc(1rem * var(--font-scale));
  font-weight: 700;
  line-height: 1;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid var(--ui-color-control-line, #b9cde6);
  background: var(--ui-color-surface, #f4f8ff);
  color: var(--ui-color-ink, #46698d);
  font-size: calc(1.15rem * var(--font-scale));
  cursor: pointer;
}

.brand-name,
.brand-sub,
.viewer-title,
:is(#selectedMeta, .viewer-overlay-meta),
.control-label,
.toggle-btn,
.view-mode-btn,
.list-head h2,
#resultCount,
select,
input,
textarea,
.listing-title,
.badge,
.listing-meta,
.listing-price,
.btn,
.status,
.modal-card h2,
.modal-subtitle {
  letter-spacing: 0;
}

.empty {
  margin: 0;
  padding: 1rem 0.8rem;
  border: 1px dashed var(--ui-color-control-line, #bfd0e6);
  border-radius: 12px;
  color: var(--ink-soft);
  background: var(--ui-color-surface, #f5f9ff);
}

@media (max-width: 1180px), (orientation: portrait) {
  .landing-stage {
    width: min(94vw, 1100px);
    padding: 1.2rem;
  }

  .viewer-powered-link {
    display: inline-flex;
  }

  .brand-rail {
    display: none;
  }

  .app-shell {
    width: calc(100% - 1rem);
    max-width: none;
    margin: 0.5rem auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    height: auto;
    min-height: auto;
    align-items: start;
  }

  body.mobile-building-shell .app-shell {
    gap: 0;
    padding: 0 0 calc(4.9rem + var(--mobile-safe-bottom)) 0;
    background: var(--ui-color-surface, #f4f7fb);
    grid-template-rows: auto 1fr;
    align-items: stretch;
    height: var(--mobile-app-height, 100dvh);
    min-height: var(--mobile-app-height, 100dvh);
    overflow: hidden;
    box-sizing: border-box;
  }

  body.mobile-preboot-shell[data-viewer-intro-state="loading"] .list-column,
  body.mobile-preboot-shell[data-viewer-intro-state="loading"] .viewer-control-panel {
    display: none !important;
  }

  body.mobile-preboot-shell[data-viewer-intro-state="loading"]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    min-height: var(--mobile-app-height, 100dvh);
    background:
      var(--media-intro-background, radial-gradient(circle at 50% 44%, rgba(19, 31, 45, 0.98) 0%, rgba(7, 13, 22, 0.99) 54%, #020408 100%));
    pointer-events: none;
  }

  body.mobile-preboot-shell[data-viewer-intro-state="loading"] .viewer-card {
    gap: 0;
    overflow: hidden;
    min-height: clamp(300px, 42vh, 390px);
  }

  body.mobile-preboot-shell[data-viewer-intro-state="loading"] .viewer-stage {
    width: 100%;
    height: clamp(300px, 42vh, 390px);
    min-height: clamp(300px, 42vh, 390px);
    border-radius: 0;
    margin: 0;
  }

  .viewer-card {
    border-radius: 16px;
    display: grid;
    grid-template-rows: auto auto;
    align-items: start;
    justify-items: stretch;
    overflow: visible;
    gap: 0.46rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .viewer-stage {
    border-radius: 16px;
    margin: 0 auto;
    max-width: 100%;
  }

  .list-column {
    margin-left: 0;
  }

  .viewer-card {
    height: auto;
  }

  .list-card {
    border-radius: 16px;
    padding: 0.88rem;
    height: auto;
  }

  .listings {
    max-height: 44vh;
  }

  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .filters select,
  .filter-select-btn {
    min-height: 1.9rem;
  }

  .viewer-info-stack {
    top: 0.68rem;
    left: 0.68rem;
    max-width: min(78%, 680px);
  }

  .viewer-control-panel {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    padding: 0.34rem;
    border-radius: 10px;
    gap: 0.28rem;
    width: 100%;
  }

  .viewer-nav-dock,
  .viewer-utility-dock {
    position: static;
    transform: none;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .viewer-mode-panel-title {
    font-size: calc(0.6rem * var(--font-scale));
  }

  .viewer-corner-controls {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 0.26rem;
    width: 100%;
  }

  .viewer-control-panel .icon-control-group.with-label {
    display: grid;
    align-items: stretch;
    gap: 0.22rem;
  }

  .icon-control-label {
    font-size: calc(0.62rem * var(--font-scale));
  }

  .icon-toggle-btn {
    width: 1.72rem;
    height: 1.72rem;
    font-size: 0.9rem;
  }

  .viewer-view-group {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-width: 0;
    gap: 0.24rem;
    padding: 0;
  }

  .view-mode-btn {
    min-height: 1.72rem;
    padding: 0.22rem 0.34rem;
    border-radius: 8px;
  }

  .view-mode-btn-line {
    display: inline;
  }

  .viewer-powered-link {
    left: 0.72rem;
    bottom: 0.66rem;
    font-size: calc(0.78rem * var(--font-scale));
  }

  .listing-card {
    min-height: 90px;
    padding: 0.46rem 0.5rem 0.46rem 1.96rem;
  }

  .listing-card::before {
    width: 1.36rem;
  }

  .listing-card::after {
    left: 0.12rem;
    width: 1.08rem;
    font-size: calc(0.56rem * var(--font-scale));
  }

  .listing-card.has-actions .listing-select {
    padding-right: 2rem;
  }

  .listing-actions-media {
    gap: 0.26rem;
    width: calc((2.16rem * 3) + (0.26rem * 2));
    min-width: calc((2.16rem * 3) + (0.26rem * 2));
    flex-basis: calc((2.16rem * 3) + (0.26rem * 2));
  }

  .listing-actions-contact {
    right: 0.36rem;
    top: 0.28rem;
  }

  .listing-media-btn {
    width: 2.16rem;
    min-width: 2.16rem;
    height: 2.16rem;
    border-radius: 12px;
  }

  .listing-mail-btn {
    width: 1.56rem;
    height: 1.56rem;
    border-radius: 10px;
  }

  .listing-card-footer {
    margin-top: 0.22rem;
    padding-top: 0.2rem;
    gap: 0.34rem;
  }

  .listing-media-icon {
    width: 0.98rem;
    height: 0.98rem;
  }

}

@media (width < 1000px), (orientation: portrait) {
  .landing-title {
    font-size: clamp(0.72rem, 4.8vw, 1.2rem);
  }

  .landing-powered {
    transform: translateX(16%);
    font-size: clamp(0.34rem, 1.5vw, 0.38rem);
  }

  :root {
    --mobile-safe-top: env(safe-area-inset-top, 0px);
    --mobile-safe-right: env(safe-area-inset-right, 0px);
    --mobile-safe-bottom: env(safe-area-inset-bottom, 0px);
    --mobile-safe-left: env(safe-area-inset-left, 0px);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) {
    --mobile-building-density: 1;
    --mobile-menu-scale: 0.79;
  }

  .mobile-blocker-shell {
    padding: 1.6rem 1.1rem;
  }

  .mobile-blocker-card {
    gap: 0.6rem;
  }

  .mobile-blocker-eyebrow {
    font-size: 0.72rem;
  }

  .mobile-blocker-title {
    font-size: clamp(1.28rem, 8vw, 1.8rem);
  }

  .mobile-blocker-text,
  .mobile-blocker-investment {
    font-size: 0.94rem;
  }

  body.mobile-sticky-viewer {
    overflow: hidden;
  }

  body.mobile-sticky-viewer.mobile-apartment-shell {
    background: var(--accent);
  }

  body.mobile-sticky-viewer .app-shell {
    height: calc(var(--mobile-app-height, 100dvh) - 0.75rem - var(--mobile-safe-top) - var(--mobile-safe-bottom));
    overflow: hidden;
  }

  body.mobile-sticky-viewer.mobile-apartment-shell .app-shell {
    height: calc(var(--mobile-app-height, 100dvh) - 0.75rem - var(--mobile-safe-top) - var(--mobile-safe-bottom));
    padding-bottom: calc((3.72rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-bottom));
    overflow: hidden;
    background: var(--accent);
  }

  body.mobile-sticky-viewer .viewer-column {
    position: sticky;
    top: calc(0.3rem + var(--mobile-safe-top));
    z-index: 14;
  }

  body.mobile-apartment-shell .viewer-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: sticky;
    top: 0;
    z-index: auto;
    background: transparent;
  }

  body.mobile-apartment-shell .viewer-column::after {
    display: none;
  }

  .viewer-column {
    display: grid;
    gap: 0.5rem;
    height: auto;
    min-height: 0;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-column {
    gap: 0;
    width: 100%;
    flex: 0 0 auto;
  }

  .mobile-viewer-topbar {
    display: flex;
    align-items: center;
    min-height: 3.1rem;
    padding: 0.8rem 1rem 0.72rem;
    border-radius: 16px;
    background: var(--accent);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-medium, 0 14px 28px rgba(7, 26, 43, 0.18));
  }

.mobile-view-menu-toggle { display: none; }

body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-viewer-topbar {
  /* Browser chrome already separates this in-flow header from the screen edge. */
  --mobile-topbar-safe-top: 0px;
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(0.72rem * var(--mobile-building-density));
  justify-content: flex-start;
  min-height: calc((3.15rem * var(--mobile-building-density)) + var(--mobile-topbar-safe-top));
  padding:
    calc((1.25rem * var(--mobile-building-density)) + var(--mobile-topbar-safe-top))
    calc(var(--mobile-ui-module, 4px) + var(--mobile-safe-right))
    calc(1.25rem * var(--mobile-building-density))
    calc((1rem * var(--mobile-building-density)) + var(--mobile-safe-left));
  border-radius: 0;
  background: var(--color-surface-paper);
  color: var(--accent);
  box-shadow: none;
}

@media (display-mode: standalone), (display-mode: fullscreen) {
  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-viewer-topbar {
    --mobile-topbar-safe-top: var(--mobile-safe-top);
  }
}

  body.mobile-apartment-shell .mobile-viewer-topbar {
    flex: 0 0 auto;
    z-index: 19;
  }

body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-viewer-topbar::after {
  display: none;
}

  .mobile-viewer-topbar-logo[hidden] {
    display: none !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-viewer-topbar-logo {
    width: calc(2.38rem * var(--mobile-building-density));
    height: calc(2.38rem * var(--mobile-building-density));
    border-radius: calc(12px * var(--mobile-building-density));
    border: 1px solid rgba(14, 52, 89, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--effect-shadow-small, 0 6px 16px rgba(7, 26, 43, 0.08));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-viewer-topbar-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .mobile-viewer-topbar-title {
    color: var(--color-text-inverse);
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
  }

body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-viewer-topbar-title {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--accent);
  font-size: calc(1.18rem * var(--mobile-building-density));
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

  .viewer-card {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    gap: 0;
    overflow: hidden;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-card {
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    width: 100%;
    margin: 0;
  }

  body.mobile-apartment-shell .viewer-card {
    flex: 0 0 auto;
    position: relative;
    z-index: auto;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-column {
    z-index: 18;
  }

  body.mobile-apartment-shell.is-viewer-apartment3d-open .viewer-card {
    z-index: 18;
    overflow: visible;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-vr360-open .viewer-column {
    z-index: 130;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-vr360-open .viewer-card {
    z-index: 18;
    overflow: visible;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-vr360-open .list-column {
    visibility: hidden;
    pointer-events: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .list-column {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
  }

  body.mobile-apartment-shell .viewer-apartment2d-panel {
    position: absolute;
    inset: 0;
    border-radius: 0;
    clip-path: none;
    background: var(--color-surface-paper);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
  }

  body.mobile-apartment-shell .viewer-apartment2d-surface {
    grid-row: 2;
    position: relative;
    inset: auto;
    border-radius: 0;
    padding: 0;
    display: grid;
    place-items: center;
    align-content: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
  }

  body.mobile-apartment-shell .viewer-apartment2d-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-width: 0;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
    display: block;
  }

  body.mobile-apartment-shell .viewer-apartment2d-pdf {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
  }

  body.mobile-apartment-shell .viewer-apartment2d-bar {
    grid-row: 1;
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    padding:
      calc(0.88rem * var(--mobile-building-density))
      calc((0.92rem * var(--mobile-building-density)) + var(--mobile-safe-right))
      calc(0.88rem * var(--mobile-building-density))
      calc((0.92rem * var(--mobile-building-density)) + var(--mobile-safe-left));
    border: 0;
    border-radius: 0;
    background: var(--accent);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
  }

  body.mobile-apartment-shell .viewer-apartment2d-title,
  body.mobile-apartment-shell .viewer-apartment2d-meta {
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .viewer-apartment2d-title {
    min-width: 0;
    font-family: var(--font-heading) !important;
    font-size: calc((1.14rem * var(--font-scale)) * var(--mobile-building-density)) !important;
    font-weight: var(--fw-heavy) !important;
    line-height: 1.01 !important;
    letter-spacing: var(--tracking-heading) !important;
    text-transform: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.mobile-apartment-shell .viewer-apartment2d-meta {
    color: rgba(239, 247, 255, 0.9);
  }

  body.mobile-apartment-shell .viewer-apartment2d-copy {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
    overflow: hidden;
  }

  body.mobile-apartment-shell .viewer-apartment2d-actions {
    display: flex;
    flex: 0 0 auto;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 0.34rem;
    flex-wrap: nowrap;
    margin-left: 0;
    transform: none;
    will-change: auto;
  }

  body.mobile-apartment-shell .viewer-apartment2d-actions .btn {
    min-width: 0;
    min-height: calc(2.38rem * var(--mobile-building-density));
    padding:
      calc(0.12rem * var(--mobile-building-density))
      calc(0.82rem * var(--mobile-building-density));
    border-radius: 999px;
    font-family: var(--font-heading) !important;
    font-size: var(--fs-small) !important;
    font-weight: var(--fw-heavy) !important;
    line-height: var(--lh-compact) !important;
    letter-spacing: var(--tracking-heading) !important;
    text-transform: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition:
      border-color 0.16s ease,
      background 0.16s ease,
      color 0.16s ease,
      transform 0.16s ease;
  }

  body.mobile-apartment-shell .viewer-apartment2d-download-btn {
    border: 1px solid rgba(255, 255, 255, 0.68);
    background: transparent;
    color: var(--color-text-inverse);
    box-shadow: none;
  }

  body.mobile-apartment-shell .viewer-apartment2d-download-btn:hover {
    border-color: rgba(255, 255, 255, 0.86);
    background: transparent;
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .viewer-apartment2d-download-btn:disabled,
  body.mobile-apartment-shell .viewer-apartment2d-download-btn[aria-disabled="true"] {
    border-color: rgba(255, 255, 255, 0.24);
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
    box-shadow: none;
  }

  body.mobile-apartment-shell .viewer-apartment2d-close-btn {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    box-shadow: none;
  }

  body.mobile-apartment-shell .viewer-apartment2d-close-btn:hover {
    background: transparent;
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .viewer-apartment2d-meta {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-semibold) !important;
  line-height: var(--lh-compact) !important;
  letter-spacing: var(--tracking-label) !important;
}

  body.mobile-apartment-shell .viewer-apartment3d-card-panel {
    position: absolute;
    inset: 0;
    grid-template-rows: minmax(0, 1fr);
    align-content: stretch;
    border-radius: 0;
    clip-path: none;
    background: #000000;
  }

  body.mobile-apartment-shell .viewer-apartment3d-card-main {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    grid-template-areas: "stage";
    min-height: 0;
    background: #000000;
  }

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-apartment3d-card-stage {
    min-height: 0;
    z-index: 1;
  }

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .viewer-apartment3d-card-room-label {
    --mobile-info-badge-size: 1.9rem;
    --mobile-info-pointer-size: 0.78rem;
    --mobile-info-radius: 12px;
    width: var(--mobile-info-badge-size);
    min-width: var(--mobile-info-badge-size);
    max-width: var(--mobile-info-badge-size);
    height: var(--mobile-info-badge-size);
    min-height: var(--mobile-info-badge-size);
    max-height: var(--mobile-info-badge-size);
    padding: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, calc(-100% - var(--mobile-info-pointer-size)));
    transform-origin: 50% 100%;
    border-radius: var(--mobile-info-radius);
    background: var(--color-surface-paper);
    box-shadow: none;
    color: var(--palette-navy);
    font-family: var(--font-ui);
    font-size: calc(0.82rem * var(--font-scale));
    font-weight: var(--fw-semibold);
    line-height: var(--lh-solid);
    text-align: center;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .viewer-apartment3d-card-room-label::before {
    content: none;
    display: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .viewer-apartment3d-card-room-label:not(.is-active) {
    filter: drop-shadow(1px 0 var(--apartment3d-room-fill))
      drop-shadow(-1px 0 var(--apartment3d-room-fill))
      drop-shadow(0 1px var(--apartment3d-room-fill))
      drop-shadow(0 -1px var(--apartment3d-room-fill));
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .viewer-apartment3d-card-room-label::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(-1 * var(--mobile-info-pointer-size) * 0.52);
    z-index: -1;
    width: var(--mobile-info-pointer-size);
    height: var(--mobile-info-pointer-size);
    border-radius: 0;
    background: var(--color-surface-paper);
    transform: translateX(-50%) rotate(45deg);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .viewer-apartment3d-card-room-label.is-active {
    padding: 0;
    background: var(--apartment3d-room-fill-active, var(--feature-pink));
    color: var(--color-text-inverse);
    box-shadow: 0 12px 24px var(--apartment3d-room-shadow, color-mix(in srgb, var(--effect-color-pink, rgb(118, 20, 44)) 28%, transparent));
    font-size: calc(0.82rem * var(--font-scale));
    font-weight: var(--fw-semibold);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .viewer-apartment3d-card-room-label.is-active::after {
    background: var(--apartment3d-room-fill-active, var(--feature-pink));
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .viewer-apartment3d-card-room-label .apartment3d-room-label-title {
    display: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .viewer-apartment3d-card-room-label .apartment3d-room-label-number {
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-apartment3d-card-expand-btn {
  display: none !important;
}

  body.mobile-apartment-shell .spin-gesture-hint {
    --spin-hint-width: clamp(3.8rem, 18vw, 4.9rem);
    --spin-hint-height: clamp(2.18rem, 10vw, 2.8rem);
    gap: 0.44rem;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .viewer-spin-hint {
    position: fixed !important;
    --spin-hint-left: 50%;
    --spin-hint-top: calc(var(--mobile-app-height, 100dvh) - ((3.72rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-bottom) + 2.2rem));
    z-index: 59 !important;
  }

  body.mobile-apartment-shell .viewer-apartment3d-card-side {
    display: none !important;
  }

  body.mobile-apartment-shell .viewer-apartment3d-card-titlebar,
  body.mobile-apartment-shell .viewer-apartment3d-card-meta {
    color: var(--color-text-inverse);
  }

body.mobile-apartment-shell .viewer-apartment3d-card-meta {
  color: rgba(239, 247, 255, 0.9);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) :is(.viewer-apartment3d-card-side, .viewer-apartment2d-room-sheet).apartment3d-room-panel {
  --apartment-card-mobile-padding-inline: calc(2rem * var(--mobile-building-density));
  --apartment-card-mobile-section-gap: 20px;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-side.apartment3d-room-panel {
  --apartment3d-room-total-space: calc(4.02rem * var(--mobile-building-density));
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--mobile-sheet-bottom-offset);
  z-index: 180;
  width: auto;
  height: var(--mobile-sheet-full-height);
  margin: 0;
  min-height: 0;
  max-height: none;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  padding: 0 !important;
  border: 0;
  border-radius: calc(18px * var(--mobile-building-density)) calc(18px * var(--mobile-building-density)) 0 0;
  background: var(--effect-gradient-light, linear-gradient(180deg, #f9fbfe 0%, #edf3fa 100%));
  box-shadow: var(--effect-shadow-sheet, 0 -18px 36px rgba(6, 17, 29, 0.16));
  color: var(--color-text-on-paper);
  overflow: hidden;
  pointer-events: auto;
  transform: translate3d(0, var(--mobile-sheet-y), 0);
  transform-origin: 50% 100%;
  transition: transform 0.32s cubic-bezier(0.2, 0.86, 0.18, 1);
  will-change: transform;
  backface-visibility: hidden;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open.is-mobile-sheet-dragging .viewer-apartment3d-card-side.apartment3d-room-panel {
  transition: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-copy-side {
  margin: 0;
  padding:
    var(--mobile-sheet-content-top-padding, 38px)
    var(--apartment-card-mobile-padding-inline)
    var(--apartment-card-mobile-section-gap);
  display: grid;
  gap: calc(0.24rem * var(--mobile-building-density));
  border-bottom: 0;
  position: relative;
  z-index: 2;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-room-sheet-toggle:not([hidden]) {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  width: 100%;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: var(--accent);
  cursor: grab;
  line-height: 0;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open.is-mobile-sheet-dragging .viewer-apartment3d-card-room-sheet-toggle:not([hidden]) {
  cursor: grabbing;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-room-sheet-grip {
  display: block;
  width: min(3.6rem, 18vw);
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22),
    0 3px 10px rgb(var(--accent-rgb) / 0.24);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-sheet-header-row {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: calc(0.46rem * var(--mobile-building-density));
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-back-to-listings-btn,
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment-card-share-actions .apartment-card-contact-btn:not([hidden]),
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment-share-btn[data-share-apartment="3d"] {
  position: relative;
  z-index: 8;
  flex: 0 0 auto;
  justify-self: end;
  min-width: calc(4.92rem * var(--mobile-building-density));
  min-height: calc(2.38rem * var(--mobile-building-density));
  display: inline-flex !important;
  padding:
    calc(0.12rem * var(--mobile-building-density))
    calc(0.82rem * var(--mobile-building-density))
    calc(0.12rem * var(--mobile-building-density))
    calc(0.62rem * var(--mobile-building-density));
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--color-text-inverse);
  box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-back-to-listings-btn > span,
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment-share-btn[data-share-apartment="3d"] > span {
  display: block;
  font-family: var(--font-heading) !important;
  font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density));
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-sheet-eyebrow {
  display: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-side .viewer-apartment3d-card-titlebar {
  color: var(--color-text-on-paper);
  font-family: var(--font-heading) !important;
  font-size: calc(1.02rem * var(--font-scale));
  font-weight: var(--fw-black) !important;
  line-height: 1.08;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-side .viewer-apartment3d-card-meta {
  display: none;
  color: var(--ui-color-muted, #647891);
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: var(--fw-semibold) !important;
  line-height: 1.18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-section {
  grid-row: 2;
  min-height: 0;
  overflow: hidden;
  padding:
    0
    var(--apartment-card-mobile-padding-inline)
    var(--apartment3d-room-total-space);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-section-title {
  display: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-list {
  min-height: 0;
  height: var(--apartment3d-room-list-height, auto);
  max-height: var(--apartment3d-room-list-height, none);
  display: grid;
  align-content: start;
  gap: 0;
  overflow-y: auto;
  padding: 0;
  border-radius: calc(12px * var(--mobile-building-density));
  background: var(--surface-alt);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-table-header {
  margin-bottom: var(--apartment-card-mobile-section-gap);
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns:
    minmax(0, 0.58fr)
    minmax(0, 1.74fr)
    minmax(0, 0.78fr);
  align-items: center;
  gap: 0;
  min-height: calc(2.34rem * var(--mobile-building-density));
  padding:
    calc(0.12rem * var(--mobile-building-density))
    calc(0.18rem * var(--mobile-building-density));
  border-radius: 999px;
  background: var(--accent-strong);
  color: var(--color-text-inverse);
  box-shadow: 0 8px 18px rgb(var(--accent-rgb) / 0.16);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-table-header-cell {
  min-width: 0;
  min-height: calc(2rem * var(--mobile-building-density));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 calc(0.16rem * var(--mobile-building-density));
  color: var(--color-text-inverse);
  font-family: var(--font-heading) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-heavy) !important;
  line-height: var(--lh-compact) !important;
  letter-spacing: var(--tracking-label) !important;
  text-align: center;
  text-transform: none !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-table-header-cell:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.42);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row {
  grid-template-columns:
    minmax(0, 0.58fr)
    minmax(0, 1.74fr)
    minmax(0, 0.78fr);
  column-gap: 0;
  min-height: calc(2.72rem * var(--mobile-building-density));
  padding:
    calc(0.52rem * var(--mobile-building-density))
    calc(0.18rem * var(--mobile-building-density));
  border-bottom-color: rgba(79, 109, 145, 0.12);
  background: transparent;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row:nth-of-type(even) {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(94, 122, 155, 0.03) 6%,
      rgba(94, 122, 155, 0.06) 16%,
      rgba(94, 122, 155, 0.06) 84%,
      rgba(94, 122, 155, 0.03) 94%,
      rgba(255, 255, 255, 0) 100%
    );
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row.is-active,
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row:nth-of-type(even).is-active {
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 0%, transparent) 0%,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 7%, transparent) 7%,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 18%, transparent) 17%,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 18%, transparent) 83%,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 7%, transparent) 93%,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 0%, transparent) 100%
    );
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(0.16rem * var(--mobile-building-density));
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row-dot {
  display: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row-number {
  width: calc(1.72rem * var(--mobile-building-density));
  height: calc(1.72rem * var(--mobile-building-density));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--apartment3d-room-fill);
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density));
  font-weight: var(--fw-black);
  line-height: var(--lh-solid);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 3px var(--apartment3d-room-shadow, color-mix(in srgb, var(--feature-pink-active) 18%, transparent));
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row.is-active .apartment3d-room-row-number {
  background: var(--apartment3d-room-fill-active);
  animation: apartment3d-room-number-pulse 1.6s ease-in-out infinite;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row-name,
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row-area {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-semibold) !important;
  line-height: var(--lh-compact) !important;
  letter-spacing: var(--tracking-label) !important;
  text-align: center;
  text-transform: none !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row-name {
  color: var(--color-text-on-paper);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row-area {
  color: var(--color-text-on-paper);
  font-variant-numeric: tabular-nums;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-row-vr {
  display: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-total {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--mobile-sheet-y, 0px);
  z-index: 7;
  min-height: var(--apartment3d-room-total-space);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: calc(0.42rem * var(--mobile-building-density));
  margin: 0;
  padding:
    calc(0.46rem * var(--mobile-building-density))
    var(--apartment-card-mobile-padding-inline)
    calc(0.78rem * var(--mobile-building-density));
  border-top-color: rgba(211, 224, 238, 0.94);
  background: var(--effect-gradient-light, linear-gradient(180deg, rgba(249, 251, 254, 0.96) 0%, #edf3fa 100%));
  box-shadow: var(--effect-shadow-sheet, 0 -10px 22px rgba(24, 48, 76, 0.1));
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-total-row {
  display: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .apartment3d-room-total-row > span,
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open #viewerApartment3dCardRoomSummary {
  color: var(--color-text-on-paper);
  font-family: var(--font-heading) !important;
  font-size: calc(0.9rem * var(--font-scale));
  font-weight: var(--fw-black) !important;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-column {
  z-index: 18;
}

body.mobile-apartment-shell.is-viewer-apartment2d-open .viewer-card {
  z-index: 18;
  overflow: visible;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .list-column {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dPanel.viewer-apartment2d-panel {
  position: absolute;
  inset: 0;
  z-index: 7;
  grid-template-rows: minmax(0, 1fr);
  border-radius: 0;
  clip-path: none;
  background: var(--color-surface-paper);
  overflow: visible;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dPanel .viewer-apartment2d-surface {
  grid-row: 1;
  border-radius: 0;
  background: var(--color-surface-paper);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dPanel .viewer-apartment2d-bar {
  display: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-room-sheet.apartment3d-room-panel {
  --apartment3d-room-total-space: calc(4.02rem * var(--mobile-building-density));
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--mobile-sheet-bottom-offset);
  z-index: 180;
  width: auto;
  height: var(--mobile-sheet-full-height);
  margin: 0;
  min-height: 0;
  max-height: none;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  padding: 0 !important;
  border: 0;
  border-radius: calc(18px * var(--mobile-building-density)) calc(18px * var(--mobile-building-density)) 0 0;
  background: var(--effect-gradient-light, linear-gradient(180deg, #f9fbfe 0%, #edf3fa 100%));
  box-shadow: var(--effect-shadow-sheet, 0 -18px 36px rgba(6, 17, 29, 0.16));
  color: var(--color-text-on-paper);
  overflow: hidden;
  pointer-events: auto;
  transform: translate3d(0, var(--mobile-sheet-y), 0);
  transform-origin: 50% 100%;
  transition: transform 0.32s cubic-bezier(0.2, 0.86, 0.18, 1);
  will-change: transform;
  backface-visibility: hidden;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open.is-mobile-sheet-dragging .viewer-apartment2d-room-sheet.apartment3d-room-panel {
  transition: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-copy-side {
  margin: 0;
  padding:
    var(--mobile-sheet-content-top-padding, 38px)
    var(--apartment-card-mobile-padding-inline)
    var(--apartment-card-mobile-section-gap);
  display: grid;
  gap: calc(0.24rem * var(--mobile-building-density));
  border-bottom: 0;
  position: relative;
  z-index: 2;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-room-sheet-toggle:not([hidden]) {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
  width: 100%;
  height: 28px;
  min-height: 28px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: var(--accent);
  cursor: grab;
  line-height: 0;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open.is-mobile-sheet-dragging .viewer-apartment2d-room-sheet-toggle:not([hidden]) {
  cursor: grabbing;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-room-sheet .viewer-apartment3d-card-room-sheet-grip {
  display: block;
  width: min(3.6rem, 18vw);
  height: 5px;
  border-radius: 999px;
  background: currentColor;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22),
    0 3px 10px rgb(var(--accent-rgb) / 0.24);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-sheet-header-row {
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: calc(0.46rem * var(--mobile-building-density));
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-sheet-actions {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: calc(0.34rem * var(--mobile-building-density));
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-room-sheet .viewer-apartment3d-card-titlebar {
  color: var(--color-text-on-paper);
  font-family: var(--font-heading) !important;
  font-size: calc(1.02rem * var(--font-scale));
  font-weight: var(--fw-black) !important;
  line-height: 1.08;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-room-sheet .viewer-apartment3d-card-meta {
  display: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-sheet-download-btn:not([hidden]) {
  flex: 0 0 auto;
  min-width: calc(4.92rem * var(--mobile-building-density));
  min-height: calc(2.38rem * var(--mobile-building-density));
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding:
    calc(0.12rem * var(--mobile-building-density))
    calc(0.7rem * var(--mobile-building-density));
  border: 1px solid rgba(22, 40, 61, 0.18);
  border-radius: 999px;
  background: var(--color-surface-paper);
  color: var(--accent);
  box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.08));
  font-family: var(--font-heading) !important;
  font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density)) !important;
  font-weight: var(--fw-black) !important;
  line-height: var(--lh-solid);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-sheet-download-btn:disabled,
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-sheet-download-btn[aria-disabled="true"] {
  border-color: rgba(22, 40, 61, 0.1);
  color: rgba(22, 40, 61, 0.36);
  box-shadow: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-back-to-listings-btn {
  position: relative;
  z-index: 8;
  flex: 0 0 auto;
  justify-self: end;
  min-width: calc(4.92rem * var(--mobile-building-density));
  min-height: calc(2.38rem * var(--mobile-building-density));
  display: inline-flex !important;
  padding:
    calc(0.12rem * var(--mobile-building-density))
    calc(0.82rem * var(--mobile-building-density))
    calc(0.12rem * var(--mobile-building-density))
    calc(0.62rem * var(--mobile-building-density));
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: var(--color-text-inverse);
  box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-back-to-listings-btn > span {
  display: block;
  font-family: var(--font-heading) !important;
  font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density));
  font-weight: var(--fw-black);
  letter-spacing: var(--tracking-label);
  line-height: var(--lh-solid);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-section {
  grid-row: 2;
  min-height: 0;
  overflow: hidden;
  padding:
    0
    var(--apartment-card-mobile-padding-inline)
    var(--apartment3d-room-total-space);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-list {
  min-height: 0;
  height: var(--apartment3d-room-list-height, auto);
  max-height: var(--apartment3d-room-list-height, none);
  display: grid;
  align-content: start;
  gap: 0;
  overflow-y: auto;
  padding: 0;
  border-radius: calc(12px * var(--mobile-building-density));
  background: var(--surface-alt);
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-table-header {
  margin-bottom: var(--apartment-card-mobile-section-gap);
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns:
    minmax(0, 0.58fr)
    minmax(0, 1.74fr)
    minmax(0, 0.78fr);
  align-items: center;
  gap: 0;
  min-height: calc(2.34rem * var(--mobile-building-density));
  padding:
    calc(0.12rem * var(--mobile-building-density))
    calc(0.18rem * var(--mobile-building-density));
  border-radius: 999px;
  background: var(--accent-strong);
  color: var(--color-text-inverse);
  box-shadow: 0 8px 18px rgb(var(--accent-rgb) / 0.16);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-table-header-cell {
  min-width: 0;
  min-height: calc(2rem * var(--mobile-building-density));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 calc(0.16rem * var(--mobile-building-density));
  color: var(--color-text-inverse);
  font-family: var(--font-heading) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-heavy) !important;
  line-height: var(--lh-compact) !important;
  letter-spacing: var(--tracking-label) !important;
  text-align: center;
  text-transform: none !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-table-header-cell:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.42);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row {
  grid-template-columns:
    minmax(0, 0.58fr)
    minmax(0, 1.74fr)
    minmax(0, 0.78fr);
  column-gap: 0;
  min-height: calc(2.72rem * var(--mobile-building-density));
  padding:
    calc(0.52rem * var(--mobile-building-density))
    calc(0.18rem * var(--mobile-building-density));
  border-bottom-color: rgba(79, 109, 145, 0.12);
  background: transparent;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row:nth-of-type(even) {
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(94, 122, 155, 0.03) 6%,
      rgba(94, 122, 155, 0.06) 16%,
      rgba(94, 122, 155, 0.06) 84%,
      rgba(94, 122, 155, 0.03) 94%,
      rgba(255, 255, 255, 0) 100%
    );
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row.is-active,
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row:nth-of-type(even).is-active {
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 0%, transparent) 0%,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 7%, transparent) 7%,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 18%, transparent) 17%,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 18%, transparent) 83%,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 7%, transparent) 93%,
      color-mix(in srgb, var(--apartment3d-room-fill-active) 0%, transparent) 100%
    );
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(0.16rem * var(--mobile-building-density));
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row-dot {
  display: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row-number {
  width: calc(1.72rem * var(--mobile-building-density));
  height: calc(1.72rem * var(--mobile-building-density));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--apartment3d-room-fill);
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density));
  font-weight: var(--fw-black);
  line-height: var(--lh-solid);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 3px var(--apartment3d-room-shadow, color-mix(in srgb, var(--feature-pink-active) 18%, transparent));
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row.is-active .apartment3d-room-row-number {
  background: var(--apartment3d-room-fill-active);
  animation: apartment3d-room-number-pulse 1.6s ease-in-out infinite;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row-name,
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row-area {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-semibold) !important;
  line-height: var(--lh-compact) !important;
  letter-spacing: var(--tracking-label) !important;
  text-align: center;
  text-transform: none !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row-name,
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row-area {
  color: var(--color-text-on-paper);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .apartment3d-room-row-area {
  font-variant-numeric: tabular-nums;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-room-total {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--mobile-sheet-y, 0px);
  z-index: 7;
  min-height: var(--apartment3d-room-total-space);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  gap: calc(0.42rem * var(--mobile-building-density));
  margin: 0;
  padding:
    calc(0.46rem * var(--mobile-building-density))
    var(--apartment-card-mobile-padding-inline)
    calc(0.78rem * var(--mobile-building-density));
  border-top-color: rgba(211, 224, 238, 0.94);
  background: var(--effect-gradient-light, linear-gradient(180deg, rgba(249, 251, 254, 0.96) 0%, #edf3fa 100%));
  box-shadow: var(--effect-shadow-sheet, 0 -10px 22px rgba(24, 48, 76, 0.1));
}

@keyframes apartment3d-room-number-pulse {
  0%,
  100% {
    transform: scale(1.04);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 0 0 4px color-mix(in srgb, var(--apartment3d-room-fill-active) 16%, transparent);
  }
  50% {
    transform: scale(1.14);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.24),
      0 0 0 5px color-mix(in srgb, var(--apartment3d-room-fill-active) 20%, transparent),
      0 0 0 12px color-mix(in srgb, var(--apartment3d-room-fill-active) 0%, transparent);
  }
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open
  .viewer-apartment3d-card-panel.is-expanded
  .viewer-apartment3d-card-side.apartment3d-room-panel {
  display: none !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-apartment3d-card-close-btn {
  display: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-vr360-panel {
  position: fixed;
  top: var(--viewer-vr360-mobile-top, calc((3.15rem * var(--mobile-building-density)) + var(--mobile-safe-top)));
  right: 0;
  bottom: var(--viewer-vr360-mobile-bottom, calc((3.72rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-bottom)));
  left: 0;
  width: auto;
  height: auto;
  z-index: 110;
  border-radius: 0;
  clip-path: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-vr360-panel.is-mobile-body-hosted {
  z-index: 150;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-vr360-placeholder {
  width: min(340px, calc(100% - 1.5rem));
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-vr360-bar {
  padding:
    calc(0.82rem * var(--mobile-building-density))
    calc((0.92rem * var(--mobile-building-density)) + var(--mobile-safe-right))
    calc(0.82rem * var(--mobile-building-density))
    calc((0.92rem * var(--mobile-building-density)) + var(--mobile-safe-left));
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-vr360-close-btn {
  min-height: calc(2.28rem * var(--mobile-building-density));
  padding:
    calc(0.12rem * var(--mobile-building-density))
    calc(0.82rem * var(--mobile-building-density));
  border-radius: 999px;
  font-family: var(--font-heading) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-heavy) !important;
  line-height: var(--lh-compact) !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-vr360-panel.is-apartment3d-card-embedded {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 12;
  border-radius: 0;
  clip-path: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-vr360-panel.is-apartment3d-card-embedded .viewer-vr360-bar {
  padding:
    calc(0.7rem * var(--mobile-building-density))
    calc(0.82rem * var(--mobile-building-density));
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-vr360-expand-btn {
  right: calc((0.82rem * var(--mobile-building-density)) + var(--mobile-safe-right));
  bottom: calc(0.82rem * var(--mobile-building-density));
  width: 2.48rem;
  height: 2.48rem;
  min-width: 2.48rem;
  min-height: 2.48rem;
  padding: 0;
  font-family: var(--font-heading) !important;
  font-size: 13px !important;
  font-weight: var(--fw-heavy) !important;
}


  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-card::before {
    content: none;
  }

  /* Only hide the main viewer intro here; card-specific intro overlays manage their own visibility. */
  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-viewer-intro-state="complete"] #viewerIntroOverlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  body:is(.mobile-preboot-shell, .mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) #viewerIntroOverlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    min-height: var(--mobile-app-height, 100dvh);
    border-radius: 0;
    pointer-events: auto;
  }

  body:is(.mobile-preboot-shell, .mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) #viewerIntroOverlay[hidden] {
    display: none !important;
  }

  body:is(.mobile-preboot-shell, .mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) .viewer-intro-progress {
    bottom: calc(var(--mobile-safe-bottom) + clamp(3.2rem, 10vh, 5.8rem));
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer)[data-viewer-intro-state="loading"] .list-column,
  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer)[data-viewer-intro-state="spinning"] .list-column {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.is-mobile-intro-spin-active:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) :is(
    .viewer-stage,
    .viewer-control-panel
  ) {
    pointer-events: none !important;
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) .viewer-intro-brand {
    left: 50%;
    top: 50%;
    min-width: 0;
    width: max-content;
    max-width: min(72vw, 170px);
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) .viewer-intro-brand-lockup {
    row-gap: 0.14rem;
    width: max-content;
    justify-items: center;
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) .viewer-intro-title {
    width: auto;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(0.7rem, 3.2vw, 1.05rem);
    line-height: 0.88;
    letter-spacing: -0.04em;
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) .viewer-intro-signature {
    width: auto;
    transform: none;
    text-align: center;
    white-space: nowrap;
    font-size: clamp(0.32rem, 1vw, 0.42rem);
    line-height: var(--lh-solid);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-stage {
    width: 100%;
    min-height: 0;
    border-radius: 0;
    margin: 0;
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) :is(
    .viewer-stage,
    .viewer-frame-image,
    .viewer-frame-canvas,
    .tracking-overlay-canvas,
    .tracking-overlay-svg,
    .hotspot-layer,
    .viewer-runtime-gradient-overlay
  ) {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
  }

  .viewer-control-panel {
    position: fixed;
    left: calc(0.42rem + var(--mobile-safe-left));
    right: calc(0.42rem + var(--mobile-safe-right));
    bottom: calc(0.42rem + var(--mobile-safe-bottom));
    z-index: 40;
    margin: 0;
    padding: 0.46rem;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--accent-strong) 12%, transparent);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--effect-shadow-medium, 0 18px 36px rgba(6, 17, 29, 0.22));
    gap: 0;
    display: block;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel {
    position: fixed !important;
    inset: auto 0 var(--mobile-safe-bottom) 0 !important;
    z-index: 60;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding:
      calc(0.44rem * var(--mobile-menu-scale) / 0.75)
      calc((0.4rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-right))
      calc(0.44rem * var(--mobile-menu-scale) / 0.75)
      calc((0.4rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-left));
    border: 0;
    border-top: 0;
    border-radius: 0;
    background: var(--accent);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
    isolation: isolate;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel::before {
    content: "";
    position: absolute;
    top: 0;
    height: calc(0.2rem * var(--mobile-menu-scale) / 0.75);
    border-radius: 0 0 999px 999px;
    background: var(--effect-gradient-light, linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 245, 251, 0.94) 100%));
    box-shadow: var(--effect-shadow-small, 0 1px 3px rgba(8, 23, 38, 0.22));
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition:
      left 0.2s ease,
      right 0.2s ease,
      opacity 0.16s ease;
  }

  body.mobile-apartment-shell .viewer-nav-dock {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: block !important;
  }

  .viewer-stage {
    order: 0;
  }

  body {
    overflow-x: hidden;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-link {
    width: 100%;
  }

  .app-shell {
    width: 100%;
    min-height: 100dvh;
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    padding:
      calc(0.34rem + var(--mobile-safe-top))
      calc(0.42rem + var(--mobile-safe-right))
      calc(5.9rem + var(--mobile-safe-bottom))
      calc(0.42rem + var(--mobile-safe-left));
    gap: 0.5rem;
    height: auto;
    align-content: start;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .app-shell {
    padding:
      0
      0
      calc((3.72rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-bottom))
      0;
    gap: 0;
    align-items: stretch;
  }

  .brand-rail {
    display: none;
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) .brand-rail {
    position: fixed;
    top: calc((4.65rem * var(--mobile-building-density, 1)) + var(--mobile-safe-top));
    right: calc(0.16rem + var(--mobile-safe-right));
    z-index: 38;
    display: flex;
    width: calc(1.34rem * var(--mobile-building-density, 1));
    height: auto !important;
    max-height: min(42vh, 17rem);
    border: 0;
    border-radius: 999px;
    background: rgba(7, 26, 43, 0.58);
    box-shadow: var(--effect-shadow-medium, 0 10px 24px rgba(3, 13, 24, 0.2));
    opacity: 0.72;
    pointer-events: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .brand-rail.is-apartment3d-card-hosted {
    z-index: 70;
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) .brand-rail-tag {
    gap: calc(0.22rem * var(--mobile-building-density, 1));
    padding:
      calc(0.34rem * var(--mobile-building-density, 1))
      calc(0.06rem * var(--mobile-building-density, 1))
      calc(0.38rem * var(--mobile-building-density, 1));
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) .brand-rail-mark {
    width: calc(1.02rem * var(--mobile-building-density, 1));
    height: calc(1.02rem * var(--mobile-building-density, 1));
    border-radius: calc(6px * var(--mobile-building-density, 1));
    font-size: calc(0.42rem * var(--font-scale));
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer) .brand-rail-name {
    color: rgba(255, 255, 255, 0.88);
    font-size: calc(0.54rem * var(--font-scale));
    font-weight: 900;
    letter-spacing: 0.02em;
  }

  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer)[data-viewer-intro-state="loading"] .brand-rail,
  body:is(.mobile-building-shell, .mobile-location-shell, .mobile-apartment-shell, .mobile-sticky-viewer)[data-viewer-intro-state="spinning"] .brand-rail {
    display: none;
  }

  .viewer-card,
  .viewer-stage,
  .list-card {
    border-radius: 14px;
  }

  .list-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body.mobile-building-shell .list-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-left: 0;
    min-height: 0;
    overflow: visible;
    position: relative;
    z-index: 18;
  }

  body.mobile-building-shell .list-card {
    display: block;
    flex: 1 1 auto;
    padding: 0 0 calc((4.28rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-bottom));
    border: 0;
    border-radius: calc(18px * var(--mobile-building-density)) calc(18px * var(--mobile-building-density)) 0 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.16) 100%),
      linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: none;
    margin-top: calc(-1.92rem * var(--mobile-building-density));
    height: auto;
    position: relative;
    z-index: 19;
    min-height: 0;
    overflow: hidden;
  }

  .landing-title {
    font-size: clamp(3.1rem, 19vw, 5.2rem);
  }

  .landing-powered {
    padding-left: min(24vw, 120px);
    font-size: clamp(0.92rem, 4.2vw, 1.08rem);
  }

  body.mobile-sticky-viewer .list-column {
    height: var(--mobile-list-height, auto);
    min-height: 0;
    margin-top: 0.42rem;
  }

  body.mobile-sticky-viewer.mobile-apartment-shell .list-column {
    height: auto;
    margin-top: 0;
  }

  body.mobile-apartment-shell .list-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-left: 0;
    min-height: 0;
    overflow: visible;
    position: relative;
    z-index: 18;
    background: var(--accent);
  }

  body.mobile-apartment-shell .list-column::before {
    display: none;
  }

  body.mobile-apartment-shell .list-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: calc(18px * var(--mobile-building-density)) calc(18px * var(--mobile-building-density)) 0 0;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.16) 100%),
      linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: none;
    margin-top: calc(-1.92rem * var(--mobile-building-density));
    position: relative;
    z-index: 19;
    overflow: hidden;
  }

body.mobile-apartment-shell .list-mobile-shell {
    margin: 0;
    padding:
      calc(0.98rem * var(--mobile-building-density))
      var(--mobile-panel-padding-inline)
      calc(0.62rem * var(--mobile-building-density));
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.mobile-apartment-shell .list-mobile-shell .list-investment {
    display: none;
  }

body.mobile-apartment-shell .list-mobile-shell .list-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 0 calc(0.42rem * var(--mobile-building-density));
    align-items: center;
    position: relative;
    min-height: calc(2rem * var(--mobile-building-density));
    gap: calc(0.46rem * var(--mobile-building-density));
    padding:
      calc(0.06rem * var(--mobile-building-density))
      0
      0;
  }

  body.mobile-apartment-shell .list-mobile-shell .list-head h2 {
    min-width: 0;
    padding-right: 0;
    color: var(--ink);
    font-size: calc((1.3rem * var(--font-scale)) * var(--mobile-building-density));
    line-height: 1.08;
  }

  body.mobile-apartment-shell .list-mobile-shell #resultCount {
    display: none;
  }

body.mobile-apartment-shell .mobile-controls-panel {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: calc(0.34rem * var(--mobile-building-density));
    margin: 0 0 calc(0.54rem * var(--mobile-building-density));
    padding: 0 0;
    min-width: 0;
    width: 100%;
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: calc(0.34rem * var(--mobile-building-density));
    margin: 0;
    padding: 0;
    min-width: 0;
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-open {
    margin-bottom: calc(0.56rem * var(--mobile-building-density));
    padding:
      calc(0.18rem * var(--mobile-building-density))
      calc(0.36rem * var(--mobile-building-density))
      calc(0.68rem * var(--mobile-building-density));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: calc(16px * var(--mobile-building-density));
    background: var(--accent);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted.is-open {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--accent);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
  }

  body.mobile-apartment-shell .mobile-filters-panel {
    margin: 0;
    padding:
      calc(0.14rem * var(--mobile-building-density))
      calc(0.22rem * var(--mobile-building-density))
      0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: calc(0.46rem * var(--mobile-building-density));
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.mobile-apartment-shell .mobile-filters-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 1rem 4px 4px;
  }

  body.mobile-apartment-shell .mobile-filters-overlay[hidden] {
    display: none !important;
  }

  body.mobile-apartment-shell .mobile-filters-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(24, 38, 56, 0.26);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  body.mobile-apartment-shell .mobile-filters-dialog {
    --popup-content-width: min(calc(100vw - 64px), 760px);
    position: relative;
    width: min(calc(100vw - (var(--popup-edge-gap, 0.3rem) * 2)), calc(var(--popup-content-width) + 0.9rem));
    max-width: calc(100vw - (var(--popup-edge-gap, 0.3rem) * 2));
    max-height: calc(100dvh - (var(--popup-edge-gap, 0.3rem) * 2));
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--color-surface-paper);
    box-shadow: var(--effect-shadow-large, 0 18px 40px rgba(15, 31, 54, 0.14));
    padding: 0 !important;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    row-gap: 0;
  }

  body.mobile-apartment-shell .mobile-filters-dialog-head {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 0;
    padding:
      0.68rem
      0.75rem
      0.55rem;
  }

  body.mobile-apartment-shell .mobile-filters-dialog-title {
    margin: 0;
    color: var(--ui-color-ink, #1f3652);
    font-family: var(--font-heading) !important;
    font-size: calc(0.84rem * var(--font-scale)) !important;
    font-weight: var(--fw-black) !important;
    letter-spacing: var(--tracking-normal) !important;
    line-height: var(--lh-control) !important;
  }

  body.mobile-apartment-shell .mobile-filters-close-btn {
    display: none;
  }

  body.mobile-apartment-shell .mobile-filters-dialog-body {
    display: grid;
    gap: 0.45rem;
    align-content: start;
    min-height: 0;
    overflow: auto;
    padding: 0.75rem;
    background: var(--color-surface-paper);
  }

  body.mobile-apartment-shell .mobile-filters-dialog .mobile-filters-panel {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    align-items: start;
    align-content: start;
    grid-auto-flow: row;
  }

  body.mobile-apartment-shell .mobile-filters-dialog-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: calc(0.34rem * var(--mobile-building-density));
    margin: 0;
    padding: 0.68rem 0.75rem 0.75rem;
    background: var(--color-surface-paper);
  }

  body.mobile-apartment-shell .mobile-filters-action-btn {
    width: 100%;
    min-width: 0;
    min-height: calc(2.38rem * var(--mobile-building-density));
    padding:
      calc(0.12rem * var(--mobile-building-density))
      calc(0.82rem * var(--mobile-building-density));
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.22rem * var(--mobile-building-density));
    font-family: inherit;
    font-size: calc(0.72rem * var(--font-scale));
    font-weight: var(--fw-heavy);
    letter-spacing: var(--tracking-normal);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition:
      border-color 0.16s ease,
      background 0.16s ease,
      color 0.16s ease,
      transform 0.16s ease;
    box-shadow: none;
  }

  body.mobile-apartment-shell .mobile-filters-action-btn.is-secondary {
    border: 1px solid var(--accent);
    background: var(--color-surface-paper);
    color: var(--accent);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.75),
      0 0 0 1px color-mix(in srgb, var(--accent) 4%, transparent);
  }

  body.mobile-apartment-shell .mobile-filters-action-btn.is-primary {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--on-accent);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 0 0 1px rgba(255, 255, 255, 0.025);
  }

  body.mobile-apartment-shell .mobile-filters-action-btn.is-secondary:hover {
    border-color: var(--accent-strong);
    background: var(--color-surface-paper-hover);
    color: var(--accent-strong);
  }

  body.mobile-apartment-shell .mobile-filters-action-btn.is-primary:hover {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    color: var(--on-accent-strong);
  }

  @media (max-width: 430px) {
    body.mobile-apartment-shell .mobile-filters-dialog {
      max-width: none;
    }

    body.mobile-apartment-shell .mobile-filters-panel {
      gap: 0.45rem;
    }

    body.mobile-apartment-shell .mobile-filters-panel .filter-field,
    body.mobile-apartment-shell .mobile-filters-panel .mobile-select-control {
      gap: 0.45rem;
    }

    body.mobile-apartment-shell .mobile-filters-panel .filter-field label,
    body.mobile-apartment-shell .mobile-filters-panel .mobile-select-control label {
      font-size: calc(0.7rem * var(--font-scale));
    }

    body.mobile-apartment-shell .mobile-filters-panel .filters select,
    body.mobile-apartment-shell .mobile-filters-panel .filter-select-btn,
    body.mobile-apartment-shell .mobile-filters-panel .mobile-select-control select {
      font-size: calc(0.7rem * var(--font-scale));
    }

  }

  body.mobile-apartment-shell .mobile-filters-panel .filters {
    display: contents;
    margin: 0;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-filters-panel .filter-field label,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-filters-panel .mobile-select-control label,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-filters-panel .building-picker-key,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-filters-panel .building-picker-floor-title {
    font-family: var(--font-heading) !important;
    font-size: var(--fs-label) !important;
    font-weight: var(--fw-heavy) !important;
    line-height: var(--lh-compact) !important;
    letter-spacing: var(--tracking-label) !important;
    text-transform: none !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-filters-panel .filters select,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-filters-panel .filter-select-btn,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-filters-panel .mobile-select-control select,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-filters-panel .filters select option {
    font-family: var(--font-ui) !important;
    font-size: var(--fs-label) !important;
    font-weight: var(--fw-heavy) !important;
    line-height: var(--lh-compact) !important;
    letter-spacing: var(--tracking-label) !important;
    text-transform: none !important;
  }

  body.mobile-apartment-shell .mobile-filters-panel .filter-field,
  body.mobile-apartment-shell .mobile-filters-panel .mobile-select-control {
    display: grid;
    gap: 0.45rem;
    grid-column: auto;
    grid-row: auto;
  }

  body.mobile-apartment-shell .mobile-filters-panel .filter-field label,
  body.mobile-apartment-shell .mobile-filters-panel .mobile-select-control label {
    color: var(--ui-color-ink, #1f3652);
    font-family: var(--font-ui) !important;
    font-size: calc(0.7rem * var(--font-scale)) !important;
    font-weight: var(--fw-semibold) !important;
    line-height: var(--lh-field) !important;
    letter-spacing: var(--tracking-normal) !important;
  }

  body.mobile-apartment-shell .mobile-filters-panel .filters select,
  body.mobile-apartment-shell .mobile-filters-panel .filter-select-btn,
  body.mobile-apartment-shell .mobile-filters-panel .mobile-select-control select {
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid var(--ui-color-line, #c9d8e8);
    background: var(--color-surface-paper);
    color: var(--ui-color-ink, #233a57);
    font-family: var(--font-ui) !important;
    font-size: calc(0.74rem * var(--font-scale)) !important;
    font-weight: var(--fw-semibold) !important;
    line-height: var(--lh-field) !important;
    padding: 0 16px;
    box-shadow: none;
  }

  body.mobile-apartment-shell .mobile-filters-panel .filters select option {
    font-family: var(--font-ui) !important;
    font-size: calc(0.74rem * var(--font-scale)) !important;
    font-weight: var(--fw-semibold) !important;
    line-height: var(--lh-field) !important;
    letter-spacing: var(--tracking-normal) !important;
    text-transform: none !important;
  }

  body.mobile-apartment-shell .mobile-filters-panel .mobile-select-control select option {
    font-family: var(--font-ui) !important;
    font-size: calc(0.74rem * var(--font-scale)) !important;
    font-weight: var(--fw-semibold) !important;
    line-height: var(--lh-field) !important;
    letter-spacing: var(--tracking-normal) !important;
    text-transform: none !important;
  }

  body.mobile-apartment-shell .mobile-filters-panel .mobile-select-control:has(#mobileSortSelect) {
    grid-column: 1 / -1;
  }

  body.mobile-apartment-shell .mobile-filters-panel #mobileAvailabilityControl {
    order: 1;
  }

  body.mobile-apartment-shell .mobile-filters-panel #mobileFloorControl {
    order: 2;
  }

  body.mobile-apartment-shell .mobile-filters-panel .filters .filter-field:nth-child(1) {
    order: 3;
  }

  body.mobile-apartment-shell .mobile-filters-panel .filters .filter-field:nth-child(2) {
    order: 4;
  }

  body.mobile-apartment-shell .mobile-filters-panel .filters .filter-field:nth-child(3) {
    order: 5;
  }

  body.mobile-apartment-shell .mobile-filters-panel .filters .filter-field:nth-child(4) {
    order: 6;
  }

  @media (max-width: 430px) {
    body.mobile-apartment-shell .mobile-filters-panel .filter-field label,
    body.mobile-apartment-shell .mobile-filters-panel .mobile-select-control label {
      font-size: calc(0.7rem * var(--font-scale)) !important;
    }

    body.mobile-apartment-shell .mobile-filters-panel .filters select,
    body.mobile-apartment-shell .mobile-filters-panel .mobile-select-control select {
      min-height: 0;
      border-radius: 10px;
      padding: 0.42rem 0.56rem;
      font-size: calc(0.74rem * var(--font-scale)) !important;
      line-height: var(--lh-field) !important;
    }
  }

  body.mobile-apartment-shell #listings {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding:
      0
      1.86rem
      calc((4.22rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-bottom));
    touch-action: pan-y;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.mobile-sticky-viewer .list-card {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  body.mobile-sticky-viewer.mobile-apartment-shell .list-card {
    height: auto;
    grid-template-rows: auto minmax(0, 1fr);
  }

  body.mobile-sticky-viewer #listings {
    max-height: none;
    min-height: 0;
    overflow: auto;
  }

  body.mobile-sticky-viewer.mobile-apartment-shell #listings {
    height: var(--mobile-listings-height, auto);
    max-height: var(--mobile-listings-height, none);
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body.mobile-apartment-shell #listings {
    gap: 0.9rem;
    background: transparent;
  }

  body.mobile-apartment-shell .viewer-control-panel {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 140 !important;
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.22));
  }

  body.mobile-apartment-shell .listing-card {
    min-height: 0;
    padding: 0;
    border: 1px solid rgba(42, 74, 109, 0.14);
    border-radius: calc(16px * var(--mobile-building-density));
    background:
      linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(236, 243, 251, 0.98)),
      rgba(255, 255, 255, 0.96);
    box-shadow:
      0 10px 24px rgba(12, 30, 49, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.88);
    overflow: hidden;
    transition:
      border-color 0.18s ease,
      background 0.18s ease,
      box-shadow 0.18s ease,
      transform 0.18s ease;
    position: relative;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card {
    width: 100%;
    max-width: none;
    align-self: stretch;
  }

  body.mobile-apartment-shell .listing-card::before {
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2.24rem;
    border-radius: 0;
    opacity: 1;
  }

  body.mobile-apartment-shell .listing-card::after {
    display: flex;
    left: 0;
    top: 0.14rem;
    bottom: 0.14rem;
    width: 2.06rem;
    border-radius: 12px 0 0 12px;
    font-size: calc(0.62rem * var(--font-scale));
    letter-spacing: 0.06em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
  }

  body.mobile-apartment-shell .listing-card:hover {
    border-color: rgba(42, 74, 109, 0.22);
    background: var(--color-surface-paper);
    box-shadow:
      0 12px 26px rgba(12, 30, 49, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  body.mobile-apartment-shell .listing-card.is-active {
    border-color: rgba(88, 122, 162, 0.34);
    background:
      linear-gradient(180deg, rgba(252, 254, 255, 1), rgba(228, 239, 251, 0.98)),
      rgba(255, 255, 255, 0.98);
    box-shadow:
      0 16px 30px rgba(12, 30, 49, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
    transform: translateY(-1px);
    color: var(--ink);
  }

  body.mobile-apartment-shell .listing-card.is-active:hover {
    border-color: rgba(88, 122, 162, 0.4);
    background:
      linear-gradient(180deg, rgba(252, 254, 255, 1), rgba(225, 237, 249, 0.99)),
      rgba(255, 255, 255, 0.98);
  }

  body.mobile-apartment-shell .listing-card.has-actions.is-active {
    border-color: var(--listing-accent);
    background: var(--color-surface-paper);
    box-shadow:
      0 16px 30px rgba(12, 30, 49, 0.12),
      0 0 0 2px var(--listing-accent),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  body.mobile-apartment-shell .listing-card.has-actions.is-active:hover {
    border-color: var(--listing-accent);
    background: var(--color-surface-paper);
    box-shadow:
      0 16px 30px rgba(12, 30, 49, 0.12),
      0 0 0 2px var(--listing-accent),
      inset 0 1px 0 rgba(255, 255, 255, 0.96);
  }

  body.mobile-apartment-shell .listing-select {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding:
      calc(0.9rem * var(--mobile-building-density))
      calc(1.12rem * var(--mobile-building-density))
      calc(0.18rem * var(--mobile-building-density))
      calc(3.18rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-card.has-actions .listing-select {
    padding-right: calc(1.12rem * var(--mobile-building-density));
    padding-left: calc(3.18rem * var(--mobile-building-density));
    padding-bottom: calc(0.16rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-status {
    display: none;
  }

  body.mobile-apartment-shell .listing-top {
    width: 100%;
    margin: 0;
  }

  body.mobile-apartment-shell .listing-title {
    font-size: calc((1.28rem * var(--font-scale)) * var(--mobile-building-density));
    line-height: 1.02;
    color: var(--ink);
    font-weight: 900;
  }

  body.mobile-apartment-shell .listing-meta {
    margin-top: 0.34rem;
    gap: 0.18rem 0.38rem;
    color: var(--ink-soft);
    font-size: calc((0.88rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: 800;
  }

  body.mobile-apartment-shell .listing-card.has-actions .listing-meta {
    margin-top: 0.34rem;
    gap: 0.18rem 0.38rem;
    color: var(--ink-soft);
    font-size: calc((0.88rem * var(--font-scale)) * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-card.has-actions .listing-meta span {
    color: inherit;
    font-weight: 700;
  }

  body.mobile-apartment-shell .listing-card.has-actions .listing-meta span + span::before {
    color: color-mix(in srgb, var(--ink-soft) 78%, transparent);
  }

  body.mobile-apartment-shell .listing-card-footer {
    margin-top: calc(0.12rem * var(--mobile-building-density));
    padding:
      0
      calc(1.12rem * var(--mobile-building-density))
      calc(1rem * var(--mobile-building-density))
      calc(3.78rem * var(--mobile-building-density))
      calc(3.18rem * var(--mobile-building-density));
    gap: 0.36rem;
  }

  body.mobile-apartment-shell .listing-price-base {
    font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density));
    color: var(--ui-color-muted, #6a7d95);
  }

  body.mobile-apartment-shell .listing-price-final {
    font-size: calc((1.18rem * var(--font-scale)) * var(--mobile-building-density));
    color: var(--ui-color-ink, #203b5b);
    font-weight: 900;
  }

  body.mobile-apartment-shell .listing-card.status-available .listing-price-final {
    color: var(--accent);
  }

  body.mobile-apartment-shell .listing-card.status-reserved .listing-price-final,
  body.mobile-apartment-shell .listing-card.status-sold .listing-price-final {
    color: var(--accent);
  }

  body.mobile-apartment-shell .listing-actions-media {
    position: absolute;
    right: calc(1.12rem * var(--mobile-building-density) + 2.82rem);
    bottom: calc(0.98rem * var(--mobile-building-density));
    gap: 0.32rem;
    width: auto;
    min-width: 0;
    flex: none;
    justify-content: flex-end;
  }

  body.mobile-apartment-shell .listing-actions-contact {
    right: calc(1.12rem * var(--mobile-building-density));
    bottom: calc(0.98rem * var(--mobile-building-density));
    top: auto;
  }

  body.mobile-apartment-shell .listing-media-btn {
    width: 2.46rem;
    min-width: 2.46rem;
    height: 2.46rem;
    border-radius: 14px;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }

  body.mobile-apartment-shell .listing-mail-btn {
    width: 2.46rem;
    height: 2.46rem;
    border-radius: 14px;
    border-color: rgba(168, 186, 209, 0.74);
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent);
    box-shadow: var(--effect-shadow-small, 0 4px 10px rgba(18, 40, 66, 0.06));
  }

  body.mobile-apartment-shell .listing-mail-btn svg {
    width: 1.18rem;
    height: 1.18rem;
  }

  body.mobile-apartment-shell .listing-media-icon-2d {
    width: 1.92rem;
    height: 1.92rem;
  }

  body.mobile-apartment-shell .listing-media-icon-3d {
    width: 1.98rem;
    height: 1.5rem;
  }

  body.mobile-apartment-shell .listing-media-icon-vr {
    width: 2.04rem;
    height: 1.82rem;
  }

  .mobile-controls-panel {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.34rem;
    margin: 0 0 0.34rem;
  }

  .mobile-filters-toggle-btn {
    width: auto;
    min-width: 6.2rem;
    min-height: 1.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-text-inverse);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    text-align: center;
    padding: 0.2rem 0.58rem;
    cursor: pointer;
    box-shadow: none;
    transition:
      border-color 0.16s ease,
      background 0.16s ease,
      color 0.16s ease;
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn {
    width: auto;
    flex: 1 1 auto;
    min-width: calc(6.35rem * var(--mobile-building-density));
    min-height: calc(2.38rem * var(--mobile-building-density));
    position: relative;
    padding:
      calc(0.12rem * var(--mobile-building-density))
      calc(2.55rem * var(--mobile-building-density))
      calc(0.12rem * var(--mobile-building-density))
      calc(0.78rem * var(--mobile-building-density));
    border-radius: 999px;
    border: 0;
    background: var(--accent);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
  }

  body.mobile-apartment-shell .mobile-listings-sort-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
  }

  body.mobile-apartment-shell .mobile-listings-sort-menu[hidden] {
    display: none !important;
  }

  body.mobile-apartment-shell .mobile-listings-sort-btn {
    appearance: none;
    -webkit-appearance: none;
    width: calc(2.38rem * var(--mobile-building-density));
    min-width: calc(2.38rem * var(--mobile-building-density));
    height: calc(2.38rem * var(--mobile-building-density));
    min-height: calc(2.38rem * var(--mobile-building-density));
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
      background 0.16s ease,
      color 0.16s ease,
      transform 0.16s ease;
  }

  body.mobile-apartment-shell .mobile-listings-sort-btn.is-active,
  body.mobile-apartment-shell .mobile-listings-sort-menu.is-open .mobile-listings-sort-btn {
    background: var(--accent-strong);
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .mobile-listings-sort-btn:active {
    transform: scale(0.97);
  }

  body.mobile-apartment-shell .mobile-listings-sort-icon {
    width: calc(1rem * var(--mobile-building-density));
    height: calc(1rem * var(--mobile-building-density));
    display: block;
    color: currentColor;
  }

  body.mobile-apartment-shell .mobile-listings-sort-icon * {
    fill: currentColor;
  }

  body.mobile-apartment-shell .mobile-listings-sort-popover {
    position: absolute;
    top: calc(100% + 0.42rem);
    right: 0;
    z-index: 170;
    width: min(13rem, calc(100vw - 2rem));
    display: grid;
    gap: 0.12rem;
    padding: 0.32rem;
    border: 1px solid var(--ui-color-line, #c7d8ea);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--effect-shadow-medium, 0 16px 32px rgba(26, 56, 96, 0.14));
  }

  body.mobile-apartment-shell .mobile-listings-sort-popover.is-mobile-floating {
    position: fixed;
    right: auto;
    z-index: 260;
    max-width: calc(100vw - 16px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }

  body.mobile-apartment-shell .mobile-listings-sort-popover[hidden] {
    display: none !important;
  }

  body.mobile-apartment-shell .mobile-building-switch-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
  }

  body.mobile-apartment-shell .mobile-building-switch-menu[hidden] {
    display: none !important;
  }

  body.mobile-apartment-shell .mobile-building-switch-btn {
    appearance: none;
    -webkit-appearance: none;
    width: auto;
    min-width: calc(4.72rem * var(--mobile-building-density));
    min-height: calc(2.38rem * var(--mobile-building-density));
    padding:
      calc(0.12rem * var(--mobile-building-density))
      calc(0.9rem * var(--mobile-building-density))
      calc(0.12rem * var(--mobile-building-density))
      calc(0.9rem * var(--mobile-building-density));
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.26rem * var(--mobile-building-density));
    cursor: pointer;
    transition:
      background 0.16s ease,
      color 0.16s ease,
      transform 0.16s ease;
  }

  body.mobile-apartment-shell .mobile-building-switch-btn::after {
    content: "";
    width: 0;
    height: 0;
    display: block;
    flex: 0 0 auto;
    border-left: calc(0.26rem * var(--mobile-building-density)) solid transparent;
    border-right: calc(0.26rem * var(--mobile-building-density)) solid transparent;
    border-top: calc(0.36rem * var(--mobile-building-density)) solid currentColor;
    opacity: 0.96;
  }

  body.mobile-apartment-shell .mobile-building-switch-btn.is-active,
  body.mobile-apartment-shell .mobile-building-switch-menu.is-open .mobile-building-switch-btn {
    background: var(--accent-strong);
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .mobile-building-switch-btn:active {
    transform: scale(0.97);
  }

  body.mobile-apartment-shell .mobile-building-switch-btn > span {
    display: block;
    font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: var(--fw-black);
    letter-spacing: var(--tracking-label);
    line-height: var(--lh-solid);
  }

  body.mobile-apartment-shell .mobile-building-switch-popover {
    position: absolute;
    top: calc(100% + 0.42rem);
    left: 0;
    z-index: 170;
    width: min(12rem, calc(100vw - 2rem));
    display: grid;
    gap: 0.12rem;
    padding: 0.32rem;
    border: 1px solid var(--ui-color-line, #c7d8ea);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--effect-shadow-medium, 0 16px 32px rgba(26, 56, 96, 0.14));
  }

  body.mobile-apartment-shell .mobile-building-switch-popover.is-mobile-floating {
    position: fixed;
    right: auto;
    z-index: 260;
    max-width: calc(100vw - 16px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
  }

  body.mobile-apartment-shell .mobile-building-switch-popover[hidden] {
    display: none !important;
  }

  body.mobile-apartment-shell .mobile-building-switch-option {
    white-space: nowrap;
  }

  body.mobile-apartment-shell .mobile-controls-panel.has-mobile-building-switch {
    gap: calc(0.24rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .mobile-controls-panel.has-mobile-building-switch .mobile-filters-toggle-btn {
    min-width: 0;
    padding:
      calc(0.12rem * var(--mobile-building-density))
      calc(2.12rem * var(--mobile-building-density))
      calc(0.12rem * var(--mobile-building-density))
      calc(0.64rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-filters-toggle-btn {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    min-height: calc(2.38rem * var(--mobile-building-density));
    padding:
      calc(0.12rem * var(--mobile-building-density))
    calc(2.55rem * var(--mobile-building-density))
    calc(0.12rem * var(--mobile-building-density))
    calc(0.78rem * var(--mobile-building-density));
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
      rgba(255, 255, 255, 0.04);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn > span {
    display: block;
    width: auto;
    text-align: center;
    font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: var(--fw-black);
    letter-spacing: var(--tracking-label);
    line-height: var(--lh-solid);
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-filters-toggle-btn > span {
    width: auto;
    font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density));
    line-height: var(--lh-solid);
  }

  body.mobile-apartment-shell .mobile-filters-active-count {
    position: absolute;
    right: calc(1.82rem * var(--mobile-building-density));
    top: 50%;
    transform: translateY(-50%);
    display: block;
    padding: 0;
    background: transparent;
    color: var(--color-text-inverse);
    font-size: calc((0.7rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: var(--fw-black);
    line-height: var(--lh-solid);
    pointer-events: none;
  }

  body.mobile-apartment-shell .mobile-filters-active-count[hidden] {
    display: none !important;
  }

  body.mobile-apartment-shell .mobile-listings-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: calc(0.12rem * var(--mobile-building-density));
    flex: 0 0 auto;
    order: -1;
    padding: calc(0.12rem * var(--mobile-building-density));
    border-radius: 999px;
    border: 0;
    background: var(--accent);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
  }

  body.mobile-apartment-shell .mobile-listings-view-toggle[hidden] {
    display: none !important;
  }

  body.mobile-apartment-shell .mobile-listings-view-btn {
    width: calc(2.14rem * var(--mobile-building-density));
    min-width: calc(2.14rem * var(--mobile-building-density));
    height: calc(2.14rem * var(--mobile-building-density));
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
      background 0.16s ease,
      color 0.16s ease,
      transform 0.16s ease;
  }

  body.mobile-apartment-shell .mobile-listings-view-btn.is-active {
    border-color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.96);
    color: var(--accent);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 8px 18px rgba(12, 30, 49, 0.12);
  }

  body.mobile-apartment-shell .mobile-listings-view-btn:active {
    transform: scale(0.97);
  }

  body.mobile-apartment-shell .mobile-listings-view-icon {
    width: calc(1rem * var(--mobile-building-density));
    height: calc(1rem * var(--mobile-building-density));
    display: block;
    color: currentColor;
  }

  body.mobile-apartment-shell .mobile-listings-view-icon * {
    fill: currentColor;
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-filters-active-count {
    right: calc(1.82rem * var(--mobile-building-density));
    font-size: calc((0.7rem * var(--font-scale)) * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn.has-active-filters {
    border-color: rgba(255, 255, 255, 0.24);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
      rgba(255, 255, 255, 0.06);
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn::before {
    display: none;
  }

  .mobile-filters-toggle-btn::after {
    content: "▸";
    font-size: calc(0.7rem * var(--font-scale));
    font-weight: var(--fw-black);
    line-height: var(--lh-solid);
    opacity: 0.92;
    transition: transform 0.18s ease;
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn::after,
  body.mobile-apartment-shell .mobile-filters-toggle-btn.is-open::after {
    content: "";
    position: absolute;
    right: calc(0.68rem * var(--mobile-building-density));
    top: 50%;
    transform: translateY(-50%);
    width: calc(0.88rem * var(--mobile-building-density));
    height: calc(0.88rem * var(--mobile-building-density));
    display: block;
    background-color: currentColor;
    opacity: 0.96;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v5l-4 2v-7L3 5z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18l-7 8v5l-4 2v-7L3 5z' fill='black'/%3E%3C/svg%3E");
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-filters-toggle-btn::after {
    right: calc(0.68rem * var(--mobile-building-density));
    width: calc(0.88rem * var(--mobile-building-density));
    height: calc(0.88rem * var(--mobile-building-density));
  }

  .mobile-back-to-buildings-btn {
    width: auto;
    min-width: 6rem;
    min-height: 1.8rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-text-inverse);
    font-family: inherit;
    font-size: calc(0.76rem * var(--font-scale));
    font-weight: var(--fw-bold);
    letter-spacing: var(--tracking-label);
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.34rem;
    text-align: center;
    padding: 0.2rem 0.62rem;
    cursor: pointer;
    box-shadow: none;
    transition:
      border-color 0.16s ease,
      background 0.16s ease,
      color 0.16s ease,
      transform 0.16s ease;
  }

  .mobile-back-to-buildings-btn::before {
    content: "";
    width: 0;
    height: 0;
    display: block;
    flex: 0 0 auto;
    border-top: calc(0.34rem * var(--mobile-building-density)) solid transparent;
    border-bottom: calc(0.34rem * var(--mobile-building-density)) solid transparent;
    border-right: calc(0.5rem * var(--mobile-building-density)) solid currentColor;
    background-color: transparent;
    opacity: 0.96;
  }

  .mobile-back-to-buildings-btn:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
      rgba(255, 255, 255, 0.06);
  }

  .mobile-back-to-buildings-btn:active {
    transform: scale(0.98);
  }

  body.mobile-apartment-shell .mobile-back-to-buildings-btn {
    flex: 0 0 auto;
    min-width: calc(4.92rem * var(--mobile-building-density));
    min-height: calc(2.38rem * var(--mobile-building-density));
    padding:
      calc(0.12rem * var(--mobile-building-density))
      calc(0.82rem * var(--mobile-building-density))
      calc(0.12rem * var(--mobile-building-density))
      calc(0.62rem * var(--mobile-building-density));
    border-radius: 999px;
    border: 0;
    background: var(--accent);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
  }

  body.mobile-apartment-shell .mobile-back-to-buildings-btn > span {
    display: block;
    font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: var(--fw-black);
    letter-spacing: var(--tracking-label);
    line-height: var(--lh-solid);
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-back-to-buildings-btn {
    min-height: calc(2.38rem * var(--mobile-building-density));
    padding:
      calc(0.12rem * var(--mobile-building-density))
      calc(0.82rem * var(--mobile-building-density))
      calc(0.12rem * var(--mobile-building-density))
      calc(0.62rem * var(--mobile-building-density));
    border-radius: 999px;
    border-color: rgba(255, 255, 255, 0.16);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
      rgba(255, 255, 255, 0.04);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-back-to-buildings-btn > span {
    font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .mobile-back-to-buildings-btn[hidden] {
    display: none !important;
  }

  .mobile-filters-toggle-btn:hover {
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.24);
  }

  .mobile-filters-toggle-btn.is-open::after {
    content: "▾";
  }

  .mobile-filters-toggle-btn.is-open {
    border-color: var(--color-border-inverse);
    background: var(--color-surface-paper);
    color: var(--accent);
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
      rgba(255, 255, 255, 0.06);
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn.is-open {
    border-color: rgba(255, 255, 255, 0.28);
    border-bottom-color: transparent;
    background: transparent;
    color: var(--color-text-inverse);
    box-shadow: none;
    border-radius: 0;
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-filters-toggle-btn.is-open {
    border-color: rgba(255, 255, 255, 0.24);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
      rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-open .mobile-filters-toggle-btn {
    min-height: calc(2.38rem * var(--mobile-building-density));
    padding:
      calc(0.12rem * var(--mobile-building-density))
      calc(2.55rem * var(--mobile-building-density))
      calc(0.12rem * var(--mobile-building-density))
      calc(0.78rem * var(--mobile-building-density));
    border: 0;
    border-radius: 999px;
    background: var(--accent-strong);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-medium, 0 10px 22px rgba(13, 34, 56, 0.14));
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted.is-open .mobile-filters-toggle-btn {
    min-height: calc(2.14rem * var(--mobile-building-density));
    padding-bottom: calc(0.12rem * var(--mobile-building-density));
    border: 1px solid var(--accent-strong);
    background: var(--accent-strong);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-medium, 0 10px 22px rgba(13, 34, 56, 0.14));
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-open .mobile-filters-panel {
    padding-top: 0;
  }

  .mobile-filters-panel {
    margin: 0 0 0.34rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 0.34rem;
  }

  .mobile-filters-panel[hidden] {
    display: none !important;
    margin: 0 !important;
  }

  .mobile-filters-panel .mobile-select-control {
    display: block;
    margin: 0;
    min-width: 0;
  }

  #mobileAvailabilityControl {
    grid-column: 1;
  }

  #mobileFloorControl {
    grid-column: 2;
  }

  .mobile-filters-panel .filters {
    grid-column: 1 / -1;
    margin: 0;
  }

  .mobile-controls-tab {
    min-height: 1.62rem;
    border-radius: 8px;
    font-size: calc(0.72rem * var(--font-scale));
  }

  .mobile-select-control {
    display: block;
  }

  .filters.is-mobile-collapsed {
    display: none !important;
    margin: 0 !important;
  }

  body.mobile-sticky-viewer .building-picker {
    display: none !important;
  }

  .list-mobile-shell {
    display: block;
    margin: 0 0 0.5rem;
    padding: 0.7rem 0.82rem;
    border-radius: 16px;
    border: 1px solid var(--accent-strong);
    background: var(--accent);
    box-shadow: none;
  }

body.mobile-building-shell .list-mobile-shell {
    margin: 0;
    padding:
      calc(0.98rem * var(--mobile-building-density))
      var(--mobile-panel-padding-inline)
      calc(0.58rem * var(--mobile-building-density));
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.mobile-building-shell .list-mobile-shell .list-investment {
    display: none;
  }

body.mobile-building-shell .list-mobile-shell .list-head {
    margin: 0 0 calc(0.26rem * var(--mobile-building-density));
    align-items: center;
    position: relative;
    min-height: calc(1.66rem * var(--mobile-building-density));
    padding:
      calc(0.04rem * var(--mobile-building-density))
      0
      0;
  }

  body.mobile-building-shell .list-mobile-shell .list-head h2 {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0;
    color: var(--color-text-inverse);
    font-size: calc((1.3rem * var(--font-scale)) * var(--mobile-building-density));
    line-height: 1.08;
  }

  body.mobile-building-shell .list-mobile-shell #resultCount {
    display: none;
  }

  body.mobile-building-shell #listings {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: 0;
    touch-action: auto;
    overscroll-behavior: auto;
    -webkit-overflow-scrolling: auto;
  }

  .list-mobile-shell .list-branding {
    display: none;
  }

  .list-mobile-shell .list-branding {
    margin: 0 0 0.38rem;
  }

  .list-mobile-shell .investment-logo-wrap {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.14);
  }

  .list-mobile-shell .investment-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .list-mobile-shell .list-investment {
    color: var(--color-text-inverse);
    border-bottom-color: rgba(255, 255, 255, 0.35);
    padding-bottom: 0.18rem;
  }

  .list-mobile-shell .list-head {
    margin-bottom: 0.4rem;
  }

  .list-mobile-shell .list-head h2 {
    color: var(--color-text-inverse);
  }

  .list-mobile-shell #resultCount {
    color: rgba(239, 247, 255, 0.9);
  }

  .list-mobile-shell .mobile-controls-tab {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.16);
    color: var(--color-text-inverse);
  }

  .list-mobile-shell .mobile-controls-tab:hover {
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.24);
  }

  .list-mobile-shell .mobile-controls-tab.is-active {
    border-color: rgba(255, 255, 255, 0.9);
    background: transparent;
    color: var(--color-text-inverse);
  }

  .list-mobile-shell .mobile-select-control label,
  .list-mobile-shell .filter-field label {
    color: var(--ui-color-inverse, #eef5ff);
  }

  .list-mobile-shell .mobile-select-control select,
  .list-mobile-shell .filters select {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(205, 222, 241, 0.95);
    color: var(--ui-color-ink, #1a3552);
  }

  .list-branding {
    margin-bottom: 0.42rem;
  }

  .list-investment {
    font-size: calc(1.08rem * var(--font-scale));
  }

  .list-head {
    margin-bottom: 0.55rem;
  }

  .list-head h2 {
    font-size: calc(1.14rem * var(--font-scale));
  }

  #resultCount {
    font-size: calc(0.74rem * var(--font-scale));
  }

  .filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.34rem;
    margin-bottom: 0.55rem;
  }

  .filter-field {
    min-width: 0;
  }

  .filter-field label {
    font-size: calc(0.68rem * var(--font-scale));
  }

  .filters select,
  .filter-select-btn {
    min-height: 1.66rem;
    padding: 0.2rem 0.42rem;
    font-size: calc(0.76rem * var(--font-scale));
  }

  body.mobile-apartment-shell .mobile-filters-overlay .mobile-filters-panel .filters select,
  body.mobile-apartment-shell .mobile-filters-overlay .mobile-filters-panel .filter-select-btn,
  body.mobile-apartment-shell .mobile-filters-overlay .mobile-filters-panel .mobile-select-control select {
    font-size: calc((0.94rem * var(--font-scale)) * var(--mobile-building-density));
    line-height: 1.1;
    -webkit-appearance: none;
    appearance: none;
  }

  .building-picker {
    margin-bottom: 0.56rem;
    border-radius: 10px;
    padding: 0.36rem;
    gap: 0.3rem;
  }

  .building-picker-buttons,
  .building-picker-floor-buttons {
    gap: 0.24rem;
  }

  .building-chip,
  .building-floor-chip {
    min-height: 1.34rem;
    border-radius: 8px;
    padding: 0.06rem 0.34rem;
    font-size: calc(0.58rem * var(--font-scale));
  }

  .listings {
    max-height: none;
    overflow: visible;
    gap: 0.56rem;
  }

  .viewer-info-stack {
    display: none !important;
  }

  .spin-compass {
    --compass-step-px: 8px;
    top: calc(env(safe-area-inset-top, 0px) + 0.28rem);
    min-width: 168px;
    gap: 0.08rem;
    z-index: 7;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .spin-compass-track-wrap {
    position: relative;
    height: 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell, .mobile-sticky-viewer) .spin-compass {
    pointer-events: auto;
    cursor: pointer;
    touch-action: manipulation;
  }


  .spin-compass-track-wrap::before {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    top: 50%;
    height: 13px;
    border-radius: 999px;
    background: linear-gradient(
      90deg,
      rgba(10, 30, 52, 0) 0%,
      rgba(10, 30, 52, 0.12) 10%,
      rgba(10, 30, 52, 0.2) 24%,
      rgba(10, 30, 52, 0.24) 50%,
      rgba(10, 30, 52, 0.2) 76%,
      rgba(10, 30, 52, 0.12) 90%,
      rgba(10, 30, 52, 0) 100%
    );
    transform: translateY(-50%);
    box-shadow: var(--effect-shadow-small, 0 2px 8px rgba(5, 18, 32, 0.1));
    pointer-events: none;
  }

  .spin-compass-cell {
    color: transparent;
    font-size: 0;
    text-shadow: none;
  }

  .spin-compass-cell::after {
    bottom: 3px;
    height: 4.5px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--effect-shadow-small, 0 1px 2px rgba(5, 18, 32, 0.18));
  }

  .spin-compass-cell.is-major {
    padding-bottom: 0;
  }

  .spin-compass-cell.is-major::after {
    bottom: 2px;
    border-top-color: rgba(255, 255, 255, 0.98);
  }

  .spin-compass-pointer {
    border-left-width: 8px;
    border-right-width: 8px;
    border-bottom-width: 11px;
    border-bottom-color: rgba(255, 255, 255, 0.98);
    margin-top: -1px;
    filter:
      drop-shadow(0 0 1px rgba(255, 255, 255, 0.32))
      drop-shadow(0 1px 3px rgba(5, 18, 32, 0.2));
  }

  .spin-compass-text {
    font-size: calc(0.43rem * var(--font-scale));
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.98);
    text-shadow:
      0 0 1px rgba(5, 18, 32, 0.22),
      0 1px 2px rgba(5, 18, 32, 0.18);
  }

  .viewer-overlay {
    padding: 0.24rem 0.34rem;
    border-radius: 8px;
  }

  .viewer-title {
    font-size: calc(0.82rem * var(--font-scale));
  }

  :is(#selectedMeta, .viewer-overlay-meta) {
    font-size: calc(0.69rem * var(--font-scale));
    padding: 0.07rem 0.24rem;
  }

  .viewer-utility-dock {
    display: none;
  }

  .viewer-nav-dock {
    position: static;
    transform: none;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-nav-dock {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    flex: 1 1 auto;
    width: 100% !important;
    min-height: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    display: block !important;
    overflow: visible !important;
  }

  .viewer-mode-panel-title {
    display: none;
  }

  .viewer-corner-controls {
    display: contents;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-corner-controls,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-utility-dock {
    display: none !important;
  }

  .viewer-control-panel .icon-control-group.with-label {
    display: contents;
    padding: 0;
    gap: 0;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-view-group {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    min-height: 0 !important;
    min-width: 0 !important;
    gap: calc(0.18rem * var(--mobile-menu-scale) / 0.75) !important;
    justify-content: stretch !important;
    justify-items: center !important;
    align-items: center !important;
    position: relative !important;
    overflow: visible !important;
  }

  .icon-control-label {
    display: none;
  }

  .icon-control-buttons {
    display: contents;
  }

  .viewer-view-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    min-width: 0;
    padding: 0;
    width: 100%;
    justify-items: stretch;
    align-items: stretch;
  }

  .viewer-view-group.is-view-count-1 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .viewer-view-group.is-view-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .viewer-view-group.is-view-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .viewer-view-group.is-view-count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-view-group > .view-mode-btn[data-view="LOCATION"] {
    display: none !important;
  }

  .viewer-view-group .view-mode-btn[data-view="INTERACTIVE_BUILDINGS"] {
    order: 1;
  }

  .viewer-view-group .view-mode-btn[data-view="INTERACTIVE"] {
    order: 2;
  }

  .viewer-view-group .view-mode-btn[data-view="VISUALIZATIONS"] {
    order: 3;
  }

  .viewer-view-group .view-mode-btn[data-view="MODEL3D"] {
    order: 4;
  }

  .view-mode-btn,
  .icon-toggle-btn {
    width: 100%;
    min-width: 0;
    min-height: calc(3.08rem * var(--mobile-menu-scale) / 0.75);
    border-radius: calc(14px * var(--mobile-menu-scale) / 0.75);
    border: 0;
    background: transparent;
    color: var(--ui-color-muted, #6f86a2);
    font-size: calc(0.68rem * var(--font-scale));
    font-weight: var(--fw-bold);
    line-height: 1.05;
    padding: calc(0.28rem * var(--mobile-menu-scale) / 0.75) calc(0.16rem * var(--mobile-menu-scale) / 0.75)
      calc(0.28rem * var(--mobile-menu-scale) / 0.75);
    text-align: center;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: calc(0.16rem * var(--mobile-menu-scale) / 0.75);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .view-mode-btn,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .icon-toggle-btn {
    color: rgba(205, 218, 232, 0.92);
    border-radius: calc(14px * var(--mobile-menu-scale) / 0.75);
    height: calc(3.18rem * var(--mobile-menu-scale) / 0.75);
    min-height: calc(3.18rem * var(--mobile-menu-scale) / 0.75);
    margin: 0;
    padding:
      0
      calc(0.16rem * var(--mobile-menu-scale) / 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-self: center;
  }

  .view-mode-btn:hover,
  .icon-toggle-btn:hover {
    border-color: transparent;
    background: transparent;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .view-mode-btn:hover,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .icon-toggle-btn:hover {
    background: transparent;
  }

  .view-mode-btn.is-active,
  .icon-toggle-btn.is-active {
    border-color: transparent;
    background: var(--accent);
    color: var(--color-text-inverse);
    box-shadow: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .view-mode-btn.is-active,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .icon-toggle-btn.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-inverse);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-nav-dock .view-mode-btn {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: rgba(226, 235, 245, 0.82);
    box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
    position: relative;
    overflow: visible;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-nav-dock .view-mode-btn:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: rgba(233, 240, 247, 0.92);
    box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-nav-dock .view-mode-btn.is-active {
    border-color: transparent;
    background: transparent;
    color: var(--color-text-inverse);
    box-shadow: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-nav-dock .view-mode-btn.is-active:hover {
    border-color: transparent;
    background: transparent;
    color: var(--color-text-inverse);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel:has(.viewer-nav-dock .view-mode-btn[data-view="INTERACTIVE_BUILDINGS"].is-active)::before {
    left: calc(0.12rem * var(--mobile-menu-scale) / 0.75);
    right: calc(75% + (0.12rem * var(--mobile-menu-scale) / 0.75));
    opacity: 1;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel:has(.viewer-nav-dock .view-mode-btn[data-view="INTERACTIVE"].is-active)::before {
    left: calc(25% + (0.12rem * var(--mobile-menu-scale) / 0.75));
    right: calc(50% + (0.12rem * var(--mobile-menu-scale) / 0.75));
    opacity: 1;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel:has(.viewer-nav-dock .view-mode-btn[data-view="VISUALIZATIONS"].is-active)::before {
    left: calc(50% + (0.12rem * var(--mobile-menu-scale) / 0.75));
    right: calc(25% + (0.12rem * var(--mobile-menu-scale) / 0.75));
    opacity: 1;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel:has(.viewer-nav-dock .view-mode-btn[data-view="MODEL3D"].is-active)::before {
    left: calc(75% + (0.12rem * var(--mobile-menu-scale) / 0.75));
    right: calc(0.12rem * var(--mobile-menu-scale) / 0.75);
    opacity: 1;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel:has(.viewer-view-group.is-view-count-3 .view-mode-btn[data-view="INTERACTIVE_BUILDINGS"].is-active)::before {
    left: calc(0.12rem * var(--mobile-menu-scale) / 0.75);
    right: calc(66.6667% + (0.12rem * var(--mobile-menu-scale) / 0.75));
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel:has(.viewer-view-group.is-view-count-3 .view-mode-btn[data-view="INTERACTIVE"].is-active)::before {
    left: calc(33.3333% + (0.12rem * var(--mobile-menu-scale) / 0.75));
    right: calc(33.3333% + (0.12rem * var(--mobile-menu-scale) / 0.75));
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel:has(.viewer-view-group.is-view-count-3 .view-mode-btn[data-view="VISUALIZATIONS"].is-active)::before {
    left: calc(66.6667% + (0.12rem * var(--mobile-menu-scale) / 0.75));
    right: calc(0.12rem * var(--mobile-menu-scale) / 0.75);
  }

  .viewer-legal-popover {
    position: fixed;
    left: 0.76rem;
    right: 0.76rem;
    bottom: calc(env(safe-area-inset-bottom, 0px) + (4.18rem * var(--mobile-menu-scale) / 0.75));
    top: auto;
    width: auto;
    transform: none;
    z-index: 60;
  }

  .view-mode-btn {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .view-mode-btn-line {
    display: block;
  }

  .viewer-control-panel:not(.is-mobile-header-menu) .viewer-view-group .view-mode-btn {
    grid-column: auto !important;
    grid-row: auto !important;
    height: auto !important;
    min-height: calc(3.08rem * var(--mobile-menu-scale) / 0.75) !important;
    width: 100% !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel:not(.is-mobile-header-menu) .viewer-view-group > .view-mode-btn {
    flex: none !important;
    width: 97.5% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel:not(.is-mobile-header-menu) .viewer-view-group > .view-mode-btn,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel:not(.is-mobile-header-menu) .viewer-view-group > .icon-toggle-btn {
    aspect-ratio: auto !important;
    height: calc(3.02rem * var(--mobile-menu-scale) / 0.75) !important;
    min-height: calc(3.02rem * var(--mobile-menu-scale) / 0.75) !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-radius: 999px !important;
    align-self: center !important;
    justify-self: center !important;
    justify-content: center !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-view-group.is-view-count-1 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-view-group.is-view-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-view-group.is-view-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-view-group.is-view-count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-view-group > .view-mode-btn[hidden] {
    display: none !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-view-group > .view-mode-btn::before {
    width: calc(1.34rem * var(--mobile-menu-scale) / 0.75);
    height: calc(1.34rem * var(--mobile-menu-scale) / 0.75);
  }

  .view-mode-btn::before {
    content: "";
    width: calc(1.14rem * var(--mobile-menu-scale) / 0.75);
    height: calc(1.14rem * var(--mobile-menu-scale) / 0.75);
    display: block;
    background-color: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
  }

  .view-mode-btn[data-view="INTERACTIVE_BUILDINGS"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V8l5-3v16H3zm6 0V3l7 3v15H9zm8 0v-9l4 2v7h-4zM5 10h1v2H5zm0 4h1v2H5zm6-8h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V8l5-3v16H3zm6 0V3l7 3v15H9zm8 0v-9l4 2v7h-4zM5 10h1v2H5zm0 4h1v2H5zm6-8h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2z' fill='black'/%3E%3C/svg%3E");
  }

  .view-mode-btn[data-view="INTERACTIVE"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.1 7V9.8'/%3E%3Cpath d='M5.1 14.4V19'/%3E%3Cpath d='M5.1 19H19.2'/%3E%3Cpath d='M19.2 19V12.7'/%3E%3Cpath d='M19.2 8.3V5.1'/%3E%3Cpath d='M5.1 7H10.8'/%3E%3Cpath d='M10.8 7V5.1'/%3E%3Cpath d='M10.8 5.1H12.1'/%3E%3Cpath d='M17.2 5.1H19.2'/%3E%3Cpath d='M10.8 7V11.8'/%3E%3Cpath d='M10.8 15.9V19'/%3E%3Cpath d='M10.8 11.8H19.2'/%3E%3Cpath d='M15.4 11.8V19'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.55' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.1 7V9.8'/%3E%3Cpath d='M5.1 14.4V19'/%3E%3Cpath d='M5.1 19H19.2'/%3E%3Cpath d='M19.2 19V12.7'/%3E%3Cpath d='M19.2 8.3V5.1'/%3E%3Cpath d='M5.1 7H10.8'/%3E%3Cpath d='M10.8 7V5.1'/%3E%3Cpath d='M10.8 5.1H12.1'/%3E%3Cpath d='M17.2 5.1H19.2'/%3E%3Cpath d='M10.8 7V11.8'/%3E%3Cpath d='M10.8 15.9V19'/%3E%3Cpath d='M10.8 11.8H19.2'/%3E%3Cpath d='M15.4 11.8V19'/%3E%3C/g%3E%3C/svg%3E");
  }

  .view-mode-btn[data-view="VISUALIZATIONS"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 2v8l3.2-3.2a1 1 0 0 1 1.4 0L13 14l2.9-2.9a1 1 0 0 1 1.4 0L19 12.8V6H5zm3 3.2a1.3 1.3 0 1 0 0-2.6 1.3 1.3 0 0 0 0 2.6z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 4h14a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2zm0 2v8l3.2-3.2a1 1 0 0 1 1.4 0L13 14l2.9-2.9a1 1 0 0 1 1.4 0L19 12.8V6H5zm3 3.2a1.3 1.3 0 1 0 0-2.6 1.3 1.3 0 0 0 0 2.6z' fill='black'/%3E%3C/svg%3E");
  }

  .view-mode-btn[data-view="MODEL3D"]::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 6v12l8 4 8-4V6l-8-4zm0 2.2 5.6 2.8L12 9.8 6.4 7 12 4.2zM6 8.6l5 2.5v8L6 16.6v-8zm12 0v8l-5 2.5v-8l5-2.5z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 6v12l8 4 8-4V6l-8-4zm0 2.2 5.6 2.8L12 9.8 6.4 7 12 4.2zM6 8.6l5 2.5v8L6 16.6v-8zm12 0v8l-5 2.5v-8l5-2.5z' fill='black'/%3E%3C/svg%3E");
  }

  .location-hotspot-link.is-interactive-label:not(.is-active):not(.is-interactive-selected):not(.is-building-summary):not(.is-info-feature) {
    width: fit-content;
    min-width: 0;
    max-width: min(44vw, 154px);
    padding: 0.28rem 0.4rem 0.32rem;
    border-radius: 10px;
  }

  .location-hotspot-link.is-interactive-label:not(.is-active):not(.is-interactive-selected):not(.is-building-summary):not(.is-info-feature) .location-hotspot-title {
    font-size: calc(0.73rem * var(--font-scale));
    line-height: 1.12;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .location-hotspot-link.is-building-summary.is-mobile-compact-summary {
    --hotspot-label-lift: 25px;
    --hotspot-stem-length: 20px;
    width: auto;
    min-width: 0;
    max-width: min(38vw, 9.4rem);
    padding: 0;
    gap: 0;
    border-radius: 12px;
    overflow: visible;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--effect-shadow-medium, 0 10px 22px rgba(10, 19, 32, 0.18));
  }

  .location-hotspot-link.is-building-summary.is-mobile-compact-summary.mobile-label-pos-right::after {
    content: "";
    left: auto;
    right: 100%;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: calc(var(--hotspot-side-gap) + var(--hotspot-side-stem-clearance));
    height: 1.2px;
    background: var(--accent);
    border-radius: 999px;
    opacity: 1;
    box-shadow: none;
  }

  .location-hotspot-link.is-building-summary.is-mobile-compact-summary.mobile-label-pos-left::after {
    content: "";
    left: 100%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: calc(var(--hotspot-side-gap) + var(--hotspot-side-stem-clearance));
    height: 1.2px;
    background: var(--accent);
    border-radius: 999px;
    opacity: 1;
    box-shadow: none;
  }

  .location-hotspot-link.is-building-summary.is-mobile-compact-summary .location-hotspot-header-band {
    margin-top: -1px;
    width: auto;
    min-width: 0;
    padding: 0.42rem 0.78rem 0.38rem;
    font-size: calc(0.6rem * var(--font-scale));
    letter-spacing: 0.035em;
    background: var(--accent);
    color: var(--color-text-inverse);
    border-radius: 0 0 12px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .location-hotspot-link.is-building-summary.is-mobile-compact-summary .location-hotspot-title {
    width: auto;
    min-width: 0;
    padding: 0.72rem 0.78rem 0.64rem;
    font-size: calc(0.82rem * var(--font-scale));
    font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
    font-weight: 900;
    line-height: 1.1;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
  }

  .location-hotspot-link.is-building-summary.is-mobile-compact-summary.is-active,
  .location-hotspot-link.is-building-summary.is-mobile-compact-summary.is-interactive-selected {
    max-width: min(54vw, 12.8rem);
  }

  .location-hotspot-link.is-building-summary.is-mobile-compact-summary.is-active .location-hotspot-title,
  .location-hotspot-link.is-building-summary.is-mobile-compact-summary.is-interactive-selected .location-hotspot-title {
    padding-bottom: 0.22rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .location-hotspot-link.is-building-summary.is-mobile-compact-summary.is-active .location-hotspot-building-stats,
  .location-hotspot-link.is-building-summary.is-mobile-compact-summary.is-interactive-selected .location-hotspot-building-stats {
    padding: 0.02rem 0.78rem 0.42rem;
  }

  .viewer-view-group.is-mobile-apartment-navigation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .viewer-view-group.is-mobile-apartment-navigation.is-view-count-1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .viewer-view-group.is-mobile-apartment-navigation.is-view-count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .viewer-view-group.is-mobile-apartment-navigation.is-view-count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #timeModeGroup,
  #seasonGroup,
  #overlayViewerControl,
  #infoViewerControl {
    display: none !important;
  }

  .viewer-powered-link {
    left: 0.5rem;
    bottom: 0.5rem;
    font-size: calc(0.7rem * var(--font-scale));
  }

  .listing-card {
    min-height: 78px;
    padding: 0.32rem 0.18rem 0.32rem 1.62rem;
    border-radius: 0;
  }

  .listing-card::before {
    width: 1rem;
  }

  .listing-card::after {
    left: 0;
    top: 0.08rem;
    bottom: 0.08rem;
    width: 0.92rem;
    font-size: calc(0.5rem * var(--font-scale));
    border-radius: 8px 0 0 8px;
  }

  .listing-card.has-actions .listing-select {
    padding-right: 0.2rem;
    padding-left: 0.12rem;
    padding-bottom: 0;
  }

  .listing-title,
  .apartment3d-card-title {
    font-size: calc(0.98rem * var(--font-scale));
  }

  .listing-meta {
    margin-top: 0.16rem;
    gap: 0.16rem 0.24rem;
    font-size: calc(0.66rem * var(--font-scale));
  }

  .listing-meta span {
    padding: 0.06rem 0.25rem;
  }

  .listing-pricing-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.08rem;
  }

  .listing-pricing-label {
    font-size: calc(0.6rem * var(--font-scale));
  }

  .listing-price-base {
    font-size: calc(0.7rem * var(--font-scale));
  }

  .listing-price-final {
    font-size: calc(0.82rem * var(--font-scale));
  }

  .listing-actions-media {
    gap: 0.2rem;
    width: calc((1.96rem * 3) + (0.2rem * 2));
    min-width: calc((1.96rem * 3) + (0.2rem * 2));
    flex-basis: calc((1.96rem * 3) + (0.2rem * 2));
  }

  .listing-actions-contact {
    right: 0.28rem;
    top: 0.2rem;
  }

  .listing-media-btn {
    width: 1.96rem;
    min-width: 1.96rem;
    height: 1.96rem;
    border-radius: 12px;
  }

  .listing-mail-btn {
    width: 1.38rem;
    height: 1.38rem;
    border-radius: 8px;
  }

  .listing-mail-btn svg {
    width: 0.8rem;
    height: 0.8rem;
  }

  .mobile-building-cards-group {
    display: grid;
    gap: 0.28rem;
  }

body.mobile-building-shell .mobile-building-cards-group {
    display: flex;
    flex-wrap: nowrap;
    gap: calc(0.82rem * var(--mobile-building-density));
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    overscroll-behavior-y: auto;
    touch-action: pan-x;
    padding:
      calc(0.5rem * var(--mobile-building-density))
      var(--mobile-panel-padding-inline)
      calc(1.04rem * var(--mobile-building-density));
    border-radius: 0;
    background: transparent;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  body.mobile-building-shell .mobile-building-cards-group::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card {
    flex: 0 0 min(78vw, 19.2rem);
    max-width: min(78vw, 19.2rem);
    min-height: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    background:
      linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
      rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: var(--color-text-inverse);
    scroll-snap-align: none;
    overflow: hidden;
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card:last-child {
    border-bottom: 1px solid var(--ui-color-line, #dbe5f0);
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card::before,
  body.mobile-building-shell .mobile-building-cards-group .listing-card::after {
    display: none;
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card.has-actions .listing-select {
    padding: 0;
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card .listing-title {
    font-size: calc(1rem * var(--font-scale));
    line-height: 1.08;
    color: var(--color-text-inverse);
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card .listing-select {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    width: -webkit-fit-content;
    width: fit-content;
    max-width: 100%;
    height: auto;
    min-width: 0;
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card .listing-top {
    margin: 0;
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 0 0 auto;
    width: -webkit-fit-content;
    width: fit-content;
    align-self: flex-start;
    max-width: calc(100vw - (4.6rem * var(--mobile-building-density)));
    min-height: calc(6.08rem * var(--mobile-building-density));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: calc(16px * var(--mobile-building-density));
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)),
      linear-gradient(180deg, var(--accent), var(--accent-strong));
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.07),
      0 0 0 1px rgba(255, 255, 255, 0.025);
    color: var(--color-text-inverse);
    position: relative;
    overflow: hidden;
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card.is-active .mobile-building-preview-icon {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.42);
    color: var(--color-text-inverse);
    box-shadow: none;
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card.is-active .mobile-building-preview-title {
    color: inherit;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card.is-active .mobile-building-preview-line {
    color: inherit;
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card.is-active .mobile-building-preview-line span + span::before {
    background: rgba(255, 255, 255, 0.52);
  }

  body.mobile-building-shell .mobile-building-preview-card-inner {
    display: grid;
    align-content: start;
    justify-items: start;
    width: -webkit-fit-content;
    width: fit-content;
    height: 100%;
    min-height: calc(6.08rem * var(--mobile-building-density));
    padding:
      calc(0.76rem * var(--mobile-building-density))
      calc(0.82rem * var(--mobile-building-density))
      calc(0.72rem * var(--mobile-building-density));
  }

  body.mobile-building-shell .mobile-building-preview-icon {
    width: calc(3.15rem * var(--mobile-building-density));
    height: calc(3.15rem * var(--mobile-building-density));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  body.mobile-building-shell .mobile-building-preview-icon::before {
    content: "";
    width: calc(1.42rem * var(--mobile-building-density));
    height: calc(1.42rem * var(--mobile-building-density));
    display: block;
    background-color: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V8l5-3v16H3zm6 0V3l7 3v15H9zm8 0v-9l4 2v7h-4zM5 10h1v2H5zm0 4h1v2H5zm6-8h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2z' fill='black'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 21V8l5-3v16H3zm6 0V3l7 3v15H9zm8 0v-9l4 2v7h-4zM5 10h1v2H5zm0 4h1v2H5zm6-8h2v2h-2zm0 4h2v2h-2zm0 4h2v2h-2z' fill='black'/%3E%3C/svg%3E");
  }

  body.mobile-building-shell .mobile-building-preview-content {
    display: inline-block;
    min-width: 0;
    min-height: 0;
    width: -webkit-fit-content;
    width: fit-content;
    max-width: 100%;
    margin-left: 0;
    padding: calc(0.58rem * var(--mobile-building-density)) 0 0;
  }

  body.mobile-building-shell .mobile-building-preview-title {
    display: block;
    margin-bottom: calc(0.36rem * var(--mobile-building-density));
    color: inherit;
    font-size: calc((1.16rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: 900;
    line-height: 1.02;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  body.mobile-building-shell .mobile-building-preview-line {
    display: inline-block;
    width: -webkit-fit-content;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: clip;
    gap: 0 calc(0.28rem * var(--mobile-building-density));
    margin: 0;
    color: inherit;
    font-size: calc((0.8rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: 800;
    line-height: 1.16;
    white-space: nowrap;
  }

  body.mobile-building-shell .mobile-building-preview-line span + span {
    position: relative;
    padding-left: calc(0.3rem * var(--mobile-building-density));
  }

  body.mobile-building-shell .mobile-building-preview-line span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.08em;
    bottom: 0.08em;
    width: 1px;
    background: rgba(255, 255, 255, 0.52);
  }

  body.mobile-building-shell .mobile-building-preview-line span {
    white-space: nowrap;
  }

  body.mobile-building-shell .building-chip.is-active {
    border-color: rgba(255, 255, 255, 0.72);
    background: transparent;
    color: var(--color-text-inverse);
    box-shadow: none;
  }

  body.mobile-building-shell .building-chip.is-active:hover {
    border-color: rgba(255, 255, 255, 0.84);
    background: transparent;
    color: var(--color-text-inverse);
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-soldout {
    opacity: 1;
  }

  body.mobile-building-shell .mobile-building-card-status {
    display: grid;
    width: 100%;
    gap: 0.34rem;
  }

  body.mobile-building-shell .mobile-building-card-status-total {
    color: rgba(255, 255, 255, 0.82);
    font-size: calc(0.62rem * var(--font-scale));
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
  }

  body.mobile-building-shell .mobile-building-card-status-row {
    display: grid;
    gap: 0.12rem;
  }

  body.mobile-building-shell .mobile-building-card-status-row-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 0.26rem;
  }

  body.mobile-building-shell .mobile-building-card-status-label {
    color: rgba(255, 255, 255, 0.84);
    font-size: calc(0.56rem * var(--font-scale));
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
  }

  body.mobile-building-shell .mobile-building-card-status-count,
  body.mobile-building-shell .mobile-building-card-status-percent {
    display: inline-flex;
    align-items: center;
    color: var(--color-text-inverse);
    font-size: calc(0.56rem * var(--font-scale));
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  body.mobile-building-shell .mobile-building-card-status-percent {
    color: rgba(255, 255, 255, 0.78);
    min-width: 2.05rem;
    justify-content: flex-end;
  }

  body.mobile-building-shell .mobile-building-card-status-track {
    position: relative;
    width: 100%;
    height: 0.42rem;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.16);
  }

  body.mobile-building-shell .mobile-building-card-status-fill {
    display: block;
    height: 100%;
    min-width: 0;
    border-radius: inherit;
  }

  body.mobile-building-shell .mobile-building-card-status-fill.status-available {
    background: var(--available);
  }

  body.mobile-building-shell .mobile-building-card-status-fill.status-reserved {
    background: var(--reserved);
  }

  body.mobile-building-shell .mobile-building-card-status-fill.status-sold {
    background: var(--sold);
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card .listing-meta {
    margin-top: 0.26rem;
    gap: 0.18rem 0.22rem;
    font-size: calc(0.68rem * var(--font-scale));
  }

  body.mobile-building-shell .mobile-building-cards-group .listing-card .listing-meta span {
    background: rgba(255, 255, 255, 0.14);
    color: var(--color-text-inverse);
  }

  .mobile-pzt-section {
    display: grid;
    gap: 0.72rem;
    padding: 0.82rem 0 0.2rem;
    border: 0;
    border-radius: 0;
    background: var(--color-surface-paper);
    box-shadow: none;
    overflow: hidden;
  }

body.mobile-building-shell .mobile-pzt-section {
    --mobile-pzt-title-gap: calc(2.36rem * var(--mobile-building-density));
    gap: var(--mobile-pzt-title-gap);
    padding:
      calc(0.54rem * var(--mobile-building-density))
      var(--mobile-panel-padding-inline)
      calc(1.46rem * var(--mobile-building-density));
    margin: 0 0 calc(0.22rem * var(--mobile-building-density));
    background: transparent;
  }

  .mobile-pzt-section .listing-section-title {
    margin: 0;
    padding: 0;
  }

body.mobile-building-shell .mobile-pzt-section .listing-section-title {
    width: 100%;
    margin: 0;
    padding:
      0
      0;
    color: var(--color-text-inverse);
    font-size: calc((1.3rem * var(--font-scale)) * var(--mobile-building-density));
    font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
  }

  .mobile-pzt-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: calc(4.46rem * var(--mobile-building-density));
    justify-items: stretch;
    align-items: stretch;
    width: 100%;
    margin-inline: auto;
    gap:
      calc(0.76rem * var(--mobile-building-density))
      0;
    overflow: visible;
    padding: 0 0 calc(0.32rem * var(--mobile-building-density));
    scrollbar-width: none;
    scroll-snap-type: none;
    touch-action: pan-y;
  }

  .mobile-pzt-grid::-webkit-scrollbar {
    display: none;
  }

  .mobile-pzt-tile {
    width: 100%;
    min-width: 0;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: center;
    scroll-snap-align: none;
  }

  .mobile-pzt-tile-button {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: calc(0.56rem * var(--mobile-building-density));
    padding: 0;
    color: var(--color-text-inverse);
    cursor: pointer;
    text-align: center;
  }

  body.mobile-building-shell .mobile-pzt-tile-body {
    display: none;
  }

  .mobile-pzt-tile.is-active .mobile-pzt-tile-button {
    color: var(--color-text-inverse);
    transform: none;
  }

  .mobile-pzt-tile.is-active .mobile-pzt-tile-icon {
    margin-top: 0;
    border: 2px solid rgba(255, 255, 255, 0.92);
    background: var(--ui-color-pink, #ff5f70);
    box-shadow:
      0 0 0 4px rgba(255, 255, 255, 0.18),
      0 0 0 8px color-mix(in srgb, var(--feature-pink-active) 20%, transparent),
      0 10px 24px color-mix(in srgb, var(--feature-pink-active) 34%, transparent);
    transform: scale(1.06);
  }

  .mobile-pzt-tile.is-active .mobile-pzt-tile-title {
    color: var(--color-text-inverse);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
  }

  .mobile-pzt-tile.is-active .mobile-pzt-tile-body::after {
    display: none;
  }

  .mobile-pzt-tile-icon {
    width: calc(3.86rem * var(--mobile-building-density));
    height: calc(3.86rem * var(--mobile-building-density));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--ui-color-pink, #e64c5a);
    color: var(--color-text-inverse);
    box-shadow: 0 7px 16px color-mix(in srgb, var(--feature-pink-active) 18%, transparent);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1;
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      transform 180ms ease;
  }

  .mobile-pzt-tile-icon .pzt-feature-label-icon-svg {
    width: calc(1.56rem * var(--mobile-building-density));
    height: calc(1.56rem * var(--mobile-building-density));
    display: block;
    color: currentColor;
  }

  .mobile-vr360-section {
    --mobile-pzt-title-gap: calc(1.42rem * var(--mobile-building-density));
    padding-top: calc(0.28rem * var(--mobile-building-density));
  }

  .mobile-vr360-grid {
    grid-auto-rows: calc(5.92rem * var(--mobile-building-density));
    row-gap: calc(0.92rem * var(--mobile-building-density));
  }

  .mobile-vr360-tile-button {
    align-content: start;
    gap: calc(0.34rem * var(--mobile-building-density));
  }

  .mobile-vr360-tile-icon {
    background: var(--vr360);
    color: var(--color-text-inverse);
    box-shadow:
      0 0 0 4px color-mix(in srgb, var(--effect-color-blue, rgb(24, 169, 255)) 12%, transparent),
      0 10px 24px color-mix(in srgb, var(--effect-color-blue, rgb(24, 169, 255)) 24%, transparent);
  }

  .mobile-vr360-tile-button:hover .mobile-vr360-tile-icon,
  .mobile-vr360-tile-button:focus-visible .mobile-vr360-tile-icon {
    box-shadow:
      0 0 0 4px rgba(255, 255, 255, 0.2),
      0 0 0 8px color-mix(in srgb, var(--effect-color-blue, rgb(24, 169, 255)) 18%, transparent),
      0 12px 28px color-mix(in srgb, var(--effect-color-blue, rgb(24, 169, 255)) 32%, transparent);
    transform: scale(1.05);
  }

  .mobile-vr360-tile-icon .vr360-symbol {
    display: grid;
    place-items: center;
    width: calc(2.3rem * var(--mobile-building-density));
    height: calc(2.3rem * var(--mobile-building-density));
    color: currentColor;
  }

  .mobile-vr360-tile-icon .vr360-svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    overflow: visible;
    stroke: currentColor;
    stroke-miterlimit: 10;
    stroke-width: 1.95;
  }

  .mobile-vr360-tile-icon .vr360-line {
    fill: none;
    stroke: currentColor;
  }

  .mobile-vr360-tile-icon .vr360-float {
    animation: none;
  }

  .mobile-vr360-tile-label {
    display: -webkit-box;
    width: min(100%, calc(4.8rem * var(--mobile-building-density)));
    max-width: 100%;
    color: inherit;
    text-align: center;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .mobile-pzt-tile-body {
    display: grid;
    gap: calc(0.08rem * var(--mobile-building-density));
    min-width: 0;
    min-height: calc(3.2rem * var(--mobile-building-density));
    justify-items: center;
    align-content: start;
  }

  .mobile-pzt-tile-title {
    display: block;
    width: 100%;
    color: var(--color-text-inverse);
    font-size: calc((0.92rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

	  @media (width < 1000px) and (max-height: 760px), (orientation: portrait) and (max-height: 760px) {
    body.mobile-building-shell .list-card {
      padding-bottom: calc((4.44rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-bottom));
    }

    body.mobile-building-shell .mobile-pzt-section {
      padding-bottom: calc(1.56rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-pzt-grid {
      row-gap: calc(0.62rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-pzt-tile-icon {
      width: calc(3.86rem * var(--mobile-building-density));
      height: calc(3.86rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-pzt-tile-icon .pzt-feature-label-icon-svg {
      width: calc(1.56rem * var(--mobile-building-density));
      height: calc(1.56rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-pzt-tile-title {
      font-size: calc((0.86rem * var(--font-scale)) * var(--mobile-building-density));
      line-height: 1.14;
    }
  }

  @media (max-width: 390px) {
    body.mobile-building-shell {
      --mobile-building-density: 0.82;
    }

    body.mobile-building-shell .list-mobile-shell {
      padding:
        calc(0.8rem * var(--mobile-building-density))
        var(--mobile-panel-padding-inline)
        calc(0.48rem * var(--mobile-building-density));
    }

body.mobile-building-shell .list-mobile-shell .list-head {
      margin-bottom: calc(0.18rem * var(--mobile-building-density));
      min-height: calc(1.48rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .list-mobile-shell .list-head h2,
    body.mobile-building-shell .mobile-pzt-section .listing-section-title {
      font-size: calc((1.18rem * var(--font-scale)) * var(--mobile-building-density));
      line-height: 1.04;
    }

    body.mobile-building-shell .mobile-building-cards-group {
      gap: calc(0.6rem * var(--mobile-building-density));
      padding:
        calc(0.36rem * var(--mobile-building-density))
        var(--mobile-panel-padding-inline)
        calc(0.76rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card {
      display: inline-flex;
      flex-direction: column;
      align-items: flex-start;
      flex: 0 0 auto;
      width: -webkit-fit-content;
      width: fit-content;
      align-self: flex-start;
      max-width: calc(100vw - (4.8rem * var(--mobile-building-density)));
      min-height: calc(5.46rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-building-preview-card-inner {
      display: grid;
      min-height: calc(5.46rem * var(--mobile-building-density));
      width: -webkit-fit-content;
      width: fit-content;
    }

    body.mobile-building-shell .mobile-building-preview-icon {
      width: calc(2.86rem * var(--mobile-building-density));
      height: calc(2.86rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-building-preview-icon::before {
      width: calc(1.28rem * var(--mobile-building-density));
      height: calc(1.28rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-building-preview-title {
      margin-bottom: calc(0.28rem * var(--mobile-building-density));
      font-size: calc((1.04rem * var(--font-scale)) * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-building-preview-line {
      display: inline-block;
      width: -webkit-fit-content;
      width: fit-content;
      max-width: 100%;
      font-size: calc((0.74rem * var(--font-scale)) * var(--mobile-building-density));
      gap: 0 calc(0.22rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-pzt-section {
      --mobile-pzt-title-gap: calc(1.8rem * var(--mobile-building-density));
      gap: var(--mobile-pzt-title-gap);
      padding-bottom: calc(1.22rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-pzt-grid {
      row-gap: calc(0.52rem * var(--mobile-building-density));
      padding-bottom: calc(0.22rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-pzt-tile {
      width: 100%;
      min-width: 0;
      max-width: none;
    }

    body.mobile-building-shell .mobile-pzt-tile-button {
      gap: calc(0.36rem * var(--mobile-building-density));
      width: 100%;
    }

    body.mobile-building-shell .mobile-pzt-tile-body {
      display: none;
    }

    body.mobile-building-shell .mobile-pzt-tile-icon {
      width: calc(3.86rem * var(--mobile-building-density));
      height: calc(3.86rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-pzt-tile-icon .pzt-feature-label-icon-svg {
      width: calc(1.56rem * var(--mobile-building-density));
      height: calc(1.56rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-pzt-tile-body {
      min-height: calc(2.68rem * var(--mobile-building-density));
      gap: calc(0.04rem * var(--mobile-building-density));
    }

    body.mobile-building-shell .mobile-pzt-tile-title {
      font-size: calc((0.76rem * var(--font-scale)) * var(--mobile-building-density));
      line-height: 1.06;
      letter-spacing: -0.015em;
    }
  }

  .mobile-pzt-tile-meta {
    display: none;
  }

  .listing-card-footer {
    margin-top: 0.18rem;
    padding-top: 0.18rem;
    gap: 0.26rem;
  }

  body.mobile-apartment-shell #listings {
    padding:
      0
      2.18rem
      calc((4.22rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-bottom));
  }

  body.mobile-apartment-shell .listing-card {
    min-height: calc(9.48rem * var(--mobile-building-density));
    border-radius: 16px;
  }

  body.mobile-apartment-shell .listing-card::before {
    width: 2.44rem;
  }

  body.mobile-apartment-shell .listing-card::after {
    left: 0.1rem;
    top: 0.12rem;
    bottom: 0.12rem;
    width: 2.24rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 14px 0 0 14px;
    font-size: calc(0.72rem * var(--font-scale));
    letter-spacing: 0.08em;
  }

  body.mobile-apartment-shell .listing-select,
  body.mobile-apartment-shell .listing-card.has-actions .listing-select {
    display: block;
    padding:
      calc(0.94rem * var(--mobile-building-density))
      calc(6.12rem * var(--mobile-building-density))
      calc(0.16rem * var(--mobile-building-density))
      calc(10.88rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-card.has-actions .listing-card-body {
    display: block;
    min-height: 0;
  }

  body.mobile-apartment-shell .listing-card.has-actions .listing-card-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(4.28rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-card-thumbnail {
    position: absolute;
    left: calc(2.58rem * var(--mobile-building-density));
    top: calc(0.86rem * var(--mobile-building-density));
    bottom: calc(0.86rem * var(--mobile-building-density));
    width: auto;
    min-width: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: calc(16px * var(--mobile-building-density));
    border-color: rgba(117, 145, 179, 0.3);
    background:
      radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 56%),
      linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(232, 241, 250, 0.98));
    padding: calc(0.22rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-card-thumbnail.is-dedicated-thumb,
  body.mobile-apartment-shell .listing-card.is-active .listing-card-thumbnail.is-dedicated-thumb {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }

  body.mobile-apartment-shell .listing-card-thumbnail.has-image {
    border-color: rgba(116, 143, 177, 0.38);
    background: var(--effect-gradient-light, linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(243, 248, 253, 0.99)));
  }

  body.mobile-apartment-shell .listing-card-thumbnail:not(.has-image),
  body.mobile-apartment-shell .listing-card.is-active .listing-card-thumbnail:not(.has-image) {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
    padding: 0;
  }

  body.mobile-apartment-shell .listing-card-thumbnail-placeholder,
  body.mobile-apartment-shell .listing-card-thumbnail-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    max-width: none;
    max-height: none;
    align-self: stretch;
    justify-self: stretch;
  }

  body.mobile-apartment-shell .listing-card-thumbnail:not(.has-image) .listing-card-thumbnail-placeholder {
    display: grid;
    place-items: center;
  }

  body.mobile-apartment-shell .listing-card-thumbnail-placeholder-icon {
    width: calc(2.58rem * var(--mobile-building-density));
    height: calc(2.58rem * var(--mobile-building-density));
    stroke-width: 3.1;
  }

  body.mobile-apartment-shell .listing-title {
    font-size: calc((1.34rem * var(--font-scale)) * var(--mobile-building-density));
    line-height: 1.03;
  }

  body.mobile-apartment-shell .listing-meta,
  body.mobile-apartment-shell .listing-card.has-actions .listing-meta {
    margin-top: calc(0.2rem * var(--mobile-building-density));
    gap: calc(0.1rem * var(--mobile-building-density)) calc(0.34rem * var(--mobile-building-density));
    font-size: calc((0.92rem * var(--font-scale)) * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-card-footer {
    margin-top: calc(0.18rem * var(--mobile-building-density));
    padding:
      0
      calc(6.42rem * var(--mobile-building-density))
      calc(1.02rem * var(--mobile-building-density))
      calc(10.88rem * var(--mobile-building-density));
    gap: 0.34rem;
    min-height: 0;
    position: static;
  }

  body.mobile-apartment-shell .listing-card-footer.has-visible-media {
    grid-template-columns: minmax(0, 1fr);
  }

  body.mobile-apartment-shell .listing-pricing-wrap,
  body.mobile-apartment-shell .listing-pricing,
  body.mobile-apartment-shell .listing-pricing-row {
    min-width: 0;
  }

  body.mobile-apartment-shell .listing-pricing-row {
    display: block;
  }

  body.mobile-apartment-shell .listing-pricing-label {
    display: none;
  }

  body.mobile-apartment-shell .listing-price-base {
    font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
    font-size: calc((0.84rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: 700;
    line-height: 1.02;
  }

  body.mobile-apartment-shell .listing-price-final {
    display: block;
    font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
    font-size: calc((1.24rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: 900;
    letter-spacing: -0.013em;
    line-height: 1.04;
  }

  body.mobile-apartment-shell .listing-actions-media {
    position: absolute;
    right: calc(0.96rem * var(--mobile-building-density));
    bottom: calc(0.74rem * var(--mobile-building-density));
    gap: 0.28rem;
    align-items: center;
  }

  body.mobile-apartment-shell .listing-actions-contact {
    position: absolute;
    right: calc(0.96rem * var(--mobile-building-density));
    top: calc(0.72rem * var(--mobile-building-density));
    bottom: auto;
  }

  body.mobile-apartment-shell .listing-media-btn,
  body.mobile-apartment-shell .listing-mail-btn {
    width: 2.58rem;
    min-width: 2.58rem;
    height: 2.58rem;
    border-radius: 14px;
  }

  body.mobile-apartment-shell .listing-mail-btn svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  body.mobile-apartment-shell .listing-media-icon {
    width: 1.28rem;
    height: 1.28rem;
  }

  body.mobile-apartment-shell .listing-media-icon-2d {
    width: 1.96rem;
  }

  body.mobile-apartment-shell .listing-media-icon-3d {
    width: 2rem;
    height: 1.54rem;
  }

  body.mobile-apartment-shell .listing-media-icon-vr {
    width: 2.08rem;
    height: 1.86rem;
  }

body.mobile-apartment-shell[data-mobile-listings-view="list"] #listings {
    gap: 0;
    padding-left: var(--mobile-panel-padding-inline);
    padding-right: var(--mobile-panel-padding-inline);
    padding-top: 0;
    --mobile-list-surface: var(--color-surface-paper);
    background: var(--mobile-list-surface);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header {
    display: grid;
    grid-template-columns:
      minmax(0, 1.18fr)
      minmax(0, 0.52fr)
      minmax(0, 0.84fr)
      minmax(0, 0.44fr)
      minmax(0, 1.18fr)
      calc(1.42rem * var(--mobile-building-density))
      calc(1.42rem * var(--mobile-building-density));
    align-items: center;
    gap: calc(0.14rem * var(--mobile-building-density));
    min-height: calc(3.18rem * var(--mobile-building-density));
    padding:
      calc(0.54rem * var(--mobile-building-density))
      0
      calc(0.54rem * var(--mobile-building-density));
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--mobile-list-surface, var(--accent-strong));
    color: var(--listing-row-accent);
    isolation: isolate;
    box-sizing: border-box;
    overflow: hidden;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(-0.56rem * var(--mobile-building-density));
    height: calc(0.56rem * var(--mobile-building-density));
    background: var(--mobile-list-surface, var(--accent-strong));
    pointer-events: none;
    z-index: 0;
  }

  body.mobile-apartment-shell .listing-row-header-cell {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc((0.74rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-align: center;
    min-height: 100%;
    position: relative;
    z-index: 1;
  }

  body.mobile-apartment-shell .listing-row-header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    position: relative;
    z-index: 1;
  }

  body.mobile-apartment-shell .listing-row-header-contact svg {
    width: calc(1.08rem * var(--mobile-building-density));
    height: calc(1.08rem * var(--mobile-building-density));
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary {
    --listing-row-accent: var(--accent);
    --listing-row-accent-rgb: var(--accent-rgb);
    position: relative;
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      calc(1.42rem * var(--mobile-building-density))
      calc(1.42rem * var(--mobile-building-density));
    align-items: center;
    gap: calc(0.34rem * var(--mobile-building-density));
    padding:
      calc(0.76rem * var(--mobile-building-density))
      0
      calc(0.76rem * var(--mobile-building-density))
      0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile:nth-of-type(even) {
    background:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.015) 6%,
        rgba(255, 255, 255, 0.035) 16%,
        rgba(255, 255, 255, 0.035) 84%,
        rgba(255, 255, 255, 0.015) 94%,
        rgba(255, 255, 255, 0) 100%
      );
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.status-available,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary.status-available {
    --listing-row-accent: var(--available);
    --listing-row-accent-rgb: 78 148 50;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.status-reserved,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary.status-reserved {
    --listing-row-accent: var(--reserved);
    --listing-row-accent-rgb: 247 127 0;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.status-sold,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary.status-sold {
    --listing-row-accent: var(--sold);
    --listing-row-accent-rgb: 199 50 50;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile:last-child,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary:last-child {
    border-bottom: 0;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.is-active {
    background:
      linear-gradient(
        90deg,
        rgb(var(--listing-row-accent-rgb) / 0) 0%,
        rgb(var(--listing-row-accent-rgb) / 0.05) 6%,
        rgb(var(--listing-row-accent-rgb) / 0.14) 16%,
        rgb(var(--listing-row-accent-rgb) / 0.14) 84%,
        rgb(var(--listing-row-accent-rgb) / 0.05) 94%,
        rgb(var(--listing-row-accent-rgb) / 0) 100%
      );
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-select,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-select {
    grid-column: 1;
    padding: 0;
    grid-template-columns:
      minmax(0, 1.18fr)
      minmax(0, 0.52fr)
      minmax(0, 0.84fr)
      minmax(0, 0.44fr)
      minmax(0, 1.18fr);
    gap: calc(0.14rem * var(--mobile-building-density));
    align-items: center;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell {
    min-width: 0;
    font-size: calc((0.88rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: 700;
    line-height: 1.28;
    color: var(--color-text-on-paper);
    word-break: break-word;
    text-align: center;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-status-indicator {
    width: calc(0.54rem * var(--mobile-building-density));
    height: calc(0.54rem * var(--mobile-building-density));
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.status-available .listing-row-status-indicator {
    background: var(--ui-color-available, #9ce567);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.status-reserved .listing-row-status-indicator {
    background: var(--ui-color-reserved, #ffb15a);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.status-sold .listing-row-status-indicator {
    background: var(--ui-color-sold, #ff6c64);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.is-active .listing-row-status-indicator {
    transform: scale(1.42);
    box-shadow:
      0 0 0 4px rgba(255, 255, 255, 0.1),
      0 0 0 8px currentColor;
    animation: mobile-status-indicator-pulse 1.6s ease-in-out infinite;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.is-active.status-available .listing-row-status-indicator {
    color: rgba(156, 229, 103, 0.18);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.is-active.status-reserved .listing-row-status-indicator {
    color: rgba(255, 177, 90, 0.18);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.is-active.status-sold .listing-row-status-indicator {
    color: rgba(255, 108, 100, 0.18);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-name,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(0.18rem * var(--mobile-building-density));
    font-size: calc((0.94rem * var(--font-scale)) * var(--mobile-building-density));
    font-weight: 900;
    color: var(--color-text-inverse);
    white-space: nowrap;
    transform: none;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-status-pill,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-status-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: calc(2rem * var(--mobile-building-density));
    height: calc(2rem * var(--mobile-building-density));
    min-width: 0;
    max-width: 100%;
    padding: calc(0.2rem * var(--mobile-building-density)) calc(0.52rem * var(--mobile-building-density));
    border-radius: 999px;
    background: var(--listing-row-accent);
    color: var(--color-text-inverse);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.16),
      0 0 0 1px rgb(var(--listing-row-accent-rgb) / 0.14);
    overflow: visible;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-status-pill .listing-row-name-text,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-status-pill .listing-row-name-text {
    color: var(--color-text-inverse) !important;
    -webkit-text-fill-color: var(--color-text-inverse) !important;
    font-weight: 800 !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.is-active .listing-row-status-pill {
    animation: mobile-status-pill-breathe 1.8s ease-in-out infinite;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile.is-active .listing-row-status-pill::after {
    content: "";
    position: absolute;
    inset: calc(-0.14rem * var(--mobile-building-density));
    border-radius: inherit;
    background: radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.12) 46%,
      rgba(255, 255, 255, 0) 76%
    );
    opacity: 0.24;
    transform: scale(0.86);
    pointer-events: none;
    animation: mobile-status-pill-pulse 1.8s ease-in-out infinite;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-name-text,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-name-text {
    display: inline-block;
  }

  @keyframes mobile-status-pill-pulse {
    0%,
    100% {
      transform: scale(0.86);
      opacity: 0.12;
    }
    50% {
      transform: scale(1.08);
      opacity: 0.3;
    }
  }

  @keyframes mobile-status-pill-breathe {
    0%,
    100% {
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 0 0 1px rgb(var(--listing-row-accent-rgb) / 0.14);
    }
    50% {
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 0 1px rgb(var(--listing-row-accent-rgb) / 0.18),
        0 0 0 4px rgb(var(--listing-row-accent-rgb) / 0.12);
    }
  }

  @keyframes mobile-status-indicator-pulse {
    0%,
    100% {
      transform: scale(1.34);
      box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 0 8px currentColor;
    }
    50% {
      transform: scale(1.5);
      box-shadow:
        0 0 0 5px rgba(255, 255, 255, 0.14),
        0 0 0 11px rgba(255, 255, 255, 0),
        0 0 0 13px currentColor;
    }
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-price,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-price {
    font-family: var(--font-ui) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    font-variant-numeric: tabular-nums !important;
    white-space: nowrap;
    overflow: visible;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-price-stack,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-price-stack {
    gap: calc(0.04rem * var(--mobile-building-density));
    line-height: 1.02;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-price-base,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-price-base {
    font-family: inherit !important;
    font-size: 0.72em !important;
    font-weight: 400 !important;
    line-height: 1.02 !important;
    color: var(--color-text-muted-on-paper) !important;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-price-final,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-price-final {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-price-stack-discounted .listing-row-price-final,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-price-stack-discounted .listing-row-price-final {
    color: var(--promotion-color, #c73232) !important;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-area,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-area,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-floor,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-floor,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-rooms,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-rooms {
    white-space: nowrap;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions {
    grid-column: 2 / span 2;
    display: grid;
    grid-template-columns:
      calc(1.42rem * var(--mobile-building-density))
      calc(1.42rem * var(--mobile-building-density));
    align-items: center;
    justify-content: center;
    gap: calc(0.34rem * var(--mobile-building-density));
    align-self: center;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-actions-media,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-actions-contact {
    position: static;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-media-btn,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-mail-btn {
    width: calc(1.34rem * var(--mobile-building-density));
    min-width: calc(1.34rem * var(--mobile-building-density));
    height: calc(1.34rem * var(--mobile-building-density));
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.96);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-media-icon {
    width: calc(1.12rem * var(--mobile-building-density));
    height: calc(1.12rem * var(--mobile-building-density));
    color: currentColor;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-media-icon-2d {
    width: calc(1.14rem * var(--mobile-building-density));
    height: calc(1.14rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-mail-btn svg {
    width: calc(1.12rem * var(--mobile-building-density));
    height: calc(1.12rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-mail-btn:hover,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-mail-btn:focus-visible {
    background: transparent;
    box-shadow: none;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-view2d-btn.is-unavailable {
    opacity: 0.24;
    color: rgba(255, 255, 255, 0.34);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header {
    grid-template-columns:
      minmax(0, 1fr)
      calc(2.58rem * var(--mobile-building-density));
    gap: calc(0.3rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-main {
    display: grid;
    grid-template-columns:
      minmax(0, 1.18fr)
      minmax(0, 0.52fr)
      minmax(0, 0.84fr)
      minmax(0, 0.44fr)
      minmax(0, 1.18fr);
    align-items: center;
    gap: calc(0.14rem * var(--mobile-building-density));
    min-width: 0;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-actions {
    display: block;
    min-height: 1px;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-pill {
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc(2.58rem * var(--mobile-building-density));
    align-items: center;
    gap: calc(0.3rem * var(--mobile-building-density));
    width: 100%;
    padding:
      calc(0.34rem * var(--mobile-building-density))
      calc(0.18rem * var(--mobile-building-density))
      calc(0.42rem * var(--mobile-building-density))
      calc(0.28rem * var(--mobile-building-density));
    border: 1px solid var(--accent);
    border-radius: calc(12px * var(--mobile-building-density));
    background: var(--accent);
    color: var(--color-text-inverse);
    box-sizing: border-box;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-main {
    display: grid;
    grid-template-columns:
      minmax(0, 1.18fr)
      minmax(0, 0.52fr)
      minmax(0, 0.84fr)
      minmax(0, 0.44fr)
      minmax(0, 1.18fr);
    align-items: center;
    gap: calc(0.14rem * var(--mobile-building-density));
    min-width: 0;
    width: 100%;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-cell {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: calc(0.66rem * var(--font-scale) * var(--mobile-building-density));
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.1;
    min-height: 100%;
    position: relative;
    z-index: 1;
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-sort-button {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    padding: 0 calc(0.3rem * var(--mobile-building-density));
    margin: 0;
    background: transparent;
    color: var(--color-text-inverse);
    cursor: pointer;
    text-transform: none;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-sort-button:hover,
  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-sort-button:focus-visible {
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-label {
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    text-align: center;
  }

body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-sort-indicator {
  position: absolute;
  top: 50%;
  right: calc(0.14rem * var(--mobile-building-density));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(0.72rem * var(--mobile-building-density));
  height: calc(0.72rem * var(--mobile-building-density));
  flex: 0 0 calc(0.72rem * var(--mobile-building-density));
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.16s ease, transform 0.16s ease;
  pointer-events: none;
}

body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-sort-arrow {
  width: calc(0.48rem * var(--mobile-building-density));
  height: calc(0.32rem * var(--mobile-building-density));
  background: currentColor;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: translateY(0.01rem);
}

  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-sort-button.is-sorted .listing-row-header-sort-indicator {
    opacity: 1;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile-header .listing-row-header-sort-button[data-sort-dir="asc"] .listing-row-header-sort-arrow {
    transform: rotate(180deg) translateY(-0.01rem);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile,
  body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary {
    grid-template-columns:
      minmax(0, 1fr)
      calc(2.58rem * var(--mobile-building-density));
    gap: calc(0.3rem * var(--mobile-building-density));
    overflow: visible;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-menu {
    grid-column: 2;
    align-self: center;
    justify-self: end;
    margin-right: calc(0.18rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-action-toggle {
    display: grid;
    place-items: center;
    width: calc(2rem * var(--mobile-building-density));
    min-width: calc(2rem * var(--mobile-building-density));
    height: calc(2rem * var(--mobile-building-density));
    border-radius: 999px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    box-shadow: none;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-action-toggle:hover,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-action-toggle:focus-visible,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-menu.is-open .listing-row-action-toggle {
    border-color: var(--accent-strong);
    background: transparent;
    color: var(--accent-strong);
    box-shadow: none;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-action-toggle-plus {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-family: inherit;
    font-size: calc(1.18rem * var(--mobile-building-density));
    font-weight: 900;
    line-height: 1;
    transform: none;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover {
    right: calc(100% + (0.34rem * var(--mobile-building-density)));
    gap: calc(0.14rem * var(--mobile-building-density));
    padding: calc(0.12rem * var(--mobile-building-density));
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--accent);
    box-shadow: var(--effect-shadow-medium, 0 14px 30px rgba(7, 21, 35, 0.28));
    backdrop-filter: blur(14px);
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-btn,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-mail-btn {
    width: calc(2.14rem * var(--mobile-building-density));
    min-width: calc(2.14rem * var(--mobile-building-density));
    height: calc(2.14rem * var(--mobile-building-density));
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: transparent;
    color: var(--color-text-inverse);
    box-shadow: none;
    transition:
      background 0.16s ease,
      color 0.16s ease,
      border-color 0.16s ease,
      transform 0.16s ease;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-btn:hover,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-btn:focus-visible,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-mail-btn:hover,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-mail-btn:focus-visible {
    border-color: rgba(255, 255, 255, 0.58);
    background: transparent;
    color: var(--color-text-inverse);
    box-shadow: none;
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-icon {
    width: calc(1.3rem * var(--mobile-building-density));
    height: calc(1.3rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-icon-2d {
    width: calc(1.52rem * var(--mobile-building-density));
    height: calc(1.52rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-icon-3d {
    width: calc(1.66rem * var(--mobile-building-density));
    height: calc(1.3rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-icon-vr {
    width: calc(1.46rem * var(--mobile-building-density));
    height: calc(1.4rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-mail-btn svg {
    width: calc(1.26rem * var(--mobile-building-density));
    height: calc(1.26rem * var(--mobile-building-density));
  }

  .listing-media-icon {
    width: 0.9rem;
    height: 0.9rem;
  }

  .gallery-stage {
    padding: 0;
  }

  .gallery-modal-card {
    width: min(95vw, calc(100vw - 8px));
    max-width: calc(100vw - 8px);
    max-height: calc(100dvh - 1rem - 4px);
    height: min(80vh, calc(100dvh - 1rem - 4px));
    padding: 0.65rem;
  }

}

  @media (width < 1000px) and (max-height: 840px), (orientation: portrait) and (max-height: 840px) {
    body:is(.mobile-building-shell, .mobile-apartment-shell) {
      --mobile-building-density: 0.96;
      --mobile-menu-scale: 0.78;
    }
  }

  @media (width < 1000px) and (max-height: 760px), (orientation: portrait) and (max-height: 760px) {
    body:is(.mobile-building-shell, .mobile-apartment-shell) {
      --mobile-building-density: 0.9;
      --mobile-menu-scale: 0.76;
    }
  }

  @media (width < 1000px) and (max-height: 700px), (orientation: portrait) and (max-height: 700px) {
    body:is(.mobile-building-shell, .mobile-apartment-shell) {
      --mobile-building-density: 0.82;
      --mobile-menu-scale: 0.72;
    }
  }

  @media (width < 1000px) and (max-height: 640px), (orientation: portrait) and (max-height: 640px) {
    body:is(.mobile-building-shell, .mobile-apartment-shell) {
      --mobile-building-density: 0.74;
      --mobile-menu-scale: 0.68;
    }
  }

  @media (width < 1000px), (orientation: portrait) {
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions:hover,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active:hover {
      background: var(--color-surface-paper);
      transform: none;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-select {
      display: block;
      padding:
        calc(0.94rem * var(--mobile-building-density))
        calc(6.12rem * var(--mobile-building-density))
        calc(0.16rem * var(--mobile-building-density))
        calc(10.88rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] #listings {
      padding-top: calc(0.42rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-body {
      display: block;
      min-height: 0;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-main {
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: calc(4.28rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-thumbnail {
      position: absolute;
      left: calc(2.58rem * var(--mobile-building-density));
      top: calc(0.86rem * var(--mobile-building-density));
      bottom: calc(0.86rem * var(--mobile-building-density));
      width: auto;
      min-width: 0;
      height: auto;
      aspect-ratio: 1 / 1;
      border-radius: calc(16px * var(--mobile-building-density));
      padding: calc(0.22rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-thumbnail.is-dedicated-thumb,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.is-active .listing-card-thumbnail.is-dedicated-thumb {
      border-color: transparent;
      background: transparent;
      box-shadow: none;
      padding: 0;
      border-radius: 0;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-thumbnail:not(.has-image),
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.is-active .listing-card-thumbnail:not(.has-image) {
      border-color: transparent;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: none;
      padding: 0;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-thumbnail-placeholder,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-thumbnail-image {
      width: 100%;
      height: 100%;
      aspect-ratio: 1 / 1;
      max-width: none;
      max-height: none;
      align-self: stretch;
      justify-self: stretch;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-thumbnail:not(.has-image) .listing-card-thumbnail-placeholder {
      display: grid;
      place-items: center;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-thumbnail-placeholder-icon {
      width: calc(2.58rem * var(--mobile-building-density));
      height: calc(2.58rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-meta,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta {
      margin-top: calc(0.2rem * var(--mobile-building-density));
      gap: calc(0.1rem * var(--mobile-building-density)) calc(0.34rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-footer {
      margin-top: calc(0.18rem * var(--mobile-building-density));
      padding:
        0
        calc(6.42rem * var(--mobile-building-density))
        calc(1.02rem * var(--mobile-building-density))
        calc(10.88rem * var(--mobile-building-density));
      position: static;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-pricing-label {
      display: none;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-price-base {
      font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
      font-weight: 700;
      line-height: 1.02;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-price-final {
      font-family: "Arial Black", "Arial Bold", Arial, Helvetica, sans-serif;
      font-weight: 900;
      letter-spacing: -0.013em;
    }
  }

  /* Keep the apartment list shell light and make mobile cards closer to desktop proportions. */
  body.mobile-apartment-shell .list-column {
    background: var(--ui-color-surface, #eef3f8);
  }

  body.mobile-apartment-shell .list-card {
    background: var(--effect-gradient-light, linear-gradient(180deg, #f9fbfe 0%, #edf3fa 100%));
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-open {
    border-color: rgba(255, 255, 255, 0.14);
    background: var(--accent);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn,
  body.mobile-apartment-shell .mobile-back-to-buildings-btn,
  body.mobile-apartment-shell .mobile-building-switch-btn,
  body.mobile-apartment-shell .mobile-listings-sort-btn {
    border: 0;
    background: var(--accent);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
  }

  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-filters-toggle-btn,
  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-back-to-buildings-btn,
  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-building-switch-btn {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn:hover,
  body.mobile-apartment-shell .mobile-back-to-buildings-btn:hover,
  body.mobile-apartment-shell .mobile-building-switch-btn:hover,
  body.mobile-apartment-shell .mobile-listings-sort-btn:hover {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn.has-active-filters,
  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-filters-toggle-btn.has-active-filters {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-medium, 0 10px 22px rgba(13, 34, 56, 0.14));
  }

  body.mobile-apartment-shell .mobile-filters-toggle-btn.is-open,
  body.mobile-apartment-shell .mobile-controls-panel.is-mobile-head-hosted .mobile-filters-toggle-btn.is-open {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    color: var(--color-text-inverse);
    border-radius: 999px;
    box-shadow: var(--effect-shadow-medium, 0 10px 22px rgba(13, 34, 56, 0.14));
  }

  body.mobile-apartment-shell .mobile-filters-active-count {
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .mobile-listings-view-toggle {
    border: 0;
    background: var(--accent);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(8, 23, 38, 0.18));
  }

  body.mobile-apartment-shell .mobile-listings-view-btn {
    border: 1px solid var(--accent);
    background: var(--accent);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
  }

  body.mobile-apartment-shell .mobile-listings-view-btn.is-active {
    border-color: rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.96);
    color: var(--accent);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      0 8px 18px rgba(12, 30, 49, 0.12);
  }

  body.mobile-apartment-shell .mobile-listings-view-btn:hover {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell .mobile-listings-view-btn.is-active:hover {
    border-color: rgba(255, 255, 255, 1);
    background: var(--color-surface-paper);
    color: var(--accent-strong);
  }

  @media (width < 1000px), (orientation: portrait) {
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.status-available {
      --listing-accent: var(--available);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.status-reserved {
      --listing-accent: var(--reserved);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.status-sold {
      --listing-accent: var(--sold);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] #listings {
      --mobile-list-surface: var(--color-surface-paper);
      background: var(--mobile-list-surface);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header {
      border-bottom-color: rgba(79, 109, 145, 0.16);
      background: var(--mobile-list-surface);
      color: var(--color-text-inverse);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header::after {
      background: var(--mobile-list-surface);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-header-cell,
    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-header-contact {
      color: var(--color-text-inverse);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile,
    body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary {
      border-bottom-color: rgba(79, 109, 145, 0.12);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile:nth-of-type(even) {
      background:
        linear-gradient(
          90deg,
          rgba(255, 255, 255, 0) 0%,
          rgba(94, 122, 155, 0.03) 6%,
          rgba(94, 122, 155, 0.06) 16%,
          rgba(94, 122, 155, 0.06) 84%,
          rgba(94, 122, 155, 0.03) 94%,
          rgba(255, 255, 255, 0) 100%
        );
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile.is-active,
    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile:nth-of-type(even).is-active {
      background:
        linear-gradient(
          90deg,
          rgb(var(--listing-row-accent-rgb) / 0) 0%,
          rgb(var(--listing-row-accent-rgb) / 0.06) 6%,
          rgb(var(--listing-row-accent-rgb) / 0.18) 16%,
          rgb(var(--listing-row-accent-rgb) / 0.18) 84%,
          rgb(var(--listing-row-accent-rgb) / 0.06) 94%,
          rgb(var(--listing-row-accent-rgb) / 0) 100%
        );
    }

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell {
  color: var(--color-text-on-paper);
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-name,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-name {
  color: var(--color-text-on-paper);
}

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-status-indicator {
      background: rgba(92, 116, 144, 0.2);
      box-shadow: 0 0 0 3px rgba(92, 116, 144, 0.08);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile.is-active .listing-row-status-indicator {
      box-shadow:
        0 0 0 4px rgba(255, 255, 255, 0.1),
        0 0 0 8px color-mix(in srgb, var(--listing-row-accent) 18%, transparent);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile.status-available .listing-row-status-indicator {
      background: var(--available);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--available) 14%, transparent);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile.status-reserved .listing-row-status-indicator {
      background: var(--reserved);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--reserved) 14%, transparent);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile.status-sold .listing-row-status-indicator {
      background: var(--sold);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--sold) 14%, transparent);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] #listings {
      padding-top: calc(0.24rem * var(--mobile-building-density));
      gap: calc(0.66rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions:hover,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active:hover {
      min-height: calc(7.04rem * var(--mobile-building-density));
      border-radius: calc(16px * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions::before {
      width: calc(2.18rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions::after {
      top: calc(0.12rem * var(--mobile-building-density));
      bottom: calc(0.12rem * var(--mobile-building-density));
      width: calc(2.02rem * var(--mobile-building-density));
      border-radius: calc(12px * var(--mobile-building-density)) 0 0 calc(12px * var(--mobile-building-density));
      font-size: calc((0.66rem * var(--font-scale)) * var(--mobile-building-density));
      letter-spacing: 0.07em;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-select {
      padding:
        calc(0.72rem * var(--mobile-building-density))
        calc(6rem * var(--mobile-building-density))
        calc(0.08rem * var(--mobile-building-density))
        calc(7.94rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-main {
      min-height: calc(3.18rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-thumbnail {
      left: calc(2.46rem * var(--mobile-building-density));
      top: 50%;
      bottom: auto;
      width: calc(4.92rem * var(--mobile-building-density));
      height: calc(4.92rem * var(--mobile-building-density));
      transform: translateY(-50%);
      border-radius: calc(14px * var(--mobile-building-density));
      padding: calc(0.18rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-thumbnail:not(.has-image),
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.is-active .listing-card-thumbnail:not(.has-image) {
      background: rgba(255, 255, 255, 0.98);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-thumbnail-placeholder-icon {
      width: calc(2.16rem * var(--mobile-building-density));
      height: calc(2.16rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-title {
      font-size: calc((1.14rem * var(--font-scale)) * var(--mobile-building-density));
      line-height: 1.01;
      color: var(--ink);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-meta,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta {
      margin-top: calc(0.12rem * var(--mobile-building-density));
      gap: calc(0.06rem * var(--mobile-building-density)) calc(0.28rem * var(--mobile-building-density));
      font-size: calc((0.78rem * var(--font-scale)) * var(--mobile-building-density));
      color: var(--ink-soft);
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card-footer {
      margin-top: calc(0.12rem * var(--mobile-building-density));
      padding:
        0
        calc(7.08rem * var(--mobile-building-density))
        calc(0.76rem * var(--mobile-building-density))
        calc(7.94rem * var(--mobile-building-density));
      gap: calc(0.2rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-price-base {
      font-size: calc((0.72rem * var(--font-scale)) * var(--mobile-building-density));
      line-height: 1.02;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-price-final {
      font-size: calc((1.02rem * var(--font-scale)) * var(--mobile-building-density));
      line-height: 1.02;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-actions-media {
      right: calc(0.92rem * var(--mobile-building-density));
      bottom: calc(0.72rem * var(--mobile-building-density));
      gap: calc(0.24rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-actions-contact {
      right: calc(0.92rem * var(--mobile-building-density));
      top: calc(0.7rem * var(--mobile-building-density));
      bottom: auto;
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-btn {
      width: calc(2.18rem * var(--mobile-building-density));
      min-width: calc(2.18rem * var(--mobile-building-density));
      height: calc(2.18rem * var(--mobile-building-density));
      border-radius: 999px;
      border: 1px solid var(--accent);
      background: var(--accent);
      color: var(--color-text-inverse);
      box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-icon {
      width: calc(1.14rem * var(--mobile-building-density));
      height: calc(1.14rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-icon-2d {
      width: calc(1.74rem * var(--mobile-building-density));
      height: calc(1.74rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-icon-3d {
      width: calc(1.78rem * var(--mobile-building-density));
      height: calc(1.34rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-icon-vr {
      width: calc(1.84rem * var(--mobile-building-density));
      height: calc(1.62rem * var(--mobile-building-density));
    }

    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-btn:hover,
    body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-btn:focus-visible {
      border-color: var(--accent-strong);
      background: var(--accent-strong);
      color: var(--color-text-inverse);
    }
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
    --listing-accent: var(--accent);
    --listing-row-accent: var(--accent);
    --listing-row-accent-rgb: var(--accent-rgb);
    --hotspot-status-color: var(--accent);
    --apartment3d-ink: var(--color-text-on-paper);
    --apartment3d-muted: var(--color-text-muted-on-paper);
    --apartment3d-rule: var(--ui-color-line, #d7e2ec);
    --info-feature-fill: var(--feature-pink);
    --info-feature-fill-active: var(--feature-pink-active);
    --on-color-dark: var(--color-text-on-paper);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .topbar,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .brand-rail {
    border-color: var(--line);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .viewer-card,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .list-card,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .lead-inline-host .lead-modal-card {
    border-color: var(--line);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .investment-logo-wrap {
    border-color: var(--line);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .list-investment {
    border-bottom-color: var(--line);
    color: var(--ink);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .badge.status-location,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-meta span {
    border-color: var(--line);
    background: var(--surface-alt);
    color: var(--ink);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card {
    --listing-accent: var(--accent);
    border-color: var(--line);
    background: var(--surface);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card:hover {
    border-color: var(--line);
    background: var(--surface-alt);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.is-active {
    border-color: var(--line);
    background: var(--surface);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.is-active .listing-meta span {
    border-color: var(--line);
    background: var(--surface-alt);
    color: var(--ink);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-price-base {
    color: var(--listing-row-accent);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-discount {
    color: var(--accent);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-price-final {
    color: var(--listing-accent);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop-header {
    border-bottom-color: var(--line);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop {
    --listing-row-accent: var(--accent);
    --listing-row-accent-rgb: var(--accent-rgb);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-cell-name {
    color: var(--ink);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-cell-price {
    color: var(--listing-accent);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-status-indicator {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
  }

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-action-toggle {
  border-color: var(--accent) !important;
  background: transparent !important;
  color: var(--accent) !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-action-toggle:hover,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-action-toggle:focus-visible,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-actions-menu.is-open .listing-row-action-toggle {
  border-color: var(--accent-strong) !important;
  background: transparent !important;
  color: var(--accent-strong) !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-action-toggle.listing-row-action-toggle-info,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-action-toggle.listing-row-action-toggle-info {
  border: 1px solid var(--accent) !important;
  background: transparent !important;
  color: var(--accent) !important;
  box-shadow: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-action-toggle.listing-row-action-toggle-info:hover,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-action-toggle.listing-row-action-toggle-info:focus-visible,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-actions-menu.is-open .listing-row-action-toggle.listing-row-action-toggle-info,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-action-toggle.listing-row-action-toggle-info:hover,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-action-toggle.listing-row-action-toggle-info:focus-visible,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-actions-menu.is-open .listing-row-action-toggle.listing-row-action-toggle-info {
  border-color: var(--accent-strong) !important;
  background: transparent !important;
  color: var(--accent-strong) !important;
  box-shadow: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-action-toggle.listing-row-action-toggle-info .listing-row-action-toggle-icon-info,
body[data-theme-mode="DARK"] .listing-row-apartment-desktop .listing-row-action-toggle.listing-row-action-toggle-info .listing-row-action-toggle-icon-info {
  color: currentColor !important;
}

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-actions-popover {
    border-color: var(--accent-strong) !important;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%) !important;
    box-shadow: 0 16px 34px rgba(9, 24, 39, 0.22) !important;
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-actions .listing-media-btn,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-actions .listing-mail-btn {
    color: var(--accent);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-actions .listing-media-btn:hover,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-actions .listing-media-btn:focus-visible,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-actions .listing-mail-btn:hover,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop .listing-row-actions .listing-mail-btn:focus-visible {
    color: var(--accent-strong);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .apartment3d-room-panel {
    border-color: var(--line);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .apartment3d-room-row.is-active .apartment3d-room-row-dot {
    background: var(--apartment3d-room-fill-active, var(--info-feature-fill-active));
    box-shadow: 0 0 0 5px var(--apartment3d-room-shadow, color-mix(in srgb, var(--feature-pink-active) 20%, transparent));
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .apartment3d-room-label.is-active::before {
    background: var(--apartment3d-room-fill-active, var(--info-feature-fill-active));
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .location-hotspot-link.is-info-feature {
    --hotspot-status-color: var(--accent);
    --info-feature-fill: var(--feature-pink);
    color: var(--on-selection);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .location-hotspot-link.is-info-feature .location-hotspot-title,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .location-hotspot-link.is-info-feature .location-hotspot-meta {
    color: inherit;
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .location-hotspot-link.is-info-feature.is-active,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .location-hotspot-link.is-info-feature.is-interactive-selected {
    --info-feature-fill: var(--info-feature-fill-active);
  }

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .topbar-link {
  border-color: var(--line);
  background: var(--surface-alt);
  color: var(--accent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-overlay {
  border-color: var(--line);
  color: var(--on-color-dark);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-stage.night-mode .viewer-overlay {
  color: var(--on-color-dark);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-title {
  color: var(--ink);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment3d-card-side .viewer-apartment3d-card-meta {
  color: var(--apartment3d-muted);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-pricing-label {
  color: var(--listing-row-accent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row {
  --listing-row-accent: var(--accent);
  --listing-row-accent-rgb: var(--accent-rgb);
  border-bottom-color: var(--line);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row.status-location {
  --listing-row-accent: var(--accent);
  --listing-row-accent-rgb: var(--accent-rgb);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-status-dot.has-pzt-icon {
  width: 0.62rem;
  height: 0.62rem;
  background: var(--listing-row-accent);
  box-shadow: 0 0 0 3px rgba(95, 107, 124, 0.12);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row.is-active .listing-row-status-dot,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row.is-active .listing-row-status-dot.has-pzt-icon {
  background: var(--info-feature-fill-active);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--feature-pink-active) 20%, transparent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-status-dot.has-pzt-icon .pzt-feature-label-icon-svg {
  display: none;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-title {
  color: var(--ink);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-meta {
  color: var(--listing-row-accent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-distance {
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header {
  border-bottom-color: var(--line);
  color: var(--listing-row-accent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.status-available {
  --listing-accent: var(--available);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.status-reserved {
  --listing-accent: var(--reserved);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.status-sold {
  --listing-accent: var(--sold);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.status-location {
  --listing-accent: var(--accent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.status-building {
  --listing-accent: var(--accent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop.status-available {
  --listing-row-accent: var(--available);
  --listing-row-accent-rgb: 78 148 50;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop.status-reserved {
  --listing-row-accent: var(--reserved);
  --listing-row-accent-rgb: 247 127 0;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop.status-sold {
  --listing-row-accent: var(--sold);
  --listing-row-accent-rgb: 199 50 50;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop.status-available .listing-row-status-indicator,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop.status-reserved .listing-row-status-indicator,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop.status-sold .listing-row-status-indicator {
  background: var(--listing-row-accent);
  color: var(--listing-row-accent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop.status-available .listing-row-status-indicator {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--available) 14%, transparent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop.status-reserved .listing-row-status-indicator {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--reserved) 14%, transparent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-row-apartment-desktop.status-sold .listing-row-status-indicator {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sold) 14%, transparent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions:hover,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions:focus-visible,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions.is-active:hover {
  border-color: var(--line);
  background: var(--ui-surface-hover);
  box-shadow: none;
  transform: none;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions .listing-price-final,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions.is-active .listing-price-final {
  color: var(--ink);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions.is-active:hover,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions.is-active:focus-visible {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 0 0 var(--listing-active-ring-width) var(--listing-accent);
  transform: none;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"])[data-desktop-listings-view="cards"] .listing-card.has-actions.is-active {
  background: var(--surface);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .apartment3d-room-panel {
  --apartment3d-ink: var(--color-text-on-paper);
  --apartment3d-muted: var(--color-text-muted-on-paper);
  --apartment3d-rule: var(--ui-color-line, #d7e2ec);
  border-color: var(--line);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .pzt-feature-label.is-active,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .pzt-feature-label.is-interactive-selected {
  background: var(--info-feature-fill-active);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .pzt-feature-label.is-active::after,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .pzt-feature-label.is-interactive-selected::after {
  background: var(--info-feature-fill-active);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-link.status-location {
  --hotspot-status-color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 95%, transparent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-link.status-building,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-link.status-vr360 {
  border-color: color-mix(in srgb, var(--accent) 95%, transparent);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-desktop-listings-view]) .listings,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-desktop-listings-view]) #listings {
  padding-top: 0.24rem;
}

@media (min-width: 1000px) and (orientation: landscape) {
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions),
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions):hover {
    min-height: 6.9rem;
    padding-top: 0.34rem;
    padding-bottom: 0.34rem;
    border-color: var(--line);
    background: var(--surface);
    color: var(--ink);
    box-shadow: none;
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions) .listing-select {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions)::before {
    background: var(--accent);
    opacity: 0.96;
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions)::after {
    color: var(--color-text-inverse);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions).is-active,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions).is-active:hover {
    border-color: var(--line);
    background: var(--surface);
    box-shadow: 0 0 0 var(--listing-active-ring-width) var(--accent);
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions) .listing-title,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions).is-active .listing-title {
    color: var(--ink);
  }

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions) .listing-meta,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions).is-active .listing-meta {
    margin-top: 0.16rem;
    gap: 0.16rem 0.24rem;
    color: var(--ink-soft);
  }

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions) .listing-meta span,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions).is-active .listing-meta span {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
  }

  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions) .listing-meta span + span::before,
  body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions).is-active .listing-meta span + span::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0.82em;
    margin: 0 0.34rem 0 0;
    background: color-mix(in srgb, var(--ink-soft) 64%, transparent);
    vertical-align: middle;
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) {
    min-height: 6.9rem;
    padding-top: 0.34rem;
    padding-bottom: 0.34rem;
    border-color: rgba(255, 255, 255, 0.16);
    background: var(--surface);
    color: var(--color-dark-text);
    box-shadow: none;
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) .listing-select {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions):hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: var(--ui-surface-hover);
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions)::before {
    background: var(--accent);
    opacity: 1;
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions)::after {
    color: var(--color-text-inverse);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.32);
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active,
  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: var(--surface);
    box-shadow: 0 0 0 var(--listing-active-ring-width) color-mix(in srgb, var(--accent) 22%, transparent);
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) .listing-title,
  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active .listing-title {
    color: #f4f7fb;
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) .listing-meta,
  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active .listing-meta {
    margin-top: 0.16rem;
    gap: 0.16rem 0.24rem;
    color: rgba(255, 255, 255, 0.94);
    font-size: calc(0.64rem * var(--font-scale));
    font-weight: var(--fw-semibold);
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) .listing-meta span,
  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active .listing-meta span {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-weight: var(--fw-bold);
    line-height: 1.1;
  }

  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions) .listing-meta span + span::before,
  body[data-theme-mode="DARK"] .listing-card.status-building:not(.has-actions).is-active .listing-meta span + span::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 0.82em;
    margin: 0 0.34rem 0 0;
    background: rgba(255, 255, 255, 0.52);
    vertical-align: middle;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions:hover,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active:hover {
    min-height: 6.9rem;
    padding: 0.42rem 0.56rem 0.38rem 2.16rem;
    border-radius: 14px;
    border-color: var(--line);
    background: var(--color-surface-paper);
    box-shadow: none;
    transform: none;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] #listings {
    padding-top: 0.24rem;
    gap: 0.34rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions::before {
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1.54rem;
    border-radius: 0;
    opacity: 0.96;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions:hover,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions:focus-visible {
    border-color: var(--line);
    background: var(--color-surface-paper);
    box-shadow: none;
    transform: none;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions::after {
    left: 0.17rem;
    top: 0.24rem;
    bottom: 0.24rem;
    width: 1.18rem;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-radius: 0;
    color: var(--color-text-inverse);
    font-family: var(--font-ui);
    font-size: calc(0.61rem * var(--font-scale));
    font-weight: 600;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    line-height: 1;
    opacity: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    pointer-events: none;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-select {
    display: block;
    padding: 0 2.05rem 0 6.96rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-body {
    display: block;
    min-height: 0;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 3.9rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-thumbnail {
    position: absolute;
    left: 2.16rem;
    top: 0.34rem;
    bottom: 0.34rem;
    width: auto;
    min-width: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    transform: none;
    border-radius: 14px;
    padding: 0.22rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-thumbnail.is-dedicated-thumb,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active .listing-card-thumbnail.is-dedicated-thumb {
    padding: 0.22rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-thumbnail:not(.has-image),
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active .listing-card-thumbnail:not(.has-image) {
    border-color: transparent;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: none;
    padding: 0;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-thumbnail-placeholder,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-thumbnail-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    max-width: none;
    max-height: none;
    align-self: stretch;
    justify-self: stretch;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-thumbnail:not(.has-image) .listing-card-thumbnail-placeholder {
    display: grid;
    place-items: center;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-thumbnail:not(.has-image) .listing-card-thumbnail-placeholder-icon {
    width: 2.4rem;
    height: 2.4rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-title {
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: calc(var(--fs-lead) * var(--font-scale));
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-top {
    gap: 0.34rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active .listing-meta {
    margin-top: 0.16rem;
    gap: 0.08rem 0.3rem;
    color: var(--ui-color-muted, #556a85);
    font-family: var(--font-ui);
    font-size: calc(var(--fs-small) * var(--font-scale));
    font-weight: 500;
    line-height: 1.4;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-card-footer {
    margin-top: 0;
    padding: 0 0 0 6.96rem;
    align-items: end;
    gap: 0.28rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-pricing-wrap {
    align-self: start;
    transform: translateY(calc(-0.28rem * var(--mobile-building-density)));
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-pricing,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active .listing-pricing {
    min-height: 0;
    align-self: start;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-pricing {
    gap: 0.02rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-pricing-row {
    gap: 0;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-pricing-label {
    display: none;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-price-base {
    font-family: var(--font-heading);
    font-size: calc(var(--fs-body) * var(--font-scale));
    font-weight: 500;
    line-height: 1.4;
    color: var(--listing-row-accent);
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-price-final,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active .listing-price-final {
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: calc(var(--fs-lead) * var(--font-scale));
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active {
    background: var(--color-surface-paper);
    box-shadow: 0 0 0 2px var(--listing-accent);
    border-color: var(--listing-accent);
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active:hover,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active:focus-visible {
    background: var(--color-surface-paper);
    box-shadow: 0 0 0 2px var(--listing-accent);
    border-color: var(--listing-accent);
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-actions-media {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 0.34rem;
    width: calc((2.48rem * 3) + (0.34rem * 2));
    min-width: calc((2.48rem * 3) + (0.34rem * 2));
    flex: 0 0 calc((2.48rem * 3) + (0.34rem * 2));
    position: static;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-actions-contact {
    position: absolute;
    right: 0.44rem;
    top: 0.34rem;
    bottom: auto;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-btn {
    width: 2.48rem;
    min-width: 2.48rem;
    height: 2.48rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: var(--color-text-inverse);
    box-shadow: var(--effect-shadow-small, 0 8px 18px rgba(23, 50, 77, 0.1));
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-btn:hover {
    border-color: var(--accent-strong);
    background: var(--accent-strong);
    color: var(--color-text-inverse);
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-icon {
    width: 1.12rem;
    height: 1.12rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-icon-2d {
    width: 1.7rem;
    height: 1.7rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-icon-3d {
    width: 1.72rem;
    height: 1.28rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-icon-vr {
    width: 1.8rem;
    height: 1.62rem;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta span,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active .listing-meta span {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta span + span::before,
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active .listing-meta span + span::before {
    content: "•";
    display: inline-block;
    margin-right: 0.34rem;
    color: rgba(104, 124, 150, 0.78);
    font-weight: 900;
  }
}

/* Typography migrated from Style Lab */
body {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-body) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* Scene controls outside the role map retain their component typography. */
.viewer-nav-dock .viewer-mode-panel-title,
.viewer-utility-dock .icon-control-label,
:is(#stageTitle, .viewer-tour-context-apartment, .viewer-tour-thumb-caption),
#apartment3dTitle,
#apartment3dPanelTitle,
#viewerApartment3dCardPanelTitle,
.spin-compass-text {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-heavy) !important;
  line-height: var(--lh-control) !important;
  letter-spacing: var(--tracking-label) !important;
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-status-band,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-header-band,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card::after,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-discount-sticker-title,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-discount-sticker-value,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker-title,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker-value {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-heavy) !important;
  line-height: var(--lh-compact) !important;
  letter-spacing: var(--tracking-label) !important;
}

/* Status and promotion captions retain uppercase formatting. */
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-status-band,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-header-band,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card::after,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-discount-sticker-title,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-discount-sticker-value,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker-title,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker-value {
  text-transform: uppercase !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-discount-sticker-title {
  font-size: calc(0.52rem * var(--font-scale)) !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-discount-sticker-value {
  font-size: calc(0.92rem * var(--font-scale)) !important;
  letter-spacing: var(--tracking-heading) !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker-title {
  font-size: calc((0.5rem * var(--font-scale)) * var(--mobile-building-density)) !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-discount-sticker-value {
  font-size: calc((0.92rem * var(--font-scale)) * var(--mobile-building-density)) !important;
  letter-spacing: var(--tracking-heading) !important;
}
.brand-sub,
.topbar-link {

  font-family: var(--font-ui) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-medium) !important;
  line-height: var(--lh-body) !important;
  letter-spacing: var(--tracking-normal) !important;
}

.status {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-medium) !important;
  line-height: var(--lh-body) !important;
  letter-spacing: var(--tracking-label) !important;
  text-transform: uppercase !important;
}

/* Common control typography; responsive toolbar and field variants follow. */
.btn,
.view-mode-btn,
.desktop-listings-view-btn,
.mobile-listings-view-btn,
.mobile-filters-action-btn,
.mobile-filters-close-btn,
.mobile-filters-toggle-btn,
.mobile-pzt-tile-title,
.mobileBuildingSelect {

  font-family: var(--font-heading) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-heavy) !important;
  line-height: var(--lh-body) !important;
  letter-spacing: var(--tracking-normal) !important;
}

.building-chip,
.building-floor-chip,
.building-chip-back {
  text-transform: none !important;
}
.listing-price-base {
  font-variant-numeric: tabular-nums !important;
}

.listing-price-final {

  font-family: var(--font-heading) !important;
  font-size: var(--fs-lead) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
}


.brand-name,
.building-picker-value,
.mobile-filters-dialog-title,
.mobile-building-preview-title,
.mobile-pzt-tile-button {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-lead) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
}

.listing-price-final,
.listing-row-cell-price {
  font-variant-numeric: tabular-nums !important;
}
.viewer-title,
.mobile-viewer-topbar-title {

  font-family: var(--font-heading) !important;
  font-size: var(--fs-title) !important;
  font-weight: var(--fw-bold) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.015em !important;
}

.viewer-intro-title,
.viewer-intro-signature,
.landing-title,
.landing-powered,
.landing-powered-brand,
.mobile-blocker-title {
  font-family: var(--font-heading) !important;
  font-weight: var(--fw-bold) !important;
  letter-spacing: -0.015em !important;
}

.lead-inline-host {
  font-family: var(--font-ui) !important;
}

.viewer-apartment3d-card-side .viewer-apartment3d-card-meta {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-medium) !important;
  line-height: var(--lh-body) !important;
  letter-spacing: var(--tracking-normal) !important;
}

.pzt-feature-label-title,
.location-hotspot-title,
.location-hotspot-distance,
.location-hotspot-meta,
.spin-compass-cell.is-major {
  font-family: var(--font-ui) !important;
}

.pzt-feature-label.is-building-compact-info:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon,
.pzt-feature-label.is-mobile-compact-info:not(.is-active):not(.is-interactive-selected) .pzt-feature-label-icon {
  font-family: var(--font-ui) !important;
  font-weight: 600 !important;
}

.location-hotspot-building-stats-row,
.listing-row-apartment-desktop .listing-row-action-toggle-plus,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-action-toggle-plus {
  font-family: var(--font-heading) !important;
  font-weight: var(--fw-bold) !important;
}

.pzt-feature-label-title {
  font-weight: 600 !important;
}

.location-hotspot-title,
.spin-compass-cell.is-major {
  font-weight: 600 !important;
}

.location-hotspot-distance,
.location-hotspot-meta {
  font-weight: 500 !important;
}

.spin-compass-text {
  font-weight: 600 !important;
}

.lead-inline-host .lead-modal-actionbar-title {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
}

.lead-inline-host .lead-modal-close-btn,
.lead-inline-host .lead-modal-submit-btn {
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

.topbar-link {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-small) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card .listing-price-base,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card .listing-price-final,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card .listing-row-cell-price,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card .listing-pricing-label,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-price-base,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-price-final,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-pricing-label {
  font-size: var(--fs-small) !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-meta,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-building-stats-row {
  text-transform: none !important;
}


body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .building-picker + .filters select,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .building-picker + .filters select option,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .building-picker + .filters .filter-select-btn {
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row.status-location .listing-row-meta,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row.listing-row-pzt .listing-row-meta {
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card .listing-meta,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card .listing-meta span,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-rooms,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-area,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-floor,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-meta,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-meta span,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-rooms,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-rooms,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-area,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-area,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-floor,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-floor,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-rooms,
body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-rooms,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-area,
body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-area,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-floor,
body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-floor,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-building-stats-row {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-section-title,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .list-column .list-head h2,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .list-column .list-head #listTitle,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .list-title,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-header-cell {
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-section-title {
  color: var(--color-text-on-paper);
  padding: 0;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row.status-location .listing-row-title,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row.listing-row-pzt .listing-row-title {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.has-actions .listing-pricing-discounted .listing-price-base,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-pricing-discounted .listing-price-base {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-regular) !important;
  line-height: var(--lh-compact) !important;
  text-decoration: line-through;
  text-decoration-thickness: 0.08em;
  font-variant-numeric: tabular-nums !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.has-actions .listing-pricing-discounted .listing-price-base {
  color: var(--color-text-on-paper) !important;
  line-height: 1.1 !important;
  letter-spacing: var(--tracking-heading) !important;
  text-decoration-color: rgba(22, 40, 61, 0.72);
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-pricing-discounted .listing-price-base {
  display: inline-block;
  visibility: visible;
  opacity: 1;
  position: relative;
  transform: translateY(calc(-0.64rem * var(--mobile-building-density))) !important;
  color: var(--color-text-muted-on-paper) !important;
  letter-spacing: var(--tracking-label) !important;
  text-decoration-color: rgba(98, 122, 149, 0.72);
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-pricing-wrap {
  transform: translateY(calc(-0.28rem * var(--mobile-building-density))) !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.has-actions .listing-pricing-discounted .listing-price-final,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-pricing-discounted .listing-price-final {
  color: var(--promotion-color, #c73232) !important;
}

html.is-forced-desktop-tablet body {
    overflow: auto !important;
    overflow-x: auto !important;
  }

  html.is-forced-desktop-tablet .topbar {
    width: calc(100% - 1.6rem) !important;
    margin: 0.8rem auto !important;
    padding: 0.9rem 1rem !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  html.is-forced-desktop-tablet .topbar-link {
    width: auto !important;
  }

  html.is-forced-desktop-tablet .app-shell {
    width: min(calc(100% - 1.6rem), 2300px);
    max-width: 2300px !important;
    min-height: 0 !important;
    height: calc(100vh - 1.6rem) !important;
    height: calc(100dvh - 1.6rem) !important;
    margin: 0.8rem auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) var(--spin-rail-width, 42px) clamp(340px, 36vw, 430px) !important;
    gap: 0 !important;
    align-items: stretch !important;
    align-content: normal !important;
  }

  html.is-forced-desktop-tablet .brand-rail {
    display: flex !important;
  }

  html.is-forced-desktop-tablet .viewer-column {
    display: grid !important;
    grid-template-rows: minmax(0, 1fr) !important;
    gap: 1rem !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    flex: initial !important;
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    background: transparent !important;
  }

  html.is-forced-desktop-tablet .mobile-viewer-topbar {
    display: none !important;
  }

  html.is-forced-desktop-tablet .viewer-card {
    position: relative !important;
    align-self: start !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: var(--spin-card-overflow, hidden) !important;
    border-radius: 20px 0 0 20px !important;
    border: var(--spin-card-border, 1px solid var(--line)) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: var(--spin-card-background, var(--surface)) !important;
    box-shadow: var(--spin-card-shadow, var(--shadow)) !important;
  }

  html.is-forced-desktop-tablet .viewer-stage {
    order: initial !important;
    position: relative !important;
    inset: auto !important;
    flex: 0 0 auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    border-radius: var(--spin-scene-radius, 20px 0 0 20px) !important;
    overflow: hidden !important;
  }

  html.is-forced-desktop-tablet :is(
    .viewer-stage,
    .viewer-frame-image,
    .viewer-frame-canvas,
    .tracking-overlay-canvas,
    .tracking-overlay-svg,
    .hotspot-layer,
    .viewer-runtime-gradient-overlay
  ) {
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
  }

  html.is-forced-desktop-tablet .spin-compass {
    transform: translateX(-50%) scale(var(--viewer-overlay-scale, 1)) !important;
    transform-origin: 50% 0 !important;
  }

  html.is-forced-desktop-tablet .hotspot:not(.kind-vr):not(.kind-info-feature):not(.is-active):not(.is-interactive-selected) {
    width: calc(0.9rem * var(--viewer-overlay-scale, 1)) !important;
    min-width: calc(0.9rem * var(--viewer-overlay-scale, 1)) !important;
    max-width: calc(0.9rem * var(--viewer-overlay-scale, 1)) !important;
    height: calc(0.9rem * var(--viewer-overlay-scale, 1)) !important;
    min-height: calc(0.9rem * var(--viewer-overlay-scale, 1)) !important;
    max-height: calc(0.9rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .hotspot.is-active:not(.kind-info-feature):not(.kind-vr) {
    width: calc(1.15rem * var(--viewer-overlay-scale, 1)) !important;
    height: calc(1.15rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .hotspot.status-location.is-active,
  html.is-forced-desktop-tablet .hotspot.status-building.is-active,
  html.is-forced-desktop-tablet .hotspot.is-pink-active:not(.kind-info-feature):not(.kind-vr) {
    width: calc(1.24rem * var(--viewer-overlay-scale, 1)) !important;
    height: calc(1.24rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .hotspot.is-interactive-selected:not(.kind-info-feature):not(.kind-vr) {
    width: calc(1.34rem * var(--viewer-overlay-scale, 1)) !important;
    height: calc(1.34rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .hotspot.kind-vr {
    width: calc(2.32rem * var(--viewer-overlay-scale, 1)) !important;
    height: calc(2.32rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .hotspot.kind-vr.is-active,
  html.is-forced-desktop-tablet .hotspot.kind-vr.is-interactive-selected {
    width: calc(2.56rem * var(--viewer-overlay-scale, 1)) !important;
    height: calc(2.56rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link {
    --hotspot-label-lift: calc(30px * var(--viewer-overlay-scale, 1));
    --hotspot-stem-length: calc(24px * var(--viewer-overlay-scale, 1));
    --hotspot-side-gap: calc(20px * var(--viewer-overlay-scale, 1));
    --hotspot-side-stem-clearance: calc(6px * var(--viewer-overlay-scale, 1));
    --hotspot-bottom-gap: calc(16px * var(--viewer-overlay-scale, 1));
    border-radius: calc(12px * var(--viewer-overlay-scale, 1)) !important;
    padding:
      calc(0.44rem * var(--viewer-overlay-scale, 1))
      calc(0.56rem * var(--viewer-overlay-scale, 1))
      calc(0.46rem * var(--viewer-overlay-scale, 1)) !important;
    gap: calc(0.14rem * var(--viewer-overlay-scale, 1)) !important;
    font-size: calc(0.72rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
    min-width: calc(8.8rem * var(--viewer-overlay-scale, 1)) !important;
    max-width: min(56vw, calc(19rem * var(--viewer-overlay-scale, 1))) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link::after {
    width: calc(1.2px * var(--viewer-overlay-scale, 1)) !important;
    height: var(--hotspot-stem-length) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-title {
    font-size: calc(0.76rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-distance {
    font-size: calc(0.68rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-meta {
    font-size: calc(0.66rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-info-feature {
    --hotspot-side-gap: calc(18px * var(--viewer-overlay-scale, 1));
    --hotspot-bottom-gap: calc(14px * var(--viewer-overlay-scale, 1));
    --info-feature-offset-x: calc(10px * var(--viewer-overlay-scale, 1));
    --info-feature-offset-y: calc(-100% - 0.7rem * var(--viewer-overlay-scale, 1));
    --info-feature-tail-height: calc(1.26rem * var(--viewer-overlay-scale, 1));
    max-width: min(24vw, calc(17rem * var(--viewer-overlay-scale, 1))) !important;
    padding:
      calc(0.28rem * var(--viewer-overlay-scale, 1))
      calc(0.82rem * var(--viewer-overlay-scale, 1))
      calc(0.3rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-info-feature .location-hotspot-title {
    font-size: calc(0.76rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-info-feature .location-hotspot-meta {
    font-size: calc(0.61rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-active .location-hotspot-status-band,
  html.is-forced-desktop-tablet .location-hotspot-link.is-interactive-selected .location-hotspot-status-band {
    width: calc(100% + 1.12rem * var(--viewer-overlay-scale, 1)) !important;
    margin:
      calc(0.22rem * var(--viewer-overlay-scale, 1))
      calc(-0.56rem * var(--viewer-overlay-scale, 1))
      calc(-0.46rem * var(--viewer-overlay-scale, 1)) !important;
    padding:
      calc(0.24rem * var(--viewer-overlay-scale, 1))
      calc(0.56rem * var(--viewer-overlay-scale, 1))
      calc(0.22rem * var(--viewer-overlay-scale, 1)) !important;
    border-radius:
      0
      0
      calc(12px * var(--viewer-overlay-scale, 1))
      calc(12px * var(--viewer-overlay-scale, 1)) !important;
    font-size: calc(12px * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary {
    min-width: calc(11rem * var(--viewer-overlay-scale, 1)) !important;
    max-width: min(16vw, calc(13.1rem * var(--viewer-overlay-scale, 1))) !important;
    border-radius: calc(12px * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary .location-hotspot-header-band {
    padding:
      calc(0.42rem * var(--viewer-overlay-scale, 1))
      calc(0.78rem * var(--viewer-overlay-scale, 1))
      calc(0.38rem * var(--viewer-overlay-scale, 1)) !important;
    border-radius:
      0
      0
      calc(12px * var(--viewer-overlay-scale, 1))
      calc(12px * var(--viewer-overlay-scale, 1)) !important;
    font-size: calc(0.6rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary .location-hotspot-title {
    padding:
      calc(0.72rem * var(--viewer-overlay-scale, 1))
      calc(0.78rem * var(--viewer-overlay-scale, 1))
      calc(0.64rem * var(--viewer-overlay-scale, 1)) !important;
    font-size: calc(0.82rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary.is-active,
  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary.is-interactive-selected {
    min-width: calc(9.4rem * var(--viewer-overlay-scale, 1)) !important;
    max-width: min(13.6vw, calc(10.9rem * var(--viewer-overlay-scale, 1))) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary.is-active .location-hotspot-title,
  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary.is-interactive-selected .location-hotspot-title {
    padding-left: calc(0.62rem * var(--viewer-overlay-scale, 1)) !important;
    padding-right: calc(0.62rem * var(--viewer-overlay-scale, 1)) !important;
    padding-bottom: calc(0.22rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary.is-active .location-hotspot-building-stats,
  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary.is-interactive-selected .location-hotspot-building-stats {
    gap: calc(0.06rem * var(--viewer-overlay-scale, 1)) !important;
    padding:
      calc(0.02rem * var(--viewer-overlay-scale, 1))
      calc(0.62rem * var(--viewer-overlay-scale, 1))
      calc(0.42rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary.is-active .location-hotspot-building-stats-row,
  html.is-forced-desktop-tablet .location-hotspot-link.is-building-summary.is-interactive-selected .location-hotspot-building-stats-row {
    font-size: calc(0.62rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .pzt-feature-label {
    --desktop-info-pointer-size: calc(0.78rem * var(--viewer-overlay-scale, 1));
    --desktop-info-radius: calc(12px * var(--viewer-overlay-scale, 1));
    max-width: min(18vw, calc(12.8rem * var(--viewer-overlay-scale, 1))) !important;
    min-height: calc(1.82rem * var(--viewer-overlay-scale, 1)) !important;
    padding:
      calc(0.24rem * var(--viewer-overlay-scale, 1))
      calc(0.6rem * var(--viewer-overlay-scale, 1))
      calc(0.28rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .pzt-feature-label-title {
    font-size: calc(0.76rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .pzt-feature-label.is-active .pzt-feature-label-title,
  html.is-forced-desktop-tablet .pzt-feature-label.is-interactive-selected .pzt-feature-label-title {
    font-size: calc(0.84rem * var(--font-scale) * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .pzt-feature-label.is-building-compact-info {
    max-width: min(18vw, calc(11.5rem * var(--viewer-overlay-scale, 1))) !important;
  }

  html.is-forced-desktop-tablet .pzt-feature-label.is-building-compact-info .pzt-feature-label-icon-svg {
    width: calc(1.22rem * var(--viewer-overlay-scale, 1)) !important;
    height: calc(1.22rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .pzt-feature-label.is-building-compact-info:not(.is-active):not(.is-interactive-selected) {
    width: calc(1.9rem * var(--viewer-overlay-scale, 1)) !important;
    min-width: calc(1.9rem * var(--viewer-overlay-scale, 1)) !important;
    max-width: calc(1.9rem * var(--viewer-overlay-scale, 1)) !important;
    min-height: calc(1.9rem * var(--viewer-overlay-scale, 1)) !important;
    max-height: calc(1.9rem * var(--viewer-overlay-scale, 1)) !important;
  }

  html.is-forced-desktop-tablet .viewer-control-panel {
    position: absolute !important;
    inset: 0 !important;
    z-index: 6 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: none !important;
  }

  html.is-forced-desktop-tablet .viewer-nav-dock {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0.72rem !important;
    transform: translateX(-50%) !important;
    width: fit-content !important;
    max-width: calc(100% - 10rem) !important;
    display: grid !important;
    gap: 0.18rem !important;
    padding: 0.22rem !important;
    border-radius: var(--panel-glass-radius, 12px) !important;
  }

  html.is-forced-desktop-tablet .viewer-utility-dock {
    position: absolute !important;
    right: 1rem !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    padding: 0.38rem !important;
    border-radius: 12px !important;
  }

  html.is-forced-desktop-tablet .list-card {
    border-radius: var(--list-panel-radius, 20px) !important;
    border: var(--list-panel-border, 1px solid var(--line)) !important;
    background: var(--list-panel-background, var(--surface)) !important;
    box-shadow: var(--list-panel-shadow, var(--shadow)) !important;
    padding: 1.1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  html.is-forced-desktop-tablet .list-column {
    align-self: start !important;
    min-height: 0 !important;
    margin-left: 1rem !important;
  }

  html.is-forced-desktop-tablet .gallery-thumbs:not([hidden]) {
    display: flex !important;
  }

  html.is-forced-desktop-tablet .lead-inline-host:not([hidden]) {
    display: grid !important;
}

html.is-ipad-mini-landscape .app-shell {
  width: calc(100% - 0.8rem);
  height: calc(100vh - 0.8rem) !important;
  height: calc(100dvh - 0.8rem) !important;
  margin: 0.4rem auto !important;
  grid-template-columns: minmax(0, 1fr) var(--spin-rail-width, 34px) 312px !important;
}

html.is-ipad-mini-landscape .brand-rail {
  border-radius: 0 var(--spin-rail-radius, 16px) var(--spin-rail-radius, 16px) 0 !important;
}

html.is-ipad-mini-landscape .brand-rail-tag {
  gap: var(--spin-rail-gap, 0.22rem) !important;
  padding: var(--spin-rail-padding, 0.3rem 0.04rem 0.38rem) !important;
}

html.is-ipad-mini-landscape .brand-rail-name {
  font-size: 10px !important;
  letter-spacing: 0.005em !important;
}

html.is-ipad-mini-landscape .brand-rail-mark {
  width: var(--spin-rail-logo-size, 1.18rem) !important;
  height: var(--spin-rail-logo-size, 1.18rem) !important;
  border-radius: 7px !important;
  font-size: 0.45rem !important;
}

html.is-ipad-mini-landscape .viewer-column {
  align-items: start !important;
  justify-items: start !important;
}

html.is-ipad-mini-landscape .viewer-card,
html.is-ipad-mini-landscape .viewer-stage {
  border-radius: var(--spin-scene-radius, 16px 0 0 16px) !important;
}

html.is-ipad-mini-landscape .list-column {
  margin-left: 0.5rem !important;
}

html.is-ipad-mini-landscape .list-card {
  padding: 0.82rem !important;
  border-radius: var(--list-panel-radius, 16px) !important;
}

html.is-ipad-mini-landscape .list-head {
  margin-bottom: 0.68rem !important;
}

html.is-ipad-mini-landscape .list-head h2 {
  font-size: calc(1.22rem * var(--font-scale)) !important;
}

html.is-ipad-mini-landscape .listing-row-select {
  padding-block: 0.68rem !important;
  column-gap: 0.56rem !important;
}

.mobile-bottom-sheet-handle {
  display: none;
}

@media (width < 1000px), (orientation: portrait) {
  body:is(.mobile-building-shell, .mobile-apartment-shell) {
    --mobile-sheet-bottom-offset: calc((3.72rem * var(--mobile-menu-scale) / 0.75) + var(--mobile-safe-bottom));
    --mobile-sheet-normal-height: clamp(260px, 44dvh, 430px);
    --mobile-sheet-full-height: calc(var(--mobile-app-height, 100dvh) - 5.4rem - var(--mobile-sheet-bottom-offset));
    --mobile-sheet-collapsed-height: calc(3.5rem * var(--mobile-building-density));
    --mobile-sheet-full-y: 0px;
    --mobile-sheet-normal-y: calc(var(--mobile-sheet-full-height) - var(--mobile-sheet-normal-height));
    --mobile-sheet-collapsed-y: calc(var(--mobile-sheet-full-height) - var(--mobile-sheet-collapsed-height));
    --mobile-sheet-y: var(--mobile-sheet-normal-y);
    --mobile-viewer-focus-height: calc(var(--mobile-app-height, 100dvh) - var(--mobile-sheet-bottom-offset));
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .app-shell {
    position: relative;
    min-height: var(--mobile-app-height, 100dvh);
    overflow: hidden;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-column {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: calc(var(--mobile-app-height, 100dvh) - var(--mobile-sheet-bottom-offset));
    background:
      radial-gradient(circle at 50% 42%, rgba(var(--accent-rgb), 0.1), rgba(var(--accent-rgb), 0) 58%),
      linear-gradient(180deg, #ffffff 0%, #eef4fa 42%, #dfe8f2 100%);
    isolation: isolate;
    overflow: hidden;
    transition: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-mobile-sheet-state="collapsed"] .viewer-column {
    min-height: var(--mobile-viewer-focus-height);
    background:
      linear-gradient(180deg, rgba(2, 13, 24, 0.5), rgba(2, 13, 24, 0.68)),
      linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-card {
    position: relative;
    z-index: 1;
    align-self: start;
    transition: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-mobile-sheet-state="collapsed"] .viewer-card {
    align-self: center;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-viewer-topbar {
    position: relative;
    z-index: 120;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-control-panel {
    z-index: 160 !important;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .list-column {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--mobile-sheet-bottom-offset);
    z-index: 90;
    height: var(--mobile-sheet-full-height);
    margin: 0;
    min-height: 0;
    overflow: visible;
    pointer-events: none;
    transform: translate3d(0, var(--mobile-sheet-y), 0);
    transform-origin: 50% 100%;
    background: transparent;
    transition: transform 0.32s cubic-bezier(0.2, 0.86, 0.18, 1);
    will-change: transform;
    backface-visibility: hidden;
  }

  body.mobile-sticky-viewer.mobile-apartment-shell .list-column {
    height: var(--mobile-sheet-full-height);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-mobile-sheet-state="normal"] {
    --mobile-sheet-y: var(--mobile-sheet-normal-y);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-mobile-sheet-state="full"] {
    --mobile-sheet-y: var(--mobile-sheet-full-y);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-mobile-sheet-state="collapsed"] {
    --mobile-sheet-y: var(--mobile-sheet-collapsed-y);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell).is-mobile-sheet-dragging .list-column {
    transition: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .list-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 !important;
    border: 0;
    border-radius: calc(18px * var(--mobile-building-density)) calc(18px * var(--mobile-building-density)) 0 0;
    overflow: hidden;
    pointer-events: auto;
    box-shadow: var(--effect-shadow-sheet, 0 -18px 36px rgba(6, 17, 29, 0.16));
  }

  body.mobile-sticky-viewer.mobile-apartment-shell .list-card {
    height: 100%;
    grid-template-rows: auto minmax(0, 1fr);
  }

  body.mobile-building-shell:not([data-mobile-sheet-state="collapsed"]) .list-card {
    height: calc(100% + var(--mobile-sheet-overlap, 31px));
    margin-top: var(--mobile-sheet-overlap-negative, -31px);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-mobile-sheet-state="collapsed"] .list-card {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.16) 100%),
      linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(6, 17, 29, 0.14));
    overflow: hidden;
  }

  body.mobile-apartment-shell[data-mobile-sheet-state="collapsed"] .list-card {
    background: var(--effect-gradient-light, linear-gradient(180deg, #f9fbfe 0%, #edf3fa 100%));
    box-shadow: var(--effect-shadow-sheet, 0 -12px 24px rgba(12, 30, 49, 0.08));
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-bottom-sheet-handle {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: calc(0.38rem * var(--mobile-building-density));
    width: 100%;
    height: var(--mobile-sheet-collapsed-height);
    min-height: 28px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: var(--color-text-inverse);
    cursor: grab;
    line-height: 0;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-mobile-sheet-state="collapsed"] .mobile-bottom-sheet-handle {
    background: transparent;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-mobile-sheet-state="collapsed"] .mobile-bottom-sheet-handle::after {
    content: "";
    display: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell).is-mobile-sheet-dragging .mobile-bottom-sheet-handle::after {
    content: "";
    display: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-bottom-sheet-handle:active {
    cursor: grabbing;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell).is-mobile-sheet-dragging .mobile-bottom-sheet-handle {
    cursor: grabbing;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-bottom-sheet-grip {
    display: block;
    width: min(3.6rem, 18vw);
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.08),
      0 3px 10px rgba(5, 18, 31, 0.18);
  }

  body.mobile-apartment-shell[data-mobile-sheet-state="collapsed"] .mobile-bottom-sheet-grip {
    background: var(--accent);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.22),
      0 3px 10px rgb(var(--accent-rgb) / 0.2);
  }

  body.mobile-apartment-shell:not([data-mobile-sheet-state="collapsed"]) .mobile-bottom-sheet-grip,
  body.mobile-apartment-shell.is-mobile-sheet-dragging .mobile-bottom-sheet-grip {
    background: var(--accent);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.22),
      0 3px 10px rgb(var(--accent-rgb) / 0.24);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) {
    --mobile-panel-padding-inline: calc(16px * var(--mobile-building-density));
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) .list-mobile-shell {
    grid-row: 1;
    min-height: 0;
    height: auto;
    overflow: visible;
    position: relative;
    z-index: 2;
    transition:
      opacity 0.18s ease,
      visibility 0.18s ease,
      transform 0.22s ease;
  }

  body.mobile-building-shell .list-mobile-shell {
    display: block;
  }

  body.mobile-building-shell .list-mobile-shell {
    padding-top: var(--mobile-sheet-content-top-padding, 38px);
  }

body.mobile-apartment-shell .list-mobile-shell {
    padding:
      var(--mobile-sheet-content-top-padding, 38px)
      var(--mobile-panel-padding-inline)
      calc(0.62rem * var(--mobile-building-density));
  }

  body.mobile-building-shell .list-mobile-shell .list-head {
    grid-row: 1;
    align-self: start;
    margin-bottom: calc(0.42rem * var(--mobile-building-density));
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-mobile-sheet-state="collapsed"] .list-mobile-shell,
  body:is(.mobile-building-shell, .mobile-apartment-shell)[data-mobile-sheet-state="collapsed"] #listings {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.35rem);
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell).is-mobile-sheet-dragging .list-mobile-shell,
  body:is(.mobile-building-shell, .mobile-apartment-shell).is-mobile-sheet-dragging #listings {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  body:is(.mobile-building-shell, .mobile-apartment-shell) #listings {
    grid-row: 2;
    height: var(--mobile-listings-height, auto);
    max-height: var(--mobile-listings-height, none);
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding-bottom: calc(1rem * var(--mobile-building-density));
  }

  body.mobile-building-shell #listings {
    grid-row: 2;
    padding-left: 0;
    padding-right: 0;
    display: grid;
    align-content: start;
    gap: calc(0.58rem * var(--mobile-building-density));
    height: var(--mobile-listings-height, auto);
    max-height: var(--mobile-listings-height, none);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding-bottom: calc(0.9rem * var(--mobile-building-density));
  }

  body.mobile-building-shell #listings > .mobile-building-cards-group:first-child {
    margin-top: 0;
  }

  body.mobile-building-shell .mobile-building-cards-group {
    touch-action: pan-x;
  }

  body.mobile-building-shell .mobile-pzt-grid {
    touch-action: pan-y;
  }

  body.mobile-building-shell .mobile-pzt-section {
    align-self: start;
  }

  body.mobile-apartment-shell #listings {
    padding-bottom: calc(1.05rem * var(--mobile-building-density));
  }

body.mobile-apartment-shell[data-mobile-listings-view="cards"] #listings {
    padding-left: var(--mobile-panel-padding-inline);
    padding-right: var(--mobile-panel-padding-inline);
  }

  body.mobile-apartment-shell .mobile-filters-overlay {
    z-index: 160;
  }
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header {
  min-height: calc(2.38rem * var(--mobile-building-density));
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding:
    calc(0.14rem * var(--mobile-building-density))
    0
    calc(0.14rem * var(--mobile-building-density));
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-pill {
  min-height: calc(2.38rem * var(--mobile-building-density));
  padding:
    calc(0.12rem * var(--mobile-building-density))
    calc(0.18rem * var(--mobile-building-density))
    calc(0.12rem * var(--mobile-building-density))
    calc(0.18rem * var(--mobile-building-density));
  border-radius: 999px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-main {
  grid-column: 1 / span 5;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-cell,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-sort-button,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-label {
  font-family: inherit !important;
  font-size: calc((0.82rem * var(--font-scale)) * var(--mobile-building-density)) !important;
  font-weight: var(--fw-black) !important;
  line-height: var(--lh-solid) !important;
  letter-spacing: var(--tracking-label) !important;
  text-transform: none !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-sort-button {
  padding: 0 calc(0.18rem * var(--mobile-building-density));
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-sort-button:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.44);
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-sort-indicator {
  right: calc(0.14rem * var(--mobile-building-density));
  width: calc(0.72rem * var(--mobile-building-density));
  height: calc(0.72rem * var(--mobile-building-density));
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-sort-arrow {
  width: calc(0.48rem * var(--mobile-building-density));
  height: calc(0.32rem * var(--mobile-building-density));
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-actions {
  grid-column: 6;
  display: block;
  min-height: 1px;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-cell {
  color: var(--color-text-inverse) !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-sort-button {
  color: var(--color-text-inverse) !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-price {
  padding-left: calc(0.74rem * var(--mobile-building-density));
  padding-right: calc(0.12rem * var(--mobile-building-density));
  transform: none;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-sort-button:hover,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-sort-button:focus-visible {
  color: var(--color-text-inverse) !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-name,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-name {
  font-family: var(--font-heading) !important;
  font-size: calc((0.94rem * var(--font-scale)) * var(--mobile-building-density)) !important;
  font-weight: var(--fw-black) !important;
  line-height: 1.05 !important;
  color: var(--color-text-inverse) !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  padding:
    calc(0.76rem * var(--mobile-building-density))
    0
    calc(0.76rem * var(--mobile-building-density))
    0;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-actions-menu {
  grid-column: 6;
  justify-self: center;
  margin-right: 0;
  max-width: 100%;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-action-toggle-more {
  width: calc(3.2rem * var(--mobile-building-density));
  min-width: 0;
  max-width: 100%;
  padding: 0 calc(0.2rem * var(--mobile-building-density));
  font-family: var(--font-ui);
  font-size: calc(var(--fs-label) * var(--font-scale) * var(--mobile-building-density));
  font-weight: var(--fw-bold);
  line-height: var(--lh-solid);
  white-space: nowrap;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-action-toggle-more[aria-expanded="true"] {
  background: var(--accent);
  color: var(--color-text-inverse);
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-select,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-select {
  grid-column: 1 / span 5;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-status-pill,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-status-pill {
  flex-direction: column;
  gap: calc(0.12rem * var(--mobile-building-density));
  width: 100%;
  min-height: calc(2.25rem * var(--mobile-building-density)) !important;
  height: auto !important;
  padding: calc(0.25rem * var(--mobile-building-density)) calc(0.18rem * var(--mobile-building-density)) !important;
  border-radius: 999px !important;
  background: var(--listing-row-accent) !important;
  color: var(--color-text-inverse) !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-status-pill .listing-row-name-text,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-status-pill .listing-row-name-text {
  color: var(--color-text-inverse) !important;
  -webkit-text-fill-color: var(--color-text-inverse) !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-status-text,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-status-text {
  max-width: 100%;
  font-family: var(--font-ui);
  font-size: calc(0.5rem * var(--font-scale) * var(--mobile-building-density));
  font-weight: var(--fw-heavy);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--color-text-inverse);
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-rooms,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-rooms,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-area,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-area,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-floor,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-floor {
  font-weight: var(--fw-bold) !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-price,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-price {
  font-weight: var(--fw-heavy) !important;
  color: var(--color-text-on-paper) !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile.is-active .listing-row-status-pill {
  animation: mobile-status-pill-breathe 1.8s ease-in-out infinite !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile.is-active .listing-row-status-pill::after {
  animation: mobile-status-pill-pulse 1.8s ease-in-out infinite !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-modal-actionbar-actions,
body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #apartment2dModal .apartment2d-top-actions {
  gap: calc(0.34rem * var(--mobile-building-density));
  align-items: center;
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal {
  z-index: 10020;
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #privacyPolicyModal {
  z-index: 10040;
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) :is(
    #apartment2dModal .apartment2d-close-inline,
    #apartment2dModal .apartment2d-download-inline
  ) {
  width: auto;
  min-width: 0;
  min-height: calc(2.38rem * var(--mobile-building-density));
  padding:
    calc(0.12rem * var(--mobile-building-density))
    calc(0.82rem * var(--mobile-building-density));
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(0.22rem * var(--mobile-building-density));
  font-family: inherit !important;
  font-size: calc(0.72rem * var(--font-scale)) !important;
  font-weight: var(--fw-heavy) !important;
  line-height: 1.1 !important;
  letter-spacing: var(--tracking-normal) !important;
  text-transform: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    transform 0.16s ease;
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) :is(
    #apartment2dModal .apartment2d-close-inline,
    #apartment2dModal .apartment2d-download-inline
  ) {
  border: 1px solid var(--accent);
  background: var(--color-surface-paper);
  color: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 0 0 1px color-mix(in srgb, var(--accent) 4%, transparent);
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) :is(
    #apartment2dModal .apartment2d-close-inline:hover,
    #apartment2dModal .apartment2d-download-inline:hover
  ) {
  border-color: var(--accent-strong);
  background: var(--color-surface-paper-hover);
  color: var(--accent-strong);
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) :is(
    #apartment2dModal .apartment2d-download-inline.is-disabled,
    #apartment2dModal .apartment2d-download-inline[aria-disabled="true"]
  ) {
  border-color: color-mix(in srgb, var(--accent) 14%, transparent);
  background: var(--ui-color-disabled-surface, #d5dee9);
  color: var(--ui-color-muted, rgba(255, 255, 255, 0.86));
  box-shadow:
    none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-modal-close-btn,
body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-modal-submit-btn {
  min-height: calc(2.38rem * var(--mobile-building-density));
  padding:
    calc(0.12rem * var(--mobile-building-density))
    calc(0.82rem * var(--mobile-building-density));
  border-radius: 999px;
  font-family: inherit;
  font-size: calc(0.72rem * var(--font-scale));
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-modal-close-btn {
  border: 1px solid var(--accent);
  background: var(--color-surface-paper);
  color: var(--accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 0 0 1px color-mix(in srgb, var(--accent) 4%, transparent);
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-modal-close-btn:hover {
  border-color: var(--accent-strong);
  background: var(--color-surface-paper-hover);
  color: var(--accent-strong);
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-modal-submit-btn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.025);
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-modal-submit-btn:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--on-accent-strong);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .gallery-close-btn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--color-text-inverse);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .gallery-close-btn::before {
  content: "Zamknij";
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .gallery-close-btn {
  width: auto;
  min-width: 0;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .gallery-close-btn svg {
  display: none;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .gallery-close-btn:hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--color-text-inverse);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment3d-card-bar .viewer-apartment3d-card-desktop-actions :is(.viewer-apartment3d-card-close-btn, .viewer-apartment3d-card-share-btn, .viewer-apartment3d-card-contact-btn) {
  min-height: 2.4rem;
  padding: 0.42rem 0.92rem;
  border-radius: 12px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--color-text-inverse);
  box-shadow: var(--effect-shadow-small, 0 10px 20px rgba(16, 35, 58, 0.16));
  font-size: calc(0.8rem * var(--font-scale));
  font-weight: var(--fw-heavy);
  line-height: var(--lh-control);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment3d-card-bar .viewer-apartment3d-card-desktop-actions :is(.viewer-apartment3d-card-close-btn, .viewer-apartment3d-card-share-btn, .viewer-apartment3d-card-contact-btn):hover {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--color-text-inverse);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-location .listing-meta,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-location .listing-meta span,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions) .listing-meta,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card.status-building:not(.has-actions) .listing-meta span {
  color: var(--ink-soft) !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.has-actions .listing-meta,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.has-actions.is-active .listing-meta,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active .listing-meta {
  background: transparent !important;
  box-shadow: none !important;
}

body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active .listing-meta {
  width: calc(100% + (1.72rem * var(--mobile-building-density))) !important;
  max-width: calc(100% + (1.72rem * var(--mobile-building-density))) !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.has-actions .listing-meta span,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) .listing-card.has-actions.is-active .listing-meta span,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta span,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions.is-active .listing-meta span {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background-image: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}


body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-apartment3d-meta {
  font-weight: var(--fw-regular) !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) #mobileViewerInvestmentLabel {
  text-transform: none !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) #leadSuccessTitle,
body:is(.mobile-building-shell, .mobile-apartment-shell) .mobile-filters-dialog-title,
body:is(.mobile-building-shell, .mobile-apartment-shell) #leadModalSubtitle::first-line,
body:is(.mobile-building-shell, .mobile-apartment-shell) .lead-inline-host #leadModalSubtitle::first-line,
body.mobile-building-shell .list-mobile-shell .list-head h2,
body.mobile-building-shell .mobile-building-preview-title,
body.mobile-building-shell .mobile-pzt-section .listing-section-title,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-title,
body.mobile-apartment-shell .list-mobile-shell .list-head h2 {
  text-transform: none !important;
}

html[data-viewer-layout="mobile"] .viewer-tour-mobile-action,
body.mobile-apartment-shell .mobile-controls-panel .mobile-filters-toggle-btn,
body.mobile-apartment-shell .mobile-controls-panel .mobile-back-to-buildings-btn,
body.mobile-apartment-shell .mobile-controls-panel .mobile-building-switch-btn,
body.mobile-apartment-shell .mobile-controls-panel .mobile-listings-sort-btn,
body.mobile-apartment-shell .mobile-controls-panel .mobile-listings-view-btn {
  text-transform: none !important;
}

body.mobile-apartment-shell .mobile-controls-panel .mobile-filters-toggle-btn > span,
body.mobile-apartment-shell .mobile-controls-panel .mobile-back-to-buildings-btn > span,
body.mobile-apartment-shell .mobile-controls-panel .mobile-building-switch-btn > span,
body.mobile-apartment-shell .mobile-controls-panel .mobile-filters-active-count {
  font: inherit !important;
  color: inherit !important;
}

body.mobile-building-shell .mobile-viewer-topbar-title,
body.mobile-building-shell .mobile-filters-dialog-title,
body.mobile-building-shell .mobile-filters-action-btn,
body.mobile-building-shell .mobile-filters-close-btn,
body.mobile-building-shell .mobile-filters-toggle-btn,
body.mobile-building-shell .mobile-listings-view-btn,
body.mobile-building-shell .mobile-back-to-buildings-btn,
body.mobile-building-shell .gallery-close-btn,
body.mobile-building-shell .viewer-apartment2d-title,
body.mobile-building-shell .viewer-apartment3d-card-titlebar,
body.mobile-building-shell .mobile-blocker-title,
body.mobile-building-shell .mobileBuildingSelect,
body.mobile-building-shell .mobile-pzt-tile-button,
body.mobile-building-shell .mobile-building-preview-line span,
body.mobile-building-shell .mobile-filters-active-count {
  text-transform: none !important;
}

body.mobile-building-shell .mobile-viewer-topbar-title,
body.mobile-building-shell .mobile-blocker-title,
body.mobile-building-shell .mobileBuildingSelect,
body.mobile-building-shell .mobile-pzt-tile-title,
body.mobile-building-shell .mobile-filters-active-count {

  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-heavy) !important;
  line-height: var(--lh-compact) !important;
  letter-spacing: var(--tracking-label) !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .location-hotspot-link.is-info-feature .location-hotspot-title,
body:is(.mobile-building-shell, .mobile-apartment-shell) .location-hotspot-link.is-interactive-label .location-hotspot-title,
body:is(.mobile-building-shell, .mobile-apartment-shell) .location-hotspot-link.is-interactive-label.is-investment .location-hotspot-title,
body:is(.mobile-building-shell, .mobile-apartment-shell) .location-hotspot-link.is-building-summary .location-hotspot-title,
body:is(.mobile-building-shell, .mobile-apartment-shell) .pzt-feature-label-title,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile-header .listing-row-header-cell {
  text-transform: none !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .location-hotspot-status-band,
body:is(.mobile-building-shell, .mobile-apartment-shell) .location-hotspot-header-band {
  text-transform: none !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) :is(#selectedMeta, .viewer-overlay-meta),
body:is(.mobile-building-shell, .mobile-apartment-shell) .location-hotspot-meta,
body:is(.mobile-building-shell, .mobile-apartment-shell) .location-hotspot-building-stats-row,
body.mobile-building-shell .mobile-building-preview-line,
body.mobile-building-shell .mobile-building-card-status-total,
body.mobile-building-shell .mobile-building-card-status-label,
body.mobile-building-shell .mobile-building-card-status-count,
body.mobile-building-shell .mobile-building-card-status-percent,
body.mobile-building-shell .mobile-building-cards-group .listing-card .listing-meta,
body.mobile-building-shell .mobile-building-cards-group .listing-card .listing-meta span,
body.mobile-building-shell .mobile-pzt-tile-title,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-meta,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-meta span,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-name,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-name,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-rooms,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-rooms,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-area,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-area,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-floor,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-floor,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-rooms,
body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-rooms,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-area,
body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-area,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-floor,
body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-floor,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-price-base {
  text-transform: none !important;
}

body.mobile-building-shell .mobile-pzt-tile-title {

  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-semibold) !important;
  line-height: var(--lh-compact) !important;
  letter-spacing: var(--tracking-label) !important;
}





body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-modal-card,
body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-form-shell,
body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-form {
  pointer-events: auto;
}

body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-form input,
body:is(.mobile-building-shell, .mobile-apartment-shell, .mobile-location-shell) #leadModal .lead-form textarea {
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  -webkit-touch-callout: default;
  touch-action: manipulation;
  caret-color: currentColor;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-price,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-price,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-price,
body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-price {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-semibold) !important;
  line-height: var(--lh-compact) !important;
  letter-spacing: var(--tracking-label) !important;
  text-transform: none !important;
  font-variant-numeric: tabular-nums !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card .listing-pricing-label,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-pricing-label,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row.status-location .listing-row-title,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row.listing-row-pzt .listing-row-title,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #leadModalTitle,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .lead-inline-host .lead-modal-actionbar-title,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .apartment3d-room-total-row > span,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #viewerApartment3dCardRoomSummary,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .mobile-blocker-eyebrow {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
  text-transform: none !important;
  font-variant-numeric: tabular-nums !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card .listing-price-base,
body:is(.mobile-building-shell, .mobile-apartment-shell) #leadSuccessMessage,
body:is(.mobile-building-shell, .mobile-apartment-shell) #leadModal .lead-modal-actionbar-title,
body:is(.mobile-building-shell, .mobile-apartment-shell) .lead-inline-host .lead-modal-actionbar-title,
body:is(.mobile-building-shell, .mobile-apartment-shell) #leadModalSubtitle,
body:is(.mobile-building-shell, .mobile-apartment-shell) .lead-inline-host #leadModalSubtitle,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-price-base {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-medium) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
  text-transform: none !important;
  font-variant-numeric: tabular-nums !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#selectedMeta, .viewer-overlay-meta),
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-meta,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .location-hotspot-building-stats-row,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#leadModal, .lead-inline-host) .lead-form input,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#leadModal, .lead-inline-host) .lead-form textarea,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#leadModal, .lead-inline-host) .lead-form input::placeholder,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#leadModal, .lead-inline-host) .lead-form textarea::placeholder,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-distance {
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #leadSuccessTitle,
html:not([data-viewer-layout="mobile"]) .viewer-tour-sidebar .viewer-tour-title,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #viewerApartment3dCardTitle,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment3d-card-side .viewer-apartment3d-card-titlebar,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #leadModalSubtitle::first-line,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .lead-inline-host #leadModalSubtitle::first-line {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-lead) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #viewerApartment3dCardMeta,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment3d-card-side .viewer-apartment3d-card-meta {
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .apartment3d-room-total-row > span,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #viewerApartment3dCardRoomSummary {
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .apartment3d-room-row-name,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .apartment3d-room-row-type,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .apartment3d-room-row-area {
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-cell {
  text-transform: none !important;
  color: var(--listing-idle-text) !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-sort-button {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  padding: 0 0.3rem;
  margin: 0;
  background: transparent;
  color: var(--listing-idle-text);
  cursor: pointer;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-sort-button:hover,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-sort-button:focus-visible {
  color: var(--listing-idle-text);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-label {
  flex: 1 1 auto;
  min-width: 0;
  color: inherit;
  text-align: center;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-sort-indicator {
  position: absolute;
  top: 50%;
  right: 0.06rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 0.58rem;
  opacity: 0;
  transition: opacity 0.16s ease, transform 0.16s ease;
  transform: translateY(-50%);
  pointer-events: none;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-sort-arrow {
  width: 0.34rem;
  height: 0.24rem;
  background: currentColor;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  transform: translateY(0.01rem);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-sort-button.is-sorted .listing-row-header-sort-indicator {
  opacity: 1;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop-header .listing-row-header-sort-button[data-sort-dir="asc"] .listing-row-header-sort-arrow {
  transform: rotate(180deg) translateY(-0.01rem);
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-name,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-rooms,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-area,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-floor,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-price,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-name-text {
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #leadSuccessMessage,
html:not([data-viewer-layout="mobile"]) :is(#leadModalSubtitle, .viewer-tour-sidebar .viewer-tour-details),
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #leadModalSubtitle,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .lead-inline-host #leadModalSubtitle {
  text-transform: none !important;
}


body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #leadModalTitle,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .lead-inline-host .lead-modal-actionbar-title {
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .building-picker-key,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .building-picker-floor-title,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .building-picker + .filters .filter-field label,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .brand-rail-name {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-heavy) !important;
  line-height: var(--lh-compact) !important;
  letter-spacing: var(--tracking-label) !important;
  text-transform: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-card .listing-price-final,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-price-final {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
  text-transform: none !important;
  font-variant-numeric: tabular-nums !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .viewer-apartment3d-card-note-text,
body:is(.mobile-building-shell, .mobile-apartment-shell) :is(#selectedMeta, .viewer-overlay-meta),
body:is(.mobile-building-shell, .mobile-apartment-shell) .location-hotspot-meta,
body:is(.mobile-building-shell, .mobile-apartment-shell) .location-hotspot-building-stats-row,
body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-apartment2d-meta,
body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-apartment3d-card-meta,
body.mobile-building-shell .mobile-building-preview-line,
body.mobile-building-shell .mobile-building-preview-line span,
body.mobile-building-shell .mobile-building-card-status-total,
body.mobile-building-shell .mobile-building-card-status-label,
body.mobile-building-shell .mobile-building-card-status-count,
body.mobile-building-shell .mobile-building-card-status-percent,
body.mobile-building-shell .mobile-building-cards-group .listing-card .listing-meta,
body.mobile-building-shell .mobile-building-cards-group .listing-card .listing-meta span,
body.mobile-building-shell .mobile-pzt-tile-title,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-meta,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-card.has-actions .listing-meta,
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-meta span,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-name,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-name,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-price,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-price,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-rooms,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-rooms,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-area,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-area,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-cell-floor,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-cell-floor,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-rooms,
body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-rooms,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-area,
body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-area,
body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-cell-floor,
body:is(.mobile-building-shell, .mobile-apartment-shell) .listing-row-apartment-summary .listing-row-cell-floor,
body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-price-base {
  font-weight: var(--fw-regular) !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-name,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-name-text,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-rooms,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-area,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-floor,
body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) .listing-row-apartment-desktop .listing-row-cell-price {
  color: var(--color-text-on-paper) !important;
}


body.mobile-apartment-shell[data-mobile-listings-view="list"] .listing-row-apartment-mobile .listing-row-price-final,
body:is(.mobile-building-shell, .mobile-apartment-shell):is(.is-viewer-apartment2d-open, .is-viewer-apartment3d-open) .listing-row-apartment-summary .listing-row-price-final {
  font-weight: var(--fw-heavy) !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .list-column {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body:not(.mobile-building-shell):not(.mobile-apartment-shell) .viewer-apartment3d-card-back-to-listings-btn {
  display: none !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open .viewer-apartment3d-card-side.apartment3d-room-panel {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 180 !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open
  .viewer-apartment3d-card-panel[data-intro-phase="loading"]
  .viewer-apartment3d-card-side.apartment3d-room-panel,
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment3d-open
  .viewer-apartment3d-card-panel[data-intro-phase="spinning"]
  .viewer-apartment3d-card-side.apartment3d-room-panel {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .list-column {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-apartment2d-room-sheet.apartment3d-room-panel {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 180 !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open .viewer-card {
  z-index: 18 !important;
  overflow: visible !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dPanel.viewer-apartment2d-panel {
  grid-template-rows: minmax(0, 1fr) !important;
  overflow: visible !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dPanel .viewer-apartment2d-bar {
  display: none !important;
}

@media (width < 1000px), (orientation: portrait) {
  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-actions-media {
    gap: calc(0.3rem * var(--mobile-building-density));
    width: calc((2.82rem * var(--mobile-building-density) * 3) + (0.3rem * var(--mobile-building-density) * 2));
    min-width: calc((2.82rem * var(--mobile-building-density) * 3) + (0.3rem * var(--mobile-building-density) * 2));
    flex: 0 0 calc((2.82rem * var(--mobile-building-density) * 3) + (0.3rem * var(--mobile-building-density) * 2));
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-btn {
    width: calc(2.82rem * var(--mobile-building-density));
    min-width: calc(2.82rem * var(--mobile-building-density));
    height: calc(2.82rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-text {
    gap: calc(0.08rem * var(--mobile-building-density));
    max-width: calc(100% - (0.2rem * var(--mobile-building-density)));
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-text-primary {
    font-size: calc((0.8rem * var(--font-scale)) * var(--mobile-building-density));
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-text-secondary {
    font-size: calc((0.44rem * var(--font-scale)) * var(--mobile-building-density));
  }

  body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-media-360-icon {
    width: calc(1.6rem * var(--mobile-building-density));
    height: calc(1.2rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover {
    gap: calc(0.18rem * var(--mobile-building-density));
    padding: calc(0.16rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-btn,
  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-mail-btn {
    width: calc(2.58rem * var(--mobile-building-density));
    min-width: calc(2.58rem * var(--mobile-building-density));
    height: calc(2.58rem * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-text {
    gap: calc(0.07rem * var(--mobile-building-density));
    max-width: calc(100% - (0.18rem * var(--mobile-building-density)));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-text-primary {
    font-size: calc((0.76rem * var(--font-scale)) * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-text-secondary {
    font-size: calc((0.4rem * var(--font-scale)) * var(--mobile-building-density));
  }

  body.mobile-apartment-shell .listing-row-apartment-mobile .listing-row-actions-popover .listing-media-360-icon {
    width: calc(1.48rem * var(--mobile-building-density));
    height: calc(1.1rem * var(--mobile-building-density));
  }
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] #listings {
  --mobile-list-action-width: calc(3.2rem * var(--mobile-building-density));
  --mobile-list-data-columns: minmax(0, 1fr) minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1.6fr);
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] #listings :is(.listing-row-apartment-mobile, .listing-row-header-pill) {
  grid-template-columns: minmax(0, 1fr) var(--mobile-list-action-width);
  column-gap: calc(0.35rem * var(--mobile-building-density));
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] #listings :is(.listing-row-select, .listing-row-header-main) {
  grid-column: 1;
  grid-template-columns: var(--mobile-list-data-columns);
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] #listings :is(.listing-row-actions-menu, .listing-row-header-actions) {
  grid-column: 2;
  justify-self: end;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] #listings .listing-row-header-pill {
  padding-left: 0;
  padding-right: 0;
}

body.mobile-apartment-shell[data-mobile-listings-view="list"] #listings .listing-row-header-price {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 360px) {
  body.mobile-apartment-shell .list-mobile-shell,
  body.mobile-apartment-shell #listings {
    min-width: 0;
  }

  body.mobile-apartment-shell .mobile-controls-panel {
    flex-wrap: wrap;
  }

}

/* Shared mobile card actions: back on the left, compact icon actions on the right. */
body:is(.mobile-building-shell, .mobile-apartment-shell) :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardPanel) .viewer-apartment3d-card-sheet-header-row {
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--apartment-card-mobile-section-gap);
}

body:is(.mobile-building-shell, .mobile-apartment-shell) :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardPanel) .viewer-apartment3d-card-sheet-header-row > :is(.viewer-apartment2d-sheet-actions, .apartment-card-share-actions) {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  gap: calc(0.34rem * var(--mobile-building-density));
}

body:is(.mobile-building-shell, .mobile-apartment-shell) :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardPanel) :is(.viewer-apartment2d-back-to-listings-btn, .viewer-apartment3d-card-back-to-listings-btn) {
  margin-right: auto;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardPanel) .viewer-apartment3d-card-sheet-header-row .apartment-icon-action {
  width: calc(2.38rem * var(--mobile-building-density));
  min-width: calc(2.38rem * var(--mobile-building-density));
  height: calc(2.38rem * var(--mobile-building-density));
  min-height: calc(2.38rem * var(--mobile-building-density));
  padding: 0;
  flex: 0 0 auto;
  border-radius: 50% !important;
}

/* Accent treatment is limited to the mobile 2D room sheet. */
body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet {
  background: var(--accent);
  color: var(--color-text-inverse);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet .apartment3d-room-list {
  background: transparent;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet :is(.viewer-apartment3d-card-titlebar, .apartment3d-room-row-name, .apartment3d-room-row-area, .listing-row-cell, .listing-row-price-final) {
  color: var(--color-text-inverse) !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet .listing-row-price-base {
  color: color-mix(in srgb, var(--color-text-inverse) 72%, transparent) !important;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet .viewer-apartment2d-room-total {
  background: var(--accent);
  border-top-color: color-mix(in srgb, var(--color-text-inverse) 16%, transparent);
  box-shadow: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet :is(.viewer-apartment2d-room-sheet-toggle, .apartment3d-room-empty) {
  color: var(--color-text-inverse);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet .viewer-apartment2d-sheet-actions button {
  background: var(--color-surface-paper) !important;
  color: var(--color-text-on-paper) !important;
  border-color: var(--color-surface-paper) !important;
  border-radius: 999px;
  box-shadow: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet .viewer-apartment2d-sheet-actions button:not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible) {
  border-color: var(--color-surface-paper) !important;
  background: var(--color-surface-paper) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-surface-paper) 30%, transparent);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet .apartment3d-room-table-header {
  background: var(--color-surface-paper);
  color: var(--color-text-on-paper);
  box-shadow: none;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet .apartment3d-room-table-header-cell {
  color: var(--color-text-on-paper);
  border-right-color: color-mix(in srgb, var(--color-text-on-paper) 20%, transparent);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet .viewer-apartment2d-sheet-actions button:disabled {
  opacity: 0.45;
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet .apartment3d-room-row {
  border-bottom-color: color-mix(in srgb, var(--color-text-inverse) 12%, transparent);
}

body:is(.mobile-building-shell, .mobile-apartment-shell).is-viewer-apartment2d-open #viewerApartment2dRoomSheet .apartment3d-room-row:nth-of-type(even):not(.is-active) {
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--color-text-inverse) 5%, transparent) 16%, color-mix(in srgb, var(--color-text-inverse) 5%, transparent) 84%, transparent);
}

/* Card summaries share list typography and status styling, without the action column. */
body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-apartment3d-card-commerce:not([hidden]) {
  display: block;
  min-width: 0;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-apartment3d-card-commerce .listing-row-apartment-summary {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

body:is(.mobile-building-shell, .mobile-apartment-shell) .viewer-apartment3d-card-commerce .listing-row-apartment-summary .listing-row-select {
  grid-column: auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.6fr) minmax(0, 1.2fr) minmax(0, 0.6fr) max-content;
  gap: 0;
  padding: 0;
  cursor: default;
  transform: none;
  background: transparent;
  box-shadow: none;
}

#expandSpinControl[hidden],
html[data-viewer-layout="mobile"] #expandSpinControl,
#expandSpinButton .restore-spin-icon,
#expandSpinButton[aria-pressed="true"] .expand-spin-icon {
  display: none !important;
}

#expandSpinButton[aria-pressed="true"] .restore-spin-icon {
  display: block !important;
}

/* Preserve the normal grid tracks for sizing; only the spin and rail span the panel's space. */
html:not([data-viewer-layout="mobile"]) body.is-viewer-spin-expanded .viewer-column {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-right: var(--expanded-spin-rail-width, 42px);
}

html:not([data-viewer-layout="mobile"]) body.is-viewer-spin-expanded .brand-rail {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: end;
  width: var(--expanded-spin-rail-width, 42px);
}

html:not([data-viewer-layout="mobile"]) body.is-viewer-spin-expanded .list-column {
  grid-column: 3;
  grid-row: 1;
  visibility: hidden;
  pointer-events: none;
}

body.is-viewer-spin-expanded .viewer-frame-image {
  object-fit: cover;
  object-position: center;
}

.viewer-tour-sidebar .viewer-tour-details { display: none; }
body.is-viewer-tour-open #infoViewerControl,
body.is-viewer-tour-open #viewerLegalPopover { display: none !important; }
body.is-viewer-tour-open .viewer-utility-dock { display: none !important; }
.viewer-tour-stage :is(#selectedMeta, .viewer-overlay-meta) {
  background: none;
  padding: 0;
  border-radius: 0;
  color: inherit;
}
.viewer-tour-stage .viewer-tour-context,
.viewer-tour-stage .viewer-tour-navigation-hint {
  pointer-events: none;
}
.viewer-tour-stage .viewer-tour-navigation-hint {
  top: auto;
  bottom: .9rem;
}
.viewer-tour-navigation-hint svg { width: 1em; height: 1em; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

body.is-viewer-tour-open:not(.is-viewer-single-panorama) .list-card { overflow-y: auto; }
html:not([data-viewer-layout="mobile"]) body.is-viewer-tour-open:not(.is-viewer-single-panorama) .list-card { padding: 25px !important; }
.viewer-tour-investment { display: none; }
html:not([data-viewer-layout="mobile"]) body.is-viewer-tour-open .list-card:has(> #leadInlineHost:not([hidden])) {
  overflow-y: auto;
}
html:not([data-viewer-layout="mobile"]) body.is-viewer-tour-open .list-card > #leadInlineHost:not([hidden]) {
  display: block !important;
  visibility: visible;
  pointer-events: auto;
  flex-shrink: 0;
}
html:not([data-viewer-layout="mobile"]) body.is-viewer-tour-open .list-card:has(> #leadInlineHost:not([hidden])) > .viewer-tour-sidebar {
  display: none !important;
}
body.is-viewer-single-panorama :is(#viewerApartment2dPanel, #viewerApartment3dCardPanel) { visibility: hidden !important; pointer-events: none !important; }
html:not([data-viewer-layout="mobile"]) .viewer-tour-sidebar.is-single-panorama { display: none !important; }
html:not([data-viewer-layout="mobile"]) .is-single-panorama .viewer-tour-mobile-feedback { display: block; position: absolute; bottom: 16px; left: 16px; z-index: 9; }
html:not([data-viewer-layout="mobile"]) body.is-viewer-tour-open:not(.is-viewer-single-panorama) .list-card {
  display: flex;
  overflow: hidden;
  background: var(--surface);
  color: var(--color-text-on-paper);
}
html:not([data-viewer-layout="mobile"]) .viewer-tour-sidebar { color: var(--color-text-on-paper); }
html:not([data-viewer-layout="mobile"]) .viewer-tour-sidebar {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
html:not([data-viewer-layout="mobile"]) .viewer-tour-sidebar > * { flex-shrink: 0; }
html:not([data-viewer-layout="mobile"]) .viewer-tour-sidebar .viewer-tour-rooms {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.viewer-tour-plan-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.viewer-tour-plan-header .viewer-tour-actions { flex-shrink: 0; }
.viewer-tour-plan-header { flex-wrap: wrap; }
html:not([data-viewer-layout="mobile"]) .viewer-tour-plan-header .viewer-tour-actions .btn,
.viewer-tour-plan-header .viewer-tour-actions .btn {
  background: var(--color-surface-paper) !important;
  color: var(--accent-strong) !important;
  border: 1px solid var(--line);
}
.viewer-tour-plan-header .viewer-tour-actions .btn:is(:hover, :focus, :active, :disabled) {
  border-color: var(--line) !important;
}
.viewer-tour-plan-header .viewer-tour-actions .btn:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}
.viewer-tour-footer .viewer-tour-back { width: 100%; margin: 0; }
html:not([data-viewer-layout="mobile"]) .viewer-tour-sidebar .viewer-tour-investment {
  display: block;
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--surface);
  color: var(--color-text-on-paper) !important;
}
html:not([data-viewer-layout="mobile"]) .viewer-tour-sidebar :is(.viewer-tour-title, .viewer-tour-details, .viewer-tour-status) { color: var(--color-text-on-paper); }
.viewer-tour-plan-title { display: none; }
html:not([data-viewer-layout="mobile"]) .viewer-tour-plan-title { display: block; }
.viewer-tour-rooms { display: flex; flex-direction: column; gap: 12px; }
.viewer-tour-rooms .viewer-tour-room {
  --tour-card-radius: 14px;
  --listing-accent: var(--room-tone-interior-active);
  display: flex; flex-direction: row; align-items: center; gap: 0; min-width: 0; width: 100%;
  padding: 0; overflow: hidden; cursor: pointer; flex-shrink: 0;
  border-radius: var(--tour-card-radius);
  border: 1px solid var(--line);
  background: var(--color-surface-paper); color: var(--color-text-on-paper);
  text-align: left; font-family: var(--font-ui);
}
.viewer-tour-rooms .viewer-tour-room.is-active {
  border-color: var(--selection);
  box-shadow: 0 0 0 var(--listing-active-ring-width) var(--selection);
}
.viewer-tour-rooms .viewer-tour-room::before,
.viewer-tour-rooms .viewer-tour-room::after { content: none; display: none; }
.viewer-tour-rooms .viewer-tour-room:is(:hover, :focus-visible, .is-active) {
  background: var(--surface);
  transform: none;
}
.viewer-tour-rooms .viewer-tour-room:hover:not(.is-active):not(:focus-visible) {
  border-color: var(--line);
  background: var(--color-surface-paper-hover);
  box-shadow: none;
}
.viewer-tour-room-media { display: block; position: relative; width: 38%; flex-shrink: 0; align-self: stretch; aspect-ratio: 4 / 3; background: var(--surface); overflow: hidden; }
.viewer-tour-room-media img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viewer-tour-room-icon { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 28px; height: 28px; color: var(--accent-strong); pointer-events: none; }
.viewer-tour-room-icon svg { width: 28px; height: 28px; }
.viewer-tour-room-name { padding: 12px 44px 12px 12px; min-width: 0; overflow-wrap: anywhere; }
.viewer-tour-room-area { display: block; margin-top: 0.3rem; }
html:not([data-viewer-layout="mobile"]) .viewer-tour-rooms {
  padding: .24rem .3rem;
  gap: .5rem;
}
html:not([data-viewer-layout="mobile"]) .viewer-tour-rooms .viewer-tour-room {
  min-height: var(--listing-card-desktop-min-height);
}
html:not([data-viewer-layout="mobile"]) .viewer-tour-room-media {
  width: calc((var(--listing-card-desktop-min-height) - 2px) * 4 / 3);
  max-width: none;
  align-self: center;
  aspect-ratio: 4 / 3;
}

/* Desktop VR uses the existing card palette and leaves mobile controls intact. */
html:not([data-viewer-layout="mobile"]) body.is-viewer-tour-open :is(.viewer-tour-zoom, .viewer-nav-dock, .viewer-tour-status[data-kind="hint"]) { display: none !important; }
html:not([data-viewer-layout="mobile"]) .viewer-tour-plan {
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
html:not([data-viewer-layout="mobile"]) .viewer-tour-details {
  display: block;
  margin: -12px 0 0;
  overflow-wrap: anywhere;
}
html:not([data-viewer-layout="mobile"]) .list-card:has(> .desktop-panel-back-btn) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
html:not([data-viewer-layout="mobile"]) .list-card:has(> .desktop-panel-back-btn) > .mc-list-foreground > .desktop-building-featured-host {
  flex-shrink: 0;
}
html:not([data-viewer-layout="mobile"]) .list-card:has(> .desktop-panel-back-btn) > .mc-list-foreground > #listings {
  flex: 1 1 0;
  height: auto;
  min-height: 0;
  overflow-y: auto;
  padding-top: .24rem;
}
html:not([data-viewer-layout="mobile"]) .desktop-panel-back-btn,
html[data-viewer-layout="desktop"] .viewer-load-retry,
html:not([data-viewer-layout="mobile"]) .viewer-tour-actions .btn {
  border: 1px solid var(--line);
  font-family: var(--font-ui);
  font-size: calc(var(--fs-label) * var(--font-scale));
  font-weight: var(--fw-bold);
  line-height: var(--lh-control);
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: var(--color-text-inverse);
}
html:not([data-viewer-layout="mobile"]) .desktop-panel-back-btn:is(:hover, :focus-visible),
html:not([data-viewer-layout="mobile"]) .viewer-tour-actions .btn:not(.apartment-icon-action):is(:hover, :focus-visible) {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}
html:not([data-viewer-layout="mobile"]) .viewer-tour-point[aria-pressed="true"] {
  background: var(--room-tone-interior-active);
  outline-color: var(--room-tone-interior-active);
  color: var(--on-selection);
}
html:not([data-viewer-layout="mobile"]) .viewer-tour-point[aria-pressed="true"]::before {
  background: color-mix(in srgb, var(--room-tone-interior-active) 35%, transparent);
}

/* List headings share the light button surface, not its interactions. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) .listing-row-apartment-desktop-header {
  --listing-idle-background: var(--button-surface-light);
  --listing-idle-border: var(--button-border-light);
  --listing-idle-text: var(--palette-navy);
  background: var(--palette-white);
  border-radius: 0;
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) .listing-row-apartment-desktop-header .listing-row-header-pill {
  box-shadow: var(--button-shadow-light);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) .listing-row-apartment-desktop-header::before {
  content: "";
  position: absolute;
  inset: -8px 0 -4px;
  z-index: -1;
  background: var(--palette-white);
  pointer-events: none;
}

/* Desktop control geometry: standard and compact; shared mobile bases stay intact. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] {
  --control-height: 36px;
  --control-padding-inline: 12px;
  --control-icon-size: 20px;
  --control-gap: 8px;
  --control-radius: 8px;
  --control-border-width: 1px;
  --control-compact-height: 28px;
  --control-compact-padding-inline: 8px;
  --control-compact-icon-size: 16px;
  --control-compact-gap: 4px;
}

html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body :is(
  .desktop-panel-back-btn, .viewer-tour-back, .gallery-close-btn,
  .lead-modal-submit-btn, .lead-modal-close-btn, .desktop-listings-view-btn,
  .view-mode-btn, .apartment-icon-action, .apartment-plan-download-btn,
  .viewer-apartment2d-download-btn, .viewer-apartment2d-close-btn,
  .icon-toggle-btn, .gallery-nav-btn, .viewer-tour-single-back,
  .viewer-apartment3d-card-expand-btn, .viewer-load-retry,
  .building-chip, .building-floor-chip, .filter-select-btn, .filters select
),
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] #leadModal :is(.lead-modal-submit-btn, .lead-modal-close-btn) {
  box-sizing: border-box;
  height: var(--control-height);
  min-height: var(--control-height);
  padding: 0 var(--control-padding-inline);
  border-width: var(--control-border-width);
  border-style: solid;
  border-radius: var(--control-radius);
  gap: var(--control-gap);
}

html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body :is(.building-chip:not(.building-chip-back), .building-floor-chip),
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body .building-picker + .filters :is(.filter-select-btn, select) {
  --control-height: var(--control-compact-height);
  --control-padding-inline: var(--control-compact-padding-inline);
  --control-icon-size: var(--control-compact-icon-size);
  --control-gap: var(--control-compact-gap);
}

html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body :is(
  .apartment-icon-action, .icon-toggle-btn,
  .gallery-nav-btn:not(.gallery-close-btn), .viewer-apartment3d-card-expand-btn,
  .desktop-listings-sort-btn
) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--control-height);
  min-width: var(--control-height);
  max-width: var(--control-height);
  flex-shrink: 0;
  padding: 0;
}

html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body :is(
  .desktop-panel-back-btn, .viewer-tour-back, .gallery-close-btn,
  .lead-modal-submit-btn, .lead-modal-close-btn, .desktop-listings-view-btn,
  .view-mode-btn, .apartment-icon-action, .apartment-plan-download-btn,
  .viewer-apartment2d-download-btn, .viewer-apartment2d-close-btn,
  .icon-toggle-btn, .gallery-nav-btn, .viewer-tour-single-back,
  .viewer-apartment3d-card-expand-btn, .viewer-load-retry,
  .building-chip, .building-floor-chip, .filter-select-btn
) svg {
  width: var(--control-icon-size);
  height: var(--control-icon-size);
  flex: 0 0 var(--control-icon-size);
}

html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body :is(.filter-select-btn, .filters select) {
  padding-right: calc(var(--control-padding-inline) + var(--control-compact-icon-size));
}

html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .viewer-nav-dock .view-mode-btn,
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .desktop-listings-view-btn {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* Desktop control icons: shared artwork tokens; migrated mobile controls opt in too. */
html[data-boot-mode="viewer"] {
  --control-art-layout-list: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20%2F%3E%20%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20%2F%3E%20%3Cline%20x1%3D%2214%22%20y1%3D%224%22%20x2%3D%2221%22%20y2%3D%224%22%20%2F%3E%20%3Cline%20x1%3D%2214%22%20y1%3D%229%22%20x2%3D%2221%22%20y2%3D%229%22%20%2F%3E%20%3Cline%20x1%3D%2214%22%20y1%3D%2215%22%20x2%3D%2221%22%20y2%3D%2215%22%20%2F%3E%20%3Cline%20x1%3D%2214%22%20y1%3D%2220%22%20x2%3D%2221%22%20y2%3D%2220%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-list: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cline%20x1%3D%228%22%20y1%3D%226%22%20x2%3D%2221%22%20y2%3D%226%22%20%2F%3E%20%3Cline%20x1%3D%228%22%20y1%3D%2212%22%20x2%3D%2221%22%20y2%3D%2212%22%20%2F%3E%20%3Cline%20x1%3D%228%22%20y1%3D%2218%22%20x2%3D%2221%22%20y2%3D%2218%22%20%2F%3E%20%3Cline%20x1%3D%223%22%20y1%3D%226%22%20x2%3D%223.01%22%20y2%3D%226%22%20%2F%3E%20%3Cline%20x1%3D%223%22%20y1%3D%2212%22%20x2%3D%223.01%22%20y2%3D%2212%22%20%2F%3E%20%3Cline%20x1%3D%223%22%20y1%3D%2218%22%20x2%3D%223.01%22%20y2%3D%2218%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-printer: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpolyline%20points%3D%226%209%206%202%2018%202%2018%209%22%20%2F%3E%20%3Cpath%20d%3D%22M6%2018H4a2%202%200%2001-2-2v-5a2%202%200%20012-2h16a2%202%200%20012%202v5a2%202%200%2001-2%202h-2%22%20%2F%3E%20%3Crect%20x%3D%226%22%20y%3D%2214%22%20width%3D%2212%22%20height%3D%228%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-info: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%2210%22%20%2F%3E%20%3Cline%20x1%3D%2212%22%20y1%3D%2216%22%20x2%3D%2212%22%20y2%3D%2212%22%20%2F%3E%20%3Cline%20x1%3D%2212%22%20y1%3D%228%22%20x2%3D%2212.01%22%20y2%3D%228%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-cloud-sun: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M12%202v2%22%20%2F%3E%20%3Cpath%20d%3D%22M5.22%205.22l1.42%201.42%22%20%2F%3E%20%3Cpath%20d%3D%22M20%2012h2%22%20%2F%3E%20%3Cpath%20d%3D%22M15.97%2012.5A4%204%200%20009.5%208.88%22%20%2F%3E%20%3Cpath%20d%3D%22M13.63%2022A3.3%203.3%200%200017%2018.79a3.3%203.3%200%2000-3.38-3.22h-1.34A5.23%205.23%200%20007.25%2012%205.13%205.13%200%20002%2017c0%202.76%202.35%205%205.25%205h6.38z%22%20%2F%3E%20%3Cpath%20d%3D%22M17.36%206.64l1.42-1.42%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-eye-off: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M17.94%2017.94A10.07%2010.07%200%200112%2020c-7%200-11-8-11-8a18.45%2018.45%200%20015.06-5.94M9.9%204.24A9.12%209.12%200%200112%204c7%200%2011%208%2011%208a18.5%2018.5%200%2001-2.16%203.19m-6.72-1.07a3%203%200%2011-4.24-4.24%22%20%2F%3E%20%3Cline%20x1%3D%221%22%20y1%3D%221%22%20x2%3D%2223%22%20y2%3D%2223%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-eye: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M1%2012s4-8%2011-8%2011%208%2011%208-4%208-11%208-11-8-11-8z%22%20%2F%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-moon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M21%2012.79A9%209%200%201111.21%203%207%207%200%200021%2012.79z%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-snowflake: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cline%20x1%3D%222%22%20y1%3D%2212%22%20x2%3D%2222%22%20y2%3D%2212%22%20%2F%3E%20%3Cline%20x1%3D%2212%22%20y1%3D%222%22%20x2%3D%2212%22%20y2%3D%2222%22%20%2F%3E%20%3Cpath%20d%3D%22M20%2016l-4-4%204-4%22%20%2F%3E%20%3Cpath%20d%3D%22M4%208l4%204-4%204%22%20%2F%3E%20%3Cpath%20d%3D%22M16%204l-4%204-4-4%22%20%2F%3E%20%3Cpath%20d%3D%22M8%2020l4-4%204%204%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-sun: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%224%22%20%2F%3E%20%3Cpath%20d%3D%22M12%202v2%22%20%2F%3E%20%3Cpath%20d%3D%22M12%2020v2%22%20%2F%3E%20%3Cpath%20d%3D%22M5%205l1.5%201.5%22%20%2F%3E%20%3Cpath%20d%3D%22M17.5%2017.5L19%2019%22%20%2F%3E%20%3Cpath%20d%3D%22M2%2012h2%22%20%2F%3E%20%3Cpath%20d%3D%22M20%2012h2%22%20%2F%3E%20%3Cpath%20d%3D%22M5%2019l1.5-1.5%22%20%2F%3E%20%3Cpath%20d%3D%22M17.5%206.5L19%205%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-arrow-left: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cline%20x1%3D%2219%22%20y1%3D%2212%22%20x2%3D%225%22%20y2%3D%2212%22%20%2F%3E%20%3Cpolyline%20points%3D%2212%2019%205%2012%2012%205%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-share-2: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Ccircle%20cx%3D%2218%22%20cy%3D%225%22%20r%3D%223%22%20%2F%3E%20%3Ccircle%20cx%3D%226%22%20cy%3D%2212%22%20r%3D%223%22%20%2F%3E%20%3Ccircle%20cx%3D%2218%22%20cy%3D%2219%22%20r%3D%223%22%20%2F%3E%20%3Cline%20x1%3D%228.59%22%20y1%3D%2213.51%22%20x2%3D%2215.42%22%20y2%3D%2217.49%22%20%2F%3E%20%3Cline%20x1%3D%2215.41%22%20y1%3D%226.51%22%20x2%3D%228.59%22%20y2%3D%2210.49%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-arrow-right: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cline%20x1%3D%225%22%20y1%3D%2212%22%20x2%3D%2219%22%20y2%3D%2212%22%20%2F%3E%20%3Cpolyline%20points%3D%2212%205%2019%2012%2012%2019%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-mail: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M4%204h16c1.1%200%202%20.9%202%202v12c0%201.1-.9%202-2%202H4c-1.1%200-2-.9-2-2V6c0-1.1.9-2%202-2z%22%20%2F%3E%20%3Cpolyline%20points%3D%2222%2C6%2012%2C13%202%2C6%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-download: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M21%2015v4a2%202%200%2001-2%202H5a2%202%200%2001-2-2v-4%22%20%2F%3E%20%3Cpolyline%20points%3D%227%2010%2012%2015%2017%2010%22%20%2F%3E%20%3Cline%20x1%3D%2212%22%20y1%3D%2215%22%20x2%3D%2212%22%20y2%3D%223%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-maximize-2: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpolyline%20points%3D%2215%203%2021%203%2021%209%22%20%2F%3E%20%3Cpolyline%20points%3D%229%2021%203%2021%203%2015%22%20%2F%3E%20%3Cline%20x1%3D%2221%22%20y1%3D%223%22%20x2%3D%2214%22%20y2%3D%2210%22%20%2F%3E%20%3Cline%20x1%3D%223%22%20y1%3D%2221%22%20x2%3D%2210%22%20y2%3D%2214%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-minimize-2: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpolyline%20points%3D%224%2014%2010%2014%2010%2020%22%20%2F%3E%20%3Cpolyline%20points%3D%2220%2010%2014%2010%2014%204%22%20%2F%3E%20%3Cline%20x1%3D%2214%22%20y1%3D%2210%22%20x2%3D%2221%22%20y2%3D%223%22%20%2F%3E%20%3Cline%20x1%3D%223%22%20y1%3D%2221%22%20x2%3D%2210%22%20y2%3D%2214%22%20%2F%3E%20%3C%2Fsvg%3E");
  --control-art-filter: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpolygon%20points%3D%2222%203%202%203%2010%2012.46%2010%2019%2014%2021%2014%2012.46%2022%203%22%20%2F%3E%20%3C%2Fsvg%3E");
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .icon-toggle-btn[data-time="DAY"] {
  --control-art: var(--control-art-cloud-sun);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .icon-toggle-btn[data-time="NIGHT"] {
  --control-art: var(--control-art-moon);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .icon-toggle-btn[data-season="SUMMER"] {
  --control-art: var(--control-art-sun);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .icon-toggle-btn[data-season="WINTER"] {
  --control-art: var(--control-art-snowflake);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .icon-toggle-btn[data-overlay-toggle="VISIBLE"] {
  --control-art: var(--control-art-eye-off);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .icon-toggle-btn[data-overlay-toggle="HIDDEN"] {
  --control-art: var(--control-art-eye);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .desktop-listings-cards-btn {
  --control-art: var(--control-art-layout-list);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .desktop-listings-list-btn {
  --control-art: var(--control-art-list);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.desktop-panel-back-btn) {
  --control-art: var(--control-art-arrow-left);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.viewer-tour-plan-header .apartment-icon-action:has(use[href="#apartment-share-icon"]), .viewer-apartment2d-actions .apartment-share-btn) {
  --control-art: var(--control-art-share-2);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.gallery-nav-btn-prev) {
  --control-art: var(--control-art-arrow-left);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.gallery-nav-btn-next) {
  --control-art: var(--control-art-arrow-right);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.viewer-apartment2d-actions .apartment-card-contact-btn) {
  --control-art: var(--control-art-mail);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .viewer-apartment2d-actions .apartment-icon-action:has(use[href="#apartment-print-icon"]) {
  --control-art: var(--control-art-printer);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .viewer-apartment2d-actions .apartment-icon-action:has(use[href="#apartment-download-icon"]) {
  --control-art: var(--control-art-download);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.viewer-apartment3d-card-expand-btn, .icon-toggle-btn:has(.expand-spin-icon)) {
  --control-art: var(--control-art-maximize-2);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.viewer-apartment3d-card-expand-btn.is-expanded, .icon-toggle-btn[aria-pressed="true"]:has(.expand-spin-icon)) {
  --control-art: var(--control-art-minimize-2);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.viewer-tour-phone) {
  --control-art: var(--control-art-phone);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.desktop-listings-sort-btn) {
  --control-art: var(--control-art-filter);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.desktop-panel-back-btn,
  .viewer-tour-plan-header .apartment-icon-action:has(use[href="#apartment-share-icon"]), .viewer-apartment2d-actions .apartment-share-btn,
  .gallery-nav-btn-prev,
  .gallery-nav-btn-next,
  .viewer-apartment2d-actions .apartment-card-contact-btn,
  .viewer-apartment2d-actions .apartment-icon-action:has(use[href="#apartment-print-icon"]), .viewer-apartment2d-actions .apartment-icon-action:has(use[href="#apartment-download-icon"]),
  .viewer-apartment3d-card-expand-btn,
  .viewer-tour-phone,
  .desktop-listings-sort-btn, .desktop-listings-cards-btn, .desktop-listings-list-btn, .icon-toggle-btn:has(.expand-spin-icon), .icon-toggle-btn[data-time], .icon-toggle-btn[data-season], .icon-toggle-btn[data-overlay-toggle])::before {
  content: "";
  display: block;
  width: var(--control-icon-size);
  height: var(--control-icon-size);
  flex: 0 0 var(--control-icon-size);
  background: currentColor;
  mask: var(--control-art) center / contain no-repeat;
  -webkit-mask: var(--control-art) center / contain no-repeat;
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] :is(.desktop-panel-back-btn,
  .viewer-tour-plan-header .apartment-icon-action:has(use[href="#apartment-share-icon"]), .viewer-apartment2d-actions .apartment-share-btn,
  .gallery-nav-btn-prev,
  .gallery-nav-btn-next,
  .viewer-apartment2d-actions .apartment-card-contact-btn,
  .viewer-apartment2d-actions .apartment-icon-action:has(use[href="#apartment-print-icon"]), .viewer-apartment2d-actions .apartment-icon-action:has(use[href="#apartment-download-icon"]),
  .viewer-apartment3d-card-expand-btn,
  .viewer-tour-phone,
  .desktop-listings-sort-btn, .desktop-listings-cards-btn, .desktop-listings-list-btn, #expandSpinButton, .icon-toggle-btn:has(.expand-spin-icon), .icon-toggle-btn[data-time], .icon-toggle-btn[data-season], .icon-toggle-btn[data-overlay-toggle]) > svg {
  display: none !important;
}

html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .viewer-info-button > svg {
  display: none;
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] .viewer-info-button::before {
  content: "";
  width: 1.2rem;
  height: 1.2rem;
  background: currentColor;
  mask: var(--control-art-info) center / contain no-repeat;
  -webkit-mask: var(--control-art-info) center / contain no-repeat;
  filter: drop-shadow(0 1px 2px rgba(8, 20, 35, 0.72));
}

/* Desktop LIGHT control states. Compatibility for controls not fully owned by viewer-button-surfaces.css.
   Migrated navigation/gallery/toggle controls must not be added back here. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.btn-accent, .lead-modal-submit-btn, .viewer-load-retry) {
  --control-bg: var(--palette-navy);
  --control-fg: var(--palette-white);
  --control-border: var(--palette-navy);
  --control-hover-bg: var(--palette-muted);
  --control-hover-border: var(--palette-muted);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.view-mode-btn, .apartment-icon-action, .apartment-plan-download-btn, .viewer-apartment2d-download-btn, .viewer-apartment2d-close-btn, .lead-modal-close-btn, .building-chip, .building-floor-chip) {
  --control-bg: var(--palette-white);
  --control-fg: var(--palette-navy);
  --control-border: var(--palette-line);
  --control-hover-bg: var(--palette-white);
  --control-hover-border: var(--palette-navy);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.filter-select-btn, .filters select) {
  --control-bg: var(--palette-white);
  --control-fg: var(--palette-navy);
  --control-border: var(--palette-line);
  --control-hover-bg: var(--palette-white);
  --control-hover-border: var(--palette-navy);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.building-chip, .building-floor-chip),
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) .building-picker + .filters :is(.filter-select-btn, select),
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) #leadModal .lead-modal-close-btn {
  --control-bg: transparent;
  --control-fg: var(--palette-white);
  --control-border: var(--palette-line);
  --control-hover-bg: transparent;
  --control-hover-border: var(--palette-white);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(#leadModal .lead-modal-submit-btn) {
  --control-bg: var(--palette-white);
  --control-fg: var(--palette-navy);
  --control-border: var(--palette-white);
  --control-hover-bg: var(--palette-mist);
  --control-hover-border: var(--palette-white);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.view-mode-btn):is(.is-active, .is-expanded, [aria-pressed="true"]) {
  --control-bg: var(--palette-navy);
  --control-fg: var(--palette-white);
  --control-border: var(--palette-navy);
  --control-hover-bg: var(--palette-navy);
  --control-hover-border: var(--palette-muted);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.building-chip, .building-floor-chip):is(.is-active, [aria-pressed="true"]) {
  --control-bg: var(--palette-white);
  --control-fg: var(--palette-navy);
  --control-border: var(--palette-white);
  --control-hover-bg: var(--palette-white);
  --control-hover-border: var(--palette-line);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.btn-accent, .lead-modal-submit-btn, .view-mode-btn, .apartment-icon-action, .apartment-plan-download-btn, .viewer-apartment2d-download-btn, .viewer-apartment2d-close-btn, .lead-modal-close-btn, .building-chip, .building-floor-chip, .filter-select-btn, .filters select, .viewer-load-retry) {
  background-color: var(--control-bg) !important;
  color: var(--control-fg) !important;
  border-color: var(--control-border) !important;
  --t6-text-color: var(--control-fg) !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.btn-accent, .lead-modal-submit-btn, .view-mode-btn, .apartment-icon-action, .apartment-plan-download-btn, .viewer-apartment2d-download-btn, .viewer-apartment2d-close-btn, .lead-modal-close-btn, .building-chip, .building-floor-chip, .filter-select-btn, .filters select, .viewer-load-retry):not(:disabled):not([aria-disabled="true"]):not(.is-disabled):is(:hover, :active) {
  background-color: var(--control-hover-bg) !important;
  border-color: var(--control-hover-border) !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.btn-accent, .lead-modal-submit-btn, .view-mode-btn, .apartment-icon-action, .apartment-plan-download-btn, .viewer-apartment2d-download-btn, .viewer-apartment2d-close-btn, .lead-modal-close-btn, .building-chip, .building-floor-chip, .filter-select-btn, .filters select, .viewer-load-retry):focus-visible {
  outline: 2px solid var(--palette-muted) !important;
  outline-offset: 2px;
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.btn-accent, .lead-modal-submit-btn, .view-mode-btn, .apartment-icon-action, .apartment-plan-download-btn, .viewer-apartment2d-download-btn, .viewer-apartment2d-close-btn, .lead-modal-close-btn, .building-chip, .building-floor-chip, .filter-select-btn, .filters select, .viewer-load-retry):is(:disabled, [aria-disabled="true"], .is-disabled) {
  --t6-text-color: var(--ui-text-disabled) !important;
  background-color: var(--ui-surface-disabled) !important;
  color: var(--ui-text-disabled) !important;
  border-color: var(--ui-border-control) !important;
  opacity: 1 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]) :is(.btn-accent, .lead-modal-submit-btn, .view-mode-btn, .apartment-icon-action, .apartment-plan-download-btn, .viewer-apartment2d-download-btn, .viewer-apartment2d-close-btn, .lead-modal-close-btn, .building-chip, .building-floor-chip, .filter-select-btn, .filters select, .viewer-load-retry):not(select) {
  background-image: none !important;
}

/* Source: viewer-entity-tiles.css */
/* K01-K04. The decorative layer is inert outside the desktop LIGHT scope. */
:root { --control-art-phone: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000000%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20%3E%20%3Cpath%20d%3D%22M22%2016.92v3a2%202%200%2001-2.18%202%2019.79%2019.79%200%2001-8.63-3.07%2019.5%2019.5%200%2001-6-6%2019.79%2019.79%200%2001-3.07-8.67A2%202%200%20014.11%202h3a2%202%200%20012%201.72%2012.84%2012.84%200%2000.7%202.81%202%202%200%2001-.45%202.11L8.09%209.91a16%2016%200%20006%206l1.27-1.27a2%202%200%20012.11-.45%2012.84%2012.84%200%20002.81.7A2%202%200%200122%2016.92z%22%20%2F%3E%20%3C%2Fsvg%3E"); }
.listing-tile-front { display:none; }
.listing-tile-outline, .listing-tile-discount, .listing-tile-final-price { display:none; }

html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & .viewer-tour-rooms .listing-card.viewer-tour-room {
    --tour-card-radius:var(--tile-entity-radius);
    --listing-card-desktop-min-height:var(--tile-entity-min-height);
    position:relative; box-sizing:border-box; display:flex; flex-direction:row;
    align-items:center; gap:0; width:100%; min-width:0;
    min-height:var(--tile-entity-min-height); padding:0; overflow:hidden;
    border:1px solid var(--tile-entity-border); border-radius:var(--tile-entity-radius);
    background:var(--tile-entity-background); color:var(--ink);
    box-shadow:none; transform:none; transition:none;
  }
  & .viewer-tour-rooms .listing-card.viewer-tour-room.is-active {
    box-shadow:0 0 0 var(--listing-active-ring-width) var(--selection);
  }
  & .viewer-tour-rooms .viewer-tour-room-media {
    width:calc((var(--tile-entity-min-height) - 2px) * 4 / 3);
    flex-shrink:0; align-self:center; aspect-ratio:4 / 3;
  }
  & .viewer-tour-rooms .viewer-tour-room-name {
    position:relative; align-self:stretch; flex:1; min-width:0;
    margin:0 0 0 calc(-1 * var(--tile-entity-radius));
    display:flex; flex-direction:column; justify-content:center;
    border-radius:var(--tile-entity-radius); background:inherit;
    padding:12px 44px 12px 16px;
  }
  & :is(.viewer-tour-rooms, #tileCatalog) .viewer-tour-room-name {
    font-family:var(--font-heading) !important; font-size:var(--fs-body) !important;
    font-weight:var(--fw-bold) !important; line-height:var(--lh-heading) !important;
    letter-spacing:var(--tracking-heading) !important;
  }
  & :is(.viewer-tour-rooms, #tileCatalog) .viewer-tour-room-area {
    margin-top:4px; font-family:var(--font-ui) !important; font-size:var(--fs-label) !important;
    font-weight:var(--fw-regular) !important; line-height:var(--lh-body) !important;
    letter-spacing:var(--tracking-normal) !important;
  }
  & .listing-card[data-tile-kind] {
    --listing-card-desktop-min-height: var(--tile-entity-min-height);
    isolation:isolate;
    box-sizing:border-box;
    min-height:var(--tile-entity-min-height);
    border-radius:var(--tile-entity-radius);
    padding:var(--tile-entity-padding) var(--tile-entity-padding) var(--tile-entity-padding) calc(var(--tile-entity-rail) + var(--tile-entity-inset));
    background:var(--tile-entity-background);
    border-color:var(--tile-entity-border);
    color:var(--ink);
    transform:none;
    transition:none;
    box-shadow:none;
  }
  & .listing-card[data-tile-kind]:hover {
    background:var(--tile-entity-background);
    border-color:var(--tile-entity-border);
    transform:none;
    box-shadow:none;
  }
  & .listing-card[data-tile-kind].is-active {
    background:var(--tile-entity-background);
    border-color:var(--tile-entity-border) !important;
    box-shadow:0 0 0 var(--listing-active-ring-width) var(--room-tone-interior-active) !important;
  }
  & .listing-card[data-tile-kind]::before {
    inset:0;
    width:auto;
    z-index:-2;
    border-radius:var(--tile-entity-radius);
    background:var(--tile-entity-gradient) left / calc(var(--tile-entity-rail) + var(--tile-entity-radius)) 100% no-repeat var(--palette-navy);
    opacity:1;
  }
  & .listing-card[data-tile-kind]::after {
    left:0;
    width:var(--tile-entity-rail);
    top:4px;
    bottom:4px;
    color:var(--color-text-inverse);
  }
  & .listing-card[data-tile-kind] > .listing-tile-front {
    display:block;
    position:absolute;
    inset:0 0 0 var(--tile-entity-rail);
    z-index:-1;
    border-radius:var(--tile-entity-radius);
    background:inherit;
    pointer-events:none;
  }
  & .listing-card[data-tile-kind] .listing-select {
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    padding:0;
  }
  & .listing-card[data-tile-kind] .listing-title { color:var(--ink); }
  & .listing-card[data-tile-kind] .listing-meta { margin-top:4px; gap:4px 8px; }

  & .listing-card[data-tile-kind="apartment"] {
    align-content:center;
    grid-template-rows:auto auto;
    row-gap:8px;
    --tile-inner-radius:calc(var(--tile-entity-radius) - var(--tile-apartment-border-width));
    --tile-entity-inset:var(--tile-apartment-inset);
    --listing-card-content-left:calc(var(--tile-entity-rail) + var(--tile-apartment-inset) + var(--tile-apartment-thumb-width) + var(--tile-apartment-thumb-gap));
    --listing-discount-left:var(--tile-entity-rail);
  }
  & .listing-card[data-tile-kind="apartment"].status-available { --tile-entity-gradient:var(--gradient-cg02); }
  & .listing-card[data-tile-kind="apartment"].status-reserved { --tile-entity-gradient:var(--gradient-cg03); }
  & .listing-card[data-tile-kind="apartment"].status-sold { --tile-entity-gradient:var(--gradient-cg04); }
  & .listing-card[data-tile-kind="apartment"].is-active {
    border-color:transparent !important;
    box-shadow:none !important;
  }
  & .listing-card[data-tile-kind="apartment"] { border:var(--tile-apartment-border-width) solid var(--tile-entity-border); }
  & .listing-card[data-tile-kind="apartment"]::before { border-radius:var(--tile-inner-radius); }
  & .listing-card[data-tile-kind="apartment"] > .listing-tile-front {
    border-radius:var(--tile-entity-radius) var(--tile-inner-radius) var(--tile-inner-radius) var(--tile-entity-radius);
  }
  & .listing-card[data-tile-kind="apartment"].is-active > .listing-tile-outline {
    display:block; position:absolute; inset:0;
    border:var(--tile-apartment-active-width) solid var(--listing-accent);
    border-radius:var(--tile-inner-radius); z-index:5; pointer-events:none;
  }
  & .listing-card[data-tile-kind="apartment"] .listing-select {
    display:block;
    padding:0 0 0 calc(var(--tile-apartment-thumb-width) + var(--tile-apartment-thumb-gap));
  }
  & .listing-card[data-tile-kind="apartment"] .listing-card-main { min-height:0; }
  & .listing-card[data-tile-kind="apartment"] .listing-top { padding-right:var(--tile-header-reserve, 36px); }
  & .listing-card[data-tile-kind="apartment"] .listing-title { overflow-wrap:anywhere; }
  & .listing-card[data-tile-kind="apartment"] .listing-card-body { gap:var(--tile-apartment-gap); }
  & .listing-card[data-tile-kind="apartment"] .listing-card-thumbnail {
    box-sizing:border-box;
    position:absolute;
    left:calc(var(--tile-entity-rail) + var(--tile-apartment-inset));
    top:50%; bottom:auto;
    width:var(--tile-apartment-thumb-width); min-width:0;
    height:var(--tile-apartment-thumb-height);
    aspect-ratio:auto;
    transform:translateY(-50%);
    padding:4px;
    border-radius:calc(var(--tile-entity-radius) - var(--tile-entity-padding) - 1px);
  }
  & .listing-card[data-tile-kind="apartment"] .listing-card-thumbnail-image { object-fit:contain; aspect-ratio:auto; }
  & .listing-card[data-tile-kind="apartment"] .listing-card-footer {
    margin-top:0; gap:8px; align-items:center;
    padding:0 0 0 calc(var(--tile-apartment-thumb-width) + var(--tile-apartment-thumb-gap));
  }
  & .listing-card[data-tile-kind="apartment"] .listing-actions-contact { top:8px; right:8px; }
  & .listing-card[data-tile-kind="apartment"] .listing-actions-contact { gap:0; }
  & .listing-card[data-tile-kind="apartment"] .listing-actions-contact .listing-mail-btn {
    display:inline-flex; width:32px; height:32px; min-width:32px; min-height:32px;
    padding:0; border:0; border-radius:0; background:transparent; box-shadow:none;
    color:var(--palette-navy); align-items:center; justify-content:center;
  }
  & .listing-card[data-tile-kind="apartment"] .listing-actions-contact .listing-mail-btn svg { width:16px; height:16px; }
  & .listing-card[data-tile-kind="apartment"] .listing-actions-contact .listing-mail-btn:focus-visible {
    outline:2px solid currentColor; outline-offset:2px;
  }
  & .listing-card[data-tile-kind="apartment"] .listing-actions-contact .listing-mail-btn:disabled {
    opacity:0.45; cursor:default;
  }
  & .listing-card[data-tile-kind="apartment"] .listing-actions-media {
    width:max-content; min-width:0; flex:0 0 auto;
    gap:var(--tile-apartment-action-gap);
    padding:0; margin:0; justify-self:end;
  }
  & .listing-card[data-tile-kind="apartment"] .listing-discount-sticker { display:none; }
  & .listing-card[data-tile-kind="apartment"] .listing-tile-final-price { display:flex; }
  & .listing-card[data-tile-kind="apartment"] .listing-tile-discount {
    position:absolute; top:0; right:0; bottom:auto; z-index:2;
    display:flex; align-items:center; justify-content:center;
    min-height:var(--tile-discount-height); box-sizing:border-box;
    padding:8px var(--tile-discount-contact-space, 44px) 8px 8px;
    border-radius:0 var(--tile-inner-radius) 0 var(--tile-discount-radius);
    background:var(--gradient-cg04) right top / var(--tile-discount-gradient-size, 100% 100%) no-repeat;
    color:var(--color-text-inverse);
    font:var(--fw-semibold) var(--fs-body)/1 var(--font-heading);
    white-space:nowrap; pointer-events:none;
  }
  & .listing-card[data-tile-kind="apartment"] .listing-tile-discount::before,
  & .listing-card[data-tile-kind="apartment"] .listing-tile-discount::after {
    content:""; position:absolute;
    width:var(--tile-discount-radius); height:var(--tile-discount-radius);
    background:inherit;
    mask-image:radial-gradient(circle at 0 100%, transparent var(--tile-discount-radius), black calc(var(--tile-discount-radius) + 0.5px));
    -webkit-mask-image:radial-gradient(circle at 0 100%, transparent var(--tile-discount-radius), black calc(var(--tile-discount-radius) + 0.5px));
  }
  & .listing-card[data-tile-kind="apartment"] .listing-tile-discount::before {
    right:100%; top:0; background-position:left top;
  }
  & .listing-card[data-tile-kind="apartment"] .listing-tile-discount::after {
    right:0; top:100%; background-position:right bottom;
  }
  & .listing-card[data-tile-kind="apartment"]:has(.listing-tile-discount) .listing-actions-contact {
    top:calc(var(--tile-discount-height) / 2); transform:translateY(-50%); z-index:3;
  }
  & .listing-card[data-tile-kind="apartment"]:has(.listing-tile-discount) .listing-actions-contact .listing-mail-btn { color:var(--color-text-inverse); }
  & .listing-card[data-tile-kind="apartment"] .listing-pricing {
    display:flex; flex-direction:column; gap:4px; min-height:0; margin:0;
  }
  & .listing-card[data-tile-kind="apartment"] .listing-pricing-row-base { position:static; margin:0; }
  /* Approved T04-D: names and both prices; T06-D: metadata. */
  & :is(#listings, #tileCatalog) .listing-card[data-tile-kind="apartment"] :is(.listing-title, .listing-price-base, .listing-price-final) {
    font-family:var(--font-heading) !important; font-size:var(--fs-small) !important;
    font-weight:var(--fw-bold) !important; line-height:var(--lh-heading) !important;
    letter-spacing:var(--tracking-heading) !important; font-variant-numeric:tabular-nums !important;
  }
  & :is(#listings, #tileCatalog) .listing-card[data-tile-kind="apartment"] :is(.listing-meta, .listing-meta span) {
    font-family:var(--font-ui) !important; font-size:var(--fs-label) !important;
    font-weight:var(--fw-regular) !important; line-height:var(--lh-body) !important;
    letter-spacing:var(--tracking-normal) !important;
  }
  & .listing-card[data-tile-kind="apartment"] .listing-price-base { text-decoration:line-through; }
  & .listing-card[data-tile-kind="apartment"] .listing-price-final { color:var(--ink); }
  & .listing-card[data-tile-kind="apartment"] .listing-pricing-discounted .listing-price-final { color:var(--palette-red); }
}

/* Source: viewer-list-layout.css */
/* Stage 3A: geometry only; status paint and action behavior remain unchanged. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & :is(.listing-row-apartment-desktop-header, .listing-row-apartment-desktop) {
    --listing-desktop-action-width:72px;
    --list-layout-gap:4px;
    --list-layout-inset:8px;
    --list-layout-columns:minmax(0, 1.42fr) minmax(0, .62fr) minmax(0, .86fr) minmax(0, .78fr) minmax(0, 1.18fr);
    box-sizing:border-box; width:100%; min-width:0;
  }
  & .listing-row-apartment-desktop-header {
    margin:8px 0; padding:0;
  }
  & .listing-row-apartment-desktop-header .listing-row-header-pill,
  & .listing-row-apartment-desktop {
    display:grid; grid-template-columns:minmax(0, 1fr) var(--listing-desktop-action-width);
    gap:var(--list-layout-gap); align-items:center; box-sizing:border-box;
  }
  & .listing-row-apartment-desktop-header .listing-row-header-pill {
    width:100%; min-height:32px;
    padding:4px calc(var(--list-layout-inset) - 1px);
  }
  & .listing-row-apartment-desktop {
    min-height:48px; padding:0 var(--list-layout-inset);
  }
  & .listing-row-apartment-desktop-header .listing-row-header-main,
  & .listing-row-apartment-desktop .listing-row-select {
    display:grid; grid-template-columns:var(--list-layout-columns);
    gap:var(--list-layout-gap); align-items:center;
    box-sizing:border-box; width:100%; min-width:0; padding:0;
  }
  & .listing-row-apartment-desktop-header .listing-row-header-actions {
    width:var(--listing-desktop-action-width); min-width:0;
  }
  & .listing-row-apartment-desktop .listing-row-actions-menu {
    position:relative; justify-self:end; min-width:0;
  }
  & .listing-row-apartment-desktop .listing-row-cell {
    min-width:0; justify-content:center; text-align:center;
  }
}

/* Source: viewer-list-surfaces.css */
/* Stage 3B. The extra name is hidden outside the migrated desktop scope. */
.listing-row-status-group { display:contents; }
.listing-row-apartment-desktop .listing-row-name-separated { display:none; }
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & #listings[data-desktop-edge-fade] {
    --desktop-list-mask: linear-gradient(to bottom,
      #000 0, #000 var(--desktop-fade-start),
      transparent var(--desktop-fade-start),
      #000 calc(var(--desktop-fade-start) + var(--desktop-fade-top)),
      #000 calc(100% - var(--desktop-fade-bottom)), transparent 100%);
    mask-image: var(--desktop-list-mask);
    -webkit-mask-image: var(--desktop-list-mask);
  }
  & .listing-row-apartment-desktop {
    border-bottom:0; border-radius:16px; background:var(--palette-white);
    box-shadow:none; transform:none;
  }
  & .listing-row-apartment-desktop::before { content:none; }
  & .listing-row-apartment-desktop:is(:hover, .is-active) { background:var(--palette-soft-gray) !important; }
  & .listing-row-apartment-desktop::after {
    content:""; position:absolute; left:16px; right:16px; bottom:0;
    height:1px; background:var(--line); pointer-events:none;
  }
  & .listing-row-apartment-desktop:last-of-type::after { content:none; }
  & .listing-row-apartment-desktop:is(:hover, .is-active)::after,
  & .listing-row-apartment-desktop:has(+ .listing-row-apartment-desktop:is(:hover, .is-active))::after,
  & .listing-row-apartment-desktop:has(+ .audit-list-actions + .listing-row-apartment-desktop:is(:hover, .is-active))::after { opacity:0; }
  & .listing-row-status-group { display:inline-flex; flex-direction:column; align-items:center; gap:2px; max-width:100%; }
  & .listing-row-name-separated { display:block; }
  & .listing-row-status-group .listing-row-status-pill > .listing-row-name-text { display:none; }
  & .listing-row-status-group .listing-row-status-pill {
    box-sizing:border-box; height:auto; min-height:0; width:auto;
    padding:2px 6px; border-radius:4px; gap:0;
    animation:none; box-shadow:none;
  }
  & .listing-row-status-group .listing-row-status-pill::after { content:none; animation:none; }
  & :is(#listings, #listCatalog, .listing-row-status-group) .listing-row-name-text {
    color:var(--palette-navy) !important; -webkit-text-fill-color:var(--palette-navy) !important;
    text-shadow:none;
  }
}

/* Source: viewer-list-actions.css */
/* Desktop presentation only; the existing action handlers remain shared. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & .listing-row-apartment-desktop .listing-row-actions-menu { display:contents; }
  & .listing-row-apartment-desktop .listing-row-actions-menu[hidden] { display:none; }
  & .listing-row-apartment-desktop .listing-row-select { grid-column:1; grid-row:1; min-height:48px; height:auto; }
  & .listing-row-apartment-desktop .listing-row-action-toggle-more { grid-column:2; grid-row:1; justify-self:end; }
  & .listing-row-apartment-desktop .listing-row-actions-popover,
  & #L02 .audit-list-actions {
    position:static; inset:auto; transform:none; grid-column:1 / -1; grid-row:2;
    display:flex; flex-wrap:wrap; justify-content:flex-end; align-items:center;
    gap:8px; padding:12px 0; margin:0; width:auto;
    background:transparent !important; border:0; border-radius:0; box-shadow:none !important; z-index:auto;
  }
  & .listing-row-apartment-desktop .listing-row-actions-popover[hidden],
  & #L02 .audit-list-actions[hidden] { display:none; }
  & .listing-row-apartment-desktop:has(.listing-row-actions-menu.is-open) { row-gap:0; }
  & .listing-row-apartment-desktop:has(.listing-row-actions-menu.is-open):is(:hover, .is-active) { background:transparent !important; }
  & .listing-row-apartment-desktop:has(.listing-row-actions-menu.is-open):is(:hover, .is-active)::before {
    content:""; position:absolute; inset:0 0 auto; height:48px;
    background:var(--palette-soft-gray); border-radius:16px; pointer-events:none;
  }
  & .listing-row-apartment-desktop > .listing-row-select,
  & .listing-row-apartment-desktop .listing-row-action-toggle-more { position:relative; }
  & .listing-row-apartment-desktop :is(.listing-row-action-toggle-more, .listing-row-actions-popover > button) {
    box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
    color:var(--palette-navy); border:1px solid var(--button-border-light);
    background:var(--button-surface-light); box-shadow:var(--button-shadow-light);
    font-family:var(--font-ui); font-size:var(--fs-label); font-weight:var(--fw-bold);
  }
  & .listing-row-apartment-desktop .listing-row-action-toggle-more {
    width:auto; min-width:0; height:1.58rem; padding:0 12px; border-radius:12px;
  }
  & .listing-row-apartment-desktop .listing-row-actions-popover > button {
    width:40px; min-width:40px; height:40px; padding:0; border-radius:16px;
  }
  & .listing-row-apartment-desktop .listing-row-actions-popover > button[hidden] { display:none; }
  & .listing-row-apartment-desktop :is(.listing-row-action-toggle-more, .listing-row-actions-popover > button):hover { box-shadow:var(--button-shadow-light-hover); }
  & .listing-row-apartment-desktop .listing-row-action-toggle-more[aria-expanded="true"] {
    color:var(--palette-white) !important; border-color:var(--palette-navy) !important;
    background:linear-gradient(180deg,var(--button-highlight),transparent),var(--palette-navy) !important;
    box-shadow:inset 0 1px 0 var(--button-edge),var(--button-shadow-dark);
  }
  & .listing-row-apartment-desktop :is(.listing-row-action-toggle-more, .listing-row-actions-popover > button):focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
  & .listing-row-apartment-desktop .listing-row-actions-popover .listing-media-text-primary { font-size:14px; }
  & .listing-row-apartment-desktop .listing-row-actions-popover .listing-media-text-secondary { font-size:8px; }
  & .listing-row-apartment-desktop .listing-row-actions-popover .listing-media-360-icon { width:20px; height:20px; }
  & .listing-row-apartment-desktop .listing-row-actions-popover .listing-mail-btn svg { width:20px; height:20px; }
  & .listing-row-apartment-desktop .listing-row-actions-popover > button:disabled {
    color:var(--button-disabled-ink); background:var(--button-disabled-surface); box-shadow:none; cursor:default;
  }
}

/* Source: viewer-feature-lists.css */
/* Stage 3D: L03 location objects and L04 site features, desktop LIGHT only. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & .listing-row:is(.status-location, .listing-row-pzt) { box-sizing:border-box; width:100%; }
  & .listing-row:is(.status-location, .listing-row-pzt) .listing-row-select {
    display:grid; align-items:center; gap:.72rem; width:100%; box-sizing:border-box;
    grid-template-columns:1.3rem minmax(0, 1fr) auto;
    padding:.62rem .22rem .62rem .18rem; border-radius:inherit;
  }
  & .listing-row.listing-row-pzt .listing-row-select {
    grid-template-columns:1.58rem minmax(0, 1fr); padding-right:.18rem; border-radius:inherit;
  }
  & .listing-row:is(.status-location, .listing-row-pzt) .listing-row-body { min-width:0; display:grid; gap:.1rem; }
  & .listing-row:is(.status-location, .listing-row-pzt) :is(.listing-row-title, .listing-row-meta) { overflow-wrap:anywhere; }
  & .listing-row.status-location .listing-row-distance { white-space:nowrap; }
  & :is(#listings, #listCatalog) .listing-row:is(.status-location, .listing-row-pzt) .listing-row-title {
    font-family:var(--font-heading) !important; font-size:var(--fs-small) !important;
    font-weight:var(--fw-bold) !important; line-height:var(--lh-heading) !important;
    letter-spacing:var(--tracking-heading) !important;
  }
  & :is(#listings, #listCatalog) .listing-row:is(.status-location, .listing-row-pzt) :is(.listing-row-meta, .listing-row-distance) {
    font-family:var(--font-ui) !important; font-size:var(--fs-label) !important;
    font-weight:var(--fw-regular) !important; line-height:var(--lh-body) !important;
    letter-spacing:var(--tracking-normal) !important;
  }
  & .listing-row:is(.status-location, .listing-row-pzt) { position:relative; border-bottom:0; border-radius:8px; }
  & .listing-row:is(.status-location, .listing-row-pzt):is(:hover, .is-active) { background:var(--palette-soft-gray); }
  & .listing-row:is(.status-location, .listing-row-pzt):not(:last-child)::after {
    content:""; position:absolute; bottom:0; left:8px; right:8px;
    height:1px; background:var(--line); pointer-events:none;
  }
  & .listing-row:is(.status-location, .listing-row-pzt):is(:hover, .is-active)::after,
  & .listing-row:is(.status-location, .listing-row-pzt):has(+ .listing-row:is(.status-location, .listing-row-pzt):is(:hover, .is-active))::after { opacity:0; }
  & .listing-row:is(.status-location, .listing-row-pzt) .listing-row-select:focus-visible {
    outline:2px solid var(--palette-navy); outline-offset:-2px;
  }
}

/* Source: viewer-room-lists.css */
/* L05/L06: shared desktop room tables. The dark 3D panel is not DARK mode. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardDetails) {
    --room-list-radius:8px;
    --room-list-selected:var(--palette-soft-gray);
    --room-list-ink:var(--palette-navy);
    --room-list-rule:var(--line);
    --room-list-background:var(--surface);
  }
  & #viewerApartment3dCardDetails {
    --room-list-selected:color-mix(in srgb, var(--palette-soft-gray) 8%, transparent);
    --room-list-ink:var(--palette-white);
    --room-list-rule:var(--apartment3d-rule);
    --room-list-background:transparent;
  }
  & :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardDetails) .apartment3d-room-list {
    padding:12px; border:0; border-radius:20px; background:var(--room-list-background);
  }
  & :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardDetails) .apartment3d-room-row {
    position:relative; border-bottom:0; border-radius:var(--room-list-radius);
    background:var(--room-list-background);
  }
  & :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardDetails) .apartment3d-room-row:not(:last-child)::after {
    content:""; position:absolute; bottom:0; left:var(--room-list-radius); right:var(--room-list-radius);
    height:1px; background:var(--room-list-rule); pointer-events:none;
  }
  & :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardDetails) .apartment3d-room-row:is(:hover, .is-active)::after,
  & :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardDetails) .apartment3d-room-row:has(+ .apartment3d-room-row:is(:hover, .is-active))::after { opacity:0; }
  & :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardDetails) .apartment3d-room-row:is(:hover, .is-active) {
    background:var(--room-list-selected) !important; color:var(--room-list-ink) !important;
  }
  & :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardDetails) .apartment3d-room-row:is(:hover, .is-active) :is(.apartment3d-room-row-name, .apartment3d-room-row-area) { color:var(--room-list-ink) !important; }
  & :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardDetails) .apartment3d-room-row.is-active .apartment3d-room-row-dot {
    --room-point-color:var(--apartment3d-room-fill-active, var(--feature-pink-active));
    animation:room-list-point-pulse 2s ease-out infinite;
  }
  @media (prefers-reduced-motion:reduce) {
    & :is(#viewerApartment2dRoomSheet, #viewerApartment3dCardDetails) .apartment3d-room-row.is-active .apartment3d-room-row-dot { animation:none; }
  }
}
@keyframes room-list-point-pulse {
  0% { box-shadow:0 0 0 3px color-mix(in srgb, var(--room-point-color) 24%, transparent); }
  80%,100% { box-shadow:0 0 0 8px color-mix(in srgb, var(--room-point-color) 0%, transparent); }
}

/* Source: viewer-media.css */
/* Shared M01-M04 media geometry; placement belongs to each host. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & .gallery-thumb { border-radius:12px; }
  & .gallery-thumb.is-active { border-color:var(--feature-pink-active); }
  & .gallery-thumb:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
  & .gallery-thumb-image { display:block; width:100%; height:100%; object-fit:cover; }
  & .gallery-thumbs {
    gap:8px;
    padding:8px;
    border-radius:var(--surface-glass-radius);
    border:var(--surface-glass-border);
    background:var(--surface-glass-background);
    backdrop-filter:var(--surface-glass-blur);
    -webkit-backdrop-filter:var(--surface-glass-blur);
    box-shadow:var(--surface-glass-shadow);
    justify-content:safe center;
  }
  & .gallery-thumbs[hidden] { display:none; }
  & .viewer-tour-plan { border-radius:20px; padding:16px; }
  & .viewer-apartment3d-card-gallery { border-radius:16px; aspect-ratio:16 / 9; align-self:start; }
  & .viewer-apartment3d-card-bar { --viewer-media-frame-ratio:1.7777777778; }
  & .viewer-apartment3d-card-gallery-image { object-fit:cover; }
}

/* Source: viewer-filter-panel.css */
/* Keep the existing mobile/DARK flow and filter reparenting intact. */
.viewer-filter-surface { display:contents; }

html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & .viewer-filter-surface:has(> :is(.building-picker, .filters):not([hidden]):not(.is-collapsed)) {
    display:grid; gap:8px; padding:16px; margin-bottom:12px;
    box-sizing:border-box; border:1px solid var(--accent); border-radius:20px;
    background:var(--gradient-cg01) var(--palette-navy);
  }
  & .viewer-filter-surface > :is(.building-picker, .filters) {
    padding:0; margin:0; border:0; border-radius:0; background:transparent;
    clip-path:none; -webkit-mask-image:none; mask-image:none; gap:8px;
    overflow:visible;
  }
  & .viewer-filter-surface :is(.building-picker-head, .building-picker-floor-row, .filter-field) { gap:4px; }
  & .viewer-filter-surface :is(.building-picker-buttons, .building-picker-floor-buttons) { gap:4px; }
  & .viewer-filter-surface .filters { grid-template-columns:repeat(4,minmax(0,1fr)); }
  & .viewer-filter-surface .filter-field { min-width:0; }

  & :is(.building-chip:not(.building-chip-back), .viewer-filter-surface .filter-select-btn, .viewer-filter-control) {
    box-sizing:border-box; height:32px; min-height:32px; max-height:32px;
    border-radius:12px; padding-block:0;
  }
  /* P10/P11/P13 and P37/P38 share paint, not geometry. The modal card is
     reparented to .lead-inline-host on light surfaces, where 3B remains in charge. */
  & :is(.building-chip:not(.building-chip-back), .viewer-filter-surface .filter-select-btn, .viewer-filter-control, .viewer-inverse-control, #leadModal .lead-modal-submit-btn, #leadModal .lead-modal-close-btn) {
    --filter-button-highlight:var(--button-highlight);
    --filter-button-edge:var(--button-edge);
    --control-fg:var(--palette-white) !important;
    --t6-text-color:var(--palette-white) !important;
    color:var(--palette-white) !important;
    background:linear-gradient(180deg,var(--filter-button-highlight),var(--button-glass-bottom)) !important;
    border-color:var(--button-glass-border) !important;
    box-shadow:inset 0 1px 0 var(--filter-button-edge) !important;
    backdrop-filter:var(--button-glass-blur); -webkit-backdrop-filter:var(--button-glass-blur);
  }
  & :is(.building-chip:not(.building-chip-back), .viewer-filter-surface .filter-select-btn, .viewer-filter-control, .viewer-inverse-control, #leadModal .lead-modal-submit-btn, #leadModal .lead-modal-close-btn):hover {
    --filter-button-highlight:var(--button-highlight-hover); --filter-button-edge:var(--button-edge-hover);
  }
  & :is(.building-chip:not(.building-chip-back), .viewer-filter-surface .filter-select-btn, .viewer-filter-control, .viewer-inverse-control, #leadModal .lead-modal-submit-btn, #leadModal .lead-modal-close-btn):active {
    --filter-button-highlight:var(--button-highlight-pressed); box-shadow:none !important;
  }
  & :is(.building-chip:not(.building-chip-back), .viewer-filter-surface .filter-select-btn, .viewer-filter-control, .viewer-inverse-control, #leadModal .lead-modal-submit-btn, #leadModal .lead-modal-close-btn):is(.is-active,[aria-pressed="true"],[aria-expanded="true"]) {
    --control-fg:var(--button-glass-selection-ink) !important; --t6-text-color:var(--button-glass-selection-ink) !important;
    color:var(--button-glass-selection-ink) !important;
    background:var(--button-glass-selection-overlay) !important;
    border-color:var(--button-glass-selection-line) !important; box-shadow:none !important;
  }
  & :is(.building-chip:not(.building-chip-back), .viewer-filter-surface .filter-select-btn, .viewer-filter-control, .viewer-inverse-control, #leadModal .lead-modal-submit-btn, #leadModal .lead-modal-close-btn):focus-visible {
    outline:2px solid var(--palette-white) !important; outline-offset:2px;
  }
  & :is(.building-chip:not(.building-chip-back), .viewer-filter-surface .filter-select-btn, .viewer-filter-control, .viewer-inverse-control, #leadModal .lead-modal-submit-btn, #leadModal .lead-modal-close-btn):is(:disabled,[aria-disabled="true"],.is-disabled) {
    --control-fg:var(--button-disabled-inverse-ink) !important;
    --t6-text-color:var(--button-disabled-inverse-ink) !important;
    color:var(--button-disabled-inverse-ink) !important;
    background:var(--button-disabled-inverse-surface) !important;
    border-color:var(--button-disabled-inverse-border) !important;
    box-shadow:none !important; backdrop-filter:none; -webkit-backdrop-filter:none;
    cursor:not-allowed;
  }
  & :is(.viewer-filter-surface .filter-select-btn, .viewer-filter-control) .filter-select-chevron { width:6px; height:6px; }
}

/* Source: viewer-filter-menus.css */
/* B02/B03 share geometry and P61/P62 states; hosts retain popup placement. */
/* Ink retains priority against shared typography; paint uses normal cascade. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & :is(.filter-select-popover, .desktop-listings-sort-popover) {
    --menu-option-radius:12px; --menu-padding:8px; --menu-border:1px;
    --menu-fit-enabled:1;
    box-sizing:border-box; max-height:var(--menu-available-height,none); overflow-y:auto;
    padding:var(--menu-padding); gap:4px; border-width:var(--menu-border);
    border-radius:calc(var(--menu-option-radius) + var(--menu-padding) + var(--menu-border));
  }
  & :is(.filter-select-option, .desktop-listings-sort-option) {
    --menu-highlight:var(--button-highlight); --menu-edge:var(--button-edge);
    box-sizing:border-box; height:32px; min-height:32px; border-radius:12px; padding:0 8px;
    color:var(--palette-navy) !important; background:transparent;
    border-color:transparent; box-shadow:none;
  }
  & :is(.filter-select-option, .desktop-listings-sort-option):hover {
    --menu-highlight:var(--button-highlight-hover); --menu-edge:var(--button-edge-hover);
    background:var(--palette-soft-gray);
  }
  & :is(.filter-select-option, .desktop-listings-sort-option):is(.is-active,[aria-checked="true"]) {
    color:var(--palette-white) !important;
    background:linear-gradient(180deg,var(--menu-highlight),transparent) var(--palette-navy);
    box-shadow:inset 0 1px 0 var(--menu-edge),var(--button-shadow-dark);
  }
  & :is(.filter-select-option, .desktop-listings-sort-option):is(.is-active,[aria-checked="true"]):active {
    background:var(--button-surface-dark-pressed) var(--palette-navy);
    box-shadow:var(--button-shadow-dark-pressed);
  }
  & :is(.filter-select-option, .desktop-listings-sort-option):focus-visible {
    outline:2px solid var(--palette-navy); outline-offset:2px;
  }
  & :is(.filter-select-option, .desktop-listings-sort-option):is(:disabled,[aria-disabled="true"]) {
    color:var(--button-disabled-ink) !important;
    background:var(--button-disabled-surface); box-shadow:none;
  }
}

/* Source: viewer-scene-panels.css */
/* B05/B06 use the C03 surface already provided by Viewer; keep scene anchors. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & :is(.viewer-overlay, .viewer-nav-dock) {
    box-sizing:border-box; min-height:64px; padding:4px 8px; gap:4px;
    border-radius:var(--surface-glass-compact-radius); justify-content:center;
  }
  & .viewer-overlay > p { margin-block:0; }
  & .viewer-overlay .viewer-title { display:flex; align-items:center; }
  & .viewer-nav-dock { width:max-content; min-width:0; align-content:center; grid-template-columns:minmax(0,1fr); }
  & .viewer-nav-dock .viewer-mode-panel-title { min-width:0; contain:inline-size; white-space:normal; overflow-wrap:anywhere; }
  & .viewer-nav-dock .viewer-view-group {
    width:max-content; min-width:0; max-width:100%; gap:8px; padding:0;
    border:0; border-radius:0; background:transparent;
  }
  & .view-mode-btn {
    --mode-highlight:var(--button-highlight); --mode-edge:var(--button-edge);
    --control-height:32px; --control-radius:12px;
    box-sizing:border-box; height:32px; min-height:32px; max-height:32px; padding-block:0; border-radius:12px;
    color:var(--palette-navy) !important;
    background:var(--button-surface-light) var(--palette-white) !important;
    border-color:var(--button-border-light) !important; box-shadow:var(--button-shadow-light) !important;
  }
  & .view-mode-btn:hover {
    --mode-highlight:var(--button-highlight-hover); --mode-edge:var(--button-edge-hover);
    box-shadow:var(--button-shadow-light-hover) !important;
  }
  & .view-mode-btn:active { background:var(--palette-white) !important; box-shadow:var(--button-shadow-light-pressed) !important; }
  & .view-mode-btn:is(.is-active,[aria-pressed="true"]) {
    color:var(--palette-white) !important;
    background:linear-gradient(180deg,var(--mode-highlight),transparent) var(--palette-navy) !important;
    box-shadow:inset 0 1px 0 var(--mode-edge),var(--button-shadow-dark) !important;
  }
  & .view-mode-btn:is(.is-active,[aria-pressed="true"]):active {
    background:var(--button-surface-dark-pressed) var(--palette-navy) !important;
    box-shadow:var(--button-shadow-dark-pressed) !important;
  }
  & .view-mode-btn:focus-visible { outline:2px solid var(--palette-navy); outline-offset:2px; }
  & .view-mode-btn:is(:disabled,[aria-disabled="true"]) {
    color:var(--button-disabled-ink) !important; background:var(--button-disabled-surface) !important;
    border-color:var(--button-disabled-surface) !important; box-shadow:none !important;
  }
}

/* Source: viewer-spin-panels.css */
/* Preserve the legacy CSS pointer outside the migrated desktop scope. */
.spin-compass-pointer > .spin-compass-pointer-art { display:none; }

html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & .viewer-utility-dock {
    padding:8px; border-width:1px; border-radius:21px;
  }
  & .spin-compass {
    box-sizing:border-box; min-height:64px; padding:4px 8px; gap:4px;
    border-radius:var(--surface-glass-compact-radius);
    align-content:center; justify-content:stretch; grid-template-columns:minmax(0,1fr);
  }
  & .spin-compass > * { translate:0 4px; }
  & .spin-compass-track-wrap { height:20px; flex-shrink:0; }
  & .spin-compass-pointer { width:14px; height:14px; border:0; filter:none; }
  & .spin-compass-pointer .spin-compass-pointer-art { display:block; width:100%; height:100%; color:var(--accent); filter:drop-shadow(0 2px 4px rgba(5,18,32,.18)); }
}

/* Source: viewer-scene-labels.css */
.scene-apartment-label-content { display:contents; }
.scene-entity-label-content { display:contents; }

html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & .tour-point-label { border-radius:12px; }
  & :is(.pzt-feature-label:not(.is-mobile-compact-info), .apartment3d-room-label) {
    --desktop-info-pointer-size:12px;
    --desktop-info-radius:12px;
    box-sizing:border-box; width:max-content; min-width:0; min-height:0;
    max-width:calc(100% - 24px); padding:8px 12px;
    border-radius:var(--desktop-info-radius);
  }
  & .pzt-feature-label:not(.is-mobile-compact-info) .pzt-feature-label-title {
    min-width:0; max-width:100%; white-space:normal; overflow-wrap:anywhere;
  }
  & .apartment3d-room-label-title {
    min-width:0; max-width:100%; white-space:normal; overflow-wrap:anywhere;
  }
  & .pzt-feature-label.is-building-compact-info:not(.is-active):not(.is-interactive-selected) {
    width:32px; min-width:32px; max-width:32px;
    height:32px; min-height:32px; max-height:32px; padding:0;
  }
  & .pzt-feature-label.is-building-compact-info .pzt-feature-label-icon-svg { width:20px; height:20px; }
  & .pzt-feature-label.is-building-compact-info:not(.is-active):not(.is-interactive-selected)::after {
    width:12px; height:12px; bottom:-8px;
    transform:translateX(-50%);
    clip-path:polygon(0 0, 100% 0, 50% 100%);
  }
  & .scene-entity-label {
    --scene-label-radius:12px;
    display:grid; gap:0; padding:0; min-width:0; width:max-content;
    max-width:calc(100% - 24px); box-sizing:border-box;
    border-radius:var(--scene-label-radius); justify-items:stretch; text-align:center;
  }
  & .scene-entity-label-content {
    display:grid; gap:4px; padding:8px 12px; min-width:0; box-sizing:border-box; justify-items:center;
    position:relative; z-index:1; background:var(--surface); border-radius:var(--scene-label-radius);
  }
  & .scene-entity-label-content > :is(.location-hotspot-title,.location-hotspot-meta,.location-hotspot-building-stats) {
    padding:0; margin:0; min-width:0; max-width:100%;
  }
  & .scene-entity-label .location-hotspot-building-stats { gap:4px; }
  & .scene-entity-label > :is(.location-hotspot-status-band,.location-hotspot-header-band) {
    position:relative; isolation:isolate; overflow:visible;
    width:auto; margin:0; padding:4px 12px; box-sizing:border-box;
    border-radius:0 0 var(--scene-label-radius) var(--scene-label-radius); background:transparent;
  }
  & .scene-entity-label > :is(.location-hotspot-status-band,.location-hotspot-header-band)::before {
    content:""; position:absolute; left:0; right:0; top:calc(-1 * var(--scene-label-radius)); bottom:0;
    z-index:-1; border-radius:inherit; pointer-events:none;
    background:var(--gradient-cg01) var(--palette-navy);
  }
  & .scene-apartment-label {
    --scene-label-radius:12px;
    display:grid; gap:0; padding:0; min-width:0; width:max-content;
    max-width:calc(100% - 24px); box-sizing:border-box;
    border-radius:var(--scene-label-radius); justify-items:stretch; text-align:center;
  }
  & .scene-apartment-label.status-available { --scene-status-gradient:var(--gradient-cg02); }
  & .scene-apartment-label.status-reserved { --scene-status-gradient:var(--gradient-cg03); }
  & .scene-apartment-label.status-sold { --scene-status-gradient:var(--gradient-cg04); }
  & .scene-apartment-label-content {
    display:grid; gap:4px; padding:8px 12px; min-width:0;
    box-sizing:border-box; justify-items:center;
  }
  & .scene-apartment-label-content > :is(.location-hotspot-title,.location-hotspot-meta,.apartment-hover-status) {
    padding:0; margin:0; min-width:0; max-width:100%;
  }
  & .scene-apartment-label.is-apartment-hover-preview { background:var(--scene-status-gradient) var(--hotspot-status-color); }
  & .scene-apartment-label:not(.is-apartment-hover-preview) .scene-apartment-label-content {
    position:relative; z-index:1; background:var(--surface); border-radius:var(--scene-label-radius);
  }
  & .scene-apartment-label > .location-hotspot-status-band {
    position:relative; isolation:isolate; overflow:visible;
    width:auto; margin:0; padding:4px 12px; box-sizing:border-box;
    border-radius:0 0 var(--scene-label-radius) var(--scene-label-radius); background:transparent;
  }
  & .scene-apartment-label > .location-hotspot-status-band::before {
    content:""; position:absolute; left:0; right:0; top:calc(-1 * var(--scene-label-radius)); bottom:0;
    z-index:-1; border-radius:inherit; pointer-events:none;
    background:var(--scene-status-gradient) var(--hotspot-status-color);
  }
}

/* Source: viewer-lead-form.css */
/* F01/F02: presentation only. Submission and viewport mounting stay in app.js. */
.lead-form .lead-field-error {
  margin: -4px 0 0;
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  color: var(--palette-red);
}
.lead-form .lead-field-error[hidden] { display: none; }
.lead-form :is(input, textarea)[aria-invalid="true"] {
  --ui-border-control: var(--palette-red);
  box-shadow: inset 0 0 0 1px var(--palette-red);
}
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & .lead-inline-host .lead-modal-card {
    border-radius:20px; box-sizing:border-box;
    max-height:calc(100dvh - 160px);
    grid-template-rows:auto minmax(0, 1fr) auto;
  }
  & .lead-inline-host .lead-modal-card.is-lead-success {
    grid-template-rows:minmax(0, 1fr) auto;
    & .lead-success { padding:24px; gap:8px; min-height:0; overflow:auto; box-sizing:border-box; }
    & .lead-modal-actionbar { padding:0 16px 16px; gap:8px; }
    & .lead-modal-actionbar-actions { display:flex; justify-content:center; gap:8px; }
  }
  & .lead-inline-host .lead-modal-card:not(.is-lead-success) {
    & .apartment2d-meta-row { padding:16px 16px 0; }
    & .lead-form-shell { padding:16px; min-height:0; overflow:auto; box-sizing:border-box; }
    & .lead-form { gap:8px; }
    & .lead-form :is(input:not([type="checkbox"]), textarea) {
      box-sizing:border-box; width:100%; min-width:0; min-height:36px;
      border-radius:8px; padding:8px 12px;
    }
    & .lead-form textarea[id] { min-height:96px; resize:vertical; }
    & .lead-privacy-notice { gap:4px; margin:0; padding:0; }
    & .lead-marketing-choice { gap:8px; }
    & .lead-status:empty { display:none; }
    & .lead-modal-actionbar { padding:0 16px 16px; grid-template-columns:minmax(0, 1fr); gap:8px; }
    & .lead-modal-actionbar-title { margin:0; }
    & .lead-modal-actionbar-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
  }
  & .lead-inline-host .lead-modal-card {
    & :is(.lead-modal-submit-btn,.lead-modal-close-btn) {
      box-sizing:border-box; height:32px; min-height:32px; padding:0 12px; border-radius:12px;
      border:1px solid var(--button-border-light); color:var(--palette-navy) !important;
      border-color:var(--button-border-light) !important;
      background:var(--button-surface-light) !important; box-shadow:var(--button-shadow-light);
    }
    & .lead-modal-close-btn:hover { box-shadow:var(--button-shadow-light-hover); }
    & .lead-modal-close-btn:active { background:var(--palette-white) !important; box-shadow:var(--button-shadow-light-pressed); }
    & .lead-modal-submit-btn {
      color:var(--palette-white) !important; border-color:var(--palette-navy) !important;
      background:linear-gradient(180deg,var(--button-highlight),transparent),var(--palette-navy) !important;
      box-shadow:inset 0 1px 0 var(--button-edge),var(--button-shadow-dark);
    }
    & .lead-modal-submit-btn:hover { background:linear-gradient(180deg,var(--button-highlight-hover),transparent),var(--palette-navy) !important; }
    & .lead-modal-submit-btn:active { background:var(--button-surface-dark-pressed),var(--palette-navy) !important; box-shadow:var(--button-shadow-dark-pressed); }
    & :is(.lead-modal-submit-btn,.lead-modal-close-btn):focus-visible { outline:2px solid var(--palette-navy); outline-offset:2px; }
    & :is(.lead-modal-submit-btn,.lead-modal-close-btn):disabled {
      color:var(--button-disabled-ink) !important; background:var(--button-disabled-surface) !important; border-color:var(--button-disabled-surface) !important; box-shadow:none; cursor:default;
    }
  }
}

/* Source: viewer-privacy-policy.css */
/* F03: share geometry without changing host positioning or visibility. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & :is(#privacyPolicyModal, #viewerPrivacyPolicyPanel) {
    --legal-radius:20px; --legal-padding:8px; --legal-border:1px;
    --legal-inner-radius:calc(var(--legal-radius) - var(--legal-padding) - var(--legal-border));
  }
  & #privacyPolicyModal .privacy-policy-modal-card {
    box-sizing:border-box; width:100%; max-width:760px;
    max-height:calc(100dvh - 48px); margin:0 auto;
    padding:var(--legal-padding); border-width:var(--legal-border);
    border-radius:var(--legal-radius); gap:8px;
    grid-template-rows:auto minmax(0, 1fr) auto;
  }
  & #privacyPolicyModal :is(.privacy-policy-modal-meta, .privacy-policy-content-shell, .privacy-policy-modal-actionbar) {
    box-sizing:border-box; width:100%; max-width:100%; min-width:0;
    margin:0; border-radius:var(--legal-inner-radius);
  }
  & #privacyPolicyModal .privacy-policy-content-shell { min-height:0; max-height:none; overflow:auto; padding:16px; }
  & #privacyPolicyModal .lead-modal-actionbar { gap:8px; padding:8px; }
  & #privacyPolicyModal .lead-modal-actionbar-actions { gap:8px; }
  & #viewerPrivacyPolicyPanel {
    box-sizing:border-box; padding:8px; border:1px solid var(--line);
    border-radius:20px; gap:8px; grid-template-rows:minmax(0, 1fr) auto; overflow:hidden;
  }
  & #viewerPrivacyPolicyPanel .viewer-privacy-policy-surface {
    min-height:0; padding:16px; overflow:auto; border-radius:var(--legal-inner-radius);
  }
  & #viewerPrivacyPolicyPanel .viewer-privacy-policy-bar { padding:8px; gap:8px; border-radius:var(--legal-inner-radius); }
  & :is(#privacyPolicyModal .lead-modal-close-btn, #viewerPrivacyPolicyCloseBtn) {
    box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
    height:32px; min-height:32px; padding:0 12px; border-radius:12px;
    border:1px solid var(--button-border-light); border-color:var(--button-border-light) !important;
    color:var(--palette-navy) !important; background:var(--button-surface-light) !important;
    box-shadow:var(--button-shadow-light);
  }
  & :is(#privacyPolicyModal .lead-modal-close-btn, #viewerPrivacyPolicyCloseBtn):hover { box-shadow:var(--button-shadow-light-hover); }
  & :is(#privacyPolicyModal .lead-modal-close-btn, #viewerPrivacyPolicyCloseBtn):active { background:var(--palette-white) !important; box-shadow:var(--button-shadow-light-pressed); }
  & :is(#privacyPolicyModal .lead-modal-close-btn, #viewerPrivacyPolicyCloseBtn):focus-visible { outline:2px solid var(--palette-muted); outline-offset:2px; }
}

/* Source: viewer-loading-feedback.css */
/* F04-F06: presentation only; loader visibility and progress remain owned by app.js. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & :is(#viewerLoadingText, #viewerApartment3dCardLoadingText) {
    font-family:var(--font-heading) !important;
    font-size:var(--fs-label) !important;
    font-weight:var(--fw-semibold) !important;
    line-height:var(--lh-control) !important;
    letter-spacing:var(--tracking-normal) !important;
  }
  & #viewerSceneRetry {
    box-sizing:border-box; min-height:32px; padding:0 12px; border-radius:12px;
    border:1px solid var(--palette-navy); border-color:var(--palette-navy) !important;
    color:var(--palette-white) !important;
    background:linear-gradient(180deg,var(--button-highlight),transparent),var(--palette-navy) !important;
    box-shadow:inset 0 1px 0 var(--button-edge),var(--button-shadow-dark);
  }
  & #viewerSceneRetry:hover { background:linear-gradient(180deg,var(--button-highlight-hover),transparent),var(--palette-navy) !important; }
  & #viewerSceneRetry:active { background:var(--button-surface-dark-pressed),var(--palette-navy) !important; box-shadow:var(--button-shadow-dark-pressed); }
  & #viewerSceneRetry:focus-visible { outline:2px solid var(--palette-muted); outline-offset:2px; }
  & #viewerSceneRetry:disabled {
    color:var(--button-disabled-ink) !important; background:var(--button-disabled-surface) !important;
    border-color:var(--button-disabled-surface) !important; box-shadow:none; cursor:default;
  }
}

/* Source: viewer-typography.css */
/* Authoritative Viewer typography roles for desktop and mobile.
   Loaded after component styles; importance still protects against responsive
   fallbacks and lazy-loaded media modules. Desktop T6 owns its two-tone policy.
   Geometry, icons and typography outside the role map remain component-owned. */

/* List roles also cover compact LIGHT; retain the original selector priority. */
html[data-boot-mode="viewer"]:is([data-viewer-layout="desktop"], [data-viewer-layout="compact"]) body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & :is(#listings, #listCatalog) :is(.listing-row-name-text, .listing-row-price-final) {
    font-family:var(--font-ui) !important; font-size:var(--fs-label) !important;
    font-weight:var(--fw-bold) !important; line-height:var(--lh-control) !important;
    letter-spacing:var(--tracking-normal) !important; font-variant-numeric:tabular-nums;
  }
  & :is(#listings, #listCatalog) :is(.listing-row-cell-rooms, .listing-row-cell-area, .listing-row-cell-floor) {
    font-family:var(--font-ui) !important; font-size:var(--fs-label) !important;
    font-weight:var(--fw-regular) !important; line-height:var(--lh-body) !important;
    letter-spacing:var(--tracking-normal) !important;
  }
}

/* Mobile roles own complete typography, independent of layout density.
   T11 navigation hints share T6. Colors and geometry stay component-owned. */
/* Mobile T1: investment name. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#mobileViewerInvestmentLabel, #investmentLabel, .viewer-tour-investment, .gallery-investment-label) {
  font-family: var(--font-heading) !important;
  font-weight: var(--fw-bold) !important;
  font-size: var(--fs-title) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
}
/* Mobile T2: section headings. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#listTitle, #leadSuccessTitle, .list-title, .listing-section-title, .list-head h2, .mobile-filters-dialog-title, .viewer-tour-plan-title, .apartment3d-section-title) {
  font-family: var(--font-heading) !important;
  font-weight: var(--fw-semibold) !important;
  font-size: var(--fs-body) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
}
/* Mobile T3: names and detail titles, merged into approved T4. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#viewerApartment3dCardTitle, .listing-title, .listing-row-title, .mobile-building-preview-title, .viewer-tour-title, .viewer-apartment3d-card-titlebar, .viewer-apartment2d-title, .lead-modal-actionbar-title:not(#leadModalTitle)),
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#leadModalSubtitle, .lead-inline-host #leadModalSubtitle)::first-line {
  font-family: var(--font-heading) !important;
  font-weight: var(--fw-bold) !important;
  font-size: var(--fs-small) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
}
/* The contact heading is T3; the following detail line uses T6. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#leadModalSubtitle, .lead-inline-host #leadModalSubtitle)::first-line {
  color: var(--ink) !important;
}
/* Mobile T4: prices in cards and area totals. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#viewerApartment3dCardRoomSummary, .listing-card .listing-price-final, .apartment3d-room-total-row > span, .viewer-apartment2d-room-total) {
  font-family: var(--font-heading) !important;
  font-weight: var(--fw-bold) !important;
  font-size: var(--fs-small) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
}
/* Mobile T5: messages and prose, merged into approved T6. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#leadSuccessMessage, .gallery-empty, .viewer-apartment2d-empty, .lead-status, .apartment2d-status, .viewer-tour-status, .viewer-legal-popover-title, .viewer-intro-progress-text, .viewer-apartment3d-card-note-text, .privacy-policy-content, #viewerSceneRetry) {
  font-family: var(--font-ui) !important;
  font-weight: var(--fw-regular) !important;
  font-size: var(--fs-label) !important;
  line-height: var(--lh-body) !important;
  letter-spacing: var(--tracking-normal) !important;
}
/* Mobile T6: data, dropdown values, metadata and legal text. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(.tour-point-label strong, .tour-point-label > span, .btn, #leadModalTitle, #leadModal .lead-modal-submit-btn, .view-mode-btn, .building-chip-back, .viewer-tour-back, .listing-row-action-toggle-info, .listing-row-action-toggle-more, .lead-modal-submit-btn, .lead-modal-close-btn, .gallery-close-btn, .viewer-tour-mobile-action, .mobile-filters-toggle-btn, .mobile-back-to-buildings-btn, #viewerApartment2dBackToListingsBtn > span, #viewerApartment3dCardBackToListingsBtn > span, .mobile-building-switch-btn, .mobile-listings-sort-btn, .mobile-listings-view-btn, .mobile-filters-action-btn, .mobile-filters-close-btn, .mobile-pzt-tile-button, .mobile-vr360-tile-label, .spin-compass-text, .viewer-view-group .icon-control-label, #viewerApartment3dCardMeta, #leadModalSubtitle, .lead-inline-host #leadModalSubtitle, #investmentAddress, #selectedMeta, .investment-address, .listing-meta, .listing-meta span, .listing-pricing-label, .listing-price-base, .listing-row-meta, .listing-row-distance, .listing-row-cell-rooms, .listing-row-cell-area, .listing-row-cell-floor, .viewer-tour-details, .viewer-apartment2d-meta, .viewer-apartment3d-card-meta, .modal-subtitle, .apartment3d-room-row-name, .apartment3d-room-row-type, .apartment3d-room-row-area, .filters select, .filters option, .filter-select-btn, .filter-select-btn-label, .filter-select-option, .desktop-listings-sort-option, .viewer-overlay-meta, .viewer-tour-context-details, .location-hotspot-meta, .location-hotspot-building-stats, .location-hotspot-building-stats-row, .viewer-legal-popover-summary, .viewer-legal-popover-summary a, .viewer-legal-popover-details, .viewer-legal-popover-details p, .viewer-legal-popover-details a, .viewer-privacy-policy-content, .lead-privacy-summary, .lead-privacy-summary span, .lead-privacy-link, .building-chip:not(.building-chip-back), .building-floor-chip, .mobile-building-preview-line, .mobile-building-preview-line span, .mobile-building-card-status-total, .mobile-building-card-status-label, .mobile-building-card-status-count, .mobile-building-card-status-percent, .viewer-tour-navigation-hint, .viewer-tour-mobile-feedback) {
  font-family: var(--font-ui) !important;
  font-weight: var(--fw-regular) !important;
  font-size: var(--fs-label) !important;
  line-height: var(--lh-body) !important;
  letter-spacing: var(--tracking-normal) !important;
}
/* Card sheets set text-fill on their container; button captions use T6 color. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#viewerApartment2dBackToListingsBtn, #viewerApartment3dCardBackToListingsBtn) > span {
  -webkit-text-fill-color: currentColor !important;
}
/* Mobile data separators inherit typography and system color from T6. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body #listings :is(.listing-meta, .mobile-building-preview-line) span + span::before {
  font: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body #listings .mobile-building-preview-line span + span::before {
  background: currentColor !important;
}
/* Mobile T7: emphasized table data and field labels. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#listings .listing-row-header-cell, .viewer-tour-room-name, .viewer-tour-thumb-caption, .viewer-tour-room-area, .viewer-tour-context-room, .mobile-controls-panel .mobile-back-to-buildings-btn, .mobile-controls-panel .mobile-filters-toggle-btn, .mobile-controls-panel .mobile-building-switch-btn, .mobile-controls-panel .mobile-listings-sort-btn, .mobile-controls-panel .mobile-listings-view-btn, .mobile-controls-panel .mobile-back-to-buildings-btn > span, .mobile-controls-panel .mobile-filters-toggle-btn > span, .mobile-controls-panel .mobile-building-switch-btn > span, .apartment3d-room-table-header-cell, .listing-row-header-cell, .listing-row-header-label, .listing-row-header-sort-button, .listing-row-cell-name, .listing-row-name-text, .listing-row-cell-price, .listing-row-price-final, .building-picker-key, .building-picker-floor-title, .filter-field label) {
  font-family: var(--font-ui) !important;
  font-weight: var(--fw-bold) !important;
  font-size: var(--fs-label) !important;
  line-height: var(--lh-control) !important;
  letter-spacing: var(--tracking-normal) !important;
}
/* Mobile T8: all contact inputs use 16px, including iOS. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#leadModal .lead-form input, #leadModal .lead-form textarea, .lead-inline-host .lead-form input, .lead-inline-host .lead-form textarea) {
  font-family: var(--font-ui) !important;
  font-weight: var(--fw-regular) !important;
  font-size: var(--fs-body) !important;
  line-height: var(--lh-field) !important;
  letter-spacing: var(--tracking-normal) !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#leadModal, .lead-inline-host) .lead-form :is(input, textarea)::placeholder {
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
}
/* Mobile T9: text actions merged into T6. */
/* Mobile T10: scene headings and hotspot titles. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body .scene-apartment-label .apartment-hover-status,
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#stageTitle, #apartment3dTitle, #apartment3dPanelTitle, #viewerApartment3dCardPanelTitle, .viewer-tour-context-apartment, .viewer-mode-panel-title, .location-hotspot-title, .pzt-feature-label-title, .location-hotspot-status-band, .location-hotspot-header-band, .listing-card .listing-status, .listing-card .listing-discount-sticker-value, .listing-card .listing-pricing-discounted .listing-price-final),
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body #listings .listing-card.has-actions::after {
  font-family: var(--font-heading) !important;
  font-weight: var(--fw-semibold) !important;
  font-size: var(--fs-label) !important;
  line-height: var(--lh-control) !important;
  letter-spacing: var(--tracking-normal) !important;
}
/* Mobile T11: merged into T6 above. */

/* T1: investment name. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#investmentLabel, .viewer-tour-investment, .gallery-investment-label) {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-title) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
}

/* T2: section headings. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#listTitle, .list-title, .listing-section-title, .list-head h2, .viewer-tour-plan-title, .apartment3d-section-title) {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-lead) !important;
  font-weight: var(--fw-semibold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
}

/* T3: alias of T4 for apartment/building/VR names and detail titles. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(.listing-title, .viewer-tour-room-name, .viewer-tour-title, #viewerApartment3dCardTitle, .viewer-apartment3d-card-titlebar, .viewer-apartment2d-title, .lead-modal-actionbar-title:not(#leadModalTitle)),
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) #leadModalSubtitle::first-line {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
}

/* T4: card prices and area totals. Compact table prices keep the label size. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(.listing-card .listing-price-final, #viewerApartment3dCardRoomSummary, .apartment3d-room-total-row > span, .viewer-apartment2d-room-total) {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
  font-variant-numeric: tabular-nums !important;
}

/* T5: alias of T6 for prose and empty/error states. Fitted 3D notes remain an exception. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#leadSuccessMessage, .gallery-empty, .viewer-apartment2d-empty, .lead-status, .apartment2d-status, .viewer-tour-status, .viewer-legal-popover-title, .viewer-intro-progress-text) {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-regular) !important;
  line-height: var(--lh-body) !important;
  letter-spacing: var(--tracking-normal) !important;
}

/* T6: data, dropdown values, scene metadata, addresses and legal body text. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#viewerApartment3dCardMeta, #leadModalSubtitle, .listing-meta, .listing-meta span, .listing-pricing-label, .listing-price-base, .listing-row-meta, .listing-row-distance, .listing-row-cell-rooms, .listing-row-cell-area, .listing-row-cell-floor, .viewer-tour-details, .viewer-tour-room-area, .viewer-apartment2d-meta, .viewer-apartment3d-card-meta, .modal-subtitle, .apartment3d-room-row-name, .apartment3d-room-row-type, .apartment3d-room-row-area, .filters select, .filters option, .filter-select-btn, .filter-select-btn-label, .filter-select-option, .desktop-listings-sort-btn, .desktop-listings-sort-option, #investmentAddress, .investment-address, #selectedMeta, .viewer-overlay-meta, .viewer-tour-context-room, .viewer-tour-context-details, .location-hotspot-meta, .location-hotspot-building-stats, .location-hotspot-building-stats-row, .viewer-legal-popover-summary, .viewer-legal-popover-summary a, .viewer-legal-popover-details, .viewer-legal-popover-details p, .viewer-legal-popover-details a, .viewer-privacy-policy-content, .lead-privacy-summary, .lead-privacy-summary span, .lead-privacy-link, .building-chip:not(.building-chip-back), .building-floor-chip) {
  color: var(--t6-text-color, var(--palette-navy)) !important;
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-regular) !important;
  line-height: var(--lh-body) !important;
  letter-spacing: var(--tracking-normal) !important;
}

/* T7: emphasized compact data and column headings. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(.listing-row-header-cell, .listing-row-header-label, .listing-row-header-sort-button, .listing-row-cell-name, .listing-row-name-text, .listing-row-cell-price, .listing-row-price-final, .building-picker-key, .building-picker-floor-title, .filter-field label) {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-control) !important;
  letter-spacing: var(--tracking-normal) !important;
  font-variant-numeric: tabular-nums !important;
}

/* T8: contact inputs. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#leadModal .lead-form input, #leadModal .lead-form textarea, .lead-inline-host .lead-form input, .lead-inline-host .lead-form textarea) {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-regular) !important;
  line-height: var(--lh-field) !important;
  letter-spacing: var(--tracking-normal) !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#leadModal, .lead-inline-host) .lead-form :is(input, textarea)::placeholder {
  font: inherit !important;
  letter-spacing: inherit !important;
}

/* T9: text actions. Icon-only glyphs and numeric camera badges are not included. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#leadModalTitle, .btn, .view-mode-btn, .desktop-listings-view-btn, .building-chip-back, .desktop-panel-back-btn, .viewer-tour-back, .listing-row-action-toggle-info, .lead-modal-submit-btn, .lead-modal-close-btn, .gallery-close-btn, .viewer-load-retry) {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-semibold) !important;
  line-height: var(--lh-control) !important;
  letter-spacing: var(--tracking-normal) !important;
}

/* T10 and T11: scene context headings and navigation hints. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#stageTitle, .viewer-tour-context-apartment, .viewer-mode-panel-title, #apartment3dTitle, #apartment3dPanelTitle, #viewerApartment3dCardPanelTitle) {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-semibold) !important;
  line-height: var(--lh-control) !important;
  letter-spacing: var(--tracking-normal) !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(.viewer-tour-navigation-hint) {
  font-family: var(--font-ui) !important;
  font-size: var(--fs-label) !important;
  font-weight: var(--fw-regular) !important;
  line-height: var(--lh-body) !important;
  letter-spacing: var(--tracking-normal) !important;
}

/* T6 surface context: identical regular weight in every state, two text tones. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer)[data-theme-mode="DARK"] {
  --t6-text-color: var(--palette-white);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(#viewerApartment3dCardDetails, .building-chip:not(.is-active), .building-picker + .filters select, .building-picker + .filters .filter-select-btn, .filter-select-option.is-active, .desktop-listings-sort-option.is-active, .location-hotspot-link.is-info-feature, .location-hotspot-link.is-apartment-hover-preview) {
  --t6-text-color: var(--palette-white);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer):not([data-theme-mode="DARK"]) :is(.filter-select-popover, .desktop-listings-sort-popover),
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) :is(.filters select option, .building-chip.is-active, .viewer-info-stack, .viewer-tour-context, .location-hotspot-link.is-building-summary) {
  --t6-text-color: var(--palette-navy);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer)[data-theme-mode="DARK"] .building-chip:not(.is-active) {
  --t6-text-color: var(--palette-navy);
}
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer)[data-theme-mode="DARK"] .building-chip.is-active {
  --t6-text-color: var(--palette-white);
}

/* Source: viewer-button-surfaces.css */
/* 3B/3D: approved light-context surfaces, including scene and media controls.
   Components own geometry, glyphs, typography and behavior. P10 stays separate. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & :is(
    .desktop-panel-back-btn, .viewer-tour-back, .viewer-tour-single-back,
    .desktop-listings-view-btn, .gallery-nav-btn, .gallery-close-btn,
    .icon-toggle-btn, .viewer-apartment3d-card-expand-btn, .viewer-tour-expand,
    .listing-media-btn, .listing-row-action-toggle-more,
    .listing-row-apartment-desktop .listing-row-actions-popover > .listing-mail-btn,
    .viewer-apartment2d-actions .apartment-icon-action, #viewerApartment2dCloseBtn, .viewer-apartment2d-close-btn,
    .viewer-apartment3d-card-desktop-actions .apartment-icon-action, #viewerApartment3dCardCloseBtn,
    .viewer-tour-actions .apartment-icon-action,
    .apartment-plan-download-btn:not(.listing-row-apartment-desktop *),
    .lead-inline-host .lead-modal-submit-btn, .lead-inline-host .lead-modal-close-btn,
    #privacyPolicyModal .lead-modal-close-btn, #viewerPrivacyPolicyCloseBtn,
    #leadPrivacyPolicyLink, .lead-privacy-link, #viewerIntroRetry, #viewerSceneRetry, .viewer-load-retry, .viewer-tour-retry,
    .viewer-tour-info button, .viewer-tour-media-actions .btn,
    .filter-select-btn:not(.viewer-filter-surface *):not(.building-picker + .filters *):not(.viewer-filter-control)
  ):not(:where(#leadModal *, .viewer-inverse-control)) {
    --surface-highlight:var(--button-highlight);
    --surface-edge:var(--button-edge);
    --surface-ink:var(--palette-navy);
    --surface-fill:var(--button-surface-light);
    --surface-line:var(--button-border-light);
    --surface-shadow:var(--button-shadow-light);

    &:hover {
      --surface-highlight:var(--button-highlight-hover);
      --surface-edge:var(--button-edge-hover);
      --surface-shadow:var(--button-shadow-light-hover);
    }
    &:active {
      --surface-fill:var(--palette-white);
      --surface-shadow:var(--button-shadow-light-pressed);
    }
    &:is(.desktop-panel-back-btn, .viewer-tour-back, .lead-modal-submit-btn, .viewer-load-retry, .viewer-tour-retry),
    &:is(.is-active, .is-expanded, [aria-pressed="true"], [aria-checked="true"], [aria-expanded="true"]) {
      --surface-ink:var(--palette-white);
      --surface-fill:linear-gradient(180deg,var(--surface-highlight),transparent),var(--palette-navy);
      --surface-line:var(--palette-navy);
      --surface-shadow:inset 0 1px 0 var(--surface-edge),var(--button-shadow-dark);
      &:active {
        --surface-fill:var(--button-surface-dark-pressed),var(--palette-navy);
        --surface-shadow:var(--button-shadow-dark-pressed);
      }
    }
    &:is(:disabled, [aria-disabled="true"], .is-disabled) {
      --surface-ink:var(--button-disabled-ink);
      --surface-fill:var(--button-disabled-surface);
      --surface-line:var(--button-disabled-surface);
      --surface-shadow:none;
      cursor:not-allowed;
      &:where(.gallery-nav-btn) { opacity:1; }
    }
    --control-fg:var(--surface-ink) !important;
    --t6-text-color:var(--surface-ink) !important;
    color:var(--surface-ink) !important;
    background:var(--surface-fill) !important;
    border-color:var(--surface-line) !important;
    box-shadow:var(--surface-shadow) !important;
    &:focus-visible { outline:2px solid var(--palette-muted) !important; outline-offset:2px; }
  }
}

/* Source: viewer-special-controls.css */
/* 3D: keep scene controls, media actions and compact More in distinct families.
   No layout, visibility, event handlers or scene-point geometry is replaced. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  & :is(.icon-toggle-btn, .viewer-apartment3d-card-expand-btn, .viewer-tour-expand) {
    --control-height:var(--button-standard-height); --control-radius:var(--button-standard-radius); --control-icon-size:var(--button-action-icon-size);
    box-sizing:border-box; width:var(--control-height); min-width:var(--control-height); max-width:var(--control-height);
    height:var(--control-height); min-height:var(--control-height); max-height:var(--control-height); padding:0; border-radius:var(--control-radius);
    flex-shrink:0;
  }
  & :is(.listing-media-btn:not(.viewer-apartment3d-card-expand-btn):not(.viewer-tour-expand), .listing-row-apartment-desktop .listing-row-actions-popover > .listing-mail-btn) {
    box-sizing:border-box; width:var(--button-media-size); min-width:var(--button-media-size); max-width:var(--button-media-size);
    height:var(--button-media-size); min-height:var(--button-media-size); max-height:var(--button-media-size); padding:0; border-radius:var(--button-media-radius);
    flex-shrink:0;
  }
}

/* Source: viewer-button-geometry.css */
/* Shared desktop geometry. Surface/state paint and interaction stay in their families. */
html[data-boot-mode="viewer"][data-viewer-layout="desktop"] body:not([data-theme-mode="DARK"]):not(.mobile-building-shell):not(.mobile-apartment-shell):not(.mobile-location-shell):not(.mobile-sticky-viewer) {
  --button-standard-height:32px;
  --button-standard-radius:12px;
  --button-action-icon-size:18px;
  --button-media-size:40px;
  --button-media-radius:16px;

  & :where(
    .desktop-panel-back-btn, .viewer-tour-back, .viewer-tour-single-back,
    .desktop-listings-view-btn, .gallery-nav-btn, .gallery-close-btn,
    .icon-toggle-btn, .viewer-apartment3d-card-expand-btn, .viewer-tour-expand,
    .viewer-apartment2d-actions .apartment-icon-action, #viewerApartment2dCloseBtn, .viewer-apartment2d-close-btn,
    .viewer-apartment3d-card-desktop-actions .apartment-icon-action, #viewerApartment3dCardCloseBtn,
    .viewer-tour-actions .apartment-icon-action,
    .apartment-plan-download-btn:not(.listing-row-apartment-desktop *),
    .lead-modal-submit-btn, .lead-modal-close-btn, #viewerPrivacyPolicyCloseBtn,
    #leadPrivacyPolicyLink, .lead-privacy-link,
    #viewerIntroRetry, #viewerSceneRetry, .viewer-load-retry, .viewer-tour-retry,
    .viewer-tour-info button, .viewer-tour-media-actions .btn,
    .filter-select-btn, .audit-button-standard:not([data-audit-keep-size])
  ) {
    --control-height:var(--button-standard-height);
    --control-radius:var(--button-standard-radius);
    box-sizing:border-box;
    height:var(--control-height) !important;
    min-height:var(--control-height) !important;
    max-height:var(--control-height) !important;
    border-radius:var(--control-radius) !important;
    padding-block:0 !important;
  }

  & :where(
    .icon-toggle-btn, .viewer-apartment3d-card-expand-btn, .viewer-tour-expand,
    .gallery-nav-btn:not(.gallery-close-btn), .desktop-listings-sort-btn,
    .viewer-apartment2d-actions .apartment-icon-action,
    .viewer-apartment3d-card-desktop-actions .apartment-icon-action,
    .viewer-tour-actions .apartment-icon-action,
    .audit-button-square:not([data-audit-keep-size])
  ) {
    width:var(--control-height) !important;
    min-width:var(--control-height) !important;
    max-width:var(--control-height) !important;
    flex:0 0 var(--control-height);
    padding-inline:0 !important;
  }

  & :where(.listing-media-btn:not(.viewer-apartment3d-card-expand-btn):not(.viewer-tour-expand), .listing-row-apartment-desktop .listing-row-actions-popover > .listing-mail-btn, .audit-list-action-uniform.audit-button-square) {
    --control-height:var(--button-media-size);
    --control-radius:var(--button-media-radius);
    box-sizing:border-box;
    width:var(--control-height) !important; min-width:var(--control-height) !important; max-width:var(--control-height) !important;
    height:var(--control-height) !important; min-height:var(--control-height) !important; max-height:var(--control-height) !important;
    padding:0 !important; border-radius:var(--button-media-radius) !important;
    flex:0 0 var(--control-height);
  }

  & :is(.desktop-panel-back-btn, .icon-toggle-btn, .viewer-apartment3d-card-expand-btn, .viewer-tour-expand, .gallery-nav-btn:not(.gallery-close-btn), .desktop-listings-sort-btn, #desktopListingsCardsBtn, #desktopListingsListBtn, .viewer-apartment2d-actions .apartment-icon-action, .viewer-apartment3d-card-desktop-actions .apartment-icon-action, .viewer-tour-actions .apartment-icon-action, .audit-action-icon) {
    --control-icon-size:var(--button-action-icon-size);
    &::before, & svg {
      width:var(--button-action-icon-size) !important;
      height:var(--button-action-icon-size) !important;
      flex-basis:var(--button-action-icon-size);
    }
  }
}

/* Source: viewer-mobile-button-geometry.css */
/* Opt-in mobile button geometry; no panel structure or event handlers. */
/* ML contact dimensions formerly applied by the inline index.html block. */
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-mail-btn {
  position:static;width:1.72rem;min-width:1.72rem !important;height:1.72rem;
  border-radius:999px;padding:0;
}
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-mail-btn svg {
  width:0.94rem;height:0.94rem;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .mb-contact-icon {
  position:relative;border-radius:0 !important;
}
html[data-viewer-layout="mobile"] body {
  --ui-surface-disabled: var(--palette-soft-gray);
  --ui-color-disabled-surface: var(--palette-soft-gray);
}
html[data-viewer-layout="mobile"] body .mb-button {
  position: relative !important;
  box-sizing: border-box !important;
  min-height: var(--mobile-button-size) !important;
  height: var(--mobile-button-size) !important;
  border-radius: var(--mobile-radius-pill) !important;
  padding: 0 12px !important;
  gap: 4px !important;
  border: 1px solid var(--mb-border) !important;
  background: var(--mb-bg) !important;
  color: var(--mb-fg) !important;
  box-shadow: var(--mb-shadow, none) !important;
  overflow: visible !important;
}
html[data-viewer-layout="mobile"] body .mb-icon {
  width:var(--mobile-button-size) !important; min-width:var(--mobile-button-size) !important; max-width:var(--mobile-button-size) !important; padding:0 !important; flex:0 0 var(--mobile-button-size) !important;
}
html[data-viewer-layout="mobile"] body .mb-button:not(.mb-card-action) svg {width:var(--mobile-button-icon-size) !important;height:var(--mobile-button-icon-size) !important;flex-shrink:0;}
html[data-viewer-layout="mobile"] body .mb-option {width:100% !important;border-radius:8px !important;}
html[data-viewer-layout="mobile"] body .mb-segment {width:var(--mobile-button-size) !important;min-width:var(--mobile-button-size) !important;flex:0 0 var(--mobile-button-size) !important;padding:0 !important;border:0 !important;}
html[data-viewer-layout="mobile"] body #mobileListingsViewToggle:has(.mb-segment) {width:calc(2 * var(--mobile-button-size)) !important;min-width:calc(2 * var(--mobile-button-size)) !important;height:var(--mobile-button-size) !important;padding:0 !important;gap:0 !important;overflow:visible !important;}
html[data-viewer-layout="mobile"] body #mobileListingsViewToggle:has(.mb-segment) {
  position:relative !important;isolation:isolate;border:0 !important;box-shadow:none !important;
  border-radius:var(--mobile-radius-pill) !important;
  outline:1px solid var(--button-glass-border);outline-offset:-1px;
}
html[data-viewer-layout="mobile"] body #mobileListingsViewToggle:has(.mb-segment)::before {
  content:"" !important;display:block !important;position:absolute !important;inset:2px auto auto 2px !important;
  width:calc(var(--mobile-button-size) - 4px) !important;height:calc(var(--mobile-button-size) - 4px) !important;border-radius:var(--mobile-radius-pill) !important;
  box-sizing:border-box !important;border:0 !important;
  transform:translateX(0);transition:transform 180ms ease;pointer-events:none;z-index:0;
}
html[data-viewer-layout="mobile"] body #mobileListingsViewToggle:has(.mb-segment)[data-mb-selected="1"]::before {transform:translateX(var(--mobile-button-size));}
html[data-viewer-layout="mobile"] body #mobileListingsViewToggle:has(.mb-segment) .mb-segment {
  z-index:1;box-shadow:none !important;transform:none !important;
}
@media (prefers-reduced-motion:reduce) {
  html[data-viewer-layout="mobile"] body #mobileListingsViewToggle:has(.mb-segment)::before {transition:none;}
}
html[data-viewer-layout="mobile"] body .mb-link {height:auto !important;min-height:0 !important;border:0 !important;border-radius:0 !important;padding:0 !important;background:transparent !important;}
html[data-viewer-layout="mobile"] body .mb-compact {height:var(--mobile-more-height) !important;min-height:var(--mobile-more-height) !important;}
html[data-viewer-layout="mobile"] body .mb-button:not(.mb-link) {
  display:inline-flex !important;align-items:center !important;justify-content:center !important;text-align:center !important;
}
html[data-viewer-layout="mobile"] body :is(.mb-text,.mb-compact) {
  width:max-content !important;min-width:0 !important;max-width:none !important;flex:0 0 auto !important;
}
html[data-viewer-layout="mobile"] body .mb-compact {
  width:var(--mobile-more-width) !important;min-width:var(--mobile-more-width) !important;max-width:var(--mobile-more-width) !important;
  flex:0 0 var(--mobile-more-width) !important;padding-inline:8px !important;border-radius:var(--mobile-radius-action) !important;
}
html[data-viewer-layout="mobile"] body.mobile-apartment-shell[data-mobile-listings-view="list"] #listings:has(.mb-compact) {
  --mobile-list-action-width:var(--mobile-more-width);
}
html[data-viewer-layout="mobile"] body .mb-option {justify-content:flex-start !important;text-align:left !important;}
html[data-viewer-layout="mobile"] body .mb-button.mb-card-action {
  width:var(--mobile-button-size) !important;min-width:var(--mobile-button-size) !important;max-width:var(--mobile-button-size) !important;
  height:var(--mobile-button-size) !important;min-height:var(--mobile-button-size) !important;flex:0 0 var(--mobile-button-size) !important;
  padding:0 !important;border-radius:var(--mobile-radius-action) !important;
}
html[data-viewer-layout="mobile"] body :is(.mb-submit,.mb-playback,.mb-audio) {width:var(--mb-state-width,max-content) !important;}
html[data-viewer-layout="mobile"] body .mb-button::before,
html[data-viewer-layout="mobile"] body .mb-button::after {margin:0 !important;}
html[data-viewer-layout="mobile"] body .mb-button[data-mobile-icon-owner="PM01-01"]::after {
  position:static !important;inset:auto !important;transform:none !important;flex-shrink:0 !important;
}
html[data-viewer-layout="mobile"] body .mb-button .mobile-filters-active-count:not([hidden]) {
  position:absolute !important;inset:-4px -4px auto auto !important;transform:none !important;width:auto !important;
}
html[data-viewer-layout="mobile"] body .mobile-filters-dialog-actions:has(.mb-button) {gap:8px !important;}
html[data-viewer-layout="mobile"] body .mobile-filters-dialog-actions:has(.mb-button) .mb-button {flex:1 1 0 !important;min-width:0 !important;width:100% !important;}
html[data-viewer-layout="mobile"] body .mb-button[hidden] {display:none !important;}
html[data-viewer-layout="mobile"] body .mb-hit {position:absolute !important;left:50% !important;top:50% !important;transform:translate(-50%,-50%) !important;width:max(100%,var(--mobile-button-hit-size)) !important;height:max(100%,var(--mobile-button-hit-size)) !important;pointer-events:auto;}
html[data-viewer-layout="mobile"] body .mb-segment .mb-hit {width:100% !important;}
html[data-viewer-layout="mobile"] body .mb-option {margin-block:2px !important;}
html[data-viewer-layout="mobile"] body .mb-button:is(:disabled,[aria-disabled="true"]) {opacity:1 !important;pointer-events:none !important;}
html[data-viewer-layout="mobile"] body .mb-button:focus-visible {outline:2px solid var(--palette-muted) !important;outline-offset:2px;}

/* Source: viewer-mobile-button-surfaces.css */
/* Mobile opt-in button surfaces share desktop palette and effect tokens. */
body.mobile-apartment-shell[data-mobile-listings-view="cards"] .listing-mail-btn svg circle {
  fill:none !important;stroke:currentColor !important;stroke-width:1.5;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .mb-contact-icon {
  background:transparent !important;border:0 !important;
  box-shadow:none !important;color:var(--mb-contact-color,var(--palette-navy)) !important;filter:none !important;transform:none !important;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .mb-contact-icon[data-on-discount="true"] {--mb-contact-color:var(--palette-white);}
html[data-viewer-layout="mobile"] body .mb-contact-icon:focus-visible {outline:2px solid currentColor !important;outline-offset:2px;}
html[data-viewer-layout="mobile"] body .mb-contact-icon:active {opacity:.7;}
html[data-viewer-layout="mobile"] body .mb-button.mb-filled {
  --mb-bg: linear-gradient(180deg, var(--button-highlight), transparent) var(--palette-navy);
  --mb-fg: var(--palette-white);
  --mb-border: var(--palette-navy);
  --mb-shadow: inset 0 1px 0 var(--button-edge), var(--button-shadow-dark);
}
html[data-viewer-layout="mobile"] body .mb-button.mb-outlined {
  --mb-bg: var(--button-surface-light) var(--palette-white);
  --mb-fg: var(--palette-navy);
  --mb-border: var(--button-border-light);
  --mb-shadow: var(--button-shadow-light);
}
html[data-viewer-layout="mobile"] body .mb-button.mb-option {
  --mb-bg: transparent;
  --mb-border: transparent;
  --mb-shadow: none;
}
html[data-viewer-layout="mobile"] body .mb-button:not(:disabled):not([aria-disabled="true"]):is(.mb-option[aria-checked="true"], .mb-icon[aria-pressed="true"], .mb-compact[aria-expanded="true"]) {
  --mb-bg: linear-gradient(180deg, var(--button-highlight), transparent) var(--palette-navy);
  --mb-fg: var(--palette-white);
  --mb-border: var(--palette-navy);
  --mb-shadow: inset 0 1px 0 var(--button-edge), var(--button-shadow-dark);
}
html[data-viewer-layout="mobile"] body .mb-button.mb-inverse:not(:disabled):not([aria-disabled="true"]):not(.mb-segment) {
  --mb-bg: linear-gradient(180deg, var(--button-highlight), var(--button-glass-bottom));
  --mb-fg: var(--palette-white);
  --mb-border: var(--button-glass-border);
  --mb-shadow: inset 0 1px 0 var(--button-edge);
  backdrop-filter:var(--button-glass-blur);
  -webkit-backdrop-filter:var(--button-glass-blur);
}
html[data-viewer-layout="mobile"] body .mb-button.mb-inverse:not(:disabled):not([aria-disabled="true"]):not(.mb-segment):is(.is-active,.is-open,[aria-pressed="true"],[aria-expanded="true"]) {
  --mb-bg: var(--button-glass-selection-overlay);
  --mb-fg: var(--button-glass-selection-ink);
  --mb-border: var(--button-glass-selection-line);
  --mb-shadow: none;
}
/* One moving surface, not two independently filled segment buttons. */
html[data-viewer-layout="mobile"] body #mobileListingsViewToggle:has(.mb-segment) {
  background:linear-gradient(180deg, var(--button-highlight), var(--button-glass-bottom)) !important;
  backdrop-filter:var(--button-glass-blur);
  -webkit-backdrop-filter:var(--button-glass-blur);
}
html[data-viewer-layout="mobile"] body #mobileListingsViewToggle:has(.mb-segment)::before {
  background:var(--button-glass-selection-overlay) !important;
  box-shadow:none !important;
}
/* Transient touch feedback never changes a persistent selection. */
html[data-viewer-layout="mobile"] body .mb-button.mb-filled:not(.mb-inverse,.mb-option,.mb-link,.mb-segment):not(:disabled):not([aria-disabled="true"]):active {
  --mb-bg: var(--button-surface-dark-pressed) var(--palette-navy);
  --mb-shadow: var(--button-shadow-dark-pressed);
}
html[data-viewer-layout="mobile"] body .mb-button.mb-outlined:not(.mb-inverse,.mb-option,.mb-link,.mb-segment):not(:disabled):not([aria-disabled="true"]):not([aria-pressed="true"]):not([aria-checked="true"]):not([aria-expanded="true"]):active {
  --mb-bg: var(--palette-white);
  --mb-shadow: var(--button-shadow-light-pressed);
}
html[data-viewer-layout="mobile"] body .mb-button.mb-option:not(:disabled):not([aria-disabled="true"]):not([aria-checked="true"]):active {
  --mb-bg: var(--palette-soft-gray);
  --mb-shadow: none;
}
html[data-viewer-layout="mobile"] body .mb-button:is(.mb-link,.mb-segment) {
  --mb-shadow: none;
}
html[data-viewer-layout="mobile"] body .mb-button.mb-link {
  --mb-bg: transparent;
  --mb-border: transparent;
}
html[data-viewer-layout="mobile"] body .mb-button.mb-link:not(:disabled):not([aria-disabled="true"]):active {
  --mb-decoration: underline;
}
html[data-viewer-layout="mobile"] body .mb-button.mb-segment {
  --mb-bg: transparent;
  --mb-fg: var(--palette-white);
}
html[data-viewer-layout="mobile"] body .mb-button.mb-segment[aria-pressed="true"]:not(:disabled):not([aria-disabled="true"]) {
  --mb-fg: var(--button-glass-selection-ink);
}
html[data-viewer-layout="mobile"] body .mb-button:is(:disabled,[aria-disabled="true"]) {
  --mb-bg: var(--button-disabled-surface);
  --mb-border: var(--button-disabled-surface);
  --mb-fg: var(--button-disabled-ink);
  --mb-shadow: none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
html[data-viewer-layout="mobile"] body .mb-button.mb-inverse:is(:disabled,[aria-disabled="true"]) {
  --mb-bg: var(--button-disabled-inverse-surface);
  --mb-border: var(--button-disabled-inverse-border);
  --mb-fg: var(--button-disabled-inverse-ink);
}

/* Source: viewer-mobile-typography.css */
/* Approved mobile role merges, shared by production and preview. */
/* Apartment tile prices share T04-M, including former T6/T10 prices. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body #listings .mc-apartment-tile :is(.listing-price-base, .listing-price-final) {
  font-family: var(--font-heading) !important;
  font-size: var(--fs-small) !important;
  font-weight: var(--fw-bold) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--tracking-heading) !important;
  font-variant-numeric: tabular-nums !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body #listings .mc-apartment-tile .listing-price-base {
  color: var(--palette-navy) !important;
  text-decoration: line-through;
  text-decoration-color: currentColor !important;
  text-decoration-thickness: 0.08em;
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body #listings .mc-apartment-tile .listing-pricing-discounted .listing-price-final {
  color: var(--promotion-color) !important;
}

/* Shared role mappings live in viewer-typography.css; only component exceptions remain here. */
/* PM01-11 is also the back action in both room cards. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#mobileBackToBuildingsBtn,#viewerApartment2dBackToListingsBtn,#viewerApartment3dCardBackToListingsBtn),
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body :is(#mobileBackToBuildingsBtn,#viewerApartment2dBackToListingsBtn,#viewerApartment3dCardBackToListingsBtn) > span:not(.mb-hit) {
  font-family:var(--font-ui) !important;
  font-size:var(--fs-label) !important;
  font-weight:var(--fw-bold) !important;
  line-height:var(--lh-control) !important;
  letter-spacing:var(--tracking-normal) !important;
}

/* MF03 scene messages use T10-M; the retry action remains T06-M. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body [data-feedback-kind="MF03"] #viewerLoadingText {
  font-family: var(--font-heading) !important;
  font-weight: var(--fw-semibold) !important;
  font-size: var(--fs-label) !important;
  line-height: var(--lh-control) !important;
  letter-spacing: var(--tracking-normal) !important;
}

/* Source: viewer-mobile-foundations.css */
/* Mobile values only. Components opt in as their migration stage is accepted. */
html[data-viewer-layout="mobile"] {
  --mobile-ui-module:4px;
  --mobile-button-size:calc(10 * var(--mobile-ui-module));
  --mobile-button-icon-size:calc(5 * var(--mobile-ui-module));
  --mobile-button-hit-size:calc(11 * var(--mobile-ui-module));
  --mobile-radius-pill:999px;
  --mobile-radius-action:calc(4 * var(--mobile-ui-module));
  --mobile-more-width:calc(14 * var(--mobile-ui-module));
  --mobile-more-height:calc(8 * var(--mobile-ui-module));
  --mc-module:var(--mobile-ui-module);
  --mc-sheet-radius:calc(5 * var(--mc-module));
  --mc-dialog-radius:calc(4 * var(--mc-module));
  --mc-content-padding:calc(4 * var(--mc-module));
  --mc-card-padding:var(--mc-content-padding);
  --mc-grip-width:calc(12 * var(--mc-module));
  --mc-grip-height:var(--mc-module);
  --mc-handle-height:calc(10 * var(--mc-module));
  --mc-content-top:var(--mc-handle-height);
}

/* Source: viewer-mobile-buildings.css */
/* Shared MB00/MB01/MB03/MB04, restricted to the mobile building panel. */
html[data-viewer-layout="mobile"] body.mobile-building-shell {
  --mobile-panel-padding-inline:var(--mc-content-padding);
  --mobile-sheet-content-top-padding:var(--mc-content-top) !important;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell .list-card {
  background:var(--gradient-cg01) var(--palette-navy);
  background-size:100% 100%;
  --mc-grip-color:var(--color-text-inverse);
  border-radius:var(--mc-sheet-radius) var(--mc-sheet-radius) 0 0 !important;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-bottom-sheet-handle:not([hidden]) {
  top:0;height:var(--mc-handle-height);min-height:var(--mc-handle-height);
  width:100%;margin:0;padding:0;
  display:flex;align-items:center;justify-content:center;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-bottom-sheet-grip {
  width:var(--mc-grip-width);height:var(--mc-grip-height);
  flex:none;border-radius:calc(var(--mc-grip-height) / 2);
  background:var(--color-text-inverse);box-shadow:none;
}
/* Shared building tile; selection changes the ring, not the glass fill. */
/* The mask also establishes a backdrop root: glass samples only this strip. */
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group[data-edge-fade] {
  --mb-fade-left: 0px;
  --mb-fade-right: 0px;
  mask-image: linear-gradient(to right, transparent, #000 var(--mb-fade-left), #000 calc(100% - var(--mb-fade-right)), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--mb-fade-left), #000 calc(100% - var(--mb-fade-right)), transparent);
}
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group[data-edge-fade="left"],
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group[data-edge-fade="both"] { --mb-fade-left: 24px; }
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group[data-edge-fade="right"],
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group[data-edge-fade="both"] { --mb-fade-right: 24px; }
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card,
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card:hover {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: max-content;
  max-width: calc(100vw - 2 * var(--mobile-panel-padding-inline));
  min-height: 0;
  padding: 0;
  border: 1px solid var(--button-glass-border);
  border-radius: 16px;
  background: linear-gradient(180deg, var(--button-highlight), var(--button-glass-bottom));
  color: var(--palette-white);
  /* Override the production active/hover ring, which is !important. */
  box-shadow: inset 0 1px 0 var(--button-edge) !important;
  backdrop-filter: var(--button-glass-blur);
  -webkit-backdrop-filter: var(--button-glass-blur);
  transform: none;
}

html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card.is-active,
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card.is-active:hover {
  border-color: var(--palette-pink) !important;
  box-shadow: inset 0 1px 0 var(--button-edge), 0 0 0 2px var(--palette-pink) !important;
}

/* Text and the icon follow the tile state, including inherited T06 colors. */
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card::before {
  display: none;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .is-mobile-building-preview-card :is(.mobile-building-preview-title, .mobile-building-preview-line, .mobile-building-preview-line span) {
  color: inherit !important;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .is-mobile-building-preview-card .mobile-building-preview-line span + span::before {
  background: currentColor;
}

html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .listing-card .listing-select {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
}

html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .listing-select:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -4px;
  border-radius: inherit;
}

html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-preview-card-inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  align-content: center;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 16px 12px;
}

html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-preview-icon,
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .listing-card.is-mobile-building-preview-card.is-active .mobile-building-preview-icon {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 16px;
  background: transparent;
  color: inherit;
  box-shadow: none;
}

html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-preview-icon::before {
  width: 20px;
  height: 20px;
}

html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-preview-content {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 0;
}

html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-preview-title,
html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-cards-group .listing-card.is-active .mobile-building-preview-title {
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-shadow: none;
}

html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-preview-line {
  display: flex;
  flex-wrap: wrap;
  width: auto;
  gap: 4px 8px;
  white-space: normal;
  overflow: visible;
}

html[data-viewer-layout="mobile"] body.mobile-building-shell .mobile-building-preview-icon::before { mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209l9-7%209%207v11a2%202%200%2001-2%202H5a2%202%200%2001-2-2z%22%2F%3E%3Cpolyline%20points%3D%229%2022%209%2012%2015%2012%2015%2022%22%2F%3E%3C%2Fsvg%3E"); -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209l9-7%209%207v11a2%202%200%2001-2%202H5a2%202%200%2001-2-2z%22%2F%3E%3Cpolyline%20points%3D%229%2022%209%2012%2015%2012%2015%2022%22%2F%3E%3C%2Fsvg%3E"); }
/* Panorama buttons use the PM12 square geometry, retaining their blue role. */
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(:is(.mb-amenities-grid, .mobile-pzt-grid:not(.mobile-vr360-grid)), :is(.mb-panorama-grid, .mobile-vr360-grid)) {
  --mb-panel-button-size: 48px;
  --mb-panel-button-radius: 20px;
  --mb-panel-icon-size: 28px;
  display: flex !important;
  flex-wrap: wrap;
  width: min(352px, 100%) !important;
  margin-inline: auto !important;
  justify-content: center;
  align-items: flex-start !important;
  column-gap: 8px !important;
  row-gap: 24px !important;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(.mb-panorama-grid, .mobile-vr360-grid) .mobile-vr360-tile-icon {
  position:relative !important;box-sizing:border-box !important;
  width:var(--mb-panel-button-size) !important;height:var(--mb-panel-button-size) !important;min-width:var(--mb-panel-button-size) !important;
  border-radius:var(--mb-panel-button-radius) !important;border:1px solid var(--vr360) !important;
  background:var(--vr360) !important;transform:none !important;box-shadow:none !important;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(.mb-panorama-grid, .mobile-vr360-grid) .mobile-vr360-tile-icon .vr360-symbol {
  width:var(--mb-panel-icon-size) !important;height:var(--mb-panel-icon-size) !important;
}
/* Center each wrapped row, including incomplete rows, with at most five items. */
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(:is(.mb-amenities-grid, .mobile-pzt-grid:not(.mobile-vr360-grid)), :is(.mb-panorama-grid, .mobile-vr360-grid)) > .mobile-pzt-tile {
  flex: 0 0 64px;
  width: 64px !important;
  min-width: 0;
  max-width: 64px;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(.mb-panorama-grid, .mobile-vr360-grid) .mobile-vr360-tile-button {
  height: auto !important;
  grid-template-rows: var(--mb-panel-button-size) auto;
  align-content: start;
  gap: 8px !important;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(.mb-panorama-grid, .mobile-vr360-grid) .mobile-vr360-tile-label {
  width: 100%;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(.mb-amenities-grid, .mobile-pzt-grid:not(.mobile-vr360-grid)) .mobile-pzt-tile-button {
  box-sizing:border-box !important;width:var(--mb-panel-button-size) !important;height:var(--mb-panel-button-size) !important;
  min-width:var(--mb-panel-button-size) !important;min-height:var(--mb-panel-button-size) !important;padding:0 !important;
  border:0 !important;border-radius:var(--mb-panel-button-radius) !important;background:transparent !important;
  box-shadow:none !important;transform:none !important;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(.mb-amenities-grid, .mobile-pzt-grid:not(.mobile-vr360-grid)) .mobile-pzt-tile-icon {
  box-sizing:border-box !important;width:var(--mb-panel-button-size) !important;height:var(--mb-panel-button-size) !important;
  margin:0 !important;border-radius:var(--mb-panel-button-radius) !important;border:1px solid var(--feature-pink) !important;
  background:var(--feature-pink) !important;color:var(--palette-white) !important;
  box-shadow:none !important;transform:none !important;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(.mb-amenities-grid, .mobile-pzt-grid:not(.mobile-vr360-grid)) .mobile-pzt-tile-icon svg {
  width:var(--mb-panel-icon-size) !important;height:var(--mb-panel-icon-size) !important;color:currentColor !important;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(.mb-amenities-grid, .mobile-pzt-grid:not(.mobile-vr360-grid)) .mobile-pzt-tile.is-active .mobile-pzt-tile-icon {
  background:var(--feature-pink) !important;color:var(--palette-white) !important;
  outline:2px solid var(--feature-pink) !important;outline-offset:2px;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(.mb-amenities-grid, .mobile-pzt-grid:not(.mobile-vr360-grid)) .mobile-pzt-tile-button:active .mobile-pzt-tile-icon {
  opacity:0.8;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell :is(.mb-amenities-grid, .mobile-pzt-grid:not(.mobile-vr360-grid)) .mobile-pzt-tile-button:focus-visible {
  outline:2px solid var(--palette-navy) !important;outline-offset:2px;
}

/* Source: viewer-mobile-apartment-tiles.css */
/* Shared ML apartment tile geometry. Opt-in on mobile only. */
html[data-viewer-layout="mobile"] body .mc-apartment-tile {
  --mt-radius: 16px;
  --mt-rail: 24px;
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  row-gap: 8px;
  min-height: 112px !important;
  padding: 8px 8px 8px 36px !important;
  border-radius: var(--mt-radius) !important;
  background-clip: padding-box;
  isolation: isolate;
  container-type: inline-size;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile::before {
  width: auto !important;
  right: 0;
  border-radius: calc(var(--mt-radius) - 1px) !important;
  opacity: 1 !important;
  z-index: -2;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile::after {
  left: 0 !important;
  width: var(--mt-rail) !important;
  top: 4px !important;
  bottom: 4px !important;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile.status-available::before {
  background:var(--gradient-cg02) left / calc(var(--mt-rail) + var(--mt-radius) - 1px) 100% no-repeat var(--palette-green);
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile.status-reserved::before {
  background:var(--gradient-cg03) left / calc(var(--mt-rail) + var(--mt-radius) - 1px) 100% no-repeat var(--palette-orange);
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile.status-sold::before {
  background:var(--gradient-cg04) left / calc(var(--mt-rail) + var(--mt-radius) - 1px) 100% no-repeat var(--palette-red);
}
html[data-viewer-layout="mobile"] body .mc-tile-front {
  position: absolute;
  inset: 0 0 0 var(--mt-rail);
  border-radius: calc(var(--mt-radius) - 1px);
  background: inherit;
  z-index: -1;
  pointer-events: none;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-select {
  padding: 0 0 0 104px !important;
  align-self: center;
  min-width: 0;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-card-body {
  display: block !important;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-card-thumbnail {
  position: absolute !important;
  left: 36px !important;
  top: 50% !important;
  bottom: auto !important;
  width: 96px !important;
  height: 80px !important;
  min-width: 0 !important;
  padding: 4px !important;
  box-sizing: border-box;
  transform: translateY(-50%) !important;
  border-radius: max(0px, calc(var(--mt-radius) - 8px - 1px)) !important;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-card-thumbnail-image {
  object-fit: contain;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-card-main {
  min-height: 0 !important;
  min-width: 0;
  justify-content: center;
  gap: 4px;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-top {
  padding-right: 28px;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-title {
  overflow-wrap: anywhere;
  white-space: normal;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-meta {
  flex-wrap: wrap !important;
  white-space: normal !important;
  overflow: visible !important;
  margin-top: 0 !important;
  gap: 4px 8px !important;
}
html[data-viewer-layout="mobile"] body #listings .mc-apartment-tile .listing-pricing-wrap {
  transform: none !important;
  flex: 1 1 max-content;
  min-width: 0;
  align-self: center !important;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-pricing {
  display: grid !important;
  grid-template-rows: repeat(2, minmax(calc(var(--fs-small) * var(--lh-heading)), auto));
  gap: 4px !important;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-pricing-row-base {
  grid-row: 1;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-pricing-row-final {
  grid-row: 2;
}
/* A regular price has no reserved catalogue-price row, including when the footer wraps. */
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-pricing-single {
  grid-template-rows:auto;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-pricing-single .listing-pricing-row-final {
  grid-row:1;
}
html[data-viewer-layout="mobile"] body #listings .mc-apartment-tile .listing-price-base {
  transform: none !important;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-card-footer {
  padding: 0 0 0 104px !important;
  margin: 0 !important;
  position: static !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 8px !important;
  justify-content: flex-end;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-actions-media {
  width: max-content !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
  gap: 8px !important;
  position: static !important;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-actions-media[hidden] { display: none !important; }
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-actions-contact {
  display: flex !important;
  flex-direction: row !important;
  gap: 0 !important;
  top: 8px !important;
  right: 8px !important;
  bottom: auto !important;
}
html[data-viewer-layout="mobile"] body .mc-discount-tab {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: var(--mt-discount-width, 104px);
  height: 28px;
  box-sizing: border-box;
  border-radius: 0 calc(var(--mt-radius) - 1px) 0 var(--mt-radius);
  background: var(--gradient-cg04) right top / var(--discount-gradient-size, 100% 100%) no-repeat var(--palette-red);
  color: var(--color-text-inverse);
  font-family: var(--font-heading);
  font-size: var(--fs-label);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-control);
  letter-spacing: var(--tracking-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px calc(var(--mt-contact-width, 28px) + 8px) 4px 8px;
  pointer-events: none;
}
html[data-viewer-layout="mobile"] body .mc-discount-tab > span {
  white-space: nowrap;
  font: inherit;
}
html[data-viewer-layout="mobile"] body .mc-discount-tab::before,
html[data-viewer-layout="mobile"] body .mc-discount-tab::after {
  content: '';
  position: absolute;
  width: var(--mt-radius);
  height: var(--mt-radius);
  background: inherit;
  mask-image: radial-gradient(circle at 0 100%, transparent var(--mt-radius), #000 calc(var(--mt-radius) + .5px));
}
html[data-viewer-layout="mobile"] body .mc-discount-tab::before { right:100%;top:0;background-position:left top; }
html[data-viewer-layout="mobile"] body .mc-discount-tab::after {
  right: 0;
  top: 100%;
  background-position: right bottom;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile:has(.mc-discount-tab) .listing-actions-contact {
  top: 14px !important;
  transform: translateY(-50%);
  z-index: 3;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile:has(.mc-discount-tab) .listing-top {
  padding-right: calc(var(--mt-discount-width, 104px) + 12px);
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile[data-discount-own-row="true"] {
  padding-top: 44px !important;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile[data-discount-own-row="true"] .listing-top {
  padding-right: 0;
}

/* Source: viewer-mobile-layered-panels.css */
/* Shared layered panel, with cards and table content variants. */
.mc-list-foreground { display:contents; }
html[data-viewer-layout="mobile"] [data-layered-panel] {
  --mc-cap-gap:calc(2 * var(--mc-module));
  --mc-cap-title-height:calc(6 * var(--mc-module));
  --mc-list-start-space:calc(4 * var(--mc-module));
  --mc-fixed-strip:var(--mc-module);
}
/* Fit CG01 to the cap plus its visible curved junction, not the full sheet. */
html[data-viewer-layout="mobile"] body [data-layered-panel] {
  background-size:100% var(--mc-cap-gradient-height, 100%) !important;
  background-position:left top !important;
  background-repeat:no-repeat !important;
  background-origin:border-box !important;
}
html[data-viewer-layout="mobile"] [data-layered-panel] :is(.mc-list-foreground, .mc-room-foreground) {
  position:relative;
  isolation:isolate;
}
html[data-viewer-layout="mobile"] [data-layered-panel] [data-panel-fade] {
  mask-image:linear-gradient(to bottom, transparent, #000 var(--mc-top-fade,0px));
  -webkit-mask-image:linear-gradient(to bottom, transparent, #000 var(--mc-top-fade,0px));
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) .mc-list-foreground {
  grid-row:2;
  box-sizing:border-box;
  min-height:0;
  height:var(--mobile-listings-height,auto);
  max-height:var(--mobile-listings-height,none);
  overflow:hidden;
  background:var(--surface);
  border-radius:var(--mc-sheet-radius) var(--mc-sheet-radius) 0 0;
  padding-top:var(--mc-fixed-strip);
  display:grid;
  grid-template-rows:minmax(0,1fr);
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) {
  background:var(--gradient-cg01) var(--palette-navy);
  --mc-grip-color:var(--color-text-inverse);
  --apartment3d-room-total-space:calc(20 * var(--mc-module));
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .viewer-apartment3d-card-copy-side {
  padding-bottom:var(--mc-cap-gap);
  gap:0;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .viewer-apartment3d-card-sheet-header-row {
  row-gap:var(--mc-cap-gap);
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) :is(.viewer-apartment2d-back-to-listings-btn, .viewer-apartment3d-card-back-to-listings-btn) {
  margin-left:auto;
  margin-right:0;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .viewer-apartment3d-card-titlebar {
  min-height:var(--mc-cap-title-height);
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-table-header {
  position:static;
  margin:var(--mc-cap-gap) 0 0;
  min-height:calc(6 * var(--mc-module));
  padding-block:0;
  background:transparent;
  border-radius:0;
  box-shadow:none;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-table-header-cell {
  color:var(--color-text-inverse);
  min-height:calc(6 * var(--mc-module));
  position:relative;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-table-header-cell:not(:last-child) {
  border-right:0;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-table-header-cell:not(:last-child)::after {
  content:"";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:1px;
  height:calc(4 * var(--mc-module));
  background:color-mix(in srgb, var(--color-text-inverse) 24%, transparent);
  pointer-events:none;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .mc-room-foreground {
  grid-row:2;
  display:grid;
  grid-template-rows:minmax(0,1fr);
  min-height:0;
  overflow:hidden;
  background:var(--surface);
  color:var(--palette-navy);
  border-radius:var(--mc-sheet-radius) var(--mc-sheet-radius) 0 0;
  padding-top:var(--mc-fixed-strip);
}
html[data-viewer-layout="mobile"] body [data-layered-panel] .mc-room-foreground .apartment3d-room-list {
  box-sizing:border-box;
  padding-top:calc(var(--mc-list-start-space) - var(--mc-fixed-strip));
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-section {
  grid-row:1;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-row {
  --list-highlight:var(--board-row-selected);
  --list-rule:var(--line);
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .mc-room-foreground :is(.apartment3d-room-row-name, .apartment3d-room-row-area, .apartment3d-room-empty, .listing-row-cell, .listing-row-price-final) {
  color:var(--palette-navy) !important;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-total {
  background:var(--surface);
  color:var(--palette-navy);
  border-top:0;
  min-height:calc(18 * var(--mc-module));
  padding:calc(2 * var(--mc-module)) var(--mc-content-padding);
  box-shadow:none;
}
html[data-viewer-layout="mobile"] body[data-audit-mobile-rooms] .viewer-apartment3d-card-commerce .listing-row-apartment-summary {
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:center;
  min-height:calc(14 * var(--mc-module));
  padding:calc(2 * var(--mc-module)) calc(3 * var(--mc-module));
  border:0;
  border-radius:calc(4 * var(--mc-module));
  background:var(--surface);
  box-shadow:0 0 0 2px var(--listing-row-accent);
}
html[data-viewer-layout="mobile"] body[data-audit-mobile-rooms] .viewer-apartment3d-card-commerce .listing-row-apartment-summary .listing-row-select {
  grid-template-columns:repeat(5,max-content);
  justify-content:space-between;
  column-gap:calc(2 * var(--mc-module));
  align-items:center;
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MK02"] #viewerApartment3dCardDetails {
  display:contents;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .viewer-apartment3d-card-titlebar {
  color:var(--color-text-inverse) !important;
}
html[data-viewer-layout="mobile"] body.mobile-apartment-shell .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) {
  --mc-grip-color:var(--color-text-inverse);
  background:var(--gradient-cg01) var(--palette-navy);
  gap:0;
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) .list-mobile-shell {
  min-width:0;
  max-width:100%;
  background:transparent;
  padding-bottom:var(--mc-cap-gap);
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) .list-mobile-shell .list-head {
  min-height:var(--mc-cap-title-height);
  padding-block:0;
  margin:0 0 var(--mc-cap-gap);
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #listTitle {
  color:var(--color-text-inverse) !important;
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileControlsPanel {
  background:transparent;
  margin-bottom:0;
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #listings {
  grid-row:1;
  height:100%;
  max-height:100%;
  box-sizing:border-box;
  background:transparent;
  border-radius:0;
  padding-top:calc(var(--mc-list-start-space) - var(--mc-fixed-strip));
  padding-bottom:var(--mc-content-padding);
}
html[data-viewer-layout="mobile"] body .list-card[data-layered-panel="ML00"] #listings {
  padding-top:calc(var(--mc-list-start-space) + var(--mc-module) - var(--mc-fixed-strip));
}
html[data-viewer-layout="mobile"] body .list-card[data-layered-panel="MT"] .list-mobile-shell {
  padding-bottom:var(--mc-cap-gap);
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileControlsPanel {
  flex-wrap:nowrap;
  width:100%;
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
  gap:calc(2 * var(--mc-module));
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileBuildingSwitchMenu {
  flex:1 1 0;
  min-width:0;
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileBuildingSwitchBtn {
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  justify-content:center;
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileBuildingSwitchLabel {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileBackToBuildingsBtn {
  flex-shrink:0;
  margin-left:auto;
}
html[data-viewer-layout="mobile"] body .list-card[data-layered-panel="MT"] .listing-row-apartment-mobile-header {
  position:static;
  margin:var(--mc-cap-gap) 0 0;
  min-height:calc(6 * var(--mc-module));
  padding-block:0;
  background:transparent;
}
html[data-viewer-layout="mobile"] body .list-card[data-layered-panel="MT"] .listing-row-header-pill {
  min-height:calc(6 * var(--mc-module));
  grid-template-columns:var(--mt-header-columns);
  column-gap:var(--mt-header-gap);
  background:transparent;
  border:0;
  border-radius:0;
  padding-inline:0;
  padding-block:0;
  box-shadow:none;
}
html[data-viewer-layout="mobile"] body .list-card[data-layered-panel="MT"] .listing-row-header-main {
  grid-column:1;
  grid-template-columns:var(--mt-data-columns);
}
html[data-viewer-layout="mobile"] body .list-card[data-layered-panel="MT"] .listing-row-header-actions {
  grid-column:2;
}
html[data-viewer-layout="mobile"] body .list-card[data-layered-panel="MT"] .listing-row-header-price {
  padding-inline:0;
  width:calc(100% + var(--mt-actions-width, 0px) + var(--mt-header-gap, 0px));
  max-width:none;
}
html[data-viewer-layout="mobile"] body .list-card[data-layered-panel="MT"] .listing-row-header-cell {
  min-height:calc(6 * var(--mc-module));
}
html[data-viewer-layout="mobile"] body .list-card[data-layered-panel="MT"] .listing-row-header-sort-button:not(:last-child) {
  border-right:0;
}
html[data-viewer-layout="mobile"] body .list-card[data-layered-panel="MT"] .listing-row-header-sort-button:not(:last-child)::after {
  content:"";
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  width:1px;
  height:calc(4 * var(--mc-module));
  background:color-mix(in srgb, var(--color-text-inverse) 24%, transparent);
  pointer-events:none;
}

/* Source: viewer-mobile-list.css */
/* Shared opt-in MT status layout and selection. */
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] .listing-row-apartment-mobile-header {
  border-bottom:0 !important;
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] .listing-row-apartment-mobile-header::after {content:none !important;}
/* Keep action descendants for production availability checks and event handlers. */
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] .mt-inline-actions {display:contents !important;}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] .mt-inline-actions[hidden] {display:none !important;}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] .listing-row-apartment-mobile:has(.mt-inline-actions) {
  grid-template-rows:minmax(56px,auto) auto;row-gap:0;padding-block:0;
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] .mt-inline-actions > .listing-row-action-toggle {
  grid-column:2;grid-row:1;justify-self:end;align-self:center;
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] .mt-inline-actions > .listing-row-actions-popover {
  position:static !important;inset:auto !important;transform:none !important;
  grid-column:1 / -1;grid-row:2;justify-self:stretch;
  width:auto !important;min-width:0 !important;max-width:100% !important;
  display:flex !important;justify-content:flex-end !important;align-items:center !important;
  gap:8px !important;padding:12px 0 !important;margin:0 !important;
  background:transparent !important;border:0 !important;border-radius:0 !important;
  box-shadow:none !important;backdrop-filter:none !important;z-index:auto !important;
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] .mt-inline-actions > .listing-row-actions-popover[hidden] {display:none !important;}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile:has(.mt-inline-actions)::before {bottom:auto;height:56px;}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile:has(.mt-inline-actions)::after {bottom:auto;top:55px;}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] .listing-row-select {grid-row:1;}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] .listing-row-actions-popover .listing-mail-btn svg {
  width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile {
  --ml-row-radius: var(--mobile-radius-action);
  position: relative;
  isolation: isolate;
  border-bottom: 0 !important;
  border-radius: var(--ml-row-radius) !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Selection is flat; the scroll-edge mask belongs to the list, not rows. */
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--palette-soft-gray);
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 150ms ease;
}
@media (prefers-reduced-motion: reduce) {
  html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile::before {
    transition: none;
  }
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile.is-active::before {
  opacity: 1;
}
/* Separator stays under the data row; actions are a separate sibling. */
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--ml-row-radius);
  right: var(--ml-row-radius);
  height: 1px;
  background: var(--line);
  pointer-events: none;
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile:last-of-type::after {
  content: none;
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile.is-active::after,
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile:has(+ .listing-row-apartment-mobile.is-active)::after,
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings .listing-row-apartment-mobile:has(+ .mc-list-actions + .listing-row-apartment-mobile.is-active)::after {
  opacity: 0;
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings > .mc-list-actions {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center;
  gap: 8px !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
html[data-viewer-layout="mobile"] body [data-layered-panel="MT"] #listings > .mc-list-actions[hidden] {
  display: none !important;
}
html[data-viewer-layout="mobile"] body :is(#listings, .viewer-apartment3d-card-commerce) .mc-status-separated {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
html[data-viewer-layout="mobile"] body :is(#listings, .viewer-apartment3d-card-commerce) .mc-status-separated > .listing-row-name-text {
  color: var(--palette-navy) !important;
  -webkit-text-fill-color: var(--palette-navy) !important;
  text-shadow: none;
}
html[data-viewer-layout="mobile"] body :is(#listings, .viewer-apartment3d-card-commerce) .mc-status-separated .listing-row-status-pill {
  box-sizing: border-box;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  gap: 0;
  animation: none !important;
}
html[data-viewer-layout="mobile"] body :is(#listings, .viewer-apartment3d-card-commerce) .mc-status-separated .listing-row-status-pill::after {
  content: none !important;
  animation: none !important;
}
/* Longest status must fit the existing mobile name column. */
html[data-viewer-layout="mobile"] body :is(#listings, .viewer-apartment3d-card-commerce) .status-reserved .mc-status-separated .listing-row-status-pill {
  padding-inline: 2px !important;
}

/* Source: viewer-mobile-apartments.css */
html[data-viewer-layout="mobile"] body.mobile-apartment-shell:has(:is([data-layered-panel="ML00"], [data-layered-panel="MT"])) {
  --mobile-panel-padding-inline:var(--mc-content-padding);
  --mobile-sheet-content-top-padding:var(--mc-content-top) !important;
}
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) {
  border-radius:var(--mc-sheet-radius) var(--mc-sheet-radius) 0 0 !important;
}
html[data-viewer-layout="mobile"] :is([data-layered-panel="ML00"], [data-layered-panel="MT"]) .mobile-bottom-sheet-handle:not([hidden]) {
  top:0;height:var(--mc-handle-height);min-height:var(--mc-handle-height);
  width:100%;margin:0;padding:0;
  display:flex;align-items:center;justify-content:center;
}
html[data-viewer-layout="mobile"] :is([data-layered-panel="ML00"], [data-layered-panel="MT"]) .mobile-bottom-sheet-grip {
  width:var(--mc-grip-width);height:var(--mc-grip-height);
  background:var(--color-text-inverse);box-shadow:none;
}
/* Runtime sets list heights inline; the stationary foreground owns that budget. */
html[data-viewer-layout="mobile"] body .list-card:is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #listings {
  height:100% !important;max-height:100% !important;
}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-tile-final-price {display:flex;}
html[data-viewer-layout="mobile"] body .mc-apartment-tile .listing-tile-front.mc-tile-front {display:block;}
html[data-viewer-layout="mobile"] :is([data-layered-panel="ML00"], [data-layered-panel="MT"]) .mobile-filters-toggle-btn::after {display:none !important;}
html[data-viewer-layout="mobile"] :is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileControlsPanel .mb-button svg,
html[data-viewer-layout="mobile"] :is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileControlsPanel .mb-button svg *,
html[data-viewer-layout="mobile"] :is([data-layered-panel="ML00"], [data-layered-panel="MT"]) .mb-contact-icon svg,
html[data-viewer-layout="mobile"] :is([data-layered-panel="ML00"], [data-layered-panel="MT"]) .mb-contact-icon svg * {
  fill:none !important;stroke:currentColor !important;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
}
html[data-viewer-layout="mobile"] :is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileBackToBuildingsBtn::before,
html[data-viewer-layout="mobile"] :is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileBuildingSwitchBtn::after {
  content:"" !important;display:inline-block !important;width:16px !important;height:16px !important;
  flex:0 0 16px !important;background:currentColor !important;border:0 !important;clip-path:none !important;
  mask:var(--ml-chevron-left) center / contain no-repeat !important;
  -webkit-mask:var(--ml-chevron-left) center / contain no-repeat !important;
  transform:none !important;
}
html[data-viewer-layout="mobile"] :is([data-layered-panel="ML00"], [data-layered-panel="MT"]) #mobileBuildingSwitchBtn::after {transform:rotate(-90deg) !important;}

/* Source: viewer-mobile-room-card.css */
/* Shared MK01/MK02 opt-in. Desktop structure and media behavior remain unchanged. */
.mc-room-foreground { display:contents; }
html[data-viewer-layout="mobile"] body.mobile-apartment-shell:is(.is-viewer-apartment2d-open,.is-viewer-apartment3d-open) :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) {
  --apartment-card-mobile-padding-inline:var(--mc-content-padding);
  --apartment-card-mobile-section-gap:8px;
  border-radius:var(--mc-sheet-radius) var(--mc-sheet-radius) 0 0;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .viewer-apartment3d-card-copy-side {
  padding:var(--mc-content-top) var(--mc-content-padding) 8px;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .viewer-apartment3d-card-sheet-header-row {row-gap:8px;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) :is(.viewer-apartment2d-sheet-actions,.apartment-card-share-actions) {gap:8px;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) :is(.viewer-apartment2d-back-to-listings-btn,.viewer-apartment3d-card-back-to-listings-btn)::before {
  content:"";display:block;width:16px !important;height:16px !important;flex:0 0 16px !important;background:currentColor;
  mask:var(--mk-back-art) center / contain no-repeat;-webkit-mask:var(--mk-back-art) center / contain no-repeat;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .viewer-apartment3d-card-room-sheet-toggle:not([hidden]) {
  height:var(--mc-handle-height);min-height:var(--mc-handle-height);color:var(--color-text-inverse);
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .viewer-apartment3d-card-room-sheet-grip {
  width:var(--mc-grip-width);height:var(--mc-grip-height);background:var(--color-text-inverse);box-shadow:none;
}
/* Override legacy white/accent buttons without changing the shared P10 paint. */
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) :is(.viewer-apartment2d-sheet-actions,.apartment-card-share-actions) .mb-button:is(button,:hover,:focus-visible) {
  background:var(--mb-bg) !important;color:var(--mb-fg) !important;border-color:var(--mb-border) !important;box-shadow:var(--mb-shadow,none) !important;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment-icon-action svg {display:none;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment-icon-action::before {
  content:"";display:block;width:20px;height:20px;background:currentColor;
  mask:var(--mk-art) center / contain no-repeat;-webkit-mask:var(--mk-art) center / contain no-repeat;
}
html[data-viewer-layout="mobile"] :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment-share-btn {--mk-art:var(--control-art-share-2);}
html[data-viewer-layout="mobile"] :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment-card-contact-btn {--mk-art:var(--control-art-mail);}
html[data-viewer-layout="mobile"] :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment-card-phone-btn {--mk-art:var(--control-art-phone);}
html[data-viewer-layout="mobile"] :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) #viewerApartment2dMobileDownloadBtn {--mk-art:var(--control-art-download);}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-table-header {background:transparent;margin-bottom:0;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-table-header-cell {color:var(--color-text-inverse);}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) :is(.apartment3d-room-section,.apartment3d-room-list) {background:transparent !important;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-list {border-radius:0;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .mc-room-foreground :is(.apartment3d-room-row-name,.apartment3d-room-row-area,.listing-row-cell,.listing-row-price-final) {color:var(--palette-navy) !important;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .listing-row-price-base {color:var(--palette-muted) !important;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-total {background:var(--surface);border-top:0;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .listing-row-apartment-summary {
  box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;
  min-height:56px;padding:8px 12px;border:0;border-radius:16px;background:var(--surface);box-shadow:0 0 0 2px var(--listing-row-accent);
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .listing-row-apartment-summary .listing-row-select {
  grid-template-columns:repeat(5,max-content);justify-content:space-between;column-gap:8px;align-items:center;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-row {
  position:relative;isolation:isolate;border-bottom:0 !important;border-radius:8px;background:transparent !important;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-row::before {
  content:"";position:absolute;inset:0;border-radius:inherit;background:var(--palette-soft-gray);opacity:0;z-index:-1;pointer-events:none;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-row.is-active::before {opacity:1;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-row::after {
  content:"";position:absolute;bottom:0;left:8px;right:8px;height:1px;background:var(--line);pointer-events:none;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-row:last-child::after {content:none;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-row.is-active::after,
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-row:has(+ .apartment3d-room-row.is-active)::after {opacity:0;}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-row-number {
  box-sizing:border-box;width:28px;height:28px;flex:0 0 28px;border:1px solid transparent;border-radius:50%;
  background:transparent !important;color:var(--palette-navy) !important;-webkit-text-fill-color:currentColor;
  font-family:var(--font-ui);font-size:var(--fs-label);font-weight:var(--fw-regular);line-height:var(--lh-body);letter-spacing:var(--tracking-normal);font-variant-numeric:tabular-nums;
  box-shadow:none !important;animation:none !important;transform:none;
}
html[data-viewer-layout="mobile"] body :is(#viewerApartment2dRoomSheet[data-layered-panel="MK01"], #viewerApartment3dCardPanel .viewer-apartment3d-card-side[data-layered-panel="MK02"]) .apartment3d-room-row.is-active .apartment3d-room-row-number {color:var(--apartment3d-room-fill-active) !important;border-color:currentColor;}

/* Source: viewer-mobile-menu.css */
/* Mobile header navigation and the retained MN01 board reference. */
html[data-viewer-layout="mobile"] .mobile-viewer-home {
  position:relative;display:flex;align-items:center;gap:inherit;flex:1 1 auto;min-width:0;
  margin:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;
  cursor:pointer;touch-action:manipulation;
}
html[data-viewer-layout="mobile"] .mobile-viewer-home::before {
  content:"";position:absolute;inset:50% 0 auto;transform:translateY(-50%);
  height:max(100%,44px);
}
html[data-viewer-layout="mobile"] .mobile-viewer-home:focus-visible {
  outline:2px solid var(--palette-navy);outline-offset:4px;border-radius:4px;
}
html[data-viewer-layout="mobile"] .mobile-view-menu-backdrop:not([hidden]) {
  position:fixed; inset:0; z-index:189; background:transparent; touch-action:none;
}
html[data-viewer-layout="mobile"] body .mobile-viewer-topbar:has(.mobile-view-menu-toggle:not([hidden])) {
  padding-right:calc(64px + 5 * var(--mobile-ui-module) + var(--mobile-safe-right));
}
html[data-viewer-layout="mobile"] body .mobile-view-menu-toggle:not([hidden]) {
  display:grid; place-items:center; align-content:center; gap:var(--mobile-ui-module); position:absolute;
  right:calc(4 * var(--mobile-ui-module) + var(--mobile-safe-right)); top:calc(50% + var(--mobile-topbar-safe-top, 0px) / 2);
  transform:translateY(-50%); width:64px; height:48px; padding:0;
  border:0; border-radius:12px; background:transparent; color:var(--palette-navy);
  cursor:pointer; touch-action:manipulation;
}
html[data-viewer-layout="mobile"] .mobile-view-menu-toggle::before {
  content:"";width:24px;height:24px;background:currentColor;
  mask:var(--mobile-view-menu-art) center / contain no-repeat;
  -webkit-mask:var(--mobile-view-menu-art) center / contain no-repeat;
  pointer-events:none;
}
html[data-viewer-layout="mobile"] .mobile-view-menu-toggle::after {
  content:attr(data-label);font-family:var(--font-ui);font-size:var(--fs-label);
  font-weight:var(--fw-regular);line-height:var(--lh-body);letter-spacing:var(--tracking-normal);
  text-transform:none;white-space:nowrap;pointer-events:none;
}
html[data-viewer-layout="mobile"] .mobile-view-menu-toggle:focus-visible { outline:2px solid var(--palette-navy); outline-offset:-4px; }
html[data-viewer-layout="mobile"] body .viewer-control-panel:not(.is-mobile-header-menu) {
  --mn-menu-ink:var(--palette-navy);
  --mn-menu-muted:var(--palette-muted);
  background:transparent !important;
  box-shadow:inset 0 1px 0 color-mix(in srgb, var(--mn-menu-ink) 16%, transparent) !important;
  backdrop-filter:var(--effect-glass-blur) !important;
  -webkit-backdrop-filter:var(--effect-glass-blur) !important;
  border:0 !important;border-radius:0 !important;z-index:190 !important;
}
html[data-viewer-layout="mobile"] body.mobile-building-shell .viewer-control-panel:not(.is-mobile-header-menu),
html[data-viewer-layout="mobile"] body.is-viewer-tour-open .viewer-control-panel:not(.is-mobile-header-menu),
html[data-viewer-layout="mobile"] body [data-menu-tone="dark"] .viewer-control-panel:not(.is-mobile-header-menu) {
  --mn-menu-ink:var(--palette-white);
  --mn-menu-muted:color-mix(in srgb, var(--palette-white) 80%, transparent);
}
html[data-viewer-layout="mobile"] body .viewer-control-panel :is(.viewer-nav-dock,.viewer-view-group) {
  background:transparent !important;box-shadow:none !important;
  backdrop-filter:none !important;-webkit-backdrop-filter:none !important;
}
html[data-viewer-layout="mobile"] body .viewer-control-panel .view-mode-btn,
html[data-viewer-layout="mobile"] body .viewer-control-panel .view-mode-btn:hover {
  background:var(--mn-option-surface,transparent) !important;border-color:transparent !important;box-shadow:var(--mn-option-shadow,none) !important;
  backdrop-filter:none !important;-webkit-backdrop-filter:none !important;
  color:var(--mn-option-ink,var(--mn-menu-muted)) !important;-webkit-text-fill-color:currentColor;
}
html[data-viewer-layout="mobile"] body .viewer-control-panel .view-mode-btn.is-active {color:var(--mn-option-ink,var(--mn-menu-ink)) !important;}
html[data-viewer-layout="mobile"] body .viewer-control-panel .view-mode-btn:focus-visible {outline:2px solid var(--mn-menu-ink);outline-offset:-2px;}
html[data-viewer-layout="mobile"] body .viewer-control-panel::before {background:var(--mn-menu-ink) !important;box-shadow:none !important;}

/* Approved I097, I098, I099 and the mobile model icon. */
html[data-viewer-layout="mobile"] .view-mode-btn[data-view="INTERACTIVE_BUILDINGS"] {--mn-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 01-2 2H5a2 2 0 01-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");}
html[data-viewer-layout="mobile"] .view-mode-btn[data-view="INTERACTIVE"] {--mn-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Cpath d='M3 9h18M9 21V9'/%3E%3C/svg%3E");}
html[data-viewer-layout="mobile"] .view-mode-btn[data-view="VISUALIZATIONS"] {--mn-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E");}
html[data-viewer-layout="mobile"] .view-mode-btn[data-view="MODEL3D"] {--mn-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z'/%3E%3Cpolyline points='3.27 6.96 12 12.01 20.73 6.96'/%3E%3Cpath d='M12 22.08V12'/%3E%3C/svg%3E");}
html[data-viewer-layout="mobile"] body .viewer-control-panel .view-mode-btn:not([data-view="LOCATION"])::before {
  mask-image:var(--mn-art) !important;-webkit-mask-image:var(--mn-art) !important;
}

/* Sheets fill the available viewport; navigation no longer occupies its bottom. */
/* MK sheets live inside the spin column and need the same clipping bounds. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body.mobile-apartment-shell:is(.is-viewer-apartment2d-open,.is-viewer-apartment3d-open) .viewer-column {
  height:var(--mobile-app-height,100dvh);
  min-height:var(--mobile-app-height,100dvh);
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body:is(.mobile-building-shell,.mobile-apartment-shell) :is(.list-column,#viewerApartment2dRoomSheet,.viewer-apartment3d-card-side.apartment3d-room-panel) {
  bottom:0 !important;height:var(--mobile-sheet-full-height) !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body.mobile-apartment-shell .list-card[data-layered-panel] .mc-list-foreground {
  height:var(--mobile-listings-height) !important;max-height:none !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body.mobile-apartment-shell .list-card[data-layered-panel] #listings {
  padding-bottom:calc(var(--mobile-safe-bottom) + 16px) !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body.mobile-building-shell #listings {
  box-sizing:border-box;
  height:var(--mobile-listings-height) !important;
  max-height:none !important;
  padding-bottom:calc(var(--mobile-safe-bottom) + 16px) !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body:is(.mobile-building-shell,.mobile-apartment-shell) .app-shell {
  padding-bottom:0;
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body [data-layered-panel] .mc-room-foreground .apartment3d-room-list {
  height:var(--apartment3d-room-list-height) !important;
  max-height:none !important;
  padding-bottom:calc(var(--mn-room-summary-space, var(--apartment3d-room-total-space)) + var(--mobile-safe-bottom) + 8px) !important;
}
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body [data-layered-panel] .apartment3d-room-total {
  bottom:calc(var(--mobile-sheet-y,0px) + var(--mobile-safe-bottom)) !important;
  background:transparent !important;box-shadow:none !important;
}

/* Header disclosure reuses the actual view controls and mobile option tokens. */
html[data-viewer-layout="mobile"] body .viewer-control-panel.is-mobile-header-menu {
  display:none !important;
  inset:var(--mobile-view-menu-top, 72px) 12px auto auto !important;
  transform:none !important; width:min(260px, calc(100vw - 24px)) !important;
  max-height:calc(var(--mobile-app-height, 100dvh) - var(--mobile-view-menu-top, 72px) - 12px);
  overflow:auto; overscroll-behavior:contain;
  padding:calc(2 * var(--mobile-ui-module)) !important;
  border:0 !important; border-radius:var(--mc-dialog-radius) !important;
  background:var(--surface) !important; box-shadow:var(--effect-shadow-sheet) !important;
  backdrop-filter:none !important; -webkit-backdrop-filter:none !important; z-index:190 !important;
  --mn-menu-ink:var(--palette-navy); --mn-menu-muted:var(--palette-navy);
}
html[data-viewer-layout="mobile"] body .viewer-control-panel.is-mobile-header-menu.is-header-menu-open { display:flex !important; }
html[data-viewer-layout="mobile"] body .viewer-control-panel.is-mobile-header-menu::before { display:none; }
html[data-viewer-layout="mobile"] body .is-mobile-header-menu .viewer-view-group {
  grid-template-columns:minmax(0,1fr) !important; gap:4px !important;
}
html[data-viewer-layout="mobile"] body .is-mobile-header-menu .view-mode-btn:not([hidden]) {
  flex-direction:row; justify-content:flex-start !important; gap:12px;
  height:var(--mobile-button-hit-size); min-height:var(--mobile-button-hit-size);
  border-radius:calc(2 * var(--mobile-ui-module)); padding:8px 12px; text-align:left;
}
html[data-viewer-layout="mobile"] body .is-mobile-header-menu .view-mode-btn.is-active {
  --mn-option-surface:linear-gradient(180deg,var(--button-highlight),transparent) var(--palette-navy);
  --mn-option-ink:var(--palette-white);
  --mn-option-shadow:inset 0 1px 0 var(--button-edge),var(--button-shadow-dark);
}
html[data-viewer-layout="mobile"] body .is-mobile-header-menu .view-mode-btn:not(.is-active):active {
  --mn-option-surface:var(--palette-soft-gray);
}
html[data-viewer-layout="mobile"] body .is-mobile-header-menu .view-mode-btn.is-active:active {
  --mn-option-surface:var(--button-surface-dark-pressed) var(--palette-navy);
  --mn-option-shadow:var(--button-shadow-dark-pressed);
}
html[data-viewer-layout="mobile"] body .is-mobile-header-menu .view-mode-btn:focus-visible {
  outline-color:var(--palette-muted);
}

/* Source: viewer-mobile-scene-points.css */
/* PM11: the same compact point on the board and in the live scene. */
html[data-viewer-layout="mobile"] body .mb-scene-point.is-mobile-compact-info {
  --mobile-info-pointer-size:12px;
  --mobile-info-radius:12px;
  box-sizing:border-box !important;border-radius:var(--mobile-info-radius) !important;
  background:var(--feature-pink) !important;color:var(--on-selection) !important;
}
html[data-viewer-layout="mobile"] body .mb-scene-point.is-mobile-compact-info::after {
  width:12px !important;height:12px !important;background:var(--feature-pink) !important;
}
html[data-viewer-layout="mobile"] body .mb-scene-point.is-mobile-compact-info:not(.is-active):not(.is-interactive-selected) {
  width:32px !important;min-width:32px !important;max-width:32px !important;
  height:32px !important;min-height:32px !important;max-height:32px !important;padding:0 !important;
}
html[data-viewer-layout="mobile"] body .mb-scene-point.is-mobile-compact-info:not(.is-active):not(.is-interactive-selected)::after {
  bottom:-8px !important;transform:translateX(-50%) !important;
  clip-path:polygon(0 0,100% 0,50% 100%);
}
html[data-viewer-layout="mobile"] body .mb-scene-point.is-mobile-compact-info .pzt-feature-label-icon {
  width:100% !important;height:100% !important;
}
html[data-viewer-layout="mobile"] body .mb-scene-point.is-mobile-compact-info .pzt-feature-label-icon-svg {
  width:20px !important;height:20px !important;object-fit:contain;
}
html[data-viewer-layout="mobile"] body .mb-scene-point.is-mobile-compact-info:is(.is-active,.is-interactive-selected) {
  width:max-content !important;min-width:0 !important;max-width:calc(100vw - 24px) !important;
  height:auto !important;min-height:0 !important;max-height:none !important;padding:8px 12px !important;
}
html[data-viewer-layout="mobile"] body .mb-scene-point.is-mobile-compact-info .pzt-feature-label-title {
  width:auto !important;min-width:0 !important;max-width:100% !important;
  white-space:normal !important;overflow-wrap:anywhere;
}

/* Source: viewer-mobile-scene.css */
/* Intrinsic width stays independent of the anchor; mobile width limits still apply. */
html[data-boot-mode="viewer"][data-viewer-layout="mobile"] body {
  & .location-hotspot-link:is(.scene-apartment-label, .scene-entity-label.is-building-summary) {
    --scene-label-radius:12px;
    display:grid; gap:0; padding:0; min-width:0; width:max-content;
    box-sizing:border-box; border-radius:var(--scene-label-radius);
    justify-items:stretch; text-align:center;
  }
  & .scene-apartment-label.status-available { --scene-status-gradient:var(--gradient-cg02); }
  & .scene-apartment-label.status-reserved { --scene-status-gradient:var(--gradient-cg03); }
  & .scene-apartment-label.status-sold { --scene-status-gradient:var(--gradient-cg04); }
  & .scene-entity-label.is-building-summary { --scene-status-gradient:var(--gradient-cg01); }
  & .location-hotspot-link:is(.scene-apartment-label, .scene-entity-label.is-building-summary) > :is(.scene-apartment-label-content, .scene-entity-label-content) {
    display:grid; gap:4px; padding:8px 12px; min-width:0;
    box-sizing:border-box; justify-items:center;
    position:relative; z-index:1; background:var(--surface);
    border-radius:var(--scene-label-radius);
  }
  & .location-hotspot-link:is(.scene-apartment-label, .scene-entity-label.is-building-summary) :is(.scene-apartment-label-content, .scene-entity-label-content) > :is(.location-hotspot-title, .location-hotspot-meta, .location-hotspot-building-stats, .apartment-hover-status) {
    padding:0; margin:0; min-width:0; max-width:100%;
  }
  & .scene-entity-label.is-building-summary .location-hotspot-building-stats { gap:4px; }
  & .location-hotspot-link:is(.scene-apartment-label, .scene-entity-label.is-building-summary) :is(.location-hotspot-title, .location-hotspot-meta, .location-hotspot-building-stats-row, .location-hotspot-header-band, .location-hotspot-status-band, .apartment-hover-status) {
    min-width:0; max-width:100%;
    white-space:normal; overflow-wrap:anywhere; overflow:visible; text-overflow:clip;
  }
  & .location-hotspot-link:is(.scene-apartment-label, .scene-entity-label.is-building-summary) > :is(.location-hotspot-status-band, .location-hotspot-header-band) {
    position:relative; isolation:isolate; overflow:visible;
    width:auto; margin:0; padding:4px 12px; box-sizing:border-box;
    border-radius:0 0 var(--scene-label-radius) var(--scene-label-radius);
    background:transparent; color:var(--color-text-inverse);
  }
  & .location-hotspot-link:is(.scene-apartment-label, .scene-entity-label.is-building-summary) > :is(.location-hotspot-status-band, .location-hotspot-header-band)::before {
    content:""; position:absolute; left:0; right:0;
    top:calc(-1 * var(--scene-label-radius)); bottom:0;
    z-index:-1; border-radius:inherit; pointer-events:none;
    background:var(--scene-status-gradient) var(--hotspot-status-color, var(--palette-navy));
  }
  & .location-hotspot-link.scene-apartment-label.is-apartment-hover-preview {
    border:0; background:var(--scene-status-gradient) var(--hotspot-status-color);
  }
  & .location-hotspot-link.scene-apartment-label.is-apartment-hover-preview > .scene-apartment-label-content { background:transparent; }
  & .scene-apartment-label.is-apartment-hover-preview :is(.location-hotspot-title, .location-hotspot-meta, .apartment-hover-status) {
    color:var(--color-text-inverse);
  }
}
/* MW01/02/04/05: shared scene surfaces; media engines keep their own lifecycle. */
html[data-viewer-layout="mobile"] body #spinCompass {
  /* Reserve the normal cap overlap, independently of the sheet's drag position. */
  position:absolute;top:auto;bottom:max(var(--mobile-ui-module), calc(var(--mobile-compass-sheet-base, 0px) - var(--mobile-sheet-normal-y, 0px) + var(--mobile-ui-module)));left:var(--mobile-ui-module);right:auto;
  transform:none;min-width:0;width:64px;box-sizing:border-box;height:auto;margin:0;
  grid-template-rows:auto auto;justify-items:center;align-items:center;
  gap:var(--mobile-ui-module);padding:var(--mobile-ui-module);
  border:var(--surface-glass-border);border-radius:var(--mobile-radius-pill);
  background:var(--surface-glass-background);
  color:var(--palette-navy);box-shadow:var(--surface-glass-shadow);
  pointer-events:auto;touch-action:manipulation;cursor:pointer;overflow:visible;
  backdrop-filter:var(--surface-glass-blur);-webkit-backdrop-filter:var(--surface-glass-blur);
}
html[data-viewer-layout="mobile"] body #spinCompass::after {
  content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:max(100%, var(--mobile-button-hit-size));height:max(100%, var(--mobile-button-hit-size));
}
html[data-viewer-layout="mobile"] body #spinCompass .spin-compass-track-wrap {
  display:none;
}
html[data-viewer-layout="mobile"] body #spinCompass .spin-compass-pointer {
  position:relative;inset:auto;transform:none;margin:0;width:16px;height:16px;
  border:0;filter:none;
}
html[data-viewer-layout="mobile"] body #spinCompass .spin-compass-pointer-art {
  display:block;width:100%;height:100%;
}
html[data-viewer-layout="mobile"] body #spinCompass .spin-compass-text {
  position:relative;inset:auto;transform:none;margin:0;white-space:nowrap;
  color:var(--palette-navy);text-shadow:none;
}
html[data-viewer-layout="mobile"] body #spinCompass:focus-visible {
  outline:2px solid var(--palette-muted);outline-offset:2px;
}
html[data-viewer-layout="mobile"] body .brand-rail {background:transparent;border:0;box-shadow:none;}
.brand-name-mobile {display:none;}
html[data-viewer-layout="mobile"] .brand-name-desktop {display:none;}
html[data-viewer-layout="mobile"] .brand-name-mobile {display:inline;}
html[data-viewer-layout="mobile"] body.is-viewer-tour-open .viewer-control-panel:not(.is-mobile-header-menu) {
  --mn-menu-ink:var(--palette-white);
  --mn-menu-muted:color-mix(in srgb, var(--palette-white) 80%, transparent);
}
html[data-viewer-layout="mobile"] body.is-viewer-tour-open .viewer-tour-mobile-gallery,
html[data-viewer-layout="mobile"] body.is-viewer-tour-open .is-single-panorama .viewer-tour-top-content {
  bottom:calc(var(--mobile-safe-bottom, 0px) + .6rem);
}

html[data-viewer-layout="mobile"] body .mw-gallery-dot-group {
  position:relative;display:flex;align-items:center;gap:inherit;
}
/* Anchor the close action to the gallery stage, independently of the sheet. */
html[data-viewer-layout="mobile"] body:is(.mobile-building-shell, .mobile-apartment-shell) .is-inline-viewer-modal .gallery-close-btn {
  position:absolute;
  top:var(--mobile-ui-module);left:auto;right:var(--mobile-ui-module);bottom:auto;
  transform:none;
}
html[data-viewer-layout="mobile"] body .mw-gallery-counter {
  position:absolute;top:50%;left:calc(100% + 8px);transform:translateY(-50%);
  width:max-content;min-width:0;margin:0;padding:0;white-space:nowrap;text-align:center;
  color:var(--color-text-inverse);
  font-family:var(--font-ui);font-size:var(--fs-label);font-weight:var(--fw-regular);
  line-height:var(--lh-body);letter-spacing:var(--tracking-normal);font-variant-numeric:tabular-nums;
}
html[data-viewer-layout="mobile"] body .viewer-tour-thumbs {
  gap:8px;padding:8px 8px 8px calc(var(--tour-plan-width,88px) + 16px);
  border-radius:0;background:var(--effect-glass-surface);
  backdrop-filter:var(--effect-glass-blur);-webkit-backdrop-filter:var(--effect-glass-blur);
}
html[data-viewer-layout="mobile"] body .viewer-tour-thumbs .gallery-thumb {
  width:88px;border-radius:12px;background:var(--color-surface-paper);color:var(--palette-navy);
  border-color:var(--line);box-shadow:none;transform:none;
}
html[data-viewer-layout="mobile"] body .viewer-tour-thumbs .gallery-thumb:is(.is-active,:focus-visible) {
  border-color:var(--room-tone-interior-active);
  box-shadow:0 0 0 var(--listing-active-ring-width) var(--room-tone-interior-active);outline:none;
}
html[data-viewer-layout="mobile"] body .viewer-tour-thumb-caption {
  padding:4px 8px;background:var(--color-surface-paper);color:var(--palette-navy);
}
html[data-viewer-layout="mobile"] body .viewer-tour-stage .viewer-tour-plan.is-mobile-plan {
  top:8px;bottom:8px;left:8px;padding:4px;border-radius:12px;background:var(--color-surface-paper);
}

/* Source: viewer-mobile-feedback.css */
/* Shared mobile form and privacy-dialog geometry for Viewer and board. */
/* Keep the touch target when sending replaces the button's text content. */
html[data-viewer-layout="mobile"] [data-feedback-kind] .mb-button::after {
  content: "";
  position: absolute;
  inset: -2px 0;
  min-height: var(--mobile-button-hit-size);
}

html[data-viewer-layout="mobile"] #leadModal [data-feedback-kind="MF01"] {
  border-radius: 16px;
}

html[data-viewer-layout="mobile"] #leadModal [data-feedback-kind="MF01"] :is(.apartment2d-meta-row, .lead-form-shell, .lead-modal-actionbar) {
  padding: 12px 16px;
}

html[data-viewer-layout="mobile"] #leadModal [data-feedback-kind="MF01"] :is(.lead-form, .lead-form-shell, .lead-modal-actionbar, .lead-modal-actionbar-actions) {
  gap: 8px;
}

html[data-viewer-layout="mobile"] #leadModal [data-feedback-kind="MF01"] .lead-form :is(input:not([type="checkbox"]), textarea) {
  box-sizing: border-box;
  min-height: var(--mf-field-height, 40px);
  padding: 8px 12px;
  border: 1px solid var(--ui-border-control);
  border-radius: 12px;
}

html[data-viewer-layout="mobile"] #leadModal [data-feedback-kind="MF01"] .lead-form textarea {
  --mf-field-height: 96px;
}

html[data-viewer-layout="mobile"] #leadModal [data-feedback-kind="MF01"] .lead-privacy-notice {
  margin-top: 8px;
  padding-top: 0;
  gap: 8px;
}

html[data-viewer-layout="mobile"] #leadModal [data-feedback-kind="MF01"] .lead-marketing-choice {
  gap: 8px;
}

html[data-viewer-layout="mobile"] #leadModal [data-feedback-kind="MF01"] .lead-marketing-choice input[type="checkbox"] {
  box-sizing: border-box;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  min-height: 0;
  padding: 0;
  margin: 2px 0 0;
  border-radius: 0;
}

html[data-viewer-layout="mobile"] #privacyPolicyModal [data-feedback-kind="MF02"] {
  border-radius: 16px;
}

html[data-viewer-layout="mobile"] #privacyPolicyModal [data-feedback-kind="MF02"] :is(.privacy-policy-modal-meta, .lead-modal-actionbar) {
  padding: 12px 16px;
}

html[data-viewer-layout="mobile"] #privacyPolicyModal [data-feedback-kind="MF02"] .privacy-policy-content-shell {
  padding: 0 16px 12px;
}

html[data-viewer-layout="mobile"] #privacyPolicyModal [data-feedback-kind="MF02"] :is(.lead-modal-actionbar, .lead-modal-actionbar-actions) {
  gap: 8px;
}

html[data-viewer-layout="mobile"] #privacyPolicyModal [data-feedback-kind="MF02"] .privacy-policy-content {
  color: var(--palette-navy);
}

html[data-viewer-layout="mobile"] [data-feedback-kind="MF03"].viewer-loading {
  row-gap: 8px;
}

html[data-viewer-layout="mobile"] [data-feedback-kind="MF03"] .viewer-load-retry {
  margin-top: 0;
}

html[data-viewer-layout="mobile"] [data-feedback-kind="MF03"].viewer-apartment2d-empty {
  padding: 16px;
  color: var(--palette-navy);
}
