.live-capture{z-index:1200;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;background:#080e16e0;flex-direction:column;padding:20px 16px;font-family:Poppins,sans-serif;display:flex;position:fixed;inset:0;overflow-y:auto}.live-capture__window{flex-direction:column;gap:16px;width:100%;max-width:760px;margin:auto;display:flex}.live-capture__head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.live-capture__title{font-family:var(--font-heading);letter-spacing:-.02em;font-size:22px;font-weight:600}.live-capture__sub{color:#ffffffb3;margin-top:4px;font-size:14px}.live-capture__close{color:#fff;cursor:pointer;background:#ffffff1f;border:0;border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.live-capture__close:hover{background:#fff3}.live-capture__close:focus-visible{outline-offset:2px;outline:2px solid #fff}.live-capture__stage{--stage-max-h:max(220px, min(62vh, calc(100dvh - 290px)));width:min(100%, var(--stage-max-h) * var(--aspect,1.333));aspect-ratio:var(--aspect,1.333);background:#000;border-radius:24px;margin-inline:auto;position:relative;overflow:hidden}.live-capture__video,.live-capture__photo{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.live-capture__video{transform:scaleX(-1)}.live-capture__oval{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.live-capture__dim{fill:#00000073}.live-capture__ring{fill:none;stroke:#ffffffd9;stroke-width:3px;stroke-dasharray:10 7;vector-effect:non-scaling-stroke;transition:stroke .25s}.live-capture__oval--adjust .live-capture__ring{stroke:#f5b342}.live-capture__oval--ready .live-capture__ring{stroke:#22c55e;stroke-dasharray:none}.live-capture__instruction{text-align:center;white-space:nowrap;text-overflow:ellipsis;background:#0000009e;border-radius:100px;align-items:center;gap:8px;max-width:calc(100% - 28px);padding:9px 16px;font-size:15px;font-weight:500;transition:background-color .25s;display:inline-flex;position:absolute;top:14px;left:50%;overflow:hidden;transform:translate(-50%)}.live-capture__instruction--adjust{color:#ffe3a6;background:#3c2800b8}.live-capture__instruction--ready{color:#c8f7d6;background:#0a4623c7}.live-capture__count{font-family:var(--font-heading);color:#fff;text-shadow:0 4px 24px #00000080;pointer-events:none;font-size:96px;font-weight:700;position:absolute;top:50%;left:50%;translate:-50% -50%}.live-capture__flash{background:#fff;animation:.22s ease-out forwards live-capture-flash;position:absolute;inset:0}.live-capture__error{text-align:center;color:#ffffffe6;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;display:flex;position:absolute;inset:0}.live-capture__error p{max-width:42ch;font-size:15px;line-height:1.55}.live-capture__stage--message{aspect-ratio:auto;width:100%}.live-capture__stage--message .live-capture__error{min-height:300px;position:static}.live-capture__error-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.live-capture__checks{flex-wrap:wrap;justify-content:center;gap:8px;list-style:none;display:flex}.live-capture__check{color:#ffffffb3;background:#ffffff14;border-radius:100px;align-items:center;gap:8px;padding:6px 12px 6px 8px;font-size:13px;transition:background-color .2s,color .2s;display:inline-flex}.live-capture__check.is-ok{color:#c8f7d6;background:#22c55e29}.live-capture__check.is-off{color:#ffe3a6;background:#f5b34224}.live-capture__check-dot{border:1.5px solid;border-radius:50%;place-items:center;width:18px;height:18px;display:grid}.is-ok .live-capture__check-dot{color:#fff;background:#22c55e;border-color:#22c55e}.live-capture__controls{flex-direction:column;align-items:center;gap:12px;display:flex}.live-capture__tips{color:#fff9;text-align:center;font-size:13px}.live-capture__shutter{cursor:pointer;background:0 0;border:3px solid #ffffffd9;border-radius:50%;place-items:center;width:72px;height:72px;padding:5px;transition:border-color .2s;display:grid}.live-capture__shutter span{background:#fff;border-radius:50%;width:100%;height:100%;transition:transform .15s,background-color .2s}.live-capture__shutter:active:not(:disabled) span{transform:scale(.9)}.live-capture__shutter.is-ready{border-color:#22c55e}.live-capture__shutter:disabled{opacity:.4;cursor:not-allowed}.live-capture__shutter:focus-visible{outline-offset:3px;outline:2px solid #2b97f0}.live-capture__review{justify-content:center;gap:12px;display:flex}.live-capture__button{cursor:pointer;border-radius:100px;min-height:48px;padding:0 26px;font-family:inherit;font-size:15px;font-weight:500}.live-capture__button--light{color:#131313;background:#fff;border:0}.live-capture__button--ghost{color:#fff;background:0 0;border:1px solid #ffffff59}.live-capture__button:focus-visible{outline-offset:2px;outline:2px solid #2b97f0}.live-capture .sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@keyframes live-capture-flash{0%{opacity:.85}to{opacity:0}}@media (max-width:560px){.live-capture{padding:12px}.live-capture__instruction{white-space:normal;font-size:13.5px}.live-capture__stage{--stage-max-h:max(220px, calc(100dvh - 330px))}}@media (prefers-reduced-motion:reduce){.live-capture__flash{opacity:0;animation:none}}
