/* ==========================================
   MAP
========================================== */

/* MAP */
  .p18-map-wrap { display: flex; justify-content: center; }
  .p18-map-box {
    width: 100%; max-width: 1080px;
    background: var(--surface); border: 1px solid var(--border2);
    padding: 18px; border-radius: 8px;
  }
  .p18-map-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px;
  }
  .p18-map-location { font-size: 12px; color: var(--muted); }
  .p18-map-area { font-size: 12px; color: var(--muted); }
  .p18-map-plot {
    position: relative;
    padding: clamp(14px, 2vw, 22px);
    background:
      linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)),
      #0e100f;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }
  .p18-map-scroll {
    max-height: min(84vh, 980px);
    overflow: auto;
    padding: 8px;
  }
  .p18-property-svg {
    display: block;
    width: min(100%, 680px);
    min-width: 360px;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 20px 34px rgba(0,0,0,0.28));
  }
  .p18-property-fill {
    fill: rgba(255,255,255,0.025);
  }
  .p18-property-boundary {
    fill: none;
    stroke: rgba(54,214,107,0.78);
    stroke-width: 0.36;
    vector-effect: non-scaling-stroke;
  }
  .p18-front-depth-mark {
    fill: none;
    stroke: rgba(255,255,255,0.26);
    stroke-width: 0.22;
    stroke-dasharray: 1.2 0.8;
    vector-effect: non-scaling-stroke;
  }
  .p18-map-cell {
    stroke: rgba(255,255,255,0.045);
    stroke-width: 0.08;
    cursor: pointer;
    transition: fill 0.12s, stroke 0.12s;
  }
  .p18-map-cell--available { fill: #121513; }
  .p18-map-cell--claimed,
  .p18-cell--claimed { fill: var(--green); }
  .p18-map-cell--reserved { fill: #2a2f2b; }
  .p18-map-cell--preview {
    fill: rgba(54,214,107,0.26);
    stroke: rgba(54,214,107,0.8);
  }
  .p18-map-cell--preview-invalid {
    fill: rgba(255,255,255,0.08);
    stroke: rgba(255,255,255,0.34);
  }
  .p18-map-cell--custom-selected {
    fill: rgba(54,214,107,0.38);
    stroke: rgba(236,239,234,0.72);
    stroke-width: 0.16;
  }
  .p18-map-cell:hover {
    fill: #2a342c;
    stroke: rgba(255,255,255,0.35);
  }
  .p18-map-cell--custom-selected:hover { fill: rgba(54,214,107,0.48); }
  .p18-map-cell--claimed:hover { fill: var(--green); }
  .p18-claim-image {
    pointer-events: none;
    opacity: 0.82;
  }
  .p18-house-overlay {
    pointer-events: none;
  }
  .p18-house-footprint {
    fill: rgba(236,239,234,0.12);
    stroke: rgba(236,239,234,0.62);
    stroke-width: 0.28;
    vector-effect: non-scaling-stroke;
  }
  .p18-house-label {
    fill: rgba(236,239,234,0.88);
    font-size: 1.25px;
    font-weight: 700;
    letter-spacing: 0;
  }
  .p18-svg-road {
    fill: var(--muted);
    font-size: 1.35px;
    letter-spacing: 0;
  }
  .p18-svg-road {
    fill: #c8cec5;
    text-transform: uppercase;
  }
  .p18-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 16px;
    color: var(--muted);
    font-size: 12px;
  }
  .p18-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
  }
  .p18-legend-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border: 1px solid rgba(255,255,255,0.12);
  }
  .p18-legend-dot--available { background: #121513; }
  .p18-legend-dot--claimed { background: var(--green); }
  .p18-legend-dot--reserved { background: #2a2f2b; }
  .p18-measured-dimensions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    max-width: 720px;
    margin: 18px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--border);
  }
  .p18-measured-group h3 {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  .p18-measured-group p {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,255,255,0.055);
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
  }
  .p18-measured-group strong {
    color: var(--text);
    font-weight: 650;
    text-align: right;
    white-space: nowrap;
  }
  .p18-zone-overlay {
    pointer-events: none;
    opacity: 0.42;
  }
  .p18-zone-fill {
    stroke: rgba(255,255,255,0.08);
    stroke-width: 0.08;
    vector-effect: non-scaling-stroke;
  }
  .p18-zone-fill--front { fill: rgba(255,255,255,0.025); }
  .p18-zone-fill--house { fill: rgba(255,255,255,0.05); }
  .p18-zone-fill--side { fill: rgba(255,255,255,0.03); }
  .p18-zone-fill--rear { fill: rgba(255,255,255,0.022); }
  .p18-zone-fill--strip { fill: rgba(255,255,255,0.018); }
  .p18-zone-fill--back { fill: rgba(255,255,255,0.032); }
  .p18-zone-label {
    fill: rgba(236,239,234,0.44);
    font-size: 1.08px;
    letter-spacing: 0;
  }
  .p18-zone-legend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px 12px;
    max-width: 720px;
    margin: 18px auto 0;
    color: var(--muted);
    font-size: 12px;
  }
  .p18-zone-item {
    display: grid;
    grid-template-columns: 10px 1fr;
    gap: 8px;
    align-items: start;
  }
  .p18-zone-marker {
    width: 9px;
    height: 9px;
    margin-top: 4px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.08);
  }
  .p18-zone-item strong {
    display: block;
    color: #c1c6bd;
    font-weight: 650;
    margin-bottom: 1px;
  }
  .p18-zone-item span:last-child {
    color: var(--muted2);
    line-height: 1.45;
  }
  .p18-map-shape-note {
    margin-top: 12px;
    text-align: center;
    color: var(--muted2);
    font-size: 12px;
  }
  .p18-live-status {
    margin-top: 10px;
    text-align: center;
    color: var(--muted2);
    font-size: 12px;
  }
  .p18-live-status[hidden] { display: none; }

  .p18-map-footer {
    margin-top: 14px;
  }
  .p18-map-count { font-size: 12px; color: var(--muted); }

  .p18-scarcity {
    max-width: 720px;
    margin: 56px auto 0;
    padding-top: 34px;
    border-top: 1px solid var(--border);
  }
  .p18-scarcity p {
    color: #c1c6bd;
    font-size: 17px;
    line-height: 1.85;
  }
  .p18-why {
    max-width: 720px;
    margin: 36px auto 0;
  }
  .p18-why ul {
    list-style: none;
    display: grid;
    gap: 12px;
  }
  .p18-why li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    line-height: 1.65;
  }
  .p18-why li::before {
    content: "";
    position: absolute; left: 0; top: 0.72em;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--border2);
    transform: translateY(-50%);
  }
