/* Round 4 phone metrics. Loaded last so the live screen can match the brand page. */
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/nunito-400.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/nunito-600.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/nunito-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/nunito-800.woff2') format('woff2'); }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/fraunces-600.woff2') format('woff2'); }
.app-shell { min-height: 100vh; background: var(--bg); color: var(--ink); }
.side-nav { display: none; }
.app-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px 0; margin-bottom: 12px;
}
.head-mark { background: none; border: 0; padding: 0; cursor: pointer; }
.app-head .pinwheel { width: 24px; height: 24px; }
.app-head .bubble-fill, .tabbar .bubble-fill, .side-nav .bubble-fill, .side-brand .bubble-fill {
  fill: var(--amber); transform: none !important; animation: none !important;
}
.loc { font-size: 12.5px; font-weight: 700; color: var(--ash-text); }
.mini-pill {
  margin-left: auto; cursor: pointer;
  font-family: var(--font-sans); font-size: 9.5px; font-weight: 800; letter-spacing: 1px;
  padding: 3px 8px; border-radius: 99px;
  background: transparent; color: var(--ash-btn); border: 1.5px solid var(--ash-btn);
}
html, body, .app-shell, .app-stage, .app-head { border: 0; box-shadow: none; background: var(--bg); }
button, input, select, textarea { font-family: 'Nunito Sans', system-ui, sans-serif; }
.sharpen strong { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 18px; letter-spacing: -0.4px; }
a { color: var(--amber-text); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--ink); }
a.skip-link, a.skip-link:hover, a.skip-link:focus, a.skip-link:focus-visible {
  background: var(--ash-btn); color: var(--on-ash);
}
a.skip-link:focus, a.skip-link:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
input, textarea, select {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 16px; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%;
}
textarea { min-height: 96px; resize: vertical; }
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--ash-btn); }
input[type="range"] { accent-color: var(--amber); background: transparent; border: 0; padding: 0; }
.guest-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12.5px; color: var(--ash-text); }
.guest-line button, .text-btn { border: 0; background: none; color: var(--amber-text); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px 2px; min-height: 44px; display: inline-flex; align-items: center; }
.scale { margin: 16px 0 8px; max-width: 460px; }
.scale-segs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; background: transparent; border: 0; }
.scale-seg { min-height: 64px; padding: 6px 4px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 700; line-height: 1.2; text-align: center; }
.scale-seg.active, .scale-seg[aria-checked="true"] { background: var(--ash-btn); color: var(--on-ash); box-shadow: inset 0 0 0 3px var(--amber); }
.filter-block { margin: 12px 0 16px; }
.filter-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-choice { min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-weight: 700; text-align: left; }
.filter-choice.active, .filter-choice[aria-pressed="true"] { background: var(--ash-btn); color: var(--on-ash); box-shadow: inset 0 0 0 3px var(--amber); }
.scale-caption { text-align: center; min-height: 1.2em; margin: 8px 0 0; font-size: 13px; color: var(--ink); }
.scale-labels { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12.5px; color: var(--ash-text); }
.quiz-actions { display: flex; justify-content: space-between; margin-top: 8px; }
.quiz-screen { animation: quiz-in 180ms ease; display: flex; flex-direction: column; min-height: calc(100dvh - 260px); }
.quiz-foot { margin-top: auto; padding-top: 20px; }
@keyframes quiz-in { from { opacity: 0.35; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.quiz-brand { display: flex; align-items: center; gap: 10px; }
.pinwheel-quiz { width: 36px; height: 36px; }
.quiz-foot { margin-top: auto; }
.quiz-foot details { margin-top: 8px; font-size: 13px; color: var(--ash-text); }
.fmap { position: relative; height: 128px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-top: 8px; overflow: hidden; }
.fmap-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); transform: translate(-50%, 50%); }
.fmap-haze { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(240, 180, 76, 0.35); }
.sharpen { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; cursor: pointer; }
.sharpen .meta, .sharpen-card .meta { display: block; }
.quiz-brand .pinwheel .bubble-fill,
.sharpen .pinwheel .bubble-fill,
.sharpen-card .pinwheel .bubble-fill {
  transform-box: fill-box; transform-origin: center;
  transform: scale(var(--bubble, 0.35)) !important;
  animation: none !important;
}
.welcome-dots { display: flex; gap: 6px; margin: 0 0 12px; }
.welcome-dot { width: 8px; height: 8px; border-radius: 8px; background: var(--track); }
.welcome-dot.on { background: var(--amber); }
.quiz-exit { display: flex; gap: 16px; margin-top: 16px; }
.btn-quiet { background: transparent; color: var(--ash-btn); border: 1.5px solid var(--ash-btn); margin-top: 8px; }
.btn-civic {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 14px; font-weight: 700; line-height: 1.2;
  padding: 10px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  cursor: pointer;
}
.btn-civic.btn-primary, .btn-civic.primary { background: var(--ash-btn); color: var(--on-ash); border-color: var(--ash-btn); }
.mark-slot .slot-box { fill: var(--ash-btn); }
.mark-slot .slot-card { fill: var(--amber); }
.mark-slot .slot-gap { fill: var(--bg); }
.mark-slot .slot-line { fill: var(--ash); }
.mark-oval .oval-stroke { fill: none; stroke: var(--ash-btn); stroke-width: 2.5; }
.mark-oval .oval-fill { fill: var(--amber); }
.mark-oval .oval-line { fill: var(--ash); }
.mark-oval .oval-strong { fill: var(--ash-btn); }
.btn-civic, .btn-block, .option-row, .choice-chip, .tab-btn, .prio-btn {
  transition: transform 120ms ease, background-color 120ms ease, border-color 120ms ease;
}
.btn-civic:hover, .option-row:hover, .choice-chip:hover { background: var(--tint); }
.btn-civic.btn-primary:hover, .btn-civic.primary:hover, .btn-block:hover, .option-row.active:hover, .choice-chip.active:hover { background: var(--ash-btn); color: var(--on-ash); }
.btn-civic:active, .btn-block:active, .option-row:active, .choice-chip:active { transform: scale(0.98); }
@media (hover: hover) {
  .civic-card { transition: border-color 160ms ease; }
  .civic-card:hover { border-color: var(--ash); }
}
.progress-fill { transform: none; animation: none; }
.pinwheel .bubble-fill { transition: transform 480ms ease; }
.tour-card { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: 92px; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; }
.tour-card h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; margin: 0 0 6px; }
.tour-target { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 12px; }
@media (min-width: 960px) { .tour-card { left: 256px; bottom: 24px; } }
.name-btn { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 17px; color: var(--ink); text-decoration: none; }
.layer-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.layer-row { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 15px; }
.split-2 { display: grid; gap: 12px; }
@media (min-width: 800px) { .split-2 { grid-template-columns: 1fr 1fr; } }
.learned-list { margin: 8px 0 0; padding-left: 18px; }
.learned-list li { margin: 6px 0; }
@media print {
  .side-nav, .tabbar, .app-head, .skip-link, .more-menu, .btn-civic, .text-btn { display: none !important; }
  .app-shell { display: block; background: var(--bg); }
  .ballotsquare-main { max-width: none; padding: 0; }
}
.quiz-screen > .text-btn { align-self: flex-start; margin-top: 4px; }
.uncertainty-blob { display: flex; justify-content: center; padding: 8px 0 4px; }
.uncertainty-blob span { display: block; border-radius: 50%; background: rgba(240, 180, 76, 0.38); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .quiz-screen { animation: none; }
  .quiz-brand .pinwheel .bubble-fill,
  .sharpen .pinwheel .bubble-fill,
  .sharpen-card .pinwheel .bubble-fill { transform: scale(var(--bubble, 0.35)) !important; animation: none !important; }
  .btn-civic, .btn-block, .option-row, .choice-chip, .tab-btn, .prio-btn, .civic-card, .progress-fill, .pinwheel .bubble-fill {
    transition: none; animation: none;
  }
}
.bill-open { display: block; width: 100%; text-align: left; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.bill-card p, .idea-card p, .next-card .meta, .lede { overflow-wrap: anywhere; }
@media (max-width: 414px) {
  .ballotsquare-main { padding-left: 14px; padding-right: 14px; }
  .page-title { font-size: 1.65rem; line-height: 1.15; }
  .hello-block, .next-stack, .bill-card, .idea-card, #ideas, #bill-filters, #idea-filters, #idea-form { max-width: 100%; }
  .next-card { padding: 12px; gap: 10px; }
  .civic-card { padding: 14px; }
  .form-field input, .form-field select, .form-field textarea, .bill-open { max-width: 100%; }
  .btn-block, .btn-civic { width: 100%; box-sizing: border-box; }
  .option-row { min-height: 44px; }
}
@media (max-width: 1279px) {
  .desk-only { display: none; }
  .home-layout { display: flex; flex-direction: column; }
  .home-main, .home-rail { display: contents; }
  .sharpen-card { display: none; }
  .hello-block { order: 1; }
  .match-wrap { order: 2; }
  .sharpen { order: 3; }
  .impact-wrap { order: 4; }
  .poll-slot { order: 5; }
  .thread-tease { order: 6; }
  .ballot-slot { order: 7; }
}
.option-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.option-row { width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font-family: 'Nunito Sans', system-ui, sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; }
.option-row.active, .option-row[aria-pressed="true"] { background: var(--ash-btn); color: var(--on-ash); border-color: var(--ash-btn); }
.composer summary { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 18px; cursor: pointer; }
.composer textarea { margin: 10px 0; }
.quiz-top { margin-bottom: 12px; }
.ballotsquare-main { padding: 0 18px 22px; max-width: none; }
.page-kicker { font-size: 14.5px; font-weight: 600; color: var(--ash-text); margin: 0; }
.page-title, .section-hero h2 {
  font-family: Fraunces, Georgia, serif; font-weight: 600;
  font-size: 28px; line-height: 1.1; letter-spacing: -0.4px;
  margin: 0 0 14px; color: var(--ink);
}
.page-title + .lede { margin-top: 4px; }
h2.page-title:has(+ .lede) { margin-bottom: 0; }
.lede, .section-hero p { font-size: 13px; line-height: 1.45; color: var(--ash-text); margin: 4px 0 12px; }
.civic-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 15px; margin: 0 0 12px; box-shadow: none;
}
.civic-card h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 18px; letter-spacing: -0.4px; line-height: 1.1; }
.tint-card { background: var(--tint); border: none; }
.match-block { padding: 8px 0 0; border-top: 1px solid var(--line); }
.match-line { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font-size: 13.5px; line-height: 1.3; }
.match-line .name { font-weight: 700; white-space: nowrap; }
.match-line .role { color: var(--ash-text); font-weight: 400; }
.match-line .left { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.match-line .pct { font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.progress-track { height: 8px; border-radius: 4px; background: var(--track); margin-top: 6px; }
.progress-track.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.progress-fill { height: 8px; border-radius: 4px; background: var(--amber); }
.score-card h3 { font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-top > div:first-child { min-width: 0; flex: 1; }
.guest-banner { border: 0; border-radius: 18px; background: var(--tint); padding: 12px 14px; }
.score-pct { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; line-height: 1; }
.see-votes { color: var(--amber-text); font-weight: 700; font-size: 12.5px; margin-top: 8px; cursor: pointer; }
.official-card .match-line { align-items: flex-start; }
.official-card .left { white-space: normal; overflow: visible; text-overflow: unset; }
.official-card .name { display: block; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 20px; line-height: 1.2; white-space: normal; }
.official-card .role { display: block; margin-top: 2px; color: var(--ash-text); font-weight: 400; font-size: 13px; white-space: normal; }
.official-card .pct { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; }
.quiet-conf { color: var(--ash-text); font-size: 12.5px; }
.social-row { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.social-link { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--track); color: var(--ash-text); }
.social-link svg { width: 14px; height: 14px; }
.brand-more { margin-top: 8px; }
.brand-more > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
}
.brand-more > summary::-webkit-details-marker { display: none; }
.brand-more > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ash-text);
  border-bottom: 2px solid var(--ash-text);
  transform: rotate(45deg);
  margin-top: -4px;
  flex: none;
}
.brand-more[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.impact-head h3 { font-size: 17px; }
.impact-marks i { width: 14px; height: 6px; border-radius: 2px; background: var(--amber-deep); }
.impact-row { padding: 7px 0; border-top: 1px solid rgba(31, 35, 40, 0.10); font-size: 13.5px; }
.impact-row .meta { font-size: 10.5px; font-weight: 700; color: var(--ash-text); }
.btn-block, a.btn-block {
  display: block; width: 100%; box-sizing: border-box; text-align: center; text-decoration: none;
  margin-top: 8px; font-size: 14px; font-weight: 700; padding: 11px 0; border-radius: 12px;
  background: var(--ash-btn); color: var(--on-ash); border: 0;
}
.tabbar {
  display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--card); border-top: 1px solid var(--line);
  justify-content: space-around; align-items: flex-end;
  padding: 12px 6px 8px; font-family: var(--font-sans);
}
.tabbar .tab-btn {
  min-width: 50px; flex: 1; padding: 0; background: none; border: 0; color: var(--ash-text);
  display: flex; flex-direction: column; align-items: center;
}
.tabbar .tab-home { padding: 0 18px; }
.tabbar .label { font-size: 10.5px; font-weight: 600; margin-top: 3px; }
.tabbar .tab-btn.active .label, .tabbar .tab-btn[aria-current="page"] .label { font-weight: 800; }
.tabbar .tab-btn.active, .tabbar .tab-btn[aria-current="page"] { color: var(--ink); }
.tabbar .dot { width: 5px; height: 5px; border-radius: 5px; margin-top: 4px; background: transparent; }
.tabbar .tab-btn.active .dot, .tabbar .tab-btn[aria-current="page"] .dot { background: var(--amber-deep); }
.tabbar .ico svg, .tabbar .pinwheel { width: 21px; height: 21px; }
.pinwheel-sm .blades { fill: var(--ash-btn); }
.app-head .blades { fill: var(--ash-text); }
.ballotsquare-main { padding-bottom: 96px; }
.more-menu { background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.more-menu a { display: flex; align-items: center; width: 100%; text-align: left; background: none; border: 0; color: var(--ink); font: 600 0.95rem 'Nunito Sans', system-ui, sans-serif; padding: 12px; border-radius: 12px; text-decoration: none; min-height: 44px; }
.more-menu a:hover, .more-menu a:focus-visible { background: var(--tint); color: var(--ink); }
.review-page { max-width: 720px; margin: 0 auto; padding: 28px 18px 80px; }
.review-page .page-title { margin-top: 0; }
.review-page .review-decisions { margin-top: 28px; font-size: 28px; }
.review-page .civic-card h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; letter-spacing: -0.3px; margin: 0 0 6px; }
.review-page a.btn-civic { display: inline-flex; align-items: center; text-decoration: none; min-height: 44px; }
.next-stack { display: flex; flex-direction: column; gap: 10px; max-width: 560px; }
.next-card { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; min-height: 44px; cursor: pointer; color: var(--ink); font-family: 'Nunito Sans', system-ui, sans-serif; }
.next-card strong { display: block; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; letter-spacing: -0.3px; margin: 0 0 2px; }
.next-card strong .tint-pill { font-family: 'Nunito Sans', system-ui, sans-serif; font-size: 11px; letter-spacing: 0.4px; vertical-align: 3px; }
.next-num { flex: 0 0 auto; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; line-height: 1; color: var(--amber-text); min-width: 18px; }
.next-oval { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--amber); }
.next-card.is-done { background: var(--tint); }
.next-card .meta { display: block; }
.lazy-chart { min-height: 48px; }
.claim-line { margin: 8px 0; }
.claim-why { display: inline; }
.claim-why summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--amber-text); cursor: pointer; font-weight: 700; }
.claim-why summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.empty-state { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 15px; }
.empty-state h3 { font-size: 17px; margin-bottom: 6px; }
.skeleton .sk-line { height: 12px; border-radius: 6px; background: var(--track); margin: 8px 0; }
.skeleton .sk-line.short { width: 55%; }
.skeleton .sk-bar { height: 8px; border-radius: 4px; background: var(--track); margin-top: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip { border: 1.5px solid var(--ash-btn); border-radius: 12px; background: transparent; color: var(--ink); font-weight: 700; min-width: 44px; flex: 0 1 auto; }
.choice-chip.active { background: var(--ash-btn); color: var(--on-ash); }
.ash-pill, .tint-pill { white-space: nowrap; flex-shrink: 0; background: var(--card); color: var(--ink); border-radius: 99px; padding: 3px 9px; font-size: 11px; font-weight: 700; }
.race-row h3 { font-size: 16.5px; }
.subnav-btn[aria-selected="true"], .chip-row .prio-btn.active { background: var(--ash-btn); color: var(--on-ash); }
body.plain-mode, body.plain-mode .lede, body.plain-mode .meta { font-size: 18px; line-height: 1.65; }
body.plain-mode .page-title { font-size: 32px; }

@media (min-width: 960px) {
  .app-shell { display: grid; grid-template-columns: 232px 1fr; }
  .side-nav {
    display: flex; flex-direction: column; gap: 18px;
    position: sticky; top: 0; height: 100vh; padding: 22px 16px;
    border-right: 1px solid var(--line); background: var(--card);
  }
  .side-brand { display: flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; text-align: left; padding: 0; }
  .side-brand .pinwheel { width: 32px; height: 32px; }
  .side-brand .blades { fill: var(--ash); }
  .side-brand .name { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 22px; letter-spacing: -0.4px; }
  .side-links { display: flex; flex-direction: column; gap: 4px; }
  .side-link { flex-direction: row; justify-content: flex-start; gap: 8px; min-width: 0; padding: 8px 10px; border-radius: 12px; color: var(--ash-text); background: none; border: 0; font-family: var(--font-sans); font-weight: 700; font-size: 14px; cursor: pointer; }
  .side-link.active, .side-link[aria-current="page"] { background: var(--tint); color: var(--ink); }
  .side-link .dot { width: 6px; height: 6px; border-radius: 6px; margin: 0 0 0 auto; }
  .tabbar { display: none !important; }
  .head-mark { display: none; }
  .side-link { align-items: center; }
  .side-link .label { margin-top: 0; }
  .side-link .ico svg, .side-link .pinwheel { width: 20px; height: 20px; display: block; }
  .app-head { max-width: 1080px; margin: 0 auto; padding: 22px 24px 0; width: 100%; }
  .app-stage { min-width: 0; }
  .ballotsquare-main { max-width: 720px; margin: 0 auto; padding: 8px 24px 64px; }
  .more-menu { top: 72px; right: 24px; }
}
.doc-page { background: var(--bg); color: var(--ink); font-family: 'Nunito Sans', system-ui, sans-serif; padding: 28px 18px 64px; max-width: 640px; margin: 0 auto; }
.doc-page h1, .doc-page h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; color: var(--ink); }
.record-conflict { color: var(--ink); font-weight: 800; }
.spread { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--track); margin: 8px 0; }
.spread i { display: block; height: 100%; }
.spread .pos { background: var(--amber); }
.spread .mid { background: var(--tint); }
.spread .neg { background: var(--ash-btn); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.tabbar .tab-btn, .side-link, .more-menu button, .choice-chip, .subnav-btn, .text-btn, .mini-pill, .social-link, .brand-more > summary, .modal-x, .btn-civic, .option-row {
  min-height: 44px;
}
.tabbar .tab-btn { justify-content: flex-end; padding-top: 4px; padding-bottom: 2px; }
.social-link { width: 44px; height: 44px; }
.mini-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 12px; letter-spacing: 0.4px; }
.text-btn { display: inline-flex; align-items: center; }
.modal-x { min-width: 44px; min-height: 44px; }
.tier-pill { min-height: 44px; display: inline-flex; align-items: center; border-color: var(--line); background: var(--card); color: var(--ink); }
.modal-card { background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; }
@media (max-width: 800px) {
  #toast-container { top: auto; bottom: 96px; left: 12px; right: 12px; }
}

.map-axis { margin: 14px 0; }
.map-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--ash-text); }
.axis-track { position: relative; height: 16px; margin-top: 6px; background: var(--track); border-radius: 8px; }
.axis-mark { position: absolute; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); transform: translateX(-50%); }
.radar { width: 100%; max-width: 280px; height: auto; display: block; margin: 8px auto; color: var(--ash-btn); }
.radar-ring, .radar-spoke { fill: none; stroke: var(--line); stroke-width: 1; }
.radar-fill { fill: rgba(240, 180, 76, 0.35); stroke: currentColor; stroke-width: 2; }
.radar-dot { fill: var(--amber); stroke: var(--ash-btn); stroke-width: 1; }
.radar text { fill: var(--ink); font-size: 11px; font-family: 'Nunito Sans', system-ui, sans-serif; }
.budget-split, #depth-budget .form-field { margin-top: 8px; }

@media (min-width: 1280px) {
  .phone-only { display: none; }
  .home-main .sharpen { display: none; }
  .sharpen-card { display: block; }
  .mini-pill { font-size: 14px; font-weight: 700; letter-spacing: 0.2px; padding: 8px 14px; }
  .ballotsquare-main:has(.home-layout) { max-width: 1080px; }
  .home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
  .home-main, .home-rail { display: block; }
}
