.mymex-bizscan{color:var(--tenant-ink,#102235);font-family:inherit;max-width:960px;margin:auto;padding:20px;box-sizing:border-box}.mymex-bizscan *, .mymex-bizscan *::before{box-sizing:border-box}.mymex-bizscan [hidden]{display:none!important}.mymex-bizscan .tenant-card{padding:24px;border:1px solid var(--tenant-line,#dce6ec);border-radius:24px;background:var(--tenant-surface,#fff)}.mymex-bizscan .tenant-button{padding:12px 18px;border:1px solid var(--tenant-line,#dce6ec);border-radius:20px;background:var(--tenant-surface,#fff);color:var(--tenant-ink,#102235);font:inherit;cursor:pointer;text-decoration:none}.mymex-bizscan .tenant-button-primary{background:var(--tenant-primary,#06324d);color:white}.mymex-bizscan .tenant-button:disabled{opacity:.5;cursor:default}.mymex-bizscan .bizscan-open{display:inline-flex;align-items:center;gap:12px}.bizscan-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:1px solid var(--tenant-line,#dce6ec);border-radius:24px;padding:20px;background:var(--tenant-surface,#fff);color:var(--tenant-ink,#102235);overflow:auto}.bizscan-dialog::backdrop{background:#071d32b3}.bizscan-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-20px;padding-block:8px;background:var(--tenant-surface,#fff);z-index:3}.bizscan-dialog h2{margin:0;font-size:1.4rem}.bizscan-camera{position:relative;width:100%;height:clamp(320px,56dvh,560px);overflow:hidden;border-radius:18px;background:#071d32;color:white}.bizscan-camera video{width:100%;height:100%;object-fit:cover}.bizscan-camera [data-camera-empty]{position:absolute;inset:40% 12%;text-align:center}.bizscan-frame{position:absolute;left:8%;top:50%;width:84%;aspect-ratio:1.6;transform:translateY(-50%);border:3px solid #d83b42;border-radius:14px;box-shadow:0 0 0 100vmax #0006;pointer-events:none}.bizscan-frame.is-ready{border-color:#168d58}.bizscan-frame::before{content:"";position:absolute;inset:0 0 auto;height:2px;background:#4bd8e3;animation:bizscan-beam 1.8s linear infinite}.bizscan-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.bizscan-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.bizscan-fields label{display:grid;gap:6px;min-width:0}.bizscan-fields input,.mymex-bizscan select{width:100%;min-width:0;border:1px solid var(--tenant-line,#cddde5);border-radius:12px;background:var(--tenant-surface,#fff);color:inherit;font:inherit;padding:12px}.bizscan-fields small{color:#9d391e}.bizscan-thumbnail{display:block;width:100%;max-height:45dvh;max-width:100%;object-fit:contain;margin:8px auto;border-radius:12px}.bizscan-permission{display:block;margin:18px 0}.bizscan-dialog [data-error]{color:#a32632}.bizscan-opening{animation:bizscan-glow .35s ease-out}.bizscan-flash{animation:bizscan-glow .2s ease-out}@keyframes bizscan-beam{from{top:3%}to{top:97%}}@keyframes bizscan-glow{50%{box-shadow:0 0 24px #23c5d8}}

@media(max-width:600px){.bizscan-dialog{margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:16px}.bizscan-dialog header{top:-16px}.bizscan-fields{grid-template-columns:1fr}.mymex-bizscan{padding:12px}.bizscan-camera{height:clamp(320px,52dvh,520px);border-radius:20px}.bizscan-frame{width:90%;height:auto;left:50%;transform:translate(-50%,-50%);max-width:90%}}

@media(prefers-reduced-motion:reduce){.bizscan-frame::before,.bizscan-opening,.bizscan-flash{animation:none}}

.mymex-bizscan .bizscan-interest,.mymex-bizscan .bizscan-industry{grid-column:1/-1;min-width:0}.mymex-bizscan .bizscan-industry{border:1px solid var(--tenant-line,#dce6ec);border-radius:16px;padding:14px}.mymex-bizscan .bizscan-industry summary{cursor:pointer;font-weight:600}.mymex-bizscan .bizscan-industry summary:focus-visible{outline:3px solid var(--tenant-secondary,#00a7e1);outline-offset:3px}



body.bizscan-public{margin:0;min-height:100dvh;background:var(--bizscan-page-bg,#edf3f8);color:var(--tenant-ink,#10223b);font-family:Arial,Helvetica,sans-serif;line-height:1.55}.bizscan-public .mymex-bizscan{padding-top:32px}.bizscan-frame{left:50%;transform:translate(-50%,-50%);width:min(84%,480px);height:auto}.bizscan-fields input:focus-visible,.mymex-bizscan button:focus-visible,.mymex-bizscan a:focus-visible{outline:3px solid var(--tenant-secondary,#00a7e1);outline-offset:3px}

.mymex-bizscan .bizscan-intro{padding:clamp(20px,4vw,40px);box-shadow:0 16px 48px #1022350a;background:linear-gradient(135deg,color-mix(in srgb,var(--tenant-secondary,#00a7e1) 5%,var(--tenant-surface,#fff)),var(--tenant-surface,#fff) 60%)}.bizscan-eyebrow{display:inline-block;color:var(--tenant-primary,#003478);font-size:.78rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.bizscan-intro h1{font-size:clamp(1.75rem,4vw,2.5rem);line-height:1.15;letter-spacing:-.025em;margin:12px 0}.bizscan-intro>p{line-height:1.6;max-width:640px}.bizscan-steps{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:12px 24px;margin:24px 0}.bizscan-steps li{display:flex;align-items:center;gap:8px;font-size:.88rem;font-weight:600}.bizscan-steps li>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:color-mix(in srgb,var(--tenant-secondary,#00a7e1) 12%,var(--tenant-surface,#fff));color:var(--tenant-primary,#003478)}.mymex-bizscan .bizscan-destination{padding:12px 14px;border:1px solid var(--tenant-line,#dce6ec);border-radius:14px;background:color-mix(in srgb,var(--tenant-secondary,#00a7e1) 4%,var(--tenant-surface,#fff));font-size:.9rem;overflow-wrap:anywhere}.bizscan-entry{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.mymex-bizscan .bizscan-choice{display:flex;align-items:center;gap:14px;text-align:left;padding:20px;border-radius:20px;box-shadow:0 4px 12px #10223505;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.bizscan-choice>span:nth-child(2){flex:1;min-width:0}.bizscan-choice strong,.bizscan-choice small{display:block}.bizscan-choice strong{font-size:1rem}.bizscan-choice small{font-size:.83rem;line-height:1.5;margin-top:5px;font-weight:400;opacity:.8}.bizscan-choice-icon{display:grid;place-items:center;flex:none;width:58px;height:58px;border-radius:16px;font-size:2rem;color:var(--tenant-primary,#003478);background:color-mix(in srgb,var(--tenant-secondary,#00a7e1) 9%,var(--tenant-surface,#fff))}.bizscan-choice-arrow{font-size:1.3rem;color:var(--tenant-primary,#003478)}.bizscan-dialog[open]{animation:bizscan-arrive .22s ease-out;box-shadow:0 24px 80px #071d3238}.bizscan-section-heading{grid-column:1/-1;margin-top:8px}.bizscan-section-heading h3{font-size:1.08rem;margin:0 0 5px}.bizscan-section-heading p{font-size:.88rem;margin:0 0 8px;opacity:.8}.bizscan-dialog [data-progress]{padding:12px 14px;border-radius:12px;background:color-mix(in srgb,var(--tenant-secondary,#00a7e1) 8%,var(--tenant-surface,#fff));font-size:.92rem;line-height:1.5}.bizscan-fields input,.mymex-bizscan select{transition:border-color .16s ease,box-shadow .16s ease}.bizscan-fields input:focus,.mymex-bizscan select:focus{border-color:var(--tenant-secondary,#00a7e1)}.bizscan-industry summary{line-height:1.6}.bizscan-permission{padding:14px;border:1px solid var(--tenant-line,#dce6ec);border-radius:14px;font-size:.85rem;line-height:1.6}.bizscan-dialog [data-error]:empty{display:none}.bizscan-dialog [data-error]:not(:empty){padding:12px 14px;border-radius:12px;background:#a326320a;border:1px solid #a3263226;line-height:1.5}.bizscan-success-icon{display:grid;place-items:center;width:64px;height:64px;margin:20px auto 12px;border-radius:50%;background:#168d5812;color:#168d58;font-size:2rem;animation:bizscan-arrive .25s ease-out}.bizscan-dialog [data-success]{text-align:center}.mymex-bizscan.is-busy [data-progress]::before{content:"";display:inline-block;width:14px;height:14px;margin-right:8px;vertical-align:-2px;border:2px solid var(--tenant-line,#dce6ec);border-top-color:var(--tenant-primary,#003478);border-radius:50%;animation:bizscan-spin .8s linear infinite}.bizscan-dialog [data-review]{animation:bizscan-arrive .2s ease-out}@keyframes bizscan-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes bizscan-spin{to{transform:rotate(360deg)}}

@media(hover:hover){.mymex-bizscan .bizscan-choice:hover{transform:translateY(-2px);border-color:var(--tenant-secondary,#00a7e1);box-shadow:0 12px 24px #1022350c}}

.bizscan-public .bizscan-brand-header{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:16px 20px;margin:0 0 20px;border:1px solid var(--tenant-line);border-radius:22px;background:var(--tenant-surface);box-shadow:var(--tenant-shadow)}.bizscan-public .bizscan-brand{display:inline-flex;align-items:center;gap:10px;min-width:0;color:var(--tenant-ink);font-size:22px;font-weight:800;letter-spacing:-.6px;text-decoration:none;line-height:1.2}.bizscan-brand img{display:block;flex:none;width:34px;height:34px;object-fit:contain}.bizscan-brand b{color:var(--tenant-secondary);font-weight:800}.bizscan-public [data-mymex-theme-toggle]{color:var(--tenant-ink);background:var(--tenant-surface);border-color:var(--tenant-line)}[data-mymex-theme="dark"] body.bizscan-public{--bizscan-page-bg:#06162f;--tenant-primary:#8cddff;--tenant-secondary:#00a7e1;--tenant-ink:#edf6ff;--tenant-muted:#b0c6d9;--tenant-line:#2a455e;--tenant-surface:#0c2239;--tenant-shadow:0 12px 36px #0003}[data-mymex-theme="dark"] .bizscan-public .tenant-button-primary{background:#003478;color:#fff}[data-mymex-theme="dark"] .bizscan-public .bizscan-fields small{color:#ffc58c}[data-mymex-theme="dark"] .bizscan-public .bizscan-dialog [data-error]{color:#ffb5bf}

@media(max-width:600px){.bizscan-entry{grid-template-columns:1fr}.mymex-bizscan .bizscan-choice{padding:16px}.bizscan-choice-icon{width:48px;height:48px}.bizscan-choice-icon img{width:40px;height:40px}.bizscan-steps{gap:10px 16px}.bizscan-steps li{font-size:.8rem}.bizscan-dialog header h2{font-size:1.2rem}}

@media(prefers-reduced-motion:reduce){.bizscan-dialog[open],.bizscan-dialog [data-review],.bizscan-success-icon,.mymex-bizscan.is-busy [data-progress]::before{animation:none}.mymex-bizscan .bizscan-choice,.bizscan-fields input,.mymex-bizscan select{transition:none}.mymex-bizscan .bizscan-choice:hover{transform:none}}



/* Spacious capture panel; controls remain directly below the camera. */

.bizscan-camera video{display:block;object-position:center}.bizscan-guidance{padding:12px 14px;border-radius:14px;background:color-mix(in srgb,var(--tenant-secondary,#00a7e1) 8%,var(--tenant-surface,#fff));font-size:.95rem;line-height:1.5;margin:12px 0}.bizscan-actions [data-manual]{flex:1;min-width:140px;min-height:52px;font-weight:700;background:var(--tenant-primary,#003478);color:#fff}.bizscan-dialog .bizscan-destination{margin:8px 0 14px}.bizscan-camera:has(video[src]) [data-camera-empty]{display:none}

[data-mymex-theme="dark"] .bizscan-public .bizscan-actions [data-manual]{background:#003478;color:#fff}

@media(max-width:600px){.bizscan-dialog header{padding-block:4px;min-height:48px}.bizscan-dialog .bizscan-destination{padding:8px 12px;font-size:.82rem;margin:4px 0 12px}.bizscan-actions{gap:8px}.bizscan-actions .tenant-button{padding:12px;font-size:.9rem}.bizscan-permission{font-size:.8rem}.bizscan-camera [data-camera-empty]{inset:40% 10%}.bizscan-entry .bizscan-choice{min-height:116px}}



/* Quick capture reuses the same scanner surface and MyMEX theme tokens. */

.mymex-bizscan.has-quick-popup>.bizscan-intro{display:none}

.bizscan-dialog [data-choice] .bizscan-entry{grid-template-columns:1fr;margin-top:12px}

.bizscan-dialog [data-choice] p{font-size:.94rem;line-height:1.5}

.bizscan-dialog [data-photo-read]{min-height:50px;width:100%;margin:8px 0}

.bizscan-dialog [data-intent]{width:100%;grid-column:1/-1;text-align:left;min-height:48px}

.bizscan-dialog [data-intent-fields]{grid-column:1/-1;min-width:0;margin:0;padding:14px;border:1px solid var(--tenant-line,#dce6ec);border-radius:16px}

.bizscan-dialog [data-more-contact]{grid-column:1/-1;border-top:1px solid var(--tenant-line,#dce6ec);padding-top:12px}

.bizscan-dialog [data-more-contact] summary{cursor:pointer;font-weight:600;margin-bottom:12px}

.bizscan-dialog .bizscan-permission input{width:18px;height:18px;vertical-align:middle;margin-right:6px}

.bizscan-dialog [data-review]>.bizscan-thumbnail{max-height:34dvh;margin-top:0}

.bizscan-dialog [data-review]:has([data-contact-review]:not([hidden]))>.bizscan-thumbnail{max-height:24dvh}

.bizscan-dialog [data-intent-fields]>.bizscan-industry{padding:0;border:0}

.bizscan-dialog [data-error]{position:sticky;bottom:0;z-index:4;background:var(--tenant-surface,#fff)}

body.bizscan-embedded .mymex-bizscan{max-width:none;padding:0}

body.bizscan-embedded .bizscan-brand-header{display:none}

body.bizscan-embedded .bizscan-dialog{display:block;position:static;width:100%;max-width:none;height:auto;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;overflow:visible;padding:16px}

body.bizscan-embedded .bizscan-dialog [data-close]{display:none}

@media(max-width:600px){.bizscan-dialog{height:auto;max-height:calc(100dvh - 16px);width:calc(100vw - 16px);margin:auto;border-radius:24px;padding:16px}.bizscan-camera{height:clamp(260px,45dvh,380px)}.bizscan-dialog [data-choice] .bizscan-choice{min-height:88px}.bizscan-dialog .bizscan-actions{margin:10px 0}.bizscan-dialog .bizscan-guidance{padding:9px 12px;font-size:.86rem}.bizscan-dialog [data-cancel]{font-size:.86rem;padding:9px 12px}}


/* Opaque scan review keeps underlying CRM text out of the modal. */
.bizscan-dialog{--tenant-surface:#fff}[data-mymex-theme=dark] .bizscan-dialog{--tenant-surface:#0c2239}


/* Prospect review uses the app's compact form scale; shared capture and tenant views are unchanged. */
.bizscan-prospect [data-contact-review]{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;font-size:13px;line-height:1.5}
.bizscan-prospect [data-contact-review]>.bizscan-fields{gap:16px}
.bizscan-prospect [data-contact-review]>.bizscan-fields>.bizscan-section-heading{display:none}
.bizscan-prospect .bizscan-review-group{grid-column:1/-1;min-width:0;margin:0;padding:14px 0 0;border:0;border-top:1px solid var(--tenant-line,#dbe6f0)}
.bizscan-prospect .bizscan-review-group legend{padding:0 12px 0 0;color:var(--tenant-muted,#64748b);font-size:11px;font-weight:500;letter-spacing:.03em}
.bizscan-prospect .bizscan-review-group>.bizscan-fields{gap:12px 16px}
.bizscan-prospect [data-contact-review] label{font-size:12px;font-weight:400;line-height:1.5}
.bizscan-prospect [data-contact-review] input:not([type=checkbox]),.bizscan-prospect [data-contact-review] select{padding:9px 12px;min-height:42px;border-radius:11px;font-family:inherit;font-size:13px;font-weight:400;background:var(--tenant-surface,#fff)}
.bizscan-prospect [data-more-contact]{padding-top:10px}
.bizscan-prospect [data-more-contact] summary{font-size:12px;font-weight:400;margin:0;min-height:32px;cursor:pointer}
.bizscan-prospect [data-more-contact][open] summary{margin-bottom:12px}
.bizscan-prospect [data-contact-review] [data-intent]{min-height:36px;width:auto;justify-self:start;margin:0;padding:7px 12px;font-family:inherit;font-size:12px;font-weight:400;border-radius:10px}
.bizscan-prospect .bizscan-review-confirm,.bizscan-prospect .bizscan-permission,.bizscan-prospect [data-thanks-preview]>label{display:flex;align-items:flex-start;gap:10px;min-height:40px;margin:12px 0;padding:10px 0;border:0;border-radius:0;line-height:1.5;font-size:12px;font-weight:400}
.bizscan-prospect [data-contact-review] input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:18px;margin:0;accent-color:#087e94;cursor:pointer}
.bizscan-prospect .mymex-bizscan [data-thanks-preview]{margin:16px 0;padding:16px 18px;border:1px solid var(--tenant-line,#dbe6f0);border-radius:14px;box-shadow:none;background:color-mix(in srgb,var(--tenant-secondary,#00a7e1) 3%,var(--tenant-surface,#fff))}
.bizscan-prospect [data-thanks-preview] h3{font-size:14px;font-weight:500;margin:0 0 12px;line-height:1.4}
.bizscan-prospect [data-thanks-preview] p{font-size:12px;line-height:1.5;color:var(--tenant-muted,#64748b);margin:10px 0}
.bizscan-prospect [data-thanks-preview] details{font-size:12px;margin:12px 0}
.bizscan-prospect [data-thanks-preview] summary{min-height:32px;cursor:pointer;font-weight:400;color:var(--tenant-primary,#003478)}
.bizscan-prospect [data-contact-review] .bizscan-actions{gap:12px;margin:16px 0 8px;padding-top:16px;border-top:1px solid var(--tenant-line,#dbe6f0)}
.bizscan-prospect [data-contact-review] .bizscan-actions .tenant-button{padding:10px 16px;min-height:42px;border-radius:11px;font-family:inherit;font-size:13px;font-weight:500}
.bizscan-prospect [data-contact-review] .tenant-button-primary{background:linear-gradient(110deg,#6543b9,#087e94);border-color:transparent;color:#fff}
.bizscan-prospect [data-progress]{padding:8px 0!important;margin:4px 0 16px!important;background:transparent!important;font-size:12px!important;color:var(--tenant-muted,#64748b)}
@media(max-width:600px){.bizscan-prospect [data-contact-review] input:not([type=checkbox]),.bizscan-prospect [data-contact-review] select{font-size:16px}.bizscan-prospect .mymex-bizscan [data-thanks-preview]{padding:14px}.bizscan-prospect .bizscan-review-group>.bizscan-fields{gap:14px}}

.bizscan-prospect .bizscan-permission input{flex:0 0 18px;width:18px;height:18px;margin:0;accent-color:#087e94}
.bizscan-prospect:has([data-contact-review]:not([hidden])) .bizscan-dialog h2{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;font-size:20px;font-weight:500}
.bizscan-prospect:has([data-contact-review]:not([hidden])) .bizscan-destination{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;font-size:12px;padding:8px 12px}

@media(min-width:760px){
 .bizscan-prospect-host #action-dialog.mymex-scan-popup:not(.is-choice){width:min(900px,calc(100vw - 32px))}
 .bizscan-prospect [data-contact-review]>.bizscan-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
 .bizscan-prospect .bizscan-review-group{grid-column:auto}
 .bizscan-prospect .bizscan-review-group [data-more-contact]{margin-top:2px}
}

/* Keep the existing save/cancel controls reachable while the review scrolls. */
.bizscan-prospect:has([data-contact-review]:not([hidden])) [data-scan-surface]{padding-bottom:100px!important}
.bizscan-prospect [data-contact-review]>.bizscan-actions{position:fixed;inset:auto 0 0;z-index:5;margin:0;padding:12px 110px 12px 20px;min-height:68px;border-top:1px solid var(--tenant-line,#dbe6f0);background:var(--tenant-surface,#fff);box-shadow:0 -8px 24px #10223506;align-items:center}
.bizscan-prospect:has([data-contact-review]:not([hidden])) [data-cancel]{position:fixed;bottom:13px;right:20px;z-index:6;padding:10px 14px;min-height:42px;border-radius:11px;font-size:13px;font-weight:400}
.bizscan-prospect:has([data-contact-review]:not([hidden])) [data-error]:not(:empty){position:fixed;left:20px;right:20px;bottom:76px;z-index:6;max-height:80px;overflow:auto;margin:0;background:var(--tenant-surface,#fff)}
@media(max-width:360px){.bizscan-prospect [data-contact-review]>.bizscan-actions{padding-left:16px;padding-right:94px}.bizscan-prospect:has([data-contact-review]:not([hidden])) [data-cancel]{right:12px}}

.bizscan-prospect [data-review]{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif}
