:root{--navy:#17233f;--blue:#1587ff;--text:#1d2940;--muted:#667085;--line:#d7dce5;--bg:#eef1f6}
*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--navy);color:var(--text)}
.shell{min-height:100vh;padding:22px 18px 40px}.topbar{max-width:850px;margin:0 auto 18px;color:white;display:flex;justify-content:space-between;align-items:center}.brand{font-size:22px;font-weight:800;letter-spacing:-.5px}.brand span{font-weight:500}.step{font-size:14px;opacity:.8}
.card{max-width:850px;margin:auto;background:#fff;border-radius:10px;padding:34px 34px 38px;box-shadow:0 20px 50px rgba(0,0,0,.18)}.progress{height:5px;background:#edf0f5;border-radius:5px;overflow:hidden;margin-bottom:34px}.progress div{height:100%;width:25%;background:var(--blue);transition:.25s}
.screen{display:none}.screen.active{display:block}h1{font-size:30px;line-height:1.15;margin:0 0 10px;letter-spacing:-.6px}.lead{color:var(--muted);font-size:17px;margin:0 0 30px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{margin-bottom:22px}.field.full{grid-column:1/-1}label{display:block;font-weight:650;font-size:15px;margin-bottom:9px}input{width:100%;height:54px;border:2px solid #bfc5cf;border-radius:7px;padding:0 15px;font-size:17px;outline:none}input:focus{border-color:var(--blue)}.money{position:relative}.money span{position:absolute;left:16px;top:14px;font-size:19px}.money input{padding-left:34px}
.choices{display:flex;gap:10px;flex-wrap:wrap}.choices.wrap button{flex:1 1 30%;min-width:140px}.choices button{background:#fff;border:2px solid #9da5b1;border-radius:7px;padding:14px 22px;font-weight:650;font-size:16px;cursor:pointer}.choices button.selected{background:var(--navy);color:#fff;border-color:var(--navy)}
.primary,.secondary{border:0;border-radius:7px;height:56px;padding:0 28px;font-size:17px;font-weight:750;cursor:pointer}.primary{background:var(--blue);color:white;width:100%}.primary:disabled{opacity:.55;cursor:not-allowed}.secondary{background:#fff;color:var(--text);border:2px solid #aab2be}.buttons{display:flex;gap:14px;margin-top:12px}.buttons .secondary{width:130px}.buttons .primary{flex:1}
.captureCard{border:2px solid #d9dee7;border-radius:12px;padding:18px;margin:14px 0;background:#fff}.captureTop{display:flex;align-items:center;gap:14px}.captureIcon{width:54px;height:54px;border-radius:12px;background:#edf4ff;display:grid;place-items:center;font-size:28px;flex:none}.captureCard h2{font-size:18px;margin:0 0 4px}.captureCard p{margin:0;color:var(--muted);font-size:14px}.captureButton{margin-top:16px;width:100%;height:50px;border:2px solid #9aa7b7;background:#f2f6fb;border-radius:7px;font-size:16px;font-weight:750;cursor:pointer;color:var(--text)}.captureButton:hover{background:#e8f0fa}.previewRow{margin-top:12px;min-height:0}.mediaPreview{display:block;width:100%;max-height:300px;object-fit:contain;border-radius:9px;background:#0d111a}.captureStatus{text-align:center;margin-top:10px;padding:10px 12px;border-radius:8px;background:#20283a;color:#c9d2e2;font-weight:700;font-size:14px}.captureStatus.success{background:#123d2d;color:#8ff0bd}.captureStatus.recording{background:#5b161b;color:#fff}.captureStatus.error{background:#4a1717;color:#ffb4ab}.captureMeta{margin-top:9px;padding:9px 11px;border-radius:7px;font-size:13px;font-weight:700}.captureMeta.success{background:#edf9f2;color:#087443}.recordingBadge{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:12px;color:#fff;font-weight:900;letter-spacing:.5px}.recordingBadge span{width:11px;height:11px;border-radius:50%;background:#ff3b30;box-shadow:0 0 0 5px rgba(255,59,48,.15);animation:recordPulse 1s infinite}@keyframes recordPulse{0%,100%{opacity:1}50%{opacity:.35}}.videoTimer{text-align:center;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:10px;font-weight:700}.consent{font-weight:500;margin:22px 0;display:flex;gap:10px;align-items:flex-start}.consent input{width:20px;height:20px;flex:none}
.status{margin-top:15px;text-align:center;font-size:14px}.status.error{color:#b42318}.status.ok{color:#067647}.complete{text-align:center;padding:55px 10px}.check{margin:auto auto 20px;width:72px;height:72px;border-radius:50%;background:#18a36b;color:#fff;display:grid;place-items:center;font-size:40px}.complete p{color:var(--muted);font-size:17px}
.cameraModal{position:fixed;inset:0;background:rgba(4,8,18,.82);display:none;z-index:1000;padding:18px;align-items:center;justify-content:center}.cameraModal.open{display:flex}.cameraPanel{width:min(720px,100%);background:#151b29;color:#fff;border-radius:18px;padding:16px;box-shadow:0 25px 80px rgba(0,0,0,.45)}.cameraHeader{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.cameraHeader strong{display:block;font-size:20px}.cameraHeader span{display:block;color:#b8c0cf;font-size:13px;margin-top:4px}.closeCamera{width:40px;height:40px;border:0;border-radius:50%;background:#252d3d;color:#fff;font-size:27px;cursor:pointer}.cameraPanel video{width:100%;aspect-ratio:16/10;object-fit:cover;background:#05070b;border-radius:12px}.cameraControls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.cameraControls .secondary{height:46px;padding:0 15px;background:#252d3d;color:#fff;border-color:#4a556b}.shutter{width:72px;height:72px;border-radius:50%;border:7px solid #fff;background:#fff;color:#fff;box-shadow:inset 0 0 0 4px #d8deea;font-size:0;cursor:pointer}.recordControls{display:flex;justify-content:center;margin-top:12px}.record{height:50px;padding:0 24px;border:0;border-radius:25px;background:#e53935;color:#fff;font-weight:800;font-size:16px;cursor:pointer}.cameraNotice{text-align:center;color:#98a2b3;font-size:12px;margin:12px 0 2px}
@media(max-width:650px){.shell{padding:12px 10px 25px}.card{padding:25px 18px 28px;border-radius:8px}.grid{grid-template-columns:1fr}.field.full{grid-column:auto}h1{font-size:25px}.lead{font-size:15px}.choices button{flex:1}.choices.wrap button{min-width:0}.buttons .secondary{width:100px}.topbar{padding:0 4px}.cameraModal{padding:8px}.cameraPanel{border-radius:14px;padding:12px}.cameraPanel video{aspect-ratio:3/4;object-fit:cover}.cameraControls .secondary{font-size:13px;padding:0 10px}.shutter{width:64px;height:64px}}

/* Document and face icons */
.cardIcon span{display:block;width:30px;height:22px;border:2px solid #4b78b7;border-radius:4px;position:relative;background:#fff}
.cardIcon span:before{content:"";position:absolute;left:3px;top:4px;width:7px;height:7px;border:1.5px solid #4b78b7;border-radius:50%}
.cardIcon span:after{content:"";position:absolute;left:13px;right:3px;bottom:4px;height:2px;background:#4b78b7;box-shadow:0 -5px 0 #4b78b7}
.faceIcon span{display:block;width:25px;height:30px;border:2px solid #4b78b7;border-radius:13px 13px 10px 10px;position:relative;background:#fff}
.faceIcon span:before{content:"";position:absolute;left:5px;top:7px;width:3px;height:3px;background:#4b78b7;border-radius:50%;box-shadow:10px 0 0 #4b78b7}
.faceIcon span:after{content:"";position:absolute;left:6px;bottom:5px;width:9px;height:4px;border-bottom:2px solid #4b78b7;border-radius:0 0 8px 8px}

/* Validation feedback */
input.invalid{border-color:#d92d20!important;background:#fff7f6;box-shadow:0 0 0 1px #d92d20}
.choices.invalid{padding:8px;border:2px solid #d92d20;border-radius:9px;background:#fff7f6}
.consent.invalid{color:#b42318}
.consent.invalid input{outline:2px solid #d92d20}
input::placeholder{color:#98a2b3;opacity:1}

/* Classic face silhouette icon */
.faceIcon span{width:32px;height:34px;border:0;border-radius:0;background:transparent;position:relative}
.faceIcon span:before{content:"";position:absolute;left:7px;top:2px;width:18px;height:18px;border:2px solid #4b78b7;border-radius:50%;background:#fff}
.faceIcon span:after{content:"";position:absolute;left:2px;bottom:0;width:28px;height:15px;border:2px solid #4b78b7;border-radius:18px 18px 5px 5px;background:#fff}


/* Address section */
.addressBlock{margin-top:28px;padding-top:24px;border-top:1px solid #e3e7ee}.subheading{font-size:20px;margin:0 0 16px;letter-spacing:-.2px}.addressHint{color:var(--muted);font-size:14px;margin:-6px 0 18px}.previousAddressBlock{margin-top:24px;padding:20px;border:1px solid #d9dee7;border-radius:10px;background:#fafbfd}.previousAddressBlock[hidden]{display:none}.addressGrid{gap:18px}.addressGrid .field{margin-bottom:18px}

.fileButton{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;border-radius:12px;background:#111827;color:#fff;font-weight:700;cursor:pointer;margin-top:8px}.fileButton:hover{opacity:.92}.fileName{margin-top:10px;font-size:14px;color:#667085;word-break:break-word}.bankIcon{position:relative}.bankIcon:before{content:'£';font-weight:800;font-size:20px}.bankIcon span{display:none}.bankCard .captureTop{align-items:flex-start}
input.invalid{border-color:#e5484d!important;box-shadow:0 0 0 3px rgba(229,72,77,.12)}
