.zlc-shell {
  --ink: #17211d;
  --muted: #657169;
  --line: #d6ddd7;
  --paper: #fbfcf8;
  --panel: #ffffff;
  --green: #14a44d;
  --yellow: #e9bd25;
  --orange: #e87c23;
  --red: #c9362b;
  --purple: #7a3db8;
  --teal: #0e7c7b;
  --gold: #bb8a2e;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

.zlc-shell * {
  box-sizing: border-box;
}

.zlc-hero {
  min-height: 520px;
  display: grid;
  align-items: end;
  padding: clamp(24px, 5vw, 64px);
  background:
    linear-gradient(180deg, rgba(15, 22, 19, 0.08), rgba(15, 22, 19, 0.82)),
    url("assets/Condo style four unit home - Day view - Copy.jpg") center / cover;
  color: #fff;
}

.zlc-hero-inner {
  max-width: 980px;
}

.zlc-kicker {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zlc-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.6rem, 5.2vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.zlc-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.7vw, 1.28rem);
}

.zlc-wrap {
  width: min(1500px, 100%);
  margin: 0 auto;
  padding: clamp(18px, 3vw, 42px);
}

.zlc-topbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.zlc-title h2,
.zlc-panel h2,
.zlc-gallery h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2.1rem);
  line-height: 1.12;
}

.zlc-title p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.zlc-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zlc-btn {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  min-height: 40px;
  padding: 9px 13px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.zlc-btn:hover,
.zlc-btn:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(14, 124, 123, 0.15);
}

.zlc-btn-primary {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.zlc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.zlc-map-card,
.zlc-gallery {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.zlc-map-stage {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #f4f6f1;
  cursor: grab;
  touch-action: none;
}

.zlc-map-stage.is-dragging {
  cursor: grabbing;
}

.zlc-map-transform {
  width: 3900px;
  height: 520px;
  transform-origin: 0 0;
}

.zlc-map-svg {
  display: block;
  width: 3900px;
  height: 520px;
}

.zlc-road {
  fill: #e7e9e3;
  stroke: #a8b0a8;
  stroke-width: 2;
}

.zlc-road-line {
  stroke: #fff;
  stroke-width: 3;
  stroke-dasharray: 18 14;
}

.zlc-lot {
  cursor: pointer;
}

.zlc-lot rect {
  stroke: #202822;
  stroke-width: 2;
}

.zlc-lot.zlc-status-1 rect {
  fill: rgba(20, 164, 77, 0.42);
}

.zlc-lot.zlc-status-2 rect {
  fill: rgba(233, 189, 37, 0.5);
}

.zlc-lot.zlc-status-3 rect {
  fill: rgba(232, 124, 35, 0.48);
}

.zlc-lot.zlc-status-4 rect {
  fill: rgba(201, 54, 43, 0.44);
}

.zlc-lot.zlc-status-5 rect {
  fill: rgba(122, 61, 184, 0.44);
}

.zlc-lot:hover rect,
.zlc-lot:focus rect,
.zlc-lot.is-focused rect,
.zlc-lot.is-packaged rect {
  stroke: var(--teal);
  stroke-width: 4;
}

.zlc-lot.is-packaged rect {
  fill: #083d3c;
  stroke: #f5c84b;
  stroke-width: 7;
  filter: drop-shadow(0 8px 8px rgba(8, 61, 60, 0.28));
}

.zlc-lot.is-packaged text {
  fill: #fff;
}

.zlc-lot.is-focused:not(.is-packaged) rect {
  stroke: #f5c84b;
  stroke-width: 6;
}

.zlc-lot text {
  fill: #17211d;
  font-size: 17px;
  font-weight: 800;
  pointer-events: none;
}

.zlc-status-dot {
  stroke: #fff;
  stroke-width: 3;
}

.zlc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.zlc-map-help {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  background: #f8faf4;
  color: var(--muted);
  font-weight: 700;
}

.zlc-minimap {
  height: 92px;
  width: 100%;
  border-top: 1px solid var(--line);
  background: #eef1eb;
  cursor: ew-resize;
  touch-action: none;
  overflow: hidden;
  padding: 12px 16px;
  box-sizing: border-box;
}

.zlc-minimap-track {
  position: relative;
  width: 100%;
  height: 68px;
  overflow: hidden;
  border: 1px solid #bfc9c0;
  border-radius: 8px;
  background: #f8faf4;
}

.zlc-minimap-lots,
.zlc-minimap-road {
  position: absolute;
  inset: 0;
}

.zlc-minimap-road {
  top: 43px;
  height: 20px;
  left: 2%;
  right: 2%;
  border-radius: 5px;
  background: #dfe4dc;
}

.zlc-minimap-road span {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 9px;
  border-top: 2px dashed #fff;
}

.zlc-mini-lot {
  position: absolute;
  top: 10px;
  height: 30px;
  border: 1px solid rgba(23, 33, 29, 0.42);
  border-radius: 3px;
}

.zlc-mini-lot.zlc-status-1 {
  background: rgba(20, 164, 77, 0.48);
}

.zlc-mini-lot.zlc-status-2 {
  background: rgba(233, 189, 37, 0.58);
}

.zlc-mini-lot.zlc-status-3 {
  background: rgba(232, 124, 35, 0.55);
}

.zlc-mini-lot.zlc-status-4 {
  background: rgba(201, 54, 43, 0.5);
}

.zlc-mini-lot.zlc-status-5 {
  background: rgba(122, 61, 184, 0.5);
}

.zlc-mini-lot.is-packaged {
  background: #083d3c;
  border: 2px solid #f5c84b;
}

.zlc-minimap-window {
  position: absolute;
  top: 4px;
  bottom: 4px;
  border: 4px solid #0e7c7b;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 3px 10px rgba(14, 124, 123, 0.22);
  box-sizing: border-box;
  pointer-events: none;
}

.zlc-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.zlc-chip {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.zlc-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.zlc-panel > h3,
.zlc-panel > .zlc-owner-stages,
.zlc-panel > .zlc-form,
.zlc-stack-head,
.zlc-stack {
  margin-left: 18px;
  margin-right: 18px;
}

.zlc-stack-head {
  display: flex;
  gap: 14px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.zlc-stack-head h2 {
  margin-bottom: 4px;
}

.zlc-selected-media {
  height: 220px;
  margin: 0 0 16px;
  background: #d9dfd8 center / cover;
}

.zlc-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.zlc-empty-stack {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px dashed #b8c3ba;
  border-radius: 8px;
  background: #f8faf4;
  color: var(--muted);
}

.zlc-empty-stack b {
  color: var(--ink);
}

.zlc-stack-row {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(300px, 1.25fr) minmax(260px, 1fr) 42px;
  gap: 12px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 9px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}

.zlc-stack-row.zlc-status-1 {
  border-left-color: #14a44d;
}

.zlc-stack-row.zlc-status-2 {
  border-left-color: #e9bd25;
}

.zlc-stack-row.zlc-status-3 {
  border-left-color: #e87c23;
}

.zlc-stack-row.zlc-status-4 {
  border-left-color: #c9362b;
}

.zlc-stack-row.zlc-status-5 {
  border-left-color: #7a3db8;
}

.zlc-stack-lot,
.zlc-stack-control {
  display: grid;
  gap: 4px;
}

.zlc-stack-lot b {
  font-size: 1.12rem;
}

.zlc-stack-lot small,
.zlc-stack-control span,
.zlc-stack-lot em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
}

.zlc-selected-badge {
  width: max-content;
  padding: 3px 7px;
  border-radius: 999px;
  background: #083d3c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zlc-stack-control select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.zlc-icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #edf1ed;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.zlc-icon-btn:hover,
.zlc-icon-btn:focus {
  background: #083d3c;
  color: #fff;
}

.zlc-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 10px;
}

.zlc-step {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.zlc-step-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef3ee;
  color: var(--ink);
  font-weight: 800;
}

.zlc-step.is-active {
  border-color: var(--gold);
  background: #fff9ec;
}

.zlc-step b {
  display: block;
}

.zlc-step small {
  display: block;
  color: var(--muted);
}

.zlc-owner-stages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.zlc-owner-stages span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f4f6f1;
  color: var(--muted);
  padding: 6px 10px;
  font-size: 0.86rem;
  font-weight: 700;
}

.zlc-owner-stages b {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.zlc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.zlc-field:has(textarea),
.zlc-form .zlc-btn-primary,
.zlc-notice {
  grid-column: 1 / -1;
}

.zlc-field {
  display: grid;
  gap: 5px;
}

.zlc-field label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.zlc-field input,
.zlc-field select,
.zlc-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 42px;
  padding: 9px 10px;
  font: inherit;
}

.zlc-field textarea {
  min-height: 84px;
  resize: vertical;
}

.zlc-notice {
  min-height: 22px;
  color: var(--teal);
  font-weight: 700;
}

.zlc-reference {
  margin-top: 18px;
}

.zlc-plan-strip {
  display: grid;
  gap: 10px;
  padding: 12px;
  max-height: 460px;
  overflow: auto;
  background: #eef1eb;
}

.zlc-plan-strip img {
  display: block;
  width: 100%;
  min-width: 980px;
  height: auto;
  border: 1px solid #cbd2cc;
  background: #fff;
}

.zlc-gallery {
  margin-top: 18px;
  padding: 18px;
}

.zlc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.zlc-gallery-card {
  min-height: 220px;
  display: grid;
  align-content: end;
  padding: 12px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75)), var(--img) center / cover;
  color: #fff;
}

.zlc-gallery-card b,
.zlc-gallery-card small {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.zlc-gallery-card small {
  color: rgba(255, 255, 255, 0.84);
}

@media (max-width: 980px) {
  .zlc-grid,
  .zlc-gallery-grid {
    grid-template-columns: 1fr;
  }

  .zlc-map-stage {
    height: 470px;
  }

  .zlc-stack-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .zlc-icon-btn {
    justify-self: end;
  }
}

@media (max-width: 620px) {
  .zlc-hero {
    min-height: 460px;
    padding: 22px;
  }

  .zlc-wrap {
    padding: 16px;
  }

  .zlc-stack-head {
    display: grid;
  }

  .zlc-panel > h3,
  .zlc-panel > .zlc-owner-stages,
  .zlc-panel > .zlc-form,
  .zlc-stack-head,
  .zlc-stack {
    margin-left: 12px;
    margin-right: 12px;
  }

  .zlc-form {
    grid-template-columns: 1fr;
  }
}
