/* EdgeBreak shared AI wait + dark analysis section treatment. UI only. */
.eb-ai-wait[hidden]{display:none!important}
.eb-ai-wait{position:fixed;inset:0;z-index:100020;display:grid;place-items:center;padding:20px;background:rgba(4,11,24,.70);backdrop-filter:blur(6px)}
.eb-ai-wait-card{box-sizing:border-box;width:min(440px,100%);padding:34px clamp(22px,5vw,38px);border:1px solid rgba(159,174,255,.35);border-radius:22px;background:radial-gradient(circle at 50% -10%,rgba(116,87,231,.25),transparent 52%),linear-gradient(145deg,#162542,#101a34);box-shadow:0 25px 90px rgba(3,9,24,.48),0 0 45px rgba(104,85,230,.16);color:#f8fafc;text-align:center}
.eb-ai-wait-mark{display:grid;place-items:center;width:54px;height:54px;margin:0 auto 17px;border:1px solid rgba(171,153,255,.4);border-radius:16px;background:rgba(119,91,225,.19);color:#d5b8ff;font-size:32px;box-shadow:0 0 30px rgba(119,91,225,.2)}
.eb-ai-wait-brand{display:block;color:#d8cbff;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.eb-ai-wait-card h2{margin:12px 0 10px!important;color:#fff!important;font-size:clamp(22px,4vw,27px)!important;line-height:1.2!important}
.eb-ai-wait-card p{margin:0 auto;color:#bfcee2!important;font-size:13px!important;line-height:1.65!important;max-width:340px}
.eb-ai-wait-track{position:relative;overflow:hidden;height:7px;margin:25px auto 0;border:1px solid #506287;border-radius:999px;background:#263450}
.eb-ai-wait-track span{position:absolute;inset-block:0;left:-40%;width:40%;border-radius:999px;background:linear-gradient(90deg,#9873ff,#86c5ff);box-shadow:0 0 18px #8b91ff;animation:eb-ai-wait-sweep 1.8s ease-in-out infinite}
@keyframes eb-ai-wait-sweep{0%{left:-40%}100%{left:100%}}
@media(prefers-reduced-motion:reduce){.eb-ai-wait-track span{animation:none;left:0;width:100%;opacity:.65}}

/* Scope navy only to AI analysis/research workspaces, not charts or scanners. */
.member-analyzer #analysisWorkspace{padding:clamp(14px,2vw,24px);border:1px solid #263951;border-radius:17px;background:radial-gradient(ellipse at 10% 0%,rgba(43,92,148,.24),transparent 43%),linear-gradient(160deg,#0b1729,#101e33 65%,#0b1729)}
.member-analyzer #analysisWorkspace .an-card{background:#fff;color:#0f172a}
body.eb-app-body #chartAITool.chart-ai-tool,
body.eb-app-body #ebWorkspaceContent #chartAITool.chart-ai-tool{background:radial-gradient(ellipse at 12% 0%,rgba(43,92,148,.24),transparent 42%),linear-gradient(160deg,#0b1729,#101e33 65%,#0b1729)!important;border:1px solid #2b3d57!important;border-radius:18px!important;box-shadow:0 14px 35px rgba(8,19,36,.13)!important;color:#e2e8f0}
body.eb-app-body #ebWorkspaceContent #chartAITool.chart-ai-tool{padding:clamp(16px,2vw,26px)!important}
body.eb-app-body #chartAITool .chart-ai-header h2,
body.eb-app-body #chartAITool .chart-ai-results-heading h3{color:#f8fafc!important}
body.eb-app-body #chartAITool .chart-ai-header p{color:#cbd5e1!important}
body.eb-app-body #chartAITool .chart-ai-eyebrow{color:#86efac!important}
body.eb-app-body #chartAITool .chart-ai-results{border-color:rgba(203,213,225,.24)!important}
body.eb-app-body #chartAITool .chart-ai-dropzone{background:#f8fbf9;color:#0f172a}
#research.eb-sh-research-gate{border-color:#354961;background:radial-gradient(ellipse at 0 0,rgba(70,89,155,.18),transparent 60%),linear-gradient(155deg,#0b1729,#15243a);color:#f8fafc}
#research.eb-sh-research-gate .eb-sh-section-head{border-color:#354961}
#research.eb-sh-research-gate .eb-sh-section-head h2,
#research.eb-sh-research-gate .eb-sh-research-gate-body strong{color:#f8fafc}
#research.eb-sh-research-gate .eb-sh-section-head span{color:#86efac}
#research.eb-sh-research-gate .eb-sh-research-state,
#research.eb-sh-research-gate .eb-sh-research-gate-body p{color:#bac7d9}
#ebShResearchSections:not([hidden]){padding:clamp(10px,2vw,18px);margin-top:14px;border:1px solid #263951;border-radius:15px;background:linear-gradient(155deg,#0b1729,#14233a)}
#ebShResearchSections .eb-sh-section{background:#fff;color:#0f172a}
/* Conversation AI remains readable; only its title treatment changes. */
#ebUnlimitedPanel .eb-unlimited-head{background:linear-gradient(145deg,#101d34,#253259)!important;border-bottom:1px solid #3b476d!important}
#ebUnlimitedPanel .eb-unlimited-head h2{color:#f8fafc!important}
#ebUnlimitedPanel .eb-unlimited-head span{color:#a7f3d0!important}
#ebUnlimitedPanel .eb-unlimited-head button{color:#e2e8f0!important;background:rgba(255,255,255,.08)!important;border-color:#64748b!important}
