/*
Theme Name: American Election Passport
Theme URI: https://example.invalid/aep
Author: AEP Project
Description: Lightweight accessible presentation theme for the AEP Phase 0C November 3, 2026 Pomona Shadow Pilot.
Version: 0.3.3
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: american-election-passport
*/
:root{--aep-bg:#f7f7f2;--aep-text:#111827;--aep-muted:#4b5563;--aep-panel:#fff;--aep-border:#334155;--aep-focus:#7c3aed;--aep-accent:#17324d;--aep-max:1180px}*{box-sizing:border-box}html{font-size:100%;scroll-behavior:smooth}body{margin:0;background:var(--aep-bg);color:var(--aep-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}a{color:#0b4f80;text-underline-offset:.18em}a:hover{text-decoration-thickness:3px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:4px solid var(--aep-focus);outline-offset:3px}.site-header{background:#0d1b2a;color:#fff}.header-inner,.footer-inner,.site-main{max-width:var(--aep-max);margin:0 auto;padding-left:1rem;padding-right:1rem}.header-inner{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:1rem}.brand{font-weight:900;color:#fff;text-decoration:none;letter-spacing:.01em}.brand small{display:block;font-size:.72rem;font-weight:700;opacity:.78}.menu{display:flex;list-style:none;gap:1rem;margin:0;padding:0}.menu a{color:#fff;font-weight:700}.site-main{min-height:70vh;padding-top:2rem;padding-bottom:4rem}.site-footer{border-top:1px solid #cbd5e1}.footer-inner{padding-top:2rem;padding-bottom:2rem;color:var(--aep-muted)}.hero{padding:4rem 0 2rem}.hero h1{font-size:clamp(2.4rem,7vw,5.7rem);line-height:.98;letter-spacing:-.04em;max-width:13ch;margin:.2rem 0 1rem}.hero p{font-size:1.25rem;max-width:65ch}.principles{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin:2rem 0}.principle{background:var(--aep-panel);border:1px solid #94a3b8;border-radius:16px;padding:1.2rem}.pilot-band{background:#0d1b2a;color:#fff;margin:2rem calc(50% - 50vw);padding:2rem calc(50vw - 50%)}.skip-link{position:absolute;left:-999px;top:0;background:#fff;color:#000;padding:.8rem;z-index:999}.skip-link:focus{left:.5rem;top:.5rem}@media(max-width:760px){.header-inner{align-items:flex-start;flex-direction:column;padding-top:1rem;padding-bottom:1rem}.menu{flex-wrap:wrap}.hero{padding-top:2rem}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.aep-resolution-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin:2rem 0}.aep-resolution-form{display:grid;gap:.75rem}.aep-resolution-form input[type=text],.aep-resolution-form select{width:100%;min-height:48px;padding:.75rem;border:2px solid #64748b;border-radius:8px;background:#fff;color:#111827;font:inherit}.aep-resolution-form button{min-height:48px;justify-self:start}.aep-field-help,.aep-meta{color:var(--aep-muted);font-size:.95rem}.aep-disclosure{padding:1rem;border-left:4px solid var(--aep-accent);background:#eef2f6}.aep-disclosure label{display:flex;gap:.65rem;align-items:flex-start}.aep-disclosure input[type=checkbox]{width:22px;height:22px;margin-top:.1rem}.aep-resolution-results{margin:2.5rem 0;padding:1.5rem;border:3px solid var(--aep-accent);border-radius:16px;background:#fff}.aep-status{border:2px solid #64748b;padding:.85rem 1rem;margin:1rem 0;background:#fff}.aep-status-neutral{background:#f1f5f9}.aep-division-list{display:grid;gap:.75rem;padding-left:1.25rem}.aep-division-list code{overflow-wrap:anywhere}.aep-resolution-results:focus{outline:4px solid var(--aep-focus);outline-offset:4px}@media(max-width:600px){.aep-resolution-grid{grid-template-columns:1fr}.aep-resolution-form button{width:100%}}
