:root {
  color-scheme: light;
  --paper: #f5f4ed;
  --ink: #202b24;
  --moss: #2b4334;
  --muted: #536256;
  --line: #d8ded1;
  --lime: #e5edaa;
  --pine: #192a21;
  --white: #fcfcf7;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Baskerville, "Palatino Linotype", Palatino, Georgia, serif;
  --page-gutter: max(clamp(20px, 4vw, 64px), env(safe-area-inset-left), env(safe-area-inset-right));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a { touch-action: manipulation; }
button { user-select: none; -webkit-user-select: none; }
button:active, .button:active, .header-cta:active { opacity: .78; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #8f9a3f; outline-offset: 4px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 4; top: 1rem; left: 1rem; transform: translateY(-180%); padding: .65rem 1rem; color: var(--white); background: var(--pine); }
.skip:focus { transform: translateY(0); }
.shell { width: min(calc(100% - 2 * var(--page-gutter)), 1272px); margin-inline: auto; }

.site-header { padding: env(safe-area-inset-top) max(var(--page-gutter), env(safe-area-inset-right)) 0 max(var(--page-gutter), env(safe-area-inset-left)); }
.header-inner { min-height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; max-width: 1550px; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 11px; font-size: .94rem; font-weight: 730; line-height: 1.2; white-space: nowrap; }
.brand small { display: block; margin-top: 4px; color: var(--muted); font-weight: 510; font-size: .73rem; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #dfe4d1; color: var(--moss); flex: none; }
.brand-mark svg { width: 25px; height: 25px; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 3.2vw, 46px); color: var(--muted); font-size: .89rem; font-weight: 600; }
.site-header nav a { display: grid; place-items: center; min-height: 44px; }
.header-cta { display: inline-flex; justify-self: end; align-items: center; gap: 11px; padding: 0 15px; min-height: 44px; border: 1px solid #a9b5a4; border-radius: 100px; color: var(--moss); font-size: .84rem; font-weight: 700; white-space: nowrap; }
.header-cta .icon { width: 15px; height: 15px; }

.hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(510px, 72svh, 810px); width: min(calc(100% - 2 * clamp(10px, 2.2vw, 36px)), 1660px); margin-inline: auto; overflow: hidden; border-radius: 15px; background: #405747; color: var(--white); }
.hero::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(86deg, rgba(13,25,18,.78) 0%, rgba(14,28,19,.54) 35%, transparent 76%), linear-gradient(0deg, rgba(10,20,14,.40), transparent 58%); }
.hero picture { position: absolute; inset: 0; z-index: -2; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.hero-inner { padding: clamp(32px, 6vw, 100px) clamp(26px, 5.6vw, 100px) clamp(45px, 8.5vh, 98px); }
.hero-label { display: flex; align-items: center; gap: 9px; width: fit-content; border: 1px solid #ffffff6e; border-radius: 100px; padding: 6px 13px; background: #17261d8c; font-size: .8rem; font-weight: 690; }
.hero-label > span:first-child, .stage-label > span:first-child { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero h1 { margin: 19px 0 17px; max-width: 790px; font: 400 clamp(4rem, 8.6vw, 9rem)/.87 var(--display); letter-spacing: -.058em; text-wrap: balance; }
.hero-summary { max-width: 34ch; color: #f2f5ec; font-size: clamp(.98rem, 1.35vw, 1.16rem); line-height: 1.57; }
.button { display: inline-flex; align-items: center; gap: 19px; min-height: 53px; border-radius: 100px; padding: 0 21px; font-size: .91rem; font-weight: 760; }
.button-lime { background: var(--lime); color: #243126; }
.hero .button { margin-top: 25px; }
.hero-index { display: flex; align-items: center; gap: 9px; position: absolute; right: clamp(23px, 3.5vw, 56px); bottom: 29px; padding: 8px 13px; border-radius: 100px; background: #14251bd9; font-size: .75rem; }
.hero-index .icon { width: 15px; height: 15px; }

.summary { margin-top: clamp(32px, 5vw, 68px); }
.property-facts { margin: 0; padding: 25px 0; border-block: 1px solid var(--line); }
.property-facts dt { color: var(--muted); }
.property-facts dd { margin: 4px 0 0; }

.section-spacing { padding-block: clamp(65px, 8vw, 120px); scroll-margin-top: 12px; }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 27rem); gap: 18px 52px; align-items: end; margin-bottom: clamp(22px, 4vw, 40px); }
.section-tag { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--moss); font-size: .82rem; font-weight: 700; }
.section-tag span { display: grid; place-items: center; border-radius: 50%; width: 28px; height: 28px; border: 1px solid #adbaaa; font-variant-numeric: tabular-nums; font-size: .66rem; }
h2 { font: 400 clamp(2.8rem, 6vw, 6.2rem)/.95 var(--display); letter-spacing: -.055em; }
.section-intro > p { max-width: 37ch; color: var(--muted); padding-bottom: 3px; font-size: clamp(.94rem, 1.15vw, 1.06rem); }

.viewer { background: var(--pine); color: var(--white); border-radius: 14px; overflow: hidden; }
.stage { position: relative; height: clamp(340px, 45vw, 565px); background: #101b14; }
.viewport { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.viewport.is-pannable { cursor: grab; }
.viewport.is-dragging { cursor: grabbing; }
.viewport:focus-visible { outline-offset: -5px; }
#pano { position: absolute; top: 0; left: 0; max-width: none; pointer-events: none; visibility: hidden; }
#pano.is-ready { visibility: visible; }
.stage-top, .stage-bottom { position: absolute; pointer-events: none; left: 17px; right: 17px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.stage-top { top: 17px; }
.stage-bottom { bottom: 17px; align-items: end; }
.stage-top button, .stage-bottom button { pointer-events: auto; }
.glass { border: 1px solid #ffffff52; color: var(--white); background: #14251be8; border-radius: 100px; }
.stage-label, .drag-hint { display: inline-flex; align-items: center; gap: 9px; padding: 7px 12px; font-size: .76rem; font-weight: 630; }
.drag-hint .icon { width: 17px; height: 17px; }
.zoom { display: flex; overflow: hidden; }
.zoom button + button { border-inline-start: 1px solid #ffffff45; }
.zoom button:focus-visible { outline-offset: -4px; }
.icon-button { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0; }
.icon-button:not(.glass) { background: transparent; color: inherit; border: 0; }
.icon-button:disabled { opacity: .45; }
.stage-message { display: grid; position: absolute; inset: 0; pointer-events: none; place-items: center; text-align: center; padding: 1rem; font-weight: 600; }

.viewer-bar { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(120px, 260px) 1fr; align-items: center; gap: 24px; padding: 18px 22px 16px; }
.scene-current { display: flex; align-items: baseline; gap: 11px; flex-wrap: wrap; }
.scene-count { color: var(--lime); font-size: .76rem; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; }
.scene-current h3 { font-size: 1.08rem; font-weight: 650; line-height: 1.2; }
.pan-control { display: flex; align-items: center; gap: 10px; min-width: 0; color: #bac9b9; }
.pan-control input { accent-color: var(--lime); width: 100%; min-height: 30px; cursor: pointer; }
.pan-control input:disabled { cursor: default; opacity: .5; }
.pan-control .icon { width: 17px; height: 17px; }
.viewer-arrows { display: flex; gap: 8px; justify-content: end; }
.icon-button.outlined { border: 1px solid #7d9181; border-radius: 50%; }
.scene-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 1fr); gap: 8px; padding: 0 17px 15px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #738775 var(--pine); scroll-snap-type: x proximity; scroll-padding-inline: 17px; }
.scene-thumb { position: relative; display: grid; grid-template-columns: 49px minmax(0, 1fr); align-items: center; gap: 8px; min-height: 62px; min-width: 0; padding: 5px; border: 1px solid #ffffff25; border-radius: 8px; background: #24392c; color: #f1f4eb; text-align: left; scroll-snap-align: start; }
.scene-thumb:focus-visible { outline-offset: -3px; }
.scene-thumb[aria-current="true"] { border-color: var(--lime); background: #354b37; }
.scene-thumb img { width: 49px; height: 44px; object-fit: cover; border-radius: 4px; background: #465848; }
.scene-thumb span { padding-right: 3px; font-size: .76rem; line-height: 1.18; font-weight: 625; }

.gallery { border-top: 1px solid var(--line); padding-top: clamp(50px, 7vw, 100px); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.45vw, 22px); }
.gallery-item { position: relative; isolation: isolate; display: block; overflow: hidden; grid-column: span 4; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 9px; color: var(--white); background: #405747; text-align: left; }
.gallery-item:nth-child(1) { grid-column: span 7; aspect-ratio: 7 / 4.2; }
.gallery-item:nth-child(2) { grid-column: span 5; aspect-ratio: 5 / 4.2; }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.gallery-item::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(0deg, #0d1a12dc, #111c14a1 11%, transparent 42%); }
.gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 9px; position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: .9rem; font-weight: 650; }
.gallery-caption .icon { width: 16px; height: 16px; }

.visit { background: var(--pine); color: var(--white); padding-block: clamp(55px, 7vw, 104px); }
.visit .section-tag { color: #d9e8d7; }
.visit-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: end; }
.visit-inner p:not(.section-tag) { color: #d9e8d7; max-width: 35ch; }
.visit-inner .button { margin-top: 17px; }
.site-footer { border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; min-height: 98px; gap: 16px; }
.back-to-top { display: flex; align-items: center; gap: 7px; min-height: 44px; font-size: .84rem; color: var(--moss); font-weight: 650; }
.back-to-top .icon { width: 16px; height: 16px; }

dialog::backdrop { background: #0a110de8; }
dialog { padding: 0; border: 0; color: var(--white); background: var(--pine); }
body:has(dialog[open]) { overflow: hidden; }
.viewer-dialog { width: 100%; max-width: 100%; max-height: 100%; height: 100dvh; margin: 0; }
.viewer-dialog-inner { display: grid; align-items: center; min-height: 100%; padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
.viewer-dialog .viewer { width: min(100%, 1700px); margin: auto; }
.viewer-dialog .stage { height: max(180px, calc(100dvh - 175px - env(safe-area-inset-top) - env(safe-area-inset-bottom))); }
.lightbox { width: min(96vw, 1120px); max-width: 100%; max-height: 100dvh; background: transparent; overflow: auto; }
.lightbox-inner { position: relative; display: grid; justify-items: center; padding: 53px 9px 12px; }
.lightbox-close { position: absolute; top: 3px; right: 10px; }
.lightbox figure { display: grid; justify-items: center; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: 70dvh; border-radius: 7px; }
.lightbox figcaption { text-align: center; margin: 12px 0 8px; font-size: .92rem; }
.lightbox-nav { display: flex; gap: 10px; }

@media (hover: hover) and (pointer: fine) {
  .header-cta:hover { background: #e5e9da; }
  .site-header nav a:hover, .back-to-top:hover { text-decoration: underline; text-underline-offset: 4px; }
  .button-lime:hover { background: #f0f6c2; }
  .scene-thumb:hover:not([aria-current="true"]) { background: #334c3b; }
  .icon-button:not(:disabled):hover { background: #405c49; }
  .gallery-item:hover .gallery-caption { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 760px) {
  .header-inner { min-height: 72px; grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .section-intro { grid-template-columns: 1fr; gap: 14px; }
  .viewer-bar { grid-template-columns: 1fr auto; gap: 10px; padding: 12px 13px 8px; }
  .pan-control { grid-column: 1 / -1; grid-row: 2; }
  .scene-list { padding-inline: 10px; scroll-padding-inline: 10px; grid-auto-columns: minmax(135px, 1fr); }
  .visit-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { min-height: min(635px, max(485px, 76svh)); }
  .hero::after { background: linear-gradient(0deg, rgba(10,22,15,.91) 0%, rgba(14,29,20,.61) 37%, rgba(13,25,18,.13) 72%, transparent 100%); }
  .hero-inner { padding: 38px 23px 31px; }
  .hero h1 { font-size: clamp(3.35rem, 12.5vw, 5.3rem); }
  .hero-index { display: none; }
  .hero-summary { max-width: 31ch; }
  .header-cta { padding-inline: 11px; gap: 5px; }
  .stage { height: clamp(260px, 84vw, 425px); }
  .stage-top, .stage-bottom { left: 10px; right: 10px; }
  .stage-top { top: 10px; }
  .stage-bottom { bottom: 10px; }
  .stage-label, .drag-hint { padding-inline: 9px; font-size: .71rem; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-item:nth-child(n) { grid-column: span 1; aspect-ratio: 4 / 5; }
  .gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 3 / 2; }
  .gallery-caption { left: 9px; right: 9px; bottom: 9px; font-size: .78rem; }
  .viewer-dialog .stage { height: max(150px, calc(100dvh - 185px - env(safe-area-inset-top) - env(safe-area-inset-bottom))); }
}
@media (max-width: 359px) {
  .header-inner { gap: 8px; }
  .brand { gap: 7px; font-size: .85rem; }
  .brand-mark { width: 35px; height: 35px; }
  .hero-inner { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.property-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.property-facts > div { padding: 2px clamp(14px, 4vw, 56px); }
.property-facts > div:first-child { padding-left: 0; }
.property-facts > div + div { border-inline-start: 1px solid var(--line); }
.property-facts dt { font-size: .82rem; }
.property-facts dd { font: 400 clamp(1.75rem, 4vw, 3.65rem)/1.05 var(--display); letter-spacing: -.045em; }

.property { background: #e9ede0; }
.property-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 8vw, 124px); align-items: start; }
.property-copy > p:not(.section-tag) { max-width: 44ch; margin-top: 23px; color: var(--muted); }
.location { display: flex; align-items: start; gap: 12px; margin-top: 25px; padding-top: 19px; border-top: 1px solid #c4cdbc; color: var(--moss); }
.location .icon { margin-top: 2px; }
.location strong, .location span { display: block; }
.location span { margin-top: 2px; font-size: .88rem; color: var(--muted); }
.detail-group { padding-block: 16px; border-top: 1px solid #c4cdbc; }
.detail-group h3 { font-size: 1.02rem; }
.detail-group ul { margin: 7px 0 0; padding-inline-start: 18px; font-size: .93rem; color: var(--muted); }
.detail-group li + li { margin-top: 4px; }
.detail-group li::marker { color: #637650; }
.visit-contact p { font-size: 1.08rem; font-weight: 680; }
.visit-contact p span { font-size: .94rem; font-weight: 520; }

@media (max-width: 760px) {
  .property-inner { grid-template-columns: 1fr; }
}
@media (max-width: 470px) {
  .property-facts { padding-block: 18px; }
  .property-facts > div { padding-inline: 9px; }
  .property-facts > div:last-child { padding-right: 0; }
  .property-facts dt { min-height: 2.6em; font-size: .71rem; line-height: 1.27; }
  .property-facts dd { font-size: clamp(1.35rem, 5.3vw, 1.7rem); white-space: nowrap; }
}

/* The tour is a navigable scene, with routes anchored to photographed landmarks. */
.tour-viewer { position: relative; isolation: isolate; height: clamp(470px, 55vw, 720px); overflow: hidden; border-radius: 16px; background: #132218; color: #fff; }
.tour-stage, .camera-layer, .hotspots { position: absolute; inset: 0; }
.tour-stage { touch-action: none; cursor: grab; overflow: hidden; }
.tour-stage.dragging { cursor: grabbing; }
.tour-stage:focus-visible { outline-offset: -5px; }
.camera-layer { pointer-events: none; }
#tour-canvas { width: 100%; height: 100%; display: block; }
#tour-fallback { position: absolute; top: 0; left: 0; max-width: none; }
.hotspots { pointer-events: none; }
.hotspot { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; padding: 0; background: transparent; color: white; transform: translate(-50%, -50%); pointer-events: auto; min-width: 48px; min-height: 48px; }
.hotspot-ring { display: grid; place-items: center; width: 54px; height: 40px; border-radius: 50%; background: #fafcf5e8; color: #253a2c; border: 2px solid white; box-shadow: 0 2px 5px #0005, 0 0 0 7px #ffffff33; }
.hotspot-ring .icon { width: 22px; height: 22px; }
.hotspot-label { background: #16271eea; border: 1px solid #ffffff5c; border-radius: 20px; padding: 4px 10px; font-size: 12px; font-weight: 700; max-width: 180px; white-space: nowrap; }
.hotspot.enter .hotspot-ring { height: 48px; width: 48px; border-radius: 12px; }
.hotspot.turn .hotspot-ring { border-radius: 50%; height: 44px; width: 44px; }
.tour-top { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: start; justify-content: space-between; gap: 16px; padding: 22px; background: linear-gradient(#102017bf,transparent); pointer-events: none; }
.tour-place { background: #13231ddd; border: 1px solid #ffffff3d; border-radius: 12px; padding: 10px 15px; }
.tour-place > span { color: #c8d6bc; font-size: 11px; }
.tour-place h3 { font-size: 16px; line-height: 1.35; font-weight: 640; }
.tour-top-actions { display: flex; gap: 8px; pointer-events: auto; }
.tour-help summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #15281dea; border: 1px solid #ffffff52; font-size: 18px; cursor: pointer; }
.tour-help summary::-webkit-details-marker { display: none; }
.tour-help > div { position: absolute; top: 76px; right: 22px; z-index: 5; width: min(320px,calc(100% - 44px)); background: #1c3225; padding: 20px; border: 1px solid #a8bfa1; border-radius: 12px; box-shadow: 0 9px 20px #0004; }
.tour-help p { margin-top: 9px; font-size: 13px; }
.tour-help small { display: block; margin-top: 12px; color: #c9d8c3; line-height: 1.45; }
.tour-bottom { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent,#0f2118ed 44%); padding: 55px 20px 18px; pointer-events: none; }
.tour-bottom button, .tour-bottom select { pointer-events: auto; }
.tour-route { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.tour-route button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 100px; border: 1px solid #ffffff55; color: white; background: #193022ef; min-height: 40px; padding: 6px 13px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.tour-route button:disabled { opacity: .4; }
.route-back .icon { width: 15px; }
.destinations { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.destinations button:first-child { background: #e5edaa; color: #203323; border-color: #e5edaa; }
.tour-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tour-jump { max-width: 50%; }
.tour-jump select { padding: 10px 30px 10px 13px; min-height: 45px; border-radius: 9px; border: 1px solid #8a9b89; background: #182c20; color: white; width: 100%; font-size: 13px; }
.look-controls, .tour-zoom { display: flex; border: 1px solid #ffffff50; border-radius: 100px; overflow: hidden; background: #182c20f0; }
.look-controls button, .tour-zoom button { min-width: 44px; height: 44px; display: grid; place-items: center; background: transparent; color: white; border: 0; padding: 0; font-size: 27px; }
.look-controls button:focus-visible, .tour-zoom button:focus-visible { outline-offset: -4px; }
.look-controls button + button, .tour-zoom button + button { border-left: 1px solid #ffffff35; }
.tour-zoom button:disabled { opacity: .4; }
.tour-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 15px; background: #17271d99; color: white; z-index: 6; font-size: 14px; }
.tour-loading button { border: 1px solid #e5edaa; background: #e5edaa; color: #253a2c; border-radius: 30px; min-height: 44px; padding: 8px 20px; }
.viewer-dialog .tour-viewer { width: 100%; height: calc(100dvh - max(16px,env(safe-area-inset-top)) - env(safe-area-inset-bottom)); border-radius: 8px; }
@media (hover: hover) and (pointer: fine) {
  .hotspot:hover .hotspot-ring { background: #e5edaa; }
  .tour-route button:hover, .look-controls button:hover, .tour-zoom button:hover { filter: brightness(1.16); }
}
@media (max-width: 640px) {
  .tour-viewer { height: 600px; max-height: 85svh; }
  .tour-top { padding: 12px; gap: 8px; }
  .tour-top-actions { gap: 5px; }
  .tour-place { padding: 8px 10px; max-width: calc(100% - 100px); }
  .tour-place h3 { font-size: 14px; }
  .tour-bottom { padding: 45px 11px 13px; }
  .tour-tools { gap: 7px; }
  .tour-jump { flex: 1; min-width: 0; max-width: none; }
  .tour-jump select { font-size: 16px; max-width: 140px; padding-left: 8px; }
  .tour-zoom { display: none; }
  .look-controls { flex: none; }
  .hotspot-label { max-width: 150px; white-space: normal; }
  .hotspot-ring { width: 48px; height: 36px; }
  .viewer-dialog .tour-viewer { max-height: none; }
}
.hotspot.offscreen .hotspot-ring { border-radius: 50%; width: 44px; height: 44px; background: #1c3225ed; color: #fff; border: 1px solid #ffffffab; box-shadow: none; }
.hotspot.offscreen .hotspot-label { white-space: normal; max-width: 135px; }
.hotspot-label { width: max-content; }
@media (max-width:640px) { .hotspot-label { max-width:120px; width:max-content; } }

/* Complete property explorer: visible choices, sector atlas and original photo archive. */
.tour-action { min-height: 44px; padding: 0 13px; border: 1px solid #ffffff80; border-radius: 30px; background: #14291fec; color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.tour-action[aria-expanded="true"] { background: #e5edaa; border-color: #e5edaa; color: #243727; }
.tour-shortcuts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; pointer-events: auto; }
.tour-shortcut { min-height: 35px; border: 1px solid #ffffff68; border-radius: 30px; padding: 5px 12px; background: #13291fdc; color: white; font-size: 12px; font-weight: 700; cursor: pointer; }
.tour-shortcut.is-here { background: #e5edaa; border-color: #e5edaa; color: #243727; }
.tour-route { align-items: flex-start; }
.destinations { flex-wrap: wrap; overflow: visible; scrollbar-width: auto; }
.destinations button.visited { background: #294438ba; color: #d2e0cf; }
.destinations button:first-child { background: #e5edaa; color: #203323; }
.tour-progress { color: #d4e1d0; font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 650; }
.tour-tools { flex-wrap: wrap; }
.tour-panel[hidden], .tour-photo-dialog[hidden] { display: none; }
.tour-panel { position: absolute; z-index: 5; top: 80px; right: 20px; bottom: 188px; width: min(390px, calc(100% - 40px)); overflow: auto; overscroll-behavior: contain; border: 1px solid #ffffff8a; border-radius: 14px; background: #14291ff7; box-shadow: 0 18px 50px #0007; padding: 18px; color: #fff; }
.tour-panel-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; position: sticky; top: -18px; z-index: 1; padding: 18px 0 12px; margin-top: -18px; background: #14291ff7; }
.tour-panel-head small { color: #c7d6ba; font-size: 11px; }
.tour-panel-head h4 { font: 400 24px/1.1 var(--display); }
.tour-panel-head button { width: 36px; height: 36px; flex: none; border: 1px solid #ffffff77; border-radius: 50%; background: transparent; color: white; font-size: 24px; cursor: pointer; }
.panel-hint { color: #d1ddce; font-size: 12px; line-height: 1.4; margin: 2px 0 15px; }
.panel-group { border-top: 1px solid #ffffff35; padding: 13px 0 4px; }
.panel-group h5 { margin-bottom: 9px; font-size: 13px; }
.panel-stations { display: flex; flex-wrap: wrap; gap: 6px; }
.panel-stations button { padding: 8px 10px; min-height: 36px; border: 1px solid #ffffff61; border-radius: 7px; background: #234132; color: white; text-align: left; font-size: 11px; cursor: pointer; }
.panel-stations button.is-here { border-color: #e5edaa; background: #e5edaa; color: #1f3528; }
.panel-stations button.is-visited:not(.is-here) { color: #b9cbb7; }
.panel-photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
.panel-photos button { display: block; padding: 0; border: 0; border-radius: 5px; overflow: hidden; background: #47604b; cursor: zoom-in; }
.panel-photos img { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; }
.tour-photo-dialog { position: fixed; inset: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; padding: max(12px,env(safe-area-inset-top)) 15px max(12px,env(safe-area-inset-bottom)); background: #101b15; color: white; text-align: center; }
.tour-photo-dialog[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.tour-photo-dialog > img { display: block; max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; }
#tour-photo-close { position: absolute; top: max(10px,env(safe-area-inset-top)); right: 12px; z-index: 1; width: 44px; height: 44px; border: 1px solid #ffffff77; border-radius: 50%; background: #14291fec; color: white; font-size: 27px; cursor: pointer; }
.tour-photo-footer { display: flex; gap: 18px; align-items: center; justify-content: center; }
.tour-photo-footer button { border: 1px solid #ffffff77; border-radius: 50%; width: 44px; height: 44px; background: #223e2d; color: white; font-size: 27px; cursor: pointer; }
.tour-photo-footer span { min-width: 105px; font-size: 12px; font-variant-numeric: tabular-nums; }
@media (max-width:640px) {
  .tour-top { padding: 10px; }
  .tour-top-actions { gap: 4px; }
  .tour-action { width: 52px; padding: 0 4px; font-size: 0; }
  #tour-map-toggle::after { content: 'Zonas'; font-size: 11px; }
  #tour-photos-toggle::after { content: 'Fotos'; font-size: 11px; }
  .tour-help summary, #expand { width: 38px; min-width: 38px; height: 44px; }
  .tour-bottom { padding: 36px 10px 10px; }
  .tour-shortcuts { gap: 5px; margin-bottom: 7px; }
  .tour-shortcut { font-size: 10px; min-height: 32px; padding-inline: 8px; }
  .tour-route { margin-bottom: 7px; }
  .tour-route button { font-size: 10px; min-height: 33px; padding: 5px 8px; white-space: normal; text-align: center; }
  .destinations { max-height: none; overflow: visible; }
  .tour-jump select { max-width: 175px; }
  .tour-progress { flex: 1 0 100%; }
  .tour-panel { top: 62px; right: 10px; bottom: 193px; width: calc(100% - 20px); }
  .hotspot.offscreen .hotspot-label { display: none; }
}
