/* Legislator-first DistrictView district dashboards, Oct 2026. */
.dv-legislator-dashboard .month-summary.dv-legislator-hero{
 display:grid!important;grid-template-columns:minmax(0,1.38fr) minmax(270px,1fr);
 align-items:center;gap:24px;padding:24px 25px;background:#fff;
 border:1px solid #D7E6EA;border-left:5px solid #167C95;
 border-radius:9px;margin:13px 0 15px;
}
.dv-legislator-hero .dv-legislator-hero-copy h2{color:#167C95;font-size:clamp(23px,2.6vw,33px);line-height:1.13;margin:7px 0 10px;letter-spacing:-.025em}
.dv-legislator-hero .dv-legislator-hero-copy p{color:#284459;line-height:1.5;font-size:14px;margin:0}
.dv-leg-kicker{font-size:10px;letter-spacing:.12em;color:#167C95;font-weight:850}
.dv-leg-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.dv-leg-stage-card{min-height:90px;border-top:3px solid #167C95;background:#F6F9FA;padding:13px 8px 9px}
.dv-leg-stage-card.open{border-color:#67993C}
.dv-leg-stage-card.planning{border-color:#E8631E}
.dv-leg-stage-card strong{display:block;font-size:28px;line-height:1;font-weight:850;color:#0F2644}
.dv-leg-stage-card span{display:block;font-size:10px;margin-top:7px;font-weight:690;color:#3A5467;line-height:1.3}
.dv-leg-qualifier{display:block;color:#697F8C;font-size:10px;line-height:1.45;margin-top:8px}
.dv-leg-reference-count{font-size:54px;font-weight:850;color:#0F2644;line-height:1}
.dv-leg-reference-label{display:block;color:#294457;font-size:13px;font-weight:700}
.dv-leg-old-facts{margin:10px 0 7px}
.dv-leg-old-facts .dv6-evidence-heading{padding:3px 0}
.dv-leg-old-facts .dv6-evidence-heading h2{font-size:17px}
.dv-leg-old-facts .dv6-evidence-heading p{font-size:11px}
.dv-leg-priorities{background:#F4F9F9;border:1px solid #D7E9EA;border-radius:9px;padding:18px 22px;margin:14px 0 20px}
.dv-leg-priorities-head h2{font-size:20px;color:#0F2644;margin:4px 0 12px}
.dv-leg-priority-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dv-leg-priority-card{background:#fff;border-left:3px solid #67993C;padding:12px 13px;min-width:0}
.dv-leg-priority-index{font-size:10px;color:#E8631E;font-weight:850}
.dv-leg-priority-card h3{font-size:14px;line-height:1.3;color:#0F2644;margin:3px 0 7px}
.dv-leg-priority-card p{font-size:11px;line-height:1.48;color:#334155;margin:0 0 7px}
.dv-leg-go{font-weight:750;font-size:10.5px;color:#167C95}
.dv-legislator-dashboard #p4-questions{padding-top:4px}
.dv-legislator-dashboard #p4-questions .p5-evidence-lede{margin-bottom:13px}
.dv-leg-evidence-note{border-left:2px solid #87BCC7;padding:4px 0 3px 12px;margin:10px 0;font-size:11px}
.dv-leg-evidence-note summary{cursor:pointer;color:#167C95;font-size:11px;font-weight:700}
.dv-leg-evidence-note p{color:#64748B;line-height:1.5;margin:7px 0 0}
.dv-leg-project-intro{padding:0 0 12px}
.dv-leg-project-intro h2{font-size:23px;color:#0F2644;margin:5px 0 7px}
.dv-leg-project-intro p{color:#50667B;font-size:13px;line-height:1.55}
.dv-leg-watchlist{border-top:2px solid #0F2644}
.dv-leg-watch-row{display:grid;grid-template-columns:minmax(170px,30%) minmax(0,1fr);gap:20px;background:#fff;border-bottom:1px solid #E2E8F0;padding:14px 9px}
.dv-leg-watch-id{color:#167C95;font-size:11px;font-weight:850}
.dv-leg-watch-title h3{font-size:15px;line-height:1.32;color:#0F2644;margin:4px 0 7px}
.dv-leg-watch-status{display:inline-block;font-size:10px;color:#407286;background:#EBF5F7;padding:4px 7px;border-radius:3px}
.dv-leg-watch-detail p{font-size:12px;line-height:1.5;color:#354C5E;margin:0 0 7px}
.dv-leg-watch-detail .dv-leg-watch-follow{color:#0F2644;font-weight:690}
.dv-leg-watch-links a{font-size:11px;color:#167C95;font-weight:720}
.dv-leg-caption{color:#64748B;font-size:11px;line-height:1.5;margin:10px 0 15px}
.dv-leg-inventory-archive{border:1px solid #C9DFE4;background:#F8FBFC;border-radius:6px;padding:12px 15px;margin:16px 0}
.dv-leg-inventory-archive>summary{font-size:13px;font-weight:760;color:#167C95;cursor:pointer}
.dv-leg-inventory-archive[open]>summary{margin-bottom:15px}
@media(max-width:760px){
 .dv-legislator-dashboard .month-summary.dv-legislator-hero{grid-template-columns:1fr!important;padding:18px;gap:13px}
 .dv-leg-priority-grid{grid-template-columns:1fr}
 .dv-leg-priorities{padding:14px}
 .dv-leg-watch-row{grid-template-columns:1fr;gap:6px}
 .dv-leg-stage-card{min-height:75px;padding:9px 6px}
 .dv-leg-stage-card strong{font-size:24px}
 .dv-leg-stage-card span{font-size:9px}
}
@media print{.dv-leg-priorities,.dv-leg-old-facts{break-inside:avoid}.dv-leg-inventory-archive:not([open]){display:none}}

/* Supporting reference details stay available without displacing the transportation lead. */
.dv-legislator-dashboard .dv-leg-old-facts{border:1px solid #DAE6E9;border-radius:6px;background:#F9FBFC;margin:13px 0 18px;padding:11px 13px}
.dv-legislator-dashboard .dv-leg-old-facts>summary{font-size:12px;color:#167C95;font-weight:760;cursor:pointer}
.dv-legislator-dashboard .dv-leg-old-facts>.dv6-dashboard-evidence{margin:14px 0 2px;padding:10px;border:0;box-shadow:none}
.dv-legislator-dashboard .dv-leg-priorities{margin:15px 0 12px}

/* Canonical cross-district hero: overrides legacy Prototype 5 'navy' month-summary rules.
   The older .p4-companion/.p4-dashboard rules use !important, so these exact
   legislator-hero rules intentionally use !important as well. */
#app .dv-legislator-dashboard .month-summary.dv-legislator-hero {
  background:#ffffff !important;
  background-image:none !important;
  color:#1E293B !important;
  border:1px solid #D7E6EA !important;
  border-left:5px solid #167C95 !important;
  border-radius:9px !important;
  box-shadow:none !important;
  padding:24px 25px !important;
  overflow:visible;
}
#app .dv-legislator-dashboard .month-summary.dv-legislator-hero::after{
  content:none !important;
  display:none !important;
}
#app .dv-legislator-dashboard .month-summary.dv-legislator-hero .dv-legislator-hero-copy h2{
  color:#167C95 !important;
  font-size:clamp(23px,2.6vw,33px) !important;
  line-height:1.13 !important;
  font-weight:800 !important;
  margin:7px 0 10px !important;
  letter-spacing:-.025em;
}
#app .dv-legislator-dashboard .month-summary.dv-legislator-hero .dv-legislator-hero-copy p{
  color:#284459 !important;
  font-size:14px;
  line-height:1.5;
}
#app .dv-legislator-dashboard .month-summary.dv-legislator-hero .dv-leg-kicker{
  color:#167C95 !important;
}
#app .dv-legislator-dashboard .month-summary.dv-legislator-hero .dv-leg-qualifier{
  color:#526B78 !important;
  font-size:11px;
  line-height:1.45;
  opacity:1 !important;
}
#app .dv-legislator-dashboard .month-summary.dv-legislator-hero .dv-leg-reference-count{
  color:#0F2644 !important;
}
#app .dv-legislator-dashboard .month-summary.dv-legislator-hero .dv-leg-reference-label{
  color:#294457 !important;
}
@media(max-width:760px){
  #app .dv-legislator-dashboard .month-summary.dv-legislator-hero{
    padding:18px !important;
  }
}


/* District geometry maps use the same cartographic visual grammar as House 69. */
.dv-legislator-dashboard .p4-map.dv-gis-map-card{
  border:1px solid #D6E6EC;
  border-radius:9px;
  padding:20px 23px;
  background:#FFF;
  box-shadow:none;
}
.dv-gis-map-card>h3{
  color:#1F4055;
  font-size:clamp(18px,2vw,23px);
  letter-spacing:-.015em;
  line-height:1.25;
  margin:0 0 14px;
  font-weight:800;
}
.dv-gis-figure{
  background:#EDF4F7;
  margin:0 auto 15px;
  max-width:860px;
  border-radius:4px;
  overflow:hidden;
}
.dv-gis-figure svg{
  display:block;
  width:100%;
  height:auto;
  max-height:540px;
}
.dv-gis-figcaption{
  padding:7px 12px;
  background:#F5F9FA;
  font-size:11px;
  color:#52697B;
}
.dv-gis-legend-heading{
  margin:11px 0 8px;
  font-weight:780;
  font-size:12px;
  color:#36586B;
}
.dv-gis-legend{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px 16px;
  margin:0 0 17px;
  min-width:0;
}
.dv-gis-legend-item{
  display:flex;
  align-items:flex-start;
  gap:9px;
  padding:8px 10px;
  border:1px solid #E2E9EE;
  border-radius:4px;
  background:#FBFDFD;
  min-width:0;
}
.dv-gis-swatch{
  width:20px;
  height:4px;
  margin-top:8px;
  border-radius:2px;
  flex:none;
}
.dv-gis-legend-text{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.dv-gis-legend-text strong{
  font-size:11px;
  line-height:1.35;
  color:#1E3D54;
  font-weight:750;
}
.dv-gis-legend-text small{
  font-size:10px;
  color:#63798A;
}
.dv-gis-legend-text a{
  font-size:10px;
  color:#167C95;
  text-decoration:underline;
  text-underline-offset:2px;
  overflow-wrap:anywhere;
}
.dv-gis-provenance{
  font-size:11px;
  line-height:1.55;
  color:#526F7E;
  margin:13px 0;
}
.dv-gis-sources{
  font-size:11px;
  line-height:1.5;
  color:#526F7E;
  margin:9px 0 0;
}
.dv-gis-sources a{color:#1C526B;text-decoration:underline;text-underline-offset:2px}
.dv-gis-no-projects{grid-column:1/-1;font-size:12px;line-height:1.5;color:#52697B}
@media(max-width:760px){
  .dv-legislator-dashboard .p4-map.dv-gis-map-card{padding:13px 12px}
  .dv-gis-legend{grid-template-columns:1fr}
  .dv-gis-figure svg{max-height:none}
}


/* Historical House 69 map: make the later-source geometry date unmistakable. */
.dv-legislator-dashboard .p4-map .dv-gis-historical-note{
  padding:10px 12px;
  border-left:3px solid #167C95;
  background:#F2F8F9;
  font-size:12px;
  line-height:1.55;
  color:#3A596A;
  margin:8px 0 16px;
}
