.nkfp {
  --accent: var(--kh-blue, #288eff);
  --accent-dark: var(--kh-indigo, #2f2963);
  --gold: var(--nk-orange, #f07800);
  --grey: var(--kh-text-2, #585857);
  --bg: var(--kh-bg, #f6f7f9);
  --line: var(--kh-line, #e8e9ee);
  --white: var(--kh-surface, #ffffff);

  
  --accent-fill:   rgba(40, 142, 255, 0.30);  
  --accent-soft:   rgba(40, 142, 255, 0.10);
  --veil:          rgba(47, 41, 99, 0.50);
  --shadow:        rgba(47, 41, 99, 0.18);
  --sold-fill:     rgba(146, 146, 145, 0.35); 

  
  --unit-free:        rgba(18, 161, 80, 0.15);   
  --unit-free-strong: rgba(18, 161, 80, 0.30);   
  --unit-free-line:   var(--kh-success, #12a150);                    
  --unit-free-glow:   rgba(18, 161, 80, 0.55);    
  --unit-busy:        rgba(240, 120, 0, 0.16);    
  --unit-busy-strong: rgba(240, 120, 0, 0.32);
  --unit-busy-line:   var(--nk-orange, #f07800);
  --unit-busy-glow:   rgba(240, 120, 0, 0.5);

  
  --floor-fill:    rgba(40, 142, 255, 0.55);
  --floor-line:    var(--accent);
  --floor-glow:    rgba(40, 142, 255, 0.6);
  --floor-current: rgba(18, 161, 80, 0.13);   
  --floor-num:     var(--kh-blue, #288eff);   
  --floor-rest-opacity: 0.26;     

  --header-height: 72px;
}
.nkfp, .nkfp * { box-sizing: border-box; }
.nkfp {
  margin: 0;
  background: transparent;
  color: var(--accent-dark);
  font-family: var(--kh-font, Rubik, sans-serif);
  font-weight: 400;
  line-height: 1.5;
}
.nkfp .site-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s ease all;
  font-weight: bold;
  padding: 0 35px;
  background-color: var(--kh-blue, #288eff);
  color: var(--white);
  border-radius: var(--kh-r-pill, 999px);
  height: var(--kh-btn-height, 50px);
  font-size: 16px;
  border: none;
  text-decoration: none;
  font-family: inherit;
}
.nkfp .site-btn:hover { background-color: var(--accent-dark); }
.nkfp .site-btn.border {
  background-color: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.nkfp .site-btn.border:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.nkfp .site-btn.small { height: 40px; font-size: 14px; padding: 0 18px; }
.nkfp .fp-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 15px;
  width: 1400px;
  max-width: calc(100% - 30px);
  margin: 26px auto 14px;
}
.nkfp .fp-intro__title {
  margin: 0 0 6px;
  font-size: 30px;
  font-weight: 800;
  color: var(--accent-dark);
}
.nkfp .fp-intro__subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--grey);
}
.nkfp .fp-stage {
  position: relative;
  width: 1400px;
  max-width: calc(100% - 30px);
  margin: 0 auto 60px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
  line-height: 0; 
}
.nkfp .fp-stage__zoom {
  position: relative;
  transform-origin: 0 0;
  will-change: transform;
}
.nkfp .fp-stage__img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}
.nkfp .fp-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease;
}
body.fp-floor-open .nkfp #overlay-building .floor-poly { opacity: 0; pointer-events: none; }
body.fp-floor-open .nkfp #overlay-building .floor-poly.is-current {
  opacity: 1;
  fill: var(--floor-current);
  stroke: transparent;
  filter: none;
}
.nkfp .floor-poly {
  fill: transparent;
  stroke: transparent;
  stroke-width: 1;
  cursor: pointer;
  transform-box: fill-box;          
  transform-origin: center;
  transition: opacity 0.18s ease-out, filter 0.18s ease-out,
              transform 0.18s ease-out, stroke-width 0.18s ease-out;
}
.nkfp .floor-poly--free {
  fill: var(--floor-fill);
  stroke: var(--floor-line);
  stroke-width: 1.5;
  opacity: var(--floor-rest-opacity);
}
.nkfp .floor-poly--free:hover, .nkfp .floor-poly--free.is-hl {            
  opacity: 0.85;
  stroke-width: 2.5;
  filter: drop-shadow(0 0 12px var(--floor-glow));
  transform: scale(1.012);
}
.nkfp .floor-poly--free.is-hl {            
  fill: var(--nk-orange, #f07800);
}
.nkfp .floor-poly--sold {
  fill: var(--sold-fill);
  stroke: var(--grey);
  stroke-width: 1;
  opacity: 0.2;
  cursor: not-allowed;
}
.nkfp .floor-poly--sold:hover { opacity: 0.4; }
@keyframes fp-floor-wave {
  0%, 100% { opacity: var(--floor-rest-opacity); filter: none; transform: scale(1); }
  45%      { opacity: 0.8; filter: drop-shadow(0 0 12px var(--floor-glow)); transform: scale(1.012); }
}
.nkfp .floor-poly--free.is-wave { animation: fp-floor-wave var(--wave-step, 900ms) ease-out; }
.nkfp .floor-poly.is-selecting {
  opacity: 1;
  fill: var(--unit-free-strong);
  stroke: var(--unit-free-line);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 14px var(--unit-free-glow));
  transition: opacity 0.2s ease, fill 0.2s ease, filter 0.2s ease;
}
@keyframes fp-floor-breathe {
  0%, 100% { opacity: var(--floor-rest-opacity); }
  50%      { opacity: 0.5; }
}
@keyframes fp-badge-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}
@keyframes fp-badge-glow {
  0%, 100% { filter: drop-shadow(0 1px 2px rgba(47, 41, 99, 0.28)); }
  50%      { filter: drop-shadow(0 2px 9px rgba(40, 142, 255, 0.55)); }
}
body.fp-pulse:not(.fp-floor-open):not(.fp-edit) .nkfp .floor-poly--free {
  animation: fp-floor-breathe 3.2s ease-in-out infinite;
}
body.fp-pulse:not(.fp-floor-open):not(.fp-edit) .nkfp .fp-floor-badge:not(.is-muted) {
  transform-box: fill-box;
  transform-origin: center;
  animation: fp-badge-breathe 2.6s ease-in-out infinite;
  animation-delay: calc(var(--bi, 0) * 0.16s);
}
body.fp-pulse:not(.fp-floor-open):not(.fp-edit) .nkfp .fp-floor-badge:not(.is-muted) .fp-floor-badge__bg {
  animation: fp-badge-glow 2.6s ease-in-out infinite;
  animation-delay: calc(var(--bi, 0) * 0.16s);
}
.nkfp .fp-floor-badge {
  cursor: pointer;
  transform-box: fill-box;           
  transform-origin: center;
  transition: transform 0.18s ease, filter 0.18s ease, opacity 0.35s ease;
}
body.fp-floor-open .nkfp .fp-floor-badge { opacity: 0; pointer-events: none; }
.nkfp .fp-floor-badge__bg {
  fill: var(--floor-num);            
  filter: drop-shadow(0 1px 2px rgba(47, 41, 99, 0.28));   
}
.nkfp .fp-floor-badge__t {
  fill: #fff;                        
  direction: ltr;
  font-family: var(--kh-font, Rubik, sans-serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  user-select: none;
}
.nkfp .fp-floor-badge.is-muted { cursor: default; }
.nkfp .fp-floor-badge.is-muted .fp-floor-badge__bg { fill: var(--grey); opacity: 0.6; }
.nkfp .fp-floor-badge.is-muted .fp-floor-badge__t { opacity: 0.9; }
.nkfp .fp-floor-badge.is-hl { transform: scale(1.08); }
.nkfp .fp-floor-badge.is-hl .fp-floor-badge__bg { filter: drop-shadow(0 2px 7px rgba(40, 142, 255, 0.55)); }
.nkfp .fp-floor-badge:not(.is-muted):hover {
  animation: none !important;
  transform: scale(1.16);
  cursor: pointer;
}
.nkfp .fp-floor-badge:not(.is-muted):hover .fp-floor-badge__bg {
  animation: none !important;
  fill: var(--accent-dark);
  filter: drop-shadow(0 3px 11px rgba(40, 142, 255, 0.6));
}
@media  (prefers-reduced-motion: reduce) {
.nkfp .fp-floor-badge, .nkfp .fp-floor-badge__bg, .nkfp .floor-poly--free { animation: none !important; }
}
.nkfp .fp-tooltip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  min-width: 150px;
  max-width: 260px;
  padding: 12px 14px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 28px var(--shadow);
  border-top: 3px solid var(--accent);
  pointer-events: none;
  opacity: 0;
  
  transform: translateY(8px) scale(0.96);
  transform-origin: top left;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}
.nkfp .fp-tooltip.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.nkfp .fp-tooltip.is-sold { border-top-color: var(--grey); }
.nkfp .fp-tooltip__price {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
}
.nkfp .fp-tooltip.is-sold .fp-tooltip__price { color: var(--grey); }
.nkfp .fp-tooltip.is-booked .fp-tooltip__price { color: var(--gold); }
.nkfp .fp-tooltip__floor {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}
.nkfp .fp-tooltip.is-sold .fp-tooltip__floor { color: var(--grey); }
.nkfp .fp-no__pfx {
  font-size: 0.62em;
  font-weight: 400;
  color: var(--grey);
  margin-inline-end: 0.2em;
  vertical-align: 0.1em;
}
.nkfp .fp-no__num {
  font-weight: 700;
  color: var(--accent);
}
.nkfp .fp-tooltip.is-sold .fp-no__num { color: var(--grey); }
.nkfp .fp-tooltip__row {
  font-size: 14px;
  color: var(--accent-dark);
  margin-top: 3px;
}
.nkfp .fp-tooltip__row b { color: var(--accent); font-weight: 700; }
.nkfp .fp-tooltip__empty {
  font-size: 14px;
  color: var(--grey);
  font-style: italic;
}
.nkfp .fp-edit .floor-poly {            
  fill: var(--accent-soft);
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  opacity: 1;                       
  animation: none;                  
  vector-effect: non-scaling-stroke; 
}
.nkfp .fp-edit .floor-poly--sold {
  fill: rgba(146, 146, 145, 0.18);
  stroke: var(--grey);
}
.nkfp .fp-handle {
  fill: var(--white);
  stroke: var(--accent);
  stroke-width: 2;
  cursor: grab;
  vector-effect: non-scaling-stroke;
}
.nkfp .fp-handle:hover { fill: var(--gold); }
.nkfp .fp-handle.is-drag { cursor: grabbing; fill: var(--accent); }
.nkfp .fp-edge-handle {
  fill: var(--accent);
  stroke: var(--white);
  stroke-width: 1.5;
  cursor: move;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
}
.nkfp .fp-edge-handle:hover { fill: var(--gold); opacity: 1; }
.nkfp .fp-edge-handle.is-drag { fill: var(--accent-dark); }
.nkfp .fp-edit .fp-poly { cursor: move; }
.nkfp .fp-edit .fp-poly.is-drag { cursor: grabbing; }
.nkfp .fp-edit-label {
  fill: var(--accent-dark);
  font-size: 22px;
  font-weight: 800;
  font-family: var(--kh-font, Rubik, sans-serif);
  paint-order: stroke;
  stroke: var(--white);
  stroke-width: 4px;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.nkfp .fp-stage.is-pan-ready, .nkfp .fp-stage.is-pan-ready * { cursor: grab !important; }
.nkfp .fp-stage.is-panning, .nkfp .fp-stage.is-panning * { cursor: grabbing !important; }
.nkfp .fp-edit .fp-stage { touch-action: none; }
.nkfp .fp-debug {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 300px;
  max-width: 85vw;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background: var(--white);
  box-shadow: -10px 0 40px var(--shadow);
  border-inline-start: 1px solid var(--line);
  transform: translateX(100%);          
  transition: transform 0.25s ease;
  overflow-y: auto;
}
.nkfp .fp-debug.is-open { transform: translateX(0); }
.nkfp .fp-debug__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nkfp .fp-debug__title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--accent-dark);
}
.nkfp .fp-debug__title::before {
  content: "🐞";
  margin-inline-end: 6px;
}
.nkfp .fp-debug__close {
  border: none;
  background: var(--bg);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--grey);
}
.nkfp .fp-debug__close:hover { background: var(--line); color: var(--accent-dark); }
.nkfp .fp-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 12px;
  user-select: none;
}
.nkfp .fp-switch input { position: absolute; opacity: 0; pointer-events: none; }
.nkfp .fp-switch__slider {
  position: relative;
  flex: 0 0 auto;
  width: 42px;
  height: 24px;
  border-radius: 12px;
  background: var(--grey);
  transition: background 0.2s ease;
}
.nkfp .fp-switch__slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}
.nkfp .fp-switch input:checked + .fp-switch__slider { background: var(--accent); }
.nkfp .fp-switch input:checked + .fp-switch__slider::after { transform: translateX(18px); }
.nkfp .fp-switch__label { font-size: 15px; font-weight: 700; color: var(--accent-dark); }
.nkfp .fp-debug__tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nkfp .fp-debug__tools .site-btn { width: 100%; }
.nkfp .fp-debug__tools[hidden] { display: none; }
.nkfp .fp-debug__status {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  min-height: 18px;
}
.nkfp .fp-debug__legend {
  font-size: 12px;
  line-height: 1.5;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 10px 12px;
}
.nkfp .fp-debug__legend[hidden] { display: none; }
.nkfp .fp-debug__hint {
  margin-top: auto;             
  font-size: 12px;
  color: var(--grey);
}
.nkfp .fp-debug__hint b { color: var(--accent); }
.nkfp .fp-debug__kbd {
  font-size: 11px;
  color: var(--grey);
}
.nkfp .fp-debug__kbd code {
  background: var(--bg);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--accent-dark);
}
.nkfp .fp-error {
  width: 1400px;
  max-width: calc(100% - 30px);
  margin: 0 auto 40px;
  padding: 18px 20px;
  background: var(--kh-error-bg, #fdecec);
  border: 1px solid #f0c9c9;
  border-radius: 12px;
  color: var(--kh-error-text, #a12a2e);
  font-size: 15px;
  line-height: 1.5;
}
.nkfp .fp-error code {
  background: rgba(0,0,0,0.06);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 14px;
}
.nkfp .fp-view[hidden] { display: none; }
.nkfp .fp-view { transition: opacity 0.28s ease; }
.nkfp .fp-view.is-entering { opacity: 0; }
.nkfp .fp-view--over {
  position: fixed;
  inset: 0;
  z-index: 60;
  overflow: hidden;
}
body.fp-animating .nkfp .fp-view { transition: none !important; }
body.fp-floor-open { overflow: hidden; }
.nkfp .fp-intro--floor {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.nkfp .fp-intro--floor .fp-intro__title { width: auto; margin: 0; }
.nkfp .fp-intro--floor .fp-intro__subtitle { flex-basis: 100%; }
.nkfp .fp-back { flex: 0 0 auto; }
.nkfp .fp-exit-hint {
  font-size: 11px;
  color: var(--grey);
  text-align: center;
  line-height: 1.3;
  margin: 0;
}
.nkfp .fp-floornav {
  position: absolute;
  inset-inline-start: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 90vh;
  width: auto;
  min-width: 92px;
  max-width: 150px;
  padding: 12px 10px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--shadow);
}
.nkfp .fp-floornav__head { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.nkfp .fp-floornav__floor {                
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-dark);
  text-align: center;
  white-space: nowrap;
}
.nkfp .fp-floornav__head .fp-back {        
  width: 100%;
  height: 34px;
  padding: 0 10px;
  font-size: 12.5px;
  white-space: nowrap;
}
.nkfp .fp-floornav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow: auto;
  padding: 2px 0;
  scrollbar-width: none;
}
.nkfp .fp-floornav__list::-webkit-scrollbar { display: none; }
.nkfp .fp-floornav .fp-exit-hint { max-width: 86px; }
.nkfp .fp-floornav__item {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--floor-num);      
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(47, 41, 99, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.nkfp .fp-floornav__item:hover { transform: scale(1.1); box-shadow: 0 2px 8px rgba(40, 142, 255, 0.5); }
.nkfp .fp-floornav__item.is-active {       
  background: var(--accent-dark);
  transform: scale(1.16);
  box-shadow: 0 3px 11px rgba(40, 142, 255, 0.6);
  outline: 2px solid #fff;
  outline-offset: -3px;
}
.nkfp .fp-floornav__item.is-muted {        
  background: var(--grey);
  opacity: 0.5;
  cursor: default;
}
.nkfp .fp-floornav__item.is-muted:hover { transform: none; box-shadow: 0 1px 4px rgba(47, 41, 99, 0.22); }
@media  (max-width: 768px) {
.nkfp .fp-floornav { inset-inline-start: 6px; min-width: 92px; gap: 6px; padding: 9px 8px; }
.nkfp .fp-floornav__floor { font-size: 13px; }
.nkfp .fp-floornav__head .fp-back { font-size: 11px; padding: 0 6px; }
.nkfp .fp-floornav__item { width: 40px; height: 40px; font-size: 14px; }
.nkfp .fp-floornav__item.is-active { transform: scale(1.1); }
}
body:not(.fp-edit) .nkfp #view-floor:not([hidden]) {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}
body:not(.fp-edit) .nkfp #view-floor .fp-intro--floor { flex: 0 0 auto; margin: 8px auto; }
body:not(.fp-edit) .nkfp #view-floor .fp-stage {
  flex: 1 1 auto;
  min-height: 0;
  width: auto;
  max-width: 100%;
  margin: 0 auto 10px;
  
  padding-inline-start: 150px;
  padding-inline-end: 20px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media  (max-width: 768px) {
body:not(.fp-edit) .nkfp #view-floor .fp-stage { padding-inline-start: 108px; padding-inline-end: 8px; }
}
body:not(.fp-edit) .nkfp #view-floor .fp-stage__zoom {
  display: inline-flex;            
  max-width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--shadow);
}
body:not(.fp-edit) .nkfp #view-floor .fp-stage__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 40px);  
}
body:not(.fp-edit) .nkfp #view-floor .fp-stage.is-noimg .fp-plan-ph {
  width: auto;
  height: calc(100vh - 40px);
  max-width: 100%;
}
.nkfp .fp-plan-ph {
  display: none;
  width: 100%;
  aspect-ratio: 1448 / 1086;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--kh-text-3, #8b90a0);
  font-size: 18px;
  font-weight: 700;
  background-color: var(--kh-mist, #e9e9f2);
  background-image:
    repeating-linear-gradient(45deg,
      rgba(146,146,145,0.10) 0, rgba(146,146,145,0.10) 12px,
      transparent 12px, transparent 24px);
  user-select: none;
}
.nkfp .fp-stage.is-noimg #plan-img { display: none; }
.nkfp .fp-stage.is-noimg .fp-plan-ph { display: flex; }
.nkfp .fp-poly.is-diving {            
  fill: var(--accent-fill);
  stroke: var(--accent);
  stroke-width: 3;
  opacity: 1;                   
  filter: drop-shadow(0 0 16px rgba(40, 142, 255, 0.7));
  transition: fill 0.3s ease, filter 0.3s ease;
}
.nkfp .fp-hint {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 6;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  cursor: help;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--shadow);
  transition: background 0.2s ease, transform 0.2s ease;
}
.nkfp .fp-hint:hover { background: var(--accent-dark); transform: scale(1.06); }
.nkfp .fp-hint__bubble {
  position: absolute;
  top: 40px;
  inset-inline-end: 0;
  width: 210px;
  padding: 10px 12px;
  background: var(--white);
  border-radius: 10px;
  border-top: 3px solid var(--accent);
  box-shadow: 0 8px 24px var(--shadow);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent-dark);
  text-align: start;
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.nkfp .fp-hint:hover .fp-hint__bubble, .nkfp .fp-hint:focus-visible .fp-hint__bubble, .nkfp .fp-hint.is-show .fp-hint__bubble { opacity: 1; transform: translateY(0) scale(1); }
.nkfp .fp-poly { vector-effect: non-scaling-stroke; }
.nkfp .unit-poly {
  stroke-width: 1.5;
  cursor: pointer;
  transform-box: fill-box;          
  transform-origin: center;
  transition: fill 0.18s ease-out, stroke 0.18s ease-out,
              filter 0.18s ease-out, transform 0.18s ease-out, stroke-width 0.18s ease-out;
}
.nkfp .unit-poly--free {
  fill: var(--unit-free);
  stroke: var(--unit-free-line);
}
.nkfp .unit-poly--free:hover {
  fill: var(--unit-free-strong);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 10px var(--unit-free-glow));
  transform: scale(1.01);
}
.nkfp .unit-poly--booked {
  fill: var(--unit-busy);
  stroke: var(--unit-busy-line);
  stroke-dasharray: 8 5;
}
.nkfp .unit-poly--booked:hover {
  fill: var(--unit-busy-strong);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 10px var(--unit-busy-glow));
  transform: scale(1.01);
}
.nkfp .unit-poly--sold {              
  fill: var(--unit-busy);
  stroke: var(--unit-busy-line);
  opacity: 0.9;
  cursor: not-allowed;
}
.nkfp .unit-poly--sold:hover { fill: var(--unit-busy-strong); }
.nkfp .fp-edit .unit-poly {
  fill: var(--accent-soft);
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 6 4;
  opacity: 1;                       
}
.nkfp .fp-unit-label { pointer-events: none; }
.nkfp .fp-edit .fp-unit-label { display: none; }
.nkfp .fp-unit-label__bg {
  fill: rgba(255, 255, 255, 0.82);
  stroke: rgba(47, 41, 99, 0.12);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.nkfp .fp-unit-label__no {
  font-family: var(--kh-font, Rubik, sans-serif);
  font-weight: 700;
  fill: var(--accent-dark);
  direction: ltr;
}
.nkfp .fp-unit-label__st {
  font-family: var(--kh-font, Rubik, sans-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.nkfp .fp-unit-label--free   .fp-unit-label__st { fill: var(--unit-free-line); }
.nkfp .fp-unit-label--booked .fp-unit-label__st { fill: var(--gold); }
.nkfp .fp-unit-label--sold   .fp-unit-label__st { fill: var(--grey); }
.nkfp .fp-unit-label--sold   .fp-unit-label__bg { fill: rgba(241, 241, 243, 0.85); }
.nkfp .fp-unit-label--sold   .fp-unit-label__no { fill: var(--grey); }
.nkfp .fp-tooltip.is-booked { border-top-color: var(--gold); }
.nkfp .fp-tooltip.is-booked .fp-tooltip__floor { color: var(--gold); }
.nkfp .fp-tooltip__free { color: var(--accent); font-weight: 700; }
.nkfp .fp-tooltip__booked { color: var(--gold);   font-weight: 700; }
.nkfp .fp-card-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--veil);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  perspective: 1200px;                 
  animation: fp-scrim-in 0.3s ease;    
}
.nkfp .fp-card-overlay[hidden] { display: none; }
@keyframes fp-scrim-in { from { opacity: 0; } to { opacity: 1; } }
.nkfp .fp-card {
  position: relative;
  width: 560px;
  max-width: 100%;
  max-height: 90vh;
  overflow: auto;
  background: var(--white);
  border-radius: var(--kh-r-card, 24px);
  padding: var(--nk-card-pad, 24px);
  box-shadow: var(--kh-sh-lg, 0 16px 40px rgba(47,41,99,.14));
  transform-origin: center bottom;
  animation: fp-card-in 0.32s cubic-bezier(.2,.7,.2,1);
}
@keyframes fp-card-in {
  from { opacity: 0; transform: translateY(26px) translateZ(-80px) rotateX(8deg); }
  to   { opacity: 1; transform: translateY(0) translateZ(0) rotateX(0); }
}
.nkfp .fp-card__x {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  color: var(--accent-dark);
  box-shadow: 0 2px 10px var(--shadow);
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.nkfp .fp-card__x:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08) rotate(90deg);
}
.nkfp .fp-card__x:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.nkfp .fp-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.nkfp .fp-card__title {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--kh-indigo, #2f2963);
}
.nkfp .fp-card__badge {
  font-size: 14px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 20px;
}
.nkfp .fp-card__badge--free { background: var(--kh-success-bg, #e6f6ec); color: var(--kh-success-text, #0b6b34); }
.nkfp .fp-card__badge--booked { background: rgba(240,120,0,0.18); color: var(--nk-orange, #f07800); }
.nkfp .fp-card__badge--sold { background: var(--kh-mist, #e9e9f2); color: var(--grey); }
.nkfp .fp-card__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.nkfp .fp-card__cell {
  background: var(--kh-sky-050, #eef5ff);
  border: 1px solid var(--kh-line, #e8e9ee);
  border-radius: var(--kh-r-field, 12px);
  padding: 8px 6px;
  text-align: center;
  align-self: start;          
}
.nkfp .fp-card__cell-val {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--accent);
}
.nkfp .fp-card__cell-key {
  display: block;
  font-size: 10px;
  color: var(--grey);
  margin-top: 2px;
}
.nkfp .fp-card__meta {
  font-size: 15px;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.nkfp .fp-card__meta b { color: var(--accent); }
.nkfp .fp-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 16px;
  background: var(--accent-soft);
  border-radius: 12px;
  margin-bottom: 18px;
}
.nkfp .fp-card__price[hidden] { display: none; }
.nkfp .fp-card__price-old {
  font-size: 16px;
  color: var(--grey);
  text-decoration: line-through;
}
.nkfp .fp-card__price-now {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}
.nkfp .fp-card__price-note {
  flex-basis: 100%;
  font-size: 12px;
  color: var(--grey);
}
.nkfp .fp-card__plan {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  font: inherit;
  background: #fff;
}
.nkfp .fp-card__plan:not(.has-img) {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  color: var(--kh-text-3, #8b90a0);
  font-size: 15px;
  font-weight: 700;
  background-color: var(--kh-mist, #e9e9f2);
  background-image:
    repeating-linear-gradient(45deg,
      rgba(146,146,145,0.10) 0, rgba(146,146,145,0.10) 10px,
      transparent 10px, transparent 20px);
}
.nkfp .fp-card__plan.has-img { cursor: zoom-in; }
.nkfp .fp-card__plan-img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  margin: 0 auto;
  background: #fff;
  transition: transform 0.3s ease;
}
.nkfp .fp-card__plan-img[hidden] { display: none; }
.nkfp .fp-card__plan.has-img:hover .fp-card__plan-img { transform: scale(1.02); }
.nkfp .fp-card__plan-zoom {
  position: absolute;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  width: 34px;
  height: 34px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(40, 142, 255, 0.9);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 2px 8px var(--shadow);
  transition: transform 0.18s ease;
}
.nkfp .fp-card__plan.has-img .fp-card__plan-zoom { display: flex; }
.nkfp .fp-card__plan.has-img:hover .fp-card__plan-zoom { transform: scale(1.1); }
.nkfp .fp-lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(16, 26, 40, 0.92);   
  opacity: 0;
  transition: opacity 0.22s ease;
}
.nkfp .fp-lb.is-open { opacity: 1; }
.nkfp .fp-lb__img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform 0.22s ease;
}
.nkfp .fp-lb.is-open .fp-lb__img { transform: scale(1); }
.nkfp .fp-lb__nav {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.16s ease;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}
.nkfp .fp-lb__nav:hover { background: var(--accent); }
.nkfp .fp-lb__prev { inset-inline-start: 18px; }
.nkfp .fp-lb__next { inset-inline-end: 18px; }
.nkfp .fp-lb__close, .nkfp .glightbox-clean .gclose {
  position: absolute;
  top: 16px !important;
  left: 16px !important;
  right: auto !important;
  inset-inline-end: auto;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white) !important;
  color: var(--accent-dark);
  font-size: 28px;
  line-height: 1;
  opacity: 1 !important;
  cursor: pointer;
  box-shadow: 0 2px 10px var(--shadow);
  transition: background 0.16s ease, transform 0.16s ease;
}
.nkfp .fp-lb__close:hover, .nkfp .glightbox-clean .gclose:hover { background: var(--accent) !important; transform: scale(1.08); }
.nkfp .glightbox-clean .gclose svg { width: 20px; height: 20px; }
.nkfp .glightbox-clean .gclose svg * { fill: var(--accent-dark) !important; stroke: var(--accent-dark) !important; }
.nkfp .glightbox-clean .gclose:hover svg * { fill: #fff !important; stroke: #fff !important; }
.nkfp .glightbox-clean .gslide-description { background: var(--white); }
.nkfp .goverlay { background: rgba(16, 26, 40, 0.92) !important; }
.nkfp .glightbox-clean .gnext, .nkfp .glightbox-clean .gprev { background: rgba(40, 142, 255, 0.9); border-radius: 50%; }
.nkfp .glightbox-clean .gnext:hover, .nkfp .glightbox-clean .gprev:hover { background: var(--accent-dark); }
.nkfp .fp-card__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
.nkfp .fp-card__col--media { order: -1; }
@media  (min-width: 769px) {
.nkfp .fp-card--wide { width: 940px; }
.nkfp .fp-card__body { grid-template-columns: 0.86fr 1.24fr; gap: 24px; }
.nkfp .fp-card__col--media { order: 0; position: sticky; top: 0; }
}
.nkfp .fp-card__form {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 16px;
  background: var(--kh-bg, #f6f7f9);
  border: 1px solid var(--kh-line, #e8e9ee);
}
.nkfp .lead-form__title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 800;
  color: var(--accent-dark);
}
.nkfp .lead-form__field {
  display: block;
  margin-bottom: 12px;
}
.nkfp .lead-form__label {
  display: block;
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 6px;
}
.nkfp .lead-form__field .iti {width: 100%;}
.nkfp .lead-form__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--accent-dark);
  background: #fff;
  border: 1px solid var(--kh-line, #e8e9ee);
  border-radius: var(--kh-r-field, 12px);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.nkfp .lead-form__input:focus {
  outline: none;
  border-color: var(--kh-blue, #288eff);
  box-shadow: 0 0 0 3px var(--kh-focus-ring, rgba(40,142,255,.18));
}
.nkfp .lead-form__input--phone::placeholder { text-align: right; }
.nkfp .lead-form__agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.nkfp .lead-form__agree input { margin-top: 3px; flex: none; }
.nkfp .lead-form__agree a { color: var(--accent); }
.nkfp .lead-form__error {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--kh-danger, #e5484d);
}
.nkfp .lead-form #lead-submit { width: 100%; }
.nkfp .fp-card__actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.nkfp .fp-card__close-link {
  border: none;
  background: none;
  padding: 4px 8px;
  font: inherit;
  font-size: 14px;
  color: var(--grey);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.16s ease;
}
.nkfp .fp-card__close-link:hover { color: var(--accent-dark); }
.nkfp .fp-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  z-index: 500;
  padding: 14px 24px;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 12px 40px var(--veil);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nkfp .fp-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.nkfp .fp-grid, .nkfp .fp-anim {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
}
.nkfp .fp-grid[hidden] { display: none; }
.nkfp .fp-anim { margin-top: 4px; }
.nkfp .fp-anim__status {
  font-size: 12px;
  line-height: 1.5;
  color: var(--accent-dark);
  padding: 8px 10px;
  background: var(--white);
  border-radius: 8px;
}
.nkfp .fp-anim__status .ok { color: var(--kh-success-text, #0b6b34); }
.nkfp .fp-anim__status .no { color: var(--kh-danger, #e5484d); }
.nkfp .fp-grid__title {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-dark);
}
.nkfp .fp-grid__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.nkfp .fp-grid__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  color: var(--accent-dark);
}
.nkfp .fp-grid__row--wide { font-weight: 700; }
.nkfp .fp-grid__row input, .nkfp .fp-grid__row select {
  width: 78px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: inherit;
  font-size: 13px;
  color: var(--accent-dark);
  background: var(--white);
}
.nkfp .fp-grid__row--wide input { width: 92px; }
.nkfp .fp-grid__unit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--grey);
}
.nkfp .fp-grid__unit label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.nkfp .fp-grid #grid-regen { width: 100%; margin-top: 2px; }
.nkfp .fp-grid__warn {
  font-size: 11px;
  line-height: 1.4;
  color: var(--nk-orange, #f07800);
  background: rgba(240, 120, 0, 0.15);
  border-radius: 8px;
  padding: 7px 9px;
}
.nkfp .fp-plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
}
.nkfp .fp-plan[hidden] { display: none; }
.nkfp .fp-plan input, .nkfp .fp-plan select {
  width: 96px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: inherit;
  font-size: 13px;
  color: var(--accent-dark);
  background: var(--white);
}
.nkfp .fp-plan #num-apply, .nkfp .fp-plan #plan-select { width: auto; }
.nkfp .fp-plan #plan-select { min-width: 130px; }
.nkfp .fp-plan__inspector {
  border-top: 1px dashed var(--line);
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nkfp .fp-plan__hint { font-size: 12px; color: var(--grey); line-height: 1.4; }
.nkfp .fp-ord { display: inline-flex; gap: 4px; }
.nkfp .fp-ord button {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
}
.nkfp .fp-ord button:hover { background: var(--accent); color: #fff; }
.nkfp .fp-versions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--bg);
  border-radius: 12px;
}
.nkfp .fp-versions[hidden] { display: none; }
.nkfp .fp-ver-row { display: flex; gap: 8px; }
.nkfp .fp-ver-row #ver-name {
  flex: 1;
  height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: inherit;
  font-size: 13px;
}
.nkfp .fp-ver-row .site-btn { white-space: nowrap; }
.nkfp .fp-ver-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nkfp .fp-ver-empty { font-size: 12px; color: var(--grey); font-style: italic; }
.nkfp .fp-ver-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 8px;
}
.nkfp .fp-ver-meta { font-size: 12px; color: var(--accent-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nkfp .fp-ver-btns { display: flex; gap: 4px; flex: 0 0 auto; }
.nkfp .fp-ver-btns button {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 6px;
  background: var(--bg);
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}
.nkfp .fp-ver-btns button:hover { background: var(--accent); color: #fff; }
.nkfp .fp-tooltip.has-cta { pointer-events: auto; }
.nkfp .fp-tt-cta { width: 100%; margin-top: 10px; }
.nkfp .fp-debug__mobile {
  display: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.nkfp .lang-he {
    direction: rtl;
}
.nkfp .lang-he .lead-form__input--phone {
    
    direction: ltr;
    text-align: right;
}
@media  (max-width: 768px) {
.nkfp .fp-intro__title { font-size: 22px; }
.nkfp .fp-intro__subtitle { font-size: 14px; }
.nkfp .site-btn { height: 44px; padding: 0 22px; font-size: 14px; }
.nkfp .fp-tooltip { min-width: 130px; padding: 10px 12px; }
.nkfp .fp-debug__body { display: none; }
.nkfp .fp-debug__mobile { display: block; }
.nkfp .fp-card-overlay { align-items: flex-end; padding: 0; }
.nkfp .fp-card {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
    animation: fp-sheet-in 0.25s ease;
  }
@keyframes fp-sheet-in {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
.nkfp .fp-card__actions { flex-direction: column; }
}
@media  (prefers-reduced-motion: reduce) {
.nkfp .fp-view, .nkfp .fp-tooltip, .nkfp .fp-card, .nkfp .fp-card-overlay, .nkfp .fp-poly, .nkfp .fp-stage__img, .nkfp .fp-toast {
    transition: none !important;
    animation: none !important;
  }
}

/* Core selector integration. All module-specific overrides remain isolated. */
.nkfp { position: relative; min-height: 400px; }
.nkfp .nkfp-error { margin: 16px auto; max-width: 1400px; padding: 16px; background: var(--kh-error-bg, #fdecec); color: var(--kh-error-text, #a12a2e); border-radius: 12px; }
.nkfp .nkfp-error[hidden], .nkfp .nkfp-loading[hidden] { display: none; }
.nkfp .nkfp-loading { max-width: 1400px; margin: 20px auto; padding: 18px; text-align: center; color: var(--accent-dark); }
.nkfp .fp-view { position: relative; }
.nkfp .fp-intro__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nkfp .fp-intro__actions [hidden] { display: none; }
.nkfp .fp-view--over { position: fixed; }
.nkfp .fp-stage.is-noimg .fp-overlay { display: none; }
.nkfp .fp-stage.is-noimg .fp-plan-ph { display: flex; }
.nkfp .fp-plan-ph { line-height: 1.5; }
.nkfp .fp-poly { cursor: pointer; }
.nkfp .fp-poly:focus-visible { outline: none; stroke-width: 3.5px; filter: drop-shadow(0 0 8px var(--accent)); }
.nkfp .unit-poly--unknown { fill: rgba(146,146,145,.12); stroke: rgba(146,146,145,.8); stroke-dasharray: 5 6; cursor: not-allowed; opacity: .7; }
.nkfp .unit-poly--unknown:hover { fill: rgba(146,146,145,.18); }
.nkfp .unit-poly--reserved { fill: var(--unit-busy); stroke: var(--unit-busy-line); stroke-dasharray: 8 5; }
.nkfp .unit-poly--available { fill: var(--unit-free); stroke: var(--unit-free-line); }
.nkfp .unit-poly--available:hover { fill: var(--unit-free-strong); stroke-width: 2.5; }
.nkfp .unit-poly--reserved:hover { fill: var(--unit-busy-strong); stroke-width: 2.5; }
.nkfp .fp-card__badge--unknown { background: var(--kh-mist, #e9e9f2); color: #555; }
.nkfp .fp-unit-label--unknown .fp-unit-label__st { fill: #777; }
.nkfp .fp-unit-label--available .fp-unit-label__st { fill: var(--unit-free-line); }
.nkfp .fp-unit-label--reserved .fp-unit-label__st { fill: var(--gold); }
.nkfp .nkfp-unit-link { margin-top: 14px; width: fit-content; }
.nkfp .nkfp-unit-link[hidden] { display: none; }
.nkfp .fp-card__plan { width: 100%; }
.nkfp .fp-card__plan-img { max-width: 100%; }
.nkfp .fp-floor-badge--project .fp-floor-badge__bg { fill: var(--accent); }
.nkfp .fp-floornav__item:not(:disabled) { cursor:pointer; }
.nkfp .fp-floornav__item:disabled { cursor:not-allowed; }
.nkfp .fp-floornav__item:focus-visible { outline:2px solid var(--gold); outline-offset:2px; }
.nkfp .fp-floornav { z-index: 66; }
.nkfp .fp-tooltip { z-index: 401; }
.nkfp .fp-card-overlay { z-index: 600; }
.nkfp .fp-card--wide { overscroll-behavior: contain; }
.nkfp .fp-stage__img { object-fit: contain; }
.nkfp .fp-overlay { touch-action: manipulation; }
.nkfp .fp-stage__zoom { width: 100%; }
.nkfp #zoom-floor { width: auto; }
.nkfp #zoom-floor img { max-width: 100%; }
.nkfp .fp-view--over { background: rgba(239,239,241,.77); }
@media (max-width: 768px) {
  .nkfp .fp-intro { align-items: flex-start; }
  .nkfp .fp-intro__actions { justify-content: flex-start; }
  .nkfp .fp-card__grid { grid-template-columns: repeat(2, 1fr); }
  .nkfp .fp-floornav__list { max-height: 56vh; }
}

/* Mobile floor choices: photo hot spots remain touchable, list ensures 44px targets. */
.nkfp .nkfp-mobile-floors { display: none; }
@media (max-width: 768px) {
  .nkfp #view-building .fp-floor-badge { display: none; }
  .nkfp .nkfp-mobile-floors {
    display: flex; align-items: center; gap: 8px;
    width: calc(100% - 30px); margin: -42px auto 30px;
    padding: 8px; overflow-x: auto; background: #fff;
    border-radius: 12px; box-shadow: 0 4px 22px var(--shadow);
    position: relative; z-index: 2;
  }
  .nkfp .nkfp-mobile-floor-btn {
    flex: 0 0 44px; width: 44px; height: 44px;
    border: none; border-radius: 50%; color: #fff;
    background: var(--accent); font: inherit; font-weight: 700;
    font-size: 16px; cursor: pointer;
  }
  .nkfp .nkfp-mobile-floor-btn:disabled { background: var(--grey); opacity: .5; cursor: not-allowed; }
  .nkfp .nkfp-mobile-floor-btn:focus-visible { outline: 3px solid var(--gold); }
  .nkfp #view-floor:not([hidden]) { display: flex; flex-direction: column; }
  .nkfp .fp-floornav {
    position: relative; inset: auto; top: auto; transform: none;
    flex: 0 0 auto; flex-direction: row; align-items: center;
    width: calc(100% - 16px); max-width: none; min-width: 0; max-height: none;
    margin: 8px auto; gap: 8px; padding: 8px;
    border-radius: 12px; overflow: hidden;
  }
  .nkfp .fp-floornav__head { flex: 0 0 auto; align-items: center; gap: 4px; }
  .nkfp .fp-floornav__list { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 4px 2px; gap: 6px; max-height: none; }
  .nkfp .fp-floornav__item { flex: 0 0 40px; }
  body:not(.fp-edit) .nkfp #view-floor .fp-stage {
    flex: 1 1 auto; width: 100%; padding: 0 8px; margin: 0;
    max-width: none; min-height: 0;
  }
  body:not(.fp-edit) .nkfp #view-floor .fp-stage__zoom { max-width: 100%; }
  body:not(.fp-edit) .nkfp #view-floor .fp-stage__img { max-height: calc(100vh - 130px); }
}
@media (max-width: 768px) {
  /* Prevent the underlying mobile facade/floor list from showing through the plan. */
  .nkfp .fp-view--over { background: var(--kh-surface, #ffffff); }
}


/* NewKey UI alignment v2. No global site selectors. */
.nkfp {
  --accent: var(--kh-blue, #288eff);
  --accent-dark: var(--kh-indigo, #2f2963);
  --grey: var(--kh-text-2, #585857);
  --line: var(--kh-line, #e8e9ee);
  --shadow: rgba(47, 41, 99, 0.11);
  --floor-num: var(--kh-blue, #288eff);
  background: transparent;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.5;
}
.nkfp .nkfp-main,
.nkfp .fp-view:not(.fp-view--over) {
  background: transparent;
}
.nkfp .fp-intro,
.nkfp .fp-stage,
.nkfp .nkfp-error,
.nkfp .nkfp-loading {
  width: calc(100% - 32px);
  max-width: 1200px;
}
.nkfp .fp-intro {
  align-items: center;
  gap: 28px;
  margin: 30px auto 20px;
}
.nkfp .fp-intro .left {
  min-width: 0;
  text-align: start;
}
.nkfp .fp-intro__title {
  margin: 0 0 7px;
  color: var(--accent-dark);
  font-family: inherit;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.24;
}
.nkfp .fp-intro__subtitle {
  color: var(--kh-text-2, #585857);
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.nkfp .fp-stage {
  margin: 0 auto 48px;
  border-radius: 16px;
  background: transparent;
  box-shadow: 0 9px 30px rgba(20, 33, 62, 0.10);
}
.nkfp .fp-stage__zoom {
  border-radius: inherit;
}
.nkfp .fp-floornav__floor,
.nkfp .fp-card__title {
  font-family: inherit;
}
/* Keep the full-screen floor view above the website's fixed/sticky header. */
body.fp-floor-open .nkfp {
  position: relative;
  z-index: 2147483000;
}
body.fp-floor-open .nkfp #view-floor.fp-view--over {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #fff;
}
body.fp-floor-open .nkfp .fp-tooltip {
  z-index: 1100;
}
body.fp-floor-open .nkfp .fp-card-overlay {
  z-index: 1200;
}
/* Floor plan and vertical navigation stay inside the same 1200 px grid. */
body:not(.fp-edit) .nkfp #view-floor .fp-stage {
  width: calc(100% - 32px);
  max-width: 1200px;
  padding-inline-start: 148px;
  padding-inline-end: 12px;
  margin: 0 auto 12px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body:not(.fp-edit) .nkfp #view-floor .fp-stage__zoom {
  border-radius: 16px;
  box-shadow: 0 9px 30px rgba(20, 33, 62, 0.10);
}
@media (min-width: 1232px) {
  .nkfp #view-floor .fp-floornav {
    inset-inline-start: calc((100vw - 1200px) / 2 + 12px);
  }
}
@media (min-width: 769px) and (max-width: 1231px) {
  .nkfp #view-floor .fp-floornav {
    inset-inline-start: 18px;
  }
}
@media (max-width: 768px) {
  .nkfp .fp-intro,
  .nkfp .fp-stage,
  .nkfp .nkfp-error,
  .nkfp .nkfp-loading {
    width: calc(100% - 24px);
  }
  .nkfp .fp-intro {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
    margin: 18px auto 14px;
  }
  .nkfp .fp-intro__title {
    font-size: 26px;
    line-height: 1.28;
  }
  .nkfp .fp-intro__subtitle {
    font-size: 14px;
  }
  .nkfp .fp-intro .site-btn {
    height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }
  .nkfp .fp-stage {
    margin-bottom: 38px;
    border-radius: 13px;
  }
  .nkfp .nkfp-mobile-floors {
    width: calc(100% - 24px);
  }
  body:not(.fp-edit) .nkfp #view-floor .fp-stage {
    width: 100%;
    max-width: 1200px;
    padding: 0 8px;
    margin: 0;
  }
  body:not(.fp-edit) .nkfp #view-floor .fp-stage__zoom {
    border-radius: 12px;
  }
}

/* Picker v3: obvious exit from the full-screen floor scene. */
body.fp-floor-open .nkfp #view-floor .fp-floor-close {
  position: fixed;
  inset-block-start: 18px;
  inset-inline-end: 18px;
  z-index: 130;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--kh-line, #e8e9ee);
  border-radius: 50%;
  background: #fff;
  color: var(--kh-indigo, #2f2963);
  font-family: inherit;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(20,33,62,.16);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nkfp .fp-floor-close:hover {
  background: var(--kh-blue, #288eff) !important;
  color: #fff !important;
  transform: scale(1.05);
}
.nkfp .fp-floor-close:focus-visible { outline: 3px solid var(--kh-blue, #288eff); outline-offset: 3px; }
.nkfp .fp-floor-close:not(:hover) { color: var(--kh-indigo, #2f2963); }
.nkfp #lead-form-host[hidden], .nkfp #nkfp-booking-unavailable[hidden] { display: none; }
.nkfp .nkfp-booking-form { display: flex; flex-direction: column; gap: 11px; }
.nkfp .nkfp-booking-form .lead-form__title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.4; }
.nkfp .nkfp-booking-form .lead-form__field { margin: 0; }
.nkfp .nkfp-booking-form .lead-form__input { height: 46px; background: #fff; font-family: inherit; font-size: 15px; }
.nkfp .nkfp-booking-form input[name="uphone"] { direction: ltr; unicode-bidi: isolate; }
.nkfp .nkfp-booking-form .lead-form__agree { display:flex; gap: 9px; align-items: flex-start; margin: 5px 0 0; font-size: 13px; line-height: 1.45; }
.nkfp .nkfp-booking-form .lead-form__agree input {    -webkit-appearance: auto; margin-top: 3px; width: 17px; height: 17px; accent-color: var(--kh-blue, #288eff); }
.nkfp .nkfp-booking-form .site-btn { width: 100%; margin-top: 5px; }
.nkfp .nkfp-booking-form [data-error], .nkfp .nkfp-booking-form [data-validation-error] { display:block; color:var(--kh-error-text, #a12a2e); font-size:12px; }
.nkfp .nkfp-booking-form [data-success] { display:block; color:var(--kh-success-text, #0b6b34); font-size:13px; font-weight:700; }
.nkfp .nkfp-booking-form [data-error]:empty, .nkfp .nkfp-booking-form [data-success]:empty, .nkfp .nkfp-booking-form [data-validation-error]:empty { display:none; }
.nkfp .nkfp-booking-unavailable { padding:12px 14px; margin:0 0 12px; border:1px solid var(--kh-line, #e8e9ee); border-radius:12px; color:var(--kh-text-2, #585857); font-size:14px; }
@media (max-width: 768px) {
  body.fp-floor-open .nkfp #view-floor .fp-floor-close {
    inset-block-start: 12px;
    inset-inline-end: 12px;
    width: 44px;
    height: 44px;
  }
  .nkfp .nkfp-booking-form .lead-form__input { height:44px; }
}

/* NewKey picker: Fancybox is appended to <body>, outside the high-z-index picker. */
body.fp-floor-open .fancybox__container,
body.fp-floor-open .fancybox-container {
  z-index: 2147483646 !important;
  font-family: var(--kh-font, Rubik, sans-serif);
}

/* Accessible fallback if Fancybox's local script cannot be loaded. */
.nkfp-fallback-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px;
  background: rgba(2, 3, 4, .88);
  opacity: 0;
  transition: opacity var(--kh-dur-fast, .18s) ease;
}
.nkfp-fallback-lightbox.is-open { opacity: 1; }
.nkfp-fallback-lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.nkfp-fallback-lightbox button {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--kh-surface, #fff);
  color: var(--kh-indigo, #2f2963);
  box-shadow: var(--kh-sh-md, 0 4px 16px rgba(47,41,99,.08));
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.nkfp .fp-card__plan.has-img:focus-visible {
  outline: 3px solid var(--kh-blue, #288eff);
  outline-offset: 3px;
}
.nkfp .fp-card__meta { color: var(--kh-text-2, #585857); }
.nkfp .fp-card__meta b { color: var(--kh-indigo, #2f2963); }
.nkfp .fp-card__badge--free { color: var(--kh-success-text, #0b6b34); background: var(--kh-success-bg, #e6f6ec); }
.nkfp .fp-card__badge--booked { color: var(--nk-orange, #f07800); background: rgba(240,120,0,.12); }
.nkfp .lead-form__label { color: var(--kh-text-2, #585857); }
.nkfp .nkfp-booking-form .lead-form__agree a { color: var(--kh-indigo, #2f2963); }
.nkfp .fp-card__plan-zoom { background: var(--kh-blue, #288eff); }
