/* v34: make presidential no-election blocks use the same full-width projected-card behavior as Senate. */
body.cmep-page-state-detail #view-president .projected-list{
  display:flex !important;
  flex-direction:column !important;
  gap:.75rem !important;
  margin-top:.6rem !important;
  width:100% !important;
}
body.cmep-page-state-detail #view-president .projected-list > .district-card{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
}


/* v34: ratings changelog should defer to universal filled pill contrast: all rating pills use white text, including Lean. */
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).solid-D,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).cl-pill-solid-d,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).likely-D,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).cl-pill-likely-d,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).lean-D,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).cl-pill-lean-d,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).toss-up,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).cl-pill-toss-up,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).lean-R,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).cl-pill-lean-r,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).likely-R,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).cl-pill-likely-r,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).solid-R,
body.cmep-page-state-detail .state-detail-changelog :where(.cl-pill,.pill,.rating-pill).cl-pill-solid-r{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
