/* HouseScout — shared styles */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Brand palette ── */
  --navy:       #0e1654;   /* primary dark navy */
  --navy-mid:   #1a2b8a;   /* medium navy */
  --navy-light: #243399;   /* hover / lighter navy */
  --terracotta: #c84b2b;   /* brand orange */
  --sandy:      #e8c46a;   /* warm sandy accent */

  /* ── Condition colours (keep semantic) ── */
  --green:  #22c55e;
  --orange: #f59e0b;
  --red:    #ef4444;

  /* ── Neutrals ── */
  --white:    #ffffff;
  --off-white:#f5f3ef;
  --gray50:   #f9f8f5;
  --gray100:  #f0ede6;
  --gray200:  #e2ddd6;
  --gray400:  #a09a90;
  --gray500:  #6b6560;
  --gray700:  #3d3830;
  --gray900:  #1a1610;

  --radius: 14px;
  --shadow: 0 4px 24px rgba(14,22,84,.10);
  --shadow-lg: 0 8px 40px rgba(14,22,84,.16);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--off-white);
  color: var(--gray900);
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

/* ── Page background ─────────────────────────────────────────── */

.page-bg {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  min-height: 100vh;
  padding: 28px 20px 48px;
}

.container { max-width: 1240px; margin: 0 auto; }

/* ── Header ───────────────────────────────────────────────────── */

.site-header {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header .brand { display: flex; align-items: center; gap: 14px; }
.site-header .brand h1 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.5px;
}
.site-header .brand .tagline { color: var(--gray500); font-size: .9rem; margin-top: 2px; }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-right input {
  padding: 10px 18px;
  border: 2px solid var(--gray200);
  border-radius: 8px;
  font-size: .95rem;
  width: 260px;
  outline: none;
  transition: border-color .2s;
}
.header-right input:focus { border-color: var(--navy-mid); }

/* Scout in Action button */
.sia-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, transform .1s;
  border: 2px solid transparent;
}
.sia-btn:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
}

/* Register Interest button */
.register-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--terracotta);
  color: var(--white);
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background .15s, transform .1s;
}
.register-btn:hover {
  background: #a83a20;
  transform: translateY(-1px);
}

/* ── Stats bar ────────────────────────────────────────────────── */

.stats-bar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 32px;
  margin-bottom: 20px;
  display: flex;
}

.stat { flex: 1; text-align: center; padding: 8px 0; }
.stat + .stat { border-left: 1px solid var(--gray200); }
.stat-value { font-size: 2.1rem; font-weight: 700; color: var(--navy-mid); }
.stat-label { font-size: .82rem; color: var(--gray500); margin-top: 4px; }

/* ── Filters ──────────────────────────────────────────────────── */

.filters {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 22px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-label { font-size: .82rem; color: var(--gray500); font-weight: 600; margin-right: 4px; }

.filter-btn {
  padding: 7px 16px;
  border: 2px solid var(--gray200);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray700);
  transition: all .18s;
}
.filter-btn:hover { border-color: var(--navy-mid); color: var(--navy-mid); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.sort-select {
  margin-left: auto;
  padding: 7px 12px;
  border: 2px solid var(--gray200);
  border-radius: 8px;
  font-size: .85rem;
  color: var(--gray700);
  cursor: pointer;
  outline: none;
}

/* ── Property grid ────────────────────────────────────────────── */

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 22px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform .22s, box-shadow .22s;
  display: flex;
  flex-direction: column;
}
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card-thumb {
  position: relative; width: 100%; height: 210px;
  background: var(--gray200); overflow: hidden;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.score-overlay {
  position: absolute; top: 12px; right: 12px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.8);
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}

.card-body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 11px; }
.card-title { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.card-address { font-size: .85rem; color: var(--gray500); }

.card-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--gray500); }
.card-meta span { display: flex; align-items: center; gap: 4px; }

/* ── Recommendation pills ─────────────────────────────────────── */

.rec-pill {
  display: inline-block;
  padding: 6px 14px; border-radius: 20px;
  font-size: .8rem; font-weight: 600; text-align: center;
}
.rec-recommended          { background: #dcfce7; color: #166534; }
.rec-proceed_with_caution { background: #fef3c7; color: #92400e; }
.rec-not_recommended      { background: #fee2e2; color: #991b1b; }

/* ── Issue chips ──────────────────────────────────────────────── */

.issue-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px; border-radius: 8px;
  font-size: .88rem; font-weight: 700;
}
.chip-critical { background: #fee2e2; color: #991b1b; }
.chip-moderate { background: #fef3c7; color: #92400e; }

.card-summary { font-size: .86rem; color: var(--gray500); line-height: 1.55; flex: 1; }

.card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--gray100);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .78rem; color: var(--gray400);
}

.view-btn {
  background: var(--navy);
  color: var(--white);
  border: none; padding: 8px 16px; border-radius: 7px;
  font-size: .83rem; font-weight: 600; cursor: pointer;
  transition: background .18s;
}
.view-btn:hover { background: var(--navy-light); }

/* ── Detail page ──────────────────────────────────────────────── */

.detail-page { background: var(--off-white); min-height: 100vh; padding: 28px 20px 60px; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); color: var(--navy);
  font-weight: 600; font-size: .88rem;
  padding: 9px 18px; border-radius: 8px;
  box-shadow: var(--shadow); margin-bottom: 20px;
  transition: background .18s, color .18s;
}
.back-link:hover { background: var(--navy); color: var(--white); }

.contact-agent-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--terracotta); color: var(--white);
  font-weight: 700; font-size: .88rem;
  padding: 9px 18px; border-radius: 8px;
  box-shadow: var(--shadow);
  transition: opacity .18s;
  white-space: nowrap;
}
.contact-agent-btn:hover { opacity: .88; }

/* ── Report header ────────────────────────────────────────────── */

.report-header {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px; margin-bottom: 20px;
}
.report-title { font-size: 1.9rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.report-meta  { font-size: .88rem; color: var(--gray500); margin-bottom: 22px; }
.listing-link { color: var(--terracotta); font-weight: 600; text-decoration: none; }
.listing-link:hover { text-decoration: underline; }

.assessment-band {
  border-radius: 12px; padding: 26px;
  display: flex; gap: 26px; align-items: center; flex-wrap: wrap; color: var(--white);
}

.assessment-text { flex: 1; }
.assessment-text p { font-size: .93rem; opacity: .94; line-height: 1.6; margin-top: 12px; }

.key-features { display: flex; flex-wrap: wrap; gap: 8px; }

.feature-chip {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  color: var(--white);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: .82rem; font-weight: 600;
  white-space: nowrap;
}
.feature-chip-link { text-decoration: none; }
.feature-chip-link:hover { background: rgba(255,255,255,.35); }

/* EPC rating tints (subtle — still on terracotta band) */
.epc-chip.epc-a { background: rgba(34,197,94,.35);  border-color: rgba(34,197,94,.5); }
.epc-chip.epc-b { background: rgba(34,197,94,.25);  border-color: rgba(34,197,94,.4); }
.epc-chip.epc-c { background: rgba(250,204,21,.25); border-color: rgba(250,204,21,.4); }
.epc-chip.epc-d { background: rgba(251,146,60,.25); border-color: rgba(251,146,60,.4); }
.epc-chip.epc-e { background: rgba(239,68,68,.25);  border-color: rgba(239,68,68,.4); }
.epc-chip.epc-f { background: rgba(239,68,68,.35);  border-color: rgba(239,68,68,.5); }
.epc-chip.epc-g { background: rgba(239,68,68,.45);  border-color: rgba(239,68,68,.6); }

.critical-banner {
  background: #fff5f5; border: 1px solid #fecaca; border-radius: 10px;
  padding: 16px 20px; margin-top: 18px;
}
.critical-banner h4 { color: #991b1b; font-size: .93rem; margin-bottom: 10px; }
.critical-banner ul { list-style: none; }
.critical-banner li {
  color: #7f1d1d; font-size: .85rem;
  padding: 4px 0 4px 22px; position: relative;
}
.critical-banner li::before { content: "⚠"; position: absolute; left: 0; }

/* ── Scout / Tenant info cards ────────────────────────────────── */

.info-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
}

.info-card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray100);
}

.info-card-icon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.icon-scout    { background: #e8f0fe; }
.icon-tenant   { background: #fef3c7; }

.info-card-title {
  font-size: .95rem; font-weight: 700; color: var(--navy);
}
.info-card-sub {
  font-size: .78rem; color: var(--gray500); margin-top: 1px;
}

.info-card-body {
  font-size: .88rem; color: var(--gray700); line-height: 1.65;
}

.info-card-body.empty {
  color: var(--gray400);
  font-style: italic;
}

.tenant-stars { color: var(--sandy); font-size: 1.1rem; margin-bottom: 8px; }

/* ── Rooms ────────────────────────────────────────────────────── */

.rooms-section { margin-top: 24px; }
.rooms-section h2 { font-size: 1.25rem; font-weight: 700; color: var(--gray900); margin-bottom: 14px; }

.room-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 14px; overflow: hidden;
}

.room-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer; user-select: none; gap: 14px;
}
.room-header:hover { background: var(--gray50); }

.room-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); text-transform: capitalize; }
.room-sub   { font-size: .78rem; color: var(--gray500); margin-top: 3px; }

.room-score-badge {
  color: var(--white); font-size: .95rem; font-weight: 700;
  padding: 4px 12px; border-radius: 7px; white-space: nowrap;
}

.chevron { font-size: .9rem; color: var(--gray400); transition: transform .25s; flex-shrink: 0; }
.chevron.open { transform: rotate(180deg); }

.room-body { display: none; padding: 0 22px 22px; border-top: 1px solid var(--gray100); }
.room-body.open { display: block; }

.room-summary-text {
  font-size: .88rem; color: var(--gray500); line-height: 1.6; margin: 14px 0;
}

.listing-vs-reality {
  background: #fef9ec;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--sandy);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .85rem; color: var(--gray700); line-height: 1.6;
  margin-bottom: 14px;
}
.lvr-label {
  display: block;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: #92400e;
  margin-bottom: 4px;
}

/* ── Listing vs Reality ───────────────────────────────────────── */

.photo-compare {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.photo-col h5 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--gray400);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.photo-col h5 .dot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.dot-listing { background: var(--sandy); }
.dot-viewing { background: var(--navy-mid); }

.photo-strip {
  display: flex; gap: 6px; flex-wrap: wrap;
  position: relative;
}
.photo-strip img {
  height: 160px;
  width: auto;
  max-width: calc(33% - 4px);
  object-fit: cover; border-radius: 7px; cursor: zoom-in;
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.photo-strip img:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(0,0,0,.2); }

.photo-strip-single img { width: 100%; max-width: 100%; height: 200px; }

/* Full gallery (when no listing photos) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}
.gallery img {
  width: 100%; height: 130px; object-fit: cover;
  border-radius: 7px; cursor: zoom-in;
  transition: transform .2s, box-shadow .2s;
}
.gallery img:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(0,0,0,.18); }

/* ── Image condition dot ─────────────────────────────────────── */
.img-wrap {
  position: relative; display: block; flex-shrink: 0;
  overflow: hidden; border-radius: 7px;
}
.gallery .img-wrap { height: 130px; overflow: hidden; border-radius: 7px; }
.gallery .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 0; cursor: zoom-in;
  transition: transform .2s, box-shadow .2s; display: block;
}
.img-wrap:hover img { transform: scale(1.04); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.img-dot {
  position: absolute; top: 5px; right: 5px;
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.95);
  box-shadow: 0 1px 4px rgba(0,0,0,0.55);
  pointer-events: none; z-index: 2;
}
/* Condition dot on section headers (for photo-strip comparison layout) */
.condition-dot {
  display: inline-block; width: 9px; height: 9px;
  border-radius: 50%; vertical-align: middle;
  margin-left: 5px; border: 1.5px solid rgba(255,255,255,0.5);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* ── Issues ───────────────────────────────────────────────────── */

.issues-list { display: flex; flex-direction: column; gap: 10px; }
.issue-item { border-left: 4px solid; border-radius: 6px; padding: 13px 15px; }
.issue-item.critical { border-color: var(--red);    background: #fff5f5; }
.issue-item.moderate { border-color: var(--orange); background: #fffbeb; }
.issue-item.minor    { border-color: var(--green);  background: #f0fdf4; }

.issue-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.issue-title { font-weight: 700; font-size: .88rem; color: var(--gray900); }
.sev-badge {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; padding: 3px 9px; border-radius: 5px; white-space: nowrap;
}
.sev-critical { background: var(--red);    color: var(--white); }
.sev-moderate { background: var(--orange); color: var(--white); }
.sev-minor    { background: var(--green);  color: var(--white); }

.issue-desc { font-size: .84rem; color: var(--gray500); line-height: 1.55; margin-bottom: 7px; }
.issue-meta { display: flex; gap: 14px; font-size: .78rem; color: var(--gray500); flex-wrap: wrap; }
.health-warn { color: var(--red); font-weight: 600; }

/* ── Positives box ────────────────────────────────────────────── */

.positives-box {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 8px; padding: 12px 16px; margin-top: 12px;
}
.positives-box h5 {
  font-size: .8rem; font-weight: 700; color: #166534; margin-bottom: 8px;
}
.positives-box ul { list-style: none; }
.positives-box li {
  font-size: .84rem; color: #166534;
  padding: 3px 0 3px 18px; position: relative;
}
.positives-box li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }

/* ── Lightbox ─────────────────────────────────────────────────── */

.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.9); z-index: 9999;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img  { max-width: 92vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 0 60px rgba(0,0,0,.6); }
.lightbox-close {
  position: absolute; top: 18px; right: 24px;
  color: var(--white); font-size: 2rem; cursor: pointer; line-height: 1;
}
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.18); border: none;
  color: var(--white); font-size: 2.2rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .18s, opacity .18s;
  user-select: none;
}
.lightbox-arrow:hover { background: rgba(255,255,255,.35); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ── No listing note ──────────────────────────────────────────── */

.no-listing-note {
  font-size: .78rem; color: var(--gray400); font-style: italic;
  padding: 6px 0 12px;
}

/* ── Room video ────────────────────────────────────────────────── */

.room-video-wrap {
  margin: 14px 0;
}
.room-video-label {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--gray400);
  margin-bottom: 8px;
}
.room-video {
  width: 100%; max-height: 420px;
  border-radius: 10px;
  background: #000;
  display: block;
}
.room-video-inline {
  max-height: 200px;
  margin-top: 8px;
  border-radius: 8px;
}

/* ── Viewing split: photos left, portrait video right ── */
.viewing-split {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.viewing-photos {
  flex: 1;
  min-width: 0;
}
.viewing-video {
  flex: 0 0 45%;
}
.room-video-portrait {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 10px;
  background: #000;
  display: block;
}

/* ── Edit guide ────────────────────────────────────────────────── */

.edit-guide {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--gray200);
  padding: 14px 18px;
  margin-top: 20px;
  font-size: .82rem;
  color: var(--gray500);
  line-height: 1.6;
}
.edit-guide code {
  background: var(--gray100);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .8rem;
  color: var(--navy);
}
.edit-guide strong { color: var(--gray700); }

/* ── Scout Chat ───────────────────────────────────────────────── */

.scout-chat {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  overflow: hidden;
}

.scout-chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px 16px;
  border-bottom: 1px solid var(--gray100);
}

.scout-chat-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: #e8f0fe;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}

.scout-chat-title { font-size: .95rem; font-weight: 700; color: var(--navy); }
.scout-chat-sub   { font-size: .78rem; color: var(--gray500); margin-top: 1px; }

.chat-messages {
  padding: 16px 20px;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-msg       { display: flex; }
.chat-msg.user  { justify-content: flex-end; }
.chat-msg.scout { justify-content: flex-start; }

.chat-bubble {
  max-width: 78%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.6;
}

.chat-msg.scout .chat-bubble {
  background: var(--gray100);
  color: var(--gray900);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .chat-bubble {
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-msg.thinking .chat-bubble {
  color: var(--gray400);
  font-style: italic;
}

.chat-input-row {
  display: flex; gap: 10px;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--gray100);
}

.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--gray200);
  border-radius: 8px;
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.chat-input:focus { border-color: var(--navy-mid); }

.chat-send-btn {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: .88rem; font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .18s;
}
.chat-send-btn:hover    { opacity: .88; }
.chat-send-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ── Empty state ──────────────────────────────────────────────── */

.empty-state { text-align: center; padding: 60px 20px; color: var(--gray500); }
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--gray700); }

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 640px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .header-right { width: 100%; }
  .header-right input { width: 100%; }
  .stats-bar { flex-wrap: wrap; }
  .stat { min-width: 50%; }
  .property-grid { grid-template-columns: 1fr; }
  .assessment-band { flex-direction: column; }
  .info-cards-row { grid-template-columns: 1fr; }
  .photo-strip img { max-width: calc(50% - 3px); }
}
