.workspace .onboarding-page:has(#signup-wizard){max-width:1120px;margin:auto}.workspace main:has(#signup-wizard){min-height:0;padding-top:0}.workspace .onboarding-page:has(#signup-wizard)>section{padding:0;background:none;box-shadow:none}.workspace .onboarding-page:has(#signup-wizard) h1{font-size:36px}.workspace #signup-wizard{display:block;margin:0}.workspace #signup-wizard [hidden]{display:none!important}.wizard-progress{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:12px 0 28px;padding:0}.wizard-progress li{display:flex;align-items:center;gap:10px;font-weight:800;color:#60728d}.wizard-progress li>span{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#eaf1fa;box-shadow:var(--clay-in);flex:none}.wizard-progress [aria-current=step]{color:#075988}.wizard-progress [aria-current=step]>span{background:#3db8f2;color:#092139;box-shadow:inset 3px 3px 8px #fff8,5px 7px 15px #3db8f244}.wizard-progress .complete>span{background:#8de3cf;color:#105b4b}.workspace #signup-wizard .wizard-step{padding:32px;border-radius:32px}.wizard-intro{max-width:720px;margin-bottom:26px}.workspace .wizard-intro h2{font-size:28px;line-height:1.25}.wizard-intro p{margin:8px 0}.capture-layout,.scan-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(300px,1.2fr);gap:40px;align-items:start}.portrait-frame{position:relative;aspect-ratio:4/5;max-width:350px;margin:auto;border-radius:28px;overflow:hidden;background:linear-gradient(145deg,#c8ddeb,#edf5fc);box-shadow:var(--clay-in);border:5px solid #fff}.portrait-frame canvas,.portrait-frame video{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.portrait-guide{position:absolute;inset:0;pointer-events:none}.head-guide{position:absolute;left:26%;top:12%;width:48%;height:43%;border:2px dashed #ffffffd9;border-radius:48%;box-shadow:0 0 0 1px #25507533}.shoulder-guide{position:absolute;left:8%;bottom:-12%;width:84%;height:54%;border:2px dashed #ffffffd9;border-radius:50% 50% 0 0}.eye-guide{position:absolute;top:31%;left:28%;right:28%;border-top:1px dashed #fff9}.frame-caption{position:absolute;bottom:12px;left:10px;right:10px;text-align:center;padding:6px;background:#123451d9;color:#fff;border-radius:12px;font-size:12px;font-weight:700}.workspace .capture-tools h3{margin:0 0 10px;font-size:19px}.capture-tools ul{padding-left:20px;color:#4a6285;line-height:1.8}.workspace #signup-wizard .action-bar{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.workspace #signup-wizard .file-button{position:relative;overflow:hidden;text-transform:none;cursor:pointer;min-height:46px;letter-spacing:0}.file-button input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.file-button:focus-within{outline:3px solid #056898;outline-offset:3px}.workspace #signup-wizard input[type=range]{width:100%;box-shadow:none;padding:0;min-height:24px;accent-color:#1599d3;background:none}.workspace #crop-controls{padding:18px;margin:18px 0;background:#eaf1fa;border-radius:20px}.workspace #signup-wizard .check-label{display:flex;align-items:flex-start;gap:10px;line-height:1.55;font-size:13px;font-weight:700;color:#334d70}.workspace #signup-wizard input[type=checkbox],.workspace #signup-wizard input[type=radio]{width:18px;height:18px;min-width:18px;margin-top:2px;padding:0;flex:none}.ai-consent{margin:20px 0 10px}.wizard-note{padding:16px 20px;border-radius:18px;background:#e6f3fc;color:#315474;line-height:1.6}.business-card-frame{aspect-ratio:1.6;border:2px dashed #8faac3;border-radius:24px;background:#eaf1fa;display:grid;place-items:center;overflow:hidden;text-align:center;padding:12px}.business-card-frame img{width:100%;height:100%;object-fit:contain;max-height:300px}.business-card-frame p{font-size:13px;margin:5px}.business-card-frame h3{margin:4px}.card-outline{font-size:46px;color:#6495b9}.wizard-navigation{display:flex;align-items:center;gap:16px;margin:26px 0 0}.wizard-navigation>span{margin-right:auto;color:#4a6285;font-weight:700}.workspace #wizard-error{padding:16px 20px;background:#fff0ee;color:#862e26;border-radius:18px;margin:0 0 20px}.workspace #wizard-busy{min-height:24px;text-align:right}.workspace #signup-wizard fieldset{background:none;box-shadow:none;border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:20px}.workspace #signup-wizard legend{font-size:18px;font-weight:900;margin:0 0 18px}.workspace #signup-wizard .phone-fields,.workspace #signup-wizard .arabic-fields{grid-column:1/-1}.workspace #signup-wizard .language-options{display:flex;flex-wrap:wrap;margin:26px 0}.workspace #signup-wizard .language-options legend{width:100%}.workspace #signup-wizard input{max-width:100%;min-width:0}.workspace #signup-wizard input[name^=ar_]{direction:rtl}.workspace #signup-wizard .onboarding-security{margin:30px 0}.review-layout{display:grid;grid-template-columns:260px 1fr;gap:36px}.signup-card-preview{align-self:start;background:#061530;color:#fff;border-radius:26px;overflow:hidden;box-shadow:var(--clay-shadow)}.signup-card-preview>img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}.signup-card-preview>div{padding:18px}.workspace .signup-card-preview p{color:#9cddfa;margin:4px 0;font-size:14px}.signup-card-preview h3{margin:0 0 6px;font-size:20px;overflow-wrap:anywhere}.photo-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:300px}.photo-choices label{background:#eaf1fa;border-radius:16px;padding:10px;cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;gap:7px}.photo-choices img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:10px}.photo-choices label:has(input:checked){outline:2px solid #1599d3}.workspace #signup-wizard .billing-facts{padding:0;margin:20px 0;border:0}.workspace #signup-wizard .billing-facts>div{display:flex;justify-content:space-between;gap:18px;padding:8px 0}.workspace #signup-wizard dd{margin:0;text-align:right;overflow-wrap:anywhere}.workspace #signup-wizard button:disabled{opacity:.5;cursor:wait}.workspace #signup-wizard label{min-width:0}
@media(max-width:750px){.wizard-progress{gap:5px}.wizard-progress li{flex-direction:column;gap:5px;font-size:10px;text-align:center}.wizard-progress li>span{width:30px;height:30px}.workspace #signup-wizard .wizard-step{padding:22px}.capture-layout,.scan-layout,.review-layout{grid-template-columns:1fr;gap:24px}.portrait-frame{max-width:300px;width:100%}.workspace .wizard-intro h2{font-size:24px}.workspace .onboarding-page:has(#signup-wizard) h1{font-size:28px}.workspace #signup-wizard fieldset{grid-template-columns:1fr}.signup-card-preview{max-width:260px;margin:auto;width:100%}.wizard-navigation{gap:8px;flex-wrap:wrap}.wizard-navigation>span{font-size:12px}.workspace .wizard-navigation button{padding:0 15px;font-size:13px}.workspace #signup-wizard .phone-fields{grid-template-columns:1fr}.workspace #signup-wizard dd{max-width:65%}}
.workspace #signup-wizard{max-width:none;width:100%}.workspace #signup-wizard .file-button{flex:none;width:auto}
/* Keep the signup brand on the same content rail as the wizard. */
.workspace:has(#signup-wizard)>header{width:calc(100% - 56 * var(--s));max-width:1120px;margin-inline:auto;padding:28px 0;box-sizing:border-box}
.workspace:has(#signup-wizard)>header .product-logo img{width:111.05%;max-width:none;left:-5.52%}
.workspace #signup-wizard .signup-privacy{margin:0 0 24px}.workspace #signup-wizard .signup-privacy .form-note{margin:8px 0 0;font-size:12px}

.business-card-frame video{display:block;width:100%;height:100%;max-height:360px;object-fit:contain;border-radius:16px}.business-card-frame:has(video:not([hidden])){padding:6px;background:#102339}

.nevo-processing-status{display:flex;align-items:center;gap:14px;padding:14px 20px;margin:12px 0;border-radius:20px;background:#e0f3ff;color:#153754;font-weight:700}.nevo-processing-status .nevo-loading-symbol{width:64px;height:36px;flex:none}

.workspace .logo-capture-layout{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(300px,1.1fr);gap:24px;grid-column:1/-1;align-items:start}.workspace .logo-capture-layout .logo-frame{width:100%;margin:0;position:sticky;top:16px;background-color:#fff;background-image:linear-gradient(45deg,#dce5ef 25%,transparent 25%),linear-gradient(-45deg,#dce5ef 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dce5ef 75%),linear-gradient(-45deg,transparent 75%,#dce5ef 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.workspace .logo-capture-tools{min-width:0}.workspace .logo-capture-tools .logo-adjust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.workspace .logo-capture-tools .action-bar{grid-column:1/-1;margin-top:0!important}.workspace .logo-capture-tools input[type=range]{width:100%}@media(max-width:700px){.workspace .logo-capture-layout{grid-template-columns:1fr}.workspace .logo-capture-layout .logo-frame{position:relative;top:auto}}

.workspace .privacy-compact{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 18px}.workspace .privacy-compact .check-label{margin:0!important;font-size:13px}.workspace .privacy-compact>a,.workspace .privacy-more summary{font-size:12px;white-space:nowrap}.workspace details.privacy-more{padding:0;margin:0;background:none;box-shadow:none;border:0;border-radius:0}.workspace .privacy-more summary{cursor:pointer;color:#075988}.workspace .privacy-more[open]{flex-basis:100%}.workspace .privacy-more p{font-size:12px;line-height:1.6;margin:8px 0}@media(max-width:600px){.workspace .privacy-compact{gap:8px}.workspace .privacy-compact .check-label{flex-basis:100%}}
@media(min-width:601px){.workspace #signup-wizard .privacy-compact>.check-label,.workspace .logo-capture .privacy-compact>.check-label{flex:0 1 auto;width:auto}}

/* Camera mode is a single capture/cancel flow, without competing source controls. */
.workspace .camera-active #open-camera,.workspace .camera-active #business-camera,.workspace .camera-active .file-button,.workspace .camera-active #crop-controls,.workspace .camera-active #business-adjust,.workspace .camera-active .logo-adjust,.workspace .camera-active [data-logo="camera"],.workspace .camera-active [data-logo="find"],.workspace .camera-active #photo-choices{display:none!important}
.workspace .logo-capture.camera-active canvas{display:none}
.workspace .logo-capture.camera-active video{width:100%;height:100%;object-fit:contain}

.workspace #signup-wizard .review-layout{grid-template-columns:minmax(280px,340px) minmax(0,1fr);align-items:start}.signup-basic-preview{width:100%;max-width:340px;margin:auto;container-type:inline-size}.signup-basic-preview .digital-card{width:100%}.signup-basic-preview .dc-footer a{pointer-events:none}.signup-basic-preview .dc-brand img{object-fit:contain}.workspace #signup-wizard .review-layout #edit-details,.workspace #signup-wizard .review-layout #edit-photo,.workspace #signup-wizard .review-layout #edit-organisation{margin:5px;font-size:13px;padding:0 16px}.workspace #signup-wizard #photo-choices{margin-top:20px}@media(max-width:750px){.workspace #signup-wizard .review-layout{grid-template-columns:1fr}}

.workspace #signup-wizard #review-details{display:block}.workspace #signup-wizard #review-details>div{display:flex;justify-content:space-between;padding:9px 0}.workspace #signup-wizard #review-details dd{max-width:65%}.workspace #signup-wizard .signup-basic-preview .dc-basic{height:620px;display:grid;grid-template-rows:minmax(0,1.2fr) minmax(0,1fr);gap:14px}.workspace #signup-wizard .signup-basic-preview .dc-hero{height:100%;min-height:0;aspect-ratio:auto;border-width:9px;border-radius:30px}.workspace #signup-wizard .signup-basic-preview .dc-content{margin:0;padding:18px 14px;border-radius:28px;min-height:0;display:flex;flex-direction:column;justify-content:space-between}.workspace #signup-wizard .signup-basic-preview .dc-name{font-size:24px}.workspace #signup-wizard .signup-basic-preview .dc-title{font-size:14px;margin:4px 0}.workspace #signup-wizard .signup-basic-preview .dc-company{font-size:12px;margin:3px 0}.workspace #signup-wizard .signup-basic-preview .dc-actions{gap:8px;margin:10px 0}.workspace #signup-wizard .signup-basic-preview .dc-action-icon{width:44px;height:44px}.workspace #signup-wizard .signup-basic-preview .dc-action{font-size:10px}.workspace #signup-wizard .signup-basic-preview .dc-secondary-action{min-height:40px;font-size:13px}.workspace #signup-wizard .signup-basic-preview .dc-secondary{margin-top:6px}.workspace #signup-wizard .signup-basic-preview .dc-footer{font-size:9px;margin-top:12px;padding:0}.workspace #signup-wizard .signup-basic-preview .dc-brand{background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important}

.business-card-frame{position:relative}.business-card-frame>.nevo-processing-status{position:absolute;inset:0;z-index:4;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:rgba(226,240,251,.96);border-radius:inherit;text-align:center;padding:24px}.business-card-frame>.nevo-processing-status .nevo-loading-symbol{width:104px;height:58px}
/* The review logo uses the same transparent, corner-aligned placement as the card. */
.workspace #signup-wizard .signup-basic-preview .dc-brand{top:0!important;left:0!important;right:auto!important;margin:0!important;padding:0!important;display:block;aspect-ratio:auto;height:auto;background:transparent!important;border:0!important;box-shadow:none!important}
.workspace #signup-wizard .signup-basic-preview #review-logo{display:block;width:100%;height:auto;max-width:100%;margin:0;padding:0;object-fit:contain;object-position:left top;background:transparent;border:0;border-radius:0;box-shadow:none}

/* Show the complete optical camera frame without a cover crop. */
.portrait-frame video{object-fit:contain!important;background:#eaf1fa;transform:none}
.portrait-frame:has(video:not([hidden])) .portrait-guide{opacity:.6}
#business-side-front[aria-pressed=true],#business-side-back[aria-pressed=true]{outline:3px solid #087eb5;outline-offset:2px}
@media(max-width:600px){.portrait-frame{max-height:55svh;width:min(100%,350px)}.capture-layout,.scan-layout{gap:18px}.business-card-frame{min-width:0}}
@media(max-width:700px){
.workspace #signup-wizard .wizard-step.camera-active{position:fixed;inset:0;z-index:1000;margin:0;padding:16px;border-radius:0;background:#eaf1fa;overflow:auto;overscroll-behavior:contain}
.wizard-step.camera-active .wizard-intro,.wizard-step.camera-active .capture-tools>h3,.wizard-step.camera-active .capture-tools>ul,.wizard-step.camera-active .scan-layout>div>h3,.wizard-step.camera-active #manual-entry,.wizard-step.camera-active .form-note,.wizard-step.camera-active [aria-label="Visiting card side"]{display:none!important}
.wizard-step.camera-active .capture-layout,.wizard-step.camera-active .scan-layout{display:flex;flex-direction:column;align-items:center;gap:12px;height:100%;justify-content:center}
.wizard-step.camera-active .portrait-frame{height:min(64svh,480px);width:auto;max-height:none;aspect-ratio:4/5}
.wizard-step.camera-active .capture-tools{width:100%;text-align:center}
.wizard-step.camera-active #take-photo,.wizard-step.camera-active #stop-camera{display:inline-flex;margin:8px;min-width:120px}
.wizard-step.camera-active .business-card-frame{width:100%;height:60svh;aspect-ratio:auto;box-sizing:border-box}
.wizard-step.camera-active #business-camera-actions{justify-content:center}
}
