/* Classic article visuals (studioVersion 0). Studio SVG cards opt out via .studio-visual.
   Light and dark are both first-class; author SVG themes stay inside the scene. */
.website-element[data-element-type]:not(.studio-visual):not(.website-element-branded){
  --gx-bg:#fff;--gx-ink:#12141c;--gx-muted:#3e4c63;--gx-eyebrow:#1f4fe0;--gx-line:#e3e9f2;--gx-header:#e7eef6;--gx-tile:#f4f7fb;--gx-track:#e6edf6;--gx-note:#0f6e5b;--gx-negative:#c4324a;
  border:0!important;border-radius:18px!important;background:var(--gx-bg)!important;color:var(--gx-ink)!important;
  box-shadow:0 10px 28px rgba(12,22,40,.06)!important;font-family:Inter,"Object Sans",Arial,sans-serif}
.website-element[data-element-type]:not(.studio-visual):not(.website-element-branded) .website-element-head{
  padding:26px 28px 8px!important;border:0!important;background:transparent!important;color:inherit!important}
.website-element[data-element-type]:not(.studio-visual):not(.website-element-branded) .website-element-eyebrow{
  color:var(--gx-eyebrow)!important;font:700 11px/1 "JetBrains Mono",ui-monospace,monospace!important;letter-spacing:.18em!important}
.website-element[data-element-type]:not(.studio-visual):not(.website-element-branded) .website-element-head h3{
  color:var(--gx-ink)!important;font:650 clamp(1.45rem,2.4vw,2rem)/1.08 "Object Sans",Inter,sans-serif!important;letter-spacing:-.03em!important}
.website-element[data-element-type]:not(.studio-visual):not(.website-element-branded) .website-element-head p{color:var(--gx-muted)!important}
.website-element[data-element-type]:not(.studio-visual):not(.website-element-branded) .website-element-visual{
  background:transparent!important;background-image:none!important;padding:12px 28px 8px!important;color:var(--gx-ink)}
.website-element[data-element-type]:not(.studio-visual):not(.website-element-branded) .website-element-foot{
  margin:8px 28px 18px;padding:12px 0 0!important;border:0!important;border-top:1px solid var(--gx-line)!important;background:transparent!important;color:var(--gx-muted)!important;
  font:500 12px/1.45 "JetBrains Mono",ui-monospace,monospace!important}
.website-element[data-element-type]:not(.studio-visual):not(.website-element-branded) .website-element-foot b{color:var(--gx-eyebrow)!important}

.website-element .element-bar-rail{background:var(--gx-track);border:0;border-radius:8px 8px 0 0}
.website-element .element-bar-rail i{background:var(--element-accent);border-radius:8px 8px 0 0}
.website-element .element-bar-value,.website-element .element-hbar-row strong,.website-element .element-donut-legend strong{font-family:"JetBrains Mono",ui-monospace,monospace}
.website-element .element-hbar-track{height:10px;background:var(--gx-track);border-radius:999px}
.website-element .element-hbar-track i{border-radius:999px}
.website-element .element-donut:after{background:var(--gx-bg)}
.website-element .element-donut strong{font-family:"Object Sans",Inter,sans-serif;letter-spacing:-.04em}
.website-element .element-donut-legend>div{border-bottom-color:var(--gx-line);padding:8px 0}
.website-element .element-data-table{border:0!important;min-width:0}
.website-element[data-element-type="table"] .element-data-table,
.website-element .element-data-table{border:0!important;border-radius:0!important}
.website-element .element-data-table thead,.website-element .element-data-table thead th{
  background:var(--gx-header)!important;color:var(--gx-muted)!important;font:650 12px/1.3 "JetBrains Mono",ui-monospace,monospace!important;letter-spacing:.04em;text-transform:none}
.website-element .element-data-table tbody th,.website-element .element-data-table tbody td{color:var(--gx-ink);border-bottom:1px solid var(--gx-line);padding:16px 14px;background:transparent}
.website-element .element-data-table tbody tr:nth-child(even),
.website-element .element-data-table tbody tr:hover{background:transparent}
.website-element .element-stat-hero,.website-element .element-scorecard>div,.website-element .element-quote-card,.website-element .element-single-kpi,.website-element .element-metric-strip{
  background:var(--gx-tile)!important;color:var(--gx-ink)!important;border-color:var(--gx-line)!important}
.website-element[data-element-type="scorecard"] .element-scorecard>div:nth-child(1),
.website-element[data-element-type="quote-card"] .element-quote-card,
.website-element[data-element-type="headline-number"] .element-single-kpi,
.website-element[data-element-type="metric-strip"] .element-metric-strip{background:var(--gx-tile)!important;color:var(--gx-ink)!important}
.website-element[data-element-category="editorial"] .website-element-head,
.website-element[data-element-category="intel"] .website-element-head,
.website-element[data-element-category="intel"] .website-element-visual{background:transparent!important;color:var(--gx-ink)!important}
.website-element[data-element-category="editorial"] .website-element-eyebrow,
.website-element[data-element-category="intel"]{border-color:transparent!important}
.website-element .element-ranked-row:nth-child(1){background:var(--gx-header);color:var(--gx-ink)}
.website-element .element-interactive-card:focus-visible{outline:2px solid var(--gx-eyebrow);outline-offset:2px}
.website-element[data-element-type]:not(.studio-visual) :is(.element-bar-rail i,.element-hbar-track i,.element-line-point circle){transition:none}

:is(html[data-theme="dark"],html[data-newsroom-theme="dark"]) .website-element[data-element-type]:not(.studio-visual):not(.website-element-branded):not(.gx-specialist){
  --gx-bg:#0e1628;--gx-ink:#f4f7ff;--gx-muted:#b7c6dc;--gx-eyebrow:#c5d4ff;--gx-line:#2a3b56;--gx-header:#1a2942;--gx-tile:#16233a;--gx-track:#24344e;--gx-note:#8eedd9;--gx-negative:#ff8d98;
  box-shadow:none!important}
:is(html[data-theme="dark"],html[data-newsroom-theme="dark"]) .website-element .element-line-point circle{fill:#0e1628}
:is(html[data-theme="dark"],html[data-newsroom-theme="dark"]) .website-element .element-line-point text,
:is(html[data-theme="dark"],html[data-newsroom-theme="dark"]) .website-element .element-hbar-label,
:is(html[data-theme="dark"],html[data-newsroom-theme="dark"]) .website-element .element-bar-column>span{fill:var(--gx-muted);color:var(--gx-muted)}

.website-element[data-element-type]:not(.studio-visual):not(.gx-specialist):is([data-element-type="forecast-strip"],[data-element-type="hourly-forecast"],[data-element-type="daily-forecast"],[data-element-type="weather-current"],[data-element-type="severe-risk"],[data-element-type="earthquake-card"],[data-element-type="house-seats"],[data-element-type="senate-seats"],[data-element-type="us-house-map"],[data-element-type="us-senate-map"],[data-element-type="us-state-map"]){
  background:transparent!important;box-shadow:none!important;border-radius:0!important}
@media (max-width:720px){
  .website-element[data-element-type]:not(.studio-visual) .website-element-head,
  .website-element[data-element-type]:not(.studio-visual) .website-element-visual{padding-left:16px!important;padding-right:16px!important}
  .website-element .element-donut-layout,.website-element .element-stat-layout,.website-element .element-comparison-grid{grid-template-columns:1fr!important}
  .website-element .element-data-table{display:block;overflow-x:auto}
}
@media (prefers-reduced-motion:reduce){
  .website-element :is(.element-bar-rail i,.element-hbar-track i,.element-line-point circle,.element-seat){transition:none!important}
}

/* Specialist cards paint their own surface. Author light/dark wins over the page, and legacy transparent shells do not apply. */
.website-element.gx-specialist[data-gx="html"]:not([data-visual-theme="dark"]){--gx-bg:#ffffff;--gx-ink:#12141c;--gx-muted:#3e4c63;--gx-eyebrow:#1f4fe0;--gx-line:#e3e9f2;--gx-header:#e7eef6;--gx-tile:#f4f7fb;--gx-note:#0f6e5b;--gx-neg:#c4324a;background:#ffffff!important;color:#12141c!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(12,22,40,.06)!important;overflow:visible}
.website-element.gx-specialist[data-gx="html"][data-visual-theme="dark"],html[data-theme="dark"] .website-element.gx-specialist[data-gx="html"][data-visual-theme="auto"],html[data-newsroom-theme="dark"] .website-element.gx-specialist[data-gx="html"][data-visual-theme="auto"]{--gx-bg:#0e1628;--gx-ink:#f4f7ff;--gx-muted:#b7c6dc;--gx-eyebrow:#c5d4ff;--gx-line:#2a3b56;--gx-header:#1a2942;--gx-tile:#16233a;--gx-note:#8eedd9;--gx-neg:#ff8d98;background:#0e1628!important;color:#f4f7ff!important;border-radius:18px!important;box-shadow:none!important;overflow:visible}
.website-element.gx-specialist[data-gx="html"] :is(h3,h4,p,li,span,small,strong,b,dt,dd,summary,button,article){color:var(--gx-ink)!important}
.website-element.gx-specialist[data-gx="html"] :is(.gx-head p,.gx-foot,.gx-map-note,.gx-chamber-meta,.gx-table-head,.gx-glossary dd,.gx-row small,.gx-sport-card small,.gx-player p){color:var(--gx-muted)!important}
.website-element.gx-specialist[data-gx="html"] .gx-head span{color:var(--gx-eyebrow)!important}
.website-element.gx-specialist[data-gx="html"] :is(.gx-foot .gx-note,.gx-deltas b[data-down="false"]){color:var(--gx-note)!important}
.website-element.gx-specialist[data-gx="html"] .gx-foot b{color:var(--gx-ink)!important}
.gx-head{padding:26px 28px 8px;display:flex;flex-direction:column;align-items:flex-start}.gx-head span{display:block;color:var(--gx-eyebrow)!important;font:700 11px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.16em;text-transform:uppercase}.gx-head h3{margin:12px 0 0;color:var(--gx-ink)!important;font:650 clamp(1.4rem,2.4vw,2rem)/1.12 "Object Sans",Inter,sans-serif;letter-spacing:-.03em}.gx-head p{margin:8px 0 0;color:var(--gx-muted)!important;font:450 14px/1.45 Inter,sans-serif}
.website-element .kx-datum:focus-visible{outline:2px solid var(--gx-eyebrow);outline-offset:3px}
.gx-body{padding:8px 28px 12px}.gx-foot{display:flex;justify-content:space-between;gap:12px;margin:8px 28px 18px;padding-top:12px;border-top:1px solid var(--gx-line);color:var(--gx-muted)!important;font:500 12px/1.4 "JetBrains Mono",ui-monospace,monospace}.gx-foot .gx-note{color:var(--gx-note)!important}.gx-foot b{color:var(--gx-ink)!important;letter-spacing:.12em}
.gx-scoreboard,.gx-matchup,.gx-compare{display:grid;gap:14px}.gx-scoreboard>div,.gx-matchup,.gx-compare{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:stretch}
.gx-sport-card,.gx-player{display:flex;align-items:center;gap:14px;padding:16px;border-radius:14px;background:var(--gx-tile);color:inherit}.gx-sport-card em,.gx-player strong,.gx-deltas strong,.gx-current>strong{font:650 clamp(1.8rem,4vw,3rem)/1 "Object Sans",Inter,sans-serif;letter-spacing:-.04em;font-style:normal}
.gx-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:10px;background:var(--gx-header);font-weight:700}
.gx-table{display:grid}.gx-table-head,.gx-table-row{display:grid;grid-template-columns:1.4fr repeat(3,minmax(48px,.4fr));gap:8px;align-items:center;padding:12px 4px;border-bottom:1px solid var(--gx-line)}.gx-table-head{background:var(--gx-header);border-radius:8px;color:var(--gx-muted);font:650 12px/1 "JetBrains Mono",ui-monospace,monospace}
.gx-chamber-meta,.gx-seat-legend{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--gx-muted);font:500 12px/1.4 "JetBrains Mono",ui-monospace,monospace}.gx-seat-legend{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}.gx-seat-legend li{display:grid;grid-template-columns:14px 1fr auto;gap:10px;align-items:center;color:var(--gx-ink)}.gx-seat-legend i,.gx-legend-list i{width:12px;height:12px;border-radius:3px;display:block}
.gx-chamber-plot{position:relative;width:100%;aspect-ratio:2.1/1;min-height:280px;margin-top:12px;border-bottom:1px solid var(--gx-line)}
.gx-chamber-plot .element-seat-wrap{position:absolute;transform:translate(-50%,-50%);width:14px;height:14px;margin:0;padding:0;border:0;background:transparent;display:grid;place-items:center}
.gx-chamber-plot .element-seat{display:block;width:7px;height:7px;border-radius:99px;background:#c5d0de}
.gx-chamber-plot.is-senate .element-seat{width:10px;height:10px}
.gx-specialist .element-seat-popover{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);width:max-content;max-width:220px;padding:8px 10px;border-radius:8px;background:#12141c;color:#f4f7ff;opacity:0;visibility:hidden;pointer-events:none;text-align:left;z-index:4}
.gx-specialist .element-seat-popover b,.gx-specialist .element-seat-popover span,.gx-specialist .element-seat-popover small{display:block}
.gx-specialist .element-seat-wrap:hover,.gx-specialist .element-seat-wrap:focus-visible{z-index:6}
.gx-specialist .element-seat-wrap:hover .element-seat-popover,.gx-specialist .element-seat-wrap:focus-visible .element-seat-popover{opacity:1;visibility:visible}
.gx-state-grid{display:grid;grid-template-columns:repeat(15,minmax(0,1fr));grid-template-rows:repeat(6,64px);gap:6px;min-width:640px}.gx-usmap{overflow-x:auto}.gx-state{display:flex;flex-direction:column;justify-content:space-between;padding:6px;border:0;border-radius:8px;background:var(--gx-tile);color:var(--gx-ink);text-align:left;font:650 11px/1.2 Inter,sans-serif}.gx-state:focus-visible,.gx-seat:focus-visible,.element-interactive-card:focus-visible{outline:2px solid var(--gx-eyebrow);outline-offset:2px}
.gx-split,.gx-meter,.gx-poss-bar{display:flex;height:8px;border-radius:99px;overflow:hidden;background:var(--gx-line)}.gx-split i:nth-child(1),.gx-poss-bar i{background:#2f6bff}.gx-split i:nth-child(2){background:#0f9f8a}.gx-split i:nth-child(3){background:#c4b5fd}.gx-meter i{background:#2f6bff}
.gx-map-note{color:var(--gx-muted);font:450 12px/1.4 Inter,sans-serif}
.gx-rows,.gx-deltas,.gx-metrics,.gx-status,.gx-check,.gx-scale{display:grid;gap:10px;margin:0;padding:0;list-style:none}.gx-row,.gx-deltas article,.gx-metrics article,.gx-status li,.gx-check li,.gx-scale li,.gx-quake div{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:12px 0;border-bottom:1px solid var(--gx-line);background:transparent;color:inherit}
.gx-check i{width:22px;height:22px;display:grid;place-items:center;border-radius:99px;background:var(--gx-header);font-style:normal}
.gx-faq details{border-bottom:1px solid var(--gx-line);padding:10px 0}.gx-faq summary{cursor:pointer;font-weight:650}.gx-split-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.gx-split-cols section{padding:12px;border-radius:12px;background:var(--gx-tile)}.gx-glossary{display:grid;gap:12px}.gx-glossary dt{font-weight:700}.gx-glossary dd{margin:4px 0 0;color:var(--gx-muted)}
.gx-podium{display:flex;align-items:flex-end;gap:12px;min-height:220px}.gx-podium>div{flex:1;display:flex;flex-direction:column;justify-content:flex-end;min-height:var(--h);padding:12px;border-radius:12px 12px 0 0;background:var(--gx-header)}
.gx-alert{padding:18px;border-radius:14px;background:var(--gx-tile);border-left:4px solid var(--gx-neg)}.gx-alert strong{display:block;font:650 1.8rem/1.1 "Object Sans",Inter,sans-serif}
.gx-current{display:grid;gap:8px}.gx-bracket,.gx-route,.gx-tree{display:grid;gap:10px;margin:0;padding:0;list-style:none}.gx-bracket li,.gx-route li,.gx-tree li{display:grid;gap:4px;padding:12px;border-radius:12px;background:var(--gx-tile)}
.gx-cone{position:relative;height:180px;background:linear-gradient(180deg,transparent,var(--gx-header));border-radius:0 0 120px 120px}.gx-cone span{position:absolute;bottom:18px;left:var(--x);color:var(--gx-ink);font-size:12px}
.gx-deltas b[data-down="true"]{color:var(--gx-neg)}.gx-deltas b[data-down="false"]{color:var(--gx-note)}
.gx-status i{width:10px;height:10px;border-radius:99px;background:#0f9f8a}.gx-status i[data-level="1"]{background:#e0a100}.gx-status i[data-level="2"]{background:var(--gx-neg)}
@media(max-width:720px){.gx-head,.gx-body{padding-left:16px;padding-right:16px}.gx-foot{margin-left:16px;margin-right:16px}.gx-scoreboard>div,.gx-matchup,.gx-compare,.gx-split-cols{grid-template-columns:1fr}.gx-state-grid{grid-template-columns:repeat(15,42px)}}
@media(prefers-reduced-motion:reduce){.gx-specialist *{transition:none!important}}
.element-branded-card .element-status-tag,.sg-header .element-status-tag,.element-status-tag{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:fit-content!important;max-width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;padding:3px 8px!important;gap:6px!important;line-height:1!important;border-radius:999px!important;box-sizing:border-box!important}
.element-status-tag>span{display:inline-flex!important;align-items:center!important;line-height:1!important;padding:0!important}
.element-branded-card .element-branded-copy h3,.sg-copy h3{line-height:1.08!important}
.sg-eyebrow{margin:0 0 .7em!important}
