*{box-sizing:border-box}:root{--blue:#1769d2;--dark:#1755a5;--ink:#172b4d;--muted:#68788e;--danger:#b42318}body{margin:0;background:#f5f8fc;color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.45}.topbar{display:flex;align-items:center;gap:12px;padding:16px max(18px,calc((100vw - 700px)/2));background:var(--blue);color:white;min-height:76px}.logo{width:44px;height:44px;flex:0 0 44px;border-radius:14px;background:white;color:var(--blue);display:grid;place-items:center;box-shadow:0 3px 10px #0d397a20}.logo svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}.brand{display:flex;flex-direction:column;gap:2px}.brand strong{font-size:19px;letter-spacing:.03em}.brand span{font-size:12px;color:#eaf2ff}.page{max-width:700px;margin:auto;padding:24px 16px 38px}.intro{margin-bottom:20px}.eyebrow{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.12em;margin:0 0 7px}h1{margin:0;font-size:clamp(25px,6vw,32px);line-height:1.2;letter-spacing:-.03em}.intro>p:last-child{color:var(--muted);margin:9px 0 0;font-size:14px}.panel{background:white;border:1px solid #e7edf5;border-radius:18px;padding:20px;margin-bottom:15px;box-shadow:0 5px 18px #17365d08}.heading{display:flex;gap:11px;align-items:center;margin-bottom:19px}.step{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:11px;background:#e8f1ff;color:var(--dark);font-weight:800}h2{font-size:17px;margin:0}.heading p{margin:3px 0 0;color:var(--muted);font-size:12px}label{display:block;font-size:13px;font-weight:700;margin:15px 0 7px;color:#24364b}input:not([type=checkbox]),select{display:block;width:100%;height:47px;border:1px solid #cfd9e7;border-radius:11px;background:white;padding:0 13px;font:inherit;font-size:14px;color:var(--ink);outline:none}input::placeholder{color:#9aa7b8}input:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1769d21a}.invalid{border-color:var(--danger)!important}.error{color:var(--danger);font-size:12px;margin:5px 0 0;min-height:0}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.address{margin-top:18px;padding:13px;border-radius:12px;background:#eaf2ff;display:grid;gap:11px}.address div{display:flex;justify-content:space-between;gap:10px;font-size:13px}.address span{color:#55718f}.address strong{text-align:right;color:#24364b}.sign-help{font-size:12px;color:var(--muted);background:#f1f6ff;border-radius:10px;padding:11px;margin:0 0 10px;line-height:1.55}.sign-wrap{height:280px;position:relative;border:1px solid #cfd9e7;border-radius:12px;overflow:hidden;background:white;touch-action:pan-y}.sign-wrap canvas{width:100%;height:100%;display:block;cursor:default;touch-action:pan-y}.sign-wrap.signing{touch-action:none;border-color:var(--blue);box-shadow:0 0 0 3px #1769d21a}.sign-wrap.signing canvas{cursor:crosshair;touch-action:none}.sign-wrap span{position:absolute;left:0;right:0;top:48%;text-align:center;color:#a4afbd;font-size:13px;pointer-events:none}.sign-wrap span.hidden{display:none}.actions{display:flex;gap:9px;margin-top:10px}.btn{min-height:44px;border-radius:11px;padding:10px 15px;border:1px solid transparent;font:inherit;font-size:14px;font-weight:750;cursor:pointer}.outline{color:var(--blue);background:white;border-color:#b9d1f2}.soft{color:var(--dark);background:#eaf2ff}.primary{color:white;background:var(--blue);box-shadow:0 5px 12px #1769d225}.actions .btn{flex:1}.consent{display:flex;align-items:flex-start;gap:10px;margin-top:19px;line-height:1.5;font-weight:500}.consent input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--blue);flex:0 0 auto}.consent span{font-size:12px;color:#4e6178}.submit{width:100%;min-height:49px;font-size:15px}.privacy{text-align:center;color:var(--muted);font-size:11px;margin:13px 10px 0}.home-link-wrap{max-width:700px;margin:0 auto;padding:0 16px 16px;text-align:left}.home-link{display:inline-block;color:var(--blue);font-size:13px;font-weight:700;text-decoration:none;padding:8px 0}.home-link:hover{text-decoration:underline}footer{text-align:center;color:#8995a5;font-size:12px;padding:16px 16px 25px;border-top:1px solid #e7edf5;background:#fff;letter-spacing:.01em}dialog{border:0;border-radius:20px;padding:0;width:min(92vw,480px);max-height:90vh;box-shadow:0 20px 80px #0b1f3a40}dialog::backdrop{background:#10233f77;backdrop-filter:blur(3px)}.dialog-inner{padding:24px}.check{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e5f6ed;color:#16804a;font-size:24px;font-weight:800;margin-bottom:12px}.dialog-inner>p{color:var(--muted);font-size:13px}dl{margin:18px 0}dl div{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid #edf1f6;font-size:13px}dt{color:var(--muted)}dd{margin:0;text-align:right;font-weight:650;overflow-wrap:anywhere}.dialog-inner .actions{flex-wrap:wrap}#toast{position:fixed;bottom:18px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;max-width:calc(100vw - 30px);background:#172b4d;color:white;border-radius:12px;padding:12px 16px;font-size:13px;box-shadow:0 8px 24px #10233f30;transition:.2s;z-index:10}#toast.show{opacity:1;transform:translate(-50%,0)}@media(max-width:420px){.panel{padding:16px;border-radius:15px}.topbar{padding-left:15px;padding-right:15px}.brand strong{font-size:17px}.dialog-inner{padding:19px}}
.progress-card{background:#fff;border:1px solid #e7edf5;border-radius:16px;padding:15px 17px;margin:0 0 15px;box-shadow:0 5px 18px #17365d08}.progress-meta{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-bottom:9px}.progress-meta strong{color:var(--blue)}.progress-track{height:6px;background:#e8eef7;border-radius:999px;overflow:hidden}.progress-track div{height:100%;width:25%;background:var(--blue);border-radius:999px;transition:width .2s}.step-dots{display:flex;justify-content:space-between;margin-top:12px}.step-dots span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#edf1f6;color:#75849a;font-size:11px;font-weight:800}.step-dots span.active{background:#e5efff;color:var(--blue)}.step-dots span.current{background:var(--blue);color:#fff}.wizard-step{display:none}.wizard-step.active{display:block;animation:stepin .18s ease-out}@keyframes stepin{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.nav-buttons{display:flex;gap:10px;margin-top:3px}.nav-buttons .btn{flex:1;min-height:49px}.btn:disabled{opacity:.4;cursor:not-allowed}.review-details{border:1px solid #e6edf5;border-radius:12px;padding:5px 13px}.review-details div{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf1f6;font-size:13px}.review-details div:last-child{border-bottom:0}.review-details span{color:var(--muted);flex:0 0 38%}.review-details strong{text-align:right;overflow-wrap:anywhere;font-weight:650}.consent{display:flex;align-items:flex-start;gap:10px;margin-top:19px;line-height:1.5;font-weight:500}.consent input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--blue);flex:0 0 auto}.consent span{font-size:12px;color:#4e6178}

/* Pilihan ganda: kartu pilihan yang nyaman di layar sentuh */
.choice-field{border:0;padding:0;margin:0;min-width:0}.choice-field legend{font-size:13px;font-weight:750;color:#24364b;margin-bottom:12px}.choice-option{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #cfd9e7;border-radius:12px;margin:10px 0;cursor:pointer;background:#fff}.choice-option:has(input:checked){border-color:var(--blue);background:#f0f6ff;box-shadow:0 0 0 2px #1769d214}.choice-option input[type=radio]{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:var(--blue)}.choice-number{width:34px;height:34px;flex:0 0 34px;border-radius:10px;display:grid;place-items:center;background:#e8f1ff;color:var(--dark);font-weight:800}.choice-copy{font-size:14px;color:#24364b}.choice-option:has(input:checked) .choice-number{background:var(--blue);color:white}.step-dots span{flex:0 0 25px}

.review-details div.total-score{background:#edf5ff;margin:0 -13px;padding:14px 13px;border-radius:8px}.review-details div.total-score span,.review-details div.total-score strong{color:#1457a6;font-weight:800}

.upload-card{border:1px solid #d9e4f2;border-radius:14px;padding:15px;margin:14px 0;background:#fbfdff}.upload-title{display:flex;align-items:center;gap:12px}.upload-icon{width:48px;height:42px;display:grid;place-items:center;flex:0 0 48px;border-radius:10px;background:#e8f1ff;color:#1457a6;font-weight:850;font-size:13px;border:1px solid #c8dcf8}.upload-title h3{margin:0;font-size:15px}.upload-title p{margin:3px 0 0;font-size:12px;color:var(--muted)}.upload-drop{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin-top:14px;padding:17px 10px;border:1.5px dashed #9bb9df;border-radius:12px;background:white;text-align:center;color:var(--blue);cursor:pointer}.upload-drop input[type=file]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;opacity:0;box-shadow:none;max-width:100%}.upload-drop small{font-size:11px;color:var(--muted);font-weight:500}.upload-symbol{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e8f1ff;font-size:22px}.image-preview{margin-top:12px;text-align:center}.image-preview img{max-width:100%;max-height:260px;object-fit:contain;border:1px solid #dce4ef;border-radius:10px;background:white}.upload-status{font-size:12px;color:var(--muted);margin:8px 0 0}.upload-status.good{color:#177245}.upload-status.bad{color:#b42318;font-weight:750}

/* Kamera dokumen dengan bingkai dan penanda bagian penting */
.camera-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.camera-actions .btn{flex:1;min-width:135px}.camera-box{margin-top:12px;padding:10px;border:1px solid #cfd9e7;border-radius:12px;background:#f4f7fb}.camera-view{position:relative;width:100%;overflow:hidden;border-radius:9px;background:#101827;aspect-ratio:16/10;display:flex;align-items:center;justify-content:center}.camera-view video{width:100%;height:100%;object-fit:cover;display:block}.camera-guide{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;fill:none;stroke:#39f2a4;stroke-width:1.5;vector-effect:non-scaling-stroke}.camera-guide rect:first-child{stroke-width:2.5;stroke:#f5d547;fill:#f5d54708}.camera-guide text{fill:#fff;stroke:none;font-size:10px;font-weight:800;paint-order:stroke;stroke:#101827;stroke-width:2px;stroke-linejoin:round}.guide-ktp path{stroke:#39f2a4;stroke-dasharray:4 3}.guide-kk path{stroke:#39f2a4;stroke-dasharray:3 3}.camera-guide .guide-highlight{fill:#f5d54720;stroke:#f5d547;stroke-width:2}.guide-caption{margin:8px 2px 0;color:var(--muted);font-size:11px;line-height:1.45}.camera-box[hidden]{display:none}.upload-drop input[type=file]{cursor:pointer}

.camera-view-ktp{aspect-ratio:16/10}.camera-view-kk{aspect-ratio:3/4;max-width:420px;margin:0 auto}


/* Halaman konfirmasi pengajuan tersimpan */
.success-page{max-width:760px}.success-card{background:#fff;border:1px solid #e0e7ef;border-radius:22px;padding:clamp(18px,4vw,32px);box-shadow:0 12px 36px rgba(28,61,99,.07)}.success-brand{display:flex;align-items:center;gap:13px}.success-brand-icon{width:48px;height:48px;border-radius:13px;background:#e8f2ff;display:grid;place-items:center;flex:none}.success-brand-icon svg{width:32px;height:32px;fill:none;stroke:#2457a7;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.success-brand strong,.success-brand span{display:block}.success-brand strong{font-size:18px;color:#183b68}.success-brand span{font-size:13px;color:#64748b;margin-top:3px}.success-divider{height:1px;background:#e8edf3;margin:22px 0}.success-hero{text-align:center;padding:4px 0 18px}.success-check{width:76px;height:76px;margin:0 auto 14px}.success-check svg{width:100%;height:100%;fill:#e5f7eb;stroke:#168344;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.success-hero h1{font-size:clamp(23px,5vw,30px);color:#176b3a;margin:0 0 9px}.success-hero p{color:#475569;margin:0 auto 13px;max-width:480px;line-height:1.6}.success-status{display:inline-flex;align-items:center;gap:7px;background:#e5f7eb;color:#176b3a;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700}.success-status span{width:7px;height:7px;background:#168344;border-radius:50%}.success-code{background:#f1f6fd;border:1px solid #dce8f8;border-radius:14px;padding:15px;text-align:center;margin:4px 0 18px}.success-code span{display:block;font-size:11px;letter-spacing:.09em;font-weight:800;color:#64748b;margin-bottom:6px}.success-code strong{display:block;font-size:clamp(19px,4vw,24px);color:#2457a7;letter-spacing:.04em;overflow-wrap:anywhere}.success-code p{margin:7px 0 0;font-size:12px;color:#64748b}.success-info{display:flex;align-items:flex-start;gap:12px;background:#f1f6fd;border-radius:14px;padding:16px;margin-bottom:23px}.info-icon{flex:none;width:36px;height:36px;border-radius:10px;background:#dceaff;color:#2457a7;display:grid;place-items:center;font-size:25px;font-weight:700}.success-info h2,.success-next-title{font-size:17px;color:#183b68;margin:0 0 7px}.success-info p,.success-step p{font-size:13px;line-height:1.65;color:#475569;margin:0}.success-next-title{margin:0 0 16px}.success-step{display:flex;align-items:flex-start;gap:12px;margin:0 0 19px}.success-step-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:none}.success-step-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.success-step-icon.blue{background:#e8f2ff;color:#2457a7}.success-step-icon.green{background:#e5f7eb;color:#168344}.success-step h3{font-size:14px;color:#183b68;margin:2px 0 6px}.pandawa-row{display:flex;align-items:center;gap:11px;margin-top:12px}.pandawa-whatsapp{display:grid;place-items:center;flex:none;width:48px;height:48px;background:#25d366;border-radius:50%;color:#fff;transition:transform .15s}.pandawa-whatsapp:active{transform:scale(.96)}.pandawa-whatsapp svg{width:30px;height:30px;fill:currentColor}.pandawa-row strong,.pandawa-row span{display:block}.pandawa-row strong{font-size:13px;color:#166534}.pandawa-row span{font-size:11px;color:#64748b;line-height:1.5;margin-top:3px}.success-disclaimer{border-top:1px solid #e8edf3;padding-top:16px;margin:21px 0 0;color:#64748b;font-size:12px;line-height:1.6}.success-home{display:flex;justify-content:center;text-decoration:none;margin-top:17px;padding:13px 16px;border-radius:12px}.success-card .success-home{color:#fff}@media(max-width:480px){.success-card{border-radius:17px;padding:17px}.success-divider{margin:18px 0}.success-info{padding:13px}.success-step{gap:10px}.pandawa-row strong{font-size:12px}}
