/* Órbita — a working companion, not a second dashboard. Scoped to the copilot. */
:root{--co-width:440px}
#coOv{position:fixed;inset:12px 12px 12px auto;width:calc(var(--co-width) - 24px);max-width:none;max-height:none;height:calc(100dvh - 24px);margin:0;padding:0;border:1px solid #fff;border-radius:26px;background:linear-gradient(125deg,#fff7f2 0%,#fcf5fb 40%,#f5f0fd 100%);color:#34243e;box-shadow:0 20px 70px -26px #38234155,0 0 0 1px #e8dcee;z-index:9998;overflow:hidden;font-family:'Instrument Sans',Inter,system-ui,sans-serif;font-size:14px;line-height:1.5;color-scheme:light}
#coOv::backdrop{background:#35203f42;backdrop-filter:blur(3px)}
#coOv *{box-sizing:border-box}
#coOv [hidden]{display:none!important}
#coOv button,#coOv textarea{font:inherit}
#coOv button{cursor:pointer;transition:background .15s,box-shadow .15s,border-color .15s;touch-action:manipulation}
#coOv button:disabled{cursor:default;opacity:.48}
#coOv button:focus-visible,#coOv textarea:focus-visible{outline:3px solid #b881d5;outline-offset:3px}
#coOv p,#coOv h2,#coOv h3,#coOv dl,#coOv dd{margin:0}
#coOv h3{font-size:20px;line-height:1.2;letter-spacing:-.5px;color:#35203f;font-weight:700}
#coOv svg{width:20px;height:20px;flex:0 0 20px}
#coCard{height:100%;display:flex;flex-direction:column;min-height:0;isolation:isolate}
#coHead{display:flex;align-items:center;gap:11px;position:relative;padding:21px 18px 13px;flex:none}
#coHead::before{content:'';position:absolute;right:20%;top:-60px;width:220px;height:200px;z-index:-1;background:radial-gradient(ellipse,#e5d5f570,transparent 70%);pointer-events:none}
#coHead .coEntity{width:57px;height:57px;object-fit:contain;filter:drop-shadow(0 8px 10px #9b64bc30);flex:none}
#coHead .co-title{min-width:0;flex:1}
#coTitle{font-size:28px;letter-spacing:-1.2px;line-height:1.1;font-weight:700;color:#35203f}
#coTitle span{color:#c870b1}
#coOv .co-eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#9161a5;line-height:1.5;margin-bottom:6px}
#coHead .co-eyebrow{font-size:9px;margin:0 0 3px}
#coStateText{font-size:10px;color:#756178;margin-top:5px!important;line-height:1.3}
#coOv .co-header-actions{display:flex;align-self:flex-start;gap:4px}
#coOv .co-icon-button{width:40px;height:40px;min-width:40px;display:inline-grid;place-items:center;background:#ffffffbd;border:1px solid #ecdfef;border-radius:13px;color:#765082;padding:0}
#coOv .co-icon-button:hover:not(:disabled){background:#f4eafb;border-color:#d6b9e6}
#coOv .co-context{display:flex;align-items:center;gap:7px;margin:0 18px 13px;padding:7px 10px;border:1px solid #ede2f1;border-radius:10px;background:#ffffffa8;font-size:11px;min-width:0;color:#624b6a;flex:none}
#coOv .co-context b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:650;flex:1}
#coOv .co-context [data-role]{font-size:10px;background:#f0e7f8;border-radius:6px;padding:2px 6px;max-width:120px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
#coOv .co-context-dot{width:6px;height:6px;flex:none;border-radius:50%;background:#8d4bb9}
#coOv .co-tabs{display:flex;gap:5px;margin:0 18px 12px;background:#f1e9f5a8;border:1px solid #fff;padding:4px;border-radius:14px;flex:none}
#coOv .co-tabs button{flex:1;min-width:0;border:0;border-radius:10px;padding:9px 5px;background:transparent;color:#765082;font-size:12px;font-weight:650;min-height:38px}
#coOv .co-tabs button[aria-selected=true]{background:linear-gradient(115deg,#bd3e8f,#8d4bb9 75%);color:#fff;box-shadow:0 5px 14px -7px #84419970,inset 0 1px #ffffff60}
#coOv .co-main{flex:1;min-height:0;display:flex;overflow:hidden}
#coOv [role=tabpanel]{width:100%;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#coOv #co-ask{display:flex;overflow:hidden}
#coMsgs{display:flex;flex:1;flex-direction:column;gap:13px;min-height:0;overflow:auto;overscroll-behavior:contain;padding:8px 18px 22px;scrollbar-gutter:stable}
#coOv .co-welcome{padding:20px 4px 8px}
#coOv .co-welcome h3{font-size:29px;letter-spacing:-1px;margin-bottom:10px}
#coOv .co-welcome>p:not(.co-eyebrow){font-size:14px;line-height:1.7;color:#756178;max-width:310px}
#coOv .co-welcome-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}
#coOv .co-welcome-chips .coAction{width:100%;justify-content:space-between;background:#ffffffb8;font-size:12px;padding:11px 13px}
#coOv .co-welcome-chips .coAction::after{content:'↗';font-size:17px;color:#aa74b5}
#coOv .coBubble{max-width:100%;border:1px solid #ebe1ef;border-radius:19px 19px 19px 5px;background:#ffffffdf;padding:15px;font-size:13px;line-height:1.6;overflow-wrap:anywhere;color:#4f3a59;box-shadow:0 7px 22px -19px #4a295960}
#coOv .coBubble p{white-space:pre-wrap}
#coOv .coBubble.co-me{align-self:flex-end;max-width:92%;border-radius:18px 18px 5px 18px;background:linear-gradient(125deg,#382341,#4a2959 48%,#684475);color:#fff;border-color:#644471;padding:11px 15px}
#coOv .coBubble.co-system{background:#fff8ee;color:#7c5937;border-color:#f2e2cc;font-size:12px}
#coOv .coBubble.co-waiting{background:transparent;border:0;box-shadow:none;padding:4px 8px;color:#9161a5;font-size:12px}
#coOv .co-typing span{animation:co-soft-pulse 1.2s ease-in-out infinite}
#coOv .co-plan{border:1px solid #d8c1e5;background:linear-gradient(130deg,#fffcff,#f7f0fc);box-shadow:0 7px 18px -13px #704f8638;padding:16px}
#coOv .co-plan-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#9161a5;font-size:10px;margin-bottom:12px}
#coOv .co-plan-label{padding:3px 7px;border-radius:6px;background:#e9dcf2;color:#765082;font-weight:700}
#coOv .co-plan h3{font-size:17px;line-height:1.4;margin-bottom:8px}
#coOv .co-risk,#coOv .co-plan-expiry,#coOv .co-receipt{font-size:10px;color:#756178}
#coOv .co-receipt{display:block;font-size:9px;margin-top:12px;overflow-wrap:anywhere}
#coOv .co-plan-expiry{margin-top:10px}
#coOv .co-plan-result{margin-top:10px;color:#346b58;font-weight:600}
#coOv .coDetails{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}
#coOv .coDetail{padding:9px 10px;border:1px solid #ece3f2;border-radius:10px;background:#ffffffbc;min-width:0}
#coOv .coDetail dt{color:#756178;font-size:10px;line-height:1.3;margin-bottom:3px}
#coOv .coDetail dd{font-size:12px;font-weight:650;color:#4f365a;line-height:1.4}
#coOv .coActions,#coOv .co-related{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
#coOv .coAction{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 11px;border-radius:11px;border:1px solid #e9d9ee;background:linear-gradient(120deg,#fff,#fcf5fd);color:#765082;font-size:11px;font-weight:650;line-height:1.4;text-align:left}
#coOv .coAction svg{width:16px;height:16px;flex-basis:16px}
#coOv .coAction.primary{background:linear-gradient(110deg,#c93672 0%,#b53aa1 46%,#7846c9);color:#fff;border-color:#b44b9d;box-shadow:inset 0 1px #ffffff5c}
#coOv .coAction:hover:not(:disabled){border-color:#b991cc;box-shadow:0 4px 10px -5px #8d4bb93b}
#coOv .coSource{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:7px;margin-top:13px;padding-top:10px;border-top:1px solid #eee4f2;font-size:10px;color:#756178}
#coOv .coSource .coAction{min-height:32px;border:0;background:none;padding:3px 0;font-size:10px}
#coOv .co-choices{display:grid;gap:7px;margin-top:10px}
#coOv .co-choice{display:block;text-align:left;border:1px solid #e5d4ed;background:#fffcff;border-radius:11px;padding:10px 12px;min-height:44px;color:#624b6a;line-height:1.4}
#coOv .co-choice b,#coOv .co-choice small{display:block}
#coOv .co-choice b{font-size:12px}
#coOv .co-choice small{font-size:10px;color:#756178;margin-top:2px}
#coOv .co-choice:hover:not(:disabled){background:#f6edf9;border-color:#c09ad6}
#coOv .co-library{padding:15px 20px 22px}
#coOv .co-library h3{font-size:25px;max-width:300px;line-height:1.2}
#coOv .co-sub{color:#756178;font-size:12px;margin:11px 0 19px;line-height:1.7}
#coOv .co-shortcut-list,#coOv .co-help-list{display:grid;gap:9px}
#coOv .co-shortcut{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border:1px solid #fff;border-radius:16px;padding:12px;background:#ffffffc4;color:#624b6a;box-shadow:0 0 0 1px #efe4f2}
#coOv .co-shortcut>span:not(.co-shortcut-icon){flex:1;min-width:0}
#coOv .co-shortcut b,#coOv .co-shortcut small{display:block}
#coOv .co-shortcut b{font-size:12px;color:#4b3257}
#coOv .co-shortcut small{font-size:10px;color:#8b7194;margin-top:3px}
#coOv .co-shortcut>svg{width:16px;height:16px;flex-basis:16px;color:#aa85b8}
#coOv .co-shortcut-icon{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:11px;background:#f0e6f8;color:#9467b2}
#coOv .co-shortcut:nth-child(3n+2) .co-shortcut-icon{background:#f8e8f1;color:#b678a0}
#coOv .co-shortcut:hover:not(:disabled),#coOv .co-help-topic:hover:not(:disabled){background:#f7eefb;border-color:#d9c0e6}
#coOv .co-help-topic{display:grid;grid-template-columns:1fr 18px;gap:4px 12px;text-align:left;border:1px solid #e9dfee;border-radius:14px;background:#fff9;min-height:68px;padding:13px;color:#4f3a59}
#coOv .co-help-topic b{font-size:13px;font-weight:650}
#coOv .co-help-topic small{font-size:11px;color:#8b7194}
#coOv .co-help-topic svg{grid-column:2;grid-row:1/3;align-self:center;width:17px;color:#a881b7}
#coOv .co-library-note{color:#8b7194;font-size:10px;line-height:1.7;margin-top:18px}
#coOv .co-help-steps{list-style:decimal;padding-left:21px;margin:12px 0 0}
#coOv .co-help-steps li{padding:4px 0 7px 3px;font-size:12px;line-height:1.65}
#coOv .co-help-steps li::marker{color:#ac67b1;font-weight:700}
#coOv .co-notice{background:#f5edf9;border-radius:9px;padding:10px;color:#765082;font-size:11px;line-height:1.6;margin-top:12px}
#coOv .co-composer{flex:none;padding:10px 14px 12px;background:#fffafcd9;border-top:1px solid #fff;box-shadow:0 -8px 22px -21px #563763}
#coForm{border:1px solid #e3cfe9;border-radius:17px;background:#fff;box-shadow:0 4px 14px -9px #76508228;overflow:hidden}
#coInput{display:block;width:100%;min-height:63px;max-height:145px;resize:vertical;outline:none;border:0;background:transparent;padding:13px 13px 5px;font-size:13px!important;line-height:1.6!important;color:#34243e;border-radius:16px 16px 0 0}
#coOv #coInput:focus-visible{outline:none}
#coForm:focus-within{border-color:#b881d5;box-shadow:0 0 0 2px #b881d518}
#coInput::placeholder{color:#a18aa8}
#coOv .co-composer-tools{display:flex;gap:9px;align-items:center;padding:6px 8px 8px}
#coOv .co-composer-tools #coMic{width:34px;height:34px;min-width:34px;background:#f8f2fc;border-color:transparent;border-radius:10px}
#coInputHint{font-size:9px;line-height:1.5;color:#947e9b;flex:1}
#coInputCount{font-size:9px;color:#947e9b;align-self:flex-end;padding-bottom:3px;font-variant-numeric:tabular-nums}
#coInputCount.over{color:#a53754;font-weight:700}
#coOv .co-send{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:12px;background:linear-gradient(110deg,#c93672,#b53aa1 46%,#7846c9);color:#fff;border:1px solid #b44b9d;box-shadow:inset 0 1px #ffffff50}
#coStatus{font-size:10px;color:#765082;margin:6px 5px 0!important;line-height:1.5;overflow-wrap:anywhere}
#coStatus:empty{display:none}
#coRecBar{display:flex;align-items:center;gap:7px;padding:3px 3px 10px;font-size:11px;color:#8c5085}
#coRecBar button{margin-left:auto;background:none;border:0;color:#8b507d;text-decoration:underline;font-size:11px;min-height:34px}
#coOv .co-record-dot{background:#c05f98;width:7px;height:7px;border-radius:50%;animation:co-soft-pulse 1s ease-in-out infinite}
#coOv .co-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#copilotFab{filter:drop-shadow(0 7px 14px #8c63af38)}
#copilotFab:hover{transform:translateY(-2px)}
#copilotNudge{display:none}
.auraResolveFocus{outline:3px solid #b27bcc!important;outline-offset:6px;box-shadow:0 0 0 8px #cb93dd24!important;border-radius:12px}
#auraGuideCoach{position:fixed;right:18px;bottom:92px;z-index:9997;max-width:min(350px,calc(100vw - 36px));background:linear-gradient(125deg,#382341,#4a2959 48%,#684475);color:#fff;border:1px solid #ffffff60;border-radius:20px;padding:18px;box-shadow:0 20px 55px -25px #38234188;font:13px/1.6 'Instrument Sans',system-ui,sans-serif}
#auraGuideCoach small{display:block;color:#e3cbe9;font-size:10px}
#auraGuideCoach p{margin:8px 0 14px}
#auraGuideCoach>div{display:flex;gap:8px;flex-wrap:wrap}
#auraGuideCoach .coAction{border:1px solid #ffffff50;background:#ffffff19;color:#fff;border-radius:10px;padding:9px 12px;min-height:40px;cursor:pointer;font:600 12px/1.4 'Instrument Sans',system-ui,sans-serif}
body:has(.drawer.on,dialog[open],.wa-modal-overlay,.billing-modal-overlay) #auraGuideCoach{visibility:hidden;pointer-events:none}
@keyframes co-soft-pulse{50%{opacity:.35}}
@media(min-width:1200px){body.aura-copilot-open>.app{width:calc(100% - var(--co-width));max-width:calc(100% - var(--co-width))}body.aura-copilot-open #copilotFab,body.aura-copilot-open #copilotNudge{visibility:hidden;pointer-events:none}}
@media(min-width:1700px){:root{--co-width:484px}}
@media(max-width:1199px){#coOv{inset:0;width:100vw;height:100dvh;border:0;border-radius:0;max-height:100dvh}#coCard{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}#coHead{padding:16px 18px 10px}#coHead .coEntity{width:48px;height:48px}#coTitle{font-size:26px}#coOv .co-main{background:#fff4}#coOv .co-icon-button{width:44px;height:44px;min-width:44px}#coOv .co-tabs button{min-height:42px}#coOv .co-welcome{padding-top:12px}#coOv .co-composer{padding-bottom:10px}#coOv .co-composer-tools #coMic{width:44px;height:44px;min-width:44px}#coOv .co-send{width:44px;height:44px}#coInput{font-size:16px!important;min-height:66px}#coOv .coAction{min-height:44px}#coOv .co-library{padding-top:12px}#coOv .co-library h3{font-size:24px}}
@media(max-width:360px){#coOv .coDetails{grid-template-columns:1fr}#coHead .coEntity{width:40px;height:40px}#coOv .co-context{margin-left:14px;margin-right:14px}#coMsgs{padding-left:13px;padding-right:13px}#coHead{gap:8px}#coStateText{font-size:9px}}
@media(prefers-reduced-motion:reduce){#coOv *,#copilotFab{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
