.document-camera-dialog{--camera-ink:#062b52;--camera-muted:#61788b;--camera-line:#cbdce5;box-sizing:border-box;width:min(760px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;color:var(--camera-ink);font:inherit;border:1px solid var(--camera-line);border-radius:18px;background:#fff;box-shadow:0 24px 100px #071f3c38;overflow:auto;overscroll-behavior:contain}.document-camera-dialog::backdrop{background:#031728b8;backdrop-filter:blur(4px)}.document-camera-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.document-camera-header h2{font:inherit;font-weight:700;font-size:25px;line-height:1.25;margin:0}.document-camera-help,.document-camera-status{font-size:13px;line-height:1.75;color:var(--camera-muted);margin:0 0 16px}.document-camera-status{min-height:44px;margin:14px 0 10px}.document-camera-status[role=alert]{color:#963b2d}.document-camera-video{display:block;width:100%;max-height:min(52dvh,450px);aspect-ratio:16/10;object-fit:contain;background:#071f32;border:1px solid var(--camera-line);border-radius:12px}.document-camera-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;flex-wrap:wrap}.document-camera-dialog button{font:inherit;font-weight:700;font-size:13px;line-height:1.5;min-height:44px;padding:10px 16px;border-radius:8px;border:1px solid var(--camera-line);cursor:pointer;touch-action:manipulation}.document-camera-close,.document-camera-retry{background:#f2f7f9;color:var(--camera-ink)}.document-camera-close{min-width:82px;flex:none}.document-camera-capture{background:#00888d;color:#fff;border-color:#00888d!important}.document-camera-dialog button:hover:not(:disabled){filter:brightness(.95)}.document-camera-dialog button:focus-visible{outline:3px solid #3aa3b0;outline-offset:3px}.document-camera-dialog button:disabled{opacity:.45;cursor:not-allowed}.document-camera-dialog [hidden],.document-camera-backdrop[hidden]{display:none!important}.document-camera-backdrop{position:fixed;inset:0;z-index:9998;background:#031728b8}.document-camera-dialog.document-camera-fallback[open]{position:fixed;inset:0;margin:auto;z-index:9999}.document-camera-dialog:not([open]){display:none}@media(max-width:600px){.document-camera-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:18px 14px;border-radius:14px}.document-camera-header h2{font-size:21px}.document-camera-dialog button{font-size:16px;min-height:46px}.document-camera-actions{align-items:stretch;flex-direction:column}.document-camera-video{max-height:48dvh}.document-camera-help,.document-camera-status{font-size:13px}}@media print{.document-camera-dialog,.document-camera-backdrop{display:none!important}}
@media screen and (max-width:600px){
 .document-camera-dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px 14px;overscroll-behavior:contain;scroll-padding-block:18px}
 .document-camera-dialog h2{overflow-wrap:break-word}
 .document-camera-video{display:block;width:100%;min-width:0;height:auto;max-height:46dvh;object-fit:contain}
 .document-camera-actions{gap:10px;align-items:stretch}
 .document-camera-actions>button{width:100%;min-height:48px;font-size:16px;line-height:1.5;white-space:normal;padding:11px 14px}
 .document-camera-help,.document-camera-status{overflow-wrap:break-word}
}
