/* Shared MTTV identity, based on the approved Ballot layout. */
.mttv-theme{--bg:#f8f9f5;--panel:#fff;--panel-soft:#e8f1ed;--ink:#273444;--muted:#586575;--line:#d8e1de;--nav:#101747;--blue:#101747;--green:#28675f;--shadow:none;background:var(--bg);font-family:'DM Sans',Arial,sans-serif;font-size:16px;margin-left:236px}
.mttv-sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#fff;border-right:1px solid var(--line);padding:34px 22px;display:flex;flex-direction:column;z-index:30;overflow:auto}
.mttv-wordmark{font-size:36px;letter-spacing:-1.8px;font-weight:700;text-decoration:none;color:var(--nav);line-height:1.2}.mttv-wordmark span{color:#b52635}
.mttv-caption{font-size:11px;letter-spacing:2px;margin:12px 0 42px}.mttv-nav-label{font-size:10px;letter-spacing:1.4px;color:var(--muted);font-weight:700}
.mttv-sidebar nav{display:flex;flex-direction:column;gap:6px}.mttv-sidebar nav a{padding:12px 10px;border-radius:6px;color:var(--muted);text-decoration:none;font-size:14px;font-weight:500}.mttv-sidebar nav a:hover,.mttv-sidebar nav a[aria-current]{background:var(--panel-soft);color:var(--green)}
.mttv-sidebar-note{margin-top:auto;padding:40px 10px 0}.mttv-sidebar-note strong{font:30px/1.15 'Libre Caslon Display',Georgia,serif;color:var(--nav)}.mttv-sidebar-note p,.mttv-sidebar-note a{font-size:13px;color:var(--muted)}
.mttv-topbar{min-height:78px;padding:18px 40px;background:white;border-bottom:2px solid #b52635;display:flex;align-items:center;gap:18px}.mttv-topbar img{display:block;object-fit:contain}.mttv-topbar>span{color:#a2aaa7}.mttv-topbar strong{font-size:14px;font-weight:500}.mttv-preview-label{margin-left:auto;font-size:13px;color:var(--green)}
.mttv-theme main{max-width:1440px;margin:auto;padding:32px 40px 52px}.mttv-theme .hero{background:none;border:0;padding:0;box-shadow:none;margin-bottom:32px}.mttv-theme .hero-grid{gap:30px;align-items:stretch}.mttv-theme .hero-copy{padding:28px 0}.mttv-theme h1{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:clamp(38px,4.2vw,62px);line-height:1.06;letter-spacing:-1px;color:var(--nav)}
.mttv-theme h2,.mttv-theme h3{color:var(--nav)}.mttv-theme .eyebrow{color:var(--green);font-size:11px;letter-spacing:1.6px}.mttv-theme .hero-copy>p:not(.eyebrow){color:var(--muted);font-size:16px;max-width:600px;line-height:1.75}.mttv-theme .hero-panel{background:white;border:1px solid var(--line);border-radius:10px;padding:26px;box-shadow:none}.mttv-theme .hero-panel h2{font-size:22px}
.mttv-theme .state-finder-row{display:flex;flex-direction:column;gap:12px}.mttv-theme select{background:white;min-height:48px;border:1px solid var(--line);border-radius:6px;color:var(--ink)}.mttv-theme button,.mttv-theme .plan-action{border-radius:6px;background:var(--nav);border-color:var(--nav)}.mttv-theme button:disabled{background:#e8eceb;color:#596675;border-color:var(--line)}
.mttv-theme .national-election{background:var(--green);border-radius:10px;padding:30px;gap:32px}.mttv-theme .national-election h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:42px;font-weight:400;color:white}.mttv-theme .national-election h3{color:white}.mttv-theme .national-election .eyebrow,.mttv-theme .national-election p,.mttv-theme .national-election a{color:#e8f1ed}
.mttv-theme .question-card,.mttv-theme .state-card,.mttv-theme .voting-plan-card{background:white;border:1px solid var(--line);border-radius:8px;box-shadow:none;padding:24px}.mttv-theme .question-card h3{font-size:20px}.mttv-theme .question-card a,.mttv-theme .plan-deadlines a{color:var(--green)}.mttv-theme .section-heading{margin-top:36px}.mttv-theme .voting-plan-nav a{border-radius:5px;color:var(--green);font-size:14px}.mttv-theme .site-footer{background:#fff;color:var(--muted);border-top:1px solid var(--line);padding:30px 40px}.mttv-theme .site-footer a{color:var(--nav)}
.mttv-theme :focus-visible{outline:3px solid #b52635;outline-offset:4px}.mttv-theme .related-links{font-size:13px;margin-bottom:24px}.mttv-theme .state-grid{gap:16px}.mttv-theme .ad-slot{border-color:var(--line)}
@media(max-width:1100px){.mttv-theme main{padding:28px}.mttv-theme .hero-grid{grid-template-columns:1fr}.mttv-theme .hero-copy{padding:0}.mttv-theme .national-election{grid-template-columns:1fr}.mttv-theme .voting-plan-grid{grid-template-columns:1fr}}
@media(max-width:760px){.mttv-theme{margin-left:0}.mttv-sidebar{position:static;width:auto;padding:16px 20px;overflow:visible}.mttv-wordmark{font-size:28px}.mttv-caption,.mttv-nav-label,.mttv-sidebar-note{display:none}.mttv-sidebar nav{flex-direction:row;overflow-x:auto;gap:5px;margin-top:12px;max-width:100%;padding-bottom:5px}.mttv-sidebar nav a{white-space:nowrap;font-size:13px;padding:10px}.mttv-topbar{padding:15px 20px;gap:10px;flex-wrap:wrap}.mttv-topbar img{width:110px;height:auto}.mttv-preview-label{font-size:12px}.mttv-theme main{padding:24px 20px}.mttv-theme h1{font-size:40px}.mttv-theme .hero-panel{padding:22px}.mttv-theme .question-grid{grid-template-columns:1fr}.mttv-theme .national-election{padding:24px}.mttv-theme .national-election h2{font-size:36px}.mttv-theme .site-footer{padding:24px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media print{.mttv-sidebar,.mttv-topbar{display:none}.mttv-theme{margin-left:0}}

.mttv-theme .state-jump button{color:#fff;min-height:48px;padding:10px 18px;border:1px solid var(--nav);font:inherit;cursor:pointer}
.mttv-theme .skip-link{position:fixed;top:12px;left:12px;z-index:100;background:#fff;color:var(--nav);padding:12px 18px;transform:translateY(-200%)}
.mttv-theme .skip-link:focus{transform:translateY(0)}

/* Keep the primary state finder within reach on small screens. */
@media(max-width:760px){
  .mttv-theme .hero-grid:has(.index-finder){gap:18px}
  .mttv-theme .hero-grid:has(.index-finder) h1{font-size:34px;line-height:1.12}
  .mttv-theme .hero-grid:has(.index-finder) .hero-copy>p:not(.eyebrow){line-height:1.5;margin-bottom:0}
  .mttv-theme .index-finder{padding:18px}
  .mttv-theme .index-finder h2{font-size:20px;line-height:1.3;margin-bottom:8px}
  .mttv-theme .index-finder>p{margin:8px 0;line-height:1.5}
  .mttv-theme .mttv-sidebar nav a{min-height:44px;display:inline-flex;align-items:center}
  .mttv-theme .browse-states{display:inline-flex;align-items:center;min-height:44px}
}
