:root { color-scheme: light; font: 16px/1.5 system-ui, sans-serif; color: #162b25; background: #f4f8f5; }
* { box-sizing: border-box; }
main { max-width: 46rem; margin: auto; padding: clamp(1rem, 4vw, 2rem); }
h1, h2 { line-height: 1.15; margin: 0 0 .6rem; }
h1 { font-size: clamp(1.65rem, 5vw, 2.35rem); }
h2 { font-size: 1.2rem; }
p { margin: 0 0 .85rem; }
form, #results { background: #fff; border: 1px solid #c8d9cf; border-radius: 12px; padding: 1rem; }
label { display: block; font-weight: 620; }
input[type=file] { display: block; width: 100%; margin: .3rem 0; color: inherit; }
input, select, button { font: inherit; }
.hint { font-size: .875rem; color: #425b51; }
.consent { display: flex; align-items: flex-start; gap: .55rem; margin: .9rem 0 .45rem; font-weight: 500; }
.consent input { flex-shrink: 0; margin-top: .36rem; }
#views label { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin: .65rem 0; }
#views span { overflow-wrap: anywhere; }
select { max-width: 44%; background: #fff; border: 1px solid #799387; border-radius: 5px; color: inherit; padding: .2rem; }
#mode { max-width: 100%; width: 100%; margin: .3rem 0; padding: .4rem; }
button { border: 1px solid #125845; border-radius: 7px; background: #125845; color: white; padding: .48rem .8rem; cursor: pointer; }
button:disabled { background: #526b61; border-color: #526b61; cursor: default; }
a { color: #075946; text-underline-offset: .16em; }
:focus-visible { outline: 3px solid #a54e18; outline-offset: 3px; }
#status { margin: .75rem 0; }
#results header { display: flex; justify-content: space-between; align-items: center; gap: .7rem; flex-wrap: wrap; }
#candidates { margin: 0; padding-inline-start: 1.3rem; }
#candidates li { border-top: 1px solid #dce7df; margin-top: .6rem; padding-top: .65rem; overflow-wrap: anywhere; }
#candidates p { margin-bottom: .2rem; }
#candidates a { font-size: .875rem; }
footer { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1rem; font-size: .875rem; }
