/* Public-site finish; does not alter maintenance forms or comparison-table geometry. */
#view-home .home-hero { background: #fafaf7; border: 1px solid #e1e5df; border-radius: 6px; box-shadow: none; }
#view-home .home-hero h1 { color: #163b3c; line-height: 1.28; letter-spacing: -.035em; }
#view-home .quick-filter { border-radius: 6px; box-shadow: none; background: #fff; border: 1px solid #dce3d9; color: #243437; }
#view-home .quick-filter label, #view-home .quick-filter small { color: #657470; }
#view-home .quick-filter .eyebrow { color: #245c54; }
#view-home .quick-filter input, #view-home .quick-filter select { border-color: #bdcac1; }
#view-home .quick-filter .primary-button { color: #fff; }
#view-home .quick-filter [hidden] { display: none; }
#view-home .value-card, #view-home .path-card, #view-projects .project-card { border-radius: 6px; box-shadow: none; border-color: #dce3d9; }
#view-projects .project-card h3 { color: #163b3c; line-height: 1.5; }
#view-home .primary-button, #view-projects .primary-button { background: #163b3c; border-color: #163b3c; border-radius: 5px; }
#view-home .secondary-button, #view-projects .secondary-button { border-radius: 5px; }
/* Project microsite: shared by server-rendered and client-rendered detail pages. */
.property-site { --property-ink: #163b3c; --property-paper: #fafaf7; background: var(--property-paper); color: #243437; }
.property-site .property-breadcrumb { max-width: 1280px; margin: auto; padding: 22px 28px; font-size: 13px; color: #667573; display: flex; gap: 12px; flex-wrap: wrap; }
.property-site .property-breadcrumb a { color: #386361; text-decoration: none; }
.property-site .site-hero { max-width: 1280px; margin: 0 auto 40px; min-height: 460px; grid-template-columns: 1.05fr 1fr; background: var(--property-ink); border-radius: 4px; overflow: hidden; }
.property-site .site-hero-media { min-height: 460px; background: #e5e9e5; }
.property-site .site-hero-media img { display: block; width: 100%; height: 100%; max-height: 580px; object-fit: contain; }
.property-site .site-hero-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.property-site .eyebrow { color: #c2d9d2; font-size: 12px; letter-spacing: .16em; margin: 0 0 26px; }
.property-site #hub-title { color: #fff; font-size: clamp(28px, 3.3vw, 46px); font-weight: 600; line-height: 1.32; letter-spacing: -.035em; margin: 0 0 20px; overflow-wrap: anywhere; }
.property-site .property-address { color: #d7e1dc; line-height: 1.85; font-size: 15px; margin: 0 0 30px; }
.property-site .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.property-site .hero-cta .primary-button { background: #f0ebdb; color: #163b3c; border: 1px solid #f0ebdb; border-radius: 4px; min-height: 46px; display: inline-flex; align-items: center; gap: 20px; text-decoration: none; }
.property-site .hero-cta .secondary-button { border-radius: 4px; color: #fff; border-color: #77928a; min-height: 46px; }
.property-site .property-hero-meta { border-top: 1px solid #55746b; margin-top: 34px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 12px; color: #d7e1dc; line-height: 1.8; }
.property-site .property-no-image { grid-template-columns: 1fr; min-height: 320px; }
.property-site .site-nav { background: #fafaf7; padding: 0 max(28px, calc((100vw - 1224px)/2)); gap: 28px; font-size: 0; border-bottom: 1px solid #dce2dc; }
.property-site .site-nav-link { font-size: 14px; flex-shrink: 0; padding: 20px 0; color: #37504c; text-decoration: none; border-radius: 0; }
.property-site .site-nav-link:hover { color: #14716b; background: transparent; box-shadow: inset 0 -2px #14716b; }
.property-site .site-section { padding: 52px max(28px, calc((100vw - 1224px)/2)); border-color: #e1e5df; }
.property-site .site-section h2 { font-size: 27px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 28px; color: #163b3c; }
.property-site .facts { margin: 0; }
.property-site .param-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.property-site .fact-line { padding: 17px 0; border: 0; border-bottom: 1px solid #e3e7e0; background: transparent; border-radius: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 20px; align-items: start; }
.property-site .fact-line dt { font-size: 13px; color: #657470; }
.property-site .fact-line dd { margin: 0; font-size: 14px; line-height: 1.85; color: #243437; overflow-wrap: anywhere; }
.property-site .fact-line dd small { display: block; color: #657470; font-size: 11px; font-weight: normal; }
.property-site .property-fact-group { margin-top: 30px; }
.property-site .property-fact-group h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: #31645e; }
.property-site #space { background: #eef1eb; }
.property-site .property-section-note { color: #657470; margin: -14px 0 26px; font-size: 14px; }
.property-site .property-listings { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.property-site .property-listing { background: #fff; border: 1px solid #dce3d9; padding: 26px; border-radius: 4px; min-width: 0; }
.property-site .property-listing-top { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.property-site .property-listing h3 { margin: 0; font-size: 29px; font-weight: 500; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.property-site .property-listing h3 small, .property-site .property-rent small { font-size: 12px; font-weight: 400; letter-spacing: 0; color: #657470; }
.property-site .property-available { color: #21644f; background: #eaf3ec; padding: 4px 8px; font-size: 11px; white-space: nowrap; border-radius: 3px; }
.property-site .property-rent { color: #245c54; font-size: 22px; margin: 18px 0 22px; font-variant-numeric: tabular-nums; }
.property-site .property-listing-facts { display: flex; gap: 36px; padding-top: 16px; border-top: 1px solid #e6eae3; margin: 0; }
.property-site .property-listing-facts dt { color: #657470; font-size: 11px; margin-bottom: 6px; }
.property-site .property-listing-facts dd { font-size: 14px; margin: 0; }
.property-site .property-listing-update { color: #657470; font-size: 11px; margin: 20px 0 0; }
.property-site .media-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.property-site .media-gallery a { display: block; min-width: 0; color: #37504c; text-decoration: none; }
.property-site .media-gallery img { width: 100%; height: 240px; max-width: 100%; object-fit: contain; border-radius: 3px; background: #e9ece7; }
.property-site .media-gallery a > span { display: block; padding: 12px 0; font-size: 12px; }
.property-site .media-gallery a:only-child { grid-column: 1 / -1; max-width: 680px; width: 100%; }
.property-site .media-gallery a:only-child img { height: clamp(200px, 32vw, 400px); }
.property-site .property-empty a { color: #245c54; text-underline-offset: 4px; }
.property-site #contact { background: #163b3c; color: white; }
.property-site #contact h2 { color: white; }
.property-site #contact .primary-button { background: #f0ebdb; color: #163b3c; border: 0; border-radius: 4px; min-height: 46px; }
.property-site .property-provenance { padding: 24px max(28px, calc((100vw - 1224px)/2)); font-size: 12px; color: #657470; overflow-wrap: anywhere; }
.property-site .property-provenance summary { cursor: pointer; min-height: 32px; }
.property-site a:focus-visible, .property-site button:focus-visible, .property-site summary:focus-visible { outline: 3px solid #b18232; outline-offset: 4px; }
.property-site .property-empty { padding: 25px 0; }
@media (max-width: 900px) {
  .property-site .site-hero { margin: 0 20px 24px; min-height: 360px; }
  .property-site .site-hero-media { min-height: 360px; }
  .property-site .property-listings { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .property-site .media-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .property-site .property-breadcrumb { padding: 16px 20px; font-size: 11px; }
  .property-site .site-hero { grid-template-columns: 1fr; margin: 0 12px 18px; }
  .property-site .site-hero-media { min-height: 0; height: 235px; }
  .property-site .site-hero-media img { height: 235px; }
  .property-site .site-hero-body { padding: 26px 22px; }
  .property-site .eyebrow { margin-bottom: 16px; }
  .property-site #hub-title { font-size: 29px; }
  .property-site .property-address { margin-bottom: 22px; }
  .property-site .property-hero-meta { margin-top: 24px; }
  .property-site .site-nav { padding: 0 20px; gap: 24px; top: 0; position: relative; }
  .property-site .site-section { padding: 34px 20px; scroll-margin-top: 130px; }
  .property-site .site-section h2 { font-size: 23px; margin-bottom: 20px; }
  .property-site .param-grid, .property-site .property-listings { grid-template-columns: 1fr; }
  .property-site .fact-line { grid-template-columns: 90px minmax(0,1fr); gap: 14px; }
  .property-site .property-listing { padding: 22px; }
  .property-site .media-gallery { gap: 12px; }
  .property-site .media-gallery img { height: 155px; }
  .property-site .property-provenance { padding: 22px 20px; }
}
:root {
  --ink: #172331;
  --muted: #657383;
  --paper: #f5f7f8;
  --white: #ffffff;
  --line: #dce3e8;
  --navy: #173d5a;
  --teal: #247b7a;
  --teal-soft: #e5f3f1;
  --gold: #a76f28;
  --gold-soft: #f7f0e4;
  --red: #ad4f4b;
  --red-soft: #f9eceb;
  --blue-soft: #e9f1f7;
  --shadow: 0 16px 40px rgba(23, 48, 67, 0.08);
  --radius: 16px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 92% 0%, rgba(36, 123, 122, 0.11), transparent 28rem),
    var(--paper);
}

button, input, textarea, select { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 50;
  padding: 0.6rem 0.8rem;
  background: var(--navy);
  color: white;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  padding: 0.75rem max(1.25rem, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgba(220, 227, 232, 0.92);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.brand em {
  margin-left: 0.16rem;
  color: var(--teal);
  font-family: Georgia, serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--navy), #286b72);
  color: white;
  font-family: Georgia, serif;
  font-weight: 700;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-left: auto;
  overflow-x: auto;
}
.primary-nav a {
  padding: 0.48rem 0.65rem;
  border-radius: 7px;
  color: #506170;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.primary-nav a:hover, .primary-nav a.active {
  background: var(--blue-soft);
  color: var(--navy);
}

.app-shell {
  width: min(1320px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.25rem 0 4rem;
}
.view[hidden] { display: none; }
.app-shell > .view > * + * { margin-top: 1.25rem; }
.test-entry {
  width: min(1320px, calc(100% - 2.5rem));
  margin: -1.9rem auto 2.6rem;
  color: var(--muted);
  font-size: 0.72rem;
}
.test-entry-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: #82909a;
  font-size: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}
.test-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.55rem;
  padding: 0.55rem 0.7rem;
  border: 1px dashed #c9d4d9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.page-heading, .section-heading, .results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}
.page-heading { margin-bottom: 1.5rem; }
.page-heading h1 {
  max-width: 850px;
  margin: 0.1rem 0 0.45rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.page-heading p:not(.eyebrow), .section-heading p, .results-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}
.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-select {
  display: grid;
  min-width: 270px;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}
select, input, textarea {
  width: 100%;
  border: 1px solid #cbd7de;
  border-radius: 9px;
  background: white;
  color: var(--ink);
}
select, input { min-height: 42px; padding: 0.55rem 0.7rem; }
textarea { padding: 0.65rem 0.7rem; line-height: 1.5; resize: vertical; }
input:focus, textarea:focus, select:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(36, 123, 122, 0.27);
  outline-offset: 2px;
}

.status-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.status-card, .content-card, .maintenance-panel, .requirement-form, .compare-summary, .gap-highlight {
  border: 1px solid rgba(220, 227, 232, 0.96);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.status-card {
  min-height: 164px;
  padding: 1.15rem;
}
.status-card > p, .status-card small { color: var(--muted); }
.status-card > p { margin: 0 0 0.75rem; font-size: 0.8rem; font-weight: 700; }
.status-card h2 { margin: 0 0 0.55rem; color: var(--navy); font-size: 1.16rem; line-height: 1.35; }
.status-card.good { border-color: #b7d8d1; background: linear-gradient(135deg, #f5fbfa, white); }
.status-card.caution { border-color: #ead9bb; background: linear-gradient(135deg, #fffaf2, white); }

.compact-list, .priority-list {
  display: grid;
  gap: 0.58rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.compact-list li, .priority-list li { display: flex; gap: 0.55rem; align-items: flex-start; }
.compact-list strong, .priority-list strong { display: block; font-size: 0.86rem; }
.compact-list small, .priority-list small { display: block; margin-top: 0.12rem; font-size: 0.75rem; line-height: 1.4; }
.number {
  display: grid;
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 800;
}

.maintenance-panel { padding: 1.4rem; }
.maintenance-panel h2, .content-card h2, .compare-summary h2, .results-heading h2 {
  margin: 0.1rem 0 0.4rem;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.maintenance-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.4rem;
}
.maintenance-field {
  display: grid;
  gap: 0.38rem;
}
.maintenance-field > span {
  font-size: 0.88rem;
  font-weight: 720;
}
.maintenance-field small { color: var(--teal); font-size: 0.75rem; }
.maintenance-field.full, .form-actions { grid-column: 1 / -1; }
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.3rem;
}
.form-actions p { margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.45; }
.primary-button, .secondary-button {
  min-height: 42px;
  padding: 0.55rem 0.92rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 750;
}
.primary-button {
  border: 1px solid var(--navy);
  background: var(--navy);
  color: white;
}
.primary-button:hover { background: #0e3049; }
.secondary-button {
  border: 1px solid #b8c9d2;
  background: white;
  color: var(--navy);
}
.secondary-button:hover { border-color: var(--teal); background: #f3fbfa; }

.notice {
  margin-bottom: 1.35rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  line-height: 1.55;
}
.notice.neutral { border: 1px solid #cadde8; background: #f5f9fc; color: #34546a; }
.notice.question { margin: 0.8rem 0 0; border: 1px solid #eddcb7; background: #fffaf0; color: #785718; font-size: 0.86rem; }
.hub-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.content-card { padding: 1.3rem; }
.identity-card { background: linear-gradient(145deg, #edf6f7, white 70%); }
.identity-card h2 { color: var(--navy); font-size: 1.55rem; }
.identity-card p:not(.eyebrow) { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.42rem; margin-top: 1rem; }
.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.2rem 0.42rem;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.pill.real { background: #e6f0f6; color: #2b5e7c; }
.pill.demo { background: #fbf0dd; color: #93651f; }
.pill.confirmed { background: #e1f3ec; color: #187052; }
.pill.unknown { background: #eff1f3; color: #71808d; }
.pill.subtle { background: #eff3f5; color: #5e7280; }
.pill.tag { padding: 0.28rem 0.52rem; border: 1px solid #d3e0e4; background: #f8fafb; color: #47616f; font-size: 0.72rem; font-weight: 680; }

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.facts { margin: 0; }
.fact-line {
  display: grid;
  grid-template-columns: minmax(84px, 0.42fr) 1fr;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #ebeff1;
}
.fact-line:last-child { border-bottom: 0; }
.fact-line dt { color: var(--muted); font-size: 0.82rem; }
.fact-line dd { margin: 0; font-size: 0.88rem; line-height: 1.5; }
.fact-line dd small { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.76rem; }
.muted { color: var(--muted); line-height: 1.6; }

.evidence-section { margin-top: 1rem; }
.media-row {
  display: grid;
  grid-template-columns: minmax(190px, 310px) 1fr;
  gap: 1rem;
  margin-top: 1rem;
}
.media-card {
  display: grid;
  overflow: hidden;
  padding: 0;
  border: 1px solid #d7e1e5;
  border-radius: 11px;
  background: white;
  color: var(--ink);
  text-align: left;
}
.media-card img {
  display: block;
  width: 100%;
  height: 155px;
  background: #e8edef;
  object-fit: cover;
}
.media-card span, .media-card small { padding: 0 0.7rem; }
.media-card span { margin-top: 0.65rem; font-size: 0.86rem; font-weight: 720; }
.media-card small { margin: 0.2rem 0 0.7rem; color: var(--muted); font-size: 0.72rem; }
.media-placeholder {
  display: grid;
  align-content: center;
  min-height: 210px;
  padding: 1rem;
  border: 1px dashed #b8c9d2;
  border-radius: 11px;
  background: #fbfcfc;
}
.media-placeholder span { color: var(--muted); font-size: 0.78rem; }
.media-placeholder strong { margin: 0.25rem 0; font-size: 1.05rem; }
.media-placeholder small { color: var(--muted); line-height: 1.5; }
.evidence-footer {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid #ebeff1;
  color: #726246;
  font-size: 0.82rem;
}
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: linear-gradient(115deg, var(--navy), #225b65);
  color: white;
}
.cta-panel h2 { margin: 0.12rem 0 0.5rem; font-size: 1.3rem; }
.cta-panel p, .cta-panel ul { margin: 0; color: #dcecf0; line-height: 1.6; }
.cta-panel ul { padding-left: 1rem; font-size: 0.86rem; }
.cta-panel .eyebrow { color: #a8ded7; }
.cta-panel .primary-button { border-color: white; background: white; color: var(--navy); white-space: nowrap; }
.cta-panel.compact { margin-top: 1.5rem; }
.pending { color: #e6c986; font-size: 0.75rem; font-weight: 700; }

.requirement-form {
  padding: 1rem;
  margin-bottom: 1rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 0.9rem;
}
.requirement-form label {
  display: grid;
  gap: 0.38rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}
.requirement-form .wide { grid-column: 1 / -1; }
.requirement-form .form-actions { padding-top: 1rem; }
.requirement-form label small { color: var(--teal); font-size: 0.74rem; font-weight: 600; line-height: 1.45; }
.area-picker { gap: 0.55rem !important; }
.area-choice-list { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.area-choice {
  display: inline-flex !important;
  width: auto;
  align-items: center;
  gap: 0.35rem !important;
  padding: 0.48rem 0.65rem;
  border: 1px solid #cbd7de;
  border-radius: 999px;
  background: #fff;
  color: var(--ink) !important;
  font-size: 0.84rem !important;
  font-weight: 650 !important;
}
.area-choice:has(input:checked) { border-color: #8abeb9; background: var(--teal-soft); color: #185d5b !important; }
.area-choice input { width: 1rem; min-height: auto; margin: 0; accent-color: var(--teal); }
.recognition-summary {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cfe1df;
  border-radius: 10px;
  background: #f6fbfa;
}
.recognition-summary > strong { color: #285e5d; font-size: 0.84rem; }
.recognition-summary small { color: #53706f; font-size: 0.77rem; line-height: 1.45; }
.region-chip-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.region-chip {
  padding: 0.34rem 0.52rem;
  border: 1px solid #9bc7c2;
  border-radius: 999px;
  background: white;
  color: #236764;
  font-size: 0.8rem;
  font-weight: 700;
}
.region-chip span { margin-left: 0.18rem; font-size: 1rem; line-height: 0.7; vertical-align: -0.05em; }
.requirement-summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}
.requirement-summary h2 { max-width: 800px; color: var(--navy); font-size: 1.25rem; }
.requirement-summary p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.65; }
.interpretation {
  display: grid;
  align-content: start;
  min-width: 180px;
  padding: 0.9rem;
  border-radius: 10px;
  background: var(--teal-soft);
}
.interpretation p { margin-bottom: 0.2rem !important; color: var(--teal) !important; font-size: 0.76rem; font-weight: 750; }
.interpretation small { margin-top: 0.4rem; color: #416462; font-size: 0.75rem; line-height: 1.45; }
.results-heading { margin: 1.4rem 0 0.85rem; }
.recommend-list { display: grid; gap: 0.9rem; }
.recommend-card {
  padding: 1.2rem;
  border: 1px solid #d8e2e7;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 24px rgba(23, 48, 67, 0.05);
}
.recommend-card.filtered { border-color: #eccac8; background: #fffafa; }
.card-kicker { margin-bottom: 0.35rem; color: var(--teal); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.filtered .card-kicker { color: var(--red); }
.recommend-card h3 { margin: 0; font-size: 1.2rem; }
.recommend-card .location { margin: 0.25rem 0 0.95rem; color: var(--muted); font-size: 0.86rem; }
.decision-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0.85rem 0;
}
.decision-columns > div {
  padding: 0.75rem;
  border-radius: 9px;
  background: #f8fafb;
}
.decision-columns > div:nth-child(2) { background: #fffaf2; }
.decision-columns > div:nth-child(3) { background: #f2f8fb; }
.decision-columns h4, .compare-card h4 { margin: 0 0 0.35rem; color: #526979; font-size: 0.78rem; }
.decision-list { display: grid; gap: 0.35rem; padding: 0; margin: 0; list-style: none; }
.decision-list li { position: relative; padding-left: 0.85rem; font-size: 0.84rem; line-height: 1.48; }
.decision-list li::before { position: absolute; left: 0; color: var(--teal); content: "•"; }
.choose-project { margin-top: 0.15rem; }

.compare-summary {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1rem;
  background: linear-gradient(125deg, #eff7f6, white);
}
.compare-summary > div + div { padding-left: 1.2rem; border-left: 1px solid #d3e0e1; }
.compare-summary p { margin: 0; color: var(--teal); font-size: 0.76rem; font-weight: 750; }
.compare-summary h2 { color: var(--navy); line-height: 1.4; }
.compare-differences { margin-bottom: 1rem; }
.difference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.difference-grid p {
  margin: 0;
  padding: 0.75rem;
  border-left: 3px solid #a8c9cb;
  background: #f9fbfb;
  color: #52626f;
  font-size: 0.86rem;
  line-height: 1.55;
}
.difference-grid strong { color: var(--ink); }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.compare-card {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1.1rem;
  border: 1px solid #d8e2e7;
  border-radius: var(--radius);
  background: white;
}
.compare-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.4; }
.compare-card .eyebrow { margin-bottom: -0.2rem; }
.compare-position {
  min-height: 3.2rem;
  margin: 0;
  padding: 0.6rem;
  border-radius: 8px;
  background: var(--blue-soft);
  color: #355870;
  font-size: 0.84rem;
  line-height: 1.45;
}
.compare-card > div { padding-top: 0.55rem; border-top: 1px solid #ebeff1; }

.gap-highlight {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.flywheel {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f8f7, #faf6ee);
  color: #315a60;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.4;
}
.flywheel span { padding: 0.35rem 0.42rem; border-radius: 6px; background: white; box-shadow: 0 2px 8px rgba(37, 76, 84, 0.08); }
.flywheel b { color: var(--teal); }
.table-wrap { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 0.9rem 1rem; border-bottom: 1px solid #e7edef; vertical-align: top; }
th { background: #f6f9fa; color: #526979; font-size: 0.78rem; }
td { font-size: 0.85rem; line-height: 1.5; }
td strong, td small { display: block; }
td small { margin-top: 0.25rem; color: var(--muted); font-size: 0.73rem; }
.status { display: inline-flex; padding: 0.18rem 0.42rem; border-radius: 99px; font-size: 0.72rem; font-weight: 750; }
.status.unresolved { background: var(--red-soft); color: var(--red); }
.status.partial { background: var(--gold-soft); color: var(--gold); }
.status.resolved { background: #e0f2ea; color: #157253; }

.owner-meta {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.72rem;
}
.debug-details {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.debug-details pre {
  overflow-x: auto;
  padding: 0.9rem;
  border-radius: 9px;
  background: #1d2935;
  color: #dce8f0;
  font-size: 0.72rem;
}
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  max-width: min(420px, calc(100% - 2rem));
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  background: #173d5a;
  color: white;
  box-shadow: 0 12px 28px rgba(12, 31, 47, 0.25);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  gap: 0.8rem;
  padding: 4rem max(1rem, 7vw) 2rem;
  background: rgba(7, 19, 29, 0.9);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  width: 100%;
  height: min(76vh, 900px);
  object-fit: contain;
}
.lightbox a { color: white; font-size: 0.9rem; }
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1.2rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  background: transparent;
  color: white;
  font-size: 1.75rem;
  line-height: 1;
}
.fatal-error {
  max-width: 680px;
  padding: 1.5rem;
  border: 1px solid #e4b5b2;
  border-radius: var(--radius);
  background: white;
}

.entry-block {
  min-width: 0;
  padding: 1rem;
  border: 1px solid #dbe5e8;
  border-radius: 12px;
  background: #fbfcfc;
}
.entry-block legend { padding: 0 0.35rem; color: var(--navy); font-size: 0.92rem; font-weight: 800; }
.entry-two, .structured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem; }
.structured-grid.one { grid-template-columns: 1fr; }
.time-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.derived-note { margin: 0.75rem 0 0; color: #49696c; font-size: 0.78rem; line-height: 1.5; }
.map-fixture {
  position: relative;
  display: grid;
  min-height: 180px;
  align-content: center;
  overflow: hidden;
  padding: 1rem;
  border: 1px solid #bcd4d7;
  border-radius: 11px;
  background: linear-gradient(145deg, #dceff0, #edf5ed 70%);
}
.map-grid { position: absolute; inset: 0; opacity: 0.55; background-image: linear-gradient(90deg, rgba(55,114,122,.16) 1px, transparent 1px), linear-gradient(rgba(55,114,122,.16) 1px, transparent 1px); background-size: 28px 28px; }
.map-fixture > *:not(.map-grid) { position: relative; }
.map-fixture span, .map-fixture p { margin: 0.28rem 0 0; color: #45676b; font-size: 0.78rem; line-height: 1.45; }
.map-points { display: flex; gap: 0.55rem; margin-top: 0.85rem; }
.map-point { width: 32px; height: 32px; border: 2px solid white; border-radius: 50%; background: var(--navy); color: white; box-shadow: 0 3px 8px rgba(23,61,90,.18); }
.map-point.active { background: var(--gold); }
.drop-zone { display: grid; justify-items: center; gap: 0.35rem; padding: 1.2rem; border: 1px dashed #86afb4; border-radius: 11px; background: #f2f9f8; color: #326469; text-align: center; }
.drop-zone.dragging { border-color: var(--teal); background: #e1f3ef; }
.drop-zone span, .upload-empty { color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.drop-zone input { max-width: 330px; min-height: auto; border: 0; background: transparent; }
.upload-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 0.75rem; margin-top: 0.8rem; }
.upload-preview { display: grid; grid-template-columns: 74px 1fr; gap: 0.65rem; align-items: center; padding: 0.55rem; border: 1px solid #dbe5e8; border-radius: 9px; background: white; }
.upload-preview img { width: 74px; height: 58px; border-radius: 6px; object-fit: cover; }
.upload-preview strong { display: block; overflow: hidden; margin-bottom: 0.35rem; font-size: 0.76rem; text-overflow: ellipsis; white-space: nowrap; }
.upload-preview select { min-height: 32px; padding: 0.25rem; font-size: 0.75rem; }
.mini-actions { grid-column: 1 / -1; display: flex; gap: 0.35rem; }
.mini-actions button { padding: 0.2rem 0.4rem; border: 1px solid #cbd7de; border-radius: 5px; background: white; color: var(--muted); font-size: 0.74rem; }
.hub-hero, .risk-panel, .share-sheet, .flywheel-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1rem;
  padding: 1.3rem;
  border-radius: var(--radius);
}
.hub-hero { background: linear-gradient(128deg, #eaf5f5, white 70%); border: 1px solid #d4e4e5; }
.hub-hero h2 { margin: 0.55rem 0 0.3rem; color: var(--navy); font-size: 1.5rem; }
.hub-hero p { margin: 0.25rem 0; }
.hero-cta, .cta-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.media-section { margin-bottom: 1rem; }
.media-gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.media-gallery .media-card { min-height: 210px; }
.vr-row { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 0.8rem; }
.vr-card { display: grid; min-width: 220px; min-height: 82px; align-content: center; gap: 0.25rem; padding: 0.75rem; border: 1px solid #d6d6e2; border-radius: 10px; background: #fafaff; color: #4c5275; text-decoration: none; }
.vr-card.pending-vr { border-style: dashed; color: var(--muted); }
.vr-card span { font-size: 0.78rem; line-height: 1.4; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.source-details { margin-top: 0.75rem; padding-top: 0.6rem; border-top: 1px solid #ebeff1; color: var(--muted); font-size: 0.75rem; }
.source-details summary { cursor: pointer; font-weight: 700; }
.source-details ul { display: grid; gap: 0.25rem; padding-left: 1.1rem; margin: 0.5rem 0 0; line-height: 1.45; }
.eco-wrap { display: grid; grid-template-columns: 112px 1fr; align-items: center; gap: 0.9rem; }
.eco-chart { display: grid; width: 112px; height: 112px; place-items: center; border-radius: 50%; }
.eco-chart::before { grid-area: 1 / 1; width: 68px; height: 68px; border-radius: 50%; background: white; content: ""; }
.eco-chart span { z-index: 1; grid-area: 1 / 1; width: 58px; color: var(--navy); font-size: 0.72rem; font-weight: 800; line-height: 1.25; text-align: center; }
.eco-wrap p { margin: 0.35rem 0; color: var(--muted); font-size: 0.82rem; line-height: 1.45; }
.eco-wrap small { color: #8a6541; font-size: 0.73rem; }
.risk-panel { margin-top: 1rem; background: linear-gradient(115deg, var(--navy), #225b65); color: white; }
.risk-panel h2 { margin: 0.2rem 0 0.5rem; }
.risk-panel ul { margin: 0; padding-left: 1.1rem; color: #dcecf0; line-height: 1.6; }
.on-dark { border-color: rgba(255,255,255,.72); background: transparent; color: white; }
.empty-results { margin-top: 1rem; text-align: center; }
.empty-results h2 { color: var(--navy); }
.share-sheet { display: grid; grid-template-columns: 0.85fr 1.25fr auto; border: 1px solid #c9dfdc; background: linear-gradient(125deg, #eef8f7, #fffdf9); }
.share-sheet p { margin: 0; color: var(--teal); font-size: 0.76rem; font-weight: 750; }
.share-sheet h2 { margin: 0.35rem 0 0; color: var(--navy); font-size: 1.1rem; line-height: 1.45; }
.share-note { display: grid; align-content: center; gap: 0.45rem; }
.share-note small { max-width: 190px; color: var(--muted); font-size: 0.72rem; line-height: 1.4; }
.difference-grid article { padding: 0.8rem; border-left: 3px solid #a8c9cb; background: #f9fbfb; }
.difference-grid article > strong { color: var(--navy); }
.difference-grid article p { margin: 0.55rem 0 0; padding: 0; border: 0; background: transparent; }
.difference-grid article p span { display: block; margin-bottom: 0.12rem; color: var(--teal); font-size: 0.72rem; font-weight: 750; }
.owner-questions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.owner-questions article, .owner-panel, .flywheel-panel { border: 1px solid rgba(220,227,232,.96); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.owner-questions article { min-height: 152px; padding: 1rem; }
.owner-questions p { margin: 0; color: var(--muted); font-size: 0.78rem; font-weight: 700; line-height: 1.4; }
.owner-questions h2 { margin: 0.65rem 0 0.35rem; color: var(--navy); font-size: 1.05rem; line-height: 1.35; }
.owner-questions small { color: var(--muted); font-size: 0.73rem; }
.owner-panel { padding: 1.2rem; }
.owner-gap-row { display: grid; grid-template-columns: 1.2fr 0.35fr 1fr; gap: 1rem; align-items: center; padding: 0.9rem 0; border-top: 1px solid #ebeff1; }
.owner-gap-row:first-of-type { border-top: 0; }
.owner-gap-row p, .owner-gap-row small { margin: 0.3rem 0 0; color: var(--muted); font-size: 0.78rem; line-height: 1.45; }
.owner-gap-row .status { width: fit-content; }
.owner-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.flywheel-panel { display: grid; gap: 0.75rem; margin-top: 1rem; padding: 1rem 1.2rem; }
.flywheel-panel > div { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; color: #315a60; }
.flywheel-panel strong { padding: 0.38rem 0.5rem; border-radius: 7px; background: #edf7f5; font-size: 0.82rem; }
.flywheel-panel span { color: var(--teal); font-weight: 800; }
.status.input_completed { background: #e9eef8; color: #4d6591; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.6fr);
  gap: 2rem;
  align-items: stretch;
  padding: clamp(1.5rem, 4vw, 3.25rem);
  border: 1px solid #d4e5e6;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(125deg, #e8f4f3, #ffffff 62%, #f9f1e5);
  box-shadow: var(--shadow);
}
.home-hero h1 {
  max-width: 720px;
  margin: 0.12rem 0 0.7rem;
  color: var(--navy);
  font-size: clamp(2.1rem, 4.7vw, 3.55rem);
  letter-spacing: -0.055em;
  line-height: 1.1;
}
.home-hero p:not(.eyebrow) { max-width: 650px; margin: 0; color: #526775; font-size: 1.03rem; line-height: 1.75; }
.home-hero .hero-cta { margin-top: 1.35rem; }
.quick-filter {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.15rem;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 14px;
  background: linear-gradient(150deg, var(--navy), #225e66);
  color: white;
  box-shadow: 0 14px 30px rgba(20, 55, 78, 0.16);
}
.quick-filter h2 { margin: 0.1rem 0 0; font-size: 1.08rem; line-height: 1.45; }
.quick-filter .eyebrow { color: #a8ded7; }
.quick-filter label {
  display: grid;
  gap: 0.32rem;
  color: #dcecf0;
  font-size: 0.76rem;
  font-weight: 720;
}
.quick-filter input, .quick-filter select { min-height: 39px; border-color: rgba(255,255,255,.45); }
.quick-filter .primary-button { border-color: white; background: white; color: var(--navy); }
.quick-filter small { color: #bed5d8; font-size: 0.73rem; line-height: 1.5; }
.home-hero-note {
  display: grid;
  align-content: end;
  min-height: 180px;
  padding: 1.2rem;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy), #26666b);
  color: white;
}
.home-hero-note span { color: #a8ded7; font-size: 0.76rem; font-weight: 750; letter-spacing: 0.08em; }
.home-hero-note strong { margin-top: 0.55rem; font-size: 1.18rem; line-height: 1.5; }
.home-section { margin-top: 1.25rem; }
.home-section h2 { margin: 0.1rem 0 0; color: var(--navy); font-size: 1.45rem; letter-spacing: -0.03em; }
.value-grid, .project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.value-card, .project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid rgba(220, 227, 232, 0.96);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(23, 48, 67, 0.055);
}
.value-card h3, .project-card h3 { margin: 0.65rem 0 0.45rem; color: var(--navy); font-size: 1.08rem; line-height: 1.4; }
.value-card p, .project-card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.65; }
.value-number {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}
.steps-section { padding: 1.25rem 0; }
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.steps-row article { display: flex; gap: 0.8rem; padding: 1rem 0.15rem; border-top: 1px solid #d7e2e5; }
.steps-row article > span { display: grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-size: 0.78rem; font-weight: 800; }
.steps-row h3 { margin: 0.05rem 0 0.35rem; color: var(--navy); font-size: 1rem; }
.steps-row p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.cta-panel.light { border: 1px solid #d5e5e4; background: linear-gradient(120deg, #eff8f7, #fffdf8); color: var(--ink); }
.cta-panel.light .eyebrow { color: var(--teal); }
.cta-panel.light p { color: var(--muted); }
.cta-panel.light .primary-button { border-color: var(--navy); background: var(--navy); color: white; }

.project-count { margin-top: 0.35rem; color: var(--muted); font-size: 0.88rem; font-weight: 700; }
.project-count span { margin-left: 0.35rem; color: var(--teal); font-size: 0.78rem; }
.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(128px, .75fr));
  gap: 0.7rem;
  align-items: end;
  margin-top: 0.9rem;
  padding: 0.85rem;
  border: 1px solid #d9e5e8;
  border-radius: 12px;
  background: rgba(255,255,255,.82);
}
.filter-bar label {
  display: grid;
  gap: 0.3rem;
  color: #506675;
  font-size: 0.74rem;
  font-weight: 750;
}
.project-card { justify-content: space-between; gap: 0.85rem; }
.project-thumbnail {
  display: block;
  width: 100%;
  height: 150px;
  border: 1px solid #dde7e9;
  border-radius: 10px;
  background: #edf2f3;
  object-fit: cover;
}
.project-thumbnail.placeholder {
  display: grid;
  place-items: center;
  border-style: dashed;
  color: var(--muted);
  font-size: 0.78rem;
}
.project-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.65rem; }
.project-card-meta .project-location { margin: 0; }
.project-location { color: var(--teal) !important; font-size: 0.78rem !important; font-weight: 760; letter-spacing: 0.06em; }
.project-card .tag-row { margin-top: 0; }
.project-card .inline-actions { margin-top: auto; padding-top: 0.1rem; }
.project-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; margin: 0.85rem 0 0; }
.project-summary div { min-width: 0; padding: 0.55rem; border-radius: 8px; background: #f6f9fa; }
.project-summary dt { color: var(--muted); font-size: 0.7rem; font-weight: 700; }
.project-summary dd { overflow: hidden; margin: 0.22rem 0 0; color: #405463; font-size: 0.78rem; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.empty-projects { margin-top: 1rem; text-align: center; }

.share-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #c9dfdc;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
}
.share-cover {
  display: grid;
  align-content: end;
  min-height: 255px;
  padding: 1.4rem;
  background: linear-gradient(145deg, #173d5a 0%, #246a70 58%, #b17d39 135%);
  color: white;
}
.share-cover span { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: 0.06em; }
.share-cover small { margin-top: 0.3rem; color: #b5e1dc; font-size: 0.78rem; letter-spacing: 0.12em; }
.share-cover.has-image { position: relative; padding: 0; overflow: hidden; }
.share-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.share-card-content { display: grid; align-content: start; gap: 0.85rem; padding: 1.3rem; }
.share-card-content h2 { margin: -0.35rem 0 0; color: var(--navy); font-size: 1.28rem; line-height: 1.5; }
.share-summary { margin: 0; color: var(--muted); line-height: 1.6; }
.share-reminders { padding: 0.8rem; border-radius: 10px; background: #f6f9fa; }
.share-reminders > strong { display: block; margin-bottom: 0.45rem; color: #526979; font-size: 0.8rem; }
.share-link { overflow-wrap: anywhere; color: var(--teal); font-size: 0.78rem; line-height: 1.45; }

.contact-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(11, 29, 43, 0.48);
}
.contact-backdrop[hidden] { display: none; }
.contact-panel {
  position: relative;
  width: min(100%, 510px);
  padding: 1.5rem;
  border: 1px solid #d9e4e8;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 24px 70px rgba(7, 25, 38, 0.3);
}
.contact-panel h2 { margin: 0.1rem 2rem 0.45rem 0; color: var(--navy); font-size: 1.45rem; }
.contact-close { position: absolute; top: 0.85rem; right: 0.85rem; width: 34px; height: 34px; border: 1px solid #cad6dc; border-radius: 50%; background: white; color: var(--muted); font-size: 1.3rem; line-height: 1; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin: 1rem 0; }
.contact-details div, .contact-context { padding: 0.85rem; border-radius: 10px; background: #f6f9fa; }
.contact-details dt { color: var(--muted); font-size: 0.76rem; font-weight: 700; }
.contact-details dd { margin: 0.28rem 0 0; color: var(--navy); font-size: 0.9rem; font-weight: 760; }
.contact-context { border: 1px solid #d6e6e4; background: #f2f9f8; }
.contact-context strong { color: var(--teal); font-size: 0.8rem; }
.contact-context p { margin: 0.35rem 0; color: #426363; font-size: 0.84rem; line-height: 1.55; }
.contact-context small { color: var(--muted); font-size: 0.78rem; }

@media (max-width: 1040px) {
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-card { grid-template-columns: repeat(3, 1fr); }
  .compare-card > h3, .compare-card > p { grid-column: 1 / -1; }
  .value-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filter-bar label:first-child { grid-column: span 3; }
}
@media (max-width: 780px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; padding-top: 0.65rem; }
  .primary-nav { order: 3; width: 100%; margin-left: 0; }
  .app-shell { width: min(100% - 1.3rem, 1320px); padding-top: 1.35rem; }
  .page-heading, .section-heading, .results-heading, .form-actions, .cta-panel { align-items: stretch; flex-direction: column; }
  .project-select { min-width: 0; width: 100%; }
  .hub-grid, .knowledge-grid, .gap-highlight { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .requirement-form .wide { grid-column: 1 / -1; }
  .decision-columns, .difference-grid { grid-template-columns: 1fr; }
  .compare-summary { grid-template-columns: 1fr; }
  .compare-summary > div + div { padding: 1rem 0 0; border-top: 1px solid #d3e0e1; border-left: 0; }
  .evidence-footer { align-items: flex-start; flex-direction: column; gap: 0.3rem; }
  .cta-panel .primary-button { white-space: normal; }
  .home-hero, .share-card { grid-template-columns: 1fr; }
  .home-hero-note { min-height: 130px; }
  .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar label:first-child { grid-column: span 2; }
  .steps-row { grid-template-columns: 1fr; gap: 0; }
  .share-cover { min-height: 150px; }
}
@media (max-width: 560px) {
  .status-grid, .maintenance-form, .form-grid { grid-template-columns: 1fr; }
  .maintenance-field.full, .form-actions, .requirement-form .wide { grid-column: auto; }
  .requirement-summary { flex-direction: column; }
  .interpretation { min-width: 0; }
  .media-row { grid-template-columns: 1fr; }
  .compare-card { grid-template-columns: 1fr; }
  .value-grid, .project-grid { grid-template-columns: 1fr; }
  .filter-bar { grid-template-columns: 1fr; }
  .filter-bar label:first-child { grid-column: auto; }
  .project-summary { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .secondary-button, .primary-button, .text-button, .toast { display: none !important; }
  body { background: white; }
  .app-shell { width: 100%; padding: 0; }
  .view[hidden] { display: none !important; }
  .content-card, .compare-card, .compare-summary, .cta-panel { box-shadow: none; break-inside: avoid; }
}

/* ---- V5 Step C: shortlist builder ---- */
.shortlist-card { position: relative; padding-top: 1.5rem; }
.shortlist-check { position: absolute; top: 0.7rem; right: 0.85rem; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 700; color: var(--teal); cursor: pointer; }
.shortlist-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--teal); }
.shortlist-card .project-summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 0.75rem 0; }
.card-fit { margin: 0.4rem 0; }
.card-fit strong { display: block; font-size: 0.82rem; color: var(--teal); margin-bottom: 0.2rem; }
.card-fit .decision-list { margin: 0; }
.card-risk { margin: 0.4rem 0 0.6rem; font-size: 0.86rem; color: #7a5b2d; }
.card-risk strong { color: #a76f28; }
.card-state { margin: 0.4rem 0 0.6rem; }
.card-expand { margin: 0.6rem 0 0; font-size: 0.86rem; }
.card-expand summary { cursor: pointer; color: var(--teal); font-weight: 700; }
.card-expand > div { margin-top: 0.6rem; }
.card-expand h4 { margin: 0.5rem 0 0.2rem; font-size: 0.82rem; color: var(--muted); }
.shortlist-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1rem; margin: 0.8rem 0; border: 1px solid #bcd6d5; border-radius: var(--radius); background: #eef7f6; box-shadow: 0 4px 14px rgba(23, 48, 67, 0.08); }
.shortlist-count { font-weight: 800; color: var(--teal); }
.shortlist-hint { font-size: 0.82rem; color: var(--muted); margin-right: auto; }
.shortlist-bar .primary-button[disabled] { opacity: 0.5; cursor: not-allowed; }
.compare-requirement { margin-bottom: 0.9rem; }

/* ---- V5 Step D: breadcrumb + SEO 模拟 ---- */
.breadcrumb { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.6rem; }
.crumb-link { color: var(--teal); text-decoration: none; }
.crumb-link:hover { text-decoration: underline; }
.crumb-sep { color: #b6c4c9; }
.crumb-current { font-weight: 700; color: #33424a; }
.seo-sim { margin-top: 1rem; padding: 0.8rem 1rem; border: 1px dashed #b6c4c9; border-radius: var(--radius); background: #f8fafb; font-size: 0.86rem; }
.seo-sim summary { cursor: pointer; font-weight: 700; color: var(--teal); }
.seo-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.5rem; margin: 0.6rem 0; }
.seo-facts div { padding: 0.4rem 0.6rem; background: white; border-radius: 6px; }
.seo-facts dt { font-size: 0.74rem; color: var(--muted); }
.seo-facts dd { margin: 0; font-family: ui-monospace, monospace; font-size: 0.8rem; word-break: break-all; }

/* ---- V5 Step D R1: hub 两层标题 ---- */
.hub-layer-heading { display: flex; align-items: center; gap: 0.6rem; margin: 1.2rem 0 0.5rem; padding-bottom: 0.4rem; border-bottom: 1px solid #d8e2e7; }
.hub-layer-heading .muted { font-size: 0.82rem; }
.attention-card { margin-top: 0.9rem; }

/* ---- V5 Step E: dual-path 留资 + 归因 ---- */
.dual-path { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 0.9rem 0; }
.path-card { padding: 1rem; border: 1px solid #d8e2e7; border-radius: var(--radius); background: white; }
.path-a { border-top: 3px solid var(--teal); }
.path-b { border-top: 3px solid #a76f28; }
.lead-form { display: grid; gap: 0.5rem; margin-top: 0.6rem; }
.lead-form label { display: grid; gap: 0.2rem; font-size: 0.86rem; }
.lead-form input { padding: 0.5rem 0.6rem; border: 1px solid #d8e2e7; border-radius: 6px; }
.attribution-note { margin-top: 0.8rem; padding: 0.7rem 0.9rem; font-size: 0.82rem; color: #5a6266; background: #f8fafb; border-radius: 8px; }
.contact-context ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
@media (max-width: 640px) { .dual-path { grid-template-columns: 1fr; } }

/* ---- V5 Step E R1: B 路径 CTA + QR 占位 ---- */
.path-b-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.7rem; }
.wechat-qr-placeholder { margin-top: 0.7rem; padding: 0.8rem; border: 1px dashed #b6c4c9; border-radius: 8px; background: #f8fafb; text-align: center; }
.wechat-qr-placeholder .qr-box { width: 128px; height: 128px; margin: 0 auto 0.4rem; display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(45deg, #e3ecef, #e3ecef 8px, #eef4f6 8px, #eef4f6 16px); color: var(--muted); font-size: 0.8rem; border-radius: 8px; }
.wechat-qr-placeholder[hidden] { display: none; }

/* ---- V5 Step F: RBAC / current-unit / audit ---- */
.rbac-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.rbac-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
.rbac-table th, .rbac-table td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid #e3ecef; }
.rbac-table th { color: var(--muted); font-weight: 700; }
.rbac-unit-form .structured-grid { margin: 0.6rem 0; }
.audit-list { font-size: 0.8rem; color: #5a6266; padding-left: 1.2rem; }
.audit-list li { margin: 0.2rem 0; word-break: break-all; }

/* ---- V6: hub 官网感 + 区域招商环境 + 自定义行业/地铁 ---- */
.hub-hero { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; }
.hub-hero-img img { width: 220px; max-width: 40vw; height: auto; border-radius: var(--radius); display: block; }
.dev-panel { margin-top: 0.9rem; }
.dev-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.6rem 0; }
.dev-grid h3 { margin: 0 0 0.4rem; font-size: 0.9rem; color: var(--muted); }
.dev-item { padding: 0.7rem; border: 1px dashed #b6c4c9; border-radius: 8px; background: #f8fafb; }
#industry-custom-wrap input, #metro-lines-wrap .area-choice-list { margin-top: 0.3rem; }
@media (max-width: 640px) { .hub-hero { grid-template-columns: 1fr; } .dev-grid { grid-template-columns: 1fr; } }

/* ===== V7 A/B：推荐候选表 + 对比矩阵 ===== */
.compare-table-wrap, .compare-matrix-wrap { overflow-x: auto; margin: 0.8rem 0 1.2rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.project-table, .compare-matrix { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; font-size: 0.86rem; }
.project-table th, .compare-matrix th, .project-table td, .compare-matrix td { padding: 0.7rem 0.8rem; border-bottom: 1px solid #ebeff1; text-align: left; vertical-align: top; }
.project-table thead th, .compare-matrix thead th { background: #f2f6f7; color: var(--navy); font-weight: 600; font-size: 0.8rem; white-space: nowrap; position: sticky; top: 0; z-index: 2; }
.project-table tbody tr:last-child td, .compare-matrix tbody tr:last-child td { border-bottom: 0; }
.project-table tbody tr:hover td, .compare-matrix tbody tr:hover td { background: #fafcfc; }
.project-table .sticky-col, .compare-matrix .sticky-col { position: sticky; left: 0; background: var(--white); z-index: 1; min-width: 210px; max-width: 260px; border-right: 1px solid var(--line); }
.project-table thead .sticky-col, .compare-matrix thead .sticky-col { background: #f2f6f7; z-index: 3; }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { background: #e9f1f1; }
.sort-arrow { color: var(--teal); font-size: 0.72rem; margin-left: 0.2rem; }
.project-cell { display: flex; flex-direction: row; gap: 0.6rem; align-items: flex-start; }
.project-thumb { display: block; width: 72px; height: 52px; border-radius: 8px; overflow: hidden; flex: 0 0 72px; background: #edf2f3; border: 1px solid #dde7e9; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-thumb.placeholder { display: grid; place-items: center; border-style: dashed; color: var(--muted); font-size: 0.68rem; text-align: center; padding: 0.2rem; line-height: 1.2; }
.project-cell-meta { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.project-cell-name { font-size: 0.92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.project-cell-loc { color: var(--muted); font-size: 0.74rem; line-height: 1.3; }
.project-cell-actions { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.3rem; }

/* ---- FEEDBACK-37：Recommend 成品级表格（信息密度高 / 视觉稳定 / 快速扫描） ---- */
.recommend-table { table-layout: fixed; min-width: 1160px; }
/* 比较维度较少时不沿用多列的 1160px 预留宽度，避免两列内容被拉到两端。 */
.recommend-table--cols-0 { min-width: 0; }
.recommend-table.recommend-table--cols-0 .col-project { width: 100% !important; min-width: 0 !important; max-width: none !important; }
.recommend-table.recommend-table--cols-0 .project-cell-inner { min-height: 72px; align-items: center; }
.recommend-table.recommend-table--cols-0 .project-cell-meta { display: grid; grid-template-columns: minmax(0, 1fr) auto; flex: 1; column-gap: 1rem; }
.recommend-table.recommend-table--cols-0 .project-cell-name, .recommend-table.recommend-table--cols-0 .project-cell-loc { grid-column: 1; }
.recommend-table.recommend-table--cols-0 .project-cell-actions { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 0; }
.recommend-table--cols-1 { min-width: 640px; }
.recommend-table--cols-1 col.recommend-col-project { width: 44%; }
.recommend-table--cols-1 col.recommend-col-data { width: 56%; }
.recommend-table.recommend-table--cols-1 .col-project { width: 44% !important; min-width: 0 !important; max-width: none !important; }
.recommend-table.recommend-table--cols-1 th:not(.col-project), .recommend-table.recommend-table--cols-1 td:not(.col-project) { width: 56%; }
.recommend-table--cols-2 { min-width: 780px; }
.recommend-table--cols-2 col.recommend-col-project { width: 40%; }
.recommend-table--cols-2 col.recommend-col-data { width: 30%; }
.recommend-table.recommend-table--cols-2 .col-project { width: 40% !important; min-width: 0 !important; max-width: none !important; }
.recommend-table.recommend-table--cols-2 th:not(.col-project), .recommend-table.recommend-table--cols-2 td:not(.col-project) { width: 30%; }
.recommend-table--cols-3 { min-width: 940px; }
.recommend-table--cols-3 col.recommend-col-project { width: 34%; }
.recommend-table--cols-3 col.recommend-col-data { width: 22%; }
.recommend-table.recommend-table--cols-3 .col-project { width: 34% !important; min-width: 0 !important; max-width: none !important; }
.recommend-table.recommend-table--cols-3 th:not(.col-project), .recommend-table.recommend-table--cols-3 td:not(.col-project) { width: 22%; }
.recommend-table th, .recommend-table td { padding: 0.7rem 0.75rem; vertical-align: top; }
.recommend-table .project-cell { display: table-cell; }
.recommend-table .project-cell-inner { display: flex; flex-direction: row; gap: 0.6rem; align-items: flex-start; }
.recommend-table:not(.recommend-table--cols-0):not(.recommend-table--cols-1):not(.recommend-table--cols-2):not(.recommend-table--cols-3) .col-project { width: 260px; }
.recommend-table:not(.recommend-table--cols-0):not(.recommend-table--cols-1):not(.recommend-table--cols-2):not(.recommend-table--cols-3) .col-area,
.recommend-table:not(.recommend-table--cols-0):not(.recommend-table--cols-1):not(.recommend-table--cols-2):not(.recommend-table--cols-3) .col-rent { width: 128px; }
.recommend-table:not(.recommend-table--cols-0):not(.recommend-table--cols-1):not(.recommend-table--cols-2):not(.recommend-table--cols-3) .col-metro { width: 92px; }
.recommend-table:not(.recommend-table--cols-0):not(.recommend-table--cols-1):not(.recommend-table--cols-2):not(.recommend-table--cols-3) .col-parking { width: 118px; }
.recommend-table:not(.recommend-table--cols-0):not(.recommend-table--cols-1):not(.recommend-table--cols-2):not(.recommend-table--cols-3) .col-ac { width: 150px; }
.recommend-table:not(.recommend-table--cols-0):not(.recommend-table--cols-1):not(.recommend-table--cols-2):not(.recommend-table--cols-3) .col-registration { width: 104px; }
.recommend-table:not(.recommend-table--cols-0):not(.recommend-table--cols-1):not(.recommend-table--cols-2):not(.recommend-table--cols-3) .col-reception { width: 88px; }
.recommend-table:not(.recommend-table--cols-0):not(.recommend-table--cols-1):not(.recommend-table--cols-2):not(.recommend-table--cols-3) .col-expansion { width: 118px; }
.recommend-table:not(.recommend-table--cols-0):not(.recommend-table--cols-1):not(.recommend-table--cols-2):not(.recommend-table--cols-3) .col-ecosystem { width: 132px; }

/* 宽屏下 1-3 项比较无需横向滚动，取消旧版固定首列，避免其把项目列视觉宽度锁死。 */
@media (min-width: 641px) {
  .recommend-table.recommend-table--cols-0 .sticky-col,
  .recommend-table.recommend-table--cols-1 .sticky-col,
  .recommend-table.recommend-table--cols-2 .sticky-col,
  .recommend-table.recommend-table--cols-3 .sticky-col { position: static; }
}

.compare-cell { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.cell-value { font-size: 0.92rem; line-height: 1.3; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: break-word; word-break: break-word; }
/* 仅对有 title（摘要+完整 tooltip）的单元格做 2 行 clamp，避免无 tooltip 单元格被静默截断 */
.cell-value[title] { max-height: 2.6em; overflow: hidden; cursor: help; border-bottom: 1px dotted #c4ced3; }

.cell-status { display: inline-flex; align-items: center; width: fit-content; font-size: 0.7rem; line-height: 1; padding: 0.24rem 0.5rem; border-radius: 999px; font-weight: 500; letter-spacing: 0.02em; white-space: nowrap; }
.cell-status.history { background: #eef3f6; color: #5b6b7a; }
.cell-status.confirmed { background: #e7f2ee; color: #247b7a; }
.cell-status.unknown { background: #f1f3f4; color: #8a95a0; }

/* FEEDBACK-37 收尾：推荐表内「选入方案」不再绝对定位，与「查看详情」并排，不遮挡其它文字，中文不拆词断行 */
.recommend-table .shortlist-check { position: static; font-weight: 500; font-size: 0.8rem; white-space: nowrap; }
.recommend-table .project-cell-actions { flex-wrap: nowrap; gap: 0.6rem; }
.recommend-table .project-cell-actions .choose-project { white-space: nowrap; flex: 0 0 auto; }
@media (max-width: 640px) {
  .recommend-table.recommend-table--cols-0 .project-cell-meta { grid-template-columns: minmax(0, 1fr); }
  .recommend-table.recommend-table--cols-0 .project-cell-actions { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 0.25rem; }
}

/* ===== V7 C：Project Hub 官网级框架 ===== */
.site-nav { position: sticky; top: 68px; z-index: 9; display: flex; gap: 0.25rem; overflow-x: auto; padding: 0.6rem max(1.25rem, calc((100vw - 1320px) / 2)); background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(4px); }
.site-nav-link { flex: 0 0 auto; padding: 0.45rem 0.8rem; border: 0; background: transparent; color: var(--muted); font-size: 0.85rem; border-radius: 999px; }
.site-nav-link:hover { color: var(--teal); background: var(--teal-soft); }
.site-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; background: linear-gradient(135deg, #0f2c3d 0%, #173d5a 55%, #1f5a66 100%); color: #fff; min-height: 360px; }
.site-hero-media { min-height: 300px; background: #0b2231; }
.site-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-hero-media .placeholder-block { height: 100%; min-height: 300px; }
.site-hero-body { display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; padding: 2.2rem clamp(1.4rem, 4vw, 3.4rem); }
.site-hero-body .eyebrow { color: #9fd0cc; }
.site-hero-body h1 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; color: #fff; }
.site-hero-tagline { margin: 0; color: #cfe1e6; font-size: 0.98rem; }
.hero-keyfacts { display: flex; flex-direction: column; gap: 0.25rem; color: #d7e6ea; font-size: 0.85rem; }
.site-hero-body .hero-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.3rem; }
.site-hero-body .primary-button { background: var(--teal); color: #fff; }
.site-hero-body .secondary-button { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); }
.site-section { padding: 1.6rem max(1.25rem, calc((100vw - 1320px) / 2)); border-bottom: 1px solid #e7ecee; scroll-margin-top: 180px; }
.site-section .section-heading { margin-bottom: 0.9rem; }
.param-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 2rem; margin: 0.4rem 0 0.6rem; }
.param-grid .fact-line { border-bottom: 1px solid #ebeff1; }
.placeholder-block { display: grid; place-items: center; gap: 0.3rem; min-height: 120px; padding: 1rem; border: 1px dashed #b6c4c9; border-radius: 12px; background: #f8fafb; color: var(--muted); text-align: center; }
.placeholder-block strong { color: #7a8793; font-size: 0.9rem; }
.placeholder-block small { color: var(--muted); font-size: 0.78rem; }
.gallery-placeholder, .vr-placeholder { min-height: 150px; flex: 1 1 220px; }
.unit-status { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.4rem; }
.hub-footer { padding: 1.6rem max(1.25rem, calc((100vw - 1320px) / 2)); color: var(--muted); font-size: 0.82rem; background: #eef2f3; }
.hub-footer p { margin: 0 0 0.6rem; line-height: 1.6; }
@media (max-width: 820px) { .site-hero { grid-template-columns: 1fr; } .site-hero-media { min-height: 220px; } }

/* FEEDBACK-36：真实项目视频入口（原始 mp4 资产） */
.video-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0; }
.video-card { margin: 0; flex: 1 1 420px; }
.video-card video { width: 100%; max-height: 420px; border-radius: 12px; background: #000; display: block; object-fit: contain; }
.video-card figcaption { margin-top: 0.4rem; font-size: 0.85rem; }
.video-card figcaption small { display: block; color: var(--muted); margin-top: 0.15rem; }

/* FEEDBACK-44 在租房源明细（紧凑房源卡 + 招商补充信息占位） */
.listing-list { list-style: none; margin: 0.55rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.listing-list li { margin: 0; }
.listing-card { border: 1px solid #e3ecef; border-radius: 10px; background: #fbfcfd; padding: 0.7rem 0.85rem; }
.listing-card-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.listing-rent { font-weight: 680; color: #1f3b47; font-size: 0.95rem; }
.listing-badge { display: inline-flex; align-items: center; font-size: 0.7rem; line-height: 1; padding: 0.24rem 0.5rem; border-radius: 999px; font-weight: 600; background: #e1f3ec; color: #187052; white-space: nowrap; }
.listing-specs { display: flex; flex-wrap: wrap; gap: 0.32rem 0.9rem; margin-top: 0.45rem; font-size: 0.82rem; color: #52636e; }
.listing-supplement { margin-top: 0.55rem; border-top: 1px dashed #e3ecef; padding-top: 0.5rem; }
.listing-supplement summary { cursor: pointer; color: var(--teal); font-size: 0.78rem; }
.supplement-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.5rem 1rem; margin: 0.55rem 0 0; }
.supplement-grid > div { display: flex; flex-direction: column; gap: 0.12rem; }
.supplement-grid dt { font-size: 0.7rem; color: var(--muted); }
.supplement-grid dd { margin: 0; font-size: 0.8rem; color: #47616f; }
.listing-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.2rem; }
.listing-expand { margin-top: 0.6rem; }
.listing-expand summary { cursor: pointer; color: var(--teal); font-size: 0.82rem; }
