/* Scanner launch screen, using the existing scanner controls. */
body.sd-open{background:radial-gradient(ellipse at 65% 0,#191134 0,transparent 50%),#090b19;color:#f3effc}
body.sd-open main.shell{max-width:1240px;padding:24px 44px 65px;margin:0 auto;min-height:100dvh;background:transparent;border:0;border-radius:0;box-shadow:none}
body.sd-open .shell::before,body.sd-open .shell>nav,body.sd-open .editorial-footer{display:none!important}
body.sd-open .shell>header{display:flex;align-items:center;justify-content:space-between;margin:0 0 42px;padding:0 0 18px;border-bottom:1px solid #262039}
body.sd-open .shell>header::before{display:none}body.sd-open .shell>header .brand{position:static;font:750 20px Inter,system-ui,sans-serif;letter-spacing:-.6px;color:#fff}
body.sd-open .shell>header .brand svg{width:32px;height:37px}body.sd-open .shell>header .editorial-nav{margin-left:auto;gap:20px}
body.sd-open #scanner{padding:0;max-width:none;min-height:0}
body.sd-open #scannerSearch{max-width:none;width:100%;padding:0;margin:0;background:none;border:0;box-shadow:none;border-radius:0}
body.sd-open #scannerSearch>.hero{text-align:left;margin:0 0 28px;padding:0}
body.sd-open #scannerSearch .hero h1{font:750 34px/1.15 Inter,system-ui,sans-serif;letter-spacing:-1px;min-width:0;max-width:none;margin:8px 0 12px;color:#f6f2ff}
body.sd-open #scannerSearch .hero p{font-size:13px;line-height:1.7;color:#bbb3d0;margin:0;max-width:690px}
body.sd-open #scannerSearch #scannerGreeting{display:block;font-size:12px;color:#e0d5f1;letter-spacing:0;text-transform:none;margin-bottom:14px}
.sd-accent{color:#a05aff}.sd-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);gap:20px;align-items:start}
body.sd-open #directScannerPanel{margin:0;padding:24px;background:linear-gradient(140deg,#17142e,#101121);border:1px solid #302746;border-radius:15px;min-width:0}
body.sd-open #directScannerPanel>summary,body.sd-open #directScannerPanel .sd-original-intro{display:none!important}
.sd-form-heading{display:flex;align-items:center;gap:15px;margin-bottom:18px}.sd-form-heading h2{font:700 18px Inter,system-ui,sans-serif;color:#eee8fa;margin:0 0 8px}.sd-form-heading p{font-size:12px;line-height:1.6;margin:0;color:#bdb4d0}
.sd-logo{display:grid;place-items:center;width:54px;height:54px;flex-shrink:0;background:linear-gradient(140deg,#8039ff,#4b16c3);border:1px solid #934bf5;border-radius:13px;padding:9px;box-shadow:0 5px 20px #7724ef33;cursor:pointer}.sd-logo svg{width:38px;height:42px;overflow:visible}.sd-blink{transform-box:fill-box;transform-origin:center;animation:sd-blink 5.5s ease-in-out infinite}.sd-wink .sd-blink{animation:sd-click-wink .65s ease-in-out}.sd-logo:hover{box-shadow:0 0 25px #8b42ef66;transform:translateY(-1px)}
@keyframes sd-blink{0%,40%,45%,100%{transform:scaleY(1)}42%,43%{transform:scaleY(.06)}}@keyframes sd-click-wink{0%,100%{transform:scaleY(1)}45%{transform:scaleY(.04)}}
body.sd-open #directScannerPanel .sd-source-note{padding:12px 14px;border-radius:9px;background:#211b38;color:#bdb4d0;font-size:11px;line-height:1.6;margin:10px 0 20px}
body.sd-open #directScannerPanel .field{color:#d4c9e5;font-size:12px;font-weight:500;margin:18px 0 8px}
body.sd-open #directScannerPanel select,body.sd-open #directScannerPanel textarea{background:#18162c;color:#eee6fa;border:1px solid #38304f;border-radius:9px;font:12px/1.5 Inter,system-ui,sans-serif;padding:11px 13px;width:100%;box-shadow:none}
body.sd-open #directScannerPanel textarea{min-height:88px;resize:vertical}body.sd-open #directScannerPanel textarea::placeholder{color:#9187a6}
body.sd-open #directScannerPanel .consent{background:none;color:#d7cde7;font-size:11px;line-height:1.6;padding:0;margin:22px 0;align-items:flex-start}
body.sd-open #directScannerPanel .consent input{accent-color:#8b3ff2;width:16px;height:16px;margin-top:2px}
body.sd-open #directScannerPanel .direct-actions{display:flex;gap:10px}body.sd-open #directScannerPanel .direct-actions button{font-size:12px;padding:12px 18px;border-radius:9px;min-height:43px;flex:1;border:1px solid #7248b0;color:#f6eeff}
body.sd-open #directScannerPanel .direct-actions .primary{background:linear-gradient(100deg,#8c3ffa,#5621ee);border-color:#7944ef}
body.sd-open #directScannerPanel .direct-actions .secondary{background:transparent}body.sd-open #directScannerPanel .direct-actions button:disabled{opacity:.45}
.sd-aside{display:grid;gap:15px}.sd-side-card{background:linear-gradient(125deg,#151528,#10121f);border:1px solid #25243c;border-radius:14px;padding:22px}
.sd-side-card h2{color:#f0eafa;font:650 15px Inter,system-ui,sans-serif;margin:0 0 14px}.sd-side-card p{font:12px/1.7 Inter,system-ui,sans-serif;color:#a79fba;margin:0}
.sd-steps{list-style:none;margin:20px 0 0;padding:0;counter-reset:sd-step}.sd-steps li{counter-increment:sd-step;position:relative;padding:0 0 22px 40px;border-left:1px dashed #49316a;margin-left:13px}.sd-steps li:last-child{padding-bottom:0;border-left-color:transparent}.sd-steps li::before{content:counter(sd-step);position:absolute;left:-14px;top:0;width:27px;height:27px;display:grid;place-items:center;color:#e1d0ff;background:linear-gradient(135deg,#7542d8,#46208f);border-radius:50%;font:650 12px Inter,system-ui,sans-serif}.sd-steps b{color:#dcd3ed;font-size:12px}.sd-steps p{font-size:11px;margin-top:7px}
.sd-source-button{display:block;background:#1c1831;border:1px solid #322645;border-radius:8px;color:#cfbfe4;width:100%;padding:11px;margin-top:14px;font-size:11px;text-align:left;cursor:pointer}
body.sd-open #externalSearchPanel{margin:18px 0 0;border:1px solid #343048;background:#111322;border-radius:12px;padding:15px 18px;font-size:12px;color:#cfc4e0}
body.sd-open #directScannerPanel .direct-results{max-height:none;overflow:visible;margin-top:12px}
body.sd-open #directScannerPanel .direct-results>button{width:100%;font-size:13px;border-radius:8px;padding:12px}
body.sd-open #directScannerPanel .direct-results>details{font-size:11px;color:#a99bbf;margin-top:15px}body.sd-open #directScannerPanel .sd-result-note{font-size:12px;color:#c3b7d6;margin:10px 0}
@media(max-width:800px){body.sd-open main.shell{padding:20px 22px 80px}.sd-grid{grid-template-columns:minmax(0,1fr)}.sd-aside{grid-template-columns:repeat(2,minmax(0,1fr))}.sd-aside .sd-side-card:first-child{grid-column:1/-1}body.sd-open #scannerSearch .hero h1{font-size:29px}}
@media(max-width:550px){body.sd-open main.shell{padding:16px 15px 85px}body.sd-open .shell>header{margin-bottom:26px}body.sd-open .shell>header .editorial-nav{gap:8px}.sd-aside{grid-template-columns:1fr}body.sd-open #scannerSearch .hero h1{font-size:28px}body.sd-open #directScannerPanel{padding:18px 15px}.sd-form-heading h2{font-size:15px}.sd-form-heading p{font-size:11px}.sd-logo{width:46px;height:46px}.sd-logo svg{width:32px}.sd-form-heading{gap:12px}body.sd-open #directScannerPanel .direct-actions{flex-direction:column}body.sd-open .shell>nav{display:flex!important}.sd-side-card{padding:18px}}
@media(prefers-reduced-motion:reduce){.sd-blink,.sd-wink .sd-blink{animation:none}.sd-logo:hover{transform:none}}
.sd-options{border:1px solid #342947;background:#161225;border-radius:8px;padding:12px;margin-top:18px;color:#c4b5da;font-size:11px}.sd-options>button{margin-top:12px;padding:9px 12px;border-radius:7px;font-size:11px;background:#231834;color:#d3c2e8;border:1px solid #4e326a}

body.md-open{background:radial-gradient(ellipse at 70% 0,#1b1335,transparent 55%),#090b19;color:#ede7f8}
body.md-open main.shell{max-width:1240px;margin:0 auto;padding:24px 44px 70px;border:0;border-radius:0;box-shadow:none;background:transparent}
body.md-open .shell::before,body.md-open .editorial-footer,body.md-open .shell>nav{display:none!important}
body.md-open .shell>header{display:flex;align-items:center;justify-content:space-between;margin:0 0 30px;padding-bottom:20px;border-bottom:1px solid #29233e}
body.md-open .shell>header::before{display:none}body.md-open .shell>header .brand{position:static;font:750 20px Inter,system-ui,sans-serif;color:#fff;letter-spacing:-.5px}
body.md-open .shell>header .brand svg{width:32px;height:37px}body.md-open .shell>header .editorial-nav{margin-left:auto}
body.md-open #settings{max-width:none;width:100%}
.md-grid{display:grid;grid-template-columns:minmax(0,2.15fr) minmax(230px,1fr);gap:24px;align-items:start}
body.md-open #googleMandatePanel{margin:0;border:0;box-shadow:none;background:transparent;padding:0;min-width:0}
body.md-open #googleMandatePanel>h2{font:750 28px/1.2 Inter,system-ui,sans-serif;color:#f1eafb;letter-spacing:-.7px;margin:7px 0 12px}
body.md-open #googleMandatePanel>.eyebrow{font-size:9px;letter-spacing:1.4px;color:#b58cfa}
body.md-open #googleMandatePanel>p{font-size:11px;line-height:1.7;color:#b6acca;margin:9px 0}
body.md-open #googleMandatePanel>.mandate-reassurance{font-size:12px;background:none;padding:0;color:#c4b9d6}
body.md-open #googleMandatePanel>.mandate-terms{padding:13px 15px;border:1px solid #44325f;background:linear-gradient(110deg,#211738,#171426);border-radius:9px;margin:12px 0;font-size:12px;color:#d9cdec}
body.md-open #googleMandatePanel .mandate-text{font-size:11px;line-height:1.7;color:#bfb3d1}
body.md-open #googleMandatePanel .representation-form{display:grid;grid-template-columns:1fr 1fr;gap:13px 14px;border:1px solid #3b2c51;background:#131323;padding:18px;border-radius:12px;margin-top:16px}
body.md-open #googleMandatePanel .mandate-field{font:11px/1.5 Inter,system-ui,sans-serif;color:#d5c9e5;margin:0;display:grid;gap:7px;min-width:0}
body.md-open #googleMandatePanel .mandate-field:has(textarea),body.md-open #googleMandatePanel .mandate-field:has(#mandateSignature){grid-column:1/-1}
body.md-open #googleMandatePanel input:not([type=checkbox]),body.md-open #googleMandatePanel textarea,body.md-open #googleMandatePanel select{border:1px solid #3b3051;border-radius:7px;padding:10px 11px;font:12px/1.5 Inter,system-ui,sans-serif;color:#f1e7fc;background:#1b182d;width:100%;min-width:0}
body.md-open #googleMandatePanel textarea{min-height:85px}body.md-open #googleMandatePanel .mandate-wide{grid-column:1/-1}
body.md-open #googleMandatePanel .consent{display:flex;align-items:flex-start;gap:8px;background:none;border:0;border-radius:0;padding:0;margin:4px 0;font-size:11px;line-height:1.6;color:#c4b7d6;min-height:0}
body.md-open #googleMandatePanel .consent input{margin-top:3px;width:15px;height:15px;accent-color:#914bf4;flex-shrink:0}
body.md-open #googleMandatePanel .hint{font-size:10px;line-height:1.6;margin:5px 0}
body.md-open #googleMandatePanel .md-commitments{padding:11px 13px;border:1px solid #3b2b51;border-radius:8px;background:#1c172b;font-size:11px;color:#c8b5e4}
body.md-open #googleMandatePanel .md-commitments label{margin-top:12px}
body.md-open #googleMandatePanel .representation-form>.primary{grid-column:1/-1;font-size:12px;padding:12px 16px;border:1px solid #8750ed;border-radius:8px;background:linear-gradient(110deg,#8a3dfa,#5822e5);color:#fff;margin:0}
body.md-open #googleMandatePanel .notice{font-size:11px;padding:12px;line-height:1.6;border-radius:9px;background:#21182e;color:#c6b7da;border-color:#4a315d}
.md-account{margin-top:28px;border:1px solid #342a49;border-radius:12px;background:#121321;padding:22px}
.md-account>h1{font:700 24px/1.3 Inter,system-ui,sans-serif;letter-spacing:-.6px;margin:6px 0 12px;color:#e9e0f5}
.md-account>p,.md-account>.notice{font-size:11px;line-height:1.6;color:#afa2c2}
.md-account>.field{font-size:11px;margin:13px 0 7px}.md-account>#token{max-width:550px;background:#1d1830;border:1px solid #3c2d55;padding:11px 13px;color:#e4d8f0;border-radius:8px}
.md-account>#saveSettings{width:auto;font-size:12px;padding:11px 18px;min-height:38px;border-radius:8px;margin:10px 0;background:#6931d4;color:#fff;border:1px solid #8242e6}
.md-account>.notice{padding:11px 13px;background:#1a1628;border:1px solid #332641;border-radius:8px;margin-top:14px}
.md-account>details,.md-account>#studioAccountPanel{border:1px solid #3a2c51;border-radius:9px;background:#1b172b;padding:14px;margin-top:14px;font-size:12px}
.md-settings-shortcut{font-size:22px!important;width:34px;height:34px;padding:3px!important;border:0!important;border-radius:7px!important;line-height:1!important;background:#291a3a!important;color:#d4b4f3!important;margin:0 10px!important}
@media(max-width:800px){.md-grid{grid-template-columns:minmax(0,1fr)}.md-aside{display:none}body.md-open main.shell{padding:20px 24px 85px}body.md-open #googleMandatePanel>h2{font-size:26px}}
@media(max-width:550px){body.md-open main.shell{padding:16px 15px 85px}body.md-open .shell>nav{display:flex!important}body.md-open .shell>header{margin-bottom:24px}body.md-open #googleMandatePanel .representation-form{grid-template-columns:minmax(0,1fr);padding:15px;gap:12px}body.md-open #googleMandatePanel>h2{font-size:24px}.md-account{padding:16px}#resultsView.rd-report .rd-stat small{display:none}#resultsView.rd-report .rd-stat{min-height:90px}}

body.sd-open .sd-options,body.sd-open #externalSearchPanel,body.sd-open .sd-source-note{display:none!important}

#directProgress{width:100%;height:8px;accent-color:#8b46ff;margin-top:20px}#directProgress[hidden]{display:none}.agency-scan{min-height:52px;font-size:16px!important;padding:14px 20px!important}

.agency-scan{width:110px!important;height:110px;min-width:110px;border-radius:50%!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;letter-spacing:3px;background:linear-gradient(145deg,#a451fa,#642de1)!important;box-shadow:0 0 0 6px #8b46ff22,0 0 28px #8b46ff40}.agency-scan svg{width:38px;height:44px;fill:white;color:white}.agency-scan svg .scan-eyelid{fill:#7942e7}.agency-row{background:#141122!important;border-color:#39304d!important}.agency-row h3{color:#f6f2ff!important}

.agency-protection{display:flex;align-items:center;gap:20px;border:1px solid #5d3a91;border-radius:22px;padding:22px;margin-bottom:22px;background:linear-gradient(120deg,#201536,#141322)}.agency-protection svg{flex:none;width:58px;height:68px;color:#a56bff;filter:drop-shadow(0 0 14px #9454ff55)}.agency-protection h3{font-size:21px;margin:0 0 6px;color:#f7f2ff}.agency-protection p{margin:0 0 10px;color:#c8badc}.agency-protection strong{color:#73e7b0;display:block;font-size:14px}.agency-protection small{display:block;margin-top:6px;color:#c8badc}

.sd-agency-links{display:flex;gap:10px;margin-bottom:16px}.sd-agency-links button{width:auto;margin:0}.sd-main-scan{width:140px!important;min-height:140px!important;border-radius:50%!important;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;letter-spacing:4px;font-weight:800;box-shadow:0 0 0 7px #8b46ff22,0 0 32px #8b46ff44}.sd-main-scan svg{width:46px;height:53px;fill:white;color:white}.sd-main-scan .scan-eyelid{fill:#7942e7}body.sd-open #directScannerPanel .direct-actions{justify-content:center;padding:16px 0}.sd-main-scan:disabled{opacity:.5}

body.sd-open #directScannerPanel .direct-actions .sd-main-scan{flex:0 0 140px!important;width:140px!important;min-width:140px!important;max-width:140px!important;height:140px!important;min-height:140px!important;max-height:140px!important;aspect-ratio:1/1;align-self:center;padding:18px!important;border-radius:50%!important;box-sizing:border-box;background:linear-gradient(145deg,#a453fa,#6f32df)!important;position:relative}
.sd-main-scan::before,.agency-scan::before{content:'';position:absolute;inset:6px;border:1px solid #ffffff45;border-radius:50%;pointer-events:none}
.sd-main-scan svg .scan-eyelid,.sd-main-scan svg .scan-pupil,.agency-scan svg .scan-eyelid,.agency-scan svg .scan-pupil,.sd-logo svg .scan-eyelid,.sd-logo svg .scan-pupil{transform-box:view-box;transform-origin:32px 36px;animation:dlm-brand-blink 4s ease-in-out infinite!important}
@keyframes dlm-brand-blink{0%,42%,48%,100%{transform:scaleY(1)}44%,46%{transform:scaleY(.06)}}
@media(prefers-reduced-motion:reduce){.sd-main-scan svg .scan-eyelid,.sd-main-scan svg .scan-pupil,.agency-scan svg .scan-eyelid,.agency-scan svg .scan-pupil,.sd-logo svg .scan-eyelid,.sd-logo svg .scan-pupil{animation:none!important}}

.agency-scan{position:relative;flex:0 0 110px!important;max-width:110px!important;min-height:110px!important;max-height:110px!important;box-sizing:border-box}.agency-protection svg{color:#b776ff!important;fill:unset!important}.agency-protection svg path:nth-child(2){fill:#faf8f5!important}.agency-protection svg circle{fill:#b776ff!important}body.sd-open #directScannerPanel .direct-actions .sd-main-scan:disabled{opacity:.8!important}

.agency-onboarding{padding:22px;border:1px solid #7650a9;border-radius:20px;margin:0 0 22px;background:#251a36}.agency-onboarding h3{margin-top:0;color:#faf6ff}.agency-onboarding p{color:#c8badc}.agency-onboarding button{width:auto}.sd-agency-links{flex-wrap:wrap}

.sd-agency-rights{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.sd-agency-rights input{width:18px!important;flex:0 0 18px}.sd-agency-rights .text-button{width:auto!important;font-size:12px;margin:0;color:#c59aff!important;padding:6px}.md-settings-shortcut{width:auto!important;min-width:44px;padding:10px 14px!important;font-size:12px!important;white-space:normal;max-width:190px}

body.sd-open .sd-form-heading>.sd-logo{display:none}.sd-agency-rights input:disabled{opacity:.45}.sd-agency-rights:has(input:disabled){color:#b8a9cd}

.agency-studio{padding:24px;border:1px solid #66468b;border-radius:22px;background:linear-gradient(125deg,#221630,#171425);margin:20px 0}.agency-studio h3{margin-top:0;color:#f7f2ff;font-size:22px}.agency-studio p{color:#c5b6d8}.agency-studio select{max-width:350px;margin:0 12px 12px 0}.agency-studio button{width:auto;margin-bottom:12px}
.case-brand-signature{display:flex;gap:10px;align-items:center;border-top:1px solid #694983;margin:18px 0;padding-top:12px}.case-brand-signature img{width:34px;height:34px;object-fit:contain}.case-brand-signature>div{display:flex;flex-direction:column;gap:3px}.case-brand-signature strong{font:800 21px 'Segoe UI',Arial,sans-serif;letter-spacing:-1px;color:#c08aff}.case-brand-signature a,.case-brand-signature span{font-size:11px}
.request-entry .request-details{padding:16px!important;font-size:12px}.request-details>strong{font-size:16px}.request-details>p{font-size:12px;margin:8px 0}.request-details .channel-tracking{font-size:11px}.request-details pre{font-size:12px;line-height:1.6}.request-details .form-submission{font-size:12px}
.case-mail-dialog{box-sizing:border-box;width:min(620px,calc(100vw - 32px));max-height:75vh;padding:16px;border:1px solid #654281;border-radius:16px;background:#1b1428;color:#eee5ff;overflow:auto}.case-mail-dialog::backdrop{background:#090510aa}.case-mail-dialog>.secondary{display:block;margin:0 0 12px auto}.case-mail-dialog .request-details{padding:0!important}.case-mail-dialog pre{max-height:240px;overflow:auto;padding:12px;background:#120e1d;border-radius:10px;white-space:pre-wrap;font-size:12px;line-height:1.6}.request-row{padding:14px!important;gap:12px!important}.request-row .request-field strong{font-size:12px}.request-row .request-field>span{font-size:10px}
