.orbai-button{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;min-height:40px;padding:3px;border:0;background:none;color:var(--orbi,#7d7bd1);cursor:pointer}.orbai-button:hover{background:#7d7bd11c;border-radius:9px}
.osn-workspace{position:fixed;right:18px;bottom:max(16px,env(safe-area-inset-bottom));z-index:85;color:#edf5fa;font:13px/1.45 var(--sans, sans-serif)}.osn-workspace [hidden]{display:none!important}.osn-workspace button,.inline-launch-comments button{font:inherit;cursor:pointer;color:#72e3cf;background:transparent;border:0;min-height:36px}.osn-workspace button:disabled,.inline-launch-comments button:disabled{opacity:.5;cursor:default}.osn-workspace__launcher{display:flex;align-items:center;gap:6px!important;padding:7px 15px!important;border:1px solid #406166!important;border-radius:24px;background:#10222cec!important;box-shadow:0 4px 28px #0007}.osn-workspace__launcher[aria-expanded=true]{color:#75ffe2;background:#194540!important;border-color:#55f0d1!important}
.osn-workspace__panel{position:absolute;right:0;bottom:58px;width:min(470px,calc(100vw - 28px));height:min(650px,calc(100dvh - 155px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #386266;border-radius:17px;background:rgba(9,24,36,.96);backdrop-filter:blur(14px);box-shadow:0 15px 60px #0008}.osn-workspace__panel.is-expanded{width:calc(100vw - 36px);height:calc(100dvh - 125px)}.osn-workspace__panel>header{display:flex;align-items:center;gap:7px;padding:8px 12px;border-bottom:1px solid #30454f}.osn-workspace__panel>header strong{flex:1;font-size:18px}.osn-workspace__panel>header button{font-size:24px;min-width:40px;min-height:40px}.osn-workspace__categories{display:flex;gap:3px;padding:6px}.osn-workspace__categories button{flex:1;display:flex;align-items:center;justify-content:center;gap:4px;color:#a0b4c7;font-size:12px;border-radius:8px;min-height:42px}.osn-workspace button[aria-selected=true]{background:#20443f;color:#6df5d9}.osn-workspace__categories small{font-size:10px}.osn-workspace__tools{display:flex;justify-content:space-between;padding:0 12px;gap:10px}.osn-workspace__tools button{font-size:12px}.osn-workspace__pins{display:flex;gap:7px;overflow-x:auto;flex-shrink:0;padding:0 12px}.osn-workspace__pins>span{display:flex;gap:3px;border:1px solid #34505d;border-radius:8px}.osn-workspace__pins button{font-size:11px;padding:3px 8px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.osn-workspace__content{flex:1;min-height:0;padding:10px 13px;display:flex;flex-direction:column;gap:8px}.osn-workspace__notice{font-size:11px;color:#eac685;padding:0 14px;margin:0 0 6px}.osn-workspace__content>h3{font-size:14px;margin:0}.osn-workspace__list{overflow:auto;min-height:0;flex:1}.osn-workspace__list>button{display:flex;width:100%;text-align:left;border-bottom:1px solid #2a3c4c;padding:10px 5px;min-height:48px;color:#e5edf6}.osn-workspace input,.osn-workspace textarea,.inline-launch-comments textarea{box-sizing:border-box;width:100%;font:inherit;color:#edf5fa;background:#0b1727;border:1px solid #344c5f;border-radius:9px;padding:9px}.osn-workspace textarea,.inline-launch-comments textarea{resize:vertical;min-height:42px;max-height:110px}.osn-workspace__create{overflow:auto;display:flex;flex-direction:column;gap:8px}.osn-workspace__create p{color:#9db2c3;font-size:12px;margin:0}.osn-workspace__create label{font-size:12px}.osn-workspace__create .chosen{color:#65e3ce}
.workspace-thread{flex:1;min-height:0;display:flex;flex-direction:column;gap:5px}.workspace-thread__top{display:flex;gap:8px;align-items:center}.workspace-thread__top strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:13px}.workspace-thread__top button{font-size:11px}.workspace-thread__messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.workspace-message{border-bottom:1px solid #30404f;padding:9px 0;border-left:2px solid #417b6c;padding-left:12px;position:relative}.workspace-message::before{content:'';position:absolute;left:-4px;top:14px;width:6px;height:6px;border-radius:50%;background:#6ce3c8}.workspace-message>strong{font-size:12px}.workspace-message time{display:block;color:#68d5bd;font-size:10px}.workspace-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin:4px 0}.workspace-message blockquote{color:#94aabd;font-size:11px;margin:5px 0;padding-left:8px;border-left:2px solid #4b6e7a}.workspace-message__actions{display:flex;gap:12px}.workspace-message__actions button{font-size:11px;color:#a9bdcf;min-height:28px}.workspace-thread form{border-top:1px solid #314454;padding-top:6px}.workspace-thread form>div{display:flex;justify-content:space-between;align-items:center}.workspace-thread form small{color:#9db2c3}.inline-launch-comments{padding:6px 12px;color:#e6eff8}.inline-launch-comments .workspace-thread__messages{height:172px;flex:none}.inline-launch-comments .workspace-thread__top strong{font-size:10px;color:#a1b3c5}.workspace-ai{display:flex;flex-direction:column;min-height:0;flex:1;gap:8px}.workspace-ai__messages{min-height:0;flex:1;overflow-y:auto}.workspace-ai p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.workspace-ai h4{font-size:13px;margin:9px 0 4px}.workspace-ai a{display:block;color:#66dfc9;font-size:12px}.workspace-ai small{font-size:11px;color:#9db4c7}.workspace-ai .question{color:#71edd4;font-weight:600}.workspace-ai .send-row{display:flex;align-items:center;justify-content:space-between}.workspace-ai .scope{color:#b5cbda;margin:0;font-size:12px}
@media(max-width:650px){.osn-workspace{right:9px;bottom:12px}.osn-workspace__panel{bottom:55px;height:min(620px,calc(100dvh - 140px))}.osn-workspace__panel.is-expanded{width:calc(100vw - 18px)}}
@media(prefers-reduced-motion:reduce){.osn-workspace *{scroll-behavior:auto}}

.osn-workspace--locked .osn-workspace__launcher,.osn-membership-trigger{color:#9caeba!important;border-color:#40505e!important;background:#17222dee!important}
.osn-workspace--locked .osn-workspace__launcher img{filter:grayscale(1);opacity:.65}
.osn-membership-dialog{box-sizing:border-box;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:24px;color:#edf5fa;background:#102131;border:1px solid #405967;border-radius:18px;font:14px/1.6 var(--sans,sans-serif);box-shadow:0 12px 50px #0008}
.osn-membership-dialog::backdrop{background:#020713aa}
.osn-membership-dialog h2{margin:0;font-size:21px;color:#65e3ce}.osn-membership-dialog p{margin:12px 0;color:#b5c6d4}.osn-membership-dialog form{display:flex;justify-content:flex-end;margin-top:20px}

.osn-workspace__categories svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;flex-shrink:0}

@media(max-height:560px){.osn-workspace__panel,.osn-workspace__panel.is-expanded{height:calc(100dvh - 88px);bottom:52px}.osn-workspace__panel>header{padding-block:2px}.osn-workspace__categories{padding-block:2px}.osn-workspace__categories button{min-height:34px}.osn-workspace__tools button{min-height:28px}.workspace-ai{gap:4px}.workspace-ai .scope{font-size:11px}}

/* Conversation navigation stays separate from the scrolling transcript. */
.osn-workspace__body{display:flex;flex:1;min-height:0}.osn-workspace__main{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0}
.osn-workspace__categories{flex-direction:column;flex:none;width:56px;box-sizing:border-box;padding:6px;gap:5px;border-right:1px solid #30454f;overflow-y:auto;overflow-x:hidden}
.osn-workspace__categories button{position:relative;flex:none;width:100%;box-sizing:border-box;height:48px;padding:5px;min-height:44px}.osn-workspace__categories svg{width:22px;height:22px}
.osn-workspace__categories small{position:absolute;right:2px;bottom:0;font-size:9px}.osn-workspace__categories .orbai-inline{position:relative;width:26px;height:26px;font-size:12px;align-items:flex-end;justify-content:flex-end}.osn-workspace__categories .orbai-inline img{position:absolute;left:0;top:0}
.osn-workspace__pins{flex-direction:column;gap:3px;overflow-x:hidden;overflow-y:auto;max-height:114px;padding:3px 10px}.osn-workspace__pins:empty{display:none}.osn-workspace__pins>span{flex-shrink:0;min-width:0}.osn-workspace__pins>span>button:first-child{flex:1;max-width:none;text-align:left}.osn-workspace__pins>span>button:last-child{width:38px;flex-shrink:0}
.osn-workspace__content{padding:8px 10px}.osn-workspace__notice:empty{display:none}.osn-workspace .workspace-icon{width:36px;height:38px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.workspace-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.osn-workspace button[aria-pressed=true]{color:#75ffe2;background:#194540;border-radius:8px}.workspace-thread__top strong{white-space:nowrap}.workspace-thread__top{flex-shrink:0;gap:5px}
.osn-workspace .workspace-message{margin:8px 0;padding:8px 10px;border:0;border-radius:10px;background:#132939}.osn-workspace .workspace-message::before{display:none}.osn-workspace .workspace-message.is-own{background:#153a34;margin-left:12px}
.workspace-thread form,.workspace-ai form{flex-shrink:0}.workspace-create-kinds{display:flex;gap:8px}.workspace-create-kinds button{flex:1;border:1px solid #34505d;border-radius:8px}.workspace-ai__turn{margin-bottom:16px}.workspace-ai .question{padding:8px 10px;background:#153a34;border-radius:9px}
.workspace-ai__composer{position:relative}.workspace-ai__placeholder{position:absolute;top:9px;left:10px;right:10px;pointer-events:none;color:#9db4c7;font-size:12px;line-height:18px}.workspace-ai__placeholder em{display:block;font-size:10px;font-style:italic}.workspace-ai__composer textarea{min-height:90px;max-height:140px;display:block}.workspace-ai .send-row{justify-content:flex-end}.workspace-ai .send-row:has(>button:not([hidden])){min-height:36px}
@media(max-width:650px){.osn-workspace__pins{max-height:84px}.osn-workspace__categories{width:52px;padding:4px}.osn-workspace__content{padding:8px}.workspace-ai__composer textarea{min-height:108px}}

/* Clear surfaces without hiding the page behind the workspace. */
.osn-workspace__panel{background:rgba(9,24,36,.9);border-color:#548b89}
.osn-workspace__panel>header{background:rgba(27,61,70,.9);border-bottom-color:#477578}
.osn-workspace__categories{background:rgba(3,13,25,.38);border-right-color:#3b606a}
.osn-workspace__content{gap:6px}.osn-workspace .workspace-message{background:rgba(24,48,66,.85);border:1px solid #345465}.osn-workspace .workspace-message.is-own{background:#174039;border-color:#397a6e}
.osn-workspace .workspace-icon[type=submit],.inline-launch-comments .workspace-icon[type=submit]{margin-left:auto;background:#19423d;border:1px solid #397a6e;border-radius:9px;min-height:40px;min-width:40px}
.inline-launch-comments .workspace-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px}
.report-scroll.is-comments{background:linear-gradient(180deg,#1c4545 0,#142e3e 35%,#102133 100%);border-block:1px solid #3e666e}
.report-scroll__history-actions{display:inline-flex;align-items:center;gap:2px}.report-scroll header .report-scroll__refresh{display:inline-flex;align-items:center;justify-content:center;padding:2px;min-width:28px;min-height:32px;color:#9db9c4;background:transparent;border:0;cursor:pointer}.report-scroll__refresh:disabled{opacity:.5;cursor:default}
.report-scroll__refresh svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.report-scroll [hidden]{display:none!important}.inline-launch-comments{padding-top:2px}.inline-launch-comments .workspace-thread__messages{scrollbar-gutter:stable}
.osn-workspace__panel>header strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.osn-workspace__panel>header button{min-width:32px;width:32px}.osn-workspace__panel>header [data-workspace-actions]{display:flex}
.workspace-swipe{border-bottom:1px solid #34505d;border-radius:8px;overflow:hidden;touch-action:pan-y;flex-shrink:0}.workspace-swipe__main{display:flex;min-width:0;background:#102532}.workspace-swipe__main>button:first-child{flex:1;min-width:0;text-align:left;padding:8px;overflow:hidden;text-overflow:ellipsis}.workspace-swipe__main>button:last-child{width:34px;flex-shrink:0}.workspace-swipe__actions{display:flex;justify-content:flex-end;gap:5px;background:#183d38;padding:3px 8px}.workspace-swipe__actions>button:last-child{color:#ffb7b7}.osn-workspace__pins .workspace-swipe{width:100%}.workspace-thread__top{justify-content:flex-end}

.osn-workspace__categories .osn-workspace__archives{margin-top:auto}.osn-workspace__archives[aria-pressed=true]{background:#20443f;color:#6df5d9}.workspace-ai__turn p{white-space:pre-wrap}.workspace-ai__turn p a{display:inline}

.osn-workspace__categories{overflow:hidden}.osn-workspace__category-list{display:flex;flex-direction:column;gap:5px;min-height:0;overflow-y:auto;flex:1}.osn-workspace__archives{flex-shrink:0!important}

.workspace-ai__placeholder span em{display:inline}
.workspace-scope-label{font-size:10px;color:#9db4c7;font-weight:400;white-space:nowrap}
.workspace-ai .orbai-entity{color:#76ddce;font-weight:500}
.workspace-ai .orbai-entity--launch{color:#ffaf70}
.workspace-ai .orbai-entity--company{color:#78db9b}
.workspace-ai .orbai-entity--object{color:#aba1ff}
.workspace-ai__links{display:flex;flex-direction:column;gap:5px;border-top:1px solid #34505d;margin-top:9px;padding-top:3px}
.workspace-ai__links h4{font-size:11px;color:#9db4c7;margin:4px 0}
.workspace-ai__links a{width:fit-content;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px;transition:opacity .15s}
.workspace-ai__links a:hover{opacity:.72;text-decoration-color:currentColor}
.workspace-ai__links a:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}

/* Same approved aperture and white/green glints as the native Orbi menu. */
.orbi-mark{--orbi-size:24px;--orbi-star-white:#edf5fb;--orbi-star-green:#55f0d1;position:relative;display:inline-block;width:calc(var(--orbi-size) + 6px);height:calc(var(--orbi-size) + 3px);flex-shrink:0;line-height:0;pointer-events:none}
.orbi-mark img{width:var(--orbi-size);height:var(--orbi-size);object-fit:contain}
.orbi-mark svg{position:absolute;right:0;bottom:0;width:calc(var(--orbi-size) * .48);height:calc(var(--orbi-size) * .48);stroke:none}
.orbi-mark__star--white{fill:var(--orbi-star-white)}.orbi-mark__star--green{fill:var(--orbi-star-green)}
.osn-workspace__launcher{width:62px;height:62px;min-height:62px!important;box-sizing:border-box;flex-direction:column;justify-content:center;gap:0!important;padding:5px!important;border-radius:50%;text-decoration:none;color:#b6caca}
.osn-workspace__panel{bottom:72px}
.osn-workspace__categories .orbi-mark{--orbi-size:20px}
.osn-workspace--locked .orbi-mark{--orbi-star-white:#9caeba;--orbi-star-green:#9caeba;opacity:.55;filter:grayscale(1)}

.osn-workspace__launcher .orbi-mark{--orbi-size:28px}

.osn-workspace__launcher[aria-expanded=true]{color:var(--orbi);background:#252b4a!important;border-color:var(--orbi)!important}
.osn-workspace__panel>header strong.is-orbi-title{color:#fff}.workspace-ai .question{color:var(--orbi)}
.workspace-ai .question{background:#141d32}

.workspace-project-dialog{box-sizing:border-box;width:min(460px,90vw);max-height:80dvh;overflow:auto;border:1px solid #666aab;border-radius:16px;padding:22px;color:#edf5fa;background:#101b2f;box-shadow:0 12px 60px #0009}
.workspace-project-dialog::backdrop{background:#030916a6;backdrop-filter:blur(3px)}
.workspace-project-dialog form{display:flex;flex-direction:column;gap:14px}.workspace-project-dialog h3{font-size:19px;margin:0;color:var(--orbi)}
.workspace-project-dialog label{font-size:14px}.workspace-project-dialog textarea{min-height:112px;max-height:180px}.workspace-project-dialog p{font-size:12px;color:#aab8cd;margin:0}
.workspace-project-actions{display:flex;justify-content:flex-end;gap:12px}.workspace-project-actions button{padding:7px 12px;border-radius:8px}.workspace-project-actions button[type=submit]{color:#eef0ff;background:#373c70}
.workspace-project-result{display:flex;flex-direction:column;gap:8px}.workspace-project-result:empty{display:none}.workspace-project-result a{color:var(--orbi);text-decoration:underline;padding-block:7px}

.workspace-thread__top button[aria-label="Start a project"]{color:var(--orbi)}

.osn-workspace__panel.is-menu-collapsed .osn-workspace__categories,.osn-workspace__panel.is-menu-collapsed .osn-workspace__pins{display:none}
.osn-workspace__panel.is-menu-collapsed [data-workspace-menu] svg{transform:rotate(180deg)}

.workspace-ai__starters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.workspace-ai__starters[hidden]{display:none}.workspace-ai__starters button{border:1px solid var(--line,#28404c);background:transparent;border-radius:14px;padding:6px 10px;font-size:11px;color:inherit;cursor:pointer}.workspace-ai__starters button:hover,.workspace-ai__starters button:focus-visible{border-color:#75dfc9;background:#75dfc910}
