.np-residences {
  --np-forest: var(--forest, #183d36);
  --np-cream: var(--cream, #f2eee4);
  --np-copper: var(--copper, #b18865);
  color: var(--np-forest);
  text-align: left;
}
.np-residences button,
.np-plan-dialog button { font: inherit; cursor: pointer; }
.np-residences button:focus-visible,
.np-plan-dialog button:focus-visible,
.np-plan-dialog .np-plan-viewport:focus-visible { outline: 3px solid #b18865; outline-offset: 4px; }
.np-res-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.np-res-floor-label { display: grid; gap: 6px; }
.np-res-floor-label > span { font-size: 13px; color: #67746a; }
.np-res-floor-label > strong { font-weight: 500; font-size: 23px; }
.np-res-wing-switch { display: flex; align-items: center; padding: 5px; border: 1px solid #183d3629; border-radius: 100px; background: #ffffff6e; }
.np-res-wing-switch button { border: 0; background: transparent; color: var(--np-forest); border-radius: 100px; padding: 11px 18px; font-size: 13px; transition: background .16s, color .16s; white-space: nowrap; }
.np-res-wing-switch button.is-active { background: var(--np-forest); color: #fff; }
.np-res-type-switch { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 25px; }
.np-res-type-switch button { border: 1px solid #183d3630; border-radius: 100px; background: transparent; padding: 10px 16px; color: #5b6b60; font-size: 13px; transition: border-color .16s, background .16s, color .16s; }
.np-res-type-switch button.is-active { color: var(--np-forest); border-color: var(--np-copper); background: #b188651f; }
.np-res-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 18px; align-items: stretch; }
.np-res-plan-shell { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden; border: 1px solid #183d3617; }
.np-res-expand { align-self: flex-end; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 13px 15px 0; background: var(--np-cream); border: 0; border-radius: 100px; padding: 10px 14px; color: var(--np-forest); font-size: 12px; position: relative; z-index: 2; }
.np-res-plan-image { position: relative; width: 100%; margin: auto 0; }
.np-res-plan-image > img { display: block; width: 100%; height: auto; aspect-ratio: 2048 / 1159; object-fit: contain; }
.np-res-wing-pin { position: absolute; z-index: 2; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid #fff; box-shadow: 0 3px 12px #183d3630; background: var(--np-forest); color: #fff; font-size: 12px; transform: translate(-50%, -50%); transition: background .16s, transform .16s; }
.np-res-wing-pin.is-active { background: #8c6443; transform: translate(-50%, -50%) scale(1.08); }
.np-res-wing-B1 { left: 91.7%; top: 82%; }
.np-res-wing-B2 { left: 62%; top: 57%; }
.np-res-wing-B3 { left: 91%; top: 20%; }
.np-res-unit-pin { position: absolute; z-index: 1; width: 15px; height: 15px; border-radius: 50%; background: #ba733f; border: 3px solid #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px #ba733f40, 0 3px 8px #183d3633; pointer-events: none; }
.np-res-plan-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; border-top: 1px solid #183d3612; color: #708072; font-size: 11px; }
.np-res-caption-unit { font-weight: 500; color: var(--np-forest); }
.np-res-detail { padding: 28px 27px; border-radius: 26px; background: var(--np-forest); color: #fff; display: flex; flex-direction: column; }
.np-res-detail-wing { color: #cfb294; font-size: 12px; }
.np-res-detail > h3 { font: inherit; font-size: 21px; font-weight: 400; margin: 20px 0 14px; line-height: 1.3; color: #fff; }
.np-res-detail-area { font-family: var(--font-display, Georgia, serif); font-size: 49px; letter-spacing: -2px; font-weight: 400; line-height: 1.1; color: #f6eddc; white-space: nowrap; }
.np-res-detail-area > .np-res-area-unit { font-family: inherit; font-size: 20px; letter-spacing: 0; margin-left: 7px; }
.np-res-detail-area > .np-res-area-label { display: block; margin: 0 0 6px; font-family: var(--font-body, inherit); font-size: 10px; font-weight: 400; letter-spacing: 0; line-height: 1.5; color: #bdc9bf; }
.np-res-detail > p { font-size: 13px; line-height: 1.7; color: #d0d9cd; margin: 19px 0 25px; }
.np-res-detail dl { margin: 0 0 26px; display: grid; gap: 12px; font-size: 12px; }
.np-res-detail dl > div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #ffffff20; padding-bottom: 12px; }
.np-res-detail dt { color: #bdc9bf; font-weight: 400; }
.np-res-detail dd { margin: 0; color: #f9f6ef; font-weight: 500; }
.np-res-consult { border: 0; border-radius: 100px; padding: 13px 16px; margin-top: auto; background: #e6d2b8; color: #183d36; display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; font-size: 12px; line-height: 1.4; }
.np-res-consult svg { flex-shrink: 0; }
.np-res-catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 28px 0 15px; }
.np-res-catalog-heading > h3 { margin: 0; font: inherit; font-size: 17px; font-weight: 500; }
.np-res-catalog-type { font-size: 12px; color: #6c796e; }
.np-res-catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.np-res-card { min-width: 0; display: flex; flex-direction: column; gap: 5px; text-align: left; border: 1px solid #183d3629; background: #ffffff5e; color: var(--np-forest); border-radius: 20px; padding: 18px 20px; transition: border-color .16s, background .16s; }
.np-res-card.is-selected { background: #e5e9de; border-color: var(--np-forest); }
.np-res-card:hover { border-color: #8c6443; }
.np-res-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 11px; color: #637767; margin-bottom: 10px; }
.np-res-card-check { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--np-forest); color: #fff; visibility: hidden; font-size: 10px; }
.np-res-card.is-selected .np-res-card-check { visibility: visible; }
.np-res-card > strong { font-family: var(--font-display, Georgia, serif); font-weight: 400; font-size: 30px; letter-spacing: -.8px; line-height: 1.2; }
.np-res-card > strong small { font: inherit; font-size: 15px; letter-spacing: 0; }
.np-res-card-type { font-size: 12px; margin-top: 7px; }
.np-res-card-model { font-size: 10px; color: #6c796e; margin-top: 3px; }
.np-plan-dialog { --np-forest: var(--forest, #183d36); width: min(1500px, calc(100vw - 40px)); max-width: none; height: calc(100dvh - 40px); max-height: none; padding: 0; border: 0; border-radius: 26px; background: #fbfaf5; color: var(--np-forest); overflow: hidden; box-shadow: 0 24px 90px #0005; }
.np-plan-dialog[open] { display: flex; flex-direction: column; }
.np-plan-dialog::backdrop { background: #102a27db; backdrop-filter: blur(5px); }
.np-plan-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 28px; border-bottom: 1px solid #183d3617; }
.np-plan-dialog-bar h3 { margin: 0 0 5px; font: inherit; font-size: 20px; font-weight: 500; }
.np-plan-dialog-bar span { font-size: 12px; color: #6c796e; }
.np-plan-close { background: #eeeade; border: 0; border-radius: 50%; color: var(--np-forest); width: 42px; height: 42px; display: grid; place-items: center; flex-shrink: 0; }
.np-plan-viewport { min-height: 0; flex: 1; display: grid; place-items: center; overflow: hidden; background: #fff; cursor: default; touch-action: none; user-select: none; }
.np-plan-viewport.is-zoomed { cursor: grab; }
.np-plan-viewport.is-zoomed:active { cursor: grabbing; }
.np-plan-viewport > img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transform-origin: center; user-select: none; pointer-events: none; }
.np-plan-dialog-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 26px; border-top: 1px solid #183d3617; }
.np-plan-dialog-bottom > span { color: #6c796e; font-size: 12px; }
.np-plan-zoom-controls { display: flex; align-items: center; gap: 9px; }
.np-plan-zoom-controls > button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #183d3625; background: transparent; color: var(--np-forest); border-radius: 50%; }
.np-plan-zoom-controls > button:disabled { opacity: .32; cursor: default; }
.np-plan-zoom-value { color: var(--np-forest); font-size: 12px; min-width: 44px; text-align: center; }
@media (min-width: 1400px) { .np-res-workspace { grid-template-columns: minmax(0, 1fr) 315px; } }
@media (max-width: 900px) {
  .np-res-workspace { grid-template-columns: minmax(0, 1fr) 240px; gap: 14px; }
  .np-res-detail { padding: 24px 20px; }
  .np-res-detail-area { font-size: 42px; }
  .np-res-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .np-res-wing-switch button { padding: 10px 12px; }
  .np-res-wing-pin { width: 34px; height: 34px; }
}
@media (max-width: 680px) {
  .np-res-toolbar { flex-direction: column; align-items: flex-start; gap: 18px; }
  .np-res-floor-label { display: flex; align-items: baseline; justify-content: space-between; width: 100%; gap: 14px; }
  .np-res-floor-label > strong { font-size: 21px; }
  .np-res-wing-switch { width: 100%; justify-content: space-between; }
  .np-res-wing-switch button { flex: 1; padding: 10px 9px; font-size: 11px; }
  .np-res-type-switch { flex-wrap: nowrap; overflow: auto; padding: 3px 2px 7px; margin-bottom: 16px; scrollbar-width: none; }
  .np-res-type-switch::-webkit-scrollbar { display: none; }
  .np-res-type-switch button { flex-shrink: 0; font-size: 11px; padding: 10px 13px; }
  .np-res-workspace { grid-template-columns: minmax(0, 1fr); }
  .np-res-expand { font-size: 10px; margin: 10px 11px 0; padding: 8px 11px; }
  .np-res-plan-caption { padding: 12px 14px; font-size: 10px; }
  .np-res-plan-caption > span:last-child { font-size: 9px; }
  .np-res-wing-pin { width: 28px; height: 28px; font-size: 10px; }
  .np-res-unit-pin { width: 11px; height: 11px; border-width: 2px; box-shadow: 0 0 0 4px #ba733f40; }
  .np-res-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; padding: 24px; }
  .np-res-detail-wing { grid-column: 1 / -1; }
  .np-res-detail > h3 { margin: 15px 0 10px; font-size: 20px; }
  .np-res-detail-area { margin-top: 10px; text-align: right; font-size: 35px; letter-spacing: -1px; }
  .np-res-detail-area > .np-res-area-unit { font-size: 16px; }
  .np-res-detail-area > .np-res-area-label { font-size: 9px; }
  .np-res-detail > p { grid-column: 1 / -1; margin: 6px 0 20px; font-size: 12px; }
  .np-res-detail > dl { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 20px; font-size: 11px; }
  .np-res-detail > dl > div { flex-direction: column; gap: 7px; }
  .np-res-consult { grid-column: 1 / -1; font-size: 12px; }
  .np-res-catalog-heading { margin-top: 24px; }
  .np-res-catalog-heading > h3 { font-size: 15px; }
  .np-res-catalog-type { font-size: 10px; }
  .np-res-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .np-res-card { padding: 15px; border-radius: 18px; }
  .np-res-card > strong { font-size: 28px; }
  .np-res-card-type { font-size: 11px; }
  .np-plan-dialog { width: 100vw; height: 100dvh; border-radius: 0; margin: 0; }
  .np-plan-dialog-bar { padding: 18px; }
  .np-plan-dialog-bar h3 { font-size: 17px; }
  .np-plan-dialog-bar span { font-size: 10px; }
  .np-plan-dialog-bottom { padding: 14px 17px; gap: 10px; }
  .np-plan-dialog-bottom > span { font-size: 10px; }
  .np-plan-zoom-controls { gap: 7px; }
  .np-plan-zoom-controls > button { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .np-residences *, .np-plan-dialog * { transition: none !important; }
}

.np-plan-viewport{position:relative}.np-plan-viewport>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}

/* One source-coordinate frame for artwork, footprints and selections. */
.np-res-plan-image{aspect-ratio:1.35;min-height:380px}
.np-res-plan-image>.np-res-plan-svg{display:block;width:100%;height:100%;position:absolute;inset:0}
.np-plan-unit{cursor:pointer;outline:none}
.np-plan-unit polygon{fill:#183d3605;stroke:transparent;stroke-width:1.3;vector-effect:non-scaling-stroke;transition:fill .12s,stroke .12s}
.np-plan-unit.is-match polygon{fill:#183d360e}
.np-plan-unit:hover polygon,.np-plan-unit:focus-visible polygon{fill:#bc995846;stroke:#b4802b}
.np-plan-unit.is-selected polygon{fill:#b4802b45;stroke:#885f25;stroke-width:2}
.np-plan-unit-center{display:none;fill:#183d36;stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke;pointer-events:none}
.np-plan-unit.is-selected .np-plan-unit-center{display:block}
.np-plan-stage{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;transform-origin:center;touch-action:none;user-select:none}
.np-plan-viewport{position:relative;touch-action:none;overflow:hidden}
.np-plan-dialog-bottom>.np-plan-selection{color:#183d36;font-size:12px;line-height:1.6}
.np-res-caption-unit{white-space:nowrap}
.np-res-plan-caption>span:last-child{text-align:right}
@media(max-width:700px){.np-res-plan-image{aspect-ratio:.97;min-height:300px}.np-res-plan-caption{gap:12px}.np-plan-dialog-bottom{align-items:center}.np-plan-dialog-bottom>.np-plan-selection{font-size:10px;max-width:155px}.np-plan-unit.is-selected polygon{stroke-width:1.5}.np-res-catalog-type{max-width:140px;text-align:right}}
