:root{--blue:#163b7a;--navy:#102b57;--red:#d33342;--gold:#f2c642;--ink:#182b48;--muted:#687790;--line:#e5eaf2;--bg:#f5f7fb;--radius:18px}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:16px;line-height:1.5}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-1px;margin-bottom:10px}h2{font-size:18px;letter-spacing:-.25px;margin-bottom:14px}h3{font-size:16px;margin-bottom:8px}p{margin-bottom:16px}small,.muted{color:var(--muted);font-size:14px}.eyebrow{font-size:12px;letter-spacing:1.5px;font-weight:750;text-transform:uppercase;color:var(--muted)}.brand{display:flex;align-items:center;gap:11px}.brand strong{font-size:25px;letter-spacing:-1px;line-height:1.05}.brand strong span{display:block;font-size:10px;letter-spacing:1.8px;margin-top:7px;color:var(--muted)}.brand-icon{display:grid;place-items:center;width:40px;height:44px;background:var(--blue);color:white;font-size:25px;font-weight:800;border-radius:12px;border-bottom:4px solid var(--gold)}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar{position:fixed;inset:0 auto 0 0;width:230px;background:#fff;border-right:1px solid var(--line);padding:30px 20px;display:flex;flex-direction:column;z-index:30}.sidebar nav{display:flex;flex-direction:column;gap:6px;margin-top:42px}.nav-link{display:flex;align-items:center;gap:13px;padding:13px 16px;border-radius:10px;color:#66758b;font-size:14px;font-weight:600}.nav-link:hover{background:var(--bg)}.nav-link.active{color:var(--blue);background:#eaf0fb;box-shadow:inset 3px 0 var(--blue)}.sidefoot{margin-top:auto;padding:18px 12px 0;border-top:1px solid var(--line)}.sidebar .tag{margin-top:12px}.workspace{margin-left:230px;min-height:100vh}.topbar{height:82px;background:white;border-bottom:1px solid var(--line);border-top:4px solid var(--blue);padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:12px}.topbar strong{font-size:14px}.account{display:flex;gap:12px;align-items:center}.avatar{width:38px;height:38px;border-radius:50%;background:#eaf0fb;color:var(--blue);display:grid;place-items:center;font-weight:750}.content{max-width:1500px;margin:auto;padding:32px 36px 50px}.pagehead{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.pagehead p{margin:0}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{border:1px solid var(--line);border-radius:10px;min-height:44px;padding:10px 16px;font-size:14px;font-weight:650;background:#fff;color:var(--ink);display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .15s}.btn:hover{background:#edf2fa}.btn.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.btn.primary:hover{background:var(--navy)}.btn.danger{color:#b22431;background:#fff4f4;border-color:#f1c9cd}.btn.ghost{border:0;background:none;padding:9px}.tag{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:750;padding:5px 10px;border-radius:6px;white-space:nowrap;background:#eef2f8;color:#52647e}.tag.demo{color:#775600;background:#fff3c8}.tag.open{background:#e8f5ef;color:#23694d}.tag.closed{background:#fce9eb;color:#ae2838}.tag.paused,.tag.draft{background:#fff3c8;color:#775600}.filters{display:flex;gap:14px;background:#fff;border:1px solid var(--line);padding:16px 20px;border-radius:14px;margin-bottom:24px;align-items:flex-end}.filters label{flex:1;margin:0}.filters select{margin:5px 0 0;font-size:14px;padding:10px;min-width:0}.filters .btn{height:44px}label{display:block;font-size:14px;font-weight:600;margin-bottom:18px}input,select{width:100%;min-height:46px;padding:11px 13px;border:1px solid #d4ddea;border-radius:9px;background:#fff;color:var(--ink);margin-top:7px;outline:none}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:3px solid #92b5ec;outline-offset:2px}input[type=checkbox],input[type=radio]{width:20px;min-height:20px;accent-color:var(--blue);margin:0;flex-shrink:0}.check{display:flex;gap:12px;align-items:flex-start;font-weight:400;line-height:1.6}.stats{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:18px;margin-bottom:24px}.stat{padding:23px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);position:relative}.stat .icon{position:absolute;right:20px;top:23px;color:#8190a7}.stat-label{font-size:14px;color:var(--muted);margin-bottom:12px}.stat-number{font-size:34px;line-height:1.1;font-weight:750;letter-spacing:-1px;margin-bottom:12px;font-variant-numeric:tabular-nums}.stat small{font-size:12px}.stat.featured{background:var(--blue);color:#fff;border:0}.stat.featured .stat-label,.stat.featured small,.stat.featured .icon{color:#cad9f2}.stat.featured:after{content:'';height:4px;width:50px;position:absolute;bottom:0;left:24px;background:var(--gold);border-radius:2px}.grid2{display:grid;grid-template-columns:1.55fr 1fr;gap:22px;margin-bottom:24px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px;min-width:0}.cardhead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.cardhead h2{margin:0}.chartbox{height:220px;position:relative}.ringbox{height:180px;position:relative;width:180px;margin:auto}.ringlabel{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none}.ringlabel strong{font-size:30px;line-height:1.2;letter-spacing:-1px}.ringlabel span{font-size:12px;color:var(--muted)}.legend{display:flex;justify-content:center;gap:18px;font-size:12px;color:var(--muted);margin-top:20px}.dot{display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:5px;background:var(--blue)}.dot.gray{background:#e6ecf5}.progress{height:6px;background:#e9eef6;border-radius:8px;overflow:hidden}.progress span{display:block;height:100%;background:var(--blue);border-radius:8px}.tablewrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}th{font-weight:600;color:var(--muted);font-size:12px;letter-spacing:.5px;text-transform:uppercase;background:#f8fafd;padding:13px 14px;white-space:nowrap}td{padding:14px;border-bottom:1px solid #eef1f6;vertical-align:middle}tr:last-child td{border-bottom:0}.percent{display:flex;align-items:center;gap:12px}.percent .progress{width:90px}.area-link{border:0;background:none;padding:0;color:var(--blue);font-weight:650;text-align:left;min-height:32px}.funnelrow{display:flex;align-items:center;justify-content:space-between;margin:17px 0 8px;font-size:14px}.funnelrow strong{font-variant-numeric:tabular-nums}.notice{background:#fff9e6;border:1px solid #f2e8c2;color:#735b1b;border-radius:10px;padding:13px 16px;font-size:14px}.info{background:#eef4ff;border:1px solid #d8e5fa;color:#294d83;border-radius:10px;padding:14px;font-size:14px}.error{background:#fff1f2;color:#b82439;border-radius:9px;padding:12px;font-size:14px}.empty{text-align:center;padding:45px 16px;color:var(--muted)}.map{height:360px;border-radius:12px;background:#eaf0f7;z-index:1}.mapfoot{font-size:12px;color:var(--muted);margin-top:10px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}.searchrow{display:flex;align-items:end;gap:14px;margin-bottom:18px}.searchrow label{margin:0;flex:1}.mobile-nav{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:200;background:#112b53;color:white;border-radius:12px;padding:13px 20px;max-width:90%;box-shadow:0 10px 30px #102b5720;display:none}#toast.show{display:block}.loading{padding:70px;text-align:center;color:var(--muted)}.auth-wrap,.install{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eef2f9}.auth-card{width:100%;max-width:460px;background:white;padding:36px;border:1px solid var(--line);border-radius:24px;box-shadow:0 20px 65px #163b7a09}.auth-card .brand{margin-bottom:32px}.auth-card h1{font-size:26px}.auth-card form .btn{width:100%;margin-top:4px}.auth-card .muted{margin-top:18px}.voter-shell{max-width:520px;margin:0 auto;min-height:100vh;background:white;box-shadow:0 0 60px #173b7a09;position:relative;padding-bottom:94px}.voter-top{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;border-top:4px solid var(--blue);border-bottom:1px solid var(--line)}.voter-main{padding:28px 24px}.voter-main h1{font-size:29px}.welcome{background:var(--blue);color:white;border-radius:20px;padding:26px;margin-bottom:22px}.welcome .eyebrow{color:#bcd0f0;margin-bottom:18px}.welcome h1{font-size:30px;line-height:1.25;margin-bottom:20px}.welcome p{color:#d7e3f6;font-size:14px}.welcome .tag{margin-bottom:20px}.welcome .btn{width:100%;background:var(--gold);color:#3e320d;border:0}.voter-main .card{padding:20px;margin-bottom:18px}.stepitem{display:flex;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.stepitem:last-child{border:0}.stepnum{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#edf2fb;color:var(--blue);font-size:14px;font-weight:750;flex-shrink:0}.stepitem p{margin:2px 0 0;font-size:12px;color:var(--muted)}.voter-bottom{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);display:flex;justify-content:space-around;background:#fff;border-top:1px solid var(--line);padding:12px 12px max(12px,env(safe-area-inset-bottom));z-index:20}.voter-bottom a{display:flex;align-items:center;flex-direction:column;font-size:12px;gap:4px;color:var(--muted)}.voter-bottom a.active{color:var(--blue);font-weight:700}.voter-main .full{width:100%}.steps{display:flex;gap:6px;margin:0 0 10px}.steps span{height:4px;background:#e4eaf3;flex:1;border-radius:5px}.steps span.done{background:var(--blue)}.stepcaption{font-size:12px;color:var(--muted);margin-bottom:24px}.identity{background:#f5f8fd;border-radius:12px;padding:18px;margin-bottom:20px}.identity strong{display:block}.identity small{display:block;margin-top:4px}.candidate{border:2px solid var(--line);border-radius:14px;padding:17px;display:flex;align-items:center;gap:14px;margin-bottom:12px;cursor:pointer;font-weight:400}.candidate:has(input:checked){background:#eef4ff;border-color:var(--blue)}.candidate .initial{width:48px;height:48px;border-radius:12px;background:#edf2fb;display:grid;place-items:center;font-size:23px;font-weight:750;flex-shrink:0}.candidate .text{flex:1}.candidate strong{font-size:16px;display:block}.candidate small{font-size:12px}.successmark{width:78px;height:78px;margin:15px auto 25px;border-radius:50%;display:grid;place-items:center;background:#e8f5ef;color:#277652;font-size:38px}.receipt{text-align:center}.receipt-code{font-family:ui-monospace,monospace;letter-spacing:1px;font-size:16px;padding:16px;border:1px dashed #b4c4dd;border-radius:10px;overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.settings-grid .card{align-self:start}.audititem{padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}.audititem small{display:block;margin-top:5px}.demo-shortcuts{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 22px}.demo-shortcuts button{font-size:12px;min-height:38px}.topstatus{display:flex;align-items:center;gap:10px}.report-note{font-size:12px;color:var(--muted);margin-top:20px}.result-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.result-row{margin-top:14px}.result-row div:first-child{display:flex;justify-content:space-between;font-size:14px;margin-bottom:5px}dialog{border:0;border-radius:18px;padding:28px;max-width:430px;width:calc(100% - 32px);box-shadow:0 30px 90px #102b5740}dialog::backdrop{background:#102b5760}dialog .actions{justify-content:flex-end;margin-top:24px}.no-print{display:initial}
@media(max-width:1150px){.sidebar{width:190px;padding:26px 14px}.workspace{margin-left:190px}.content{padding:26px 24px}.topbar{padding:0 24px}.stats{gap:12px;grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1.3fr 1fr}.stat{padding:21px}.pagehead{align-items:flex-start}.pagehead .actions{max-width:240px;justify-content:flex-end}}
@media(max-width:760px){.sidebar{display:none}.workspace{margin-left:0}.topbar{height:70px;padding:0 18px}.topbar .account-name,.topbar .date-label{display:none}.content{padding:24px 16px 100px}.pagehead{gap:12px;align-items:flex-start;margin-bottom:20px}.pagehead h1{font-size:25px}.pagehead p{font-size:12px}.pagehead .actions{gap:6px;max-width:145px}.pagehead .actions .btn{font-size:12px;padding:8px 10px;min-height:38px}.pagehead .actions .icon{display:none}.filters{padding:14px;gap:10px;display:grid;grid-template-columns:1fr 1fr;margin-bottom:18px}.filters label:first-child{grid-column:1/-1}.filters label{font-size:12px}.filters .btn{grid-column:1/-1;min-height:32px;height:32px}.filters select{font-size:14px}.stats{gap:10px;margin-bottom:18px}.stat{padding:18px 15px;border-radius:14px}.stat-label{font-size:12px;margin-bottom:12px;padding-right:15px}.stat .icon{width:17px;right:13px;top:18px}.stat-number{font-size:28px}.stat small{font-size:11px}.grid2,.settings-grid,.result-grid{grid-template-columns:1fr;gap:18px;margin-bottom:18px}.card{padding:19px;border-radius:15px}.cardhead h2{font-size:16px}.cardhead small{font-size:12px}.chartbox{height:190px}.mobile-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:white;border-top:1px solid var(--line);z-index:40;padding:10px 4px max(10px,env(safe-area-inset-bottom));box-shadow:0 -5px 25px #182b4805}.mobile-nav a{display:flex;flex-direction:column;gap:5px;align-items:center;color:var(--muted);font-size:11px;padding:3px 5px}.mobile-nav a.active{color:var(--blue);font-weight:750}.mobile-nav a.active .icon{stroke-width:2.5}#toast{bottom:90px}.map{height:290px}.searchrow{flex-wrap:wrap}.searchrow label{min-width:120px}.auth-card{padding:26px}.topstatus{gap:7px}.topstatus .tag{font-size:11px}.percent .progress{width:65px}.pagination{font-size:12px}.pagination .btn{font-size:12px;padding:8px 10px}.voter-main{padding:24px 20px}.voter-top{padding:20px}.voter-shell{box-shadow:none}.voter-main .welcome{padding:24px}.topbar .brand strong{font-size:21px}.topbar .brand-icon{width:33px;height:37px;font-size:23px}.topbar .brand strong span{font-size:8px}.topbar .avatar{width:32px;height:32px;font-size:12px}}
@media print{.sidebar,.topbar,.mobile-nav,.filters,.actions,.no-print,.voter-bottom,#toast{display:none!important}.workspace{margin:0}.content{padding:0}.card,.stat{break-inside:avoid;box-shadow:none}.stats{grid-template-columns:repeat(4,1fr)}body{background:white}.voter-shell{max-width:100%;box-shadow:none}.pagehead:after{content:'DATA DEMONSTRASI';color:#b22431;font-size:12px}}

.grid2{align-items:start}.topbar,.voter-top{border-top:0;background:linear-gradient(90deg,#163b7a 0 78%,#d33342 78% 92%,#f2c642 92% 100%) top/100% 4px no-repeat,#fff}
