:root{--ink:#192e28;--muted:#51665d;--green:#124c3e;--deep:#103e34;--lime:#e3f1b3;--paper:#f5f6f1;--line:#d8e0d6;--white:#fff;--red:#942f30;color-scheme:light;font-family:"Segoe UI",Inter,Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:16px}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}main{flex:1;padding-top:30px;padding-bottom:44px}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.56;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #aa7617;outline-offset:3px}button{color:inherit}.wrap{width:min(1192px,calc(100% - 64px));margin:0 auto}.skip{position:absolute;background:white;padding:10px;z-index:6;transform:translateY(-150%)}.skip:focus{transform:none}
header{background:var(--deep);color:white}.mast,.foot,.row,.actions,.section-head,.person,.tabbar,.stats,.btn,.adminlink,.badge,.brand,.guide-step{display:flex;align-items:center}.mast{height:76px;gap:36px}.brand{font-size:1.55rem;font-weight:750;letter-spacing:-.055em;gap:0;white-space:nowrap}.brand .light{font-weight:450}.ballot{width:36px;height:36px;margin-right:10px;background:url('/mark.svg') center/cover;border:1px solid #ffffff35;border-radius:9px}.mast nav{display:flex;align-self:stretch;align-items:stretch;margin-left:auto;gap:30px}.mast nav a{color:#d9e4dd;font-size:.93rem;display:flex;align-items:center;position:relative}.mast nav a[aria-current=page]{color:#fff;font-weight:650}.mast nav a[aria-current=page]:after{content:"";position:absolute;height:3px;background:#dcecad;bottom:12px;left:0;right:0;border-radius:3px}.adminlink{gap:8px;border:1px solid #ffffff61;border-radius:8px;font-weight:640;padding:9px 15px}.adminlink:hover,.adminlink[aria-current=page]{background:#ffffff17}.icon{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}i[data-i]{display:inline-flex}.hero{position:relative;overflow:hidden;border-radius:23px;background:#173f32 url('/images/desa.webp') center 57%/cover no-repeat;color:white;isolation:isolate;min-height:355px;display:flex;align-items:center;padding:42px 52px}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,44,35,.96) 0%,rgba(8,46,36,.88) 29%,rgba(8,42,35,.43) 61%,rgba(8,33,23,.04) 100%);z-index:-1}.eyebrow,.micro{font-size:.77rem;font-weight:730;letter-spacing:.13em;text-transform:uppercase}.hero .eyebrow,.mini-loc{display:flex;gap:8px;align-items:center;color:#e4efcc}.hero h1{font:500 clamp(3rem,5.2vw,4.65rem)/.97 Georgia,"Times New Roman",serif;letter-spacing:-.058em;margin:18px 0 16px}.hero h1 span{display:block}.hero p{color:#f0f4e9;max-width:470px;line-height:1.5;margin:0 0 22px}.btn{display:inline-flex;justify-content:center;gap:9px;border:1px solid transparent;border-radius:9px;background:var(--green);color:white;padding:12px 20px;font-weight:650;line-height:1.35;min-height:44px}.btn:hover{filter:brightness(.93)}.btn.accent{background:var(--lime);color:#183e30}.btn.alt{background:white;color:var(--green);border-color:#aebfb1}.btn.quiet{background:transparent;color:var(--green);border-color:var(--line)}.btn.danger{background:#942f30}.btn.slim{min-height:38px;font-size:.9rem;padding:7px 12px}.row,.actions,.tabbar{gap:12px;flex-wrap:wrap}.between,.section-head{justify-content:space-between}.section-head{margin:31px 0 15px;gap:18px;flex-wrap:wrap}.section-head h2,.panel h2,h1,h2,h3,p{margin-top:0}.section-head h2,.panel h2{margin-bottom:0}.section-head h2,.panel h2,.pagehead h1{letter-spacing:-.045em}.section-head h2{font-size:1.7rem}.badge{display:inline-flex;gap:7px;white-space:nowrap;padding:6px 11px;border-radius:99px;background:#e8eddc;color:#405331;font-size:.83rem;font-weight:650}.badge.open,.badge.final,.badge.published{background:#deeddf;color:#205239}.badge.draft,.badge.prep{background:#f1e9d1;color:#715123}.badge.closed{background:#ebe8e1;color:#575349}.dot{width:7px;height:7px;border-radius:50%;background:currentColor}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;position:relative;text-align:left;padding:0;min-width:0;display:flex;flex-direction:column}.portrait{height:170px;width:100%;position:relative;overflow:hidden;background:#e0e5dc;display:grid;place-items:center}.portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 32%}.initial{font:bold 2.7rem Georgia;color:#506652}.num{position:absolute;top:12px;left:12px;min-width:42px;padding:6px 8px;border-radius:8px;background:#fbfdf4;color:var(--green);font-weight:780;font-size:1.27rem;text-align:center;box-shadow:0 1px 6px #17352b14}.cardbody{padding:17px 19px 18px;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.cardbody h3{margin:0;font-size:1.2rem;letter-spacing:-.025em}.cardbody p{margin:4px 0 0;font-size:.86rem;color:var(--muted)}.card .round{border:1px solid var(--line);border-radius:50%;padding:7px;display:flex;color:var(--green)}.card:hover{border-color:#7a9c84;box-shadow:0 3px 16px #183f2a0c}.guide{margin-top:28px;border-top:1px solid var(--line);padding-top:22px}.guide h2{font-size:1.17rem}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.guide-step{align-items:flex-start;gap:12px}.guide-step .ico{background:#e4ebdf;color:var(--green);padding:9px;border-radius:9px;display:flex}.guide-step strong{font-size:.98rem}.guide-step p{color:var(--muted);font-size:.89rem;margin:5px 0;line-height:1.45}.foot{justify-content:space-between;gap:10px;padding:17px 0;color:var(--muted);font-size:.88rem}footer{border-top:1px solid var(--line)}.brand.small{font-size:1.12rem}.small .ballot{width:26px;height:26px;border:0}
.pagehead{margin:12px 0 24px}.pagehead h1{font-size:clamp(2rem,4vw,3rem);margin:7px 0 6px}.pagehead p,.sub,.muted{color:var(--muted);line-height:1.55}.pagehead p,.sub{margin-bottom:0}.micro{color:var(--green)}.panel{background:white;border:1px solid var(--line);border-radius:17px;padding:24px}.panel h2{font-size:1.35rem}.panel + .panel,.stack>*+*{margin-top:16px}.centerbox{max-width:540px;margin:44px auto;text-align:center}.centerbox .panel{padding:32px}.centerbox form{text-align:left;margin-top:22px}.bigicon{display:inline-flex;background:#e5efdd;color:var(--green);border-radius:17px;padding:15px}.bigicon .icon{width:30px;height:30px}.centerbox h1{margin:14px 0 8px;letter-spacing:-.045em;font-size:2rem}.fields{display:grid;gap:15px}.fields label,.field{display:grid;gap:6px;font-weight:600;font-size:.93rem}input,select,textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid #b9c7bc;border-radius:8px;color:var(--ink);background:white}textarea{resize:vertical;min-height:78px}.codeinput{font-size:1.7rem;text-align:center;letter-spacing:.35em;font-weight:700}.mono{font-variant-numeric:tabular-nums}.error{color:var(--red);line-height:1.45;margin:0}.error:empty{display:none}.tabbar{border-bottom:1px solid var(--line);margin-bottom:18px;gap:7px}.tabbar button{border:0;background:none;font-weight:650;padding:12px 15px;color:var(--muted);border-bottom:3px solid transparent}.tabbar button.active{border-bottom-color:var(--green);color:var(--green)}.tablewrap{overflow-x:auto;margin-top:15px}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:.83rem;color:var(--muted);background:#f1f5ee}td,th{padding:12px 11px;border-bottom:1px solid #e4e9e2}td{font-size:.96rem}.person{gap:10px;font-weight:650}.avatar{width:39px;height:43px;object-fit:cover;border-radius:6px;background:#e4e9e0;display:grid;place-items:center}.stats{gap:12px;flex-wrap:wrap;margin-bottom:18px}.stat{padding:14px 20px;border:1px solid var(--line);border-radius:12px;background:white;flex:1;min-width:120px}.stat strong{display:block;font-size:1.6rem;color:var(--green)}.stat span{font-size:.9rem;color:var(--muted)}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hint{font-weight:400;font-size:.85rem;color:var(--muted)}.search{max-width:320px}.resultrow{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:22px}.bar{grid-column:1/-1;height:9px;background:#e8ede6;border-radius:10px;overflow:hidden}.bar span{display:block;height:100%;background:var(--green)}.code{letter-spacing:.18em;font-size:2.7rem;font-weight:750;margin:22px 0;text-align:center}.kiosk{max-width:820px;margin:30px auto}.kiosk .card{min-height:170px}.confirmcard{max-width:320px;margin:22px auto}.confirmcard .portrait{height:190px}.center{text-align:center}.center .actions{justify-content:center}dialog{border:1px solid var(--line);border-radius:17px;padding:0;width:min(510px,calc(100% - 28px));max-height:90dvh;color:var(--ink);box-shadow:0 15px 65px #112c2540}dialog::backdrop{background:#112e27a8}#modalbody{padding:24px}dialog h2{font-size:1.45rem;letter-spacing:-.03em;margin:0}.dialoghead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.iconbtn{background:#eef2eb;color:var(--ink);border:0;border-radius:7px;padding:7px;display:inline-flex}.previewpic{display:flex;gap:12px;align-items:center}.previewpic img{height:58px;width:58px;object-fit:cover;border-radius:8px}.empty{padding:15px;color:var(--muted)}#notice{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:var(--deep);color:white;border-radius:9px;box-shadow:0 3px 14px #0002;z-index:6}#notice:not(:empty){padding:12px 18px}.waiting{padding:30px;color:var(--muted)}.endlink{display:inline-block;margin-top:15px;color:var(--green);text-decoration:underline}.printonly{display:none}
@media(min-width:1300px){.hero{min-height:370px}.portrait{height:195px}}
@media(max-width:750px){.wrap{width:calc(100% - 32px)}.mast{height:auto;min-height:64px;gap:12px;flex-wrap:wrap;padding-top:10px}.mast nav{order:3;width:100%;justify-content:space-around;gap:10px}.mast nav a{padding:8px 4px 13px}.mast nav a[aria-current=page]:after{bottom:4px}.adminlink{margin-left:auto}.hero{padding:30px 25px;min-height:300px;background-position:66% center}.hero:before{background:linear-gradient(90deg,#0a3027ec,#0d3629b5 57%,#163c2b42)}.cards{gap:9px}.portrait{height:140px}.cardbody{padding:12px}.cardbody h3{font-size:1rem}.cardbody .round{display:none}.steps{grid-template-columns:1fr}.centerbox{margin:20px auto}.panel{padding:17px}.section-head h2{font-size:1.45rem}.num{font-size:1.05rem;top:8px;left:8px;min-width:32px}.foot{font-size:.8rem}.cardbody p{font-size:.8rem}}
@media(max-width:540px){main{padding-top:18px}.cards{grid-template-columns:1fr}.card{display:grid;grid-template-columns:104px 1fr;align-items:center}.portrait{height:104px}.num{font-size:.9rem;min-width:26px;padding:3px 5px;top:4px;left:4px}.cardbody .round{display:flex}.hero{min-height:290px}.hero p{font-size:.94rem}.tabbar{gap:0}.tabbar button{font-size:.9rem;padding:10px 8px}.twocol{grid-template-columns:1fr}.stat{padding:10px;min-width:86px}.stat span{font-size:.8rem}.kiosk .card{min-height:100px}.confirmcard .card{display:flex}.centerbox .panel{padding:22px}.foot{flex-wrap:wrap}}
@media print{header,footer,.actions,.adminlink,.tabbar,.btn,.skip,#notice,.noprint{display:none!important}body,main,.panel{background:white}.wrap{width:100%}.panel{border:0}.printonly{display:block}}

