/*
 * Legacy media queries
 */
:root {
  color-scheme: light dark;
  --white-100: hsl(0, 0%, 100%);
  --gray-50: hsl(0, 0%, 95%);
  --gray-100: hsl(0, 0%, 83%);
  --gray-200: hsl(0, 0%, 75%);
  --gray-300: hsl(0, 0%, 63%);
  --gray-400: hsl(0, 0%, 56%);
  --gray-500: hsl(0, 0%, 45%);
  --gray-600: hsl(0, 0%, 34%);
  --gray-700: hsl(0, 0%, 20%);
  --gray-800: hsl(0, 0%, 13%);
  --gray-900: hsl(0, 0%, 7%);
  --black-100: hsl(0, 0%, 0%);
  --fg-primary: #333;
  --fg-secondary: #666;
  --fg-tertiary: #787878;
  --fg-quaternary: #999;
  --fg-inversePrimary: var(--white-100);
  --bg-primary: var(--white-100);
  --bg-secondary: #efefef;
  --bg-tertiary: #ddd;
  --bg-quaternary: #bbb;
  --bg-inversePrimary: #444;
  --border-primary: #ddd;
  --border-secondary: #eee;
  --map-empty: #e1e1e1;
  --map-early: #b8b6b6;
  --accent-dark: #4774CC;
  --accent-light: #bccae5;
  --demDim: #D5E5F2;
  --gopDim: #F8D6D4;
  --indDim: #FFE4AF;
  --noBar: #F1A513;
  --noDim: rgba(241, 165, 19, 0.5);
  --noLight: #fce9c5;
  --yesDim: rgba(70, 159, 75, 0.5);
  --yesBar: #469F4B;
  --yesLight: #b1ddb3;
}
:root .light-mode {
  display: block;
}
:root .dark-mode {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fg-primary: var(--gray-50);
    --fg-secondary: var(--gray-100);
    --fg-tertiary: var(--gray-200);
    --fg-quaternary: var(--gray-300);
    --fg-inversePrimary: var(--gray-800);
    --bg-primary: var(--gray-800);
    --bg-secondary: var(--gray-700);
    --bg-tertiary: var(--gray-600);
    --bg-quaternary: var(--gray-500);
    --bg-inversePrimary: var(--gray-100);
    --border-primary: var(--gray-600);
    --border-secondary: var(--gray-700);
    --map-empty: var(--gray-500);
    --map-early: var(--gray-600);
    --accent-dark: hsl(219, 48%, 70%);
    --demDim: #0f3850;
    --gopDim: #500d0d;
    --indDim: #4d3405;
    --noBar: #F1A513;
    --noDim: rgba(241, 165, 19, 0.5);
    --noLight: #fce9c5;
    --yesDim: rgba(70, 159, 75, 0.5);
    --yesBar: #469F4B;
    --yesLight: #b1ddb3;
  }
  :root:not([data-theme="light"]) .light-mode {
    display: none;
  }
  :root:not([data-theme="light"]) .dark-mode {
    display: block;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
}
:root {
  --sans: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  --serif: 'NPRSerif', Georgia, "Times New Roman", Times, serif;
  --vh: 1vh;
}
.sr-only {
  opacity: 0;
  position: absolute;
  left: -1000px;
  clip: inset(0, 0, 0, 0);
  width: 1px;
  height: 1px;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
body {
  padding: 0;
  margin: 0;
  touch-action: manipulation;
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  background-color: var(--bg-primary);
}
img,
svg {
  max-width: 100%;
}
.winner-icon path {
  fill: var(--fg-primary);
}
h1 {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  font-size: 20px;
  color: var(--fg-secondary);
}
a,
a:visited {
  color: var(--accent-dark);
}
a:hover,
a:active,
a:focus {
  color: var(--accent-light);
}
img:not([alt]) {
  outline: 3px solid red;
}
[aria-hidden] img:not([alt]),
[role="img"] img:not([alt]) {
  outline: none;
}
/* NPR standard partials */
footer {
  position: relative;
  z-index: 999;
  justify-content: flex-start;
}
footer ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
footer .constrained {
  margin: auto;
}
footer .npr {
  margin-top: 44px;
}
footer .npr a,
footer .npr a:visited {
  color: white;
  text-decoration: none;
}
footer .npr a:hover,
footer .npr a:visited:hover,
footer .npr a:focus,
footer .npr a:visited:focus {
  color: #888;
}
footer .npr ul {
  border-top: 1px solid white;
  font-size: 0.8rem;
  padding-top: 22px;
}
footer .npr ul li {
  display: inline-block;
  margin: 0 22px 3px 0;
  padding: 0;
  text-indent: 0;
  white-space: nowrap;
}
@media (min-width: 501px) {
  footer .npr ul li {
    display: inline-block;
  }
}
h1 {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  color: var(--fg-primary);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
h1 {
  font-size: 24px;
}
#nav-list {
  width: 100%;
}
#nav-list tr:nth-child(even) {
  background-color: var(--bg-secondary);
}
#nav-list th,
#nav-list td {
  border-bottom: 1px solid var(--border-secondary);
  padding: 5px;
  text-align: left;
}
#nav-list textarea {
  height: 80px;
  width: 80%;
}
#nav-list .state {
  width: 100px;
}
main.embed a.see-full {
  margin: 4px 0;
  text-decoration: none;
}
main.embed .results-header span.state-label {
  display: inline-block !important;
}
main.embed .source_embed {
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--fg-quaternary);
  font-style: italic;
  font-size: 11px;
}
@media (max-width: 400px) {
  main.embed .source_embed {
    margin-top: 0px;
    text-align: left;
    padding-left: 5px;
  }
}
main.embed-bop {
  color: var(--fg-primary);
}
main.embed-bop h2.bop {
  display: none;
}
main.embed-bop .nprone {
  background-color: var(--bg-primary);
  padding: 7px 0;
}
@media (max-width: 400px) {
  main.embed-bop .nprone h2.bop {
    text-align: center;
    margin: 0 0 -3px 0;
    font-size: 13px;
    color: var(--fg-secondary);
    display: block;
  }
}
main.embed-bop .full-link {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}
@media (max-width: 300px) {
  main.embed-bop .full-link {
    text-align: left;
    margin-top: 23px;
  }
}
@media (max-width: 300px) {
  main.embed-bop .president .full-link {
    text-align: center;
  }
}
main.embed-bop .inline .container {
  display: flex;
  max-width: 100%;
}
@media (max-width: 875px) {
  main.embed-bop .inline .container {
    padding: 0 5px;
  }
}
@media (max-width: 700px) {
  main.embed-bop .inline .container {
    display: block;
  }
}
main.embed-bop .inline .bar-container {
  height: 20px;
}
main.embed-bop .inline .net-gain-container {
  right: 25px;
  bottom: 8px;
}
@media (max-width: 700px) {
  main.embed-bop .inline .net-gain-container {
    right: 0;
  }
}
@media (max-width: 400px) {
  main.embed-bop .inline .net-gain-container {
    position: relative;
    left: auto;
    right: auto;
    bottom: 0;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  main.embed-bop .inline .net-gain-container .gain-label {
    margin-right: 5px;
  }
}
main.embed-bop .inline .house .full-link {
  text-align: center;
}
@media (max-width: 400px) {
  main.embed-bop .inline .house .full-link {
    text-align: center;
  }
}
main.embed-bop .inline .house .net-gain-container {
  left: 25px;
  right: auto;
}
@media (max-width: 700px) {
  main.embed-bop .inline .house .net-gain-container {
    left: 0;
  }
}
@media (max-width: 400px) {
  main.embed-bop .inline .house .net-gain-container {
    position: relative;
    left: auto;
    right: auto;
  }
}
@media (max-width: 400px) {
  main.embed-bop .inline .senate {
    display: flex;
    flex-direction: row;
  }
}
main.embed-bop .inline .full-link {
  text-align: left;
  margin-top: 23px;
}
@media (max-width: 400px) {
  main.embed-bop .inline .full-link {
    text-align: center;
    margin-top: 10px;
  }
}
main.embed-bop .inline .second.divider {
  display: none;
}
main.embed-bop .inline .president .bar-container {
  display: block;
}
main.embed-bop .inline .president .full-link {
  margin-top: 23px;
  text-align: center;
}
@media (max-width: 700px) {
  main.embed-bop .inline .president .full-link {
    margin-top: 10px;
  }
}
main.embed-bop .inline .senate .number-container,
main.embed-bop .inline .house .number-container {
  display: flex;
}
main.embed-bop .inline .link-container {
  flex: 1;
  padding: 0 25px;
  border-right: 1px solid var(--border-primary);
}
main.embed-bop .inline .link-container.house {
  order: 1;
}
main.embed-bop .inline .link-container.president {
  order: 2;
}
main.embed-bop .inline .link-container.senate {
  order: 3;
}
main.embed-bop .inline .link-container h3 {
  margin: 10px 0;
}
main.embed-bop .inline .link-container .label {
  display: none;
}
main.embed-bop .inline .link-container .middle {
  height: 23.8px;
}
@media (max-width: 700px) {
  main.embed-bop .inline .link-container {
    border: none;
    padding: 0;
  }
  main.embed-bop .inline .link-container.senate,
  main.embed-bop .inline .link-container.house {
    width: 46%;
    display: inline-block;
  }
  main.embed-bop .inline .link-container.senate {
    float: right;
  }
  main.embed-bop .inline .link-container.president .bar-container {
    height: 14px;
  }
  main.embed-bop .inline .link-container.president .middle {
    top: -2.8px;
    height: 16.8px;
  }
  main.embed-bop .inline .link-container.president h3 {
    margin-top: 0;
  }
}
main.embed-bop .inline .link-container:last-child {
  border-right: 0;
}
main.embed-bop .inline .candidate {
  border: 0 !important;
}
main.embed-bop .inline .source {
  margin-top: 10px;
  text-align: center;
}
@media (max-width: 400px) {
  main.embed-bop .inline .source {
    padding-top: 5px;
    margin-top: 0;
    clear: both;
  }
}
main.embed-bop .dark h3 {
  color: #eee;
}
main.embed-bop .dark .full-link a {
  color: #eee;
}
main.embed-bop .dark .full-link a:hover {
  color: white;
  text-decoration: underline;
}
main.embed-bop .dark .bar-container .middle {
  border-left: 1px solid #eee;
}
main.embed-bop .dark .bar-container .bar.gop {
  background: #df3b3c;
}
main.embed-bop .dark .bar-container .bar.gop path {
  fill: #df3b3c;
}
main.embed-bop .dark .chatter,
main.embed-bop .dark .uncalled {
  color: #ccc;
}
main.embed-bop .dark .net-gain-container .gain-label {
  color: #ccc;
}
main.embed-bop .dark .net-gain-container .net-gain.GOP {
  background: #df3b3c;
}
main.embed-bop .dark .source {
  color: #aaa;
}
main.embed-bop .dark .bar-container {
  background: #777;
}
main.embed-bop .dark .divider {
  border-top: 1px solid #777;
}
main.embed-bop .dark .president .candidate:first-child {
  border-right: 1px solid #777;
}
main.embed-bop .dark .candidate.gop {
  color: #df3b3c;
}
main.embed-bop .dark .candidate.gop path {
  fill: #df3b3c;
}
main.embed-bop .dark.inline .link-container {
  border-right: 1px solid #777;
}
main.embed-bop .dark.inline .link-container:last-child {
  border-right: none;
}
@media (max-width: 700px) {
  main.embed-bop .dark.inline .link-container {
    border: none;
  }
}
@media (max-width: 700px) {
  main.embed-bop .hide-congress .link-container.house,
  main.embed-bop .hide-congress .link-container.senate {
    display: none;
  }
  main.embed-bop .hide-congress .divider,
  main.embed-bop .hide-congress .second.divider {
    display: none;
  }
}
main.embed-bop .only-pres .link-container.house,
main.embed-bop .only-pres .link-container.senate {
  display: none;
}
main.embed-bop .only-pres .divider,
main.embed-bop .only-pres .second.divider {
  display: none;
}
main.embed-bop .president h3 {
  margin-top: 0;
}
main.embed-bop h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
main.embed-bop .chatter {
  text-align: center;
  font-size: 12px;
  color: var(--fg-secondary);
}
@media (max-width: 400px) {
  main.embed-bop .chatter {
    font-size: 11px;
  }
}
main.embed-bop .winner-icon {
  color: var(--fg-primary);
  width: 0.8em;
  display: inline-block;
  margin-left: 0;
}
main.embed-bop a.link-container {
  text-decoration: none;
  color: var(--fg-primary);
  position: relative;
  display: block;
}
main.embed-bop .bop-footer {
  position: relative;
}
main.embed-bop .number-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
}
main.embed-bop .number-container .candidate {
  flex: 1;
  text-align: center;
  max-width: 90px;
  color: var(--fg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
main.embed-bop .number-container .candidate .name {
  line-height: 1.2em;
  text-transform: uppercase;
}
@media (max-width: 400px) {
  main.embed-bop .number-container .candidate .name {
    font-size: 12px;
  }
}
main.embed-bop .number-container .candidate .votes {
  font-size: 30px;
  font-weight: bold;
}
@media (max-width: 400px) {
  main.embed-bop .number-container .candidate .votes {
    font-size: 20px;
  }
}
main.embed-bop .number-container .dem {
  color: #217BAE;
}
main.embed-bop .number-container .dem path {
  fill: #217BAE;
}
main.embed-bop .number-container .gop {
  color: #C72021;
}
main.embed-bop .number-container .gop path {
  fill: #C72021;
}
main.embed-bop .number-container .other {
  color: #F1A513;
}
main.embed-bop .number-container .other path {
  fill: #F1A513;
}
main.embed-bop .president .chatter {
  margin-top: 10px;
}
main.embed-bop .president .candidate:first-child {
  border-right: 1px solid var(--border-primary);
}
main.embed-bop .bar-container {
  width: 100%;
  height: 26px;
  background: var(--bg-tertiary);
  margin: 5px 0 10px;
  position: relative;
}
main.embed-bop .bar-container .bar {
  height: 100%;
}
main.embed-bop .bar-container .bar.dem {
  background: #217BAE;
  float: left;
}
main.embed-bop .bar-container .bar.dem path {
  fill: #217BAE;
}
main.embed-bop .bar-container .bar.gop {
  background: #C72021;
  float: right;
}
main.embed-bop .bar-container .bar.gop path {
  fill: #C72021;
}
main.embed-bop .bar-container .bar.other {
  background: #F1A513;
}
main.embed-bop .bar-container .bar.other path {
  fill: #F1A513;
}
main.embed-bop .bar-container .middle {
  position: absolute;
  top: 0;
  border-left: 1px solid var(--fg-primary);
  height: 30px;
  width: 1px;
  right: 50%;
}
main.embed-bop .net-gain-container {
  text-align: center;
  position: absolute;
  bottom: 0;
  right: 0;
}
main.embed-bop .net-gain-container .gain-label {
  font-size: 10px;
  color: var(--fg-primary);
  padding-bottom: 1px;
}
main.embed-bop .net-gain-container .net-gain {
  font-size: 11px;
  font-weight: bold;
  background: #9a9a9a;
  color: white;
  display: inline-block;
  padding: 3px 6px;
}
main.embed-bop .net-gain-container .net-gain.Dem {
  background: #217BAE;
}
main.embed-bop .net-gain-container .net-gain.GOP {
  background: #C72021;
}
@media (max-width: 300px) {
  main.embed-bop .net-gain-container .net-gain {
    padding: 1px 4px 2px;
    font-size: 10px;
  }
}
main.embed-bop .divider {
  border-top: 1px solid var(--border-secondary);
  margin: 20px 0 5px;
}
main.embed-bop .source {
  margin-top: 55px;
}
main.embed-bop .footnote {
  font-size: 11px;
  font-style: italic;
  color: var(--fg-quaternary);
  margin-top: 5px;
}
main.embed-homepage .disclaimer {
  text-align: center;
  font-style: italic;
  font-size: 12px;
  color: var(--fg-tertiary);
}
main.embed-homepage .full-link {
  text-align: center;
}
main.embed-homepage .full-link a {
  text-decoration: none;
}
#embed-bop-on-page {
  color: var(--fg-primary);
}
#embed-bop-on-page .full-link {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}
@media (max-width: 300px) {
  #embed-bop-on-page .full-link {
    text-align: left;
    margin-top: 23px;
  }
}
@media (max-width: 300px) {
  #embed-bop-on-page .president .full-link {
    text-align: center;
  }
}
#embed-bop-on-page .inline .container {
  display: flex;
  max-width: 100%;
}
@media (max-width: 875px) {
  #embed-bop-on-page .inline .container {
    padding: 0 5px;
  }
}
@media (max-width: 700px) {
  #embed-bop-on-page .inline .container {
    display: block;
  }
}
#embed-bop-on-page .inline .bar-container {
  height: 20px;
}
#embed-bop-on-page .inline .net-gain-container {
  right: 25px;
  bottom: 8px;
}
@media (max-width: 700px) {
  #embed-bop-on-page .inline .net-gain-container {
    right: 0;
  }
}
#embed-bop-on-page .inline .house .full-link {
  text-align: left;
}
@media (max-width: 400px) {
  #embed-bop-on-page .inline .house .full-link {
    text-align: left;
  }
}
#embed-bop-on-page .inline .house .net-gain-container {
  left: 25px;
  right: auto;
}
@media (max-width: 700px) {
  #embed-bop-on-page .inline .house .net-gain-container {
    left: 0;
  }
}
@media (max-width: 400px) {
  #embed-bop-on-page .inline .house .net-gain-container {
    left: auto;
    right: 0;
  }
}
#embed-bop-on-page .inline .full-link {
  text-align: left;
  margin-top: 23px;
}
#embed-bop-on-page .inline .second.divider {
  display: none;
}
@media (max-width: 400px) {
  #embed-bop-on-page .inline .second.divider {
    display: block;
    margin-top: 15px;
  }
}
#embed-bop-on-page .inline .president .bar-container {
  display: block;
}
#embed-bop-on-page .inline .president .full-link {
  margin-top: 23px;
  text-align: center;
}
@media (max-width: 700px) {
  #embed-bop-on-page .inline .president .full-link {
    margin-top: 10px;
  }
}
#embed-bop-on-page .inline .senate .number-container,
#embed-bop-on-page .inline .house .number-container {
  display: flex;
}
#embed-bop-on-page .inline .link-container {
  flex: 1;
  padding: 0 25px;
  border-right: 1px solid var(--border-primary);
}
#embed-bop-on-page .inline .link-container.house {
  order: 1;
}
#embed-bop-on-page .inline .link-container.president {
  order: 2;
}
#embed-bop-on-page .inline .link-container.senate {
  order: 3;
}
#embed-bop-on-page .inline .link-container h3 {
  margin: 10px 0;
}
#embed-bop-on-page .inline .link-container .label {
  display: none;
}
#embed-bop-on-page .inline .link-container .middle {
  height: 23.8px;
}
@media (max-width: 700px) {
  #embed-bop-on-page .inline .link-container {
    border: none;
    padding: 0;
  }
  #embed-bop-on-page .inline .link-container.senate,
  #embed-bop-on-page .inline .link-container.house {
    width: 46%;
    display: inline-block;
  }
  #embed-bop-on-page .inline .link-container.senate {
    float: right;
  }
  #embed-bop-on-page .inline .link-container.president .bar-container {
    height: 14px;
  }
  #embed-bop-on-page .inline .link-container.president .middle {
    top: -2.8px;
    height: 16.8px;
  }
  #embed-bop-on-page .inline .link-container.president h3 {
    margin-top: 0;
  }
}
@media (max-width: 400px) {
  #embed-bop-on-page .inline .link-container.senate,
  #embed-bop-on-page .inline .link-container.house {
    width: 100%;
  }
}
#embed-bop-on-page .inline .link-container:last-child {
  border-right: 0;
}
#embed-bop-on-page .inline .candidate {
  border: 0 !important;
}
#embed-bop-on-page .inline .source {
  margin-top: 10px;
  text-align: center;
}
@media (max-width: 400px) {
  #embed-bop-on-page .inline .source {
    margin-top: 20px;
    text-align: left;
    padding-left: 5px;
  }
}
#embed-bop-on-page .dark h3 {
  color: #eee;
}
#embed-bop-on-page .dark .full-link a {
  color: #eee;
}
#embed-bop-on-page .dark .full-link a:hover {
  color: white;
  text-decoration: underline;
}
#embed-bop-on-page .dark .bar-container .middle {
  border-left: 1px solid #eee;
}
#embed-bop-on-page .dark .bar-container .bar.gop {
  background: #df3b3c;
}
#embed-bop-on-page .dark .bar-container .bar.gop path {
  fill: #df3b3c;
}
#embed-bop-on-page .dark .chatter,
#embed-bop-on-page .dark .uncalled {
  color: #ccc;
}
#embed-bop-on-page .dark .net-gain-container .gain-label {
  color: #ccc;
}
#embed-bop-on-page .dark .net-gain-container .net-gain.GOP {
  background: #df3b3c;
}
#embed-bop-on-page .dark .source {
  color: #aaa;
}
#embed-bop-on-page .dark .bar-container {
  background: #777;
}
#embed-bop-on-page .dark .divider {
  border-top: 1px solid #777;
}
#embed-bop-on-page .dark .president .candidate:first-child {
  border-right: 1px solid #777;
}
#embed-bop-on-page .dark .candidate.gop {
  color: #df3b3c;
}
#embed-bop-on-page .dark .candidate.gop path {
  fill: #df3b3c;
}
#embed-bop-on-page .dark.inline .link-container {
  border-right: 1px solid #777;
}
#embed-bop-on-page .dark.inline .link-container:last-child {
  border-right: none;
}
@media (max-width: 700px) {
  #embed-bop-on-page .dark.inline .link-container {
    border: none;
  }
}
@media (max-width: 700px) {
  #embed-bop-on-page .hide-congress .link-container.house,
  #embed-bop-on-page .hide-congress .link-container.senate {
    display: none;
  }
  #embed-bop-on-page .hide-congress .divider,
  #embed-bop-on-page .hide-congress .second.divider {
    display: none;
  }
}
#embed-bop-on-page .only-pres .link-container.house,
#embed-bop-on-page .only-pres .link-container.senate {
  display: none;
}
#embed-bop-on-page .only-pres .divider,
#embed-bop-on-page .only-pres .second.divider {
  display: none;
}
#embed-bop-on-page .president h3 {
  margin-top: 0;
}
#embed-bop-on-page h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
#embed-bop-on-page .chatter {
  text-align: center;
  font-size: 12px;
  color: var(--fg-secondary);
}
#embed-bop-on-page .winner-icon {
  color: var(--fg-primary);
  width: 0.8em;
  display: inline-block;
  margin-left: 0;
}
#embed-bop-on-page a.link-container {
  text-decoration: none;
  color: var(--fg-primary);
  position: relative;
  display: block;
}
#embed-bop-on-page .number-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}
#embed-bop-on-page .number-container .candidate {
  flex: 1;
  color: var(--fg-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
#embed-bop-on-page .number-container .candidate .name {
  line-height: 1.1em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: -1px;
  text-align: right;
}
@media (max-width: 300px) {
  #embed-bop-on-page .number-container .candidate .name {
    font-size: 10px;
  }
}
#embed-bop-on-page .number-container .candidate .votes {
  font-size: 20px;
  font-weight: bold;
  text-align: left;
}
#embed-bop-on-page .number-container .candidate.uncalled .name {
  font-size: 12px;
  text-align: center;
}
#embed-bop-on-page .number-container .candidate.uncalled .votes {
  font-size: 13px;
}
#embed-bop-on-page .number-container .dem {
  color: #217BAE;
}
#embed-bop-on-page .number-container .dem path {
  fill: #217BAE;
}
#embed-bop-on-page .number-container .gop {
  color: #C72021;
}
#embed-bop-on-page .number-container .gop path {
  fill: #C72021;
}
#embed-bop-on-page .number-container .other {
  color: #F1A513;
}
#embed-bop-on-page .number-container .other path {
  fill: #F1A513;
}
#embed-bop-on-page .president .chatter {
  margin-top: 10px;
}
#embed-bop-on-page .president .candidate:first-child {
  border-right: 1px solid var(--border-primary);
}
#embed-bop-on-page .bar-container {
  width: 100%;
  height: 26px;
  background: var(--bg-tertiary);
  margin: 5px 0 10px;
  position: relative;
}
#embed-bop-on-page .bar-container .bar {
  height: 100%;
}
#embed-bop-on-page .bar-container .bar.dem {
  background: #217BAE;
  float: left;
}
#embed-bop-on-page .bar-container .bar.dem path {
  fill: #217BAE;
}
#embed-bop-on-page .bar-container .bar.gop {
  background: #C72021;
  float: right;
}
#embed-bop-on-page .bar-container .bar.gop path {
  fill: #C72021;
}
#embed-bop-on-page .bar-container .bar.other {
  background: #F1A513;
}
#embed-bop-on-page .bar-container .bar.other path {
  fill: #F1A513;
}
#embed-bop-on-page .bar-container .middle {
  position: absolute;
  top: 0;
  border-left: 1px solid var(--fg-primary);
  height: 30px;
  width: 1px;
  right: 50%;
}
#embed-bop-on-page .net-gain-container {
  text-align: center;
  position: absolute;
  bottom: 0;
  right: 0;
}
#embed-bop-on-page .net-gain-container .gain-label {
  font-size: 10px;
  color: var(--fg-primary);
  padding-bottom: 1px;
}
#embed-bop-on-page .net-gain-container .net-gain {
  font-size: 11px;
  font-weight: bold;
  background: #9a9a9a;
  color: white;
  display: inline-block;
  padding: 3px 6px;
}
#embed-bop-on-page .net-gain-container .net-gain.Dem {
  background: #217BAE;
}
#embed-bop-on-page .net-gain-container .net-gain.GOP {
  background: #C72021;
}
@media (max-width: 300px) {
  #embed-bop-on-page .net-gain-container .net-gain {
    padding: 1px 4px 2px;
    font-size: 10px;
  }
}
#embed-bop-on-page .divider {
  border-top: 1px solid var(--border-secondary);
  margin: 20px 0 5px;
}
#embed-bop-on-page .source {
  margin-top: 55px;
}
#embed-bop-on-page .oneEmbed {
  width: 100%;
  display: inline-block;
}
#embed-bop-on-page .twoEmbeds {
  width: 46%;
  display: inline-block;
}
.winner-icon svg {
  width: 1em;
  height: 1em;
}
.bop-wrapper {
  width: 60%;
  display: inline-block;
}
.header {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.board-container {
  width: 100%;
}
.board-container h2 {
  width: 100%;
  margin: 5px 0 5px 0;
  border-top: 2px solid var(--border-primary);
  padding-top: 8px;
  text-transform: uppercase;
  color: var(--fg-secondary);
  font-size: 1.1em;
}
main.embed-bop {
  color: var(--fg-primary);
  max-width: unset;
}
main.embed-bop h2.bop {
  display: none;
}
main.embed-bop .nprone {
  background-color: var(--bg-primary);
  padding: 7px 0;
}
@media (max-width: 400px) {
  main.embed-bop .nprone h2.bop {
    text-align: center;
    margin: 0 0 -3px 0;
    font-size: 13px;
    color: var(--fg-secondary);
    display: block;
  }
}
main.embed-bop .full-link {
  font-size: 12px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
}
@media (max-width: 300px) {
  main.embed-bop .full-link {
    text-align: left;
    margin-top: 23px;
  }
}
@media (max-width: 300px) {
  main.embed-bop .president .full-link {
    text-align: center;
  }
}
main.embed-bop .inline .container {
  display: flex;
  max-width: 100%;
}
@media (max-width: 875px) {
  main.embed-bop .inline .container {
    padding: 0 5px;
  }
}
@media (max-width: 700px) {
  main.embed-bop .inline .container {
    display: block;
  }
}
main.embed-bop .inline .bar-container {
  height: 20px;
}
main.embed-bop .inline .net-gain-container {
  right: 25px;
  bottom: 8px;
}
@media (max-width: 700px) {
  main.embed-bop .inline .net-gain-container {
    right: 0;
  }
}
@media (max-width: 400px) {
  main.embed-bop .inline .net-gain-container {
    position: relative;
    left: auto;
    right: auto;
    bottom: 0;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  main.embed-bop .inline .net-gain-container .gain-label {
    margin-right: 5px;
  }
}
main.embed-bop .inline .house .full-link {
  text-align: center;
}
@media (max-width: 400px) {
  main.embed-bop .inline .house .full-link {
    text-align: center;
  }
}
main.embed-bop .inline .house .net-gain-container {
  left: 25px;
  right: auto;
}
@media (max-width: 700px) {
  main.embed-bop .inline .house .net-gain-container {
    left: 0;
  }
}
@media (max-width: 400px) {
  main.embed-bop .inline .house .net-gain-container {
    position: relative;
    left: auto;
    right: auto;
  }
}
@media (max-width: 400px) {
  main.embed-bop .inline .senate {
    display: flex;
    flex-direction: row;
  }
}
main.embed-bop .inline .full-link {
  text-align: left;
  margin-top: 23px;
}
@media (max-width: 400px) {
  main.embed-bop .inline .full-link {
    text-align: center;
    margin-top: 10px;
  }
}
main.embed-bop .inline .second.divider {
  display: none;
}
main.embed-bop .inline .president .bar-container {
  display: block;
}
main.embed-bop .inline .president .full-link {
  margin-top: 23px;
  text-align: center;
}
@media (max-width: 700px) {
  main.embed-bop .inline .president .full-link {
    margin-top: 10px;
  }
}
main.embed-bop .inline .senate .number-container,
main.embed-bop .inline .house .number-container {
  display: flex;
}
main.embed-bop .inline .link-container {
  flex: 1;
  padding: 0 25px;
  border-right: none;
}
main.embed-bop .inline .link-container.house {
  order: 1;
}
main.embed-bop .inline .link-container.president {
  order: 2;
}
main.embed-bop .inline .link-container.senate {
  order: 3;
}
main.embed-bop .inline .link-container h3 {
  margin: 0px 0;
  margin-bottom: 10px;
}
main.embed-bop .inline .link-container .label {
  display: none;
}
main.embed-bop .inline .link-container .middle {
  height: 23.8px;
}
@media (max-width: 700px) {
  main.embed-bop .inline .link-container {
    border: none;
    padding: 0;
  }
  main.embed-bop .inline .link-container.senate,
  main.embed-bop .inline .link-container.house {
    width: 46%;
    display: inline-block;
  }
  main.embed-bop .inline .link-container.senate {
    float: right;
  }
  main.embed-bop .inline .link-container.oneEmbed {
    width: 100%;
  }
  main.embed-bop .inline .link-container.president .bar-container {
    height: 20px;
  }
  main.embed-bop .inline .link-container.president .middle {
    top: -4px;
    height: 28px;
  }
  main.embed-bop .inline .link-container.president h3 {
    margin-top: 0;
  }
}
main.embed-bop .inline .link-container:last-child {
  border-right: 0;
}
main.embed-bop .inline .candidate {
  border: 0 !important;
}
main.embed-bop .inline .source {
  margin-top: 10px;
  text-align: center;
  display: inline-block;
}
@media (max-width: 400px) {
  main.embed-bop .inline .source {
    padding-top: 5px;
    margin-top: 0;
    clear: both;
  }
}
main.embed-bop .container.twoEmbeds {
  display: flex;
}
main.embed-bop .twoEmbeds.president,
main.embed-bop .twoEmbeds.house,
main.embed-bop .twoEmbeds.senate {
  flex: 1 0 auto;
  margin: 10px;
}
main.embed-bop .twoEmbeds.president h3,
main.embed-bop .twoEmbeds.house h3,
main.embed-bop .twoEmbeds.senate h3 {
  margin: 0px;
}
main.embed-bop .twoEmbeds.president .full-link,
main.embed-bop .twoEmbeds.house .full-link,
main.embed-bop .twoEmbeds.senate .full-link {
  margin-top: 23px;
}
main.embed-bop .house.oneEmbed,
main.embed-bop .senate.oneEmbed {
  flex: 1 0 100% !important;
}
#bop-embed-wrapper .source {
  display: block;
  color: var(--fg-quaternary);
  font-style: italic;
  font-size: 11px;
  margin: 30px 0 10px;
  text-align: center;
  clear: both;
}
.homepage {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 15px;
}
.homepage story-feed {
  display: block;
}
.homepage .story-hed {
  text-decoration: none;
}
.homepage .story-hed:hover {
  text-decoration: underline;
}
.homepage .homepage-hed {
  font-size: 44px;
  line-height: 1.1;
  text-align: center;
  margin: 20px 0 10px;
}
@media (max-width: 500px) {
  .homepage .homepage-hed {
    font-size: 32px;
  }
}
.homepage .story-grid {
  list-style: none;
  padding: 0;
  margin: 20px 0 40px;
  display: grid;
  gap: 5px;
}
@media (max-width: 500px) {
  .homepage .story-grid {
    margin: 50px 0 40px;
  }
}
@media (max-width: 768px) {
  .homepage .story-grid {
    margin: 50px 0 40px;
  }
}
.homepage .story {
  border-top: 1px solid var(--border-secondary);
  padding-top: 10px;
}
.homepage .story-hed {
  display: block;
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  font-size: 12px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.homepage .story-hed,
.homepage .story-hed:visited {
  color: var(--fg-primary);
}
.homepage .lead .story-hed {
  font-weight: bold;
}
.homepage .story-meta {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  font-size: 10px;
  color: var(--fg-secondary);
}
.homepage .story-source {
  font-weight: bold;
  margin-right: 6px;
}
.homepage .story-toggle {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: -20px 0 40px;
  padding: 10px;
  background: none;
  border: none;
  border-top: 1px solid var(--border-secondary);
  color: var(--fg-primary);
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}
.homepage .story-toggle .caret {
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s;
}
.homepage .story-toggle[aria-expanded="true"] .caret {
  transform: translateY(2px) rotate(-135deg);
}
.homepage balance-of-power-bar {
  display: block;
}
.homepage balance-of-power-bar div.source-footnote {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  font-size: 12px;
  color: --var(--fg-secondary);
  text-align: center;
}
.homepage main.embed-bop .container.twoEmbeds {
  flex-direction: column;
  gap: 25px;
}
.homepage main.embed-bop .inline .link-container {
  width: auto;
  float: none;
  display: block;
}
.homepage main.embed-bop .inline .link-container .full-link {
  text-align: center;
}
.homepage .results-links {
  font-family: 'NPRSans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
  font-weight: normal;
  letter-spacing: 0.01em;
  color: var(--fg-secondary);
  padding: 40px 15px;
  position: relative;
  z-index: 999;
  justify-content: flex-start;
  background-color: var(--bg-secondary);
  margin: 30px 0 20px 0;
}
body.embedded .homepage .results-links {
  display: none;
}
.homepage .results-links h3 {
  text-align: center;
  margin: 0 0 6px 0;
  font-size: 1.2em;
}
.homepage .results-links h3.more-hed {
  border-top: 1px solid #999;
  padding-top: 33px;
}
.homepage .results-links ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.homepage .results-links ul li {
  font-size: 14px;
  text-align: center;
}
.homepage .results-links ul.state-results li {
  font-size: 16px;
  margin-bottom: 10px;
}
.homepage .results-links ul.state-results li a {
  line-height: 1em;
}
.homepage .results-links a,
.homepage .results-links a:link,
.homepage .results-links a:visited {
  text-decoration: none;
  color: var(--fg-primary);
}
.homepage .results-links a:hover,
.homepage .results-links a:link:hover,
.homepage .results-links a:visited:hover {
  color: #aaa;
}
.homepage .results-links .state-nav {
  column-count: 3;
  margin: 20px 0 0 0;
  margin: 20px 0 33px 0;
  column-gap: 33px;
  text-align: center;
}
.homepage .results-links .state-nav ul.overall-results {
  column-span: all;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--fg-primary);
}
.homepage .results-links .state-nav ul.overall-results li {
  white-space: nowrap;
  flex: 1 1 150px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
}
@media (max-width: 875px) {
  .homepage .results-links .state-nav {
    column-count: 3;
  }
}
@media (max-width: 500px) {
  .homepage .results-links .state-nav {
    column-count: 2;
  }
}
@media (max-width: 400px) {
  .homepage .results-links .state-nav {
    font-size: 0.9em;
  }
}
.homepage .results-links .state-nav a {
  line-height: 1.8;
}
.homepage .results-links .state-nav .divider {
  border-bottom: 1px solid #ccc;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
}
.homepage .results-links .more-2026 {
  column-count: 1;
  margin: 20px 0 0 0;
  column-gap: 33px;
}
@media (max-width: 500px) {
  .homepage .results-links .more-2026 {
    column-count: 1;
  }
}
@media (max-width: 768px) {
  .homepage .results-links .more-2026 {
    column-count: 1;
  }
}
@media (max-width: 400px) {
  .homepage .results-links .more-2026 {
    font-size: 0.9em;
  }
}
.homepage .results-links .more-2026 a {
  line-height: 1.8;
}
.homepage .results-links p {
  line-height: 1.6;
}
@media (max-width: 768px) {
  .homepage story-feed:not(.expanded) .story:nth-child(n+5) {
    display: none;
  }
}
@media (min-width: 769px) {
  .homepage {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 0 40px;
    align-items: start;
  }
  .homepage > * {
    grid-column: span 2;
  }
  .homepage balance-of-power-bar {
    grid-column: 1;
  }
  .homepage story-feed {
    grid-column: 2;
  }
  .homepage .story-toggle {
    display: none;
  }
}
