@font-face {
  font-family: 'Public Sans';
  src: url('/assets/fonts/PublicSans.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('/assets/fonts/BarlowCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
.site {
  --navy: #14233d;
  --green: #0f6e4a;
  --amber: #e8a317;
  --amber-d: #b07a00;
  --amber-t: #8a5f00;
  --edge: #858f9d;
  --wash: #f2f5f3;
  --paper: #fcfcfb;
  --hi: #ffe45c;
  --body: #3b4860;
  --muted: #5d6a80;
  --pad: 28px;
  font:
    400 16px/1.55 'Public Sans',
    sans-serif;
  color: var(--navy);
  background: var(--paper);
}
.site * {
  box-sizing: border-box;
}
.site h1,
.site h2,
.site h3,
.site h4,
.site p {
  margin: 0;
}
.site a {
  color: inherit;
}
.site .num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.site :focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--hi);
}
.site .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  font-weight: 700;
  border-radius: 8px;
  font-size: 16px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease;
}
.site .btn:hover {
  background: #0b5a3c;
}
.site .btn.alt {
  background: #fff;
  color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.site .btn.alt:hover {
  background: #fff;
}
.site .btn svg {
  flex: none;
}
.site .textlink {
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Top bar */
.paths-card {
  display: block;
  margin-top: 28px;
  padding: 24px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: white;
  color: var(--navy);
  text-decoration: none;
}
.paths-card:hover {
  border-color: var(--green);
}
.paths-card:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}
.site .paths-card h2 {
  margin: 0;
  line-height: 1.2;
}
.paths-card progress {
  display: block;
  width: 100%;
  height: 16px;
  appearance: none;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--wash);
  color: var(--green);
}
.paths-card progress::-webkit-progress-bar {
  background: var(--wash);
}
.paths-card progress::-webkit-progress-value {
  background: var(--green);
}
.paths-card progress::-moz-progress-bar {
  background: var(--green);
}
.paths-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.paths-chips span {
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--wash);
  font-weight: 600;
}
#why-july-20-2028 {
  scroll-margin-top: 24px;
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--pad);
  background: var(--paper);
  border-bottom: 3px solid var(--navy);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
}
.brand small {
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}
.brand > span {
  white-space: nowrap;
}
.bar nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 600;
  font-size: 15px;
}
.bar nav a {
  text-decoration: none;
}
.bar nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.bar .btn {
  padding: 10px 16px;
  font-size: 15px;
}
.bar .menu {
  display: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 6px;
  color: var(--navy);
  cursor: pointer;
}
.dock {
  display: none;
}
@container (max-width: 560px) {
  .site {
    --pad: 18px;
  }
  .bar nav a:not(.btn),
  .brand small {
    display: none;
  }
  .brand {
    font-size: 15px;
    gap: 8px;
  }
  .bar {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .bar nav {
    gap: 8px;
  }
  .bar .btn {
    padding: 9px 12px;
    font-size: 14px;
    white-space: nowrap;
  }
  .bar .menu {
    display: inline-flex;
  }
  .dock {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #cbd2da;
    box-shadow: 0 -6px 18px rgba(20, 35, 61, 0.12);
  }
  .dock .btn {
    flex: 1;
    justify-content: center;
    padding: 12px;
  }
}

/* Pop-up definitions (toggletip) */
.term {
  position: relative;
  display: inline;
}
.term > button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: help;
  text-decoration: underline dotted 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--amber-d);
}
.term > button:hover {
  background: #fff4c2;
}
.tip {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(19rem, 78cqw);
  background: var(--navy);
  color: #fff;
  font:
    400 15px/1.45 'Public Sans',
    sans-serif;
  padding: 12px 14px 13px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(20, 35, 61, 0.28);
  text-align: left;
}
.tip b {
  display: block;
  color: var(--hi);
  font-size: 13px;
  margin-bottom: 3px;
}
.tip[hidden] {
  display: none;
}

/* Path to 270 bar */
.pbar {
  display: flex;
  gap: 2px;
  height: 38px;
  position: relative;
}
.pbar i {
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transform-origin: left;
}
.p-in {
  background: var(--green);
  color: #fff;
}
.p-tri {
  background: var(--amber-d);
}
.p-wait {
  border: 2px dashed var(--amber-d);
}
.p-rest {
  box-shadow: inset 0 0 0 1px var(--edge);
}
.p-goal {
  position: absolute;
  left: 90%;
  top: -9px;
  bottom: -9px;
  width: 3px;
  background: var(--navy);
  transform-origin: top;
}
.p-goal span {
  position: absolute;
  bottom: 100%;
  left: -10px;
  font-size: 12px;
  font-weight: 800;
  padding-bottom: 2px;
}
.pkey {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
  color: var(--body);
}
.pkey b {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 6px;
  vertical-align: -2px;
}

/* Five statehouses */
.hB {
  padding: 34px var(--pad) 40px;
}
.hB .top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px 40px;
  align-items: end;
}
.hB h1 {
  font-size: clamp(32px, 5.4cqw, 60px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.025em;
}
.hB .sent {
  font-size: 18px;
  color: var(--body);
}
.hB .acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 18px;
}
.caps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.capc {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #d5dae0;
  display: flex;
  flex-direction: column;
}
.capc .ph {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--wash);
}
.capc .ph::after {
  content: '';
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(20, 35, 61, 0.45));
  pointer-events: none;
}
.capc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.capc .ev {
  position: absolute;
  z-index: 1;
  left: 10px;
  bottom: 10px;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 4px 10px 5px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.capc .ev .num {
  font-size: 30px;
  line-height: 1;
}
.capc .cb {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.capc h3 {
  font-size: 19px;
  font-weight: 800;
}
.capc .chip {
  align-self: start;
  font-size: 12.5px;
  font-weight: 700;
  background: #fff4c2;
  color: var(--amber-t);
  padding: 3px 8px;
  border-radius: 999px;
}
.capc a {
  margin-top: auto;
  font-weight: 700;
  font-size: 15px;
  text-underline-offset: 3px;
}
.hB .pathrow {
  margin-top: 30px;
}
@container (max-width: 760px) {
  .hB .top {
    grid-template-columns: 1fr;
  }
  .caps {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@container (max-width: 400px) {
  .capc .ev .num {
    font-size: 24px;
  }
  .capc h3 {
    font-size: 16px;
  }
  .capc a {
    font-size: 14px;
  }
}

/* Electoral vote squares */
.cw {
  position: relative;
  margin-top: 30px;
}
.cwaffle {
  display: grid;
  grid-template-rows: repeat(10, auto);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 2px;
}
.cwaffle i {
  aspect-ratio: 1;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px var(--edge);
}
.cwaffle i.on {
  background: var(--green);
  box-shadow: none;
}
.cwaffle i.tri {
  background: var(--amber-d);
  box-shadow: none;
}
.cwaffle i.wait {
  box-shadow: inset 0 0 0 1.5px var(--amber-d);
}
.cw .line270 {
  position: absolute;
  left: 50%;
  top: -14px;
  bottom: -14px;
  width: 3px;
  margin-left: -1.5px;
  background: var(--navy);
  transform-origin: top;
}
.cw .line270 span {
  position: absolute;
  top: -20px;
  left: 6px;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
.cwk {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 22px;
  font-size: 15px;
  color: var(--body);
}
.cwk .num {
  font-size: 28px;
  color: var(--navy);
  margin-right: 6px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.chips button {
  appearance: none;
  border: 0;
  cursor: pointer;
  font:
    600 14px 'Public Sans',
    sans-serif;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.chips button[aria-pressed='true'] {
  background: var(--green);
  color: #fff;
  box-shadow: none;
}
/* ---------- Footer with the link to the compact's own site ---------- */
.foot {
  background: var(--navy);
  color: #fff;
  padding: 26px var(--pad) 22px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px 36px;
}
.foot .brand {
  color: #fff;
}
.foot p {
  font-size: 15px;
  color: #dce3ee;
  margin-top: 10px;
  max-width: 32rem;
}
.foot a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-content: start;
  font-weight: 600;
}
.foot nav a {
  font-weight: 600;
}
.foot .credit {
  grid-column: 1 / -1;
  font-size: 12.5px;
  color: #b9c4d4;
  border-top: 1px solid #2c3e5e;
  padding-top: 12px;
}
.foot .credit a {
  color: #dce3ee;
  font-weight: 500;
}
@container (max-width: 640px) {
  .foot {
    grid-template-columns: 1fr;
  }
}

/* ===================== MOTION =====================
   Everything below runs only when the visitor's device allows motion.
   With "Reduce motion" on (or the page's Motion toggle off) the page shows the finished state. */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes drop {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.3);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes settle {
  from {
    transform: scale(1.14);
  }
  to {
    transform: scale(1);
  }
}
@keyframes tipin {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  body.js:not(.still) .anim.in .rise {
    animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(var(--d, 0) * 1ms);
  }
  body.js:not(.still) .anim.in .pbar i {
    animation: grow 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(var(--d, 0) * 1ms);
  }
  body.js:not(.still) .anim.in .p-goal {
    animation: drop 0.4s ease-out both;
    animation-delay: 1500ms;
  }
  body.js:not(.still) .anim.in .capc img {
    animation: settle 9s ease-out both;
  }
  body.js:not(.still) .capc img {
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  body.js:not(.still) .capc:hover img,
  body.js:not(.still) .capc:focus-within img {
    transform: scale(1.06);
  }
  body.js:not(.still) .anim.in .cwaffle i.on,
  body.js:not(.still) .anim.in .cwaffle i.tri,
  body.js:not(.still) .anim.in .cwaffle i.wait {
    animation: pop 0.35s ease-out both;
    animation-delay: calc(var(--d, 0) * 1ms);
  }
  body.js:not(.still) .anim.in .line270 {
    animation: drop 0.5s ease-out both;
    animation-delay: 2300ms;
  }
  body.js:not(.still) .tip:not([hidden]) {
    animation: tipin 0.16s ease-out;
  }
  body.js:not(.still) .site .btn {
    transition:
      background-color 0.15s ease,
      transform 0.15s ease;
  }
  body.js:not(.still) .site .btn:active {
    transform: translateY(1px);
  }
}

* {
  box-sizing: border-box;
}
body.site {
  margin: 0;
}
.site {
  --navy: #14233d;
  --green: #0f6e4a;
  --amber: #e8a317;
  --amber-d: #b07a00;
  --hi: #ffe45c;
  --pad: clamp(18px, 4vw, 48px);
}
main,
.share-band {
  max-width: 1200px;
  margin: auto;
}
main {
  container-type: inline-size;
}
.site h1 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.1;
}
.site h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin: 1.2em 0 0.5em;
}
.site h3 {
  margin: 1em 0 0.4em;
}
.site p {
  margin: 0.65em 0;
}
.site ul,
.site ol {
  padding-left: 1.4rem;
}
.site button,
.site select {
  font: inherit;
}
.site button {
  cursor: pointer;
  min-height: 40px;
}
.site .section {
  padding: 32px var(--pad);
}
.site .prose {
  max-width: 55rem;
  min-height: 50vh;
}
.site .bar {
  flex-wrap: wrap;
}
.site .bar nav {
  flex-wrap: wrap;
}
.site .caps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.site .capc h3 {
  margin: 0;
}
.site .capc .ev {
  font-size: 11px;
  left: 6px;
  bottom: 6px;
  padding: 4px 6px;
}
.site .capc .ev .num {
  font-size: 25px;
}
.site .pbar {
  margin: 30px 0 16px;
}
.site .pbar .p-tri {
  color: var(--navy);
}
.site .cw {
  margin: 50px 0 25px;
}
.site .line270 {
  left: 50.186%;
}
.site .state-list {
  columns: 3;
  margin-top: 20px;
}
.site .state-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}
.site .status {
  font-size: 22px;
  font-weight: 700;
}
.site blockquote {
  border-left: 4px solid var(--amber-d);
  margin: 1rem 0;
  padding-left: 1rem;
}
.site .playbook-steps > li {
  margin: 1rem 0 2rem;
}
.site .timeline li {
  padding: 20px 0;
  border-bottom: 1px solid #858f9d;
}
.site .timeline h2 {
  font-size: 23px;
  margin: 0.5rem 0;
}
.site .timeline .tag {
  margin-left: 0.5rem;
}
.site .chips {
  margin: 18px 0;
}
.site .chips button[aria-pressed='true'] {
  background: var(--green);
  color: white;
}
.site .share-band {
  padding: 28px var(--pad);
  border-top: 3px solid var(--navy);
  overflow-wrap: anywhere;
}
.site [data-share] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.site [data-share][hidden],
[hidden] {
  display: none !important;
}
.site .foot {
  padding: 32px var(--pad);
  margin-top: 25px;
}
.site .foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.skip {
  position: fixed;
  top: -5rem;
  left: 1rem;
  background: #fff;
  z-index: 100;
  padding: 12px;
}
.skip:focus {
  top: 1rem;
}
.site table {
  border-collapse: collapse;
}
.site th,
.site td {
  padding: 8px 16px;
  border: 1px solid var(--edge);
}
@media (max-width: 760px) {
  .site .caps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site .state-list {
    columns: 2;
  }
  .site .bar nav {
    gap: 12px;
  }
}
@media (max-width: 500px) {
  .site .state-list {
    columns: 1;
  }
  .site .bar nav {
    font-size: 14px;
  }
  .site .dock {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 10;
  }
  .site .dock .btn {
    flex: 1;
    justify-content: center;
  }
  .site .pbar i {
    font-size: 10px;
    padding-left: 3px;
  }
  .site .pbar i span {
    display: none;
  }
}
/* Amber on white keeps the 3:1 bar boundary; highlighter labels meet text contrast. */
.site .pbar .p-tri {
  background: var(--hi);
  box-shadow: inset 0 0 0 1.5px var(--amber-d);
}
.site .tile-map {
  display: block;
  width: 100%;
  height: auto;
  margin: 20px 0;
}
.site .map-legend {
  font-size: 14px;
}
.site .map-list summary {
  padding: 12px 0;
  font-weight: 700;
  cursor: pointer;
}
.site [data-share] a,
.site [data-share] button {
  border: 0;
  box-shadow: inset 0 0 0 1.5px var(--green);
  background: #fff;
  color: var(--green);
  border-radius: 30px;
  padding: 8px 14px;
  text-decoration: none;
}
/* Petition and take-action forms share the site's existing type and focus styles. */
.site form input:not([type=checkbox]):not([type=hidden]),
.site form select,
.site textarea {
  display: block;
  width: 100%;
  max-width: 34rem;
  padding: 10px;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  font: inherit;
}
.site [data-wall] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-left: 20px;
}
.site [data-action-state] .action-steps {
  list-style: none;
  padding: 0;
}
.site [data-action-state] button,
.site form button,
.site [data-wall-more] {
  min-height: 44px;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
}
.site :is(form [type=submit], [data-copy-blurb], [data-dismiss-sign], [data-wall-more], .action-steps > li > button) {
  background: var(--green); color: #fff; border: 0; border-radius: 8px;
}
.site :is(form [type=submit], [data-copy-blurb], [data-dismiss-sign], [data-wall-more], .action-steps > li > button):hover { background: #0b5a3c; }
.site button:disabled { cursor: wait; }

/* Shared frame and grouped sources (round 3, A and B). */
.site .brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.site .brand .txt { display: flex; flex-direction: column; gap: 2px; white-space: normal; }
.brand .mk { flex: none; display: grid; grid-template-columns: repeat(3, 7px); gap: 2px; }
.brand .mk i { width: 7px; height: 7px; border-radius: 1.5px; background: var(--green); }
.brand .mk i:nth-child(n+7) { background: none; box-shadow: inset 0 0 0 1.2px var(--navy); }
.site .brand small { display: block; max-width: 27rem; font-size: 12px; font-weight: 500; }
.about-video { margin: 28px var(--pad) 0; padding: 24px; background: var(--wash); border-radius: 14px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.about-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
@media (max-width: 760px) {
  .about-video { grid-template-columns: 1fr; padding: 18px; }
}
.site .foot { display: block; }
.site .foot nav { display: block; }
.site .foot ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site .foot .l2 { margin-top: 14px; font-size: 14px; }
.site .foot .credit { max-width: none; margin-top: 20px; }
.site .sources { margin: 20px var(--pad) 0; padding: 20px 0 26px; border-top: 1px solid #c5ccd5; }
.site .sources h2 { font-size: 18px; margin: 0; }
.sources summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::before { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.sources details[open] > summary::before { transform: rotate(45deg); }
.site .sources h3 { font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
.site .sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.site .sources a { font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .site .bar { align-items: flex-start; }
  .site .brand { flex: 1; min-width: 0; }
  .site .brand > span { white-space: normal; }
  .site .bar nav a:not(.btn) { display: none; }
}

/* Take action: option A cards with option B's navy petition. */
.act { padding: 28px var(--pad) 30px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 28px 36px; align-items: start; }
.act > h1, .act > .lede { grid-column: 1 / -1; }
.act > .lede { color: var(--body); max-width: 42rem; margin-top: -12px; }
.act > .sec, .act .ee { grid-column: 1; }
.act h2 { font-size: 21px; margin: 0 0 12px; }
.act .h2s { font-size: 15px; color: var(--body); }
.act #everywhere { display: contents; }
.trc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trc a.deciding { grid-column: span 2; grid-row: span 1; }
.trc a.deciding .ph { aspect-ratio: 33 / 10; }
.trc a { text-decoration: none; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #D5DAE0; display: flex; flex-direction: column; }
.trc a:hover { box-shadow: 0 0 0 1.5px var(--navy), 0 8px 18px rgba(20,35,61,.12); }
.trc .ph { position: relative; aspect-ratio: 16 / 10; background: var(--wash); overflow: hidden; }
.trc .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trc .ev { position: absolute; left: 8px; bottom: 8px; background: var(--navy); color: #fff; border-radius: 7px; padding: 2px 8px 3px; font-size: 12px; font-weight: 600; display: flex; gap: 5px; align-items: baseline; }
.trc .ev .num { font-size: 24px; line-height: 1; }
.trc .cb { padding: 10px 12px 12px; }
.trc h3 { font-size: 17px; font-weight: 800; }
.trc .by { font-size: 13px; color: var(--body); margin-top: 2px; }
.trc a.deciding { box-shadow: 0 0 0 2.5px var(--amber-d); }
.trc .dec { position: absolute; top: 8px; left: 8px; background: var(--hi); color: var(--navy); font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.lsr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lsr a { text-decoration: none; display: grid; align-content: start; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 12px; align-items: start; padding: 11px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px #C5CCD5; background: #fff; }
.lsr a:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.site .lsr h3 { margin: 0; font-size: 15px; font-weight: 800; } .lsr h3 .num { font-size: 18px; color: var(--muted); margin-left: 4px; }
.site .lsr p { grid-column: 2; margin: 0; font-size: 13px; color: var(--body); line-height: 1.4; }
.ee { display: grid; gap: 10px; }
.ee > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; align-items: center; padding: 12px 0; border-top: 1px solid #DCE2E0; }
.ee h3 { font-size: 15.5px; font-weight: 800; } .ee p { font-size: 13.5px; color: var(--body); }
.ee .btn { padding: 9px 14px; font-size: 14px; }

.act .lsr img { grid-row: span 2; }
.pform { padding: 20px 20px 22px; border-radius: 14px; background: var(--navy); color: #fff; min-width: 0; }
.site .pform h2 { font-size: 20px; margin: 0 0 4px; }
.act .pform { grid-column: 2; grid-row: 3 / span 3; position: sticky; top: 12px; }
.sup .pform { max-width: 34rem; margin-top: 24px; }
.pform p { font-size: 14px; }
.pform label { font-size: 13.5px; font-weight: 700; }
.pform button[type=submit] { width: 100%; font-weight: 700; }
.site .pform input:not([type=checkbox]):not([type=hidden]), .site .pform select { background: #fff; color: var(--navy); border-radius: 8px; }
.pform .num { font-size: 28px; }
@media (max-width: 760px) {
  .act { display: block; }
  .site .act > .lede { margin-top: 12px; }
  .act > .sec, .act #everywhere { display: block; margin-top: 28px; }
  .act .pform { position: static; margin-top: 24px; }
  .trc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trc a.deciding { grid-column: span 2; }
  .lsr { grid-template-columns: 1fr; }
}

.sup { padding: 28px var(--pad) 30px; }
.sup h1 { font-size: clamp(30px, 4.4cqw, 46px); font-weight: 900; letter-spacing: -.02em; line-height: 1.02; }
.sup .lede { color: var(--body); font-size: 17px; margin-top: 10px; max-width: 42rem; }
.sup h2 { font-size: 21px; font-weight: 800; margin: 28px 0 12px; }
.orgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.orgs article { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px #D5DAE0; padding: 16px 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.site .orgs h3 { margin: 0; font-size: 17px; font-weight: 800; }
.orgs p { font-size: 14.5px; color: var(--body); flex: 1; }
.orgs .src { font-size: 13px; color: var(--muted); }
.orgs .src a { font-weight: 700; color: var(--navy); }
.invite { margin-top: 30px; background: var(--wash); border-radius: 14px; padding: 22px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 30px; align-items: center; }
.site .invite h2 { margin: 0 0 6px; font-size: 22px; max-width: 36rem; }
.invite p { color: var(--body); font-size: 15.5px; max-width: 34rem; }
.invite .sq { display: grid; grid-template-columns: repeat(25, minmax(0, 1fr)); gap: 4px; margin-top: 16px; max-width: 40rem; }
.invite .sq i { aspect-ratio: 1; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--edge); background: #fff; }
.invite .acts { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 220px; }
.invite .btn { justify-content: center; text-align: center; }
.invite .sqcap { font-size: 13px; margin-top: 8px; color: var(--muted); }

.site .invite .sq .filled { background: var(--green); box-shadow: none; }
@media (max-width: 760px) {
  .orgs, .invite { grid-template-columns: 1fr; }
  .invite .acts { min-width: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .site.js:not(.still) .anim.in .trc > a,
  .site.js:not(.still) .anim.in .lsr > a,
  .site.js:not(.still) .anim.in .orgs > article { animation: rise .7s ease-out both; }
  .site.js:not(.still) .action-steps > li:not([hidden]) { animation: rise .45s ease-out; }
  .site.js:not(.still) .anim.in .tile-map a { transform-box: fill-box; transform-origin: center; animation: pop .45s ease-out both; }
}

.site .ee h3, .site .ee p { grid-column: 1; }
.site .ee .btn { grid-column: 2; grid-row: 1 / span 2; }

@media (prefers-reduced-motion: no-preference) {
  .trc a { transition: transform .15s, box-shadow .15s; }
  .trc a:hover { transform: translateY(-2px); }
}

/* Map A: status fills, gold trifecta rings, and long-shot edge marks. */
.site .tile-map { overflow: visible; }
.site .map-tile.trifecta a { translate: 0 -2px; filter: drop-shadow(0 3px 2px #14233d40); }
.site .map-legend { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px 40px; max-width: 760px; }
.site .map-legend h3 { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.site .map-legend ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site .map-legend li { display: flex; align-items: center; gap: 10px; }
.site .map-legend .now { font-size: 16.5px; font-weight: 700; }
.site .map-legend .later ul { grid-template-columns: 1fr 1fr; font-size: 14px; }
.site .map-legend .sw { flex: none; display: grid; place-items: center; width: 22px; height: 22px; font-size: 11px; border: 1.5px solid var(--navy); border-radius: 4px; }
.site .map-legend .member, .site .map-legend .member_repeal_pending { background: var(--green); color: #fff; }
.site .map-legend .bill_pending { background: var(--hi); }
.site .map-legend .signed_not_in_effect { border: 2px dashed var(--amber-t); }
.site .map-legend .signed_not_in_effect_for_2028 { border: 2px dotted var(--amber-t); }
.site .map-legend .frozen { border: 2px dotted var(--navy); }
.site .map-legend .member_repeal_pending { border-style: dashed; }
.site .map-legend .marks { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px 26px; padding-top: 14px; border-top: 1px solid #dce2e0; }
.site .marks span { display: inline-flex; align-items: center; gap: 12px; }
.site .mk-tri, .site .mk-ls { display: inline-block; flex: none; width: 22px; height: 22px; border-radius: 4px; }
.site .mk-tri { border: 1.5px solid var(--navy); box-shadow: 0 0 0 2px var(--paper), 0 0 0 5px var(--amber-d); margin: 4px; }
.site .mk-ls { border: 2.5px dashed var(--navy); position: relative; }
.site .mk-ls::after { content: ''; position: absolute; top: -2px; right: -2px; border-top: 8px solid var(--navy); border-left: 8px solid transparent; }
.site .state-list .tag { display: inline-block; border: 1px solid var(--navy); border-radius: 4px; padding: 0 4px; font-size: 12px; }
@keyframes glow { 0%, 100% { filter: drop-shadow(0 0 0 #e8a31700); } 50% { filter: drop-shadow(0 0 9px #e8a317f2); } }
@media (prefers-reduced-motion: no-preference) {
  .site.js:not(.still) .anim.in .tile-map .trifecta-ring { animation: glow 1.1s ease-in-out 3; }
}
@media (max-width: 560px) {
  .site .map-legend { grid-template-columns: 1fr; }
}

/* State page A: poster header, vertical steps and a separate background column. */
.state-header { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.state-header .ph { position: absolute; inset: 0; }
.state-header .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.state-header .ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #14233df0 0%, #14233dd1 42%, #14233d40 100%); }
.state-header .header-inner { position: relative; padding: 34px var(--pad) 30px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: end; min-height: 330px; }
.state-header .ttl { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 40rem; }
.site .state-header h1 { font-size: clamp(32px, 4.6cqw, 48px); line-height: 1; font-weight: 900; letter-spacing: -.02em; }
.state-header .outline { width: 92px; height: 92px; color: var(--hi); }
.state-page .outline path { fill: currentColor; fill-opacity: .14; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.site .state-header .sum { font-size: 16.5px; color: #e1e6ee; margin: 0; }
.state-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.site .state-header .statusline { font-weight: 700; font-size: 14.5px; margin: 0; }
.chipT { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--hi); color: var(--navy); }
.chipT b { width: 10px; height: 10px; border-radius: 2px; background: var(--amber-d); }
.chipT.ls { background: #fff; }
.chipT.ls b { background: none; border: 1.5px dashed var(--navy); }
.state-header .stats { display: flex; gap: 28px; background: #fcfcfb; color: var(--navy); border-radius: 12px; padding: 18px 22px; }
.state-header .stat + .stat { padding-left: 28px; border-left: 1.5px solid #d5dae0; }
.state-header .stat .num { display: block; font-size: 60px; line-height: .85; }
.state-header .stat small { display: block; font-size: 13.5px; font-weight: 600; margin-top: 6px; line-height: 1.3; }
.state-header .cdn .num { color: var(--green); }
.state-header.nophoto .bigol { position: absolute; right: -30px; top: -20px; color: #2e4366; }
.state-header.nophoto .bigol .outline { width: 380px; height: 380px; color: inherit; }
.state-header.nophoto .bigol path { stroke-dasharray: .04 .03; stroke-width: 3; }
.state-header.plain { background: var(--wash); color: var(--navy); }
.state-header.plain .header-inner { min-height: 0; padding-top: 28px; padding-bottom: 26px; }
.state-header.plain .outline { color: var(--navy); width: 64px; height: 64px; }
.site .state-header.plain .sum { color: var(--body); }
.state-header.plain .stats { background: #fff; box-shadow: 0 0 0 1px #d5dae0; }
.state-body { padding: 30px var(--pad) 10px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px 44px; align-items: start; }
.site .state-page h2 { font-size: 24px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 14px; }
.site .state-page h3 { font-size: 16.5px; font-weight: 800; margin: 0; }
.site .state-page p { overflow-wrap: anywhere; }
.site .state-page .playbook-steps { list-style: none; margin: 0; padding: 0; }
.site .state-page .playbook-steps > li { position: relative; margin: 0; padding: 0 0 24px 40px; }
.playbook-steps > li::before { content: ''; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: #d5dae0; }
.playbook-steps > li:last-child::before { display: none; }
.playbook-steps .tk { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; }
.playbook-steps .tk circle { fill: #fff; stroke: var(--navy); stroke-width: 2; }
.playbook-steps .now .tk circle { fill: var(--hi); }
.site .playbook-steps p { font-size: 15px; color: var(--body); margin: 3px 0; }
.site .playbook-steps .tgt { font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.site .playbook-steps details { margin: 8px 0; font-size: 14px; }
.site .playbook-steps details[open] { padding: 12px 14px; border-radius: 10px; background: var(--wash); }
.site .playbook-steps summary { font-weight: 700; cursor: pointer; }
.site .playbook-steps .btn { margin-top: 10px; padding: 10px 14px; font-size: 14.5px; }
.state-action { margin-top: 24px; }
.signed-thanks { padding: 16px; margin-bottom: 20px; background: var(--wash); border-left: 4px solid var(--green); }
.deadline-timeline { list-style: none; padding: 0 0 0 16px; border-left: 2px solid #d5dae0; }
.deadline-timeline li { padding: 8px 0; }
.state-action .person { margin: 16px 0; padding: 14px; background: var(--wash); border-radius: 10px; }
.state-action .person a { display: inline-block; margin: 4px 10px 4px 0; font-weight: 700; }
.state-explainer { min-width: 0; }
.state-explainer > h2 { padding-top: 24px; }
.whyb { background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px #d5dae0; padding: 20px 22px 22px; }
.site .whyb h2 { font-size: 21px; }
.site .whyb h3 { font-size: 15.5px; margin-top: 14px; }
.site .whyb p { font-size: 15px; color: var(--body); margin-top: 3px; }
.whyb table { font-size: 14px; width: 100%; }
.site .whyb th, .site .whyb td { padding: 8px; }
.site .whyb .vsum { margin-top: 14px; color: var(--navy); font: 700 26px/1.1 'Barlow Condensed', sans-serif; letter-spacing: -.01em; }
.vw { position: relative; margin-top: 26px; }
.vgrid { display: grid; grid-template-rows: repeat(10, auto); grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; }
.vgrid i { aspect-ratio: 1; box-shadow: inset 0 0 0 1px #a9b2be; }
.vgrid i.a { background: var(--green); box-shadow: none; }
.vgrid i.b { background: var(--amber-d); box-shadow: none; }
.vgrid i.c { background: var(--hi); box-shadow: inset 0 0 0 1px var(--navy); }
.vw .l270 { position: absolute; left: calc(27 / 54 * 100%); top: -8px; bottom: -8px; width: 3px; margin-left: -1px; background: var(--navy); }
.vw .l270 span { position: absolute; bottom: 100%; left: -9px; font: 800 11px 'Public Sans', sans-serif; }
.site .whyb .mcap { font-size: 12.5px; margin-top: 14px; }
@media (max-width: 760px) {
  .state-header .header-inner { grid-template-columns: 1fr; min-height: 0; padding-top: 26px; padding-bottom: 22px; }
  .state-header .ph::after { background: linear-gradient(180deg, #14233d8c 0%, #14233deb 55%); }
  .state-header .outline { width: 64px; height: 64px; }
  .state-header .stats { gap: 18px; padding: 14px 16px; }
  .state-header .stat + .stat { padding-left: 18px; }
  .state-header .stat .num { font-size: 46px; }
  .state-body { grid-template-columns: 1fr; padding-top: 24px; }
}

@keyframes trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes outlinefill { from { fill-opacity: 0; } to { fill-opacity: .14; } }
@keyframes tick { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rollin { from { opacity: 0; transform: translateY(-60%); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .site.js:not(.still) .state-header.in .ph img { animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }
  .site.js:not(.still) .state-header.in .outline path { stroke-dasharray: 1 1; animation: trace 1.6s .35s ease-in-out both, outlinefill .6s 1.7s both; }
  .site.js:not(.still) .state-header.nophoto.in .outline path { stroke-dasharray: .04 .03; animation: outlinefill .6s 1.7s both; }
  .site.js:not(.still) .state-header.in .stat .num { animation: rollin .6s .3s cubic-bezier(.2,.7,.2,1) both; }
  .site.js:not(.still) .state-steps.in .tk circle { stroke-dasharray: 1 1; animation: tick .5s ease-out both; animation-delay: calc(600ms + var(--i, 0) * 160ms); }
  .site.js:not(.still) .state-steps.in .playbook-steps > li::before { animation: drop .3s ease-out both; transform-origin: top; animation-delay: calc(760ms + var(--i, 0) * 160ms); }
}

.site .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Action steps, with contacts as divider rows. */
.wycd-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 16px; }
.wycd-steps > li { --d: 0; }
.wycd-steps > li:nth-child(2) { --d: 120; }
.wycd-steps > li:nth-child(3) { --d: 240; }
.wycd-steps > li:nth-child(4) { --d: 360; }
.wycd-steps > li:nth-child(5) { --d: 480; }
.wycd-steps .stepA { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #d5dae0, 0 1px 0 1px #14233d0a; }
.wycd-steps .stepA > header { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 18px 20px 14px; }
.wycd-steps .n { width: 52px; height: 52px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 38px; line-height: 1; }
.wycd-steps .isdone .n { background: var(--green); }
.site .wycd-steps h3 { font-size: 20px; line-height: 1.2; letter-spacing: -.01em; }
.site .wycd-steps p { margin: 4px 0 0; }
.site .wycd-steps .now { font-size: 15px; color: var(--body); }
.wycd-steps .now b { color: var(--navy); background: linear-gradient(transparent 58%, var(--hi) 58%); }
.wycd-steps .sb { padding: 0 20px 18px 86px; min-width: 0; }
.site .wycd-steps .go + p { margin-top: 20px; }
.site .wycd-steps [data-copy-blurb] { margin-top: 12px; }
.wycd-steps .people { margin-top: 12px; }
.site .wycd-steps .person { margin: 0; padding: 14px 0; border-top: 1px solid #d5dae0; background: none; border-radius: 0; min-width: 0; }
.wycd-steps .person:has(> .wts[open]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; }
.wycd-steps .who { min-width: 0; }
.site .wycd-steps .who h4 { font-size: 17px; font-weight: 800; line-height: 1.25; margin: 0; }
.site .wycd-steps .role { font-size: 14px; color: var(--body); }
.wycd-steps .meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.wycd-steps .st { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--body); }
.wycd-steps .st i { width: 11px; height: 11px; border-radius: 2px; flex: none; }
.wycd-steps .st.seated i { background: var(--green); }
.wycd-steps .st.incoming i { background: linear-gradient(90deg, #b07a00 50%, #fff 50%); box-shadow: inset 0 0 0 1.5px #b07a00; }
.wycd-steps .st.expected i { border: 1.5px dashed var(--navy); }
.wycd-steps .st.vacant i { box-shadow: inset 0 0 0 1.5px #858f9d; background: repeating-linear-gradient(45deg, #fff 0 2px, #858f9d 2px 3px); }
.site .wycd-steps .vote { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--body); margin-top: 6px; }
.wycd-steps .vote svg { width: 14px; height: 14px; flex: none; }
.site .wycd-steps .person a { margin: 0; }
.site .wycd-steps .ask { font-size: 15px; margin-top: 8px; }
.wycd-steps .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.site .wycd-steps .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 15px; font: 700 15px/1.2 'Public Sans', sans-serif; min-height: 44px; }
.site .wycd-steps .btn[aria-expanded=true] { background: #0b5a3c; color: #fff; }
.wycd-steps .wts { margin-top: 12px; }
.site .wycd-steps .term > button { min-height: 0; padding: 0; }
.wycd-steps .wts > summary { font-size: 15px; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.wycd-steps .person > .wts[open] { display: block; margin-top: 0; min-width: 0; }
.site .wycd-steps .script-ready[open] > summary { display: none; }
.wycd-steps .person:has([data-call]) > .script-ready:not([open]) { display: none; }
.wycd-steps .script { background: #fffbe0; box-shadow: inset 0 0 0 1.5px var(--navy); border-radius: 10px; padding: 14px 16px 16px; min-width: 0; }
.wycd-steps .script h5 { font-size: 15px; font-weight: 800; margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.site .wycd-steps [data-close-script] { background: none; border: 0; font: 700 13px 'Public Sans', sans-serif; color: var(--navy); text-decoration: underline; padding: 0; }
.site .wycd-steps .script blockquote { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; }
.site .wycd-steps .to, .site .wycd-steps .tipline, .site .wycd-steps .fineline, .site .wycd-steps .missing { font-size: 13.5px; color: var(--body); margin-top: 8px; }
.wycd-steps .addr { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem auto; gap: 10px; align-items: end; margin-top: 12px; }
.wycd-steps .addr > .btn { height: 44px; }
.wycd-steps .addr .f { font-size: 13.5px; font-weight: 700; min-width: 0; }
.site .wycd-steps .addr input { margin-top: 4px; height: 44px; border-color: #858f9d; border-radius: 8px; }
.wycd-steps .addr .privacy, .wycd-steps .addr [data-turnstile] { grid-column: 1 / -1; font-size: 13px; color: var(--body); }
.wycd-steps .msg { margin-top: 12px; border-radius: 10px; padding: 12px 14px; font-size: 15px; box-shadow: inset 0 0 0 1.5px var(--navy); }
.wycd-steps .found { margin: 12px 0; }
.wycd-steps .pet { margin-top: 12px; background: var(--navy); color: #fff; border-radius: 10px; padding: 14px 16px 16px; }
.site .wycd-steps .pet input { background: #fff; }
.site .wycd-steps .pet [type=submit] { margin-top: 12px; font-weight: 700; }
.site .wycd-steps .done { display: flex; width: max-content; align-items: center; gap: 7px; background: none; border: 0; padding: 6px 2px; margin-top: 20px; font: 700 14px 'Public Sans', sans-serif; color: var(--green); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.wycd-steps .done svg { width: 18px; height: 18px; }
.site .wycd-steps .done:disabled { cursor: default; }
.wycd-steps .done[aria-pressed=true] { text-decoration: none; }
.wycd-steps .done[aria-pressed=true] circle { fill: var(--green); }
.wycd-steps .done[aria-pressed=true] path { stroke: #fff; }
.past-votes .pv { background: var(--wash); border-radius: 8px; padding: 10px 12px; margin-top: 6px; }
@media (max-width: 760px) {
  .site .wycd-steps { padding-left: 0; }
  .wycd-steps .stepA > header { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 16px 12px; }
  .wycd-steps .n { width: 40px; height: 40px; font-size: 30px; border-radius: 8px; }
  .site .wycd-steps h3 { font-size: 18.5px; }
  .wycd-steps .sb { padding: 0 0 16px; }
  .wycd-steps .person:has(> .wts[open]) { grid-template-columns: 1fr; gap: 12px; }
  .wycd-steps .addr { grid-template-columns: minmax(0, 1fr) 6.5rem; }
  .wycd-steps .addr > .btn { grid-column: 1 / -1; }
}
@keyframes scriptopen { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .site.js:not(.still) .state-action.in .wycd-steps > li, .site.js:not(.still) .wycd-steps .person:not([hidden]) { animation: rise .55s cubic-bezier(.2,.7,.2,1) backwards; animation-delay: calc(var(--d, 0) * 1ms); }
  .site.js:not(.still) .wycd-steps [data-call-script][open] .script { animation: scriptopen .22s ease-out; }
}
/* Paths to 270: A2 switchboard and map. */
#paths { padding: 40px var(--pad); max-width: 1200px; margin: auto; }
#paths h1 { font: 700 64px/1 'Barlow Condensed', sans-serif; margin-bottom: 16px; }
#paths .paths-intro p { max-width: 45rem; margin-bottom: 24px; }
#paths [data-paths-result] { border: 2px solid var(--navy); border-radius: 10px; padding: 14px 16px; font-size: 24px; font-weight: 700; margin-bottom: 16px; }
#paths [data-paths-result].reached { background: var(--green); color: #fff; border-color: var(--green); }
#paths [data-paths-result].impossible { background: var(--navy); color: #fff; }
#paths details { margin: 12px 0; }
#paths summary { font-weight: 700; cursor: pointer; min-height: 24px; }
#paths ol { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
#paths li[data-path] { border: 1px solid var(--edge); border-radius: 8px; padding: 8px 10px; background: #fff; font-size: 14px; }
#paths button { cursor: pointer; border: 1.5px solid var(--edge); border-radius: 999px; padding: 7px 12px; background: #fff; color: var(--navy); font-weight: 700; font-size: 13px; min-height: 32px; }
#paths button[aria-pressed=true] { border-color: var(--navy); background: var(--navy); color: #fff; }
#paths [data-reset] { border-color: transparent; text-decoration: underline; }
#paths .paths-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
#paths [data-paths-story] { border-left: 4px solid var(--amber-d); background: var(--wash); padding: 0 12px; font-size: 14px; margin-bottom: 16px; }
#paths.paths-enhanced { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: 'intro intro' 'presets presets' 'story story' 'switches result' 'switches map' 'switches tally' 'switches paths' 'table table'; column-gap: 24px; align-items: start; }
#paths.paths-enhanced [data-paths-controls] { display: contents; }
#paths .paths-intro { grid-area: intro; }
#paths .paths-presets { grid-area: presets; }
#paths [data-paths-story] { grid-area: story; }
#paths [data-paths-result] { grid-area: result; }
#paths .paths-switches { grid-area: switches; min-width: 0; }
#paths .paths-map { grid-area: map; min-width: 0; }
#paths .paths-tally { grid-area: tally; }
#paths [data-paths-list] { grid-area: paths; }
#paths .paths-states { grid-area: table; min-width: 0; }
#paths .paths-switches h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin: 12px 0 4px; }
#paths fieldset { border: 0; border-bottom: 1px solid var(--edge); padding: 12px 0; margin: 0; min-inline-size: 0; display: flow-root; }
#paths legend { float: left; width: 44%; padding: 0 6px 0 0; font-size: 15px; font-weight: 700; }
#paths .paths-when { display: block; font-size: 12px; color: var(--body); font-weight: 400; margin-top: 4px; }
#paths .seg { display: flex; margin-left: 44%; position: relative; }
#paths .seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
#paths .seg label { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 32px; flex: 1; border: 1px solid var(--edge); padding: 5px; font-size: 12px; cursor: pointer; }
#paths .seg label:first-of-type { border-radius: 7px 0 0 7px; }
#paths .seg label:last-of-type { border-radius: 0 7px 7px 0; }
#paths .seg input:checked + label { background: var(--navy); color: #fff; border-color: var(--navy); }
#paths .seg input:checked + label:has(.passes) { background: var(--green); border-color: var(--green); }
#paths :focus-visible, #paths .seg input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 3px; }
#paths .setting { font-weight: 800; }
#paths [data-paths-map] { width: 100%; height: auto; display: block; }
#paths .tile text { font: 700 15px 'Public Sans', sans-serif; }
#paths .tile text.ev { font-size: 11px; }
#paths [data-tile] { cursor: pointer; }
#paths .tile.passes rect { fill: var(--green); stroke: var(--green); stroke-dasharray: none; }
#paths .tile.passes text { fill: #fff; }
#paths .tile.fails rect { fill: #fff; stroke-dasharray: none; }
#paths .tile.unknown rect { fill: #fff8d6; stroke-dasharray: 6 4; }
#paths [data-tile]:focus-visible { outline: none; }
#paths [data-tile]:focus-visible rect { stroke: var(--navy); stroke-width: 5px; }
#paths .mapkey { font-size: 12px; color: var(--body); }
#paths .cwaffle i.on { background: var(--navy); }
#paths .cwaffle i.passes { background: var(--green); box-shadow: none; }
#paths .cwaffle i.u { box-shadow: inset 0 0 0 1.5px var(--amber-d); }
#paths .cwk { font-size: 13px; }
#paths table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 14px; }
#paths caption { text-align: left; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
#paths th, #paths td { text-align: left; padding: 8px; border-bottom: 1px solid var(--edge); }
@media (max-width: 700px) {
  #paths.paths-enhanced { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'presets' 'story' 'result' 'map' 'switches' 'paths' 'table'; }
  #paths h1 { font-size: 48px; }
  #paths .paths-tally { display: none; }
  #paths legend { float: none; width: auto; padding: 0; }
  #paths .seg { margin: 8px 0 0; }
  #paths .seg label { font-size: 13px; padding: 6px 4px; }
  #paths table { font-size: 12px; }
  #paths th, #paths td { padding: 6px 3px; overflow-wrap: anywhere; }
}
