:root {
  --accent: #0f9ed5; --accent-soft: #d4ecf8; --ink: #0c1f33;
  --mute: #647485; --mute-2: #93a0ad; --line: rgba(12, 31, 51, .09);
  --surface: rgba(255, 255, 255, .82); --surface-solid: #fff; --tint: #f3f6f9;
  --ok: #1f9d68; --ok-bg: #e3f5ec; --res: #c98a16; --res-bg: #fbf0d9; --sold: #b4534b; --sold-bg: #f8e6e3;
  --r: 14px; --r-lg: 22px;
  --shadow: 0 1px 2px rgba(12, 31, 51, .06), 0 8px 28px rgba(12, 31, 51, .12);
  --shadow-lg: 0 2px 4px rgba(12, 31, 51, .06), 0 24px 70px rgba(12, 31, 51, .22);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; overflow: hidden; }
body { font: 14px/1.45 var(--sans); color: var(--ink); background: #dfe9f1; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }

.glass { background: var(--surface); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .75); box-shadow: var(--shadow); }

/* ── top bar ── */
#top { position: fixed; top: 18px; left: 18px; right: 18px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; pointer-events: none; transition: right .6s var(--ease); z-index: 4; }
#top > * { pointer-events: auto; }
#brand { justify-self: start; display: flex; align-items: center; gap: 12px; padding: 9px 18px 9px 9px; border-radius: 16px; }
#brand-logo { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font: 600 15px/1 var(--serif); font-style: normal; letter-spacing: .04em; color: #fff; background: linear-gradient(145deg, #16395c, var(--ink)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
#brand strong { display: block; font: 600 18px/1.15 var(--serif); letter-spacing: .005em; white-space: nowrap; }
#brand span { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--mute); margin-top: 3px; white-space: nowrap; }
#filters { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; }
#filters button { padding: 8px 15px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #33475b; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
#filters button:hover { background: rgba(12, 31, 51, .06); }
#filters button.on { background: var(--ink); color: #fff; box-shadow: 0 2px 8px rgba(12, 31, 51, .25); }
#filters [data-avail].on { background: var(--accent); box-shadow: 0 2px 8px rgba(15, 158, 213, .35); }
#filters .sep { width: 1px; height: 18px; background: var(--line); margin: 0 5px; }
#count { justify-self: end; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 16px; }
#count b { font: 600 24px/1 var(--serif); color: var(--ok); font-variant-numeric: tabular-nums; }
#count span { font-size: 12px; font-weight: 500; line-height: 1.25; } #count small { display: block; font-size: 11px; font-weight: 400; color: var(--mute); }
body[data-unit="1"] #top { right: 420px; grid-template-columns: auto 1fr; }
body[data-unit="1"] #count { display: none; }
body[data-unit="1"] #filters { justify-self: center; }

/* ── floor rail ── */
#floors { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 3px; padding: 10px 7px 8px; border-radius: 18px; z-index: 3; }
#floors .cap { font-size: 9.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); text-align: center; padding: 0 0 6px; }
#floors button { position: relative; width: 40px; height: 34px; border-radius: 10px; font-size: 13.5px; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
#floors button b { font-weight: 500; }
#floors button small { position: absolute; top: 3px; right: 3px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; font-size: 9px; font-weight: 600; line-height: 14px; color: var(--ok); background: var(--ok-bg); }
#floors button:hover { background: rgba(12, 31, 51, .07); }
#floors button.on { background: var(--ink); color: #fff; }
#floors button.on small { background: rgba(255, 255, 255, .18); color: #fff; }

/* ── back + breadcrumbs ── */
#nav { position: fixed; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .5s, transform .5s var(--ease); z-index: 3; }
body[data-mode="floor"] #nav { opacity: 1; transform: none; pointer-events: auto; }
#back { height: 42px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow); transition: transform .2s, background .2s; }
#back:hover { background: #16395c; } #back:active { transform: scale(.97); }
#back span { margin-right: 5px; }
#crumbs { height: 42px; display: flex; align-items: center; padding: 0 16px; border-radius: 999px; font-size: 13px; color: var(--mute); }
#crumbs:empty { display: none; }
#crumbs a { cursor: pointer; transition: color .2s; } #crumbs a:hover { color: var(--ink); }
#crumbs i { margin: 0 8px; font-style: normal; opacity: .45; } #crumbs span { color: var(--ink); font-weight: 600; }

/* ── hint + legend ── */
#foot { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); height: 42px; display: flex; align-items: center; gap: 16px; padding: 0 18px; border-radius: 999px; pointer-events: none; white-space: nowrap; transition: left .6s var(--ease), opacity .4s; z-index: 2; }
#hint { font-size: 12.5px; font-weight: 500; color: #33475b; }
#legend { display: flex; gap: 14px; font-size: 12px; color: var(--mute); padding-left: 16px; border-left: 1px solid var(--line); }
#legend span { display: flex; align-items: center; }
#legend i, .lab i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
i.available { background: var(--ok); } i.reserved { background: var(--res); } i.sold { background: var(--sold); }
body[data-unit="1"] #foot { left: calc(50% - 200px); }
body[data-mode="floor"] #foot { opacity: 0; }

/* ── camera controls ── */
#cam { position: fixed; right: 18px; bottom: 72px; display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: 16px; z-index: 3; transition: right .6s var(--ease), bottom .6s var(--ease), opacity .3s; }
#cam button { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #33475b; transition: background .2s, color .2s; }
#cam button:hover { background: rgba(12, 31, 51, .07); }
#cam button.on { background: var(--ink); color: #fff; }
#cam i { height: 1px; margin: 4px 6px; background: var(--line); }
body[data-unit="1"] #cam { right: 424px; bottom: 18px; }
body[data-pano] #cam { opacity: 0 !important; pointer-events: none !important; }
body[data-drag="move"] #scene { cursor: move; }

/* ── compass, sun and time of day ── */
#sun { position: fixed; right: 78px; bottom: 72px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 18px; z-index: 3; transition: right .6s var(--ease), bottom .6s var(--ease), opacity .3s; }
#sun .dial { width: 76px; height: 76px; flex: none; }
#sun svg { display: block; overflow: visible; }
#sun .ring { fill: none; stroke: rgba(12, 31, 51, .28); stroke-width: 1; } #sun .ring.thin { stroke: rgba(12, 31, 51, .1); }
#sun .path { fill: none; stroke: #e2a12b; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 3.2; }
#sun .dot { fill: #f5b31f; stroke: #fff; stroke-width: 1.4; filter: drop-shadow(0 0 3px rgba(245, 179, 31, .9)); }
#sun .north { fill: #d2452f; } #sun .you { fill: var(--ink); }
#sun text { font: 600 7.5px var(--sans, system-ui); text-anchor: middle; fill: var(--mute); } #sun text.n { fill: #d2452f; font-size: 8.5px; }
#sun .info { width: 132px; display: flex; flex-direction: column; }
#sun .row { display: flex; align-items: center; justify-content: space-between; }
#sun-time { font: 600 20px/1 var(--serif); font-variant-numeric: tabular-nums; color: var(--ink); }
#sun-part { font-size: 11px; color: var(--mute); margin: 3px 0 7px; white-space: nowrap; }
#sun-play { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 31, 51, .07); color: var(--ink); transition: background .2s, color .2s; }
#sun-play:hover { background: rgba(12, 31, 51, .13); } #sun-play.on { background: var(--ink); color: #fff; }
#sun-range { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; margin: 0; background: none; cursor: pointer; --p: 50%; }
#sun-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #f0b23a var(--p), rgba(12, 31, 51, .14) var(--p)); }
#sun-range::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(12, 31, 51, .14); } #sun-range::-moz-range-progress { height: 4px; border-radius: 2px; background: #f0b23a; }
#sun-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: #fff; border: 2px solid #f0b23a; box-shadow: 0 1px 4px rgba(12, 31, 51, .25); }
#sun-range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid #f0b23a; box-shadow: 0 1px 4px rgba(12, 31, 51, .25); }
#sun .ends { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
#sun .dial { cursor: pointer; } #sun.min { padding: 8px; } #sun.min .info { display: none; }
body[data-unit="1"] #sun { right: 484px; bottom: 18px; }
body[data-pano] #sun { right: 18px; bottom: 18px; padding: 8px; } body[data-pano] #sun .info { display: none; }

/* ── statistics notice ── */
#consent { position: fixed; left: 18px; bottom: 72px; z-index: 40; width: min(360px, calc(100vw - 36px)); padding: 16px 18px; border-radius: 18px; display: grid; gap: 12px; animation: rise .4s var(--ease); }
#consent p { margin: 0; font-size: 12.5px; line-height: 1.45; color: #33475b; } #consent b { display: block; margin-bottom: 3px; font-size: 13.5px; color: var(--ink); } #consent a { color: var(--accent); }
#consent div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#consent button { height: 38px; border-radius: 11px; font-size: 13.5px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); background: rgba(255, 255, 255, .7); }
#consent button.yes { background: var(--ink); border-color: var(--ink); color: #fff; }
body[data-pano] #consent { display: none; }
@media (max-width: 820px) { #consent { left: 10px; right: 10px; bottom: 10px; width: auto; } }

/* ── tooltip ── */
#tip { position: fixed; top: 0; left: 0; pointer-events: none; padding: 10px 14px; border-radius: 12px; background: rgba(12, 31, 51, .94); color: #fff; font-size: 12.5px; display: flex; flex-direction: column; gap: 2px; opacity: 0; transition: opacity .18s; z-index: 5; white-space: nowrap; box-shadow: 0 10px 30px rgba(12, 31, 51, .3); }
#tip.on { opacity: 1; } #tip b { font: 600 15px var(--serif); } #tip span { opacity: .78; }
.st { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.st.available { color: var(--ok); } .st.reserved { color: var(--res); } .st.sold { color: var(--sold); }
#tip .st { margin-top: 3px; } #tip .st.available { color: #7fe0ae; } #tip .st.reserved { color: #f6c768; } #tip .st.sold { color: #f0a299; }

/* ── 3D labels ── */
#labels { position: fixed; inset: 0; pointer-events: none; overflow: hidden; opacity: 0; z-index: 1; }
.lab { position: absolute; top: 0; left: 0; white-space: nowrap; will-change: transform; }
.lab.room { text-align: center; display: flex; flex-direction: column; line-height: 1.2; padding: 5px 10px; border-radius: 9px; background: rgba(255, 255, 255, .88); box-shadow: 0 2px 10px rgba(12, 31, 51, .14); }
.lab.room b { font-size: 11.5px; font-weight: 600; } .lab.room span { font-size: 10.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.lab.tag { pointer-events: auto; cursor: pointer; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 3px 14px rgba(12, 31, 51, .16); font-size: 12px; display: flex; align-items: center; transition: background .2s, color .2s, transform .2s; }
.lab.tag b { margin-right: 6px; font-variant-numeric: tabular-nums; } .lab.tag span { color: var(--mute); }
.lab.tag:hover { background: var(--ink); color: #fff; } .lab.tag:hover span { color: rgba(255, 255, 255, .7); }
body[data-unit="1"] .lab.tag span { display: none; } body[data-unit="1"] .lab.tag b { margin-right: 0; }

/* ── apartment panel ── */
#panel { position: fixed; top: 14px; right: 14px; bottom: 14px; width: 392px; padding: 22px 26px 22px; border-radius: var(--r-lg); overflow-y: auto; scrollbar-width: thin; background: rgba(255, 255, 255, .96); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--shadow-lg); transform: translateX(calc(100% + 30px)); opacity: 0; transition: transform .7s var(--ease), opacity .5s; z-index: 6; }
body[data-unit="1"] #panel { transform: none; opacity: 1; }
.p-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.badge { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px 0 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.available { color: var(--ok); background: var(--ok-bg); } .badge.reserved { color: var(--res); background: var(--res-bg); } .badge.sold { color: var(--sold); background: var(--sold-bg); }
#p-close { width: 34px; height: 34px; border-radius: 50%; font-size: 21px; line-height: 1; color: var(--mute); background: var(--tint); transition: background .2s, color .2s; } #p-close:hover { background: #e6ecf1; color: var(--ink); }
.p-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
#panel h2 { font: 600 34px/1.08 var(--serif); letter-spacing: -.005em; margin: 6px 0 10px; }
.p-type { display: flex; flex-wrap: wrap; gap: 6px; }
.p-type span { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; color: #33475b; background: var(--tint); }
.p-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 20px 0 0; border-radius: var(--r); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.p-stats div { padding: 13px 12px 12px; background: var(--surface-solid); }
.p-stats b { display: block; font: 600 21px/1.1 var(--serif); font-variant-numeric: tabular-nums; } .p-stats small { font: 500 11px var(--sans); color: var(--mute); }
.p-stats span { display: block; margin-top: 3px; font-size: 10.5px; color: var(--mute); }
.p-price { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--tint); }
.p-price span { color: var(--mute); font-size: 12.5px; } .p-price b { font: 600 24px var(--serif); margin-left: auto; font-variant-numeric: tabular-nums; } .p-price small { color: var(--mute); font-size: 11.5px; }
.p-cta { display: grid; gap: 8px; margin-top: 16px; }
.p-cta [hidden] { display: none; }
.p-cta button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 13px; font-weight: 600; font-size: 14px; transition: filter .2s, background .2s, transform .15s, box-shadow .2s; }
.p-cta button:active { transform: scale(.985); }
.p-cta .primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(15, 158, 213, .32); } .p-cta .primary:hover { filter: brightness(1.06); box-shadow: 0 8px 22px rgba(15, 158, 213, .4); }
.p-cta .tour { background: var(--ink); color: #fff; } .p-cta .tour:hover { background: #16395c; }
.p-cta .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.p-cta .ghost { height: 42px; font-size: 13px; font-weight: 500; color: #33475b; border: 1px solid var(--line); } .p-cta .ghost:hover { background: var(--tint); }
#panel h3 { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin: 24px 0 8px; font-weight: 600; }
.p-rooms { list-style: none; padding: 0; } .p-rooms li { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.p-rooms li:last-child { border-bottom: 0; }
.p-facts a { color: var(--accent); cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 3px; }
.p-rooms li span:last-child { color: var(--mute); font-variant-numeric: tabular-nums; }
.mini { width: 100%; display: block; border-radius: var(--r); background: var(--tint); padding: 12px; max-height: 190px; }
.mini rect { fill: #d9e0e7; stroke: #fff; stroke-width: .12; } .mini .c { fill: #c9d2da; }
.mini .u { cursor: pointer; transition: opacity .2s; } .mini .u:hover rect { fill: var(--accent-soft); }
.mini .u.sel rect { fill: var(--accent); } .mini .b { opacity: .55; }
.p-note { font-size: 10.5px; color: var(--mute-2); margin-top: 16px; line-height: 1.45; }

#demo-badge { position: fixed; right: 18px; bottom: 18px; height: 42px; display: flex; align-items: center; font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); background: var(--surface); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 0 14px; border-radius: 999px; box-shadow: var(--shadow); transition: opacity .3s; z-index: 2; }
body[data-unit="1"] #demo-badge { opacity: 0; }

/* ── loader ── */
#loader { position: fixed; inset: 0; background: linear-gradient(180deg, #eaf2f8, #dbe7f0); display: grid; place-items: center; transition: opacity .9s .1s; z-index: 80; }
#loader.done { opacity: 0; pointer-events: none; }
#loader > div { display: grid; justify-items: center; gap: 10px; }
#loader span { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(12, 31, 51, .12); border-top-color: var(--accent); animation: spin .9s linear infinite; margin-bottom: 8px; }
#loader strong { font: 600 22px var(--serif); } #loader small { font-size: 12px; letter-spacing: .04em; color: var(--mute); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── enquiry form ── */
#enq { position: fixed; inset: 0; z-index: 60; display: none; align-items: center; justify-content: center; background: rgba(8, 20, 34, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
#enq.on { display: flex; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
#enq form { position: relative; width: min(450px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; color: var(--ink); animation: rise .35s var(--ease); }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
#enq h2 { margin: 0; font: 600 26px var(--serif); } #enq p { margin: -6px 0 2px; color: var(--mute); font-size: 13.5px; }
#enq label { display: grid; gap: 5px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
#enq input, #enq textarea { font: 400 15px var(--sans); text-transform: none; letter-spacing: 0; color: var(--ink); padding: 11px 13px; border: 1px solid #d5dde5; border-radius: 11px; outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s; }
#enq input:focus, #enq textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
#enq .primary { height: 48px; border-radius: 13px; font-weight: 600; color: #fff; background: var(--accent); box-shadow: 0 6px 18px rgba(15, 158, 213, .32); }
#enq .x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); font-size: 21px; line-height: 1; color: var(--mute); }
#enq .note { font-size: 12px; margin: 0; }
#enq .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-right: 42px; border-radius: 13px; background: var(--tint); }
#enq .tabs button { height: 38px; border-radius: 10px; font-size: 13.5px; font-weight: 600; color: var(--mute); transition: background .2s, color .2s, box-shadow .2s; }
#enq .tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(12, 31, 51, .14); }
#enq .what { margin: -2px 0 0; }
#enq .visit { display: none; gap: 8px; } #enq form[data-mode="visit"] .visit { display: grid; }
#enq .cap { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
#enq .days { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
#enq .days button { flex: none; width: 56px; padding: 7px 0 8px; border-radius: 12px; border: 1px solid #d5dde5; display: grid; gap: 1px; justify-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
#enq .days small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); } #enq .days b { font: 600 19px/1.1 var(--serif); }
#enq .slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } #enq .slots em { grid-column: 1 / -1; font-size: 13px; color: var(--mute); }
#enq .slots button { height: 38px; border-radius: 10px; border: 1px solid #d5dde5; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
#enq .days button:hover, #enq .slots button:hover { border-color: var(--accent); }
#enq .days button.on, #enq .slots button.on { background: var(--ink); border-color: var(--ink); color: #fff; } #enq .days button.on small { color: rgba(255, 255, 255, .7); }
#enq .where { margin: 0; font-size: 12.5px; }
#enq .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } #enq .two input { width: 100%; min-width: 0; }
#enq .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#enq label.ok { display: flex; align-items: flex-start; gap: 9px; font-size: 12.5px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.4; cursor: pointer; }
#enq label.ok input { flex: none; width: 17px; height: 17px; margin: 1px 0 0; padding: 0; accent-color: var(--accent); } #enq label.ok a { color: var(--accent); }
#enq .err { margin: 0; padding: 9px 12px; border-radius: 10px; font-size: 13px; color: #a3301f; background: #fdecea; } #enq .err[hidden] { display: none; }
#enq .primary:disabled { opacity: .6; }
#enq .sum { display: grid; gap: 3px; padding: 14px 16px; border-radius: 13px; background: var(--tint); } #enq .sum b { font: 600 17px var(--serif); } #enq .sum span { font-size: 13.5px; color: #33475b; }
#enq .cal { display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 13px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; } #enq .cal:hover { background: var(--tint); }
.p-cta .visit { height: 44px; color: var(--accent); border: 1.5px solid var(--accent); background: #fff; } .p-cta .visit:hover { background: var(--accent-soft); }
#enq .link { display: flex; gap: 6px; } #enq .link input { flex: 1; min-width: 0; font-size: 13px; color: #33475b; background: var(--tint); border-color: transparent; }
#enq .link button { flex: none; padding: 0 16px; border-radius: 11px; font-size: 13.5px; font-weight: 600; color: #fff; background: var(--ink); }
#enq .ways { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
#enq .ways a, #enq .ways button { display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 13px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background .2s; }
#enq .ways a:hover, #enq .ways button:hover { background: var(--tint); } #enq .ways [data-s="wa"] { color: #128c4b; }
@media (max-width: 480px) { #enq form { padding: 22px 18px; gap: 11px; } #enq .tabs button { font-size: 12.5px; } }

/* ── panorama mode ── */
#pano-ui { position: fixed; left: 0; right: 0; bottom: 20px; z-index: 40; display: none; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
body[data-pano] #pano-ui { display: flex; }
#pano-ui button { pointer-events: auto; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink); background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); transition: background .2s, color .2s; }
#pano-ui .rooms { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 6px; border-radius: 999px; background: rgba(12, 31, 51, .35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
#pano-ui .rooms button { height: 38px; box-shadow: none; background: transparent; color: #fff; }
#pano-ui .rooms button:hover { background: rgba(255, 255, 255, .16); }
#pano-ui .rooms .on, #pano-ui .rooms .on:hover { background: #fff; color: var(--ink); }
#pano-ui .exit { position: fixed; top: 18px; left: 18px; background: var(--ink); color: #fff; }
#pano-ui .hint { font-size: 12px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
body[data-pano] #panel, body[data-pano] #top, body[data-pano] #floors, body[data-pano] #nav, body[data-pano] #foot, body[data-pano] #labels, body[data-pano] #tip, body[data-pano] #demo-badge { opacity: 0 !important; pointer-events: none !important; }
body[data-pano] #scene { cursor: grab; } body[data-pano] #scene:active { cursor: grabbing; }
#fps { position: fixed; left: 50%; top: 80px; transform: translateX(-50%); z-index: 70; font: 12px/1.3 ui-monospace, monospace; color: #fff; background: rgba(12, 31, 51, .75); padding: 6px 10px; border-radius: 8px; pointer-events: none; }

/* ── medium widths: brand collapses to its mark ── */
@media (max-width: 1180px) {
  #brand span { display: none; } #count span small { display: none; }
  body[data-unit="1"] #brand > div { display: none; } body[data-unit="1"] #brand { padding: 9px; }
}

/* ── phones ── */
@media (max-width: 820px) {
  #top { top: 10px; left: 10px; right: 10px; grid-template-columns: 1fr; gap: 8px; }
  #brand { padding: 7px 14px 7px 7px; } #brand-logo { width: 34px; height: 34px; font-size: 13px; } #brand strong { font-size: 16px; } #brand span { display: block; font-size: 9.5px; }
  #count { display: none; }
  #filters { justify-self: stretch; overflow-x: auto; scrollbar-width: none; } #filters::-webkit-scrollbar { display: none; }
  #filters button { padding: 7px 12px; font-size: 12.5px; }
  body[data-unit="1"] #top { right: 10px; grid-template-columns: 1fr; }
  #sun { right: auto; left: 10px; bottom: 62px; padding: 6px 12px 6px 6px; gap: 8px; } #sun .dial, #sun .dial svg { width: 60px; height: 60px; } #sun .info { width: 118px; } #sun-time { font-size: 17px; } #sun-part { margin: 2px 0 4px; }
  #sun.min { padding: 5px; } #foot { max-width: calc(100vw - 20px); overflow: hidden; } #hint { overflow: hidden; text-overflow: ellipsis; }
  body[data-unit="1"] #sun { right: auto; left: 10px; bottom: auto; top: 64px; } body[data-pano] #sun { right: auto; left: 10px; bottom: 62px; }
  #cam { right: 10px; bottom: auto; top: 50%; transform: translateY(-50%); padding: 5px; } #cam button { width: 34px; height: 34px; }
  body[data-unit="1"] #cam { right: 10px; bottom: auto; top: 28%; }
  #floors { left: 10px; padding: 8px 5px 6px; } #floors button { width: 36px; height: 32px; font-size: 12.5px; }
  #panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 48vh; transform: translateY(calc(100% + 20px)); padding: 16px 18px 18px; border-radius: 20px; }
  #panel h2 { font-size: 26px; } .p-head { margin-bottom: 10px; } .p-stats { margin-top: 14px; }
  #foot { bottom: 12px; height: 38px; padding: 0 14px; } #legend { display: none; }
  body[data-unit="1"] #foot, #demo-badge { display: none; }
  #nav { left: 10px; bottom: 12px; } #back { height: 38px; } #crumbs { display: none; }
  body[data-unit="1"] #nav { bottom: calc(48vh + 16px); }
  body[data-unit="1"] #floors, body[data-unit="1"] #brand { display: none; }
  body[data-mode="floor"] #foot { display: none; }
}
