[hidden] { display: none !important; }
.view-photograph {position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0;transition:opacity .38s ease;background:#9babb3;}
.view-photograph.is-visible {opacity:1;}
.view-photograph img {width:100%;height:100%;object-fit:cover;}
body.has-photograph .grain {opacity:.035;}
.view-tools {display:flex;gap:8px;margin-top:14px;}
.view-tools .glass-button {flex:1;padding:10px 8px;font-size:13px;}
.view-tools button[aria-pressed="true"] {border-color:#fff;background:#ffffff30;}
.view-footnote {font-size:12px;color:#ffffffbf;margin-top:10px;text-align:center;}
@media(max-aspect-ratio:1/1){#photo-toggle{display:none;}}
body.is-video .view-tools {display:none;}
.image-provenance {font-size:12px;color:#ffffffba;margin-top:12px;line-height:1.5;}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button, select { font: inherit; }
button:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
button { -webkit-tap-highlight-color: transparent; }
.panel { max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #ffffff60 transparent; }
.mode-switch { display: flex; gap: 4px; padding: 4px; margin-bottom: 23px; border: 1px solid var(--line); border-radius: 30px; background: #23314825; }
.mode-switch button { flex: 1; min-height: 38px; padding: 8px 14px; border-radius: 24px; border: 1px solid transparent; background: transparent; color: #fff; cursor: pointer; font-size: 14px; transition: background .25s, box-shadow .25s; }
.mode-switch button[aria-selected="true"] { background: #ffffff29; border-color: #ffffff70; box-shadow: 0 3px 14px #14223b10, inset 0 1px #ffffff30; }
.panel.is-apartments { width: clamp(360px, 31vw, 490px); background: linear-gradient(165deg, #65737a9c, #46658b99 68%, #345680ad); }
.panel.is-apartments h1 { font-size: clamp(32px, 2.45vw, 46px); }
#apartments-content { margin-top: 21px; font-size: 16px; animation: apartment-enter .35s ease both; }
@keyframes apartment-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.apartment-intro { color: #ffffffe0; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.eyebrow { color: #ffffffc2; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 500; }
.tower-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.apartment-card { display: flex; flex-direction: column; padding: 0; text-align: left; color: #fff; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; cursor: pointer; transition: transform .25s, border-color .25s, background .25s; }
.apartment-card:hover { transform: translateY(-2px); border-color: #ffffffa6; background: #ffffff29; }
.tower-photo { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; background: linear-gradient(155deg, #cfb99888, #506b8699); overflow: hidden; }
.tower-photo .tower-letter { font-size: 46px; color: #ffffff60; }
.tower-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tower-label { padding: 12px 10px; display: grid; gap: 6px; }
.tower-label strong { font-size: 16px; font-weight: 500; }
.tower-label small { font-size: 12px; line-height: 1.4; color: #ffffffe0; }
.apartment-note { font-size: 13px; line-height: 1.6; color: #ffffffc4; margin-top: 20px; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 14px; }
.text-button { padding: 4px 0; color: #fff; background: none; border: 0; cursor: pointer; text-decoration: underline; text-decoration-color: #ffffff66; text-underline-offset: 4px; }
.breadcrumbs span { color: #ffffffab; }
.step-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.step-heading h2 { font-size: 23px; letter-spacing: -.02em; font-weight: 500; }
.step-heading p { font-size: 13px; color: #ffffffe0; }
.floor-picker { display: flex; flex-direction: column; gap: 7px; max-height: min(42dvh, 385px); overflow-y: auto; overscroll-behavior: contain; padding: 5px 8px 7px 5px; scrollbar-width: thin; scrollbar-color: #ffffff70 transparent; }
.floor-option, .floor-amenity { flex-shrink: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px; text-align: left; }
.floor-option { background: #ffffff12; border: 1px solid #ffffff40; color: #fff; cursor: pointer; min-height: 52px; }
.floor-option:hover, .floor-option[aria-pressed="true"] { background: #ffffff2c; border-color: #ffffffb3; }
.floor-option strong { font-size: 16px; font-weight: 500; }
.floor-option span { font-size: 14px; color: #ffffffe0; }
.floor-amenity { background: #18364026; border: 1px dashed #ffffff3d; color: #ffffffba; font-size: 13px; line-height: 1.4; }
.floor-amenity span:last-child { max-width: 65%; text-align: right; }
.apartment-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 17px; }
.apartment-filters label { display: grid; gap: 7px; font-size: 13px; color: #ffffffe0; }
.apartment-filters select { min-width: 0; width: 100%; padding: 10px 24px 10px 9px; min-height: 42px; font-size: 14px; color: #fff; border-radius: 11px; border: 1px solid #ffffff66; background: #203e5b65; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='white'%3E%3Cpath d='m2 2 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 11px; background-position: right 9px center; }
.apartment-filters option { color: #fff; background: #344d67; }
.unit-list { display: grid; gap: 10px; }
.unit-card { padding: 16px; gap: 9px; }
.unit-card .unit-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.unit-card strong { font-size: 18px; font-weight: 500; }
.type-pill { font-size: 12px; padding: 5px 8px; border-radius: 20px; border: 1px solid #ffffff60; color: #fff0d6; }
.unit-card .unit-spec { font-size: 14px; line-height: 1.5; }
.unit-card .unit-view { font-size: 13px; line-height: 1.5; color: #ffffffe0; }
.unit-card .unit-orientation { font-size: 13px; color: #ffffffb8; }
.empty-state { padding: 22px 16px; border: 1px solid #ffffff40; border-radius: 18px; font-size: 14px; line-height: 1.6; }
.empty-state button { display: block; margin-top: 12px; }
.unit-sheet-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 7px; }
.unit-sheet-heading h2 { font-size: 30px; font-weight: 500; letter-spacing: -.035em; }
.unit-sheet-sub { font-size: 14px; color: #ffffffe0; line-height: 1.6; }
.unit-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 9px; margin: 23px 0; }
.unit-metrics div { display: grid; gap: 5px; }
.unit-metrics dt { font-size: 12px; color: #ffffffb8; }
.unit-metrics dd { font-size: 16px; line-height: 1.4; font-weight: 500; }
.room-plan-heading { font-size: 14px; font-weight: 500; margin-bottom: 11px; }
.room-plan { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 6px; border: 1px solid #ffffff55; border-radius: 16px; background: #17395425; }
.room-plan li { display: flex; }
.room-plan li:has([data-room="living"]) { grid-column: span 2; }
.room-plan button { width: 100%; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 10px; color: #fff; border: 1px solid #ffffff25; border-radius: 8px; background: #ffffff0d; text-align: left; font-size: 12px; line-height: 1.4; cursor: pointer; }
.room-plan button:hover { background: #ffffff24; }
.room-plan button span:last-child { white-space: nowrap; color: #ffffffce; }
.primary-button, .glass-button { border: 1px solid #ffffff7d; color: #fff; background: #ffffff20; border-radius: 15px; cursor: pointer; padding: 13px 18px; min-height: 46px; font-size: 14px; }
.primary-button { display: block; width: 100%; margin-top: 20px; color: #243d56; background: #fbf3e6; border-color: #fff5e4; font-size: 16px; font-weight: 500; box-shadow: 0 6px 24px #1835521a; }
.primary-button:hover { background: #fff; }
.export-button { width: 100%; margin-top: 10px; }
button:disabled { opacity: .55; cursor: wait; }
.export-status { font-size: 13px; line-height: 1.5; margin-top: 10px; color: #fff3dc; }
.interior { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; padding: 0; margin: 0; border: 0; color: #fff; background: #394b5b; overflow: hidden; font-family: inherit; }
.interior::backdrop { background: #263b4b; }
.interior-media, .interior-placeholder, .interior-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.interior-media { touch-action: pan-y; }
.interior-placeholder { display: grid; align-content: center; justify-items: center; gap: 12px; background: radial-gradient(ellipse at 23% 25%, #dbc4a7a6, transparent 55%), radial-gradient(ellipse at 85% 78%, #839eb1, transparent 65%), linear-gradient(145deg, #9c9d96, #5c798e); }
.interior-placeholder p { font-size: clamp(26px, 3vw, 42px); font-weight: 400; letter-spacing: -.035em; }
.interior-placeholder span { font-size: 14px; color: #ffffffe0; }
.interior-photo { object-fit: cover; animation: room-settle 5s cubic-bezier(.15,.6,.2,1) both; }
@keyframes room-settle { from { transform: scale(1.04); opacity: 0; } 12% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
.interior::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(#10223255, transparent 30%, transparent 50%, #0b21313d); }
.interior-header { position: absolute; z-index: 2; top: max(26px, env(safe-area-inset-top)); left: 32px; right: 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.interior-header #interior-heading { font-size: 23px; letter-spacing: -.025em; margin-top: 6px; text-shadow: 0 1px 16px #122b3e40; }
.icon-button { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border: 1px solid #ffffff80; border-radius: 50%; color: #fff; background: #2d465d50; backdrop-filter: blur(18px); cursor: pointer; }
.room-tabs { position: absolute; z-index: 2; top: 113px; left: 32px; right: 32px; display: flex; gap: 7px; overflow-x: auto; padding: 5px 5px 12px; scrollbar-width: none; }
.room-tabs button { flex-shrink: 0; padding: 11px 16px; min-height: 44px; border: 1px solid #ffffff60; border-radius: 25px; color: #fff; font-size: 14px; background: #2c425a50; backdrop-filter: blur(18px); cursor: pointer; }
.room-tabs button[aria-selected="true"] { background: #f5ecdc; border-color: #fff5df; color: #293e52; }
.room-caption { position: absolute; z-index: 2; left: 32px; bottom: 32px; width: min(450px, calc(100vw - 64px)); max-height: calc(100dvh - 220px); overflow-y: auto; padding: 25px; border: 1px solid #ffffff70; border-radius: 28px; background: linear-gradient(155deg, #485c6b99, #283e579c); backdrop-filter: blur(26px) saturate(1.2); box-shadow: inset 0 1px #ffffff30, 0 18px 55px #142a3d20; scrollbar-width: thin; }
.room-caption h2 { font-size: clamp(25px, 2.3vw, 34px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.room-area { margin-top: 9px; font-size: 16px; color: #fff0d8; }
.room-details { padding-left: 18px; margin: 18px 0; font-size: 14px; line-height: 1.6; color: #ffffffe3; }
.window-copy { border-top: 1px solid #ffffff35; padding-top: 15px; font-size: 14px; line-height: 1.6; }
.window-copy p + p { margin-top: 8px; color: #ffffffe0; }
.room-navigation { position: absolute; z-index: 2; right: 32px; bottom: 32px; display: flex; align-items: center; gap: 12px; }
.room-navigation .glass-button { backdrop-filter: blur(18px); background: #2b43596b; }
.room-count { font-size: 13px; }
@media (max-width: 1000px) and (min-width: 761px) { .room-navigation { bottom: 26px; } .room-caption { bottom: 92px; } }
@media (max-width: 760px) {
  .panel { max-height: calc(100dvh - 32px - env(safe-area-inset-bottom)); }
  .panel.is-apartments { width: auto; max-height: min(76dvh, calc(100dvh - 40px)); padding: 19px 18px; }
  .panel.is-apartments h1 { font-size: 30px; }
  .mode-switch { margin-bottom: 17px; }
  #apartments-content { margin-top: 17px; }
  .tower-grid { gap: 8px; }
  .tower-photo { aspect-ratio: 1.2; }
  .tower-label { padding: 10px 8px; }
  .tower-label strong { font-size: 14px; }
  .tower-label small { font-size: 12px; }
  .floor-picker { max-height: 31dvh; }
  .unit-metrics { margin: 19px 0; }
  .interior-header { top: max(18px, env(safe-area-inset-top)); left: 20px; right: 20px; }
  .interior-header #interior-heading { font-size: 19px; }
  .room-tabs { top: max(94px, calc(env(safe-area-inset-top) + 76px)); left: 15px; right: 15px; }
  .room-tabs button { padding: 10px 14px; }
  .room-caption { left: 16px; bottom: calc(82px + env(safe-area-inset-bottom)); width: calc(100vw - 32px); max-height: min(43dvh, calc(100dvh - 260px)); padding: 20px; border-radius: 24px; }
  .room-caption h2 { font-size: 26px; }
  .room-details { margin: 13px 0; }
  .room-navigation { right: 16px; left: 16px; bottom: max(18px, env(safe-area-inset-bottom)); justify-content: space-between; gap: 8px; }
  .room-navigation .glass-button { padding: 11px 13px; font-size: 13px; }
  .interior-placeholder { align-content: start; padding-top: 27dvh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .interior-photo { transform: none; }
}
