@font-face{font-family:"Noto Sans Ethiopic";src:url("fonts/NotoSansEthiopic.ttf") format("truetype");font-weight:100 900;font-style:normal;font-display:swap}
:root{--ink:#15373d;--muted:#657578;--paper:#f6f6f0;--line:#dce4df;--teal:#126b5b;--mint:#e8f3ec;--gold:#e9c66f;--shadow:0 12px 40px #15373d08;--radius:22px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:"Noto Sans Ethiopic","Segoe UI",sans-serif;font-size:15px;line-height:1.7}a{color:var(--teal);text-underline-offset:4px}button,input,select,textarea{font:inherit}:focus-visible{outline:3px solid #ca9f35;outline-offset:4px}.container{max-width:1160px;margin:0 auto;padding:0 28px 20px}.narrow{max-width:540px;margin-top:7vh}
.site-nav,.topbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 0}.wordmark{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);font-family:"Segoe UI",sans-serif;font-size:21px;font-weight:800;letter-spacing:2px;line-height:1.2}.wordmark small{display:block;font:500 10px/1.8 "Noto Sans Ethiopic",sans-serif;letter-spacing:0;color:var(--muted);margin-top:4px}.brand-symbol{display:grid;place-items:center;width:42px;height:44px;background:var(--ink);border-radius:14px 14px 14px 3px;color:var(--gold);font-size:27px;font-weight:700}.status-pill{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;background:#eceee9;color:var(--muted);border:1px solid var(--line);border-radius:30px;font-size:11px;font-weight:600;white-space:nowrap}.status-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}.status-pill.is-open{background:var(--mint);color:var(--teal);border-color:#cde1d4}
.hero{background:var(--ink);color:#fff;border-radius:var(--radius);overflow:hidden;margin:0 0 24px;padding:38px}.brand,.eyebrow{font-size:10px;font-weight:700;letter-spacing:1px;display:block;color:var(--muted)}.hero .eyebrow,.hero .brand{color:var(--gold)}.hero h1{font-size:clamp(29px,4vw,44px);font-weight:700;line-height:1.45;letter-spacing:-1px;margin:12px 0 16px}.hero p{font-size:13px;line-height:2.05;color:#e0eae8;margin:0}.election-hero{padding:0}.hero-banner{display:block;width:100%;aspect-ratio:4/1;object-fit:cover;background:#dce4df}.hero-content{padding:35px 40px;display:grid;grid-template-columns:1fr 235px;gap:42px;align-items:center}.hero-copy{max-width:700px}.hero-bottom{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #ffffff1f;padding:14px 40px;font-size:10px;color:#bdd1ca}.seat-summary{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;text-align:center;padding:25px 18px 18px;background:#ffffff08;border:1px solid #ffffff21;border-radius:18px}.seat-summary b{display:block;color:var(--gold);font:500 49px/1.2 "Segoe UI",sans-serif}.seat-summary span{font-size:10px;color:#d0dfd9}.seat-summary .seat-plus{font-size:22px;color:#ffffff55;padding:0 10px}.seat-summary p{grid-column:1/-1;border-top:1px solid #ffffff21;padding-top:13px;margin-top:17px;font-size:10px;color:#e5eee9}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px;margin:20px 0;box-shadow:var(--shadow)}.card h1{font-size:27px;line-height:1.6}.card h2{font-size:22px;line-height:1.5;margin:0;color:var(--ink)}.center{text-align:center}.empty-state{padding:55px 25px}.empty-state>.section-number{margin:0 auto 20px}.empty-state p{color:var(--muted)}.form-steps{display:flex;gap:20px;list-style:none;padding:0 3px;margin:30px 0 28px}.form-steps li{display:flex;align-items:center;gap:10px;flex:1;font-size:11px;color:var(--muted)}.form-steps li:not(:last-child):after{content:"";height:1px;flex:1;background:var(--line);margin-left:10px}.form-steps b{display:grid;place-items:center;background:#e8ece5;border-radius:50%;width:27px;height:27px;font:600 10px "Segoe UI",sans-serif;flex:0 0 auto;color:var(--teal)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.section-title{display:flex;gap:14px;align-items:center}.section-title h2{margin:2px 0 0}.section-number{display:grid;place-items:center;width:43px;height:47px;border-radius:12px;background:#edf1e9;color:var(--teal);font:600 13px "Segoe UI",sans-serif;flex:0 0 auto}.required-note,.optional{font-size:10px;color:var(--muted);font-weight:400}.required{color:#a15a48}.optional{margin-left:7px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}label{display:block;font-weight:600;font-size:12px;margin:8px 0}input,select,textarea{display:block;width:100%;margin-top:8px;border:1px solid #d6dfd8;border-radius:10px;padding:12px 14px;font-size:13px;color:var(--ink);background:#fafbf8;min-width:0}textarea{resize:vertical;min-height:95px;line-height:1.8}input::placeholder,textarea::placeholder{color:#98a39d;font-weight:400;font-size:11px}input:focus,select:focus,textarea:focus{background:white;border-color:var(--teal)}input[type=checkbox]{width:18px;height:18px;display:inline-block;accent-color:var(--teal);margin:0;flex:0 0 auto}input[type=file]{padding:9px;font-size:11px}input[type=file]::file-selector-button{border:0;border-radius:6px;background:#dfeae2;padding:7px 9px;color:var(--ink);margin-right:8px;font:inherit;cursor:pointer}small{display:block;font-size:10px;color:var(--muted);font-weight:400;line-height:1.7;margin-top:6px}.section-description{font-size:12px;color:var(--muted);margin:-8px 0 25px;line-height:1.9}.count{font:600 13px "Segoe UI",sans-serif;padding:8px 12px;border-radius:9px;background:#edf1e9;color:var(--teal);white-space:nowrap;letter-spacing:1px}.count.complete{background:var(--teal);color:white}
.candidates{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.candidate{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;border:1.5px solid #e1e7df;border-radius:15px;padding:7px 7px 13px;margin:0;cursor:pointer;background:#fff;transition:transform .15s,border-color .15s,box-shadow .15s;min-width:0;overflow:hidden}.candidate:hover{border-color:#8eb7a5;transform:translateY(-2px);box-shadow:0 6px 15px #15373d09}.candidate:has(input:checked){border-color:var(--teal);background:#f0f7f0;box-shadow:0 0 0 1px var(--teal)}.candidate input{position:absolute;top:16px;right:16px;z-index:2;width:20px;height:20px;cursor:pointer;box-shadow:0 0 0 4px #ffffffc9}.candidate-number{position:absolute;top:16px;left:16px;z-index:1;background:#ffffffb8;border-radius:6px;padding:1px 5px;font:500 10px/1.7 "Segoe UI",sans-serif;color:#50645b}.photo{display:block;overflow:hidden;background:#e8eee7;border-radius:10px;width:100%;aspect-ratio:4/3}.photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 25%}.candidate-name{font-size:12px;font-weight:600;line-height:1.7;padding:13px 3px 0;text-align:center;min-height:53px;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere}.female-section .section-number{background:#f4eedf;color:#8a6d37}.female-section .photo{background:#f2eee5}
.submit-panel{position:sticky;bottom:14px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fffef8f5;backdrop-filter:blur(12px);border:1px solid #ced9cf;border-radius:17px;padding:17px 22px;margin:25px 0 0;box-shadow:0 8px 35px #15373d15}.selection-summary{display:flex;align-items:center;gap:15px;min-width:0}.summary-total{font:600 17px "Segoe UI",sans-serif;white-space:nowrap;color:var(--teal);background:var(--mint);padding:13px 12px;border-radius:10px}.selection-summary strong{font-size:12px}.selection-summary p{font-size:10px;line-height:1.8;color:var(--muted);margin:2px 0 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;text-decoration:none;white-space:nowrap;border:0;border-radius:10px;padding:13px 21px;background:var(--teal);color:#fff;font-size:12px;font-weight:600;cursor:pointer;margin-top:14px;line-height:1.5}.button:hover{background:#0d584a}.button:disabled{opacity:.45;cursor:not-allowed}.submit-vote{margin:0;padding:17px 25px;min-width:180px}.button.danger{background:#a4483e}.button.secondary{background:#e8efe6;color:var(--ink);font-size:11px;padding:10px 13px;gap:8px}.ballot-footnote{text-align:center;color:var(--muted);font-size:10px;margin:16px 12px 35px}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:10px}.site-footer strong{letter-spacing:2px;font:700 13px "Segoe UI",sans-serif;color:var(--ink)}.site-footer a{margin-left:22px;color:var(--muted)}.alert{border:1px solid transparent;border-radius:13px;padding:15px 20px;margin:18px 0;font-size:13px;line-height:1.9}.alert.success{background:#e4f3e5;color:#1b6542;border-color:#c5e1cc}.alert.error{background:#fbebe5;color:#963f33;border-color:#edcfc3}.notice{background:#edf3e9;border-left:3px solid var(--teal);padding:12px 16px;margin-bottom:20px;font-size:12px;color:var(--muted)}
.topbar>span{display:flex;align-items:center;gap:16px;font-size:11px}.logout-form{display:inline}.link-button{border:0;background:none;color:var(--teal);cursor:pointer;font:inherit;padding:0;text-decoration:underline;text-underline-offset:4px}.admin-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:20px 0 24px}.admin-heading h1{font-size:30px;margin:5px 0}.admin-heading p{color:var(--muted);font-size:12px;margin:0}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 25px;box-shadow:var(--shadow)}.stat b{display:block;color:var(--ink);font-size:30px;font-weight:600;line-height:1.5}.stat span{font-size:11px;color:var(--muted)}.election-control{display:flex;justify-content:space-between;align-items:center;gap:25px}.election-control p{font-size:11px;color:var(--muted);margin:7px 0 0}.election-control .button{margin:0}details>summary{cursor:pointer;font-weight:600;font-size:13px;list-style-position:inside}.appearance-panel>summary{display:flex;justify-content:space-between;gap:20px;align-items:center}.appearance-panel>summary:after{content:"+";font-size:24px;font-family:"Segoe UI",sans-serif;font-weight:400;color:var(--teal)}.appearance-panel[open]>summary:after{content:"−"}.appearance-form{margin-top:20px}.banner-preview{width:100%;aspect-ratio:4/1;object-fit:cover;border-radius:12px;margin-top:15px;background:#e8eee7}.photo-status{font-size:10px;color:var(--teal);margin:7px 0 0;min-height:17px;line-height:1.7}.group-title{display:flex;align-items:center;gap:12px;margin:35px 0 17px;font-size:19px}.group-title span{font:500 11px "Segoe UI",sans-serif;border:1px solid var(--line);border-radius:30px;padding:4px 8px;color:var(--muted)}.admin-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.admin-candidate{background:#fff;border:1px solid var(--line);border-radius:19px;padding:18px;min-width:0;box-shadow:var(--shadow)}.admin-portrait{position:relative}.admin-portrait img{width:100%;height:185px;object-fit:cover;object-position:center 25%;background:#e8eee7;border-radius:12px;display:block}.photo-badge{position:absolute;bottom:10px;left:10px;border-radius:20px;padding:4px 8px;background:#fffef5eb;color:var(--ink);font-size:9px}.admin-candidate h3{font-size:15px;line-height:1.6;margin:16px 0 3px}.candidate-gender{font-size:10px;color:var(--muted);margin:0 0 14px}.photo-form{padding-top:11px;border-top:1px solid #edf0e9}.photo-form label{font-size:11px}.photo-form .button{width:100%;margin-top:9px}.candidate-details{border-top:1px solid #edf0e9;margin-top:15px;padding-top:12px}.candidate-details summary{font-size:10px;color:var(--muted)}.candidate-edit fieldset{border:0;padding:8px 0 0;margin:0;min-width:0}.candidate-edit .fields{gap:12px;grid-template-columns:1fr 1fr}.candidate-edit fieldset:disabled{opacity:.6}.check-label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:400;margin:15px 0}.inline-form{display:flex;align-items:end;flex-wrap:wrap;gap:14px;margin-top:20px}.inline-form label{flex:1 1 180px;margin:0}.inline-form label.check-label{flex:0 0 auto}.inline-form .button{margin:0}.results{display:grid;gap:0}.result{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #e5ebe3;padding:13px 0;font-size:13px}.result strong{font:600 17px "Segoe UI",sans-serif;color:var(--teal)}.total{color:var(--muted)}footer{text-align:center;padding:22px;color:var(--muted);font-size:11px}
@media(max-width:980px){.candidates{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-content{grid-template-columns:1fr 180px;gap:25px;padding:30px}.hero-bottom{padding:14px 30px}.seat-summary{padding:20px 10px}.seat-summary b{font-size:40px}.admin-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 720px){.container{padding:0 18px 15px}.site-nav,.topbar{padding:20px 0}.hero{border-radius:18px}.hero-content{grid-template-columns:1fr;padding:25px;gap:22px}.hero h1{font-size:30px;margin-top:9px}.hero p{font-size:12px}.seat-summary{grid-template-columns:1fr auto 1fr auto;align-items:center;padding:13px 18px;border-radius:13px}.seat-summary>div{display:flex;align-items:center;gap:7px}.seat-summary b{font-size:31px}.seat-summary p{grid-column:auto;border-top:0;border-left:1px solid #ffffff30;margin:0;padding:0 0 0 15px;font-size:9px;max-width:94px}.hero-bottom{padding:13px 25px;font-size:9px;flex-wrap:wrap;gap:5px}.card{padding:23px;border-radius:18px}.section-heading{margin-bottom:18px}.section-title{gap:11px}.section-title h2{font-size:21px}.form-steps{gap:10px}.form-steps li{font-size:9px;gap:7px}.form-steps li:not(:last-child):after{margin-left:2px}.required-note{font-size:8px}.submit-panel{padding:13px 15px;gap:12px;bottom:10px}.submit-vote{min-width:145px;padding:15px 17px;font-size:11px}.summary-total{font-size:14px;padding:10px}.selection-summary{gap:10px}.selection-summary strong{font-size:11px}.selection-summary p{font-size:9px}.site-footer{font-size:9px;gap:10px}.site-footer a{margin-left:13px}.topbar{align-items:flex-start;flex-wrap:wrap}.topbar>span{gap:13px}.stat{padding:17px}.stat b{font-size:25px}.stat span{font-size:9px}.admin-heading h1{font-size:25px}}
@media(max-width:520px){.container{padding:0 12px 12px}.wordmark{font-size:18px;gap:8px}.brand-symbol{width:35px;height:38px;font-size:23px;border-radius:10px 10px 10px 3px}.wordmark small{font-size:8px}.status-pill{font-size:8px;padding:6px 9px;gap:5px}.status-pill i{width:5px;height:5px}.hero-content{padding:23px 20px}.hero h1{font-size:28px}.hero-banner{aspect-ratio:3.4/1}.hero-bottom{padding:12px 20px}.card{padding:20px 16px}.fields{grid-template-columns:1fr;gap:4px}.voter-card .required-note{max-width:75px;text-align:right;line-height:1.6}.section-title h2{font-size:19px}.section-number{width:34px;height:40px;font-size:11px}.section-heading{gap:8px}.eyebrow{font-size:8px;letter-spacing:.2px}.count{font-size:12px;padding:8px 9px}.candidates{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.candidate{padding:6px 6px 10px;border-radius:12px}.candidate-name{font-size:11px;padding:11px 2px 0;min-height:48px}.candidate input{top:14px;right:14px;width:18px;height:18px}.candidate-number{left:13px;top:13px;font-size:9px}.form-steps{margin:24px 0}.form-steps li{font-size:8px;gap:5px}.form-steps li:not(:last-child):after{display:none}.form-steps b{width:23px;height:23px;font-size:9px}.section-description{font-size:10px;margin-bottom:19px}.submit-panel{gap:11px;flex-wrap:wrap;padding:12px}.selection-summary{flex:1 1 100%;gap:11px}.selection-summary>div{flex:1}.selection-summary p{font-size:10px}.submit-vote{width:100%;padding:13px}.summary-total{font-size:17px;padding:10px 13px}.ballot-footnote{font-size:9px}.site-footer{flex-wrap:wrap;justify-content:center;gap:10px}.site-footer>span{width:100%}.stats{gap:8px}.stat{padding:14px 10px}.stat b{font-size:22px}.stat span{font-size:8px}.election-control{align-items:flex-start;flex-direction:column;gap:17px}.election-control form,.election-control .button{width:100%}.election-control h2{font-size:19px}.admin-list{grid-template-columns:1fr}.admin-portrait img{height:220px}.appearance-panel>summary{font-size:12px}.narrow{margin-top:4vh}.narrow .card{padding:25px 20px}.seat-summary span{font-size:9px}.seat-summary .seat-plus{padding:0 7px}.site-footer a:first-child{margin-left:0}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}