:root{--navy1:#0b2a63;--navy2:#071e47;--red:#c8202e;--ink:#0d1b33;--muted:#6c7a93;--ground:#e9edf5;--card:#ffffff;--line:#d7dfec;--dem:#2f5fb0;--dem-d:#274f95;--eco:#2e8b57;--eco-d:#1e6e43;--rep:#c0303a;--rep-d:#9e232c;--ent:#7b4bab;--ent-d:#5e3690}*{box-sizing:border-box}body{margin:0;background:var(--ground);color:var(--ink);font-family:Libre Franklin,system-ui,sans-serif}.serif{font-family:Cinzel,Georgia,Times New Roman,serif}.cap{text-transform:uppercase;letter-spacing:.14em}.num{font-variant-numeric:tabular-nums}button{font-family:inherit}.page{min-height:100vh;display:flex;flex-direction:column}.center{min-height:100vh;display:grid;place-items:center;background:radial-gradient(120% 90% at 50% 0%,#0e3070,#061731);padding:24px}.banner{position:relative;display:flex;align-items:center;gap:20px;padding:16px 34px;background:linear-gradient(180deg,var(--navy1),var(--navy2));color:#f5f8ff;border-bottom:3px solid var(--red)}.banner .seal{width:54px;height:54px;border-radius:50%;border:2px solid #cdd8ef;display:grid;place-items:center;flex:none;background:#ffffff0f}.banner-t{flex:1;text-align:center}.banner-t h1{margin:0;font-size:clamp(20px,3vw,30px);font-weight:700;letter-spacing:.2em}.banner-sub{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:4px}.banner-sub .rule{height:1px;width:60px;background:var(--red)}.banner-sub .loc{font-size:12px;color:#b9c8e8}.banner-r{text-align:right;font-size:13px;line-height:1.5;color:#e7edfb;flex:none}.idbar{display:flex;align-items:center;gap:16px;padding:12px 34px;background:#fff;border-bottom:1px solid var(--line);flex-wrap:wrap}.avatar{width:38px;height:38px;border-radius:50%;background:var(--navy1);color:#fff;display:grid;place-items:center;flex:none}.id-name{font-size:16px;font-weight:700}.id-name small{font-weight:500;color:var(--muted);font-size:13px}.chip{display:inline-flex;align-items:center;gap:9px;padding:8px 15px;border-radius:999px;font-size:13px;font-weight:600}.chip.open{background:#eaf6ee;border:1px solid #bfe3cb;color:#1e7a44}.chip.wait{background:#fff4e2;border:1px solid #f0d59a;color:#a5741a}.chip.closed{background:#f6e7e8;border:1px solid #e6b8bc;color:#9e232c}.grid{flex:1;display:grid;align-content:center;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:26px 34px}.grid.duo{max-width:1500px;width:100%;margin:0 auto}@media (max-width: 780px){.grid{grid-template-columns:1fr}}.cand{position:relative;display:flex;flex-direction:row;align-items:stretch;border-radius:16px;overflow:hidden;background:#fff;border:1px solid var(--line);cursor:pointer;transition:border-color .12s,box-shadow .12s,transform .08s}.cand:hover{transform:translateY(-2px)}.cand.sel{border-width:2px;box-shadow:0 12px 30px #0003}.cand:focus-visible{outline:3px solid #ffd76a;outline-offset:2px}.cand .head{position:relative;width:240px;min-height:240px;flex:none;align-self:stretch;display:grid;place-items:center;overflow:hidden}.cand .head .ph{opacity:.16}.cand .portrait{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center top}.cand .badge{position:absolute;bottom:12px;left:50%;transform:translate(-50%);width:46px;height:46px;border-radius:50%;background:#fff;display:grid;place-items:center}.cand .check{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;box-shadow:0 2px 8px #0000004d;z-index:2}.cand .body{flex:1;min-width:0;padding:22px 26px;text-align:left;display:flex;flex-direction:column;gap:7px;justify-content:center}.cand .party{font-size:18px;font-weight:700}.cand .who{font-size:12.5px;color:#54607a}.cand .slogan{font-style:italic;font-size:16px;margin-top:4px}.cand .pick{align-self:flex-start;margin-top:12px;padding:10px 22px;border-radius:9px;font-size:13px;font-weight:700}.grid.duo .cand .head{width:320px;min-height:340px}.grid.duo .cand .party{font-size:22px}.grid.duo .cand .slogan{font-size:19px}.foot{display:flex;align-items:center;gap:18px;padding:16px 34px;background:linear-gradient(0deg,var(--navy1),#0e306e);color:#f5f8ff;flex-wrap:wrap}.foot .count{font-size:20px;font-weight:700;letter-spacing:.12em}.foot .count small{color:#8ea4d6;font-size:13px;letter-spacing:.14em}.btn-vote{padding:14px 30px;border:0;border-radius:10px;background:var(--red);color:#fff;font-weight:700;font-size:15px;letter-spacing:.06em;cursor:pointer;box-shadow:0 6px 16px #c8202e66}.btn-vote:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.card{width:min(560px,92vw);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 30px 80px #00000080}.card .strip{height:8px;background:var(--navy1);border-bottom:2px solid var(--red)}.card .inner{padding:44px 48px 40px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}.card h2{margin:0;font-size:24px;font-weight:700;color:var(--navy1);letter-spacing:.12em}.card p{margin:0;font-size:15px;color:#54607a;line-height:1.6;max-width:420px}.disc{width:84px;height:84px;border-radius:50%;display:grid;place-items:center}.recap{width:100%;padding:16px 18px;border-radius:12px;background:#f4f6fb;border:1px solid #e0e6f0;display:flex;align-items:center;gap:14px;text-align:left}.small{font-size:12px;color:#98a1b2}.err{padding:10px 14px;border-radius:9px;background:#f6e7e8;border:1px solid #e6b8bc;color:#9e232c;font-size:13px}
