/* Property-specific vector plan; all rules are scoped to this component. */
.location#vieta { display: block; }
#vieta .location-copy { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 48px; align-items: start; margin-bottom: 48px; }
#vieta .location-copy .eyebrow { grid-column: 1 / -1; }
#vieta .location-copy h2 { grid-row: 2 / 5; }
#vieta .location-copy > p:not(.eyebrow) { margin: 0; }
#vieta .location-copy .address-block { margin: 22px 0; }
#vieta .location-copy > .button { width: fit-content; }
#vieta .location-map { margin-top: 32px; }
.site-plan { --map-building: #355b50; --map-yard: #c6d1bc; --map-canopy: #a69262; color: var(--ink); background: #e9ede6; border: 1px solid #dbe2d7; border-radius: 26px; overflow: hidden; isolation: isolate; }
.plan-heading { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 28px 32px 22px; }
.plan-heading h3 { font: 500 clamp(24px,2.5vw,34px)/1.15 'Archivo',sans-serif; letter-spacing: -.04em; }
.plan-tool { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 44px; min-height: 44px; padding: 9px 14px; background: #f8faf5; border: 0; border-radius: 10px; color: inherit; font: 600 12px 'Archivo',sans-serif; cursor: pointer; }
.plan-tool .icon { width: 18px; height: 18px; }
.plan-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 32px 20px; }
.plan-filters { display: flex; align-items: center; gap: 4px; }
.plan-filters button { border: 0; background: transparent; color: #506359; border-radius: 9px; padding: 10px 17px; min-height: 44px; font: 600 12px 'Archivo',sans-serif; cursor: pointer; transition: color .2s,background .2s; }
.plan-filters button[aria-pressed="true"] { color: #fff; background: #253f35; }
.plan-find { min-width: 230px; max-width: 100%; }
.plan-find select { width: 100%; max-width: 100%; border: 1px solid #c8d2c3; border-radius: 10px; padding: 12px; color: #253735; font: 500 12px 'Archivo',sans-serif; background: #f8faf5; min-height: 44px; }
.plan-stage { height: clamp(460px,44vw,640px); position: relative; background: #f3f5ef; overflow: hidden; }
.property-map { width: 100%; height: 100%; display: block; fill: none; stroke: none; user-select: none; -webkit-user-select: none; }
.site-plan .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; }
.plan-ready .property-map { touch-action: pan-y; cursor: grab; }
.plan-ready .property-map.is-zoomed { touch-action: none; }
.plan-ready .property-map.is-dragging { cursor: grabbing; }
.map-boundary { fill: #e0e6d9; stroke: #9aab91; stroke-width: 1.2; stroke-dasharray: 3 3; }
.map-road-outline { fill: none; stroke: #bcc6b6; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.map-road { fill: none; stroke: #f5f5ec; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.map-rail-bed { fill: none; stroke: #c3cabc; stroke-width: 6; stroke-dasharray: 1 3; }
.map-rail { fill: none; stroke: #74846c; stroke-width: 3.2; }
.map-rail-centre { fill: none; stroke: #f3f5ef; stroke-width: 1.4; }
.map-canopy-extra { fill: #a69262; stroke: #f3f5ef; stroke-width: .8; }
.map-container { fill: #5f944e; stroke: #e7eddd; stroke-width: .5; }
.map-entry { fill: none; stroke: #79132d; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.map-object { --object-color: var(--map-building); transition: opacity .22s; }
.plan-ready .map-object { cursor: pointer; outline: none; }
.map-footprint { fill: var(--object-color); stroke: #f5f6ef; stroke-width: 1.1; stroke-linejoin: round; transition: fill .2s,stroke .2s,filter .2s; }
.map-object[data-kind="administration"] { --object-color: #79132d; }
.map-object[data-kind="hangar"] { --object-color: #637b6a; }
.map-object[data-kind="yard"] { --object-color: var(--map-yard); }
.map-object[data-kind="canopy"] { --object-color: var(--map-canopy); }
.map-object[data-kind="garage"] { --object-color: #556b48; }
.map-object[data-kind="boiler"] { --object-color: #537e7c; }
.map-object[data-kind="security"] { --object-color: #79132d; }
.map-texture { pointer-events: none; }
.map-code { fill: #fff; text-anchor: middle; dominant-baseline: central; font: 600 8px 'Archivo',sans-serif; pointer-events: none; paint-order: stroke; stroke: var(--object-color); stroke-width: 2.4px; stroke-linejoin: round; }
.map-object[data-kind="yard"] .map-code { fill: #314236; }
.map-object[data-kind="canopy"] .map-code { fill: #142b20; }
.map-object[data-object="08"] .map-code,.map-object[data-kind="security"] .map-code { fill: #344b3b; stroke: #f3f5ef; }
.map-object.is-muted { opacity: .2; }
.map-object.is-selected { opacity: 1; }
.map-object.is-selected .map-footprint,.map-object:focus-visible .map-footprint { stroke: #79132d; stroke-width: 3; filter: drop-shadow(0 2px 3px #25373535); }
.map-object:focus-visible .map-footprint { stroke: #15251a; stroke-dasharray: 3 2; }
.map-object.is-selected .map-code { font-weight: 700; }
.map-water { pointer-events: none; }
.map-water circle { fill: #e7f1ed; stroke: #57898a; stroke-width: .9; }
.map-water text { fill: #2c6969; font: 700 4.8px 'Archivo',sans-serif; text-anchor: middle; dominant-baseline: central; }
.map-water.hydrant text { font-size: 3.9px; }
.plan-controls { position: absolute; right: 22px; bottom: 22px; display: flex; align-items: center; background: #fff; border-radius: 13px; padding: 5px; box-shadow: 0 8px 28px #25373512; }
.plan-controls button { border: 0; background: transparent; color: #253735; border-radius: 9px; width: 44px; height: 44px; display: grid; place-items: center; font: 400 23px 'Archivo',sans-serif; cursor: pointer; }
.plan-controls button:disabled { opacity: .3; cursor: default; }
.plan-controls output { min-width: 48px; text-align: center; font-size: 11px; font-variant-numeric: tabular-nums; }
.plan-controls .icon { width: 18px; height: 18px; }
.plan-selection { display: flex; gap: 24px; align-items: center; padding: 20px 32px; background: #fff; border-top: 1px solid #dce2d7; }
.plan-selection[hidden] { display: none; }
#plan-inquiry[hidden] { display: none; }
.plan-selection-copy { display: flex; gap: 20px; align-items: center; margin-right: auto; }
.plan-selection-copy strong { font: 500 32px/1.2 'Archivo',sans-serif; color: #79132d; }
.plan-selection-copy span { font-size: 15px; }
.plan-selection .button { font-size: 12px; min-height: 44px; padding: 12px 20px; }
.plan-footer { display: flex; justify-content: space-between; gap: 24px; align-items: start; padding: 18px 32px; }
.plan-legend { flex: 1; }
.plan-legend summary { width: fit-content; display: flex; align-items: center; gap: 14px; min-height: 44px; font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.plan-legend summary::-webkit-details-marker { display: none; }
.plan-legend summary .icon { width: 14px; height: 14px; }
.plan-legend[open] summary .icon { rotate: 45deg; }
.plan-legend-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px 22px; padding: 18px 0 10px; }
.plan-legend-grid > span { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.legend-swatch { width: 19px; height: 13px; flex: 0 0 19px; border-radius: 2px; background: var(--map-building); }
.legend-swatch.administration,.legend-swatch.security { background: #79132d; }
.legend-swatch.hangar { background: #637b6a; }
.legend-swatch.yard { background: repeating-linear-gradient(120deg,#c6d1bc 0 3px,#9fae94 3px 4px); }
.legend-swatch.canopy { background: #a69262; }
.legend-swatch.garage { background: #556b48; }
.legend-swatch.boiler { background: #537e7c; }
.legend-water { width: 21px; height: 21px; border: 1px solid #57898a; border-radius: 50%; display: grid; place-items: center; font: normal 700 8px 'Archivo',sans-serif; color: #2c6969; }
.legend-rail { width: 20px; height: 6px; border-block: 2px solid #74846c; }
.legend-road { width: 20px; height: 6px; background: #fff; border: 1px solid #bcc6b6; }
.legend-container { width: 12px; height: 12px; background: #5f944e; }
.plan-footer > a { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; font-size: 11px; white-space: nowrap; }
.plan-footer > a .icon { width: 14px; height: 14px; }
.site-plan .plan-enhanced { display: none; }
.site-plan.plan-ready .plan-toolbar { display: flex; }
.site-plan.plan-ready .plan-controls { display: flex; }
.site-plan.plan-ready .plan-heading > .plan-enhanced { display: inline-flex; }
.site-plan :focus-visible { outline: 2px solid #79132d; outline-offset: 3px; }
.site-plan .map-object:focus-visible { outline: none; }
.interactive-plan-modal { width: calc(100% - 32px); max-width: 1800px; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 26px; background: #e9ede6; }
.interactive-plan-modal::backdrop { background: #182b26b8; backdrop-filter: blur(5px); }
.interactive-plan-modal .site-plan { border: 0; }
.interactive-plan-modal .plan-stage { height: max(280px,calc(100dvh - 360px)); }
@media(hover:hover) and (pointer:fine) {
 .plan-tool:hover,.plan-controls button:not(:disabled):hover { background: #dce5d5; }
 .map-object:hover { opacity: 1; }
 .map-object:hover .map-footprint { stroke: #79132d; stroke-width: 2.5; filter: drop-shadow(0 2px 3px #25373530); }
}
@media(max-width:760px) {
 #vieta .location-copy { display: block; margin-bottom: 32px; }
 #vieta .location-copy > p:not(.eyebrow) { margin-top: 22px; }
 .plan-heading { padding: 22px 20px 16px; gap: 10px; }
 .plan-heading h3 { font-size: 25px; }
 .plan-heading .plan-tool span { display: none; }
 .plan-toolbar { flex-direction: column; align-items: stretch; padding: 0 16px 16px; gap: 12px; }
 .plan-filters { justify-content: space-between; }
 .plan-filters button { padding: 10px 12px; font-size: 11px; }
 .plan-stage { height: 390px; }
 .plan-controls { right: 12px; bottom: 12px; }
 .plan-selection { flex-wrap: wrap; gap: 12px; padding: 18px 20px; }
 .plan-selection-copy { gap: 14px; flex: 1; }
 .plan-selection-copy span { font-size: 13px; }
 .plan-selection .button { order: 3; width: 100%; }
 .plan-selection > .plan-tool { padding: 8px; }
 .plan-footer { padding: 14px 20px; flex-wrap: wrap; gap: 0 16px; }
 .plan-legend-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
 .plan-legend[open] { flex-basis: 100%; }
 .interactive-plan-modal { width: calc(100% - 12px); max-height: calc(100dvh - 12px); border-radius: 20px; }
 .interactive-plan-modal .plan-stage { height: max(250px,calc(100dvh - 420px)); }
}
@media(max-width:360px) { .plan-filters button { padding-inline: 8px; } }

