/*
  House forecast page standardization layer
  Scope: body.cmep-house-page (/house/)
  Contract: match the finalized homepage/election-night visual system with one
  coherent override file. Keep data/widget behavior intact; avoid chained one-off patches.
*/

body.cmep-house-page{
  --house-bg:#f3f5f8;
  --house-bg-soft:#eef2f7;
  --house-surface:#ffffff;
  --house-surface-2:#f8fafc;
  --house-surface-3:#eef2f7;
  --house-border:#d8dee8;
  --house-border-strong:#b9c3d1;
  --house-text:#172033;
  --house-strong:#08111f;
  --house-muted:#5d6b7f;
  --house-subtle:#7b8798;
  --house-shadow:0 18px 38px rgba(15,23,42,.08);
  --house-shadow-soft:0 8px 20px rgba(15,23,42,.06);
  --house-radius:22px;
  --house-radius-sm:16px;
  --house-shell:1360px;

  --solid-d:#0076BA;
  --likely-d:#00A2FF;
  --lean-d:#56C1FF;
  --toss-up:#929292;
  --lean-r:#FF968D;
  --likely-r:#FF644E;
  --solid-r:#EE220C;
  --flip-gold:#F6CE46;

  --bg-page:var(--house-bg);
  --bg-card:var(--house-surface);
  --bg-card-subtle:var(--house-surface-2);
  --border-subtle:var(--house-border);
  --text-main:var(--house-text);
  --text-muted:var(--house-muted);
  --text-strong:var(--house-strong);
  --shadow-soft:var(--house-shadow);
  --shadow-subtle:var(--house-shadow-soft);

  --bg:var(--house-bg);
  --card:var(--house-surface);
  --card-2:var(--house-surface-2);
  --border:var(--house-border);
  --text:var(--house-text);
  --muted:var(--house-muted);

  --house-pill-h:1.72rem;
  --house-pill-h-lg:1.84rem;
  --house-pill-px:.68rem;
  --house-pill-px-lg:.72rem;
  --house-pill-fs:.72rem;
  --house-pill-weight:850;

  margin:0 !important;
  padding-top:var(--header-offset,0px);
  background:
    radial-gradient(circle at 12% 18%, rgba(100,116,139,.12), transparent 28rem),
    linear-gradient(180deg,var(--house-bg),var(--house-bg-soft)) !important;
  color:var(--house-text) !important;
  color-scheme:light;
}

@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode){
    --house-bg:#050b16;
    --house-bg-soft:#020617;
    --house-surface:#0c1422;
    --house-surface-2:#111b2a;
    --house-surface-3:#162235;
    --house-border:#263347;
    --house-border-strong:#384861;
    --house-text:#d9e3f0;
    --house-strong:#f8fafc;
    --house-muted:#aeb9c8;
    --house-subtle:#8fa0b5;
    --house-shadow:0 22px 50px rgba(0,0,0,.34);
    --house-shadow-soft:0 12px 26px rgba(0,0,0,.26);
    background:
      radial-gradient(circle at 12% 18%, rgba(148,163,184,.12), transparent 32rem),
      linear-gradient(180deg,var(--house-bg),var(--house-bg-soft)) !important;
    color-scheme:dark;
  }
}
html[data-theme="dark"] body.cmep-house-page,
html.dark body.cmep-house-page,
body.cmep-house-page.dark,
body.cmep-house-page.dark-mode{
  --house-bg:#050b16;
  --house-bg-soft:#020617;
  --house-surface:#0c1422;
  --house-surface-2:#111b2a;
  --house-surface-3:#162235;
  --house-border:#263347;
  --house-border-strong:#384861;
  --house-text:#d9e3f0;
  --house-strong:#f8fafc;
  --house-muted:#aeb9c8;
  --house-subtle:#8fa0b5;
  --house-shadow:0 22px 50px rgba(0,0,0,.34);
  --house-shadow-soft:0 12px 26px rgba(0,0,0,.26);
  background:
    radial-gradient(circle at 12% 18%, rgba(148,163,184,.12), transparent 32rem),
    linear-gradient(180deg,var(--house-bg),var(--house-bg-soft)) !important;
  color-scheme:dark;
}
html[data-theme="light"] body.cmep-house-page,
html.light body.cmep-house-page,
body.cmep-house-page.light,
body.cmep-house-page.light-mode{
  --house-bg:#f3f5f8;
  --house-bg-soft:#eef2f7;
  --house-surface:#ffffff;
  --house-surface-2:#f8fafc;
  --house-surface-3:#eef2f7;
  --house-border:#d8dee8;
  --house-border-strong:#b9c3d1;
  --house-text:#172033;
  --house-strong:#08111f;
  --house-muted:#5d6b7f;
  --house-subtle:#7b8798;
  --house-shadow:0 18px 38px rgba(15,23,42,.08);
  --house-shadow-soft:0 8px 20px rgba(15,23,42,.06);
  background:
    radial-gradient(circle at 12% 18%, rgba(100,116,139,.12), transparent 28rem),
    linear-gradient(180deg,var(--house-bg),var(--house-bg-soft)) !important;
  color-scheme:light;
}

body.cmep-house-page *,
body.cmep-house-page *::before,
body.cmep-house-page *::after{box-sizing:border-box;}

/* Header: same visual contract as the finalized homepage. */
body.cmep-house-page .cm-header,
body.cmep-house-page .cm-header header,
body.cmep-house-page header.cm-header,
body.cmep-house-page #cm-header{
  position:sticky !important;
  top:0 !important;
  z-index:50 !important;
  background:var(--house-surface) !important;
  border-bottom:1px solid var(--house-border) !important;
  box-shadow:none !important;
  color:var(--house-text) !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode) .cm-header,
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode) .cm-header header,
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode) header.cm-header,
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode) #cm-header{
    background:var(--house-surface) !important;
    border-bottom-color:var(--house-border) !important;
  }
}
html[data-theme="dark"] body.cmep-house-page .cm-header,
html.dark body.cmep-house-page .cm-header,
body.cmep-house-page.dark .cm-header,
body.cmep-house-page.dark-mode .cm-header,
html[data-theme="dark"] body.cmep-house-page #cm-header,
html.dark body.cmep-house-page #cm-header,
body.cmep-house-page.dark #cm-header,
body.cmep-house-page.dark-mode #cm-header{
  background:var(--house-surface) !important;
  border-bottom-color:var(--house-border) !important;
}
body.cmep-house-page .header-inner{
  max-width:1150px !important;
  padding:.8rem 1rem 1rem !important;
  gap:.55rem !important;
}
body.cmep-house-page .logo-link,
body.cmep-house-page .site-title,
body.cmep-house-page #cm-header a{color:var(--house-strong) !important;}
body.cmep-house-page #cm-nav{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  gap:.45rem !important;
}
body.cmep-house-page #cm-nav a{
  background:transparent !important;
  color:var(--house-muted) !important;
  border:0 !important;
  border-radius:999px !important;
  padding:.42rem .85rem !important;
  font-size:.92rem !important;
  line-height:1.1 !important;
  font-weight:800 !important;
  box-shadow:none !important;
}
body.cmep-house-page #cm-nav a:hover,
body.cmep-house-page #cm-nav a.active,
body.cmep-house-page #cm-nav a.is-active,
body.cmep-house-page #cm-nav a.selected,
body.cmep-house-page #cm-nav a.current,
body.cmep-house-page #cm-nav a[aria-current="page"]{
  background:var(--house-surface-3) !important;
  color:var(--house-strong) !important;
  box-shadow:none !important;
}
@media (max-width:760px){
  body.cmep-house-page .header-inner{
    padding:.58rem .45rem .72rem !important;
    gap:.42rem !important;
  }
  body.cmep-house-page #cm-nav{
    gap:.22rem !important;
  }
  body.cmep-house-page #cm-nav a{
    padding:.38rem .58rem !important;
    font-size:.82rem !important;
  }
}

/* Page shell: same width and gutters as the homepage. */
body.cmep-house-page .house-main{width:100%;min-width:0;}
body.cmep-house-page .container,
body.cmep-house-page .house-top-container{
  width:min(100%,var(--house-shell)) !important;
  max-width:var(--house-shell) !important;
  margin:0 auto !important;
  padding:clamp(14px,2.2vw,30px) clamp(12px,2.4vw,34px) !important;
}
body.cmep-house-page .house-top-container{padding-bottom:0 !important;}

/* Hero. */
body.cmep-house-page .house-hero,
body.cmep-house-page .cmep-page-hero.house-hero{
  width:100% !important;
  max-width:none !important;
  margin:0 auto clamp(18px,2vw,28px) !important;
  padding:clamp(22px,3vw,44px) clamp(18px,4vw,54px) !important;
  border:1px solid var(--house-border) !important;
  border-radius:clamp(22px,2.4vw,34px) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(148,163,184,.16), transparent 34rem),
    linear-gradient(180deg,var(--house-surface),var(--house-surface-2)) !important;
  box-shadow:var(--house-shadow) !important;
  text-align:center !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
}
body.cmep-house-page #house-title,
body.cmep-house-page .house-hero h1{
  display:block !important;
  width:min(100%,980px) !important;
  margin:0 auto !important;
  color:var(--house-strong) !important;
  font-size:clamp(2.1rem,4.4vw,4rem) !important;
  line-height:.96 !important;
  letter-spacing:-.065em !important;
  font-weight:1000 !important;
  text-align:center !important;
  text-wrap:balance;
}
body.cmep-house-page .house-hero__lede{
  display:block !important;
  width:min(100%,860px) !important;
  margin:.82rem auto 0 !important;
  color:var(--house-muted) !important;
  font-size:clamp(.95rem,1.42vw,1.1rem) !important;
  line-height:1.43 !important;
  font-weight:700 !important;
  text-align:center !important;
  text-wrap:balance;
}

/* Cards and section headers. */
body.cmep-house-page .card,
body.cmep-house-page .panel,
body.cmep-house-page .map-card,
body.cmep-house-page .ratings-card,
body.cmep-house-page .changelog-card,
body.cmep-house-page .cmep-card{
  border:1px solid var(--house-border) !important;
  border-radius:clamp(20px,2vw,28px) !important;
  background:
    linear-gradient(180deg,var(--house-surface),var(--house-surface-2)) !important;
  box-shadow:var(--house-shadow) !important;
  color:var(--house-text) !important;
  overflow:hidden;
}
body.cmep-house-page .card{padding:clamp(16px,2vw,28px) !important;margin-bottom:clamp(16px,2vw,28px) !important;}
body.cmep-house-page .card-header,
body.cmep-house-page .section-header,
body.cmep-house-page .cmep-section-header{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  gap:.42rem !important;
  margin:0 auto clamp(14px,1.7vw,22px) !important;
}
body.cmep-house-page .card-header>div,
body.cmep-house-page .section-header>div{width:100%;text-align:center !important;}
body.cmep-house-page .card-title,
body.cmep-house-page .section-title,
body.cmep-house-page .cmep-section-title,
body.cmep-house-page h2{
  margin:0 auto !important;
  color:var(--house-strong) !important;
  font-weight:950 !important;
  letter-spacing:-.035em !important;
  line-height:1.05 !important;
  text-align:center !important;
  text-wrap:balance;
}
body.cmep-house-page .card-title,
body.cmep-house-page .section-title{font-size:clamp(1.38rem,2.25vw,2.1rem) !important;}
body.cmep-house-page .card-subtitle,
body.cmep-house-page .section-subtitle,
body.cmep-house-page .subtle,
body.cmep-house-page .muted{
  max-width:820px !important;
  margin:.25rem auto 0 !important;
  color:var(--house-muted) !important;
  font-size:.94rem !important;
  line-height:1.45 !important;
  text-align:center !important;
}

/* Generic controls. */
body.cmep-house-page button:not(.path-button):not(.maplibregl-ctrl button),
body.cmep-house-page .cm-btn,
body.cmep-house-page .cl-load-btn,
body.cmep-house-page .range-btn,
body.cmep-house-page .changelog-seg button,
body.cmep-house-page .cmep-share-row button{
  min-height:2.25rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  padding:.58rem .86rem;
  border:1px solid var(--house-border);
  border-radius:999px !important;
  background:var(--house-surface-2);
  color:var(--house-muted);
  box-shadow:none !important;
  text-decoration:none;
  font-size:.82rem;
  line-height:1.05;
  font-weight:850;
  letter-spacing:-.01em;
  cursor:pointer;
}
body.cmep-house-page button:not(.path-button):not(.maplibregl-ctrl button):hover,
body.cmep-house-page .cm-btn:hover,
body.cmep-house-page .range-btn:hover,
body.cmep-house-page .changelog-seg button:hover,
body.cmep-house-page .cmep-share-row button:hover{
  background:var(--house-surface) !important;
  color:var(--house-strong) !important;
  border-color:var(--house-border-strong) !important;
}
body.cmep-house-page .changelog-seg,
body.cmep-house-page .segmented,
body.cmep-house-page .control-seg{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:.18rem !important;
  padding:.22rem !important;
  border:1px solid var(--house-border) !important;
  border-radius:999px !important;
  background:var(--house-surface-2) !important;
}
body.cmep-house-page .changelog-seg button.active,
body.cmep-house-page .changelog-seg button[aria-pressed="true"],
body.cmep-house-page .changelog-seg button[aria-selected="true"],
body.cmep-house-page .segmented button.active,
body.cmep-house-page .control-seg button.active{
  background:var(--house-strong) !important;
  border-color:var(--house-strong) !important;
  color:var(--house-surface) !important;
}

/* House arc layout: no horizontal scroll, no masked blank space. */
body.cmep-house-page .house-control-card{overflow:visible !important;}
body.cmep-house-page #cmep-house-arc-native{
  container-type:inline-size;
  width:100% !important;
  max-width:100% !important;
  margin:0 auto !important;
  overflow:visible !important;
}
body.cmep-house-page #cmep-house-arc-native .legend{
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  align-items:center !important;
  gap:.42rem !important;
  margin:.1rem auto .65rem !important;
}
body.cmep-house-page #cmep-house-arc-native .arc-wrap{
  width:min(100%,1040px) !important;
  margin:.25rem auto 0 !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  justify-content:center !important;
  gap:clamp(16px,3vw,40px) !important;
  overflow:visible !important;
  min-width:0 !important;
  min-height:0 !important;
  padding:0 !important;
}
body.cmep-house-page #cmep-house-arc-native .arc-wrap svg{
  display:block !important;
  width:100% !important;
  max-width:860px !important;
  height:auto !important;
  aspect-ratio:360 / 190 !important;
  margin:0 auto !important;
  overflow:visible !important;
}
body.cmep-house-page #cmep-house-arc-native #cmep-house-arc-path-controls{
  position:static !important;
  transform:none !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  align-self:center !important;
  gap:24px !important;
  margin:0 !important;
  padding:0 !important;
  pointer-events:none !important;
}
body.cmep-house-page #cmep-house-arc-native .path-button{
  position:relative !important;
  width:120px !important;
  height:120px !important;
  flex:0 0 120px !important;
  border-radius:50% !important;
  border:4px solid rgba(255,255,255,.9) !important;
  color:#fff !important;
  box-shadow:var(--shadow-soft) !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.16rem !important;
  padding:.76rem !important;
  font-size:.9rem !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  text-align:center !important;
  cursor:pointer !important;
  pointer-events:auto !important;
  white-space:normal !important;
  transition:transform var(--transition-med, 220ms cubic-bezier(.22,.61,.36,1)), box-shadow var(--transition-med, 220ms cubic-bezier(.22,.61,.36,1)), background-color var(--transition-med, 220ms cubic-bezier(.22,.61,.36,1)), border-color var(--transition-med, 220ms cubic-bezier(.22,.61,.36,1)), color var(--transition-med, 220ms cubic-bezier(.22,.61,.36,1)) !important;
}
body.cmep-house-page #cmep-house-arc-native .path-button.path-dem{background:var(--solid-d) !important;}
body.cmep-house-page #cmep-house-arc-native .path-button.path-gop{background:var(--solid-r) !important;}
body.cmep-house-page #cmep-house-arc-native .path-button:hover{transform:translateY(-1px) scale(1.02) !important;box-shadow:0 22px 45px rgba(15,23,42,.18) !important;}
body.cmep-house-page #cmep-house-arc-native .path-button.active{box-shadow:0 0 0 2px rgba(15,23,42,.15) !important;}
body.cmep-house-page #cmep-house-arc-native .path-button.path-dem.active{background:color-mix(in srgb,var(--solid-d) 14%,transparent) !important;border-color:var(--solid-d) !important;color:var(--solid-d) !important;}
body.cmep-house-page #cmep-house-arc-native .path-button.path-gop.active{background:color-mix(in srgb,var(--solid-r) 14%,transparent) !important;border-color:var(--solid-r) !important;color:var(--solid-r) !important;}
@supports not (background: color-mix(in srgb, red 10%, transparent)){
  body.cmep-house-page #cmep-house-arc-native .path-button.path-dem.active{background:rgba(0,118,186,.12) !important;}
  body.cmep-house-page #cmep-house-arc-native .path-button.path-gop.active{background:rgba(238,34,12,.12) !important;}
}
body.cmep-house-page #cmep-house-arc-native .path-button span.label{
  display:block !important;
  width:100% !important;
  pointer-events:none !important;
  letter-spacing:.03em !important;
  white-space:normal !important;
  overflow-wrap:normal !important;
  text-align:center !important;
}
body.cmep-house-page #cmep-house-arc-native .path-button span.close-icon{
  display:none !important;
  position:static !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  font-size:1.26rem !important;
  line-height:.9 !important;
  font-weight:900 !important;
  pointer-events:none !important;
}
body.cmep-house-page #cmep-house-arc-native .path-button.active span.label{display:block !important;}
body.cmep-house-page #cmep-house-arc-native .path-button.active span.close-icon{display:block !important;}
body.cmep-house-page #cmep-house-arc-native :where(.path-explainer:empty,.path-banner:empty){display:none !important;min-height:0 !important;height:0 !important;margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;}
body.cmep-house-page #cmep-house-arc-native .path-banner:not(:empty){display:flex !important;justify-content:center !important;margin:.5rem auto !important;}
body.cmep-house-page #cmep-house-arc-native .path-explainer:not(:empty){display:block !important;max-width:780px !important;margin:.7rem auto 0 !important;text-align:center !important;}
@media (max-width:900px), (hover:none), (pointer:coarse){
  body.cmep-house-page #cmep-house-arc-native .arc-wrap{display:flex !important;flex-direction:column !important;gap:16px !important;width:100% !important;}
  body.cmep-house-page #cmep-house-arc-native #cmep-house-arc-path-controls{flex-direction:row !important;gap:16px !important;margin-top:8px !important;}
  body.cmep-house-page #cmep-house-arc-native .path-button{width:96px !important;height:96px !important;flex-basis:96px !important;font-size:.8rem !important;border-width:4px !important;}
  body.cmep-house-page #cmep-house-arc-native .path-button span.close-icon{font-size:1.12rem !important;}
}
@media (max-width:420px){
  body.cmep-house-page #cmep-house-arc-native .path-button{width:84px !important;height:84px !important;flex-basis:84px !important;font-size:.75rem !important;border-width:3px !important;}
}

body.cmep-house-page #cmep-house-arc-native .mobile-path-majority{display:none;}
@media (max-width:900px), (hover:none), (pointer:coarse){
  body.cmep-house-page #cmep-house-arc-native .arc-wrap{display:flex !important;flex-direction:column !important;gap:16px !important;width:100% !important;}
  body.cmep-house-page #cmep-house-arc-native #cmep-house-arc-path-controls{flex-direction:row !important;gap:16px !important;margin-top:8px !important;}
  body.cmep-house-page #cmep-house-arc-native .path-button{width:96px !important;height:96px !important;flex-basis:96px !important;font-size:.8rem !important;border-width:4px !important;}
  body.cmep-house-page #cmep-house-arc-native .path-button span.close-icon{font-size:1.12rem !important;}
}
@media (max-width:420px){
  body.cmep-house-page #cmep-house-arc-native .path-button{width:84px !important;height:84px !important;flex-basis:84px !important;font-size:.75rem !important;border-width:3px !important;}
}

/* Pill contract: homepage standard, applied once across House legends, tooltips, changelog, buckets, and district cards. */
body.cmep-house-page{
  --house-pill-h:1.72rem;
  --house-pill-h-lg:1.84rem;
  --house-pill-px:.68rem;
  --house-pill-px-lg:.72rem;
  --house-pill-fs:.72rem;
  --house-pill-lh:1;
  --house-pill-weight:850;
}
body.cmep-house-page :where(
  .pill,
  .pill-neutral,
  .legend-pill,
  .legend-item,
  .seat-road-legend .legend-pill,
  .cl-pill,
  .ct-chip,
  .rating-pill,
  .race-rating-pill,
  .path-pill,
  .inc-D-pill,
  .inc-R-pill,
  .pill-dem,
  .pill-rep,
  .pill-d,
  .pill-r,
  .pill.D,
  .pill.R,
  .flip-pill,
  .pill-flip
){
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:var(--house-pill-h) !important;
  padding:.39rem var(--house-pill-px) !important;
  border-radius:999px !important;
  border:1px solid transparent !important;
  font-size:var(--house-pill-fs) !important;
  line-height:var(--house-pill-lh) !important;
  font-weight:var(--house-pill-weight) !important;
  letter-spacing:.01em !important;
  white-space:nowrap !important;
  text-decoration:none !important;
  box-shadow:none !important;
  vertical-align:middle !important;
}
body.cmep-house-page :where(
  .legend-item.leg-no-election-d,
  .legend-item.leg-no-election-r,
  .legend-pill.noel-d,
  .legend-pill.noel-r,
  .pill.noel-d,
  .pill.noel-r,
  .pill.no-election,
  .ct-chip.no-election,
  .ct-chip.no-race,
  .ct-chip.map-no-election,
  .ct-chip[class*="no-election"]
){
  min-height:var(--house-pill-h-lg) !important;
  padding:.38rem var(--house-pill-px-lg) !important;
  border-width:2px !important;
}
body.cmep-house-page :where(
  #cmep-house-arc-tooltip .ct-chip.no-election,
  #cmep-house-national-map-tooltip .ct-chip.no-election,
  #cmep-house-national-map-tooltip .ct-chip.no-race,
  #cmep-house-national-map-tooltip .ct-chip.map-no-election,
  #cmep-global-tooltip .ct-chip.no-election,
  #cmep-global-tooltip .ct-chip.no-race,
  .cmep-site-tooltip .ct-chip.no-election,
  .cmep-site-tooltip .ct-chip.no-race,
  .map-tooltip .ct-chip.no-election,
  .chart-tooltip .ct-chip.no-election,
  .pill.no-election
){
  background:#475569 !important;
  background-color:#475569 !important;
  background-image:none !important;
  border-color:#475569 !important;
  color:#fff !important;
  text-transform:none !important;
  text-shadow:none !important;
}
body.cmep-house-page :where(.legend-item.leg-no-election-d,.legend-pill.noel-d,.pill.noel-d){
  background:var(--solid-d) !important;
  border-color:var(--toss-up) !important;
  color:#fff !important;
}
body.cmep-house-page :where(.legend-item.leg-no-election-r,.legend-pill.noel-r,.pill.noel-r){
  background:var(--solid-r) !important;
  border-color:var(--toss-up) !important;
  color:#fff !important;
}
body.cmep-house-page :where(.solid-D,.rating-pill.solid-D,.race-rating-pill.solid-D,.pill.solid-D,.cl-pill.solid-D,.ct-chip.solid-D){background:var(--solid-d) !important;color:#fff !important;}
body.cmep-house-page :where(.likely-D,.rating-pill.likely-D,.race-rating-pill.likely-D,.pill.likely-D,.cl-pill.likely-D,.ct-chip.likely-D){background:var(--likely-d) !important;color:#fff !important;}
body.cmep-house-page :where(.lean-D,.rating-pill.lean-D,.race-rating-pill.lean-D,.pill.lean-D,.cl-pill.lean-D,.ct-chip.lean-D){background:var(--lean-d) !important;color:#fff !important;}
body.cmep-house-page :where(.toss-up,.rating-pill.toss-up,.race-rating-pill.toss-up,.pill.toss-up,.cl-pill.toss-up,.ct-chip.toss-up){background:var(--toss-up) !important;color:#fff !important;}
body.cmep-house-page :where(.lean-R,.rating-pill.lean-R,.race-rating-pill.lean-R,.pill.lean-R,.cl-pill.lean-R,.ct-chip.lean-R){background:var(--lean-r) !important;color:#fff !important;}
body.cmep-house-page :where(.likely-R,.rating-pill.likely-R,.race-rating-pill.likely-R,.pill.likely-R,.cl-pill.likely-R,.ct-chip.likely-R){background:var(--likely-r) !important;color:#fff !important;}
body.cmep-house-page :where(.solid-R,.rating-pill.solid-R,.race-rating-pill.solid-R,.pill.solid-R,.cl-pill.solid-R,.ct-chip.solid-R){background:var(--solid-r) !important;color:#fff !important;}
body.cmep-house-page :where(.inc-D-pill,.pill-dem,.pill-d,.pill.d,.pill.D){background:var(--solid-d) !important;color:#fff !important;border-color:transparent !important;}
body.cmep-house-page :where(.inc-R-pill,.pill-rep,.pill-r,.pill.R){background:var(--solid-r) !important;color:#fff !important;border-color:transparent !important;}
body.cmep-house-page :where(.pill-neutral){background:var(--house-surface-3) !important;color:var(--house-strong) !important;border-color:var(--house-border) !important;}
body.cmep-house-page :where(.flip-pill,.pill-flip){background:var(--flip-gold) !important;color:#111827 !important;border-color:transparent !important;text-transform:uppercase !important;letter-spacing:.06em !important;}
body.cmep-house-page :where(.majority-pill,.legend-item.majority-pill,.legend-item.leg-majority,.legend-pill.majority-pill){
  min-height:var(--house-pill-h) !important;
  padding:.37rem var(--house-pill-px-lg) !important;
  gap:.34rem !important;
  font-size:var(--house-pill-fs) !important;
  line-height:var(--house-pill-lh) !important;
}
body.cmep-house-page :where(.majority-pill .ring,.legend-item.majority-pill .ring,.legend-item.leg-majority .ring,.legend-pill.majority-pill .ring){
  flex:0 0 auto !important;
  width:.72rem !important;
  height:.72rem !important;
  border:2px solid var(--flip-gold) !important;
  border-radius:999px !important;
}
body.cmep-house-page .seat-road-legend .legend-pill.majority-pill{display:none !important;}
body.cmep-house-page :where(#cmep-house-arc-tooltip .ct-chip,#cmep-house-national-map-tooltip .ct-chip,#cmep-global-tooltip .ct-chip,.cmep-site-tooltip .ct-chip,.chart-tooltip .ct-chip){
  width:auto !important;
  min-width:auto !important;
  max-width:100% !important;
  margin:0 !important;
}
@media (max-width:720px){
  body.cmep-house-page{--house-pill-h:1.64rem;--house-pill-h-lg:1.76rem;--house-pill-px:.58rem;--house-pill-px-lg:.62rem;--house-pill-fs:.68rem;}
}

/* Tooltips. */
body.cmep-house-page #cmep-house-arc-native #cmep-house-arc-tooltip,
body.cmep-house-page > #cmep-house-arc-tooltip.house-arc-tooltip,
body.cmep-house-page #cmep-house-national-map-tooltip,
body.cmep-house-page #cmep-global-tooltip,
body.cmep-house-page .chart-tooltip{
  z-index:9999 !important;
  max-width:min(340px,calc(100vw - 18px)) !important;
  border:1px solid var(--house-border) !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.94) !important;
  color:var(--house-text) !important;
  box-shadow:0 18px 42px rgba(15,23,42,.18) !important;
  backdrop-filter:blur(12px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(12px) saturate(135%) !important;
  overflow:visible !important;
}
body.cmep-house-page #cmep-house-arc-native #cmep-house-arc-tooltip .ct-chip,
body.cmep-house-page > #cmep-house-arc-tooltip.house-arc-tooltip .ct-chip,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip{width:auto !important;min-width:auto !important;max-width:100% !important;margin:0 !important;}
body.cmep-house-page #cmep-house-arc-native #cmep-house-arc-tooltip .ct-name,
body.cmep-house-page > #cmep-house-arc-tooltip.house-arc-tooltip .ct-name,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-name{white-space:normal !important;overflow-wrap:anywhere !important;}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode) #cmep-house-arc-native #cmep-house-arc-tooltip,
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode) #cmep-house-national-map-tooltip,
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode) #cmep-global-tooltip,
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode) .chart-tooltip{background:rgba(12,20,34,.94) !important;box-shadow:0 18px 46px rgba(0,0,0,.42) !important;}
}

/* All Districts / bucket cards: neutral cards; color belongs in pills and probability bars. */
body.cmep-house-page .cmep-collapse{
  border:1px solid var(--house-border) !important;
  border-radius:18px !important;
  background:var(--house-surface-2) !important;
  overflow:hidden !important;
}
body.cmep-house-page .cmep-collapse-summary{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:1rem !important;
  padding:1rem 1.1rem !important;
  cursor:pointer !important;
  text-align:left !important;
}
body.cmep-house-page .cmep-collapse-left{display:flex !important;flex-direction:column !important;align-items:flex-start !important;text-align:left !important;gap:.18rem !important;}
body.cmep-house-page .cmep-collapse-title{font-weight:900 !important;color:var(--house-strong) !important;letter-spacing:-.02em !important;}
body.cmep-house-page .cmep-collapse-subtitle{color:var(--house-muted) !important;font-size:.86rem !important;}
body.cmep-house-page .cmep-collapse-right{display:flex !important;align-items:center !important;gap:.6rem !important;}
body.cmep-house-page .district-list,
body.cmep-house-page .district-card-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)) !important;
  gap:.75rem !important;
  width:100% !important;
  margin-top:.75rem !important;
}
body.cmep-house-page .district-card,
body.cmep-house-page a.district-card,
body.cmep-house-page .district-card{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  gap:.65rem !important;
  padding:.95rem !important;
  border:1px solid var(--house-border) !important;
  border-radius:18px !important;
  background:var(--house-surface-2) !important;
  box-shadow:var(--house-shadow-soft) !important;
  color:var(--house-text) !important;
  text-decoration:none !important;
  overflow:hidden !important;
}
body.cmep-house-page .district-card::before,
body.cmep-house-page a.district-card::before{display:none !important;content:none !important;}
body.cmep-house-page .district-card:hover,
body.cmep-house-page a.district-card:hover{background:var(--house-surface) !important;border-color:var(--house-border-strong) !important;transform:translateY(-1px);}
body.cmep-house-page .district-header{display:flex !important;align-items:flex-start !important;justify-content:space-between !important;gap:.65rem !important;flex-wrap:wrap !important;}
body.cmep-house-page .district-name{font-weight:900 !important;color:var(--house-strong) !important;letter-spacing:-.02em !important;line-height:1.15 !important;}
body.cmep-house-page .district-right{display:flex !important;align-items:center !important;justify-content:flex-end !important;gap:.42rem !important;flex-wrap:wrap !important;}
body.cmep-house-page .district-subheader{display:flex !important;align-items:center !important;gap:.35rem !important;flex-wrap:wrap !important;color:var(--house-muted) !important;font-size:.84rem !important;}
body.cmep-house-page .pill.inc-D-pill,
body.cmep-house-page .inc-D-pill{background:var(--solid-d) !important;color:#fff !important;border-color:transparent !important;}
body.cmep-house-page .pill.inc-R-pill,
body.cmep-house-page .inc-R-pill{background:var(--solid-r) !important;color:#fff !important;border-color:transparent !important;}
body.cmep-house-page .flip-pill,
body.cmep-house-page .pill-flip{background:var(--flip-gold) !important;color:#111827 !important;border-color:transparent !important;text-transform:uppercase !important;}
body.cmep-house-page .prob-row{display:grid !important;grid-template-columns:auto minmax(120px,1fr) auto !important;align-items:center !important;gap:.5rem !important;width:100% !important;flex-wrap:nowrap !important;}
body.cmep-house-page .prob-label{font-size:.75rem !important;font-weight:800 !important;white-space:nowrap !important;}
body.cmep-house-page .prob-label-d{color:var(--solid-d) !important;}
body.cmep-house-page .prob-label-r{color:var(--solid-r) !important;margin-left:0 !important;}
body.cmep-house-page .prob-bar-wrapper{min-width:0 !important;width:100% !important;display:block !important;}
body.cmep-house-page .prob-bar{position:relative !important;display:flex !important;width:100% !important;height:.72rem !important;border-radius:999px !important;overflow:hidden !important;background:var(--house-surface) !important;border:1px solid var(--house-border) !important;}
body.cmep-house-page .prob-bar-d{display:block !important;height:100% !important;background:var(--solid-d) !important;float:none !important;}
body.cmep-house-page .prob-bar-r{display:block !important;height:100% !important;background:var(--solid-r) !important;float:none !important;margin-left:auto !important;}

/* Map, changelog, and minor page cleanups. */
body.cmep-house-page .map-wrapper,
body.cmep-house-page .map-container,
body.cmep-house-page #map,
body.cmep-house-page #house-map{border-radius:18px !important;overflow:hidden !important;}
body.cmep-house-page .changelog-controls,
body.cmep-house-page .cl-controls{display:flex !important;justify-content:center !important;align-items:center !important;gap:.6rem !important;flex-wrap:wrap !important;text-align:center !important;}
body.cmep-house-page .cl-entry{border:1px solid var(--house-border) !important;border-radius:16px !important;background:var(--house-surface-2) !important;color:var(--house-text) !important;text-decoration:none !important;}
body.cmep-house-page .cl-entry:hover{background:var(--house-surface) !important;border-color:var(--house-border-strong) !important;}
body.cmep-house-page .cmep-share-row{display:flex !important;justify-content:center !important;margin:.2rem auto .8rem !important;}

@media (max-width:720px){
  body.cmep-house-page .container,
  body.cmep-house-page .house-top-container{padding:14px 12px !important;}
  body.cmep-house-page .card{padding:15px !important;}
  body.cmep-house-page .card-header,
  body.cmep-house-page .section-header{margin-bottom:14px !important;}
  body.cmep-house-page .changelog-controls,
  body.cmep-house-page .cl-controls{justify-content:flex-start !important;overflow-x:auto !important;flex-wrap:nowrap !important;padding-bottom:.12rem !important;scrollbar-width:none !important;}
  body.cmep-house-page .changelog-controls::-webkit-scrollbar,
  body.cmep-house-page .cl-controls::-webkit-scrollbar{display:none;}
  body.cmep-house-page .cmep-collapse-summary{padding:.9rem !important;}
  body.cmep-house-page .prob-row{grid-template-columns:1fr !important;gap:.35rem !important;}
  body.cmep-house-page .prob-label-r{text-align:left !important;}
}

/* Arc and U.S. map tooltip parity.
   Keep the arc tooltip in its native absolute-positioning model; the arc script
   writes left/top values relative to the arc container. Do not convert it to
   fixed positioning. */
body.cmep-house-page #cmep-house-arc-native #cmep-house-arc-tooltip.house-arc-tooltip:not(.mobile){
  /* Homepage-equivalent desktop behavior: pointer-following viewport tooltip.
     Do not constrain this to the arc card; the inline arc script writes fixed left/top values. */
  position:fixed !important;
  transform:none !important;
  right:auto !important;
  bottom:auto !important;
  z-index:9999 !important;
  pointer-events:none !important;
}

/* All Districts by State: compact closed buckets, full-width open bucket, cleaner cards. */
body.cmep-house-page #cmep-house-by-state-card .card-header,
body.cmep-house-page #cmep-house-by-state-card .card-header > div{
  text-align:center !important;
  align-items:center !important;
  justify-content:center !important;
}
body.cmep-house-page .cmep-by-state-controls{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:.75rem !important;
  flex-wrap:wrap !important;
  margin:0 auto 1rem !important;
  text-align:center !important;
}
body.cmep-house-page .cmep-by-state-filter{
  width:min(100%,420px) !important;
  min-height:2.6rem !important;
  border-radius:999px !important;
  border:1px solid var(--house-border) !important;
  background:var(--house-surface-2) !important;
  color:var(--house-strong) !important;
  padding:.65rem 1rem !important;
  font-weight:750 !important;
  outline:none !important;
}
body.cmep-house-page .cmep-by-state-filter:focus{
  border-color:var(--house-border-strong) !important;
  box-shadow:0 0 0 3px rgba(100,116,139,.16) !important;
}
body.cmep-house-page .cmep-by-state-meta{
  color:var(--house-muted) !important;
  font-size:.84rem !important;
  font-weight:850 !important;
}
body.cmep-house-page .cmep-by-state-list{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr)) !important;
  gap:.72rem !important;
  align-items:start !important;
}
body.cmep-house-page .cmep-by-state-list .cmep-state[open]{
  grid-column:1 / -1 !important;
}
body.cmep-house-page .cmep-state .cmep-collapse-summary{
  min-height:4.1rem !important;
  border-radius:18px !important;
}
body.cmep-house-page .cmep-state[open] .cmep-collapse-summary{
  border-bottom:1px solid var(--house-border) !important;
  border-bottom-left-radius:0 !important;
  border-bottom-right-radius:0 !important;
  background:var(--house-surface) !important;
}
body.cmep-house-page .cmep-collapse-body{
  padding:1rem !important;
  background:linear-gradient(180deg,var(--house-surface),var(--house-surface-2)) !important;
}
body.cmep-house-page .cmep-collapse-chevron{
  width:.68rem !important;
  height:.68rem !important;
  border-right:2px solid var(--house-muted) !important;
  border-bottom:2px solid var(--house-muted) !important;
  transform:rotate(45deg) translateY(-2px) !important;
  transition:transform 160ms ease !important;
}
body.cmep-house-page details[open] > summary .cmep-collapse-chevron{
  transform:rotate(225deg) translate(-1px,-1px) !important;
}
body.cmep-house-page .district-list{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr)) !important;
  gap:.85rem !important;
  margin-top:0 !important;
}
body.cmep-house-page .district-card,
body.cmep-house-page a.district-card{
  padding:1rem !important;
  gap:.78rem !important;
  background:var(--house-surface-2) !important;
  border-color:var(--house-border) !important;
}
body.cmep-house-page .district-card .rating-pill,
body.cmep-house-page a.district-card .rating-pill{
  border-radius:999px !important;
  padding:.39rem var(--house-pill-px) !important;
  min-height:var(--house-pill-h) !important;
  box-shadow:none !important;
}
body.cmep-house-page .district-subheader:empty{display:none !important;}
body.cmep-house-page .prob-row{
  grid-template-columns:auto minmax(150px,1fr) auto !important;
}
body.cmep-house-page .prob-bar{
  height:.78rem !important;
  background:var(--house-surface) !important;
}
@media (max-width:720px){
  body.cmep-house-page .cmep-by-state-list{grid-template-columns:1fr !important;}
  body.cmep-house-page .cmep-collapse-body{padding:.85rem !important;}
  body.cmep-house-page .prob-row{grid-template-columns:1fr !important;}
}


/* House parity finalization: map old House module class names into the same homepage/Senate contract. */
body.cmep-house-page .container{padding-top:0 !important;}
body.cmep-house-page .house-control-card .card-header{margin-bottom:10px !important;}
body.cmep-house-page #cmep-house-arc-native{position:relative !important;}
body.cmep-house-page #cmep-house-arc-native .arc-wrap{overflow:visible !important;}
body.cmep-house-page #cmep-house-arc-tooltip{z-index:60 !important;}
body.cmep-house-page .cmep-house-national-map-legend.legend,
body.cmep-house-page #cmep-house-arc-native .legend{justify-content:center !important;}
body.cmep-house-page .find-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;text-align:left;}
body.cmep-house-page .find-text{margin:0;color:var(--house-muted);font-weight:700;line-height:1.5;}
body.cmep-house-page #cmep-house-national-map-card .card-body{display:grid;gap:16px;}
body.cmep-house-page .cmep-house-national-map-shell{border-color:var(--house-border) !important;border-radius:var(--house-radius-sm) !important;background:var(--house-surface) !important;box-shadow:var(--house-shadow-soft) !important;}
body.cmep-house-page .cmep-house-national-inset-card{border-color:var(--house-border) !important;background:var(--house-surface-2) !important;box-shadow:var(--house-shadow-soft) !important;}
body.cmep-house-page .cl-controls{display:flex !important;justify-content:center !important;align-items:center !important;gap:12px !important;}
body.cmep-house-page .cl-seg{display:inline-flex !important;justify-content:center !important;align-items:center !important;gap:4px !important;padding:4px !important;border:1px solid var(--house-border) !important;border-radius:999px !important;background:var(--house-surface-2) !important;}
body.cmep-house-page .cl-seg button{border:0 !important;background:transparent !important;color:var(--house-muted) !important;border-radius:999px !important;min-height:34px !important;padding:.48rem .86rem !important;font-size:.82rem !important;font-weight:850 !important;}
body.cmep-house-page .cl-seg button.active{background:var(--house-strong) !important;color:var(--house-surface) !important;}
body.cmep-house-page .district-list{display:grid !important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr)) !important;gap:12px !important;}
body.cmep-house-page .district-card{min-width:0 !important;}
body.cmep-house-page .district-card .prob-bar,
body.cmep-house-page .prob-bar-wrapper,
body.cmep-house-page .prob-bar{height:10px !important;border-radius:999px !important;overflow:hidden !important;background:color-mix(in srgb,var(--house-surface-3) 82%,transparent) !important;}
body.cmep-house-page .prob-bar-d{background:var(--solid-d) !important;height:100% !important;float:left !important;}
body.cmep-house-page .prob-bar-r{background:var(--solid-r) !important;height:100% !important;float:left !important;}
body.cmep-house-page .pill-dem,
body.cmep-house-page .pill.d,
body.cmep-house-page .pill.D{background:var(--solid-d) !important;color:#fff !important;border-color:transparent !important;}
body.cmep-house-page .pill-rep,
body.cmep-house-page .pill-r,
body.cmep-house-page .pill.R{background:var(--solid-r) !important;color:#fff !important;border-color:transparent !important;}
body.cmep-house-page .leg-majority .ring,
body.cmep-house-page .majority-pill .ring{width:.72rem !important;height:.72rem !important;border:2px solid var(--flip-gold) !important;border-radius:999px !important;}
@media (max-width:760px){
  body.cmep-house-page .find-row{justify-content:center;text-align:center;}
}

/* Keep House arc tooltip behavior identical to the finalized homepage implementation. */
body.cmep-house-page #cmep-house-arc-native{position:static !important;}
body.cmep-house-page #cmep-house-arc-tooltip.house-arc-tooltip:not(.mobile),
body.cmep-house-page #cmep-house-arc-tooltip:not(.mobile){
  position:absolute !important;
  transform:none !important;
  right:auto !important;
  bottom:auto !important;
  z-index:9999 !important;
  pointer-events:none !important;
}


/* House pill standard audit tail: route any remaining one-off pill names back through the same contract. */
body.cmep-house-page :where(.district-right > .rating-pill,.cl-pills .cl-pill,.cmep-collapse-summary .pill,.path-banner .path-pill){
  min-height:var(--house-pill-h) !important;
  padding:.39rem var(--house-pill-px) !important;
  font-size:var(--house-pill-fs) !important;
  line-height:var(--house-pill-lh,1) !important;
  font-weight:var(--house-pill-weight) !important;
  border-radius:999px !important;
  box-shadow:none !important;
}


/* CMEP 2026-06-27: final House pill parity correction.
   Cover MapLibre desktop popups, mobile map tooltip, seat-count Shadow-DOM classes, and pivotal pills with the same homepage pill contract. */
body.cmep-house-page,
body.cmep-house-page .maplibregl-popup-content{
  --house-pill-h:1.72rem;
  --house-pill-h-lg:1.84rem;
  --house-pill-px:.68rem;
  --house-pill-px-lg:.72rem;
  --house-pill-fs:.72rem;
  --house-pill-weight:850;
}
body.cmep-house-page :where(
  .maplibregl-popup-content .ct-chip,
  .maplibregl-popup-content .pill,
  .maplibregl-popup-content .rating-pill,
  #cmep-house-national-map-tooltip .ct-chip,
  #cmep-house-national-map-tooltip .pill,
  #cmep-house-arc-tooltip .ct-chip,
  .seat-road-legend .legend-pill,
  #cmep-house-seats-native .legend-pill,
  .district-card .pill,
  .district-card .rating-pill,
  .district-card .pill-flip,
  .district-card .flip-pill,
  .cmep-collapse-summary .pill,
  .cl-pill
){
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:var(--house-pill-h) !important;
  padding:.39rem var(--house-pill-px) !important;
  border-radius:999px !important;
  border:1px solid transparent !important;
  font-size:var(--house-pill-fs) !important;
  line-height:1 !important;
  font-weight:var(--house-pill-weight) !important;
  letter-spacing:.01em !important;
  white-space:nowrap !important;
  box-shadow:none !important;
  text-decoration:none !important;
}
body.cmep-house-page :where(
  .maplibregl-popup-content .ct-chip.no-election,
  .maplibregl-popup-content .ct-chip.no-race,
  .maplibregl-popup-content .ct-chip.map-no-election,
  #cmep-house-national-map-tooltip .ct-chip.no-election,
  #cmep-house-national-map-tooltip .ct-chip.no-race,
  #cmep-house-national-map-tooltip .ct-chip.map-no-election,
  #cmep-house-arc-tooltip .ct-chip.no-election,
  .pill.no-election
){
  min-height:var(--house-pill-h-lg) !important;
  padding:.38rem var(--house-pill-px-lg) !important;
  border:2px solid #475569 !important;
  background:#475569 !important;
  background-color:#475569 !important;
  background-image:none !important;
  color:#fff !important;
  font-size:var(--house-pill-fs) !important;
  font-weight:var(--house-pill-weight) !important;
  line-height:1 !important;
  text-transform:none !important;
  text-shadow:none !important;
  box-shadow:none !important;
}
body.cmep-house-page :where(.maplibregl-popup-content .ct-chip.solid-D,#cmep-house-national-map-tooltip .ct-chip.solid-D,.seat-road-legend .legend-pill.solid-D){background:var(--solid-d) !important;color:#fff !important;}
body.cmep-house-page :where(.maplibregl-popup-content .ct-chip.likely-D,#cmep-house-national-map-tooltip .ct-chip.likely-D,.seat-road-legend .legend-pill.likely-D){background:var(--likely-d) !important;color:#fff !important;}
body.cmep-house-page :where(.maplibregl-popup-content .ct-chip.lean-D,#cmep-house-national-map-tooltip .ct-chip.lean-D,.seat-road-legend .legend-pill.lean-D){background:var(--lean-d) !important;color:#fff !important;}
body.cmep-house-page :where(.maplibregl-popup-content .ct-chip.toss-up,#cmep-house-national-map-tooltip .ct-chip.toss-up,.seat-road-legend .legend-pill.toss-up){background:var(--toss-up) !important;color:#fff !important;}
body.cmep-house-page :where(.maplibregl-popup-content .ct-chip.lean-R,#cmep-house-national-map-tooltip .ct-chip.lean-R,.seat-road-legend .legend-pill.lean-R){background:var(--lean-r) !important;color:#fff !important;}
body.cmep-house-page :where(.maplibregl-popup-content .ct-chip.likely-R,#cmep-house-national-map-tooltip .ct-chip.likely-R,.seat-road-legend .legend-pill.likely-R){background:var(--likely-r) !important;color:#fff !important;}
body.cmep-house-page :where(.maplibregl-popup-content .ct-chip.solid-R,#cmep-house-national-map-tooltip .ct-chip.solid-R,.seat-road-legend .legend-pill.solid-R){background:var(--solid-r) !important;color:#fff !important;}
body.cmep-house-page :where(.pill-flip,.flip-pill,.pill-pivotal,.pivotal-pill){
  min-height:var(--house-pill-h) !important;
  padding:.39rem var(--house-pill-px) !important;
  background:var(--flip-gold) !important;
  border-color:transparent !important;
  color:#111827 !important;
  font-size:var(--house-pill-fs) !important;
  font-weight:900 !important;
  line-height:1 !important;
  letter-spacing:.06em !important;
  text-transform:uppercase !important;
}
@media (max-width:720px){
  body.cmep-house-page,
  body.cmep-house-page .maplibregl-popup-content{--house-pill-h:1.64rem;--house-pill-h-lg:1.76rem;--house-pill-px:.58rem;--house-pill-px-lg:.62rem;--house-pill-fs:.68rem;}
}


/* CMEP 2026-06-27: direct House map-tooltip and seat-count pill parity.
   These selectors intentionally target the two paths that were still escaping the homepage pill contract:
   1) MapLibre National House Map popups (.cmep-house-national-popup)
   2) the mobile/fixed National House Map tooltip (#cmep-house-national-map-tooltip)
   Seat-count Shadow DOM styling lives beside the linked house__index__style4.css in house/index.html. */
body.cmep-house-page .cmep-house-national-popup,
body.cmep-house-page #cmep-house-national-map-tooltip{
  --house-pill-h:1.72rem;
  --house-pill-h-lg:1.84rem;
  --house-pill-px:.68rem;
  --house-pill-px-lg:.72rem;
  --house-pill-fs:.72rem;
  --house-pill-lh:1;
  --house-pill-weight:850;
}
body.cmep-house-page .cmep-house-national-popup .ct-chip,
body.cmep-house-page .cmep-house-national-popup .pill,
body.cmep-house-page .cmep-house-national-popup .rating-pill,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip,
body.cmep-house-page #cmep-house-national-map-tooltip .pill,
body.cmep-house-page #cmep-house-national-map-tooltip .rating-pill{
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:var(--house-pill-h) !important;
  padding:.39rem var(--house-pill-px) !important;
  border-radius:999px !important;
  border:1px solid transparent !important;
  font-size:var(--house-pill-fs) !important;
  line-height:var(--house-pill-lh) !important;
  font-weight:var(--house-pill-weight) !important;
  letter-spacing:.01em !important;
  white-space:nowrap !important;
  box-shadow:none !important;
  text-decoration:none !important;
  margin:0 !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-chip.no-election,
body.cmep-house-page .cmep-house-national-popup .ct-chip.no-race,
body.cmep-house-page .cmep-house-national-popup .ct-chip.map-no-election,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip.no-election,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip.no-race,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip.map-no-election{
  min-height:var(--house-pill-h-lg) !important;
  padding:.38rem var(--house-pill-px-lg) !important;
  border:2px solid #475569 !important;
  background:#475569 !important;
  background-color:#475569 !important;
  background-image:none !important;
  color:#fff !important;
  text-transform:none !important;
  text-shadow:none !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-chip.solid-D,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip.solid-D{background:var(--solid-d) !important;color:#fff !important;}
body.cmep-house-page .cmep-house-national-popup .ct-chip.likely-D,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip.likely-D{background:var(--likely-d) !important;color:#fff !important;}
body.cmep-house-page .cmep-house-national-popup .ct-chip.lean-D,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip.lean-D{background:var(--lean-d) !important;color:#fff !important;}
body.cmep-house-page .cmep-house-national-popup .ct-chip.toss-up,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip.toss-up{background:var(--toss-up) !important;color:#fff !important;}
body.cmep-house-page .cmep-house-national-popup .ct-chip.lean-R,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip.lean-R{background:var(--lean-r) !important;color:#fff !important;}
body.cmep-house-page .cmep-house-national-popup .ct-chip.likely-R,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip.likely-R{background:var(--likely-r) !important;color:#fff !important;}
body.cmep-house-page .cmep-house-national-popup .ct-chip.solid-R,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-chip.solid-R{background:var(--solid-r) !important;color:#fff !important;}
@media (max-width:720px){
  body.cmep-house-page .cmep-house-national-popup,
  body.cmep-house-page #cmep-house-national-map-tooltip{--house-pill-h:1.64rem;--house-pill-h-lg:1.76rem;--house-pill-px:.58rem;--house-pill-px-lg:.62rem;--house-pill-fs:.68rem;}
}

/* CMEP 2026-06-27: National House Map tooltip layout parity.
   Match the arc/homepage tooltip structure and copy: title, rating chip,
   Democratic Win Odds, Republican Win Odds. This styles both desktop
   MapLibre popups and the fixed mobile tooltip using the same layout tokens. */
body.cmep-house-page .cmep-house-national-popup .maplibregl-popup-content,
body.cmep-house-page #cmep-house-national-map-tooltip{
  min-width:190px !important;
  max-width:min(340px,calc(100vw - 18px)) !important;
  padding:.75rem .85rem !important;
  border-radius:18px !important;
  border:1px solid var(--house-border) !important;
  background:rgba(255,255,255,.94) !important;
  color:var(--house-text) !important;
  box-shadow:0 18px 42px rgba(15,23,42,.18) !important;
  backdrop-filter:blur(12px) saturate(135%) !important;
  -webkit-backdrop-filter:blur(12px) saturate(135%) !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-head,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-head{
  margin:0 0 .35rem !important;
  font-weight:900 !important;
  font-size:.95rem !important;
  line-height:1.15 !important;
  letter-spacing:-.01em !important;
  color:var(--house-strong) !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-summary,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-summary{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:.35rem !important;
  margin:0 0 .45rem !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-rows,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-rows{
  display:grid !important;
  gap:.36rem !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-row,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:.8rem !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-left,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-left{
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:.06rem !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-name,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-name{
  font-weight:850 !important;
  color:var(--house-strong) !important;
  line-height:1.15 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-sub,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-sub{
  display:none !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-right,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-right{
  text-align:right !important;
  white-space:nowrap !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-pct,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-pct{
  font-weight:900 !important;
  font-variant-numeric:tabular-nums !important;
}
body.cmep-house-page .cmep-house-national-popup .ct-pct.d,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-pct.d{color:var(--solid-d) !important;}
body.cmep-house-page .cmep-house-national-popup .ct-pct.r,
body.cmep-house-page #cmep-house-national-map-tooltip .ct-pct.r{color:var(--solid-r) !important;}
@media (prefers-color-scheme:dark){
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode) .cmep-house-national-popup .maplibregl-popup-content,
  html:not([data-theme="light"]):not(.light) body.cmep-house-page:not(.light):not(.light-mode) #cmep-house-national-map-tooltip{
    background:rgba(12,20,34,.94) !important;
    box-shadow:0 18px 46px rgba(0,0,0,.42) !important;
  }
}


/* CMEP 2026-06-27: House mobile behavior cleanup.
   Fixes only the mobile regressions from the Senate-experience parity pass:
   1) mobile arc tooltip/card content remains full tooltip layout;
   2) Path to Majority remains horizontally swipeable;
   3) National House Map mobile tooltip stays compact instead of full-screen;
   4) All Districts cards cannot overflow the container. */
@media (max-width:820px), (hover:none), (pointer:coarse){
  body.cmep-house-page #cmep-house-arc-tooltip.mobile{
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    top:auto !important;
    bottom:calc(env(safe-area-inset-bottom, 0px) + 18px) !important;
    transform:translateX(-50%) !important;
    width:min(320px, calc(100vw - 28px)) !important;
    max-width:calc(100vw - 28px) !important;
    max-height:min(46vh, 320px) !important;
    overflow:auto !important;
    padding:.72rem .82rem !important;
    border-radius:20px !important;
    pointer-events:auto !important;
  }
  body.cmep-house-page #cmep-house-arc-tooltip.mobile .ct-head,
  body.cmep-house-page #cmep-house-arc-native .mobile-path-card .ct-head{
    display:block !important;
  }
  body.cmep-house-page #cmep-house-arc-tooltip.mobile .ct-summary,
  body.cmep-house-page #cmep-house-arc-native .mobile-path-card .ct-summary{
    display:flex !important;
  }
  body.cmep-house-page #cmep-house-arc-tooltip.mobile .ct-rows,
  body.cmep-house-page #cmep-house-arc-native .mobile-path-card .ct-rows{
    display:grid !important;
    gap:.36rem !important;
  }
  body.cmep-house-page #cmep-house-arc-tooltip.mobile .ct-row,
  body.cmep-house-page #cmep-house-arc-native .mobile-path-card .ct-row{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:.8rem !important;
  }

  body.cmep-house-page #cmep-house-arc-native .mobile-path-majority.show{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow:visible !important;
    margin-top:14px !important;
    padding-top:6px !important;
    padding-bottom:4px !important;
  }
  body.cmep-house-page #cmep-house-arc-native .mobile-path-dots{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:9px !important;
    margin:0 0 12px !important;
    padding:8px 14px 12px !important;
    min-height:44px !important;
    overflow:visible !important;
  }
  body.cmep-house-page #cmep-house-arc-native .mobile-path-cards{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    gap:12px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow-x:auto !important;
    overflow-y:visible !important;
    scroll-snap-type:x mandatory !important;
    -webkit-overflow-scrolling:touch !important;
    padding:14px 12px 18px !important;
    scrollbar-width:none !important;
  }
  body.cmep-house-page #cmep-house-arc-native .mobile-path-cards::-webkit-scrollbar{display:none !important;}
  body.cmep-house-page #cmep-house-arc-native .mobile-path-card{
    flex:0 0 min(320px, calc(100vw - 32px)) !important;
    width:min(320px, calc(100vw - 32px)) !important;
    max-width:calc(100vw - 32px) !important;
    min-width:0 !important;
    scroll-snap-align:center !important;
    display:block !important;
    padding:.72rem .82rem !important;
    border-radius:20px !important;
    overflow:hidden !important;
  }

  body.cmep-house-page #cmep-house-arc-native .mobile-path-card.majority-maker,
  body.cmep-house-page #cmep-house-arc-native .mobile-path-card.majority-maker :where(.ct-head,.ct-summary,.ct-left,.ct-name,.ct-right,.ct-pct){
    color:var(--house-strong) !important;
  }
  body.cmep-house-page #cmep-house-arc-native .mobile-path-card.majority-maker .ct-chip{
    color:#111827 !important;
  }

  body.cmep-house-page #cmep-house-national-map-tooltip{
    position:fixed !important;
    left:50% !important;
    right:auto !important;
    top:auto !important;
    bottom:calc(env(safe-area-inset-bottom, 0px) + 18px) !important;
    transform:translateX(-50%) !important;
    width:min(320px, calc(100vw - 28px)) !important;
    min-width:0 !important;
    max-width:calc(100vw - 28px) !important;
    max-height:min(46vh, 320px) !important;
    overflow:auto !important;
    box-sizing:border-box !important;
    margin:0 !important;
  }
  body.cmep-house-page #cmep-house-national-map-tooltip .ct-row{
    gap:.75rem !important;
  }
}

body.cmep-house-page .cmep-by-state-list,
body.cmep-house-page .cmep-collapse,
body.cmep-house-page .cmep-collapse-body,
body.cmep-house-page .district-list,
body.cmep-house-page .district-card-grid{
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}
body.cmep-house-page .cmep-collapse-body{
  overflow:hidden !important;
}
body.cmep-house-page .district-list,
body.cmep-house-page .district-card-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
  gap:12px !important;
  width:100% !important;
  overflow:visible !important;
}
body.cmep-house-page .district-card,
body.cmep-house-page a.district-card,
body.cmep-house-page .district-link{
  width:100% !important;
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
}
body.cmep-house-page .district-name,
body.cmep-house-page .district-subheader,
body.cmep-house-page .district-card .ct-name,
body.cmep-house-page .district-card .inc-name{
  min-width:0 !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
}
body.cmep-house-page .district-header,
body.cmep-house-page .district-right,
body.cmep-house-page .prob-row{
  min-width:0 !important;
  max-width:100% !important;
}
@media (max-width:720px){
  body.cmep-house-page .district-list,
  body.cmep-house-page .district-card-grid{
    grid-template-columns:1fr !important;
  }
}


/* Final House mobile arc data/dot parity fix: native circles now expose data attrs;
   keep path dots visibly filled with the same rating color on mobile. */
@media (max-width: 820px), (hover: none), (pointer: coarse){
  body.cmep-house-page #cmep-house-arc-native .mobile-path-dot{
    opacity:1 !important;
    background:var(--dot-color, #929292) !important;
    border-color:var(--dot-color, #929292) !important;
    box-shadow:0 0 0 2px color-mix(in srgb, var(--dot-color, #929292) 22%, transparent), 0 6px 16px rgba(15,23,42,.14) !important;
  }
  body.cmep-house-page #cmep-house-arc-native .mobile-path-dot:not(.active){
    background:color-mix(in srgb, var(--dot-color, #929292) 58%, transparent) !important;
    border-color:var(--dot-color, #929292) !important;
  }
  body.cmep-house-page #cmep-house-arc-native .mobile-path-dot.active{
    background:var(--dot-color, #929292) !important;
    border-color:var(--dot-color, #929292) !important;
    transform:translateY(-2px) scale(1.14) !important;
    box-shadow:0 0 0 3px color-mix(in srgb, var(--dot-color, #929292) 26%, transparent), 0 10px 22px rgba(15,23,42,.18) !important;
  }
  body.cmep-house-page #cmep-house-arc-native .mobile-path-dot.majority-maker,
  body.cmep-house-page #cmep-house-arc-native .mobile-path-dot.majority-maker.active{
    border-color:var(--flip-gold, #F6CE46) !important;
    box-shadow:0 0 0 3px rgba(246,206,70,.24), 0 10px 22px rgba(15,23,42,.18) !important;
  }
}

/* National House map tooltip links: match arc tooltip click behavior without changing layout. */
body.cmep-house-page .cmep-house-national-tooltip-link,
body.cmep-house-page .cmep-house-national-popup .cmep-house-national-tooltip-link,
body.cmep-house-page #cmep-house-national-map-tooltip .cmep-house-national-tooltip-link{
  display:block !important;
  color:inherit !important;
  text-decoration:none !important;
  cursor:pointer !important;
  min-width:0 !important;
  max-width:100% !important;
}
body.cmep-house-page .cmep-house-national-tooltip-link:focus-visible{
  outline:2px solid var(--flip-gold, #F6CE46) !important;
  outline-offset:4px !important;
  border-radius:18px !important;
}
body.cmep-house-page .cmep-house-national-tooltip-link:hover .ct-head,
body.cmep-house-page .cmep-house-national-tooltip-link:focus-visible .ct-head{
  text-decoration:underline;
  text-decoration-thickness:1.5px;
  text-underline-offset:3px;
}

/* 2026-06-28 mobile width utilization pass */
@media (max-width:720px){
  body.cmep-house-page .house-main,
  body.cmep-house-page .container,
  body.cmep-house-page .house-top-container{
    width:100% !important;
    max-width:100% !important;
    margin-inline:0 !important;
    padding-left:max(6px, env(safe-area-inset-left)) !important;
    padding-right:max(6px, env(safe-area-inset-right)) !important;
  }
  body.cmep-house-page .house-top-container{padding-bottom:0 !important;}
  body.cmep-house-page .house-hero,
  body.cmep-house-page .cmep-page-hero.house-hero,
  body.cmep-house-page .card{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
  body.cmep-house-page .house-hero,
  body.cmep-house-page .cmep-page-hero.house-hero{
    padding:18px 12px !important;
    border-radius:20px !important;
  }
  body.cmep-house-page .card{
    padding:10px !important;
    border-radius:16px !important;
  }
  body.cmep-house-page #cmep-house-arc-native .arc-wrap{
    padding-left:0 !important;
    padding-right:0 !important;
  }
}
@media (max-width:390px){
  body.cmep-house-page .container,
  body.cmep-house-page .house-top-container{
    padding-left:max(5px, env(safe-area-inset-left)) !important;
    padding-right:max(5px, env(safe-area-inset-right)) !important;
  }
  body.cmep-house-page .card{padding:9px !important;}
}


/* CMEP 2026-06-28: House tooltip parity with Senate page. */
body.cmep-house-page #cmep-house-arc-native #cmep-house-arc-tooltip:not(.mobile),
body.cmep-house-page #cmep-house-national-map-tooltip:not(.mobile){
  position:fixed !important;
  width:auto !important;
  min-width:220px !important;
  max-width:min(340px, calc(100vw - 24px)) !important;
  padding:.7rem .8rem !important;
  border-radius:18px !important;
  z-index:100000 !important;
  pointer-events:none !important;
  transform:translate(0,0) !important;
  bottom:auto !important;
  right:auto !important;
  box-sizing:border-box !important;
}
body.cmep-house-page #cmep-house-national-map-tooltip.mobile{
  position:fixed !important;
  left:50% !important;
  right:auto !important;
  top:auto !important;
  bottom:calc(env(safe-area-inset-bottom, 0px) + 18px) !important;
  transform:translateX(-50%) !important;
  width:min(320px, calc(100vw - 28px)) !important;
  min-width:0 !important;
  max-width:calc(100vw - 28px) !important;
  max-height:min(46vh, 320px) !important;
  overflow:auto !important;
  box-sizing:border-box !important;
  margin:0 !important;
  pointer-events:auto !important;
}
body.cmep-house-page #cmep-house-national-map-tooltip:not(.mobile) .cmep-house-national-tooltip-link{
  pointer-events:none !important;
}
body.cmep-house-page #cmep-house-national-map-tooltip .ct-head,
body.cmep-house-page #cmep-house-arc-tooltip .ct-head{
  font-weight:900 !important;
  font-size:.95rem !important;
  letter-spacing:-.01em !important;
  color:var(--house-strong, var(--text-strong)) !important;
  margin:0 0 .35rem !important;
}
body.cmep-house-page #cmep-house-national-map-tooltip .ct-summary,
body.cmep-house-page #cmep-house-arc-tooltip .ct-summary{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:.35rem !important;
  margin:0 0 .45rem !important;
}
body.cmep-house-page #cmep-house-national-map-tooltip .ct-rows,
body.cmep-house-page #cmep-house-arc-tooltip .ct-rows{display:grid !important;gap:.36rem !important;}
body.cmep-house-page #cmep-house-national-map-tooltip .ct-row,
body.cmep-house-page #cmep-house-arc-tooltip .ct-row{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:.8rem !important;}
body.cmep-house-page #cmep-house-national-map-tooltip .ct-left,
body.cmep-house-page #cmep-house-arc-tooltip .ct-left{min-width:0 !important;display:flex !important;flex-direction:column !important;gap:.06rem !important;}
body.cmep-house-page #cmep-house-national-map-tooltip .ct-right,
body.cmep-house-page #cmep-house-arc-tooltip .ct-right{text-align:right !important;white-space:nowrap !important;}
body.cmep-house-page #cmep-house-national-map-tooltip .ct-name,
body.cmep-house-page #cmep-house-arc-tooltip .ct-name{font-weight:850 !important;color:var(--house-strong, var(--text-strong)) !important;line-height:1.15 !important;}
body.cmep-house-page #cmep-house-national-map-tooltip .ct-pct,
body.cmep-house-page #cmep-house-arc-tooltip .ct-pct{font-weight:900 !important;font-variant-numeric:tabular-nums !important;}
body.cmep-house-page #cmep-house-national-map-tooltip .ct-pct.d,
body.cmep-house-page #cmep-house-arc-tooltip .ct-pct.d{color:var(--solid-d) !important;}
body.cmep-house-page #cmep-house-national-map-tooltip .ct-pct.r,
body.cmep-house-page #cmep-house-arc-tooltip .ct-pct.r{color:var(--solid-r) !important;}
