:root { --journey-ink:#4c2530; --journey-paper:#f5f0e6; --journey-rule:#c9c1b0; --mast-height:80px; }
@media (max-width:930px) { :root { --mast-height:70px; } }
@media (max-width:700px) { :root { --mast-height:62px; } }
html { scroll-padding-top:0; }
.mast { position:sticky; top:0; z-index:12; }
html[data-rco-opening] .mast, body.journey-cinema .mast { visibility:hidden; }
.journey-arrival { position:relative; min-height:100svh; height:100svh; margin-top:calc(-1 * var(--mast-height)); isolation:isolate; overflow:hidden; color:#fff; background:#b9b2a3; }
.journey-aerial,.journey-flight { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center; display:block; }
.journey-flight { opacity:0; transition:opacity .3s; }
.journey-arrival[data-footage] .journey-flight { opacity:1; }
.journey-arrival::after { content:""; position:absolute; inset:auto 0 0; height:min(34%,18rem); pointer-events:none; background:linear-gradient(transparent,rgba(31,21,19,.58)); }
.journey-arrival-foot { position:absolute; z-index:1; bottom:max(2.3rem,env(safe-area-inset-bottom)); left:clamp(1.1rem,5vw,6rem); right:clamp(1.1rem,5vw,6rem); display:flex; align-items:flex-end; justify-content:space-between; gap:1.25rem; text-shadow:0 2px 16px #0007; }
.journey-address,.journey-heading p,.journey-tour-bar p { margin:0 0 .3rem; font:500 .73rem/1.2 var(--sans); letter-spacing:.13em; text-transform:uppercase; }
.journey-arrival h1 { font:400 clamp(1.6rem,3.4vw,3.75rem)/1.08 var(--serif); margin:0; letter-spacing:-.035em; }
.journey-flight-controls { display:flex; gap:1rem; align-items:center; }
.journey-flight-controls button,.journey-flight-controls a { color:#fff; font:500 .88rem/1.35 var(--sans); display:inline-flex; align-items:center; gap:.55rem; min-height:44px; }
.journey-flight-controls a { padding:.6rem 1rem; border:1px solid #ffffff9c; background:#28191e45; border-radius:2px; }
.journey-flight-controls button:hover,.journey-bottom-nav a:hover { text-decoration:underline; text-underline-offset:.25em; }
.journey-building { color:var(--journey-ink); background:var(--journey-paper); scroll-margin-top:var(--mast-height); padding:clamp(1rem,2vw,2.4rem) clamp(1rem,3.2vw,4rem) 0; }
.journey-toolbar,.journey-layout,.journey-bottom-nav { max-width:1960px; margin-inline:auto; }
.journey-toolbar { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1rem; }
.journey-heading h2 { font:400 clamp(1.9rem,3.2vw,3.5rem)/1.02 var(--serif); letter-spacing:-.045em; margin:0; }
.journey-heading p,.journey-tour-bar p { color:#6f5756; }
.journey-modes { display:flex; align-items:center; border:1px solid var(--journey-rule); padding:3px; }
.journey-modes a { display:inline-flex; gap:.5rem; align-items:center; justify-content:center; min-height:39px; padding:.5rem .95rem; font-size:.89rem; }
.journey-modes a[aria-current=true] { background:var(--journey-ink); color:var(--journey-paper); }
.journey-layout { display:grid; grid-template-columns:minmax(0,1fr); background:#eee9df; min-width:0; border:1px solid var(--journey-rule); }
.journey-building:is([data-view=model],[data-view=floor]) .journey-layout { grid-template-columns:minmax(0,1fr) clamp(13rem,21vw,19rem); }
.journey-building[data-view=exploded] .journey-layout { grid-template-columns:minmax(0,1fr) clamp(19rem,28vw,27rem); }
.journey-stage { position:relative; min-width:0; height:clamp(23rem,calc(100svh - var(--mast-height) - 10.2rem),68rem); isolation:isolate; overflow:hidden; background:#eae5d9; }
.journey-viewer,.journey-model-poster { position:absolute; inset:0; width:100%; height:100%; }
.journey-model-poster { object-fit:cover; transition:opacity .4s; }
.journey-building[data-ready] .journey-model-poster { opacity:0; }
.journey-building[data-fallback][data-view=floor] .journey-model-poster { object-fit:contain; padding:1rem 1rem 4.5rem; }
.journey-viewer canvas { display:block; touch-action:none; width:100%; height:100%; }
.journey-stage-status { position:absolute; z-index:2; top:.8rem; left:.8rem; padding:.32rem .55rem; background:#f6f2e7ee; color:var(--journey-ink); font-size:.85rem; max-width:calc(100% - 1.6rem); }
.journey-stage-foot { pointer-events:none; display:flex; align-items:flex-end; justify-content:space-between; gap:.5rem; position:absolute; z-index:2; inset:auto clamp(.5rem,2vw,1.5rem) clamp(.5rem,1.4vw,1.15rem); }
.journey-gesture { font-size:.78rem; color:var(--journey-ink); background:#f5f0e6ef; padding:.4rem .65rem; }
.journey-stage-actions { display:flex; align-items:center; gap:6px; pointer-events:auto; }
.journey-stage-actions button,.journey-stage-actions a { display:inline-flex; justify-content:center; align-items:center; min-width:44px; min-height:44px; padding:0 .7rem; gap:.5rem; color:var(--journey-ink); background:var(--journey-paper); border:1px solid #8d77728a; border-radius:2px; font-size:.88rem; }
.journey-stage-actions .journey-model-enter { background:var(--journey-ink); color:var(--journey-paper); padding:0 .9rem; }
.journey-building:is([data-view=floor],[data-view=exploded]) .journey-model-enter { display:none; }
.property-house-hotspot { color:#4c2530; background:#f6f0e4f5; border:1px solid #805561a6; border-radius:2px; padding:.48rem .8rem; min-height:36px; box-shadow:0 2px 10px #34151e18; font:500 .85rem/1.25 var(--sans); white-space:nowrap; }
.journey-bottom-nav { display:flex; gap:1.4rem; flex-wrap:wrap; justify-content:flex-end; font-size:.85rem; }
.journey-bottom-nav a,.journey-bottom-nav button { min-height:44px; display:flex; align-items:center; font:inherit; color:inherit; }
.journey-rail { background-color:var(--rco-paper-colour,#faf7f0); background-image:var(--rco-paper-image,none); padding:clamp(.6rem,1.35vw,1.45rem); border-left:1px solid var(--journey-rule); max-height:clamp(23rem,calc(100svh - var(--mast-height) - 10.2rem),68rem); overflow:auto; }
.journey-rail-head { display:flex; justify-content:space-between; align-items:center; gap:.25rem; padding:0 0 .65rem; }
.journey-rail h3 { margin:0; font:400 1.5rem/1.1 var(--serif); }
.journey-rail-head>a { text-decoration:underline; text-underline-offset:.15em; font-size:.8rem; }
.journey-pick,.journey-plan-room { display:flex; width:100%; gap:.75rem; align-items:center; min-height:44px; padding:.72rem 0; border-top:1px solid var(--journey-rule); text-align:left; color:var(--journey-ink); font-size:.9rem; }
.journey-pick span:first-child { flex:1; }
.journey-pick .level-code { flex:0 0 2rem; font:400 1.35rem/1 var(--serif); color:#83535e; }
.journey-pick svg { flex:none; width:14px; }
.journey-pick:hover { text-decoration:underline; text-underline-offset:.2em; }
.journey-plan-room { color:#736962; justify-content:space-between; }
.journey-plan-room small { font-size:.72rem; }
.journey-building [hidden] { display:none !important; }
.journey-building[data-view=exploded] .journey-rail-head { padding-bottom:.35rem; }
.journey-building[data-view=exploded] #journey-rail-title,.journey-floor-total>span { font:600 .73rem/1.35 var(--rco-type, var(--serif)); letter-spacing:.045em; }
.journey-building[data-view=exploded] #journey-picks { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:2px; border-bottom:1px solid var(--journey-rule); padding-bottom:.8rem; }
.journey-building[data-view=exploded] #journey-picks a { display:grid; place-items:center; min-height:42px; color:var(--journey-ink); font:500 .88rem/1 var(--rco-type, var(--serif)); }
.journey-building[data-view=exploded] #journey-picks a[aria-current=true] { background:var(--journey-ink); color:var(--journey-paper); }
.journey-building[data-view=exploded] #journey-picks a:hover:not([aria-current]) { background:#eae2d5; }
.journey-floor-card { padding-top:clamp(.9rem,1.8vw,1.55rem); }
.journey-floor-card h3 { font:400 clamp(1.8rem,2.1vw,2.5rem)/1.06 var(--rco-type, var(--serif)); letter-spacing:-.035em; }
.journey-floor-total { margin:.9rem 0; }
.journey-floor-total>span { color:#695b58; }
.journey-floor-total p { display:flex; align-items:baseline; flex-wrap:wrap; gap:.6rem; margin:.1rem 0 0; }
.journey-floor-total strong { font:400 1.55rem/1.25 var(--rco-type, var(--serif)); }
.journey-floor-total p>span { color:#695b58; font:.84rem/1.4 var(--rco-type, var(--serif)); }
.journey-open-floor { display:inline-flex; align-items:center; justify-content:space-between; width:100%; min-height:44px; gap:1rem; background:var(--journey-ink); color:var(--journey-paper); padding:.65rem .9rem; font:500 .88rem/1.25 var(--rco-type, var(--serif)); }
.journey-open-floor:hover { background:#653643; }
.journey-open-floor svg { width:14px; height:14px; }
.journey-area-table { width:100%; border-collapse:collapse; margin-top:1.15rem; font:.87rem/1.32 var(--rco-type, var(--serif)); }
.journey-area-table thead th { font-size:.73rem; font-weight:600; color:#695b58; }
.journey-area-table th,.journey-area-table td { padding:.58rem .15rem; text-align:right; font-variant-numeric:tabular-nums; vertical-align:top; }
.journey-area-table tr { border-bottom:1px solid var(--journey-rule); }
.journey-area-table th:first-child { padding-left:0; text-align:left; }
.journey-area-table tbody th { font-weight:400; }
.journey-area-table td { white-space:nowrap; padding-left:.65rem; }
.journey-rail :focus-visible,.journey-flat-level:focus-visible { outline:2px solid #8d485a; outline-offset:2px; }
#journey-tour { --visit-size:min(34rem,calc(100vw - 2.25rem),calc((100dvh - 9rem) * .61)); --plan-height:calc(var(--visit-size) * .63); --visit-pad:.65rem; width:min(calc(100vw - 1rem),max(21rem,calc(var(--visit-size) + 2 * var(--visit-pad) + 2px))); height:fit-content; max-width:calc(100vw - 1rem); max-height:calc(100dvh - 1rem); margin:auto; border:1px solid #a49782; border-radius:0; background:var(--journey-paper); color:var(--journey-ink); overflow:auto; }
#journey-tour::backdrop { background:#20171bd6; }
.journey-tour-bar { display:flex; align-items:center; flex:none; gap:.65rem; padding:.5rem var(--visit-pad); border-bottom:1px solid var(--journey-rule); }
.journey-tour-bar label { font-size:.73rem; line-height:1.15; max-width:4rem; }
.journey-tour-bar select,.journey-tour-foot select { min-width:0; border:1px solid var(--journey-rule); border-radius:2px; color:var(--journey-ink); background:#fffdf8; font-family:var(--sans); }
.journey-tour-bar select { flex:1; height:40px; padding:0 .45rem; font-size:.95rem; }
#journey-tour-back { min-width:40px; min-height:40px; padding:.55rem; display:grid; place-items:center; border:1px solid var(--journey-rule); }
#journey-tour-back svg { width:18px; height:18px; }
.journey-tour-stack { display:flex; flex-direction:column; align-items:center; gap:.4rem; flex:none; min-height:0; padding:var(--visit-pad) var(--visit-pad) 0; }
#journey-floorplan { width:100%; background:#fffcf7; color:var(--journey-ink); border:1px solid var(--journey-rule); }
.journey-plan-bar { display:flex; align-items:center; justify-content:space-between; gap:.2rem; height:34px; border-bottom:1px solid var(--journey-rule); padding:0 .35rem 0 .65rem; font-size:.75rem; }
.journey-plan-bar div { display:flex; align-items:center; }
.journey-plan-bar button { min-height:32px; min-width:32px; padding:0 .4rem; font-size:.85rem; color:var(--journey-ink); }
.journey-plan-bar button:disabled { opacity:.3; }
.journey-plan-bar button:hover:not(:disabled) { background:#ece4d7; }
.journey-plan-canvas { position:relative; isolation:isolate; }
#journey-room-preview { position:absolute; z-index:1; pointer-events:none; width:min(10.5rem,42%); margin:0; overflow:hidden; background:#fffaf1; border:1px solid #ad9680; box-shadow:0 3px 12px #34242b36; color:var(--journey-ink); }
#journey-room-preview img { display:block; width:100%; aspect-ratio:16 / 10; object-fit:cover; }
#journey-room-preview figcaption { margin:0; padding:.27rem .48rem .32rem; font:.86rem/1.15 var(--rco-type, var(--serif)); }
@media(max-height:550px) { #journey-room-preview { width:min(7.5rem,32%); } }
#journey-plan-svg { display:block; width:100%; height:var(--plan-height); background:#fffdf8; touch-action:none; user-select:none; }
#journey-plan-svg[data-zoomed] { cursor:grab; }
#journey-plan-svg[data-dragging] { cursor:grabbing; }
#journey-plan-svg .plan-room { cursor:pointer; }
#journey-plan-svg .plan-room polygon { fill:transparent; stroke:none; }
#journey-plan-svg .plan-room circle { fill:#6a3343; stroke:#fffaf1; stroke-width:1.5px; vector-effect:non-scaling-stroke; pointer-events:none; }
#journey-plan-svg .plan-room:is(:hover,:focus-visible,[aria-current=true]) polygon { fill:#8e46582b; stroke:#854251; stroke-width:1px; vector-effect:non-scaling-stroke; }
#journey-plan-svg .plan-room[aria-current=true] circle { fill:#fff9ec; stroke:#662c3d; stroke-width:2px; }
#journey-tour-frame { position:relative; flex:none; width:var(--visit-size); height:var(--visit-size); max-width:100%; background:#211d1d; }
#journey-tour-frame iframe { display:block; width:100%; height:100%; border:0; }
.journey-tour-foot { display:flex; align-items:center; gap:.35rem; min-height:44px; padding:.35rem var(--visit-pad); font-size:.74rem; }
.journey-tour-foot>select { flex:1; }
.journey-tour-foot select { height:30px; max-width:100%; padding-inline:.15rem; font-size:.75rem; }
#journey-scene-label { display:flex; align-items:center; gap:.25rem; min-width:0; max-width:42%; }
#journey-scene { flex:1; }
#journey-external { display:grid; place-items:center; min-width:30px; min-height:32px; margin-left:auto; font-size:1.2rem; }
#journey-tour [hidden] { display:none; }
@media(max-height:520px) {
  #journey-tour { --visit-size:min(calc(100vw - 2rem),max(125px,calc((100dvh - 7rem) * .60))); --visit-pad:.25rem; }
  .journey-tour-bar { padding-block:.2rem; }
  .journey-tour-bar select,#journey-tour-back { min-height:32px; height:32px; }
  .journey-plan-bar { height:28px; }
  .journey-plan-bar button { min-height:26px; }
  .journey-tour-foot { min-height:34px; padding-block:2px; }
}
body:has(#journey-tour[open]) { overflow:hidden; }
@media(max-width:700px) {
  .journey-arrival-foot { display:grid; gap:.6rem; bottom:max(1rem,env(safe-area-inset-bottom)); }
  .journey-flight-controls { gap:.9rem; }
  .journey-toolbar { flex-wrap:wrap; align-items:flex-end; gap:.7rem; }
  .journey-heading p { font-size:.67rem; }
  .journey-heading h2 { font-size:1.8rem; }
  .journey-modes a { padding:.38rem .6rem; min-height:38px; }
  .journey-building:is([data-view=model],[data-view=exploded],[data-view=floor]) .journey-layout { grid-template-columns:1fr; }
  .journey-stage { height:min(65svh,34rem); min-height:19rem; }
  .journey-building:is([data-view=exploded],[data-view=floor]) .journey-stage { height:min(55svh,29rem); min-height:16rem; }
  .journey-building[data-view=exploded] .journey-stage { height:clamp(15rem,40svh,26rem); min-height:0; }
  .journey-building[data-view=model] .journey-stage { height:clamp(16rem,49svh,30rem); min-height:0; }
  .journey-rail { border-left:0; border-top:1px solid var(--journey-rule); max-height:none; padding:.85rem; }
  #journey-picks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:1rem; }
  .journey-pick,.journey-plan-room { font-size:.84rem; gap:.3rem; }
  .journey-gesture { max-width:46%; font-size:.72rem; }
  .journey-stage-actions { gap:3px; }
  .journey-stage-actions a,.journey-stage-actions button { font-size:.78rem; padding-inline:.45rem; }
  .journey-stage-foot { flex-wrap:wrap; }
  .journey-bottom-nav { gap:.85rem; }
}
@media(prefers-reduced-motion:reduce) { .journey-flight,.journey-model-poster { transition:none; } }
.journey-building[data-fallback] .journey-viewer { visibility:hidden; }
#journey-static-stage { position:absolute; inset:0; }
#journey-static-stage > svg { position:absolute; top:3%; left:2%; width:96%; height:90%; stroke:none; fill:none; }
#journey-static-stage polygon { fill:transparent; cursor:pointer; pointer-events:all; }
#journey-static-stage a:hover polygon,#journey-static-stage a:focus polygon { fill:#6c2b3c20; stroke:#752e3c; stroke-width:2.5; }
.journey-flat-level { position:absolute; left:50%; top:calc(77% - var(--stack-position) * 53%); width:min(72%,38rem); height:16%; transform:translate(-50%,-50%); }
.journey-flat-level img { width:100%; height:100%; object-fit:fill; transform:skewY(-4deg) scaleX(1.05); filter:drop-shadow(0 4px 2px #39251c32); }
.journey-flat-level span { position:absolute; top:50%; right:2%; background:var(--journey-paper); color:var(--journey-ink); font:500 .8rem var(--sans); padding:.14rem .35rem; }
.journey-flat-level:hover img,.journey-flat-level:focus img { filter:drop-shadow(0 4px 5px #5520399c); }
.journey-building[data-view=orbit]:not([data-fallback]) .journey-stage-foot { bottom:max(2rem,3.2%); }
