/* Copiloto SICOP — private, source-first AI-assisted intelligence */
#enterpriseStudio .copilot-workspace{padding:0;border:0;background:transparent;max-width:100%}
#enterpriseStudio .copilot-head{display:flex;justify-content:space-between;align-items:start;gap:20px;border:1px solid #53639b;border-radius:24px;background:radial-gradient(circle at 85% 0%,#6c70c448,transparent 44%),linear-gradient(135deg,#26345d,#14213b);padding:clamp(22px,3vw,34px);box-shadow:0 22px 42px #08122b42}
#enterpriseStudio .copilot-eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:#b0baff}
#enterpriseStudio .copilot-head h2{font-size:clamp(28px,3vw,44px);margin:7px 0;letter-spacing:-.045em}
#enterpriseStudio .copilot-head h2 span{font-size:15px;vertical-align:middle;border:1px solid #a3a8ff;padding:4px 9px;border-radius:99px;background:#474eae;color:#fff}
#enterpriseStudio .copilot-head p{color:#becbe7;max-width:630px;font-size:13px;line-height:1.6}
#enterpriseStudio .copilot-state{flex:0 0 auto;border:1px solid #6479b5;border-radius:999px;padding:10px 13px;color:#c2ccf8;font-size:11px;background:#283764}
#enterpriseStudio .copilot-selector{display:flex;gap:12px;align-items:end;margin:18px 0;flex-wrap:wrap}
#enterpriseStudio .copilot-selector label{display:flex;flex-direction:column;gap:8px;flex:1 1 300px;font-size:12px}
#enterpriseStudio .copilot-selector select{width:100%;min-width:0;min-height:44px}
#enterpriseStudio .copilot-selector button,#enterpriseStudio .copilot-ai-actions button{border-radius:12px;padding:12px 17px;background:#5569d7;border:1px solid #7785ed;color:#fff;font-weight:700}
#enterpriseStudio #copilotStatus{color:#bdc9e4;font-size:13px}
#enterpriseStudio .copilot-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:15px 0}
#enterpriseStudio .copilot-facts article{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-height:113px;border-radius:17px;border:1px solid #48577b;background:linear-gradient(145deg,#263655,#1b2a47);padding:18px}
#enterpriseStudio .copilot-facts strong{font-size:32px;color:#c3c8ff;font-variant-numeric:tabular-nums}
#enterpriseStudio .copilot-facts span{font-size:11px;color:#bdc8dc}
#enterpriseStudio .copilot-warnings{padding:18px 18px 18px 38px;border-radius:18px;border:1px solid #866b56;background:#3b2d2c;color:#ffd7ae}
#enterpriseStudio .copilot-warnings li{margin:6px 0}
#enterpriseStudio .copilot-sources{display:grid;gap:9px}
#enterpriseStudio .copilot-sources article{border-radius:13px;background:#202d49;border:1px solid #465579;padding:13px 15px;display:flex;flex-direction:column;gap:7px}
#enterpriseStudio .copilot-sources strong{font-size:12px;color:#e4ebff}
#enterpriseStudio .copilot-sources small{font-size:11px;color:#b2bfd6;overflow-wrap:anywhere}
#enterpriseStudio .copilot-ai-block{border-radius:24px;border:1px solid #5b6a9c;background:linear-gradient(150deg,#1d2b49,#141f37);padding:23px;margin:22px 0}
#enterpriseStudio .copilot-ai-block h3{font-size:21px}
#enterpriseStudio .copilot-ai-block>p{font-size:12px;color:#b7c6e1;line-height:1.65}
#enterpriseStudio .copilot-consent{display:flex;gap:10px;align-items:center;font-size:12px;padding:14px 0}
#enterpriseStudio .copilot-consent input{width:auto}
#enterpriseStudio .copilot-ai-actions{display:flex;gap:11px;flex-wrap:wrap}
#enterpriseStudio .copilot-ai-answer{white-space:pre-wrap;line-height:1.7;font-size:13px;padding:18px;border:1px solid #4f618b;background:#142039;border-radius:14px;overflow-wrap:anywhere}
body[data-theme=light] #enterpriseStudio .copilot-head{background:radial-gradient(circle at 90% 0%,#d7ddff,transparent 46%),linear-gradient(145deg,#fff,#edf2ff);border-color:#ced9ef}
body[data-theme=light] #enterpriseStudio .copilot-eyebrow{color:#4a5dad}
body[data-theme=light] #enterpriseStudio .copilot-head h2{color:#243353}
body[data-theme=light] #enterpriseStudio .copilot-head p{color:#52637e}
body[data-theme=light] #enterpriseStudio .copilot-state{background:#e9eeff;border-color:#c5d0ee;color:#4054a2}
body[data-theme=light] #enterpriseStudio #copilotStatus{color:#52627e}
body[data-theme=light] #enterpriseStudio .copilot-facts article{background:#fff;border-color:#d6e0ee}
body[data-theme=light] #enterpriseStudio .copilot-facts strong{color:#3448ac}
body[data-theme=light] #enterpriseStudio .copilot-facts span{color:#4b5b76}
body[data-theme=light] #enterpriseStudio .copilot-warnings{background:#fff7ed;border-color:#f1d4b5;color:#865421}
body[data-theme=light] #enterpriseStudio .copilot-sources article{background:#f8faff;border-color:#dce4f2}
body[data-theme=light] #enterpriseStudio .copilot-sources strong{color:#263a59}
body[data-theme=light] #enterpriseStudio .copilot-sources small{color:#51627b}
body[data-theme=light] #enterpriseStudio .copilot-ai-block{background:#fff;border-color:#d8e2ef}
body[data-theme=light] #enterpriseStudio .copilot-ai-block>p{color:#51617c}
body[data-theme=light] #enterpriseStudio .copilot-ai-answer{background:#f4f7fd;border-color:#d4deee;color:#263952}
@media(max-width:830px){#enterpriseStudio .copilot-facts{grid-template-columns:repeat(2,minmax(0,1fr))}#enterpriseStudio .copilot-head{flex-wrap:wrap}}
@media(max-width:500px){#enterpriseStudio .copilot-facts{grid-template-columns:1fr 1fr}#enterpriseStudio .copilot-facts article{padding:13px;min-height:92px}#enterpriseStudio .copilot-head{padding:20px}#enterpriseStudio .copilot-state{flex:1}}
@media(prefers-reduced-motion:no-preference){#enterpriseStudio .copilot-facts article{transition:transform .23s ease,border-color .23s ease}#enterpriseStudio .copilot-facts article:hover{transform:translateY(-4px);border-color:#858ce5}}

/* One Enterprise mode per panel: never leak content across modules. */
#enterpriseStudio[data-mode="dashboard"] #copilotWorkspace,
#enterpriseStudio[data-mode="autobid"] #copilotWorkspace,
#enterpriseStudio[data-mode="winlab"] #copilotWorkspace,
#enterpriseStudio[data-mode="crm"] #copilotWorkspace,
#enterpriseStudio[data-mode="contract"] #copilotWorkspace{display:none}
#enterpriseStudio[data-mode="copilot"] #enterpriseCommand,
#enterpriseStudio[data-mode="copilot"] .studio-launchcards,
#enterpriseStudio[data-mode="copilot"] #studioWinLab,
#enterpriseStudio[data-mode="copilot"] #enterpriseWorkspace{display:none}
#enterpriseStudio[data-mode="copilot"] #copilotWorkspace{display:block;margin-top:20px}

/* Five Enterprise launch modules, visually weighted without horizontal overflow. */
#enterpriseStudio .studio-launchcards{grid-template-columns:repeat(3,minmax(0,1fr))}
#enterpriseStudio .studio-launchcards .studio-launch:first-child{
 background:radial-gradient(circle at 100% 5%,#7e86e34a,transparent 47%),linear-gradient(135deg,#263765,#182746);
 border-color:#6675c1;
}
#enterpriseStudio .studio-launchcards .studio-launch:first-child strong{color:#f0f2ff}
#enterpriseStudio .studio-launchcards .studio-launch:first-child span{color:#adb8ff}
body[data-theme=light] #enterpriseStudio .studio-launchcards .studio-launch:first-child{
 background:linear-gradient(145deg,#f5f6ff,#e6ebfc);border-color:#c2ccef;
}
body[data-theme=light] #enterpriseStudio .studio-launchcards .studio-launch:first-child strong{color:#253b87}
body[data-theme=light] #enterpriseStudio .studio-launchcards .studio-launch:first-child span{color:#455ab0}
@media(max-width:1050px){#enterpriseStudio .studio-launchcards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){#enterpriseStudio .studio-launchcards{grid-template-columns:1fr}}

/* Source-derived coverage, explicitly NOT a prediction of success. */
#enterpriseStudio .copilot-readiness{display:flex;gap:23px;align-items:center;max-width:850px;margin:20px 0 18px;padding:20px;border-radius:21px;background:linear-gradient(120deg,#28385b,#1b2947);border:1px solid #56658c;box-shadow:0 13px 27px #070e2026}
#enterpriseStudio .copilot-readiness-ring{--copilot-progress:0%;position:relative;display:grid;place-items:center;width:124px;height:124px;flex:0 0 124px;border-radius:50%;background:conic-gradient(#959fff 0 var(--copilot-progress),#4a5879 var(--copilot-progress) 100%);box-shadow:0 8px 23px #12182f45}
#enterpriseStudio .copilot-readiness-ring::before{content:"";position:absolute;inset:12px;background:#1e2d4c;border-radius:50%}
#enterpriseStudio .copilot-readiness-ring span{position:relative;font-size:29px;font-weight:800;color:#f2f3ff;font-variant-numeric:tabular-nums}
#enterpriseStudio .copilot-readiness>div:last-child strong{font-size:17px;color:#eff2ff;display:block;margin-bottom:8px}
#enterpriseStudio .copilot-readiness p{font-size:12px;line-height:1.65;color:#becbe2;max-width:560px;margin:0}
body[data-theme=light] #enterpriseStudio .copilot-readiness{background:#f5f7ff;border-color:#d4ddec}
body[data-theme=light] #enterpriseStudio .copilot-readiness-ring{background:conic-gradient(#4d63d6 0 var(--copilot-progress),#d5ddec var(--copilot-progress) 100%)}
body[data-theme=light] #enterpriseStudio .copilot-readiness-ring::before{background:#fff}
body[data-theme=light] #enterpriseStudio .copilot-readiness-ring span{color:#354990}
body[data-theme=light] #enterpriseStudio .copilot-readiness>div:last-child strong{color:#273856}
body[data-theme=light] #enterpriseStudio .copilot-readiness p{color:#4d617a}
@media(max-width:520px){#enterpriseStudio .copilot-readiness{flex-direction:column;align-items:start;gap:14px}#enterpriseStudio .copilot-readiness-ring{width:106px;height:106px;flex-basis:106px}}
@media(prefers-reduced-motion:no-preference){#enterpriseStudio .copilot-readiness-ring{animation:copilotCoverageEnter .65s cubic-bezier(.1,.8,.3,1) both}@keyframes copilotCoverageEnter{from{transform:scale(.88);opacity:.6}to{transform:scale(1);opacity:1}}}
