/* The current ballot experience. Scoped so the retained staff preview is unchanged. */
.pilot-page {
  --preview-height: 30px;
  --header-height: 95px;
  --race-nav-height: 66px;
  --sticky-height: calc(var(--preview-height) + var(--header-height) + var(--race-nav-height));
  --font-primary: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --hot-white: #FFFAFF;
  --cool-white: #F5F5FF;
  --white: #FFFFFF;
  --carbon: #232323;
  --navy-blue: #0D1E40;
  --ican-red: #EC1A33;
  --ican-blue: #2D6DE5;
  background: var(--cool-white);
  color: var(--navy-blue);
  -webkit-font-smoothing: antialiased;
}
.pilot-page [hidden] { display: none !important; }
.pilot-page button, .pilot-page input { font-family: var(--font-primary); }
.pilot-page :focus-visible { outline: 3px solid #0066cc; outline-offset: 4px; }
.pilot-page .staging-banner { background: #243449; font-size: 10px; font-weight: 500; letter-spacing: .035em; min-height: 30px; padding: 9px 16px; }
body.pilot-page { padding-top: var(--preview-height); }
.pilot-page .topbar { position: sticky; top: var(--preview-height); padding: 24px 32px; background: transparent; border: 0; max-width: 1040px; margin: auto; }
.pilot-page #ballot { scroll-margin-top: calc(var(--sticky-height) + 18px); }
.pilot-page .pilot-logo-image { width: 68px; }
.pilot-page .topbar__title { border-color: #d2d2d7; font-size: 11px; font-weight: 600; }
.pilot-page .pilot-topbar-note { color: #53637b; font-size: 12px; }
.pilot-page .page { max-width: 940px; padding-left: 32px; padding-right: 32px; }
.pilot-page .page--intro .hero { padding: 36px 0 42px; }
.pilot-page .hero__overline { font-size: 11px; color: #53637b; font-weight: 600; letter-spacing: .09em; margin-bottom: 18px; }
.pilot-page .hero__overline::before { display: none; }
.pilot-page .hero__title { max-width: 680px; font-size: clamp(36px, 5.5vw, 62px); font-weight: 650; letter-spacing: -.048em; line-height: 1.05; margin: 0 0 16px; }
.pilot-page .hero__subtitle { max-width: 600px; font-size: 19px; color: #53637b; line-height: 1.5; }
.pilot-page .pilot-lookup { max-width: none; margin-top: 32px; }
.pilot-page .pilot-lookup label { color: #424245; font-size: 12px; font-weight: 550; margin-bottom: 10px; }
.pilot-page .pilot-lookup__row { gap: 12px; }
.pilot-page .pilot-lookup__row input { padding: 17px 18px; border: 1px solid #d2d2d7; border-radius: 13px; font-size: 16px; background: var(--white); box-shadow: 0 2px 6px #00000003; }
.pilot-page .pilot-lookup__row button { border: 0; border-radius: 13px; background: var(--navy-blue); padding: 17px 24px; font-weight: 550; font-size: 14px; }
.pilot-page .pilot-lookup__hint { margin-top: 12px; color: #53637b; font-size: 11px; line-height: 1.5; }
.pilot-page .pilot-lookup__status { font-size: 12px; margin-top: 10px; min-height: 18px; color: #496275; }
.pilot-page .address-confirmation { margin-top: 14px; padding: 16px; border: 1px solid #c0cad9; border-radius: 12px; background: var(--white); overflow-wrap: anywhere; }
.pilot-page .address-confirmation h3 { margin: 0 0 8px; font-size: 17px; }
.pilot-page .address-confirmation p { margin: 8px 0; font-size: 14px; line-height: 1.5; }
.pilot-page .address-confirmation__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pilot-page .address-confirmation button { min-height: 44px; padding: 10px 14px; border: 1px solid var(--navy-blue); border-radius: 8px; background: var(--navy-blue); color: #fff; font-size: 14px; cursor: pointer; }
.pilot-page .address-confirmation button + button { background: var(--white); color: var(--navy-blue); }
.pilot-page .address-confirmation__choices { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.pilot-page .address-confirmation__choices button { width: 100%; text-align: left; }
.pilot-page .address-confirmation .address-confirmation__edit { background: var(--white); color: var(--navy-blue); }
.pilot-page .race-nav-shell { top: calc(var(--preview-height) + var(--header-height)); border-top: 1px solid #e6e6eb; border-bottom: 1px solid #dedee3; box-shadow: none; background: var(--cool-white); backdrop-filter: blur(20px); }
.pilot-page .race-nav-inner { max-width: 940px; padding: 9px 32px; gap: 20px; min-height: 64px; }
.pilot-page .race-nav-label { color: #53637b; font-size: 11px; font-weight: 600; }
.pilot-page .race-nav-links { gap: 8px; }
.pilot-page .race-nav-link { border: 0; border-radius: 20px; padding: 9px 14px; font-size: 12px; font-weight: 500; color: #424245; background: #eaeaec; }
.pilot-page .race-nav-link[aria-current="location"] { background: var(--navy-blue); color: #fff; }
.pilot-page .race-nav-link:hover { color: var(--navy-blue); background: #dedee3; }
.pilot-page .page--ballot .ballot-header { padding-bottom: 0; border: 0; margin: 40px 0 28px; }
.pilot-page .ballot-header__overline { color: #53637b; font-size: 10px; }
.pilot-page .ballot-header__title { font-size: clamp(26px,4vw,34px); letter-spacing: -.035em; font-weight: 600; }
.pilot-page .ballot-header__actions { display: flex; gap: 8px; }
.pilot-page .ballot-header__save-btn, .pilot-page .ballot-header__print-btn { border: 1px solid #d2d2d7; border-radius: 20px; color: var(--navy-blue); background: transparent; padding: 9px 15px; font-size: 12px; font-weight: 500; }
.pilot-page .ballot-header__save-btn:hover, .pilot-page .ballot-header__print-btn:hover { background: #eaeaec; }
.contest__comparison-note { margin: 14px 0 0; color: #586a84; font-size: 11px; line-height: 1.6; }
.contest__request { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 17px; padding-top: 15px; border-top: 1px solid #e9e9ee; font-size: 11px; color: #53637b; }
.text-button { border: 0; padding: 7px 0; color: #0066cc; font-size: 11px; font-weight: 500; background: transparent; cursor: pointer; white-space: nowrap; }
.priority-selector { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 13px; border: 1px solid #e2e2e7; border-radius: 13px; background: var(--hot-white); color: #234b8a; font-size: 12px; font-weight: 550; cursor: pointer; text-align: left; transition: background .15s, border-color .15s; }
.priority-selector:hover { background: var(--hot-white); border-color: var(--ican-blue); }
.priority-selector__check { display: grid; place-items: center; flex-shrink: 0; width: 21px; height: 21px; border: 1.5px solid #8b9fbd; border-radius: 50%; color: transparent; font-size: 12px; }
.priority-selector[aria-pressed="true"] { background: var(--hot-white); border-color: var(--ican-blue); }
.priority-selector[aria-pressed="true"] .priority-selector__check { background: var(--ican-blue); border-color: var(--ican-blue); color: #fff; }
.ballot-empty { padding: 28px; border: 1px solid #e2e2e7; border-radius: 20px; background: var(--white); color: #53637b; font-size: 15px; line-height: 1.7; }
.coverage-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 42px 0 19px; }
.section-eyebrow { color: #586a84; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.coverage-section-head h2 { margin: 0; font-size: 23px; font-weight: 600; letter-spacing: -.03em; }
.coverage-section-head > p { font-size: 11px; color: #586a84; margin: 0 0 3px; }
.coverage-card { display: grid; grid-template-columns: 35px minmax(0,1fr) auto; gap: 15px; align-items: center; padding: 24px; margin-bottom: 12px; background: var(--white); border: 1px solid #e2e2e7; border-radius: 18px; }
.coverage-card__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #f0f0f3; color: #586a84; font-size: 23px; font-weight: 300; }
.coverage-card__eyebrow { color: #586a84; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }
.coverage-card h3 { font-size: 15px; letter-spacing: -.02em; font-weight: 550; margin: 5px 0 7px; }
.coverage-card p { font-size: 11px; color: #53637b; line-height: 1.65; margin: 0; max-width: 460px; }
.secondary-button { padding: 10px 13px; border: 1px solid #d2d2d7; background: transparent; border-radius: 20px; font-size: 11px; font-weight: 500; color: #424245; cursor: pointer; }
.secondary-button:hover { background: var(--cool-white); }
.pilot-page .ballot-donate { border-radius: 22px; padding: 32px; background: var(--navy-blue); box-shadow: none; margin-top: 42px; }
.pilot-page .ballot-donate h2 { font-size: 24px; line-height: 1.25; letter-spacing: -.035em; }
.pilot-page .ballot-donate__eyebrow { color: #ff8494; font-size: 9px; font-weight: 500; }
.pilot-page .ballot-donate__copy p { font-size: 12px; }
.pilot-page .ballot-donate__form button { background: var(--white); color: var(--navy-blue); border-radius: 9px; font-weight: 550; }
.pilot-page .ballot-donate__form label span { border-radius: 9px; font-weight: 500; }
.pilot-page .footer { text-align: center; }
.pilot-page .footer__paid-for-by { font-size: 10px; line-height: 1.7; color: #586a84; font-family: var(--font-primary); }
.pilot-page .pilot-dialog { border: 1px solid #dedee3; border-radius: 24px; padding: 34px; box-shadow: 0 20px 90px #0002; width: min(540px,calc(100vw - 32px)); }
.pilot-page .pilot-dialog::backdrop { background: #0d1e4055; backdrop-filter: blur(8px); }
.pilot-page .pilot-dialog h2 { font-size: 29px; font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.pilot-page .pilot-dialog > p { font-size: 13px; line-height: 1.65; }
.pilot-page .pilot-dialog__eyebrow { color: #586a84; font-size: 10px; font-weight: 500; margin-bottom: 14px; }
.pilot-page .ballot-save__form { margin-top: 24px; gap: 17px 12px; }
.pilot-page .ballot-save__form > label:not(.ballot-save__consent) { gap: 8px; }
.pilot-page .ballot-save__form input:not([type=checkbox]) { width: 100%; min-width: 0; padding: 13px 12px; border: 1px solid #d2d2d7; border-radius: 9px; font-size: 15px; color: var(--navy-blue); background: var(--white); }
.pilot-page .ballot-save__form label > span { font-size: 11px; font-weight: 500; color: #53637b; }
.pilot-page .ballot-save__consent { grid-template-columns: 17px 1fr; gap: 9px; }
.pilot-page .ballot-save__consent input { width: 17px; height: 17px; accent-color: var(--navy-blue); }
.pilot-page .ballot-save__consent span { line-height: 1.65; }
.pilot-page .ballot-save__form button { background: var(--navy-blue); border-radius: 10px; padding: 13px 18px; font-size: 12px; font-weight: 500; grid-column: 1 / -1; }
.pilot-page .ballot-save__status { grid-column: 1 / -1; color: #42614e; line-height: 1.5; font-size: 12px; font-weight: 450; }
.pilot-page .priority-address { font-size: 11px; color: #586a84; border-bottom: 1px solid #e2e2e7; padding-bottom: 16px; }
.pilot-page .preview-note { color: #586a84; font-size: 10px; margin: 22px 0 0; }
.priority-cancel { margin-top: 15px; border: 0; background: transparent; color: #a92c35; font-size: 12px; padding: 8px 0; cursor: pointer; }
@media (max-width:640px) {
  .pilot-page { --preview-height: 42px; }
  .pilot-page .staging-banner { min-height: 42px; font-size: 9px; line-height: 1.4; }
  .pilot-page .topbar { padding: 24px 20px 15px; }
  .pilot-page .page { padding-left: 20px; padding-right: 20px; }
  .pilot-page .page--intro .hero { padding: 22px 0 28px; }
  .pilot-page .hero__subtitle { font-size: 16px; }
  .pilot-page .pilot-lookup { margin-top: 24px; }
  .pilot-page .pilot-lookup__row { gap: 9px; }
  .pilot-page .pilot-lookup__row input { font-size: 16px; padding: 15px; }
  .pilot-page .pilot-lookup__row button { padding: 14px; }
  .pilot-page .race-nav-inner { padding: 9px 20px; }
  .pilot-page .race-nav-label { font-size: 9px; margin-bottom: 6px; }
  .pilot-page .race-nav-link { padding: 8px 12px; font-size: 11px; }
  .pilot-page .pilot-ballot-heading { gap: 18px; }
  .pilot-page .ballot-header__actions { width: 100%; justify-content: flex-start; }
  .contest__request { display: block; line-height: 1.7; }
  .contest__request button { display: block; margin-top: 6px; }
  .coverage-section-head { display: block; margin-top: 32px; }
  .coverage-section-head > p { margin-top: 10px; }
  .coverage-card { grid-template-columns: 28px minmax(0,1fr); padding: 20px 17px; gap: 13px; }
  .coverage-card__icon { width: 28px; height: 28px; border-radius: 8px; align-self: start; }
  .coverage-card button { grid-column: 2; justify-self: start; margin-top: 2px; }
  .pilot-page .ballot-donate { padding: 25px; gap: 22px; }
  .pilot-page .pilot-dialog { padding: 30px 23px 25px; }
  .pilot-page .pilot-dialog h2 { font-size: 25px; }
}
@media (prefers-reduced-motion:reduce) { .index-box__chevron, .priority-selector { transition: none; } }
@media print {
  .pilot-page { background: var(--white); }
  .pilot-page .topbar,.pilot-page .page--intro,.pilot-page .ballot-header__actions,.pilot-page .pilot-jurisdictions,.pilot-page .index-box,.pilot-page #coverage-content,.pilot-page .contest__request,.pilot-page .contest__show-all { display: none !important; }
  .pilot-page .page { max-width: none; padding: 0; }
  .pilot-page .geocode-terminal { padding: 12px; }
  .pilot-page .pilot-print-notice { display: block; }
}

.provider-geographies { margin-top: 14px; }
.nonvoting-entry { border: 1px solid #d9dce8; border-radius: 8px; padding: 22px; margin: 24px 0; background: #fff; color: var(--navy-blue); break-inside: avoid; }
.nonvoting-entry__title { font-size: 24px; margin: 8px 0 14px; }
.nonvoting-entry__status { font-weight: 600; }
.nonvoting-entry__name { font-size: 18px; font-weight: 600; }
.nonvoting-entry__source { color: #53637b; font-size: 12px; margin-bottom: 0; }
.nonvoting-entry p { line-height: 1.5; }
.queue-details { border-top: 1px solid #e2e2e7; margin-top: 18px; padding-top: 15px; overflow-wrap: anywhere; }
.queue-details ul { padding-left: 18px; font-size: 11px; color: #53637b; line-height: 1.7; margin: 10px 0; }
.queue-details pre { white-space: pre-wrap; font-size: 9px; max-height: 250px; overflow: auto; }

/* ICAN identity: retain the cleaner layout with the established brand palette. */
.pilot-page .topbar { max-width: none; padding: 12px max(32px,calc((100% - 940px)/2)); background: var(--navy-blue); border-bottom: 3px solid var(--ican-red); }
.pilot-page .pilot-logo-image { width: 80px; }
.pilot-page .pilot-logo, .pilot-page .topbar__title { color: #fff; }
.pilot-page .topbar__title { border-color: var(--ican-red); }
.pilot-topbar-menu { display: flex; flex-direction: column; align-items: flex-end; }
.pilot-topbar-links { display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.pilot-page .pilot-topbar-note { color: var(--cool-white); font-size: 10px; white-space: nowrap; }
.pilot-topbar-links a, .pilot-topbar-links button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; color: #fff; font: inherit; font-size: 11px; font-weight: 550; padding: 0; background: transparent; border: 0; border-radius: 0; cursor: pointer; }
.pilot-topbar-links a:hover, .pilot-topbar-links button:hover { color: #fff; background: transparent; text-decoration: underline; text-underline-offset: 5px; }
.pilot-topbar-links a:focus-visible, .pilot-topbar-links button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pilot-topbar-links > span { color: #ffffff80; font-size: 12px; }
#donate { scroll-margin-top: calc(var(--sticky-height) + 18px); }
.pilot-page .hero__overline { color: var(--crimson); }
.pilot-page .hero__title { color: var(--navy-blue); }
.pilot-page .hero__title span { color: var(--ican-red); }
.pilot-page .pilot-lookup__row input:focus { border-color: var(--ican-blue); }
.pilot-page .pilot-lookup__row button:hover { background: #183b74; }
.pilot-page .race-nav-link { background: var(--hot-white); color: var(--navy-blue); }
.pilot-page .race-nav-link:hover { background: var(--cool-white); color: var(--navy-blue); }
.pilot-page .race-nav-link[aria-current="location"] { background: var(--navy-blue); color: #fff; }
.pilot-page .ballot-header__overline, .pilot-page .contest__level { color: var(--crimson); }
.pilot-page .ballot-order-notice { color: #53637b; font-size: 12px; line-height: 1.5; margin: 0 0 20px; }
.pilot-page .ballot-measure { padding: 24px 0; border-top: 1px solid #d2d2d7; break-inside: avoid; }
.pilot-page .ballot-scope-notice { scroll-margin-top: calc(var(--sticky-height) + 16px); }
.pilot-page .ballot-scope-notice .contest__gap-copy { margin: 10px 0; }
.pilot-page .ballot-scope-notice [hidden] { display: none !important; }
@media print { .pilot-page .ballot-scope-notice { display: block !important; } }
.pilot-page .ballot-header__save-btn { background: var(--navy-blue); color: #fff; border-color: var(--navy-blue); }
.pilot-page .ballot-header__save-btn:hover { background: #183b74; }
.pilot-page .coverage-card__icon { color: #234b8a; background: var(--hot-white); }
.pilot-page .secondary-button { color: #234b8a; border-color: var(--ican-blue); }
.pilot-page .secondary-button:hover { background: var(--hot-white); }
.pilot-page .section-eyebrow { color: var(--crimson); }
.pilot-page .intel-invitation { background: var(--hot-white); border-color: #e2e2e7; }
.pilot-page .intel-submit { background: var(--navy-blue); }
.pilot-page .intel-consent input { accent-color: var(--ican-blue); }
.pilot-page .ballot-donate { border-top: 4px solid var(--ican-red); }
.pilot-page .ballot-donate__form button { background: var(--white); color: var(--navy-blue); }
.pilot-page .ballot-donate__form button:hover { background: var(--hot-white); }
.about-ican { margin: 32px 0; padding: 30px; background: var(--white); border: 1px solid #e2e2e7; border-top: 4px solid var(--ican-red); border-radius: 18px; scroll-margin-top: calc(var(--sticky-height) + 18px); }
.about-ican h2 { font-size: 25px; letter-spacing: -.03em; margin: 6px 0 14px; }
.about-ican p { max-width: 710px; font-size: 14px; line-height: 1.75; color: #455773; margin: 0 0 12px; }
.about-ican a { display: inline-block; color: #234b8a; font-size: 13px; font-weight: 550; padding: 8px 0; }
.about-ican a:hover, .pilot-page .footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pilot-page .footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.pilot-page .footer__links a { color: #234b8a; font-size: 12px; padding: 8px 0; }
@media (max-width:640px) {
  .pilot-page .topbar { padding: 10px 20px; gap: 16px; align-items: center; }
  .pilot-topbar-links { gap: 6px; }
  .pilot-page .pilot-topbar-note { font-size: 9.5px; }
  .pilot-topbar-links a, .pilot-topbar-links button { font-size: 11px; }
  .about-ican { padding: 23px 20px; }
  .about-ican h2 { font-size: 23px; }
}
@media print { .pilot-page .about-ican, .pilot-page .footer__links { display: none !important; } }

.staff-access { margin: 28px 0; padding: 18px; border: 1px solid #e2e2e7; background: var(--hot-white); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.staff-access label { font-size: 12px; }
.staff-access input { display: block; max-width: 100%; margin-top: 8px; padding: 10px; border: 1px solid #d4d4d8; border-radius: 8px; }
.staff-access p { width: 100%; font-size: 11px; }


/* Ballot corrections: compact races, original party strips, focused score color. */
.pilot-page .race-nav-shell { background: var(--hot-white); }
.pilot-page .pilot-race-count { color: #53637b; font-size: 12px; margin: 24px 0 4px; }
.pilot-page .page--ballot .contest { padding: 22px 0; margin: 0; border: 0; border-bottom: 1px solid #0d1e4020; border-radius: 0; box-shadow: none; background: transparent; scroll-margin-top: calc(var(--sticky-height) + 16px); }
.pilot-page .contest__level { color: var(--crimson); font: 600 10px/1.4 var(--font-primary); letter-spacing: .07em; margin-bottom: 5px; }
.pilot-page .contest__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pilot-page .contest .contest__head { justify-content: flex-start; gap: 8px 16px; }
.pilot-page .contest__title { color: var(--navy-blue); font-size: 22px; font-weight: 600; letter-spacing: -.025em; margin: 0; }
.pilot-page .pilot-seat { color: var(--navy-blue); border: 0; padding: 0; font-size: 22px; font-weight: 600; line-height: 1.25; white-space: normal; overflow-wrap: anywhere; }
.pilot-page .page--ballot .candidate { min-height: 66px; margin-bottom: 6px; border: 1px solid #0d1e4020; border-radius: 6px; background: var(--white); box-shadow: none; overflow: hidden; }
.pilot-page .candidate__cap--action { width: 58px; overflow: hidden; padding: 0; }
.pilot-page .candidate__cap-body { flex: 1; padding: 7px 4px; background: var(--white); }
.pilot-page .candidate__cap-bubble { width: 23px; height: 23px; background: var(--white); border: 1.5px solid #53637b; box-shadow: none; }
.pilot-page .candidate__cap-mark { width: 30px; height: 30px; }
.pilot-page .candidate--rank-highest .candidate__cap-bubble { color: #047857; border-color: #047857; }
.pilot-page .candidate--rank-lower .candidate__cap-bubble { color: var(--crimson); border-color: var(--crimson); }
.pilot-page .candidate--pos-endorse .candidate__cap-bubble { color: #047857; border-color: #047857; }
.pilot-page .candidate--pos-oppose .candidate__cap-bubble { color: var(--crimson); border-color: var(--crimson); }
.pilot-page .page--ballot .candidate__cap-party { margin: 0; padding: 4px 2px; min-height: 16px; border: 0; border-radius: 0; background: var(--navy-blue); color: var(--white); font: 700 9px/1 var(--font-primary); letter-spacing: .08em; }
.pilot-page .page--ballot .candidate--party-dem .candidate__cap-party { background: var(--ican-blue); }
.pilot-page .page--ballot .candidate--party-rep .candidate__cap-party { background: var(--crimson); }
.pilot-page .page--ballot .candidate--party-none .candidate__cap-party { font-size: 6px; letter-spacing: .01em; }
.pilot-page .candidate__content { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 6px; padding: 9px 10px 9px 14px; }
.pilot-page .candidate__name-row { gap: 4px 6px; align-items: center; }
.pilot-page .candidate__name { font-size: 17px; font-weight: 600; letter-spacing: -.02em; color: var(--navy-blue); }
.pilot-page .candidate__name-button { all: unset; cursor: pointer; border-radius: 4px; }
.pilot-page .candidate__name-button:hover .candidate__name, .pilot-page .candidate__name-button:focus-visible .candidate__name { text-decoration: underline; text-underline-offset: 3px; }
.pilot-page .candidate__name-button:focus-visible { outline: 2px solid var(--ican-blue); outline-offset: 2px; }
.pilot-page .candidate-actions { display: grid; gap: 10px; margin-top: 18px; }
.pilot-page .candidate-actions__option { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid #dedee3; border-radius: 16px; background: transparent; text-align: left; color: var(--navy-blue); text-decoration: none; cursor: pointer; font: inherit; }
.pilot-page .candidate-actions__option:hover, .pilot-page .candidate-actions__option:focus-visible { border-color: var(--ican-blue); background: var(--cool-white); }
.pilot-page .candidate-actions__label { font-size: 15px; font-weight: 600; }
.pilot-page .candidate-actions__detail { font-size: 12px; color: #586a84; }
.pilot-page .candidate__incumbent-inline { font-size: 9px; padding: 2px 5px; border: 0; background: var(--cool-white); color: #53637b; text-transform: none; letter-spacing: 0; }
.pilot-page .page--ballot .candidate__cap--score { display: flex; width: 86px; min-width: 86px; padding: 8px 8px; gap: 5px; border: 0; border-right: 3px solid var(--score-motion-accent,var(--score-accent,#0d1e4040)); background: var(--hot-white); }
.pilot-page .candidate__cap-index-label { color: #53637b; font: 500 7px/1.3 var(--font-primary); letter-spacing: .035em; }
.pilot-page .candidate__cap-score-value { font: 600 21px/1 var(--font-mono); letter-spacing: -.05em; color: var(--score-motion-ink,var(--score-accent,var(--navy-blue))); font-variant-numeric: tabular-nums; }
.pilot-page .page--ballot .candidate__cap--pending .candidate__cap-score-value { font: 500 11px/1.4 var(--font-primary); letter-spacing: 0; color: #53637b; white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
.pilot-page .candidate--strong-allied { --score-accent: #047857; }
.pilot-page .candidate--allied { --score-accent: #047857; }
.pilot-page .candidate--leans-allied { --score-accent: #047857; }
.pilot-page .candidate--neutral { --score-accent: #52525B; }
.pilot-page .candidate--leans-hostile { --score-accent: #9A5000; }
.pilot-page .candidate--hostile { --score-accent: #C2410C; }
.pilot-page .candidate--strong-hostile { --score-accent: var(--crimson); }
.pilot-page .candidate__intel-action { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: #53637b; cursor: pointer; }
.pilot-page .candidate__intel-action svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pilot-page .candidate__intel-action:hover { color: var(--navy-blue); background: var(--cool-white); }
.contest__comparison-note { margin-top: 9px; }
.contest__request { margin-top: 10px; padding-top: 0; border: 0; }
.pilot-page .priority-selector { background: var(--white); color: var(--navy-blue); }
.pilot-page .priority-selector:hover,.pilot-page .priority-selector[aria-pressed="true"] { background: var(--hot-white); }
.pilot-page .coverage-card { background: var(--hot-white); }

/* A terminal window with the earlier sequential typewriter, not a data table. */
.pilot-page .geocode-terminal { margin: 18px 0 10px; padding: 0; background: var(--carbon); color: var(--white); border: 1px solid var(--carbon); border-radius: 7px; box-shadow: none; }
.pilot-page .geocode-terminal__bar { display: flex; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #ffffff24; background: transparent; font: 500 10px/1.3 var(--font-mono); letter-spacing: .015em; text-transform: none; color: var(--cool-white); }
.terminal-window-controls { display: flex; gap: 5px; }
.terminal-window-controls i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--ican-red); }
.terminal-window-controls i:nth-child(2) { background: var(--hot-white); opacity: .7; }
.terminal-window-controls i:nth-child(3) { background: var(--ican-blue); }
.pilot-page .geocode-terminal__bar #geocode-source { margin-left: auto; color: var(--cool-white); font-size: 9px; }
.pilot-page .geocode-terminal__body { min-height: 0; padding: 10px 14px; }
.pilot-page .geocode-terminal__line { min-height: 18px; font: 400 11px/1.6 var(--font-mono); grid-template-columns: 10px minmax(0,1fr); gap: 7px; white-space: pre-wrap; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; color: var(--white); }
.pilot-page .geocode-terminal__prompt { color: #ff8494; }
.geocode-terminal__prompt { grid-column: 1; grid-row: 1; }
.geocode-terminal__text,.geocode-terminal__measure { grid-column: 2; grid-row: 1; }
.geocode-terminal__measure { visibility: hidden; pointer-events: none; }
.pilot-page .geocode-terminal__text.is-typing::after { color: var(--white); }
.terminal-complete { color: var(--cool-white); }
.pilot-page .pilot-jurisdictions { border: 0; padding: 6px 0; margin: 0 0 16px; font-size: 11px; }
.pilot-page .pilot-jurisdictions summary { color: #53637b; }
.pilot-page .pilot-jurisdictions__row { font-size: 12px; }

/* A single explanatory disclosure with a simple live scale readout. */
.index-box { border: 1px solid #0d1e4020; border-radius: 8px; background: var(--hot-white); overflow: hidden; }
.index-box summary { display: flex; align-items: center; gap: 10px; padding: 15px 16px; cursor: pointer; list-style: none; }
.index-box summary::-webkit-details-marker { display: none; }
.index-box summary strong { font-size: 14px; font-weight: 600; }
.index-box summary small { display: block; margin-top: 3px; color: #53637b; font-size: 11px; line-height: 1.4; }
.index-box__icon { display: none; }
.index-box__chevron { margin-left: auto; width: 13px; height: 13px; color: var(--navy-blue); transition: transform .2s; flex-shrink: 0; }
.index-box[open] .index-box__chevron { transform: rotate(180deg); }
.index-box__body { padding: 0 16px 18px; }
.index-box__body > p { font-size: 12px; line-height: 1.65; color: #53637b; max-width: 720px; }
.pilot-page .pilot-ballot-key { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 12px 20px; margin: 16px 0 10px; }
.pilot-page .pilot-ballot-key__item { font-size: 11px; font-weight: 500; white-space: normal; }
.rank-key { font-size: 19px; font-weight: 600; line-height: 1; }
.rank-key--highest { color: #047857; }
.rank-key--lower { color: var(--crimson); }
.rank-key--none { color: #53637b; }
.index-scale { margin-top: 18px; padding-top: 15px; border-top: 1px solid #0d1e4020; }
.index-scale__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.index-scale__heading label { font-size: 11px; color: #53637b; }
.index-scale__readout { display: flex; align-items: baseline; gap: 8px; color: var(--score-color,#047857); }
.index-scale__value { font: 600 22px/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.index-scale__band { font-size: 11px; }
.index-scale__slider { appearance: none; display: block; width: 100%; height: 36px; margin: 10px 0 0; background: transparent; cursor: pointer; }
/* Original ICAN Brand Hub status scale, also used by the ballot's base gauge. */
.index-scale { --index-gradient: linear-gradient(90deg,#EC1A33 0%,#FB8C00 16.66%,#FDD835 33.33%,#FFFFFF 50%,#B0E8D5 66.66%,#61D1AC 83.33%,#10B981 100%); }
.index-scale__slider::-webkit-slider-runnable-track { height: 6px; border: 1px solid #0d1e4020; border-radius: 3px; background: var(--index-gradient); }
.index-scale__slider::-moz-range-track { height: 6px; border: 1px solid #0d1e4020; border-radius: 3px; background: var(--index-gradient); }
.index-scale__slider::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; margin-top: -6px; border: 2px solid var(--white); border-radius: 50%; background: var(--navy-blue); box-shadow: 0 0 0 1px var(--navy-blue); }
.index-scale__slider::-moz-range-thumb { width: 14px; height: 14px; border: 2px solid var(--white); border-radius: 50%; background: var(--navy-blue); box-shadow: 0 0 0 1px var(--navy-blue); }
.index-scale__ticks { display: flex; justify-content: space-between; font: 500 10px/1.4 var(--font-mono); color: #53637b; }
.index-scale__labels { display: flex; justify-content: space-between; gap: 10px; margin-top: 5px; font-size: 10px; color: #53637b; }
.index-scale__methodology { margin-top: 12px; padding: 5px 0; border: 0; background: transparent; color: var(--navy-blue); font-size: 11px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media(max-width:640px) {
  .pilot-page .page--ballot .contest { padding: 19px 0; }
  .pilot-page .contest__title { font-size: 20px; }
  .pilot-page .contest__head { align-items: baseline; gap: 8px; }
  .pilot-page .contest .contest__head { gap: 8px; }
  .pilot-page .pilot-seat { font-size: 20px; }
  .pilot-page .candidate__cap--action { width: 46px; }
  .pilot-page .candidate__cap-party { font-size: 8px; }
  .pilot-page .candidate__content { padding: 8px 3px 8px 9px; gap: 2px; }
  .pilot-page .candidate__name { font-size: 14px; line-height: 1.3; }
  .pilot-page .candidate__intel-action { width: 44px; height: 44px; }
  .pilot-page .page--ballot .candidate__cap--score { width: 70px; min-width: 70px; padding: 8px 4px; }
  .pilot-page .candidate__cap-score-value { font-size: 17px; }
  .pilot-page .candidate__cap-index-label { font-size: 6px; }
  .pilot-page .geocode-terminal__line { font-size: 10px; }
  .pilot-page .geocode-terminal__body { padding: 10px; }
  .index-scale__band { font-size: 10px; }
  .index-scale__labels { font-size: 9px; }
}
@media(prefers-reduced-motion:reduce) { .index-box__chevron { transition: none; } .geocode-terminal__text.is-typing::after { animation: none; } }
@media print {
  .pilot-page .page--ballot .contest { display: flow-root; border: 0; padding: 12px 0; break-inside: avoid; }
  /* The base print sheet enlarges numeric scores with !important. Status
     labels need their own type size and enough width to keep words intact. */
  .pilot-page .page--ballot .candidate__cap--pending {
    width: 86pt !important;
    min-width: 86pt !important;
    padding: 6pt !important;
  }
  .pilot-page .page--ballot .candidate__cap--pending .candidate__cap-score-value {
    font-size: 9pt !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }
  .pilot-page .candidate__intel-action { display: none; }
  .pilot-page .geocode-terminal { background: var(--white); color: #000; border-color: #ccc; }
  .pilot-page .geocode-terminal__bar,.pilot-page .geocode-terminal__prompt { display: none; }
  .pilot-page .geocode-terminal__line { color: #000; }
  .pilot-page .geocode-terminal__body { max-height: none; overflow: visible; padding: 8px; }
}

/* Pending work belongs to the ballot row, with one collective coverage control. */
.pilot-page .ballot-reveal { opacity: 0; transform: translateY(28px); transition: opacity 660ms cubic-bezier(.2,0,.24,1), transform 660ms cubic-bezier(.2,0,.24,1); transition-delay: var(--reveal-delay, 0ms); }
.pilot-page .ballot-reveal--immediate { transition: none; }
.pilot-page .ballot-reveal--visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pilot-page .ballot-reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
  .pilot-page .ballot-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.pilot-page .priority-selector { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; margin: 0; padding: 10px 14px; border: 1px solid #0d1e4020; border-radius: 6px; background: var(--white); color: var(--navy-blue); font-size: 12px; line-height: 1.3; }
.pilot-page .priority-selector__check { width: 17px; height: 17px; border-radius: 4px; border-color: #53637b; font-size: 11px; }
.pilot-page .priority-selector[aria-pressed="true"] .priority-selector__check { background: var(--navy-blue); border-color: var(--navy-blue); }
.pilot-page .contest--pending > .candidate:nth-last-child(2) { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.pilot-page .contest__request { display: flex; width: 100%; min-height: 44px; padding: 10px 12px; margin: 0; border-top: 0; border-radius: 0 0 6px 6px; background: var(--hot-white); }
.pilot-page .priority-selector__context { flex: 1; text-align: left; color: #53637b; font-weight: 400; }
.pilot-page .contest__request .priority-selector__label { color: var(--navy-blue); }
.pilot-page .coverage-section-head { margin: 32px 0 12px; }
.pilot-page .coverage-bucket { background: var(--white); border: 1px solid #0d1e4020; border-radius: 8px; overflow: hidden; }
.coverage-bucket__list { list-style: none; padding: 0; margin: 0; }
.coverage-bucket__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #0d1e4014; }
.coverage-bucket__name { font-size: 14px; font-weight: 500; }
.coverage-bucket__kind { font-size: 12px; color: #53637b; flex-shrink: 0; }
.coverage-bucket__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; background: var(--hot-white); }
.coverage-bucket__footer strong { font-size: 15px; font-weight: 600; }
.coverage-bucket__footer p { font-size: 13px; line-height: 1.5; color: #53637b; margin: 6px 0 0; max-width: 500px; }
.coverage-bucket__footer .priority-selector { flex-shrink: 0; }
.coverage-status { color: #53637b; font-size: 13px; line-height: 1.5; }
.coverage-status:empty { display: none; }
.pilot-page .priority-dialog { width: min(440px,calc(100vw - 32px)); padding: 24px; border-radius: 16px; }
.pilot-page .priority-dialog h2 { margin: 0 32px 8px 0; font-size: 25px; }
.pilot-page .priority-dialog #priority-description { margin: 0 0 3px; font-size: 13px; }
.pilot-page .priority-dialog .priority-address { margin: 0; padding: 0; border: 0; font-size: 11px; overflow-wrap: anywhere; }
.pilot-page .priority-dialog .ballot-save__form { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px 10px; margin-top: 18px; }
.pilot-page .priority-dialog .ballot-save__form > label:not(.ballot-save__consent) { gap: 5px; }
.pilot-page .priority-dialog .ballot-save__email { grid-column: 1 / -1; }
.pilot-page .priority-dialog .ballot-save__form input:not([type=checkbox]) { font-size: 16px; padding: 11px 10px; }
.pilot-page .priority-dialog .ballot-save__consent { grid-column: 1 / -1; align-items: start; margin: 0; }
.pilot-page .priority-dialog .ballot-save__consent span { font-size: 12px; line-height: 1.5; }
.pilot-page .priority-dialog .ballot-save__form button { grid-column: 1 / -1; width: 100%; min-height: 44px; padding: 11px; font-size: 14px; }
.pilot-page .priority-dialog .ballot-save__status { margin: 12px 0 0; font-size: 13px; }
.pilot-page .priority-dialog .ballot-save__status:empty { display: none; }
.pilot-page .priority-dialog .preview-note { margin-top: 12px; font-size: 10px; }
@media (max-width:640px) {
  .pilot-page .priority-dialog { padding: 22px 20px 18px; }
  .pilot-page .priority-dialog h2 { font-size: 24px; }
  .coverage-bucket__list li { padding: 13px 14px; }
  .coverage-bucket__name { font-size: 13px; }
  .coverage-bucket__kind { font-size: 11px; }
  .coverage-bucket__footer { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 14px; }
  .coverage-bucket__footer .priority-selector { width: 100%; }
}

/* A complete invitation when an address has no published ballot races yet. */
.coming-soon { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1fr) 230px; align-items: center; gap: 32px; padding: 48px; margin: 28px 0 12px; border: 1px solid #0d1e4014; border-radius: 24px; background: var(--hot-white); overflow: hidden; }
.coming-soon::before { content: ""; position: absolute; z-index: -1; width: 400px; height: 400px; right: -140px; top: -140px; background: radial-gradient(circle,#ec1a3312,transparent 68%); pointer-events: none; }
.coming-soon__eyebrow { font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--ican-red); margin-bottom: 18px; }
.coming-soon__title { margin: 0; font-size: clamp(34px,4.5vw,48px); line-height: 1.08; letter-spacing: -.045em; font-weight: 650; text-wrap: balance; }
.coming-soon__title span { display: block; }
.coming-soon__accent { color: var(--ican-red); }
.coming-soon__description { max-width: 440px; font-size: 15px; line-height: 1.65; color: #53637b; margin: 22px 0; }
.pilot-page .coming-soon .priority-selector { min-height: 48px; padding: 14px 20px; background: var(--navy-blue); color: var(--white); border: 0; border-radius: 12px; font-size: 14px; font-weight: 600; transition: background 160ms ease, transform 160ms ease; }
.pilot-page .coming-soon .priority-selector:hover { background: #162c54; transform: translateY(-1px); }
.pilot-page .coming-soon .priority-selector__check { display: none; }
.coming-soon__receipt { display: flex; align-items: center; gap: 7px; margin: 16px 0 0; color: #53637b; font-size: 11px; }
.coming-soon__receipt::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ican-red); }
.coming-soon__art { color: var(--navy-blue); width: 100%; }
.coming-soon__art svg { display: block; width: 100%; height: auto; overflow: visible; }
.ballot-reveal--visible .coming-soon__paper { transform-origin: 130px 150px; animation: coming-soon-paper 900ms cubic-bezier(.22,1,.36,1) both; }
.ballot-reveal--visible .coming-soon__row { animation: coming-soon-row 600ms ease both; }
.ballot-reveal--visible .coming-soon__row--one { animation-delay: 220ms; }
.ballot-reveal--visible .coming-soon__row--two { animation-delay: 340ms; }
.ballot-reveal--visible .coming-soon__row--three { animation-delay: 460ms; }
.ballot-reveal--visible .coming-soon__spark { transform-origin: 130px 150px; animation: coming-soon-spark 2s ease-in-out 3; }
@keyframes coming-soon-paper { from { opacity: 0; transform: translateY(24px) rotate(-5deg); } to { opacity: 1; transform: none; } }
@keyframes coming-soon-row { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes coming-soon-spark { 0%,100% { opacity: .6; } 50% { opacity: 1; } }
@media(max-width:640px) {
  .coming-soon { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 28px 24px; border-radius: 18px; margin-top: 22px; }
  .coming-soon__art { grid-row: 1; width: 125px; justify-self: center; }
  .coming-soon__eyebrow { font-size: 9px; margin-bottom: 14px; }
  .coming-soon__title { font-size: 35px; }
  .coming-soon__description { font-size: 14px; margin: 18px 0; }
  .pilot-page .coming-soon .priority-selector { width: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  .pilot-page .coming-soon * { animation: none; transition: none; }
  .pilot-page .coming-soon .priority-selector:hover { transform: none; }
}
@media print { .coming-soon * { animation: none !important; } }

/* Clear, button-based opt-in; collection is finalized only by form submission. */
.pilot-page .guide-section-title { margin: 28px 0 8px; font: 600 20px/1.3 var(--font-primary); color: var(--navy-blue); }
.pilot-page .guide-applicability-notice, .pilot-page .contest__applicability { margin: 8px 0 14px; font: 400 13px/1.5 var(--font-primary); color: #53637b; overflow-wrap: anywhere; }
@media print {
  .pilot-page .guide-section-title, .pilot-page .guide-applicability-notice, .pilot-page .contest__applicability { display: block !important; color: #000; break-after: avoid; }
}
.pilot-page .priority-consent-copy { grid-column: 1 / -1; margin: 2px 0; color: #53637b; font-size: 12px; line-height: 1.5; }
.pilot-page .index-scale__slider { height: 44px; touch-action: pan-y; cursor: grab; }
.pilot-page .index-scale__slider:active { cursor: grabbing; }
.pilot-page .index-scale__slider::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -9px; }
.pilot-page .index-scale__slider::-moz-range-thumb { width: 20px; height: 20px; }
.pilot-page .index-scale__slider:focus-visible { outline: 2px solid var(--navy-blue); outline-offset: 4px; border-radius: 4px; }
/* Address/score-only soft testing never offers unavailable contact workflows. */
body[data-contact-intake="disabled"]:not([data-evidence-intake="enabled"]) .candidate__intel-action,
body[data-contact-intake="disabled"]:not([data-evidence-intake="enabled"]) .intel-invitation { display: none !important; }

/* Soft-launch feedback: clear paired actions and compact measure decisions. */
.pilot-page .index-box { margin-top: 24px; }
.pilot-page .ballot-header__actions { flex-direction: row; flex-wrap: nowrap; }
.pilot-page .ballot-header__save-btn:disabled { opacity: .55; cursor: not-allowed; }
.pilot-page .page--ballot .measure { padding: 14px 0; }
.pilot-page .measure .contest__head { align-items: center; margin-bottom: 5px; }
.pilot-page .measure .contest__title { font: 600 18px/1.25 var(--font-primary); }
.pilot-page .measure__title { margin: 0; max-width: 760px; font: 400 13px/1.45 var(--font-primary); }
.pilot-page .measure__position { flex-shrink: 0; gap: 6px; padding: 5px 9px; border: 0; border-radius: 5px; background: #edf7f2; }
.pilot-page .measure__position--no { background: #fff0f2; }
.pilot-page .measure__position-label { font: 500 9px/1.2 var(--font-primary); letter-spacing: 0; color: #455773; }
.pilot-page .measure__position-value { font: 700 16px/1.2 var(--font-primary); color: #047857; }
.pilot-page .measure__position--no .measure__position-value { color: #AE0112; }
.pilot-page .candidate--preliminary { --score-accent: #5b6472; }
@media print {
  .pilot-page .measure__position { background: transparent; }
  .pilot-page .candidate--preliminary { --score-accent: #5b6472; }
}
