:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #171717; background: #fafaf8; --green: #006b40; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.6; }
a { color: var(--green); text-underline-offset: .2em; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #008751; outline-offset: 4px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; background: white; padding: .75rem; z-index: 1; }
.skip-link:focus { top: 1rem; }
.site-header, main, footer { max-width: 1200px; margin: auto; padding: 1.5rem clamp(1rem, 4vw, 3rem); }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid #ddd; }
.brand { font-weight: 800; color: #171717; text-decoration: none; letter-spacing: -.035em; }
.brand span { color: var(--green); }
nav { display: flex; flex-wrap: wrap; gap: 0 1rem; font-size: .85rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.intro { padding: 2rem 0; max-width: 850px; }
.eyebrow { text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; font-weight: 700; color: #555; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: -.055em; margin: 1rem 0 1.5rem; }
h2 { font-size: 1.25rem; line-height: 1.4; margin: 0 0 .75rem; }
h3 { font-size: 1rem; margin: 0 0 1rem; }
h4 { font-size: .9rem; margin: 1.25rem 0 .5rem; }
.lead { font-size: 1.15rem; max-width: 65ch; }
.notice { border-left: 4px solid #008751; padding: .8rem 1rem; background: #eef3ed; font-size: .9rem; }
.controls { background: #efefec; padding: 1.5rem; border-radius: 4px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend, .filters > label { font-weight: 650; font-size: .85rem; }
.view-picker { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-bottom: 1.5rem; }
.view-picker legend { margin-bottom: .7rem; }
.view-picker label { padding: .5rem .75rem; background: white; border: 1px solid #bbb; border-radius: 3px; }
.view-picker label:has(input:checked) { border-color: var(--green); background: #e0f0e5; }
input[type="radio"] { accent-color: var(--green); margin-right: .5rem; width: 1.2rem; height: 1.2rem; vertical-align: middle; }
.view-picker label { display: inline-flex; align-items: center; min-height: 44px; }
.filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
select, input[type="search"] { display: block; width: 100%; padding: .65rem; margin-top: .35rem; border: 1px solid #aaa; border-radius: 3px; background: white; color: #171717; min-width: 0; }
#party-control, #statement-control, #compare-control { grid-column: 1 / -1; }
.compare-selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; font-size: .85rem; }
.muted, .source-meta { color: #595959; font-size: .85rem; }
.text-button { border: 0; background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: .2em; padding: .25rem 0; }
.overview { margin-top: 2rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.overview > section { border-top: 3px solid #008751; padding: 1rem 0; }
.overview p { margin: .3rem 0; }
.coverage { font-size: .85rem; }
.result-count { font-size: .85rem; color: #555; border-bottom: 1px solid #ccc; padding-bottom: 1rem; }
.statement-section { margin: 2rem 0; }
.statement-heading { margin-bottom: 1rem; }
.statement-heading h2 { max-width: 80ch; }
.context { font-size: .85rem; color: #555; }
.context p { max-width: 85ch; }
.comparison { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); gap: 1rem; }
.position-card { background: white; border: 1px solid #d6d6d0; border-radius: 4px; padding: 1.25rem; min-width: 0; scroll-margin-top: 1rem; }
.position-card:target { border: 2px solid var(--green); }
.candidate-identity { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.candidate-overview .candidate-identity { margin-bottom: .5rem; }
.candidate-identity--compact { gap: .6rem; padding-bottom: .7rem; margin-bottom: .8rem; border-bottom: 1px solid #e2e2dd; }
.candidate-identity--compact h3 { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.candidate-acronym { flex: 0 0 auto; padding: .12rem .45rem; border: 1px solid #bbb; border-radius: 3px; color: #505050; font-size: .72rem; font-weight: 700; }
.candidate-identity h3, .candidate-identity h4 { margin: 0; }
.candidate-media { position: relative; flex: 0 0 auto; min-width: 72px; min-height: 72px; }
.candidate-photo { display: block; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 22%; background: #eee; border: 1px solid #ccc; }
.party-logo { position: absolute; right: -8px; bottom: -4px; width: 36px; height: 36px; object-fit: contain; padding: 3px; border-radius: 50%; border: 2px solid white; background: white; box-shadow: 0 0 0 1px #bbb; }
.candidate-media:not(:has(.candidate-photo)) .party-logo { position: static; width: 56px; height: 56px; }
.candidate-party { margin: .15rem 0; color: #505050; font-size: .85rem; }
.photo-credit { display: inline-block; font-size: .7rem; color: #666; }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.answer { font-size: .9rem; padding: .25rem .65rem; border-radius: 3px; background: #e5f0e7; }
.answer--minus1 { background: #eee7df; }
.answer--0, .answer--missing { background: #eee; }
.status { font-size: .8rem; color: #505050; }
summary { color: var(--green); font-weight: 650; }
.reading { font-size: .9rem; overflow-wrap: anywhere; }
.reading p { max-width: 85ch; }
.source-list { padding-left: 1.25rem; }
.source-list li { margin: 1rem 0; }
.source-meta { margin: .25rem 0; }
blockquote { border-left: 3px solid #ddd; padding-left: 1rem; margin: 1rem 0; }
.notice-small { border-left: 3px solid #aaa; padding-left: .75rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 1rem; align-items: center; font-size: .8rem; }
.card-actions input { width: 100%; }
.statement-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr)); gap: 1rem; }
.empty { padding: 2rem; background: #f0f0ed; }
.site-footer { color: #d9d9d9; font-size: .85rem; background: #202020; border-top: 0; border-left: 8px solid #008751; margin-top: 2rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .75rem 2rem; font-size: 1rem; font-weight: 650; }
.site-footer__links a, .site-footer a { color: #fff; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer > p { margin: 1.25rem 0 0; }
@media (max-width: 650px) { .filters, .compare-selects { grid-template-columns: 1fr; } .controls { padding: 1rem; } .site-header { align-items: flex-start; } }
/* Record in office that differs from the answer: a caveat to weigh, not a verdict. */
.record-note { border-left: 3px solid #b26b00; padding-left: .75rem; margin: .75rem 0; }
.record-note h4 { margin: 0 0 .25rem; }
.status--record { margin-left: .5rem; padding-left: .5rem; border-left: 3px solid #b26b00; color: #6b4000; }
/* Which election this evidence page covers, under the main heading. */
.heading-subject { display: block; font-size: .45em; letter-spacing: 0; margin-top: .35rem; }

summary { cursor: pointer; padding: .6rem 0; }
.checks { font-size: .85rem; color: #2f6b45; margin: .25rem 0 .75rem; }
.checks-line { font-size: .8rem; color: #2f6b45; margin: .35rem 0 0; }
.archive-link { font-size: .85rem; }
.show-more { display: block; width: 100%; min-height: 48px; margin: 1.5rem 0; padding: .75rem 1rem; font: inherit; font-weight: 650;
  background: white; border: 1px solid #bbb; border-radius: 3px; cursor: pointer; }
.show-more:hover { border-color: var(--green); }
