#face-scan-dialog{width:min(100%,520px);height:100dvh;max-height:100dvh;max-width:100%;margin:auto;padding:0;border:0;border-radius:18px;background:#faf9f5;color:#173f36;overflow:auto}
#face-scan-dialog::backdrop{background:#152d27b8}
.scan-shell{min-height:100dvh;display:flex;flex-direction:column;padding:20px 24px calc(18px + env(safe-area-inset-bottom));gap:13px}
.scan-header{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex:none}
.scan-header .eyebrow{font-size:7px;letter-spacing:.17em;margin:0 0 4px;color:#8b8e7e}
#scan-concern{font-size:11px;color:#6a7e70}.scan-header>button{border-radius:50%;background:#efeee8;width:34px;height:34px;font-size:24px;line-height:1}
.scan-heading{text-align:center;flex:none}.scan-heading h2{font:500 34px/1.05 var(--serif);letter-spacing:-.018em;margin:0 0 8px}.scan-heading p{font-size:11px;line-height:1.55;color:#6d8072;max-width:350px;margin:auto;min-height:34px}
#scan-title:focus{outline:none}
.scan-stage{--scan-height:clamp(170px,calc(100svh - 421px),330px);position:relative;aspect-ratio:1;width:min(100%,var(--scan-height));margin:auto;isolation:isolate}
.scan-viewport{position:absolute;inset:12%;overflow:hidden;border-radius:50%;clip-path:circle(50%);background:#e8e9df;transform:translateZ(0)}
.scan-stage video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
#scan-example-window{position:absolute;inset:0;overflow:hidden;border-radius:50%}
#scan-example{position:absolute;inset:0;object-fit:cover;object-position:50% 50%;width:100%;height:100%;max-width:none}
#scan-detail-canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#scan-area{font:inherit;font-size:12px;color:#466753;background:transparent;border:0;padding:3px 18px 3px 0;max-width:230px}
.scan-framing{display:flex;align-self:center;background:#eeeee5;border:1px solid #e2e4d8;border-radius:20px;padding:3px;gap:3px;margin-top:-3px}
.scan-framing button{font-size:10px;min-height:29px;padding:5px 14px;border-radius:17px;color:#798771}
.scan-framing [aria-pressed=true]{color:#234f3f;background:#fffefa;box-shadow:0 1px 5px #254c3c12}
#face-scan-dialog[data-mode=intro] #scan-feedback:empty{display:none}
.scan-ring line,.scan-ring circle{vector-effect:non-scaling-stroke}
.scan-distance-ring{stroke:#d4d8ca;stroke-width:7;transition:stroke .18s}
.distance-invalid .scan-distance-ring{stroke:#c9574f;stroke-width:8}
.distance-ready .scan-distance-ring{stroke:#4b996d;stroke-width:8}
#scan-waypoints{position:absolute;inset:0;z-index:3;pointer-events:none}
#scan-waypoints button{position:absolute;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;transform:translate(-50%,-50%);border-radius:50%;border:0;background:transparent;box-shadow:none;pointer-events:auto}
#scan-waypoints button:focus-visible{outline:2px solid #a69d7a;outline-offset:2px}
.scan-distance{margin:8px auto 0;max-width:340px;text-align:center;font-size:9px;line-height:1.4;color:#7c8775;min-height:41px}
.scan-distance-schema{display:flex;justify-content:center;align-items:center;gap:18px;margin-bottom:3px}
.scan-distance-schema span{display:flex;align-items:center;gap:3px;opacity:.48;font-size:8px}
.scan-distance-schema svg{width:21px;height:23px;fill:none;stroke:currentColor;stroke-width:1}
.scan-distance[data-distance=ready] [data-distance-example=ready]{color:#35714c;opacity:1}
.scan-distance[data-distance=far] [data-distance-example=far],.scan-distance[data-distance=near] [data-distance-example=near]{color:#b25048;opacity:1}
.scan-distance[data-distance=ready] #scan-distance-label{color:#35714c}.scan-distance:is([data-distance=far],[data-distance=near],[data-distance=center],[data-distance=face],[data-distance=multiple]) #scan-distance-label{color:#b25048}
.scan-lighting{display:flex;justify-content:center;align-items:center;gap:6px;margin:6px auto 0;min-height:18px;font-size:9px;line-height:1.45;color:#7c8775;text-align:center}
.scan-lighting svg{width:15px;height:15px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
.scan-lighting[data-level=good]{color:#35714c}.scan-lighting[data-level=warning]{color:#b25048}
.scan-stage .scan-ring{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:none;pointer-events:none;z-index:1}
#scan-ring-ticks line{stroke:#c6ccbd;stroke-width:2;stroke-linecap:round;opacity:.8;transition:stroke .18s,opacity .18s}
#scan-ring-ticks .is-current{stroke:#a79b74;opacity:1}#scan-ring-ticks .is-holding,#scan-ring-ticks .is-done{stroke:#4b996d;opacity:1;stroke-width:3.5}
#scan-direction{position:absolute;top:46%;left:17%;z-index:2;color:#f5f7e6;font:25px var(--sans);text-shadow:0 1px 3px #2c4636}
#scan-direction.points-right{left:auto;right:17%}
#scan-direction:empty{display:none}
#scan-example-label{display:block;text-align:center;text-transform:uppercase;font-size:6px;letter-spacing:.14em;color:#8b957f;margin:6px 0 0}
.scan-progress{display:flex;align-items:center;justify-content:space-between;font-size:10px;gap:14px;padding:12px 0 0;max-width:330px;margin:auto;color:#5f7667}
#scan-progress-count{font-size:10px;letter-spacing:.12em;white-space:nowrap}#scan-progress-percent{display:block;font-size:8px;color:#8b977e;letter-spacing:0;text-align:right;margin-top:2px}
#scan-feedback{font-size:11px;line-height:1.5;text-align:center;min-height:34px;max-width:350px;margin:10px auto 0;color:#466854}
.scan-actions{display:flex;flex-direction:column;gap:5px;margin-top:auto;flex:none}
.scan-actions .primary{width:100%;min-height:48px;padding:12px;border-radius:11px;background:#174a40;color:#fff;justify-content:center;font-size:11px}
.scan-actions>button:not(.primary){font-size:10px;min-height:34px;padding:8px;color:#53735f}
#scan-manual{border:1px solid #d4dccb;border-radius:10px}
.scan-privacy{font-size:8px;line-height:1.6;color:#809080;text-align:center;max-width:400px;margin:auto auto 0;flex:none}
.scan-review-note{font-size:11px;line-height:1.65;color:#5e7665;margin:0 0 16px}
#scan-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
#scan-result-grid figure{margin:0;min-width:0}#scan-result-grid img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px;background:#e7e9df}
#scan-result-grid figcaption{font-size:10px;line-height:1.4;margin-top:7px}#scan-result-grid small{font-size:8px;color:#899580;display:block;margin:3px 0}
#scan-result-grid button{font-size:9px;min-height:36px;text-align:left;text-decoration:underline;padding:4px 0}
#scan-result-note{font-size:10px;color:#758b76;line-height:1.6;margin:18px 0}
#face-scan-dialog[data-mode=review] .scan-shell{height:auto}#face-scan-dialog[data-mode=review] .scan-heading{text-align:left;margin:10px 0}
#face-scan-dialog[data-mode=review] .scan-heading p{max-width:none;margin:0}#face-scan-dialog[data-mode=review] .scan-actions{position:sticky;bottom:0;padding:10px 0;background:#faf9f5}
#face-scan-open{width:100%}.camera-active #face-scan-open{display:none!important}
.supports-face-scan .camera-buttons #camera-start{flex:1;width:auto;min-width:130px;font-size:10px;justify-content:center;min-height:44px;padding:10px;border:1px solid var(--line);background:transparent;color:var(--ink)}
@media(max-width:760px){#face-scan-dialog{margin:0;width:100%;border-radius:0}}
@media(max-height:680px){.scan-shell{padding:12px 20px 10px;gap:6px}.scan-heading h2{font-size:26px;margin-bottom:5px}.scan-heading p{font-size:10px;min-height:29px}.scan-stage{--scan-height:clamp(146px,calc(100svh - 416px),252px)}#scan-feedback{font-size:10px;min-height:28px;margin-top:5px}.scan-progress{padding-top:8px}.scan-actions .primary{min-height:42px}.scan-privacy{font-size:7px;line-height:1.5}.scan-framing{margin-top:0}.scan-framing button{min-height:25px;font-size:9px}.scan-distance{margin-top:6px;min-height:36px;font-size:8px}.scan-distance-schema{gap:12px;margin-bottom:1px}.scan-distance-schema svg{height:19px;width:17px}}
@media(max-height:680px){#face-scan-dialog[data-mode=live] .scan-stage{--scan-height:clamp(164px,calc(100svh - 376px),294px)}}
@media(prefers-reduced-motion:reduce){#scan-ring-ticks line,.scan-distance-ring{transition:none}}
/* The shared component has the same typography and controls in both journeys. */
@font-face{font-family:McaScanSerif;src:url('assets/cormorant-garamond-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:McaScanSans;src:url('assets/manrope-400.ttf') format('truetype');font-weight:400;font-display:swap}
#face-scan-dialog{--serif:McaScanSerif,Georgia,serif;--sans:McaScanSans,Arial,sans-serif;font:400 12px/1.5 var(--sans)}
#face-scan-dialog *,#face-scan-dialog *::before,#face-scan-dialog *::after{box-sizing:border-box}
#face-scan-dialog [hidden]{display:none!important}
#face-scan-dialog button,#face-scan-dialog select{font-family:var(--sans);cursor:pointer}
#face-scan-dialog button{border:0;background:transparent;color:inherit}
#face-scan-dialog .scan-header>button{background:#efeee8}
#face-scan-dialog .scan-actions .primary{background:#174a40;color:#fff}
#face-scan-dialog #scan-manual{border:1px solid #d4dccb}
#face-scan-dialog .scan-framing [aria-pressed=true]{background:#fffefa}
#scan-template{font:inherit;font-size:12px;color:#466753;background:transparent;border:0;max-width:180px;padding:3px 8px}
#face-scan-dialog .scan-upload{position:relative;display:flex;align-items:center;justify-content:center;min-height:40px;border:1px solid #d4dccb;border-radius:10px;font-size:11px;color:#53735f;cursor:pointer}
#scan-upload{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
#face-scan-dialog .scan-upload:focus-within{outline:2px solid #547666;outline-offset:2px}
#face-scan-dialog[data-portrait=true] #scan-result-grid{grid-template-columns:minmax(0,300px);justify-content:center}
#face-scan-dialog[dir=rtl] #scan-progress-percent{text-align:left}

#face-scan-dialog[data-mirror-preview=true] .scan-viewport{transform:translateZ(0) scaleX(-1)}
.scan-preview-tools{display:flex;align-items:center;justify-content:center;gap:8px;margin:5px 0 0;min-height:32px}
#face-scan-dialog #scan-mirror{border:1px solid #cad4c7;border-radius:18px;padding:6px 10px;min-height:32px;font-size:10px;white-space:nowrap}
#face-scan-dialog #scan-mirror[aria-pressed=true]{background:#e8eee5;color:#234d3d}
#scan-mirror-note{font-size:8px;color:#758876;max-width:155px;line-height:1.4}
.scan-stage{--scan-height:clamp(160px,calc(100svh - 464px),330px)}
@media(max-height:680px){.scan-stage{--scan-height:clamp(128px,calc(100svh - 450px),252px)}#face-scan-dialog[data-mode=live] .scan-stage{--scan-height:clamp(140px,calc(100svh - 414px),294px)}.scan-preview-tools{margin:3px 0 0;gap:6px}#face-scan-dialog #scan-mirror{font-size:9px}#scan-mirror-note{font-size:7px}}

/* A focused, familiar capture screen shared by consultation and applications. */
#face-scan-dialog{background:#080a0b;color:#f6f7f8;border-radius:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--serif:var(--sans);color-scheme:dark}
#face-scan-dialog::backdrop{background:#080a0bd9}
#face-scan-dialog .scan-shell{gap:12px;padding:18px 25px calc(18px + env(safe-area-inset-bottom));max-width:470px;margin:auto}
#face-scan-dialog .scan-header{align-items:center;min-height:40px}
#face-scan-dialog .scan-header .eyebrow{color:#b5b8bc;font-size:8px;letter-spacing:.12em;margin-bottom:4px}
#face-scan-dialog #scan-concern{color:#d7dadd;font-size:12px}
#face-scan-dialog .scan-header>button{width:44px;height:44px;background:#202326;color:#f5f7fa}
#face-scan-dialog .scan-heading{padding-top:11px}
#face-scan-dialog .scan-heading h2{font:600 28px/1.14 var(--sans);letter-spacing:-.035em;margin:0 0 10px}
#face-scan-dialog .scan-heading p{font:400 14px/1.45 var(--sans);color:#ced1d5;max-width:330px;min-height:0}
#face-scan-dialog .scan-stage{--scan-height:clamp(170px,calc(100svh - 340px),340px);width:min(100%,var(--scan-height));margin:13px auto 3px}
#face-scan-dialog .scan-viewport{inset:11%;background:#14181b}
#face-scan-dialog .scan-distance-ring{stroke:#596166;stroke-width:1}
#face-scan-dialog .distance-ready .scan-distance-ring{stroke:#31d158;stroke-width:1}
#face-scan-dialog .distance-invalid .scan-distance-ring{stroke:#ff9f0a;stroke-width:2}
#face-scan-dialog .scan-ring line{stroke:#d3d8dd;stroke-width:3;stroke-linecap:round;opacity:.9;transition:stroke .18s,opacity .18s}
#face-scan-dialog .scan-ring line.is-current{stroke:#fff;opacity:1}
#face-scan-dialog .scan-ring line.is-holding,#face-scan-dialog .scan-ring line.is-done{stroke:#30d158;opacity:1}
#face-scan-dialog #scan-waypoints button{background:transparent;border:0;box-shadow:none;color:transparent}
#face-scan-dialog #scan-waypoints button:before{width:8px;height:8px;background:#d0d6da;border:2px solid #080a0b;opacity:0}
#face-scan-dialog #scan-waypoints .is-current:before{opacity:1;background:#fff}
#face-scan-dialog #scan-waypoints .is-done:before{opacity:0}
#face-scan-dialog #scan-waypoints button:focus-visible{outline:2px solid #64d2ff;outline-offset:-5px}
#face-scan-dialog #scan-direction{color:#fff;background:#151b1fcc;font:400 25px/1 var(--sans);box-shadow:none}
#face-scan-dialog #scan-example-label{color:#a7afb5;font-size:9px;letter-spacing:.05em;margin-top:0}
#face-scan-dialog .scan-progress{color:#aeb6bd;border:0;padding:12px 0 0;font-size:12px;gap:10px}
#face-scan-dialog #scan-step-label{color:#f2f5f7;font-weight:500}
#face-scan-dialog #scan-progress-percent{color:#30d158;font-weight:600}
#face-scan-dialog #scan-progress-count{display:none}
#face-scan-dialog #scan-feedback{color:#e0e4e7;font-size:13px;line-height:1.5;min-height:0;margin:9px 0 0;text-align:center}
#face-scan-dialog #scan-feedback:empty{display:none}
#face-scan-dialog .scan-actions{gap:9px;margin-top:5px}
#face-scan-dialog .scan-actions .primary{background:#0a84ff;color:#fff;border-radius:14px;min-height:52px;font:600 16px/1.4 var(--sans);padding:13px 18px}
#face-scan-dialog .scan-actions #scan-manual{color:#e4e8ed;border:1px solid #404951;min-height:44px;border-radius:12px;font-size:13px}
#face-scan-dialog .scan-actions button:not(.primary){color:#a5cef8;min-height:42px;font-size:13px}
#face-scan-dialog .scan-options{border-top:1px solid #292f34;margin-top:1px}
#face-scan-dialog .scan-options>summary{display:flex;justify-content:center;align-items:center;gap:9px;min-height:44px;color:#9dc5ef;font-size:13px;cursor:pointer;list-style:none}
#face-scan-dialog .scan-options>summary:after{content:'⌄';font-size:17px}
#face-scan-dialog .scan-options[open]>summary:after{content:'⌃'}
#face-scan-dialog .scan-options>summary::-webkit-details-marker{display:none}
#face-scan-dialog .scan-option-body{display:grid;gap:12px;padding:12px 0 8px}
#face-scan-dialog .scan-option-body select{color:#f3f6f9;background:#20262b;font-size:14px;min-height:44px;max-width:100%;width:100%;border:1px solid #424b53;border-radius:9px;padding:9px}
#face-scan-dialog .scan-framing{margin:0;justify-self:center;background:#20262b;border-color:#424b53}
#face-scan-dialog .scan-framing button{color:#bdc8cf;min-height:36px;font-size:12px}
#face-scan-dialog .scan-framing [aria-pressed=true]{background:#424e58;color:#fff}
#face-scan-dialog #scan-mirror{min-height:44px;color:#eef4f8;border-color:#49545e;font-size:12px}
#face-scan-dialog #scan-mirror[aria-pressed=true]{background:#25372e;color:#6cf18a}
#face-scan-dialog #scan-mirror-note,#face-scan-dialog #scan-distance-label{color:#bac3ca;font-size:11px}
#face-scan-dialog .scan-distance{border-color:#3b444c;background:#171c20;color:#cad2d9}
#face-scan-dialog .scan-distance-schema{color:#b6c0c7}
#face-scan-dialog .scan-lighting{color:#c0c9d0;background:transparent;border-color:#424d56}
#face-scan-dialog .scan-upload{min-height:44px;color:#b6d9fb;border-color:#48545e;font-size:13px}
#face-scan-dialog #scan-demo{min-height:44px;color:#b6d9fb;font-size:13px}
#face-scan-dialog .scan-privacy{color:#a1aab2;font-size:10px;line-height:1.5;margin:0;text-align:center}
#face-scan-dialog .scan-review-note,#face-scan-dialog #scan-result-note{color:#c8d1d8;font-size:13px;line-height:1.6;background:transparent}
#face-scan-dialog #scan-result-grid figure{background:#171d21;border-color:#3b454e;color:#e4eaf0}
#face-scan-dialog #scan-result-grid figcaption{color:#f5f7f9}
#face-scan-dialog #scan-result-grid small{color:#b8c4cc}
#face-scan-dialog #scan-result-grid button{color:#abd4ff;border-color:#4b5964;min-height:44px}
@media(max-height:680px){#face-scan-dialog .scan-shell{gap:8px;padding:10px 20px 12px}#face-scan-dialog .scan-heading{padding-top:2px}#face-scan-dialog .scan-heading h2{font-size:24px;margin-bottom:7px}#face-scan-dialog .scan-heading p{font-size:12px;line-height:1.4}#face-scan-dialog .scan-stage{--scan-height:clamp(150px,calc(100svh - 318px),300px);margin-top:5px}#face-scan-dialog .scan-progress{padding-top:8px}#face-scan-dialog .scan-header .eyebrow{font-size:7px}#face-scan-dialog .scan-actions .primary{min-height:50px;font-size:15px}}
@media(prefers-reduced-motion:reduce){#face-scan-dialog .scan-ring line{transition:none}}
/* Keep the ring above the instruction, with the primary action at the bottom. */
#face-scan-dialog .scan-header{order:0;flex-direction:row-reverse}
#face-scan-dialog .scan-header>div{text-align:end}
#face-scan-dialog #scan-capture-panel{order:1;margin-block:auto 0}
#face-scan-dialog .scan-heading{order:2;padding:0;margin-block:10px auto}
#face-scan-dialog .scan-actions{order:3;margin-top:20px}
#face-scan-dialog .scan-options{order:4}
#face-scan-dialog .scan-privacy{order:5}
#face-scan-dialog #scan-results{order:1}
#face-scan-dialog[data-mode=intro] #scan-progress{display:none}
#face-scan-dialog[data-mode=intro] #scan-waypoints button,#face-scan-dialog[data-mode=live] #scan-waypoints button{pointer-events:none}
#face-scan-dialog[data-mode=intro] #scan-waypoints button:before{opacity:0}
#face-scan-dialog .scan-heading h2{font-size:24px;line-height:1.2;letter-spacing:-.025em}
#face-scan-dialog .scan-stage{--scan-height:clamp(160px,calc(100svh - 365px),340px)}
#face-scan-dialog[data-mode=review] .scan-heading{order:0;margin:8px 0}
#face-scan-dialog[data-mode=review] .scan-header{order:-1}
@media(max-height:680px){#face-scan-dialog .scan-stage{--scan-height:clamp(138px,calc(100svh - 398px),270px)}#face-scan-dialog .scan-actions{margin-top:8px}#face-scan-dialog .scan-heading{margin-block:6px auto}#face-scan-dialog .scan-heading h2{font-size:21px}#face-scan-dialog .scan-privacy{font-size:9px}#face-scan-dialog[data-mode=live] .scan-stage{--scan-height:clamp(130px,calc(100svh - 390px),255px)}}

/* Review uses the same dark surface as capture, including its sticky controls. */
#face-scan-dialog[data-mode=review] .scan-actions{background:#080a0b;border-top:1px solid #2d3439;padding:14px 0 calc(10px + env(safe-area-inset-bottom));box-shadow:0 -12px 18px #080a0b}
#face-scan-dialog #scan-result-grid figure{padding:12px;border:1px solid #3b454e;border-radius:18px}
#face-scan-dialog #scan-result-grid img{display:block;background:#171d21;border-radius:12px}
#face-scan-dialog #scan-result-grid figcaption{font-size:14px;line-height:1.5;margin-top:10px}
#face-scan-dialog #scan-result-grid small{font-size:12px;line-height:1.5}
#face-scan-dialog #scan-result-grid button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:8px;padding:10px 16px;border:1px solid #4b5964;border-radius:11px;text-decoration:none;font-size:13px}
#face-scan-dialog .scan-actions button:focus-visible{outline:3px solid #90cdff;outline-offset:3px}
#face-scan-dialog #scan-countdown{position:absolute;inset:11%;z-index:4;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:#080a0b88;pointer-events:none;text-align:center;color:#fff}
#face-scan-dialog #scan-countdown strong{font:650 clamp(52px,17vw,76px)/1 var(--sans);font-variant-numeric:tabular-nums;text-shadow:0 2px 12px #0008}
#face-scan-dialog #scan-countdown span{max-width:90%;font:500 12px/1.4 var(--sans);color:#fff}


/* A visible receipt and reliable manual escape apply to every shared capture area. */
#face-scan-dialog .scan-actions #scan-manual{min-height:56px;background:#f5f7fa;color:#10171c;border:2px solid #fff;border-radius:14px;font-size:16px;font-weight:650}
#face-scan-dialog[data-manual-fallback=true] #scan-manual{background:#a5e9bc;border-color:#a5e9bc;color:#082b19;box-shadow:0 0 0 4px #a5e9bc33}
#face-scan-dialog #scan-manual-help{order:2;color:#c6f4d6;text-align:center;font-size:14px;line-height:1.5;margin:8px 0 0}
#face-scan-dialog[data-mode=live] .scan-actions,#face-scan-dialog[data-mode=captured] .scan-actions{position:sticky;bottom:0;background:#080a0b;padding:10px 0 calc(8px + env(safe-area-inset-bottom));z-index:6;box-shadow:0 -8px 16px #080a0b}
#face-scan-dialog #scan-captured{position:absolute;inset:7%;z-index:5;border-radius:50%;overflow:hidden;background:#18221d;border:4px solid #65df95;display:grid;align-items:end}
#face-scan-dialog #scan-captured img{position:absolute;width:100%;height:100%;object-fit:cover}
#face-scan-dialog #scan-captured strong{position:relative;padding:16px 10px 22px;background:#0a251fe8;color:#fff;text-align:center;font-size:15px}
#face-scan-dialog[data-mode=captured] #scan-feedback{color:#a5e9bc;font-weight:600}
#face-scan-dialog[data-mode=error] .scan-options{display:block}

/* Preparation orb dissolves into the live view; it is not a scan result. */
#scan-orb{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;border-radius:50%}
#face-scan-dialog[data-mode=live]:not([data-manual-fallback=true]) .scan-actions #scan-manual{border:0;background:transparent;box-shadow:none;color:#a8b6bf;font-size:12px;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:8px}
#face-scan-dialog[data-mode=live][data-manual-fallback=true] .scan-actions #scan-manual{background:#0a84ff;color:#fff;border:1px solid #54a5ff;min-height:52px;font-size:16px;font-weight:600;box-shadow:0 0 0 4px #0a84ff20}
#scan-auto-status{display:none}
#face-scan-dialog[lang=de][data-mode=live]:not([data-manual-fallback=true]) #scan-auto-status{display:block;text-align:center;color:#a7d9bf;font-size:12px;margin:0;padding-bottom:3px}
#face-scan-dialog #scan-manual-help{order:3;color:#dce6f0;font-size:13px;text-align:center;margin:8px 0 0}

