:root {
  --accent-start: #ffb800;
  --accent-end: #ff7a00;
  --accent: #ff8f00;
  --bg: #ffffff;
  --surface: #f5f6f8;
  --surface-2: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --stage: #d8dee9;
  --text: #1a1c20;
  --muted: #8e929c;
  --text-muted: #8e929c;
  --line: rgba(26, 28, 32, 0.08);
  --border: rgba(26, 28, 32, 0.08);
  --line-strong: rgba(26, 28, 32, 0.14);
  --success: #0f8a43;
  --warning-amber: #9a6300;
  --shadow-sm: 0 12px 35px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 24px 60px rgba(0, 0, 0, 0.12);
  --shadow-accent: 0 14px 30px rgba(255, 122, 0, 0.22);
  --radius-xl: 32px;
  --radius-lg: 28px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --site-width: min(1240px, calc(100% - 40px));
  --transition: 180ms ease;
}

/* CLUP compliance and suitability decision layer */
.clup-status{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.08em;white-space:nowrap;border:1px solid transparent}
.clup-status-pass{color:#08634f;background:#e7f8f2;border-color:#b6e9d9}.clup-status-conditional{color:#8a5800;background:#fff5d9;border-color:#f3d68b}.clup-status-fail{color:#a52a2a;background:#ffebeb;border-color:#f1b8b8}
.clup-decision-card{position:relative;overflow:hidden;border-top:4px solid #45d6c6}.clup-decision-card.clup-conditional{border-top-color:#f5b74e}.clup-decision-card.clup-fail{border-top-color:#ef4444}
.clup-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.clup-card-head h3{margin:5px 0 0}.clup-score-lockup{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 10px;text-align:right}.clup-score-lockup strong{font:800 34px/1 Manrope,Inter,sans-serif;color:#123633}.clup-score-lockup span:last-child{grid-column:2;font-size:11px;color:#6c7775;text-transform:uppercase;letter-spacing:.08em}
.clup-fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.clup-fact-grid>div{padding:14px;border:1px solid #e7eceb;border-radius:16px;background:#fafcfb}.clup-fact-grid span{display:block;margin-bottom:5px;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#78817f}.clup-fact-grid strong{font-size:13px;line-height:1.45;color:#173c39}
.clup-use-row{display:grid;gap:8px;margin-top:14px;padding:14px;border-radius:16px;background:#f4f7f6;font-size:12px;line-height:1.5;color:#4d5e5b}.clup-decision-card small,.clup-report-card small{display:block;margin-top:14px;color:#7a8583}.clup-decision-card.is-compact .clup-card-head{align-items:center}.clup-decision-card.is-compact p{margin-bottom:0}
.clup-evidence-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;color:#71807d;font-size:11px}.clup-evidence{display:inline-flex;padding:6px 9px;border-radius:999px;font-weight:800;letter-spacing:.07em}.clup-evidence-inferred{background:#eef1f2;color:#66706f}.clup-evidence-recorded{background:#eeeafe;color:#6444b7}.clup-evidence-verified{background:#e4f8ef;color:#087257}.clup-editor-divider{margin-top:10px;padding-top:18px;border-top:1px solid #e2e9e7}.clup-editor-divider p{margin:5px 0 0;color:#75817f;font-size:12px}
.sfc-map-pin.clup-pin-pass{background:#19a77f}.sfc-map-pin.clup-pin-conditional{background:#e2a42c}.sfc-map-pin.clup-pin-fail{background:#e34b4b}.property-card-compact-topline{gap:8px;align-items:center}
.clup-map-legend{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:10px 16px;border-top:1px solid #e7eceb;background:#fafcfb;font-size:10px;font-weight:800;letter-spacing:.06em;color:#687572}.clup-map-legend span{display:inline-flex;align-items:center;gap:6px}.clup-map-legend i{width:9px;height:9px;border-radius:50%}.clup-map-legend .is-pass{background:#19a77f}.clup-map-legend .is-conditional{background:#e2a42c}.clup-map-legend .is-fail{background:#e34b4b}
.clup-simulator-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:22px}.clup-scenario-result{border-left:5px solid #7c3aed}.clup-report-shell{padding-bottom:30px}.clup-report-header{display:flex;justify-content:space-between;gap:24px;align-items:center}.clup-report-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.clup-report-table-wrap{overflow-x:auto;margin-top:18px}.clup-report-table{width:100%;border-collapse:collapse;font-size:13px}.clup-report-table th,.clup-report-table td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #e5ebe9}.clup-report-table th{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#6c7976;background:#f7f9f8}.clup-report-table td small{display:block;margin-top:5px;color:#7a8583}.clup-report-table td:last-child{min-width:260px;line-height:1.45}.clup-report-card{border-left:5px solid #45d6c6}.clup-report-card.clup-conditional{border-left-color:#f5b74e}.clup-report-card.clup-fail{border-left-color:#ef4444}
@media(max-width:900px){.clup-simulator-layout,.clup-fact-grid{grid-template-columns:1fr}.clup-report-header,.clup-card-head{align-items:flex-start;flex-direction:column}.clup-report-summary{justify-content:flex-start}}
@media print{.site-header,.site-footer,.no-print,.notification-drawer,.city-brief-modal{display:none!important}body{background:#fff}.page-shell{padding:0}.site-shell{width:100%;max-width:none}.panel-card{box-shadow:none;break-inside:avoid}.clup-report-table{font-size:10px}.clup-report-table th,.clup-report-table td{padding:8px}}

/* Final landing hero CTA polish */
body[data-page="landing"] .hero-home-refined .hero-focus-row {
  gap: 12px;
}

body[data-page="landing"] .hero-home-refined .hero-focus-chip {
  position: relative;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 23, 33, 0.72), rgba(10, 14, 20, 0.52));
  color: #f8f2e9;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 24px rgba(8, 12, 18, 0.16);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

body[data-page="landing"] .hero-home-refined .hero-focus-chip:hover,
body[data-page="landing"] .hero-home-refined .hero-focus-chip.is-active {
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(var(--hero-focus-accent-rgb), 0.26), rgba(var(--hero-focus-accent-rgb), 0.14));
  border-color: rgba(var(--hero-focus-accent-rgb), 0.34);
  color: #fffaf3;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(var(--hero-focus-accent-rgb), 0.18);
}

body[data-page="landing"] .hero-command-actions {
  gap: 16px;
  align-items: stretch;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero {
  position: relative;
  overflow: hidden;
  min-height: 62px;
  padding: 0 24px;
  border-radius: 22px;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -32%;
  width: 36%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: skewX(-20deg);
  transition: opacity 180ms ease, transform 260ms ease;
  pointer-events: none;
  z-index: 0;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero:hover {
  transform: translateY(-2px);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero:hover::after {
  opacity: 0.65;
  transform: translateX(340%) skewX(-20deg);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero > * {
  position: relative;
  z-index: 1;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero .btn-shell-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  flex: 0 0 38px;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-primary {
  color: #fff9f2;
  background:
    radial-gradient(circle at top right, rgba(255, 230, 184, 0.34), rgba(255, 230, 184, 0) 34%),
    linear-gradient(135deg, #ffbb53 0%, #f59c26 55%, #df7d11 100%);
  border: 1px solid rgba(255, 223, 170, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 231, 0.32),
    0 20px 44px rgba(223, 125, 17, 0.3);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-primary .btn-shell-icon {
  background: rgba(122, 61, 5, 0.18);
  border: 1px solid rgba(255, 237, 204, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 231, 0.34),
    0 26px 54px rgba(223, 125, 17, 0.34);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-secondary {
  color: rgba(246, 249, 255, 0.96);
  background:
    radial-gradient(circle at top right, rgba(125, 160, 255, 0.16), rgba(125, 160, 255, 0) 34%),
    linear-gradient(135deg, rgba(19, 24, 35, 0.92), rgba(10, 14, 22, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(7, 10, 17, 0.24);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-secondary .btn-shell-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d9e7ff;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-secondary:hover {
  border-color: rgba(173, 197, 255, 0.3);
  background:
    radial-gradient(circle at top right, rgba(125, 160, 255, 0.2), rgba(125, 160, 255, 0) 38%),
    linear-gradient(135deg, rgba(22, 28, 41, 0.96), rgba(12, 16, 25, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 48px rgba(7, 10, 17, 0.28);
}

@media (max-width: 760px) {
  body[data-page="landing"] .hero-command-actions .btn-shell-hero {
    min-height: 58px;
    padding: 0 20px;
    border-radius: 20px;
  }

  body[data-page="landing"] .hero-command-actions .btn-shell-hero .btn-shell-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 12px;
  }
}

body[data-page="landing"] .landing-calm-shell {
  --landing-calm-line: rgba(255, 255, 255, 0.16);
  --landing-calm-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 240, 230, 0.9));
  --landing-calm-shadow: 0 36px 88px rgba(8, 14, 28, 0.18);
}

body[data-page="landing"] .hero-home.hero-home-refined {
  min-height: 740px;
  margin-bottom: 36px;
  isolation: isolate;
}

body[data-page="landing"] .hero-home.hero-home-refined::before,
body[data-page="landing"] .hero-home.hero-home-refined::after {
  display: none;
}

body[data-page="landing"] .hero-home.hero-home-refined .hero-canvas,
body[data-page="landing"] .hero-home.hero-home-refined #hero-canvas {
  inset: 0;
  height: auto;
  min-height: 100%;
  border-radius: 40px;
  box-shadow:
    0 42px 110px rgba(10, 13, 18, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

body[data-page="landing"] .hero-home.hero-home-refined .hero-canvas::after,
body[data-page="landing"] .hero-home.hero-home-refined #hero-canvas::after {
  background:
    radial-gradient(circle at 68% 30%, rgba(var(--hero-focus-accent-rgb), 0.1), rgba(var(--hero-focus-accent-rgb), 0) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}

body[data-page="landing"] .hero-home.hero-home-refined .hero-home-backdrop {
  filter: brightness(0.38) saturate(0.88) contrast(1.02);
  transform: scale(1.02);
}

body[data-page="landing"] .hero-home.hero-home-refined .mouse-glow {
  opacity: 0.36;
  filter: blur(66px);
}

body[data-page="landing"] .hero-home-grid-refined {
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 3vw, 46px);
  align-items: center;
  min-height: 740px;
}

body[data-page="landing"] .hero-home-copy-refined {
  max-width: 620px;
  padding: 92px 0 78px;
}

body[data-page="landing"] .hero-home-refined .hero-prelude {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  max-width: none;
}

body[data-page="landing"] .hero-home-refined .hero-location-seal,
body[data-page="landing"] .hero-home-refined .hero-node-badge {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(11, 15, 22, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #f4efe6;
  letter-spacing: 0.14em;
  backdrop-filter: blur(14px);
}

body[data-page="landing"] .hero-home-refined .hero-home-copy h1 {
  max-width: 8.3ch;
  margin: 24px 0 18px;
  font-size: clamp(58px, 6.1vw, 86px);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

body[data-page="landing"] .hero-home-refined .hero-home-copy > p {
  max-width: 35rem;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.66;
  color: rgba(247, 241, 232, 0.86);
}

body[data-page="landing"] .hero-focus-block {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

body[data-page="landing"] .hero-focus-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.68);
}

body[data-page="landing"] .hero-home-refined .hero-focus-row {
  gap: 10px;
}

body[data-page="landing"] .hero-home-refined .hero-focus-chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 16, 24, 0.34);
  color: #f7f2ea;
  box-shadow: none;
}

body[data-page="landing"] .hero-home-refined .hero-focus-chip:hover,
body[data-page="landing"] .hero-home-refined .hero-focus-chip.is-active {
  transform: none;
  border-color: rgba(var(--hero-focus-accent-rgb), 0.28);
  background: rgba(var(--hero-focus-accent-rgb), 0.18);
  box-shadow: 0 14px 32px rgba(var(--hero-focus-accent-rgb), 0.14);
}

body[data-page="landing"] .hero-home-actions {
  gap: 14px;
  margin-bottom: 28px;
}

body[data-page="landing"] .hero-home-actions .btn-shell-hero {
  min-height: 52px;
  padding-inline: 18px;
  border-radius: 16px;
}

body[data-page="landing"] .hero-home-refined .hero-sentiment-rail {
  width: min(100%, 560px);
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

body[data-page="landing"] .hero-home-refined .hero-sentiment-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b8797;
}

body[data-page="landing"] .hero-home-refined .hero-sentiment-label strong {
  color: #172033;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-home-refined .hero-sentiment-track {
  gap: 10px;
}

body[data-page="landing"] .hero-home-refined .hero-sentiment-rail .market-ticker-item {
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #243044;
}

body[data-page="landing"] .hero-feature-shell-refined {
  align-self: center;
  justify-content: flex-start;
  padding-top: 0;
}

body[data-page="landing"] .hero-feature-shell-refined::before {
  display: none;
}

body[data-page="landing"] .hero-home-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: 30px;
  background: var(--landing-calm-fill);
  border: 1px solid var(--landing-calm-line);
  box-shadow: var(--landing-calm-shadow);
  color: #172033;
}

body[data-page="landing"] .hero-home-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

body[data-page="landing"] .hero-home-panel-copy h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #172033;
}

body[data-page="landing"] .hero-brief-context {
  display: grid;
  gap: 6px;
  min-width: 148px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  text-align: right;
}

body[data-page="landing"] .hero-brief-context span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b8797;
}

body[data-page="landing"] .hero-brief-context strong {
  color: #172033;
  font-size: 14px;
  line-height: 1.4;
}

body[data-page="landing"] .hero-home-refined .hero-featured-opportunity {
  margin: 0;
}

body[data-page="landing"] .hero-home-refined .hero-brief-summary {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .hero-home-refined .hero-brief-summary span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(236, 243, 250, 0.64);
}

body[data-page="landing"] .hero-home-refined .hero-brief-summary strong {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.42;
}

body[data-page="landing"] .hero-home-refined .hero-brief-summary p {
  margin: 0;
  color: rgba(236, 243, 250, 0.74);
  font-size: 13px;
  line-height: 1.52;
}

body[data-page="landing"] .hero-home-panel-body {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(220px, 0.98fr);
  gap: 16px;
  align-items: stretch;
}

body[data-page="landing"] .hero-score-block {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .hero-score-copy span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b8797;
}

body[data-page="landing"] .hero-home-refined .hero-slab-score {
  display: block;
  margin-top: 10px;
  font-size: clamp(56px, 5.8vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.08em;
  color: #172033;
}

body[data-page="landing"] .hero-score-copy p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.58;
  color: #556174;
}

body[data-page="landing"] .hero-score-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="landing"] .hero-home-refined .hero-slab-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #1d2737;
}

body[data-page="landing"] .hero-home-refined .hero-slab-chip-quiet {
  background: rgba(255, 255, 255, 0.78);
}

body[data-page="landing"] .hero-proof-grid-refined {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card {
  min-height: 96px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(13, 19, 30, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(236, 243, 250, 0.58);
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card strong {
  font-size: 34px;
  line-height: 0.95;
  color: #ffffff;
}

body[data-page="landing"] .hero-story-panel-refined {
  margin: 0;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(244, 237, 226, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .hero-story-panel-refined .panel-kicker {
  color: #7b8797;
}

body[data-page="landing"] .hero-story-panel-refined p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #263248;
}

body[data-page="landing"] .hero-spatial-dock-refined {
  display: grid;
  gap: 14px;
  padding-top: 2px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .hero-spatial-dock-refined .hero-node-dock-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7b8797;
}

body[data-page="landing"] .hero-spatial-dock-refined .hero-node-panel-copy strong {
  color: #172033;
  font-size: 18px;
}

body[data-page="landing"] .hero-spatial-dock-refined .hero-node-panel-copy p {
  margin: 6px 0 0;
  color: #556174;
  font-size: 14px;
  line-height: 1.58;
}

body[data-page="landing"] .hero-spatial-dock-refined .living-city-node-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="landing"] .hero-spatial-dock-refined .living-city-node-pill {
  min-height: 40px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #172033;
}

body[data-page="landing"] .hero-spatial-dock-refined .living-city-node-pill:hover,
body[data-page="landing"] .hero-spatial-dock-refined .living-city-node-pill.is-active {
  background: rgba(var(--hero-focus-accent-rgb), 0.12);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.18);
  box-shadow: none;
}

@media (max-width: 1120px) {
  body[data-page="landing"] .hero-home-grid-refined {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }

  body[data-page="landing"] .hero-home-copy-refined {
    max-width: none;
    padding: 84px 0 12px;
  }

  body[data-page="landing"] .hero-feature-shell-refined {
    width: 100%;
  }

  body[data-page="landing"] .hero-home-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .hero-brief-context {
    min-width: 0;
    width: 100%;
    text-align: left;
  }

  body[data-page="landing"] .hero-home-panel-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body[data-page="landing"] .hero-home.hero-home-refined {
    min-height: 0;
    margin-bottom: 24px;
  }

  body[data-page="landing"] .hero-home.hero-home-refined .hero-canvas,
  body[data-page="landing"] .hero-home.hero-home-refined #hero-canvas {
    border-radius: 28px;
  }

  body[data-page="landing"] .hero-home-copy-refined {
    padding: 0;
  }

  body[data-page="landing"] .hero-home-refined .hero-home-copy h1 {
    max-width: none;
    font-size: clamp(28px, 7.8vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.035em;
  }

  body[data-page="landing"] .hero-home-refined .hero-home-copy > p {
    font-size: 14.5px;
    line-height: 1.58;
  }

  body[data-page="landing"] .hero-home-panel {
    padding: 20px;
    border-radius: 24px;
  }

  body[data-page="landing"] .hero-proof-grid-refined {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="landing"] .hero-score-block {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .hero-score-chips {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
  }

  body[data-page="landing"] .hero-home-refined .hero-sentiment-rail,
  body[data-page="landing"] .hero-home-actions {
    width: 100%;
  }

  body[data-page="landing"] .hero-home-actions .btn-shell-hero {
    flex: 1 1 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  body[data-page="landing"] .hero-proof-grid-refined {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .hero-home-refined .hero-sentiment-label {
    flex-direction: column;
    align-items: flex-start;
  }
}

body[data-page="landing"] .hero-home-refined .hero-home-copy h1 {
  max-width: 9.4ch;
  font-size: clamp(52px, 5.3vw, 78px);
  line-height: 0.92;
}

body[data-page="landing"] .hero-home-refined .hero-home-copy > p {
  max-width: 33rem;
}

body[data-page="landing"] .hero-home-actions .btn-shell-hero:first-child {
  background: linear-gradient(135deg, #ffb247, #f29c2d);
  border-color: rgba(255, 194, 110, 0.74);
  color: #fffaf2;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 18px 36px rgba(242, 156, 45, 0.28);
}

body[data-page="landing"] .hero-home-actions .btn-shell-hero:first-child:hover {
  background: linear-gradient(135deg, #ffbc62, #f4a53a);
  border-color: rgba(255, 205, 135, 0.88);
}

body[data-page="landing"] .hero-home-actions .btn-shell-hero:last-child {
  background: rgba(13, 18, 26, 0.46);
  border-color: rgba(255, 255, 255, 0.24);
  color: rgba(255, 247, 236, 0.96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 30px rgba(8, 12, 20, 0.2);
}

body[data-page="landing"] .hero-home-actions .btn-shell-hero:last-child:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

body[data-page="landing"] .hero-home-panel {
  position: relative;
  overflow: hidden;
  gap: 18px;
  padding: 24px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(16, 23, 35, 0.98) 0%, rgba(24, 33, 49, 0.98) 38%, rgba(244, 237, 226, 0.98) 38%, rgba(240, 231, 219, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 42px 96px rgba(8, 14, 28, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body[data-page="landing"] .hero-home-panel::before {
  content: "";
  position: absolute;
  top: -82px;
  right: -48px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 178, 76, 0.24), rgba(242, 178, 76, 0) 70%);
  pointer-events: none;
}

body[data-page="landing"] .hero-home-panel::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: calc(38% + 2px);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  pointer-events: none;
}

body[data-page="landing"] .hero-home-panel > * {
  position: relative;
  z-index: 1;
}

body[data-page="landing"] .hero-home-panel-head {
  align-items: flex-end;
}

body[data-page="landing"] .hero-home-panel-copy h2 {
  max-width: 8.8ch;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 0.98;
  color: #f7f2ea;
}

body[data-page="landing"] .hero-home-panel-copy .panel-kicker {
  color: rgba(241, 236, 228, 0.58);
}

body[data-page="landing"] .hero-brief-context {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

body[data-page="landing"] .hero-brief-context span {
  color: rgba(236, 243, 250, 0.56);
}

body[data-page="landing"] .hero-brief-context strong {
  color: #ffffff;
}

body[data-page="landing"] .hero-home-refined .hero-brief-card {
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(var(--hero-focus-accent-rgb), 0.18), rgba(var(--hero-focus-accent-rgb), 0) 32%),
    linear-gradient(155deg, rgba(18, 24, 35, 0.98), rgba(33, 43, 60, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 26px 52px rgba(12, 18, 30, 0.28);
}

body[data-page="landing"] .hero-home-refined .hero-brief-topline {
  align-items: center;
}

body[data-page="landing"] .hero-home-refined .hero-brief-price {
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1;
}

body[data-page="landing"] .hero-home-refined .hero-brief-copy {
  gap: 8px;
}

body[data-page="landing"] .hero-home-refined .hero-brief-copy strong {
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1;
}

body[data-page="landing"] .hero-home-refined .hero-brief-copy p {
  max-width: 33ch;
  margin: 0;
  color: rgba(236, 243, 250, 0.8);
}

body[data-page="landing"] .hero-home-refined .hero-brief-meta {
  gap: 10px;
}

body[data-page="landing"] .hero-home-refined .hero-brief-meta span {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(240, 244, 250, 0.84);
}

body[data-page="landing"] .hero-home-refined .hero-brief-summary {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 3px 0 0 rgba(242, 178, 76, 0.7);
}

body[data-page="landing"] .hero-home-refined .hero-brief-link {
  justify-content: center;
  min-height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .hero-home-panel-body {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: -2px;
}

body[data-page="landing"] .hero-score-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  padding: 22px 22px 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 239, 228, 0.9));
  border: 1px solid rgba(24, 31, 45, 0.08);
  box-shadow: 0 16px 38px rgba(12, 18, 30, 0.08);
}

body[data-page="landing"] .hero-home-refined .hero-slab-score {
  font-size: clamp(58px, 5.8vw, 82px);
}

body[data-page="landing"] .hero-score-copy p {
  max-width: 24ch;
}

body[data-page="landing"] .hero-score-chips {
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  min-width: 142px;
  gap: 10px;
}

body[data-page="landing"] .hero-home-refined .hero-slab-chip {
  min-height: 38px;
  padding: 0 14px;
  background: rgba(17, 24, 39, 0.06);
  border-color: rgba(17, 24, 39, 0.08);
  color: #1d2737;
}

body[data-page="landing"] .hero-proof-grid-refined {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card {
  min-height: 88px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(25, 32, 45, 0.98), rgba(21, 28, 40, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: var(--proof-tone, rgba(242, 178, 76, 0.7));
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card:nth-child(1) {
  --proof-tone: #f2b24c;
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card:nth-child(2) {
  --proof-tone: #87d9c7;
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card:nth-child(3) {
  --proof-tone: #7aa7ff;
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card:nth-child(4) {
  --proof-tone: #ffcf7c;
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card span {
  color: rgba(236, 243, 250, 0.52);
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card strong {
  font-size: 32px;
  line-height: 0.94;
}

body[data-page="landing"] .hero-story-panel-refined {
  position: relative;
  overflow: hidden;
  padding: 18px 20px 18px 24px;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(23, 31, 45, 0.94), rgba(52, 61, 75, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .hero-story-panel-refined::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(242, 178, 76, 0.92), rgba(242, 178, 76, 0.24));
}

body[data-page="landing"] .hero-story-panel-refined .panel-kicker {
  color: rgba(242, 178, 76, 0.72);
}

body[data-page="landing"] .hero-story-panel-refined p {
  color: rgba(241, 244, 249, 0.86);
}

body[data-page="landing"] .hero-spatial-dock-refined {
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(24, 31, 45, 0.08);
}

body[data-page="landing"] .hero-spatial-dock-refined .hero-node-panel-copy strong {
  letter-spacing: -0.03em;
}

body[data-page="landing"] .hero-home-refined .hero-sentiment-rail {
  width: min(100%, 500px);
}

@media (max-width: 760px) {
  body[data-page="landing"] .hero-home-copy-refined {
    padding: 0;
  }

  body[data-page="landing"] .hero-home-refined .hero-home-copy h1 {
    max-width: none;
    font-size: clamp(28px, 7.8vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.035em;
  }

  body[data-page="landing"] .hero-home-refined .hero-home-copy > p {
    font-size: 14px;
    line-height: 1.55;
  }

  body[data-page="landing"] .hero-home-refined .hero-location-seal,
  body[data-page="landing"] .hero-home-refined .hero-node-badge {
    min-height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }

  body[data-page="landing"] .hero-home-refined .hero-focus-chip {
    min-height: 36px;
    padding: 0 12px;
    font-size: 11.5px;
  }

  body[data-page="landing"] .hero-home-actions .btn-shell-hero {
    min-height: 48px;
    font-size: 12px;
    padding-inline: 16px;
    border-radius: 14px;
  }

  body[data-page="landing"] .hero-home-refined .hero-brief-card {
    padding: 16px;
    border-radius: 18px;
  }
}

@media (max-width: 560px) {
  body[data-page="landing"] .hero-home-copy-refined {
    padding: 0;
  }

  body[data-page="landing"] .hero-home-refined .hero-home-copy h1 {
    max-width: none;
    font-size: clamp(26px, 7.5vw, 33px);
    line-height: 1.15;
  }

  body[data-page="landing"] .hero-home-refined .hero-home-copy > p {
    font-size: 13.5px;
    line-height: 1.5;
  }

  body[data-page="landing"] .hero-home-refined .hero-location-seal,
  body[data-page="landing"] .hero-home-refined .hero-node-badge {
    min-height: 28px;
    padding: 0 10px;
    font-size: 9.5px;
  }

  body[data-page="landing"] .hero-home-refined .hero-focus-chip {
    min-height: 34px;
    font-size: 11px;
    padding: 0 10px;
  }

  body[data-page="landing"] .hero-home-actions .btn-shell-hero {
    min-height: 46px;
    font-size: 11.5px;
  }
}

/* Landing clarity overrides: final pass */
body[data-page="landing"] .landing-signature-shell .site-shell {
  width: min(1380px, calc(100% - 36px));
}

body[data-page="landing"] .landing-signature-shell {
  padding-top: 18px;
  padding-bottom: 128px;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-reframed {
  margin-bottom: 38px;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-reframed .hero-canvas,
body[data-page="landing"] .landing-signature-shell .landing-hero-reframed #hero-canvas {
  inset: 0;
  height: auto;
  min-height: 920px;
  border-radius: 54px;
  box-shadow: 0 52px 140px rgba(10, 13, 18, 0.24);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-reframed .hero-home-backdrop {
  background:
    linear-gradient(120deg, rgba(10, 14, 22, 0.72), rgba(10, 14, 22, 0.36) 48%, rgba(10, 14, 22, 0.62)),
    linear-gradient(180deg, rgba(10, 14, 22, 0.08), rgba(10, 14, 22, 0.72)),
    var(--hero-image) center/cover no-repeat;
  filter: brightness(0.34) saturate(0.88) contrast(1.08);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  grid-template-areas:
    "copy feature"
    "command feature";
  gap: 28px;
  align-items: start;
  min-height: auto;
  padding: 68px 56px 54px;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro {
  grid-area: copy;
  max-width: none;
  padding: 40px 42px 34px;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(18, 22, 32, 0.76), rgba(18, 22, 32, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 72px rgba(7, 10, 17, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro::before {
  content: none;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro .hero-prelude {
  align-items: flex-start;
  gap: 18px;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro h1 {
  max-width: 6.8ch;
  margin: 22px 0 18px;
  font-size: clamp(68px, 7vw, 112px);
  line-height: 0.84;
  letter-spacing: -0.08em;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro > p {
  max-width: 40rem;
  font-size: 18px;
  line-height: 1.74;
  color: rgba(255, 255, 255, 0.8);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro .hero-sentiment-rail {
  width: min(100%, 620px);
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro .hero-sentiment-label {
  color: rgba(255, 255, 255, 0.54);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage {
  grid-area: feature;
  align-self: stretch;
  justify-content: flex-end;
  padding-top: 18px;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage::before {
  top: 18%;
  right: 2%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(242, 178, 76, 0.22), rgba(242, 178, 76, 0) 72%);
  filter: blur(18px);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-atlas-stack {
  width: min(100%, 470px);
  gap: 18px;
  align-content: start;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-opportunity-brief-shell,
body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-thesis-snapshot {
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(7, 10, 17, 0.3);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-opportunity-brief-shell {
  transform: translateX(-12px) translateY(18px);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-thesis-snapshot {
  transform: translateX(28px) translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(245, 235, 220, 0.96));
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command {
  grid-area: command;
  margin-top: 0;
  width: min(100%, 760px);
  padding: 30px 30px 28px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(248, 240, 228, 0.96));
  border: 1px solid rgba(242, 178, 76, 0.18);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.12);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-copy span {
  color: rgba(53, 65, 88, 0.54);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-copy strong {
  max-width: 13ch;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 0.96;
  color: #182030;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-lens-controls {
  align-items: flex-start;
  flex-direction: column;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-lens-dock-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(19, 28, 44, 0.06);
  color: #2f3a4e;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-orbit-toggle {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(19, 28, 44, 0.1);
  background: #1f2a3c;
  color: #fff;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-focus-chip {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: #2d3748;
  backdrop-filter: none;
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-focus-chip:hover,
body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-focus-chip.is-active {
  background: rgba(var(--hero-focus-accent-rgb), 0.11);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.22);
  color: #111827;
}

body[data-page="landing"] .hero-home-refined .hero-focus-row {
  gap: 12px;
}

body[data-page="landing"] .hero-home-refined .hero-focus-chip {
  position: relative;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(18, 23, 33, 0.72), rgba(10, 14, 20, 0.52));
  color: #f8f2e9;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 24px rgba(8, 12, 18, 0.16);
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

body[data-page="landing"] .hero-home-refined .hero-focus-chip:hover,
body[data-page="landing"] .hero-home-refined .hero-focus-chip.is-active {
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(var(--hero-focus-accent-rgb), 0.26), rgba(var(--hero-focus-accent-rgb), 0.14));
  border-color: rgba(var(--hero-focus-accent-rgb), 0.34);
  color: #fffaf3;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 34px rgba(var(--hero-focus-accent-rgb), 0.18);
}

body[data-page="landing"] .hero-command-actions {
  gap: 16px;
  align-items: stretch;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero {
  position: relative;
  overflow: hidden;
  min-height: 62px;
  padding: 0 24px;
  border-radius: 22px;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -32%;
  width: 36%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: skewX(-20deg);
  transition: opacity 180ms ease, transform 260ms ease;
  pointer-events: none;
  z-index: 0;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero:hover {
  transform: translateY(-2px);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero:hover::after {
  opacity: 0.65;
  transform: translateX(340%) skewX(-20deg);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero > * {
  position: relative;
  z-index: 1;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero .btn-shell-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  flex: 0 0 38px;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-primary {
  color: #fff9f2;
  background:
    radial-gradient(circle at top right, rgba(255, 230, 184, 0.34), rgba(255, 230, 184, 0) 34%),
    linear-gradient(135deg, #ffbb53 0%, #f59c26 55%, #df7d11 100%);
  border: 1px solid rgba(255, 223, 170, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 231, 0.32),
    0 20px 44px rgba(223, 125, 17, 0.3);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-primary .btn-shell-icon {
  background: rgba(122, 61, 5, 0.18);
  border: 1px solid rgba(255, 237, 204, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 231, 0.34),
    0 26px 54px rgba(223, 125, 17, 0.34);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-secondary {
  color: rgba(246, 249, 255, 0.96);
  background:
    radial-gradient(circle at top right, rgba(125, 160, 255, 0.16), rgba(125, 160, 255, 0) 34%),
    linear-gradient(135deg, rgba(19, 24, 35, 0.92), rgba(10, 14, 22, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 40px rgba(7, 10, 17, 0.24);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-secondary .btn-shell-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d9e7ff;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero.is-secondary:hover {
  border-color: rgba(173, 197, 255, 0.3);
  background:
    radial-gradient(circle at top right, rgba(125, 160, 255, 0.2), rgba(125, 160, 255, 0) 38%),
    linear-gradient(135deg, rgba(22, 28, 41, 0.96), rgba(12, 16, 25, 0.84));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 48px rgba(7, 10, 17, 0.28);
}

@media (max-width: 760px) {
  body[data-page="landing"] .hero-command-actions .btn-shell-hero {
    min-height: 58px;
    padding: 0 20px;
    border-radius: 20px;
  }

  body[data-page="landing"] .hero-command-actions .btn-shell-hero .btn-shell-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 12px;
  }
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-support {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.95fr);
  gap: 16px;
  margin-top: 18px;
  align-items: stretch;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-analyst-note {
  min-height: auto;
  margin-top: 0;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1f2b3a, #17202d);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-analyst-note p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-orbit-status {
  display: block;
  margin-top: 10px;
  color: rgba(168, 226, 206, 0.82);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-proof-rail {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-proof-card {
  min-height: 112px;
  background: linear-gradient(180deg, #2c3341, #232937);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-proof-card span {
  color: rgba(255, 255, 255, 0.56);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .btn-shell-hero:first-child {
  background: linear-gradient(135deg, #ffb54b, #f38b1b);
  color: #fff;
  box-shadow: 0 18px 40px rgba(243, 139, 27, 0.24);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .btn-shell-hero:last-child {
  background: rgba(19, 28, 44, 0.06);
  color: #243041;
}

body[data-page="landing"] .landing-signature-shell .landing-overview-deck,
body[data-page="landing"] .landing-signature-shell .landing-curation-deck,
body[data-page="landing"] .landing-signature-shell .landing-city-deck {
  gap: 24px;
  align-items: start;
}

body[data-page="landing"] .landing-signature-shell .landing-overview-deck {
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
}

body[data-page="landing"] .landing-signature-shell .landing-panel,
body[data-page="landing"] .landing-signature-shell .landing-city-copy,
body[data-page="landing"] .landing-signature-shell .landing-cta-deck {
  border-radius: 34px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 26px 68px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-signature-shell .landing-panel {
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 241, 0.95));
}

body[data-page="landing"] .landing-signature-shell .landing-panel-head {
  gap: 20px;
  margin-bottom: 22px;
}

body[data-page="landing"] .landing-signature-shell .landing-panel-head > .btn-shell {
  min-height: 46px;
  padding-inline: 18px;
  border-radius: 16px;
}

body[data-page="landing"] .landing-signature-shell .section-heading-inline h2 {
  max-width: 11ch;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 0.92;
}

body[data-page="landing"] .landing-signature-shell .section-heading-inline p {
  max-width: 62ch;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-lead {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-lead-media {
  min-height: 400px;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-lead-body {
  padding: 30px;
  gap: 20px;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-head h3 {
  font-size: clamp(34px, 3vw, 48px);
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-facts div {
  min-height: 90px;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-mini {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

body[data-page="landing"] .landing-signature-shell .landing-demand-panel {
  background: linear-gradient(180deg, #1f2836, #111827);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 82px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-signature-shell .landing-demand-panel .eyebrow,
body[data-page="landing"] .landing-signature-shell .landing-demand-panel .section-heading-inline p {
  color: rgba(235, 239, 248, 0.7);
}

body[data-page="landing"] .landing-signature-shell .landing-demand-panel .section-heading-inline h2 {
  color: #fff;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-panel .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-card.is-lead {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: auto;
  padding: 24px;
  background: linear-gradient(180deg, rgba(78, 95, 125, 0.38), rgba(23, 31, 44, 0.72));
}

body[data-page="landing"] .landing-signature-shell .landing-demand-preview .landing-demand-card:not(.is-lead) {
  min-height: 0;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-card h3,
body[data-page="landing"] .landing-signature-shell .landing-demand-card strong {
  color: #fff;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-card p,
body[data-page="landing"] .landing-signature-shell .landing-demand-card span {
  color: rgba(235, 239, 248, 0.72);
}

body[data-page="landing"] .landing-signature-shell .landing-demand-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-stats div {
  min-height: 84px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(12, 16, 24, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .landing-signature-shell .landing-role-panel {
  background: linear-gradient(180deg, rgba(250, 186, 66, 0.96), rgba(225, 147, 32, 0.96));
  border-color: rgba(175, 104, 0, 0.18);
  box-shadow: 0 28px 74px rgba(176, 108, 8, 0.18);
}

body[data-page="landing"] .landing-signature-shell .landing-role-panel .eyebrow,
body[data-page="landing"] .landing-signature-shell .landing-role-panel p,
body[data-page="landing"] .landing-signature-shell .landing-role-panel h2,
body[data-page="landing"] .landing-signature-shell .landing-role-link span,
body[data-page="landing"] .landing-signature-shell .landing-role-link strong {
  color: #241c12;
}

body[data-page="landing"] .landing-signature-shell .landing-role-link {
  min-height: 122px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 28px rgba(89, 52, 5, 0.12);
}

body[data-page="landing"] .landing-signature-shell .landing-curation-deck {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-preview > :first-child,
body[data-page="landing"] .landing-signature-shell .landing-showcase-preview > :last-child {
  transform: none;
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-card {
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-media {
  aspect-ratio: 1 / 0.84;
}

body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline {
  background: linear-gradient(180deg, #1f2836, #111827);
  border-color: rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .eyebrow,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .section-heading-inline p,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-showcase-head span,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-showcase-head p,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-showcase-badge-subtle,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-showcase-metrics span {
  color: rgba(235, 239, 248, 0.7);
}

body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .section-heading-inline h2,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-showcase-head h3,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-showcase-metrics strong {
  color: #fff;
}

body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .btn-shell-secondary,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-inline-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-showcase-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-signature-shell .landing-city-deck {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
}

body[data-page="landing"] .landing-signature-shell .landing-city-copy {
  padding: 34px;
  background: linear-gradient(180deg, #182233, #101723);
  box-shadow: 0 30px 84px rgba(15, 23, 42, 0.16);
}

body[data-page="landing"] .landing-signature-shell .landing-city-copy .eyebrow,
body[data-page="landing"] .landing-signature-shell .landing-city-copy .section-heading-inline p {
  color: rgba(235, 239, 248, 0.68);
}

body[data-page="landing"] .landing-signature-shell .landing-city-copy .section-heading-inline h2,
body[data-page="landing"] .landing-signature-shell .landing-pillar-card strong {
  color: #fff;
}

body[data-page="landing"] .landing-signature-shell .landing-pillar-card {
  min-height: 172px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-signature-shell .landing-pillar-card span {
  color: rgba(235, 239, 248, 0.52);
}

body[data-page="landing"] .landing-signature-shell .landing-notebook-card {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 241, 230, 0.95));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-signature-shell .landing-notebook-card.is-soft {
  background: linear-gradient(180deg, rgba(248, 244, 236, 0.98), rgba(238, 228, 209, 0.95));
}

body[data-page="landing"] .landing-signature-shell .landing-cta-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 36px 38px;
  background: linear-gradient(135deg, #1b2433, #111826);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 88px rgba(15, 23, 42, 0.2);
}

body[data-page="landing"] .landing-signature-shell .landing-cta-deck .eyebrow,
body[data-page="landing"] .landing-signature-shell .landing-cta-deck p {
  color: rgba(235, 239, 248, 0.68);
}

body[data-page="landing"] .landing-signature-shell .landing-cta-deck h2 {
  color: #fff;
  max-width: 13ch;
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 0.9;
}

body[data-page="landing"] .landing-signature-shell .landing-cta-deck .cta-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 12px;
  min-width: 450px;
}

body[data-page="landing"] .landing-signature-shell .landing-cta-deck .btn-shell {
  min-height: 50px;
  border-radius: 16px;
}

body[data-page="landing"] .landing-signature-shell .landing-cta-deck .btn-shell-ghost,
body[data-page="landing"] .landing-signature-shell .landing-cta-deck .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-page="landing"] .landing-signature-shell .landing-cta-deck .btn-shell-primary {
  background: linear-gradient(135deg, #ffb54b, #f38b1b);
  color: #fff;
}

@media (min-width: 1121px) {
  body[data-page="landing"] .landing-signature-shell .landing-overview-deck {
    position: relative;
    z-index: 4;
    margin-top: -70px;
  }
}

@media (max-width: 1120px) {
  body[data-page="landing"] .landing-signature-shell .landing-hero-reframed .hero-canvas,
  body[data-page="landing"] .landing-signature-shell .landing-hero-reframed #hero-canvas {
    min-height: 0;
    border-radius: 44px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "feature"
      "command";
    padding: 88px 26px 30px;
    gap: 18px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-stage {
    justify-content: stretch;
    padding-top: 0;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-atlas-stack,
  body[data-page="landing"] .landing-signature-shell .landing-demand-preview,
  body[data-page="landing"] .landing-signature-shell .landing-showcase-preview,
  body[data-page="landing"] .landing-signature-shell .landing-overview-deck,
  body[data-page="landing"] .landing-signature-shell .landing-curation-deck,
  body[data-page="landing"] .landing-signature-shell .landing-city-deck,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-opportunity-brief-shell,
  body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-thesis-snapshot {
    transform: none;
  }

  body[data-page="landing"] .landing-signature-shell .landing-demand-card.is-lead {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  body[data-page="landing"] .landing-signature-shell {
    padding-top: 12px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-grid {
    padding: 82px 22px 26px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro,
  body[data-page="landing"] .landing-signature-shell .landing-hero-command,
  body[data-page="landing"] .landing-signature-shell .landing-panel,
  body[data-page="landing"] .landing-signature-shell .landing-city-copy,
  body[data-page="landing"] .landing-signature-shell .landing-notebook-card,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck {
    padding: 26px;
    border-radius: 30px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro h1 {
    max-width: 7.2ch;
    font-size: clamp(52px, 10vw, 82px);
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-head {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-signature-shell .landing-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-lens-controls {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-support,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-lead,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck .cta-card-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-signature-shell .landing-cta-deck .cta-card-actions {
    min-width: 0;
  }

  body[data-page="landing"] .landing-signature-shell .landing-ranking-lead-media {
    min-height: 320px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-ranking-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="landing"] .landing-signature-shell .landing-city-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body[data-page="landing"] .landing-signature-shell .site-shell {
    width: min(calc(100% - 22px), 100%);
  }

  body[data-page="landing"] .landing-signature-shell .nav-shell {
    gap: 12px;
    padding: 12px 14px;
  }

  body[data-page="landing"] .landing-signature-shell .brand-subtitle {
    display: none;
  }

  body[data-page="landing"] .landing-signature-shell .top-nav {
    max-width: 100%;
    overflow-x: auto;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-reframed .hero-canvas,
  body[data-page="landing"] .landing-signature-shell .landing-hero-reframed #hero-canvas {
    border-radius: 34px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-grid {
    padding: 78px 18px 22px;
    gap: 16px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro,
  body[data-page="landing"] .landing-signature-shell .landing-hero-command,
  body[data-page="landing"] .landing-signature-shell .landing-panel,
  body[data-page="landing"] .landing-signature-shell .landing-city-copy,
  body[data-page="landing"] .landing-signature-shell .landing-notebook-card,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck {
    padding: 22px;
    border-radius: 26px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro .hero-prelude {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro h1 {
    max-width: 8ch;
    font-size: clamp(44px, 13vw, 60px);
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro > p {
    font-size: 16px;
    line-height: 1.72;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-proof-rail,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-facts,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-rail,
  body[data-page="landing"] .landing-signature-shell .landing-demand-stats,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck .cta-card-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-copy strong,
  body[data-page="landing"] .landing-signature-shell .section-heading-inline h2,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-head h3,
  body[data-page="landing"] .landing-signature-shell .landing-showcase-head h3,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck h2 {
    max-width: none;
    font-size: clamp(28px, 9vw, 38px);
  }

body[data-page="landing"] .landing-signature-shell .spatial-trigger-node,
body[data-page="landing"] .landing-signature-shell .hero-depth-label {
  display: none;
}
}

/* Landing hero button polish */
body[data-page="landing"] .hero-home-refined .hero-focus-row {
  gap: 12px;
}

body[data-page="landing"] .hero-home-refined .hero-focus-chip {
  position: relative;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(18, 23, 34, 0.76), rgba(9, 12, 18, 0.56));
  color: rgba(248, 241, 232, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(6, 10, 16, 0.18);
  backdrop-filter: blur(18px) saturate(130%);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

body[data-page="landing"] .hero-home-refined .hero-focus-chip:hover,
body[data-page="landing"] .hero-home-refined .hero-focus-chip.is-active {
  transform: translateY(-1px);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.36);
  background:
    linear-gradient(180deg, rgba(var(--hero-focus-accent-rgb), 0.3), rgba(var(--hero-focus-accent-rgb), 0.15));
  color: #fffaf4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 36px rgba(var(--hero-focus-accent-rgb), 0.18);
}

body[data-page="landing"] .hero-home-refined .hero-home-actions {
  gap: 16px;
  align-items: stretch;
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero {
  position: relative;
  overflow: hidden;
  min-height: 64px;
  padding: 0 26px;
  border-radius: 24px;
  gap: 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  isolation: isolate;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 0;
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -34%;
  width: 38%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: skewX(-20deg);
  transition: opacity 180ms ease, transform 260ms ease;
  pointer-events: none;
  z-index: 0;
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero:hover {
  transform: translateY(-2px);
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero:hover::after {
  opacity: 0.72;
  transform: translateX(340%) skewX(-20deg);
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero > * {
  position: relative;
  z-index: 1;
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero .btn-shell-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 14px;
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero .btn-shell-icon svg {
  width: 18px;
  height: 18px;
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero.is-primary {
  color: #fff8ef;
  background:
    radial-gradient(circle at top right, rgba(255, 236, 204, 0.34), rgba(255, 236, 204, 0) 34%),
    linear-gradient(135deg, #ffc35c 0%, #f6a52f 54%, #dc7e13 100%);
  border: 1px solid rgba(255, 225, 176, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 226, 0.32),
    0 24px 52px rgba(220, 126, 19, 0.32);
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero.is-primary .btn-shell-icon {
  background: rgba(124, 62, 4, 0.2);
  border: 1px solid rgba(255, 240, 214, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero.is-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 226, 0.34),
    0 28px 58px rgba(220, 126, 19, 0.38);
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero.is-secondary {
  color: rgba(245, 248, 255, 0.97);
  background:
    radial-gradient(circle at top right, rgba(111, 143, 234, 0.18), rgba(111, 143, 234, 0) 34%),
    linear-gradient(135deg, rgba(21, 27, 39, 0.94), rgba(10, 14, 22, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 44px rgba(6, 10, 18, 0.24);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero.is-secondary .btn-shell-icon {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dde8ff;
}

body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero.is-secondary:hover {
  border-color: rgba(182, 202, 255, 0.28);
  background:
    radial-gradient(circle at top right, rgba(111, 143, 234, 0.24), rgba(111, 143, 234, 0) 38%),
    linear-gradient(135deg, rgba(26, 33, 46, 0.96), rgba(12, 17, 26, 0.86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 50px rgba(6, 10, 18, 0.28);
}

@media (max-width: 760px) {
  body[data-page="landing"] .hero-home-refined .hero-home-actions {
    gap: 10px;
  }

  body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero {
    min-height: 48px;
    padding: 0 18px;
    border-radius: 14px;
    letter-spacing: 0.08em;
    font-size: 11.5px;
  }

  body[data-page="landing"] .hero-home-refined .hero-home-actions .btn-shell-hero .btn-shell-icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 8px;
  }
}

/* Landing calm overrides */
body[data-page="landing"] .landing-signature-shell {
  padding-top: 14px;
  padding-bottom: 108px;
}

body[data-page="landing"] .landing-signature-shell .site-shell {
  width: min(1280px, calc(100% - 34px));
}

body[data-page="landing"] .landing-signature-shell .hero-canvas,
body[data-page="landing"] .landing-signature-shell #hero-canvas {
  height: 836px;
  border-radius: 48px;
  box-shadow: 0 42px 108px rgba(10, 13, 18, 0.2);
}

body[data-page="landing"] .landing-signature-shell .hero-home-backdrop {
  filter: brightness(0.34) saturate(0.9) contrast(1.06);
}

body[data-page="landing"] .landing-signature-shell .hero-home-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 420px);
  gap: 34px;
  min-height: 836px;
  align-items: end;
}

body[data-page="landing"] .landing-signature-shell .hero-home-copy {
  max-width: 720px;
  padding: 108px 0 44px;
}

body[data-page="landing"] .landing-signature-shell .hero-home-copy h1 {
  max-width: 6.3ch;
  font-size: clamp(64px, 7.2vw, 108px);
  line-height: 0.84;
  letter-spacing: -0.08em;
}

body[data-page="landing"] .landing-signature-shell .hero-home-copy > p {
  max-width: 37rem;
  font-size: 18px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.8);
}

body[data-page="landing"] .landing-signature-shell .hero-sentiment-rail {
  width: min(100%, 560px);
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.68), rgba(8, 10, 14, 0.48));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 46px rgba(4, 8, 18, 0.18);
}

body[data-page="landing"] .landing-signature-shell .hero-command-desk.hero-lens-dock {
  width: min(100%, 690px);
  margin-top: 24px;
  padding: 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(248, 240, 228, 0.96));
  border: 1px solid rgba(242, 178, 76, 0.16);
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.12);
}

body[data-page="landing"] .landing-signature-shell .hero-command-copy strong {
  max-width: 12ch;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 0.98;
  color: #192232;
}

body[data-page="landing"] .landing-signature-shell .hero-command-desk .hero-focus-chip {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: #344054;
  backdrop-filter: none;
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .hero-command-desk .hero-focus-chip:hover,
body[data-page="landing"] .landing-signature-shell .hero-command-desk .hero-focus-chip.is-active {
  background: rgba(var(--hero-focus-accent-rgb), 0.1);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.2);
  color: #0f172a;
}

body[data-page="landing"] .landing-signature-shell .hero-analyst-note {
  min-height: auto;
  padding: 22px 22px 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, #1f2b3a, #17202d);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .landing-signature-shell .hero-orbit-status {
  color: rgba(168, 226, 206, 0.82);
}

body[data-page="landing"] .landing-signature-shell .hero-proof-card {
  min-height: 108px;
  background: linear-gradient(180deg, #2b3341, #232a37);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

body[data-page="landing"] .landing-signature-shell .hero-feature-shell {
  padding-top: 78px;
  justify-content: flex-end;
}

body[data-page="landing"] .landing-signature-shell .hero-atlas-stack {
  width: min(100%, 430px);
  gap: 18px;
}

body[data-page="landing"] .landing-signature-shell .hero-opportunity-brief-shell {
  transform: translateX(-6px);
  border-radius: 34px;
  box-shadow: 0 24px 68px rgba(7, 10, 17, 0.24);
}

body[data-page="landing"] .landing-signature-shell .hero-thesis-snapshot {
  transform: translateX(18px) translateY(-6px);
  border-radius: 34px;
  box-shadow: 0 24px 68px rgba(15, 23, 42, 0.14);
}

body[data-page="landing"] .landing-signature-shell .landing-overview-grid,
body[data-page="landing"] .landing-signature-shell .landing-curation-grid,
body[data-page="landing"] .landing-signature-shell .landing-city-editorial {
  gap: 24px;
  align-items: start;
}

body[data-page="landing"] .landing-signature-shell .landing-overview-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
}

body[data-page="landing"] .landing-signature-shell .landing-side-stack,
body[data-page="landing"] .landing-signature-shell .landing-city-notes {
  gap: 24px;
}

body[data-page="landing"] .landing-signature-shell .landing-panel,
body[data-page="landing"] .landing-signature-shell .landing-final-cta {
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 239, 0.95));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-signature-shell .section-heading-inline h2 {
  max-width: 11ch;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 0.92;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-lead {
  grid-template-columns: minmax(300px, 0.94fr) minmax(0, 1.06fr);
  border-radius: 28px;
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-lead-media {
  min-height: 400px;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-mini {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

body[data-page="landing"] .landing-signature-shell .landing-demand-panel {
  background: linear-gradient(180deg, #1f2836, #111827);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 76px rgba(15, 23, 42, 0.16);
}

body[data-page="landing"] .landing-signature-shell .landing-demand-preview {
  grid-template-columns: 1fr;
  gap: 14px;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-card,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-showcase-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-card {
  padding: 20px;
  border-radius: 24px;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-card.is-lead {
  min-height: auto;
  background: linear-gradient(180deg, rgba(75, 92, 120, 0.3), rgba(24, 33, 47, 0.74));
}

body[data-page="landing"] .landing-signature-shell .landing-role-panel {
  background: linear-gradient(180deg, rgba(248, 191, 87, 0.98), rgba(230, 155, 36, 0.96));
  border-color: rgba(175, 104, 0, 0.18);
  box-shadow: 0 24px 64px rgba(176, 108, 8, 0.16);
}

body[data-page="landing"] .landing-signature-shell .landing-role-link {
  min-height: 118px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.46);
}

body[data-page="landing"] .landing-signature-shell .landing-curation-grid,
body[data-page="landing"] .landing-signature-shell .landing-showcase-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-preview {
  gap: 14px;
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-preview > :first-child,
body[data-page="landing"] .landing-signature-shell .landing-showcase-preview > :last-child {
  transform: none;
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-card {
  border-radius: 24px;
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-city-editorial {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
}

body[data-page="landing"] .landing-signature-shell .landing-city-copy {
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(180deg, #182233, #101723);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 74px rgba(15, 23, 42, 0.16);
}

body[data-page="landing"] .landing-signature-shell .landing-notebook-card {
  padding: 30px;
  border-radius: 30px;
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-signature-shell .landing-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, #1b2433, #111826);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 84px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-signature-shell .landing-final-cta .cta-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(128px, 1fr));
  gap: 12px;
  min-width: 420px;
}

@media (min-width: 1101px) {
  body[data-page="landing"] .landing-signature-shell .landing-overview-grid {
    position: relative;
    z-index: 4;
    margin-top: -42px;
  }
}

@media (max-width: 1100px) {
  body[data-page="landing"] .landing-signature-shell .hero-canvas,
  body[data-page="landing"] .landing-signature-shell #hero-canvas {
    height: auto;
    min-height: 1180px;
    border-radius: 42px;
  }

  body[data-page="landing"] .landing-signature-shell .hero-home-grid,
  body[data-page="landing"] .landing-signature-shell .landing-overview-grid,
  body[data-page="landing"] .landing-signature-shell .landing-curation-grid,
  body[data-page="landing"] .landing-signature-shell .landing-city-editorial,
  body[data-page="landing"] .landing-signature-shell .landing-final-cta,
  body[data-page="landing"] .landing-signature-shell .landing-showcase-preview {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-signature-shell .hero-home-grid {
    min-height: auto;
    align-items: start;
  }

  body[data-page="landing"] .landing-signature-shell .hero-feature-shell {
    padding-top: 0;
    justify-content: flex-start;
  }

  body[data-page="landing"] .landing-signature-shell .hero-atlas-stack {
    width: min(680px, 100%);
    margin-left: 0;
    transform: none;
  }

  body[data-page="landing"] .landing-signature-shell .hero-opportunity-brief-shell,
  body[data-page="landing"] .landing-signature-shell .hero-thesis-snapshot {
    transform: none;
  }

  body[data-page="landing"] .landing-signature-shell .landing-overview-grid {
    margin-top: 0;
  }

  body[data-page="landing"] .landing-signature-shell .landing-final-cta .cta-card-actions {
    min-width: 0;
  }
}

@media (max-width: 860px) {
  body[data-page="landing"] .landing-signature-shell .hero-home-copy {
    padding: 96px 0 20px;
  }

  body[data-page="landing"] .landing-signature-shell .hero-home-copy h1 {
    max-width: 7.3ch;
    font-size: clamp(52px, 10vw, 84px);
  }

  body[data-page="landing"] .landing-signature-shell .hero-command-desk.hero-lens-dock,
  body[data-page="landing"] .landing-signature-shell .landing-panel,
  body[data-page="landing"] .landing-signature-shell .landing-city-copy,
  body[data-page="landing"] .landing-signature-shell .landing-notebook-card,
  body[data-page="landing"] .landing-signature-shell .landing-final-cta {
    padding: 28px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .landing-signature-shell .landing-ranking-lead,
  body[data-page="landing"] .landing-signature-shell .landing-final-cta,
  body[data-page="landing"] .landing-signature-shell .landing-final-cta .cta-card-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-signature-shell .landing-ranking-lead-media {
    min-height: 320px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-ranking-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="landing"] .landing-signature-shell .site-shell {
    width: min(calc(100% - 22px), 100%);
  }

  body[data-page="landing"] .landing-signature-shell .hero-canvas,
  body[data-page="landing"] .landing-signature-shell #hero-canvas {
    min-height: 1060px;
    border-radius: 32px;
  }

  body[data-page="landing"] .landing-signature-shell .hero-home-copy {
    padding-top: 86px;
  }

  body[data-page="landing"] .landing-signature-shell .hero-home-copy h1 {
    max-width: 7.8ch;
    font-size: clamp(42px, 13vw, 60px);
  }

  body[data-page="landing"] .landing-signature-shell .hero-home-copy > p {
    font-size: 16px;
    line-height: 1.72;
  }

  body[data-page="landing"] .landing-signature-shell .hero-sentiment-rail,
  body[data-page="landing"] .landing-signature-shell .hero-command-desk.hero-lens-dock,
  body[data-page="landing"] .landing-signature-shell .landing-panel,
  body[data-page="landing"] .landing-signature-shell .landing-city-copy,
  body[data-page="landing"] .landing-signature-shell .landing-notebook-card,
  body[data-page="landing"] .landing-signature-shell .landing-final-cta {
    padding: 22px;
    border-radius: 26px;
  }

  body[data-page="landing"] .landing-signature-shell .hero-command-support,
  body[data-page="landing"] .landing-signature-shell .hero-proof-rail,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-facts,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-rail,
  body[data-page="landing"] .landing-signature-shell .landing-demand-stats,
  body[data-page="landing"] .landing-signature-shell .landing-final-cta .cta-card-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-signature-shell .hero-command-copy strong,
  body[data-page="landing"] .landing-signature-shell .section-heading-inline h2,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-head h3,
  body[data-page="landing"] .landing-signature-shell .landing-showcase-head h3,
  body[data-page="landing"] .landing-signature-shell .landing-final-cta h2 {
    max-width: none;
    font-size: clamp(28px, 9vw, 38px);
  }
}

/* Landing clarity reconstruction */
body[data-page="landing"] {
  --landing-shell-width: min(1380px, calc(100% - 36px));
  --landing-shadow-lg: 0 34px 90px rgba(15, 23, 42, 0.12);
  --landing-shadow-deep: 0 34px 90px rgba(7, 10, 17, 0.3);
  --landing-line-soft: rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .site-shell {
  width: var(--landing-shell-width);
}

body[data-page="landing"] .landing-signature-shell {
  padding-top: 18px;
  padding-bottom: 128px;
}

body[data-page="landing"] .landing-hero-reframed {
  margin-bottom: 38px;
}

body[data-page="landing"] .landing-hero-reframed .hero-canvas,
body[data-page="landing"] .landing-hero-reframed #hero-canvas {
  inset: 0;
  height: auto;
  min-height: 920px;
  border-radius: 54px;
  box-shadow: 0 52px 140px rgba(10, 13, 18, 0.24);
}

body[data-page="landing"] .landing-hero-reframed .hero-home-backdrop {
  background:
    linear-gradient(120deg, rgba(10, 14, 22, 0.72), rgba(10, 14, 22, 0.36) 48%, rgba(10, 14, 22, 0.62)),
    linear-gradient(180deg, rgba(10, 14, 22, 0.08), rgba(10, 14, 22, 0.72)),
    var(--hero-image) center/cover no-repeat;
  filter: brightness(0.34) saturate(0.88) contrast(1.08);
}

body[data-page="landing"] .landing-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  grid-template-areas:
    "copy feature"
    "command feature";
  gap: 28px;
  align-items: start;
  min-height: auto;
  padding: 68px 56px 54px;
}

body[data-page="landing"] .landing-hero-intro {
  grid-area: copy;
  max-width: none;
  padding: 40px 42px 34px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(18, 22, 32, 0.76), rgba(18, 22, 32, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 72px rgba(7, 10, 17, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .landing-hero-intro::before {
  content: none;
}

body[data-page="landing"] .landing-hero-intro .hero-prelude {
  align-items: flex-start;
  gap: 18px;
}

body[data-page="landing"] .landing-hero-intro h1 {
  max-width: 6.8ch;
  margin: 22px 0 18px;
  font-size: clamp(68px, 7vw, 112px);
  line-height: 0.84;
  letter-spacing: -0.08em;
}

body[data-page="landing"] .landing-hero-intro > p {
  max-width: 40rem;
  font-size: 18px;
  line-height: 1.74;
  color: rgba(255, 255, 255, 0.8);
}

body[data-page="landing"] .landing-hero-intro .hero-sentiment-rail {
  width: min(100%, 620px);
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-page="landing"] .landing-hero-intro .hero-sentiment-label {
  color: rgba(255, 255, 255, 0.54);
}

body[data-page="landing"] .landing-hero-stage {
  grid-area: feature;
  align-self: stretch;
  justify-content: flex-end;
  padding-top: 18px;
}

body[data-page="landing"] .landing-hero-stage::before {
  top: 18%;
  right: 2%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(242, 178, 76, 0.22), rgba(242, 178, 76, 0) 72%);
  filter: blur(18px);
}

body[data-page="landing"] .landing-hero-stage .hero-atlas-stack {
  width: min(100%, 470px);
  gap: 18px;
  align-content: start;
}

body[data-page="landing"] .landing-hero-stage .hero-opportunity-brief-shell,
body[data-page="landing"] .landing-hero-stage .hero-thesis-snapshot {
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--landing-shadow-deep);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .landing-hero-stage .hero-opportunity-brief-shell {
  transform: translateX(-12px) translateY(18px);
}

body[data-page="landing"] .landing-hero-stage .hero-thesis-snapshot {
  transform: translateX(28px) translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(245, 235, 220, 0.96));
}

body[data-page="landing"] .landing-hero-command {
  grid-area: command;
  margin-top: 0;
  width: min(100%, 760px);
  padding: 30px 30px 28px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(248, 240, 228, 0.96));
  border: 1px solid rgba(242, 178, 76, 0.18);
  box-shadow: var(--landing-shadow-lg);
}

body[data-page="landing"] .landing-hero-command .hero-command-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

body[data-page="landing"] .landing-hero-command .hero-command-copy span {
  color: rgba(53, 65, 88, 0.54);
}

body[data-page="landing"] .landing-hero-command .hero-command-copy strong {
  max-width: 13ch;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 0.96;
  color: #182030;
}

body[data-page="landing"] .landing-hero-command .hero-lens-controls {
  align-items: flex-start;
  flex-direction: column;
}

body[data-page="landing"] .landing-hero-command .hero-lens-dock-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(19, 28, 44, 0.06);
  color: #2f3a4e;
}

body[data-page="landing"] .landing-hero-command .hero-orbit-toggle {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(19, 28, 44, 0.1);
  background: #1f2a3c;
  color: #fff;
}

body[data-page="landing"] .landing-hero-command .hero-focus-row {
  margin-top: 22px;
  gap: 10px;
}

body[data-page="landing"] .landing-hero-command .hero-focus-chip {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: #2d3748;
  backdrop-filter: none;
  box-shadow: none;
}

body[data-page="landing"] .landing-hero-command .hero-focus-chip:hover,
body[data-page="landing"] .landing-hero-command .hero-focus-chip.is-active {
  background: rgba(var(--hero-focus-accent-rgb), 0.11);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.22);
  color: #111827;
}

body[data-page="landing"] .landing-hero-command .hero-command-support {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.95fr);
  gap: 16px;
  margin-top: 18px;
  align-items: stretch;
}

body[data-page="landing"] .landing-hero-command .hero-analyst-note {
  min-height: auto;
  margin-top: 0;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1f2b3a, #17202d);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

body[data-page="landing"] .landing-hero-command .hero-analyst-note p {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="landing"] .landing-hero-command .hero-orbit-status {
  display: block;
  margin-top: 10px;
  color: rgba(168, 226, 206, 0.82);
}

body[data-page="landing"] .landing-hero-command .hero-proof-rail {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-hero-command .hero-proof-card {
  min-height: 112px;
  background: linear-gradient(180deg, #2c3341, #232937);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

body[data-page="landing"] .landing-hero-command .hero-proof-card span {
  color: rgba(255, 255, 255, 0.56);
}

body[data-page="landing"] .landing-hero-command .hero-command-actions {
  margin-top: 20px;
}

body[data-page="landing"] .landing-hero-command .btn-shell-hero:first-child {
  background: linear-gradient(135deg, #ffb54b, #f38b1b);
  color: #fff;
  box-shadow: 0 18px 40px rgba(243, 139, 27, 0.24);
}

body[data-page="landing"] .landing-hero-command .btn-shell-hero:last-child {
  background: rgba(19, 28, 44, 0.06);
  color: #243041;
}

@media (min-width: 1121px) {
  body[data-page="landing"] .landing-overview-deck {
    position: relative;
    z-index: 4;
    margin-top: -70px;
  }
}

body[data-page="landing"] .landing-overview-deck,
body[data-page="landing"] .landing-curation-deck,
body[data-page="landing"] .landing-city-deck {
  gap: 24px;
  align-items: start;
}

body[data-page="landing"] .landing-panel,
body[data-page="landing"] .landing-cta-deck,
body[data-page="landing"] .landing-city-copy {
  border-radius: 34px;
  border: 1px solid var(--landing-line-soft);
  box-shadow: 0 26px 68px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-panel {
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 241, 0.95));
}

body[data-page="landing"] .landing-panel::before,
body[data-page="landing"] .landing-cta-deck::before {
  opacity: 0.42;
}

body[data-page="landing"] .landing-panel-head {
  gap: 20px;
  margin-bottom: 22px;
}

body[data-page="landing"] .landing-panel-head > .btn-shell {
  min-height: 46px;
  padding-inline: 18px;
  border-radius: 16px;
}

body[data-page="landing"] .section-heading-inline h2 {
  max-width: 11ch;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 0.92;
}

body[data-page="landing"] .section-heading-inline p {
  max-width: 62ch;
}

body[data-page="landing"] .landing-overview-deck {
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
}

body[data-page="landing"] .landing-side-stack,
body[data-page="landing"] .landing-city-notes {
  gap: 24px;
}

body[data-page="landing"] .landing-ranking-panel {
  background:
    radial-gradient(circle at top right, rgba(242, 178, 76, 0.2), rgba(242, 178, 76, 0) 34%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(246, 237, 222, 0.96));
}

body[data-page="landing"] .landing-ranking-preview {
  gap: 18px;
}

body[data-page="landing"] .landing-ranking-lead {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
}

body[data-page="landing"] .landing-ranking-lead-media {
  min-height: 400px;
}

body[data-page="landing"] .landing-ranking-lead-body {
  padding: 30px;
  gap: 20px;
}

body[data-page="landing"] .landing-ranking-head h3 {
  font-size: clamp(34px, 3vw, 48px);
}

body[data-page="landing"] .landing-ranking-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-ranking-facts div {
  min-height: 90px;
}

body[data-page="landing"] .landing-ranking-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="landing"] .landing-ranking-mini {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

body[data-page="landing"] .landing-demand-panel {
  background: linear-gradient(180deg, #1f2836, #111827);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 82px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-demand-panel .eyebrow,
body[data-page="landing"] .landing-demand-panel .section-heading-inline p {
  color: rgba(235, 239, 248, 0.7);
}

body[data-page="landing"] .landing-demand-panel .section-heading-inline h2 {
  color: #fff;
}

body[data-page="landing"] .landing-demand-panel .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

body[data-page="landing"] .landing-demand-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .landing-demand-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-page="landing"] .landing-demand-card.is-lead {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: auto;
  padding: 24px;
  background: linear-gradient(180deg, rgba(78, 95, 125, 0.38), rgba(23, 31, 44, 0.72));
}

body[data-page="landing"] .landing-demand-preview .landing-demand-card:not(.is-lead) {
  min-height: 0;
}

body[data-page="landing"] .landing-demand-card h3,
body[data-page="landing"] .landing-demand-card strong {
  color: #fff;
}

body[data-page="landing"] .landing-demand-card p,
body[data-page="landing"] .landing-demand-card span {
  color: rgba(235, 239, 248, 0.72);
}

body[data-page="landing"] .landing-demand-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="landing"] .landing-demand-stats div {
  min-height: 84px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(12, 16, 24, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .landing-demand-card .landing-inline-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body[data-page="landing"] .landing-role-panel {
  background: linear-gradient(180deg, rgba(250, 186, 66, 0.96), rgba(225, 147, 32, 0.96));
  border-color: rgba(175, 104, 0, 0.18);
  box-shadow: 0 28px 74px rgba(176, 108, 8, 0.18);
}

body[data-page="landing"] .landing-role-panel .eyebrow,
body[data-page="landing"] .landing-role-panel p,
body[data-page="landing"] .landing-role-panel h2 {
  color: #241c12;
}

body[data-page="landing"] .landing-role-links {
  gap: 14px;
}

body[data-page="landing"] .landing-role-link {
  min-height: 122px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 28px rgba(89, 52, 5, 0.12);
}

body[data-page="landing"] .landing-role-link span,
body[data-page="landing"] .landing-role-link strong {
  color: #1f2836;
}

body[data-page="landing"] .landing-curation-deck {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-showcase-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .landing-showcase-preview > :first-child,
body[data-page="landing"] .landing-showcase-preview > :last-child {
  transform: none;
}

body[data-page="landing"] .landing-showcase-card {
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
}

body[data-page="landing"] .landing-showcase-media {
  aspect-ratio: 1 / 0.84;
}

body[data-page="landing"] .landing-curation-panel.is-pipeline {
  background: linear-gradient(180deg, #1f2836, #111827);
  border-color: rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .eyebrow,
body[data-page="landing"] .landing-curation-panel.is-pipeline .section-heading-inline p,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-head span,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-head p,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-badge-subtle,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-metrics span {
  color: rgba(235, 239, 248, 0.7);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .section-heading-inline h2,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-head h3,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-metrics strong {
  color: #fff;
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .btn-shell-secondary,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-inline-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-city-deck {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
}

body[data-page="landing"] .landing-city-copy {
  padding: 34px;
  background: linear-gradient(180deg, #182233, #101723);
  box-shadow: 0 30px 84px rgba(15, 23, 42, 0.16);
}

body[data-page="landing"] .landing-city-copy .eyebrow,
body[data-page="landing"] .landing-city-copy .section-heading-inline p {
  color: rgba(235, 239, 248, 0.68);
}

body[data-page="landing"] .landing-city-copy .section-heading-inline h2 {
  color: #fff;
}

body[data-page="landing"] .landing-city-pillars {
  margin-top: 24px;
  gap: 16px;
}

body[data-page="landing"] .landing-pillar-card {
  min-height: 172px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-pillar-card span {
  color: rgba(235, 239, 248, 0.52);
}

body[data-page="landing"] .landing-pillar-card strong {
  color: #fff;
}

body[data-page="landing"] .landing-notebook-card {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 241, 230, 0.95));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-notebook-card.is-soft {
  background: linear-gradient(180deg, rgba(248, 244, 236, 0.98), rgba(238, 228, 209, 0.95));
}

body[data-page="landing"] .landing-cta-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 36px 38px;
  background: linear-gradient(135deg, #1b2433, #111826);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 88px rgba(15, 23, 42, 0.2);
}

body[data-page="landing"] .landing-cta-deck .eyebrow,
body[data-page="landing"] .landing-cta-deck p {
  color: rgba(235, 239, 248, 0.68);
}

body[data-page="landing"] .landing-cta-deck h2 {
  color: #fff;
  max-width: 13ch;
  font-size: clamp(34px, 3.5vw, 52px);
  line-height: 0.9;
}

body[data-page="landing"] .landing-cta-deck .cta-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 12px;
  min-width: 450px;
}

body[data-page="landing"] .landing-cta-deck .btn-shell {
  min-height: 50px;
  border-radius: 16px;
}

body[data-page="landing"] .landing-cta-deck .btn-shell-ghost,
body[data-page="landing"] .landing-cta-deck .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-page="landing"] .landing-cta-deck .btn-shell-primary {
  background: linear-gradient(135deg, #ffb54b, #f38b1b);
  color: #fff;
}

@media (max-width: 1120px) {
  body[data-page="landing"] .landing-hero-reframed .hero-canvas,
  body[data-page="landing"] .landing-hero-reframed #hero-canvas {
    min-height: 0;
    border-radius: 44px;
  }

  body[data-page="landing"] .landing-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "feature"
      "command";
    padding: 88px 26px 30px;
    gap: 18px;
  }

  body[data-page="landing"] .landing-hero-stage {
    justify-content: stretch;
    padding-top: 0;
  }

  body[data-page="landing"] .landing-hero-stage .hero-atlas-stack {
    width: 100%;
    transform: none;
  }

  body[data-page="landing"] .landing-hero-stage .hero-opportunity-brief-shell,
  body[data-page="landing"] .landing-hero-stage .hero-thesis-snapshot {
    transform: none;
  }

  body[data-page="landing"] .landing-overview-deck,
  body[data-page="landing"] .landing-curation-deck,
  body[data-page="landing"] .landing-city-deck,
  body[data-page="landing"] .landing-cta-deck {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  body[data-page="landing"] .landing-demand-preview,
  body[data-page="landing"] .landing-showcase-preview {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-demand-card.is-lead {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  body[data-page="landing"] .landing-signature-shell {
    padding-top: 12px;
  }

  body[data-page="landing"] .landing-hero-grid {
    padding: 82px 22px 26px;
  }

  body[data-page="landing"] .landing-hero-intro,
  body[data-page="landing"] .landing-hero-command,
  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-city-copy,
  body[data-page="landing"] .landing-notebook-card,
  body[data-page="landing"] .landing-cta-deck {
    padding: 26px;
    border-radius: 30px;
  }

  body[data-page="landing"] .landing-hero-intro h1 {
    max-width: 7.2ch;
    font-size: clamp(52px, 10vw, 82px);
  }

  body[data-page="landing"] .landing-hero-command .hero-command-head,
  body[data-page="landing"] .landing-panel-head {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .landing-hero-command .hero-lens-controls {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  body[data-page="landing"] .landing-hero-command .hero-command-support,
  body[data-page="landing"] .landing-ranking-lead,
  body[data-page="landing"] .landing-cta-deck,
  body[data-page="landing"] .landing-cta-deck .cta-card-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-cta-deck .cta-card-actions {
    min-width: 0;
  }

  body[data-page="landing"] .landing-ranking-lead-media {
    min-height: 320px;
  }

  body[data-page="landing"] .landing-ranking-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="landing"] .landing-city-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body[data-page="landing"] {
    --landing-shell-width: min(calc(100% - 22px), 100%);
  }

  body[data-page="landing"] .nav-shell {
    gap: 12px;
    padding: 12px 14px;
  }

  body[data-page="landing"] .brand-subtitle {
    display: none;
  }

  body[data-page="landing"] .top-nav {
    max-width: 100%;
    overflow-x: auto;
  }

  body[data-page="landing"] .landing-hero-reframed .hero-canvas,
  body[data-page="landing"] .landing-hero-reframed #hero-canvas {
    border-radius: 34px;
  }

  body[data-page="landing"] .landing-hero-grid {
    padding: 78px 18px 22px;
    gap: 16px;
  }

  body[data-page="landing"] .landing-hero-intro,
  body[data-page="landing"] .landing-hero-command,
  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-city-copy,
  body[data-page="landing"] .landing-notebook-card,
  body[data-page="landing"] .landing-cta-deck {
    padding: 22px;
    border-radius: 26px;
  }

  body[data-page="landing"] .landing-hero-intro .hero-prelude {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .landing-hero-intro h1 {
    max-width: 8ch;
    font-size: clamp(44px, 13vw, 60px);
  }

  body[data-page="landing"] .landing-hero-intro > p {
    font-size: 16px;
    line-height: 1.72;
  }

  body[data-page="landing"] .landing-hero-stage .hero-atlas-stack {
    gap: 14px;
  }

  body[data-page="landing"] .landing-hero-command .hero-focus-row,
  body[data-page="landing"] .landing-hero-command .hero-proof-rail,
  body[data-page="landing"] .landing-ranking-facts,
  body[data-page="landing"] .landing-ranking-rail,
  body[data-page="landing"] .landing-demand-stats,
  body[data-page="landing"] .landing-cta-deck .cta-card-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-hero-command .hero-command-copy strong,
  body[data-page="landing"] .section-heading-inline h2,
  body[data-page="landing"] .landing-ranking-head h3,
  body[data-page="landing"] .landing-showcase-head h3,
  body[data-page="landing"] .landing-cta-deck h2 {
    max-width: none;
    font-size: clamp(28px, 9vw, 38px);
  }

  body[data-page="landing"] .spatial-trigger-node,
  body[data-page="landing"] .hero-depth-label {
    display: none;
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 184, 0, 0.1), transparent 26%),
    radial-gradient(circle at right top, rgba(216, 222, 233, 0.8), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 32vh;
  background: linear-gradient(180deg, rgba(216, 222, 233, 0), rgba(216, 222, 233, 0.26));
  pointer-events: none;
  z-index: -1;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  width: var(--site-width);
  margin: 0 auto;
}

.page-shell {
  padding: 36px 0 80px;
}

.eyebrow,
.panel-kicker,
.metric-label,
.loading-panel {
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  font-family: "Poppins", "Montserrat", sans-serif;
  letter-spacing: -0.04em;
  margin: 0;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(26, 28, 32, 0.05);
  box-shadow: 0 14px 34px rgba(26, 28, 32, 0.05);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.brand-link,
.brand-copy,
.nav-center,
.top-nav,
.nav-actions,
.hero-actions,
.intro-actions,
.property-actions,
.earth-action-row,
.cta-card-actions,
.crud-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-link {
  min-width: 0;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f2f4f7);
  border: 1px solid rgba(26, 28, 32, 0.06);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-copy {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.brand-title {
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.brand-subtitle {
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.nav-center {
  justify-content: center;
}

.top-nav {
  width: fit-content;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(26, 28, 32, 0.06);
  box-shadow: var(--shadow-sm);
}

.nav-link,
.session-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 122, 0, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 0, 0.04);
}

.nav-link-icon,
.session-chip-icon,
.btn-shell-icon,
.role-card-icon,
.stat-icon,
.property-icon {
  display: inline-grid;
  place-items: center;
}

.ui-icon,
.nav-link-icon svg,
.session-chip-icon svg,
.btn-shell-icon svg,
.role-card-icon svg {
  width: 18px;
  height: 18px;
}

.ui-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.btn-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn-shell:hover {
  transform: translateY(-1px);
}

.btn-shell svg {
  width: 16px;
  height: 16px;
  display: block;
  flex: 0 0 auto;
}

.nav-actions {
  justify-content: flex-end;
}

.portal-menu {
  position: relative;
}

.portal-menu-trigger {
  min-width: 190px;
}

.portal-menu-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(360px, calc(100vw - 24px));
  padding: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(26, 28, 32, 0.08);
  box-shadow: 0 28px 60px rgba(26, 28, 32, 0.14);
  display: none;
  grid-template-columns: 1fr;
  gap: 10px;
}

.portal-menu.is-open .portal-menu-panel {
  display: grid;
}

.portal-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(26, 28, 32, 0.04);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.portal-entry:hover {
  transform: translateY(-1px);
  background: rgba(255, 184, 0, 0.08);
  border-color: rgba(255, 122, 0, 0.14);
}

.portal-entry.is-active,
.more-menu-trigger.is-active {
  background: rgba(255, 184, 0, 0.14);
  border-color: rgba(255, 122, 0, 0.18);
  color: var(--text);
}

.more-menu-trigger {
  min-width: 132px;
}

.more-menu-panel {
  width: min(420px, calc(100vw - 24px));
}

.portal-entry-primary {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.16), rgba(255, 122, 0, 0.1));
  border-color: rgba(255, 122, 0, 0.16);
}

.portal-entry-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-end);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.portal-entry-copy {
  display: grid;
  gap: 4px;
}

.portal-entry-copy strong {
  color: var(--text);
  font-size: 14px;
}

.portal-entry-copy span:last-child {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.btn-shell-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  box-shadow: var(--shadow-accent);
}

.btn-shell-secondary {
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.btn-shell-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-strong);
}

.btn-shell-danger {
  color: #fff;
  background: linear-gradient(135deg, #ff917b, #ef4444);
}

.btn-full {
  width: 100%;
}

.panel-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-end);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 122, 0, 0.12);
}

.panel-card,
.page-intro-card,
.role-card,
.floating-panel,
.about-stat-card,
.about-map-card,
.tip-card,
.final-cta-card,
.auth-panel,
.stat-card,
.property-card,
.leaderboard-hero,
.leader-row,
.vote-location-card,
.decision-card,
.comparison-card,
.listing-row,
.empty-state,
.location-board,
.spotlight-card,
.contact-card,
.modal-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.hero-home {
  position: relative;
  padding: 34px 0 20px;
  min-height: 720px;
  --hero-focus-accent: #6366f1;
  --hero-focus-accent-rgb: 99, 102, 241;
  --glow-x: 76%;
  --glow-y: 42%;
  --mouse-glow-x: 760px;
  --mouse-glow-y: 250px;
  outline: none;
}

.hero-canvas,
#hero-canvas {
  position: absolute;
  inset: 0 0 auto;
  height: 720px;
  border-radius: 0 0 46px 46px;
  overflow: hidden;
  transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: crosshair;
}

.hero-home-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(18, 22, 26, 0.74), rgba(18, 22, 26, 0.28)),
    linear-gradient(180deg, rgba(18, 22, 26, 0.1), rgba(18, 22, 26, 0.64)),
    var(--hero-image) center/cover no-repeat;
  filter: brightness(0.72) saturate(0.95);
  transform: scale(1.01);
  transition: transform 420ms ease, filter 420ms ease;
}

.mouse-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(var(--hero-focus-accent-rgb), 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  filter: blur(6px);
  transform: translate3d(calc(var(--mouse-glow-x) - 200px), calc(var(--mouse-glow-y) - 200px), 0);
  transition: opacity 220ms ease, transform 70ms linear, background 220ms ease;
}

.hero-coordinate-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  transition: opacity 280ms ease, transform 420ms ease;
}

.city-node-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.spatial-trigger-node {
  appearance: none;
  position: absolute;
  left: var(--node-x);
  top: var(--node-y);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.38);
  color: #fff;
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%);
  opacity: 0.76;
  cursor: pointer;
  transition:
    opacity 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.spatial-trigger-node:hover,
.spatial-trigger-node:focus-visible,
.spatial-trigger-node.is-active {
  opacity: 1;
  background: rgba(9, 9, 11, 0.64);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(var(--hero-focus-accent-rgb), 0.12),
    0 0 22px rgba(var(--hero-focus-accent-rgb), 0.18);
  transform: translate(-50%, -50%) translateY(-2px);
}

.spatial-trigger-node.is-focus-linked {
  border-color: rgba(var(--hero-focus-accent-rgb), 0.24);
}

.spatial-trigger-orb {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--hero-focus-accent);
  box-shadow: 0 0 16px rgba(var(--hero-focus-accent-rgb), 0.42);
  flex: 0 0 auto;
}

.spatial-trigger-orb::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(var(--hero-focus-accent-rgb), 0.34);
  opacity: 0.78;
}

.spatial-trigger-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.spatial-trigger-copy strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spatial-trigger-copy span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.62);
}

.hero-grid-lines path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1;
}

.hero-spine {
  fill: none;
  stroke-linecap: round;
  opacity: 0.8;
}

.hero-spine-primary {
  stroke: rgba(var(--hero-focus-accent-rgb), 0.46);
  stroke-width: 3;
}

.hero-spine-secondary {
  stroke: rgba(255, 255, 255, 0.24);
  stroke-width: 2;
}

.hero-spine-tertiary {
  stroke: rgba(var(--hero-focus-accent-rgb), 0.22);
  stroke-width: 2;
}

.pulse-cluster {
  opacity: 0.14;
  transition: opacity 220ms ease, transform 220ms ease;
}

.pulse-cluster.is-focus-linked {
  opacity: 0.42;
}

.pulse-cluster.is-active,
.pulse-cluster.is-highlighted {
  opacity: 1;
}

.pulse-node-core {
  fill: var(--hero-focus-accent);
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 2;
  filter: drop-shadow(0 0 12px rgba(var(--hero-focus-accent-rgb), 0.6));
}

.pulse-ring {
  stroke: var(--hero-focus-accent);
  stroke-width: 1.5;
  fill: rgba(var(--hero-focus-accent-rgb), 0.1);
  transform-origin: center;
  transform-box: fill-box;
  animation: spatial-throb 3s infinite;
}

.pulse-cluster.is-active .pulse-ring {
  stroke-width: 1.8;
  fill: rgba(var(--hero-focus-accent-rgb), 0.14);
}

.pulse-cluster.is-active .pulse-node-core {
  filter: drop-shadow(0 0 16px rgba(var(--hero-focus-accent-rgb), 0.78));
}

.hero-depth-label {
  position: absolute;
  z-index: 2;
  color: rgba(255, 255, 255, 0.11);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  pointer-events: none;
  transition: color 220ms ease, transform 280ms ease;
}

.hero-depth-label.is-focus-linked {
  color: rgba(255, 255, 255, 0.16);
}

.hero-depth-label.is-active {
  color: rgba(var(--hero-focus-accent-rgb), 0.18);
  transform: translateY(-4px);
}

.hero-depth-label-city-center {
  right: 280px;
  top: 180px;
}

.hero-depth-label-civic-belt {
  right: 340px;
  top: 350px;
}

@keyframes spatial-throb {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  50% {
    opacity: 0.82;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.hero-home.is-awake .hero-home-backdrop,
.hero-home.is-interacting .hero-home-backdrop,
.hero-home:hover .hero-home-backdrop {
  transform: scale(1.035);
  filter: brightness(0.4) saturate(1.2) contrast(1.05);
}

.hero-home.is-awake #hero-canvas,
.hero-home.is-interacting #hero-canvas,
.hero-home:hover #hero-canvas {
  filter: brightness(0.5) contrast(1.08);
}

.hero-home.is-awake .mouse-glow,
.hero-home.is-interacting .mouse-glow,
.hero-home:hover .mouse-glow {
  opacity: 1;
}

.hero-home.is-awake .hero-coordinate-layer,
.hero-home.is-interacting .hero-coordinate-layer,
.hero-home:hover .hero-coordinate-layer {
  opacity: 0.5;
  transform: scale(1.01);
}

.hero-home.is-awake .pulse-cluster,
.hero-home.is-interacting .pulse-cluster,
.hero-home:hover .pulse-cluster {
  opacity: 0.32;
}

.hero-home.is-awake .pulse-cluster.is-focus-linked,
.hero-home.is-interacting .pulse-cluster.is-focus-linked,
.hero-home:hover .pulse-cluster.is-focus-linked {
  opacity: 0.62;
}

.hero-home.is-awake .pulse-cluster.is-highlighted,
.hero-home.is-interacting .pulse-cluster.is-highlighted,
.hero-home:hover .pulse-cluster.is-highlighted {
  opacity: 1;
}

.hero-home-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 320px);
  gap: 26px;
  align-items: end;
  min-height: 660px;
}

.hero-home-copy {
  color: #fff;
  max-width: 660px;
  padding: 62px 0 54px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.hero-home.is-awake .hero-home-copy {
  opacity: 1;
  transform: translateY(0);
}

.hero-home-copy .eyebrow {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  letter-spacing: 0.2em;
}

.hero-home-copy h1 {
  margin: 16px 0 18px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(48px, 7vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-home-copy p {
  max-width: 590px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.hero-focus-row,
.hero-status-row,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-focus-row {
  margin-top: 26px;
}

.hero-focus-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 9, 11, 0.24);
  color: #fff;
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.hero-focus-chip:hover,
.hero-focus-chip.is-active {
  transform: translateY(-1px);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.42);
  background: rgba(var(--hero-focus-accent-rgb), 0.16);
  box-shadow: 0 0 20px rgba(var(--hero-focus-accent-rgb), 0.24);
}

.hero-focus-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero-focus-swatch.logistics {
  background: #6366f1;
}

.hero-focus-swatch.university {
  background: #10b981;
}

.hero-focus-swatch.hospital {
  background: #ef4444;
}

.hero-focus-swatch.retail {
  background: #f59e0b;
}

.hero-status-row {
  margin-top: 18px;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--hero-focus-accent-rgb), 0.28);
  background: rgba(var(--hero-focus-accent-rgb), 0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-status-pill-muted {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  margin-top: 28px;
}

.btn-shell-hero {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 32px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(16px);
}

.btn-shell-hero:hover {
  color: #fff;
  background: rgba(var(--hero-focus-accent-rgb), 0.84);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.8);
  box-shadow: 0 0 20px rgba(var(--hero-focus-accent-rgb), 0.46);
}

.living-city-rail {
  position: relative;
  display: grid;
  gap: 12px;
  width: 320px;
  margin-left: auto;
  align-self: center;
  padding: 18px;
  border-radius: 30px;
  background: rgba(9, 9, 11, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 50px rgba(3, 7, 18, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 420ms ease 80ms, transform 420ms ease 80ms, border-color 220ms ease, box-shadow 220ms ease;
}

.tactical-sidebar {
  background: rgba(9, 9, 11, 0.9);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    -20px 0 50px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 0 24px rgba(var(--hero-focus-accent-rgb), 0.08);
  backdrop-filter: blur(20px);
}

.hero-home.is-awake .living-city-rail {
  opacity: 1;
  transform: translateY(0);
}

.living-city-rail-head,
.living-city-module-head,
.living-city-opportunity-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.living-city-rail-head {
  align-items: center;
}

.rail-panel-chip {
  color: #fff;
  background: rgba(var(--hero-focus-accent-rgb), 0.16);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.24);
}

.lens-monitor {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lens-monitor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lens-monitor-led {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: none;
  transition: background 220ms ease, box-shadow 220ms ease;
}

.lens-active-amber {
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
  box-shadow: inset 0 0 8px rgba(245, 158, 11, 0.1), 0 0 15px rgba(245, 158, 11, 0.2);
}

.lens-active-amber .lens-monitor-led {
  background: #f59e0b;
  box-shadow: 0 0 12px #f59e0b;
}

.living-city-rail h2 {
  margin-top: 10px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 28px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
}

.rail-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--hero-focus-accent);
  box-shadow: 0 0 0 0 rgba(var(--hero-focus-accent-rgb), 0.58);
  animation: rail-pulse 1.8s infinite;
}

.living-city-module {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.92), rgba(9, 9, 11, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.living-city-module-head {
  align-items: center;
}

.living-city-module-head span,
.living-city-module-head strong {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.living-city-module-head span {
  color: rgba(255, 255, 255, 0.54);
}

.living-city-module-head strong {
  color: rgba(255, 255, 255, 0.84);
}

.living-city-score {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(3.3rem, 8vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: #fff;
}

.living-city-module p {
  color: rgba(228, 228, 231, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

.market-ticker-shell {
  position: relative;
  overflow: hidden;
  padding-block: 4px;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.market-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  animation: market-ticker 24s linear infinite;
}

.market-ticker-shell:hover .market-ticker-track {
  animation-play-state: paused;
}

.market-ticker-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(244, 244, 245, 0.86);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.living-city-opportunity-row {
  justify-content: flex-start;
  align-items: center;
}

.living-city-pulse-icon {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--hero-focus-accent);
  box-shadow: 0 0 18px rgba(var(--hero-focus-accent-rgb), 0.48);
}

.living-city-pulse-icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(var(--hero-focus-accent-rgb), 0.36);
  animation: rail-pulse 2s infinite;
}

#heroOpportunityCount {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
}

.living-city-node-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.living-city-node-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 244, 245, 0.74);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.living-city-node-pill.is-focus-linked {
  border-color: rgba(var(--hero-focus-accent-rgb), 0.2);
}

.living-city-node-pill.is-active {
  border-color: rgba(var(--hero-focus-accent-rgb), 0.36);
  background: rgba(var(--hero-focus-accent-rgb), 0.14);
  color: #fff;
  box-shadow: 0 0 16px rgba(var(--hero-focus-accent-rgb), 0.18);
}

.hero-heat-mesh {
  opacity: 0.94;
  mix-blend-mode: screen;
  transition: opacity 280ms ease;
}

.hero-node-aura {
  fill: rgba(var(--hero-focus-accent-rgb), 0.14);
  stroke: rgba(var(--hero-focus-accent-rgb), 0.28);
  stroke-width: 1;
  animation: hero-node-breathe 4.4s ease-in-out infinite;
}

.hero-heat-link {
  opacity: 0.62;
}

.hero-heat-link.is-leader {
  opacity: 1;
}

.hero-heat-flow {
  fill: none;
  stroke: rgba(var(--hero-focus-accent-rgb), 0.26);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 8 12;
  animation: hero-heat-flow 8s linear infinite;
  animation-delay: var(--mesh-delay, 0s);
}

.hero-heat-link.is-leader .hero-heat-flow {
  stroke-width: 1.8;
  stroke: rgba(var(--hero-focus-accent-rgb), 0.42);
}

.hero-heat-halo {
  fill: rgba(var(--hero-focus-accent-rgb), 0.18);
  opacity: 0.58;
  animation: hero-heat-glow 3.2s ease-in-out infinite;
  animation-delay: var(--mesh-delay, 0s);
}

.hero-heat-link.is-leader .hero-heat-halo {
  fill: rgba(var(--hero-focus-accent-rgb), 0.28);
}

.hero-heat-core {
  fill: rgba(255, 255, 255, 0.94);
  stroke: rgba(var(--hero-focus-accent-rgb), 0.92);
  stroke-width: 1.8;
  filter: drop-shadow(0 0 10px rgba(var(--hero-focus-accent-rgb), 0.55));
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(760px, 100%);
  margin-top: 22px;
}

.hero-proof-card {
  display: grid;
  gap: 6px;
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(9, 9, 11, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.hero-proof-card span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.hero-proof-card strong {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.35;
  color: #fff;
}

.hero-story-panel {
  display: grid;
  gap: 10px;
  width: min(640px, 100%);
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(var(--hero-focus-accent-rgb), 0.14), rgba(9, 9, 11, 0.24)),
    rgba(9, 9, 11, 0.22);
  border: 1px solid rgba(var(--hero-focus-accent-rgb), 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.hero-story-kicker {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.hero-story-panel p {
  max-width: none;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.7;
}

.rail-status-stack {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.hero-orbit-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.hero-home.is-orbiting .hero-orbit-toggle,
.hero-orbit-toggle[aria-pressed="true"] {
  color: #fff;
  border-color: rgba(var(--hero-focus-accent-rgb), 0.38);
  background: rgba(var(--hero-focus-accent-rgb), 0.16);
  box-shadow: 0 0 18px rgba(var(--hero-focus-accent-rgb), 0.22);
}

.living-city-module-opportunity {
  gap: 14px;
}

.hero-featured-opportunity {
  min-height: 280px;
}

.hero-opportunity-loading {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: rgba(244, 244, 245, 0.62);
  font-size: 13px;
}

.hero-opportunity-card {
  display: grid;
  gap: 14px;
}

.hero-opportunity-topline,
.hero-opportunity-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-opportunity-rank {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(var(--hero-focus-accent-rgb), 0.12);
  border: 1px solid rgba(var(--hero-focus-accent-rgb), 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-opportunity-score {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.05em;
}

.hero-opportunity-copy {
  display: grid;
  gap: 6px;
}

.hero-opportunity-copy strong {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fff;
}

.hero-opportunity-copy span {
  color: rgba(228, 228, 231, 0.66);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-opportunity-copy p {
  color: rgba(244, 244, 245, 0.82);
  font-size: 14px;
  line-height: 1.65;
}

.hero-opportunity-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(244, 244, 245, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.hero-opportunity-insight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hero-opportunity-insight {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-opportunity-insight.is-trust {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.16);
}

.hero-opportunity-insight span {
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-opportunity-insight strong {
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
}

.hero-opportunity-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(var(--hero-focus-accent-rgb), 0.88);
  border: 1px solid rgba(var(--hero-focus-accent-rgb), 0.86);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(var(--hero-focus-accent-rgb), 0.18);
}

.hero-opportunity-link:hover {
  color: #fff;
  box-shadow: 0 18px 34px rgba(var(--hero-focus-accent-rgb), 0.26);
}

@keyframes hero-node-breathe {
  0%,
  100% {
    opacity: 0.42;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.06);
  }
}

@keyframes hero-heat-flow {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -120;
  }
}

@keyframes hero-heat-glow {
  0%,
  100% {
    opacity: 0.38;
  }

  50% {
    opacity: 0.88;
  }
}

@keyframes rail-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--hero-focus-accent-rgb), 0.56);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(var(--hero-focus-accent-rgb), 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(var(--hero-focus-accent-rgb), 0);
  }
}

@keyframes market-ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.role-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.role-chip-row span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 184, 0, 0.1);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.section-block {
  padding: 64px 0 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.04;
}

.role-grid,
.homepage-preview-grid,
.about-grid,
.tips-grid,
.dashboard-root-grid,
.ranking-root-grid,
.voting-root-grid,
.explorer-root-grid,
.compare-root-grid,
.detail-root-grid,
.admin-properties-root-grid,
.panel-grid,
.property-grid,
.stat-grid,
.vote-option-grid,
.comparison-grid,
.listing-stack,
.about-stat-grid {
  display: grid;
  gap: 20px;
}

.role-grid,
.homepage-preview-grid,
.about-stat-grid,
.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.role-card,
.tip-card,
.about-stat-card {
  padding: 26px;
}

.role-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 184, 0, 0.12);
  color: var(--accent-end);
}

.role-card h3,
.about-stat-card strong,
.tip-card summary {
  margin: 18px 0 8px;
  font-size: 22px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--accent-end);
  font-size: 14px;
  font-weight: 700;
}

.section-contrast {
  padding-top: 74px;
}

.about-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: stretch;
}

.about-copy {
  display: grid;
  gap: 18px;
}

.about-map-card {
  padding: 28px;
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(255, 184, 0, 0.22), transparent 36%),
    linear-gradient(160deg, #edf2f7, #d8dee9);
  position: relative;
  overflow: hidden;
}

.about-map-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -38px;
  width: 240px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 68%);
}

.map-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.map-caption h3 {
  font-size: 32px;
  max-width: 360px;
}

.map-cluster {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.map-cluster span {
  width: fit-content;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  font-weight: 700;
}

.tip-card {
  background: linear-gradient(180deg, #ffffff, #fafbfc);
}

.tip-card summary {
  list-style: none;
  cursor: pointer;
}

.tip-card summary::-webkit-details-marker {
  display: none;
}

.tip-card p {
  padding-top: 10px;
}

.service-chip-row,
.insight-strip {
  flex-wrap: wrap;
}

.service-chip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-chip-live {
  background: rgba(15, 138, 67, 0.09);
  color: #0f8a43;
}

.service-chip-fallback {
  background: rgba(255, 184, 0, 0.14);
  color: #9a6300;
}

.service-chip-neutral {
  background: rgba(216, 222, 233, 0.54);
  color: var(--text);
}

.news-list {
  display: grid;
  gap: 12px;
}

.news-card {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(26, 28, 32, 0.05);
  display: grid;
  gap: 10px;
}

.news-card h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.news-card p {
  font-size: 14px;
}

.news-meta {
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.insight-pill {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 184, 0, 0.1);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.split-input {
  align-items: stretch;
}

.split-input .input-shell {
  flex: 1 1 auto;
}

.search-results-list {
  flex-direction: column;
  align-items: stretch;
}

.search-result-card {
  width: 100%;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(26, 28, 32, 0.08);
  background: var(--surface);
  cursor: pointer;
  display: grid;
  gap: 6px;
  text-align: left;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.search-result-card strong {
  font-size: 15px;
}

.search-result-card span {
  color: var(--muted);
  font-size: 13px;
}

.search-result-card:hover,
.search-result-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 122, 0, 0.2);
  background: rgba(255, 184, 0, 0.08);
}

.final-cta-card,
.page-intro-card {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 32px;
}

.final-cta-card {
  margin-top: 64px;
}

.final-cta-card .cta-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(132px, 1fr));
  align-items: stretch;
}

.final-cta-card .cta-card-actions .btn-shell {
  width: 100%;
}

.auth-page {
  min-height: calc(100vh - 95px);
  display: grid;
  align-items: center;
}

.auth-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(380px, 0.86fr);
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(26, 28, 32, 0.08);
  box-shadow: 0 34px 80px rgba(26, 28, 32, 0.12);
}

.auth-visual {
  position: relative;
  min-height: 700px;
  padding: 42px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 20, 24, 0.78), rgba(16, 20, 24, 0.34)),
    linear-gradient(180deg, rgba(16, 20, 24, 0.04), rgba(16, 20, 24, 0.62)),
    var(--auth-image) center/cover no-repeat;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: auto -80px -90px auto;
  width: 320px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.28), transparent 68%);
  pointer-events: none;
}

.auth-visual-copy,
.auth-visual-stack {
  position: relative;
  z-index: 1;
}

.auth-visual-copy {
  display: grid;
  gap: 18px;
  max-width: 600px;
}

.auth-visual-copy h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 0.98;
}

.auth-visual-copy p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.auth-role-chip {
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-visual-stack {
  display: grid;
  gap: 14px;
  max-width: 440px;
}

.auth-floating-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 10px;
}

.auth-floating-card strong {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
}

.auth-floating-card p,
.auth-floating-card span {
  color: var(--muted);
  line-height: 1.6;
}

.auth-floating-card-accent {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  box-shadow: var(--shadow-accent);
}

.auth-floating-card-accent span,
.auth-floating-card-accent p {
  color: rgba(255, 255, 255, 0.86);
}

.auth-surface {
  padding: 42px;
  display: grid;
  align-content: center;
  gap: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 184, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff, #fbfbfc);
}

.auth-brand-line,
.service-chip-row,
.news-meta,
.split-input,
.insight-strip,
.search-results-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-brand-line {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-surface-head {
  display: grid;
  gap: 12px;
}

.auth-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.auth-switch-link {
  min-height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}

.auth-switch-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  box-shadow: var(--shadow-accent);
}

.auth-surface-head h2 {
  font-size: 34px;
}

.auth-form-note {
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.auth-form-note strong {
  color: var(--text);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 22px;
}

.auth-panel {
  padding: 34px;
}

.auth-panel-story {
  display: grid;
  gap: 18px;
}

.auth-panel-story h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.02;
}

.auth-highlights {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.auth-highlights article {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(26, 28, 32, 0.06);
}

.auth-highlights strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  margin-bottom: 6px;
}

.admin-auth-tone {
  background: linear-gradient(155deg, #edf3fa, #ffffff);
}

.seller-auth-tone {
  background: linear-gradient(155deg, #fff5e8, #ffffff);
}

.investor-auth-tone {
  background: linear-gradient(155deg, #eef2f8, #ffffff);
}

.auth-panel-form {
  display: grid;
  align-content: start;
  gap: 18px;
}

.auth-form-head {
  display: grid;
  gap: 12px;
}

.auth-form-head h2 {
  font-size: 32px;
}

.auth-form,
.filter-grid,
.stack,
.mini-list,
.bar-list {
  display: grid;
  gap: 14px;
}

.form-shell {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.input-shell {
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 0 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input-shell:focus {
  outline: none;
  border-color: rgba(255, 122, 0, 0.3);
  box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.12);
}

.input-textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.auth-error,
.credential-note,
.loading-panel,
.empty-state {
  padding: 18px 20px;
  border-radius: 22px;
}

.auth-error {
  background: rgba(239, 68, 68, 0.08);
  color: #b42318;
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.credential-note,
.loading-panel {
  background: var(--surface);
  border: 1px solid var(--line);
}

.page-intro-card h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.03;
  margin: 14px 0 10px;
}

.intro-actions,
.cta-card-actions,
.property-actions,
.earth-action-row {
  flex-wrap: wrap;
}

.earth-action-block {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.earth-action-note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-muted);
}

.dashboard-root-grid,
.ranking-root-grid,
.voting-root-grid,
.explorer-root-grid,
.compare-root-grid,
.detail-root-grid,
.admin-properties-root-grid,
.showcase-root-grid,
.admin-showcase-root-grid {
  margin-top: 22px;
}

.showcase-stage,
.showcase-admin-layout,
.showcase-card-body,
.showcase-spotlight-copy,
.showcase-spotlight-stats,
.showcase-admin-copy,
.showcase-admin-actions,
.showcase-admin-grid {
  display: grid;
  gap: 18px;
}

.showcase-hero,
.showcase-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 22px;
}

.showcase-admin-layout {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
  align-items: start;
}

.showcase-hero {
  padding: 34px;
  border-radius: 36px;
  border: 1px solid rgba(26, 28, 32, 0.06);
  box-shadow: 0 28px 70px rgba(26, 28, 32, 0.08);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 184, 0, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 250, 0.94));
}

.showcase-stage.is-pipeline .showcase-hero {
  background:
    radial-gradient(circle at top right, rgba(72, 145, 255, 0.16), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 252, 0.94));
}

.showcase-hero-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.showcase-hero-copy h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
}

.showcase-hero-copy h2 em {
  color: var(--accent-end);
  font-style: normal;
}

.showcase-stage.is-pipeline .showcase-hero-copy h2 em {
  color: #2d63c8;
}

.showcase-search-shell {
  padding: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(26, 28, 32, 0.06);
  box-shadow: var(--shadow-sm);
}

.showcase-search-input {
  width: 100%;
  min-height: 54px;
  border: 0;
  outline: none;
  border-radius: inherit;
  padding: 0 18px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.showcase-filter-row,
.showcase-summary-ribbon,
.showcase-card-chip-row,
.showcase-card-actions,
.showcase-admin-filter-row,
.showcase-admin-topline,
.showcase-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.showcase-summary-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(26, 28, 32, 0.06);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.showcase-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.showcase-spotlight-card,
.showcase-card,
.showcase-admin-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(26, 28, 32, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 249, 0.92));
  box-shadow: 0 22px 54px rgba(26, 28, 32, 0.08);
}

.showcase-spotlight-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px;
}

.showcase-stage.is-pipeline .showcase-spotlight-card,
.showcase-card.is-pipeline {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 247, 253, 0.92));
}

.showcase-spotlight-media,
.showcase-card-media,
.showcase-admin-media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #dbe2ec, #cfd9e6);
}

.showcase-spotlight-media {
  aspect-ratio: 16 / 10;
}

.showcase-card {
  padding: 14px;
}

.showcase-card-halo {
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.22), transparent 72%);
  pointer-events: none;
}

.showcase-card.is-pipeline .showcase-card-halo {
  background: radial-gradient(circle, rgba(72, 145, 255, 0.22), transparent 72%);
}

.showcase-card-media {
  aspect-ratio: 16 / 13;
}

.showcase-admin-media {
  width: 220px;
  min-height: 200px;
}

.showcase-spotlight-media img,
.showcase-card-media img,
.showcase-admin-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card-media::after,
.showcase-spotlight-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.08), rgba(8, 10, 15, 0.6));
}

.showcase-card-media-top {
  position: absolute;
  inset: 16px 16px auto;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.showcase-mini-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(10, 14, 18, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.showcase-state-pill {
  border: 0;
  color: #fff;
  backdrop-filter: blur(14px);
}

.showcase-state-live {
  background: rgba(15, 138, 67, 0.86);
}

.showcase-state-warn {
  background: rgba(154, 99, 0, 0.86);
}

.showcase-state-muted {
  background: rgba(72, 84, 103, 0.82);
}

.showcase-card-body {
  padding: 18px 10px 10px;
}

.showcase-card-head {
  display: grid;
  gap: 10px;
}

.showcase-card-topline,
.showcase-spotlight-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.showcase-card-location {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-card-timeline,
.showcase-spotlight-partner {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.showcase-card-timeline {
  background: rgba(26, 28, 32, 0.05);
  border: 1px solid rgba(26, 28, 32, 0.08);
  color: var(--text);
}

.showcase-spotlight-partner {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.showcase-card-head h3,
.showcase-admin-copy h3,
.showcase-spotlight-copy h3 {
  font-size: 28px;
  line-height: 1.02;
}

.showcase-card-head p,
.showcase-admin-copy p,
.showcase-spotlight-copy p {
  color: var(--text-muted);
  line-height: 1.65;
}

.showcase-card-metrics,
.showcase-spotlight-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.showcase-metric,
.showcase-spotlight-stats div {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(26, 28, 32, 0.06);
}

.showcase-metric span,
.showcase-spotlight-stats span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.showcase-metric strong,
.showcase-spotlight-stats strong {
  font-size: 16px;
  line-height: 1.3;
  color: var(--text);
}

.showcase-card-actions .btn-shell {
  width: 100%;
  justify-content: center;
}

.showcase-featured-chip {
  background: rgba(255, 184, 0, 0.16);
  border-color: rgba(255, 122, 0, 0.12);
}

.showcase-admin-toolbar {
  padding: 24px;
}

.showcase-admin-grid {
  gap: 18px;
}

.showcase-admin-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
}

.showcase-admin-copy {
  align-content: start;
}

.showcase-admin-actions {
  align-content: start;
  min-width: 170px;
}

.showcase-admin-actions .btn-shell {
  width: 100%;
  justify-content: center;
}

.governance-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 360px);
  gap: 20px;
  margin-top: 24px;
}

.governance-terminal,
.audit-feed-shell,
.audit-drawer {
  background: #09090b;
  border: 1px solid #27272a;
  color: #f4f4f5;
}

.governance-terminal,
.audit-feed-shell {
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.24);
}

.governance-terminal {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.terminal-header,
.audit-feed-head,
.audit-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #27272a;
}

.terminal-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d4d4d8;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill,
.audit-feed-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #27272a;
  border-radius: 999px;
  background: #18181b;
  color: #a1a1aa;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.filter-pill {
  cursor: pointer;
}

.filter-pill.active {
  color: #fafafa;
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.12);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.14);
}

.filter-pill.is-live {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
  color: #ecfdf5;
}

.ledger-table-wrapper {
  overflow: auto;
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
}

.ledger-table th {
  background: #18181b;
  color: #a1a1aa;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 12px;
  border-bottom: 2px solid #27272a;
  border-radius: 0;
  text-align: left;
}

.ledger-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #18181b;
  vertical-align: top;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 13px;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.log-entry {
  cursor: pointer;
  transition: background 0.1s ease;
}

.log-entry:hover,
.log-entry.is-selected {
  background: rgba(99, 102, 241, 0.05);
}

.log-entry.high-priority {
  background: rgba(239, 68, 68, 0.03);
}

.user-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.audit-event-stack {
  display: grid;
  gap: 6px;
}

.audit-event-stack small {
  color: #71717a;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-user-avatar {
  width: 28px;
  height: 28px;
  border: 1px solid #3f3f46;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #18181b;
  color: #fafafa;
  font-size: 11px;
  font-weight: 800;
}

.badge-critical {
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.26);
  background: rgba(239, 68, 68, 0.12);
}

.badge-verified {
  color: #d1fae5;
  border-color: rgba(16, 185, 129, 0.28);
  background: rgba(16, 185, 129, 0.12);
}

.badge-moderated {
  color: #c7d2fe;
  border-color: rgba(99, 102, 241, 0.28);
  background: rgba(99, 102, 241, 0.12);
}

.badge-trace {
  color: #fef3c7;
  border-color: rgba(245, 158, 11, 0.24);
  background: rgba(245, 158, 11, 0.1);
}

.audit-action-block {
  display: grid;
  gap: 8px;
  min-width: 260px;
}

.audit-action-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.audit-field-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(82, 82, 91, 0.9);
  background: rgba(24, 24, 27, 0.9);
  color: #fafafa;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-diff-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.audit-action-foot {
  color: #a1a1aa;
  font-size: 12px;
  line-height: 1.5;
}

.audit-change-count {
  color: #c7d2fe;
  font-weight: 700;
}

.diff-old {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(113, 113, 122, 0.45);
  background: rgba(39, 39, 42, 0.78);
  color: #e4e4e7;
  text-decoration: none;
}

.diff-new {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.38);
  background: rgba(16, 185, 129, 0.14);
  color: #d1fae5;
  font-weight: 700;
}

.pulse-red {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  margin-right: 2px;
  animation: rail-pulse 2s infinite;
}

.audit-feed-shell {
  display: grid;
  grid-template-rows: auto 1fr;
}

.audit-feed-head h3,
.audit-drawer-head h3 {
  margin-top: 8px;
  font-size: 22px;
  color: #fafafa;
}

.audit-activity-feed {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 20px;
}

.audit-activity-feed::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: #27272a;
}

.audit-activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 16px;
}

.audit-activity-marker {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 16px rgba(99, 102, 241, 0.4);
  z-index: 1;
}

.audit-activity-item.critical .audit-activity-marker {
  background: #ef4444;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45);
}

.audit-activity-item.verified .audit-activity-marker {
  background: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}

.audit-activity-copy {
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #18181b;
}

.audit-activity-topline,
.audit-drawer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.audit-activity-copy strong {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fafafa;
}

.audit-activity-copy p,
.audit-drawer-head p {
  color: #a1a1aa;
  line-height: 1.65;
}

.audit-drawer-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 70;
}

.audit-drawer-shell.is-open {
  pointer-events: auto;
}

.audit-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(9, 9, 11, 0.54);
  opacity: 0;
  transition: opacity 180ms ease;
}

.audit-drawer-shell.is-open .audit-drawer-backdrop {
  opacity: 1;
}

.audit-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(560px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.audit-drawer-shell.is-open .audit-drawer {
  transform: translateX(0);
}

.audit-drawer-meta,
.audit-diff-list,
.audit-json-grid {
  padding: 18px 20px;
}

.audit-diff-list,
.audit-json-grid {
  border-top: 1px solid #27272a;
}

.audit-diff-list {
  display: grid;
  gap: 12px;
  max-height: 36vh;
  overflow: auto;
}

.audit-diff-row,
.audit-diff-values {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audit-diff-row {
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #18181b;
}

.audit-diff-field {
  color: #e4e4e7;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.audit-diff-values {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.audit-diff-arrow {
  color: #71717a;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.audit-json-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  overflow: auto;
}

.audit-json-card {
  padding: 16px;
  border: 1px solid #27272a;
  background: #111113;
}

.audit-json-card pre {
  margin: 12px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: #d4d4d8;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
}

.audit-drawer .audit-json-card {
  border: 1px solid #27272a;
  background: #111113;
  box-shadow: none;
}

.audit-drawer .audit-json-card::before {
  display: none;
}

.audit-drawer .audit-json-card:hover {
  border-color: #3f3f46;
  box-shadow: none;
}

.audit-drawer .audit-json-card .panel-kicker {
  color: #a1a1aa;
}

.audit-drawer .audit-json-card pre {
  color: #d4d4d8;
  max-height: 42vh;
  overflow: auto;
  padding-right: 4px;
}

.panel-card,
.leaderboard-hero,
.decision-card,
.comparison-card,
.vote-location-card,
.listing-row,
.spotlight-card,
.contact-card,
.location-board,
.empty-state {
  padding: 26px;
}

.panel-card h3,
.leaderboard-hero h2,
.decision-card h2,
.comparison-card h3,
.spotlight-card h2,
.contact-card h3 {
  font-size: 28px;
  margin-top: 10px;
}

.stat-card {
  padding: 22px;
}

.stat-card strong,
.metric-value {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 34px;
  line-height: 1;
  margin: 10px 0 6px;
}

.mini-row,
.property-stat-row,
.decision-stats,
.bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.mini-row {
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(26, 28, 32, 0.05);
}

.property-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.property-card {
  overflow: hidden;
}

.property-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: linear-gradient(180deg, #e5ebf2, #ccd5e3);
}

.property-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.property-media-top,
.property-media-bottom {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.property-media-top {
  top: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.property-media-bottom {
  bottom: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(17, 22, 27, 0.46);
  color: #fff;
}

.property-media-bottom strong {
  font-family: "Poppins", sans-serif;
}

.property-topline,
.tag-row,
.vote-option-grid,
.decision-stats,
.property-stat-row,
.leaderboard-list,
.listing-actions,
.property-pill-stack,
.property-trust-topline,
.trust-badge-row,
.listing-meta-row,
.document-meter-top,
.request-card-top,
.request-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-pill-stack {
  justify-content: flex-end;
}

.property-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.property-title {
  font-size: 24px;
}

.property-subline {
  color: var(--muted);
  font-size: 14px;
}

.tag,
.score-pill,
.status-pill,
.vote-option,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.tag,
.filter-chip {
  background: rgba(216, 222, 233, 0.5);
  color: var(--text);
}

.score-pill {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
}

.tone-elite {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
}

.tone-strong {
  background: linear-gradient(135deg, #ffcf55, #ff9f1a);
}

.tone-watch {
  background: linear-gradient(135deg, #c9d4e4, #9aa8bc);
}

.status-pill {
  background: var(--surface);
  color: var(--text);
  border: 1px solid rgba(26, 28, 32, 0.08);
}

.approval-approved {
  color: #0f8a43;
  background: rgba(15, 138, 67, 0.1);
}

.approval-pending,
.approval-draft {
  color: #9a6300;
  background: rgba(255, 184, 0, 0.14);
}

.approval-rejected,
.approval-archived {
  color: #b42318;
  background: rgba(239, 68, 68, 0.1);
}

.verification-verified {
  color: #0f8a43;
  background: rgba(15, 138, 67, 0.1);
}

.verification-partial,
.verification-pending,
.verification-draft {
  color: #9a6300;
  background: rgba(255, 184, 0, 0.14);
}

.verification-rejected,
.verification-archived,
.verification-unverified {
  color: #7a8493;
  background: rgba(122, 132, 147, 0.12);
}

.request-requested,
.request-in-review {
  color: #9a6300;
  background: rgba(255, 184, 0, 0.14);
}

.request-fulfilled {
  color: #0f8a43;
  background: rgba(15, 138, 67, 0.1);
}

.request-declined {
  color: #b42318;
  background: rgba(239, 68, 68, 0.1);
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(216, 222, 233, 0.42);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.property-trust-zone {
  display: grid;
  gap: 10px;
}

.property-card.property-card-intelligence {
  background: linear-gradient(180deg, #fcfcfd 0%, #ffffff 100%);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.property-card.property-card-intelligence:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.16);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14);
}

.property-card-intelligence .property-media {
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  isolation: isolate;
}

.property-card-intelligence .property-media::before,
.property-card-intelligence .property-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.property-card-intelligence .property-media::before {
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.08) 0%, rgba(8, 10, 15, 0.78) 100%);
  z-index: 1;
}

.property-card-intelligence .property-media::after {
  background:
    radial-gradient(circle at 84% 18%, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0) 28%),
    linear-gradient(180deg, rgba(8, 10, 15, 0) 25%, rgba(8, 10, 15, 0.32) 58%, rgba(8, 10, 15, 0.84) 100%);
  z-index: 1;
}

.property-card-intelligence .property-media img {
  transform: scale(1.001);
  filter: saturate(0.94) contrast(1.05);
  transition: transform 320ms ease, filter 320ms ease;
}

.property-card.property-card-intelligence:hover .property-media img {
  transform: scale(1.02);
  filter: saturate(1.02) contrast(1.08);
}

.property-card-intelligence .property-media-top,
.property-card-intelligence .property-media-bottom {
  left: 18px;
  right: 18px;
  z-index: 2;
}

.property-card-intelligence .property-media-top {
  top: 18px;
}

.property-card-intelligence .property-media-bottom {
  bottom: 18px;
  padding: 0;
  background: none;
  align-items: flex-end;
  flex-wrap: wrap;
}

.property-card-intelligence .score-pill {
  min-height: 38px;
  padding: 0 14px;
  color: #fff9ef;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 28px rgba(255, 152, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.property-card.property-card-intelligence:hover .score-pill {
  box-shadow: 0 0 0 1px rgba(255, 216, 161, 0.2), 0 18px 34px rgba(255, 152, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.property-card-intelligence .property-pill-stack {
  gap: 8px;
  justify-content: flex-end;
}

.property-card-intelligence .property-media-top .status-pill {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 14, 18, 0.56);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.property-card-intelligence .property-media-top .approval-approved {
  background: rgba(15, 138, 67, 0.18);
}

.property-card-intelligence .property-geo-block,
.property-card-intelligence .property-price-block {
  display: grid;
  gap: 4px;
}

.property-card-intelligence .property-geo-block {
  min-width: 0;
}

.property-card-intelligence .property-geo-block span,
.property-card-intelligence .property-price-block span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.property-card-intelligence .property-geo-block strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.property-card-intelligence .property-price-block {
  margin-left: auto;
  padding: 12px 14px;
  border-radius: 18px;
  text-align: right;
  background: rgba(12, 15, 20, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.property-card-intelligence .property-price-block strong {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  color: #fffef8;
  letter-spacing: -0.05em;
}

.property-card-intelligence .property-body {
  gap: 18px;
  padding: 22px;
}

.property-card-intelligence .property-identity-block {
  display: grid;
  gap: 12px;
}

.property-card-intelligence .property-chip-row,
.property-card-intelligence .property-signal-row,
.property-card-intelligence .property-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-card-intelligence .property-primary-chip,
.property-card-intelligence .property-secondary-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.property-card-intelligence .property-primary-chip {
  border: 1px solid rgba(99, 102, 241, 0.08);
  background: rgba(241, 245, 249, 0.94);
  color: #2f3440;
}

.property-card-intelligence .property-primary-chip.is-strong {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
}

.property-card-intelligence .property-title-row {
  align-items: flex-start;
}

.property-card-intelligence .property-title {
  margin: 0;
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.property-card-intelligence .property-subline {
  margin-top: 8px;
  color: #868d9a;
  font-size: 13px;
  line-height: 1.55;
}

.property-card-intelligence .property-thesis {
  color: #4d5666;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.property-card-intelligence .property-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.property-card-intelligence .property-metric {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border-radius: 16px;
  border: 1px solid rgba(39, 39, 42, 0.08);
  background: linear-gradient(180deg, #f9fafb 0%, #f4f5f7 100%);
}

.property-card-intelligence .property-metric-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #97a0ae;
}

.property-card-intelligence .property-metric strong {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.2;
  color: #18181b;
}

.property-card-intelligence .property-metric small {
  font-size: 12px;
  color: #6b7280;
}

.property-card-intelligence .property-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(39, 39, 42, 0.08);
  border-radius: 18px;
  overflow: hidden;
  background: #fbfcfd;
}

.property-card-intelligence .property-trust-cell {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 12px 14px;
  border-right: 1px solid rgba(39, 39, 42, 0.08);
  border-bottom: 1px solid rgba(39, 39, 42, 0.08);
}

.property-card-intelligence .property-trust-cell:nth-child(2n) {
  border-right: none;
}

.property-card-intelligence .property-trust-cell:nth-last-child(-n + 2) {
  border-bottom: none;
}

.property-card-intelligence .property-trust-cell span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.property-card-intelligence .property-trust-cell strong {
  font-size: 13px;
  line-height: 1.4;
  color: #1f2937;
}

.property-card-intelligence .property-trust-cell.is-verified strong {
  color: #0f8a43;
}

.property-card-intelligence .property-trust-cell.is-watch strong {
  color: #9a6300;
}

.property-card-intelligence .property-trust-cell.is-intel strong {
  color: #4338ca;
}

.property-card-intelligence .property-secondary-chip {
  background: rgba(15, 23, 42, 0.04);
  color: #4b5563;
}

.property-card-intelligence .property-secondary-count {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
}

.property-card-intelligence .property-actions.property-actions-card {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid rgba(39, 39, 42, 0.08);
}

.property-card-intelligence .property-actions.property-actions-card > .btn-shell-primary {
  justify-content: center;
  min-height: 48px;
  box-shadow: 0 14px 28px rgba(255, 152, 0, 0.18);
}

.property-card-intelligence .property-secondary-actions .btn-shell {
  min-height: 46px;
  padding-inline: 14px;
  flex: 1 1 0;
  justify-content: center;
}

.property-card-intelligence .property-secondary-actions .btn-shell-secondary,
.property-card-intelligence .property-secondary-actions .btn-shell-ghost {
  background: #ffffff;
  border-color: rgba(39, 39, 42, 0.1);
  color: #1f2937;
}

.property-card.property-card-intelligence:hover .btn-shell-primary {
  box-shadow: 0 18px 34px rgba(255, 152, 0, 0.22);
}

@media (max-width: 720px) {
  .property-card.property-card-intelligence {
    padding: 0;
  }

  .property-card-intelligence .property-title {
    font-size: 1.75rem;
  }

  .property-card-intelligence .property-geo-block strong {
    font-size: 1.4rem;
  }

  .property-card-intelligence .property-price-block {
    padding: 10px 12px;
  }

  .property-card-intelligence .property-price-block strong {
    font-size: 1.24rem;
  }

  .property-card-intelligence .property-actions.property-actions-card {
    grid-template-columns: 1fr;
  }

  .property-card-intelligence .property-secondary-actions {
    width: 100%;
  }

  .property-card-intelligence .property-secondary-actions .btn-shell {
    flex: 1 1 calc(50% - 6px);
  }
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 138, 67, 0.08);
  color: #0f8a43;
  font-size: 12px;
  font-weight: 700;
}

.trust-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.mini-row span,
.property-stat-row span,
.rank-meta span,
.property-media-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-available {
  color: #0f8a43;
  background: rgba(15, 138, 67, 0.08);
}

.status-reserved,
.status-negotiating,
.status-under-review {
  color: #9a6300;
  background: rgba(255, 184, 0, 0.14);
}

.document-meter {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(26, 28, 32, 0.06);
}

.document-meter-top {
  align-items: center;
  justify-content: space-between;
}

.document-meter-top strong {
  color: var(--text);
  font-size: 14px;
}

.document-meter-top span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.document-meter-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(216, 222, 233, 0.8);
  overflow: hidden;
}

.document-meter-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
}

.document-grid,
.request-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.document-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(26, 28, 32, 0.06);
}

.document-row div {
  display: grid;
  gap: 4px;
}

.document-row strong {
  color: var(--text);
  font-size: 14px;
}

.document-row div span {
  color: var(--muted);
  font-size: 12px;
}

.document-status-pill {
  border: 1px solid transparent;
}

.document-reviewed {
  color: #0f8a43;
  background: rgba(15, 138, 67, 0.08);
}

.document-submitted {
  color: #0b72b9;
  background: rgba(11, 114, 185, 0.1);
}

.document-requested {
  color: #9a6300;
  background: rgba(255, 184, 0, 0.14);
}

.document-missing {
  color: #7a8493;
  background: rgba(122, 132, 147, 0.12);
}

.readiness-bento,
.readiness-editor-card {
  display: grid;
  gap: 18px;
}

.readiness-bento-head,
.readiness-drawer-head,
.due-diligence-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.readiness-score-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 22px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(255, 184, 0, 0.16), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(245, 246, 248, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.readiness-score-hero {
  font-size: clamp(3rem, 8vw, 4.4rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.05em;
  background: linear-gradient(to bottom, #1a1c20, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.readiness-summary-stack {
  display: grid;
  gap: 10px;
  align-content: center;
}

.readiness-summary-copy {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.readiness-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.readiness-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.readiness-pillar-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.readiness-pillar-card:hover,
.readiness-pillar-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 143, 0, 0.24);
  box-shadow: var(--shadow-sm);
}

.readiness-pillar-card.readiness-strong {
  border-color: rgba(255, 143, 0, 0.18);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.08), rgba(255, 255, 255, 0.92));
}

.readiness-pillar-card.readiness-neutral {
  border-color: rgba(107, 114, 128, 0.16);
}

.readiness-pillar-card.readiness-warning,
.readiness-pillar-card.readiness-incomplete {
  border-color: rgba(154, 99, 0, 0.18);
  background: linear-gradient(180deg, rgba(255, 247, 229, 0.9), rgba(255, 255, 255, 0.92));
}

.readiness-pillar-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.readiness-pillar-top > div:last-child {
  min-width: 0;
}

.readiness-pillar-top strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
}

.readiness-pillar-score {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.readiness-pillar-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.readiness-pillar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.progress-ring {
  width: 60px;
  height: 60px;
  transform: rotate(-90deg);
}

.progress-ring.readiness-strong,
.indicator-score.readiness-strong,
.readiness-score-panel.readiness-strong {
  color: var(--accent);
}

.progress-ring.readiness-neutral,
.indicator-score.readiness-neutral,
.readiness-score-panel.readiness-neutral {
  color: #6b7280;
}

.progress-ring.readiness-warning,
.indicator-score.readiness-warning,
.progress-ring.readiness-incomplete,
.indicator-score.readiness-incomplete,
.readiness-score-panel.readiness-warning,
.readiness-score-panel.readiness-incomplete {
  color: var(--warning-amber);
}

.progress-ring-track {
  fill: none;
  stroke: rgba(26, 28, 32, 0.1);
  stroke-width: 6;
}

.progress-ring-value {
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset var(--transition);
}

.readiness-drawer {
  display: none;
}

.readiness-drawer.is-open {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 246, 248, 0.96));
}

.indicator-list {
  display: grid;
  gap: 12px;
}

.indicator-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
}

.indicator-row > div:first-child {
  display: grid;
  gap: 4px;
}

.indicator-row > div:first-child span {
  color: var(--muted);
  font-size: 13px;
}

.indicator-row.is-missing {
  border-color: rgba(154, 99, 0, 0.18);
  background: rgba(255, 247, 229, 0.72);
}

.indicator-row-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.indicator-pill.verified {
  border-color: rgba(15, 138, 67, 0.18);
  color: var(--success);
  background: rgba(16, 185, 129, 0.05);
}

.investment-intent,
.thesis-card {
  display: grid;
  gap: 18px;
}

.investment-intent-head,
.thesis-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.investment-intent-head p,
.thesis-copy {
  margin: 10px 0 0;
  color: var(--muted);
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.intent-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  text-align: left;
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.intent-card:hover,
.intent-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 143, 0, 0.24);
  box-shadow: var(--shadow-sm);
}

.intent-card.active {
  border-color: rgba(255, 143, 0, 0.28);
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.12), rgba(255, 255, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(255, 143, 0, 0.24);
}

.intent-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(26, 28, 32, 0.06);
  font-size: 1.25rem;
}

.intent-meta {
  display: grid;
  gap: 4px;
}

.intent-meta strong {
  font-size: 0.95rem;
  color: var(--text);
}

.intent-meta small {
  color: var(--muted);
  line-height: 1.5;
}

.lens-score-pill {
  gap: 8px;
}

.decision-persona-panel .intent-card .icon {
  text-transform: uppercase;
}

.decision-engine-panel.is-compact {
  padding: 20px;
}

.decision-status-pill.decision-status-buy {
  background: rgba(31, 153, 98, 0.18);
  color: #0f7a4a;
  border-color: rgba(31, 153, 98, 0.28);
}

.decision-status-pill.decision-status-watch {
  background: rgba(27, 122, 204, 0.14);
  color: #165d97;
  border-color: rgba(27, 122, 204, 0.22);
}

.decision-status-pill.decision-status-verify {
  background: rgba(199, 117, 28, 0.16);
  color: #9a5814;
  border-color: rgba(199, 117, 28, 0.24);
}

.decision-status-pill.decision-status-speculative {
  background: rgba(127, 76, 174, 0.14);
  color: #6d3da0;
  border-color: rgba(127, 76, 174, 0.22);
}

.decision-status-pill.decision-status-low {
  background: rgba(111, 119, 133, 0.14);
  color: #57606f;
  border-color: rgba(111, 119, 133, 0.22);
}

.intent-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
}

.lens-inline-note {
  margin-top: -4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.thesis-copy {
  font-size: 15px;
  line-height: 1.7;
}

.thesis-emphasis-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.thesis-emphasis-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 143, 0, 0.14);
  background: rgba(255, 184, 0, 0.08);
  color: var(--accent-end);
  font-size: 12px;
  font-weight: 700;
}

.thesis-metric-list {
  display: grid;
  gap: 12px;
}

.thesis-metric-row {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.78);
}

.thesis-metric-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.thesis-metric-meta strong {
  font-size: 0.95rem;
}

.thesis-metric-meta span,
.thesis-metric-copy small,
.thesis-metric-copy span {
  color: var(--muted);
}

.thesis-metric-bar {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(26, 28, 32, 0.08);
}

.thesis-metric-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  transition: width 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.thesis-metric-fill.is-missing {
  background: linear-gradient(90deg, rgba(255, 184, 0, 0.44), rgba(154, 99, 0, 0.46));
}

.thesis-metric-copy {
  display: grid;
  gap: 2px;
}

.indicator-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(26, 28, 32, 0.06);
}

.indicator-score.readiness-strong {
  background: rgba(255, 143, 0, 0.12);
}

.indicator-score.readiness-neutral {
  background: rgba(107, 114, 128, 0.12);
}

.indicator-score.readiness-warning,
.indicator-score.readiness-incomplete,
.indicator-score.warning {
  background: rgba(154, 99, 0, 0.14);
}

.readiness-inline-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.due-diligence-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: #fff;
  box-shadow: var(--shadow-accent);
  cursor: pointer;
}

.due-diligence-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 62;
  width: min(420px, calc(100% - 24px));
  height: 100vh;
  padding: 24px;
  display: grid;
  gap: 18px;
  align-content: start;
  background: rgba(255, 255, 255, 0.98);
  border-left: 1px solid var(--border);
  box-shadow: -28px 0 60px rgba(17, 22, 27, 0.16);
  transform: translateX(104%);
  pointer-events: none;
  transition: transform var(--transition);
}

.due-diligence-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.due-diligence-checklist {
  display: grid;
  gap: 12px;
  align-content: start;
  max-height: calc(100vh - 180px);
  overflow: auto;
  padding-right: 4px;
}

.diligence-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
}

.diligence-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.diligence-item.is-complete {
  border-color: rgba(15, 138, 67, 0.16);
  background: rgba(15, 138, 67, 0.06);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 61;
  background: rgba(17, 22, 27, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.notification-trigger {
  position: relative;
}

.notification-trigger.has-unread {
  box-shadow: 0 16px 34px rgba(99, 102, 241, 0.16);
}

.notification-trigger-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6366f1;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92);
}

.notification-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(9, 9, 11, 0.54);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.notification-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.notification-drawer-open {
  overflow: hidden;
}

.notification-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 71;
  width: min(460px, calc(100% - 16px));
  height: 100vh;
  padding: 24px 20px 20px;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 16px;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 32%),
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 28%),
    #09090b;
  color: #f4f4f5;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -28px 0 60px rgba(3, 7, 18, 0.45);
  transform: translateX(104%);
  pointer-events: none;
  transition: transform 220ms ease;
}

.notification-drawer.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.notification-drawer h2,
.notification-drawer h3,
.notification-drawer p,
.notification-drawer strong {
  color: inherit;
}

.notification-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.notification-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.56);
}

.notification-drawer-head h2 {
  margin: 8px 0 6px;
  font-size: 30px;
  line-height: 1.05;
}

.notification-drawer-head p {
  color: rgba(228, 228, 231, 0.68);
  max-width: 320px;
}

.notification-head-actions,
.notification-toolbar,
.notification-status-row,
.notif-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.notification-head-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.notification-head-btn,
.notification-secondary-btn,
.btn-text {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 24, 27, 0.92);
  color: #f4f4f5;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.notification-head-btn:hover,
.notification-secondary-btn:hover,
.btn-text:hover {
  transform: translateY(-1px);
  background: rgba(39, 39, 42, 0.96);
  border-color: rgba(255, 255, 255, 0.12);
}

.notification-cadence-field {
  display: grid;
  gap: 8px;
  min-width: 150px;
  color: rgba(244, 244, 245, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-cadence-select {
  min-height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(24, 24, 27, 0.92);
  color: #f4f4f5;
  padding: 0 14px;
}

.notification-status-row {
  color: rgba(228, 228, 231, 0.68);
  font-size: 12px;
}

.notification-status-row strong {
  color: #f4f4f5;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notification-feed {
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
  display: grid;
  gap: 18px;
}

.notif-group {
  display: grid;
  gap: 10px;
}

.notif-group-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 244, 245, 0.48);
}

.notif-group-list {
  display: grid;
  gap: 10px;
}

.notif-item {
  --notif-accent: #27272a;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
  background: rgba(24, 24, 27, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  position: relative;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
  outline: none;
}

.notif-item:hover,
.notif-item:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(39, 39, 42, 0.96);
}

.notif-item[data-tone="success"] {
  --notif-accent: #10b981;
}

.notif-item[data-tone="info"] {
  --notif-accent: #6366f1;
}

.notif-item[data-tone="trend"] {
  --notif-accent: #f59e0b;
}

.notif-item[data-tone="system"] {
  --notif-accent: #27272a;
}

.notif-item.unread {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(129, 140, 248, 0.14);
}

.notif-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 999px;
  background: var(--notif-accent);
}

.notif-icon-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.icon-bg {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #f4f4f5;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.icon-bg svg,
.notification-toast-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.icon-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #09090b;
}

.icon-pulse.blue {
  background: #6366f1;
  box-shadow: 0 0 0 2px #09090b, 0 0 8px rgba(99, 102, 241, 0.86);
}

.icon-pulse.success {
  background: #10b981;
  box-shadow: 0 0 0 2px #09090b, 0 0 8px rgba(16, 185, 129, 0.82);
}

.icon-pulse.trend {
  background: #f59e0b;
  box-shadow: 0 0 0 2px #09090b, 0 0 8px rgba(245, 158, 11, 0.82);
}

.icon-pulse.system {
  background: #71717a;
  box-shadow: 0 0 0 2px #09090b, 0 0 8px rgba(113, 113, 122, 0.72);
}

.notif-content {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.notif-content p {
  color: rgba(244, 244, 245, 0.9);
  font-size: 14px;
  line-height: 1.65;
}

.notif-content strong {
  color: #fff;
}

.notif-meta-row {
  flex-wrap: wrap;
  justify-content: flex-start;
}

.notif-tag,
.notif-time {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.notif-tag {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 244, 245, 0.76);
}

.notif-tag-muted,
.notif-time {
  background: rgba(255, 255, 255, 0.03);
  color: rgba(244, 244, 245, 0.5);
}

.notif-actions {
  display: flex;
  align-items: flex-start;
}

.btn-text {
  text-decoration: none;
}

.notification-empty-state {
  min-height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
  padding: 36px 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(24, 24, 27, 0.82);
}

.notification-empty-state svg {
  width: min(220px, 72%);
  height: auto;
}

.notification-empty-state h3 {
  font-size: 24px;
  max-width: 300px;
}

.notification-empty-state p {
  max-width: 320px;
  color: rgba(228, 228, 231, 0.68);
}

.notification-toast-stack {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 72;
  display: grid;
  gap: 12px;
  width: min(360px, calc(100% - 24px));
}

.notification-toast {
  --toast-accent: #27272a;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(9, 9, 11, 0.96);
  color: #f4f4f5;
  border-left: 3px solid var(--toast-accent);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 42px rgba(3, 7, 18, 0.34);
  animation: notification-toast-enter 180ms ease;
}

.notification-toast[data-tone="success"] {
  --toast-accent: #10b981;
}

.notification-toast[data-tone="info"] {
  --toast-accent: #6366f1;
}

.notification-toast[data-tone="trend"] {
  --toast-accent: #f59e0b;
}

.notification-toast[data-tone="system"] {
  --toast-accent: #27272a;
}

.notification-toast.is-leaving {
  opacity: 0;
  transform: translateY(8px);
}

.notification-toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
}

.notification-toast-copy {
  display: grid;
  gap: 6px;
}

.notification-toast-copy strong {
  font-size: 14px;
}

.notification-toast-copy p {
  color: rgba(228, 228, 231, 0.74);
  font-size: 13px;
  line-height: 1.55;
}

.notification-toast-close {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #f4f4f5;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

@keyframes notification-toast-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.leaderboard-shell {
  display: grid;
  gap: 20px;
}

.leaderboard-list {
  flex-direction: column;
}

.leader-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.rank-badge {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: rgba(255, 184, 0, 0.14);
  color: var(--accent-end);
  display: grid;
  place-items: center;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.rank-copy h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.rank-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.location-board {
  overflow: hidden;
  background: linear-gradient(160deg, #edf2f7, #d8dee9);
}

.location-stage {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 255, 255, 0.7), transparent 22%),
    radial-gradient(circle at 74% 30%, rgba(255, 255, 255, 0.58), transparent 24%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
}

.location-stage::before,
.location-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.location-stage::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 72px 72px;
}

.location-dot {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 8px;
  justify-items: center;
}

.location-dot button {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  box-shadow: 0 0 0 6px rgba(255, 122, 0, 0.16);
  cursor: pointer;
}

.location-dot span {
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.location-dot.is-active button {
  transform: scale(1.18);
}

.map-panel-card {
  display: grid;
  gap: 18px;
}

.map-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.leaflet-frame {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(160deg, #edf2f7, #d8dee9);
  border: 1px solid rgba(26, 28, 32, 0.05);
}

.compact-leaflet-frame {
  min-height: 320px;
}

.leaflet-shell {
  width: 100%;
  min-height: 420px;
}

.detail-map {
  min-height: 320px;
}

.leaflet-container {
  background: linear-gradient(160deg, #edf2f7, #d8dee9);
  font: inherit;
}

.sfc-map-pin-shell {
  background: transparent;
  border: 0;
}

.sfc-map-pin {
  width: 18px;
  height: 18px;
  display: block;
  border-radius: 50%;
  background: linear-gradient(135deg, #12161b, #3a404a);
  box-shadow: 0 0 0 6px rgba(18, 22, 27, 0.14);
  border: 2px solid rgba(255, 255, 255, 0.92);
  transition: transform var(--transition), box-shadow var(--transition);
}

.sfc-map-pin.is-active {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  box-shadow: 0 0 0 8px rgba(255, 122, 0, 0.2);
  transform: scale(1.18);
}

.map-popup-card {
  display: grid;
  gap: 4px;
  min-width: 180px;
}

.map-popup-card strong {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

.map-popup-card span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.map-popup-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-end);
}

.leaflet-popup-content-wrapper,
.maplibregl-popup-content,
.leaflet-popup-tip,
.maplibregl-popup-tip {
  box-shadow: 0 18px 42px rgba(26, 28, 32, 0.12);
}

.leaflet-popup-content-wrapper,
.maplibregl-popup-content {
  border-radius: 18px;
  padding: 0;
}

.leaflet-popup-content,
.maplibregl-popup-content {
  margin: 14px 16px;
}

.explorer-layout,
.compare-layout,
.detail-layout,
.inventory-layout,
.vote-layout {
  display: grid;
  gap: 20px;
}

.explorer-layout,
.compare-layout,
.inventory-layout,
.vote-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.detail-layout {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: start;
}

.property-command-shell {
  display: grid;
  gap: 20px;
}

.property-support-layout {
  align-items: start;
}

.command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 20px;
  align-items: start;
}

.command-ribbon,
.command-score-panel,
.command-blocker-panel,
.command-timeline-panel,
.command-trust-panel,
.command-next-actions-panel {
  background: #111113;
  border: 1px solid #27272a;
  color: #f4f4f5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.command-ribbon {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(0, 1.2fr) minmax(240px, 0.72fr);
  gap: 20px;
  padding: 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 32%),
    linear-gradient(145deg, #111113, #0a0a0d 70%);
}

.command-ribbon .panel-kicker,
.command-panel-head .panel-kicker {
  color: #a5b4fc;
}

.command-ribbon h2,
.command-panel-head h3,
.command-trust-events strong,
.command-score-card strong,
.command-action-item strong,
.command-blocker-item strong,
.command-timeline-copy strong {
  color: #fafafa;
}

.command-ribbon p,
.command-ribbon .command-metric-copy,
.command-rationale-list div,
.command-blocker-item p,
.command-timeline-copy p,
.command-timeline-copy small,
.command-action-item p,
.command-score-card small {
  color: #a1a1aa;
}

.command-ribbon-media {
  border-radius: 24px;
  overflow: hidden;
  min-height: 100%;
  background: #09090b;
}

.command-ribbon-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.command-ribbon-copy,
.command-ribbon-score {
  display: grid;
  gap: 16px;
}

.command-ribbon-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.command-ribbon-facts div,
.command-rationale-list div,
.command-trust-events div {
  padding: 12px 14px;
  border: 1px solid #27272a;
  background: rgba(24, 24, 27, 0.84);
}

.command-ribbon-facts span,
.command-metric-label,
.command-action-role,
.command-blocker-top span,
.command-trust-events span,
.command-timeline-topline,
.command-score-card span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a1a1aa;
}

.command-ribbon-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
}

.command-ribbon-facts strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}

.command-ribbon-score {
  padding: 18px;
  border: 1px solid rgba(99, 102, 241, 0.24);
  border-radius: 24px;
  background: rgba(15, 15, 18, 0.92);
}

.command-metric-value {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  font-size: clamp(48px, 7vw, 78px);
  line-height: 0.92;
  color: #fafafa;
}

.command-metric-delta {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.command-metric-delta.is-positive {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.command-metric-delta.is-negative {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.command-metric-strip {
  padding-top: 14px;
  border-top: 1px solid #27272a;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #a1a1aa;
}

.command-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.command-score-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.command-score-card,
.command-blocker-item,
.command-action-item,
.command-timeline-copy,
.command-event-pill {
  border: 1px solid #27272a;
  background: #09090b;
}

.command-score-card {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.command-score-card strong {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  font-size: 28px;
}

.command-rationale-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.command-blocker-list,
.command-action-groups,
.command-action-list {
  display: grid;
  gap: 12px;
}

.command-blocker-item,
.command-action-item,
.command-timeline-item {
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.command-blocker-item,
.command-action-item {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.command-blocker-item:hover,
.command-action-item:hover,
.command-timeline-item:hover .command-timeline-copy {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

.command-blocker-top,
.command-blocker-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.command-blocker-meta,
.command-timeline-copy small {
  font-size: 12px;
}

.command-severity-critical {
  border-left: 3px solid #ef4444;
}

.command-severity-high {
  border-left: 3px solid #f59e0b;
}

.command-severity-medium {
  border-left: 3px solid #6366f1;
}

.command-severity-low {
  border-left: 3px solid #3f3f46;
}

.command-timeline-list {
  position: relative;
  display: grid;
  gap: 12px;
}

.command-timeline-list::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #27272a;
}

.command-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.command-timeline-marker {
  width: 24px;
  height: 24px;
  margin-top: 14px;
  border-radius: 999px;
  border: 2px solid #3f3f46;
  background: #09090b;
  z-index: 1;
}

.command-timeline-copy {
  padding: 14px 16px;
  display: grid;
  gap: 8px;
}

.command-timeline-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.command-event-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 9px;
}

.command-trust-events {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.command-trust-panel .mini-row {
  background: #f5f6f8;
  color: var(--text);
  border-color: rgba(26, 28, 32, 0.08);
}

.command-trust-panel .mini-row span {
  color: #52525b;
}

.command-trust-panel .mini-row strong {
  color: #18181b;
}

.command-action-role {
  color: #f59e0b;
}

.command-urgency-high {
  border-left: 3px solid #f59e0b;
}

.command-urgency-medium {
  border-left: 3px solid #6366f1;
}

.command-urgency-normal {
  border-left: 3px solid #3f3f46;
}

.command-tone-success {
  border-color: rgba(16, 185, 129, 0.32);
  background: rgba(16, 185, 129, 0.05);
}

.command-tone-info {
  border-color: rgba(99, 102, 241, 0.32);
  background: rgba(99, 102, 241, 0.05);
}

.command-tone-trend {
  border-color: rgba(245, 158, 11, 0.32);
  background: rgba(245, 158, 11, 0.05);
}

.command-tone-danger {
  border-color: rgba(239, 68, 68, 0.32);
  background: rgba(239, 68, 68, 0.05);
}

.command-tone-system {
  border-color: rgba(63, 63, 70, 0.7);
  background: rgba(39, 39, 42, 0.16);
}

.spotlight-card {
  display: grid;
  gap: 20px;
}

.spotlight-media {
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: var(--stage);
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bar-row {
  display: grid;
  gap: 8px;
}

.bar-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(216, 222, 233, 0.62);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
}

.vote-location-list,
.listing-stack {
  display: grid;
  gap: 14px;
}

.vote-location-card {
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}

.vote-location-card.is-active {
  border-color: rgba(255, 122, 0, 0.2);
  transform: translateY(-1px);
}

.vote-option {
  border: 0;
  cursor: pointer;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.vote-option:hover {
  background: rgba(255, 184, 0, 0.14);
}

.vote-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.vote-card {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vote-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 122, 0, 0.18);
}

.vote-card.is-selected {
  border-color: rgba(255, 122, 0, 0.28);
  box-shadow: 0 22px 44px rgba(255, 122, 0, 0.18);
}

.vote-card:disabled {
  cursor: default;
  transform: none;
}

.vote-card-media {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #eef4fb, #dfe7f2);
  overflow: hidden;
}

.vote-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vote-card-media span,
.vote-admin-row-media span {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent-end);
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.vote-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.vote-card-title-row,
.thread-card-top,
.thread-card-meta,
.thread-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vote-card-title-row strong,
.thread-view-head strong {
  font-size: 18px;
  line-height: 1.2;
}

.vote-card-count,
.thread-card-top span,
.thread-card-meta span,
.thread-view-head span,
.chat-message-time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vote-admin-panel {
  display: grid;
  gap: 20px;
}

.vote-admin-form,
.thread-compose {
  display: grid;
  gap: 14px;
}

.vote-admin-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vote-admin-list {
  display: grid;
  gap: 12px;
}

.vote-admin-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(26, 28, 32, 0.06);
}

.vote-admin-row.is-inactive {
  opacity: 0.68;
}

.vote-admin-row-media {
  width: 88px;
  height: 72px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #eef4fb, #dfe7f2);
}

.vote-admin-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vote-admin-row-copy {
  display: grid;
  gap: 6px;
}

.vote-admin-row-copy strong {
  font-size: 16px;
}

.vote-admin-row-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.vote-admin-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.comparison-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.decision-card {
  background:
    radial-gradient(circle at top right, rgba(255, 184, 0, 0.22), transparent 36%),
    #ffffff;
}

.listing-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.listing-main {
  display: grid;
  gap: 14px;
}

.listing-actions {
  justify-content: flex-end;
}

.admin-listing-row {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.admin-listing-main {
  gap: 16px;
}

.admin-listing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-listing-head-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.admin-listing-main > p {
  max-width: 72ch;
}

.admin-listing-statuses {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.admin-listing-meta-row {
  margin-top: -2px;
}

.admin-listing-actions {
  justify-content: flex-start;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(26, 28, 32, 0.08);
}

.admin-listing-actions .btn-shell,
.admin-listing-actions .status-pill {
  min-height: 46px;
}

.contact-card {
  display: grid;
  gap: 14px;
}

.seller-inbox-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
}

.thread-list {
  display: grid;
  gap: 12px;
  max-height: 420px;
  overflow: auto;
}

.thread-card {
  width: 100%;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(26, 28, 32, 0.08);
  background: var(--surface);
  cursor: pointer;
  display: grid;
  gap: 8px;
  text-align: left;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.thread-card:hover,
.thread-card.is-active {
  transform: translateY(-1px);
  background: rgba(255, 184, 0, 0.08);
  border-color: rgba(255, 122, 0, 0.18);
}

.thread-card p,
.chat-message-body {
  color: var(--text);
}

.thread-view {
  display: grid;
  gap: 14px;
}

.thread-view-head {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.request-card {
  padding: 18px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(26, 28, 32, 0.06);
  display: grid;
  gap: 12px;
}

.request-card p {
  color: var(--text);
}

.request-card-top {
  align-items: flex-start;
  justify-content: space-between;
}

.request-card-top > div {
  display: grid;
  gap: 4px;
}

.request-card-top strong {
  font-size: 16px;
}

.request-card-top > div span,
.request-card-meta span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.request-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.request-response {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 28, 32, 0.06);
  color: var(--text);
  line-height: 1.6;
}

.request-manage-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.compact-request-stack .request-card {
  padding: 16px;
}

.chat-thread-surface {
  min-height: 300px;
  max-height: 380px;
  overflow: auto;
  padding: 16px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(26, 28, 32, 0.08);
  display: grid;
  gap: 12px;
}

.chat-message {
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(26, 28, 32, 0.06);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 8px;
}

.chat-message.is-own {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.14), rgba(255, 122, 0, 0.08));
  border-color: rgba(255, 122, 0, 0.14);
}

.chat-message-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-message-body {
  font-size: 14px;
  line-height: 1.65;
}

.booking-orchestrator {
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 34%),
    #18181b;
  border: 1px solid #27272a;
  color: #fafafa;
  box-shadow: 0 20px 44px rgba(9, 9, 11, 0.28);
}

.booking-orchestrator.panel-card,
.booking-orchestrator.contact-card {
  border-color: #27272a;
}

.booking-orchestrator-compact {
  padding: 20px;
  border-radius: 24px;
}

.booking-orchestrator p,
.booking-orchestrator .panel-kicker,
.visit-window-card span,
.visit-meta-line,
.field-audit-head p,
.field-audit-note,
.step-text span,
.visit-thread-window span {
  color: #a1a1aa;
}

.booking-orchestrator .panel-kicker {
  letter-spacing: 0.16em;
}

.orchestrator-header,
.field-audit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.orchestrator-header h3,
.field-audit-head h4 {
  margin-top: 8px;
  color: #fafafa;
  font-size: 24px;
}

.visit-meta-line {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
}

.visit-proposal-form,
.visit-counter-form,
.visit-window-grid,
.field-audit-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.visit-window-card,
.field-audit-metric {
  padding: 14px 16px;
  border-radius: 16px;
  background: #09090b;
  border: 1px solid #27272a;
  display: grid;
  gap: 6px;
}

.visit-window-card strong,
.field-audit-metric strong {
  color: #fafafa;
  font-size: 14px;
  line-height: 1.5;
}

.logistic-stepper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 4px;
}

.logistic-stepper::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #27272a;
  z-index: 0;
}

.step {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.step-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #09090b;
  border: 2px solid #27272a;
  color: #d4d4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex: 0 0 auto;
}

.step.done .step-marker {
  border-color: #10b981;
  color: #10b981;
}

.step.active .step-marker {
  border-color: #6366f1;
  color: #6366f1;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.32);
}

.step.locked .step-marker {
  color: #71717a;
}

.step-text {
  display: grid;
  gap: 6px;
}

.step-text strong {
  display: block;
  color: #fafafa;
  font-size: 14px;
}

.step-actions,
.visit-inline-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.visit-inline-button {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.visit-status-pill {
  border: 1px solid transparent;
}

.visit-status-proposed {
  color: #d4d4d8;
  background: rgba(39, 39, 42, 0.8);
  border-color: #3f3f46;
}

.visit-status-counter {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.28);
}

.visit-status-confirmed {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.32);
}

.visit-status-active {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.24);
}

.visit-status-visited {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.24);
}

.ground-truth-pill {
  border: 1px solid transparent;
}

.ground-truth-positive {
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.24);
}

.ground-truth-negative {
  color: #fed7aa;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.24);
}

.field-audit-shell {
  display: grid;
  gap: 14px;
  padding-top: 6px;
}

.field-audit-form {
  display: grid;
  gap: 12px;
}

.field-audit-control {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #09090b;
  border: 1px solid #27272a;
  color: #fafafa;
}

.field-audit-control input[type="range"] {
  width: 100%;
  accent-color: #6366f1;
}

.field-audit-control strong {
  color: #c7d2fe;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field-audit-note {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(9, 9, 11, 0.86);
  border: 1px solid #27272a;
  line-height: 1.6;
}

.visit-thread-card {
  max-width: 100%;
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.98), rgba(39, 39, 42, 0.94));
  border: 1px solid #27272a;
  border-left: 3px solid #6366f1;
  color: #fafafa;
}

.visit-thread-card .chat-message-body,
.visit-thread-card .chat-message-meta,
.visit-thread-card .chat-message-time {
  color: inherit;
}

.visit-thread-card .chat-message-meta,
.visit-thread-card .chat-message-time {
  color: #a1a1aa;
}

.visit-thread-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fafafa;
}

.visit-thread-window-stack {
  display: grid;
  gap: 8px;
}

.visit-thread-window {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(9, 9, 11, 0.72);
  border: 1px solid rgba(63, 63, 70, 0.9);
  display: grid;
  gap: 4px;
}

.visit-thread-window strong {
  color: #fafafa;
  font-size: 13px;
  line-height: 1.5;
}

.empty-state {
  text-align: center;
}

.empty-state h2 {
  font-size: 30px;
  margin: 10px 0;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow-y: auto;
  background: rgba(17, 22, 27, 0.36);
}

.modal-shell[hidden] {
  display: none;
}

[hidden] {
  display: none !important;
}

.modal-card {
  width: min(820px, 100%);
  padding: 30px;
}

.compact-modal {
  width: min(520px, 100%);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.modal-close {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.crud-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#propertyCrudModal {
  padding: 24px;
}

#propertyCrudModal .property-crud-modal {
  width: min(920px, 100%);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  padding: 0;
  border-radius: 24px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: clip;
}

#propertyCrudModal .crud-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px 20px;
  border-bottom: 1px solid var(--line-strong);
  flex-shrink: 0;
}

#propertyCrudModal .crud-header h3 {
  margin: 4px 0 6px;
  font-size: 24px;
}

#propertyCrudModal .crud-header p,
#propertyCrudModal .crud-section-note,
#propertyCrudModal .form-helper,
#propertyCrudModal .auth-form-note {
  margin: 0;
  color: #526075;
  font-size: 13px;
  line-height: 1.6;
}

#propertyCrudModal .modal-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text);
  font-size: 26px;
  line-height: 1;
}

#propertyCrudForm {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: clip;
}

#crud-panels-wrap {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 32px 32px;
  scroll-padding-block: 24px;
}

#propertyCrudModal .crud-section + .crud-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}

#propertyCrudModal .crud-section h4 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.4;
}

#propertyCrudModal .crud-section-fields {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

#propertyCrudModal .crud-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#propertyCrudModal :is(div, section, fieldset) {
  min-width: 0;
}

#propertyCrudModal label,
#propertyCrudModal .crud-field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

#propertyCrudModal .crud-required,
#propertyCrudModal .crud-optional {
  display: inline-block;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #526075;
}

#propertyCrudModal .crud-required {
  color: #4338ca;
  font-weight: 600;
}

#propertyCrudModal :is(input:not([type="hidden"]), textarea, select):not([aria-hidden="true"]) {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cbd2de;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}

#propertyCrudModal textarea {
  resize: vertical;
  min-height: 110px;
}

#propertyCrudModal select[aria-hidden="true"] {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  padding: 0;
}

#propertyCrudModal :is(input, textarea, select, button):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

#propertyCrudModal .crud-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#propertyCrudModal .crud-seg-btn {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #cbd2de;
  border-radius: 10px;
  background: var(--surface-strong);
  color: #526075;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#propertyCrudModal .crud-field-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

#propertyCrudModal .crud-field-heading > span,
#crud-price-badge {
  color: #4338ca;
  font-size: 13px;
  font-weight: 600;
}

#propertyCrudModal .crud-price-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 6px 10px;
}

#crud-price-badge {
  grid-column: 2;
  overflow-wrap: anywhere;
}

#crud-price-badge:empty {
  display: none;
}

#propertyCrudModal .form-helper {
  margin-top: 8px;
}

#propertyCrudModal .crud-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: #526075;
  font-size: 13px;
  line-height: 1.6;
}

#propertyCrudModal .crud-note p {
  margin: 0;
}

#propertyCrudModal .crud-note p:first-child {
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 600;
}

#propertyCrudModal .crud-document-checklist {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
}

#propertyCrudModal .crud-document-checklist legend {
  padding: 0 6px;
  font-size: 14px;
  font-weight: 600;
}

#propertyCrudModal .crud-document-checklist .crud-field-grid {
  margin-top: 16px;
}

/* Actions take their own space outside the scrolling fields and validation UI. */
#propertyCrudModal .crud-form-actions {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 12px;
  padding: 16px 32px;
  border-top: 1px solid var(--line-strong);
  background: var(--surface-strong);
}

#propertyCrudModal .crud-form-actions .btn-shell {
  min-height: 46px;
  padding: 10px 22px;
}

@media (max-width: 640px) {
  #propertyCrudModal {
    padding: 10px;
  }

  #propertyCrudModal .property-crud-modal {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 18px;
  }

  #propertyCrudModal .crud-header {
    padding: 18px;
  }

  #crud-panels-wrap {
    padding: 20px 18px 24px;
  }

  #propertyCrudModal .crud-field-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #propertyCrudModal :is(input:not([type="hidden"]), textarea, select):not([aria-hidden="true"]) {
    font-size: 16px;
  }

  #propertyCrudModal .crud-form-actions {
    padding: 14px 18px;
    gap: 10px;
  }

  #propertyCrudModal .crud-form-actions .btn-shell {
    flex: 1 1 0;
    padding-inline: 10px;
    font-size: 13px;
  }
}

.property-crud-modal .modal-head {
  margin-bottom: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(26, 28, 32, 0.08);
}

.property-crud-form {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: 20px;
  padding-right: 6px;
  padding-bottom: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-bottom: 96px;
  align-content: start;
}

.property-crud-form .crud-actions {
  position: sticky;
  bottom: 0;
  z-index: 2;
  justify-content: flex-end;
  margin-top: 4px;
  padding-top: 16px;
  padding-bottom: 2px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0), rgba(248, 250, 252, 0.94) 22px, rgba(248, 250, 252, 1) 100%);
}

.area-input-row {
  width: 100%;
}

.area-unit-select {
  flex: 0 0 210px;
}

.form-helper {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.showcase-crud-modal {
  width: min(980px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.showcase-crud-form {
  gap: 18px;
}

.showcase-form-intro,
.showcase-form-section,
.showcase-form-step,
.showcase-form-advanced,
.showcase-wizard-progress,
.showcase-wizard-footer {
  border-radius: 30px;
  border: 1px solid rgba(26, 28, 32, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 249, 252, 0.84));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.showcase-form-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
}

.showcase-form-intro-copy {
  display: grid;
  gap: 10px;
  max-width: 44rem;
}

.showcase-form-intro-copy h4,
.showcase-form-section-head h4 {
  font-size: clamp(24px, 3vw, 32px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.showcase-form-intro-copy p,
.showcase-form-section-head p {
  max-width: 62ch;
  color: var(--text-muted);
}

.showcase-form-intro-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.showcase-wizard-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
}

.showcase-step-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: rgba(42, 55, 83, 0.62);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.showcase-step-pill span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #203154;
  font-size: 13px;
  font-weight: 800;
}

.showcase-step-pill strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.showcase-step-pill:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.52);
  color: #1a2740;
}

.showcase-step-pill.is-active,
.showcase-step-pill.is-complete {
  color: #15203a;
}

.showcase-step-pill.is-active {
  background: linear-gradient(180deg, rgba(110, 135, 255, 0.18), rgba(82, 108, 236, 0.1));
  box-shadow: inset 0 0 0 1px rgba(91, 127, 255, 0.12);
}

.showcase-step-pill.is-active span {
  background: linear-gradient(135deg, rgba(89, 120, 255, 0.95), rgba(124, 155, 255, 0.92));
  color: #ffffff;
}

.showcase-step-pill.is-complete:not(.is-active) {
  background: rgba(255, 255, 255, 0.42);
}

.showcase-form-section,
.showcase-form-step {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.showcase-form-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.showcase-form-grid,
.showcase-form-advanced-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.showcase-summary-textarea {
  min-height: 118px;
}

.showcase-form-advanced {
  overflow: hidden;
}

.showcase-form-advanced > summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #22314a;
}

.showcase-form-advanced > summary::-webkit-details-marker {
  display: none;
}

.showcase-form-advanced > summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  line-height: 1;
  color: rgba(34, 49, 74, 0.6);
}

.showcase-form-advanced[open] > summary::after {
  content: "−";
}

.showcase-form-advanced-grid {
  padding: 0 24px 24px;
}

.showcase-form-note {
  margin: 0;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(91, 127, 255, 0.12);
  background:
    linear-gradient(160deg, rgba(28, 38, 59, 0.96), rgba(42, 56, 82, 0.92));
  color: rgba(239, 243, 255, 0.9);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.showcase-form-feedback {
  margin: 0;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(239, 68, 68, 0.14);
  background: linear-gradient(180deg, rgba(255, 241, 242, 0.96), rgba(255, 247, 247, 0.98));
  color: #991b1b;
  box-shadow: 0 12px 28px rgba(127, 29, 29, 0.08);
}

.showcase-form-feedback.is-success {
  border-color: rgba(16, 185, 129, 0.16);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(243, 255, 249, 0.98));
  color: #065f46;
  box-shadow: 0 12px 28px rgba(6, 95, 70, 0.08);
}

.showcase-crud-form .crud-actions {
  position: sticky;
  bottom: 0;
  z-index: 1;
  padding-top: 14px;
  background: linear-gradient(180deg, rgba(244, 247, 255, 0), rgba(244, 247, 255, 0.96) 24%, rgba(244, 247, 255, 0.96));
}

.showcase-form-advanced {
  margin-top: 4px;
  box-shadow: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(246, 248, 252, 0.72));
}

.showcase-form-advanced[open] > summary::after {
  content: "-";
}

.showcase-media-preview {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(19, 27, 42, 0.92), rgba(29, 40, 61, 0.88));
  color: rgba(243, 246, 255, 0.92);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.14);
}

.showcase-media-preview-frame {
  position: relative;
  min-height: 156px;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.showcase-media-preview-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 156px;
  object-fit: cover;
}

.showcase-media-preview-copy {
  display: grid;
  gap: 8px;
}

.showcase-media-preview-copy h4,
.showcase-wizard-foot-copy h4 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.showcase-media-preview-copy p,
.showcase-wizard-foot-copy p {
  color: rgba(239, 243, 255, 0.78);
}

.showcase-wizard-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.95), rgba(241, 245, 255, 0.98));
  backdrop-filter: blur(18px);
}

.showcase-wizard-foot-copy {
  display: grid;
  gap: 6px;
  max-width: 38rem;
}

.showcase-wizard-foot-copy p {
  color: var(--text-muted);
}

.showcase-wizard-actions {
  position: static;
  z-index: auto;
  padding-top: 0;
  background: none;
  margin-left: auto;
}

.crud-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 18px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.crud-subgrid legend {
  padding: 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-span-2 {
  grid-column: span 2;
}

.loading-panel {
  color: var(--muted);
}

.prospectus-print-shell {
  display: none;
}

.studio-transition {
  display: none;
}

@page {
  size: A4;
  margin: 0;
}

@media print {
  nav,
  .btn,
  .intent-grid,
  .message-input,
  .site-header,
  .site-footer,
  .page-intro-card,
  .detail-layout,
  .due-diligence-fab,
  .due-diligence-drawer,
  .drawer-backdrop,
  .notification-backdrop,
  .notification-drawer,
  .notification-toast-stack,
  .studio-transition {
    display: none !important;
  }

  html,
  body {
    background: #ffffff !important;
    color: #18181b !important;
    font-size: 10pt;
  }

  body::before {
    display: none !important;
  }

  .page-shell,
  .details-page,
  .detail-root-grid {
    padding: 0 !important;
    width: auto !important;
    margin: 0 !important;
  }

  #propertyDetailsRoot {
    display: block !important;
  }

  .prospectus-print-shell {
    display: block !important;
  }

  .prospectus-page,
  .prospectus-page * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    box-sizing: border-box;
  }

  .prospectus-page {
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    padding: 18mm 16mm 14mm;
    background: #ffffff !important;
    color: #18181b !important;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
  }

  .prospectus-page h1,
  .prospectus-page h2,
  .prospectus-page h3 {
    font-family: Georgia, "Times New Roman", serif;
    color: #18181b !important;
    letter-spacing: -0.03em;
  }

  .prospectus-page p {
    color: #27272a !important;
    line-height: 1.7;
  }

  .prospectus-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14pt;
    align-items: start;
    margin-bottom: 12pt;
  }

  .prospectus-kicker,
  .prospectus-section-kicker,
  .prospectus-signature-label {
    font-size: 8pt;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6366f1 !important;
  }

  .prospectus-hero h1 {
    margin: 4pt 0 6pt;
    font-size: 28pt;
    line-height: 1.02;
  }

  .prospectus-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6pt;
    margin-top: 10pt;
  }

  .prospectus-chip {
    display: inline-flex;
    align-items: center;
    min-height: 22pt;
    padding: 0 10pt;
    border-radius: 999px;
    border: 1px solid rgba(99, 102, 241, 0.16);
    background: rgba(99, 102, 241, 0.06);
    color: #4338ca !important;
    font-size: 8.5pt;
    font-weight: 700;
  }

  .admin-seal {
    border: 2px solid #6366f1;
    padding: 10pt 12pt;
    color: #6366f1 !important;
    text-transform: uppercase;
    font-weight: 800;
    display: grid;
    gap: 4pt;
    align-content: start;
    min-width: 122pt;
    text-align: right;
  }

  .admin-seal strong {
    font-size: 16pt;
    color: inherit !important;
  }

  .bento-grid,
  .prospectus-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 11pt;
  }

  .bento-item,
  .prospectus-card,
  .prospectus-audit-table-shell,
  .prospectus-map-shell {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .prospectus-span-12 {
    grid-column: span 12;
  }

  .prospectus-span-7 {
    grid-column: span 7;
  }

  .prospectus-span-6 {
    grid-column: span 6;
  }

  .prospectus-span-5 {
    grid-column: span 5;
  }

  .prospectus-card {
    border: 1px solid #e4e4e7 !important;
    border-radius: 14pt;
    padding: 13pt;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  .prospectus-card-primary {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05), #ffffff 54%) !important;
  }

  .prospectus-lead {
    margin-top: 8pt;
    font-size: 11pt;
  }

  .prospectus-support-copy {
    margin-top: 6pt;
    font-size: 9pt;
    color: #52525b !important;
  }

  .prospectus-metric-strip,
  .prospectus-fact-grid,
  .prospectus-mini-list,
  .prospectus-audit-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8pt;
    margin-top: 10pt;
  }

  .prospectus-metric-pill,
  .prospectus-fact-grid div,
  .prospectus-mini-list div,
  .prospectus-audit-metrics div {
    border: 1px solid #e4e4e7;
    border-radius: 10pt;
    padding: 9pt 10pt;
    background: #fafafa;
    display: grid;
    gap: 4pt;
  }

  .prospectus-metric-pill strong,
  .prospectus-fact-grid strong,
  .prospectus-mini-list strong,
  .prospectus-audit-metrics strong {
    color: #18181b !important;
    font-size: 10pt;
  }

  .prospectus-metric-pill span,
  .prospectus-fact-grid span,
  .prospectus-mini-list span,
  .prospectus-audit-metrics span,
  .prospectus-qr-copy span,
  .prospectus-qr-copy small,
  .prospectus-signature-meta span,
  .prospectus-footer span {
    color: #52525b !important;
    font-size: 8.2pt;
    line-height: 1.5;
  }

  .prospectus-fact-grid span,
  .prospectus-mini-list span,
  .prospectus-audit-metrics span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
  }

  .prospectus-map-shell {
    margin-top: 10pt;
    border: 1px solid #e4e4e7;
    border-radius: 12pt;
    overflow: hidden;
    background: #ffffff;
  }

  .prospectus-map-svg {
    display: block;
    width: 100%;
    height: auto;
  }

  .prospectus-qr-shell {
    display: grid;
    grid-template-columns: 120pt minmax(0, 1fr);
    gap: 10pt;
    align-items: center;
    margin-top: 10pt;
  }

  .prospectus-qr-svg {
    width: 120pt;
    height: 120pt;
    display: block;
  }

  .prospectus-qr-copy {
    display: grid;
    gap: 5pt;
  }

  .prospectus-qr-copy strong {
    color: #18181b !important;
    font-size: 11pt;
  }

  .prospectus-qr-copy small {
    word-break: break-all;
  }

  .prospectus-audit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10pt;
    margin-top: 10pt;
  }

  .prospectus-audit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 8.5pt;
  }

  .prospectus-audit-table th,
  .prospectus-audit-table td {
    border-bottom: 1px solid #e4e4e7;
    padding: 6pt 0;
    text-align: left;
    vertical-align: top;
  }

  .prospectus-audit-table th {
    font-size: 7.8pt;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #52525b !important;
  }

  .prospectus-audit-table td strong {
    display: block;
    color: #18181b !important;
    font-size: 8.9pt;
  }

  .prospectus-audit-table td span {
    display: block;
    margin-top: 2pt;
    font-size: 7.5pt;
    color: #71717a !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .prospectus-audit-table tr.is-missing td:last-child {
    color: #b45309 !important;
    font-weight: 700;
  }

  .prospectus-signature-block {
    margin-top: 12pt;
    padding-top: 8pt;
    border-top: 1px dashed rgba(99, 102, 241, 0.35);
    display: grid;
    gap: 6pt;
  }

  .prospectus-signature-line {
    height: 32pt;
    border-bottom: 1px solid #18181b;
  }

  .prospectus-signature-meta {
    display: grid;
    gap: 3pt;
  }

  .prospectus-bullet-list {
    display: grid;
    gap: 6pt;
    margin-top: 10pt;
  }

  .prospectus-bullet-list div {
    position: relative;
    padding-left: 12pt;
    color: #27272a !important;
    line-height: 1.6;
  }

  .prospectus-bullet-list div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7pt;
    width: 5pt;
    height: 5pt;
    border-radius: 50%;
    background: #6366f1;
  }

  .prospectus-note {
    margin-top: 10pt;
    padding: 10pt 12pt;
    border-radius: 10pt;
    border: 1px solid #e4e4e7;
    background: #fafafa;
    color: #3f3f46 !important;
    line-height: 1.6;
  }

  .prospectus-footer {
    display: flex;
    justify-content: space-between;
    gap: 8pt;
    flex-wrap: wrap;
    margin-top: 12pt;
    padding-top: 10pt;
    border-top: 1px solid #e4e4e7;
  }
}

@media (max-width: 1180px) {
  .nav-shell,
  .page-intro-card,
  .final-cta-card {
    align-items: flex-start;
  }

  .page-intro-card,
  .final-cta-card {
    flex-direction: column;
  }

  .nav-shell {
    grid-template-columns: 1fr;
  }

  .nav-center,
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .auth-layout,
  .auth-stage,
  .about-grid,
  .command-grid,
  .command-ribbon,
  .detail-layout,
  .explorer-layout,
  .compare-layout,
  .inventory-layout,
  .showcase-hero,
  .showcase-admin-layout,
  .vote-layout,
  .hero-home-grid,
  .seller-inbox-grid {
    grid-template-columns: 1fr;
  }

  .floating-panel-secondary,
  .floating-panel-accent {
    width: 100%;
    margin-left: 0;
  }

  .living-city-rail {
    width: min(420px, 100%);
    margin-left: 0;
  }

  .governance-grid,
  .audit-json-grid {
    grid-template-columns: 1fr;
  }

  .notification-toolbar,
  .notification-status-row,
  .notification-drawer-head {
    align-items: flex-start;
  }

  .role-grid,
  .homepage-preview-grid,
  .about-stat-grid,
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .readiness-score-panel {
    grid-template-columns: 1fr;
  }

  .command-ribbon-facts,
  .command-score-breakdown {
    grid-template-columns: 1fr 1fr;
  }

  .readiness-pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-proposal-form,
  .visit-counter-form,
  .visit-window-grid,
  .field-audit-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-shell {
    width: min(100% - 24px, 1240px);
  }

  .page-shell {
    padding: 24px 0 56px;
  }

  .orchestrator-header,
  .field-audit-head {
    flex-direction: column;
  }

  .booking-orchestrator {
    padding: 20px;
  }

  .hero-home {
    padding-top: 18px;
  }

  .hero-canvas,
  .hero-home-backdrop {
    height: 640px;
    border-radius: 0 0 34px 34px;
  }

  .mouse-glow {
    width: 320px;
    height: 320px;
    transform: translate3d(calc(var(--mouse-glow-x) - 160px), calc(var(--mouse-glow-y) - 160px), 0);
  }

  .living-city-rail {
    width: 100%;
  }

  .terminal-header,
  .audit-feed-head,
  .audit-drawer-head,
  .audit-drawer-meta,
  .audit-diff-row,
  .audit-diff-values {
    flex-direction: column;
    align-items: flex-start;
  }

  .audit-drawer {
    width: 100%;
  }

  .hero-depth-label {
    display: none;
  }

  .spatial-trigger-copy span {
    display: none;
  }

  .hero-proof-grid,
  .hero-opportunity-insight-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-metrics,
  .role-grid,
  .homepage-preview-grid,
  .about-stat-grid,
  .command-ribbon-facts,
  .command-score-breakdown,
  .stat-grid,
  .showcase-card-grid,
  .showcase-card-metrics,
  .showcase-spotlight-stats,
  .crud-form-grid,
  .crud-subgrid,
  .vote-admin-form {
    grid-template-columns: 1fr;
  }

  .showcase-form-grid,
  .showcase-form-advanced-grid {
    grid-template-columns: 1fr;
  }

  .property-crud-modal {
    max-height: calc(100vh - 20px);
  }

  .property-crud-form {
    padding-right: 2px;
  }

  .property-crud-form .crud-actions {
    flex-wrap: wrap;
  }

  .property-crud-form .crud-actions .btn-shell {
    flex: 1 1 100%;
  }

  .area-unit-select {
    flex: 1 1 auto;
  }

  .readiness-pillars-grid,
  .readiness-inline-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notif-item,
  .notification-toast {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .notif-actions {
    grid-column: 2 / -1;
  }

  .property-title-row,
  .listing-row,
  .vote-admin-row,
  .showcase-admin-card {
    grid-template-columns: 1fr;
  }

  .showcase-form-intro,
  .showcase-form-section-head,
  .showcase-wizard-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .showcase-form-intro-badges {
    justify-content: flex-start;
  }

  .showcase-wizard-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-media-preview {
    grid-template-columns: 1fr;
  }

  .showcase-wizard-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .command-panel-head,
  .command-blocker-top,
  .command-blocker-meta,
  .command-timeline-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  .listing-actions {
    justify-content: flex-start;
  }

  .form-span-2 {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .top-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 6px;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .hero-home-copy h1 {
    font-size: 42px;
  }

  .hero-home-copy {
    padding-bottom: 24px;
  }

  .hero-focus-row,
  .hero-status-row,
  .hero-actions {
    width: 100%;
  }

  .hero-proof-grid,
  .hero-opportunity-insight-grid {
    grid-template-columns: 1fr;
  }

  .hero-focus-chip {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  .command-ribbon,
  .command-ribbon-facts,
  .command-grid,
  .command-score-breakdown {
    grid-template-columns: 1fr;
  }

  .spatial-trigger-node {
    padding-inline: 8px;
  }

  .spatial-trigger-copy strong {
    font-size: 10px;
  }

  .btn-shell-hero {
    width: 100%;
    justify-content: center;
  }

  .living-city-rail h2 {
    font-size: 24px;
  }

  .living-city-score {
    font-size: 3rem;
  }

  .hero-story-panel,
  .hero-proof-grid {
    width: 100%;
  }

  .hero-opportunity-topline,
  .hero-opportunity-metrics,
  .rail-status-stack {
    align-items: flex-start;
  }

  .hero-opportunity-link,
  .hero-orbit-toggle {
    width: 100%;
  }

  .filter-bar {
    width: 100%;
  }

  .filter-pill {
    flex: 1 1 calc(50% - 8px);
  }

  .market-ticker-shell {
    mask-image: none;
  }

  .auth-panel,
  .auth-surface,
  .page-intro-card,
  .panel-card,
  .property-card,
  .leaderboard-hero,
  .leader-row,
  .decision-card,
  .comparison-card,
  .listing-row,
  .vote-location-card,
  .showcase-hero,
  .showcase-spotlight-card,
  .showcase-admin-card,
  .spotlight-card,
  .contact-card,
  .modal-card {
    padding: 22px;
  }

  .auth-visual {
    min-height: 520px;
    padding: 26px;
  }

  .portal-menu,
  .portal-menu-trigger {
    width: 100%;
  }

  .portal-menu-panel {
    width: 100%;
    right: auto;
    left: 0;
  }

  .showcase-admin-media {
    width: 100%;
    min-height: 220px;
  }

  .showcase-crud-modal {
    padding: 22px;
    border-radius: 28px;
  }

  .showcase-form-intro,
  .showcase-form-section,
  .showcase-form-step,
  .showcase-wizard-footer {
    padding: 20px;
    border-radius: 26px;
  }

  .showcase-wizard-progress {
    grid-template-columns: 1fr;
  }

  .showcase-form-advanced > summary,
  .showcase-form-advanced-grid {
    padding-left: 20px;
    padding-right: 20px;
  }

  .showcase-wizard-actions {
    width: 100%;
  }

  .showcase-wizard-actions .btn-shell {
    flex: 1 1 100%;
  }

  .auth-surface {
    padding: 28px 22px;
  }

  .split-input,
  .map-panel-head,
  .vote-card-title-row,
  .showcase-summary-ribbon,
  .showcase-spotlight-actions,
  .thread-card-top,
  .thread-card-meta,
  .thread-view-head,
  .chat-message-meta,
  .request-card-top,
  .request-card-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .readiness-bento-head,
  .readiness-drawer-head,
  .due-diligence-drawer-head,
  .notification-drawer-head,
  .notification-toolbar,
  .notification-status-row,
  .indicator-row,
  .investment-intent-head,
  .thesis-head,
  .thesis-metric-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .readiness-pillars-grid,
  .readiness-inline-form {
    grid-template-columns: 1fr;
  }

  .final-cta-card .cta-card-actions {
    grid-template-columns: 1fr;
  }

  .intent-grid {
    grid-template-columns: 1fr;
  }

  .document-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .property-actions,
  .earth-action-row,
  .intro-actions,
  .cta-card-actions {
    width: 100%;
  }

  .property-actions .btn-shell,
  .earth-action-row .btn-shell,
  .intro-actions .btn-shell,
  .cta-card-actions .btn-shell {
    width: 100%;
    justify-content: center;
  }

  .due-diligence-fab {
    left: 12px;
    right: 12px;
    bottom: 16px;
    justify-content: center;
  }

  .due-diligence-drawer {
    width: 100%;
    padding: 18px;
  }

  .notification-drawer {
    width: 100%;
    padding: 18px 16px 16px;
  }

.notification-toast-stack {
    left: 12px;
    right: 12px;
    bottom: 16px;
    width: auto;
  }
}

/* Horizon Thesis */
.hero-home {
  padding: 26px 0 28px;
  min-height: 780px;
}

.hero-canvas,
#hero-canvas {
  height: 760px;
  border-radius: 0 0 54px 54px;
}

.hero-canvas::after,
#hero-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 112%, rgba(var(--hero-focus-accent-rgb), 0.18), rgba(var(--hero-focus-accent-rgb), 0) 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}

.hero-home-backdrop {
  background:
    radial-gradient(circle at 22% 14%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 28%),
    radial-gradient(circle at 68% 84%, rgba(var(--hero-focus-accent-rgb), 0.12), rgba(var(--hero-focus-accent-rgb), 0) 30%),
    linear-gradient(138deg, rgba(7, 10, 16, 0.86), rgba(7, 10, 16, 0.3) 46%, rgba(7, 10, 16, 0.82)),
    linear-gradient(180deg, rgba(7, 10, 16, 0.04), rgba(7, 10, 16, 0.88)),
    var(--hero-image) center/cover no-repeat;
  filter: brightness(0.58) saturate(0.82) contrast(1.04);
  transform: scale(1.025);
}

.mouse-glow {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(var(--hero-focus-accent-rgb), 0.14) 0%, rgba(var(--hero-focus-accent-rgb), 0.06) 26%, rgba(0, 0, 0, 0) 72%);
  filter: blur(14px);
  transform: translate3d(calc(var(--mouse-glow-x) - 240px), calc(var(--mouse-glow-y) - 240px), 0);
  transition: opacity 420ms ease, transform 140ms linear, background 320ms ease;
}

.hero-coordinate-layer {
  opacity: 0.18;
  mix-blend-mode: screen;
}

.hero-grid-lines path {
  stroke: rgba(255, 255, 255, 0.08);
}

.hero-spine-primary {
  stroke: rgba(var(--hero-focus-accent-rgb), 0.22);
}

.hero-spine-secondary {
  stroke: rgba(255, 255, 255, 0.12);
}

.hero-spine-tertiary {
  stroke: rgba(var(--hero-focus-accent-rgb), 0.1);
}

.hero-heat-mesh {
  opacity: 0.56;
}

.hero-node-aura {
  fill: rgba(var(--hero-focus-accent-rgb), 0.08);
  stroke: rgba(var(--hero-focus-accent-rgb), 0.14);
  animation-duration: 8s;
}

.hero-heat-flow {
  stroke: rgba(var(--hero-focus-accent-rgb), 0.14);
  stroke-width: 1;
  stroke-dasharray: 6 18;
  animation-duration: 18s;
}

.hero-heat-link.is-leader .hero-heat-flow {
  stroke-width: 1.5;
  stroke: rgba(var(--hero-focus-accent-rgb), 0.24);
}

.hero-heat-halo {
  fill: rgba(var(--hero-focus-accent-rgb), 0.09);
  animation-duration: 6.4s;
}

.hero-heat-link.is-leader .hero-heat-halo {
  fill: rgba(var(--hero-focus-accent-rgb), 0.16);
}

.hero-heat-core {
  stroke-width: 1.4;
}

.spatial-trigger-node {
  gap: 8px;
  padding: 7px 10px 7px 7px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(8, 10, 14, 0.22);
  opacity: 0.64;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.spatial-trigger-node:hover,
.spatial-trigger-node:focus-visible,
.spatial-trigger-node.is-active {
  background: rgba(8, 10, 14, 0.4);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 18px rgba(var(--hero-focus-accent-rgb), 0.12);
}

.spatial-trigger-orb {
  width: 10px;
  height: 10px;
  box-shadow: 0 0 14px rgba(var(--hero-focus-accent-rgb), 0.28);
}

.spatial-trigger-orb::after {
  inset: -5px;
  opacity: 0.48;
}

.spatial-trigger-copy strong {
  font-size: 10px;
  letter-spacing: 0.12em;
}

.spatial-trigger-copy span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.46);
}

.pulse-cluster {
  opacity: 0.08;
}

.pulse-cluster.is-focus-linked {
  opacity: 0.22;
}

.pulse-ring {
  fill: rgba(var(--hero-focus-accent-rgb), 0.05);
  animation-duration: 5.8s;
}

.hero-depth-label {
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.08em;
}

.hero-home-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 390px);
  gap: 58px;
  align-items: center;
  min-height: 700px;
}

.hero-home-copy {
  max-width: 650px;
  padding: 104px 0 82px;
}

.hero-home-copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.22em;
}

.hero-prelude {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-location-seal {
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-home-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(56px, 8vw, 94px);
  line-height: 0.92;
  letter-spacing: -0.06em;
  max-width: 780px;
}

.hero-home-copy p {
  max-width: 560px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.82;
}

.hero-thesis-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-thesis-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.hero-thesis-pill-soft {
  color: rgba(255, 255, 255, 0.62);
}

.hero-focus-row {
  margin-top: 30px;
  gap: 12px;
}

.hero-focus-chip {
  min-height: 40px;
  padding: 0 15px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(9, 9, 11, 0.14);
  color: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-focus-chip:hover,
.hero-focus-chip.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.26);
  box-shadow: 0 0 24px rgba(var(--hero-focus-accent-rgb), 0.12);
}

.hero-actions {
  margin-top: 30px;
  gap: 14px;
}

.btn-shell-hero {
  min-height: 50px;
  padding-inline: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-actions .btn-shell-hero:last-child {
  background: rgba(9, 9, 11, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

.hero-atlas-stack {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 16px;
  width: min(100%, 390px);
  margin-left: auto;
}

.hero-metric-slab,
.hero-opportunity-brief-shell,
.hero-node-dock {
  padding: 24px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(20, 23, 30, 0.56), rgba(9, 10, 14, 0.44)),
    rgba(9, 9, 11, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 28px 72px rgba(4, 8, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(30px);
}

.hero-metric-slab {
  display: grid;
  gap: 16px;
}

.hero-slab-topline,
.hero-opportunity-brief-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hero-slab-topline span,
.hero-opportunity-brief-head span,
.hero-node-dock-head {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-slab-topline strong,
.hero-opportunity-brief-head strong {
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-slab-score {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(4.2rem, 11vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  color: #fff;
}

.hero-metric-slab p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.8;
}

.hero-slab-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-slab-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.hero-slab-chip-quiet {
  color: rgba(255, 255, 255, 0.62);
}

.hero-slab-chip strong {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #fff;
}

.hero-featured-opportunity {
  min-height: auto;
}

.hero-brief-card {
  display: grid;
  gap: 14px;
}

.hero-brief-topline,
.hero-brief-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-brief-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(var(--hero-focus-accent-rgb), 0.12);
  border: 1px solid rgba(var(--hero-focus-accent-rgb), 0.16);
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-brief-price {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.hero-brief-copy {
  display: grid;
  gap: 7px;
}

.hero-brief-copy strong {
  color: #fff;
  font-size: 2rem;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-brief-copy span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-brief-copy p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.72;
}

.hero-brief-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 700;
}

.hero-brief-insight {
  display: grid;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-brief-insight span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-brief-insight strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.7;
}

.hero-brief-insight.is-trust strong {
  color: #b7f3d7;
}

.hero-brief-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero-brief-link:hover {
  color: #fff;
  border-color: rgba(var(--hero-focus-accent-rgb), 0.24);
  box-shadow: 0 0 20px rgba(var(--hero-focus-accent-rgb), 0.12);
}

.hero-node-dock {
  display: grid;
  gap: 14px;
}

.living-city-node-list {
  gap: 8px;
}

.living-city-node-pill {
  min-height: 32px;
  padding: 0 12px;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.12em;
}

.living-city-node-pill.is-active {
  background: rgba(var(--hero-focus-accent-rgb), 0.12);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.18);
  box-shadow: 0 0 18px rgba(var(--hero-focus-accent-rgb), 0.1);
}

.hero-node-note {
  margin: -2px 8px 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.75;
}

.hero-home.is-awake .hero-home-backdrop,
.hero-home.is-interacting .hero-home-backdrop,
.hero-home:hover .hero-home-backdrop {
  transform: scale(1.04);
  filter: brightness(0.44) saturate(0.96) contrast(1.05);
}

.hero-home.is-awake #hero-canvas,
.hero-home.is-interacting #hero-canvas,
.hero-home:hover #hero-canvas {
  filter: brightness(0.74) contrast(1.03);
}

@media (max-width: 1100px) {
  .hero-home-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: end;
  }

  .hero-home-copy {
    max-width: 100%;
    padding: 92px 0 18px;
  }

  .hero-atlas-stack {
    width: min(560px, 100%);
    margin-left: 0;
  }

  .hero-depth-label {
    display: none;
  }
}

@media (max-width: 860px) {
  .hero-home {
    min-height: 720px;
  }

  .hero-canvas,
  #hero-canvas {
    height: 680px;
    border-radius: 0 0 34px 34px;
  }

  .mouse-glow {
    width: 360px;
    height: 360px;
    transform: translate3d(calc(var(--mouse-glow-x) - 180px), calc(var(--mouse-glow-y) - 180px), 0);
  }

  .hero-home-copy {
    padding-top: 80px;
  }

  .hero-home-copy h1 {
    font-size: clamp(46px, 12vw, 72px);
  }
}

@media (max-width: 640px) {
  .hero-home-copy p {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-focus-chip {
    flex: 1 1 calc(50% - 10px);
  }

  .hero-actions,
  .hero-thesis-rail,
  .hero-focus-row,
  .hero-slab-footer {
    width: 100%;
  }

  .hero-home-copy h1 {
    font-size: 42px;
  }

  .hero-metric-slab,
  .hero-opportunity-brief-shell,
  .hero-node-dock {
    padding: 20px;
    border-radius: 24px;
  }

  .hero-brief-copy strong {
    font-size: 1.65rem;
  }

  .hero-brief-topline,
  .hero-brief-meta,
  .hero-slab-topline,
  .hero-opportunity-brief-head {
    align-items: flex-start;
  }
}

body[data-page="landing"] .site-header {
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(26, 28, 32, 0.04);
  box-shadow: 0 18px 44px rgba(26, 28, 32, 0.04);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .top-nav {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(26, 28, 32, 0.05);
  box-shadow: 0 18px 46px rgba(26, 28, 32, 0.06);
}

body[data-page="landing"] .nav-link.active,
body[data-page="landing"] .nav-link:hover {
  background: linear-gradient(180deg, rgba(255, 184, 0, 0.15), rgba(255, 122, 0, 0.08));
  border-color: rgba(255, 122, 0, 0.14);
}

body[data-page="landing"] .hero-home {
  padding: 18px 0 28px;
  min-height: 780px;
}

body[data-page="landing"] .hero-canvas,
body[data-page="landing"] #hero-canvas {
  height: 780px;
  border-radius: 0 0 52px 52px;
}

body[data-page="landing"] .hero-home-backdrop {
  filter: brightness(0.68) saturate(0.94);
}

body[data-page="landing"] .hero-home-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 430px);
  gap: 56px;
  align-items: center;
  min-height: 730px;
}

body[data-page="landing"] .hero-home-copy {
  max-width: 720px;
  padding: 112px 0 82px;
}

body[data-page="landing"] .hero-copy-shell {
  display: grid;
  gap: 18px;
}

body[data-page="landing"] .hero-home-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(60px, 8vw, 98px);
  line-height: 0.92;
}

body[data-page="landing"] .hero-home-copy p {
  max-width: 600px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.74);
}

body[data-page="landing"] .hero-lens-dock {
  display: grid;
  gap: 16px;
  width: min(640px, 100%);
  margin-top: 28px;
  padding: 18px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.5), rgba(9, 10, 14, 0.34)),
    rgba(9, 9, 11, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 26px 68px rgba(4, 8, 18, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
}

body[data-page="landing"] .hero-lens-dock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

body[data-page="landing"] .hero-lens-dock-head div {
  display: grid;
  gap: 6px;
}

body[data-page="landing"] .hero-lens-dock-head span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-lens-dock-head strong {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

body[data-page="landing"] .hero-lens-dock-meta {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  white-space: nowrap;
}

body[data-page="landing"] .hero-focus-row {
  margin-top: 0;
  gap: 10px;
}

body[data-page="landing"] .hero-actions {
  margin-top: 24px;
}

body[data-page="landing"] .hero-proof-grid {
  width: min(700px, 100%);
  margin-top: 24px;
}

body[data-page="landing"] .hero-proof-card {
  min-height: 84px;
  background: rgba(8, 10, 14, 0.28);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .hero-story-panel {
  width: min(700px, 100%);
  margin-top: 18px;
}

body[data-page="landing"] .hero-story-panel p {
  max-width: none;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

body[data-page="landing"] .hero-atlas-stack {
  width: min(100%, 430px);
  gap: 18px;
}

body[data-page="landing"] .hero-thesis-panel,
body[data-page="landing"] .hero-node-panel {
  padding: 24px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(20, 23, 30, 0.58), rgba(9, 10, 14, 0.42)),
    rgba(9, 9, 11, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 28px 72px rgba(4, 8, 18, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(28px);
}

body[data-page="landing"] .hero-thesis-panel {
  display: grid;
  gap: 18px;
}

body[data-page="landing"] .hero-thesis-panel-head,
body[data-page="landing"] .hero-node-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

body[data-page="landing"] .hero-thesis-panel-head span,
body[data-page="landing"] .hero-node-panel-head .hero-node-dock-head {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-thesis-panel-head strong {
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-thesis-panel-main,
body[data-page="landing"] .hero-thesis-score-wrap {
  display: grid;
  gap: 12px;
}

body[data-page="landing"] .hero-thesis-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .hero-thesis-subcopy {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  line-height: 1.7;
}

body[data-page="landing"] .hero-node-panel {
  display: grid;
  gap: 16px;
}

body[data-page="landing"] .hero-node-panel-head > div {
  display: grid;
  gap: 6px;
}

body[data-page="landing"] .hero-node-panel-head p {
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.65;
}

body[data-page="landing"] .living-city-node-list {
  gap: 8px;
}

body[data-page="landing"] .market-ticker-item {
  min-height: 32px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .hero-node-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.7;
}

body[data-page="landing"] .section-block {
  padding-top: 82px;
}

body[data-page="landing"] .section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

body[data-page="landing"] .section-heading h2 {
  font-size: clamp(32px, 4vw, 46px);
}

body[data-page="landing"] .role-card,
body[data-page="landing"] .about-stat-card,
body[data-page="landing"] .tip-card {
  border: 1px solid rgba(26, 28, 32, 0.06);
  box-shadow: 0 22px 50px rgba(26, 28, 32, 0.06);
}

body[data-page="landing"] .role-card {
  background: linear-gradient(180deg, #ffffff, #fbfbfc);
}

body[data-page="landing"] .about-map-card,
body[data-page="landing"] .final-cta-card {
  border: 1px solid rgba(26, 28, 32, 0.06);
  box-shadow: 0 26px 58px rgba(26, 28, 32, 0.08);
}

@media (max-width: 1100px) {
  body[data-page="landing"] .hero-home-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
  }

  body[data-page="landing"] .hero-home-copy {
    max-width: 100%;
    padding: 98px 0 14px;
  }

  body[data-page="landing"] .hero-lens-dock,
  body[data-page="landing"] .hero-proof-grid,
  body[data-page="landing"] .hero-story-panel {
    width: 100%;
  }

  body[data-page="landing"] .hero-atlas-stack {
    width: min(640px, 100%);
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  body[data-page="landing"] .hero-home {
    min-height: 720px;
  }

  body[data-page="landing"] .hero-canvas,
  body[data-page="landing"] #hero-canvas {
    height: 700px;
    border-radius: 0 0 38px 38px;
  }

  body[data-page="landing"] .hero-home-copy {
    padding: 86px 0 12px;
  }

  body[data-page="landing"] .hero-home-copy h1 {
    font-size: clamp(50px, 12vw, 74px);
  }

  body[data-page="landing"] .hero-home-copy p {
    font-size: 17px;
  }

  body[data-page="landing"] .hero-proof-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body[data-page="landing"] .hero-home {
    padding-top: 8px;
  }

  body[data-page="landing"] .hero-canvas,
  body[data-page="landing"] #hero-canvas {
    height: 650px;
    border-radius: 0 0 32px 32px;
  }

  body[data-page="landing"] .hero-home-copy h1 {
    font-size: 44px;
  }

  body[data-page="landing"] .hero-home-copy p {
    font-size: 16px;
    line-height: 1.75;
  }

  body[data-page="landing"] .hero-lens-dock,
  body[data-page="landing"] .hero-thesis-panel,
  body[data-page="landing"] .hero-node-panel {
    padding: 18px;
  }

  body[data-page="landing"] .hero-lens-dock-head,
  body[data-page="landing"] .hero-node-panel-head,
  body[data-page="landing"] .hero-thesis-panel-head {
    flex-direction: column;
  }

  body[data-page="landing"] .hero-proof-grid,
  body[data-page="landing"] .final-cta-card .cta-card-actions {
    grid-template-columns: 1fr;
  }
}

body[data-page="property-explorer-terminal"] {
  --site-width: min(1680px, calc(100% - 28px));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #1d2433;
  background:
    radial-gradient(circle at top left, rgba(255, 184, 0, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(67, 143, 255, 0.1), transparent 22%),
    linear-gradient(180deg, #fbfaf6 0%, #f6f8fb 54%, #eef3f8 100%);
}

body[data-page="property-explorer-terminal"]::before {
  display: none;
}

body[data-page="property-explorer-terminal"] h1,
body[data-page="property-explorer-terminal"] h2,
body[data-page="property-explorer-terminal"] h3,
body[data-page="property-explorer-terminal"] h4 {
  color: #1a2231;
}

body[data-page="property-explorer-terminal"] p {
  color: #6d7687;
}

body[data-page="property-explorer-terminal"] .site-header {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(26, 28, 32, 0.06);
  box-shadow: 0 16px 38px rgba(18, 24, 34, 0.06);
  backdrop-filter: blur(20px);
}

body[data-page="property-explorer-terminal"] .nav-shell {
  gap: 18px;
  padding: 10px 0;
}

body[data-page="property-explorer-terminal"] .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 28, 32, 0.08);
  box-shadow: 0 14px 32px rgba(18, 24, 34, 0.08);
}

body[data-page="property-explorer-terminal"] .brand-title,
body[data-page="property-explorer-terminal"] .nav-link.active,
body[data-page="property-explorer-terminal"] .nav-link:hover {
  color: #1a2231;
}

body[data-page="property-explorer-terminal"] .brand-subtitle,
body[data-page="property-explorer-terminal"] .nav-link,
body[data-page="property-explorer-terminal"] .session-chip {
  color: #7b8597;
}

body[data-page="property-explorer-terminal"] .top-nav {
  padding: 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(26, 28, 32, 0.06);
  box-shadow: 0 14px 30px rgba(18, 24, 34, 0.06);
}

body[data-page="property-explorer-terminal"] .nav-link,
body[data-page="property-explorer-terminal"] .session-chip {
  min-height: 38px;
  border-color: transparent;
}

body[data-page="property-explorer-terminal"] .nav-link.active,
body[data-page="property-explorer-terminal"] .nav-link:hover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(var(--role-accent-rgb), 0.18);
  box-shadow: 0 10px 24px rgba(18, 24, 34, 0.06);
}

body[data-page="property-explorer-terminal"] .btn-shell-secondary,
body[data-page="property-explorer-terminal"] .btn-shell-ghost {
  color: #223046;
  border: 1px solid rgba(26, 28, 32, 0.08);
  box-shadow: 0 12px 30px rgba(18, 24, 34, 0.06);
}

body[data-page="property-explorer-terminal"] .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.92);
}

body[data-page="property-explorer-terminal"] .btn-shell-ghost {
  background: rgba(255, 255, 255, 0.72);
}

body[data-page="property-explorer-terminal"] .btn-shell-primary {
  box-shadow: 0 18px 34px rgba(255, 122, 0, 0.22);
}

body[data-page="property-explorer-terminal"] .page-shell.explorer-page {
  flex: 1;
  min-height: 0;
  display: flex;
  padding: 12px 0 16px;
  overflow: hidden;
}

body[data-page="property-explorer-terminal"] .explorer-root-grid {
  flex: 1;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

body[data-page="property-explorer-terminal"] .loading-panel {
  display: grid;
  place-items: center;
  min-height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(26, 28, 32, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 252, 0.94));
  color: #7b8597;
}

body[data-page="property-explorer-terminal"] .score-pill,
body[data-page="property-explorer-terminal"] .status-pill,
body[data-page="property-explorer-terminal"] .tag,
body[data-page="property-explorer-terminal"] .service-chip {
  border: 1px solid rgba(26, 28, 32, 0.08);
}

body[data-page="property-explorer-terminal"] .tag {
  background: rgba(255, 255, 255, 0.84);
  color: #324055;
}

body[data-page="property-explorer-terminal"] .service-chip-live {
  background: rgba(16, 185, 129, 0.1);
  color: #0f8a43;
  border-color: rgba(16, 185, 129, 0.22);
}

body[data-page="property-explorer-terminal"] .service-chip-fallback {
  background: rgba(245, 158, 11, 0.12);
  color: #9a6300;
  border-color: rgba(245, 158, 11, 0.22);
}

body[data-page="property-explorer-terminal"] .service-chip-neutral {
  background: rgba(255, 255, 255, 0.84);
  color: #324055;
  border-color: rgba(26, 28, 32, 0.08);
}

body[data-page="property-explorer-terminal"] .status-pill {
  background: rgba(255, 255, 255, 0.86);
  color: #324055;
}

body[data-page="property-explorer-terminal"] .approval-approved,
body[data-page="property-explorer-terminal"] .verification-verified,
body[data-page="property-explorer-terminal"] .ground-truth-positive {
  border-color: rgba(16, 185, 129, 0.32);
}

body[data-page="property-explorer-terminal"] .approval-pending,
body[data-page="property-explorer-terminal"] .approval-draft,
body[data-page="property-explorer-terminal"] .verification-pending,
body[data-page="property-explorer-terminal"] .verification-partial {
  border-color: rgba(245, 158, 11, 0.3);
}

body[data-page="property-explorer-terminal"] .ground-truth-negative,
body[data-page="property-explorer-terminal"] .approval-rejected,
body[data-page="property-explorer-terminal"] .verification-rejected {
  border-color: rgba(239, 68, 68, 0.3);
}

.explorer-terminal {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  height: 100%;
}

.explorer-terminal-ribbon {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(var(--role-accent-rgb), 0.12);
  background:
    radial-gradient(circle at top right, rgba(var(--role-accent-rgb), 0.12), rgba(var(--role-accent-rgb), 0) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.95));
  box-shadow: 0 24px 54px rgba(18, 24, 34, 0.08);
  overflow: hidden;
}

.explorer-terminal-copy,
.explorer-terminal-ribbon .service-chip-row {
  display: grid;
  gap: 6px;
}

.explorer-terminal-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.explorer-terminal-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.explorer-terminal-title-row h1 {
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.explorer-terminal-count,
.explorer-sidebar-stats strong,
.explorer-intel-section-head strong,
.explorer-pillar-row span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.explorer-terminal-count {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--role-accent-rgb), 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: #314056;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.explorer-terminal-subtitle {
  max-width: 620px;
  margin: 0;
  color: #6f7888;
  font-size: 14px;
  line-height: 1.6;
}

.explorer-lens-pill-row {
  display: flex;
  flex: 1 1 420px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.explorer-lens-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #27272a;
  background: #18181b;
  color: #a1a1aa;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.explorer-lens-pill:hover,
.explorer-lens-pill.active {
  color: #fafafa;
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.12);
}

.explorer-lens-pill-icon {
  font-size: 13px;
}

.explorer-ribbon-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.explorer-ribbon-controls {
  display: grid;
  gap: 10px;
  justify-items: end;
  width: min(320px, 100%);
}

.explorer-ribbon-select {
  display: grid;
  gap: 6px;
  width: 100%;
}

.explorer-ribbon-select > span {
  color: #7c8698;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.explorer-ribbon-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.explorer-ribbon-meta-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--role-accent-rgb), 0.12);
  background: rgba(255, 255, 255, 0.76);
  color: #4b5a70;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.explorer-ribbon-link {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.explorer-workspace {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  gap: 12px;
  overflow: hidden;
}

.explorer-sidebar,
.explorer-map-pane,
.explorer-intel-drawer {
  border: 1px solid rgba(var(--role-accent-rgb), 0.12);
  background:
    radial-gradient(circle at top right, rgba(var(--role-accent-rgb), 0.08), rgba(var(--role-accent-rgb), 0) 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.95));
  box-shadow: 0 24px 56px rgba(18, 24, 34, 0.08);
}

.explorer-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
  flex: 0 0 344px;
  width: 344px;
  min-width: 344px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 24px;
  padding: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--role-accent-rgb), 0.34) rgba(255, 255, 255, 0.4);
}

.explorer-sidebar-sticky {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  gap: 14px;
  padding-bottom: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 82%, rgba(255, 255, 255, 0) 100%);
}

.explorer-sidebar-head,
.explorer-intel-drawer-head,
.explorer-intel-section-head,
.explorer-inline-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.explorer-sidebar-head h2 {
  font-size: 28px;
  line-height: 1.02;
}

.explorer-sidebar-head strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(var(--role-accent-rgb), 0.12);
  background: rgba(255, 255, 255, 0.88);
  color: #324055;
  font-size: 13px;
}

.explorer-filter-grid,
.explorer-card-stack,
.explorer-inline-results,
.explorer-inline-results-list,
.explorer-sidebar-stats,
.explorer-lens-metric-list,
.explorer-pillar-list,
.explorer-field-audit-list,
.explorer-intel-meta-grid,
.explorer-intel-chip-row,
.explorer-intel-facts,
.explorer-intel-actions {
  display: grid;
  gap: 10px;
}

.explorer-filter-grid {
  gap: 12px;
}

body[data-page="property-explorer-terminal"] .form-shell {
  color: #304056;
  font-size: 12px;
  font-weight: 600;
}

body[data-page="property-explorer-terminal"] .form-shell > span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #7c8698;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="property-explorer-terminal"] .input-shell {
  min-height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(var(--role-accent-rgb), 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 252, 0.94));
  color: #1e2735;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 22px rgba(18, 24, 34, 0.04);
}

body[data-page="property-explorer-terminal"] .input-shell::placeholder {
  color: #9aa4b5;
}

body[data-page="property-explorer-terminal"] .input-shell:focus {
  border-color: rgba(var(--role-accent-rgb), 0.28);
  box-shadow:
    0 0 0 4px rgba(var(--role-accent-rgb), 0.12),
    0 18px 38px rgba(18, 24, 34, 0.08);
}

.explorer-location-field .split-input {
  display: flex;
  gap: 10px;
}

.explorer-location-field .btn-shell {
  min-height: 46px;
}

.explorer-sidebar-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.explorer-sidebar-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(var(--role-accent-rgb), 0.1);
  background: rgba(255, 255, 255, 0.84);
  color: #425168;
  font-size: 11px;
  font-weight: 600;
}

.explorer-location-note {
  margin: 0;
  color: #768194;
  font-size: 12px;
  line-height: 1.6;
}

.explorer-listing-note {
  padding-bottom: 2px;
}

.explorer-sidebar-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.explorer-sidebar-stats article,
.explorer-intel-facts > div,
.explorer-intel-meta-grid > div,
.explorer-field-audit-list article {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(var(--role-accent-rgb), 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.explorer-sidebar-stats span,
.explorer-intel-facts span,
.explorer-intel-meta-grid span,
.explorer-field-audit-list span,
.explorer-inline-results-head span,
.explorer-map-hud-copy span,
.explorer-intel-section-head span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7f8898;
}

.explorer-sidebar-stats strong,
.explorer-intel-facts strong,
.explorer-intel-meta-grid strong,
.explorer-field-audit-list strong,
.explorer-inline-results-head strong,
.explorer-map-hud-copy strong {
  color: #223046;
  font-size: 13px;
}

.explorer-inline-results {
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(var(--role-accent-rgb), 0.08);
  background: rgba(255, 255, 255, 0.74);
}

.explorer-inline-result {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 12px;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(26, 28, 32, 0.08);
  background: rgba(255, 255, 255, 0.9);
  color: #233148;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.explorer-inline-result:hover,
.explorer-inline-result.is-active {
  border-color: rgba(var(--role-accent-rgb), 0.18);
  background: rgba(var(--role-accent-rgb), 0.08);
}

.explorer-inline-result span,
.explorer-inline-note,
.explorer-list-empty span,
.property-card-compact-heading p,
.property-card-compact-thesis,
.explorer-intel-copy,
.explorer-lens-metric-row small,
.explorer-pillar-row small {
  color: #758094;
}

.explorer-inline-note,
.explorer-list-empty,
.explorer-intel-empty {
  padding: 14px;
  border-radius: 16px;
  border: 1px dashed rgba(var(--role-accent-rgb), 0.18);
  background: rgba(255, 255, 255, 0.64);
  line-height: 1.6;
}

.explorer-list-empty {
  display: grid;
  gap: 6px;
}

.explorer-inline-result strong,
.explorer-list-empty strong {
  color: #223046;
  font-size: 13px;
}

.property-card.property-card-compact {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(var(--role-accent-rgb), 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.94));
  box-shadow: none;
  color: #223046;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.property-card.property-card-compact:hover,
.property-card.property-card-compact:focus-visible,
.property-card.property-card-compact.is-active {
  border-color: rgba(var(--role-accent-rgb), 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 243, 234, 0.94));
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(18, 24, 34, 0.08);
}

.property-card.property-card-compact:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(var(--role-accent-rgb), 0.16);
}

.property-card-compact-media {
  min-height: 104px;
  border-radius: 16px;
  overflow: hidden;
  background: #e5ebf3;
}

.property-card-compact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card-compact-body,
.property-card-compact-heading {
  display: grid;
  gap: 6px;
}

.property-card-compact-top,
.property-card-compact-status,
.property-card-compact-facts,
.property-card-compact-tags,
.explorer-intel-chip-row,
.explorer-intel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-card-compact-top {
  align-items: flex-start;
  justify-content: space-between;
}

.property-card-compact-heading h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.15;
}

.property-card-compact-heading p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.property-card-compact-score .score-pill {
  min-height: 32px;
  padding: 0 10px;
  white-space: nowrap;
}

.property-card-compact-facts span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 11px;
  color: #60708a;
}

.property-card-compact-thesis {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}

.property-card-compact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 4px;
}

.property-card-compact-actions .btn-shell {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.property-card-compact-actions .btn-shell-primary {
  grid-column: 1 / -1;
}

.explorer-map-pane {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
}

.explorer-map-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.explorer-terminal-map,
body[data-page="property-explorer-terminal"] .explorer-map {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: #e8eef5;
}

.explorer-map-hud {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 5;
  display: flex;
  gap: 10px;
  pointer-events: none;
}

.explorer-map-hud-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(26, 28, 32, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 28px rgba(18, 24, 34, 0.08);
}

.explorer-map-hud-copy.is-secondary {
  margin-left: auto;
  text-align: right;
}

.explorer-selection-card {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 6;
  width: min(420px, calc(100% - 40px));
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(var(--role-accent-rgb), 0.16);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.98), rgba(247, 241, 230, 0.96));
  box-shadow: 0 28px 64px rgba(18, 24, 34, 0.18);
  color: #161b25;
}

.explorer-selection-card.is-empty {
  padding: 20px;
  gap: 10px;
}

.explorer-selection-card.is-empty h2,
.explorer-selection-card.is-empty p {
  color: #161b25;
}

.explorer-selection-media {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: #d9dee6;
}

.explorer-selection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explorer-selection-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.explorer-selection-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.explorer-selection-head h2 {
  font-size: 28px;
  line-height: 0.98;
  color: #131822;
}

.explorer-selection-head p {
  margin-top: 6px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.explorer-selection-score {
  flex: 0 0 auto;
}

.explorer-selection-card .score-pill,
.explorer-selection-card .status-pill {
  border-color: rgba(17, 24, 39, 0.08);
}

.explorer-selection-tags,
.explorer-selection-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.explorer-selection-tag,
.explorer-selection-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: rgba(255, 255, 255, 0.68);
  color: #283142;
  font-size: 12px;
  font-weight: 600;
}

.explorer-selection-story {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.7;
}

.explorer-selection-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.explorer-selection-actions .btn-shell {
  min-height: 40px;
  padding: 0 12px;
}

.explorer-selection-actions .btn-shell-primary {
  grid-column: 1 / -1;
}

.explorer-selection-link {
  color: #7c4a03;
  font-size: 12px;
  font-weight: 700;
}

.explorer-drawer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 9;
  opacity: 0;
  pointer-events: none;
  background: rgba(2, 6, 23, 0.38);
  transition: opacity 0.3s ease;
}

.explorer-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.explorer-intel-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  width: 450px;
  max-width: 100%;
  border-left: 1px solid #27272a;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -24px 0 48px rgba(0, 0, 0, 0.32);
}

.explorer-intel-drawer.drawer-open {
  transform: translateX(0);
}

.explorer-intel-drawer-scroll {
  height: 100%;
  overflow-y: auto;
  padding: 16px;
  display: grid;
  gap: 16px;
  scrollbar-width: thin;
  scrollbar-color: #3f3f46 #09090b;
}

.explorer-intel-drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-bottom: 12px;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.98) 0%, rgba(9, 9, 11, 0.98) 82%, rgba(9, 9, 11, 0) 100%);
}

.explorer-intel-drawer-head h2 {
  font-size: 20px;
}

.explorer-intel-drawer-head p {
  margin-top: 6px;
}

.explorer-drawer-close,
.explorer-mobile-tab {
  border: 1px solid rgba(26, 28, 32, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: #223046;
}

.explorer-drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.explorer-intel-media {
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #27272a;
  background: #18181b;
}

.explorer-intel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explorer-intel-chip-row {
  display: flex;
}

.explorer-intel-facts,
.explorer-intel-meta-grid,
.explorer-field-audit-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.explorer-intel-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid #27272a;
  background: #111114;
}

.explorer-intel-copy {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.explorer-intel-copy.is-muted {
  color: #71717a;
}

.explorer-score-breakdown {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.explorer-score-breakdown .command-score-card {
  border-radius: 16px;
  padding: 14px;
}

.explorer-score-breakdown .command-score-card strong {
  font-size: 22px;
}

.explorer-lens-metric-row {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid #27272a;
  background: #09090b;
}

.explorer-lens-metric-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.explorer-lens-metric-head strong {
  font-size: 13px;
  color: #fafafa;
}

.explorer-lens-metric-head span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #fbbf24;
}

.explorer-lens-metric-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid #27272a;
  background: #18181b;
}

.explorer-lens-metric-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.explorer-pillar-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid #27272a;
  background: #09090b;
}

.explorer-pillar-row strong {
  display: block;
  color: #fafafa;
  margin-bottom: 4px;
}

.explorer-pillar-row.readiness-strong {
  border-color: rgba(16, 185, 129, 0.28);
}

.explorer-pillar-row.readiness-neutral {
  border-color: rgba(99, 102, 241, 0.28);
}

.explorer-pillar-row.readiness-incomplete,
.explorer-pillar-row.readiness-warning {
  border-color: rgba(245, 158, 11, 0.28);
}

.explorer-intel-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.explorer-intel-actions .btn-shell {
  min-height: 40px;
  padding: 0 12px;
}

.explorer-mobile-nav {
  display: none;
}

body[data-page="property-explorer-terminal"] .leaflet-control-zoom a {
  border-bottom-color: rgba(26, 28, 32, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: #223046;
}

body[data-page="property-explorer-terminal"] .leaflet-control-zoom a:hover {
  background: rgba(255, 255, 255, 1);
  color: #1a2231;
}

body[data-page="property-explorer-terminal"] .leaflet-bar {
  border: 1px solid rgba(26, 28, 32, 0.08);
  box-shadow: 0 14px 28px rgba(18, 24, 34, 0.08);
}

body[data-page="property-explorer-terminal"] .leaflet-popup-content-wrapper,
body[data-page="property-explorer-terminal"] .maplibregl-popup-content,
body[data-page="property-explorer-terminal"] .leaflet-popup-tip,
body[data-page="property-explorer-terminal"] .maplibregl-popup-tip {
  border: 1px solid rgba(26, 28, 32, 0.08);
  background: rgba(255, 255, 255, 0.98);
  color: #223046;
  box-shadow: 0 18px 40px rgba(18, 24, 34, 0.14);
}

body[data-page="property-explorer-terminal"] .map-popup-card strong {
  color: #223046;
}

body[data-page="property-explorer-terminal"] .map-popup-card span {
  color: #6f7888;
}

body[data-page="property-explorer-terminal"] .map-popup-kicker {
  color: #9a6300;
}

@media (max-width: 1280px) {
  .explorer-terminal-ribbon {
    flex-direction: column;
  }

  .explorer-ribbon-controls {
    width: 100%;
    justify-items: start;
  }

  .explorer-ribbon-meta {
    justify-content: flex-start;
  }

  .explorer-ribbon-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1024px) {
  .explorer-sidebar {
    flex-basis: 340px;
    width: 340px;
    min-width: 340px;
  }

  .explorer-intel-drawer {
    left: 0;
    right: auto;
    width: min(100%, 380px);
    border-left: 0;
    border-right: 1px solid #27272a;
    transform: translateX(-100%);
    box-shadow: 24px 0 48px rgba(0, 0, 0, 0.32);
  }

  .explorer-intel-drawer.drawer-open {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  body[data-page="property-explorer-terminal"] {
    --site-width: calc(100% - 16px);
  }

  body[data-page="property-explorer-terminal"] .page-shell.explorer-page {
    padding: 8px 0;
  }

  .explorer-terminal {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .explorer-terminal-ribbon,
  .explorer-sidebar,
  .explorer-map-pane {
    border-radius: 20px;
  }

  .explorer-terminal-ribbon {
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .explorer-ribbon-controls {
    width: 100%;
    justify-items: stretch;
  }

  .explorer-ribbon-actions {
    justify-content: stretch;
  }

  .explorer-ribbon-actions .btn-shell {
    flex: 1 1 calc(50% - 4px);
  }

  .explorer-workspace {
    min-height: 0;
  }

  .explorer-sidebar,
  .explorer-map-pane {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 100%;
  }

  .explorer-sidebar,
  .explorer-map-pane {
    display: none;
  }

  .explorer-terminal.mobile-view-list .explorer-sidebar {
    display: grid;
  }

  .explorer-terminal.mobile-view-map .explorer-map-pane {
    display: block;
  }

  .explorer-selection-card {
    right: 12px;
    bottom: 12px;
    width: min(360px, calc(100% - 24px));
  }

  .explorer-selection-head {
    flex-direction: column;
  }

  .explorer-mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(248, 250, 253, 0.96) 34%);
  }

  .explorer-mobile-tab {
    min-height: 48px;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
  }

  .explorer-mobile-tab.is-active {
    border-color: rgba(var(--role-accent-rgb), 0.22);
    background: rgba(var(--role-accent-rgb), 0.12);
    color: #223046;
  }

  .explorer-drawer-backdrop {
    position: fixed;
    inset: 0;
  }

  .explorer-intel-drawer {
    position: fixed;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: auto;
    height: min(78vh, 680px);
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #27272a;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.36);
  }

  .explorer-intel-drawer.drawer-open {
    transform: translateY(0);
  }

  .explorer-intel-drawer-scroll {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 640px) {
  .explorer-sidebar-stats,
  .explorer-score-breakdown,
  .explorer-intel-facts,
  .explorer-intel-meta-grid,
  .explorer-field-audit-list,
  .explorer-intel-actions {
    grid-template-columns: 1fr;
  }

  .property-card.property-card-compact {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .property-card-compact-actions,
  .explorer-selection-actions {
    grid-template-columns: 1fr;
  }

  .property-card-compact-actions .btn-shell-primary,
  .explorer-selection-actions .btn-shell-primary {
    grid-column: auto;
  }

  .explorer-map-hud {
    flex-direction: column;
    right: auto;
    width: min(260px, calc(100% - 32px));
  }

  .explorer-map-hud-copy.is-secondary {
    margin-left: 0;
    text-align: left;
  }
}

/* Explorer marketplace refresh */
body[data-page="property-explorer-terminal"] {
  --site-width: min(1720px, calc(100% - 28px));
  color: #162033;
  background:
    radial-gradient(circle at top left, rgba(255, 183, 77, 0.14), transparent 24%),
    linear-gradient(180deg, #f8f7f3 0%, #f2f4f7 100%);
}

body[data-page="property-explorer-terminal"] .page-shell.explorer-page {
  padding: 18px 0 24px;
  overflow: visible;
}

body[data-page="property-explorer-terminal"] .explorer-root-grid {
  overflow: visible;
}

.explorer-market-shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
  border-radius: 36px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(18px);
}

.explorer-market-ribbon {
  gap: 20px;
  padding: 4px 4px 20px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.explorer-market-ribbon-head,
.explorer-market-ribbon-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.explorer-market-ribbon-copy {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.explorer-market-ribbon-copy h1 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.explorer-market-ribbon-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #6d7687;
}

.explorer-market-ribbon-copy p strong {
  color: #182233;
}

.explorer-market-ribbon-summary {
  display: grid;
  gap: 12px;
  min-width: 290px;
  justify-items: end;
}

.explorer-market-summary-pill {
  width: 100%;
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 248, 245, 0.98));
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.explorer-market-summary-pill span,
.explorer-results-count,
.explorer-card-stack-head span,
.explorer-market-status-chip,
.property-card-compact-price span,
.property-card-compact-area,
.explorer-selection-price-row span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.explorer-market-summary-pill span {
  color: #8b94a6;
}

.explorer-market-summary-pill strong {
  color: #152033;
  font-size: 15px;
  line-height: 1.2;
}

.explorer-market-ribbon-bar {
  align-items: center;
}

.explorer-market-chip-row {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 10px;
}

.explorer-lens-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  color: #213045;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.explorer-lens-chip:hover,
.explorer-lens-chip:focus-visible,
.explorer-lens-chip.is-active {
  transform: translateY(-2px);
  border-color: rgba(var(--role-accent-rgb), 0.22);
  background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(255, 243, 226, 0.98));
  box-shadow: 0 18px 34px rgba(255, 153, 0, 0.14);
}

.explorer-lens-chip:focus-visible {
  outline: none;
}

.explorer-lens-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fffaf0;
  font-size: 16px;
}

.explorer-lens-chip-copy {
  display: grid;
  gap: 2px;
  text-align: left;
}

.explorer-lens-chip-copy strong {
  color: #182233;
  font-size: 13px;
  line-height: 1.1;
}

.explorer-lens-chip-copy small {
  color: #7d8798;
  font-size: 11px;
  line-height: 1.35;
}

.explorer-market-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.explorer-market-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(248, 250, 252, 0.92);
  color: #5f6d83;
}

.explorer-workspace {
  gap: 24px;
  padding-top: 24px;
  overflow: visible;
}

.explorer-sidebar,
.explorer-map-pane {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.explorer-sidebar {
  flex: 0 0 486px;
  width: 486px;
  min-width: 486px;
  padding: 0 8px 0 0;
  border-radius: 0;
}

.explorer-sidebar-sticky {
  top: 0;
  gap: 18px;
  padding-bottom: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 78%, rgba(255, 255, 255, 0) 100%);
}

.explorer-results-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.explorer-results-toolbar h2 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.explorer-results-toolbar p {
  max-width: 410px;
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.explorer-results-count {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 176, 42, 0.28);
  background: #fff7e8;
  color: #945607;
  white-space: nowrap;
}

.explorer-filter-panel,
.explorer-inline-results {
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 247, 0.98));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.explorer-filter-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.explorer-filter-span {
  grid-column: 1 / -1;
}

body[data-page="property-explorer-terminal"] .form-shell {
  gap: 8px;
}

body[data-page="property-explorer-terminal"] .input-shell {
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid #dde3ea;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 8px 20px rgba(15, 23, 42, 0.03);
}

body[data-page="property-explorer-terminal"] .input-shell:focus {
  border-color: rgba(var(--role-accent-rgb), 0.26);
  box-shadow:
    0 0 0 4px rgba(var(--role-accent-rgb), 0.11),
    0 18px 40px rgba(15, 23, 42, 0.08);
}

.explorer-location-field .split-input {
  gap: 10px;
}

.explorer-location-field .split-input .input-shell {
  flex: 1 1 auto;
}

.explorer-location-field .btn-shell.btn-shell-secondary {
  min-height: 52px;
  padding: 0 18px;
  border-color: #111827;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.16);
}

.explorer-sidebar-summary {
  gap: 10px;
  margin-top: 16px;
}

.explorer-sidebar-summary span {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e3e7ed;
  background: #f7f8fa;
  color: #506077;
  font-weight: 600;
}

.explorer-inline-results-head {
  margin-bottom: 10px;
}

.explorer-inline-results-list {
  display: grid;
  gap: 10px;
}

.explorer-inline-result {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #e2e8ef;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.explorer-inline-result:hover,
.explorer-inline-result.is-active {
  border-color: rgba(var(--role-accent-rgb), 0.22);
  background: #fffaf2;
}

.explorer-list-empty {
  padding: 14px;
  border-radius: 18px;
  border: 1px dashed #d7dde5;
  background: #fcfcfa;
}

.explorer-card-stack {
  gap: 16px;
}

.explorer-card-stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.explorer-card-stack-head strong {
  color: #182233;
  font-size: 18px;
}

.explorer-card-stack-head span {
  color: #7d8798;
}

.explorer-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.property-card.property-card-compact {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
  transform: none;
}

.property-card.property-card-compact:hover,
.property-card.property-card-compact:focus-visible,
.property-card.property-card-compact.is-active {
  border-color: rgba(var(--role-accent-rgb), 0.22);
  background: #ffffff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.property-card.property-card-compact:focus-visible {
  outline: none;
}

.property-card-compact-media {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 0;
  background: #e8edf4;
}

.property-card-compact-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.24));
  pointer-events: none;
}

.property-card-compact-score {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1;
}

.property-card-compact-score .score-pill {
  min-height: 34px;
  padding: 0 11px;
}

.property-card-compact-body {
  gap: 12px;
  padding: 16px;
}

.property-card-compact-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.property-card-compact-price {
  display: grid;
  gap: 4px;
}

.property-card-compact-price strong {
  color: #182233;
  font-size: 20px;
  line-height: 1;
}

.property-card-compact-price span,
.property-card-compact-area {
  color: #8a93a4;
}

.property-card-compact-area {
  padding-top: 2px;
}

.property-card-compact-heading {
  gap: 5px;
}

.property-card-compact-heading h3 {
  font-size: 19px;
  line-height: 1.12;
}

.property-card-compact-heading p {
  font-size: 12px;
  line-height: 1.5;
}

.property-card-compact-facts {
  gap: 6px;
}

.property-card-compact-facts span {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f6f8fb;
  color: #60708a;
  font-size: 11px;
}

.property-card-compact-thesis {
  font-size: 13px;
  line-height: 1.65;
}

.property-card-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.property-card-compact-link,
.explorer-selection-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #dbe2ea;
  background: #ffffff;
  color: #1c2a3e;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.property-card-compact-link:hover,
.property-card-compact-link:focus-visible,
.explorer-selection-button:hover,
.explorer-selection-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(var(--role-accent-rgb), 0.24);
  background: #fff8ef;
  outline: none;
}

.property-card-compact-link,
.explorer-selection-button {
  flex: 1 1 calc(50% - 4px);
}

.property-card-compact-link.is-primary,
.explorer-selection-button.is-primary {
  flex-basis: 100%;
  border-color: rgba(255, 160, 22, 0.28);
  background: linear-gradient(180deg, #ffb848, #ff9827);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(255, 152, 39, 0.2);
}

.explorer-map-pane {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 720px;
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(245, 247, 250, 0.98), rgba(236, 241, 246, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 26px 54px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.explorer-map-stage {
  height: 100%;
}

.explorer-map-hud {
  top: 20px;
  left: 20px;
  right: 20px;
}

.explorer-map-hud-copy {
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.explorer-map-hud-copy strong {
  font-size: 14px;
}

.explorer-selection-card {
  right: 22px;
  bottom: 22px;
  width: min(392px, calc(100% - 44px));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(16px);
}

.explorer-selection-media {
  aspect-ratio: 16 / 9;
}

.explorer-selection-body {
  gap: 14px;
  padding: 18px;
}

.explorer-selection-eyebrow,
.explorer-selection-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.explorer-selection-head h2 {
  font-size: 26px;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.explorer-selection-head p {
  margin-top: 4px;
}

.explorer-selection-price-row strong {
  color: #182233;
  font-size: 24px;
  line-height: 1;
}

.explorer-selection-price-row span {
  color: #8a93a4;
}

.explorer-selection-tags,
.explorer-selection-facts {
  gap: 8px;
}

.explorer-selection-tag,
.explorer-selection-facts span {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e1e7ef;
  background: #f8fafc;
  color: #304056;
}

.explorer-selection-story {
  color: #5d687b;
  line-height: 1.7;
}

.explorer-selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.explorer-selection-link {
  color: #8b5a08;
  font-size: 12px;
  font-weight: 700;
}

.explorer-mobile-tab {
  border-radius: 999px;
}

body[data-page="property-explorer-terminal"] .leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 1480px) {
  .explorer-sidebar {
    flex-basis: 450px;
    width: 450px;
    min-width: 450px;
  }
}

@media (max-width: 1320px) {
  .explorer-market-ribbon-head,
  .explorer-market-ribbon-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .explorer-market-ribbon-summary {
    width: 100%;
    justify-items: stretch;
  }

  .explorer-ribbon-actions,
  .explorer-market-status {
    justify-content: flex-start;
  }

  .explorer-results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .explorer-sidebar {
    flex-basis: 408px;
    width: 408px;
    min-width: 408px;
  }
}

@media (max-width: 768px) {
  body[data-page="property-explorer-terminal"] {
    --site-width: calc(100% - 16px);
  }

  body[data-page="property-explorer-terminal"] .page-shell.explorer-page {
    padding: 10px 0 22px;
  }

  .explorer-terminal {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  .explorer-market-shell {
    padding: 14px;
    border-radius: 28px;
  }

  .explorer-market-ribbon {
    padding: 2px 2px 16px;
  }

  .explorer-market-ribbon-copy h1 {
    font-size: 34px;
  }

  .explorer-market-chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .explorer-workspace {
    padding-top: 18px;
    gap: 18px;
  }

  .explorer-sidebar,
  .explorer-map-pane {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding-right: 0;
    display: none;
  }

  .explorer-map-pane {
    min-height: 68vh;
  }

  .explorer-terminal.mobile-view-list .explorer-sidebar {
    display: grid;
  }

  .explorer-terminal.mobile-view-map .explorer-map-pane {
    display: block;
  }

  .explorer-results-toolbar,
  .explorer-filter-grid,
  .explorer-selection-eyebrow,
  .explorer-selection-price-row {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .explorer-selection-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .explorer-map-hud {
    top: 14px;
    left: 14px;
    right: 14px;
    flex-direction: column;
    width: auto;
  }

  .explorer-map-hud-copy.is-secondary {
    margin-left: 0;
    text-align: left;
  }

  .explorer-mobile-nav {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 30;
    width: min(360px, calc(100% - 24px));
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    transform: translateX(-50%);
  }

  .explorer-mobile-tab {
    min-height: 48px;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
  }

  .explorer-mobile-tab.is-active {
    background: #111827;
    color: #ffffff;
  }
}

@media (max-width: 640px) {
  .explorer-market-summary-pill {
    min-width: 0;
  }

  .explorer-filter-panel,
  .explorer-inline-results {
    padding: 16px;
    border-radius: 24px;
  }

  .explorer-results-grid {
    grid-template-columns: 1fr;
  }

  .property-card-compact-link,
  .explorer-selection-button {
    flex-basis: 100%;
  }

  .explorer-selection-actions {
    flex-direction: column;
  }
}

/* Explorer filter panel polish */
.explorer-filter-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 183, 77, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 253, 0.98));
}

.explorer-filter-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.explorer-filter-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.explorer-filter-panel-copy {
  display: grid;
  gap: 4px;
}

.explorer-filter-panel-copy strong {
  color: #182233;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.explorer-filter-panel-accent {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 183, 77, 0.28);
  background: rgba(255, 248, 236, 0.92);
  color: #8a5906;
  font-size: 11px;
  font-weight: 800;
}

.explorer-filter-panel-accent span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.explorer-filter-panel-accent .ui-icon {
  width: 14px;
  height: 14px;
}

.explorer-filter-grid {
  position: relative;
  z-index: 1;
}

.explorer-filter-card {
  padding: 12px;
  border-radius: 20px;
  background: rgba(247, 250, 252, 0.76);
  border: 1px solid rgba(226, 233, 241, 0.9);
}

.explorer-input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.explorer-input-icon {
  position: absolute;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #94a0b4;
  pointer-events: none;
}

.explorer-input-icon .ui-icon {
  width: 16px;
  height: 16px;
}

.explorer-input-with-icon .input-shell {
  padding-left: 46px;
}

.explorer-location-field .split-input {
  align-items: stretch;
}

.explorer-location-field .explorer-input-with-icon {
  flex: 1 1 auto;
}

.explorer-location-field .btn-shell.btn-shell-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 128px;
  border-radius: 18px;
  background: linear-gradient(180deg, #1f2937, #111827);
  box-shadow: 0 16px 28px rgba(17, 24, 39, 0.14);
}

.explorer-location-field .btn-shell.btn-shell-secondary .ui-icon {
  width: 15px;
  height: 15px;
}

.explorer-sidebar-summary-filters {
  position: relative;
  z-index: 1;
  margin-top: 14px;
}

.explorer-sidebar-summary-filters span {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(222, 229, 238, 0.95);
}

.explorer-filter-note {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: #748196;
  font-size: 12px;
  line-height: 1.55;
}

.explorer-filter-note .ui-icon {
  width: 15px;
  height: 15px;
  color: #93a0b3;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .explorer-filter-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .explorer-filter-card {
    padding: 0;
    border: 0;
    background: transparent;
  }

  .explorer-location-field .btn-shell.btn-shell-secondary {
    min-width: 112px;
  }
}

/* Explorer minimal refinement */
body[data-page="property-explorer-terminal"] {
  --site-width: min(1460px, calc(100% - 32px));
  background:
    radial-gradient(circle at top left, rgba(255, 184, 79, 0.1), transparent 22%),
    linear-gradient(180deg, #faf9f6 0%, #f4f6f9 100%);
}

body[data-page="property-explorer-terminal"] .page-shell.explorer-page {
  padding: 14px 0 20px;
}

.explorer-market-shell {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 18px 20px 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.08);
}

.explorer-market-ribbon {
  gap: 14px;
  padding: 2px 0 16px;
}

.explorer-market-ribbon-head {
  align-items: center;
  gap: 16px;
}

.explorer-market-ribbon-copy {
  max-width: 500px;
  gap: 6px;
}

.explorer-market-ribbon-copy h1 {
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.explorer-market-ribbon-copy p {
  max-width: 500px;
  font-size: 13px;
  line-height: 1.6;
}

.explorer-market-ribbon-summary {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.explorer-market-summary-pill {
  width: auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #e3e8ef;
  background: #f7f9fb;
  color: #56657b;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.explorer-market-ribbon-bar {
  gap: 12px;
}

.explorer-market-chip-row {
  gap: 8px;
  padding-bottom: 2px;
}

.explorer-lens-chip {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #e1e7ee;
  background: #f8fafc;
  box-shadow: none;
  color: #44546a;
  font-size: 12px;
  font-weight: 700;
}

.explorer-lens-chip:hover,
.explorer-lens-chip:focus-visible,
.explorer-lens-chip.is-active {
  transform: translateY(-1px);
  border-color: rgba(var(--role-accent-rgb), 0.24);
  background: #fff7ed;
  box-shadow: none;
}

.explorer-market-status {
  margin-left: auto;
}

.explorer-market-status-chip {
  min-height: 34px;
  padding: 0 12px;
  background: #f7f9fb;
  border-color: #e3e8ef;
  color: #56657b;
  font-size: 12px;
}

.explorer-ribbon-actions {
  gap: 8px;
}

.explorer-ribbon-link {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.explorer-workspace.explorer-workspace-minimal {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  padding-top: 20px;
}

.explorer-sidebar {
  width: auto;
  min-width: 0;
  padding: 0;
}

.explorer-sidebar-sticky {
  gap: 14px;
  padding-bottom: 14px;
}

.explorer-results-toolbar {
  gap: 12px;
}

.explorer-results-toolbar h2 {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.04em;
}

.explorer-results-toolbar p {
  max-width: 340px;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.58;
}

.explorer-results-count {
  min-height: 34px;
  padding: 0 12px;
}

.explorer-filter-panel,
.explorer-inline-results {
  padding: 16px;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.explorer-filter-grid {
  gap: 12px;
}

body[data-page="property-explorer-terminal"] .input-shell {
  min-height: 48px;
  border-radius: 16px;
}

.explorer-location-field .btn-shell.btn-shell-secondary {
  min-height: 48px;
  border-radius: 16px;
  box-shadow: none;
}

.explorer-sidebar-summary {
  margin-top: 12px;
  gap: 8px;
}

.explorer-filter-note {
  margin: 10px 0 0;
  color: #778296;
  font-size: 12px;
  line-height: 1.55;
}

.explorer-inline-results {
  background: #fbfcfd;
}

.explorer-inline-results-head {
  margin-bottom: 8px;
}

.explorer-inline-result {
  padding: 12px;
  border-radius: 16px;
  box-shadow: none;
}

.explorer-card-stack {
  gap: 12px;
}

.explorer-card-stack-head strong {
  font-size: 16px;
}

.explorer-results-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.property-card.property-card-compact {
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: stretch;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.property-card.property-card-compact:hover,
.property-card.property-card-compact:focus-visible,
.property-card.property-card-compact.is-active {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.property-card-compact-media {
  aspect-ratio: auto;
  min-height: 100%;
  height: 100%;
  border-radius: 22px 0 0 22px;
}

.property-card-compact-media::after {
  display: none;
}

.property-card-compact-media img {
  height: 100%;
}

.property-card-compact-body {
  gap: 10px;
  padding: 14px 16px;
}

.property-card-compact-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.property-card-compact-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #8b94a6;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-card-compact-heading {
  gap: 4px;
}

.property-card-compact-heading h3 {
  font-size: 17px;
  line-height: 1.15;
}

.property-card-compact-heading p {
  margin: 0;
  font-size: 12px;
}

.property-card-compact-price {
  display: grid;
  gap: 4px;
  text-align: right;
}

.property-card-compact-price strong {
  color: #182233;
  font-size: 17px;
  line-height: 1;
}

.property-card-compact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.property-card-compact-score {
  position: static;
  inset: auto;
  z-index: auto;
}

.property-card-compact-meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f6f8fb;
  color: #60708a;
  font-size: 11px;
}

.property-card-compact-score .score-pill {
  min-height: 28px;
  padding: 0 10px;
}

.property-card-compact-thesis {
  font-size: 13px;
  line-height: 1.58;
}

.property-card-compact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 0;
}

.property-card-compact-link {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
  box-shadow: none;
}

.property-card-compact-link.is-primary {
  flex-basis: auto;
  min-width: 120px;
}

.explorer-support-rail {
  display: grid;
  gap: 16px;
  width: min(100%, 680px);
  justify-self: start;
}

.explorer-selection-card {
  position: static;
  width: auto;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.explorer-selection-card.is-empty {
  grid-template-columns: 1fr;
  padding: 18px;
}

.explorer-selection-media {
  aspect-ratio: auto;
  min-height: 100%;
  background: #edf1f5;
}

.explorer-selection-media img {
  height: 100%;
}

.explorer-selection-body {
  gap: 10px;
  padding: 16px;
}

.explorer-selection-head {
  align-items: flex-start;
}

.explorer-selection-score {
  flex: 0 0 auto;
}

.explorer-selection-head h2 {
  font-size: 21px;
  letter-spacing: -0.035em;
}

.explorer-selection-head p {
  margin-top: 4px;
  font-size: 12px;
}

.explorer-selection-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.explorer-selection-meta strong {
  color: #182233;
  font-size: 18px;
  line-height: 1;
}

.explorer-selection-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e3e8ef;
  background: #f7f9fb;
  color: #60708a;
  font-size: 11px;
}

.explorer-selection-tags {
  gap: 8px;
}

.explorer-selection-tag,
.explorer-selection-facts span {
  min-height: 28px;
  padding: 0 10px;
  font-size: 11px;
}

.explorer-selection-story {
  font-size: 13px;
  line-height: 1.6;
}

.explorer-selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.explorer-selection-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
  box-shadow: none;
}

.explorer-selection-button.is-primary {
  min-width: 120px;
}

.explorer-map-shell {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.explorer-map-shell-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.explorer-map-shell-head h2 {
  margin: 2px 0 0;
  color: #182233;
  font-size: 19px;
  line-height: 1.1;
}

.explorer-map-shell-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.explorer-map-shell-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e3e8ef;
  background: #f7f9fb;
  color: #60708a;
  font-size: 11px;
  font-weight: 700;
}

.explorer-map-pane {
  min-height: 430px;
  height: 430px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #eef2f6;
  box-shadow: none;
}

.explorer-map-hud {
  top: 14px;
  left: 14px;
  right: auto;
}

.explorer-map-hud-copy {
  padding: 10px 12px;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.explorer-map-hud-copy.is-secondary {
  display: none;
}

@media (max-width: 1240px) {
  .explorer-workspace.explorer-workspace-minimal {
    grid-template-columns: 1fr;
  }

  .explorer-support-rail {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 768px) {
  body[data-page="property-explorer-terminal"] {
    --site-width: calc(100% - 16px);
  }

  .explorer-market-shell {
    padding: 14px;
    border-radius: 24px;
  }

  .explorer-market-ribbon-head,
  .explorer-market-ribbon-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .explorer-market-ribbon-summary,
  .explorer-market-status {
    justify-content: flex-start;
  }

  .explorer-sidebar,
  .explorer-support-rail {
    display: none;
  }

  .explorer-terminal.mobile-view-list .explorer-sidebar {
    display: grid;
  }

  .explorer-terminal.mobile-view-map .explorer-support-rail {
    display: grid;
  }

  .property-card.property-card-compact {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .property-card-compact-body,
  .explorer-selection-body {
    padding: 14px;
  }

  .explorer-selection-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .explorer-map-pane {
    min-height: 52vh;
    height: 52vh;
  }
}

@media (max-width: 560px) {
  .explorer-results-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-card.property-card-compact {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .property-card-compact-top,
  .explorer-selection-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-card-compact-price {
    text-align: left;
  }

  .explorer-selection-card {
    grid-template-columns: 1fr;
  }

  .explorer-selection-media {
    min-height: 180px;
  }

  .explorer-selection-actions,
  .property-card-compact-actions {
    flex-direction: row;
  }
}

/* Explorer listing grid refinement */
.explorer-workspace.explorer-workspace-minimal {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.explorer-results-stage {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.explorer-results-stage-top {
  display: grid;
  gap: 14px;
}

.explorer-results-toolbar p {
  max-width: 420px;
}

.explorer-filter-panel,
.explorer-inline-results {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.explorer-card-stack {
  gap: 14px;
}

.explorer-results-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.property-card.property-card-compact {
  grid-template-columns: 1fr;
  gap: 0;
  border-radius: 22px;
  overflow: hidden;
}

.property-card-compact-media {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
  border-radius: 0;
}

.property-card-compact-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 68px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.22));
  pointer-events: none;
}

.property-card-compact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card-compact-score {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.property-card-compact-score .score-pill {
  min-height: 30px;
  padding: 0 10px;
}

.property-card-compact-body {
  gap: 10px;
  padding: 14px;
}

.property-card-compact-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #8a94a6;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-card-compact-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.property-card-compact-price-row strong {
  color: #182233;
  font-size: 18px;
  line-height: 1;
}

.property-card-compact-price-row span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #8a94a6;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.property-card-compact-heading {
  gap: 4px;
}

.property-card-compact-heading h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.12;
}

.property-card-compact-heading p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.property-card-compact-meta,
.property-card-compact-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.property-card-compact-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f7f9fb;
  color: #60708a;
  font-size: 11px;
}

.property-card-compact-thesis {
  margin: 0;
  font-size: 13px;
  line-height: 1.58;
}

.property-card-compact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.property-card-compact-link {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  box-shadow: none;
  font-size: 12px;
}

.property-card-compact-link.is-primary {
  grid-column: 1 / -1;
  min-width: 0;
}

.explorer-support-rail {
  width: 360px;
  gap: 14px;
}

.explorer-selection-card {
  grid-template-columns: 1fr;
}

.explorer-selection-media {
  min-height: 190px;
}

.explorer-selection-body {
  gap: 10px;
}

.explorer-selection-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.explorer-selection-meta strong {
  color: #182233;
  font-size: 18px;
  line-height: 1;
}

.explorer-selection-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e3e8ef;
  background: #f7f9fb;
  color: #60708a;
  font-size: 11px;
}

.explorer-selection-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.explorer-selection-button {
  width: 100%;
  min-height: 38px;
  padding: 0 12px;
  font-size: 12px;
  box-shadow: none;
}

.explorer-selection-button.is-primary {
  grid-column: 1 / -1;
  min-width: 0;
}

.explorer-map-shell {
  gap: 10px;
}

.explorer-map-pane {
  min-height: 340px;
  height: 340px;
}

@media (max-width: 1240px) {
  .explorer-workspace.explorer-workspace-minimal {
    grid-template-columns: 1fr;
  }

  .explorer-support-rail {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .explorer-results-stage,
  .explorer-support-rail {
    display: none;
  }

  .explorer-terminal.mobile-view-list .explorer-results-stage {
    display: grid;
  }

  .explorer-terminal.mobile-view-map .explorer-support-rail {
    display: grid;
  }

  .explorer-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .explorer-map-pane {
    min-height: 50vh;
    height: 50vh;
  }
}

@media (max-width: 560px) {
  .explorer-results-grid {
    grid-template-columns: 1fr;
  }

  .explorer-selection-actions,
  .property-card-compact-actions {
    grid-template-columns: 1fr;
  }

  .property-card-compact-link.is-primary,
  .explorer-selection-button.is-primary {
    grid-column: auto;
  }
}

/* Explorer ribbon icon cleanup */
.explorer-market-ribbon-inline {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.explorer-market-ribbon-inline .explorer-market-ribbon-copy {
  max-width: 300px;
  gap: 4px;
}

.explorer-market-ribbon-inline .explorer-market-ribbon-copy h1 {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.explorer-market-ribbon-inline .explorer-market-ribbon-copy p {
  font-size: 12px;
  line-height: 1.45;
}

.explorer-market-ribbon-strip {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.explorer-market-inline-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.explorer-market-inline-meta .ui-icon,
.explorer-market-chip-row .ui-icon {
  width: 16px;
  height: 16px;
}

.explorer-market-summary-pill.is-icon,
.explorer-market-status-chip.is-icon {
  position: relative;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px;
}

.explorer-market-summary-pill.is-icon strong,
.explorer-market-status-chip.is-icon strong {
  color: #44546a;
  font-size: 12px;
  font-weight: 800;
}

.explorer-market-summary-pill.is-icon .ui-icon,
.explorer-market-status-chip.is-icon .ui-icon {
  color: #66758a;
}

.explorer-market-chip-row {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.explorer-market-chip-row::-webkit-scrollbar {
  display: none;
}

.explorer-lens-chip-icononly {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.explorer-lens-chip-icononly .ui-icon {
  width: 17px;
  height: 17px;
}

.explorer-lens-chip-icononly .ui-icon svg,
.explorer-market-inline-meta .ui-icon svg {
  width: 100%;
  height: 100%;
}

.explorer-lens-chip-icononly.is-active {
  background: #fff2de;
}

.explorer-lens-chip-icononly[data-tooltip],
.explorer-market-summary-pill.is-icon[data-tooltip],
.explorer-market-status-chip.is-icon[data-tooltip] {
  position: relative;
}

.explorer-lens-chip-icononly[data-tooltip]::after,
.explorer-market-summary-pill.is-icon[data-tooltip]::after,
.explorer-market-status-chip.is-icon[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 10px;
  background: #182233;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 20;
}

.explorer-lens-chip-icononly[data-tooltip]:hover::after,
.explorer-lens-chip-icononly[data-tooltip]:focus-visible::after,
.explorer-market-summary-pill.is-icon[data-tooltip]:hover::after,
.explorer-market-summary-pill.is-icon[data-tooltip]:focus-visible::after,
.explorer-market-status-chip.is-icon[data-tooltip]:hover::after,
.explorer-market-status-chip.is-icon[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.explorer-ribbon-actions {
  margin-left: auto;
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .explorer-market-ribbon-inline {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .explorer-market-ribbon-inline .explorer-market-ribbon-copy {
    max-width: none;
  }

  .explorer-market-ribbon-strip {
    flex-wrap: wrap;
  }

  .explorer-ribbon-actions {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .explorer-market-inline-meta {
    width: 100%;
  }

  .explorer-market-ribbon-inline .explorer-market-ribbon-copy p {
    display: none;
  }
}

/* Explorer reference-inspired card refinement */
.explorer-results-stage-top {
  gap: 18px;
}

.explorer-card-stack {
  gap: 16px;
}

.explorer-card-stack-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.explorer-card-stack-heading {
  display: grid;
  gap: 4px;
}

.explorer-card-stack-heading strong {
  font-family: "Space Grotesk", "Poppins", sans-serif;
  color: #101826;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.explorer-card-stack-sort {
  font-family: "Manrope", "Inter", sans-serif;
  color: #7c8697;
  font-size: 13px;
  font-weight: 700;
}

.explorer-results-grid {
  gap: 18px;
}

.property-card.property-card-compact {
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: none;
}

.property-card.property-card-compact:hover,
.property-card.property-card-compact:focus-visible,
.property-card.property-card-compact.is-active {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-3px);
}

.property-card-compact-media {
  position: relative;
  aspect-ratio: 1 / 1.02;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.property-card-compact-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0), rgba(15, 23, 42, 0.2));
  pointer-events: none;
}

.property-card-compact-media img {
  transform: scale(1.01);
  transition: transform 0.28s ease;
}

.property-card.property-card-compact:hover .property-card-compact-media img,
.property-card.property-card-compact.is-active .property-card-compact-media img {
  transform: scale(1.05);
}

.property-card-compact-score {
  top: 14px;
  left: 14px;
}

.property-card-compact-score .score-pill {
  min-height: 32px;
  padding: 0 12px;
  border-color: rgba(255, 164, 39, 0.28);
  background: rgba(255, 168, 51, 0.92);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(255, 152, 39, 0.22);
}

.property-card-compact-bookmark {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.96);
  color: #152033;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.property-card-compact-bookmark .ui-icon {
  width: 16px;
  height: 16px;
}

.property-card-compact-bookmark:hover,
.property-card-compact-bookmark:focus-visible,
.property-card-compact-bookmark.is-active {
  transform: translateY(-1px);
  background: #101826;
  color: #ffffff;
  outline: none;
}

.property-card-compact-body {
  position: relative;
  z-index: 3;
  margin: -28px 14px 0;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(232, 236, 241, 0.94);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.property-card-compact-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.property-card-compact-heading {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.property-card-compact-eyebrow {
  color: #9f6712;
  font-size: 10px;
}

.property-card-compact-heading h3 {
  font-family: "Space Grotesk", "Poppins", sans-serif;
  color: #141c2a;
  font-size: 20px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.property-card-compact-heading p {
  color: #7a8597;
  font-size: 12px;
  line-height: 1.5;
}

.property-card-compact-price {
  display: grid;
  gap: 4px;
  text-align: right;
  flex: 0 0 auto;
}

.property-card-compact-price strong {
  font-family: "Space Grotesk", "Poppins", sans-serif;
  color: #101826;
  font-size: 22px;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.property-card-compact-price span {
  font-family: "Manrope", "Inter", sans-serif;
  color: #7d8898;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.property-card-compact-meta,
.property-card-compact-status {
  gap: 8px;
}

.property-card-compact-meta span {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid #edf1f4;
  background: #f7f8f4;
  color: #637289;
}

.property-card-compact-status .status-pill {
  min-height: 30px;
}

.property-card-compact-thesis {
  color: #697587;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.property-card-compact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.property-card-compact-link {
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid #e4e8ef;
  background: #ffffff;
  color: #1c283b;
  font-size: 12px;
  font-weight: 800;
  box-shadow: none;
}

.property-card-compact-link.is-primary {
  grid-column: 1 / -1;
  min-height: 46px;
  background: linear-gradient(180deg, #ff9640, #ff732d);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(255, 115, 45, 0.22);
}

.property-card-compact-link.is-wide {
  grid-column: 1 / -1;
}

.property-card-compact-link:hover,
.property-card-compact-link:focus-visible {
  border-color: rgba(255, 162, 43, 0.24);
  background: #fff8f0;
  transform: translateY(-1px);
  outline: none;
}

.property-card-compact-link.is-primary:hover,
.property-card-compact-link.is-primary:focus-visible {
  background: linear-gradient(180deg, #ff8d33, #ff6524);
}

.explorer-filter-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 183, 77, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(251, 248, 239, 0.98), rgba(255, 255, 255, 0.98));
}

@media (max-width: 640px) {
  .explorer-card-stack-head,
  .property-card-compact-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-card-compact-price {
    text-align: left;
  }

  .property-card-compact-actions {
    grid-template-columns: 1fr;
  }

  .property-card-compact-link.is-primary,
  .property-card-compact-link.is-wide {
    grid-column: auto;
  }
}

/* Explorer card cleanup v2 */
.explorer-card-stack-heading strong {
  font-size: clamp(22px, 1.9vw, 28px);
}

.property-card.property-card-compact {
  gap: 10px;
}

.property-card-compact-media {
  aspect-ratio: 1 / 0.92;
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.property-card-compact-topline {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 82px);
}

.property-card-compact-hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.94);
  color: #233046;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.property-card-compact-hero-chip.is-score {
  border-color: rgba(14, 19, 28, 0.14);
  background: rgba(20, 27, 38, 0.78);
  color: #ffffff;
}

.property-card-compact-score {
  display: none;
}

.property-card-compact-bookmark {
  top: 14px;
  right: 14px;
}

.property-card-compact-overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.property-card-compact-body {
  margin: 0;
  padding: 4px 6px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.property-card-compact-summary {
  gap: 12px;
}

.property-card-compact-heading h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 18px;
}

.property-card-compact-heading p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  color: #7b8798;
}

.property-card-compact-price strong {
  font-size: 20px;
}

.property-card-compact-meta {
  gap: 8px;
}

.property-card-compact-meta span {
  min-height: 29px;
  border: 1px solid #e9edf2;
  background: #fbfbf8;
  font-size: 11px;
}

.property-card-compact-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-card-compact-link {
  min-height: 40px;
}

.property-card-compact-link.is-primary {
  flex: 1 1 auto;
  min-width: 0;
}

.property-card-compact-link.is-secondary {
  flex: 0 0 auto;
}

.property-card-compact-iconbutton {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid #e4e8ef;
  background: #ffffff;
  color: #1c283b;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.property-card-compact-iconbutton .ui-icon {
  width: 16px;
  height: 16px;
}

.property-card-compact-iconbutton:hover,
.property-card-compact-iconbutton:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 162, 43, 0.24);
  background: #fff8f0;
  outline: none;
}

.property-card-compact-iconbutton.is-active {
  background: #101826;
  border-color: #101826;
  color: #ffffff;
}

@media (max-width: 640px) {
  .property-card-compact-actions {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .property-card-compact-link.is-secondary {
    grid-column: 1 / -1;
  }
}

/* Explorer card cleanup v3 */
.property-card-compact-topline {
  max-width: calc(100% - 68px);
}

.property-card-compact-hero-chip {
  min-height: 32px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.96);
  color: #26344a;
  font-size: 11px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.property-card-compact-hero-chip.is-score {
  display: none;
}

.property-card-compact-bookmark {
  width: 42px;
  height: 42px;
}

.property-card-compact-overlay {
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.property-card-compact-summary {
  gap: 16px;
}

.property-card-compact-heading h3 {
  -webkit-line-clamp: 2;
  font-size: 17px;
  line-height: 1.06;
}

.property-card-compact-heading p {
  -webkit-line-clamp: 2;
  font-size: 11px;
  line-height: 1.45;
}

.property-card-compact-price {
  gap: 3px;
}

.property-card-compact-scoreline {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #9c6512;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.property-card-compact-price strong {
  font-size: 18px;
}

.property-card-compact-price span:last-child {
  font-size: 10px;
}

.property-card-compact-body {
  padding: 6px 4px 0;
}

.property-card-compact-meta {
  gap: 6px;
}

.property-card-compact-meta span {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fafaf7;
  color: #6b788d;
  font-size: 10px;
}

.property-card-compact-support {
  margin: 0;
  color: #7a8698;
  font-size: 12px;
  line-height: 1.55;
}

.property-card-compact-actions {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.property-card-compact-link {
  min-height: 40px;
  padding: 0 14px;
}

.property-card-compact-link.is-secondary {
  min-width: 108px;
  background: #ffffff;
  border-color: #e7ebf1;
  color: #2b3850;
}

.property-card-compact-link.is-secondary.is-active {
  background: #101826;
  border-color: #101826;
  color: #ffffff;
}

.property-card-compact-link.is-primary {
  min-height: 42px;
  box-shadow: 0 12px 24px rgba(255, 115, 45, 0.18);
}

.property-card-compact-iconbutton {
  display: none;
}

@media (max-width: 640px) {
  .property-card-compact-actions {
    grid-template-columns: 1fr;
  }
}

/* Explorer map refinement v2 */
.explorer-map-shell {
  gap: 14px;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(225, 231, 239, 0.92);
  background:
    radial-gradient(circle at top right, rgba(255, 183, 77, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.explorer-map-shell-copy {
  display: grid;
  gap: 4px;
}

.explorer-map-shell-copy h2 {
  margin-top: 2px;
  font-family: "Space Grotesk", "Poppins", sans-serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.explorer-map-shell-copy p {
  margin: 0;
  max-width: 280px;
  color: #7a8798;
  font-size: 12px;
  line-height: 1.55;
}

.explorer-map-shell-head {
  align-items: center;
}

.explorer-map-shell-meta {
  gap: 8px;
}

.explorer-map-shell-meta span {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(228, 233, 240, 0.96);
  background: rgba(255, 255, 255, 0.92);
  color: #5a6980;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.explorer-map-pane {
  min-height: 390px;
  height: 390px;
  border-radius: 24px;
  border: 1px solid rgba(225, 231, 239, 0.92);
  background: linear-gradient(180deg, #edf2f6, #e5ebf1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 10px 24px rgba(15, 23, 42, 0.05);
}

.explorer-map-hud {
  top: 16px;
  left: 16px;
}

.explorer-map-hud-copy {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.explorer-map-hud-copy span {
  color: #8b96a8;
  font-size: 10px;
}

.explorer-map-hud-copy strong {
  color: #223046;
  font-size: 12px;
}

body[data-page="property-explorer-terminal"] .leaflet-bar {
  border: 1px solid rgba(227, 233, 240, 0.95);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

body[data-page="property-explorer-terminal"] .leaflet-control-zoom a {
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-bottom-color: rgba(227, 233, 240, 0.95);
  background: rgba(255, 255, 255, 0.98);
  color: #162033;
  font-weight: 800;
}

body[data-page="property-explorer-terminal"] .leaflet-control-zoom a:hover {
  background: #ffffff;
}

body[data-page="property-explorer-terminal"] .leaflet-control-attribution {
  margin: 0 12px 12px 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #6d7a8d;
  font-size: 11px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

body[data-page="property-explorer-terminal"] .leaflet-control-attribution a {
  color: #245ea4;
}

.sfc-map-pin {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #111827, #485264);
  box-shadow: 0 0 0 7px rgba(17, 24, 39, 0.12);
}

.sfc-map-pin.is-active {
  background: linear-gradient(135deg, #ffb54b, #ff7b1a);
  box-shadow: 0 0 0 9px rgba(255, 123, 26, 0.18);
}

body[data-page="property-explorer-terminal"] .leaflet-popup-content-wrapper,
body[data-page="property-explorer-terminal"] .maplibregl-popup-content,
body[data-page="property-explorer-terminal"] .leaflet-popup-tip,
body[data-page="property-explorer-terminal"] .maplibregl-popup-tip {
  border: 1px solid rgba(229, 234, 241, 0.96);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

body[data-page="property-explorer-terminal"] .leaflet-popup-content-wrapper,
body[data-page="property-explorer-terminal"] .maplibregl-popup-content {
  border-radius: 24px;
}

body[data-page="property-explorer-terminal"] .leaflet-popup-content,
body[data-page="property-explorer-terminal"] .maplibregl-popup-content {
  margin: 14px 16px;
}

.map-popup-card.map-popup-card-rich {
  display: grid;
  gap: 8px;
  min-width: 210px;
}

.map-popup-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.map-popup-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f7f9fb;
  color: #60708a;
  font-size: 10px;
  font-weight: 800;
}

body[data-page="property-explorer-terminal"] .map-popup-kicker {
  color: #aa6d11;
  font-size: 10px;
}

body[data-page="property-explorer-terminal"] .map-popup-card strong {
  font-family: "Space Grotesk", "Poppins", sans-serif;
  color: #172133;
  font-size: 15px;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.map-popup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.map-popup-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f8fafc;
  color: #6d7b8f;
  font-size: 11px;
}

.map-popup-price {
  color: #19263a;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .explorer-map-shell-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .explorer-map-pane {
    min-height: 340px;
    height: 340px;
  }
}

/* Explorer map refinement v3 */
.explorer-map-shell {
  gap: 16px;
  padding: 16px;
  border-radius: 30px;
  border: 1px solid rgba(230, 235, 242, 0.98);
  background:
    radial-gradient(circle at top left, rgba(255, 184, 77, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 247, 242, 0.97));
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
}

.explorer-map-shell-copy {
  gap: 6px;
}

.explorer-map-shell-copy .panel-kicker {
  color: #8c96a6;
}

.explorer-map-shell-copy h2 {
  font-size: 26px;
  line-height: 0.96;
}

.explorer-map-shell-copy p {
  max-width: 320px;
  color: #798598;
}

.explorer-map-shell-meta span {
  position: relative;
  min-height: 34px;
  padding: 0 14px 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(229, 234, 240, 0.98);
  background: rgba(255, 255, 255, 0.9);
  color: #57667d;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.explorer-map-shell-meta span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb84d, #ff8a1f);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(255, 184, 77, 0.14);
}

.explorer-map-shell-meta span:last-child::before {
  background: #1f2937;
  box-shadow: 0 0 0 4px rgba(31, 41, 55, 0.1);
}

.explorer-map-pane {
  position: relative;
  min-height: 360px;
  height: 360px;
  border-radius: 26px;
  border: 1px solid rgba(226, 232, 240, 0.98);
  background: linear-gradient(180deg, #eef3f7, #e8edf2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    0 14px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.explorer-map-pane::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 24%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 28%);
  pointer-events: none;
  z-index: 1;
}

.explorer-map-pane::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  pointer-events: none;
  z-index: 1;
}

.explorer-map-stage {
  isolation: isolate;
}

body[data-page="property-explorer-terminal"] .explorer-terminal-map,
body[data-page="property-explorer-terminal"] .explorer-map {
  filter: saturate(0.94) contrast(0.98);
}

.explorer-map-hud {
  top: 18px;
  left: 18px;
  right: auto;
  z-index: 5;
}

.explorer-map-hud-copy {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.explorer-map-hud-copy span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.explorer-map-hud-copy strong {
  font-size: 12px;
  white-space: nowrap;
}

.explorer-map-preview {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: grid;
  gap: 10px;
  width: min(320px, calc(100% - 36px));
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.explorer-map-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.explorer-map-preview-eyebrow {
  color: #a46a10;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.explorer-map-preview-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #44526a;
  font-size: 10px;
  font-weight: 800;
}

.explorer-map-preview-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.explorer-map-preview-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.explorer-map-preview-copy strong {
  font-family: "Space Grotesk", "Poppins", sans-serif;
  color: #172133;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.explorer-map-preview-copy p {
  color: #677587;
  font-size: 13px;
  line-height: 1.45;
}

.explorer-map-preview-price {
  display: grid;
  gap: 3px;
  justify-items: end;
  flex: 0 0 auto;
  text-align: right;
}

.explorer-map-preview-price strong {
  color: #172133;
  font-size: 19px;
  line-height: 1;
}

.explorer-map-preview-price span {
  color: #8b96a8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.explorer-map-preview.is-search-target {
  width: min(340px, calc(100% - 36px));
}

.explorer-map-preview.is-search-target .explorer-map-preview-eyebrow {
  color: #5f6f86;
}

.explorer-map-preview.is-search-target .explorer-map-preview-price {
  display: none;
}

body[data-page="property-explorer-terminal"] .leaflet-bar {
  border: 1px solid rgba(229, 234, 240, 0.98);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

body[data-page="property-explorer-terminal"] .leaflet-control-zoom {
  margin: 18px 18px 0 0;
}

body[data-page="property-explorer-terminal"] .leaflet-control-zoom a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: rgba(255, 255, 255, 0.9);
  color: #172133;
  backdrop-filter: blur(12px);
}

body[data-page="property-explorer-terminal"] .leaflet-control-attribution {
  margin: 0 14px 14px 0;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.sfc-map-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: #1f2937;
  box-shadow:
    0 12px 20px rgba(15, 23, 42, 0.18),
    0 0 0 5px rgba(255, 255, 255, 0.54);
}

.sfc-map-pin.is-active {
  background: linear-gradient(135deg, #ffbf5a, #ff7b1a);
  box-shadow:
    0 14px 26px rgba(255, 139, 33, 0.28),
    0 0 0 6px rgba(255, 191, 90, 0.22);
}

@media (max-width: 640px) {
  .explorer-map-pane {
    min-height: 320px;
    height: 320px;
  }

  .explorer-map-hud {
    top: 14px;
    left: 14px;
  }

  .explorer-map-preview {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }
}

body[data-page="landing"] {
  --landing-obsidian: #0b0d12;
  --landing-graphite: #151922;
  --landing-pearl: #f7f4ee;
  --landing-cloud: #ebe6dc;
  --landing-amber: #f59e0b;
  --landing-gold: #ffd37a;
  --landing-blue: #5b7fff;
  --landing-mint: #8fd8b8;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #fcfaf6 0%, var(--landing-pearl) 100%);
}

body[data-page="landing"]::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(233, 226, 213, 0.52));
}

body[data-page="landing"] h1,
body[data-page="landing"] h2,
body[data-page="landing"] h3,
body[data-page="landing"] h4 {
  font-family: "Space Grotesk", "Poppins", sans-serif;
}

body[data-page="landing"] p,
body[data-page="landing"] .nav-link,
body[data-page="landing"] .session-chip,
body[data-page="landing"] .btn-shell,
body[data-page="landing"] .portal-entry-copy span:last-child {
  font-family: "Manrope", "Inter", sans-serif;
}

body[data-page="landing"] .site-header {
  top: 0;
  padding-top: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="landing"] .nav-shell {
  padding: 14px 20px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(19, 24, 33, 0.08);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(26px);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

body[data-page="landing"].landing-header-condensed .nav-shell {
  transform: translateY(-5px) scale(0.985);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .top-nav {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(19, 24, 33, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 18px 40px rgba(15, 23, 42, 0.06);
}

body[data-page="landing"] .nav-link,
body[data-page="landing"] .session-chip {
  color: rgba(15, 23, 42, 0.62);
}

body[data-page="landing"] .nav-link.active,
body[data-page="landing"] .nav-link:hover {
  color: #0f172a;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.14), rgba(251, 146, 60, 0.08));
  border-color: rgba(245, 158, 11, 0.18);
}

body[data-page="landing"] .portal-menu-panel {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(19, 24, 33, 0.08);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

body[data-page="landing"] .page-shell.landing-shell {
  padding: 10px 0 96px;
}

body[data-page="landing"] .landing-editorial-shell {
  display: grid;
  gap: 28px;
}

body[data-page="landing"] .landing-shell .section-block,
body[data-page="landing"] .landing-shell .final-cta-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 560ms ease, transform 560ms ease;
}

body[data-page="landing"] .landing-shell .section-block.is-visible,
body[data-page="landing"] .landing-shell .final-cta-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body[data-page="landing"] .hero-home {
  padding: 0;
  min-height: auto;
}

body[data-page="landing"] .hero-canvas,
body[data-page="landing"] #hero-canvas {
  height: 814px;
  border-radius: 46px;
  overflow: hidden;
  box-shadow: 0 48px 110px rgba(10, 13, 18, 0.22);
}

body[data-page="landing"] .hero-home-backdrop {
  filter: brightness(0.33) saturate(0.82) contrast(1.08);
}

body[data-page="landing"] .hero-home-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: 42px;
  min-height: 814px;
  align-items: center;
}

body[data-page="landing"] .hero-home-copy {
  max-width: 760px;
  padding: 112px 0 74px;
}

body[data-page="landing"] .hero-prelude {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body[data-page="landing"] .hero-prelude-copy {
  display: grid;
  gap: 8px;
}

body[data-page="landing"] .hero-node-badge,
body[data-page="landing"] .hero-location-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="landing"] .hero-home-copy h1 {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(64px, 8.6vw, 114px);
  line-height: 0.88;
  letter-spacing: -0.08em;
  color: #fff;
}

body[data-page="landing"] .hero-home-copy p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="landing"] .hero-sentiment-rail {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  padding: 18px 18px 16px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.62), rgba(8, 10, 14, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 56px rgba(4, 8, 18, 0.2);
}

body[data-page="landing"] .hero-sentiment-label {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-sentiment-track {
  gap: 10px;
}

body[data-page="landing"] .hero-lens-dock {
  margin-top: 22px;
  padding: 20px;
  border-radius: 32px;
}

body[data-page="landing"] .hero-lens-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body[data-page="landing"] .hero-orbit-toggle {
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

body[data-page="landing"] .hero-orbit-toggle:hover,
body[data-page="landing"] .hero-home.is-orbiting .hero-orbit-toggle {
  background: rgba(var(--hero-focus-accent-rgb), 0.14);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.24);
}

body[data-page="landing"] .hero-orbit-status {
  max-width: none;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.56);
}

body[data-page="landing"] .hero-actions {
  margin-top: 24px;
}

body[data-page="landing"] .hero-actions .btn-shell-hero:first-child {
  background: linear-gradient(135deg, var(--landing-amber), #fb923c);
  border-color: rgba(255, 211, 122, 0.28);
  color: #fff;
  box-shadow: 0 20px 42px rgba(245, 158, 11, 0.24);
}

body[data-page="landing"] .hero-actions .btn-shell-hero:last-child {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
}

body[data-page="landing"] .hero-proof-grid {
  width: min(720px, 100%);
  margin-top: 26px;
  gap: 14px;
}

body[data-page="landing"] .hero-proof-card {
  min-height: 92px;
  border-radius: 24px;
  background: rgba(8, 10, 14, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="landing"] .hero-story-panel {
  width: min(720px, 100%);
  margin-top: 18px;
  padding: 20px 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.62), rgba(8, 10, 14, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .hero-story-panel .panel-kicker {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.46);
}

body[data-page="landing"] .hero-story-panel p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

body[data-page="landing"] .hero-feature-shell {
  --landing-card-tilt-x: 0deg;
  --landing-card-tilt-y: 0deg;
  --landing-card-shift-x: 0px;
  --landing-card-shift-y: 0px;
  display: flex;
  justify-content: flex-end;
  perspective: 1400px;
}

body[data-page="landing"] .hero-atlas-stack {
  width: min(100%, 450px);
  transform:
    perspective(1400px)
    rotateX(var(--landing-card-tilt-x))
    rotateY(var(--landing-card-tilt-y))
    translate3d(var(--landing-card-shift-x), var(--landing-card-shift-y), 0);
  transform-style: preserve-3d;
  transition: transform 260ms ease;
}

body[data-page="landing"] .hero-metric-slab,
body[data-page="landing"] .hero-opportunity-brief-shell,
body[data-page="landing"] .hero-node-dock {
  border-radius: 34px;
}

body[data-page="landing"] .hero-metric-slab {
  transform: translateX(-10px);
}

body[data-page="landing"] .hero-node-dock {
  transform: translateX(20px);
}

body[data-page="landing"] .hero-node-panel-head strong {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-node-panel-head p {
  margin-top: 8px;
}

body[data-page="landing"] .section-block {
  padding-top: 0;
}

body[data-page="landing"] .landing-overview-grid,
body[data-page="landing"] .landing-city-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: start;
}

body[data-page="landing"] .landing-side-stack,
body[data-page="landing"] .landing-city-notes {
  display: grid;
  gap: 24px;
}

body[data-page="landing"] .landing-curation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

body[data-page="landing"] .landing-panel {
  padding: 30px;
  border-radius: 36px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 241, 0.94));
  box-shadow: 0 26px 66px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

body[data-page="landing"] .section-heading-inline {
  margin-bottom: 0;
  max-width: none;
}

body[data-page="landing"] .section-heading-inline h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 0.96;
}

body[data-page="landing"] .section-heading-inline p {
  max-width: 700px;
}

body[data-page="landing"] .landing-ranking-preview,
body[data-page="landing"] .landing-demand-preview {
  display: grid;
  gap: 18px;
}

body[data-page="landing"] .landing-ranking-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 26px 62px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-ranking-lead-media {
  position: relative;
  min-height: 390px;
  background: linear-gradient(180deg, #d8dee9, #c8d2de);
}

body[data-page="landing"] .landing-ranking-lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="landing"] .landing-ranking-lead-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(7, 10, 15, 0), rgba(7, 10, 15, 0.8));
}

body[data-page="landing"] .landing-ranking-lead-top,
body[data-page="landing"] .landing-ranking-lead-bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="landing"] .landing-ranking-lead-top {
  top: 18px;
  align-items: flex-start;
}

body[data-page="landing"] .landing-ranking-lead-bottom {
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(7, 10, 15, 0.4);
  color: #fff;
  backdrop-filter: blur(10px);
}

body[data-page="landing"] .landing-ranking-lead-bottom span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="landing"] .landing-ranking-lead-bottom strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="landing"] .landing-ranking-lead-body {
  display: grid;
  gap: 20px;
  padding: 28px;
}

body[data-page="landing"] .landing-ranking-kicker,
body[data-page="landing"] .landing-demand-card-top span,
body[data-page="landing"] .landing-role-link span,
body[data-page="landing"] .landing-showcase-head span,
body[data-page="landing"] .landing-pillar-card span {
  color: rgba(15, 23, 42, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="landing"] .landing-ranking-head {
  display: grid;
  gap: 10px;
}

body[data-page="landing"] .landing-ranking-head h3 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 0.94;
}

body[data-page="landing"] .landing-ranking-head p {
  color: rgba(15, 23, 42, 0.66);
}

body[data-page="landing"] .landing-ranking-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .landing-demand-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .landing-ranking-facts div,
body[data-page="landing"] .landing-showcase-metrics div,
body[data-page="landing"] .landing-demand-stats div {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8f6f2, #f0ece5);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

body[data-page="landing"] .landing-ranking-facts span,
body[data-page="landing"] .landing-showcase-metrics span,
body[data-page="landing"] .landing-demand-stats span {
  color: rgba(15, 23, 42, 0.48);
  font-size: 11px;
  font-weight: 700;
}

body[data-page="landing"] .landing-ranking-facts strong,
body[data-page="landing"] .landing-showcase-metrics strong,
body[data-page="landing"] .landing-demand-stats strong {
  color: #0f172a;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

body[data-page="landing"] .landing-ranking-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="landing"] .landing-ranking-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.14);
  color: #a16207;
  font-size: 12px;
  font-weight: 700;
}

body[data-page="landing"] .landing-ranking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body[data-page="landing"] .landing-ranking-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}

body[data-page="landing"] .landing-ranking-mini {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 20px 18px;
  min-height: 100%;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 236, 0.98));
}

body[data-page="landing"] .landing-ranking-mini-top,
body[data-page="landing"] .landing-showcase-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

body[data-page="landing"] .landing-ranking-mini-top {
  flex-wrap: wrap;
}

body[data-page="landing"] .landing-ranking-mini-rank {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(91, 127, 255, 0.08);
  border: 1px solid rgba(91, 127, 255, 0.14);
  color: #3657b5;
  font-size: 11px;
  font-weight: 800;
}

body[data-page="landing"] .landing-ranking-mini .score-pill,
body[data-page="landing"] .landing-ranking-mini .lens-score-pill {
  min-height: 32px;
  max-width: 100%;
  padding: 0 10px;
  white-space: nowrap;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10px;
  letter-spacing: 0.01em;
}

body[data-page="landing"] .landing-ranking-mini .lens-score-pill .intent-icon {
  display: none;
}

body[data-page="landing"] .landing-ranking-mini h3,
body[data-page="landing"] .landing-demand-card h3,
body[data-page="landing"] .landing-showcase-head h3 {
  margin: 0;
  font-size: clamp(1.5rem, 1.35rem + 0.25vw, 1.85rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

body[data-page="landing"] .landing-ranking-mini h3 {
  font-size: clamp(1.2rem, 1.06rem + 0.18vw, 1.5rem);
  min-height: 3.18em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

body[data-page="landing"] .landing-ranking-mini p,
body[data-page="landing"] .landing-demand-card p,
body[data-page="landing"] .landing-showcase-head p {
  margin: 0;
  color: rgba(15, 23, 42, 0.66);
  font-size: 14px;
  line-height: 1.55;
}

body[data-page="landing"] .landing-ranking-mini p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 3.05em;
  font-size: 13px;
}

body[data-page="landing"] .landing-ranking-mini-meta {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 6px;
  margin-top: auto;
  color: rgba(15, 23, 42, 0.56);
  font-size: 13px;
}

body[data-page="landing"] .landing-ranking-mini-location,
body[data-page="landing"] .landing-ranking-mini-meta span {
  line-height: 1.4;
  color: rgba(15, 23, 42, 0.62);
}

body[data-page="landing"] .landing-ranking-mini-price,
body[data-page="landing"] .landing-ranking-mini-meta strong {
  color: #0f172a;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.05;
  white-space: nowrap;
}

body[data-page="landing"] .landing-ranking-mini .landing-inline-link {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 800;
}

body[data-page="landing"] .landing-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

body[data-page="landing"] .landing-inline-link::after {
  content: "→";
  font-size: 14px;
}

body[data-page="landing"] .landing-demand-panel {
  padding-bottom: 26px;
}

body[data-page="landing"] .landing-demand-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 240, 0.98));
}

body[data-page="landing"] .landing-demand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="landing"] .landing-demand-card.is-lead {
  background: linear-gradient(160deg, rgba(14, 20, 34, 0.98), rgba(21, 31, 57, 0.96));
  border-color: rgba(91, 127, 255, 0.18);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-demand-card.is-lead h3,
body[data-page="landing"] .landing-demand-card.is-lead strong,
body[data-page="landing"] .landing-role-panel h2,
body[data-page="landing"] .landing-role-panel strong,
body[data-page="landing"] .landing-notebook-card h3 {
  color: #fff;
}

body[data-page="landing"] .landing-demand-card.is-lead p,
body[data-page="landing"] .landing-role-panel p,
body[data-page="landing"] .landing-role-link strong,
body[data-page="landing"] .landing-notebook-card p {
  color: rgba(255, 255, 255, 0.8);
}

body[data-page="landing"] .landing-demand-card.is-lead .landing-demand-card-top span,
body[data-page="landing"] .landing-role-panel .eyebrow,
body[data-page="landing"] .landing-role-link span,
body[data-page="landing"] .landing-notebook-card .panel-kicker {
  color: rgba(255, 255, 255, 0.62);
}

body[data-page="landing"] .landing-demand-card.is-lead .landing-demand-stats div {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-demand-card.is-lead .landing-demand-stats span {
  color: rgba(255, 255, 255, 0.58);
}

body[data-page="landing"] .landing-demand-card.is-lead .landing-demand-stats strong,
body[data-page="landing"] .landing-demand-card.is-lead .landing-inline-link,
body[data-page="landing"] .landing-role-panel .landing-inline-link {
  color: #fff;
}

body[data-page="landing"] .landing-demand-empty,
body[data-page="landing"] .landing-showcase-empty {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: 28px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.62);
}

body[data-page="landing"] .landing-demand-empty h3,
body[data-page="landing"] .landing-showcase-empty h3 {
  font-size: 24px;
}

body[data-page="landing"] .landing-role-panel {
  background:
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.18), transparent 34%),
    linear-gradient(160deg, rgba(14, 20, 34, 0.98), rgba(18, 27, 48, 0.96));
  border-color: rgba(91, 127, 255, 0.16);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-role-links {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

body[data-page="landing"] .landing-role-link {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

body[data-page="landing"] .landing-role-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .landing-role-link strong {
  font-size: 16px;
  line-height: 1.45;
}

body[data-page="landing"] .landing-showcase-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .landing-showcase-card {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-showcase-media {
  position: relative;
  aspect-ratio: 1 / 1.06;
  background: linear-gradient(180deg, #d8dee9, #cfd7e4);
}

body[data-page="landing"] .landing-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="landing"] .landing-showcase-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.08), rgba(8, 10, 14, 0.42));
}

body[data-page="landing"] .landing-showcase-media-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

body[data-page="landing"] .landing-showcase-badge,
body[data-page="landing"] .landing-showcase-badge-subtle {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="landing"] .landing-showcase-badge {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

body[data-page="landing"] .landing-showcase-badge-subtle {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.14);
  color: #a16207;
}

body[data-page="landing"] .landing-showcase-body {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 238, 0.98));
}

body[data-page="landing"] .landing-showcase-head {
  display: grid;
  gap: 8px;
}

body[data-page="landing"] .landing-showcase-head span {
  color: rgba(15, 23, 42, 0.46);
}

body[data-page="landing"] .landing-showcase-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-card {
  background: linear-gradient(180deg, #ffffff, #f5f8ff);
}

body[data-page="landing"] .landing-city-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

body[data-page="landing"] .landing-pillar-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 238, 0.98));
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.06);
}

body[data-page="landing"] .landing-pillar-card strong {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.5;
}

body[data-page="landing"] .landing-notebook-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.22), transparent 34%),
    linear-gradient(160deg, rgba(14, 20, 34, 0.98), rgba(18, 27, 48, 0.96));
  border: 1px solid rgba(91, 127, 255, 0.14);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-notebook-card h3 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 0.98;
}

body[data-page="landing"] .landing-notebook-card.is-soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 243, 235, 0.98));
  border-color: rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-notebook-card.is-soft h3,
body[data-page="landing"] .landing-notebook-card.is-soft strong {
  color: #0f172a;
}

body[data-page="landing"] .landing-notebook-card.is-soft p,
body[data-page="landing"] .landing-notebook-card.is-soft .panel-kicker {
  color: rgba(15, 23, 42, 0.56);
}

body[data-page="landing"] .landing-map-cluster {
  margin-top: 10px;
}

body[data-page="landing"] .landing-map-cluster span {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-page="landing"] .landing-notebook-card.is-soft .landing-map-cluster span {
  background: rgba(245, 158, 11, 0.08);
  color: #0f172a;
  border-color: rgba(245, 158, 11, 0.14);
}

body[data-page="landing"] .landing-note-list {
  display: grid;
  gap: 4px;
}

body[data-page="landing"] .landing-note-list div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-note-list div:first-child {
  border-top: 0;
}

body[data-page="landing"] .landing-note-list span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.08);
  color: #a16207;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body[data-page="landing"] .landing-note-list strong {
  font-size: 16px;
  line-height: 1.5;
}

body[data-page="landing"] .landing-final-cta {
  margin-top: 0;
  padding: 34px;
  border-radius: 36px;
  border: 1px solid rgba(91, 127, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(11, 13, 18, 0.98), rgba(21, 25, 34, 0.98));
  box-shadow: 0 34px 84px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-final-cta h2,
body[data-page="landing"] .landing-final-cta p,
body[data-page="landing"] .landing-final-cta .eyebrow {
  color: #fff;
}

body[data-page="landing"] .landing-final-cta p,
body[data-page="landing"] .landing-final-cta .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="landing"] .landing-final-cta .cta-card-actions {
  gap: 12px;
}

body[data-page="landing"] .landing-final-cta .btn-shell {
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-page="landing"] .landing-final-cta .btn-shell-ghost,
body[data-page="landing"] .landing-final-cta .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

body[data-page="landing"] .landing-final-cta .btn-shell-primary {
  background: linear-gradient(135deg, var(--landing-amber), #fb923c);
  color: #fff;
}

@media (max-width: 1180px) {
  body[data-page="landing"] .hero-home-grid,
  body[data-page="landing"] .landing-overview-grid,
  body[data-page="landing"] .landing-city-editorial,
  body[data-page="landing"] .landing-curation-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .hero-home-grid {
    min-height: auto;
    gap: 30px;
  }

  body[data-page="landing"] .hero-home-copy {
    max-width: none;
    padding: 108px 0 12px;
  }

  body[data-page="landing"] .hero-feature-shell {
    justify-content: flex-start;
  }

  body[data-page="landing"] .hero-atlas-stack {
    width: min(640px, 100%);
  }

  body[data-page="landing"] .hero-metric-slab,
  body[data-page="landing"] .hero-node-dock {
    transform: none;
  }
}

@media (max-width: 920px) {
  body[data-page="landing"] .hero-canvas,
  body[data-page="landing"] #hero-canvas {
    height: 740px;
    border-radius: 38px;
  }

  body[data-page="landing"] .hero-home-copy h1 {
    font-size: clamp(52px, 12vw, 82px);
  }

  body[data-page="landing"] .landing-panel-head,
  body[data-page="landing"] .hero-prelude,
  body[data-page="landing"] .hero-lens-dock-head,
  body[data-page="landing"] .landing-final-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .landing-ranking-lead {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-ranking-facts,
  body[data-page="landing"] .landing-showcase-metrics,
  body[data-page="landing"] .landing-city-pillars,
  body[data-page="landing"] .landing-ranking-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="landing"] .landing-showcase-preview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body[data-page="landing"] .site-header {
    padding-top: 10px;
  }

  body[data-page="landing"] .nav-shell {
    padding: 12px 14px;
    border-radius: 26px;
  }

  body[data-page="landing"] .page-shell.landing-shell {
    padding-bottom: 72px;
  }

  body[data-page="landing"] .hero-canvas,
  body[data-page="landing"] #hero-canvas {
    height: 690px;
    border-radius: 30px;
  }

  body[data-page="landing"] .hero-home-copy {
    padding-top: 92px;
  }

  body[data-page="landing"] .hero-home-copy h1 {
    font-size: 46px;
  }

  body[data-page="landing"] .hero-sentiment-rail,
  body[data-page="landing"] .hero-lens-dock,
  body[data-page="landing"] .hero-story-panel,
  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-final-cta {
    padding: 22px;
    border-radius: 28px;
  }

  body[data-page="landing"] .hero-proof-grid,
  body[data-page="landing"] .landing-ranking-facts,
  body[data-page="landing"] .landing-showcase-metrics,
  body[data-page="landing"] .landing-demand-stats,
  body[data-page="landing"] .landing-city-pillars,
  body[data-page="landing"] .landing-ranking-rail,
  body[data-page="landing"] .landing-final-cta .cta-card-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .hero-actions,
  body[data-page="landing"] .landing-ranking-actions {
    width: 100%;
    flex-direction: column;
  }

  body[data-page="landing"] .hero-actions .btn-shell,
  body[data-page="landing"] .landing-ranking-actions .btn-shell,
  body[data-page="landing"] .landing-panel-head .btn-shell,
  body[data-page="landing"] .landing-final-cta .btn-shell {
    width: 100%;
  }

  body[data-page="landing"] .landing-demand-card,
  body[data-page="landing"] .landing-role-link,
  body[data-page="landing"] .landing-ranking-mini {
    padding: 18px;
  }

  body[data-page="landing"] .landing-ranking-head h3,
  body[data-page="landing"] .landing-notebook-card h3 {
    font-size: 28px;
  }

  body[data-page="landing"] .landing-note-list div {
    grid-template-columns: 1fr;
  }
}

body[data-page="offer-board"],
body[data-page="city-pipeline"] {
  --showcase-public-bg: #f7f4ee;
  --showcase-public-ink: #0f172a;
  --showcase-public-shell: rgba(255, 255, 255, 0.88);
  --showcase-public-line: rgba(15, 23, 42, 0.08);
  --showcase-public-shadow: 0 26px 66px rgba(15, 23, 42, 0.08);
  --showcase-public-dark: #0b0d12;
  --showcase-public-dark-2: #151922;
  --showcase-page-image: none;
  --showcase-page-image-placement: center/cover no-repeat;
  --showcase-page-overlay: linear-gradient(145deg, rgba(8, 10, 14, 0.88), rgba(17, 21, 31, 0.84));
  --showcase-page-sheen:
    radial-gradient(circle at top right, rgba(var(--showcase-public-accent), 0.26), transparent 28%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.2), rgba(8, 10, 14, 0.62));
  --showcase-stage-image: none;
  --showcase-stage-image-placement: center/cover no-repeat;
  --showcase-stage-overlay: linear-gradient(180deg, rgba(8, 10, 14, 0.24), rgba(8, 10, 14, 0.74));
  --showcase-stage-image-opacity: 0.34;
  --showcase-stage-image-filter: none;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.08), transparent 22%),
    linear-gradient(180deg, #fcfaf6 0%, var(--showcase-public-bg) 100%);
}

body[data-page="offer-board"] {
  --showcase-public-accent: 245, 158, 11;
  --showcase-public-accent-hex: #f59e0b;
  --showcase-page-image: url("../images/Property10.png");
  --showcase-stage-image: url("../images/Property10.png");
}

body[data-page="city-pipeline"] {
  --showcase-public-accent: 91, 127, 255;
  --showcase-public-accent-hex: #5b7fff;
  --showcase-page-image: url("../images/sfcpanoramicView.png");
  --showcase-stage-image: url("../images/sfcpanoramicView.png");
  --showcase-page-image-placement: center 24%/124% auto no-repeat;
  --showcase-page-overlay:
    linear-gradient(90deg, rgba(8, 12, 18, 0.78) 0%, rgba(8, 12, 18, 0.34) 46%, rgba(12, 20, 34, 0.48) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 10, 14, 0.42));
  --showcase-page-sheen:
    radial-gradient(circle at 52% 14%, rgba(255, 208, 133, 0.38), transparent 16%),
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.14), transparent 22%),
    radial-gradient(circle at top right, rgba(var(--showcase-public-accent), 0.16), transparent 30%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.02), rgba(8, 10, 14, 0.36));
  --showcase-stage-image-placement: center 26%/116% auto no-repeat;
  --showcase-stage-overlay: linear-gradient(180deg, rgba(8, 10, 14, 0.08), rgba(8, 10, 14, 0.58));
  --showcase-stage-image-opacity: 0.58;
  --showcase-stage-image-filter: saturate(1.08) contrast(1.06) brightness(1.04);
}

body[data-page="offer-board"]::before,
body[data-page="city-pipeline"]::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(233, 226, 213, 0.52));
}

body[data-page="offer-board"] h1,
body[data-page="offer-board"] h2,
body[data-page="offer-board"] h3,
body[data-page="offer-board"] h4,
body[data-page="city-pipeline"] h1,
body[data-page="city-pipeline"] h2,
body[data-page="city-pipeline"] h3,
body[data-page="city-pipeline"] h4 {
  font-family: "Space Grotesk", "Poppins", sans-serif;
}

body[data-page="offer-board"] p,
body[data-page="offer-board"] .nav-link,
body[data-page="offer-board"] .btn-shell,
body[data-page="offer-board"] .session-chip,
body[data-page="city-pipeline"] p,
body[data-page="city-pipeline"] .nav-link,
body[data-page="city-pipeline"] .btn-shell,
body[data-page="city-pipeline"] .session-chip {
  font-family: "Manrope", "Inter", sans-serif;
}

body[data-page="offer-board"] .site-header,
body[data-page="city-pipeline"] .site-header {
  top: 0;
  padding-top: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="offer-board"] .nav-shell,
body[data-page="city-pipeline"] .nav-shell {
  padding: 14px 20px;
  border-radius: 34px;
  background: var(--showcase-public-shell);
  border: 1px solid var(--showcase-public-line);
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(26px);
}

body[data-page="offer-board"] .top-nav,
body[data-page="city-pipeline"] .top-nav {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(19, 24, 33, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 18px 40px rgba(15, 23, 42, 0.06);
}

body[data-page="offer-board"] .nav-link,
body[data-page="offer-board"] .session-chip,
body[data-page="city-pipeline"] .nav-link,
body[data-page="city-pipeline"] .session-chip {
  color: rgba(15, 23, 42, 0.62);
}

body[data-page="offer-board"] .nav-link.active,
body[data-page="offer-board"] .nav-link:hover,
body[data-page="city-pipeline"] .nav-link.active,
body[data-page="city-pipeline"] .nav-link:hover {
  color: #0f172a;
  background: linear-gradient(180deg, rgba(var(--showcase-public-accent), 0.16), rgba(var(--showcase-public-accent), 0.08));
  border-color: rgba(var(--showcase-public-accent), 0.2);
}

body[data-page="offer-board"] .portal-menu-panel,
body[data-page="city-pipeline"] .portal-menu-panel {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(19, 24, 33, 0.08);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

body[data-page="offer-board"] .page-shell.showcase-page,
body[data-page="city-pipeline"] .page-shell.showcase-page {
  display: grid;
  gap: 28px;
  padding: 12px 0 84px;
}

body[data-page="offer-board"] .showcase-page-banner,
body[data-page="city-pipeline"] .showcase-page-banner {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 42px;
  background:
    var(--showcase-page-overlay),
    var(--showcase-page-image) var(--showcase-page-image-placement);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 36px 88px rgba(9, 14, 22, 0.18);
}

body[data-page="offer-board"] .showcase-page-banner::before,
body[data-page="city-pipeline"] .showcase-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--showcase-page-sheen);
}

body[data-page="offer-board"] .showcase-page-banner::after,
body[data-page="city-pipeline"] .showcase-page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 132px 132px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.38), transparent 82%);
  opacity: 0.42;
  pointer-events: none;
}

body[data-page="offer-board"] .showcase-page-grid,
body[data-page="city-pipeline"] .showcase-page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 24px;
  align-items: start;
}

body[data-page="offer-board"] .showcase-page-copy,
body[data-page="offer-board"] .showcase-page-brief,
body[data-page="city-pipeline"] .showcase-page-copy,
body[data-page="city-pipeline"] .showcase-page-brief {
  display: grid;
  gap: 18px;
}

body[data-page="offer-board"] .showcase-page-prelude,
body[data-page="city-pipeline"] .showcase-page-prelude {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body[data-page="offer-board"] .showcase-page-subtitle,
body[data-page="city-pipeline"] .showcase-page-subtitle {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-top: 10px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: fit-content;
}

body[data-page="offer-board"] .showcase-page-pill,
body[data-page="city-pipeline"] .showcase-page-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(var(--showcase-public-accent), 0.16);
  border: 1px solid rgba(var(--showcase-public-accent), 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

body[data-page="offer-board"] .showcase-page-copy h1,
body[data-page="city-pipeline"] .showcase-page-copy h1 {
  max-width: 760px;
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

body[data-page="offer-board"] .showcase-page-copy p,
body[data-page="city-pipeline"] .showcase-page-copy p,
body[data-page="offer-board"] .showcase-page-brief p,
body[data-page="city-pipeline"] .showcase-page-brief p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

body[data-page="offer-board"] .showcase-page-chip-row,
body[data-page="city-pipeline"] .showcase-page-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="offer-board"] .showcase-page-chip-row span,
body[data-page="city-pipeline"] .showcase-page-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
}

body[data-page="offer-board"] .showcase-page-brief,
body[data-page="city-pipeline"] .showcase-page-brief {
  padding: 26px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(16, 19, 26, 0.68), rgba(9, 10, 14, 0.46)),
    rgba(9, 9, 11, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 58px rgba(4, 8, 18, 0.16);
  backdrop-filter: blur(26px);
}

body[data-page="offer-board"] .showcase-page-brief h2,
body[data-page="city-pipeline"] .showcase-page-brief h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

body[data-page="offer-board"] .showcase-page-brief-grid,
body[data-page="city-pipeline"] .showcase-page-brief-grid,
body[data-page="offer-board"] .showcase-page-actions,
body[data-page="city-pipeline"] .showcase-page-actions {
  display: grid;
  gap: 12px;
}

body[data-page="offer-board"] .showcase-page-brief-grid,
body[data-page="city-pipeline"] .showcase-page-brief-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="offer-board"] .showcase-page-brief-grid div,
body[data-page="city-pipeline"] .showcase-page-brief-grid div {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="offer-board"] .showcase-page-brief-grid span,
body[data-page="city-pipeline"] .showcase-page-brief-grid span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="offer-board"] .showcase-page-brief-grid strong,
body[data-page="city-pipeline"] .showcase-page-brief-grid strong {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

body[data-page="offer-board"] .showcase-root-grid,
body[data-page="city-pipeline"] .showcase-root-grid {
  margin-top: 0;
}

body[data-page="offer-board"] .showcase-stage,
body[data-page="city-pipeline"] .showcase-stage {
  display: grid;
  gap: 24px;
}

body[data-page="offer-board"] .showcase-hero,
body[data-page="city-pipeline"] .showcase-hero {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 40px;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  gap: 24px;
  background:
    linear-gradient(160deg, rgba(10, 13, 18, 0.96), rgba(21, 25, 34, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 36px 84px rgba(9, 14, 22, 0.18);
}

body[data-page="offer-board"] .showcase-hero::before,
body[data-page="city-pipeline"] .showcase-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--showcase-stage-overlay),
    var(--showcase-stage-image) var(--showcase-stage-image-placement);
  opacity: var(--showcase-stage-image-opacity);
  filter: var(--showcase-stage-image-filter);
}

body[data-page="offer-board"] .showcase-hero::after,
body[data-page="city-pipeline"] .showcase-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 144px 144px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 80%);
  opacity: 0.34;
  pointer-events: none;
}

body[data-page="offer-board"] .showcase-hero-copy,
body[data-page="offer-board"] .showcase-hero-side,
body[data-page="city-pipeline"] .showcase-hero-copy,
body[data-page="city-pipeline"] .showcase-hero-side {
  position: relative;
  z-index: 1;
}

body[data-page="offer-board"] .showcase-hero-copy,
body[data-page="city-pipeline"] .showcase-hero-copy {
  gap: 18px;
}

body[data-page="offer-board"] .showcase-hero-copy h2,
body[data-page="city-pipeline"] .showcase-hero-copy h2 {
  color: #fff;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

body[data-page="offer-board"] .showcase-hero-copy h2 em,
body[data-page="city-pipeline"] .showcase-hero-copy h2 em {
  color: rgb(var(--showcase-public-accent));
}

body[data-page="offer-board"] .showcase-hero-copy p,
body[data-page="city-pipeline"] .showcase-hero-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

body[data-page="offer-board"] .showcase-search-shell,
body[data-page="city-pipeline"] .showcase-search-shell {
  position: relative;
  padding: 12px 14px 12px 52px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="offer-board"] .showcase-search-shell::before,
body[data-page="city-pipeline"] .showcase-search-shell::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

body[data-page="offer-board"] .showcase-search-shell::after,
body[data-page="city-pipeline"] .showcase-search-shell::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 32px;
  width: 8px;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(5px) rotate(45deg);
  transform-origin: left center;
  opacity: 0.8;
}

body[data-page="offer-board"] .showcase-search-input,
body[data-page="city-pipeline"] .showcase-search-input {
  min-height: 56px;
  padding: 0;
  color: #fff;
}

body[data-page="offer-board"] .showcase-search-input::placeholder,
body[data-page="city-pipeline"] .showcase-search-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

body[data-page="offer-board"] .showcase-filter-row,
body[data-page="city-pipeline"] .showcase-filter-row {
  gap: 10px;
}

body[data-page="offer-board"] .showcase-filter-row .filter-chip,
body[data-page="city-pipeline"] .showcase-filter-row .filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

body[data-page="offer-board"] .showcase-filter-row .filter-chip.active,
body[data-page="city-pipeline"] .showcase-filter-row .filter-chip.active {
  background: rgba(var(--showcase-public-accent), 0.16);
  border-color: rgba(var(--showcase-public-accent), 0.22);
  color: #fff;
}

body[data-page="offer-board"] .showcase-summary-ribbon span,
body[data-page="city-pipeline"] .showcase-summary-ribbon span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
}

body[data-page="offer-board"] .showcase-hero-stat-grid,
body[data-page="city-pipeline"] .showcase-hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="offer-board"] .showcase-hero-stat,
body[data-page="city-pipeline"] .showcase-hero-stat {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="offer-board"] .showcase-hero-stat span,
body[data-page="city-pipeline"] .showcase-hero-stat span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="offer-board"] .showcase-hero-stat strong,
body[data-page="city-pipeline"] .showcase-hero-stat strong {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

body[data-page="offer-board"] .showcase-hero-side,
body[data-page="city-pipeline"] .showcase-hero-side {
  display: grid;
  gap: 18px;
}

body[data-page="offer-board"] .showcase-spotlight-card,
body[data-page="city-pipeline"] .showcase-spotlight-card,
body[data-page="offer-board"] .showcase-intel-dock,
body[data-page="city-pipeline"] .showcase-intel-dock {
  position: relative;
  z-index: 1;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(20, 23, 30, 0.62), rgba(9, 10, 14, 0.48)),
    rgba(9, 9, 11, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 72px rgba(4, 8, 18, 0.22);
  backdrop-filter: blur(28px);
}

body[data-page="offer-board"] .showcase-spotlight-card,
body[data-page="city-pipeline"] .showcase-spotlight-card {
  padding: 18px;
}

body[data-page="offer-board"] .showcase-spotlight-media,
body[data-page="city-pipeline"] .showcase-spotlight-media {
  aspect-ratio: 16 / 11;
  border-radius: 26px;
}

body[data-page="offer-board"] .showcase-spotlight-topline,
body[data-page="city-pipeline"] .showcase-spotlight-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="offer-board"] .showcase-spotlight-location,
body[data-page="city-pipeline"] .showcase-spotlight-location {
  display: inline-flex;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="offer-board"] .showcase-spotlight-copy h3,
body[data-page="city-pipeline"] .showcase-spotlight-copy h3 {
  color: #fff;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 0.96;
}

body[data-page="offer-board"] .showcase-spotlight-copy p,
body[data-page="city-pipeline"] .showcase-spotlight-copy p {
  color: rgba(255, 255, 255, 0.74);
}

body[data-page="offer-board"] .showcase-spotlight-stats div,
body[data-page="city-pipeline"] .showcase-spotlight-stats div {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="offer-board"] .showcase-spotlight-stats span,
body[data-page="city-pipeline"] .showcase-spotlight-stats span {
  color: rgba(255, 255, 255, 0.46);
}

body[data-page="offer-board"] .showcase-spotlight-stats strong,
body[data-page="city-pipeline"] .showcase-spotlight-stats strong {
  color: #fff;
}

body[data-page="offer-board"] .showcase-card-chip-row .meta-chip,
body[data-page="city-pipeline"] .showcase-card-chip-row .meta-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}

body[data-page="offer-board"] .showcase-spotlight-actions .btn-shell-primary,
body[data-page="city-pipeline"] .showcase-spotlight-actions .btn-shell-primary {
  width: 100%;
  justify-content: center;
}

body[data-page="offer-board"] .showcase-intel-dock,
body[data-page="city-pipeline"] .showcase-intel-dock {
  display: grid;
  gap: 14px;
  padding: 22px;
}

body[data-page="offer-board"] .showcase-intel-dock h3,
body[data-page="city-pipeline"] .showcase-intel-dock h3 {
  color: #fff;
  font-size: 24px;
  line-height: 1.02;
}

body[data-page="offer-board"] .showcase-intel-dock p,
body[data-page="city-pipeline"] .showcase-intel-dock p {
  color: rgba(255, 255, 255, 0.72);
}

body[data-page="offer-board"] .showcase-intel-list,
body[data-page="city-pipeline"] .showcase-intel-list {
  display: grid;
  gap: 10px;
}

body[data-page="offer-board"] .showcase-intel-list div,
body[data-page="city-pipeline"] .showcase-intel-list div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="offer-board"] .showcase-intel-list span,
body[data-page="city-pipeline"] .showcase-intel-list span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="offer-board"] .showcase-intel-list strong,
body[data-page="city-pipeline"] .showcase-intel-list strong {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

body[data-page="offer-board"] .showcase-card-section,
body[data-page="city-pipeline"] .showcase-card-section {
  padding: 30px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 241, 0.94));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--showcase-public-shadow);
}

body[data-page="offer-board"] .showcase-card-section-head,
body[data-page="city-pipeline"] .showcase-card-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

body[data-page="offer-board"] .showcase-card-section-head h3,
body[data-page="city-pipeline"] .showcase-card-section-head h3 {
  color: var(--showcase-public-ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.98;
}

body[data-page="offer-board"] .showcase-card-section-head p,
body[data-page="city-pipeline"] .showcase-card-section-head p {
  max-width: 720px;
  color: rgba(15, 23, 42, 0.66);
}

body[data-page="offer-board"] .showcase-card-section-meta,
body[data-page="city-pipeline"] .showcase-card-section-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="offer-board"] .showcase-card-section-meta span,
body[data-page="city-pipeline"] .showcase-card-section-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(var(--showcase-public-accent), 0.08);
  border: 1px solid rgba(var(--showcase-public-accent), 0.14);
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
}

body[data-page="offer-board"] .showcase-card-grid,
body[data-page="city-pipeline"] .showcase-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
}

body[data-page="offer-board"] .showcase-card,
body[data-page="city-pipeline"] .showcase-card {
  padding: 14px;
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 238, 0.96));
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body[data-page="offer-board"] .showcase-card:hover,
body[data-page="city-pipeline"] .showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px rgba(15, 23, 42, 0.12);
  border-color: rgba(var(--showcase-public-accent), 0.18);
}

body[data-page="offer-board"] .showcase-card-media,
body[data-page="city-pipeline"] .showcase-card-media {
  border-radius: 24px;
}

body[data-page="offer-board"] .showcase-card-media-top,
body[data-page="city-pipeline"] .showcase-card-media-top {
  inset: 14px 14px auto;
}

body[data-page="offer-board"] .showcase-mini-badge,
body[data-page="city-pipeline"] .showcase-mini-badge {
  background: rgba(10, 14, 18, 0.46);
}

body[data-page="offer-board"] .showcase-card-body,
body[data-page="city-pipeline"] .showcase-card-body {
  gap: 16px;
  padding: 18px 8px 8px;
}

body[data-page="offer-board"] .showcase-card-head h3,
body[data-page="city-pipeline"] .showcase-card-head h3 {
  color: var(--showcase-public-ink);
  font-size: 30px;
}

body[data-page="offer-board"] .showcase-card-head p,
body[data-page="city-pipeline"] .showcase-card-head p,
body[data-page="offer-board"] .showcase-card-location,
body[data-page="city-pipeline"] .showcase-card-location {
  color: rgba(15, 23, 42, 0.6);
}

body[data-page="offer-board"] .showcase-card-chip-row .meta-chip,
body[data-page="city-pipeline"] .showcase-card-chip-row .meta-chip {
  background: rgba(var(--showcase-public-accent), 0.08);
  border: 1px solid rgba(var(--showcase-public-accent), 0.14);
  color: #0f172a;
}

body[data-page="offer-board"] .showcase-metric,
body[data-page="city-pipeline"] .showcase-metric {
  background: linear-gradient(180deg, #f8f6f2, #f0ece5);
  border-color: rgba(15, 23, 42, 0.06);
}

body[data-page="offer-board"] .showcase-metric span,
body[data-page="city-pipeline"] .showcase-metric span {
  color: rgba(15, 23, 42, 0.48);
}

body[data-page="offer-board"] .showcase-metric strong,
body[data-page="city-pipeline"] .showcase-metric strong {
  color: var(--showcase-public-ink);
}

body[data-page="offer-board"] .showcase-card-actions .btn-shell-primary,
body[data-page="city-pipeline"] .showcase-card-actions .btn-shell-primary,
body[data-page="offer-board"] .showcase-page-actions .btn-shell-primary,
body[data-page="city-pipeline"] .showcase-page-actions .btn-shell-primary {
  background: linear-gradient(135deg, rgba(var(--showcase-public-accent), 0.98), rgba(var(--showcase-public-accent), 0.76));
  color: #fff;
}

body[data-page="offer-board"] .showcase-page-actions .btn-shell-secondary,
body[data-page="city-pipeline"] .showcase-page-actions .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-page="offer-board"] .showcase-mode-row,
body[data-page="city-pipeline"] .showcase-mode-row {
  margin-bottom: -4px;
}

body[data-page="offer-board"] .showcase-card-chip-row .showcase-need-chip.is-gap,
body[data-page="city-pipeline"] .showcase-card-chip-row .showcase-need-chip.is-gap {
  background: rgba(15, 138, 67, 0.12);
  border-color: rgba(15, 138, 67, 0.22);
  color: #0f8a43;
}

body[data-page="offer-board"] .showcase-card-chip-row .showcase-need-chip.is-project,
body[data-page="city-pipeline"] .showcase-card-chip-row .showcase-need-chip.is-project {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.1);
  color: #243244;
}

body[data-page="offer-board"] .showcase-card-chip-row .showcase-signal-chip.is-strong,
body[data-page="city-pipeline"] .showcase-card-chip-row .showcase-signal-chip.is-strong {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.28);
  color: #9a6300;
}

body[data-page="offer-board"] .showcase-card-chip-row .showcase-signal-chip.is-live,
body[data-page="city-pipeline"] .showcase-card-chip-row .showcase-signal-chip.is-live {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.18);
  color: #1d4ed8;
}

body[data-page="offer-board"] .showcase-card-chip-row .showcase-signal-chip.is-risk,
body[data-page="city-pipeline"] .showcase-card-chip-row .showcase-signal-chip.is-risk {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.18);
  color: #b42318;
}

body[data-page="offer-board"] .showcase-gap-panel,
body[data-page="city-pipeline"] .showcase-gap-panel {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(var(--showcase-public-accent), 0.12);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(250, 247, 241, 0.92));
}

body[data-page="offer-board"] .showcase-gap-panel.compact,
body[data-page="city-pipeline"] .showcase-gap-panel.compact {
  gap: 8px;
  padding: 12px 14px;
}

body[data-page="offer-board"] .showcase-gap-panel-row,
body[data-page="city-pipeline"] .showcase-gap-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="offer-board"] .showcase-gap-panel-row span,
body[data-page="city-pipeline"] .showcase-gap-panel-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(15, 23, 42, 0.54);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="offer-board"] .showcase-gap-panel-row strong,
body[data-page="city-pipeline"] .showcase-gap-panel-row strong {
  color: var(--showcase-public-ink);
  font-size: 14px;
  text-align: right;
}

body[data-page="offer-board"] .showcase-gap-panel p,
body[data-page="city-pipeline"] .showcase-gap-panel p {
  color: rgba(15, 23, 42, 0.72);
  line-height: 1.55;
}

body[data-page="offer-board"] .showcase-gap-warning,
body[data-page="city-pipeline"] .showcase-gap-warning {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px dashed rgba(15, 23, 42, 0.14);
  color: rgba(15, 23, 42, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-panel,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-panel {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-panel-row span,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-panel-row span,
body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-panel p,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-panel p,
body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-warning,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-warning {
  color: rgba(255, 255, 255, 0.74);
}

body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-panel-row strong,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-panel-row strong {
  color: #fff;
}

body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-warning,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-warning {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="city-pipeline"] .showcase-hero-side-city {
  gap: 16px;
}

body[data-page="city-pipeline"] .showcase-summary-ribbon-city span {
  min-height: 40px;
}

body[data-page="city-pipeline"] .showcase-city-command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="city-pipeline"] .showcase-city-command-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05)),
    rgba(7, 10, 16, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px);
}

body[data-page="city-pipeline"] .showcase-city-command-card.is-wide {
  grid-column: 1 / -1;
}

body[data-page="city-pipeline"] .showcase-city-command-card.is-accent {
  background:
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05)),
    rgba(7, 10, 16, 0.52);
}

body[data-page="city-pipeline"] .showcase-city-command-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="city-pipeline"] .showcase-city-command-card strong {
  color: #fff;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

body[data-page="city-pipeline"] .showcase-city-command-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.58;
}

body[data-page="city-pipeline"] .showcase-city-lane {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 22px;
  padding: 32px;
  border-radius: 38px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--showcase-public-shadow);
}

body[data-page="city-pipeline"] .showcase-city-lane::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(var(--showcase-public-accent), 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 200, 120, 0.12), transparent 28%);
  pointer-events: none;
}

body[data-page="city-pipeline"] .showcase-city-lane.is-gap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 251, 247, 0.94));
}

body[data-page="city-pipeline"] .showcase-city-lane.is-project {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 255, 0.94));
}

body[data-page="city-pipeline"] .showcase-city-lane-head,
body[data-page="city-pipeline"] .showcase-city-lane-grid {
  position: relative;
  z-index: 1;
}

body[data-page="city-pipeline"] .showcase-city-lane-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

body[data-page="city-pipeline"] .showcase-city-lane-head h3 {
  color: #0f172a;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 0.96;
}

body[data-page="city-pipeline"] .showcase-city-lane-head p {
  max-width: 760px;
  color: rgba(15, 23, 42, 0.68);
}

body[data-page="city-pipeline"] .showcase-city-lane-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="city-pipeline"] .showcase-city-lane-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
}

body[data-page="city-pipeline"] .showcase-city-lane-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

body[data-page="city-pipeline"] .showcase-city-lane-grid.is-single {
  grid-template-columns: 1fr;
}

body[data-page="city-pipeline"] .showcase-city-lead-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: start;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  min-height: 100%;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 78px rgba(10, 14, 22, 0.16);
}

body[data-page="city-pipeline"] .showcase-city-lead-card.is-gap {
  background:
    radial-gradient(circle at top right, rgba(38, 211, 150, 0.14), transparent 32%),
    linear-gradient(145deg, #0a1216, #112820 62%, #10211c 100%);
}

body[data-page="city-pipeline"] .showcase-city-lead-card.is-project {
  background:
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.2), transparent 34%),
    linear-gradient(145deg, #09111d, #152847 62%, #0c1728 100%);
}

body[data-page="city-pipeline"] .showcase-city-lead-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 108px 108px;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.48), transparent 86%);
  pointer-events: none;
}

body[data-page="city-pipeline"] .showcase-city-lead-media,
body[data-page="city-pipeline"] .showcase-city-lead-body {
  position: relative;
  z-index: 1;
}

body[data-page="city-pipeline"] .showcase-city-lead-media {
  align-self: start;
  aspect-ratio: 1 / 1;
  min-height: 0;
}

body[data-page="city-pipeline"] .showcase-city-lead-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="city-pipeline"] .showcase-city-lead-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.12), rgba(8, 10, 14, 0.54)),
    linear-gradient(90deg, rgba(8, 10, 14, 0.04), rgba(8, 10, 14, 0.54));
}

body[data-page="city-pipeline"] .showcase-city-lead-badges {
  position: absolute;
  inset: 18px 18px auto;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

body[data-page="city-pipeline"] .showcase-city-lead-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(10, 14, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

body[data-page="city-pipeline"] .showcase-city-lead-body {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 28px;
}

body[data-page="city-pipeline"] .showcase-city-lead-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body[data-page="city-pipeline"] .showcase-city-lead-location,
body[data-page="city-pipeline"] .showcase-city-lead-partner {
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="city-pipeline"] .showcase-city-lead-heading {
  display: grid;
  gap: 12px;
}

body[data-page="city-pipeline"] .showcase-city-lead-heading h3 {
  color: #fff;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.96;
}

body[data-page="city-pipeline"] .showcase-city-lead-heading p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.68;
}

body[data-page="city-pipeline"] .showcase-city-lead-chip-row .meta-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

body[data-page="city-pipeline"] .showcase-city-lead-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="city-pipeline"] .showcase-city-lead-stats div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="city-pipeline"] .showcase-city-lead-stats span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="city-pipeline"] .showcase-city-lead-stats strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

body[data-page="city-pipeline"] .showcase-city-lead-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="city-pipeline"] .showcase-city-lead-note p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

body[data-page="city-pipeline"] .showcase-city-lead-note .ui-icon {
  color: rgba(255, 255, 255, 0.88);
}

body[data-page="city-pipeline"] .showcase-city-lead-actions .btn-shell-primary {
  width: auto;
  min-width: 220px;
  justify-content: center;
}

body[data-page="city-pipeline"] .showcase-city-rail,
body[data-page="city-pipeline"] .showcase-city-overflow-grid {
  position: relative;
  z-index: 1;
}

body[data-page="city-pipeline"] .showcase-city-overflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}

body[data-page="city-pipeline"] .showcase-city-signal-card {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: start;
  align-self: start;
  grid-template-columns: 144px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  height: auto;
}

body[data-page="city-pipeline"] .showcase-city-signal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 72px rgba(15, 23, 42, 0.12);
  border-color: rgba(var(--showcase-public-accent), 0.18);
}

body[data-page="city-pipeline"] .showcase-city-signal-card.is-gap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(243, 252, 248, 0.94));
}

body[data-page="city-pipeline"] .showcase-city-signal-card.is-project {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 255, 0.94));
}

body[data-page="city-pipeline"] .showcase-city-signal-card.is-compact {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  height: 100%;
}

body[data-page="city-pipeline"] .showcase-city-signal-media {
  position: relative;
  overflow: hidden;
  align-self: start;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #dbe2ec, #cfd9e6);
}

body[data-page="city-pipeline"] .showcase-city-signal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="city-pipeline"] .showcase-city-signal-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.08), rgba(8, 10, 14, 0.48));
}

body[data-page="city-pipeline"] .showcase-city-signal-media-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 14, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="city-pipeline"] .showcase-city-signal-body {
  display: grid;
  align-content: start;
  gap: 10px;
}

body[data-page="city-pipeline"] .showcase-city-signal-card.is-compact .showcase-city-signal-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

body[data-page="city-pipeline"] .showcase-city-signal-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

body[data-page="city-pipeline"] .showcase-city-signal-topline span {
  color: rgba(15, 23, 42, 0.52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="city-pipeline"] .showcase-city-signal-body h4 {
  color: #0f172a;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1;
}

body[data-page="city-pipeline"] .showcase-city-signal-card.is-compact .showcase-city-signal-body h4 {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.04;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body[data-page="city-pipeline"] .showcase-city-signal-body p {
  color: rgba(15, 23, 42, 0.66);
  line-height: 1.58;
}

body[data-page="city-pipeline"] .showcase-city-signal-card.is-compact .showcase-city-signal-body p,
body[data-page="city-pipeline"] .showcase-city-signal-card.is-compact .showcase-city-signal-note strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body[data-page="city-pipeline"] .showcase-city-signal-card.is-compact .showcase-city-signal-body p {
  -webkit-line-clamp: 3;
}

body[data-page="city-pipeline"] .showcase-city-signal-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="city-pipeline"] .showcase-city-signal-stats div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

body[data-page="city-pipeline"] .showcase-city-signal-stats span {
  color: rgba(15, 23, 42, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="city-pipeline"] .showcase-city-signal-stats strong {
  color: #0f172a;
  font-size: 13px;
  line-height: 1.4;
}

body[data-page="city-pipeline"] .showcase-city-signal-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(var(--showcase-public-accent), 0.05);
  border: 1px solid rgba(var(--showcase-public-accent), 0.1);
}

body[data-page="city-pipeline"] .showcase-city-signal-note strong {
  color: rgba(15, 23, 42, 0.74);
  font-size: 12px;
  line-height: 1.5;
}

body[data-page="city-pipeline"] .showcase-city-signal-card.is-compact .showcase-city-signal-note strong {
  -webkit-line-clamp: 2;
}

body[data-page="city-pipeline"] .showcase-city-signal-note .ui-icon {
  color: rgba(var(--showcase-public-accent), 0.86);
}

body[data-page="city-pipeline"] .showcase-city-signal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1944b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

body[data-page="city-pipeline"] .showcase-city-signal-card.is-compact .showcase-city-signal-link {
  margin-top: auto;
}

body[data-page="city-pipeline"] .showcase-city-signal-link:hover {
  color: #102f86;
}

.showcase-form-note {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body[data-page="admin-showcase"] .showcase-card-chip-row .showcase-need-chip.is-gap {
  background: rgba(15, 138, 67, 0.12);
  border-color: rgba(15, 138, 67, 0.22);
  color: #0f8a43;
}

body[data-page="admin-showcase"] .showcase-card-chip-row .showcase-need-chip.is-project {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.1);
  color: #243244;
}

body[data-page="admin-showcase"] .showcase-card-chip-row .showcase-signal-chip.is-strong {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.28);
  color: #9a6300;
}

body[data-page="admin-showcase"] .showcase-card-chip-row .showcase-signal-chip.is-live {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.18);
  color: #1d4ed8;
}

body[data-page="admin-showcase"] .showcase-card-chip-row .showcase-signal-chip.is-risk {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.18);
  color: #b42318;
}

body[data-page="admin-showcase"] .showcase-gap-panel {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

body[data-page="admin-showcase"] .showcase-gap-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="admin-showcase"] .showcase-gap-panel-row span {
  color: rgba(15, 23, 42, 0.54);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="admin-showcase"] .showcase-gap-panel-row strong {
  color: #182233;
  font-size: 13px;
  text-align: right;
}

body[data-page="admin-showcase"] .showcase-gap-panel p {
  color: #607088;
  line-height: 1.5;
}

body[data-page="admin-showcase"] .showcase-gap-warning {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px dashed rgba(15, 23, 42, 0.12);
  color: #435268;
  font-size: 12px;
  line-height: 1.4;
}

@media (max-width: 1180px) {
  body[data-page="offer-board"] .showcase-page-grid,
  body[data-page="city-pipeline"] .showcase-page-grid,
  body[data-page="offer-board"] .showcase-hero,
  body[data-page="city-pipeline"] .showcase-hero {
    grid-template-columns: 1fr;
  }

  body[data-page="offer-board"] .showcase-page-copy,
  body[data-page="city-pipeline"] .showcase-page-copy {
    max-width: none;
  }

  body[data-page="city-pipeline"] .showcase-city-lane-grid,
  body[data-page="city-pipeline"] .showcase-city-lead-card {
    grid-template-columns: 1fr;
  }

  body[data-page="city-pipeline"] .showcase-city-overflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  body[data-page="city-pipeline"] {
    --showcase-page-image-placement: center 26%/cover no-repeat;
    --showcase-stage-image-placement: center 32%/cover no-repeat;
  }

  body[data-page="offer-board"] .site-header,
  body[data-page="city-pipeline"] .site-header {
    padding-top: 10px;
  }

  body[data-page="offer-board"] .nav-shell,
  body[data-page="city-pipeline"] .nav-shell {
    padding: 12px 14px;
    border-radius: 26px;
  }

  body[data-page="offer-board"] .showcase-page-banner,
  body[data-page="city-pipeline"] .showcase-page-banner,
  body[data-page="offer-board"] .showcase-hero,
  body[data-page="city-pipeline"] .showcase-hero,
  body[data-page="offer-board"] .showcase-card-section,
  body[data-page="city-pipeline"] .showcase-card-section,
  body[data-page="city-pipeline"] .showcase-city-lane {
    padding: 24px;
    border-radius: 30px;
  }

  body[data-page="offer-board"] .showcase-page-prelude,
  body[data-page="city-pipeline"] .showcase-page-prelude,
  body[data-page="offer-board"] .showcase-card-section-head,
  body[data-page="city-pipeline"] .showcase-card-section-head,
  body[data-page="city-pipeline"] .showcase-city-lane-head,
  body[data-page="city-pipeline"] .showcase-city-signal-topline,
  body[data-page="city-pipeline"] .showcase-city-lead-topline {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="offer-board"] .showcase-hero-stat-grid,
  body[data-page="city-pipeline"] .showcase-hero-stat-grid,
  body[data-page="offer-board"] .showcase-page-brief-grid,
  body[data-page="city-pipeline"] .showcase-page-brief-grid,
  body[data-page="offer-board"] .showcase-card-grid,
  body[data-page="city-pipeline"] .showcase-card-grid,
  body[data-page="city-pipeline"] .showcase-city-command-grid,
  body[data-page="city-pipeline"] .showcase-city-overflow-grid,
  body[data-page="city-pipeline"] .showcase-city-signal-stats,
  body[data-page="city-pipeline"] .showcase-city-lead-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="city-pipeline"] .showcase-city-signal-card:not(.is-compact) {
    grid-template-columns: 132px minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  body[data-page="offer-board"] .page-shell.showcase-page,
  body[data-page="city-pipeline"] .page-shell.showcase-page {
    padding-bottom: 68px;
  }

  body[data-page="offer-board"] .showcase-page-copy h1,
  body[data-page="city-pipeline"] .showcase-page-copy h1 {
    font-size: 42px;
  }

  body[data-page="offer-board"] .showcase-hero-copy h2,
  body[data-page="city-pipeline"] .showcase-hero-copy h2 {
    font-size: 38px;
  }

  body[data-page="offer-board"] .showcase-hero-stat-grid,
  body[data-page="city-pipeline"] .showcase-hero-stat-grid,
  body[data-page="offer-board"] .showcase-page-brief-grid,
  body[data-page="city-pipeline"] .showcase-page-brief-grid,
  body[data-page="offer-board"] .showcase-card-grid,
  body[data-page="city-pipeline"] .showcase-card-grid,
  body[data-page="offer-board"] .showcase-card-metrics,
  body[data-page="city-pipeline"] .showcase-card-metrics,
  body[data-page="offer-board"] .showcase-spotlight-stats,
  body[data-page="city-pipeline"] .showcase-spotlight-stats,
  body[data-page="city-pipeline"] .showcase-city-command-grid,
  body[data-page="city-pipeline"] .showcase-city-overflow-grid,
  body[data-page="city-pipeline"] .showcase-city-signal-stats,
  body[data-page="city-pipeline"] .showcase-city-lead-stats {
    grid-template-columns: 1fr;
  }

  body[data-page="offer-board"] .showcase-page-actions,
  body[data-page="city-pipeline"] .showcase-page-actions {
    width: 100%;
  }

  body[data-page="offer-board"] .showcase-page-actions .btn-shell,
  body[data-page="city-pipeline"] .showcase-page-actions .btn-shell,
  body[data-page="offer-board"] .showcase-card-actions .btn-shell,
  body[data-page="city-pipeline"] .showcase-card-actions .btn-shell,
  body[data-page="offer-board"] .showcase-spotlight-actions .btn-shell,
  body[data-page="city-pipeline"] .showcase-spotlight-actions .btn-shell,
  body[data-page="city-pipeline"] .showcase-city-lead-actions .btn-shell {
    width: 100%;
  }

  body[data-page="city-pipeline"] .showcase-city-lane,
  body[data-page="city-pipeline"] .showcase-city-lead-body {
    padding: 24px;
  }

  body[data-page="city-pipeline"] .showcase-city-signal-card,
  body[data-page="city-pipeline"] .showcase-city-signal-card.is-compact {
    grid-template-columns: 1fr;
  }

  body[data-page="city-pipeline"] .showcase-city-signal-media {
    min-height: 180px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  --role-accent-rgb: 245, 158, 11;
  --role-stage-rgb: 255, 245, 222;
  --role-atmosphere-a: rgba(255, 209, 102, 0.18);
  --role-atmosphere-b: rgba(255, 152, 77, 0.14);
  --role-panel-shadow: 0 28px 80px rgba(20, 24, 34, 0.1);
  --role-panel-border: rgba(255, 255, 255, 0.68);
  --role-panel-fill: rgba(255, 255, 255, 0.8);
  --role-hero-overlay: linear-gradient(135deg, rgba(30, 38, 50, 0.7), rgba(46, 59, 80, 0.26));
  background:
    radial-gradient(circle at 14% 0%, rgba(var(--role-accent-rgb), 0.12), rgba(var(--role-accent-rgb), 0) 26%),
    radial-gradient(circle at 86% 10%, rgba(var(--role-accent-rgb), 0.08), rgba(var(--role-accent-rgb), 0) 24%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f6fb 52%, #f5f7fb 100%);
}

body[data-role="admin"] {
  --accent-start: #8191ff;
  --accent-end: #4f6df7;
  --accent: #5b7fff;
  --role-accent-rgb: 91, 127, 255;
  --role-stage-rgb: 229, 236, 255;
  --role-atmosphere-a: rgba(127, 145, 255, 0.18);
  --role-atmosphere-b: rgba(91, 127, 255, 0.12);
  --role-hero-overlay: linear-gradient(135deg, rgba(24, 33, 52, 0.74), rgba(63, 88, 152, 0.24));
}

body[data-role="seller"] {
  --accent-start: #ffb44d;
  --accent-end: #ff8442;
  --accent: #f59e0b;
  --role-accent-rgb: 245, 158, 11;
  --role-stage-rgb: 255, 240, 222;
  --role-atmosphere-a: rgba(255, 180, 77, 0.18);
  --role-atmosphere-b: rgba(255, 132, 66, 0.12);
  --role-hero-overlay: linear-gradient(135deg, rgba(55, 36, 18, 0.6), rgba(156, 92, 38, 0.18));
}

body[data-role="investor"] {
  --accent-start: #43c0b4;
  --accent-end: #2f8cff;
  --accent: #2bb7a8;
  --role-accent-rgb: 43, 183, 168;
  --role-stage-rgb: 226, 247, 244;
  --role-atmosphere-a: rgba(67, 192, 180, 0.16);
  --role-atmosphere-b: rgba(47, 140, 255, 0.12);
  --role-hero-overlay: linear-gradient(135deg, rgba(14, 38, 45, 0.62), rgba(28, 115, 126, 0.2));
}

body::before {
  height: 38vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(var(--role-stage-rgb), 0.62)),
    radial-gradient(circle at 82% 22%, rgba(var(--role-accent-rgb), 0.12), rgba(var(--role-accent-rgb), 0) 28%);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 8% 100%, var(--role-atmosphere-a), transparent 32%),
    radial-gradient(circle at 100% 100%, var(--role-atmosphere-b), transparent 34%);
  pointer-events: none;
  z-index: -3;
}

.site-header {
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(var(--role-accent-rgb), 0.08);
  box-shadow: 0 18px 46px rgba(22, 27, 39, 0.06);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--role-accent-rgb), 0), rgba(var(--role-accent-rgb), 0.28), rgba(var(--role-accent-rgb), 0));
  pointer-events: none;
}

.nav-shell {
  position: relative;
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 6px 18% auto;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(var(--role-accent-rgb), 0.12), rgba(var(--role-accent-rgb), 0) 70%);
  filter: blur(18px);
  pointer-events: none;
  opacity: 0.85;
}

.top-nav,
.portal-menu-panel,
.notification-drawer,
.modal-card,
.auth-stage,
.page-intro-card,
.panel-card,
.landing-panel,
.showcase-card,
.showcase-spotlight-card,
.showcase-admin-card,
.property-card.property-card-intelligence,
.vote-card {
  border-color: rgba(var(--role-accent-rgb), 0.08);
  box-shadow: var(--role-panel-shadow);
}

.session-chip {
  background: rgba(var(--role-accent-rgb), 0.1);
  border-color: rgba(var(--role-accent-rgb), 0.12);
  color: #23314b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
}

body[data-role="admin"] .session-chip {
  color: #3953cc;
}

body[data-role="seller"] .session-chip {
  color: #9a6300;
}

body[data-role="investor"] .session-chip {
  color: #0d7f76;
}

.page-intro-card,
.panel-card,
.modal-card,
.landing-panel,
.auth-surface,
.auth-floating-card,
.showcase-card,
.showcase-spotlight-card,
.showcase-admin-card,
.property-card.property-card-intelligence,
.vote-card,
.portal-entry {
  position: relative;
  isolation: isolate;
}

.page-intro-card::before,
.panel-card::before,
.modal-card::before,
.landing-panel::before,
.auth-surface::before,
.showcase-card::before,
.showcase-spotlight-card::before,
.showcase-admin-card::before,
.property-card.property-card-intelligence::before,
.vote-card::before,
.portal-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--role-accent-rgb), 0.18), rgba(255, 255, 255, 0.78), rgba(var(--role-accent-rgb), 0.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.ui-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 860ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 860ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--ui-reveal-delay, 0ms);
}

.ui-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.ui-tilt-card {
  --ui-tilt-x: 0deg;
  --ui-tilt-y: 0deg;
  --ui-glow-x: 50%;
  --ui-glow-y: 50%;
  --ui-lift-y: 0px;
  transform-style: preserve-3d;
  transform:
    perspective(1400px)
    translate3d(0, var(--ui-lift-y), 0)
    rotateX(var(--ui-tilt-x))
    rotateY(var(--ui-tilt-y));
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    border-color 280ms ease,
    background 280ms ease;
  will-change: transform;
}

.ui-tilt-card:hover,
.ui-tilt-card.is-tilting {
  --ui-lift-y: -8px;
  box-shadow:
    0 32px 82px rgba(20, 24, 34, 0.14),
    0 0 0 1px rgba(var(--role-accent-rgb), 0.12);
}

.page-role-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.page-role-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(var(--role-accent-rgb), 0.08);
  color: #677184;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-role-pill.is-role {
  background: rgba(var(--role-accent-rgb), 0.12);
  border-color: rgba(var(--role-accent-rgb), 0.16);
  color: rgb(var(--role-accent-rgb));
}

.page-intro-card {
  background:
    radial-gradient(circle at top right, rgba(var(--role-accent-rgb), 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 253, 0.94));
  overflow: hidden;
}

.panel-card,
.modal-card {
  background:
    radial-gradient(circle at top right, rgba(var(--role-accent-rgb), 0.08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 252, 0.94));
}

.brand-mark,
.top-nav,
.portal-menu-panel {
  box-shadow:
    0 18px 42px rgba(18, 24, 34, 0.08),
    0 0 0 1px rgba(var(--role-accent-rgb), 0.05);
}

.brand-mark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 252, 0.96));
}

.btn-shell-primary {
  box-shadow:
    0 18px 36px rgba(var(--role-accent-rgb), 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-shell-primary:hover {
  box-shadow:
    0 24px 48px rgba(var(--role-accent-rgb), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

body[data-page="landing"] .hero-home {
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: 0 36px 98px rgba(20, 24, 34, 0.14);
}

body[data-page="landing"] .hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}

body[data-page="landing"] .hero-canvas,
body[data-page="landing"] #hero-canvas {
  transform-style: preserve-3d;
}

body[data-page="landing"] .hero-home-backdrop {
  background:
    var(--role-hero-overlay),
    linear-gradient(180deg, rgba(16, 22, 33, 0.04), rgba(16, 22, 33, 0.56)),
    var(--hero-image) center/cover no-repeat;
  transform: scale(1.06) translate3d(var(--hero-shift-x), var(--hero-shift-y), 0);
  filter: saturate(1.04) contrast(1.03);
  transition: transform 420ms ease, filter 420ms ease, opacity 420ms ease;
}

body[data-page="landing"] .hero-home.is-awake .hero-home-backdrop,
body[data-page="landing"] .hero-home.is-interacting .hero-home-backdrop,
body[data-page="landing"] .hero-home:hover .hero-home-backdrop {
  transform: scale(1.12) translate3d(var(--hero-shift-x), var(--hero-shift-y), 0);
  filter: saturate(1.12) contrast(1.08) brightness(1.03);
}

body[data-page="landing"] .hero-coordinate-layer {
  transform: translate3d(calc(var(--hero-shift-x) * -0.36), calc(var(--hero-shift-y) * -0.36), 0);
  transition: transform 420ms ease, opacity 320ms ease;
}

body[data-page="landing"] .city-node-layer {
  transform: translate3d(calc(var(--hero-shift-x) * 0.22), calc(var(--hero-shift-y) * 0.22), 0);
  transition: transform 420ms ease;
}

body[data-page="landing"] .mouse-glow {
  width: 440px;
  height: 440px;
  background:
    radial-gradient(circle, rgba(var(--hero-focus-accent-rgb), 0.26) 0%, rgba(255, 255, 255, 0.11) 22%, rgba(var(--hero-focus-accent-rgb), 0) 68%);
}

body[data-page="landing"] .hero-atlas-stack {
  backdrop-filter: blur(20px);
}

body[data-page="landing"] .landing-panel,
body[data-page="landing"] .landing-role-link,
body[data-page="landing"] .landing-showcase-card,
body[data-page="landing"] .landing-ranking-mini,
body[data-page="landing"] .landing-demand-card {
  background:
    radial-gradient(circle at var(--ui-glow-x, 50%) var(--ui-glow-y, 50%), rgba(var(--role-accent-rgb), 0.12), rgba(var(--role-accent-rgb), 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 253, 0.94));
  border: 1px solid rgba(var(--role-accent-rgb), 0.08);
}

body[data-page="landing"] .landing-role-link.role-admin-link {
  background:
    radial-gradient(circle at var(--ui-glow-x, 50%) var(--ui-glow-y, 50%), rgba(91, 127, 255, 0.14), rgba(91, 127, 255, 0) 34%),
    linear-gradient(180deg, rgba(250, 252, 255, 0.96), rgba(244, 247, 255, 0.94));
}

body[data-page="landing"] .landing-role-link.role-seller-link {
  background:
    radial-gradient(circle at var(--ui-glow-x, 50%) var(--ui-glow-y, 50%), rgba(245, 158, 11, 0.16), rgba(245, 158, 11, 0) 34%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(255, 247, 238, 0.94));
}

body[data-page="landing"] .landing-role-link.role-investor-link {
  background:
    radial-gradient(circle at var(--ui-glow-x, 50%) var(--ui-glow-y, 50%), rgba(43, 183, 168, 0.14), rgba(43, 183, 168, 0) 34%),
    linear-gradient(180deg, rgba(245, 255, 252, 0.96), rgba(238, 251, 249, 0.94));
}

body[data-page="landing"] .landing-role-panel {
  background:
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.24), rgba(91, 127, 255, 0) 34%),
    radial-gradient(circle at 8% 100%, rgba(245, 158, 11, 0.14), rgba(245, 158, 11, 0) 34%),
    linear-gradient(160deg, rgba(20, 26, 40, 0.96), rgba(29, 38, 60, 0.94));
  border-color: rgba(125, 148, 255, 0.2);
  box-shadow: 0 34px 84px rgba(15, 23, 42, 0.16);
}

body[data-page="landing"] .landing-role-panel h2 {
  color: rgba(247, 249, 252, 0.97);
}

body[data-page="landing"] .landing-role-panel > p {
  color: rgba(232, 238, 247, 0.74);
}

body[data-page="landing"] .landing-role-panel .eyebrow {
  color: rgba(221, 229, 241, 0.54);
}

body[data-page="landing"] .landing-role-link {
  box-shadow:
    0 18px 36px rgba(7, 13, 25, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

body[data-page="landing"] .landing-role-link span {
  color: rgba(78, 91, 116, 0.86);
}

body[data-page="landing"] .landing-role-link strong {
  color: #172134;
}

body[data-page="landing"] .landing-role-link:hover,
body[data-page="landing"] .landing-showcase-card:hover,
body[data-page="landing"] .landing-ranking-mini:hover,
body[data-page="landing"] .landing-demand-card:hover {
  border-color: rgba(var(--role-accent-rgb), 0.16);
}

body[data-page="offer-board"] .showcase-hero,
body[data-page="city-pipeline"] .showcase-hero {
  background:
    linear-gradient(135deg, rgba(32, 42, 59, 0.94), rgba(67, 82, 106, 0.86)),
    radial-gradient(circle at top right, rgba(var(--role-accent-rgb), 0.16), rgba(var(--role-accent-rgb), 0) 32%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 34px 88px rgba(18, 24, 34, 0.18);
}

body[data-page="offer-board"] .showcase-hero-copy h2,
body[data-page="city-pipeline"] .showcase-hero-copy h2,
body[data-page="offer-board"] .showcase-hero-copy p,
body[data-page="city-pipeline"] .showcase-hero-copy p,
body[data-page="offer-board"] .showcase-intel-dock h3,
body[data-page="city-pipeline"] .showcase-intel-dock h3,
body[data-page="offer-board"] .showcase-intel-dock p,
body[data-page="city-pipeline"] .showcase-intel-dock p {
  color: rgba(245, 247, 251, 0.96);
}

body[data-page="offer-board"] .showcase-search-shell,
body[data-page="city-pipeline"] .showcase-search-shell,
body[data-page="offer-board"] .showcase-summary-ribbon span,
body[data-page="city-pipeline"] .showcase-summary-ribbon span,
body[data-page="offer-board"] .showcase-hero-stat,
body[data-page="city-pipeline"] .showcase-hero-stat,
body[data-page="offer-board"] .showcase-intel-dock,
body[data-page="city-pipeline"] .showcase-intel-dock {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 247, 251, 0.94);
  backdrop-filter: blur(18px);
}

body[data-page="offer-board"] .showcase-card,
body[data-page="city-pipeline"] .showcase-card,
body[data-page="offer-board"] .showcase-spotlight-card,
body[data-page="city-pipeline"] .showcase-spotlight-card {
  background:
    radial-gradient(circle at var(--ui-glow-x, 50%) var(--ui-glow-y, 50%), rgba(var(--role-accent-rgb), 0.12), rgba(var(--role-accent-rgb), 0) 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 252, 0.92));
}

body[data-page="offer-board"] {
  --site-width: min(1680px, calc(100% - 32px));
  --role-accent-rgb: 245, 158, 11;
}

body[data-page="offer-board"] .page-shell.showcase-page {
  gap: 20px;
  padding-top: 8px;
}

body[data-page="offer-board"] .showcase-page-banner.is-condensed {
  padding: 24px 28px;
  border-radius: 34px;
}

body[data-page="offer-board"] .showcase-page-grid.is-condensed {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 18px;
  align-items: center;
}

body[data-page="offer-board"] .showcase-page-grid.is-condensed .showcase-page-copy {
  gap: 14px;
}

body[data-page="offer-board"] .showcase-page-grid.is-condensed .showcase-page-copy h1 {
  max-width: none;
  font-size: clamp(30px, 3.2vw, 46px);
}

body[data-page="offer-board"] .showcase-page-brief.is-compact {
  padding: 18px 20px;
  gap: 14px;
}

body[data-page="offer-board"] .showcase-page-brief.is-compact .showcase-page-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="offer-board"] .showcase-stage.is-offer {
  gap: clamp(24px, 2.4vw, 36px);
}

body[data-page="offer-board"] .showcase-hero {
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, 0.82fr);
  align-items: stretch;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 44px;
}

body[data-page="offer-board"] .showcase-hero::before {
  background:
    linear-gradient(94deg, rgba(8, 10, 14, 0.76) 0%, rgba(8, 10, 14, 0.48) 48%, rgba(22, 14, 9, 0.9) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(5, 7, 10, 0.56)),
    var(--showcase-stage-image) var(--showcase-stage-image-placement);
  opacity: 1;
  filter: saturate(0.78) contrast(1.04) brightness(0.5);
}

body[data-page="offer-board"] .showcase-hero-copy {
  align-content: start;
}

body[data-page="offer-board"] .showcase-spotlight-card,
body[data-page="offer-board"] .showcase-intel-dock {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(26, 18, 13, 0.94), rgba(14, 10, 9, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 72px rgba(22, 12, 4, 0.24);
  backdrop-filter: blur(24px);
}

body[data-page="offer-board"] .showcase-spotlight-media {
  aspect-ratio: 16 / 9.2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(14, 8, 4, 0.18);
}

body[data-page="offer-board"] .showcase-spotlight-copy {
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="offer-board"] .showcase-spotlight-copy h3 {
  color: rgba(255, 248, 240, 0.98);
  font-size: clamp(30px, 2.8vw, 42px);
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

body[data-page="offer-board"] .showcase-offer-hero-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

body[data-page="offer-board"] .showcase-offer-overline,
body[data-page="offer-board"] .showcase-offer-live-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body[data-page="offer-board"] .showcase-offer-overline {
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 236, 214, 0.82);
}

body[data-page="offer-board"] .showcase-offer-live-pill {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(251, 146, 60, 0.18));
  border: 1px solid rgba(255, 214, 153, 0.28);
  color: #fff7ef;
  box-shadow: 0 16px 34px rgba(95, 54, 9, 0.18);
}

body[data-page="offer-board"] .showcase-offer-heading {
  display: grid;
  gap: 14px;
}

body[data-page="offer-board"] .showcase-hero-copy h2 {
  max-width: 10.5ch;
  font-size: clamp(54px, 6.1vw, 88px);
  letter-spacing: -0.08em;
}

body[data-page="offer-board"] .showcase-hero-copy p {
  max-width: 52rem;
  color: rgba(255, 236, 214, 0.8);
  font-size: 17px;
  line-height: 1.72;
}

body[data-page="offer-board"] .showcase-offer-toolbar {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.4), rgba(10, 13, 18, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="offer-board"] .showcase-filter-panel {
  display: grid;
  gap: 12px;
}

body[data-page="offer-board"] .showcase-search-shell {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px rgba(6, 6, 7, 0.16);
}

body[data-page="offer-board"] .showcase-filter-row {
  gap: 12px;
}

body[data-page="offer-board"] .showcase-filter-row .filter-chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 241, 227, 0.84);
}

body[data-page="offer-board"] .showcase-filter-row .filter-chip.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.26), rgba(251, 146, 60, 0.16));
  border-color: rgba(255, 214, 153, 0.34);
  box-shadow: 0 16px 32px rgba(95, 54, 9, 0.18);
}

body[data-page="offer-board"] .showcase-summary-ribbon-offer {
  gap: 12px;
}

body[data-page="offer-board"] .showcase-summary-ribbon-offer span {
  background: linear-gradient(180deg, rgba(12, 15, 20, 0.74), rgba(9, 11, 15, 0.66));
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 246, 236, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 28px rgba(6, 6, 8, 0.16);
}

body[data-page="offer-board"] .showcase-offer-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body[data-page="offer-board"] .showcase-offer-stat {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 180px;
  padding: 20px 20px 18px;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.06), transparent 42%),
    linear-gradient(180deg, rgba(17, 20, 27, 0.92), rgba(9, 11, 15, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 40px rgba(5, 6, 8, 0.2);
  backdrop-filter: blur(22px) saturate(1.08);
}

body[data-page="offer-board"] .showcase-offer-stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 232, 209, 0.48), rgba(255, 255, 255, 0));
  pointer-events: none;
}

body[data-page="offer-board"] .showcase-offer-stat.is-accent {
  background:
    radial-gradient(circle at top right, rgba(255, 218, 167, 0.16), transparent 40%),
    linear-gradient(180deg, rgba(87, 56, 11, 0.94), rgba(42, 24, 7, 0.88));
  border-color: rgba(255, 214, 153, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 232, 209, 0.12),
    0 24px 44px rgba(72, 39, 8, 0.24);
}

body[data-page="offer-board"] .showcase-offer-stat span,
body[data-page="offer-board"] .showcase-offer-insight span {
  color: rgba(255, 222, 190, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="offer-board"] .showcase-offer-stat strong {
  color: rgba(255, 248, 240, 0.98);
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

body[data-page="offer-board"] .showcase-offer-stat p,
body[data-page="offer-board"] .showcase-offer-insight p {
  color: rgba(255, 238, 221, 0.78);
  font-size: 13px;
  line-height: 1.62;
}

body[data-page="offer-board"] .showcase-offer-stat p {
  max-width: 24ch;
}

body[data-page="offer-board"] .showcase-offer-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="offer-board"] .showcase-offer-insight {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.3), rgba(10, 13, 18, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="offer-board"] .showcase-offer-insight strong {
  color: rgba(255, 248, 240, 0.98);
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

body[data-page="offer-board"] .showcase-hero-side-offer {
  display: grid;
  gap: 18px;
  align-content: start;
}

body[data-page="offer-board"] .showcase-spotlight-copy p,
body[data-page="offer-board"] .showcase-intel-dock p,
body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-panel p,
body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-warning {
  color: rgba(255, 240, 224, 0.82);
}

body[data-page="offer-board"] .showcase-spotlight-card .panel-kicker,
body[data-page="offer-board"] .showcase-intel-dock .panel-kicker,
body[data-page="offer-board"] .showcase-spotlight-location,
body[data-page="offer-board"] .showcase-intel-list span,
body[data-page="offer-board"] .showcase-spotlight-stats span,
body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-panel-row span {
  color: rgba(255, 222, 190, 0.66);
}

body[data-page="offer-board"] .showcase-spotlight-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="offer-board"] .showcase-spotlight-stats div,
body[data-page="offer-board"] .showcase-intel-list div,
body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-panel,
body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-warning {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-page="offer-board"] .showcase-spotlight-stats strong,
body[data-page="offer-board"] .showcase-intel-dock h3,
body[data-page="offer-board"] .showcase-intel-list strong,
body[data-page="offer-board"] .showcase-spotlight-card .showcase-gap-panel-row strong {
  color: rgba(255, 249, 242, 0.98);
}

body[data-page="offer-board"] .showcase-spotlight-card .showcase-card-chip-row .meta-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 226, 186, 0.18);
  color: #fff4e3;
}

body[data-page="offer-board"] .showcase-spotlight-partner {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 226, 186, 0.16);
  color: #fff2de;
}

body[data-page="offer-board"] .showcase-intel-dock-offer {
  padding: 24px;
}

body[data-page="offer-board"] .showcase-intel-list-offer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="offer-board"] .showcase-card-section-offer {
  padding: clamp(26px, 3vw, 36px);
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 244, 236, 0.96));
  border-color: rgba(95, 54, 9, 0.08);
  box-shadow: 0 30px 76px rgba(35, 25, 13, 0.08);
}

body[data-page="offer-board"] .showcase-card-grid-offer {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

body[data-page="offer-board"] .showcase-card {
  padding: 16px;
  border-radius: 32px;
}

body[data-page="offer-board"] .showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 70px rgba(35, 25, 13, 0.14);
}

body[data-page="offer-board"] .showcase-card-media {
  aspect-ratio: 16 / 12.2;
}

body[data-page="offer-board"] .showcase-card-media::after {
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.04), rgba(8, 10, 15, 0.72));
}

body[data-page="offer-board"] .showcase-card-body {
  gap: 18px;
  padding: 20px 10px 10px;
}

body[data-page="offer-board"] .showcase-card-topline {
  align-items: center;
}

body[data-page="offer-board"] .showcase-card-timeline {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.16);
  color: #8a5502;
}

body[data-page="offer-board"] .showcase-card-head h3 {
  font-size: clamp(28px, 2.5vw, 34px);
}

body[data-page="offer-board"] .showcase-card-actions .btn-shell {
  min-height: 50px;
}

body[data-page="offer-board"] .showcase-spotlight-actions .btn-shell-primary {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.98), rgba(251, 146, 60, 0.84));
  border-color: rgba(255, 210, 120, 0.26);
  color: #fff;
  box-shadow: 0 16px 34px rgba(124, 66, 12, 0.28);
}

@media (max-width: 1280px) {
  body[data-page="offer-board"] .showcase-offer-stat-grid,
  body[data-page="offer-board"] .showcase-offer-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="offer-board"] .showcase-offer-stat {
    min-height: 168px;
  }
}

@media (max-width: 920px) {
  body[data-page="offer-board"] {
    --site-width: calc(100% - 20px);
  }

  body[data-page="offer-board"] .showcase-page-grid.is-condensed,
  body[data-page="offer-board"] .showcase-hero {
    grid-template-columns: 1fr;
  }

  body[data-page="offer-board"] .showcase-card-grid-offer,
  body[data-page="offer-board"] .showcase-page-brief.is-compact .showcase-page-actions,
  body[data-page="offer-board"] .showcase-intel-list-offer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body[data-page="offer-board"] {
    --site-width: calc(100% - 16px);
  }

  body[data-page="offer-board"] .showcase-page-banner.is-condensed,
  body[data-page="offer-board"] .showcase-offer-toolbar,
  body[data-page="offer-board"] .showcase-card-section-offer {
    padding: 18px;
  }

  body[data-page="offer-board"] .showcase-card-grid-offer,
  body[data-page="offer-board"] .showcase-page-brief.is-compact .showcase-page-actions,
  body[data-page="offer-board"] .showcase-offer-stat-grid,
  body[data-page="offer-board"] .showcase-offer-insight-grid,
  body[data-page="offer-board"] .showcase-intel-list-offer {
    grid-template-columns: 1fr;
  }

  body[data-page="offer-board"] .showcase-offer-stat {
    min-height: auto;
  }

  body[data-page="offer-board"] .showcase-offer-live-pill {
    width: 100%;
    justify-content: center;
  }
}

body[data-page="city-pipeline"] {
  --role-accent-rgb: 91, 127, 255;
}

body[data-page="city-pipeline"] .showcase-hero {
  background:
    linear-gradient(135deg, rgba(13, 18, 29, 0.96), rgba(27, 38, 61, 0.92)),
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.22), rgba(91, 127, 255, 0) 34%);
  align-items: start;
}

body[data-page="city-pipeline"] .showcase-hero::before {
  background:
    linear-gradient(92deg, rgba(4, 7, 12, 0.8) 0%, rgba(6, 10, 16, 0.52) 42%, rgba(5, 8, 14, 0.86) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(5, 8, 14, 0.58)),
    var(--showcase-stage-image) var(--showcase-stage-image-placement);
  opacity: 1;
  filter: saturate(0.9) contrast(1.02) brightness(0.68);
}

body[data-page="city-pipeline"] .showcase-hero-copy h2 {
  text-shadow: 0 14px 32px rgba(4, 7, 12, 0.34);
}

body[data-page="city-pipeline"] .showcase-hero-side {
  align-content: start;
}

body[data-page="city-pipeline"] .showcase-search-shell,
body[data-page="city-pipeline"] .showcase-summary-ribbon span,
body[data-page="city-pipeline"] .showcase-hero-stat {
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.58), rgba(10, 13, 20, 0.44));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 30px rgba(4, 8, 18, 0.14);
  color: rgba(245, 247, 251, 0.94);
  backdrop-filter: blur(18px);
}

body[data-page="city-pipeline"] .showcase-filter-row .filter-chip {
  background: rgba(8, 11, 18, 0.38);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
}

body[data-page="city-pipeline"] .showcase-filter-row .filter-chip.active {
  background: linear-gradient(135deg, rgba(91, 127, 255, 0.34), rgba(91, 127, 255, 0.2));
  border-color: rgba(153, 178, 255, 0.34);
  color: #fff;
  box-shadow: 0 14px 28px rgba(35, 53, 94, 0.24);
}

body[data-page="city-pipeline"] .showcase-spotlight-card,
body[data-page="city-pipeline"] .showcase-intel-dock {
  background:
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(16, 20, 30, 0.92), rgba(8, 10, 16, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 72px rgba(4, 8, 18, 0.28);
  backdrop-filter: blur(24px);
}

body[data-page="city-pipeline"] .showcase-spotlight-media {
  aspect-ratio: 16 / 9.2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 36px rgba(3, 7, 14, 0.2);
}

body[data-page="city-pipeline"] .showcase-spotlight-copy {
  gap: 14px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(6, 9, 15, 0.18), rgba(6, 9, 15, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body[data-page="city-pipeline"] .showcase-spotlight-copy h3 {
  font-size: clamp(28px, 2.6vw, 40px);
}

body[data-page="city-pipeline"] .showcase-spotlight-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="city-pipeline"] .showcase-spotlight-card .panel-kicker,
body[data-page="city-pipeline"] .showcase-intel-dock .panel-kicker,
body[data-page="city-pipeline"] .showcase-spotlight-location,
body[data-page="city-pipeline"] .showcase-intel-list span,
body[data-page="city-pipeline"] .showcase-spotlight-stats span,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-panel-row span {
  color: rgba(226, 232, 255, 0.72);
}

body[data-page="city-pipeline"] .showcase-spotlight-copy h3,
body[data-page="city-pipeline"] .showcase-spotlight-copy p,
body[data-page="city-pipeline"] .showcase-spotlight-stats strong,
body[data-page="city-pipeline"] .showcase-intel-dock h3,
body[data-page="city-pipeline"] .showcase-intel-dock p,
body[data-page="city-pipeline"] .showcase-intel-list strong {
  color: rgba(245, 247, 251, 0.98);
}

body[data-page="city-pipeline"] .showcase-spotlight-copy p,
body[data-page="city-pipeline"] .showcase-intel-dock p,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-panel p,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-warning {
  color: rgba(234, 239, 255, 0.84);
}

body[data-page="city-pipeline"] .showcase-spotlight-stats div,
body[data-page="city-pipeline"] .showcase-intel-list div,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-panel,
body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-gap-warning {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-card-chip-row .meta-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-need-chip.is-project {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(245, 247, 251, 0.94);
}

body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-need-chip.is-gap {
  background: rgba(15, 138, 67, 0.2);
  border-color: rgba(95, 228, 149, 0.22);
  color: #dffdea;
}

body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-signal-chip.is-strong {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(255, 211, 112, 0.22);
  color: #fff2cf;
}

body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-signal-chip.is-live {
  background: rgba(91, 127, 255, 0.2);
  border-color: rgba(153, 178, 255, 0.22);
  color: #e0e9ff;
}

body[data-page="city-pipeline"] .showcase-spotlight-card .showcase-signal-chip.is-risk {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(255, 141, 141, 0.2);
  color: #ffe0e0;
}

body[data-page="city-pipeline"] .showcase-intel-dock.is-band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 18px;
  padding: 20px 22px;
}

body[data-page="city-pipeline"] .showcase-intel-band-copy {
  display: grid;
  gap: 10px;
  align-content: start;
  max-width: 540px;
}

body[data-page="city-pipeline"] .showcase-intel-dock.is-band .showcase-intel-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="city-pipeline"] .showcase-intel-dock.is-band .showcase-intel-list div {
  min-height: 84px;
  align-content: start;
}

body[data-page="city-pipeline"] .showcase-spotlight-actions .btn-shell-primary {
  background: linear-gradient(135deg, rgba(91, 127, 255, 0.98), rgba(91, 127, 255, 0.78));
  border-color: rgba(153, 178, 255, 0.26);
  color: #fff;
  box-shadow: 0 16px 32px rgba(32, 47, 86, 0.28);
}

@media (max-width: 920px) {
  body[data-page="city-pipeline"] .showcase-spotlight-stats,
  body[data-page="city-pipeline"] .showcase-intel-dock.is-band,
  body[data-page="city-pipeline"] .showcase-intel-dock.is-band .showcase-intel-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body[data-page="city-pipeline"] .showcase-spotlight-copy {
    padding: 16px;
  }

  body[data-page="city-pipeline"] .showcase-spotlight-stats,
  body[data-page="city-pipeline"] .showcase-intel-dock.is-band,
  body[data-page="city-pipeline"] .showcase-intel-dock.is-band .showcase-intel-list {
    grid-template-columns: 1fr;
  }
}

.property-card.property-card-intelligence,
.showcase-card,
.showcase-spotlight-card,
.vote-card,
.portal-entry,
.landing-role-link,
.landing-showcase-card,
.landing-ranking-mini,
.landing-demand-card,
.page-intro-card,
.panel-card,
.auth-surface,
.auth-floating-card {
  overflow: hidden;
}

.property-card.property-card-intelligence:hover,
.showcase-card:hover,
.showcase-spotlight-card:hover,
.vote-card:hover,
.portal-entry:hover {
  border-color: rgba(var(--role-accent-rgb), 0.16);
}

.property-card.property-card-intelligence .property-media img,
.showcase-card-media img,
.showcase-spotlight-media img,
.vote-card-media img,
.landing-showcase-media img,
.landing-ranking-lead-media img {
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms ease;
}

.property-card.property-card-intelligence:hover .property-media img,
.showcase-card:hover .showcase-card-media img,
.showcase-spotlight-card:hover .showcase-spotlight-media img,
.vote-card:hover .vote-card-media img,
.landing-showcase-card:hover .landing-showcase-media img,
.landing-ranking-lead:hover .landing-ranking-lead-media img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.05);
}

.auth-page {
  position: relative;
}

.auth-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(var(--role-accent-rgb), 0.12), rgba(var(--role-accent-rgb), 0) 26%),
    radial-gradient(circle at 92% 86%, rgba(var(--role-accent-rgb), 0.08), rgba(var(--role-accent-rgb), 0) 28%);
  pointer-events: none;
}

.auth-stage {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(var(--role-accent-rgb), 0.1);
}

.auth-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(var(--role-accent-rgb), 0.08), rgba(var(--role-accent-rgb), 0) 24%),
    radial-gradient(circle at 82% 16%, rgba(var(--role-accent-rgb), 0.1), rgba(var(--role-accent-rgb), 0) 28%);
  pointer-events: none;
  z-index: 0;
}

.auth-visual,
.auth-surface {
  position: relative;
  z-index: 1;
}

.auth-visual {
  background:
    var(--role-hero-overlay),
    linear-gradient(180deg, rgba(16, 22, 33, 0.08), rgba(16, 22, 33, 0.52)),
    var(--auth-image) center/cover no-repeat;
}

.auth-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.auth-signal-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-signal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.auth-scene-orbit {
  position: absolute;
  top: 34px;
  right: 26px;
  width: 220px;
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.78;
}

.auth-scene-orbit span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: auth-orbit-spin 16s linear infinite;
}

.auth-scene-orbit span:nth-child(2) {
  inset: 18%;
  animation-direction: reverse;
  animation-duration: 12s;
}

.auth-scene-orbit span:nth-child(3) {
  inset: 36%;
  animation-duration: 9s;
}

.auth-role-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 24px;
  background: rgba(var(--role-accent-rgb), 0.08);
  border: 1px solid rgba(var(--role-accent-rgb), 0.12);
}

.auth-role-switch-link {
  min-height: 42px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6a7384;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.auth-role-switch-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.64);
}

.auth-role-switch-link.is-active {
  background: rgba(255, 255, 255, 0.9);
  color: rgb(var(--role-accent-rgb));
  box-shadow: 0 16px 28px rgba(var(--role-accent-rgb), 0.18);
}

.auth-identity-card {
  display: grid;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(var(--role-accent-rgb), 0.12), rgba(var(--role-accent-rgb), 0) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 253, 0.94));
  border: 1px solid rgba(var(--role-accent-rgb), 0.12);
  box-shadow: 0 18px 42px rgba(18, 24, 34, 0.08);
}

.auth-identity-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.auth-identity-head span,
.auth-identity-grid span {
  color: #8a94a6;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.auth-identity-head strong {
  font-size: 20px;
  line-height: 1.1;
}

.auth-identity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.auth-identity-grid div {
  display: grid;
  gap: 6px;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(var(--role-accent-rgb), 0.08);
}

.auth-identity-grid strong {
  color: #273247;
  font-size: 13px;
  line-height: 1.45;
}

.auth-page-admin .auth-floating-card-accent {
  background: linear-gradient(135deg, #8191ff, #4f6df7);
}

.auth-page-seller .auth-floating-card-accent {
  background: linear-gradient(135deg, #ffb44d, #ff8442);
}

.auth-page-investor .auth-floating-card-accent {
  background: linear-gradient(135deg, #43c0b4, #2f8cff);
}

.auth-page-admin {
  background:
    radial-gradient(circle at 14% 16%, rgba(73, 108, 244, 0.12), rgba(73, 108, 244, 0) 22%),
    radial-gradient(circle at 84% 82%, rgba(73, 108, 244, 0.08), rgba(73, 108, 244, 0) 20%),
    linear-gradient(180deg, #eef2f8 0%, #f7f8fb 56%, #edf1f6 100%);
}

.auth-page-admin::before {
  background:
    radial-gradient(circle at 10% 12%, rgba(73, 108, 244, 0.1), rgba(73, 108, 244, 0) 24%),
    radial-gradient(circle at 88% 84%, rgba(73, 108, 244, 0.06), rgba(73, 108, 244, 0) 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 44%);
}

.auth-stage-admin {
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  background: rgba(250, 252, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 36px 90px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px);
}

.auth-stage-admin::before {
  background:
    linear-gradient(90deg, rgba(8, 15, 28, 0.06) 0%, rgba(8, 15, 28, 0.06) 52%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(circle at 16% 20%, rgba(73, 108, 244, 0.1), rgba(73, 108, 244, 0) 22%),
    radial-gradient(circle at 84% 80%, rgba(73, 108, 244, 0.06), rgba(73, 108, 244, 0) 20%);
  opacity: 1;
}

.auth-stage-admin::after {
  display: none;
}

.auth-page-admin .auth-visual-admin {
  min-height: 720px;
  padding: 56px 54px;
  align-content: center;
  gap: 56px;
  background:
    linear-gradient(180deg, rgba(7, 14, 24, 0.64), rgba(7, 14, 24, 0.78)),
    linear-gradient(120deg, rgba(13, 24, 42, 0.56), rgba(13, 24, 42, 0.18)),
    var(--auth-image) center/cover no-repeat;
}

.auth-page-admin .auth-visual-admin::before {
  background:
    radial-gradient(circle at 24% 20%, rgba(120, 152, 255, 0.22), rgba(120, 152, 255, 0) 26%),
    radial-gradient(circle at 74% 74%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 22%);
  opacity: 0.88;
  animation: admin-ambient-drift 18s ease-in-out infinite alternate;
}

.auth-page-admin .auth-visual-admin::after {
  display: none;
}

.auth-page-admin .auth-visual-copy-admin {
  gap: 22px;
  max-width: 500px;
}

.auth-page-admin .auth-role-chip-admin {
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(241, 245, 255, 0.86);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-page-admin .auth-visual-copy-admin h1 {
  max-width: 560px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 5vw, 74px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.auth-page-admin .auth-visual-copy-admin p {
  max-width: 440px;
  color: rgba(223, 230, 247, 0.84);
  font-size: 17px;
  line-height: 1.75;
}

body[data-page="admin-login"][data-role="admin"] .auth-surface-admin {
  position: relative;
  padding: 56px 54px;
  gap: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 253, 0.96));
  border-left: 1px solid rgba(15, 23, 42, 0.06);
}

body[data-page="admin-login"][data-role="admin"] .auth-surface-admin::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.auth-brand-line-admin {
  color: #7a8498;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.auth-page-admin .auth-role-switch {
  gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(73, 108, 244, 0.05);
  border-color: rgba(73, 108, 244, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.auth-page-admin .auth-role-switch-link {
  min-height: 44px;
  color: #707b92;
  letter-spacing: 0.08em;
}

.auth-page-admin .auth-role-switch-link.is-active {
  background: #fff;
  color: #3e59d4;
  box-shadow:
    0 10px 24px rgba(62, 89, 212, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-surface-head-admin h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px;
  letter-spacing: -0.04em;
}

.auth-surface-head-admin p {
  max-width: 420px;
  color: #5f6a7f;
  font-size: 16px;
  line-height: 1.7;
}

.auth-page-admin .auth-error {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 242, 242, 0.98), rgba(255, 248, 248, 0.98));
  border: 1px solid rgba(220, 38, 38, 0.12);
  box-shadow: 0 14px 28px rgba(167, 62, 62, 0.06);
}

.auth-form-admin {
  gap: 18px;
}

.auth-form-admin .form-shell > span:first-child {
  color: #4a5568;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.auth-page-admin .auth-form-admin .input-shell {
  min-height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 8px 20px rgba(15, 23, 42, 0.04);
}

.auth-page-admin .auth-form-admin .input-shell:hover {
  border-color: rgba(73, 108, 244, 0.18);
}

.auth-page-admin .auth-form-admin .input-shell:focus {
  background: #fff;
  border-color: rgba(73, 108, 244, 0.36);
  box-shadow:
    0 0 0 4px rgba(73, 108, 244, 0.12),
    0 14px 32px rgba(73, 108, 244, 0.08);
  transform: none;
}

.auth-admin-submit {
  min-height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(73, 108, 244, 0.18);
  background: linear-gradient(135deg, #4d6cf2 0%, #3e59d4 100%);
  box-shadow:
    0 18px 36px rgba(73, 108, 244, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  font-size: 15px;
}

.auth-admin-submit:hover {
  box-shadow:
    0 22px 42px rgba(73, 108, 244, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.auth-admin-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-admin-secondary-link {
  color: #667187;
  font-size: 13px;
  font-weight: 600;
  transition: color 220ms ease, transform 220ms ease;
}

.auth-admin-secondary-link:hover,
.auth-admin-secondary-link:focus-visible {
  color: #3e59d4;
  transform: translateY(-1px);
}

.auth-form-note-admin {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  border-radius: 16px;
  background: rgba(73, 108, 244, 0.05);
  border: 1px solid rgba(73, 108, 244, 0.08);
  color: #63708a;
  font-size: 13px;
  line-height: 1.6;
}

.auth-form-note-admin strong {
  color: #1b2435;
}

@keyframes admin-ambient-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -12px, 0) scale(1.03);
  }
}

.auth-admin-visual-treatment {
  position: relative;
  width: min(440px, 78%);
  max-width: 100%;
  min-height: 220px;
  justify-self: start;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 18% 24%, rgba(110, 143, 255, 0.18), rgba(110, 143, 255, 0) 28%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px rgba(7, 14, 24, 0.18);
  overflow: hidden;
}

.auth-admin-visual-treatment::before {
  content: "";
  position: absolute;
  inset: 24px 24px auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
}

.auth-admin-visual-treatment::after {
  content: "";
  position: absolute;
  inset: 40px 34px 34px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 30% 28%, rgba(109, 141, 255, 0.22), rgba(109, 141, 255, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--auth-image) center/cover no-repeat;
  opacity: 0.5;
  filter: saturate(0.72) contrast(0.96);
}

@media (max-width: 1200px) {
  .auth-page-admin .auth-visual-admin,
  body[data-page="admin-login"][data-role="admin"] .auth-surface-admin {
    padding: 34px;
  }

  .auth-stage-admin {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.92fr);
  }
}

@media (max-width: 900px) {
  .auth-page-admin .auth-visual-admin {
    min-height: 420px;
    padding: 40px 32px;
    gap: 36px;
  }

  .auth-page-admin .auth-stage-admin {
    grid-template-columns: 1fr;
  }

  .auth-stage-admin::before {
    background:
      linear-gradient(180deg, rgba(8, 15, 28, 0.06) 0%, rgba(8, 15, 28, 0.06) 46%, rgba(255, 255, 255, 0) 46%),
      radial-gradient(circle at 18% 18%, rgba(73, 108, 244, 0.1), rgba(73, 108, 244, 0) 22%);
  }

  .auth-page-admin .auth-role-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-page-admin .auth-visual-copy-admin h1 {
    font-size: clamp(40px, 12vw, 62px);
  }

  .auth-page-admin .auth-surface-head-admin h2 {
    font-size: 36px;
  }

  .auth-admin-visual-treatment {
    width: min(420px, 100%);
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .auth-page-admin .auth-visual-admin,
  body[data-page="admin-login"][data-role="admin"] .auth-surface-admin {
    padding: 24px;
  }

  .auth-page-admin .auth-admin-submit {
    min-height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-page-admin .auth-visual-admin::before,
  .auth-admin-secondary-link,
  .auth-admin-submit {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

body[data-page="investor-login"] .site-header {
  background: rgba(249, 251, 252, 0.82);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(12px);
}

body[data-page="investor-login"] .nav-shell {
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 18px 0;
}

body[data-page="investor-login"] .brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
}

body[data-page="investor-login"] .nav-center,
body[data-page="investor-login"] .nav-actions {
  display: flex;
}

body[data-page="investor-login"] .top-nav {
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body[data-page="investor-login"] .top-nav .nav-link {
  min-height: 40px;
  padding: 0 14px;
  color: #738180;
}

body[data-page="investor-login"] .top-nav .nav-link.active,
body[data-page="investor-login"] .top-nav .nav-link:hover {
  color: #1f9d95;
}

body[data-page="investor-login"] .nav-actions {
  gap: 10px;
}

body[data-page="investor-login"] .nav-actions .btn-shell,
body[data-page="investor-login"] .nav-actions .session-chip {
  min-height: 44px;
}

.auth-page-investor {
  background:
    radial-gradient(circle at 14% 18%, rgba(43, 183, 168, 0.14), rgba(43, 183, 168, 0) 24%),
    radial-gradient(circle at 84% 82%, rgba(43, 183, 168, 0.08), rgba(43, 183, 168, 0) 20%),
    linear-gradient(180deg, #edf3f2 0%, #f7f9f8 56%, #eef4f3 100%);
}

.auth-page-investor::before {
  background:
    radial-gradient(circle at 10% 12%, rgba(43, 183, 168, 0.08), rgba(43, 183, 168, 0) 24%),
    radial-gradient(circle at 88% 84%, rgba(43, 183, 168, 0.06), rgba(43, 183, 168, 0) 18%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 44%);
}

.auth-stage-investor-refined {
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  background: rgba(250, 253, 252, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 36px 90px rgba(15, 23, 42, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(18px);
}

.auth-stage-investor-refined::before {
  background:
    linear-gradient(90deg, rgba(7, 18, 22, 0.05) 0%, rgba(7, 18, 22, 0.05) 52%, rgba(255, 255, 255, 0) 52%),
    radial-gradient(circle at 18% 18%, rgba(43, 183, 168, 0.1), rgba(43, 183, 168, 0) 22%),
    radial-gradient(circle at 84% 82%, rgba(43, 183, 168, 0.06), rgba(43, 183, 168, 0) 20%);
}

.auth-stage-investor-refined::after {
  display: none;
}

.auth-page-investor .auth-visual-investor-refined {
  min-height: 720px;
  padding: 56px 54px;
  align-content: center;
  gap: 52px;
  background:
    linear-gradient(180deg, rgba(8, 17, 20, 0.58), rgba(8, 17, 20, 0.74)),
    linear-gradient(130deg, rgba(16, 36, 36, 0.36), rgba(16, 36, 36, 0.1)),
    var(--auth-image) center/cover no-repeat;
}

.auth-page-investor .auth-visual-investor-refined::before {
  background:
    radial-gradient(circle at 22% 20%, rgba(99, 214, 197, 0.22), rgba(99, 214, 197, 0) 24%),
    radial-gradient(circle at 76% 76%, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 20%);
  opacity: 0.9;
  animation: investor-ambient-drift 18s ease-in-out infinite alternate;
}

.auth-page-investor .auth-visual-investor-refined::after {
  display: none;
}

.auth-visual-copy-investor-refined {
  gap: 22px;
  max-width: 520px;
}

.auth-role-chip-investor-refined {
  width: fit-content;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(238, 247, 245, 0.88);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-page-investor .auth-visual-copy-investor-refined h1 {
  max-width: 560px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(48px, 5vw, 72px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.auth-page-investor .auth-visual-copy-investor-refined p {
  max-width: 450px;
  color: rgba(226, 239, 236, 0.84);
  font-size: 17px;
  line-height: 1.75;
}

.auth-investor-visual-treatment {
  position: relative;
  width: min(430px, 78%);
  max-width: 100%;
  min-height: 210px;
  justify-self: start;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 18% 24%, rgba(99, 214, 197, 0.18), rgba(99, 214, 197, 0) 28%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 48px rgba(8, 17, 20, 0.16);
  overflow: hidden;
}

.auth-investor-visual-treatment::before {
  content: "";
  position: absolute;
  inset: 26px 26px auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.auth-investor-visual-treatment::after {
  content: "";
  position: absolute;
  inset: 40px 34px 34px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 28% 28%, rgba(99, 214, 197, 0.24), rgba(99, 214, 197, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--auth-image) center/cover no-repeat;
  opacity: 0.48;
  filter: saturate(0.72) contrast(0.96);
}

body[data-page="investor-login"][data-role="investor"] .auth-surface-investor-refined {
  position: relative;
  padding: 56px 54px;
  gap: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 249, 0.96));
  border-left: 1px solid rgba(15, 23, 42, 0.06);
}

body[data-page="investor-login"][data-role="investor"] .auth-surface-investor-refined::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  pointer-events: none;
}

.auth-brand-line-investor-refined {
  color: #7b8b8a;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.auth-page-investor .auth-role-switch {
  gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(43, 183, 168, 0.05);
  border-color: rgba(43, 183, 168, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.auth-page-investor .auth-role-switch-link {
  min-height: 44px;
  color: #708281;
  letter-spacing: 0.08em;
}

.auth-page-investor .auth-role-switch-link.is-active {
  background: #fff;
  color: #1f9d95;
  box-shadow:
    0 10px 24px rgba(43, 183, 168, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.auth-surface-head-investor-refined h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 40px;
  letter-spacing: -0.04em;
}

.auth-surface-head-investor-refined p {
  max-width: 430px;
  color: #5f726f;
  font-size: 16px;
  line-height: 1.7;
}

.auth-switch-investor-refined {
  padding: 4px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.06);
}

.auth-switch-investor-refined .auth-switch-link {
  min-height: 42px;
  border-radius: 14px;
  color: #6b7a7a;
  font-size: 13px;
  font-weight: 700;
}

.auth-switch-investor-refined .auth-switch-link.is-active {
  background: #fff;
  color: #1f9d95;
  box-shadow: 0 10px 20px rgba(43, 183, 168, 0.08);
}

.auth-page-investor .auth-error {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 242, 242, 0.98), rgba(255, 248, 248, 0.98));
  border: 1px solid rgba(220, 38, 38, 0.12);
  box-shadow: 0 14px 28px rgba(167, 62, 62, 0.06);
}

.auth-form-investor-refined {
  gap: 18px;
}

.auth-form-investor-refined .form-shell > span:first-child {
  color: #495a5a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.auth-page-investor .auth-form-investor-refined .input-shell {
  min-height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 8px 20px rgba(15, 23, 42, 0.04);
}

.auth-page-investor .auth-form-investor-refined .input-shell:hover {
  border-color: rgba(43, 183, 168, 0.18);
}

.auth-page-investor .auth-form-investor-refined .input-shell:focus {
  background: #fff;
  border-color: rgba(43, 183, 168, 0.34);
  box-shadow:
    0 0 0 4px rgba(43, 183, 168, 0.12),
    0 14px 32px rgba(43, 183, 168, 0.08);
  transform: none;
}

.auth-investor-submit {
  min-height: 60px;
  border-radius: 18px;
  border: 1px solid rgba(43, 183, 168, 0.18);
  background: linear-gradient(135deg, #46c2bb 0%, #23978f 100%);
  box-shadow:
    0 18px 36px rgba(43, 183, 168, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  font-size: 15px;
}

.auth-investor-submit:hover {
  box-shadow:
    0 22px 42px rgba(43, 183, 168, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.auth-investor-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-investor-secondary-link {
  color: #657675;
  font-size: 13px;
  font-weight: 600;
  transition: color 220ms ease, transform 220ms ease;
}

.auth-investor-secondary-link:hover,
.auth-investor-secondary-link:focus-visible {
  color: #23978f;
  transform: translateY(-1px);
}

.auth-form-note-investor-refined {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  border-radius: 16px;
  background: rgba(43, 183, 168, 0.05);
  border: 1px solid rgba(43, 183, 168, 0.08);
  color: #617270;
  font-size: 13px;
  line-height: 1.6;
}

.auth-form-note-investor-refined strong {
  color: #182322;
}

@keyframes investor-ambient-drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(0, -12px, 0) scale(1.03);
  }
}

@media (max-width: 1200px) {
  .auth-page-investor .auth-visual-investor-refined,
  body[data-page="investor-login"][data-role="investor"] .auth-surface-investor-refined {
    padding: 34px;
  }

  .auth-stage-investor-refined {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.92fr);
  }
}

@media (max-width: 900px) {
  body[data-page="investor-login"] .site-header .brand-copy {
    max-width: 100%;
  }

  body[data-page="investor-login"] .nav-shell {
    grid-template-columns: 1fr;
  }

  body[data-page="investor-login"] .nav-center,
  body[data-page="investor-login"] .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .auth-page-investor .auth-visual-investor-refined {
    min-height: 420px;
    padding: 40px 32px;
    gap: 36px;
  }

  .auth-page-investor .auth-stage-investor-refined {
    grid-template-columns: 1fr;
  }

  .auth-stage-investor-refined::before {
    background:
      linear-gradient(180deg, rgba(7, 18, 22, 0.05) 0%, rgba(7, 18, 22, 0.05) 46%, rgba(255, 255, 255, 0) 46%),
      radial-gradient(circle at 18% 18%, rgba(43, 183, 168, 0.1), rgba(43, 183, 168, 0) 22%);
  }

  .auth-page-investor .auth-role-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-page-investor .auth-visual-copy-investor-refined h1 {
    font-size: clamp(40px, 12vw, 62px);
  }

  .auth-surface-head-investor-refined h2 {
    font-size: 36px;
  }

  .auth-investor-visual-treatment {
    width: min(420px, 100%);
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .auth-page-investor .auth-visual-investor-refined,
  body[data-page="investor-login"][data-role="investor"] .auth-surface-investor-refined {
    padding: 24px;
  }

  body[data-page="investor-login"] .site-header .brand-title {
    font-size: 18px;
  }

  .auth-investor-submit {
    min-height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-page-investor .auth-visual-investor-refined::before,
  .auth-investor-secondary-link,
  .auth-investor-submit {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

body[data-role="admin"] .page-intro-card,
body[data-role="admin"] .panel-card,
body[data-role="admin"] .modal-card,
body[data-role="admin"] .auth-surface {
  background:
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 247, 255, 0.94));
}

body[data-role="seller"] .page-intro-card,
body[data-role="seller"] .panel-card,
body[data-role="seller"] .modal-card,
body[data-role="seller"] .auth-surface {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 240, 0.94));
}

body[data-role="investor"] .page-intro-card,
body[data-role="investor"] .panel-card,
body[data-role="investor"] .modal-card,
body[data-role="investor"] .auth-surface {
  background:
    radial-gradient(circle at top right, rgba(43, 183, 168, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(242, 251, 249, 0.94));
}

@keyframes auth-orbit-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 900px) {
  .auth-role-switch,
  .auth-identity-grid {
    grid-template-columns: 1fr;
  }

  .page-role-strip {
    margin-top: 14px;
  }
}

.btn-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    background 280ms ease,
    border-color 280ms ease,
    color 240ms ease;
}

.btn-shell::after {
  content: "";
  position: absolute;
  inset: -32% auto -32% -18%;
  width: 42%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
  transform: translateX(-180%) skewX(-18deg);
  transition: transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  opacity: 0.9;
}

.btn-shell:hover {
  transform: translateY(-2px);
}

.btn-shell:hover::after,
.btn-shell:focus-visible::after {
  transform: translateX(360%) skewX(-18deg);
}

.top-nav .nav-link,
.portal-entry,
.session-chip,
.notification-trigger {
  position: relative;
  overflow: hidden;
}

.top-nav .nav-link::before,
.portal-entry::after,
.session-chip::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--ui-glow-x, 50%) var(--ui-glow-y, 50%), rgba(var(--role-accent-rgb), 0.16), rgba(var(--role-accent-rgb), 0) 36%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.top-nav .nav-link:hover::before,
.top-nav .nav-link.active::before,
.portal-entry:hover::after,
.portal-entry.is-active::after,
.session-chip::after {
  opacity: 1;
}

.form-shell {
  gap: 10px;
}

.form-shell > span {
  letter-spacing: 0.08em;
}

.input-shell {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 252, 0.92));
  border-color: rgba(var(--role-accent-rgb), 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(20, 24, 34, 0.04);
  transition:
    border-color 220ms ease,
    box-shadow 260ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.input-shell::placeholder {
  color: #9ca6b6;
}

.input-shell:hover {
  border-color: rgba(var(--role-accent-rgb), 0.18);
}

.input-shell:focus {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(var(--role-accent-rgb), 0.34);
  box-shadow:
    0 0 0 4px rgba(var(--role-accent-rgb), 0.12),
    0 18px 36px rgba(20, 24, 34, 0.08);
  transform: translateY(-1px);
}

.request-card,
.thread-card,
.visit-thread-card,
.visit-window-card,
.command-score-card,
.comparison-card,
.search-result-card,
.about-stat-card,
.explorer-card,
.map-panel-card,
.news-card,
.role-card,
.stat-card,
.prospectus-card,
.readiness-pillar-card,
.readiness-editor-card,
.intent-card,
.cta-card,
.property-actions-card,
.audit-json-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--role-accent-rgb), 0.08);
  background:
    radial-gradient(circle at var(--ui-glow-x, 50%) var(--ui-glow-y, 50%), rgba(var(--role-accent-rgb), 0.1), rgba(var(--role-accent-rgb), 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 249, 252, 0.94));
  box-shadow:
    0 18px 42px rgba(18, 24, 34, 0.08),
    0 0 0 1px rgba(var(--role-accent-rgb), 0.03);
  transition:
    box-shadow 320ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.request-card::before,
.thread-card::before,
.visit-thread-card::before,
.visit-window-card::before,
.command-score-card::before,
.comparison-card::before,
.search-result-card::before,
.about-stat-card::before,
.explorer-card::before,
.map-panel-card::before,
.news-card::before,
.role-card::before,
.stat-card::before,
.prospectus-card::before,
.readiness-pillar-card::before,
.readiness-editor-card::before,
.intent-card::before,
.cta-card::before,
.property-actions-card::before,
.audit-json-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(var(--role-accent-rgb), 0.16), rgba(255, 255, 255, 0.78), rgba(var(--role-accent-rgb), 0.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.request-card:hover,
.thread-card:hover,
.visit-thread-card:hover,
.visit-window-card:hover,
.command-score-card:hover,
.comparison-card:hover,
.search-result-card:hover,
.about-stat-card:hover,
.explorer-card:hover,
.map-panel-card:hover,
.news-card:hover,
.role-card:hover,
.stat-card:hover,
.prospectus-card:hover,
.readiness-pillar-card:hover,
.readiness-editor-card:hover,
.intent-card:hover,
.cta-card:hover,
.property-actions-card:hover,
.audit-json-card:hover {
  border-color: rgba(var(--role-accent-rgb), 0.18);
  box-shadow:
    0 26px 60px rgba(18, 24, 34, 0.11),
    0 0 0 1px rgba(var(--role-accent-rgb), 0.08);
}

.request-card img,
.search-result-card img,
.news-card img,
.role-card img,
.about-map-card img,
.map-panel-card img {
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1), filter 360ms ease;
}

.request-card:hover img,
.search-result-card:hover img,
.news-card:hover img,
.role-card:hover img,
.about-map-card:hover img,
.map-panel-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.auth-stage:hover .auth-scene-orbit {
  opacity: 0.92;
}

.auth-stage:hover .auth-floating-card {
  box-shadow:
    0 26px 54px rgba(18, 24, 34, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.14);
}

.auth-surface {
  backdrop-filter: blur(18px);
}

.auth-surface .btn-shell-primary {
  min-height: 56px;
}

.auth-form-note {
  background:
    radial-gradient(circle at top right, rgba(var(--role-accent-rgb), 0.08), rgba(var(--role-accent-rgb), 0) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(248, 250, 253, 0.86));
  border: 1px solid rgba(var(--role-accent-rgb), 0.1);
  box-shadow: 0 14px 34px rgba(18, 24, 34, 0.05);
}

.loading-panel {
  border: 1px solid rgba(var(--role-accent-rgb), 0.1);
  background:
    radial-gradient(circle at top right, rgba(var(--role-accent-rgb), 0.08), rgba(var(--role-accent-rgb), 0) 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(247, 249, 252, 0.9));
  box-shadow: 0 18px 42px rgba(18, 24, 34, 0.06);
}

body[data-page="property-ranking"] {
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 26%),
    radial-gradient(circle at 100% 12%, rgba(91, 127, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfaf6 0%, #f4efe6 100%);
}

body[data-page="voting-dashboard"] {
  background:
    radial-gradient(circle at 0% 20%, rgba(255, 183, 77, 0.15), transparent 24%),
    radial-gradient(circle at 100% 80%, rgba(43, 183, 168, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfaf7 0%, #f2f6f3 100%);
}

.page-command-intro {
  position: relative;
  overflow: hidden;
}

.page-command-intro::after {
  content: "";
  position: absolute;
  inset: auto -12% -32% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--role-accent-rgb), 0.18), rgba(var(--role-accent-rgb), 0) 66%);
  pointer-events: none;
  filter: blur(10px);
}

.page-command-intro .page-intro-copy {
  max-width: 760px;
}

body[data-page="property-explorer-terminal"] .page-command-intro {
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(18, 24, 37, 0.9), rgba(10, 14, 24, 0.88));
  border-color: rgba(99, 102, 241, 0.16);
}

body[data-page="property-explorer-terminal"] .page-command-intro h1,
body[data-page="property-explorer-terminal"] .page-command-intro p,
body[data-page="property-explorer-terminal"] .page-command-intro .eyebrow,
body[data-page="property-explorer-terminal"] .page-command-intro .page-role-pill {
  color: rgba(245, 247, 251, 0.95);
}

body[data-page="property-explorer-terminal"] .page-command-intro .page-role-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-page="property-ranking"] .page-command-intro,
body[data-page="voting-dashboard"] .page-command-intro {
  background:
    radial-gradient(circle at top right, rgba(var(--role-accent-rgb), 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 253, 0.96));
}

.ranking-command-grid,
.voting-command-grid,
.explorer-command-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  align-items: start;
}

.ranking-command-rail,
.voting-command-rail,
.explorer-command-rail,
.ranking-command-main,
.voting-command-main,
.explorer-command-main {
  display: grid;
  gap: 20px;
}

.ranking-hero-board,
.voting-stage-card,
.explorer-spotlight-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
}

.ranking-hero-board::before,
.voting-stage-card::before,
.explorer-spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18, 24, 38, 0.9), rgba(32, 43, 66, 0.76)),
    var(--ranking-hero-image, var(--voting-stage-image, var(--explorer-stage-image))) center/cover no-repeat;
  opacity: 0.98;
  pointer-events: none;
}

.ranking-hero-board::after,
.voting-stage-card::after,
.explorer-spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 212, 125, 0.18), rgba(255, 212, 125, 0) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.ranking-hero-board > *,
.voting-stage-card > *,
.explorer-spotlight-card > * {
  position: relative;
  z-index: 1;
}

.ranking-hero-board,
.voting-stage-card {
  padding: 30px;
  box-shadow: 0 34px 88px rgba(18, 24, 34, 0.18);
}

.ranking-hero-board .panel-kicker,
.ranking-hero-board h2,
.ranking-hero-board p,
.ranking-hero-board .mini-row span,
.ranking-hero-board .mini-row strong,
.voting-stage-card .panel-kicker,
.voting-stage-card h2,
.voting-stage-card p,
.voting-stage-card .mini-row span,
.voting-stage-card .mini-row strong,
.explorer-spotlight-card .panel-kicker,
.explorer-spotlight-card h2,
.explorer-spotlight-card p {
  color: rgba(245, 247, 251, 0.96);
}

.ranking-hero-board h2,
.voting-stage-card h2,
.explorer-spotlight-card h2 {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.ranking-hero-chip-row,
.voting-stage-chip-row,
.explorer-spotlight-chip-row {
  margin-top: 18px;
}

.ranking-hero-chip-row .service-chip,
.voting-stage-chip-row .service-chip,
.explorer-spotlight-chip-row .service-chip {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.94);
}

.ranking-hero-metrics,
.voting-stage-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ranking-hero-metrics article,
.voting-stage-metrics article,
.ranking-hero-score {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.ranking-hero-metrics span,
.voting-stage-metrics span,
.ranking-hero-score-label {
  display: block;
  color: rgba(228, 233, 241, 0.68);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ranking-hero-metrics strong,
.voting-stage-metrics strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.ranking-hero-actions,
.voting-stage-actions {
  margin-top: 18px;
}

.ranking-hero-score {
  width: min(320px, 100%);
  margin-top: 18px;
}

.ranking-hero-score strong {
  display: block;
  margin-top: 12px;
  color: #ffffff;
  font-size: clamp(54px, 8vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.ranking-hero-score p {
  margin-top: 12px;
  color: rgba(231, 236, 244, 0.74);
}

.ranking-leaderboard-shell,
.voting-summary-panel,
.voting-admin-panel-shell,
.voting-breakdown-panel,
.voting-cast-panel,
.explorer-summary-card,
.explorer-search-card {
  background:
    radial-gradient(circle at top right, rgba(var(--role-accent-rgb), 0.1), rgba(var(--role-accent-rgb), 0) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 252, 0.95));
}

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

.ranking-property-grid,
.explorer-property-grid {
  gap: 18px;
}

.voting-location-panel .vote-location-list {
  gap: 12px;
}

.voting-location-panel .vote-location-card {
  background:
    radial-gradient(circle at var(--ui-glow-x, 50%) var(--ui-glow-y, 50%), rgba(var(--role-accent-rgb), 0.1), rgba(var(--role-accent-rgb), 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 253, 0.94));
  border: 1px solid rgba(var(--role-accent-rgb), 0.08);
  box-shadow: 0 16px 36px rgba(18, 24, 34, 0.06);
}

.voting-location-panel .vote-location-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(var(--role-accent-rgb), 0.18);
  box-shadow: 0 26px 56px rgba(18, 24, 34, 0.1);
}

.voting-summary-panel .bar-track,
.voting-breakdown-panel .bar-track {
  background: rgba(218, 224, 235, 0.72);
}

.voting-cast-panel .vote-card-grid {
  gap: 16px;
}

.explorer-stage-grid {
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.explorer-spotlight-card {
  padding: 24px;
  box-shadow: 0 30px 78px rgba(18, 24, 34, 0.16);
}

.explorer-spotlight-card .spotlight-media {
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 56px rgba(10, 14, 24, 0.18);
}

.explorer-filter-card,
.explorer-summary-card,
.explorer-search-card,
.ranking-filter-card,
.ranking-signal-card,
.ranking-notes-card,
.voting-location-panel {
  box-shadow: 0 22px 48px rgba(18, 24, 34, 0.08);
}

@media (max-width: 1180px) {
  .ranking-command-grid,
  .voting-command-grid,
  .explorer-command-grid {
    grid-template-columns: 1fr;
  }

  .explorer-stage-grid {
    grid-template-columns: 1fr;
  }

  .ranking-hero-metrics,
  .voting-stage-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .page-command-intro {
    padding: 26px;
  }

  .ranking-hero-board,
  .voting-stage-card,
  .explorer-spotlight-card {
    padding: 22px;
  }

  .ranking-hero-board h2,
  .voting-stage-card h2,
  .explorer-spotlight-card h2 {
    font-size: 36px;
  }
}

.brand-copy,
.nav-center,
.nav-actions {
  min-width: 0;
}

.nav-center {
  overflow: hidden;
}

.top-nav {
  max-width: 100%;
}

.nav-actions {
  flex-wrap: wrap;
  row-gap: 10px;
}

@media (max-width: 1380px) {
  .nav-shell {
    gap: 14px 16px;
  }

  .brand-subtitle {
    display: none;
  }

  .nav-center {
    justify-content: flex-start;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 6px;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    padding: 0 14px;
  }

  .nav-actions {
    gap: 8px;
    justify-content: flex-end;
  }
}

@media (max-width: 1260px) {
  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .brand-link {
    grid-column: 1;
  }

  .nav-actions {
    grid-column: 2;
    justify-self: end;
  }

  .nav-center {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: 1fr;
  }

  .brand-link,
  .nav-center,
  .nav-actions {
    grid-column: auto;
    justify-self: stretch;
  }

  .nav-actions {
    justify-content: flex-start;
  }
}

.session-chip-link {
  text-decoration: none;
}

.session-chip-link:hover,
.session-chip-link.active {
  transform: translateY(-1px);
  color: #172033;
  background: linear-gradient(180deg, rgba(var(--role-accent-rgb), 0.18), rgba(var(--role-accent-rgb), 0.11));
  border-color: rgba(var(--role-accent-rgb), 0.22);
  box-shadow:
    0 18px 34px rgba(var(--role-accent-rgb), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

body[data-role="admin"] .site-header .brand-subtitle,
body[data-role="seller"] .site-header .brand-subtitle,
body[data-role="investor"] .site-header .brand-subtitle {
  display: none;
}

body[data-role="admin"] .nav-shell,
body[data-role="seller"] .nav-shell,
body[data-role="investor"] .nav-shell {
  gap: 14px 16px;
}

body[data-role="admin"] .top-nav .nav-link,
body[data-role="seller"] .top-nav .nav-link,
body[data-role="investor"] .top-nav .nav-link {
  gap: 8px;
  padding: 0 16px;
}

body[data-role="admin"] .nav-actions,
body[data-role="seller"] .nav-actions,
body[data-role="investor"] .nav-actions {
  gap: 8px;
}

body[data-role="admin"] .session-chip-link,
body[data-role="seller"] .session-chip-link,
body[data-role="investor"] .session-chip-link {
  min-height: 46px;
  padding: 0 16px;
}

body[data-role="admin"] .notification-trigger-compact,
body[data-role="admin"] .header-logout-trigger,
body[data-role="seller"] .notification-trigger-compact,
body[data-role="seller"] .header-logout-trigger,
body[data-role="investor"] .notification-trigger-compact,
body[data-role="investor"] .header-logout-trigger {
  min-width: 48px;
  padding: 0 14px;
}

body[data-role="admin"] .notification-trigger-text,
body[data-role="admin"] .header-logout-text,
body[data-role="seller"] .notification-trigger-text,
body[data-role="seller"] .header-logout-text,
body[data-role="investor"] .notification-trigger-text,
body[data-role="investor"] .header-logout-text {
  display: none;
}

@media (max-width: 1380px) {
  body[data-role="admin"] .session-chip-text,
  body[data-role="seller"] .session-chip-text,
  body[data-role="investor"] .session-chip-text {
    display: none;
  }

  body[data-role="admin"] .session-chip-link,
  body[data-role="seller"] .session-chip-link,
  body[data-role="investor"] .session-chip-link {
    min-width: 48px;
    padding: 0 14px;
  }
}

body[data-page="property-details"] {
  --property-command-sticky-top: 94px;
}

body[data-page="property-details"] .page-shell.details-page {
  padding-top: 20px;
}

body[data-page="property-details"] .page-intro-card {
  align-items: flex-start;
  padding: 22px 24px;
}

body[data-page="property-details"] .page-intro-card h1 {
  max-width: 860px;
  margin: 10px 0 6px;
  font-size: clamp(30px, 4vw, 46px);
}

body[data-page="property-details"] .page-intro-card p {
  max-width: 760px;
  font-size: 14px;
}

body[data-page="property-details"] .detail-root-grid {
  margin-top: 16px;
}

body[data-page="property-details"] .property-command-shell {
  display: grid;
  gap: 16px;
}

body[data-page="property-details"] #propertyDetailsRoot .panel-card,
body[data-page="property-details"] #propertyDetailsRoot .contact-card {
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

body[data-page="property-details"] #propertyDetailsRoot .panel-card h3,
body[data-page="property-details"] #propertyDetailsRoot .contact-card h3 {
  margin-top: 8px;
  font-size: 24px;
}

body[data-page="property-details"] #propertyDetailsRoot .mini-row {
  padding: 12px 14px;
  border-radius: 16px;
}

body[data-page="property-details"] .command-summary-bar {
  position: sticky;
  top: var(--property-command-sticky-top);
  z-index: 20;
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

body[data-page="property-details"] .command-summary-main,
body[data-page="property-details"] .command-summary-title-copy,
body[data-page="property-details"] .command-summary-actions,
body[data-page="property-details"] .command-overview-copy,
body[data-page="property-details"] .command-overview-side,
body[data-page="property-details"] .command-focus-card,
body[data-page="property-details"] .command-workspace,
body[data-page="property-details"] .command-tab-panel {
  display: grid;
  gap: 12px;
}

body[data-page="property-details"] .command-summary-topline,
body[data-page="property-details"] .command-summary-lane-head,
body[data-page="property-details"] .command-overview-head,
body[data-page="property-details"] .command-workspace-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

body[data-page="property-details"] .command-summary-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
}

body[data-page="property-details"] .command-summary-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 12px;
}

body[data-page="property-details"] .command-summary-title-copy h2 {
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1;
}

body[data-page="property-details"] .command-summary-title-copy p {
  max-width: 72ch;
  font-size: 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

body[data-page="property-details"] .command-summary-score-shell {
  display: grid;
  gap: 2px;
  align-content: center;
  justify-items: end;
  min-width: 104px;
}

body[data-page="property-details"] .command-summary-score-shell span,
body[data-page="property-details"] .command-summary-metric span,
body[data-page="property-details"] .command-summary-item span,
body[data-page="property-details"] .command-accordion-copy .panel-kicker {
  color: #748196;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="property-details"] .command-summary-score-shell strong {
  font-family: "JetBrains Mono", "Fira Code", "Courier New", monospace;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.92;
  color: #182233;
}

body[data-page="property-details"] .command-summary-score-delta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="property-details"] .command-summary-score-delta.is-positive {
  color: #0f8a43;
  background: rgba(15, 138, 67, 0.1);
}

body[data-page="property-details"] .command-summary-score-delta.is-negative {
  color: #b42318;
  background: rgba(239, 68, 68, 0.12);
}

body[data-page="property-details"] .command-summary-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
}

body[data-page="property-details"] .command-summary-signals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="property-details"] .command-summary-signal-group {
  display: grid;
  gap: 6px;
  padding: 8px 10px 10px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

body[data-page="property-details"] .command-summary-item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body[data-page="property-details"] .command-summary-item {
  max-width: 100%;
  min-height: 32px;
  padding: 6px 9px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

body[data-page="property-details"] .command-summary-item:hover,
body[data-page="property-details"] .command-focus-next:hover,
body[data-page="property-details"] .command-tab:hover,
body[data-page="property-details"] .command-accordion-toggle:hover {
  transform: translateY(-1px);
}

body[data-page="property-details"] .command-summary-item strong,
body[data-page="property-details"] .command-focus-next strong,
body[data-page="property-details"] .command-summary-metric strong,
body[data-page="property-details"] .command-accordion-copy h3 {
  color: #182233;
}

body[data-page="property-details"] .command-summary-item strong {
  max-width: 200px;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="property-details"] .command-summary-empty,
body[data-page="property-details"] .command-summary-metric small,
body[data-page="property-details"] .command-focus-next small,
body[data-page="property-details"] .command-accordion-copy p {
  color: #748196;
  font-size: 12px;
  line-height: 1.55;
}

body[data-page="property-details"] .command-summary-empty {
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px dashed rgba(15, 23, 42, 0.12);
  background: #f8fafc;
}

body[data-page="property-details"] .command-summary-actions {
  display: flex;
  justify-content: flex-end;
}

body[data-page="property-details"] .command-summary-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

body[data-page="property-details"] .command-summary-actions .btn-shell {
  min-height: 34px;
  padding: 0 11px;
  font-size: 10px;
  box-shadow: none;
}

body[data-page="property-details"] .command-summary-more {
  border-style: dashed;
  background: #f8fafc;
}

body[data-page="property-details"] .command-overview-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 16px;
  align-items: start;
}

body[data-page="property-details"] .command-overview-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body[data-page="property-details"] .command-overview-tools .btn-shell {
  min-height: 36px;
  padding: 0 12px;
  font-size: 11px;
  box-shadow: none;
}

body[data-page="property-details"] .command-overview-hero {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid #27272a;
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.16), transparent 30%),
    linear-gradient(145deg, #111113, #0a0a0d 72%);
  color: #f4f4f5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

body[data-page="property-details"] .command-overview-media {
  min-height: 220px;
  border-radius: 22px;
  overflow: hidden;
  background: #09090b;
}

body[data-page="property-details"] .command-overview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="property-details"] .command-overview-head h3 {
  color: #ffffff;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.02;
}

body[data-page="property-details"] .command-overview-copy p {
  color: #a1a1aa;
  font-size: 14px;
  line-height: 1.65;
}

body[data-page="property-details"] .command-overview-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="property-details"] .command-overview-facts div {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid #27272a;
  background: rgba(24, 24, 27, 0.82);
}

body[data-page="property-details"] .command-overview-facts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a1a1aa;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="property-details"] .command-overview-facts strong {
  display: block;
  margin-top: 8px;
  color: #ffffff;
  font-size: 15px;
}

body[data-page="property-details"] .command-overview-score {
  padding: 18px;
  border-radius: 24px;
}

body[data-page="property-details"] .command-focus-card {
  gap: 14px;
}

body[data-page="property-details"] .command-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="property-details"] .command-summary-metric {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  display: grid;
  gap: 4px;
}

body[data-page="property-details"] .command-summary-metric strong {
  font-size: 20px;
  line-height: 1.1;
}

body[data-page="property-details"] .command-focus-next {
  width: 100%;
  padding: 14px 16px;
  border-radius: 20px;
  text-align: left;
  display: grid;
  gap: 4px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  background: linear-gradient(180deg, #fff8ef, #fff4e8);
}

body[data-page="property-details"] .command-workspace {
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

body[data-page="property-details"] .command-workspace-head h3 {
  font-size: 28px;
  margin-top: 8px;
}

body[data-page="property-details"] .command-workspace-head p {
  max-width: 700px;
  font-size: 14px;
}

body[data-page="property-details"] .command-tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body[data-page="property-details"] .command-tab {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f7f9fc;
  display: grid;
  gap: 2px;
  text-align: left;
  color: #5f7087;
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

body[data-page="property-details"] .command-tab span {
  color: #182233;
  font-size: 13px;
  font-weight: 800;
}

body[data-page="property-details"] .command-tab small {
  color: #7a8699;
  font-size: 11px;
}

body[data-page="property-details"] .command-tab.is-active {
  border-color: rgba(255, 168, 51, 0.22);
  background: linear-gradient(180deg, #fff8ef, #fff2de);
  box-shadow: 0 12px 28px rgba(255, 168, 51, 0.12);
}

body[data-page="property-details"] .command-tab-stage {
  display: grid;
  gap: 12px;
}

body[data-page="property-details"] .command-accordion {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

body[data-page="property-details"] .command-accordion-toggle {
  width: 100%;
  padding: 18px 20px;
  border: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  transition: background var(--transition), box-shadow var(--transition);
}

body[data-page="property-details"] .command-accordion-copy {
  display: grid;
  gap: 6px;
}

body[data-page="property-details"] .command-accordion-copy h3 {
  margin: 0;
  font-size: 24px;
}

body[data-page="property-details"] .command-accordion-side {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 10px;
}

body[data-page="property-details"] .command-accordion-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

body[data-page="property-details"] .command-accordion-chevron {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-right: 2px solid #7a8699;
  border-bottom: 2px solid #7a8699;
  transform: rotate(45deg);
  transition: transform var(--transition);
}

body[data-page="property-details"] .command-accordion.is-open .command-accordion-chevron {
  transform: rotate(-135deg);
}

body[data-page="property-details"] .command-accordion-body {
  padding: 0 20px 20px;
  background: #ffffff;
}

body[data-page="property-details"] .command-tab-grid {
  display: grid;
  gap: 14px;
}

body[data-page="property-details"] .command-tab-grid-double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

body[data-page="property-details"] .map-panel-card {
  display: grid;
  gap: 12px;
}

body[data-page="property-details"] .compact-leaflet-frame,
body[data-page="property-details"] .detail-map,
body[data-page="property-details"] .leaflet-shell.detail-map {
  min-height: 188px;
  height: 188px;
}

@media (max-width: 1240px) {
  body[data-page="property-details"] .command-overview-stage,
  body[data-page="property-details"] .command-tab-grid-double {
    grid-template-columns: 1fr;
  }

  body[data-page="property-details"] .command-summary-bar {
    position: static;
  }

  body[data-page="property-details"] .command-summary-header,
  body[data-page="property-details"] .command-summary-signals {
    grid-template-columns: 1fr;
  }

  body[data-page="property-details"] .command-summary-side,
  body[data-page="property-details"] .command-summary-actions,
  body[data-page="property-details"] .command-summary-primary-actions,
  body[data-page="property-details"] .command-overview-tools {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  body[data-page="property-details"] {
    --property-command-sticky-top: 82px;
  }

  body[data-page="property-details"] .page-intro-card,
  body[data-page="property-details"] .command-summary-bar,
  body[data-page="property-details"] .command-overview-hero,
  body[data-page="property-details"] .command-workspace {
    padding: 16px;
  }

  body[data-page="property-details"] .command-summary-topline,
  body[data-page="property-details"] .command-workspace-head,
  body[data-page="property-details"] .command-overview-head,
  body[data-page="property-details"] .command-accordion-toggle {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="property-details"] .command-summary-header {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  body[data-page="property-details"] .command-summary-score-shell,
  body[data-page="property-details"] .command-accordion-side {
    justify-items: flex-start;
  }

  body[data-page="property-details"] .command-summary-signals,
  body[data-page="property-details"] .command-focus-grid,
  body[data-page="property-details"] .command-overview-facts {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="property-details"] .command-tab-list {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body[data-page="property-details"] {
    --property-command-sticky-top: 72px;
  }

  body[data-page="property-details"] .command-summary-signals,
  body[data-page="property-details"] .command-focus-grid,
  body[data-page="property-details"] .command-overview-facts {
    grid-template-columns: 1fr;
  }

  body[data-page="property-details"] .command-summary-title-copy h2,
  body[data-page="property-details"] .command-overview-head h3,
  body[data-page="property-details"] .command-workspace-head h3,
  body[data-page="property-details"] .command-accordion-copy h3 {
    font-size: 24px;
  }

  body[data-page="property-details"] .command-summary-primary-actions,
  body[data-page="property-details"] .command-overview-tools {
    width: 100%;
  }

  body[data-page="property-details"] .command-summary-actions .btn-shell,
  body[data-page="property-details"] .command-overview-tools .btn-shell,
  body[data-page="property-details"] .command-tab {
    width: 100%;
  }

  body[data-page="property-details"] .command-accordion-body {
    padding: 0 16px 16px;
  }

  body[data-page="property-details"] .compact-leaflet-frame,
  body[data-page="property-details"] .detail-map,
  body[data-page="property-details"] .leaflet-shell.detail-map {
    min-height: 172px;
    height: 172px;
  }
}

/* Canonical Landing Refactor */
body[data-page="landing"] {
  --landing-shell-line: rgba(255, 255, 255, 0.1);
  --landing-shell-fill:
    linear-gradient(180deg, rgba(13, 16, 24, 0.86), rgba(8, 10, 16, 0.68));
  --landing-shell-fill-soft:
    linear-gradient(180deg, rgba(16, 20, 30, 0.72), rgba(8, 10, 16, 0.48));
  --landing-shell-shadow: 0 28px 74px rgba(4, 8, 18, 0.24);
  --landing-card-line: rgba(15, 23, 42, 0.08);
  --landing-card-fill:
    radial-gradient(circle at top right, rgba(255, 191, 95, 0.11), rgba(255, 191, 95, 0) 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 246, 241, 0.95));
  --landing-card-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .page-shell.landing-shell {
  display: grid;
  gap: 28px;
  padding-top: 26px;
  padding-bottom: 92px;
}

body[data-page="landing"] .hero-home-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: stretch;
}

body[data-page="landing"] .hero-home-copy {
  display: grid;
  align-content: center;
  max-width: 760px;
  padding: 112px 0 76px;
}

body[data-page="landing"] .hero-home-copy h1 {
  max-width: 700px;
  margin-top: 26px;
}

body[data-page="landing"] .hero-home-copy > p {
  margin-top: 18px;
  max-width: 610px;
}

body[data-page="landing"] .hero-sentiment-rail {
  margin-top: 30px;
  padding: 18px 20px;
  border-radius: 30px;
  background: var(--landing-shell-fill-soft);
  border: 1px solid var(--landing-shell-line);
  box-shadow: 0 20px 52px rgba(4, 8, 18, 0.18);
}

body[data-page="landing"] .hero-sentiment-label {
  color: rgba(255, 255, 255, 0.5);
}

body[data-page="landing"] .hero-command-desk.hero-lens-dock {
  display: grid;
  gap: 20px;
  margin-top: 18px;
  padding: 24px;
  border-radius: 34px;
  background: var(--landing-shell-fill);
  border: 1px solid var(--landing-shell-line);
  box-shadow: var(--landing-shell-shadow);
  backdrop-filter: blur(22px);
}

body[data-page="landing"] .hero-command-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 20px;
  align-items: start;
}

body[data-page="landing"] .hero-command-copy {
  display: grid;
  gap: 8px;
}

body[data-page="landing"] .hero-command-copy span {
  color: rgba(228, 234, 244, 0.54);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-command-copy strong {
  max-width: 38rem;
  color: rgba(247, 250, 255, 0.96);
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

body[data-page="landing"] .hero-command-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body[data-page="landing"] .hero-lens-dock-meta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(246, 249, 255, 0.9);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-orbit-toggle {
  min-height: 38px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(247, 250, 255, 0.92);
}

body[data-page="landing"] .hero-command-desk .hero-focus-row {
  gap: 10px;
  margin-top: 0;
}

body[data-page="landing"] .hero-command-desk .hero-focus-chip {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(235, 240, 248, 0.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
}

body[data-page="landing"] .hero-command-desk .hero-focus-chip:hover,
body[data-page="landing"] .hero-command-desk .hero-focus-chip.is-active {
  border-color: rgba(var(--hero-focus-accent-rgb), 0.3);
  background: rgba(var(--hero-focus-accent-rgb), 0.18);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(var(--hero-focus-accent-rgb), 0.16);
}

body[data-page="landing"] .hero-command-support {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
  align-items: stretch;
}

body[data-page="landing"] .hero-analyst-note {
  width: auto;
  margin: 0;
  padding: 20px 22px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(var(--hero-focus-accent-rgb), 0.14), rgba(9, 11, 18, 0.12)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body[data-page="landing"] .hero-analyst-note-head {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

body[data-page="landing"] .hero-analyst-note .panel-kicker {
  margin: 0;
  color: rgba(228, 234, 244, 0.54);
}

body[data-page="landing"] .hero-orbit-status {
  max-width: 34ch;
  margin: 0;
  color: rgba(232, 238, 247, 0.64);
  font-size: 12px;
  line-height: 1.55;
}

body[data-page="landing"] .hero-analyst-note p {
  color: rgba(247, 249, 252, 0.9);
  font-size: 15px;
  line-height: 1.72;
}

body[data-page="landing"] .hero-proof-rail {
  width: auto;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .hero-proof-card {
  min-height: 102px;
  padding: 16px 16px 18px;
  border-radius: 22px;
  display: grid;
  align-content: start;
  gap: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body[data-page="landing"] .hero-proof-card span {
  color: rgba(228, 234, 244, 0.56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-proof-card strong {
  color: #ffffff;
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

body[data-page="landing"] .hero-command-actions {
  margin-top: 0;
  gap: 12px;
  flex-wrap: wrap;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero {
  min-height: 50px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero:first-child {
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.24);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero:last-child {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(246, 249, 255, 0.92);
}

body[data-page="landing"] .hero-feature-shell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

body[data-page="landing"] .hero-atlas-stack {
  width: min(100%, 472px);
  display: grid;
  gap: 18px;
}

body[data-page="landing"] .hero-opportunity-brief-shell,
body[data-page="landing"] .hero-thesis-snapshot {
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, rgba(16, 20, 30, 0.9), rgba(7, 10, 15, 0.84));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 74px rgba(6, 10, 18, 0.28);
  backdrop-filter: blur(20px);
}

body[data-page="landing"] .hero-opportunity-brief-shell {
  padding: 24px;
}

body[data-page="landing"] .hero-thesis-snapshot {
  padding: 22px 24px 24px;
  transform: none;
}

body[data-page="landing"] .hero-opportunity-brief-head span,
body[data-page="landing"] .hero-opportunity-brief-head strong,
body[data-page="landing"] .hero-slab-topline span,
body[data-page="landing"] .hero-slab-topline strong,
body[data-page="landing"] .hero-node-dock-head {
  color: rgba(230, 236, 247, 0.72);
}

body[data-page="landing"] .hero-brief-price {
  color: #ffffff;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

body[data-page="landing"] .hero-thesis-score-wrap {
  display: grid;
  gap: 10px;
}

body[data-page="landing"] .hero-slab-score {
  color: #ffffff;
  font-size: clamp(60px, 7vw, 88px);
  line-height: 0.9;
}

body[data-page="landing"] .hero-thesis-score-wrap p,
body[data-page="landing"] .hero-node-panel-copy p {
  color: rgba(232, 238, 247, 0.78);
}

body[data-page="landing"] .hero-slab-footer {
  gap: 10px;
}

body[data-page="landing"] .hero-slab-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(245, 247, 251, 0.92);
}

body[data-page="landing"] .hero-slab-chip-quiet strong {
  color: #ffffff;
}

body[data-page="landing"] .hero-spatial-dock {
  display: grid;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .hero-node-panel-copy {
  display: grid;
  gap: 8px;
}

body[data-page="landing"] .living-city-node-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="landing"] .living-city-node-pill {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 251, 0.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="landing"] .living-city-node-pill:hover,
body[data-page="landing"] .living-city-node-pill.is-active {
  border-color: rgba(var(--hero-focus-accent-rgb), 0.28);
  background: rgba(var(--hero-focus-accent-rgb), 0.18);
  color: #ffffff;
}

body[data-page="landing"] .hero-brief-card {
  display: grid;
  gap: 16px;
}

body[data-page="landing"] .hero-brief-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-page="landing"] .hero-brief-meta span {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(236, 241, 249, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="landing"] .hero-brief-insight {
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .hero-brief-link {
  min-height: 46px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="landing"] .section-block {
  padding-top: 0;
}

body[data-page="landing"] .landing-overview-grid,
body[data-page="landing"] .landing-curation-grid,
body[data-page="landing"] .landing-city-editorial {
  gap: 28px;
}

body[data-page="landing"] .landing-panel {
  padding: 32px;
  border-radius: 34px;
  border: 1px solid var(--landing-card-line);
  background: var(--landing-card-fill);
  box-shadow: var(--landing-card-shadow);
}

body[data-page="landing"] .landing-panel-priority {
  background:
    radial-gradient(circle at top right, rgba(255, 200, 118, 0.16), rgba(255, 200, 118, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 236, 0.97));
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.1);
}

body[data-page="landing"] .landing-panel-secondary {
  padding-bottom: 30px;
}

body[data-page="landing"] .landing-panel-collection {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.09), rgba(245, 158, 11, 0) 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 245, 239, 0.97));
}

body[data-page="landing"] .landing-panel-head {
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

body[data-page="landing"] .landing-panel-head > .btn-shell {
  flex: 0 0 auto;
}

body[data-page="landing"] .section-heading-inline {
  display: grid;
  gap: 10px;
}

body[data-page="landing"] .section-heading-inline h2 {
  max-width: 15ch;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

body[data-page="landing"] .section-heading-inline p {
  max-width: 62ch;
  color: rgba(15, 23, 42, 0.64);
}

body[data-page="landing"] .landing-side-stack,
body[data-page="landing"] .landing-city-notes {
  gap: 22px;
}

body[data-page="landing"] .landing-ranking-mini,
body[data-page="landing"] .landing-demand-card,
body[data-page="landing"] .landing-showcase-card,
body[data-page="landing"] .landing-pillar-card,
body[data-page="landing"] .landing-role-link {
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

body[data-page="landing"] .landing-ranking-mini,
body[data-page="landing"] .landing-demand-card {
  border-radius: 28px;
}

body[data-page="landing"] .landing-ranking-mini:hover,
body[data-page="landing"] .landing-demand-card:hover,
body[data-page="landing"] .landing-showcase-card:hover,
body[data-page="landing"] .landing-role-link:hover {
  transform: translateY(-4px);
}

body[data-page="landing"] .landing-role-panel.landing-panel-contrast {
  background:
    radial-gradient(circle at top right, rgba(91, 127, 255, 0.22), rgba(91, 127, 255, 0) 34%),
    linear-gradient(160deg, rgba(14, 20, 34, 0.98), rgba(18, 27, 48, 0.96));
  border-color: rgba(91, 127, 255, 0.16);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-role-links {
  gap: 14px;
  margin-top: 18px;
}

body[data-page="landing"] .landing-role-link {
  padding: 20px 22px;
  border-radius: 26px;
}

body[data-page="landing"] .landing-role-link strong {
  font-size: 15px;
}

body[data-page="landing"] .landing-showcase-preview {
  gap: 18px;
}

body[data-page="landing"] .landing-showcase-card {
  border-radius: 28px;
}

body[data-page="landing"] .landing-showcase-body,
body[data-page="landing"] .landing-ranking-lead-body {
  gap: 16px;
}

body[data-page="landing"] .landing-city-copy,
body[data-page="landing"] .landing-city-notes {
  display: grid;
  gap: 24px;
}

body[data-page="landing"] .landing-city-pillars {
  margin-top: 0;
  gap: 18px;
}

body[data-page="landing"] .landing-pillar-card {
  padding: 24px;
  border-radius: 28px;
}

body[data-page="landing"] .landing-notebook-card {
  padding: 30px;
  border-radius: 32px;
}

body[data-page="landing"] .landing-final-cta {
  gap: 28px;
  padding: 36px;
  align-items: center;
}

body[data-page="landing"] .landing-final-cta-copy {
  display: grid;
  gap: 12px;
  max-width: 700px;
}

body[data-page="landing"] .landing-final-cta .cta-card-actions {
  min-width: min(420px, 100%);
  gap: 12px;
}

/* Landing Header Refinement */
body[data-page="landing"] .site-header {
  padding-top: 14px;
}

body[data-page="landing"] .nav-shell {
  grid-template-columns: auto minmax(340px, 1fr) auto;
  gap: 18px;
  padding: 12px 16px 12px 18px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(251, 249, 244, 0.9));
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 20px 46px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-page="landing"] .nav-shell::before {
  inset: 8px 24% auto;
  height: 34px;
  opacity: 0.62;
}

body[data-page="landing"] .brand-link {
  gap: 14px;
}

body[data-page="landing"] .brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

body[data-page="landing"] .brand-logo {
  width: 34px;
  height: 34px;
}

body[data-page="landing"] .brand-copy {
  gap: 3px;
}

body[data-page="landing"] .brand-title {
  font-size: 16px;
  letter-spacing: -0.02em;
}

body[data-page="landing"] .brand-subtitle {
  color: rgba(15, 23, 42, 0.5);
  font-size: 9px;
  letter-spacing: 0.22em;
}

body[data-page="landing"] .nav-center {
  min-width: 0;
  padding-inline: 4px;
}

body[data-page="landing"] .top-nav {
  padding: 6px;
  gap: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 247, 243, 0.9));
  border-color: rgba(15, 23, 42, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 12px 28px rgba(15, 23, 42, 0.05);
}

body[data-page="landing"] .nav-link {
  min-height: 40px;
  padding: 0 15px;
  gap: 8px;
  color: rgba(15, 23, 42, 0.64);
  font-size: 12px;
  font-weight: 700;
}

body[data-page="landing"] .nav-link-icon {
  color: rgba(15, 23, 42, 0.54);
}

body[data-page="landing"] .nav-link.active,
body[data-page="landing"] .nav-link:hover {
  background:
    linear-gradient(180deg, rgba(255, 245, 229, 0.94), rgba(255, 239, 214, 0.88));
  border-color: rgba(245, 158, 11, 0.18);
  box-shadow:
    0 8px 18px rgba(245, 158, 11, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-page="landing"] .nav-link.active .nav-link-icon,
body[data-page="landing"] .nav-link:hover .nav-link-icon {
  color: #ca7a0a;
}

body[data-page="landing"] .nav-actions {
  gap: 10px;
}

body[data-page="landing"] .nav-actions .btn-shell,
body[data-page="landing"] .nav-actions .session-chip {
  min-height: 46px;
}

body[data-page="landing"] .nav-actions .btn-shell-secondary,
body[data-page="landing"] .nav-actions .session-chip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 247, 243, 0.9));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body[data-page="landing"] .more-menu-trigger {
  min-width: 116px;
  padding-inline: 16px;
}

body[data-page="landing"] .portal-menu-trigger.btn-shell-primary {
  min-width: 172px;
  padding-inline: 24px;
  box-shadow:
    0 18px 34px rgba(245, 158, 11, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body[data-page="landing"] .portal-menu-panel {
  top: calc(100% + 12px);
  padding: 14px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
}

body[data-page="landing"] .portal-entry {
  padding: 15px;
  border-radius: 20px;
}

body[data-page="landing"] .portal-entry-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
}

body[data-page="landing"] .portal-entry-copy strong {
  font-size: 13px;
}

body[data-page="landing"] .portal-entry-copy span:last-child {
  line-height: 1.45;
}

/* Canonical Ranking Refactor */
body[data-page="property-ranking"] {
  --site-width: min(1640px, calc(100% - 28px));
}

body[data-page="property-ranking"] .ranking-site-shell {
  width: var(--site-width);
  margin-inline: auto;
}

body[data-page="property-ranking"] .ranking-page-shell {
  display: grid;
  gap: 26px;
  padding-bottom: 88px;
}

body[data-page="property-ranking"] .ranking-intro-surface {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: clamp(320px, 34vw, 420px);
  padding: 26px 28px 28px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 210, 132, 0.14), rgba(255, 210, 132, 0) 18%),
    linear-gradient(90deg, rgba(8, 12, 20, 0.88) 0%, rgba(8, 12, 20, 0.76) 18%, rgba(8, 12, 20, 0.56) 38%, rgba(8, 12, 20, 0.34) 62%, rgba(8, 12, 20, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 12, 20, 0.12), rgba(8, 12, 20, 0.4)),
    url("../images/cityfountain.png") center 56% / cover no-repeat;
  box-shadow:
    0 28px 72px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

body[data-page="property-ranking"] .ranking-intro-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 28%, rgba(0, 0, 0, 0.08) 100%);
  pointer-events: none;
}

body[data-page="property-ranking"] .ranking-intro-surface > * {
  position: relative;
  z-index: 1;
}

body[data-page="property-ranking"] .ranking-root-grid,
body[data-page="property-ranking"] .ranking-studio {
  width: 100%;
}

body[data-page="property-ranking"] .ranking-intro-surface .page-intro-copy {
  display: grid;
  gap: 12px;
  max-width: min(520px, 56%);
}

body[data-page="property-ranking"] .ranking-intro-surface h1 {
  max-width: 7.4ch;
  margin: 16px 0 12px;
  color: #ffffff;
  font-size: clamp(54px, 5.8vw, 74px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

body[data-page="property-ranking"] .ranking-intro-surface p {
  max-width: 46ch;
  color: rgba(247, 249, 253, 0.9);
  font-size: 15px;
  line-height: 1.58;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
}

body[data-page="property-ranking"] .ranking-intro-surface .eyebrow {
  color: #ffbb3d;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

body[data-page="property-ranking"] .ranking-intro-surface .page-role-strip {
  gap: 8px;
  margin-top: 8px;
}

body[data-page="property-ranking"] .ranking-intro-surface .page-role-pill {
  min-height: 30px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #596274;
  font-size: 10px;
  letter-spacing: 0.12em;
  box-shadow: 0 10px 22px rgba(8, 12, 20, 0.12);
}

body[data-page="property-ranking"] .ranking-intro-surface .page-role-pill.is-role {
  background: linear-gradient(135deg, rgba(255, 201, 123, 0.96), rgba(255, 167, 43, 0.96));
  border-color: rgba(255, 213, 148, 0.54);
  color: #6f3a00;
}

body[data-page="property-ranking"] .ranking-intro-surface .intro-actions {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page="property-ranking"] .ranking-intro-surface .intro-actions .btn-shell {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

body[data-page="property-ranking"] .ranking-intro-surface .intro-actions .btn-shell-primary {
  color: #fff8ef;
  background: linear-gradient(135deg, #ffc15a, #f59d1f);
  box-shadow:
    0 16px 34px rgba(242, 156, 45, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body[data-page="property-ranking"] .ranking-intro-surface .intro-actions .btn-shell-secondary {
  color: #1a2230;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 14px 30px rgba(8, 12, 20, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

body[data-page="property-ranking"] .ranking-intro-surface .intro-actions .btn-shell-ghost {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 180ms ease;
}

body[data-page="property-ranking"] .ranking-intro-surface .intro-actions .btn-shell-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22), 0 0 16px rgba(245, 158, 11, 0.2);
  transform: translateY(-1px);
}

body[data-page="property-ranking"] .ranking-command-grid {
  grid-template-columns: 312px minmax(0, 1fr);
  gap: 28px;
}

body[data-page="property-ranking"] .ranking-command-rail,
body[data-page="property-ranking"] .ranking-command-main {
  gap: 22px;
}

body[data-page="property-ranking"] .ranking-command-dock {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 200, 118, 0.16), rgba(255, 200, 118, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 241, 0.97));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

body[data-page="property-ranking"] .ranking-dock-head {
  display: grid;
  gap: 14px;
}

body[data-page="property-ranking"] .ranking-dock-head h3 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

body[data-page="property-ranking"] .ranking-dock-badge {
  display: inline-flex;
  align-items: center;
  justify-self: flex-start;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="property-ranking"] .ranking-filter-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

body[data-page="property-ranking"] .ranking-summary-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="property-ranking"] .ranking-summary-cell {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-page="property-ranking"] .ranking-summary-cell span {
  color: rgba(15, 23, 42, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="property-ranking"] .ranking-summary-cell strong {
  color: #0f172a;
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

body[data-page="property-ranking"] .ranking-thesis-note {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(20, 29, 48, 0.97), rgba(32, 43, 66, 0.92));
  border: 1px solid rgba(91, 127, 255, 0.12);
  box-shadow: 0 26px 56px rgba(15, 23, 42, 0.14);
}

body[data-page="property-ranking"] .ranking-thesis-note .panel-kicker,
body[data-page="property-ranking"] .ranking-thesis-note h3,
body[data-page="property-ranking"] .ranking-thesis-note p {
  color: rgba(245, 247, 251, 0.94);
}

body[data-page="property-ranking"] .ranking-thesis-note p {
  color: rgba(230, 236, 246, 0.74);
}

body[data-page="property-ranking"] .ranking-thesis-chip-row .service-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.94);
}

body[data-page="property-ranking"] .ranking-command-main .investment-intent {
  padding: 28px;
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

body[data-page="property-ranking"] .ranking-stage-shell {
  padding: 32px;
  border-radius: 38px;
}

body[data-page="property-ranking"] .ranking-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 22px;
  align-items: start;
}

body[data-page="property-ranking"] .ranking-stage-main,
body[data-page="property-ranking"] .ranking-stage-aside {
  display: grid;
  gap: 16px;
}

body[data-page="property-ranking"] .ranking-stage-note {
  display: grid;
  gap: 8px;
  max-width: 36rem;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

body[data-page="property-ranking"] .ranking-stage-note span {
  color: rgba(230, 236, 246, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="property-ranking"] .ranking-stage-note strong {
  color: rgba(248, 250, 252, 0.96);
  font-size: 15px;
  line-height: 1.6;
}

body[data-page="property-ranking"] .ranking-stage-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

body[data-page="property-ranking"] .ranking-hero-actions {
  margin-top: 4px;
}

body[data-page="property-ranking"] .ranking-hero-score {
  width: 100%;
  margin-top: 0;
}

body[data-page="property-ranking"] .ranking-board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 22px;
  align-items: start;
}

body[data-page="property-ranking"] .ranking-leaderboard-shell {
  padding: 28px;
  border-radius: 34px;
  box-shadow: 0 22px 56px rgba(15, 23, 42, 0.08);
}

body[data-page="property-ranking"] .ranking-results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

body[data-page="property-ranking"] .ranking-results-head > div {
  display: grid;
  gap: 8px;
}

body[data-page="property-ranking"] .ranking-results-head h3 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

body[data-page="property-ranking"] .ranking-property-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  align-items: start;
}

body[data-page="property-ranking"] .ranking-property-grid .empty-state {
  grid-column: 1 / -1;
}

body[data-page="property-ranking"] .ranking-command-grid {
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
}

body[data-page="property-ranking"] .ranking-command-dock,
body[data-page="property-ranking"] .ranking-command-main .investment-intent,
body[data-page="property-ranking"] .ranking-leaderboard-shell {
  padding: 24px;
}

body[data-page="property-ranking"] .ranking-command-dock,
body[data-page="property-ranking"] .ranking-command-main,
body[data-page="property-ranking"] .ranking-command-rail {
  gap: 18px;
}

body[data-page="property-ranking"] .ranking-stage-shell {
  padding: 28px;
  border-radius: 34px;
}

body[data-page="property-ranking"] .ranking-stage-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: 22px;
}

body[data-page="property-ranking"] .ranking-summary-cell {
  min-height: 96px;
  padding: 14px 16px;
}

body[data-page="property-ranking"] .ranking-summary-cell strong {
  font-size: clamp(26px, 3vw, 34px);
}

body[data-page="property-ranking"] .ranking-thesis-note {
  padding: 18px 20px;
}

body[data-page="property-ranking"] .ranking-board-grid {
  grid-template-columns: minmax(430px, 0.96fr) minmax(620px, 1.04fr);
  gap: 24px;
  align-items: stretch;
}

body[data-page="property-ranking"] .ranking-board-grid .thesis-card {
  padding: 24px;
  border-radius: 32px;
  gap: 16px;
  height: 100%;
  background:
    radial-gradient(circle at top right, rgba(255, 184, 0, 0.12), rgba(255, 184, 0, 0) 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 238, 0.96));
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
}

body[data-page="property-ranking"] .ranking-board-grid .thesis-head {
  gap: 10px;
}

body[data-page="property-ranking"] .ranking-board-grid .thesis-head h3 {
  margin-top: 6px;
  font-size: clamp(26px, 2.5vw, 38px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 15ch;
}

body[data-page="property-ranking"] .ranking-board-grid .thesis-copy {
  font-size: 14px;
  line-height: 1.6;
}

body[data-page="property-ranking"] .ranking-board-grid .thesis-emphasis-row {
  gap: 8px;
}

body[data-page="property-ranking"] .ranking-board-grid .thesis-emphasis-pill {
  min-height: 30px;
  padding: 0 10px;
  font-size: 11px;
}

body[data-page="property-ranking"] .ranking-board-grid .thesis-metric-list {
  gap: 10px;
}

body[data-page="property-ranking"] .ranking-board-grid .thesis-metric-row {
  gap: 6px;
  padding: 12px 14px;
}

body[data-page="property-ranking"] .ranking-board-grid .thesis-metric-bar {
  height: 8px;
}

body[data-page="property-ranking"] .ranking-leaderboard-shell {
  gap: 16px;
  height: 100%;
  background:
    radial-gradient(circle at top right, rgba(255, 184, 0, 0.1), rgba(255, 184, 0, 0) 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 243, 0.97));
}

body[data-page="property-ranking"] .ranking-leaderboard-shell .ranking-section-head h3 {
  margin-top: 6px;
  font-size: clamp(24px, 2.4vw, 32px);
}

body[data-page="property-ranking"] .ranking-leaderboard-shell .leaderboard-list {
  gap: 12px;
}

body[data-page="property-ranking"] .ranking-leaderboard-shell .leader-row {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 12px 14px;
  padding: 18px 18px 16px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-page="property-ranking"] .ranking-leaderboard-shell .rank-badge {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  font-size: 16px;
}

body[data-page="property-ranking"] .ranking-leaderboard-shell .rank-copy {
  min-width: 0;
}

body[data-page="property-ranking"] .ranking-leaderboard-shell .rank-copy h3 {
  margin: 0;
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

body[data-page="property-ranking"] .ranking-leaderboard-shell .rank-meta {
  margin-top: 6px;
  gap: 6px 10px;
  font-size: 12px;
  line-height: 1.35;
}

body[data-page="property-ranking"] .ranking-leaderboard-shell .leader-row:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

body[data-page="property-ranking"] .ranking-leaderboard-shell .score-pill,
body[data-page="property-ranking"] .ranking-leaderboard-shell .lens-score-pill {
  grid-column: 2;
  justify-self: start;
  min-height: 28px;
  max-width: 100%;
  margin-top: -2px;
  padding: 0 10px;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-page="property-ranking"] .ranking-leaderboard-shell .lens-score-pill .intent-icon {
  display: none;
}

body[data-page="property-ranking"] .property-card.property-card-ranking {
  padding: 0;
  border-radius: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 184, 0, 0.08), rgba(255, 184, 0, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 242, 0.96));
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

body[data-page="property-ranking"] .property-card.property-card-ranking:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.16);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
}

body[data-page="property-ranking"] .property-card.property-card-ranking::before {
  opacity: 0.78;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-media {
  position: relative;
  aspect-ratio: 16 / 9.2;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #dbe3ed, #cfd9e7);
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-media::before,
body[data-page="property-ranking"] .property-card-ranking .property-ranking-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-media::before {
  background: linear-gradient(180deg, rgba(8, 10, 15, 0.08) 0%, rgba(8, 10, 15, 0.62) 100%);
  z-index: 1;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-media::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 184, 0, 0.18), rgba(255, 184, 0, 0) 28%),
    linear-gradient(180deg, rgba(8, 10, 15, 0) 30%, rgba(8, 10, 15, 0.22) 64%, rgba(8, 10, 15, 0.82) 100%);
  z-index: 1;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.002);
  filter: saturate(0.96) contrast(1.04);
  transition: transform 320ms ease, filter 320ms ease;
}

body[data-page="property-ranking"] .property-card.property-card-ranking:hover .property-ranking-media img {
  transform: scale(1.03);
  filter: saturate(1.02) contrast(1.06);
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-media-top,
body[data-page="property-ranking"] .property-card-ranking .property-ranking-media-bottom {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-media-top {
  top: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="property-ranking"] .property-card-ranking .property-pill-stack {
  justify-content: flex-end;
  gap: 8px;
}

body[data-page="property-ranking"] .property-card-ranking .score-pill,
body[data-page="property-ranking"] .property-card-ranking .lens-score-pill {
  min-height: 36px;
  max-width: calc(100% - 90px);
  padding: 0 12px;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 14px 28px rgba(255, 152, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body[data-page="property-ranking"] .property-card-ranking .lens-score-pill .intent-icon {
  display: none;
}

body[data-page="property-ranking"] .property-card-ranking .status-pill {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 14, 18, 0.56);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-media-bottom {
  bottom: 18px;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  max-width: 100%;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(12, 15, 20, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(14px);
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-body {
  display: grid;
  gap: 16px;
  padding: 22px;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-head {
  display: grid;
  gap: 12px;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-chip-row,
body[data-page="property-ranking"] .property-card-ranking .property-ranking-signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-chip,
body[data-page="property-ranking"] .property-card-ranking .property-ranking-signal-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-chip {
  background: rgba(240, 244, 250, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: #465062;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-chip.is-strong {
  background: rgba(99, 102, 241, 0.08);
  color: #4338ca;
  border-color: rgba(99, 102, 241, 0.08);
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-title {
  margin: 0;
  font-size: clamp(1.95rem, 1.55rem + 0.35vw, 2.45rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-price {
  font-family: "Poppins", "Montserrat", sans-serif;
  font-size: 1.24rem;
  line-height: 1;
  white-space: nowrap;
  color: #a65f00;
  letter-spacing: -0.04em;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-thesis {
  color: #536073;
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-stat-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-stat {
  display: grid;
  gap: 6px;
  padding: 14px 14px 13px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fafbfc, #f3f5f8);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-stat span {
  color: #95a0b1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-stat strong {
  color: #162033;
  font-size: 15px;
  line-height: 1.25;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-footer {
  display: grid;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-signal-chip {
  background: rgba(15, 23, 42, 0.04);
  color: #586274;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-actions > .btn-shell-primary {
  min-height: 48px;
  justify-content: center;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-icon-action {
  width: 46px;
  min-width: 46px;
  padding: 0;
  border-radius: 16px;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-icon-action.is-active {
  background: rgba(99, 102, 241, 0.08);
  border-color: rgba(99, 102, 241, 0.12);
  color: #4338ca;
}

body[data-page="property-ranking"] .property-card-ranking .property-ranking-manage {
  grid-column: 1 / -1;
  justify-content: center;
}

@media (max-width: 1180px) {
  body[data-page="property-ranking"] .ranking-intro-surface {
    min-height: 0;
    padding: 24px;
  }

  body[data-page="property-ranking"] .ranking-intro-surface::after {
    inset: 0;
  }

  body[data-page="property-ranking"] .ranking-intro-surface .page-intro-copy {
    max-width: min(520px, 62%);
  }

  body[data-page="property-ranking"] .ranking-intro-surface .intro-actions {
    right: 24px;
    bottom: 24px;
  }

  body[data-page="property-ranking"] .ranking-command-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="property-ranking"] .ranking-command-rail {
    order: 2;
  }

  body[data-page="property-ranking"] .ranking-command-main {
    order: 1;
  }

  body[data-page="property-ranking"] .ranking-stage-grid,
  body[data-page="property-ranking"] .ranking-board-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="property-ranking"] .ranking-stage-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="landing"] .hero-command-support {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .hero-feature-shell {
    justify-content: flex-start;
  }

  body[data-page="landing"] .hero-atlas-stack {
    width: min(620px, 100%);
  }
}

@media (max-width: 920px) {
  body[data-page="property-ranking"] .ranking-intro-surface {
    padding: 22px;
    min-height: 0;
  }

  body[data-page="property-ranking"] .ranking-intro-surface .page-intro-copy {
    max-width: 100%;
  }

  body[data-page="property-ranking"] .ranking-intro-surface h1 {
    max-width: 8ch;
    font-size: clamp(42px, 9vw, 58px);
  }

  body[data-page="property-ranking"] .ranking-intro-surface p {
    max-width: 40ch;
  }

  body[data-page="property-ranking"] .ranking-intro-surface .intro-actions {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 22px;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  body[data-page="property-ranking"] .ranking-results-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .hero-command-head {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-panel-head,
  body[data-page="landing"] .landing-final-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .hero-command-state {
    justify-content: flex-start;
  }

  body[data-page="landing"] .hero-proof-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body[data-page="property-ranking"] .ranking-site-shell {
    width: calc(100% - 16px);
  }

  body[data-page="property-ranking"] .ranking-intro-surface {
    padding: 18px;
    border-radius: 28px;
  }

  body[data-page="property-ranking"] .ranking-intro-surface .intro-actions {
    margin-top: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="property-ranking"] .ranking-intro-surface .intro-actions .btn-shell {
    width: 100%;
  }

  body[data-page="property-ranking"] .ranking-intro-surface,
  body[data-page="property-ranking"] .ranking-command-dock,
  body[data-page="property-ranking"] .ranking-command-main .investment-intent,
  body[data-page="property-ranking"] .ranking-stage-shell,
  body[data-page="property-ranking"] .ranking-leaderboard-shell {
    padding: 22px;
    border-radius: 28px;
  }

  body[data-page="property-ranking"] .ranking-summary-rail,
  body[data-page="property-ranking"] .ranking-stage-metrics {
    grid-template-columns: 1fr;
  }

  body[data-page="property-ranking"] .ranking-property-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="property-ranking"] .property-card-ranking .property-ranking-title-row,
  body[data-page="property-ranking"] .property-card-ranking .property-ranking-stat-rail,
  body[data-page="property-ranking"] .property-card-ranking .property-ranking-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="property-ranking"] .property-card-ranking .property-ranking-icon-action {
    width: 100%;
  }

  body[data-page="property-ranking"] .ranking-hero-actions {
    width: 100%;
    flex-direction: column;
  }

  body[data-page="property-ranking"] .ranking-hero-actions .btn-shell {
    width: 100%;
  }

  body[data-page="landing"] .hero-sentiment-rail,
  body[data-page="landing"] .hero-command-desk.hero-lens-dock,
  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-final-cta {
    padding: 22px;
    border-radius: 28px;
  }

  body[data-page="landing"] .hero-command-actions {
    flex-direction: column;
    width: 100%;
  }

  body[data-page="landing"] .hero-command-actions .btn-shell-hero {
    width: 100%;
  }

  body[data-page="landing"] .hero-proof-rail {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-final-cta .cta-card-actions {
    min-width: 0;
    grid-template-columns: 1fr;
  }
}

/* Landing Art Direction Refresh */
body[data-page="landing"] {
  --landing-obsidian-deep: #0d1016;
  --landing-obsidian-soft: #181d27;
  --landing-paper-warm: #fbf6ec;
  --landing-paper-cream: #f4eddf;
  --landing-brass-rich: #f2b24c;
  --landing-brass-deep: #cb7f18;
  --landing-teal-air: #8fe0d2;
  background:
    radial-gradient(circle at 10% 0%, rgba(242, 178, 76, 0.2), rgba(242, 178, 76, 0) 22%),
    radial-gradient(circle at 100% 20%, rgba(143, 224, 210, 0.12), rgba(143, 224, 210, 0) 18%),
    linear-gradient(180deg, #fbf4e8 0%, #f4ede0 44%, #faf6ee 100%);
}

body[data-page="landing"]::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(229, 221, 206, 0.56));
}

body[data-page="landing"] .page-shell.landing-shell {
  gap: 36px;
  padding-top: 18px;
}

body[data-page="landing"] .site-header {
  top: 10px;
  padding-top: 0;
}

body[data-page="landing"] .nav-shell {
  grid-template-columns: auto minmax(360px, 1fr) auto;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(13, 16, 22, 0.96), rgba(29, 34, 43, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 28px 68px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-page="landing"].landing-header-condensed .nav-shell {
  transform: translateY(-4px) scale(0.99);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .nav-shell::before {
  inset: 10px 24% auto;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242, 178, 76, 0.18), rgba(242, 178, 76, 0), rgba(143, 224, 210, 0.12));
  opacity: 0.82;
}

body[data-page="landing"] .brand-link {
  gap: 14px;
}

body[data-page="landing"] .brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 244, 223, 0.98), rgba(242, 178, 76, 0.88));
  border: 1px solid rgba(255, 222, 165, 0.34);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

body[data-page="landing"] .brand-logo {
  width: 34px;
  height: 34px;
}

body[data-page="landing"] .brand-copy {
  gap: 4px;
}

body[data-page="landing"] .brand-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  color: rgba(255, 248, 238, 0.96);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

body[data-page="landing"] .brand-subtitle {
  color: rgba(242, 178, 76, 0.66);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

body[data-page="landing"] .nav-center {
  min-width: 0;
  padding-inline: 4px;
}

body[data-page="landing"] .top-nav {
  padding: 6px;
  gap: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

body[data-page="landing"] .nav-link {
  position: relative;
  min-height: 40px;
  padding: 0 15px;
  gap: 8px;
  border-radius: 999px;
  color: rgba(244, 239, 229, 0.7);
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

body[data-page="landing"] .nav-link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242, 178, 76, 0), rgba(242, 178, 76, 0.92), rgba(242, 178, 76, 0));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: transform 220ms ease, opacity 220ms ease;
}

body[data-page="landing"] .nav-link-icon {
  color: rgba(244, 239, 229, 0.56);
}

body[data-page="landing"] .nav-link.active,
body[data-page="landing"] .nav-link:hover {
  transform: translateY(-1px);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(242, 178, 76, 0.26), rgba(242, 178, 76, 0.14));
  border-color: rgba(242, 178, 76, 0.26);
  box-shadow:
    0 10px 22px rgba(242, 178, 76, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body[data-page="landing"] .nav-link.active .nav-link-icon,
body[data-page="landing"] .nav-link:hover .nav-link-icon {
  color: rgba(255, 245, 225, 0.96);
}

body[data-page="landing"] .nav-link.active::after,
body[data-page="landing"] .nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

body[data-page="landing"] .nav-actions {
  gap: 10px;
}

body[data-page="landing"] .nav-actions .btn-shell,
body[data-page="landing"] .nav-actions .session-chip {
  min-height: 46px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

body[data-page="landing"] .nav-actions .btn-shell-secondary,
body[data-page="landing"] .nav-actions .session-chip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(248, 244, 236, 0.9);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .more-menu-trigger {
  min-width: 132px;
}

body[data-page="landing"] .portal-menu-trigger.btn-shell-primary {
  position: relative;
  overflow: hidden;
  min-width: 176px;
  background: linear-gradient(135deg, var(--landing-brass-rich), #f3912e);
  border-color: rgba(255, 221, 162, 0.3);
  color: #fff;
  box-shadow:
    0 22px 42px rgba(242, 178, 76, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body[data-page="landing"] .portal-menu-trigger.btn-shell-primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

body[data-page="landing"] .nav-actions .btn-shell:hover,
body[data-page="landing"] .nav-actions .session-chip:hover {
  transform: translateY(-2px);
}

body[data-page="landing"] .portal-menu-panel {
  top: calc(100% + 12px);
  padding: 14px;
  border-radius: 28px;
  background: rgba(253, 249, 241, 0.96);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

body[data-page="landing"] .portal-entry {
  padding: 15px;
  border-radius: 20px;
}

body[data-page="landing"] .portal-entry:hover {
  background: rgba(15, 23, 42, 0.04);
}

body[data-page="landing"] .hero-home {
  position: relative;
  isolation: isolate;
}

body[data-page="landing"] .hero-home::before {
  content: "";
  position: absolute;
  top: 64px;
  right: 64px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 178, 76, 0.26), rgba(242, 178, 76, 0) 70%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 0;
}

body[data-page="landing"] .hero-canvas,
body[data-page="landing"] #hero-canvas {
  height: 842px;
  border-radius: 52px;
  box-shadow:
    0 58px 128px rgba(10, 13, 18, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

body[data-page="landing"] .hero-home-backdrop {
  filter: brightness(0.25) saturate(0.86) contrast(1.12);
}

body[data-page="landing"] .hero-home-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 56px;
  min-height: 842px;
}

body[data-page="landing"] .hero-home-copy {
  max-width: 780px;
  padding: 122px 0 88px;
}

body[data-page="landing"] .hero-prelude {
  align-items: flex-start;
}

body[data-page="landing"] .hero-location-seal {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(250, 245, 236, 0.86);
}

body[data-page="landing"] .hero-node-badge {
  background: linear-gradient(180deg, rgba(242, 178, 76, 0.2), rgba(242, 178, 76, 0.12));
  border-color: rgba(242, 178, 76, 0.24);
  color: rgba(255, 246, 228, 0.94);
}

body[data-page="landing"] .hero-home-copy h1 {
  max-width: 7.6ch;
  margin-top: 28px;
  font-size: clamp(72px, 8.4vw, 124px);
  line-height: 0.86;
  letter-spacing: -0.085em;
  text-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
}

body[data-page="landing"] .hero-home-copy > p {
  max-width: 640px;
  margin-top: 22px;
  color: rgba(255, 249, 239, 0.8);
  font-size: 18px;
  line-height: 1.74;
}

body[data-page="landing"] .hero-sentiment-rail {
  margin-top: 30px;
  padding: 18px 20px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(250, 245, 234, 0.96), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(242, 178, 76, 0.18);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

body[data-page="landing"] .hero-sentiment-label {
  color: rgba(22, 28, 40, 0.46);
}

body[data-page="landing"] .hero-sentiment-track {
  color: rgba(18, 24, 35, 0.74);
}

body[data-page="landing"] .hero-command-desk.hero-lens-dock {
  margin-top: 24px;
  padding: 28px;
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(242, 178, 76, 0.16), rgba(242, 178, 76, 0) 28%),
    linear-gradient(180deg, rgba(252, 248, 240, 0.97), rgba(255, 255, 255, 0.93));
  border: 1px solid rgba(242, 178, 76, 0.16);
  box-shadow:
    0 36px 86px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .hero-command-copy span {
  color: rgba(24, 30, 44, 0.46);
}

body[data-page="landing"] .hero-command-copy strong {
  color: #161c28;
  max-width: 34rem;
  font-size: clamp(28px, 3vw, 38px);
}

body[data-page="landing"] .hero-lens-dock-meta {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.08);
  color: rgba(22, 28, 40, 0.84);
}

body[data-page="landing"] .hero-orbit-toggle {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(15, 23, 42, 0.92);
  color: rgba(255, 248, 238, 0.94);
}

body[data-page="landing"] .hero-command-desk .hero-focus-chip {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: rgba(15, 23, 42, 0.78);
}

body[data-page="landing"] .hero-command-desk .hero-focus-chip:hover,
body[data-page="landing"] .hero-command-desk .hero-focus-chip.is-active {
  border-color: rgba(242, 178, 76, 0.24);
  background: rgba(242, 178, 76, 0.14);
  color: #7a4810;
  box-shadow: 0 14px 28px rgba(242, 178, 76, 0.14);
}

body[data-page="landing"] .hero-analyst-note {
  background:
    radial-gradient(circle at top right, rgba(143, 224, 210, 0.16), rgba(143, 224, 210, 0) 30%),
    linear-gradient(160deg, rgba(17, 23, 34, 0.98), rgba(27, 35, 50, 0.95));
  border: 1px solid rgba(143, 224, 210, 0.14);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .hero-analyst-note .panel-kicker {
  color: rgba(228, 236, 247, 0.56);
}

body[data-page="landing"] .hero-orbit-status {
  color: rgba(143, 224, 210, 0.7);
}

body[data-page="landing"] .hero-analyst-note p {
  color: rgba(248, 250, 255, 0.9);
}

body[data-page="landing"] .hero-proof-card {
  background:
    linear-gradient(180deg, rgba(18, 24, 35, 0.92), rgba(24, 31, 45, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.16);
}

body[data-page="landing"] .hero-proof-card span {
  color: rgba(228, 236, 247, 0.52);
}

body[data-page="landing"] .hero-proof-card strong {
  color: #fff6e6;
}

body[data-page="landing"] .hero-command-actions {
  gap: 12px;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero {
  min-height: 52px;
  border-radius: 16px;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero:first-child {
  background: linear-gradient(135deg, var(--landing-brass-rich), #f28f2e);
  border-color: rgba(255, 219, 155, 0.3);
  box-shadow: 0 20px 44px rgba(242, 178, 76, 0.22);
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero:last-child {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.08);
  color: #18202c;
}

body[data-page="landing"] .hero-atlas-stack {
  width: min(100%, 500px);
  gap: 20px;
}

body[data-page="landing"] .hero-opportunity-brief-shell {
  padding: 26px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(143, 224, 210, 0.12), rgba(143, 224, 210, 0) 30%),
    linear-gradient(160deg, rgba(13, 18, 28, 0.98), rgba(25, 34, 48, 0.95));
  border: 1px solid rgba(143, 224, 210, 0.14);
  box-shadow: 0 34px 76px rgba(15, 23, 42, 0.22);
  transform: translateX(-14px);
}

body[data-page="landing"] .hero-thesis-snapshot {
  padding: 24px 26px 26px;
  border-radius: 36px;
  background:
    radial-gradient(circle at top right, rgba(242, 178, 76, 0.12), rgba(242, 178, 76, 0) 30%),
    linear-gradient(180deg, rgba(252, 248, 239, 0.98), rgba(244, 237, 226, 0.96));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 34px 76px rgba(15, 23, 42, 0.14);
  transform: translateX(20px) translateY(-8px);
}

body[data-page="landing"] .hero-opportunity-brief-head span,
body[data-page="landing"] .hero-opportunity-brief-head strong,
body[data-page="landing"] .hero-opportunity-brief-shell .hero-node-dock-head {
  color: rgba(236, 243, 250, 0.72);
}

body[data-page="landing"] .hero-opportunity-brief-shell .hero-brief-price,
body[data-page="landing"] .hero-opportunity-brief-shell .hero-node-panel-head strong,
body[data-page="landing"] .hero-opportunity-brief-shell .living-city-node-pill {
  color: #ffffff;
}

body[data-page="landing"] .hero-opportunity-brief-shell .hero-brief-insight,
body[data-page="landing"] .hero-opportunity-brief-shell .hero-brief-meta span,
body[data-page="landing"] .hero-opportunity-brief-shell .living-city-node-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

body[data-page="landing"] .hero-thesis-snapshot .hero-slab-topline span,
body[data-page="landing"] .hero-thesis-snapshot .hero-slab-topline strong,
body[data-page="landing"] .hero-thesis-snapshot .hero-node-dock-head,
body[data-page="landing"] .hero-thesis-snapshot .hero-node-panel-copy p {
  color: rgba(24, 31, 45, 0.62);
}

body[data-page="landing"] .hero-thesis-snapshot .hero-slab-score,
body[data-page="landing"] .hero-thesis-snapshot .hero-node-panel-head strong,
body[data-page="landing"] .hero-thesis-snapshot .living-city-node-pill,
body[data-page="landing"] .hero-thesis-snapshot .hero-slab-chip strong {
  color: #171d29;
}

body[data-page="landing"] .hero-thesis-snapshot .hero-thesis-score-wrap p {
  color: rgba(24, 31, 45, 0.72);
}

body[data-page="landing"] .hero-thesis-snapshot .hero-slab-chip,
body[data-page="landing"] .hero-thesis-snapshot .living-city-node-pill {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .section-block {
  padding-top: 0;
}

body[data-page="landing"] .landing-overview-grid,
body[data-page="landing"] .landing-curation-grid,
body[data-page="landing"] .landing-city-editorial {
  gap: 32px;
}

body[data-page="landing"] .landing-panel,
body[data-page="landing"] .landing-final-cta {
  position: relative;
  overflow: hidden;
  padding: 36px;
  border-radius: 38px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(246, 239, 228, 0.96));
  box-shadow: 0 30px 76px rgba(15, 23, 42, 0.1);
}

body[data-page="landing"] .landing-panel::before,
body[data-page="landing"] .landing-final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 178, 76, 0), rgba(242, 178, 76, 0.42), rgba(242, 178, 76, 0));
}

body[data-page="landing"] .landing-panel-priority {
  background:
    radial-gradient(circle at top right, rgba(242, 178, 76, 0.18), rgba(242, 178, 76, 0) 34%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.99), rgba(245, 237, 224, 0.97));
}

body[data-page="landing"] .landing-demand-panel {
  background:
    radial-gradient(circle at top right, rgba(143, 224, 210, 0.14), rgba(143, 224, 210, 0) 32%),
    linear-gradient(160deg, rgba(14, 19, 30, 0.98), rgba(22, 31, 46, 0.96));
  border-color: rgba(143, 224, 210, 0.16);
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-demand-panel::before {
  background: linear-gradient(90deg, rgba(143, 224, 210, 0), rgba(143, 224, 210, 0.46), rgba(143, 224, 210, 0));
}

body[data-page="landing"] .landing-demand-panel .section-heading-inline h2,
body[data-page="landing"] .landing-demand-panel .section-heading-inline p,
body[data-page="landing"] .landing-demand-panel .eyebrow {
  color: #ffffff;
}

body[data-page="landing"] .landing-demand-panel .section-heading-inline p {
  color: rgba(228, 236, 247, 0.72);
}

body[data-page="landing"] .landing-demand-panel .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(248, 251, 255, 0.92);
}

body[data-page="landing"] .landing-panel-contrast.landing-role-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 232, 190, 0.22), rgba(255, 232, 190, 0) 34%),
    linear-gradient(155deg, rgba(242, 178, 76, 0.98), rgba(201, 119, 17, 0.94));
  border-color: rgba(255, 236, 204, 0.26);
  box-shadow: 0 36px 86px rgba(184, 117, 19, 0.26);
}

body[data-page="landing"] .landing-role-panel::before {
  background: linear-gradient(90deg, rgba(255, 250, 240, 0), rgba(255, 250, 240, 0.76), rgba(255, 250, 240, 0));
}

body[data-page="landing"] .landing-role-panel h2,
body[data-page="landing"] .landing-role-panel p,
body[data-page="landing"] .landing-role-panel .eyebrow {
  color: #171d29;
}

body[data-page="landing"] .landing-role-links {
  gap: 14px;
}

body[data-page="landing"] .landing-role-link {
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(23, 29, 41, 0.08);
  background: rgba(255, 251, 244, 0.84);
  box-shadow:
    0 18px 34px rgba(23, 29, 41, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

body[data-page="landing"] .landing-role-link span,
body[data-page="landing"] .landing-role-link strong {
  color: #171d29;
}

body[data-page="landing"] .landing-role-link:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-4px);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline {
  background:
    radial-gradient(circle at top right, rgba(143, 224, 210, 0.14), rgba(143, 224, 210, 0) 30%),
    linear-gradient(160deg, rgba(14, 19, 30, 0.98), rgba(22, 31, 46, 0.96));
  border-color: rgba(143, 224, 210, 0.16);
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline::before {
  background: linear-gradient(90deg, rgba(143, 224, 210, 0), rgba(143, 224, 210, 0.46), rgba(143, 224, 210, 0));
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .section-heading-inline h2,
body[data-page="landing"] .landing-curation-panel.is-pipeline .section-heading-inline p,
body[data-page="landing"] .landing-curation-panel.is-pipeline .eyebrow {
  color: #ffffff;
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .section-heading-inline p {
  color: rgba(228, 236, 247, 0.72);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(248, 251, 255, 0.92);
}

body[data-page="landing"] .section-heading-inline {
  gap: 12px;
}

body[data-page="landing"] .section-heading-inline h2 {
  max-width: 13ch;
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

body[data-page="landing"] .section-heading-inline p {
  color: rgba(15, 23, 42, 0.68);
}

body[data-page="landing"] .landing-panel-head {
  gap: 22px;
  margin-bottom: 26px;
}

body[data-page="landing"] .landing-panel-head > .btn-shell {
  min-height: 44px;
  padding-inline: 16px;
}

body[data-page="landing"] .landing-ranking-lead {
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 242, 231, 0.98));
  box-shadow: 0 34px 84px rgba(15, 23, 42, 0.12);
}

body[data-page="landing"] .landing-ranking-lead-media {
  min-height: 420px;
}

body[data-page="landing"] .landing-ranking-lead-bottom {
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.56);
}

body[data-page="landing"] .landing-ranking-lead-body {
  gap: 22px;
  padding: 32px;
}

body[data-page="landing"] .landing-ranking-facts div,
body[data-page="landing"] .landing-showcase-metrics div,
body[data-page="landing"] .landing-demand-stats div {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.06);
}

body[data-page="landing"] .landing-ranking-mini {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 241, 231, 0.97));
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-ranking-mini-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: #171d29;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

body[data-page="landing"] .landing-demand-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-demand-card h3,
body[data-page="landing"] .landing-demand-card p,
body[data-page="landing"] .landing-demand-card-top span,
body[data-page="landing"] .landing-demand-card .landing-inline-link {
  color: #ffffff;
}

body[data-page="landing"] .landing-demand-card p {
  color: rgba(228, 236, 247, 0.72);
}

body[data-page="landing"] .landing-demand-card .landing-demand-stats div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-demand-card .landing-demand-stats span {
  color: rgba(255, 255, 255, 0.56);
}

body[data-page="landing"] .landing-demand-card .landing-demand-stats strong {
  color: #ffffff;
}

body[data-page="landing"] .landing-showcase-card {
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 241, 231, 0.97));
  box-shadow: 0 26px 62px rgba(15, 23, 42, 0.1);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-media::after {
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.1), rgba(8, 10, 14, 0.6));
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-body {
  background:
    linear-gradient(180deg, rgba(14, 19, 30, 0.98), rgba(23, 31, 46, 0.96));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-head span,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-head h3,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-head p,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-actions .landing-inline-link,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-badge-subtle {
  color: #ffffff;
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-head p {
  color: rgba(228, 236, 247, 0.72);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-metrics div {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-metrics span {
  color: rgba(255, 255, 255, 0.56);
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-metrics strong {
  color: #ffffff;
}

body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-badge-subtle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-page="landing"] .landing-city-copy,
body[data-page="landing"] .landing-city-notes {
  gap: 26px;
}

body[data-page="landing"] .landing-pillar-card {
  padding: 26px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 240, 229, 0.97));
  box-shadow: 0 22px 54px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-notebook-card {
  padding: 32px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(143, 224, 210, 0.12), rgba(143, 224, 210, 0) 32%),
    linear-gradient(160deg, rgba(15, 20, 31, 0.98), rgba(22, 31, 46, 0.96));
  border: 1px solid rgba(143, 224, 210, 0.14);
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-notebook-card.is-soft {
  background:
    radial-gradient(circle at top right, rgba(242, 178, 76, 0.18), rgba(242, 178, 76, 0) 34%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.99), rgba(245, 237, 224, 0.97));
  border-color: rgba(242, 178, 76, 0.16);
  box-shadow: 0 28px 66px rgba(15, 23, 42, 0.1);
}

body[data-page="landing"] .landing-notebook-card.is-soft h3,
body[data-page="landing"] .landing-notebook-card.is-soft p,
body[data-page="landing"] .landing-notebook-card.is-soft .panel-kicker,
body[data-page="landing"] .landing-notebook-card.is-soft .landing-note-list strong,
body[data-page="landing"] .landing-notebook-card.is-soft .landing-note-list span {
  color: #171d29;
}

body[data-page="landing"] .landing-final-cta {
  background:
    radial-gradient(circle at top right, rgba(143, 224, 210, 0.14), rgba(143, 224, 210, 0) 32%),
    linear-gradient(155deg, rgba(14, 19, 30, 0.98), rgba(22, 31, 46, 0.96));
  border-color: rgba(143, 224, 210, 0.16);
  box-shadow: 0 40px 90px rgba(15, 23, 42, 0.22);
}

body[data-page="landing"] .landing-final-cta::before {
  background: linear-gradient(90deg, rgba(143, 224, 210, 0), rgba(143, 224, 210, 0.46), rgba(143, 224, 210, 0));
}

body[data-page="landing"] .landing-final-cta-copy h2,
body[data-page="landing"] .landing-final-cta-copy p,
body[data-page="landing"] .landing-final-cta-copy .eyebrow {
  color: #ffffff;
}

body[data-page="landing"] .landing-final-cta-copy p {
  color: rgba(228, 236, 247, 0.72);
}

body[data-page="landing"] .landing-final-cta .btn-shell-ghost,
body[data-page="landing"] .landing-final-cta .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(248, 251, 255, 0.92);
}

body[data-page="landing"] .landing-final-cta .btn-shell-primary {
  background: linear-gradient(135deg, var(--landing-brass-rich), #f28f2e);
  border-color: rgba(255, 219, 155, 0.3);
  box-shadow: 0 20px 42px rgba(242, 178, 76, 0.22);
}

@media (max-width: 1100px) {
  body[data-page="landing"] .hero-home-grid {
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  }

  body[data-page="landing"] .hero-home-copy h1 {
    font-size: clamp(64px, 9vw, 108px);
  }

  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-final-cta {
    padding: 30px;
  }
}

@media (max-width: 900px) {
  body[data-page="landing"] .nav-shell {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 28px;
  }

  body[data-page="landing"] .nav-center,
  body[data-page="landing"] .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body[data-page="landing"] .top-nav {
    width: 100%;
    overflow-x: auto;
  }

  body[data-page="landing"] .hero-canvas,
  body[data-page="landing"] #hero-canvas {
    height: auto;
    min-height: 1100px;
    border-radius: 40px;
  }

  body[data-page="landing"] .hero-home-grid {
    min-height: auto;
    gap: 28px;
  }

  body[data-page="landing"] .hero-home-copy {
    padding: 92px 0 18px;
  }

  body[data-page="landing"] .hero-home-copy h1 {
    max-width: 9ch;
    font-size: clamp(54px, 14vw, 92px);
  }

  body[data-page="landing"] .hero-command-desk.hero-lens-dock,
  body[data-page="landing"] .hero-sentiment-rail {
    padding: 24px;
    border-radius: 30px;
  }

  body[data-page="landing"] .hero-feature-shell {
    justify-content: stretch;
  }

  body[data-page="landing"] .hero-atlas-stack {
    width: 100%;
    transform: none;
  }

  body[data-page="landing"] .hero-opportunity-brief-shell,
  body[data-page="landing"] .hero-thesis-snapshot {
    transform: none;
  }

  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-final-cta {
    padding: 24px;
    border-radius: 30px;
  }
}

@media (max-width: 640px) {
  body[data-page="landing"] .nav-shell {
    padding: 12px;
  }

  body[data-page="landing"] .brand-title {
    font-size: 15px;
  }

  body[data-page="landing"] .top-nav .nav-link {
    min-height: 38px;
    padding: 0 13px;
  }

  body[data-page="landing"] .portal-menu-trigger.btn-shell-primary,
  body[data-page="landing"] .more-menu-trigger {
    min-width: 0;
  }

  body[data-page="landing"] .hero-home::before {
    top: 34px;
    right: 28px;
    width: 220px;
    height: 220px;
  }

  body[data-page="landing"] .hero-canvas,
  body[data-page="landing"] #hero-canvas {
    min-height: 1040px;
    border-radius: 32px;
  }

  body[data-page="landing"] .hero-home-copy {
    padding-top: 84px;
  }

  body[data-page="landing"] .hero-command-desk.hero-lens-dock,
  body[data-page="landing"] .hero-sentiment-rail,
  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-final-cta {
    padding: 20px;
  }

  body[data-page="landing"] .section-heading-inline h2 {
    font-size: clamp(30px, 10vw, 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ui-reveal,
  .ui-tilt-card,
  .auth-scene-orbit span,
  body[data-page="landing"] .hero-home-backdrop,
  body[data-page="landing"] .hero-coordinate-layer,
  body[data-page="landing"] .city-node-layer,
  .btn-shell::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
  }

  .ui-reveal {
    opacity: 1;
  }
}

/* Global Header Premium Rollout */
body[data-page] .site-header {
  top: 10px;
  padding-top: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-page] .site-header::after {
  display: none;
}

body[data-page] .nav-shell {
  position: relative;
  grid-template-columns: auto minmax(360px, 1fr) auto;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(13, 16, 22, 0.96), rgba(29, 34, 43, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 28px 68px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

body[data-page] .nav-shell::before {
  inset: 10px 24% auto;
  height: 40px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(var(--role-accent-rgb), 0.2), rgba(var(--role-accent-rgb), 0.04), rgba(255, 255, 255, 0));
  opacity: 0.82;
  filter: blur(18px);
}

body[data-page] .brand-link {
  gap: 14px;
}

body[data-page] .brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(var(--role-accent-rgb), 0.76));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

body[data-page] .brand-logo {
  width: 34px;
  height: 34px;
}

body[data-page] .brand-copy {
  gap: 4px;
}

body[data-page] .site-header .brand-subtitle {
  display: block;
}

body[data-page] .brand-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  color: rgba(255, 248, 238, 0.96);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

body[data-page] .brand-subtitle {
  color: rgba(var(--role-accent-rgb), 0.74);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

body[data-page] .nav-center {
  min-width: 0;
  padding-inline: 4px;
  overflow: hidden;
}

body[data-page] .top-nav {
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  gap: 4px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 28px rgba(0, 0, 0, 0.16);
}

body[data-page] .top-nav .nav-link::before {
  inset: 1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 54%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

body[data-page] .nav-link {
  position: relative;
  min-height: 40px;
  padding: 0 15px;
  gap: 8px;
  border-radius: 999px;
  color: rgba(244, 239, 229, 0.7);
  font-size: 12px;
  font-weight: 700;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

body[data-page] .nav-link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 12px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 248, 236, 0.98) 0 2px, rgba(255, 248, 236, 0.42) 2px 4px, rgba(255, 248, 236, 0) 7px),
    radial-gradient(circle at 24% 54%, rgba(var(--role-accent-rgb), 0.2) 0 1.5px, rgba(var(--role-accent-rgb), 0) 7px),
    radial-gradient(circle at 76% 54%, rgba(var(--role-accent-rgb), 0.2) 0 1.5px, rgba(var(--role-accent-rgb), 0) 7px),
    linear-gradient(90deg, rgba(var(--role-accent-rgb), 0) 0%, rgba(var(--role-accent-rgb), 0.12) 14%, rgba(var(--role-accent-rgb), 0.88) 50%, rgba(var(--role-accent-rgb), 0.12) 86%, rgba(var(--role-accent-rgb), 0) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
  background-repeat: no-repeat;
  background-size: 14px 14px, 14px 14px, 14px 14px, 76% 2px, 34% 1px;
  background-position: center center, 24% center, 76% center, center calc(100% - 2px), center calc(100% - 4px);
  filter: drop-shadow(0 0 8px rgba(var(--role-accent-rgb), 0.16));
  opacity: 0;
  transform: translateY(4px) scaleX(0.62);
  transform-origin: center;
  transition:
    transform 240ms ease,
    opacity 240ms ease,
    filter 240ms ease;
}

body[data-page] .nav-link-icon {
  color: rgba(244, 239, 229, 0.56);
}

body[data-page] .nav-link:hover {
  transform: translateY(-1px);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(var(--role-accent-rgb), 0.2), rgba(var(--role-accent-rgb), 0.1));
  border-color: rgba(var(--role-accent-rgb), 0.18);
  box-shadow:
    0 10px 22px rgba(var(--role-accent-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

body[data-page] .nav-link.active {
  transform: translateY(-1px);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    linear-gradient(180deg, rgba(var(--role-accent-rgb), 0.28), rgba(var(--role-accent-rgb), 0.14));
  border-color: rgba(var(--role-accent-rgb), 0.28);
  box-shadow:
    0 16px 30px rgba(var(--role-accent-rgb), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -10px 18px rgba(7, 10, 16, 0.12);
}

body[data-page] .nav-link.active .nav-link-icon,
body[data-page] .nav-link:hover .nav-link-icon {
  color: rgba(255, 245, 225, 0.96);
}

body[data-page] .nav-link:hover::after {
  opacity: 0.76;
  transform: translateY(0) scaleX(0.92);
  filter: drop-shadow(0 0 10px rgba(var(--role-accent-rgb), 0.2));
}

body[data-page] .nav-link.active::after {
  opacity: 1;
  transform: translateY(0) scaleX(1);
  filter: drop-shadow(0 0 12px rgba(var(--role-accent-rgb), 0.24));
}

body[data-page] .top-nav .nav-link:hover::before {
  opacity: 0.62;
  transform: scale(0.98);
}

body[data-page] .top-nav .nav-link.active::before {
  opacity: 0.88;
  transform: scale(1);
}

body[data-page] .nav-actions {
  min-width: 0;
  gap: 10px;
  flex-wrap: wrap;
  row-gap: 10px;
  justify-content: flex-end;
}

body[data-page] .nav-actions .btn-shell,
body[data-page] .nav-actions .session-chip {
  min-height: 46px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

body[data-page] .nav-actions .btn-shell-secondary,
body[data-page] .nav-actions .session-chip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(248, 244, 236, 0.9);
  box-shadow:
    0 12px 24px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body[data-page] .nav-actions .btn-shell-secondary .btn-shell-icon,
body[data-page] .nav-actions .session-chip .session-chip-icon {
  color: rgba(248, 244, 236, 0.88);
}

body[data-page] .session-chip-link:hover,
body[data-page] .session-chip-link.active {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(var(--role-accent-rgb), 0.28), rgba(var(--role-accent-rgb), 0.18));
  border-color: rgba(var(--role-accent-rgb), 0.3);
  box-shadow:
    0 18px 34px rgba(var(--role-accent-rgb), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body[data-page] .more-menu-trigger {
  min-width: 132px;
}

body[data-page] .portal-menu-trigger {
  min-width: 176px;
}

body[data-page] .portal-menu-trigger.btn-shell-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  border-color: rgba(var(--role-accent-rgb), 0.34);
  color: #fff;
  box-shadow:
    0 22px 42px rgba(var(--role-accent-rgb), 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

body[data-page] .portal-menu-trigger.btn-shell-primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

body[data-page] .nav-actions .btn-shell:hover,
body[data-page] .nav-actions .session-chip:hover {
  transform: translateY(-2px);
}

body[data-page] .portal-menu-panel {
  top: calc(100% + 12px);
  padding: 14px;
  border-radius: 28px;
  background: rgba(253, 249, 241, 0.96);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

body[data-page] .portal-entry {
  padding: 15px;
  border-radius: 20px;
}

body[data-page] .portal-entry:hover {
  background: rgba(15, 23, 42, 0.04);
}

@media (max-width: 1380px) {
  body[data-page] .site-header .brand-subtitle {
    display: none;
  }

  body[data-page] .nav-shell {
    gap: 14px 16px;
  }

  body[data-page] .top-nav .nav-link {
    gap: 8px;
    padding: 0 16px;
  }

  body[data-page] .nav-actions {
    gap: 8px;
  }
}

@media (max-width: 900px) {
  body[data-page] .nav-shell {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 28px;
  }

  body[data-page] .nav-center,
  body[data-page] .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body[data-page] .top-nav {
    width: 100%;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  body[data-page] .nav-shell {
    padding: 12px;
  }

  body[data-page] .brand-title {
    font-size: 15px;
  }

  body[data-page] .top-nav .nav-link {
    min-height: 38px;
    padding: 0 13px;
  }

  body[data-page] .portal-menu-trigger,
  body[data-page] .more-menu-trigger {
    min-width: 0;
  }
}

body.has-city-brief-open {
  overflow: hidden;
}

.brand-home-link {
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

body[data-page] .brand-mark[data-city-brief-trigger] {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease;
}

body[data-page] .brand-mark[data-city-brief-trigger]:hover {
  transform: translateY(-2px) scale(1.02);
  filter: saturate(1.04);
}

body[data-page] .brand-mark[data-city-brief-trigger]:focus-visible {
  outline: none;
  border-color: rgba(var(--role-accent-rgb), 0.34);
  box-shadow:
    0 0 0 4px rgba(var(--role-accent-rgb), 0.16),
    0 18px 34px rgba(var(--role-accent-rgb), 0.2);
}

.city-brief-shell {
  z-index: 90;
  padding: clamp(16px, 2.8vw, 30px);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 181, 64, 0.08), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(108, 180, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(4, 8, 12, 0.52), rgba(4, 8, 12, 0.82));
  opacity: 0;
  transition: opacity 240ms ease;
}

.city-brief-shell.is-open {
  opacity: 1;
}

.city-brief-modal {
  width: min(1220px, 100%);
  padding: 0;
  max-height: calc(100vh - 28px);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(9, 13, 20, 0.98), rgba(14, 20, 29, 0.97));
  box-shadow: 0 38px 104px rgba(4, 8, 14, 0.44);
  opacity: 0;
  transform: translateY(20px) scale(0.985);
  transition:
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease;
  scrollbar-gutter: stable;
}

.city-brief-modal::before {
  opacity: 0.44;
}

.city-brief-shell.is-open .city-brief-modal {
  opacity: 1;
  transform: none;
}

.city-brief-stage {
  position: relative;
  min-height: min(860px, calc(100vh - 52px));
  padding: clamp(20px, 2.4vw, 34px);
  isolation: isolate;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.78), rgba(8, 12, 18, 0.9));
}

.city-brief-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.city-brief-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.08) brightness(0.48);
}

.city-brief-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 183, 68, 0.2), transparent 22%),
    radial-gradient(circle at 84% 18%, rgba(113, 183, 255, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(6, 9, 14, 0.08), rgba(6, 9, 14, 0.3) 28%, rgba(6, 9, 14, 0.82) 100%);
  z-index: -1;
}

.city-brief-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 160px, 160px 100%;
  opacity: 0.08;
  pointer-events: none;
}

.city-brief-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.city-brief-toolbar-group,
.city-brief-prelude,
.city-brief-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.city-brief-chip,
.city-brief-panel-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.city-brief-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(248, 244, 236, 0.9);
}

.city-brief-chip.is-soft,
.city-brief-panel-pill {
  background: rgba(255, 193, 93, 0.1);
  border: 1px solid rgba(255, 193, 93, 0.18);
  color: rgba(255, 226, 170, 0.92);
}

.city-brief-panel-pill.is-accent {
  background: rgba(134, 205, 255, 0.12);
  border-color: rgba(134, 205, 255, 0.18);
  color: rgba(214, 240, 255, 0.92);
}

.city-brief-close {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(248, 244, 236, 0.92);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.city-brief-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 22px;
  align-items: stretch;
  padding-top: clamp(34px, 5vw, 70px);
}

.city-brief-hero-copy,
.city-brief-spotlight,
.city-brief-panel,
.city-postcard {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 26px 60px rgba(6, 9, 15, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  contain: layout paint;
}

.city-brief-hero-copy {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 3vw, 40px);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 193, 93, 0.15), rgba(255, 193, 93, 0) 30%),
    linear-gradient(160deg, rgba(10, 14, 22, 0.82), rgba(15, 21, 31, 0.72));
}

.city-brief-kicker,
.city-brief-prelude-line {
  color: rgba(246, 228, 187, 0.86);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.city-brief-prelude-line {
  color: rgba(202, 226, 255, 0.8);
}

.city-brief-hero-copy h2 {
  max-width: 10ch;
  margin: 0;
  color: #ffffff;
  font-size: clamp(50px, 5.6vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.city-brief-hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: rgba(237, 242, 248, 0.82);
  font-size: 16px;
  line-height: 1.78;
}

.city-brief-actions {
  margin-top: 2px;
}

.city-brief-actions .btn-shell-primary {
  box-shadow: 0 18px 36px rgba(255, 168, 48, 0.2);
}

.city-brief-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.city-brief-stat-card {
  min-height: 0;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.city-brief-stat-card span,
.city-brief-panel-head .panel-kicker {
  color: rgba(209, 225, 243, 0.64);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.city-brief-stat-card strong,
.city-brief-spotlight-caption h3,
.city-brief-panel h3,
.city-brief-story-card strong,
.city-brief-tip-card strong {
  color: #ffffff;
}

.city-brief-stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.city-brief-stat-card p,
.city-brief-spotlight-caption p,
.city-brief-panel p,
.city-brief-story-card p,
.city-brief-tip-card p {
  color: rgba(227, 236, 247, 0.74);
}

.city-brief-stat-card p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
}

.city-brief-spotlight {
  display: grid;
  padding: 14px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(10, 14, 22, 0.76), rgba(15, 21, 31, 0.64));
}

.city-brief-spotlight-media {
  position: relative;
  min-height: 560px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(8, 12, 18, 0.9);
}

.city-brief-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.04) brightness(0.9);
}

.city-brief-spotlight-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.08), rgba(7, 11, 18, 0.18) 34%, rgba(7, 11, 18, 0.7) 100%),
    radial-gradient(circle at top right, rgba(255, 198, 103, 0.2), rgba(255, 198, 103, 0) 28%);
}

.city-brief-spotlight-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: -104px 14px 14px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(11, 15, 23, 0.92), rgba(15, 20, 30, 0.86));
  box-shadow:
    0 22px 42px rgba(4, 8, 14, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.city-brief-spotlight-caption h3 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(28px, 2.9vw, 42px);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.city-brief-spotlight-caption p {
  margin: 0;
  font-size: 14px;
  line-height: 1.72;
}

.city-brief-spotlight-meta,
.city-postcard-meta,
.city-postcard-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.city-brief-spotlight-meta {
  gap: 10px;
}

.city-brief-spotlight-meta span,
.city-postcard-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(227, 236, 247, 0.78);
  font-size: 11px;
  font-weight: 700;
}

.city-brief-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 22px;
  padding-top: 22px;
}

.city-brief-panel {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(11, 15, 23, 0.78), rgba(16, 22, 32, 0.68));
}

.city-brief-story-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 193, 93, 0.12), rgba(255, 193, 93, 0) 28%),
    linear-gradient(180deg, rgba(11, 15, 23, 0.82), rgba(16, 22, 32, 0.7));
}

.city-brief-tips-panel {
  background:
    radial-gradient(circle at top right, rgba(134, 205, 255, 0.12), rgba(134, 205, 255, 0) 30%),
    linear-gradient(180deg, rgba(12, 17, 26, 0.82), rgba(17, 25, 37, 0.72));
}

.city-brief-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.city-brief-panel h3 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.city-brief-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.city-brief-story-card,
.city-brief-tip-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.city-brief-story-card {
  min-height: 220px;
  padding: 20px;
}

.city-brief-story-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(255, 193, 93, 0.14);
  color: rgba(255, 230, 181, 0.92);
  font-size: 12px;
  font-weight: 800;
}

.city-brief-story-card strong,
.city-brief-tip-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.city-brief-story-card p,
.city-brief-tip-card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.68;
}

.city-brief-tip-list {
  display: grid;
  gap: 14px;
}

.city-brief-tip-card {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
}

.city-brief-tip-card span {
  color: rgba(179, 209, 239, 0.84);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.city-brief-gallery-band {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding-top: 26px;
  content-visibility: auto;
  contain-intrinsic-size: 980px;
}

.city-brief-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 22px;
}

.city-brief-gallery-head > div,
.city-brief-gallery-head > p {
  min-width: 0;
  flex: 1;
}

.city-brief-gallery-head h3 {
  max-width: 12ch;
  color: #ffffff;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin: 0;
}

.city-brief-gallery-head p {
  max-width: 520px;
  color: rgba(227, 236, 247, 0.72);
  font-size: 14px;
  line-height: 1.72;
  margin: 0;
}

.city-brief-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.city-postcard {
  position: relative;
  display: grid;
  grid-column: span 3;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(252, 247, 238, 0.99), rgba(244, 237, 226, 0.96));
  box-shadow:
    0 24px 52px rgba(6, 9, 15, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.city-postcard:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 213, 156, 0.3);
  box-shadow:
    0 32px 70px rgba(6, 9, 15, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.city-postcard.is-featured {
  grid-column: span 6;
  grid-row: span 2;
}

.city-postcard-media {
  position: relative;
  min-height: 250px;
  background: rgba(10, 14, 22, 0.94);
}

.city-postcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.city-postcard.is-featured .city-postcard-media {
  min-height: 410px;
}

.city-postcard-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.08), rgba(7, 11, 18, 0.22) 36%, rgba(7, 11, 18, 0.56) 100%),
    radial-gradient(circle at top right, rgba(255, 198, 103, 0.2), rgba(255, 198, 103, 0) 28%);
}

.city-postcard-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(15, 20, 30, 0), rgba(15, 20, 30, 0.22) 36%, rgba(15, 20, 30, 0.68) 100%);
}

.city-postcard-topline {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.city-postcard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #1a2231;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(8, 12, 18, 0.14);
}

.city-postcard-badge.is-quiet {
  background: rgba(12, 17, 26, 0.5);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(248, 244, 236, 0.96);
}

.city-postcard-body {
  display: grid;
  gap: 14px;
  padding: 20px 20px 18px;
}

.city-postcard-copy {
  display: grid;
  gap: 10px;
}

.city-postcard-copy > span {
  color: rgba(88, 79, 64, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.city-postcard-copy h4 {
  color: #111827;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0;
}

.city-postcard:not(.is-featured) .city-postcard-copy h4 {
  font-size: clamp(21px, 1.7vw, 28px);
}

.city-postcard.is-featured .city-postcard-copy h4 {
  max-width: 11ch;
  font-size: clamp(28px, 2.6vw, 38px);
}

.city-postcard-copy p {
  color: rgba(53, 62, 79, 0.74);
  font-size: 14px;
  line-height: 1.66;
  margin: 0;
}

.city-postcard-meta {
  gap: 10px;
}

.city-postcard-meta span {
  background: rgba(17, 24, 39, 0.06);
  border: 1px solid rgba(17, 24, 39, 0.08);
  color: rgba(17, 24, 39, 0.7);
}

.city-postcard-footer {
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  color: rgba(74, 85, 104, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.city-postcard-footer strong {
  color: #111827;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.city-postcard:hover .city-postcard-media img {
  transform: scale(1.04);
}

.city-postcard.tone-sky {
  background:
    linear-gradient(180deg, rgba(245, 250, 255, 0.99), rgba(231, 239, 249, 0.96));
}

.city-postcard.tone-sand {
  background:
    linear-gradient(180deg, rgba(254, 247, 237, 0.99), rgba(244, 231, 213, 0.97));
}

.city-postcard.tone-forest {
  background:
    linear-gradient(180deg, rgba(19, 31, 26, 0.96), rgba(28, 42, 35, 0.94));
  border-color: rgba(202, 224, 206, 0.12);
}

.city-postcard.tone-forest .city-postcard-copy > span,
.city-postcard.tone-nocturne .city-postcard-copy > span {
  color: rgba(214, 227, 243, 0.62);
}

.city-postcard.tone-forest .city-postcard-copy h4,
.city-postcard.tone-nocturne .city-postcard-copy h4,
.city-postcard.tone-forest .city-postcard-footer strong,
.city-postcard.tone-nocturne .city-postcard-footer strong,
.city-postcard.tone-forest .city-postcard-footer,
.city-postcard.tone-nocturne .city-postcard-footer {
  color: #ffffff;
}

.city-postcard.tone-forest .city-postcard-copy p,
.city-postcard.tone-nocturne .city-postcard-copy p {
  color: rgba(227, 236, 247, 0.74);
}

.city-postcard.tone-forest .city-postcard-meta span,
.city-postcard.tone-nocturne .city-postcard-meta span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(241, 245, 249, 0.82);
}

.city-postcard.tone-forest .city-postcard-footer,
.city-postcard.tone-nocturne .city-postcard-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.city-postcard.tone-nocturne {
  background:
    linear-gradient(180deg, rgba(17, 23, 35, 0.97), rgba(27, 35, 49, 0.95));
  border-color: rgba(192, 212, 240, 0.12);
}

@media (max-width: 1080px) {
  .city-brief-hero,
  .city-brief-content {
    grid-template-columns: 1fr;
  }

  .city-brief-hero-copy h2 {
    max-width: 11ch;
  }

  .city-brief-story-grid {
    grid-template-columns: 1fr;
  }

  .city-brief-gallery-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .city-brief-gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .city-postcard {
    grid-column: span 3;
  }

  .city-postcard.is-featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .city-brief-spotlight-media {
    min-height: 440px;
  }
}

@media (max-width: 720px) {
  .city-brief-shell {
    padding: 14px;
  }

  .city-brief-modal {
    border-radius: 28px;
  }

  .city-brief-stage {
    min-height: auto;
    padding: 18px;
  }

  .city-brief-hero-copy,
  .city-brief-panel {
    padding: 22px;
    border-radius: 26px;
  }

  .city-brief-hero-copy h2 {
    font-size: clamp(40px, 12vw, 56px);
    line-height: 0.92;
  }

  .city-brief-stat-grid,
  .city-brief-story-grid {
    grid-template-columns: 1fr;
  }

  .city-brief-spotlight {
    padding: 12px;
    border-radius: 26px;
  }

  .city-brief-spotlight-media {
    min-height: 320px;
  }

  .city-brief-spotlight-caption {
    margin: -72px 12px 12px;
    padding: 20px;
  }

  .city-brief-panel h3 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .city-brief-toolbar,
  .city-brief-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .city-brief-actions .btn-shell {
    width: 100%;
  }

  .city-brief-gallery-grid {
    grid-template-columns: 1fr;
  }

  .city-postcard,
  .city-postcard.is-featured {
    grid-column: 1 / -1;
  }

  .city-postcard-media,
  .city-postcard.is-featured .city-postcard-media {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .city-brief-shell,
  .city-brief-modal,
  .city-postcard,
  .city-postcard-media img {
    transition: none;
  }
}

/* Voting signal studio */
body[data-page="voting-dashboard"] {
  --voting-ink: #17202b;
  --voting-ink-soft: #5d6976;
  --voting-paper: #fffdf8;
  --voting-paper-strong: #fff8ec;
  --voting-line: rgba(23, 32, 43, 0.08);
  --voting-line-strong: rgba(23, 32, 43, 0.14);
  --voting-amber: #ff9d1a;
  --voting-amber-deep: #ee7f10;
  --voting-mint: #2ca58d;
  --voting-mint-deep: #18786b;
  --voting-shadow: 0 28px 74px rgba(18, 24, 34, 0.12);
}

body[data-page="voting-dashboard"] .page-command-intro {
  padding: 34px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(255, 157, 26, 0.2), rgba(255, 157, 26, 0) 28%),
    radial-gradient(circle at 12% 88%, rgba(44, 165, 141, 0.18), rgba(44, 165, 141, 0) 26%),
    linear-gradient(135deg, rgba(17, 23, 34, 0.96), rgba(29, 39, 55, 0.9));
  box-shadow: 0 36px 96px rgba(12, 18, 28, 0.2);
}

body[data-page="voting-dashboard"] .page-command-intro .eyebrow,
body[data-page="voting-dashboard"] .page-command-intro h1,
body[data-page="voting-dashboard"] .page-command-intro p,
body[data-page="voting-dashboard"] .page-command-intro .page-role-pill {
  color: rgba(248, 250, 252, 0.96);
}

body[data-page="voting-dashboard"] .page-command-intro p {
  max-width: 62ch;
  color: rgba(237, 241, 247, 0.8);
}

body[data-page="voting-dashboard"] .page-command-intro .page-role-pill {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

body[data-page="voting-dashboard"] .page-command-intro .intro-actions .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body[data-page="voting-dashboard"] .page-command-intro .intro-actions .btn-shell-primary {
  box-shadow: 0 20px 44px rgba(255, 157, 26, 0.24);
}

body[data-page="voting-dashboard"] .voting-root-grid {
  gap: 28px;
}

body[data-page="voting-dashboard"] .voting-signal-studio {
  display: grid;
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 0.66fr);
  gap: 28px;
  align-items: start;
}

body[data-page="voting-dashboard"] .voting-signal-rail,
body[data-page="voting-dashboard"] .voting-signal-main {
  display: grid;
  gap: 20px;
}

body[data-page="voting-dashboard"] .voting-signal-rail {
  position: sticky;
  top: 104px;
  align-self: start;
}

body[data-page="voting-dashboard"] .voting-rail-overview,
body[data-page="voting-dashboard"] .voting-location-panel,
body[data-page="voting-dashboard"] .voting-breakdown-panel,
body[data-page="voting-dashboard"] .voting-cast-panel,
body[data-page="voting-dashboard"] .voting-summary-panel,
body[data-page="voting-dashboard"] .voting-admin-panel-shell {
  padding: 26px;
  border-radius: 34px;
}

body[data-page="voting-dashboard"] .voting-rail-overview {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 157, 26, 0.28), rgba(255, 157, 26, 0) 30%),
    radial-gradient(circle at 12% 82%, rgba(44, 165, 141, 0.22), rgba(44, 165, 141, 0) 28%),
    linear-gradient(145deg, rgba(17, 23, 34, 0.98), rgba(30, 40, 56, 0.94));
  box-shadow: 0 32px 84px rgba(12, 18, 28, 0.22);
}

body[data-page="voting-dashboard"] .voting-rail-overview .panel-kicker,
body[data-page="voting-dashboard"] .voting-rail-overview h3,
body[data-page="voting-dashboard"] .voting-rail-overview p {
  color: rgba(247, 249, 252, 0.96);
}

body[data-page="voting-dashboard"] .voting-rail-overview p {
  margin-top: 12px;
  color: rgba(229, 235, 243, 0.76);
  line-height: 1.74;
}

body[data-page="voting-dashboard"] .voting-rail-overview h3 {
  margin-top: 12px;
  font-size: clamp(26px, 3vw, 32px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

body[data-page="voting-dashboard"] .voting-rail-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

body[data-page="voting-dashboard"] .voting-rail-metric-grid article {
  padding: 16px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

body[data-page="voting-dashboard"] .voting-rail-metric-grid span,
body[data-page="voting-dashboard"] .voting-stage-signal-card span,
body[data-page="voting-dashboard"] .voting-stage-signal-meta span,
body[data-page="voting-dashboard"] .voting-summary-highlight span,
body[data-page="voting-dashboard"] .voting-summary-stats span,
body[data-page="voting-dashboard"] .voting-zone-card-footer span,
body[data-page="voting-dashboard"] .voting-panel-badge span,
body[data-page="voting-dashboard"] .voting-location-badge {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page="voting-dashboard"] .voting-rail-metric-grid span,
body[data-page="voting-dashboard"] .voting-stage-signal-card span,
body[data-page="voting-dashboard"] .voting-stage-signal-meta span {
  color: rgba(229, 235, 243, 0.62);
}

body[data-page="voting-dashboard"] .voting-rail-metric-grid strong {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

body[data-page="voting-dashboard"] .voting-location-panel {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 26, 0.12), rgba(255, 157, 26, 0) 28%),
    linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(248, 242, 232, 0.96));
  border-color: rgba(23, 32, 43, 0.08);
  box-shadow: var(--voting-shadow);
}

body[data-page="voting-dashboard"] .voting-location-panel-head,
body[data-page="voting-dashboard"] .voting-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

body[data-page="voting-dashboard"] .voting-location-panel h3,
body[data-page="voting-dashboard"] .voting-breakdown-panel h3,
body[data-page="voting-dashboard"] .voting-cast-panel h3,
body[data-page="voting-dashboard"] .voting-summary-panel h3 {
  margin-top: 10px;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--voting-ink);
}

body[data-page="voting-dashboard"] .voting-location-badge {
  align-self: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(23, 32, 43, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(23, 32, 43, 0.66);
}

body[data-page="voting-dashboard"] .voting-location-panel .vote-location-list {
  gap: 14px;
  margin-top: 18px;
  padding-right: 4px;
  max-height: calc(100vh - 330px);
  overflow: auto;
}

body[data-page="voting-dashboard"] .voting-zone-card {
  appearance: none;
  width: 100%;
  padding: 18px 18px 16px;
  border-radius: 28px;
  border: 1px solid rgba(23, 32, 43, 0.08);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 157, 26, 0.12), rgba(255, 157, 26, 0) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 250, 252, 0.94));
  box-shadow: 0 18px 40px rgba(17, 24, 34, 0.08);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    transform 240ms ease,
    box-shadow 260ms ease,
    border-color 220ms ease,
    background 260ms ease;
}

body[data-page="voting-dashboard"] .voting-zone-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 157, 26, 0.22);
  box-shadow: 0 24px 54px rgba(17, 24, 34, 0.12);
}

body[data-page="voting-dashboard"] .voting-zone-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(255, 157, 26, 0.26);
  background:
    radial-gradient(circle at top right, rgba(255, 157, 26, 0.18), rgba(255, 157, 26, 0) 36%),
    linear-gradient(180deg, rgba(255, 252, 244, 1), rgba(250, 242, 226, 0.98));
  box-shadow:
    0 28px 64px rgba(17, 24, 34, 0.14),
    0 0 0 1px rgba(255, 157, 26, 0.1);
}

body[data-page="voting-dashboard"] .voting-zone-card:focus-visible,
body[data-page="voting-dashboard"] .vote-card:focus-visible {
  outline: 3px solid rgba(255, 157, 26, 0.28);
  outline-offset: 3px;
}

body[data-page="voting-dashboard"] .voting-zone-card-top,
body[data-page="voting-dashboard"] .voting-zone-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="voting-dashboard"] .voting-zone-rank,
body[data-page="voting-dashboard"] .voting-zone-share {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="voting-dashboard"] .voting-zone-rank {
  background: rgba(23, 32, 43, 0.08);
  color: var(--voting-ink);
}

body[data-page="voting-dashboard"] .voting-zone-share {
  background: rgba(255, 157, 26, 0.14);
  color: #8c4f04;
}

body[data-page="voting-dashboard"] .voting-zone-copy {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

body[data-page="voting-dashboard"] .voting-zone-copy .panel-kicker {
  color: rgba(23, 32, 43, 0.48);
}

body[data-page="voting-dashboard"] .voting-zone-copy h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--voting-ink);
}

body[data-page="voting-dashboard"] .voting-zone-copy p {
  color: rgba(23, 32, 43, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

body[data-page="voting-dashboard"] .voting-zone-card-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(23, 32, 43, 0.08);
}

body[data-page="voting-dashboard"] .voting-zone-card-footer span {
  color: rgba(23, 32, 43, 0.52);
}

body[data-page="voting-dashboard"] .voting-zone-card-footer strong {
  color: var(--voting-ink);
  font-size: 14px;
  font-weight: 800;
}

body[data-page="voting-dashboard"] .voting-stage-shell {
  padding: 32px;
  border-radius: 40px;
  box-shadow: 0 42px 108px rgba(10, 16, 24, 0.22);
}

body[data-page="voting-dashboard"] .voting-stage-shell::before {
  background:
    linear-gradient(135deg, rgba(13, 18, 28, 0.98), rgba(22, 32, 45, 0.86)),
    var(--voting-stage-image) center/cover no-repeat;
}

body[data-page="voting-dashboard"] .voting-stage-shell::after {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 26, 0.22), rgba(255, 157, 26, 0) 30%),
    radial-gradient(circle at 88% 82%, rgba(44, 165, 141, 0.16), rgba(44, 165, 141, 0) 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
}

body[data-page="voting-dashboard"] .voting-stage-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body[data-page="voting-dashboard"] .voting-stage-topline-copy {
  display: grid;
  gap: 8px;
}

body[data-page="voting-dashboard"] .voting-stage-path {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(238, 242, 248, 0.88);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="voting-dashboard"] .voting-stage-live {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 157, 26, 0.24), rgba(44, 165, 141, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="voting-dashboard"] .voting-stage-board {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(250px, 0.88fr);
  gap: 24px;
  margin-top: 22px;
}

body[data-page="voting-dashboard"] .voting-stage-copy h2 {
  margin-top: 0;
  font-size: clamp(42px, 5vw, 60px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

body[data-page="voting-dashboard"] .voting-stage-copy p {
  max-width: 58ch;
  margin-top: 14px;
  color: rgba(231, 236, 244, 0.8);
  font-size: 16px;
  line-height: 1.8;
}

body[data-page="voting-dashboard"] .voting-stage-proof-row {
  margin-top: 18px;
  flex-wrap: wrap;
}

body[data-page="voting-dashboard"] .voting-stage-proof-row .score-pill,
body[data-page="voting-dashboard"] .voting-stage-proof-row .status-pill,
body[data-page="voting-dashboard"] .voting-stage-proof-row .service-chip {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

body[data-page="voting-dashboard"] .voting-stage-chip-row {
  margin-top: 16px;
}

body[data-page="voting-dashboard"] .voting-stage-chip-row .service-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(244, 247, 251, 0.94);
}

body[data-page="voting-dashboard"] .voting-stage-signal-card {
  align-self: start;
  padding: 20px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 157, 26, 0.14), rgba(255, 157, 26, 0) 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

body[data-page="voting-dashboard"] .voting-stage-signal-card strong {
  display: block;
  margin-top: 12px;
  color: #ffffff;
  font-size: clamp(66px, 8vw, 98px);
  line-height: 0.9;
  letter-spacing: -0.09em;
}

body[data-page="voting-dashboard"] .voting-stage-signal-card p {
  margin-top: 12px;
  color: rgba(231, 236, 244, 0.74);
  font-size: 14px;
  line-height: 1.72;
}

body[data-page="voting-dashboard"] .voting-stage-signal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

body[data-page="voting-dashboard"] .voting-stage-signal-meta article {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="voting-dashboard"] .voting-stage-signal-meta strong {
  margin-top: 8px;
  font-size: 20px;
  letter-spacing: -0.04em;
}

body[data-page="voting-dashboard"] .voting-stage-metrics-rich {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

body[data-page="voting-dashboard"] .voting-stage-metrics-rich article {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

body[data-page="voting-dashboard"] .voting-stage-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  margin-top: 22px;
}

body[data-page="voting-dashboard"] .voting-stage-facts {
  gap: 10px;
}

body[data-page="voting-dashboard"] .voting-stage-facts .mini-row {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-page="voting-dashboard"] .voting-stage-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

body[data-page="voting-dashboard"] .voting-stage-actions .btn-shell-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body[data-page="voting-dashboard"] .voting-insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body[data-page="voting-dashboard"] .voting-breakdown-panel,
body[data-page="voting-dashboard"] .voting-cast-panel,
body[data-page="voting-dashboard"] .voting-summary-panel,
body[data-page="voting-dashboard"] .voting-admin-panel-shell {
  background:
    radial-gradient(circle at top right, rgba(255, 157, 26, 0.12), rgba(255, 157, 26, 0) 28%),
    radial-gradient(circle at 0% 100%, rgba(44, 165, 141, 0.08), rgba(44, 165, 141, 0) 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.96));
  border-color: rgba(23, 32, 43, 0.08);
  box-shadow: var(--voting-shadow);
}

body[data-page="voting-dashboard"] .voting-breakdown-panel p,
body[data-page="voting-dashboard"] .voting-cast-panel p,
body[data-page="voting-dashboard"] .voting-summary-panel p {
  margin-top: 10px;
  color: rgba(23, 32, 43, 0.68);
}

body[data-page="voting-dashboard"] .voting-panel-badge {
  min-width: 132px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(23, 32, 43, 0.04);
  border: 1px solid rgba(23, 32, 43, 0.08);
}

body[data-page="voting-dashboard"] .voting-panel-badge span {
  color: rgba(23, 32, 43, 0.52);
}

body[data-page="voting-dashboard"] .voting-panel-badge strong {
  display: block;
  margin-top: 8px;
  color: var(--voting-ink);
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

body[data-page="voting-dashboard"] .voting-breakdown-bars .bar-row,
body[data-page="voting-dashboard"] .voting-summary-bars .bar-row {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 32, 43, 0.06);
}

body[data-page="voting-dashboard"] .voting-breakdown-bars .bar-track,
body[data-page="voting-dashboard"] .voting-summary-bars .bar-track {
  height: 10px;
  background: rgba(23, 32, 43, 0.08);
}

body[data-page="voting-dashboard"] .voting-breakdown-bars .bar-fill,
body[data-page="voting-dashboard"] .voting-summary-bars .bar-fill {
  background: linear-gradient(135deg, var(--voting-amber), var(--voting-mint));
}

body[data-page="voting-dashboard"] .voting-mode-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}

body[data-page="voting-dashboard"] .voting-mode-pill.is-live {
  background: rgba(44, 165, 141, 0.14);
  border-color: rgba(44, 165, 141, 0.2);
  color: var(--voting-mint-deep);
}

body[data-page="voting-dashboard"] .voting-mode-pill.is-preview {
  background: rgba(255, 157, 26, 0.14);
  border-color: rgba(255, 157, 26, 0.2);
  color: #8c4f04;
}

body[data-page="voting-dashboard"] .voting-mode-pill.is-locked {
  background: rgba(23, 32, 43, 0.08);
  border-color: rgba(23, 32, 43, 0.1);
  color: rgba(23, 32, 43, 0.72);
}

body[data-page="voting-dashboard"] .voting-cast-chip-row {
  margin-top: 16px;
}

body[data-page="voting-dashboard"] .voting-preview-note,
body[data-page="voting-dashboard"] .voting-locked-state {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(23, 32, 43, 0.04);
  border: 1px solid rgba(23, 32, 43, 0.08);
}

body[data-page="voting-dashboard"] .voting-preview-note strong,
body[data-page="voting-dashboard"] .voting-locked-state strong {
  color: var(--voting-ink);
  font-size: 16px;
  letter-spacing: -0.03em;
}

body[data-page="voting-dashboard"] .voting-preview-note p,
body[data-page="voting-dashboard"] .voting-locked-state p {
  margin: 0;
}

body[data-page="voting-dashboard"] .voting-locked-state .btn-shell {
  width: fit-content;
}

body[data-page="voting-dashboard"] .vote-card-grid {
  gap: 18px;
  margin-top: 16px;
}

body[data-page="voting-dashboard"] .vote-card {
  border-radius: 28px;
  border-color: rgba(23, 32, 43, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 157, 26, 0.12), rgba(255, 157, 26, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  box-shadow: 0 20px 46px rgba(18, 24, 34, 0.1);
}

body[data-page="voting-dashboard"] .vote-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 157, 26, 0.2);
  box-shadow: 0 28px 56px rgba(18, 24, 34, 0.14);
}

body[data-page="voting-dashboard"] .vote-card.is-selected {
  border-color: rgba(255, 157, 26, 0.26);
  box-shadow:
    0 30px 60px rgba(255, 157, 26, 0.18),
    0 0 0 1px rgba(255, 157, 26, 0.08);
}

body[data-page="voting-dashboard"] .vote-card-media {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 48%),
    linear-gradient(145deg, rgba(255, 157, 26, 0.16), rgba(44, 165, 141, 0.14));
}

body[data-page="voting-dashboard"] .vote-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

body[data-page="voting-dashboard"] .vote-card-title-row strong {
  font-size: 19px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

body[data-page="voting-dashboard"] .vote-card-count {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(23, 32, 43, 0.06);
  color: rgba(23, 32, 43, 0.74);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="voting-dashboard"] .vote-card-body p {
  margin: 0;
  color: rgba(23, 32, 43, 0.7);
  line-height: 1.64;
}

body[data-page="voting-dashboard"] .voting-summary-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: 20px;
  margin-top: 18px;
}

body[data-page="voting-dashboard"] .voting-summary-highlight {
  min-width: 190px;
  padding: 16px 18px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 157, 26, 0.18), rgba(44, 165, 141, 0.12)),
    rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 32, 43, 0.08);
}

body[data-page="voting-dashboard"] .voting-summary-highlight span,
body[data-page="voting-dashboard"] .voting-summary-stats span {
  color: rgba(23, 32, 43, 0.52);
}

body[data-page="voting-dashboard"] .voting-summary-highlight strong {
  display: block;
  margin-top: 10px;
  color: var(--voting-ink);
  font-size: 24px;
  line-height: 1.06;
  letter-spacing: -0.05em;
}

body[data-page="voting-dashboard"] .voting-summary-highlight em {
  display: block;
  margin-top: 8px;
  color: rgba(23, 32, 43, 0.68);
  font-style: normal;
  font-size: 13px;
}

body[data-page="voting-dashboard"] .voting-summary-stats {
  display: grid;
  gap: 12px;
}

body[data-page="voting-dashboard"] .voting-summary-stats article {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(23, 32, 43, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

body[data-page="voting-dashboard"] .voting-summary-stats strong {
  display: block;
  margin-top: 10px;
  color: var(--voting-ink);
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.05em;
}

body[data-page="voting-dashboard"] .voting-admin-panel-shell {
  margin-top: 4px;
}

@media (max-width: 1240px) {
  body[data-page="voting-dashboard"] .voting-signal-studio,
  body[data-page="voting-dashboard"] .voting-insight-grid,
  body[data-page="voting-dashboard"] .voting-summary-grid,
  body[data-page="voting-dashboard"] .voting-stage-board {
    grid-template-columns: 1fr;
  }

  body[data-page="voting-dashboard"] .voting-signal-rail {
    position: static;
  }

  body[data-page="voting-dashboard"] .voting-location-panel .vote-location-list {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 860px) {
  body[data-page="voting-dashboard"] .page-command-intro,
  body[data-page="voting-dashboard"] .voting-rail-overview,
  body[data-page="voting-dashboard"] .voting-location-panel,
  body[data-page="voting-dashboard"] .voting-breakdown-panel,
  body[data-page="voting-dashboard"] .voting-cast-panel,
  body[data-page="voting-dashboard"] .voting-summary-panel,
  body[data-page="voting-dashboard"] .voting-admin-panel-shell,
  body[data-page="voting-dashboard"] .voting-stage-shell {
    padding: 22px;
    border-radius: 30px;
  }

  body[data-page="voting-dashboard"] .voting-rail-metric-grid,
  body[data-page="voting-dashboard"] .voting-stage-metrics-rich {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="voting-dashboard"] .voting-stage-bottom,
  body[data-page="voting-dashboard"] .voting-panel-head,
  body[data-page="voting-dashboard"] .voting-location-panel-head {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  body[data-page="voting-dashboard"] .voting-stage-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body[data-page="voting-dashboard"] .page-command-intro {
    padding: 20px;
  }

  body[data-page="voting-dashboard"] .voting-stage-copy h2,
  body[data-page="voting-dashboard"] .voting-location-panel h3,
  body[data-page="voting-dashboard"] .voting-breakdown-panel h3,
  body[data-page="voting-dashboard"] .voting-cast-panel h3,
  body[data-page="voting-dashboard"] .voting-summary-panel h3 {
    font-size: 30px;
  }

  body[data-page="voting-dashboard"] .voting-rail-metric-grid,
  body[data-page="voting-dashboard"] .voting-stage-metrics-rich,
  body[data-page="voting-dashboard"] .voting-stage-signal-meta {
    grid-template-columns: 1fr;
  }

  body[data-page="voting-dashboard"] .voting-stage-topline,
  body[data-page="voting-dashboard"] .voting-stage-actions {
    align-items: stretch;
  }

  body[data-page="voting-dashboard"] .voting-stage-live,
  body[data-page="voting-dashboard"] .voting-location-badge,
  body[data-page="voting-dashboard"] .voting-mode-pill {
    width: fit-content;
  }
}

@media (min-width: 1181px) {
  body[data-page="landing"] .hero-feature-shell {
    align-items: flex-start;
    padding-top: 24px;
  }

  body[data-page="landing"] .hero-atlas-stack {
    min-height: 640px;
    gap: 24px;
    align-content: space-between;
    backdrop-filter: none;
  }
}

/* Landing readability overrides */
body[data-page="landing"] .hero-home-copy {
  position: relative;
  isolation: isolate;
}

body[data-page="landing"] .hero-home-copy::before {
  content: "";
  position: absolute;
  top: 72px;
  right: clamp(120px, 17%, 220px);
  bottom: clamp(300px, 34%, 380px);
  left: -36px;
  border-radius: 52px;
  background:
    radial-gradient(circle at 16% 18%, rgba(10, 14, 22, 0.34), rgba(10, 14, 22, 0) 42%),
    linear-gradient(90deg, rgba(10, 14, 22, 0.82) 0%, rgba(10, 14, 22, 0.58) 44%, rgba(10, 14, 22, 0.08) 100%);
  box-shadow: 0 30px 84px rgba(10, 14, 22, 0.2);
  filter: blur(2px);
  opacity: 0.82;
  pointer-events: none;
  z-index: -1;
}

body[data-page="landing"] .hero-home-copy .eyebrow,
body[data-page="landing"] .hero-location-seal,
body[data-page="landing"] .hero-node-badge,
body[data-page="landing"] .hero-home-copy > p {
  text-shadow: 0 2px 18px rgba(7, 10, 17, 0.42);
}

body[data-page="landing"] .hero-home-copy .eyebrow {
  color: rgba(255, 249, 241, 0.9);
}

body[data-page="landing"] .hero-home-copy > p {
  color: rgba(255, 251, 244, 0.92);
}

body[data-page="landing"] .hero-sentiment-label {
  color: rgba(24, 30, 44, 0.66);
}

body[data-page="landing"] .hero-sentiment-track {
  color: rgba(18, 24, 35, 0.88);
}

body[data-page="landing"] .hero-sentiment-rail .market-ticker-item {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.1);
  color: #1b2430;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-page="landing"] .hero-command-copy span {
  color: rgba(24, 30, 44, 0.62);
}

body[data-page="landing"] .hero-thesis-snapshot .hero-slab-topline span,
body[data-page="landing"] .hero-thesis-snapshot .hero-node-dock-head {
  color: rgba(24, 31, 45, 0.74);
}

body[data-page="landing"] .hero-thesis-snapshot .hero-slab-topline strong {
  color: rgba(24, 31, 45, 0.84);
}

body[data-page="landing"] .hero-thesis-snapshot .hero-thesis-score-wrap p,
body[data-page="landing"] .hero-thesis-snapshot .hero-node-panel-copy p {
  color: rgba(24, 31, 45, 0.82);
}

body[data-page="landing"] .hero-thesis-snapshot .hero-slab-chip,
body[data-page="landing"] .hero-thesis-snapshot .living-city-node-pill {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

body[data-page="landing"] .hero-thesis-snapshot .hero-slab-chip {
  color: rgba(23, 29, 41, 0.86);
}

body[data-page="landing"] .hero-thesis-snapshot .hero-slab-chip-quiet {
  color: rgba(23, 29, 41, 0.76);
}

body[data-page="landing"] .hero-thesis-snapshot .living-city-node-pill {
  color: rgba(23, 29, 41, 0.9);
}

@media (max-width: 1100px) {
  body[data-page="landing"] .hero-home-copy::before {
    inset: 58px -16px 18px -16px;
    border-radius: 36px;
  }
}

@media (max-width: 720px) {
  body[data-page="landing"] .hero-home-copy::before {
    inset: 62px -10px 14px -10px;
    opacity: 0.82;
  }
}

/* Landing art direction refinements */
body[data-page="landing"] {
  --landing-premium-shadow: 0 32px 86px rgba(15, 23, 42, 0.12);
  --landing-premium-shadow-deep: 0 42px 104px rgba(15, 23, 42, 0.18);
  --landing-premium-line: rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-editorial-shell {
  gap: 34px;
}

body[data-page="landing"] .hero-home::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -56px;
  height: 180px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(242, 178, 76, 0.18), rgba(242, 178, 76, 0) 64%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

body[data-page="landing"] .hero-home-grid {
  gap: clamp(40px, 4vw, 68px);
  align-items: end;
}

body[data-page="landing"] .hero-home-copy {
  align-self: end;
  padding: 118px 0 56px;
}

body[data-page="landing"] .hero-home-copy h1 {
  max-width: 6.8ch;
  font-size: clamp(68px, 7.8vw, 118px);
  line-height: 0.83;
  text-shadow:
    0 20px 42px rgba(0, 0, 0, 0.18),
    0 3px 16px rgba(0, 0, 0, 0.16);
}

body[data-page="landing"] .hero-home-copy > p {
  max-width: 35rem;
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.78;
}

body[data-page="landing"] .hero-sentiment-rail {
  width: min(100%, 560px);
  padding: 18px 20px 16px;
  border-radius: 30px;
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

body[data-page="landing"] .hero-command-desk.hero-lens-dock {
  width: min(100%, 700px);
  padding: 30px;
  border-radius: 40px;
  box-shadow:
    0 42px 96px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

body[data-page="landing"] .hero-command-support {
  gap: 18px;
}

body[data-page="landing"] .hero-feature-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: 30px;
}

body[data-page="landing"] .hero-atlas-stack {
  width: min(100%, 492px);
  margin-left: auto;
  gap: 20px;
  transform:
    perspective(1400px)
    rotateX(var(--landing-card-tilt-x))
    rotateY(var(--landing-card-tilt-y))
    translate3d(var(--landing-card-shift-x), var(--landing-card-shift-y), 0)
    translateY(14px);
}

body[data-page="landing"] .hero-opportunity-brief-shell {
  transform: translateX(-18px);
  box-shadow: 0 36px 88px rgba(7, 12, 22, 0.24);
}

body[data-page="landing"] .hero-thesis-snapshot {
  transform: translateX(22px) translateY(-18px);
  box-shadow: 0 36px 88px rgba(15, 23, 42, 0.16);
}

body[data-page="landing"] .hero-opportunity-loading {
  color: rgba(236, 243, 250, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

body[data-page="landing"] .hero-brief-card {
  gap: 18px;
}

body[data-page="landing"] .hero-brief-insight,
body[data-page="landing"] .hero-brief-meta span {
  backdrop-filter: blur(12px);
}

body[data-page="landing"] .landing-overview-grid,
body[data-page="landing"] .landing-curation-grid,
body[data-page="landing"] .landing-city-editorial {
  gap: 28px;
}

body[data-page="landing"] .landing-side-stack,
body[data-page="landing"] .landing-city-notes {
  gap: 28px;
}

body[data-page="landing"] .landing-panel,
body[data-page="landing"] .landing-final-cta {
  padding: 40px;
  border-radius: 42px;
  box-shadow: var(--landing-premium-shadow);
}

body[data-page="landing"] .landing-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 22px;
}

body[data-page="landing"] .landing-panel-head > .btn-shell {
  min-height: 46px;
  padding-inline: 18px;
  border-radius: 999px;
}

body[data-page="landing"] .section-heading-inline h2 {
  max-width: 10.8ch;
  line-height: 0.9;
}

body[data-page="landing"] .section-heading-inline p {
  max-width: 60ch;
  line-height: 1.72;
}

body[data-page="landing"] .landing-ranking-preview,
body[data-page="landing"] .landing-demand-preview,
body[data-page="landing"] .landing-showcase-preview {
  gap: 20px;
}

body[data-page="landing"] .landing-ranking-lead {
  grid-template-columns: minmax(320px, 1.04fr) minmax(320px, 0.96fr);
  border-radius: 38px;
  box-shadow: var(--landing-premium-shadow);
}

body[data-page="landing"] .landing-ranking-lead-media {
  min-height: 450px;
}

body[data-page="landing"] .landing-ranking-lead-body,
body[data-page="landing"] .landing-showcase-body {
  padding: 34px;
}

body[data-page="landing"] .landing-ranking-head h3,
body[data-page="landing"] .landing-showcase-head h3,
body[data-page="landing"] .landing-demand-card h3 {
  line-height: 0.96;
  letter-spacing: -0.05em;
}

body[data-page="landing"] .landing-ranking-facts,
body[data-page="landing"] .landing-showcase-metrics,
body[data-page="landing"] .landing-demand-stats {
  gap: 14px;
}

body[data-page="landing"] .landing-ranking-facts div,
body[data-page="landing"] .landing-showcase-metrics div,
body[data-page="landing"] .landing-demand-stats div {
  border-radius: 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

body[data-page="landing"] .landing-ranking-mini,
body[data-page="landing"] .landing-demand-card,
body[data-page="landing"] .landing-showcase-card,
body[data-page="landing"] .landing-role-link,
body[data-page="landing"] .landing-pillar-card {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 240ms ease,
    background 240ms ease;
}

body[data-page="landing"] .landing-ranking-mini:hover,
body[data-page="landing"] .landing-demand-card:hover,
body[data-page="landing"] .landing-showcase-card:hover,
body[data-page="landing"] .landing-role-link:hover,
body[data-page="landing"] .landing-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--landing-premium-shadow-deep);
}

body[data-page="landing"] .landing-ranking-mini,
body[data-page="landing"] .landing-showcase-card {
  border-radius: 30px;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
}

body[data-page="landing"] .landing-demand-panel {
  box-shadow: 0 38px 92px rgba(15, 23, 42, 0.2);
}

body[data-page="landing"] .landing-demand-card {
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

body[data-page="landing"] .landing-demand-card.is-lead {
  background:
    radial-gradient(circle at top right, rgba(143, 224, 210, 0.18), rgba(143, 224, 210, 0) 30%),
    linear-gradient(160deg, rgba(17, 26, 40, 0.98), rgba(24, 34, 52, 0.96));
  border-color: rgba(143, 224, 210, 0.18);
}

body[data-page="landing"] .landing-role-link {
  min-height: 136px;
  align-content: start;
  border-radius: 28px;
}

body[data-page="landing"] .landing-showcase-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body[data-page="landing"] .landing-showcase-card {
  border-radius: 32px;
}

body[data-page="landing"] .landing-showcase-media {
  aspect-ratio: 1 / 1;
}

body[data-page="landing"] .landing-city-editorial {
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
}

body[data-page="landing"] .landing-city-copy,
body[data-page="landing"] .landing-city-notes {
  gap: 30px;
}

body[data-page="landing"] .landing-city-pillars {
  gap: 18px;
}

body[data-page="landing"] .landing-pillar-card {
  min-height: 170px;
  border-radius: 32px;
}

body[data-page="landing"] .landing-notebook-card {
  padding: 34px;
  border-radius: 36px;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-note-list {
  gap: 6px;
}

body[data-page="landing"] .landing-final-cta {
  box-shadow: 0 42px 96px rgba(15, 23, 42, 0.22);
}

body[data-page="landing"] .landing-inline-link {
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.01em;
}

body[data-page="landing"] .landing-inline-link::after {
  content: "\2192";
  font-size: 15px;
}

@media (max-width: 1180px) {
  body[data-page="landing"] .hero-home-grid {
    align-items: start;
  }

  body[data-page="landing"] .hero-feature-shell {
    padding-top: 0;
  }

  body[data-page="landing"] .hero-atlas-stack {
    width: min(680px, 100%);
    margin-left: 0;
    transform: none;
  }

  body[data-page="landing"] .hero-opportunity-brief-shell,
  body[data-page="landing"] .hero-thesis-snapshot {
    transform: none;
  }
}

@media (max-width: 920px) {
  body[data-page="landing"] .hero-home-copy {
    padding: 104px 0 10px;
  }

  body[data-page="landing"] .hero-home-copy h1 {
    max-width: 8.2ch;
    font-size: clamp(52px, 12vw, 86px);
  }

  body[data-page="landing"] .hero-command-desk.hero-lens-dock,
  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-final-cta {
    padding: 30px;
  }

  body[data-page="landing"] .landing-ranking-lead-body,
  body[data-page="landing"] .landing-showcase-body,
  body[data-page="landing"] .landing-notebook-card {
    padding: 28px;
  }
}

@media (max-width: 680px) {
  body[data-page="landing"] .hero-home-copy h1 {
    font-size: clamp(44px, 14vw, 58px);
  }

  body[data-page="landing"] .hero-home-copy > p {
    font-size: 16px;
    line-height: 1.72;
  }

  body[data-page="landing"] .hero-sentiment-rail,
  body[data-page="landing"] .hero-command-desk.hero-lens-dock,
  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-final-cta,
  body[data-page="landing"] .landing-notebook-card {
    padding: 24px;
    border-radius: 30px;
  }

  body[data-page="landing"] .section-heading-inline h2 {
    max-width: none;
    font-size: clamp(30px, 9vw, 40px);
  }

  body[data-page="landing"] .landing-ranking-lead-media {
    min-height: 320px;
  }

  body[data-page="landing"] .landing-pillar-card,
  body[data-page="landing"] .landing-role-link,
  body[data-page="landing"] .landing-ranking-mini,
  body[data-page="landing"] .landing-demand-card {
    min-height: auto;
  }
}

/* Landing signature revision */
body[data-page="landing"] .nav-shell {
  padding: 16px 22px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(28, 32, 40, 0.96), rgba(35, 39, 48, 0.94));
  border-color: rgba(255, 240, 214, 0.12);
  box-shadow:
    0 24px 64px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

body[data-page="landing"] .top-nav {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 26px rgba(0, 0, 0, 0.12);
}

body[data-page="landing"] .page-shell.landing-shell {
  padding-bottom: 112px;
}

body[data-page="landing"] .hero-home {
  margin-bottom: 10px;
}

body[data-page="landing"] .hero-canvas,
body[data-page="landing"] #hero-canvas {
  height: 860px;
  border-radius: 56px;
  box-shadow:
    0 68px 140px rgba(10, 13, 18, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

body[data-page="landing"] .hero-home-backdrop {
  filter: brightness(0.28) saturate(0.92) contrast(1.1);
}

body[data-page="landing"] .hero-home-grid {
  min-height: 860px;
  gap: clamp(42px, 4vw, 72px);
  align-items: end;
}

body[data-page="landing"] .hero-home-copy {
  max-width: 800px;
  padding: 120px 0 48px;
}

body[data-page="landing"] .hero-prelude {
  max-width: 660px;
}

body[data-page="landing"] .hero-location-seal,
body[data-page="landing"] .hero-node-badge {
  min-height: 42px;
  padding: 0 18px;
  letter-spacing: 0.16em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body[data-page="landing"] .hero-home-copy h1 {
  max-width: 5.9ch;
  font-size: clamp(74px, 7.6vw, 126px);
  line-height: 0.81;
  letter-spacing: -0.09em;
}

body[data-page="landing"] .hero-home-copy > p {
  max-width: 34rem;
  font-size: 19px;
  line-height: 1.8;
}

body[data-page="landing"] .hero-sentiment-rail {
  width: min(100%, 520px);
  gap: 14px;
  padding: 18px 20px 16px;
  background:
    linear-gradient(180deg, rgba(252, 249, 242, 0.94), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(242, 178, 76, 0.16);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

body[data-page="landing"] .hero-command-desk.hero-lens-dock {
  position: relative;
  width: min(100%, 720px);
  padding: 32px;
  border-radius: 42px;
  box-shadow:
    0 46px 104px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

body[data-page="landing"] .hero-command-desk.hero-lens-dock::after {
  content: "";
  position: absolute;
  inset: auto 28px 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(242, 178, 76, 0), rgba(242, 178, 76, 0.42), rgba(242, 178, 76, 0));
}

body[data-page="landing"] .hero-command-copy strong {
  max-width: 12ch;
  font-size: clamp(30px, 2.9vw, 42px);
  line-height: 0.98;
}

body[data-page="landing"] .hero-command-desk .hero-focus-chip {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
}

body[data-page="landing"] .hero-analyst-note {
  min-height: 234px;
  padding: 24px 24px 26px;
  border-radius: 30px;
}

body[data-page="landing"] .hero-proof-rail {
  gap: 14px;
}

body[data-page="landing"] .hero-proof-card {
  min-height: 114px;
  padding: 18px;
  border-radius: 24px;
}

body[data-page="landing"] .hero-proof-card strong {
  font-size: clamp(34px, 4vw, 42px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

body[data-page="landing"] .hero-command-actions {
  gap: 14px;
}

body[data-page="landing"] .hero-command-actions .btn-shell-hero {
  min-height: 54px;
  padding-inline: 20px;
  border-radius: 18px;
}

body[data-page="landing"] .hero-feature-shell {
  align-self: start;
  position: relative;
  justify-content: flex-end;
  padding-top: 30px;
}

body[data-page="landing"] .hero-feature-shell::before {
  content: "";
  position: absolute;
  top: 88px;
  right: 28px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(242, 178, 76, 0.22), rgba(242, 178, 76, 0) 70%);
  filter: blur(14px);
  pointer-events: none;
}

body[data-page="landing"] .hero-atlas-stack {
  width: min(100%, 500px);
  gap: 22px;
  transform:
    perspective(1400px)
    rotateX(var(--landing-card-tilt-x))
    rotateY(var(--landing-card-tilt-y))
    translate3d(var(--landing-card-shift-x), var(--landing-card-shift-y), 0)
    translateY(6px);
}

body[data-page="landing"] .hero-opportunity-brief-shell {
  transform: translateX(-10px) translateY(0);
  border-radius: 38px;
}

body[data-page="landing"] .hero-thesis-snapshot {
  transform: translateX(34px) translateY(-10px);
  border-radius: 38px;
}

body[data-page="landing"] .hero-slab-score {
  font-size: clamp(68px, 7vw, 98px);
}

@media (min-width: 1181px) {
  body[data-page="landing"] .landing-overview-grid {
    position: relative;
    z-index: 4;
    margin-top: -72px;
    padding-top: 0;
  }
}

body[data-page="landing"] .landing-overview-grid,
body[data-page="landing"] .landing-curation-grid,
body[data-page="landing"] .landing-city-editorial {
  gap: 30px;
}

body[data-page="landing"] .landing-panel,
body[data-page="landing"] .landing-final-cta {
  padding: 42px;
  border-radius: 44px;
  box-shadow: 0 34px 88px rgba(15, 23, 42, 0.12);
}

body[data-page="landing"] .landing-panel-head {
  margin-bottom: 28px;
}

body[data-page="landing"] .section-heading-inline h2 {
  max-width: 10.2ch;
  font-size: clamp(36px, 3.9vw, 58px);
  line-height: 0.88;
}

body[data-page="landing"] .section-heading-inline p {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.76;
}

body[data-page="landing"] .landing-ranking-panel {
  isolation: isolate;
  background:
    radial-gradient(circle at top right, rgba(242, 178, 76, 0.2), rgba(242, 178, 76, 0) 34%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.99), rgba(244, 236, 223, 0.97));
}

body[data-page="landing"] .landing-ranking-preview {
  gap: 24px;
}

body[data-page="landing"] .landing-ranking-lead {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: stretch;
  border-radius: 40px;
  overflow: hidden;
}

body[data-page="landing"] .landing-ranking-lead-media {
  min-width: 0;
  min-height: 500px;
}

body[data-page="landing"] .landing-ranking-lead-top {
  top: 22px;
  left: 22px;
  right: 22px;
}

body[data-page="landing"] .landing-ranking-lead-bottom {
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border-radius: 26px;
}

body[data-page="landing"] .landing-ranking-lead-body {
  position: relative;
  isolation: isolate;
  min-width: 0;
  align-content: start;
  gap: 24px;
  padding: 36px 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 208, 129, 0.14), rgba(255, 208, 129, 0) 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(249, 243, 233, 0.985));
}

body[data-page="landing"] .landing-ranking-head h3 {
  max-width: 10ch;
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 0.92;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

body[data-page="landing"] .landing-ranking-head p {
  max-width: 34ch;
}

body[data-page="landing"] .landing-ranking-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-ranking-facts div {
  min-width: 0;
  min-height: 92px;
  align-content: start;
}

body[data-page="landing"] .landing-ranking-actions {
  min-width: 0;
  align-items: stretch;
}

body[data-page="landing"] .landing-ranking-actions .btn-shell {
  flex: 1 1 190px;
  min-width: 0;
  min-height: 48px;
  border-radius: 18px;
  padding-inline: 18px;
  white-space: normal;
}

body[data-page="landing"] .landing-ranking-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .landing-ranking-mini {
  padding: 22px 22px 20px;
  border-radius: 30px;
}

body[data-page="landing"] .landing-ranking-mini h3 {
  font-size: 26px;
}

body[data-page="landing"] .landing-demand-panel {
  padding-bottom: 34px;
}

body[data-page="landing"] .landing-demand-preview {
  grid-template-columns: minmax(0, 1.06fr) minmax(240px, 0.94fr);
  gap: 18px;
  align-items: stretch;
}

body[data-page="landing"] .landing-demand-card.is-lead {
  grid-row: 1 / span 2;
  min-height: 100%;
  padding: 26px 24px 28px;
  border-radius: 30px;
}

body[data-page="landing"] .landing-demand-preview .landing-demand-card:not(.is-lead) {
  min-height: 214px;
  padding: 20px 20px 22px;
  border-radius: 28px;
}

body[data-page="landing"] .landing-demand-stats div {
  min-height: 82px;
}

body[data-page="landing"] .landing-role-panel {
  padding: 36px 34px 34px;
}

body[data-page="landing"] .landing-role-links {
  grid-template-columns: 1fr;
  gap: 16px;
}

body[data-page="landing"] .landing-role-link {
  min-height: 144px;
  padding: 24px;
  border-radius: 30px;
}

body[data-page="landing"] .landing-role-link strong {
  font-size: 22px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

body[data-page="landing"] .landing-curation-grid {
  align-items: start;
}

body[data-page="landing"] .landing-showcase-preview {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 22px;
}

body[data-page="landing"] .landing-showcase-preview > :first-child {
  transform: translateY(-10px);
}

body[data-page="landing"] .landing-showcase-preview > :last-child {
  transform: translateY(26px);
}

body[data-page="landing"] .landing-showcase-card {
  border-radius: 34px;
}

body[data-page="landing"] .landing-showcase-preview > :first-child .landing-showcase-media {
  aspect-ratio: 1 / 0.88;
}

body[data-page="landing"] .landing-showcase-preview > :last-child .landing-showcase-media {
  aspect-ratio: 1 / 1.18;
}

body[data-page="landing"] .landing-showcase-body {
  gap: 18px;
}

body[data-page="landing"] .landing-showcase-head h3 {
  font-size: clamp(30px, 3vw, 40px);
}

body[data-page="landing"] .landing-city-editorial {
  gap: 34px;
  align-items: start;
}

body[data-page="landing"] .landing-city-copy {
  padding-top: 10px;
}

body[data-page="landing"] .landing-city-pillars {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="landing"] .landing-pillar-card {
  min-height: 184px;
  padding: 28px;
}

body[data-page="landing"] .landing-pillar-card strong {
  font-size: 20px;
  line-height: 1.48;
}

body[data-page="landing"] .landing-notebook-card {
  padding: 36px;
  border-radius: 38px;
}

body[data-page="landing"] .landing-notebook-card h3 {
  font-size: clamp(32px, 3vw, 40px);
}

body[data-page="landing"] .landing-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 40px 42px;
  border-radius: 40px;
}

body[data-page="landing"] .landing-final-cta-copy h2 {
  max-width: 12ch;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 0.9;
}

body[data-page="landing"] .landing-final-cta .cta-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  min-width: 420px;
}

body[data-page="landing"] .landing-final-cta .btn-shell {
  min-height: 52px;
  border-radius: 18px;
}

body[data-page="landing"] .landing-inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-demand-card .landing-inline-link,
body[data-page="landing"] .landing-curation-panel.is-pipeline .landing-showcase-actions .landing-inline-link,
body[data-page="landing"] .landing-demand-card.is-lead .landing-inline-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 1180px) {
  body[data-page="landing"] .hero-canvas,
  body[data-page="landing"] #hero-canvas {
    height: auto;
    min-height: 1120px;
  }

  body[data-page="landing"] .hero-home-grid {
    min-height: auto;
    align-items: start;
  }

  body[data-page="landing"] .hero-feature-shell {
    padding-top: 0;
    justify-content: flex-start;
  }

  body[data-page="landing"] .hero-atlas-stack {
    width: min(700px, 100%);
    margin-left: 0;
    transform: none;
  }

  body[data-page="landing"] .hero-opportunity-brief-shell,
  body[data-page="landing"] .hero-thesis-snapshot {
    transform: none;
  }

  body[data-page="landing"] .landing-overview-grid {
    margin-top: 0;
  }

  body[data-page="landing"] .landing-demand-preview,
  body[data-page="landing"] .landing-showcase-preview,
  body[data-page="landing"] .landing-final-cta {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-showcase-preview > :first-child,
  body[data-page="landing"] .landing-showcase-preview > :last-child {
    transform: none;
  }

  body[data-page="landing"] .landing-final-cta .cta-card-actions {
    min-width: 0;
  }
}

@media (max-width: 920px) {
  body[data-page="landing"] .hero-canvas,
  body[data-page="landing"] #hero-canvas {
    min-height: 980px;
    border-radius: 42px;
  }

  body[data-page="landing"] .hero-home-copy {
    padding: 102px 0 14px;
  }

  body[data-page="landing"] .hero-home-copy h1 {
    max-width: 7.2ch;
    font-size: clamp(52px, 12vw, 84px);
  }

  body[data-page="landing"] .hero-command-desk.hero-lens-dock,
  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-final-cta {
    padding: 30px;
  }

  body[data-page="landing"] .landing-ranking-lead {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-ranking-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="landing"] .landing-city-pillars {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body[data-page="landing"] .nav-shell {
    padding: 12px 14px;
  }

  body[data-page="landing"] .hero-canvas,
  body[data-page="landing"] #hero-canvas {
    min-height: 880px;
    border-radius: 32px;
  }

  body[data-page="landing"] .hero-home-copy {
    padding-top: 88px;
  }

  body[data-page="landing"] .hero-home-copy h1 {
    max-width: 7.4ch;
    font-size: clamp(44px, 13vw, 58px);
  }

  body[data-page="landing"] .hero-home-copy > p {
    font-size: 16px;
    line-height: 1.72;
  }

  body[data-page="landing"] .hero-sentiment-rail,
  body[data-page="landing"] .hero-command-desk.hero-lens-dock,
  body[data-page="landing"] .landing-panel,
  body[data-page="landing"] .landing-final-cta,
  body[data-page="landing"] .landing-notebook-card {
    padding: 24px;
    border-radius: 30px;
  }

  body[data-page="landing"] .hero-command-copy strong,
  body[data-page="landing"] .section-heading-inline h2,
  body[data-page="landing"] .landing-ranking-head h3,
  body[data-page="landing"] .landing-showcase-head h3,
  body[data-page="landing"] .landing-final-cta-copy h2 {
    max-width: none;
    font-size: clamp(30px, 9vw, 40px);
  }

  body[data-page="landing"] .hero-command-support,
  body[data-page="landing"] .hero-proof-rail,
  body[data-page="landing"] .landing-ranking-facts,
  body[data-page="landing"] .landing-ranking-rail,
  body[data-page="landing"] .landing-demand-stats,
  body[data-page="landing"] .landing-final-cta .cta-card-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-demand-preview {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-demand-card.is-lead {
    grid-row: auto;
  }

  body[data-page="landing"] .landing-role-link,
  body[data-page="landing"] .landing-ranking-mini,
  body[data-page="landing"] .landing-demand-card,
  body[data-page="landing"] .landing-pillar-card {
    min-height: auto;
  }

  body[data-page="landing"] .landing-inline-link {
    width: fit-content;
  }
}

/* Landing terminal overrides */
body[data-page="landing"] .landing-signature-shell .site-shell {
  width: min(1380px, calc(100% - 36px));
}

body[data-page="landing"] .landing-signature-shell {
  padding-top: 18px;
  padding-bottom: 128px;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-reframed {
  margin-bottom: 38px;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-reframed .hero-canvas,
body[data-page="landing"] .landing-signature-shell .landing-hero-reframed #hero-canvas {
  inset: 0;
  height: auto;
  min-height: 920px;
  border-radius: 54px;
  box-shadow: 0 52px 140px rgba(10, 13, 18, 0.24);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-reframed .hero-home-backdrop {
  background:
    linear-gradient(120deg, rgba(10, 14, 22, 0.72), rgba(10, 14, 22, 0.36) 48%, rgba(10, 14, 22, 0.62)),
    linear-gradient(180deg, rgba(10, 14, 22, 0.08), rgba(10, 14, 22, 0.72)),
    var(--hero-image) center/cover no-repeat;
  filter: brightness(0.34) saturate(0.88) contrast(1.08);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  grid-template-areas:
    "copy feature"
    "command feature";
  gap: 28px;
  align-items: start;
  min-height: auto;
  padding: 68px 56px 54px;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro {
  grid-area: copy;
  max-width: none;
  padding: 40px 42px 34px;
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(18, 22, 32, 0.76), rgba(18, 22, 32, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 72px rgba(7, 10, 17, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro::before {
  content: none;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro .hero-prelude {
  align-items: flex-start;
  gap: 18px;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro h1 {
  max-width: 6.8ch;
  margin: 22px 0 18px;
  font-size: clamp(68px, 7vw, 112px);
  line-height: 0.84;
  letter-spacing: -0.08em;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro > p {
  max-width: 40rem;
  font-size: 18px;
  line-height: 1.74;
  color: rgba(255, 255, 255, 0.8);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-intro .hero-sentiment-rail {
  width: min(100%, 620px);
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage {
  grid-area: feature;
  align-self: stretch;
  justify-content: flex-end;
  padding-top: 18px;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-atlas-stack {
  width: min(100%, 470px);
  gap: 18px;
  align-content: start;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-opportunity-brief-shell,
body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-thesis-snapshot {
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 34px 90px rgba(7, 10, 17, 0.3);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-opportunity-brief-shell {
  transform: translateX(-12px) translateY(18px);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-thesis-snapshot {
  transform: translateX(28px) translateY(-4px);
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(245, 235, 220, 0.96));
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command {
  grid-area: command;
  margin-top: 0;
  width: min(100%, 760px);
  padding: 30px 30px 28px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 250, 245, 0.98), rgba(248, 240, 228, 0.96));
  border: 1px solid rgba(242, 178, 76, 0.18);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.12);
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-copy strong {
  max-width: 13ch;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 0.96;
  color: #182030;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-lens-controls {
  align-items: flex-start;
  flex-direction: column;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-focus-chip {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
  color: #2d3748;
  backdrop-filter: none;
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-focus-chip:hover,
body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-focus-chip.is-active {
  background: rgba(var(--hero-focus-accent-rgb), 0.11);
  border-color: rgba(var(--hero-focus-accent-rgb), 0.22);
  color: #111827;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-support {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.95fr);
  gap: 16px;
  margin-top: 18px;
  align-items: stretch;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-analyst-note {
  min-height: auto;
  margin-top: 0;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1f2b3a, #17202d);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-analyst-note p,
body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-proof-card,
body[data-page="landing"] .landing-signature-shell .landing-demand-card h3,
body[data-page="landing"] .landing-signature-shell .landing-demand-card strong {
  color: #fff;
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-proof-rail {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-proof-card {
  min-height: 112px;
  background: linear-gradient(180deg, #2c3341, #232937);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-overview-deck,
body[data-page="landing"] .landing-signature-shell .landing-curation-deck,
body[data-page="landing"] .landing-signature-shell .landing-city-deck {
  gap: 24px;
  align-items: start;
}

body[data-page="landing"] .landing-signature-shell .landing-overview-deck {
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
}

body[data-page="landing"] .landing-signature-shell .landing-panel,
body[data-page="landing"] .landing-signature-shell .landing-city-copy,
body[data-page="landing"] .landing-signature-shell .landing-cta-deck {
  border-radius: 34px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 26px 68px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-signature-shell .landing-panel {
  padding: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 247, 241, 0.95));
}

body[data-page="landing"] .landing-signature-shell .landing-panel-head {
  gap: 20px;
  margin-bottom: 22px;
}

body[data-page="landing"] .landing-signature-shell .section-heading-inline h2 {
  max-width: 11ch;
  font-size: clamp(32px, 3.4vw, 50px);
  line-height: 0.92;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-lead {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-lead-media {
  min-height: 400px;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-lead-body {
  padding: 30px;
  gap: 20px;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="landing"] .landing-signature-shell .landing-ranking-mini {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

body[data-page="landing"] .landing-signature-shell .landing-demand-panel {
  background: linear-gradient(180deg, #1f2836, #111827);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 82px rgba(15, 23, 42, 0.18);
}

body[data-page="landing"] .landing-signature-shell .landing-demand-panel .section-heading-inline h2,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .section-heading-inline h2,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-showcase-head h3,
body[data-page="landing"] .landing-signature-shell .landing-city-copy .section-heading-inline h2,
body[data-page="landing"] .landing-signature-shell .landing-pillar-card strong,
body[data-page="landing"] .landing-signature-shell .landing-cta-deck h2 {
  color: #fff;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-panel .eyebrow,
body[data-page="landing"] .landing-signature-shell .landing-demand-panel .section-heading-inline p,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .eyebrow,
body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .section-heading-inline p,
body[data-page="landing"] .landing-signature-shell .landing-city-copy .eyebrow,
body[data-page="landing"] .landing-signature-shell .landing-city-copy .section-heading-inline p,
body[data-page="landing"] .landing-signature-shell .landing-cta-deck .eyebrow,
body[data-page="landing"] .landing-signature-shell .landing-cta-deck p {
  color: rgba(235, 239, 248, 0.68);
}

body[data-page="landing"] .landing-signature-shell .landing-demand-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-card.is-lead {
  grid-column: 1 / -1;
  grid-row: auto;
  min-height: auto;
  padding: 24px;
  background: linear-gradient(180deg, rgba(78, 95, 125, 0.38), rgba(23, 31, 44, 0.72));
}

body[data-page="landing"] .landing-signature-shell .landing-demand-preview .landing-demand-card:not(.is-lead) {
  min-height: 0;
}

body[data-page="landing"] .landing-signature-shell .landing-demand-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body[data-page="landing"] .landing-signature-shell .landing-role-panel {
  background: linear-gradient(180deg, rgba(250, 186, 66, 0.96), rgba(225, 147, 32, 0.96));
  border-color: rgba(175, 104, 0, 0.18);
  box-shadow: 0 28px 74px rgba(176, 108, 8, 0.18);
}

body[data-page="landing"] .landing-signature-shell .landing-role-link {
  min-height: 122px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 28px rgba(89, 52, 5, 0.12);
}

body[data-page="landing"] .landing-signature-shell .landing-curation-deck {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-preview > :first-child,
body[data-page="landing"] .landing-signature-shell .landing-showcase-preview > :last-child {
  transform: none;
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-card {
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
}

body[data-page="landing"] .landing-signature-shell .landing-showcase-media {
  aspect-ratio: 1 / 0.84;
}

body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline {
  background: linear-gradient(180deg, #1f2836, #111827);
  border-color: rgba(255, 255, 255, 0.06);
}

body[data-page="landing"] .landing-signature-shell .landing-curation-panel.is-pipeline .landing-showcase-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-signature-shell .landing-city-deck {
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
}

body[data-page="landing"] .landing-signature-shell .landing-city-copy {
  padding: 34px;
  background: linear-gradient(180deg, #182233, #101723);
  box-shadow: 0 30px 84px rgba(15, 23, 42, 0.16);
}

body[data-page="landing"] .landing-signature-shell .landing-pillar-card {
  min-height: 172px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-page="landing"] .landing-signature-shell .landing-notebook-card {
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 241, 230, 0.95));
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.08);
}

body[data-page="landing"] .landing-signature-shell .landing-cta-deck {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 36px 38px;
  background: linear-gradient(135deg, #1b2433, #111826);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 88px rgba(15, 23, 42, 0.2);
}

body[data-page="landing"] .landing-signature-shell .landing-cta-deck .cta-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 12px;
  min-width: 450px;
}

@media (min-width: 1121px) {
  body[data-page="landing"] .landing-signature-shell .landing-overview-deck {
    position: relative;
    z-index: 4;
    margin-top: -70px;
  }
}

@media (max-width: 1120px) {
  body[data-page="landing"] .landing-signature-shell .landing-hero-reframed .hero-canvas,
  body[data-page="landing"] .landing-signature-shell .landing-hero-reframed #hero-canvas {
    min-height: 0;
    border-radius: 44px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "feature"
      "command";
    padding: 88px 26px 30px;
    gap: 18px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-stage {
    justify-content: stretch;
    padding-top: 0;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-atlas-stack,
  body[data-page="landing"] .landing-signature-shell .landing-overview-deck,
  body[data-page="landing"] .landing-signature-shell .landing-curation-deck,
  body[data-page="landing"] .landing-signature-shell .landing-city-deck,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck,
  body[data-page="landing"] .landing-signature-shell .landing-demand-preview,
  body[data-page="landing"] .landing-signature-shell .landing-showcase-preview {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-opportunity-brief-shell,
  body[data-page="landing"] .landing-signature-shell .landing-hero-stage .hero-thesis-snapshot {
    transform: none;
  }
}

@media (max-width: 860px) {
  body[data-page="landing"] .landing-signature-shell {
    padding-top: 12px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-grid {
    padding: 82px 22px 26px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro,
  body[data-page="landing"] .landing-signature-shell .landing-hero-command,
  body[data-page="landing"] .landing-signature-shell .landing-panel,
  body[data-page="landing"] .landing-signature-shell .landing-city-copy,
  body[data-page="landing"] .landing-signature-shell .landing-notebook-card,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck {
    padding: 26px;
    border-radius: 30px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro h1 {
    max-width: 7.2ch;
    font-size: clamp(52px, 10vw, 82px);
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-head {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-signature-shell .landing-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-lens-controls {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-support,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-lead,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck .cta-card-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-signature-shell .landing-cta-deck .cta-card-actions {
    min-width: 0;
  }

  body[data-page="landing"] .landing-signature-shell .landing-ranking-lead-media {
    min-height: 320px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-ranking-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body[data-page="landing"] .landing-signature-shell .site-shell {
    width: min(calc(100% - 22px), 100%);
  }

  body[data-page="landing"] .landing-signature-shell .nav-shell {
    gap: 12px;
    padding: 12px 14px;
  }

  body[data-page="landing"] .landing-signature-shell .brand-subtitle {
    display: none;
  }

  body[data-page="landing"] .landing-signature-shell .top-nav {
    max-width: 100%;
    overflow-x: auto;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-reframed .hero-canvas,
  body[data-page="landing"] .landing-signature-shell .landing-hero-reframed #hero-canvas {
    border-radius: 34px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-grid {
    padding: 78px 18px 22px;
    gap: 16px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro,
  body[data-page="landing"] .landing-signature-shell .landing-hero-command,
  body[data-page="landing"] .landing-signature-shell .landing-panel,
  body[data-page="landing"] .landing-signature-shell .landing-city-copy,
  body[data-page="landing"] .landing-signature-shell .landing-notebook-card,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck {
    padding: 22px;
    border-radius: 26px;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro .hero-prelude {
    flex-direction: column;
    align-items: flex-start;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro h1 {
    max-width: 8ch;
    font-size: clamp(44px, 13vw, 60px);
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-intro > p {
    font-size: 16px;
    line-height: 1.72;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-proof-rail,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-facts,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-rail,
  body[data-page="landing"] .landing-signature-shell .landing-demand-stats,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck .cta-card-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-signature-shell .landing-hero-command .hero-command-copy strong,
  body[data-page="landing"] .landing-signature-shell .section-heading-inline h2,
  body[data-page="landing"] .landing-signature-shell .landing-ranking-head h3,
  body[data-page="landing"] .landing-signature-shell .landing-showcase-head h3,
  body[data-page="landing"] .landing-signature-shell .landing-cta-deck h2 {
    max-width: none;
    font-size: clamp(28px, 9vw, 38px);
  }

  body[data-page="landing"] .landing-signature-shell .spatial-trigger-node,
  body[data-page="landing"] .landing-signature-shell .hero-depth-label {
    display: none;
  }
}


/* =============================================================
   LOCUS-SF LANDING PAGE — UX IMPROVEMENTS v2
   7 targeted enhancements applied 2026-07-16
   ============================================================= */

/* ─── 1. DEEPER GRADIENT SCRIM — richer text isolation on hero photo ─── */
body[data-page="landing"] .hero-home-backdrop {
  filter: brightness(0.20) saturate(0.88) contrast(1.14);
}

/* Directional gradient scrim anchored at text column */
body[data-page="landing"] .hero-canvas::after,
body[data-page="landing"] #hero-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      105deg,
      rgba(8, 12, 20, 0.78) 0%,
      rgba(8, 12, 20, 0.52) 44%,
      rgba(8, 12, 20, 0.0) 72%
    );
  pointer-events: none;
  z-index: 1;
}

/* Soft ambient amber glow anchored at left-column mid-point */
body[data-page="landing"] .hero-home-copy::before {
  content: "";
  position: absolute;
  left: -80px;
  top: 38%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0.13), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
  transform: translateY(-50%);
}

/* ─── 2. UNIFIED RIGHT PANEL — one cohesive card, internal hairline dividers ─── */
/* Elevate card shadow and round corners for a premium container feel */
body[data-page="landing"] .hero-home-panel {
  gap: 0;
  padding: 30px;
  border-radius: 36px;
  background: rgba(14, 19, 30, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 40px 100px rgba(5, 8, 14, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  color: #e8edf5;
  backdrop-filter: blur(20px);
}

/* Internal section spacing (replaces disconnected card gaps) */
body[data-page="landing"] .hero-home-panel > * {
  padding-top: 22px;
  padding-bottom: 22px;
}

body[data-page="landing"] .hero-home-panel > *:first-child {
  padding-top: 0;
}

body[data-page="landing"] .hero-home-panel > *:last-child {
  padding-bottom: 0;
}

/* Hairline section dividers instead of separate card borders */
body[data-page="landing"] .hero-home-panel-body,
body[data-page="landing"] .hero-story-panel-refined,
body[data-page="landing"] .hero-spatial-dock-refined {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 0;
}

/* Unify panel head text colours for dark card */
body[data-page="landing"] .hero-home-panel-copy h2 {
  color: #f0f4fa;
  font-size: clamp(24px, 2.6vw, 32px);
}

body[data-page="landing"] .hero-brief-context {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

body[data-page="landing"] .hero-brief-context span {
  color: rgba(200, 212, 228, 0.6);
}

body[data-page="landing"] .hero-brief-context strong {
  color: #d4e0f0;
}

/* Score block: transparent, merged into panel background */
body[data-page="landing"] .hero-score-block {
  background: transparent;
  border: none;
  padding: 0;
}

/* Story panel: slim, dark-theme aware */
body[data-page="landing"] .hero-story-panel-refined {
  background: rgba(255, 255, 255, 0.04);
  border: none;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

body[data-page="landing"] .hero-story-panel-refined .panel-kicker {
  color: rgba(200, 212, 228, 0.55);
}

body[data-page="landing"] .hero-story-panel-refined p {
  color: rgba(200, 215, 235, 0.78);
}

/* Spatial dock: remove separate top-border (unified above) */
body[data-page="landing"] .hero-spatial-dock-refined {
  border-top: none;
}

body[data-page="landing"] .hero-spatial-dock-refined .hero-node-dock-head {
  color: rgba(200, 212, 228, 0.55);
}

body[data-page="landing"] .hero-spatial-dock-refined .hero-node-panel-copy strong {
  color: #e0eaf8;
}

body[data-page="landing"] .hero-spatial-dock-refined .hero-node-panel-copy p {
  color: rgba(190, 205, 228, 0.68);
}

body[data-page="landing"] .hero-spatial-dock-refined .living-city-node-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(210, 225, 245, 0.86);
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

body[data-page="landing"] .hero-spatial-dock-refined .living-city-node-pill:hover,
body[data-page="landing"] .hero-spatial-dock-refined .living-city-node-pill.is-active {
  background: rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0.18);
  border-color: rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0.32);
  color: #fffaf3;
  box-shadow: 0 0 0 3px rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0.10);
}

/* Proof cards: dark, unified inside panel */
body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  min-height: 80px;
  padding: 14px 16px;
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card span {
  color: rgba(180, 200, 224, 0.52);
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card strong {
  color: #e8f0fa;
  font-size: 30px;
}

/* ─── 3. LENS CHIPS — clear interactive affordance with glow ring on active ─── */
body[data-page="landing"] .hero-home-refined .hero-focus-chip {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(228, 238, 252, 0.82);
  box-shadow: none;
  backdrop-filter: blur(12px);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 200ms ease,
    color 150ms ease;
}

body[data-page="landing"] .hero-home-refined .hero-focus-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-1px);
}

body[data-page="landing"] .hero-home-refined .hero-focus-chip.is-active {
  background: rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0.22);
  border-color: rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0.40);
  color: #fffaf3;
  box-shadow:
    0 0 0 4px rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0.14),
    0 8px 22px rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0.18);
  transform: translateY(-1px);
}

/* ─── 4. CONSISTENT GEOMETRY — standardised border-radii across components ─── */
/* Chips/pills: 999px (already set) | Cards: 36px | CTAs: 26px */
body[data-page="landing"] .hero-command-actions .btn-shell-hero {
  border-radius: 26px;
}

body[data-page="landing"] .hero-home-panel-body .hero-score-block {
  border-radius: 0;
}

body[data-page="landing"] .hero-brief-context {
  border-radius: 14px;
}

/* ─── 5. LIVE PULSE INDICATOR — animated amber dot on panel kicker ─── */
@keyframes sfcLivePulse {
  0%   { transform: scale(0.9); opacity: 0.9; box-shadow: 0 0 0 0 rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0.55); }
  65%  { transform: scale(1.0); opacity: 1;   box-shadow: 0 0 0 7px rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0); }
  100% { transform: scale(0.9); opacity: 0.9; box-shadow: 0 0 0 0 rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0); }
}

body[data-page="landing"] .hero-home-panel .panel-kicker::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgb(var(--hero-focus-accent-rgb, 242, 178, 76));
  margin-right: 8px;
  vertical-align: middle;
  animation: sfcLivePulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

body[data-page="landing"] .hero-home-panel-copy .panel-kicker {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(var(--hero-focus-accent-rgb, 242, 178, 76), 0.9);
}

/* ─── 6. SCORE DOMINANCE — make the IAI score the visual anchor ─── */
body[data-page="landing"] .hero-home-refined .hero-slab-score {
  font-size: clamp(72px, 7.4vw, 104px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.09em;
  line-height: 0.88;
  color: #f0f6ff;
}

body[data-page="landing"] .hero-score-copy span {
  color: rgba(180, 200, 224, 0.55);
  font-size: 10px;
  letter-spacing: 0.20em;
}

body[data-page="landing"] .hero-score-copy p {
  color: rgba(190, 208, 232, 0.72);
}

/* Active chip in the slab row */
body[data-page="landing"] .hero-home-refined .hero-slab-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(210, 228, 250, 0.84);
}

body[data-page="landing"] .hero-home-refined .hero-slab-chip-quiet {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ─── 7. SLIM STATS ROW — inline tiles with dividers, no heavy borders ─── */
body[data-page="landing"] .hero-proof-grid-refined {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card {
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  padding: 14px 16px;
  min-height: 72px;
}

body[data-page="landing"] .hero-proof-grid-refined .hero-proof-card:last-child {
  border-right: none;
}

/* ─── END UX IMPROVEMENTS v2 ─── */
