/* v35: President no-election card uses the same centered/full-width card contract as Senate no-election. */
@media (min-width:1041px){
  body.cmep-page-state-detail #view-president.office-view.active{
    display:grid !important;
    grid-template-columns:1fr !important;
    width:min(100%, 820px) !important;
    max-width:820px !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
  body.cmep-page-state-detail #view-president.office-view.active > .card.cm-card{
    grid-column:1 / -1 !important;
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

/* v35: restore the normal gap between pivotal/rating pills, but make the gap inherit the race-card surface instead of flashing white. */
body.cmep-page-state-detail :where(#view-senate,#view-governor) .race .rating-row:has(.pill-flip){
  gap:.38rem !important;
  column-gap:.38rem !important;
  row-gap:.38rem !important;
  background:var(--bg-card-subtle) !important;
  border-radius:var(--radius-pill, 999px) !important;
}
