@font-face{font-family:Poppins;src:url(poppins-regular.ttf) format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Poppins;src:url(poppins-semibold.ttf) format('truetype');font-weight:600;font-style:normal;font-display:swap}
:root{color-scheme:light;font-family:Poppins,Arial,sans-serif;font-size:14px;color:#fff;background:#004165;--maroon:#3b0104}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #fff;border-radius:10px;padding:11px 16px;min-height:44px;background:#fff;color:var(--maroon);line-height:1.4}button:disabled{opacity:.64;cursor:default}button:hover:not(:disabled){background:#edf6fc}a{color:#fff;text-underline-offset:3px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ffe889;outline-offset:3px}p{line-height:1.55;margin:6px 0 16px}h1,h2,h3{font-weight:600}h2{font-size:28px;line-height:1.2;letter-spacing:-.5px;margin:12px 0}h3{font-size:18px;margin:0 0 10px}[hidden]{display:none!important}
#saim-app{min-height:100svh;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);background:radial-gradient(ellipse at 85% 12%,#1784b547 0%,transparent 52%),radial-gradient(ellipse at 8% 94%,#002d4966 0%,transparent 60%),linear-gradient(135deg,#004165 0%,#004d77 42%,#006094 100%);display:flex;flex-direction:column}
.masthead{width:100%;display:flex;align-items:center;flex-direction:column;gap:14px;padding:45px clamp(18px,4vw,52px) 18px;border-bottom:1px solid #ffffff25}.brand{text-align:center;display:flex;align-items:center;flex-direction:column;gap:11px}.brand h1{font-size:28px;line-height:1.25;letter-spacing:-.5px;margin:0;text-wrap:balance}.brand p{font-size:13px;letter-spacing:.5px;margin:7px 0 0}.brand #theme-label{font-size:14px;font-weight:600;letter-spacing:0;margin-top:4px}.logo{width:98px;height:98px;flex-shrink:0;border-radius:50%;overflow:hidden;box-shadow:0 0 0 5px #ffffff0d,0 8px 22px #00283d40;background:transparent}.logo img{display:block;width:100%;height:100%;object-fit:contain}.top-nav{width:min(100%,540px);display:flex;justify-content:space-between;align-items:center;gap:14px}.top-button{background:#004b74;color:white;border-color:#ffffff65;box-shadow:0 4px 12px #002b4426}.top-button:last-child{margin-left:auto}.top-button:hover:not(:disabled){background:#005782;border-color:#ffffffb0}
.ballot{width:min(100%,540px);margin:auto;padding:25px 22px 22px}.status{display:inline-block;color:white;background:#ffffff14;border:1px solid #ffffff45;border-radius:20px;padding:5px 11px;font-size:12px;letter-spacing:.2px}.intro{margin-bottom:18px}.vote-note{text-align:center;font-size:12px;margin:16px 0 0}.primary{font-weight:600}.submit{width:100%;padding:13px 18px;border-radius:12px;box-shadow:0 5px 16px #002c4533}fieldset{border:0;padding:0;margin:0 0 18px;min-width:0;display:grid;gap:10px}.choice{display:flex;align-items:center;gap:13px;background:#fff;color:var(--maroon);border:2px solid white;padding:14px 17px;border-radius:12px;box-shadow:0 5px 14px #00293e26;cursor:pointer;min-height:52px;overflow-wrap:anywhere;transition:background .15s,border-color .15s}.choice:hover{background:#f2f8fc;border-color:#d6eaf5}.choice:has(input:checked){background:#eaf4fa;border-color:var(--maroon);box-shadow:0 0 0 2px #ffffffb3,0 6px 18px #00293e33}.choice input{accent-color:var(--maroon);height:19px;width:19px;flex-shrink:0;margin:0}.confirmation{text-align:center;padding:26px 12px}.confirmation>span{display:inline-grid;place-items:center;font-size:28px;background:#ffffff20;border-radius:50%;width:56px;height:56px;margin-bottom:16px}.confirmation p{margin-bottom:0}#connection:empty{display:none}#connection{font-size:13px;background:#004165;padding:10px;border:1px solid #ffffff65;border-radius:8px;margin:14px 0 0}
dialog{color:#fff;background:#004165;border:1px solid #ffffff65;border-radius:16px;padding:22px;width:calc(100% - 28px);max-width:540px;max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 20px 80px #001c3c88}dialog::backdrop{background:#001b2acc;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.dialog-heading h2{font-size:23px;margin:0}.small{font-size:13px;padding:8px 12px}.admin-meta,.actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:16px 0}.actions{justify-content:flex-start}label:not(.choice){display:grid;gap:6px;margin-bottom:13px}input:not([type=radio]),select,textarea{width:100%;min-width:0;padding:10px;border:1px solid #ffffff80;border-radius:7px;background:#003754;color:white;font-size:16px}textarea{resize:vertical}input[type=file]{padding:8px;font-size:13px}input::file-selector-button{background:#fff;color:var(--maroon);border:0;border-radius:5px;padding:8px;font:inherit;margin-right:8px}input::placeholder,textarea::placeholder{color:#c7dce8;opacity:1}.muted{font-size:12px;color:#e3edf4;margin-top:10px;overflow-wrap:anywhere}.admin-section{border-top:1px solid #ffffff40;padding-top:18px;margin-top:20px}summary{cursor:pointer;padding:8px 0;min-height:44px}.admin-section button{margin:4px 4px 4px 0}#admin-message:empty{display:none}#admin-message{margin:18px 0 0;padding:10px;border-radius:7px;background:#ffffff15;border:1px solid #ffffff60}#admin-message.error{border-color:#ffd6b8}.result-row{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #ffffff25;padding:8px 0}.result-row span:first-child{overflow-wrap:anywhere}.result-row span:last-child{white-space:nowrap}.winner{margin:12px 0;font-weight:600}.result-section{margin-top:20px}.result-section h3{font-size:16px}.result-total{font-size:12px}
.public-winner{text-align:center;padding:19px 12px;margin:12px 0;border:1px solid #78dca2;border-radius:14px;background:#0b694552}.award-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#19a765;color:#fff;font-size:27px;font-weight:600;margin-bottom:8px}.congratulations{font-size:19px;font-weight:600;color:#8dffb8;margin:0 0 6px}.winner-name{font-size:23px;font-weight:600;color:#fff;margin:0;overflow-wrap:anywhere}.tie-note{font-size:13px;margin:7px 0 0}.download-button{display:block;text-align:center;text-decoration:none;border-radius:10px;padding:13px 18px;min-height:44px;background:#fff;color:var(--maroon);font-weight:600;margin-top:18px}.agenda-dialog{max-width:520px}#agenda-message:empty{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1000px){.masthead{padding-top:52px}.ballot{padding-top:28px;padding-bottom:28px}}
@media(max-width:560px){.masthead{padding:34px 18px 14px;gap:10px}.top-nav{gap:12px}.top-button{padding:9px 12px}.brand{gap:7px}.brand h1{font-size:26px;max-width:330px}.brand p{margin-top:4px}.logo{width:78px;height:78px}.ballot{padding:18px}.choice{padding:12px 15px;min-height:49px}fieldset{gap:9px;margin-bottom:15px}h2{font-size:25px}.intro{margin-bottom:14px}.vote-note{margin-top:14px}}
@media(max-height:760px){.masthead{padding-top:30px;padding-bottom:10px;gap:8px}.logo{width:64px;height:64px}.brand{gap:5px}.brand h1{font-size:24px}.brand p{margin-top:3px}.ballot{padding-top:13px;padding-bottom:14px}.choice{padding-top:10px;padding-bottom:10px;min-height:46px}fieldset{gap:8px;margin-bottom:12px}.intro{margin-bottom:12px}h2{font-size:24px;margin:9px 0}.submit{padding:11px 16px}.vote-note{margin-top:12px}}
@media(max-width:560px) and (max-height:700px){.masthead{padding:28px 16px 8px;gap:6px}.top-button{padding:8px 11px}.brand{gap:3px}.brand h1{font-size:22px;max-width:100%}.brand p{font-size:12px;margin-top:2px}.brand #theme-label{font-size:12px}.logo{width:52px;height:52px}.ballot{padding:10px 16px}.status{padding:3px 9px}.choice{min-height:44px;padding:9px 13px}.intro{font-size:13px}.vote-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){.choice{transition:none}}
