.ktp-camera-dialog{width:min(100% - 24px,760px);max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:16px;overflow:auto;background:#fff;color:#172b37}
.ktp-camera-dialog::backdrop{background:rgba(10,20,30,.78)}
.ktp-camera-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px}
.ktp-camera-heading h2{margin:0;font-size:18px;font-weight:650;line-height:1.4}
.ktp-camera-heading button{flex:none;min-width:44px;min-height:44px;border:1px solid #d9e4e4;border-radius:8px;background:#fff;color:inherit;font-size:28px}
.ktp-camera-stage{height:min(58dvh,420px);min-height:180px;position:relative;overflow:hidden;background:#101a20}
.ktp-camera-stage video{width:100%;height:100%;display:block;object-fit:cover}
.ktp-camera-guide{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(88%,calc(58dvh * 1.35),566px);aspect-ratio:8560/5398;border:2px solid #fff;border-radius:10px;box-shadow:0 0 0 100vmax rgba(0,0,0,.48);pointer-events:none}
.ktp-camera-status{padding:0 16px;margin:16px 0;line-height:1.6;font-size:14px}
.ktp-camera-actions{display:flex;flex-wrap:wrap;gap:10px;padding:0 16px 16px}
.ktp-camera-actions button{flex:1 1 180px;min-height:48px;padding:12px;border:1px solid #0e6d66;border-radius:10px;background:#fff;color:#0e6d66;font:inherit;font-weight:600}
.ktp-camera-actions button:first-child{background:#0e6d66;color:#fff}
.ktp-camera-actions button:disabled{opacity:.55;cursor:wait}
.ktp-camera-dialog button:focus-visible{outline:3px solid #0e6d66;outline-offset:3px}
[data-ktp-ocr-status][aria-busy=true]{color:#0e6d66}
#nik{font-variant-numeric:tabular-nums;letter-spacing:.08em}
@media(max-width:480px){.ktp-camera-heading h2{font-size:16px}.ktp-camera-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:12px}}
