:root{--green:#0d6b43;--green2:#0a5234;--gold:#f0b429;--red:#b42318;--ink:#17211c;--muted:#66756d;--bg:#f4f8f6;--card:#fff;--line:#dfe8e3}*{box-sizing:border-box}body{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink)}a{text-decoration:none;color:inherit}.container{width:min(1180px,calc(100% - 28px));margin:auto}.topbar{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.navwrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:72px}.brand{display:flex;align-items:center;gap:10px}.brand img{width:46px;height:46px;object-fit:contain}.brand span{display:flex;flex-direction:column}.brand b{color:var(--green);font-size:20px}.brand small{font-size:11px;color:var(--muted)}nav{display:flex;gap:6px;flex-wrap:wrap}nav a{padding:9px 11px;border-radius:9px;font-size:14px}nav a:hover{background:#eef7f2;color:var(--green)}.main{padding:30px 0 50px;min-height:calc(100vh - 130px)}footer{padding:24px 0;background:#0f2d22;color:#cfe1d8;font-size:13px}.hero{display:grid;grid-template-columns:1.4fr .7fr;gap:36px;align-items:center;padding:54px 0}.hero h1{font-size:clamp(38px,6vw,72px);line-height:.98;margin:12px 0 18px;max-width:760px}.hero p{font-size:19px;color:var(--muted);max-width:650px}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:800;color:var(--green)}.hero-actions,.button-row,.auto-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.hero-card,.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 10px 30px rgba(26,70,49,.06)}.hero-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}.hero-card img{width:110px;height:110px;object-fit:contain}.btn{border:1px solid var(--line);background:#fff;padding:11px 16px;border-radius:10px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.ghost{background:#edf7f2;color:var(--green);border-color:#cfe6db}.btn.danger{background:#fff0ef;color:var(--red);border-color:#f3c9c5}.btn.big{padding:14px 20px;font-size:16px}.btn.huge{padding:17px 24px;font-size:18px}.smallbtn{padding:7px 10px;font-size:12px}.section-head,.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:22px}.page-head h1,.section-head h2{margin:4px 0}.page-head p,.section-head p{margin:6px 0;color:var(--muted)}.candidate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.candidate-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;position:relative}.candidate-photo{height:285px;background:#e8f0ec;position:relative}.candidate-photo img{width:100%;height:100%;object-fit:cover}.number{position:absolute;left:14px;top:14px;width:52px;height:52px;background:var(--gold);color:#1d2a21;border:4px solid #fff;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:900;box-shadow:0 5px 14px rgba(0,0,0,.15)}.number.small{position:static;width:34px;height:34px;font-size:14px;border-width:2px;display:inline-grid}.candidate-body{padding:20px}.candidate-body h3{margin:0 0 6px;font-size:23px}.vice{color:var(--muted);margin-top:0}.candidate-body details{margin-top:14px}.candidate-body summary{font-weight:700;color:var(--green);cursor:pointer}.selectable{cursor:pointer;transition:.2s}.selectable input{position:absolute;opacity:0}.selectable:has(input:checked){outline:4px solid var(--gold);transform:translateY(-4px)}.selected-mark{display:none;position:absolute;right:12px;top:14px;background:var(--green);color:#fff;padding:8px 10px;border-radius:999px;font-weight:800;font-size:12px}.selectable:has(input:checked) .selected-mark{display:block}.vote-submit{position:sticky;bottom:12px;display:flex;justify-content:center;padding:24px}.badge{display:inline-flex;padding:7px 11px;border-radius:999px;font-weight:800;font-size:12px;background:#ecefee}.badge.open{background:#d9f5e6;color:#08783f}.badge.closed{background:#fde2df;color:#a1251c}.badge.scheduled{background:#fff2cc;color:#805b00}.alert{padding:14px 16px;border-radius:12px;margin-bottom:18px;border:1px solid}.alert.success{background:#e7f7ee;color:#08783f;border-color:#bde4ce}.alert.error{background:#fff0ef;color:#b42318;border-color:#f3c9c5}.alert.warning{background:#fff8df;color:#745500;border-color:#edd795}.auth-wrap{min-height:65vh;display:grid;place-items:center}.auth-card{width:min(460px,100%);text-align:center}.auth-logo{width:90px;height:90px;object-fit:contain}.stack{display:grid;gap:14px}.stack label,.form-grid label{display:grid;gap:7px;text-align:left;font-weight:700;font-size:14px}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #cbd8d1;border-radius:10px;background:#fff;font:inherit}input:focus,select:focus,textarea:focus{outline:3px solid #d7eee2;border-color:var(--green)}.muted{color:var(--muted)}.center{text-align:center;font-size:13px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.stat small{display:block;color:var(--muted);margin-bottom:6px}.stat strong{font-size:32px;color:var(--green)}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.align-start{align-items:start}.progress,.mini-bar{height:10px;background:#e7eee9;border-radius:999px;overflow:hidden}.progress span,.mini-bar span{display:block;height:100%;background:var(--green);border-radius:999px}.steps{line-height:1.85}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.span-2{grid-column:span 2}.candidate-list-admin{display:grid;gap:12px}.candidate-row{display:grid;grid-template-columns:110px 1fr;gap:16px;align-items:center}.candidate-row img{width:110px;height:110px;object-fit:cover;border-radius:12px}.candidate-row h3{margin:5px 0}.candidate-row p{margin:0 0 10px;color:var(--muted)}hr{border:0;border-top:1px solid var(--line);margin:24px 0}.filterbar{display:grid;grid-template-columns:1fr 170px auto;gap:8px;margin-bottom:12px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px}table{border-collapse:collapse;width:100%;font-size:14px}th,td{text-align:left;padding:12px;border-bottom:1px solid #edf1ef;vertical-align:top}th{background:#f7faf8;color:#45534c}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px}.dot.on,.live-dot{background:#18a05e}.dot.off{background:#bbb}.live-dot{width:12px;height:12px;border-radius:50%;display:inline-block;box-shadow:0 0 0 0 rgba(24,160,94,.6);animation:pulse 1.5s infinite}@keyframes pulse{70%{box-shadow:0 0 0 10px rgba(24,160,94,0)}100%{box-shadow:0 0 0 0 rgba(24,160,94,0)}}.result-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px 0;border-bottom:1px solid var(--line)}.result-row div:first-child{display:flex;flex-direction:column}.result-row span{color:var(--muted);font-size:13px}.result-row strong{font-size:24px;color:var(--green)}.result-row .mini-bar{grid-column:1/-1}.recent-list>div{padding:12px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px}.recent-list span{color:var(--muted);font-size:12px}.control-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.empty{text-align:center;padding:36px;color:var(--muted);background:#fff;border:1px dashed #cfdad4;border-radius:16px}.success-panel{text-align:center;max-width:620px;margin:40px auto}.checkmark{width:84px;height:84px;border-radius:50%;background:#dff5e9;color:var(--green);font-size:48px;display:grid;place-items:center;margin:auto}.install-card{max-width:800px;margin:auto}code{display:block;background:#10231b;color:#dff3e8;padding:14px;border-radius:10px;overflow:auto}@media(max-width:900px){nav{display:none}.hero,.grid-2{grid-template-columns:1fr}.candidate-grid{grid-template-columns:repeat(2,1fr)}.stat-grid{grid-template-columns:repeat(2,1fr)}.control-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.candidate-grid,.form-grid,.filterbar,.control-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.candidate-photo{height:250px}.hero{padding:28px 0}.hero h1{font-size:42px}.page-head,.section-head{align-items:flex-start;flex-direction:column}.stat strong{font-size:25px}.candidate-row{grid-template-columns:84px 1fr}.candidate-row img{width:84px;height:84px}.vote-submit{bottom:4px;padding:15px 0}.vote-submit .btn{width:100%}}