@font-face{font-family:CaptureSans;src:url('/assets/capture-font-normal.otf') format('opentype');font-weight:400;font-display:swap}
@font-face{font-family:CaptureSans;src:url('/assets/capture-font-medium.otf') format('opentype');font-weight:500;font-display:swap}
@font-face{font-family:CaptureSans;src:url('/assets/capture-font-bold.otf') format('opentype');font-weight:700;font-display:swap}
:root{font-family:CaptureSans,Arial,sans-serif;font-size:16px;color:#d6d6d6;--accent:#eb1700;--pale:#313131;--ink:#eb1700;--muted:#b6b6b6;color-scheme:dark}
*{box-sizing:border-box}body{margin:0;background:#101010;min-height:100dvh;padding:50px 16px}button,input,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default;opacity:.5}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ff8c7c;outline-offset:4px}[hidden]{display:none!important}
.panel{position:relative;background:#191919;border-radius:16px;overflow:hidden;width:100%;max-width:400px;min-height:760px;margin:0 auto;display:flex;flex-direction:column;box-shadow:0 4px 18px #0005}.nav{height:72px;flex-shrink:0;padding:16px 20px;display:flex;align-items:flex-start}.back-button{width:32px;height:32px;padding:8px;background:#313131;border:0;border-radius:4px;display:grid;place-items:center}.back-button .icon{width:8px;height:14px}.body{padding:0 24px 24px;flex:1;display:flex;flex-direction:column}.body h1,.tips-sheet h1{font-size:24px;line-height:28px;font-weight:700;color:#fff;letter-spacing:-.25px;margin:0 0 16px}.description{font-size:16px;line-height:22px;margin:0 0 20px}.icon{width:24px;height:24px;display:block;flex-shrink:0}.id-art{width:100px;height:64px;display:block;object-fit:contain}.intro-art{height:160px;border-radius:8px;background:var(--pale);display:grid;place-items:center;flex-shrink:0}.intro-actions{margin-top:40px!important}.primary,.secondary{width:100%;height:48px;padding:10px 16px;border:2px solid var(--accent);border-radius:30px;line-height:24px;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px}.primary{background:var(--accent);color:#fff}.secondary{background:#313131;border-color:#555;color:#f4f4f6}.actions{display:grid;gap:16px;margin-top:24px}.small{font-size:12px;line-height:18px;color:var(--muted)}footer{padding:4px 12px;text-align:center;font-size:8px;line-height:8px;color:#a3a3a3;flex-shrink:0}.choices{margin:8px -24px 24px;border-top:1px solid #454545}.choice{display:flex;width:100%;gap:16px;align-items:center;text-align:left;background:#191919;color:#d6d6d6;border:0;border-bottom:1px solid #454545;padding:16px 24px;min-height:80px}.choice:hover{background:var(--pale)}.choice .id-art{width:38px;height:32px}.choice .mode-icon{width:38px;height:32px}.choice span{display:flex;flex:1;flex-direction:column;gap:2px}.choice strong{font-size:18px;font-weight:700;color:#fff}.choice small{font-size:12px;color:#b6b6b6}.chevron{width:8px;height:14px;transform:rotate(180deg)}.consent{font-size:13px;line-height:20px;display:flex;gap:12px;margin-top:8px}.consent input{accent-color:var(--accent);width:18px;height:18px;flex-shrink:0;margin:2px 0}.privacy{margin-top:16px}.error{background:#fff1ee;border:1px solid #edc0b6;color:#8b3424;border-radius:4px;padding:12px;font-size:13px;line-height:20px;margin:16px 0;overflow-wrap:anywhere}.file-input,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.busy{opacity:.65;pointer-events:none}
/* Capture chrome follows the supplied mobile reference, excluding Safari UI. */
.dark{background:#191919;color:white;min-height:760px}.dark .nav{padding:16px 20px}.dark .back-button,.selfie-screen .back-button{background:transparent}.dark .back-button .icon{filter:brightness(0) invert(1)}.dark .body{padding:0 24px 24px}.autocapture{position:absolute;top:20px;left:50%;transform:translateX(-50%);border-radius:30px;white-space:nowrap;padding:4px 8px;background:#262626;color:#fff;font-size:12px;line-height:18px;display:flex;gap:4px;align-items:center}.autocapture span{width:6px;height:6px;border-radius:50%;background:currentColor}.autocapture.paused{opacity:.45}.capture-stage{margin-top:56px}.capture-instruction{font-size:14px;line-height:20px;text-align:center;background:#262626;color:#fff;border-radius:4px;padding:9px 12px;margin:0 0 16px}.document-card{border:2px solid #9194a6;border-radius:12px;overflow:hidden;background:#313131}.camera{position:relative;width:100%;aspect-ratio:3/2;background:#151515;overflow:hidden}.camera video,.camera>img{width:100%;height:100%;object-fit:cover;display:block}.guide{position:absolute;inset:12px;pointer-events:none;color:#fff}.guide i{position:absolute;width:13px;height:13px;border-style:solid;border-color:currentColor}.guide i:nth-child(1){left:0;top:0;border-width:2px 0 0 2px;border-radius:5px 0 0}.guide i:nth-child(2){right:0;top:0;border-width:2px 2px 0 0;border-radius:0 5px 0 0}.guide i:nth-child(3){left:0;bottom:0;border-width:0 0 2px 2px;border-radius:0 0 0 5px}.guide i:nth-child(4){right:0;bottom:0;border-width:0 2px 2px 0;border-radius:0 0 5px}.camera.ready .guide{color:#a0efd0}.camera-status{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:max-content;max-width:88%;padding:9px 16px;border-radius:4px;background:#0009;color:white;font-size:14px;line-height:20px;text-align:center}.card-label{height:52px;display:flex;gap:12px;align-items:center;padding:10px 12px;color:#f4f4f6;background:#313131;border-radius:4px 4px 0 0;font-size:14px;line-height:20px}.card-label .id-art{width:40px;height:28px}.tips-button{display:flex;align-items:center;gap:5px;justify-content:center;margin:26px auto 0;padding:0;background:none;border:0;color:white;font-size:14px;line-height:22px}.tips-button .icon{width:16px;height:16px;filter:invert(1)}.capture-tools{margin-top:auto;min-height:100px;display:flex;align-items:flex-end;justify-content:flex-end;gap:16px;padding:16px 8px 34px}.capture-tools button,.selfie-control-row>button:not(.shutter){background:none;border:0;padding:4px}.capture-tools .icon{filter:invert(1)}.capture-tools button[aria-pressed=true]{background:#666;border-radius:4px}.dark .camera-errors .secondary{border-color:#fff;color:#fff;border-radius:30px}.dark .error{background:#2e1e1b;color:#ffd6cd;border-color:#6d4036}.review-stage{margin-top:30px}.review-actions{display:grid;gap:16px;margin-top:auto;padding:70px 0 2px}.review-actions .primary,.review-actions .secondary{border-color:white;border-radius:999px;font-size:16px;height:48px}.review-actions .primary{color:#fff;background:var(--accent);border-color:var(--accent)}.review-actions .secondary{color:#fff;border-color:#555}.dark footer{color:#a3a3a3}
.tips-sheet{position:fixed;inset:auto 4px 16px;max-height:calc(100dvh - 32px);width:calc(100% - 8px);max-width:432px;margin:0 auto;padding:36px 24px 32px;background:#191919;color:#d6d6d6;border:0;border-radius:12px 12px 3px 3px;overflow:auto;font-family:CaptureSans,Arial,sans-serif}.tips-sheet::backdrop{background:#000c}.sheet-handle{position:absolute;top:8px;left:50%;transform:translateX(-50%);height:4px;width:60px;background:#6a6d81;border-radius:4px}.tips-sheet>p{font-size:16px;line-height:24px;margin:16px 0}.tips-art{position:relative;width:160px;height:112px;margin:20px auto 16px;display:grid;place-items:center}.tips-art .id-art{width:134px;height:84px}.tips-art .guide{inset:0;color:var(--ink)}.tips-sheet ul{font-size:16px;line-height:24px;margin:16px 0 18px;padding-left:24px}.tips-sheet li{padding-left:0;margin-bottom:14px}.tips-sheet li:last-child{margin-bottom:0}.tips-sheet .primary{margin-top:18px}.processing-art{position:relative;width:144px;height:88px;margin:76px auto 0;display:grid;place-items:center}.processing-art .id-art{width:124px;height:80px}.scan-band{position:absolute;left:0;right:0;top:32px;height:26px;border-radius:30px;border:2px solid var(--ink);background:#eb170040;animation:scan 2s ease-in-out infinite alternate}@keyframes scan{from{transform:translateY(-18px)}to{transform:translateY(18px)}}
.selfie-screen .body{padding:0 14px 24px}.selfie-screen .nav{height:72px}.selfie{aspect-ratio:4/3;background:#17171b}.selfie video{transform:scaleX(-1)}.selfie .guide{inset:10% 20%;border:2px solid white;border-radius:50%;}.selfie .guide i{display:none}.selfie.ready .guide{border-color:#a0efd0}.selfie .camera-status{border-radius:20px;font-size:12px;padding:8px 12px}.selfie-copy{padding:24px 16px 0}.selfie-copy h1{font-size:20px;line-height:30px;margin:0 0 16px}.selfie-copy p{font-size:14px;line-height:21px;margin:0}.selfie-controls{margin:30px 0 0}.selfie-auto{display:flex;align-items:center;justify-content:center;gap:3px;width:max-content;margin:auto;font-size:10px;line-height:14px;border-radius:20px;padding:4px 6px;background:#313131}.selfie-auto .icon{width:10px;height:10px;filter:brightness(0) invert(1)}.selfie-control-row{position:relative;display:flex;justify-content:center;align-items:center;min-height:76px}.selfie-control-row #torch{position:absolute;left:0}.selfie-control-row #switch-camera{position:absolute;right:0}.shutter{width:60px;height:60px;border-radius:50%;border:4px double white;background:#eb1700;box-shadow:0 0 0 1px #9194a6;opacity:1!important}.selfie-intro-icon{width:72px;height:72px}.preview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.preview-grid figure{margin:0}.preview-grid img{width:100%;height:150px;object-fit:cover;border-radius:4px}.preview-grid figcaption{font-size:12px;margin:6px 0}.save-location{font-family:monospace;background:#313131;overflow-wrap:anywhere;padding:14px;font-size:12px;line-height:20px}
@media(max-width:600px){body{padding:0;background:#191919}.panel{max-width:none;min-height:100dvh;box-shadow:none;border-radius:0}.dark-screen{background:#191919}.capture-stage{margin-top:clamp(24px,7.6dvh,64px)}.review-stage{margin-top:30px}.tips-sheet{max-width:none}.selfie-copy h1{font-size:20px;line-height:30px}}
@media(max-height:680px){.capture-stage{margin-top:20px}.review-actions{padding-top:30px}.capture-tools{min-height:70px;padding-bottom:12px}.tips-sheet{padding-top:30px;padding-bottom:24px}.tips-art{height:90px;margin:8px auto}.tips-sheet li{margin-bottom:8px}}
@media(prefers-reduced-motion:reduce){.scan-band{animation:none}}
#selfie-guide{position:absolute;inset:0;pointer-events:none;display:flex;align-items:center;justify-content:center}#selfie-guide svg{height:100%!important;width:auto!important;max-width:100%}.selfie .camera-status{z-index:1}

.document-next{margin-top:24px;background:var(--accent);border-color:var(--accent);color:#fff;border-radius:24px;min-height:48px;height:auto}.document-review-tabs{display:flex;gap:8px;margin-bottom:16px}.document-review-tabs button{flex:1;border:1px solid #777;border-radius:6px;background:transparent;color:#fff;padding:10px 5px;font:inherit;font-size:13px}.document-review-tabs button[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent)}

/* Shared tokens from the supplied dark template, with Identifier content. */
.panel.choose-screen .body>h1{font-size:32px;line-height:40px;letter-spacing:0;margin:24px 0}
.choose-screen .description{margin-bottom:28px}
.choose-screen .choices{margin-bottom:12px}
.choose-screen .choice{min-height:92px}
.choice .mode-icon,.choice .chevron,.back-button .icon{filter:brightness(0) invert(1)}
.id-art{filter:hue-rotate(110deg) saturate(2)}
.primary:hover,.document-next:hover{background:#d91400;border-color:#d91400}
.primary:active,.document-next:active{background:#ef4533;border-color:#ef4533}
.secondary:hover{background:#414141}
.choice:hover{background:#313131}
.privacy{border-top:1px solid #454545;padding-top:20px;margin-top:24px}
footer{font-size:10px;line-height:14px;padding:14px 16px 18px}
.panel .error{background:#321d22;color:#ffcedb;border-color:#854252}
.selfie-control-row .icon{filter:brightness(0) invert(1)}
.document-review-tabs button{border-radius:24px;font-weight:700}
.document-review-tabs button:hover{border-color:#b6b6b6}
.autocapture.paused{opacity:1;color:#d6d6d6}
@media(max-width:360px){.document-review-tabs{gap:4px}.document-review-tabs button{font-size:12px}.panel.choose-screen .body>h1{font-size:28px;line-height:36px}}
.choose-screen .choices{display:grid;gap:12px;margin:12px 0 24px;border:0}
.choose-screen .choice{border:0;border-radius:30px;padding:16px 22px;min-height:80px;background:#313131}
.choose-screen #dl{background:var(--accent)}
.choose-screen #dl:hover{background:#d91400}
.choose-screen #dl small{color:#fff}
.choose-screen #selfie:hover{background:#414141}

/* Source head artwork and orientation-aware document positioning guide. */
.choice .mode-icon{filter:none;width:38px;height:44px;object-fit:contain;background:#fff;border-radius:6px}
.camera>.document-overlay{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:.65;pointer-events:none}
.camera[data-facing="user"]>.document-overlay{transform:scaleX(-1)}
.document-card{border-color:#fff}
