:root {
  color-scheme: light dark;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  --bg: #f3f3ee;
  --ink: #203044;
  --muted: #647080;
  --line: #d4dce1;
  --surface: #e8edf0;
  --accent: #315d7e;
  --strong: #192e44;
  --on-strong: #f3f4ec;
  --signal: #c27658;
  --radius: 6px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 15px;
}
.gta {
  --bg: #f4f0ed;
  --ink: #32243e;
  --muted: #796c7b;
  --line: #ddd2dc;
  --surface: #e9e0e7;
  --accent: #895374;
  --strong: #30203f;
  --on-strong: #f6ecdf;
  --signal: #ce8268;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(52px, 6.4vw, 92px);
}
h2 {
  font-size: clamp(35px, 4vw, 52px);
}
h3 {
  font-size: 23px;
  letter-spacing: -0.035em;
}
h4 {
  font-size: 16px;
  letter-spacing: -0.02em;
}
em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input,
select {
  font: inherit;
}
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button svg,
a svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
}
button,
input,
select {
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.section {
  padding-block: 78px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.note {
  font-size: 11px;
  line-height: 1.85;
  color: var(--muted);
  margin-top: 22px;
  max-width: 950px;
}
.lead {
  font-size: 18px;
  max-width: 730px;
  line-height: 1.8;
  margin-top: 28px;
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  position: fixed;
  left: 15px;
  top: 15px;
  background: var(--ink);
  color: var(--bg);
  padding: 14px;
  z-index: 100;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  height: 95px;
  position: relative;
  z-index: 10;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.brand-light {
  font-weight: 400;
}
.brand-dot {
  color: var(--accent);
}
.desktop-nav {
  display: flex;
  gap: 32px;
  font-size: 12px;
}
.desktop-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.desktop-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.header-source {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 9px;
  letter-spacing: 1px;
  min-height: 44px;
}
.mobile-menu {
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 12px;
  line-height: 1.4;
  padding: 15px 23px;
  min-height: 50px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover {
  border-color: var(--accent);
}
.button:disabled:hover {
  transform: none;
}
.text-link,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.text-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
  padding-block: 27px 34px;
}
.hero-kicker > span:last-child {
  margin-left: auto;
  font-size: 8px;
}
.live-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}
.hero-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}
.hero-head > div {
  max-width: 350px;
}
.hero-head p {
  font-size: 13px;
}
.hero-head p strong {
  font-weight: 500;
  color: var(--ink);
}
.hero-head .text-link {
  margin-top: 14px;
}
.gta-hero {
  padding-bottom: 40px;
}
.countdown-scene {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  background: #33233f;
  color: #fcecdf;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 34px;
}
.scene-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.countdown-scene:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(#28163855, #28163808 30%, #291b39a8);
  z-index: -1;
}
.scene-top,
.scene-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  letter-spacing: 1.7px;
}
.counter-wrap {
  text-align: center;
  margin: 30px 0;
}
.counter-wrap > p:first-child {
  font-size: 9px;
  letter-spacing: 2px;
  color: #fcecdf;
  text-shadow: 0 1px 8px #281638;
  display: inline-block;
  background: #28163894;
  padding: 7px 12px;
  border-radius: 30px;
}
.counter {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
  margin-top: 16px;
}
.counter > div {
  display: grid;
  gap: 12px;
  text-align: center;
  min-width: 0;
}
.counter strong {
  font-size: clamp(44px, 6.8vw, 98px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 3px 25px #26153270;
}
.counter span {
  font-size: 9px;
  letter-spacing: 2px;
}
.counter > i {
  font-style: normal;
  font-size: 38px;
  opacity: 0.65;
  transform: translateY(-12px);
}
.counter-reached {
  color: #fcecdf;
  font-size: 34px;
  margin-block: 30px;
  text-shadow: 0 2px 10px #22142b;
}
.timer-settings {
  display: grid;
  grid-template-columns: 230px 1fr auto;
  gap: 28px;
  align-items: end;
  padding-top: 25px;
}
.timer-settings > label {
  display: grid;
  gap: 8px;
  font-size: 11px;
}
.timer-settings p {
  font-size: 10px;
  line-height: 1.8;
  max-width: 530px;
}
.timer-settings p strong {
  font-weight: 500;
  color: var(--ink);
}
select,
input[type="text"],
input[type="number"],
input[readonly] {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 4px;
  padding: 12px;
  min-height: 45px;
  width: 100%;
  min-width: 0;
}
select {
  padding-right: 32px;
}
.field-label {
  display: block;
  font-size: 11px;
  margin-block: 25px 9px;
}
.signal-strip {
  border-block: 1px solid var(--line);
}
.signal-strip > .wrap {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-block: 20px;
  font-size: 9px;
  letter-spacing: 1.3px;
}
.signal-strip strong {
  color: var(--ink);
  font-weight: 500;
  margin-left: 12px;
}
.calendar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  align-items: start;
}
.calendar-grid > div > p:not(.eyebrow) {
  font-size: 13px;
  max-width: 390px;
  margin-block: 25px 15px;
}
.fact-list {
  display: grid;
  gap: 25px;
}
.fact-list article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.fact-list article > span {
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--accent);
}
.fact-list h3 {
  font-size: 25px;
  margin-block: 15px;
}
.fact-list p {
  font-size: 12px;
}
.fact-list a {
  font-size: 11px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 8px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 35px;
}
.section-heading p:not(.eyebrow) {
  font-size: 12px;
}
.news-section,
.sim-section {
  background: var(--surface);
  padding-block: 65px;
}
.news-list {
  border-top: 1px solid var(--line);
  margin-bottom: 20px;
}
.news-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-block: 30px;
}
.news-item time {
  font-size: 11px;
  color: var(--muted);
}
.news-item h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.news-item p {
  font-size: 12px;
}
.news-item > a {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  min-height: 44px;
}
.prep-grid,
.voting-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.prep-grid > div > p:not(.eyebrow),
.voting-grid > div > p:not(.eyebrow) {
  font-size: 13px;
  max-width: 400px;
  margin-top: 25px;
}
.prep-grid > div > select {
  max-width: 330px;
}
.prep-grid > div > .text-button,
.voting-grid > div > .text-button {
  display: flex;
  margin-top: 16px;
}
.checklist {
  display: grid;
  gap: 0;
}
.checklist > label {
  display: flex;
  align-items: start;
  gap: 14px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  cursor: pointer;
}
.checklist > label:first-child {
  border-top: 1px solid var(--line);
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin: 2px 0 0;
  flex-shrink: 0;
}
.checklist small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin-top: 6px;
}
.check-progress {
  font-size: 11px;
  padding-block: 20px;
}
.closing {
  text-align: center;
  padding-block: 0 70px;
}
.closing .button {
  margin-top: 28px;
}
.independent {
  padding-block: 25px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 25px;
}
.independent > span {
  font-size: 9px;
  letter-spacing: 1px;
  padding-top: 4px;
  color: var(--muted);
}
.independent p {
  font-size: 10px;
  max-width: 800px;
}
.nmc-footer {
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-block: 25px;
  min-height: 95px;
  font-size: 11px;
}
.nmc-footer .brand {
  font-size: 20px;
}
.nmc-footer .brand img {
  width: 26px;
  height: 26px;
}
.nmc-footer .credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}
.nmc-footer .credit svg {
  width: 13px;
  height: 13px;
}
.nmc-footer nav {
  display: flex;
  gap: 25px;
}
.nmc-footer nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  width: max-content;
  border-radius: 6px;
  background: var(--ink);
  color: var(--bg);
  padding: 15px 22px;
  font-size: 12px;
  z-index: 50;
  box-shadow: 0 5px 20px #0002;
}
.sources {
  max-width: 950px;
}
.sources > h1 {
  font-size: clamp(48px, 6vw, 75px);
}
.sources section {
  border-top: 1px solid var(--line);
  padding-block: 35px;
  margin-top: 35px;
}
.sources h2 {
  font-size: 31px;
  margin-bottom: 20px;
}
.sources section p {
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.sources section a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 13px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sources section p a {
  display: inline;
}
.election-hero {
  padding-bottom: 58px;
}
.election-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 75px;
  align-items: center;
}
.election-hero h1 {
  font-size: clamp(52px, 5.8vw, 82px);
}
.election-hero h1 em {
  color: var(--accent);
}
.hero-lead {
  max-width: 480px;
  font-size: 14px;
  margin-top: 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.election-clock {
  background: var(--strong);
  color: var(--on-strong);
  padding: 32px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.election-clock:after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid #ffffff12;
  border-radius: 50%;
  right: -120px;
  top: -160px;
  pointer-events: none;
}
.election-clock > p:first-child {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--on-strong);
  opacity: 0.7;
}
.counter.compact {
  justify-content: space-between;
  gap: 10px;
  margin-block: 35px 30px;
}
.counter.compact strong {
  font-size: clamp(45px, 4.3vw, 64px);
  text-shadow: none;
}
.counter.compact span {
  font-size: 8px;
  letter-spacing: 1.5px;
  opacity: 0.7;
}
.election-clock > label {
  font-size: 10px;
  display: grid;
  gap: 8px;
  margin-top: 15px;
  color: var(--on-strong);
}
.election-clock select {
  background: transparent;
  color: var(--on-strong);
  border-color: #ffffff40;
  font-size: 11px;
}
.election-clock select option {
  background: var(--strong);
  color: var(--on-strong);
}
.election-clock > small {
  display: block;
  font-size: 10px;
  line-height: 1.8;
  color: var(--on-strong);
  opacity: 0.7;
  margin-top: 16px;
}
.election-clock .text-button {
  font-size: 10px;
  color: var(--on-strong);
  margin-top: 15px;
}
.election-clock #election-reached {
  font-size: 25px;
  line-height: 1.3;
  color: var(--on-strong);
  margin-block: 25px;
}
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.milestone {
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.milestone > time {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 25px;
}
.milestone time strong {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -2px;
}
.milestone time span {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.milestone h3 {
  font-size: 22px;
  margin-bottom: 15px;
}
.milestone p {
  font-size: 11px;
  line-height: 1.8;
}
.simulation-label {
  display: inline-block;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 14px;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--accent);
}
.sim-intro {
  max-width: 740px;
  font-size: 13px;
  margin-bottom: 35px;
}
.sim-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 55px;
  align-items: start;
}
.parliament-panel {
  background: var(--bg);
  border-radius: 8px;
  padding: 25px 28px;
  position: sticky;
  top: 20px;
  min-width: 0;
}
.board-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}
.hemicycle {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 30px;
}
.seat {
  fill: var(--line);
  stroke: none;
}
.seat.assigned {
  opacity: 0.4;
}
.seat.is-selected {
  opacity: 1;
  stroke: var(--ink);
  stroke-width: 0.6;
}
.group-0 {
  fill: #6e8ba6;
  background: #6e8ba6;
}
.group-1 {
  fill: #c27b69;
  background: #c27b69;
}
.group-2 {
  fill: #7e9570;
  background: #7e9570;
}
.group-3 {
  fill: #b19bc6;
  background: #b19bc6;
}
.group-4 {
  fill: #c5ac6c;
  background: #c5ac6c;
}
.group-5 {
  fill: #7b9f9b;
  background: #7b9f9b;
}
.group-6 {
  fill: #ad89a2;
  background: #ad89a2;
}
.group-7 {
  fill: #8394bd;
  background: #8394bd;
}
.group-8 {
  fill: #a2967a;
  background: #a2967a;
}
.group-9 {
  fill: #a88165;
  background: #a88165;
}
.group-10 {
  fill: #899277;
  background: #899277;
}
.group-11 {
  fill: #8b8296;
  background: #8b8296;
}
.coalition-result {
  text-align: center;
  padding-block: 10px 25px;
}
.coalition-result > span {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: var(--muted);
}
.coalition-result > strong {
  display: block;
  font-size: 74px;
  font-weight: 400;
  letter-spacing: -4px;
  line-height: 1.1;
  margin-top: 10px;
  font-variant-numeric: tabular-nums;
}
.coalition-result strong span {
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--muted);
  margin-left: 9px;
}
.coalition-result p {
  font-size: 12px;
  margin: 18px auto 0;
  max-width: 360px;
  min-height: 40px;
}
.coalition-result .is-majority {
  color: var(--accent);
}
.seat-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.seat-legend > span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.seat-legend strong {
  font-weight: 500;
}
.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.second-round {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  font-size: 12px;
}
.second-round summary {
  min-height: 35px;
  cursor: pointer;
}
.second-round p {
  font-size: 11px;
  line-height: 1.8;
  margin-block: 12px;
}
.second-round label {
  font-size: 10px;
  display: block;
  margin-bottom: 9px;
}
.second-round input {
  max-width: 120px;
}
.second-round .text-link {
  font-size: 10px;
}
.editor-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
}
.editor-heading h3 {
  font-size: 27px;
}
.editor-heading .text-button {
  font-size: 10px;
}
.rows-heading,
.scenario-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px 44px 44px;
  gap: 9px;
  align-items: center;
}
.rows-heading {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 10px;
}
.rows-heading span:nth-child(3) {
  text-align: center;
}
.scenario-row {
  margin-bottom: 10px;
}
.scenario-row input[type="text"] {
  font-size: 13px;
}
.scenario-row input[type="number"] {
  font-size: 14px;
  padding-inline: 10px;
  text-align: center;
}
.row-select {
  display: grid;
  place-items: center;
  min-height: 44px;
  cursor: pointer;
}
.row-select input {
  margin: 0;
}
.remove-list {
  border: 0;
  background: none;
  font-size: 23px;
  color: var(--muted);
  padding: 0;
  min-width: 44px;
  min-height: 44px;
}
.scenario-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.scenario-actions > .button {
  font-size: 11px;
  padding: 14px 18px;
  gap: 15px;
}
.scenario-error {
  font-size: 12px;
  color: var(--accent);
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.saved-scenarios {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  margin-top: 28px;
}
.saved-scenarios > h3 {
  font-size: 24px;
  margin-bottom: 22px;
}
.snapshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.snapshot-grid article {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  min-width: 0;
}
.snapshot-grid p {
  font-size: 11px;
  margin-top: 12px;
  min-height: 42px;
}
.snapshot-grid article > div {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.snapshot-grid .text-button {
  font-size: 10px;
}
.share-fallback {
  display: block;
  font-size: 11px;
  margin-top: 20px;
}
.share-fallback input {
  margin-top: 8px;
}
.resources {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 70px;
}
.resources article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.resources .eyebrow {
  font-size: 8px;
}
.resources h3 {
  font-size: 24px;
  margin-bottom: 18px;
}
.resources p {
  font-size: 12px;
}
.resources .text-link {
  margin-top: 15px;
  font-size: 11px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17212b;
    --ink: #e8eef0;
    --muted: #a7b3bd;
    --line: #354554;
    --surface: #202e3b;
    --accent: #9fbfd5;
    --strong: #101d2b;
    --on-strong: #e8eef0;
    --signal: #df9c7c;
  }
  .gta {
    --bg: #211a2a;
    --ink: #f4e9eb;
    --muted: #bdadbd;
    --line: #48364e;
    --surface: #30243a;
    --accent: #e9afc7;
    --strong: #180f24;
    --on-strong: #f4e9eb;
    --signal: #f0b38f;
  }
  .seat.assigned {
    opacity: 0.5;
  }
  .seat.is-selected {
    opacity: 1;
    stroke-width: 0.8;
  }
  .simulation-label {
    color: var(--ink);
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .header {
    gap: 20px;
  }
  .desktop-nav {
    gap: 22px;
  }
  .header-source {
    font-size: 8px;
    gap: 8px;
  }
  .hero-head {
    gap: 35px;
  }
  .hero-head > div {
    max-width: 300px;
  }
  .timer-settings {
    grid-template-columns: 210px 1fr;
  }
  .timer-settings > .button {
    grid-column: 2;
    justify-self: start;
  }
  .calendar-grid,
  .prep-grid,
  .voting-grid {
    gap: 50px;
  }
  .election-hero-grid {
    gap: 40px;
    grid-template-columns: 1.15fr 0.85fr;
  }
  .election-hero h1 {
    font-size: 65px;
  }
  .election-clock {
    padding: 26px;
  }
  .counter.compact strong {
    font-size: 48px;
  }
  .sim-layout {
    gap: 30px;
  }
  .parliament-panel {
    padding: 23px;
  }
  .scenario-actions > .button {
    font-size: 10px;
    padding: 13px;
  }
  .milestone-grid {
    gap: 20px;
  }
  .milestone h3 {
    font-size: 20px;
  }
  .news-item {
    grid-template-columns: 130px 1fr auto;
    gap: 20px;
  }
  .resources {
    gap: 25px;
  }
}
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .header {
    height: 80px;
    gap: 12px;
  }
  .header > .brand {
    margin-right: auto;
  }
  .mobile-menu {
    display: block;
    order: -1;
  }
  .menu-toggle {
    position: relative;
    z-index: 35;
    display: grid;
    place-items: center;
    background: none;
    border: 0;
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    color: var(--ink);
  }
  .menu-toggle svg {
    pointer-events: none;
    width: 23px;
    height: 23px;
  }
  .menu-close-icon {
    display: none;
  }
  .is-open .menu-open-icon {
    display: none;
  }
  .is-open .menu-close-icon {
    display: block;
  }
  .mobile-menu nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 0 0 6px 6px;
    padding: 15px 22px;
    display: grid;
    z-index: 30;
    box-shadow: 0 15px 25px #0001;
  }
  .mobile-menu nav a {
    padding-block: 13px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .mobile-menu nav a:last-child {
    border-bottom: 0;
  }
  .hero-head {
    align-items: start;
  }
  .hero-head h1 {
    font-size: 64px;
  }
  .hero-head > div {
    max-width: 260px;
  }
  .hero-head p {
    font-size: 12px;
  }
  .hero-head .text-link {
    font-size: 10px;
  }
  .countdown-scene {
    min-height: 380px;
  }
  .counter strong {
    font-size: 70px;
  }
  .signal-strip > .wrap {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .signal-strip strong {
    display: block;
    margin: 4px 0 0;
  }
  .calendar-grid,
  .prep-grid,
  .voting-grid {
    gap: 35px;
  }
  .election-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .election-hero h1 {
    font-size: 56px;
  }
  .election-hero .button {
    font-size: 11px;
    padding: 13px 17px;
    gap: 15px;
  }
  .hero-lead {
    font-size: 12px;
  }
  .election-clock {
    padding: 24px 20px;
  }
  .counter.compact strong {
    font-size: 44px;
  }
  .sim-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .parliament-panel {
    position: static;
    max-width: 680px;
    width: 100%;
    margin-inline: auto;
  }
  .sim-editor {
    max-width: 680px;
    width: 100%;
    margin-inline: auto;
  }
  .hemicycle {
    max-height: 320px;
  }
  .milestone-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
  .resources {
    gap: 25px;
  }
  .resources h3 {
    font-size: 22px;
  }
  .resources p {
    font-size: 11px;
  }
}
@media (max-width: 660px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 50px;
  }
  .header {
    height: 75px;
    gap: 5px;
  }
  .header .brand {
    font-size: 19px;
    gap: 7px;
  }
  .header .brand img {
    width: 27px;
    height: 27px;
  }
  .menu-toggle {
    margin-left: -8px;
  }
  .header-source {
    font-size: 7px;
    letter-spacing: 0.3px;
    gap: 6px;
  }
  .header-source svg {
    width: 15px;
  }
  .hero-kicker {
    font-size: 8px;
    letter-spacing: 0.9px;
    padding-block: 25px 30px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .hero-kicker > span:last-child {
    font-size: 7px;
    letter-spacing: 0.5px;
    margin-left: 0;
    width: 100%;
    padding-left: 14px;
  }
  .hero-head {
    display: block;
    margin-bottom: 28px;
  }
  .hero-head h1 {
    font-size: clamp(45px, 10.8vw, 66px);
    line-height: 1.05;
  }
  .hero-head > div {
    max-width: 440px;
    margin-top: 25px;
  }
  .hero-head p {
    font-size: 13px;
  }
  .hero-head .text-link {
    font-size: 11px;
    margin-top: 12px;
  }
  .countdown-scene {
    padding: 20px 18px;
    min-height: 320px;
    border-radius: 6px;
  }
  .scene-top,
  .scene-bottom {
    font-size: 7px;
    letter-spacing: 0.7px;
    gap: 12px;
  }
  .scene-top span:last-child {
    display: none;
  }
  .scene-bottom span:last-child {
    font-size: 6px;
  }
  .counter-wrap {
    margin-block: 25px;
  }
  .counter-wrap > p:first-child {
    font-size: 6px;
    letter-spacing: 0.9px;
    padding: 7px 9px;
  }
  .counter {
    gap: 8px;
    margin-top: 22px;
  }
  .counter strong {
    font-size: clamp(30px, 10.3vw, 54px);
  }
  .counter > div {
    gap: 10px;
  }
  .counter span {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .counter > i {
    font-size: 23px;
    transform: translateY(-8px);
  }
  .counter-reached {
    font-size: 26px;
  }
  .timer-settings {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 22px;
  }
  .timer-settings > label {
    font-size: 11px;
  }
  .timer-settings p {
    font-size: 11px;
    max-width: none;
  }
  .timer-settings > .button {
    grid-column: auto;
    justify-self: stretch;
    font-size: 12px;
  }
  .gta-hero {
    padding-bottom: 30px;
  }
  .signal-strip > .wrap {
    gap: 15px;
    padding-block: 17px;
    font-size: 7px;
    letter-spacing: 0.3px;
  }
  .signal-strip strong {
    font-size: 8px;
    margin-top: 6px;
    letter-spacing: 0;
  }
  .calendar-grid,
  .prep-grid,
  .voting-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .calendar-grid > div > p:not(.eyebrow),
  .prep-grid > div > p:not(.eyebrow),
  .voting-grid > div > p:not(.eyebrow) {
    max-width: none;
    font-size: 13px;
  }
  .fact-list {
    gap: 23px;
  }
  .fact-list article {
    padding-top: 20px;
  }
  .fact-list h3 {
    font-size: 25px;
  }
  .fact-list p {
    font-size: 12px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading > p,
  .section-heading > div:last-child:not(:first-child) {
    margin-top: 22px;
  }
  .section-heading p:not(.eyebrow) {
    font-size: 11px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
    margin-bottom: 17px;
  }
  h2 {
    font-size: 36px;
  }
  .news-section,
  .sim-section {
    padding-block: 45px;
  }
  .news-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 24px;
  }
  .news-item h3 {
    font-size: 23px;
  }
  .news-item time {
    font-size: 10px;
  }
  .news-item > a {
    font-size: 11px;
    justify-content: space-between;
  }
  .prep-grid > div > select {
    max-width: none;
  }
  .checklist > label {
    font-size: 12px;
    padding-block: 18px;
  }
  .checklist small {
    font-size: 10px;
  }
  .check-progress {
    font-size: 11px;
    padding-bottom: 0;
  }
  .closing {
    padding-bottom: 45px;
  }
  .independent {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 20px;
  }
  .independent > span {
    font-size: 8px;
  }
  .independent p {
    font-size: 10px;
  }
  .nmc-footer {
    gap: 15px;
    flex-wrap: wrap;
    padding-block: 20px;
    min-height: 90px;
  }
  .nmc-footer .brand {
    font-size: 18px;
    gap: 7px;
  }
  .nmc-footer .brand img {
    width: 24px;
    height: 24px;
  }
  .nmc-footer .credit {
    margin-left: auto;
    margin-right: 0;
    font-size: 10px;
    gap: 5px;
  }
  .nmc-footer nav {
    width: 100%;
    border-top: 1px solid var(--line);
    gap: 25px;
    padding-top: 5px;
    font-size: 10px;
  }
  .toast {
    font-size: 11px;
    padding: 13px 18px;
  }
  .sources > h1 {
    font-size: 47px;
  }
  .lead {
    font-size: 16px;
    margin-top: 22px;
  }
  .sources section {
    padding-block: 25px;
    margin-top: 25px;
  }
  .sources h2 {
    font-size: 29px;
  }
  .sources section p {
    font-size: 13px;
  }
  .sources section a {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .election-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .election-hero h1 {
    font-size: clamp(46px, 11.8vw, 64px);
  }
  .hero-lead {
    font-size: 13px;
    margin-top: 24px;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 25px;
  }
  .election-hero .button {
    font-size: 10px;
    gap: 12px;
    padding: 13px 15px;
    min-height: 48px;
  }
  .election-clock {
    padding: 25px;
  }
  .counter.compact {
    justify-content: start;
    gap: 32px;
    margin-block: 30px;
  }
  .counter.compact strong {
    font-size: 55px;
  }
  .counter.compact span {
    font-size: 8px;
  }
  .election-clock > small {
    font-size: 10px;
  }
  .election-clock .text-button {
    font-size: 11px;
  }
  .election-hero {
    padding-bottom: 35px;
  }
  .milestone-grid {
    gap: 25px 20px;
  }
  .milestone {
    padding-top: 18px;
  }
  .milestone > time {
    margin-bottom: 18px;
  }
  .milestone time strong {
    font-size: 39px;
  }
  .milestone time span {
    font-size: 8px;
  }
  .milestone h3 {
    font-size: 21px;
  }
  .milestone p {
    font-size: 10px;
    line-height: 1.85;
  }
  .note {
    font-size: 10px;
    margin-top: 20px;
  }
  .simulation-label {
    margin-top: 22px;
    font-size: 8px;
    padding: 8px 12px;
  }
  .sim-intro {
    font-size: 12px;
  }
  .sim-layout {
    gap: 30px;
  }
  .parliament-panel {
    padding: 20px 15px;
  }
  .board-top {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .hemicycle {
    margin-top: 25px;
  }
  .coalition-result {
    padding-bottom: 20px;
  }
  .coalition-result > span {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .coalition-result > strong {
    font-size: 63px;
  }
  .coalition-result strong span {
    font-size: 20px;
  }
  .coalition-result p {
    font-size: 11px;
    min-height: 35px;
  }
  .seat-legend {
    gap: 10px 15px;
  }
  .seat-legend > span {
    font-size: 9px;
  }
  .second-round {
    font-size: 11px;
  }
  .second-round label {
    font-size: 10px;
    line-height: 1.7;
  }
  .second-round .text-link {
    font-size: 10px;
  }
  .editor-heading h3 {
    font-size: 26px;
  }
  .editor-heading .text-button {
    font-size: 10px;
  }
  .rows-heading,
  .scenario-row {
    grid-template-columns: minmax(0, 1fr) 65px 40px 44px;
    gap: 6px;
  }
  .rows-heading {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .scenario-row input[type="text"] {
    font-size: 16px;
    padding: 10px 8px;
  }
  .scenario-row input[type="number"] {
    font-size: 16px;
    padding-inline: 5px;
  }
  .row-select {
    min-height: 46px;
  }
  .row-select input {
    width: 19px;
    height: 19px;
  }
  .remove-list {
    min-width: 44px;
    font-size: 23px;
  }
  .scenario-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }
  .scenario-actions > .button {
    font-size: 12px;
  }
  .saved-scenarios > h3 {
    font-size: 25px;
  }
  .snapshot-grid {
    gap: 18px;
  }
  .snapshot-grid p {
    font-size: 10px;
    min-height: 55px;
  }
  .snapshot-grid article > div {
    gap: 0;
    display: grid;
  }
  .snapshot-grid .text-button {
    font-size: 10px;
  }
  .resources {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-bottom: 45px;
  }
  .resources article {
    padding-top: 20px;
  }
  .resources .eyebrow {
    font-size: 9px;
  }
  .resources h3 {
    font-size: 25px;
  }
  .resources p {
    font-size: 12px;
  }
  .resources .text-link {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .header-source {
    font-size: 6px;
    gap: 4px;
    letter-spacing: 0;
  }
  .header-source svg {
    width: 12px;
  }
  .header .brand {
    font-size: 17px;
    gap: 5px;
  }
  .header .brand img {
    width: 24px;
    height: 24px;
  }
  .hero-head h1 {
    font-size: 45px;
  }
  .counter {
    gap: 5px;
  }
  .counter strong {
    font-size: 32px;
  }
  .counter > i {
    font-size: 19px;
  }
  .counter-wrap > p:first-child {
    font-size: 5.5px;
  }
  .signal-strip > .wrap {
    gap: 10px;
  }
  .signal-strip strong {
    font-size: 7px;
  }
  .election-hero .button {
    font-size: 10px;
    padding: 13px 12px;
    gap: 10px;
  }
  .counter.compact strong {
    font-size: 48px;
  }
  .counter.compact {
    gap: 25px;
  }
  .nmc-footer .brand {
    font-size: 16px;
  }
  .nmc-footer .credit {
    font-size: 9px;
  }
  .milestone h3 {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .button:hover {
    transform: none;
  }
}
