  /* bloc colors */
  :root { --b-gov: #2F5FD0; --b-opp: #0B7A75; --b-arab: #B8732A; --b-out: #B7BDBB; --major: #C2412D; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --b-gov: #7C9BFF; --b-opp: #3FC1B8; --b-arab: #E3A35B; --b-out: #59616A; --major: #FF7B63; } }

  .story-head { padding-block: 36px 8px; max-width: 900px; }
  .story-head .kicker { color: var(--marker); font-weight: 600; font-size: 15px; }
  .story-head h1 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; letter-spacing: -.01em; margin: 8px 0 16px; text-wrap: balance; }
  .story-head p { color: var(--muted); font-size: 19px; max-width: var(--measure); margin: 0; }
  .story-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 18px; font-size: 14px; color: var(--muted); }

  .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); gap: 12px; margin-block: 36px; }
  .tile { background: var(--band-light); border: 1px solid var(--rule); border-radius: 18px; padding: 18px 20px; }
  .tile .lbl { font-size: 13.5px; color: var(--muted); }
  .tile .val { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums; }
  .tile .sub { font-size: 13px; color: var(--muted); }

  .block { padding-block: 40px; border-top: 1px solid var(--rule); }
  .block h2 { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; margin: 0 0 8px; }
  .block .lede { color: var(--muted); max-width: var(--measure); margin: 0 0 24px; }
  .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); gap: 32px 56px; align-items: start; }

  .legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
  .legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; }

  /* seat bars */
  .bars { display: flex; flex-direction: column; gap: 4px; }
  .bar-row { display: grid; grid-template-columns: minmax(7.5rem, 26%) 1fr 3rem; align-items: center; gap: 12px; font-size: 15px; padding: 4px 6px; border-radius: 8px; cursor: default; }
  .bar-row:hover, .bar-row:focus-visible { background: var(--band-tint); }
  .bar-track { position: relative; height: 18px; }
  .bar { height: 100%; border-radius: 5px; background: var(--c); min-width: 3px; }
  .bar-val { font-variant-numeric: tabular-nums; font-weight: 600; text-align: left; }

  /* 120-seat bloc strip */
  .strip { position: relative; margin-top: 30px; }
  .strip-bar { display: flex; height: 54px; border-radius: 12px; overflow: hidden; gap: 3px; }
  .strip-bar > div { display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; }
  .strip-mark { position: absolute; top: -24px; bottom: -8px; width: 0; border-inline-start: 2px dashed var(--ink); }
  .strip-mark span { position: absolute; top: -2px; inset-inline-start: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
  .strip-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 10px; }

  /* poll dot plot */
  .dots { position: relative; }
  .dots svg { display: block; width: 100%; height: auto; overflow: visible; }

  /* tables */
  .tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
  .tbl th { text-align: right; font-weight: 600; color: var(--muted); font-size: 13.5px; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
  .tbl td { padding: 9px 10px; border-bottom: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
  .tbl .up { color: var(--b-opp); font-weight: 600; } .tbl .down { color: var(--major); font-weight: 600; }
  .tbl-wrap { overflow-x: auto; }

  .facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 12px; }
  .fact { background: var(--band-tint); border-radius: 18px; padding: 20px 22px; }
  .fact b { display: block; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1.15; }
  .fact span { color: var(--muted); font-size: 15px; }

  .refs ol { padding-inline-start: 22px; margin: 0; }
  .refs li { margin-bottom: 8px; color: var(--muted); }
  .refs a { color: var(--ink); }
  .note { font-size: 14px; color: var(--muted); max-width: var(--measure); }

  .tip { position: absolute; z-index: 5; pointer-events: none; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 8px 12px; font-size: 13.5px; line-height: 1.45; display: none; white-space: nowrap; }
  .tip b { display: block; }
