@import url("/assets/tokens.css");
@font-face {
  font-family: Geist;
  src: url("/assets/fonts/geist-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/assets/fonts/geist-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/assets/fonts/geist-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/assets/fonts/geist-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Geist;
  src: url("/assets/fonts/geist-sans-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/geist-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--sbs-surface);
  color: var(--sbs-ink);
  font:
    400 15px/1.6 Geist,
    system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--sbs-juniper);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--sbs-juniper-deep);
}
:focus-visible {
  outline: 3px solid var(--sbs-juniper-deep);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(32px, 4.3vw, 52px);
  font-weight: 800;
  margin-bottom: 18px;
}
h2 {
  font-size: 27px;
  font-weight: 750;
  margin-bottom: 12px;
}
h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}
p {
  margin-bottom: 16px;
}
small {
  font-size: 12px;
  line-height: 1.5;
  color: var(--sbs-muted);
}
strong {
  font-weight: 650;
}
img {
  max-width: 100%;
}
button svg {
  pointer-events: none;
}
.muted,
.subtle {
  color: var(--sbs-muted);
}
.subtle {
  font-size: 13px;
}
.context {
  font:
    400 11px/1.6 "Geist Mono",
    monospace;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: var(--sbs-muted);
  display: block;
  margin-bottom: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--sbs-line);
  position: sticky;
  top: 0;
  z-index: 15;
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}
.brand {
  display: flex;
  flex: none;
}
.brand img {
  width: 174px;
  height: auto;
}
.site-header nav {
  display: flex;
  gap: 20px;
  align-items: center;
  white-space: nowrap;
}
.site-header nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 0;
}
.site-header nav a[aria-current] {
  text-decoration: underline;
  text-decoration-color: var(--sbs-juniper);
  text-decoration-thickness: 3px;
}
.header-tools {
  display: flex;
  gap: 10px;
  margin-left: auto;
  align-items: center;
}
.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 30px;
  padding: 7px 12px;
  background: var(--sbs-juniper-chip);
  color: var(--sbs-juniper-chip-text);
  font-weight: 650;
  font-size: 12px;
  white-space: nowrap;
}
.btn {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid var(--sbs-line-strong);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background: white;
  color: var(--sbs-ink);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  transition:
    background 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}
.btn:hover {
  background: #efefed;
  color: var(--sbs-ink);
}
.btn.neutral,
.btn.tab.active {
  background: var(--sbs-slate);
  color: white;
  border-color: var(--sbs-slate);
}
.btn.neutral:hover {
  background: #252524;
}
.btn.personal {
  background: var(--sbs-apricot);
  color: var(--sbs-orange-ink);
  border-color: #e18752;
}
.btn.personal:hover {
  background: #ffdbc4;
}
.btn.share {
  background: var(--sbs-juniper-deep);
  color: white;
  border-color: var(--sbs-juniper-deep);
  box-shadow: 0 4px 12px #2f6b6215;
}
.btn.share:hover {
  background: #25584f;
}
.btn.location-button {
  max-width: 185px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  background: var(--sbs-surface);
  font-size: 12px;
}
.counter {
  border-radius: 20px;
  min-width: 21px;
  background: white;
  font-size: 11px;
  padding: 0 6px;
}
.full {
  width: 100%;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.below {
  margin-top: 30px;
}
.section {
  max-width: 1280px;
  margin: auto;
  padding: 40px 32px 56px;
}
.narrow {
  max-width: 840px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.section-heading p {
  margin-bottom: 0;
  color: var(--sbs-muted);
  max-width: 740px;
}
.section-heading h1 {
  margin-bottom: 10px;
}
.section-heading a {
  font-size: 13px;
  white-space: nowrap;
}
.hero {
  max-width: 1280px;
  margin: auto;
  padding: 62px 32px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(310px, 1fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  margin: 22px 0;
}
.hero h1 span {
  color: var(--sbs-muted);
}
.hero-copy {
  font-size: 18px;
  color: var(--sbs-slate);
  max-width: 620px;
  line-height: 1.6;
}
.principles {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 600;
}
.principles span:first-letter {
  color: var(--sbs-juniper-deep);
}
.location-card {
  background: white;
  border: 1px solid var(--sbs-line);
  border-radius: 22px;
  padding: 25px;
  box-shadow: 0 10px 30px #17171708;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location-card h2 {
  font-size: 23px;
  margin: 0;
}
.location-card p {
  margin: 0;
}
.location-card > a:not(.btn) {
  font-size: 12px;
  font-weight: 600;
}
.coverage-box {
  background: var(--sbs-juniper-tint);
  border: 1px solid #dce5e1;
  border-radius: 12px;
  padding: 14px;
  font-size: 12px;
}
.coverage-box > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 9px;
}
.coverage-box strong {
  font-size: 11px;
  text-align: right;
}
.coverage-box small {
  font-size: 10px;
  display: block;
}
.perspective-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.btn.tab {
  border-radius: 28px;
  font-size: 12px;
  padding: 9px 15px;
  min-height: 40px;
}
.filter-row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.filter-row label {
  min-width: 160px;
}
.filter-row .search-field {
  flex: 1;
  max-width: 360px;
}
label {
  font-size: 12px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
input,
select,
textarea {
  background: white;
  border: 1px solid #aaa9a4;
  color: var(--sbs-ink);
  border-radius: 10px;
  padding: 10px 12px;
  min-height: 44px;
  width: 100%;
  font-size: 14px;
  font-weight: 400;
}
input::placeholder,
textarea::placeholder {
  color: #696963;
}
textarea {
  resize: vertical;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.guide-card {
  background: white;
  border: 1px solid var(--sbs-line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.guide-card.is-selected {
  outline: 2px solid var(--sbs-slate);
  outline-offset: -1px;
}
.guide-heading {
  display: flex;
  gap: 11px;
  align-items: center;
}
.guide-heading > div {
  min-width: 0;
}
.guide-heading h3 {
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 3px;
}
.guide-heading a {
  text-decoration: none;
}
.guide-card p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.guide-card small {
  font-size: 11px;
}
.org-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--sbs-line);
  background: #fff;
  border-radius: 18%;
  overflow: hidden;
  color: #353533;
  font-size: 13px;
  font-weight: 700;
  vertical-align: middle;
}
.org-logo img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}
.org-logo.small {
  width: 30px;
  height: 30px;
  min-width: 30px;
  font-size: 10px;
}
.org-logo.tiny {
  width: 26px;
  height: 26px;
  min-width: 26px;
  font-size: 8px;
}
.org-logo.large {
  width: 70px;
  height: 70px;
  min-width: 70px;
  font-size: 22px;
}
.guide-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.guide-tags > span {
  background: #f0f0ed;
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
}
.guide-tags > span:first-child {
  background: #eeeeeb;
}
.coverage-note {
  color: var(--sbs-muted);
  font-size: 11px !important;
}
.card-bottom {
  border-top: 1px solid #efefec;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  align-items: center;
}
.card-bottom > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-bottom a {
  font-size: 11px;
}
.card-bottom .btn {
  font-size: 11px;
  min-height: 36px;
  padding: 6px 10px;
}
.compare-tray {
  position: sticky;
  bottom: 18px;
  z-index: 10;
  margin-top: 26px;
  background: var(--sbs-slate);
  border-radius: 17px;
  color: white;
  padding: 14px 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 8px 30px #17171718;
}
.compare-tray > span:not(.avatar-stack) {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}
.compare-tray small {
  color: #ddd;
  font-size: 11px;
}
.compare-tray > .btn {
  margin-left: auto;
}
.avatar-stack {
  display: inline-flex;
  padding-left: 5px;
  align-items: center;
}
.avatar-stack > .org-logo {
  margin-left: 3px;
  border: 2px solid var(--sbs-juniper-deep);
}
.compare-tray .avatar-stack > .org-logo {
  border-color: var(--sbs-slate);
}
.how-band {
  border-top: 1px solid #dfe8e4;
  border-bottom: 1px solid #dfe8e4;
  background: var(--sbs-juniper-tint);
  padding: 44px max(32px, calc((100% - 1216px) / 2));
}
.how-band h2 {
  font-size: 30px;
  margin-bottom: 26px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.steps > a {
  background: white;
  border: 1px solid #e0e8e4;
  border-radius: 18px;
  padding: 22px;
  text-decoration: none;
  color: var(--sbs-ink);
}
.steps > a:last-child {
  background: var(--sbs-peach);
  border-color: var(--sbs-peach);
}
.step-number {
  font-family: "Geist Mono", monospace;
  color: var(--sbs-juniper-text);
  font-size: 12px;
}
.steps h3 {
  margin: 24px 0 12px;
}
.steps p {
  font-size: 13px;
  color: var(--sbs-slate);
  margin-bottom: 12px;
}
.site-footer {
  max-width: 1440px;
  margin: auto;
  padding: 30px 32px 40px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 11px;
  color: var(--sbs-muted);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer p {
  margin: 0 0 0 auto;
  font:
    10px "Geist Mono",
    monospace;
}
.legend {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 18px;
  border: 1px solid #d9e4df;
  border-radius: 14px;
  background: var(--sbs-juniper-tint);
  font-size: 12px;
}
.legend > span:last-child {
  color: var(--sbs-juniper-text);
}
.position {
  font-size: 11px;
  line-height: 1.35;
  display: inline-block;
  vertical-align: middle;
  padding: 5px 10px;
  border-radius: 25px;
  font-weight: 650;
  white-space: nowrap;
  max-width: 100%;
}
.position.support {
  background: var(--sbs-ink);
  color: white;
  border: 1px solid var(--sbs-ink);
}
.position.oppose {
  border: 2px solid var(--sbs-ink);
  padding: 4px 9px;
  background: white;
}
.position.neutral,
.position.no-position,
.position.no-recommendation {
  border: 1px dashed #70706a;
  background: white;
  font-weight: 500;
}
.position.unverified {
  border: 1px solid #d9d9d5;
  background: repeating-linear-gradient(135deg, #f2f2ef 0 3px, #fff 3px 7px);
  color: #575750;
}
.position.no-endorsement,
.position.no-consensus {
  background: #efefec;
  border: 1px solid #d7d7d2;
  font-weight: 500;
}
.position.candidate,
.position.ranked,
.position.co-endorsement,
.position.rank-anywhere {
  background: #efefec;
  border: 1px solid #deded8;
  border-radius: 10px;
}
.comparison-shell {
  margin-top: 20px;
}
.comparison-scroll {
  border: 1px solid var(--sbs-line);
  border-radius: 18px;
  background: white;
  overflow: auto;
  max-height: 74vh;
  position: relative;
  scrollbar-color: #bbb #f7f7f5;
}
.comparison-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
  min-width: 650px;
}
.comparison-table th,
.comparison-table td {
  width: 135px;
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #efefeb;
  vertical-align: middle;
}
.comparison-table thead th {
  position: sticky;
  top: 0;
  background: white;
  z-index: 3;
  border-bottom: 1px solid #deded8;
}
.comparison-table th.contest-cell {
  width: 240px;
  text-align: left;
  position: sticky;
  left: 0;
  background: white;
  z-index: 2;
  border-right: 1px solid #efefeb;
}
.comparison-table thead th.contest-cell {
  z-index: 4;
  font-size: 11px;
  vertical-align: bottom;
  text-transform: uppercase;
  color: var(--sbs-muted);
}
.contest-cell a {
  display: block;
  text-decoration: none;
  line-height: 1.3;
  font-size: 14px;
  font-weight: 650;
}
.contest-cell small {
  display: block;
  font-weight: 400;
  margin-top: 10px;
  font-size: 10px;
}
.column-guide {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.column-guide > a {
  font-size: 12px;
  text-decoration: none;
  line-height: 1.3;
}
.column-guide small {
  font-size: 10px;
  font-weight: 400;
}
.reorder {
  display: flex;
  gap: 4px;
}
.reorder button {
  background: white;
  border: 1px solid #deded8;
  border-radius: 5px;
  min-width: 25px;
  min-height: 26px;
  font-size: 12px;
  line-height: 1;
}
.cell-button {
  width: 100%;
  min-height: 56px;
  border: 0;
  background: none;
  border-radius: 6px;
  padding: 5px;
}
.cell-button:hover {
  background: #f5f5f2;
  box-shadow: inset 0 0 0 1px #333;
}
.notice-label {
  display: block;
  font-size: 9px;
  margin-top: 5px;
}
.my-column {
  width: 170px !important;
  background: #fff6f0 !important;
  color: var(--sbs-orange-ink);
}
.my-column small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--sbs-orange-ink);
  margin: 6px 0;
}
.pick-buttons {
  display: flex;
  justify-content: center;
  gap: 5px;
}
.pick {
  min-width: 34px;
  min-height: 38px;
  border: 1px solid #c9c9c3;
  background: white;
  color: var(--sbs-ink);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 9px;
}
.pick.selected {
  background: var(--sbs-apricot);
  color: var(--sbs-orange-ink);
  border: 2px solid var(--sbs-tangerine);
  padding: 5px 8px;
}
.text-button {
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
  font-size: 11px;
  padding: 8px 3px;
  min-height: 32px;
}
.mobile-contests {
  display: none;
}
.empty {
  border: 1px dashed #c7c8c1;
  background: white;
  border-radius: 18px;
  padding: 38px 30px;
  margin: 20px 0;
  text-align: center;
}
.empty p {
  max-width: 630px;
  margin: 0 auto 18px;
  color: var(--sbs-muted);
}
.empty h2 {
  font-size: 25px;
}
.empty .actions {
  justify-content: center;
}
.empty-mark {
  font-size: 28px;
  color: var(--sbs-juniper-text);
  display: block;
  margin-bottom: 12px;
}
.measure-list {
  border: 1px solid var(--sbs-line);
  border-radius: 18px;
  background: white;
  overflow: hidden;
}
.measure-list > article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 23px 24px;
}
.measure-list > article + article {
  border-top: 1px solid #efefeb;
}
.measure-list h2 {
  font-size: 22px;
  margin: 5px 0 10px;
}
.measure-list h2 a,
.measure-list h3 a {
  text-decoration: none;
}
.measure-list p {
  margin: 8px 0;
  max-width: 850px;
  font-size: 14px;
}
.round-link {
  border: 1px solid var(--sbs-line-strong);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex: none;
}
.breadcrumb {
  font-size: 13px;
  display: inline-block;
  margin-bottom: 30px;
}
.contest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 45px;
  align-items: start;
}
.contest-layout h1 {
  max-width: 850px;
  font-size: clamp(34px, 4.4vw, 54px);
  margin: 16px 0;
}
.official-title {
  font-size: 12px;
  color: var(--sbs-muted);
}
.summary-box {
  background: white;
  border: 1px solid var(--sbs-line);
  border-radius: 17px;
  padding: 22px;
  font-size: 18px;
  line-height: 1.55;
}
.choice-card {
  background: white;
  border: 1px solid var(--sbs-line);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.choice-card h2 {
  font-size: 17px;
  color: var(--sbs-orange-ink);
  margin: 0;
}
.choice-card .pick {
  flex: 1;
}
.choice-card small {
  font-size: 11px;
}
.detail-tabs {
  margin: 32px 0;
}
.vote-effects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.vote-effects > article,
.panel {
  background: white;
  border: 1px solid var(--sbs-line);
  border-radius: 18px;
  padding: 24px;
}
.vote-effects p {
  margin: 18px 0 0;
  font-size: 15px;
}
.vote-effects .soft {
  background: #eeefeb;
}
.callout {
  padding: 20px 24px;
  border: 1px solid #dce6e0;
  border-radius: 14px;
  background: var(--sbs-juniper-tint);
  margin: 22px 0;
  color: var(--sbs-ink);
}
.callout p:last-child {
  margin-bottom: 0;
}
.callout h2 {
  font-size: 22px;
}
.fiscal-lead {
  display: flex;
  gap: 32px;
  margin: 25px 0;
}
.fiscal-lead > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fiscal-lead span {
  font-size: 12px;
  color: var(--sbs-muted);
}
.fiscal-lead strong {
  font-size: 24px;
  line-height: 1.2;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.facts-grid > div {
  padding: 18px;
  border-top: 1px solid #e8e8e3;
}
.facts-grid dt {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
  color: var(--sbs-muted);
  margin-bottom: 7px;
}
.facts-grid dd {
  margin: 0;
  font-size: 14px;
}
.argument-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.argument-grid p {
  font-size: 15px;
}
.source-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.source-list > li {
  display: flex;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid #e8e8e2;
  font-size: 13px;
}
.source-list p {
  font-size: 12px;
  color: var(--sbs-muted);
  margin: 4px 0;
}
.source-list small {
  font-size: 10px;
}
.source-icon {
  color: var(--sbs-juniper-deep);
  font-size: 18px;
}
.evidence {
  background: white;
  border: 1px solid var(--sbs-line);
  border-radius: 12px;
  padding: 16px 20px;
}
.evidence summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.recommendation-list {
  border: 1px solid var(--sbs-line);
  border-radius: 15px;
  background: white;
  padding: 10px;
}
.recommendation-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 0;
  border-radius: 8px;
  width: 100%;
  padding: 10px;
  font-size: 13px;
  text-align: left;
}
.recommendation-list button:hover {
  background: var(--sbs-surface);
}
.recommendation-list .position {
  margin-left: auto;
}
.guide-profile {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 10px 0 26px;
}
.guide-profile h1 {
  font-size: 42px;
}
.guide-profile p {
  margin: 0;
}
.notice {
  background: #f9f3e9;
  border-left: 3px solid #a66c2e;
  padding: 14px 18px;
  font-size: 13px;
}
.notice p {
  margin-bottom: 0;
}
.privacy-note {
  background: var(--sbs-peach);
  border: 1px solid #f2d2bc;
  border-radius: 12px;
  color: var(--sbs-orange-ink);
  padding: 17px 20px;
  margin: 20px 0;
  font-size: 13px;
}
.my-guide-list {
  background: white;
  border: 1px solid var(--sbs-line);
  border-radius: 18px;
  overflow: hidden;
}
.my-guide-list > article {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding: 22px;
}
.my-guide-list > article + article {
  border-top: 1px solid #e8e8e3;
}
.my-guide-list h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.my-guide-list h2 a {
  text-decoration: none;
}
.my-guide-list > article > div:last-child {
  text-align: right;
}
.private-notes {
  white-space: pre-wrap;
  font-size: 13px;
  max-width: 700px;
}
.your-text {
  font-weight: 700;
  color: var(--sbs-orange-ink);
}
.saved-copy {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
}
.money-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
  align-items: end;
}
.finance-totals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.finance-totals article {
  padding: 18px;
  background: white;
  border: 1px solid var(--sbs-line);
  border-radius: 12px;
}
.finance-totals strong {
  font-size: 25px;
  display: block;
}
.finance-bar {
  display: block;
  background: linear-gradient(to right, var(--sbs-juniper-deep) var(--value), #eee var(--value));
  height: 4px;
  margin-top: 12px;
}
.table-scroll {
  overflow: auto;
}
.finance-table {
  border-collapse: collapse;
  background: white;
  width: 100%;
  font-size: 12px;
}
.finance-table td,
.finance-table th {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--sbs-line);
}
.finance-table caption {
  text-align: left;
  padding: 12px;
  font-weight: 600;
}
.finance-table small {
  display: block;
}
.resource-links {
  padding-left: 20px;
}
.resource-links li {
  margin: 10px 0;
}
.reading-intro {
  max-width: 760px;
}
.coverage-table {
  background: white;
  border: 1px solid var(--sbs-line);
  border-radius: 18px;
  overflow: hidden;
}
.coverage-table > article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 22px;
}
.coverage-table > article + article {
  border-top: 1px solid #efefeb;
}
.coverage-table h2 {
  font-size: 20px;
  margin-bottom: 6px;
}
.coverage-table p {
  margin: 0;
  font-size: 13px;
}
.prose {
  max-width: 810px;
  font-size: 17px;
}
.prose h1 {
  margin-bottom: 30px;
}
.prose h2 {
  font-size: 25px;
  margin-top: 38px;
}
.editorial-links {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
  font-size: 13px;
}
.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}
.feedback-form > button {
  align-self: flex-start;
}
.honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #252523;
  color: white;
  padding: 13px 22px;
  border-radius: 12px;
  z-index: 100;
  box-shadow: 0 5px 25px #0002;
  max-width: calc(100vw - 30px);
  font-size: 13px;
}
.modal {
  border: 1px solid var(--sbs-line);
  border-radius: 22px;
  width: min(680px, calc(100vw - 30px));
  padding: 0;
  color: var(--sbs-ink);
  box-shadow: 0 24px 80px #0003;
  max-height: 90dvh;
}
.modal::backdrop {
  background: #17171765;
  backdrop-filter: blur(3px);
}
.modal-inner {
  padding: 28px;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}
.modal-header h2 {
  font-size: 25px;
  margin: 0;
}
.close {
  background: #f3f3ef;
  border: 1px solid #d5d5d0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  min-width: 34px;
  font-size: 22px;
  line-height: 1;
}
.modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal .coverage-box {
  margin: 16px 0;
}
.check-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  gap: 12px;
}
.check-label input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: none;
  accent-color: var(--sbs-juniper-deep);
}
.share-preview {
  display: block;
  width: 100%;
  max-height: 270px;
  object-fit: contain;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #f5f5f2;
}
.share-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0;
}
.share-link {
  font-size: 11px;
  font-family: "Geist Mono", monospace;
  overflow-wrap: anywhere;
}
.share-content {
  max-height: 170px;
  overflow: auto;
  background: var(--sbs-peach);
  padding: 14px;
  border-radius: 12px;
  font-size: 12px;
}
.share-content ul {
  padding-left: 20px;
  margin-bottom: 0;
}
.shared-banner {
  padding: 16px max(32px, calc((100% - 1216px) / 2));
  background: var(--sbs-juniper-chip);
  color: var(--sbs-juniper-chip-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
}
.shared-banner p {
  margin: 0;
}
.shared-banner .actions {
  gap: 8px;
}
.dialog-notes {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.candidate-option {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
}
.candidate-option select {
  width: 100px;
  margin-left: auto;
}
.print-only {
  display: none;
}
.error-banner {
  padding: 18px;
  border: 1px solid #aa6a2c;
  background: #fff6ed;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 1216px;
}
.review-record {
  background: white;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-top: 15px;
}
.review-record p {
  white-space: pre-wrap;
}
.shared-changes {
  font-size: 12px;
  max-height: 120px;
  overflow: auto;
}
.local-status {
  font-size: 11px;
  color: var(--sbs-muted);
}
@media (min-width: 1500px) {
  .comparison-table th,
  .comparison-table td {
    width: 145px;
  }
}
@media (max-width: 1200px) {
  .header-inner {
    gap: 18px;
  }
  .site-header nav {
    gap: 13px;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .date-chip {
    display: none;
  }
  .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero {
    gap: 35px;
  }
  .btn.location-button {
    max-width: 150px;
  }
}
@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 22px;
    gap: 14px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .site-header nav a {
    font-size: 13px;
  }
  .header-tools {
    gap: 8px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 24px;
  }
  .hero h1 {
    font-size: 52px;
    max-width: 750px;
  }
  .location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .location-card .coverage-box {
    grid-column: 2;
    grid-row: 1 / span 4;
  }
  .location-card > small {
    grid-column: 1 / span 2;
  }
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section {
    padding: 30px 24px 40px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .contest-layout {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .vote-effects {
    grid-template-columns: 1fr 1fr;
  }
  .vote-effects .soft {
    grid-column: 1 / span 2;
  }
  .site-footer p {
    margin-left: 0;
  }
  .money-filters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body {
    font-size: 14px;
  }
  .header-inner {
    padding: 12px 16px;
    gap: 12px;
  }
  .brand img {
    width: 149px;
  }
  .btn.location-button {
    display: none;
  }
  .header-tools .btn {
    padding: 8px 10px;
    font-size: 12px;
    min-height: 38px;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .site-header nav {
    overflow-x: auto;
  }
  .hero {
    padding: 30px 18px 8px;
  }
  .hero h1 {
    font-size: 41px;
    letter-spacing: -0.045em;
    margin: 20px 0;
    line-height: 1.06;
  }
  .hero-copy {
    font-size: 16px;
  }
  .principles {
    font-size: 10px;
    gap: 12px;
  }
  .location-card {
    display: flex;
    padding: 21px;
    border-radius: 18px;
  }
  .location-card h2 {
    font-size: 21px;
  }
  .location-card > p {
    font-size: 13px;
  }
  .section {
    padding: 28px 18px 36px;
  }
  h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 25px;
  }
  .section-heading {
    margin-bottom: 18px;
  }
  .section-heading p {
    font-size: 13px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .guide-card {
    padding: 20px;
  }
  .guide-card p {
    font-size: 14px;
  }
  .guide-heading h3 {
    font-size: 16px;
  }
  .guide-tags > span {
    font-size: 11px;
  }
  .filter-row {
    gap: 10px;
    align-items: stretch;
  }
  .filter-row > label {
    flex: 1;
    min-width: 130px;
  }
  .filter-row > .search-field {
    min-width: 100%;
    max-width: none;
  }
  .perspective-tabs {
    gap: 7px;
  }
  .btn.tab {
    font-size: 11px;
    padding: 8px 12px;
    min-height: 40px;
  }
  .compare-tray {
    bottom: 10px;
    padding: 12px;
    gap: 10px;
    border-radius: 13px;
  }
  .compare-tray .avatar-stack {
    display: none;
  }
  .compare-tray strong {
    font-size: 12px;
  }
  .compare-tray small {
    font-size: 9px;
  }
  .compare-tray > .btn {
    font-size: 11px;
    padding: 9px 11px;
  }
  .how-band {
    padding: 32px 18px;
  }
  .how-band h2 {
    font-size: 27px;
  }
  .steps {
    gap: 12px;
  }
  .steps > a {
    padding: 17px;
    border-radius: 14px;
  }
  .steps h3 {
    font-size: 17px;
    margin-top: 18px;
  }
  .steps p {
    font-size: 12px;
  }
  .site-footer {
    padding: 26px 18px;
    gap: 18px;
  }
  .site-footer nav {
    gap: 14px;
  }
  .legend {
    gap: 8px;
    padding: 12px;
    font-size: 11px;
  }
  .legend > span:last-child {
    flex-basis: 100%;
  }
  .comparison-scroll {
    display: none;
  }
  .mobile-contests {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .mobile-contest {
    background: white;
    border: 1px solid var(--sbs-line);
    border-radius: 18px;
    padding: 20px;
  }
  .mobile-contest h2 {
    font-size: 24px;
    line-height: 1.2;
    margin: 8px 0;
  }
  .mobile-contest h2 a {
    text-decoration: none;
  }
  .mobile-positions {
    border-top: 1px solid #e9e9e4;
    margin-top: 16px;
  }
  .mobile-positions > button {
    border: 0;
    border-bottom: 1px solid #efefeb;
    background: white;
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px 0;
    text-align: left;
    min-height: 52px;
    font-size: 12px;
  }
  .mobile-positions > button > span:nth-child(2) {
    flex: 1;
  }
  .mobile-positions .position {
    max-width: 125px;
    font-size: 10px;
  }
  .mobile-picks {
    margin: 16px -20px -20px;
    padding: 16px 20px;
    border-radius: 0 0 18px 18px;
    background: var(--sbs-peach);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }
  .mobile-picks strong {
    color: var(--sbs-orange-ink);
    font-size: 12px;
  }
  .pick {
    min-height: 44px;
    min-width: 44px;
  }
  .contest-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contest-layout h1 {
    font-size: 37px;
  }
  .choice-card {
    padding: 18px;
  }
  .choice-card .pick-buttons {
    justify-content: flex-start;
  }
  .choice-card .btn {
    align-self: flex-start;
    width: auto;
  }
  .summary-box {
    font-size: 16px;
    padding: 20px;
  }
  .vote-effects {
    grid-template-columns: 1fr;
  }
  .vote-effects .soft {
    grid-column: auto;
  }
  .vote-effects > article {
    padding: 22px;
  }
  .argument-grid {
    grid-template-columns: 1fr;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 21px;
  }
  .fiscal-lead {
    flex-direction: column;
    gap: 20px;
  }
  .measure-list > article {
    padding: 21px;
    gap: 10px;
  }
  .measure-list h2 {
    font-size: 21px;
  }
  .measure-list p {
    font-size: 13px;
  }
  .guide-profile {
    align-items: flex-start;
  }
  .guide-profile h1 {
    font-size: 30px;
  }
  .my-guide-list > article {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .my-guide-list > article > div:last-child {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  .my-guide-list .pick-buttons {
    justify-content: flex-start;
  }
  .money-filters {
    grid-template-columns: 1fr 1fr;
  }
  .finance-totals {
    grid-template-columns: 1fr 1fr;
  }
  .coverage-table > article {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .prose {
    font-size: 16px;
  }
  .modal {
    border-radius: 18px;
    max-height: 92dvh;
  }
  .modal-inner {
    padding: 22px;
  }
  .modal-header h2 {
    font-size: 23px;
  }
  .share-preview {
    max-height: 230px;
  }
  .actions > .btn.share {
    font-size: 12px;
  }
  .shared-banner {
    padding: 15px 18px;
  }
  .source-list > li {
    overflow-wrap: anywhere;
  }
  .empty {
    padding: 30px 20px;
  }
  .empty h2 {
    font-size: 23px;
  }
  .notice {
    font-size: 12px;
  }
  .dialog-notes .pick-buttons {
    justify-content: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  @page {
    size: letter;
    margin: 0.55in;
  }
  body {
    background: white !important;
    font-size: 10pt;
    color: black !important;
  }
  .site-header,
  .site-footer,
  body > dialog,
  .toast,
  .no-print {
    display: none !important;
  }
  body.printing > #app {
    display: none !important;
  }
  .print-only {
    display: block !important;
  }
  .print-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 2px solid black;
    padding-bottom: 15px;
  }
  .print-header img {
    width: 160px;
  }
  .print-header h1 {
    font-size: 20pt;
    margin: 0;
  }
  .print-header p {
    font-size: 9pt;
    margin: 0;
  }
  .print-rows {
    margin-top: 15px;
    border-collapse: collapse;
    width: 100%;
  }
  .print-rows th,
  .print-rows td {
    text-align: left;
    border-bottom: 1px solid #bbb;
    padding: 9px 5px;
    vertical-align: top;
  }
  .print-rows tr {
    break-inside: avoid;
  }
  .print-rows th {
    width: 65%;
    font-weight: 500;
  }
  .print-rows small {
    display: block;
    color: black;
    font-size: 8pt;
  }
  .print-notes {
    white-space: pre-wrap;
    font-size: 9pt;
    margin-top: 6px;
  }
  .print-footer {
    margin-top: 20px;
    font-size: 9pt;
  }
  .print-qr {
    width: 90px;
    height: 90px;
    float: right;
  }
  .print-only a {
    color: black;
    text-decoration: none;
  }
  .section {
    max-width: none;
    padding: 0;
  }
  .btn,
  .actions,
  .perspective-tabs {
    display: none;
  }
  .comparison-scroll {
    display: block;
    max-height: none;
    overflow: visible;
  }
  .mobile-contests {
    display: none;
  }
  .comparison-table {
    min-width: 0;
    table-layout: auto;
  }
  .comparison-table th,
  .comparison-table td {
    position: static !important;
    width: auto;
    padding: 6px;
    font-size: 9pt;
  }
  .comparison-table .contest-cell {
    width: 25%;
  }
  .position {
    color: black !important;
    background: white !important;
    border: 1px solid black !important;
  }
  .my-column {
    background: white !important;
    color: black !important;
  }
}

.org-logo img.on-dark {
  background: #3a3a38;
  border-radius: 3px;
  padding: 3px;
}

@media (max-width: 640px) {
  .brand img {
    width: 140px;
  }
  .date-chip {
    display: inline-flex;
    font-size: 10px;
    padding: 5px 8px;
    gap: 4px;
  }
  .header-tools .btn {
    font-size: 11px;
    padding: 7px 9px;
  }
  .header-inner {
    gap: 10px;
  }
}

.guide-scope-panel {
  background: var(--sbs-juniper-tint);
  border: 1px solid #dce6e0;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 20px 0;
}
.guide-scope-panel > strong {
  font-size: 12px;
}
.guide-scope-panel .perspective-tabs {
  margin: 10px 0;
}
.guide-scope-panel p {
  margin-bottom: 0;
}
.position.not-covered {
  border: 1px solid #d7d7d2;
  background: #f5f5f2;
  color: #61615a;
  font-weight: 500;
}
.position.no-recommendation {
  background: #efefec;
  border: 1px dashed #70706a;
  font-weight: 500;
}

/* ---- v1.1: measure page ---- */
.glance {
  margin: 28px 0 8px;
  background: var(--sbs-bg);
  border: 1px solid var(--sbs-line);
  border-radius: 22px;
  padding: 22px 24px;
}
.glance-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.glance-head h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.type-badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--sbs-juniper-chip);
  color: var(--sbs-juniper-chip-text);
  font-weight: 700;
  font-size: 13px;
}
.glance dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--sbs-line);
  border-radius: 14px;
  overflow: hidden;
  margin: 0;
}
.glance dl > div {
  background: var(--sbs-bg);
  padding: 14px 16px;
}
.glance dl > div.wide {
  grid-column: 1 / -1;
  background: var(--sbs-juniper-tint);
}
.glance dt {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sbs-muted);
}
.glance dd {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.5;
}
.glance dl > div.wide dd {
  font-size: 18px;
  font-weight: 600;
}
.glance .unverified {
  color: var(--sbs-muted);
  font-style: italic;
}
.glance-note,
.glance-source {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--sbs-slate);
}
.glance-source {
  color: var(--sbs-muted);
  font-size: 13px;
}
.section-nav {
  position: sticky;
  top: 72px;
  z-index: 4;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  margin: 24px 0 8px;
  padding: 6px;
  background: color-mix(in srgb, var(--sbs-surface) 94%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sbs-line);
}
.section-nav a {
  flex-shrink: 0;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--sbs-slate);
}
.section-nav a:hover {
  background: var(--sbs-bg);
  color: var(--sbs-ink);
}
.contest-section {
  padding: 28px 0 8px;
  border-top: 1px solid var(--sbs-line);
  margin-top: 20px;
}
.contest-section > h2 {
  margin: 0 0 16px;
  font-size: 26px;
  letter-spacing: -0.02em;
}
.argument-grid.two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.argument .position {
  margin-bottom: 10px;
}
.argument small {
  display: block;
  color: var(--sbs-muted);
  margin-top: -4px;
}
.callout.juniper {
  background: var(--sbs-juniper-tint);
  border-color: #dde6e3;
}
.official-title {
  color: var(--sbs-muted);
}
.btn.on-dark {
  background: #fff;
  color: var(--sbs-ink);
  border: 0;
}
.guide-group {
  margin-top: 28px;
}
.guide-group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.guide-group-head h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.guide-group-head h3 span {
  display: inline-flex;
  min-width: 26px;
  justify-content: center;
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--sbs-line);
  font-size: 13px;
  color: var(--sbs-slate);
}
.guide-group-head p {
  margin: 0;
  color: var(--sbs-muted);
  font-size: 14px;
}
.scope-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: var(--sbs-surface);
  color: var(--sbs-slate);
  box-shadow: inset 0 0 0 1px var(--sbs-line);
}
.scope-badge.local {
  background: var(--sbs-juniper-chip);
  color: var(--sbs-juniper-chip-text);
  box-shadow: none;
}
.scope-badge.other {
  background: #fff;
  border: 1px dashed var(--sbs-line-strong);
  box-shadow: none;
}
.guide-heading > div {
  display: flex;
  flex-direction: column;
}
/* ---- v1.1: agreement meter ---- */
.meter {
  display: flex;
  gap: 2px;
  margin: 8px 0 4px;
  max-width: 220px;
}
.meter i {
  flex: 1;
  min-width: 4px;
  height: 7px;
  border-radius: 2px;
  background: var(--sbs-line);
}
.meter i.y { background: var(--sbs-ink); }
.meter i.n { background: #fff; box-shadow: inset 0 0 0 1.5px var(--sbs-ink); }
.meter i.o { background: #fff; box-shadow: inset 0 0 0 1.5px #8e8e8a; }
.meter i.c { background: #8e8e8a; }
.meter i.u { background: repeating-linear-gradient(135deg, #d6d6d3 0 2px, #fff 2px 4px); }
.meter i.x { background: var(--sbs-line); }
/* reorder controls appear on hover/focus only */
.column-guide .reorder { opacity: 0; transition: opacity 0.15s; }
.comparison-table th:hover .reorder,
.comparison-table th:focus-within .reorder { opacity: 1; }
@media (hover: none) { .column-guide .reorder { opacity: 1; } }
.comparison-scroll { max-height: calc(100vh - 120px); }
/* mobile: compact scan rows */
details.mobile-contest > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  gap: 2px;
  position: relative;
  padding-right: 80px;
}
details.mobile-contest > summary::-webkit-details-marker { display: none; }
details.mobile-contest > summary strong { font-size: 17px; line-height: 1.25; letter-spacing: -0.01em; }
details.mobile-contest > summary .mine {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 9px;
  border: 1.5px dashed #f7a170;
  color: var(--sbs-orange-ink);
}
details.mobile-contest > summary .mine.set {
  border: 0;
  background: var(--sbs-apricot);
  box-shadow: inset 0 0 0 1.5px var(--sbs-tangerine);
}
details.mobile-contest[open] > summary { margin-bottom: 12px; }
.mobile-more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 14px; }
.mobile-contest h2 a, .mobile-contest a:visited { color: var(--sbs-ink); }
.type-badge.small { height: 24px; font-size: 12px; padding: 0 10px; margin-top: 8px; }
.steps a > svg { display: block; margin: 4px 0 10px; }
.date-chip { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.org-logo.wide img { width: 92%; height: auto; max-height: 70%; }
.comparison-table .column-guide .org-logo { width: 52px; height: 52px; min-width: 52px; }
@keyframes sbsNudge { 0% { transform: translateY(0); } 30% { transform: translateY(-3px) scale(1.04); } 60% { transform: none; } }
@keyframes sbsRing { 0% { box-shadow: 0 0 0 0 rgba(47, 107, 98, 0.45); } 100% { box-shadow: 0 0 0 12px rgba(47, 107, 98, 0); } }
@media (prefers-reduced-motion: no-preference) {
  .section-heading .btn.share:has(.avatar-stack .org-logo) { animation: sbsNudge 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) 0.2s both, sbsRing 1.2s ease-out 0.3s both; }
}
.section-heading .btn.share { box-shadow: 0 6px 18px rgba(47, 107, 98, 0.28); }
.share-actions .btn.share.big { flex: 1 1 100%; min-height: 52px; font-size: 16px; }

/* Comparison uses the window width; research labels and personal choices remain anchored. */
.comparison-page { max-width: none; width: 100%; padding-inline: clamp(16px, 2.3vw, 48px); }
.comparison-page .comparison-table {
  --contest-width: 220px;
  --personal-width: 174px;
  --guide-width: 112px;
  min-width: calc(var(--contest-width) + var(--personal-width) + var(--guide-count) * var(--guide-width));
  width: 100%;
}
.comparison-table col.contest-col { width: 220px; }
.comparison-table col.personal-col { width: 174px; }
.comparison-page .comparison-table th,
.comparison-page .comparison-table td { width: auto; padding: 12px 8px; }
.comparison-page .comparison-table th.contest-cell { width: 220px; }
.comparison-page .comparison-table .my-column {
  position: sticky; right: 0; z-index: 2; background: #fff9f4;
  border-left: 1px solid #e3d7ce; box-shadow: -6px 0 10px -8px #3a3a38;
}
.comparison-page .comparison-table thead .my-column { z-index: 5; background: #fff4ea; }
.my-column > small { display: block; font-weight: 400; margin-top: 6px; }
.comparison-page .position { white-space: normal; overflow-wrap: anywhere; }
.comparison-page .cell-button { padding: 4px 0; }
.comparison-group th { text-align: left; background: #eaf2ef; border-block: 1px solid #cbdcd5; font-size: 14px; }
.comparison-group th > span { position: sticky; left: 12px; display: inline-block; padding: 5px 4px; }
.comparison-group { scroll-margin-top: 220px; }
.comparison-jumps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.comparison-jumps a { padding: 9px 13px; border: 1px solid #cbdcd5; border-radius: 9px; text-decoration: none; background: white; font-weight: 600; font-size: 13px; }
.comparison-jumps a span { margin-left: 8px; color: var(--sbs-muted); }
.comparison-hint { margin-top: 12px; }
.legend-item { position: relative; display: inline-flex; }
.legend-help { display: inline-flex; gap: 5px; align-items: center; padding: 3px; background: none; border: 0; border-radius: 8px; cursor: help; }
.info-symbol { font-size: 13px; color: #40554d; }
.position-tooltip { visibility: hidden; opacity: 0; pointer-events: none; position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; width: min(280px, 70vw); padding: 13px 15px; background: #263e35; color: white; border-radius: 10px; line-height: 1.5; font-size: 13px; font-weight: 400; box-shadow: 0 5px 20px #0002; }
.legend-item:hover .position-tooltip, .legend-item:focus-within .position-tooltip { visibility: visible; opacity: 1; }
.legend .legend-note { color: var(--sbs-juniper-text); }
.candidate-coverage { border: 1px solid var(--sbs-line); border-radius: 12px; padding: 18px 22px; background: white; }
.candidate-coverage h2 { font-size: 18px; margin-bottom: 8px; }
.candidate-coverage p { max-width: 85ch; font-size: 14px; line-height: 1.6; }
.mobile-comparison-group { display: grid; gap: 16px; }
.mobile-comparison-group h2 { font-size: 21px; padding: 12px 0; border-bottom: 2px solid #bfd5cb; margin: 0; }
.mobile-comparison-group h2 small { font-size: 14px; font-weight: 400; }
@media (max-width: 700px) {
  .comparison-page { padding-inline: 16px; }
  .comparison-jumps a { flex: 1 1 40%; }
  .comparison-hint { display: none; }
  .position-tooltip { display: none; }
  .mobile-comparison-group { scroll-margin-top: 150px; }
}
@media print {
  .comparison-page .comparison-table { min-width: 0; }
  .comparison-page .comparison-table .my-column { position: static; box-shadow: none; }
  .comparison-jumps, .comparison-hint, .candidate-coverage, .info-symbol, .position-tooltip { display: none; }
}
.legend-item:nth-last-of-type(-n+3) .position-tooltip { left: auto; right: 0; }

/* Candidate and measure choices share one vertical control stack. */
.my-guide-list > article > div.choice-stack:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}
.candidate-choice { max-width: 100%; white-space: normal; text-align: center; }

@media (max-width: 700px) {
  .my-guide-list > article > div.choice-stack:last-child { align-items: flex-start; width: 100%; }
}

.ballot-section { margin-top: 32px; }
.ballot-section > h2 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid #cbdcd5; }
.ballot-section > h2 > span { font-size: 13px; font-weight: 400; color: var(--sbs-muted); }
.my-guide-list h3 { font-size: 20px; margin-bottom: 8px; }
.my-guide-list h3 a { text-decoration: none; }
@media print {
  .print-rows .print-group th { background: #eee; border-block: 2px solid #555; font-size: 13px; font-weight: 700; padding-block: 10px; }
  .print-rows .print-group { break-after: avoid; page-break-after: avoid; }
}

.candidate-picks { align-items: stretch; max-width: 100%; }
.candidate-picks .candidate-choice { flex: 1; min-width: 0; min-height: 38px; padding: 7px 10px; font-size: 12px; }
.candidate-picks > .pick { flex: 0 0 auto; }

.choice-error-message:empty { display: none; }
.choice-error-message:not(:empty) { position: sticky; top: 0; z-index: 3; border: 1px solid #d6ad8f; border-radius: 10px; padding: 12px 14px; background: #fff1e7; color: #743309; font-weight: 600; box-shadow: 0 3px 10px #0001; }

.funding-overview { margin-top: 34px; }
.measure-funding { margin: 30px 0 42px; padding-top: 22px; border-top: 2px solid #cbdcd5; }
.measure-funding h2 { font-size: 23px; }
.measure-funding h2 a { text-decoration: none; }
.funding-committee-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); gap: 20px; }
.funding-committee { padding: 22px; background: white; border: 1px solid var(--sbs-line); border-radius: 16px; min-width: 0; }
.funding-committee h3 { font-size: 18px; line-height: 1.4; margin: 10px 0 18px; }
.funding-committee h4 { font-size: 14px; margin: 22px 0 12px; }
.filing-summary { padding-block: 12px; border-bottom: 1px solid var(--sbs-line); }
.filing-summary p { margin-bottom: 10px; font-size: 13px; }
.filing-summary dl { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.filing-summary dt { font-size: 12px; color: var(--sbs-muted); }
.filing-summary dd { font-size: 23px; font-weight: 650; margin: 6px 0; }
.filing-summary small { font-size: 11px; line-height: 1.5; display: block; }
.major-donors { list-style: none; padding: 0; }
.major-donors li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.major-donors strong { white-space: nowrap; }
.shared-funding { margin-top: 36px; }
.snapshot-amount { font-size: 30px; font-weight: 650; margin-block: 18px 8px; }
.finance-ledger > summary { cursor: pointer; padding: 18px; border: 1px solid var(--sbs-line); border-radius: 10px; background: white; font-weight: 650; }

/* Source explanations are separate controls; hover never crowds the position pill. */
.comparison-page .cell-button { display: flex; align-items: center; justify-content: center; min-height: 60px; padding: 12px 9px; transition: background-color 120ms ease; }
.comparison-page .cell-button:hover { background: #edf3f0; box-shadow: none; }
.comparison-page .cell-button:focus-visible { outline: 2px solid #2f6b62; outline-offset: -2px; }
.comparison-page .comparison-table td { padding: 8px; }
.notice-button { display: inline-block; background: #f3f5f2; border: 0; border-radius: 6px; padding: 6px 8px; margin-top: 3px; text-decoration: underline; text-underline-offset: 3px; font-size: 10px; color: #40554d; cursor: pointer; }
.notice-button:hover { background: #e2ebe5; }
.legend-help { gap: 0; cursor: help; }
.reported-ytd strong { display: block; font-size: 26px; line-height: 1.3; color: var(--sbs-ink); }
@media (max-width: 700px) {
  .mobile-guide-position { border-bottom: 1px solid #efefeb; padding-bottom: 8px; }
  .mobile-guide-position > button[data-action="position"] { border: 0; background: white; display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px 0; text-align: left; min-height: 52px; font-size: 12px; }
  .mobile-guide-position > button[data-action="position"] > span:nth-child(2) { flex: 1; }
}
.measure-funding, .shared-funding { scroll-margin-top: 100px; }
.measure-funding .section-heading h2 a { font-size: inherit; line-height: 1.35; }
