.ms-assistant-launch{position:fixed;right:24px;bottom:24px;z-index:45;display:flex;align-items:center;gap:10px;border:1px solid #7bc9ed80;border-radius:999px;background:#082536;color:#ecf8ff;padding:13px 18px;box-shadow:0 8px 30px #0008;font-family:inherit;font-size:14px;font-weight:600;line-height:1.3;cursor:pointer}.ms-assistant-orb{width:22px;height:22px;border-radius:50%;background:radial-gradient(circle,#e9fbff 0,#62d6ff 20%,#177eac 50%,#061825 72%);box-shadow:0 0 14px #4ccfff70}.ms-assistant-launch small{font-size:12px;color:#a7c7d7;font-weight:400}.ms-assistant-panel{position:fixed;inset:auto 24px 24px auto;margin:0;width:min(390px,calc(100vw - 32px));max-height:min(620px,calc(100dvh - 48px));padding:0;border:1px solid #589ab280;border-radius:20px;background:#081d2b;color:#edf8ff;box-shadow:0 20px 80px #000a;overflow:hidden}.ms-assistant-panel::backdrop{background:#020b1355}.ms-assistant-panel[open]{display:flex;flex-direction:column}.ms-assistant-head{display:flex;align-items:center;gap:10px;padding:18px;border-bottom:1px solid #88c6df25}.ms-assistant-head h2{font-size:17px;line-height:1.3;margin:0}.ms-assistant-head p{font-size:12px;color:#a8ccd9;margin:4px 0 0}.ms-assistant-close{margin-left:auto;width:36px;height:36px;border:1px solid #91bcd340;border-radius:10px;background:#173546;color:#fff;font-size:24px;cursor:pointer}.ms-assistant-notice{margin:0;padding:10px 18px;background:#153548;color:#bce6f6;font-size:13px;line-height:1.5}.ms-assistant-log{overflow:auto;padding:18px;display:flex;flex-direction:column;gap:12px;min-height:140px;max-height:320px;overscroll-behavior:contain}.ms-assistant-msg{margin:0;padding:12px 14px;border:1px solid #8bbcd523;border-radius:14px;background:#102c3e;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.ms-assistant-msg[data-role=user]{background:#21536a;align-self:flex-end;max-width:90%}.ms-assistant-msg a{display:block;color:#9ae4ff;margin-top:8px;text-decoration:underline}.ms-assistant-prompts{display:flex;flex-wrap:wrap;gap:7px;padding:0 18px 15px}.ms-assistant-prompts button{border:1px solid #78b2cb55;border-radius:999px;padding:8px 11px;background:transparent;color:#ceebf6;font-size:13px;cursor:pointer}.ms-assistant-form{padding:14px 18px 18px;border-top:1px solid #88c6df25}.ms-assistant-form label{display:block;font-size:13px;color:#b4d0df;margin-bottom:7px}.ms-assistant-input-row{display:flex;gap:7px}.ms-assistant-input-row input{width:100%;min-width:0;background:#051522;border:1px solid #77b4cf60;border-radius:10px;padding:11px;color:#f2fbff;font-size:16px}.ms-assistant-input-row button{border:1px solid #8bd5ee;border-radius:10px;background:#a9e4f3;color:#071b27;padding:10px 13px;font-weight:600;cursor:pointer}.ms-assistant-panel :focus-visible,.ms-assistant-launch:focus-visible{outline:3px solid #89defe;outline-offset:3px}.ms-assistant-foot{font-size:12px;color:#9cbacb;margin:9px 0 0;line-height:1.5}@media(max-width:700px){.ms-assistant-launch{right:14px;bottom:calc(78px + env(safe-area-inset-bottom,0px));padding:11px 14px}.ms-assistant-panel{right:10px;bottom:calc(76px + env(safe-area-inset-bottom,0px));width:calc(100vw - 20px);max-height:calc(100dvh - 100px)}.ms-assistant-log{max-height:250px}.ms-assistant-head{padding:14px}}@media(prefers-reduced-motion:reduce){.ms-assistant-panel{scroll-behavior:auto}}

/* Distinct console styling, preserving the moonlit Mothership palette. */
.ms-assistant-launch{gap:14px;padding:16px 19px;border-radius:19px 19px 7px 19px;border-color:#92e3ffab;background:linear-gradient(145deg,#19485d,#0b2538 62%,#102e42);box-shadow:inset 0 1px 0 #c1f2ff50,inset 0 0 0 4px #06192870,0 12px 36px #0009,0 0 24px #5bc8f530;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;text-align:left}
.ms-assistant-launch:hover{transform:translateY(-3px);border-color:#c3f4ff;box-shadow:inset 0 1px 0 #e3fbff70,inset 0 0 0 4px #06192870,0 16px 42px #000a,0 0 32px #67d5fc55}
.ms-assistant-launch:active{transform:translateY(-1px)}
.ms-assistant-launch .ms-assistant-orb{width:36px;height:36px;flex:0 0 36px;border:1px solid #9de7ff;box-shadow:0 0 0 5px #3d8bb52c,0 0 24px #54cfff90,inset 0 0 8px #071b2c}
.ms-assistant-launch-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.ms-assistant-launch-copy small{font-size:12px;line-height:1.4;color:#bed9e6}
.ms-assistant-launch-copy strong{font-size:17px;line-height:1.35;font-weight:650;color:#f0fbff;letter-spacing:-.2px}
.ms-assistant-preview-tag{font-size:10px;letter-spacing:1.6px;line-height:1.5;color:#8bd7ee}
.ms-assistant-launch-mark{display:grid;place-items:center;box-sizing:border-box;flex:none;width:25px;height:25px;padding:0;border:1px solid #8bd7ee50;border-radius:7px;line-height:0;color:#c6f3ff}
.ms-assistant-launch-mark>svg{display:block;width:18px;height:18px;margin:0;stroke-width:1.8;pointer-events:none}
.ms-assistant-panel{border-color:#92e3ff85;background:radial-gradient(ellipse at 100% 0,#21526b66,transparent 55%),#081d2b;box-shadow:inset 0 1px 0 #c1f2ff30,0 22px 80px #000b,0 0 35px #469dc328}
.ms-assistant-head{background:linear-gradient(110deg,#1e4e65aa,#102b3c60);padding:20px 18px}
.ms-assistant-head h2{font-size:18px;letter-spacing:-.3px}
.ms-assistant-head .ms-assistant-orb{width:28px;height:28px;flex:0 0 28px;box-shadow:0 0 0 4px #70bddd1f,0 0 22px #59cfff65}
.ms-assistant-prompts button{transition:background .16s ease,border-color .16s ease,transform .16s ease}
.ms-assistant-prompts button:hover{background:#21546c;border-color:#98e5ff;transform:translateY(-1px)}
.ms-assistant-close:hover{background:#295a73}
.ms-assistant-input-row button:hover{background:#d4f5ff}
@media(max-width:700px){.ms-assistant-launch{padding:12px 14px;gap:11px;max-width:calc(100vw - 28px)}.ms-assistant-launch-copy strong{font-size:16px}.ms-assistant-launch-copy small{font-size:11px}.ms-assistant-launch .ms-assistant-orb{width:30px;height:30px;flex-basis:30px}.ms-assistant-launch-mark{width:22px;height:22px}.ms-assistant-panel{max-height:calc(100dvh - 100px)}}
@media(prefers-reduced-motion:reduce){.ms-assistant-launch,.ms-assistant-prompts button{transition:none}.ms-assistant-launch:hover,.ms-assistant-prompts button:hover{transform:none}}
.ms-assistant-protocol{padding:12px 18px 0;display:flex;align-items:center;gap:10px;font-size:13px;color:#b4d0df}
.ms-assistant-protocol select{flex:1;min-width:0;padding:9px;border:1px solid #77b4cf60;border-radius:10px;background:#051522;color:#f2fbff;font:inherit}
.ms-assistant-protocol select.ms-protocol-native{display:none}.ms-protocol-picker{position:relative;flex:1;min-width:0}.ms-protocol-trigger{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:9px 12px;border:1px solid #77b4cf60;border-radius:13px;background:linear-gradient(135deg,#153548,#071b28);color:#ecf8ff;font:inherit;text-align:left;cursor:pointer;box-shadow:inset 0 1px 0 #b2e9ff0d}.ms-protocol-trigger:hover,.ms-protocol-trigger[aria-expanded=true]{border-color:#9ae4ff99;background:#16394c}.ms-protocol-selected{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:550}.ms-protocol-chevron{font-size:20px;color:#91c2d8;line-height:1;transition:transform .15s}.ms-protocol-trigger[aria-expanded=true] .ms-protocol-chevron{transform:rotate(180deg)}.ms-protocol-avatar{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;border:1px solid #82b9d140;background:radial-gradient(circle at 40% 20%,#28576b,#071a27);overflow:hidden;color:#b2e9ff;font-size:11px;box-sizing:border-box}.ms-protocol-avatar img{display:block;width:100%;height:100%;object-fit:contain;padding:3px;box-sizing:border-box}.ms-protocol-menu{position:absolute;z-index:5;top:calc(100% + 8px);left:0;right:0;display:flex;flex-direction:column;box-sizing:border-box;padding:8px;border:1px solid #91d9f56b;border-radius:16px;background:linear-gradient(145deg,#15374a,#071a28 65%);box-shadow:0 18px 45px #0009,inset 0 1px 0 #b2e9ff19;overflow:hidden}.ms-protocol-menu[hidden]{display:none}.ms-protocol-menu>input{width:100%;box-sizing:border-box;flex-shrink:0;padding:11px 12px;margin-bottom:7px;border:1px solid #91bcd340;border-radius:10px;background:#051522;color:#ecf8ff;font:inherit;font-size:13px;min-width:0}.ms-protocol-menu>input::placeholder{color:#86a6b9}.ms-protocol-list{overflow:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#55839a transparent;scrollbar-gutter:stable}.ms-protocol-option{display:flex;align-items:center;gap:11px;width:100%;padding:10px 9px;border:1px solid transparent;border-radius:10px;background:transparent;color:#e2f2fb;text-align:left;font:inherit;cursor:pointer;min-height:55px}.ms-protocol-option:hover,.ms-protocol-option:focus-visible{background:#8edcff12;border-color:#8edcff42}.ms-protocol-option[aria-selected=true]{background:#8edcff1b;border-color:#8edcff60}.ms-protocol-option:disabled{opacity:.45;cursor:default}.ms-protocol-copy{display:grid;gap:3px;flex:1;min-width:0}.ms-protocol-copy strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.ms-protocol-copy small{font-size:10px;color:#8eb7cb}.ms-protocol-check{color:#9ae4ff;font-size:15px}.ms-protocol-empty{padding:12px;font-size:12px;color:#91b2c7}.ms-protocol-empty[hidden]{display:none}@media(max-width:700px){.ms-protocol-selected{font-size:13px}.ms-protocol-trigger{padding:8px 10px;gap:8px}.ms-protocol-option{padding:9px 7px;gap:9px}.ms-protocol-copy strong{font-size:12px}}@media(prefers-reduced-motion:reduce){.ms-protocol-chevron{transition:none}}
.ms-assistant-log{flex:1;min-height:64px}.ms-assistant-msg{white-space:pre-wrap}
.ms-assistant-panel button:disabled{opacity:.6;cursor:wait}
.ms-assistant-panel .ms-protocol-option:disabled{cursor:default}
@media(max-height:560px){.ms-assistant-prompts{display:none}.ms-assistant-head{padding:10px 14px}.ms-assistant-form{padding:10px 14px}.ms-assistant-log{padding:10px 14px}.ms-assistant-foot{margin:5px 0 0}}

/* Give the conversation the available space; keep controls out of its scroll area. */
.ms-assistant-panel{width:min(560px,calc(100vw - 48px));max-width:calc(100vw - 48px);height:min(800px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);border-radius:24px}
.ms-assistant-head,.ms-assistant-notice,.ms-assistant-protocol,.ms-assistant-prompts,.ms-assistant-form{flex-shrink:0}
.ms-assistant-head{gap:16px;padding:24px}.ms-assistant-head>div{min-width:0}.ms-assistant-head h2{font-size:21px}.ms-assistant-head p{font-size:13px;margin-top:6px}
.ms-assistant-head .ms-assistant-orb{width:34px;height:34px;flex-basis:34px}
.ms-assistant-notice{padding:12px 24px;font-size:12px;background:#15354880}
.ms-assistant-protocol{padding:18px 24px 0;gap:14px}.ms-assistant-protocol select{padding:12px;font-size:14px}
.ms-assistant-log{flex:1;min-height:0;max-height:none;padding:24px;gap:18px;scrollbar-width:thin;scrollbar-color:#426d83 transparent;scrollbar-gutter:stable}
.ms-assistant-msg{padding:16px 18px;border-radius:17px;font-size:15px;line-height:1.75}.ms-assistant-msg[data-role=user]{max-width:88%;border-radius:17px 17px 5px 17px}.ms-assistant-msg[data-role=assistant]{border-radius:17px 17px 17px 5px}
.ms-assistant-msg a{font-size:12px;line-height:1.6;margin-top:12px}
.ms-assistant-prompts{gap:8px;padding:0 24px 18px}.ms-assistant-prompts button{padding:9px 13px;font-size:12px}
.ms-assistant-form{padding:18px 24px 22px;background:#071b28}.ms-assistant-form label{margin-bottom:10px;font-size:12px}
.ms-assistant-input-row{gap:10px;align-items:flex-end}
.ms-assistant-input-row textarea{display:block;flex:1;width:100%;min-width:0;min-height:78px;max-height:150px;resize:vertical;box-sizing:border-box;background:#051522;border:1px solid #77b4cf60;border-radius:14px;padding:13px 15px;color:#f2fbff;font:inherit;font-size:16px;line-height:1.55}
.ms-assistant-input-row textarea::placeholder{color:#819dac}.ms-assistant-input-row textarea:focus-visible{outline-offset:2px}
.ms-assistant-input-row button{min-height:48px;min-width:65px;flex-shrink:0;border-radius:12px;font:inherit;font-size:14px;font-weight:600;padding:12px 16px}
.ms-assistant-foot{font-size:10px;color:#8baabb;margin-top:12px}
@media(max-width:700px){.ms-assistant-panel{inset:auto 10px calc(76px + env(safe-area-inset-bottom,0px)) 10px;width:calc(100vw - 20px);height:min(800px,calc(100dvh - 100px - env(safe-area-inset-bottom,0px)));max-height:calc(100dvh - 100px - env(safe-area-inset-bottom,0px));border-radius:21px}.ms-assistant-head{padding:20px 18px;gap:12px}.ms-assistant-head h2{font-size:18px}.ms-assistant-head p{font-size:12px}.ms-assistant-head .ms-assistant-orb{width:28px;height:28px;flex-basis:28px}.ms-assistant-notice{padding:10px 18px}.ms-assistant-protocol{padding:15px 18px 0;gap:10px}.ms-assistant-protocol select{font-size:13px}.ms-assistant-log{padding:20px 18px;gap:15px}.ms-assistant-msg{padding:14px 15px;font-size:14px;line-height:1.7}.ms-assistant-prompts{padding:0 18px 15px;gap:6px}.ms-assistant-prompts button{font-size:11px;padding:8px 11px}.ms-assistant-form{padding:16px 18px 18px}.ms-assistant-input-row textarea{padding:12px;min-height:72px}.ms-assistant-input-row button{min-width:58px;padding:12px}.ms-assistant-foot{font-size:9px;line-height:1.6}}
@media(max-width:360px){.ms-assistant-head,.ms-assistant-log,.ms-assistant-form{padding-inline:14px}.ms-assistant-notice{padding-inline:14px}.ms-assistant-protocol{padding-inline:14px}.ms-assistant-prompts{padding-inline:14px}.ms-assistant-head h2{font-size:16px}.ms-assistant-head p{font-size:11px}.ms-assistant-head{gap:10px}.ms-assistant-input-row{gap:8px}}
@media(max-height:650px){.ms-assistant-prompts{display:none}}
@media(max-width:700px){.ms-assistant-panel{max-width:calc(100vw - 20px)}}
@media(max-height:560px){.ms-assistant-head{padding:12px 18px}.ms-assistant-head h2{font-size:17px}.ms-assistant-head p{font-size:11px;margin-top:3px}.ms-assistant-notice{padding:8px 18px;font-size:11px}.ms-assistant-protocol{padding:10px 18px 0}.ms-assistant-protocol select{padding:9px}.ms-assistant-log{padding:14px 18px;gap:12px}.ms-assistant-form{padding:12px 18px}.ms-assistant-form label{margin-bottom:7px}.ms-assistant-input-row textarea{height:56px;min-height:56px;max-height:90px;padding:8px 12px}.ms-assistant-foot{display:none}}

.ms-assistant-msg .ms-assistant-research-source{display:block;width:fit-content;max-width:100%;white-space:normal;overflow-wrap:anywhere;color:#a9eaff;font-size:12px;font-weight:500;line-height:1.5;text-decoration:underline;text-underline-offset:3px}.ms-assistant-research-source+.ms-assistant-research-source{margin-top:6px}.ms-assistant-research-source:hover{color:#fff}.ms-assistant-research-source:focus-visible{outline:2px solid #a9eaff;outline-offset:3px;border-radius:3px}

.ms-assistant-project-help{display:block;margin-top:14px;padding-top:12px;border-top:1px solid #88c6df25;white-space:normal;font-size:12px;color:#b4d0df;line-height:1.6}.ms-assistant-project-help>span{display:block}.ms-assistant-msg .ms-assistant-project-help>a{margin-top:6px;font-size:12px;font-weight:600;overflow-wrap:anywhere}
