:root {
  --ink: #f4faf7;
  --muted: #a4c2b8;
  --night: #061c1b;
  --night-2: #0a2825;
  --surface: #0e3431;
  --surface-2: #123d39;
  --line: #23514b;
  --mint: #43f2b3;
  --amber: #ffb64c;
  --warm: #f5f1e8;
  --warm-card: #ebe9de;
  --warm-ink: #102d27;
  --dash-border: rgba(164, 194, 184, 0.2);
  --dash-border-strong: rgba(67, 242, 179, 0.38);
  --dash-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

html { color-scheme: dark; }

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% -10%, rgba(67, 242, 179, 0.12), transparent 34rem),
    linear-gradient(145deg, #041514, var(--night) 55%, #082421);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(164, 194, 184, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 194, 184, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 58%);
}

.bg-glow {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 8%, rgba(22, 111, 91, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 34%, rgba(67, 242, 179, 0.06), transparent 25rem);
}

.dash-skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--night);
  border-radius: 8px;
  background: var(--mint);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.dash-skip:focus { transform: none; }

.dash-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding-inline: max(40px, calc((100vw - 1420px) / 2));
  border-bottom: 1px solid rgba(164, 194, 184, 0.16);
  background: rgba(4, 21, 20, 0.9);
  backdrop-filter: blur(18px);
}

.dash-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  min-height: 52px;
  color: var(--ink);
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 38px;
  height: 43px;
  flex: 0 0 auto;
  border: 2px solid var(--mint);
  border-top-color: transparent;
  border-radius: 4px 4px 8px 8px;
}

.brand-roof {
  position: absolute;
  width: 27px;
  height: 27px;
  left: 3px;
  top: -8px;
  border-left: 3px solid var(--mint);
  border-top: 3px solid var(--mint);
  border-radius: 3px 0 0;
  transform: rotate(45deg);
}

.brand-dot {
  position: absolute;
  width: 7px;
  height: 7px;
  right: 7px;
  bottom: 8px;
  border-radius: 50%;
  background: var(--mint);
}

.brand-wave {
  position: absolute;
  border: 2px solid var(--mint);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 10px 0 0;
  transform: rotate(-3deg);
}

.wave-one { width: 9px; height: 9px; right: -7px; top: -3px; }
.wave-two { width: 15px; height: 15px; right: -13px; top: -9px; opacity: 0.72; }

.preview-badge {
  justify-self: center;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--mint);
  border: 1px solid rgba(67, 242, 179, 0.34);
  border-radius: 999px;
  background: rgba(67, 242, 179, 0.07);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.dash-topbar nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 30px;
}

.dash-topbar nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 13px 0;
  color: #d4e5df;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.dash-topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  background: var(--mint);
  transition: right 0.22s ease;
}

.dash-topbar nav a:hover { color: var(--ink); }
.dash-topbar nav a:hover::after,
.dash-topbar nav a:focus-visible::after { right: 0; }

.dash-shell {
  position: relative;
  z-index: 1;
  width: min(1420px, calc(100% - 80px));
  margin-inline: auto;
  padding: clamp(44px, 6vw, 82px) 0 100px;
}

.glass {
  min-width: 0;
  overflow-wrap: anywhere;
  border: 1px solid var(--dash-border);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(14, 52, 49, 0.96), rgba(7, 31, 29, 0.96));
  box-shadow: var(--dash-shadow);
  backdrop-filter: blur(16px);
}

h1,
h2,
h3,
.progress-level,
.metric-value,
.readiness-value,
.mini-metric strong,
.pipeline-stage strong {
  font-family: inherit;
  letter-spacing: -0.045em;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-family: inherit;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lede {
  color: #c3d9d2;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
}

.hint {
  color: var(--muted);
  line-height: 1.6;
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 13px;
  font: inherit;
  font-weight: 780;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #041514;
  border-color: var(--mint);
  background: var(--mint);
  box-shadow: 0 14px 40px rgba(67, 242, 179, 0.14);
}
.btn-primary:hover {
  border-color: #74f7c7;
  background: #74f7c7;
  box-shadow: 0 18px 50px rgba(67, 242, 179, 0.2);
}
.btn-secondary {
  color: var(--mint);
  border-color: rgba(67, 242, 179, 0.48);
  background: rgba(6, 28, 27, 0.5);
}
.btn-secondary:hover {
  border-color: var(--mint);
  background: rgba(67, 242, 179, 0.08);
}

.dash-state {
  max-width: 760px;
  margin: 8vh auto;
  padding: clamp(30px, 5vw, 52px);
}

.dash-state h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.dash-loader {
  width: 42px;
  height: 42px;
  float: left;
  margin: 0.25rem 1rem 1rem 0;
  border: 3px solid rgba(67, 242, 179, 0.16);
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: dash-spin 0.9s linear infinite;
}

@keyframes dash-spin { to { transform: rotate(360deg); } }

.dash-error { border-color: rgba(255, 124, 100, 0.48); }
.dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.dash-policy {
  margin: 24px 0 0;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--dash-border);
  font-size: 14px;
}

.dash-hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(390px, 0.65fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: center;
}

.dash-hero-copy { padding-block: 30px; }
.dash-hero-copy h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(58px, 6.2vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}
.dash-hero-copy h1 span { color: var(--mint); }
.dash-hero-copy .lede { max-width: 720px; margin: 28px 0 0; }
.dash-verification {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.status-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  color: #cffff0;
  border: 1px solid rgba(67, 242, 179, 0.34);
  border-radius: 999px;
  background: rgba(67, 242, 179, 0.08);
  font-size: 12px;
  font-weight: 750;
}

.status-pill.pending {
  color: #ffd596;
  border-color: rgba(255, 182, 76, 0.38);
  background: rgba(255, 182, 76, 0.08);
}

.dash-updated {
  margin-top: 14px;
  color: #75978c;
  font-size: 12px;
}

.progress-card {
  position: relative;
  min-height: 350px;
  display: grid;
  grid-template-columns: 164px 1fr;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  padding: 38px;
  border-color: var(--dash-border-strong);
  background:
    radial-gradient(circle at 95% 0%, rgba(67, 242, 179, 0.12), transparent 45%),
    linear-gradient(145deg, rgba(14, 52, 49, 0.98), rgba(7, 31, 29, 0.98));
}

.progress-card::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -230px;
  top: -220px;
  border: 1px solid rgba(67, 242, 179, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 62px rgba(67, 242, 179, 0.025),
    0 0 0 124px rgba(67, 242, 179, 0.018);
}

.progress-card > * { position: relative; z-index: 1; }

.progress-ring {
  --progress: 0deg;
  width: 158px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #092724 58%, transparent 60%),
    conic-gradient(var(--mint) var(--progress), rgba(164, 194, 184, 0.12) 0);
  box-shadow:
    inset 0 0 0 1px rgba(164, 194, 184, 0.12),
    0 18px 50px rgba(0, 0, 0, 0.24);
}

.progress-ring span {
  color: var(--ink);
  font-size: 38px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.progress-ring small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress-level {
  margin: 0;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.05;
}

.progress-next {
  margin: 12px 0 0;
  color: var(--mint);
  font-size: 13px;
  line-height: 1.5;
}

.dash-section { margin-top: clamp(86px, 9vw, 132px); }
.dash-section.glass { padding: clamp(30px, 5vw, 54px); }
.dash-section[id],
.dash-heading h2[id] { scroll-margin-top: 120px; }

.dash-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  margin-bottom: 32px;
}

.dash-heading.compact { grid-template-columns: 1fr auto; }
.dash-heading .eyebrow { margin-bottom: 14px; }
.dash-heading h2 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1;
  letter-spacing: -0.06em;
}
.dash-heading > p {
  max-width: 600px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.dash-limit {
  color: #75978c;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.metric-card {
  min-height: 208px;
  padding: 30px;
  color: var(--warm-ink);
  border: 1px solid #c5d0c9;
  border-radius: 20px;
  background: var(--warm-card);
  box-shadow: 0 18px 50px rgba(26, 50, 42, 0.06);
}

.metric-value {
  display: block;
  overflow-wrap: anywhere;
  color: #126f59;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.metric-label {
  display: block;
  margin-top: 28px;
  color: var(--warm-ink);
  font-size: 15px;
  font-weight: 800;
}
.metric-detail {
  display: block;
  margin-top: 8px;
  color: #56645e;
  font-size: 12px;
  line-height: 1.55;
}

.homeowner-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 18px;
}

.modernization-summary,
.sale-readiness {
  min-width: 0;
  padding: clamp(28px, 4vw, 44px);
}

.modernization-summary {
  border-color: var(--dash-border-strong);
  background:
    radial-gradient(circle at 92% 4%, rgba(67, 242, 179, 0.13), transparent 20rem),
    linear-gradient(145deg, rgba(14, 52, 49, 0.98), rgba(7, 31, 29, 0.98));
}

.modernization-property {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.modernization-property .eyebrow { margin-bottom: 10px; }
.modernization-property h3,
.sale-readiness h3,
.modernization-history-heading h3 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.modernization-property p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.investment-total {
  margin-top: 42px;
  padding: 30px 0;
  border-block: 1px solid rgba(164, 194, 184, 0.16);
}

.investment-total > span {
  display: block;
  color: #cffff0;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.investment-total > strong {
  display: block;
  margin-top: 10px;
  color: var(--mint);
  font-size: clamp(48px, 6vw, 74px);
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.investment-total small {
  display: block;
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.coverage-copy {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-top: 28px;
}

.coverage-copy strong,
.coverage-copy span,
.coverage-copy small { display: block; }
.coverage-copy > div strong {
  color: var(--ink);
  font-size: 15px;
}
.coverage-copy > div span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}
.coverage-copy > strong {
  color: var(--amber);
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.coverage-copy > strong small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.modernization-summary .progress-track { margin-bottom: 0; }

.sale-readiness {
  color: var(--warm-ink);
  border-color: #c5d0c9;
  background: var(--warm-card);
  box-shadow: 0 18px 50px rgba(26, 50, 42, 0.08);
}

.sale-readiness .eyebrow { color: #126f59; }
.sale-readiness-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid #c5d0c9;
}
.sale-readiness-score strong {
  color: #126f59;
  font-size: 36px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.05em;
}
.sale-readiness-score span {
  color: #56645e;
  font-size: 11px;
}
.sale-readiness h3 { margin-top: 26px; font-size: 28px; }
.sale-readiness ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.sale-readiness li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  color: #71501f;
  font-size: 12px;
  line-height: 1.45;
}
.sale-readiness li.done { color: #245b4c; }
.sale-readiness li > span:first-child {
  color: #b97819;
  font-weight: 900;
}
.sale-readiness li.done > span:first-child { color: #126f59; }

.modernization-history {
  margin-top: 58px;
}

.modernization-history-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 22px;
}
.modernization-history-heading .eyebrow { margin-bottom: 10px; }
.modernization-history-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

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

.modernization-item {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--dash-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.modernization-date {
  padding: 26px;
  border-right: 1px solid var(--dash-border);
  background: rgba(67, 242, 179, 0.035);
}
.modernization-date time,
.modernization-date span { display: block; }
.modernization-date time {
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}
.modernization-date span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.modernization-copy {
  min-width: 0;
  padding: 26px 28px;
}
.modernization-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: start;
}
.modernization-title-row h4 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
}
.modernization-title-row p {
  max-width: 780px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.modernization-amount {
  min-width: 150px;
  text-align: right;
}
.modernization-amount strong,
.modernization-amount span { display: block; }
.modernization-amount strong {
  color: var(--ink);
  font-size: 24px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.modernization-amount span {
  margin-top: 7px;
  font-size: 10px;
  font-weight: 750;
}
.receipt-backed { color: var(--mint); }
.receipt-gap { color: var(--amber); }

.modernization-meta,
.document-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.modernization-meta > span,
.document-badges > span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(164, 194, 184, 0.18);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
}
.modernization-meta > span { color: #c8ded7; }
.document-badges > span {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}
.modernization-meta .basis-status.potential_candidate {
  color: #cffff0;
  border-color: rgba(67, 242, 179, 0.35);
  background: rgba(67, 242, 179, 0.06);
}
.modernization-meta .basis-status.maintenance_or_repair {
  color: #d8e0dc;
}
.modernization-meta .basis-status.needs_review {
  color: #ffd596;
  border-color: rgba(255, 182, 76, 0.38);
  background: rgba(255, 182, 76, 0.06);
}

.tax-guidance {
  margin-top: 18px;
  padding: 22px 24px;
  color: #d6e5df;
  border: 1px solid rgba(255, 182, 76, 0.28);
  border-radius: 14px;
  background: rgba(255, 182, 76, 0.045);
}
.tax-guidance strong {
  display: block;
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tax-guidance p {
  max-width: 1040px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.action-panel {
  position: relative;
  overflow: hidden;
  border-color: rgba(67, 242, 179, 0.28);
}
.action-list { display: grid; gap: 12px; }
.action-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 108px;
  padding: 20px;
  border: 1px solid rgba(164, 194, 184, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.action-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--mint);
  border: 1px solid rgba(67, 242, 179, 0.36);
  border-radius: 50%;
  background: rgba(67, 242, 179, 0.08);
  font-weight: 900;
}
.action-copy strong { display: block; font-size: 15px; }
.action-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.action-copy small {
  display: block;
  margin-top: 7px;
  color: #cffff0;
  font-size: 11px;
}
.action-item .btn {
  min-width: 156px;
  min-height: 48px;
  padding-inline: 18px;
  font-size: 13px;
}
.complete-state {
  padding: 20px;
  color: #cffff0;
  border: 1px solid rgba(67, 242, 179, 0.18);
  border-radius: 14px;
  background: rgba(67, 242, 179, 0.05);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.property-card,
.organization-card,
.milestone {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--dash-border);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(14, 52, 49, 0.9), rgba(8, 36, 33, 0.92));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}
.property-head,
.organization-head,
.market-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.property-head h3,
.organization-head h3,
.market-top h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 850;
  line-height: 1.08;
}
.property-head p,
.organization-head p,
.market-top p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.readiness-value {
  flex: 0 0 auto;
  color: var(--mint);
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
  text-align: right;
}
.readiness-value small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.progress-track {
  height: 8px;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(164, 194, 184, 0.12);
}
.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--mint);
}
.requirement-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.requirement-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.requirement-list li.done { color: #cffff0; }
.property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 22px 0 0;
  padding-top: 18px;
  color: var(--muted);
  border-top: 1px solid rgba(164, 194, 184, 0.14);
  font-size: 11px;
}
.property-actions,
.organization-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.property-actions .btn,
.organization-actions .btn {
  min-height: 44px;
  padding-inline: 15px;
  font-size: 12px;
}

.quality-layout {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 44px;
  align-items: center;
}
.quality-score {
  width: 180px;
  aspect-ratio: 1;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--amber);
  border: 1px solid rgba(255, 182, 76, 0.48);
  border-radius: 50%;
  background: rgba(255, 182, 76, 0.04);
  font-size: 43px;
  font-weight: 850;
  letter-spacing: -0.05em;
}
.quality-score small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
}
.quality-checks {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
  color: #c8ded7;
  font-size: 13px;
  line-height: 1.5;
}
.quality-checks li::marker { color: var(--mint); }

.organization-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.organization-card { padding: clamp(26px, 4vw, 42px); }
.org-badge {
  align-self: flex-start;
  color: #cffff0;
  font-size: 11px;
  font-weight: 750;
}
.org-metrics,
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.mini-metric {
  min-width: 0;
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(164, 194, 184, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}
.mini-metric strong {
  display: block;
  color: var(--ink);
  font-size: 28px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.mini-metric span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.pipeline {
  min-width: 0;
  margin-top: 28px;
}
.pipeline h4 {
  margin: 0 0 12px;
  color: #dcece7;
  font-size: 13px;
}
.pipeline-stages {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(7, minmax(92px, 1fr));
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-color: var(--line) transparent;
}
.pipeline-stage {
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(164, 194, 184, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}
.pipeline-stage strong {
  display: block;
  color: var(--mint);
  font-size: 25px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.pipeline-stage span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.3;
  text-transform: capitalize;
}
.org-detail {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(164, 194, 184, 0.14);
}
.org-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.org-work-grid h4 { margin: 0 0 12px; font-size: 15px; }
.org-work-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(164, 194, 184, 0.12);
}
.org-work-item strong { display: block; font-size: 13px; }
.org-work-item span {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 11px;
}
.org-work-item .btn {
  min-height: 40px;
  padding-inline: 12px;
  font-size: 11px;
}
.org-work-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.market-card { padding: clamp(26px, 4vw, 42px); }
.phase-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.phase-card {
  min-height: 100px;
  padding: 18px;
  border: 1px solid rgba(164, 194, 184, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}
.phase-card strong { display: block; font-size: 14px; }
.phase-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.phase-card.active {
  border-color: rgba(67, 242, 179, 0.38);
  background: rgba(67, 242, 179, 0.07);
}
.density-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.milestone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.milestone { min-height: 220px; }
.milestone.earned {
  border-color: rgba(67, 242, 179, 0.36);
  background:
    radial-gradient(circle at 90% 12%, rgba(67, 242, 179, 0.1), transparent 35%),
    linear-gradient(145deg, rgba(14, 52, 49, 0.96), rgba(8, 36, 33, 0.96));
}
.milestone-status {
  color: #75978c;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.milestone.earned .milestone-status { color: var(--mint); }
.milestone h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  font-weight: 850;
  line-height: 1.08;
}
.milestone p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.milestone-progress {
  margin-top: 18px;
  color: #dcece7;
  font-size: 11px;
  line-height: 1.5;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.activity-list,
.benefit-list { display: grid; gap: 12px; }
.activity-item,
.benefit-item {
  min-height: 110px;
  display: block;
  padding: 22px;
  border-radius: 16px;
  text-decoration: none;
}
.activity-item {
  color: var(--ink);
  border: 1px solid rgba(164, 194, 184, 0.16);
  background: rgba(14, 52, 49, 0.72);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}
.activity-item[href]:hover {
  border-color: rgba(67, 242, 179, 0.38);
  background: rgba(14, 52, 49, 0.94);
  transform: translateY(-2px);
}
.benefit-item {
  color: var(--warm-ink);
  border: 1px solid #c5d0c9;
  background: var(--warm-card);
}
.activity-item strong,
.benefit-item strong { display: block; font-size: 14px; }
.activity-item span,
.benefit-item span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.55;
}
.activity-item span { color: var(--muted); }
.benefit-item span { color: #56645e; }
.activity-item time {
  display: block;
  margin-top: 10px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
}

.dash-footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 110px;
  padding-top: 30px;
  color: #75978c;
  border-top: 1px solid rgba(164, 194, 184, 0.14);
  font-size: 11px;
  line-height: 1.55;
}
.dash-footer p { max-width: 720px; margin: 0; }
.dash-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.dash-footer a { color: #c8ded7; text-decoration: none; }
.dash-footer a:hover { color: var(--mint); }

.dash-topbar a:focus-visible,
.dash-shell a:focus-visible,
.dash-shell button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .dash-topbar { padding-inline: 24px; }
  .dash-shell {
    width: calc(100% - 48px);
    max-width: 1120px;
  }
  .dash-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: 46px;
  }
  .progress-card { grid-template-columns: 150px 1fr; padding: 30px; }
  .progress-ring { width: 146px; }
}

@media (max-width: 960px) {
  .dash-topbar {
    grid-template-columns: 1fr auto;
    gap: 22px;
  }
  .dash-topbar nav,
  .preview-badge { grid-column: 2; grid-row: 1; }
  .dash-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .dash-hero-copy { max-width: 780px; }
  .progress-card {
    min-height: 280px;
    grid-template-columns: 164px 1fr;
  }
  .metric-grid,
  .org-metrics,
  .pipeline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .homeowner-overview { grid-template-columns: 1fr; }
  .milestone-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-section { margin-top: 100px; }
}

@media (max-width: 640px) {
  body::before { background-size: 54px 54px; }
  .dash-topbar {
    min-height: 76px;
    gap: 12px;
    padding-inline: 16px;
  }
  .dash-brand {
    gap: 10px;
    font-size: 22px;
  }
  .brand-mark { width: 31px; height: 35px; }
  .brand-roof { width: 22px; height: 22px; }
  .preview-badge {
    max-width: 166px;
    min-height: 34px;
    padding: 6px 9px;
    font-size: 8px;
    letter-spacing: 0.09em;
  }
  .dash-topbar nav { gap: 14px; }
  .dash-topbar nav a {
    min-height: 42px;
    padding-inline: 0;
    font-size: 11px;
  }
  .dash-topbar nav a:first-child { display: none; }
  .dash-shell {
    width: calc(100% - 32px);
    max-width: 600px;
    padding-top: 42px;
  }
  .dash-state { margin-block: 5vh; padding: 30px 23px; }
  .dash-state h1 { font-size: clamp(40px, 12vw, 54px); }
  .dash-hero { gap: 24px; }
  .dash-hero-copy { padding-block: 10px 24px; }
  .dash-hero-copy h1 { font-size: clamp(46px, 14vw, 64px); }
  .dash-hero-copy .lede { font-size: 16px; }
  .progress-card {
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 24px;
  }
  .progress-ring { width: 136px; }
  .dash-section { margin-top: 80px; }
  .dash-section.glass { padding: 30px 23px; }
  .dash-heading,
  .dash-heading.compact {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 26px;
  }
  .dash-heading h2 { font-size: clamp(36px, 11vw, 50px); }
  .dash-heading > p { font-size: 13px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card {
    min-height: 180px;
    padding: 22px;
  }
  .metric-label { margin-top: 22px; }
  .modernization-property,
  .modernization-history-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .coverage-copy {
    align-items: flex-start;
    flex-direction: column;
  }
  .coverage-copy > strong { text-align: left; }
  .modernization-item { grid-template-columns: 1fr; }
  .modernization-date {
    padding: 20px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--dash-border);
  }
  .modernization-copy { padding: 22px; }
  .modernization-title-row { grid-template-columns: 1fr; gap: 18px; }
  .modernization-amount {
    min-width: 0;
    text-align: left;
  }
  .property-grid,
  .split-section { grid-template-columns: 1fr; }
  .action-item {
    grid-template-columns: 38px 1fr;
    padding: 18px;
  }
  .action-item .btn {
    grid-column: 2;
    width: 100%;
  }
  .quality-layout { grid-template-columns: 1fr; gap: 26px; }
  .quality-score {
    width: 150px;
    margin-inline: auto;
  }
  .org-work-grid { grid-template-columns: 1fr; }
  .org-metrics,
  .pipeline-grid,
  .density-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestone-grid { grid-template-columns: 1fr; }
  .phase-row { grid-template-columns: 1fr; }
  .dash-footer {
    flex-direction: column;
    margin-top: 80px;
  }
}

@media (max-width: 430px) {
  .dash-brand > span:last-child { font-size: 20px; }
  .progress-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .progress-ring { margin-inline: auto; }
  .metric-grid { grid-template-columns: 1fr; }
  .property-head,
  .organization-head,
  .market-top {
    flex-direction: column;
  }
  .readiness-value { text-align: left; }
  .org-work-item {
    align-items: flex-start;
    flex-direction: column;
  }
  .org-work-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
