.voting-page [hidden], .voting-home [hidden] { display: none !important; }
.voting-page { --paper: #f5f4ec; }
.voting-page a:focus-visible, .voting-page button:focus-visible, .voting-page select:focus-visible { outline: 3px solid #8b6800; outline-offset: 5px; }
.voting-page .nav a:focus-visible, .voting-page .nav button:focus-visible { outline-color: #ffd200; }
.vote-hero { padding: 58px 0 46px; background: #0b0b0b; }
.vote-hero .eyebrow { color: var(--yellow); margin-bottom: 22px; }
.vote-hero h1 { font-size: clamp(3.2rem, 7vw, 6.3rem); max-width: 900px; line-height: 1.01; }
.vote-hero h1 span { color: var(--yellow); }
.vote-lead { max-width: 660px; color: #deded6; font-size: 1.18rem; margin-top: 22px; }
.vote-facts { display: flex; gap: 40px; margin-top: 34px; padding-top: 24px; border-top: 1px solid #41413c; flex-wrap: wrap; }
.vote-facts span { color: #c4c4bd; font-size: .9rem; }
.vote-facts strong { color: #fff; display: block; font-size: 1.04rem; margin-bottom: 4px; }
.election-status { margin-top: 22px; border: 1px solid var(--yellow); padding: 15px 20px; color: var(--yellow); }
.vote-find { padding: 54px 0; background: var(--paper); color: #161616; }
.find-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 38px; align-items: start; }
.find-main { min-width: 0; }
.step-title { display: flex; gap: 16px; align-items: center; }
.step-number { display: grid; place-items: center; width: 48px; height: 48px; background: var(--yellow); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; border-radius: 50%; color: #0b0b0b; }
.step-title .eyebrow { font-size: .68rem; letter-spacing: .12em; color: #57574c; margin-bottom: 4px; }
.step-title h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; letter-spacing: -.03em; }
.section-intro { font-size: 1rem; line-height: 1.65; margin: 20px 0; max-width: 800px; }
.city-tool { border: 1px solid #cdcec0; background: #fff; border-radius: 6px; overflow: hidden; }
.city-tool-label { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid #ddd; background: #eeeede; font-size: .8rem; font-weight: 700; }
.source-dot { width: 7px; height: 7px; background: #456340; border-radius: 50%; flex-shrink: 0; }
.city-tool iframe { display: block; width: 100%; height: 380px; border: 0; background: white; }
.lookup-note { font-size: .82rem; color: #55564e; margin-top: 14px; }
.lookup-backups { display: flex; gap: 10px 24px; flex-wrap: wrap; margin-top: 18px; }
.lookup-backups a, .lookup-help a, .voting-notes a { text-decoration: underline !important; text-underline-offset: 3px; font-weight: 600; }
.lookup-backups a { font-size: .88rem; padding: 4px 0; }
.lookup-help { font-size: .84rem; margin-top: 12px; color: #55564e; }
.vote-checklist { border-top: 6px solid var(--yellow); padding: 28px; background: #fff; box-shadow: 0 3px 20px #00000006; }
.vote-checklist>.eyebrow { color: #616255; font-size: .7rem; }
.vote-checklist h2 { font-size: 1.9rem; margin: 8px 0 22px; letter-spacing: -.04em; }
.vote-checklist ol { padding-left: 22px; }
.vote-checklist li { padding-left: 6px; margin-bottom: 23px; }
.vote-checklist li::marker { font-weight: 800; }
.vote-checklist li strong, .vote-checklist li span { display: block; }
.vote-checklist li span { margin-top: 4px; font-size: .92rem; color: #55564e; }
.checklist-link { display: block; font-weight: 700; font-size: .88rem; border-top: 1px solid #deded6; padding: 14px 0 0; margin-top: 14px; }
.vote-locations { background: #fff; color: #161616; padding: 54px 0 60px; }
.ward-controls { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; margin: 28px 0 12px; }
.ward-controls>div { flex: 1; max-width: 390px; min-width: 220px; }
.ward-controls label { display: block; font-size: .84rem; font-weight: 800; margin-bottom: 8px; }
.ward-controls select { width: 100%; padding: 14px; border: 2px solid #292a24; border-radius: 4px; font: inherit; background: #fff; color: #161616; min-height: 52px; }
.ward-controls button { border: 0; padding: 14px 20px; min-height: 52px; border-radius: 4px; background: #eeeee5; color: #161616; font: inherit; font-weight: 700; cursor: pointer; }
.ward-controls button:hover { background: var(--yellow); }
.ward-result-count { font-size: .87rem; color: #55564e; margin: 16px 0 22px; }
.ward-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; align-items: start; }
.ward-results.single-ward { grid-template-columns: minmax(0,1fr); max-width: 800px; }
.ward-card { border: 1px solid #d3d4c9; border-radius: 6px; overflow: hidden; scroll-margin-top: 132px; }
.ward-card-head { background: #f5f4ec; border-bottom: 1px solid #d3d4c9; display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 18px 22px; }
.ward-card-head h2 { font-size: 1.5rem; letter-spacing: -.04em; }
.ward-card-head span { font-size: .8rem; color: #57574c; }
.ward-card ul { list-style: none; }
.poll-place { padding: 20px 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; border-bottom: 1px solid #e4e5dc; }
.poll-place:last-child { border-bottom: 0; }
.poll-place h3 { font-size: 1rem; line-height: 1.4; }
.poll-place p { margin-top: 4px; font-size: .9rem; color: #55564e; }
.poll-directions { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 13px; border: 1px solid #c3c4b5; border-radius: 4px; font-size: .82rem; font-weight: 700; }
.poll-directions:hover { background: var(--yellow); border-color: #161616; }
.voting-notes { margin-top: 34px; border-top: 1px solid #d3d4c9; padding-top: 24px; max-width: 900px; font-size: .86rem; color: #55564e; }
.voting-notes p+p { margin-top: 15px; }
.voting-home-banner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px max(20px,calc((100vw - 1140px)/2)); color: #0b0b0b; background: #ffd200; border-top: 3px solid #0b0b0b; }
.voting-home-banner>span>strong { display: block; font-size: 1.35rem; font-weight: 800; }
.voting-home-banner>span>span { display: block; margin-top: 2px; font-size: .95rem; }
.voting-home-banner>b { background: #0b0b0b; color: #ffd200; padding: 13px 18px; border-radius: 4px; font-size: .9rem; text-align: center; white-space: nowrap; }
.voting-home-banner:hover { background: #ffe257; }
@media(min-width:1181px) { .voting-home .nav-links { gap: 15px; font-size: .8rem; } .voting-home .nav-links .btn { padding: 10px 13px; font-size: .75rem; } }
@media(max-width:1180px) and (min-width:961px) { .voting-home .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #0b0b0b; border-bottom: 3px solid #ffd200; padding: 10px 20px 24px; transform: translateY(-130%); visibility: hidden; z-index: -1; } .voting-home .nav-links.open { transform: none; visibility: visible; } .voting-home .nav-links a:not(.btn) { padding: 14px 0; width: 100%; border-bottom: 1px solid #2a2a2a; } .voting-home .nav-links .btn { margin-top: 16px; width: 100%; justify-content: center; } .voting-home .menu-toggle { display: block; } }
@media(max-width:850px) { .find-grid { grid-template-columns: minmax(0,1fr); gap: 30px; } .vote-checklist { max-width: none; } .ward-results { grid-template-columns: minmax(0,1fr); } .vote-facts { gap: 18px 30px; } }
@media(max-width:560px) { .vote-hero { padding: 36px 0; } .vote-find, .vote-locations { padding: 36px 0; } .vote-facts { flex-direction: column; gap: 17px; } .vote-lead { font-size: 1.05rem; } .city-tool iframe { height: 430px; } .vote-checklist { padding: 23px; } .voting-home-banner { flex-direction: column; align-items: stretch; gap: 14px; } .voting-home-banner>b { width: 100%; } .ward-card-head, .poll-place { padding-left: 18px; padding-right: 18px; } }
@media print { .voting-page { background: #fff; color: #000; } .voting-page header, .voting-page footer, .vote-find, .ward-controls, .poll-directions { display:none !important; } .vote-hero, .vote-locations { background:#fff; color:#000; padding: 16px 0; } .vote-hero h1, .vote-hero h1 span, .vote-facts strong, .vote-facts span, .vote-lead { color:#000; } .vote-hero h1 { font: bold 26pt sans-serif; } .ward-results { display:block; } .ward-card { break-inside:avoid; margin-bottom:20px; } }
