/* ORBITA Workspace 2.0 — production visual shell; preserves existing form/API logic. */
:root{--orb2-navy:#142640;--orb2-navy2:#1e3657;--orb2-ink:#19283b;--orb2-muted:#6a778c;--orb2-bg:#f5f7fb;--orb2-line:#e4eaf2;--orb2-blue:#2864d6}
html,body{min-height:100%;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif}
body:not(.orb2-mode){background:var(--orb2-bg)!important;color:var(--orb2-ink)}
/* New common corporate treatment of the existing administration/employee pages. */
.frame{background:var(--orb2-bg)!important}
.frame>.side{background:var(--orb2-navy)!important;color:#f4f7ff!important}
.frame>.side .brand{font-weight:750;letter-spacing:.02em;font-size:20px}
.frame>.side .menu button{border-radius:11px;transition:background .18s,color .18s}
.frame>.side .menu button:hover{background:#294466!important}
.frame>main>header{padding-block:24px!important}
.frame>main .panel,.frame>main .metrics article{border:1px solid var(--orb2-line);border-radius:17px;box-shadow:0 6px 22px #15264408}
.frame>main .panel h2{letter-spacing:-.02em}
body.orb2-mode{overflow:hidden!important}
.orb2-workspace[hidden],.orb2-chatview[hidden],.orb2-content[hidden]{display:none!important}
.orb2-workspace{position:fixed;inset:0;z-index:19980;display:grid;grid-template-columns:220px minmax(0,1fr);height:100dvh;background:var(--orb2-bg);color:var(--orb2-ink);font:14px/1.5 Inter,"Segoe UI",Arial,sans-serif}
.orb2-workspace *{box-sizing:border-box}
.orb2-rail{min-height:0;display:flex;flex-direction:column;padding:24px 14px 15px;background:var(--orb2-navy);color:#eaf1ff}
.orb2-brand{display:flex;align-items:center;gap:7px;font-weight:800;font-size:18px;letter-spacing:.02em;padding:0 10px}
.orb2-brand small{font-size:10px;color:#a5c8ff;margin-left:-3px}
.orb2-brand-mark{display:grid;place-items:center;width:29px;height:29px;border-radius:10px;background:#2b65cf;color:#fff;font-size:21px}
.orb2-nav-hint{margin:26px 10px 9px;font-size:10px;letter-spacing:.13em;color:#8da3c4}
.orb2-nav{display:grid;gap:3px}
.orb2-nav-btn{width:100%;text-align:left;color:#cfdaec;background:transparent;border:0;border-radius:10px;padding:11px 12px;display:flex;align-items:center;gap:12px;font:500 13px Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}
.orb2-nav-btn:hover{background:#243b5e;color:#fff}.orb2-nav-btn.active{background:#2b436a;color:#fff;font-weight:650}
.orb2-nav-icon{width:18px;text-align:center;font-size:18px;line-height:1}
.orb2-nav-bottom{margin-top:auto;border-top:1px solid #314965;padding-top:13px;color:#9bb0ce;font-size:11px}
.orb2-server-state{color:#c9e6d4;font-weight:650}.orb2-nav-bottom p{margin:7px 2px;line-height:1.45}.orb2-exit{font-size:12px;padding:9px 8px}
.orb2-main{display:flex;flex-direction:column;min-height:0;min-width:0;overflow:hidden}
.orb2-topbar{height:91px;min-height:91px;padding:17px 32px 16px;background:#fff;border-bottom:1px solid var(--orb2-line);display:flex;align-items:center;justify-content:space-between;gap:18px}
.orb2-heading{min-width:0}.orb2-heading h1{font-size:21px;line-height:1.15;font-weight:750;margin:0;letter-spacing:-.03em;color:#172b47}.orb2-heading p{margin:6px 0 0;color:#7a8899;font-size:12px}
.orb2-toptools{display:flex;align-items:center;gap:13px;min-width:0}
.orb2-model-holder{display:flex;gap:8px;align-items:center;min-width:0}.orb2-minilabel{color:#8c99a8;font-size:10px;letter-spacing:.08em;font-weight:700}
.orb2-model-holder select.jarvis-dialog-choice{min-width:175px;width:clamp(185px,23vw,330px);margin:0!important;border:1px solid #dce5f0!important;border-radius:10px!important;min-height:38px;background:#f8faff!important;color:#1c3557!important;padding:7px 9px!important;font-size:12px}
.orb2-model-holder .jarvis-cloud-row{display:flex;align-items:center;gap:5px}.orb2-model-holder .jarvis-cloud-row[hidden]{display:none!important}
.orb2-model-holder .jarvis-cloud-row select{min-width:100px;max-width:200px}.orb2-model-holder button{border:1px solid var(--orb2-line);border-radius:10px;background:white;padding:8px;color:#385a88}
.orb2-icon-close{height:36px;width:38px;font-size:24px;background:#f4f7fb;border:1px solid #e5ebf4;border-radius:9px;color:#536783;cursor:pointer}
.orb2-body{display:flex;flex:1;min-height:0;min-width:0;overflow:hidden}
.orb2-chatview{width:100%;display:grid;grid-template-columns:245px minmax(0,1fr);min-height:0}
.orb2-history{display:flex;flex-direction:column;min-height:0;padding:20px 12px 15px 20px;border-right:1px solid var(--orb2-line);background:#fbfcff;gap:11px}
.orb2-history-head{padding:4px 6px 0;color:#344864;font-size:13px}
.orb2-new-chat,.orb2-primary{padding:11px 13px;border:0;border-radius:10px;color:#fff;background:var(--orb2-blue);font:650 13px Inter,"Segoe UI",Arial,sans-serif;cursor:pointer}
.orb2-new-chat:hover,.orb2-primary:hover{background:#1c50af}
.orb2-history-list{flex:1;overflow:auto;min-height:60px;display:flex;flex-direction:column;gap:4px}
.orb2-history-item{background:transparent;border:0;text-align:left;border-radius:10px;padding:11px 10px;color:#4a5d77;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;font-size:12px}
.orb2-history-item.selected{background:#e7efff;color:#1a4d9c;font-weight:650}.orb2-history-item:hover{background:#eff4fc}
.orb2-history-actions{border-top:1px solid var(--orb2-line);padding-top:8px;min-height:0}
.orb2-history-actions .jarvis-dialog-tools{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:5px}
.orb2-history-actions .jarvis-dialog-tools select{display:none!important}
.orb2-history-actions .jarvis-dialog-tools button{background:white;border:1px solid #dce5f0;border-radius:9px;padding:6px;font-size:11px;color:#4b607d;cursor:pointer;min-height:33px}
.orb2-history-actions .jarvis-dialog-tools .jarvis-memory-open,.orb2-history-actions .jarvis-dialog-tools .jarvis-library-open{display:none!important}
.orb2-history-actions .jarvis-dialog-manager{display:flex;flex-direction:column;max-height:35vh;background:#fff;border:1px solid var(--orb2-line);border-radius:10px;padding:9px;overflow:auto}
.orb2-history-actions .jarvis-dialog-manager[hidden]{display:none!important}
.orb2-history-actions .jarvis-dialog-item{display:flex;gap:5px;align-items:center;padding:5px;font-size:12px}
.orb2-chatbox{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff}
/* Existing, stateful Jarvis dialog is rehosted here. It is no longer a draggable modal. */
.orb2-chatbox>.jarvis-panel{position:relative!important;z-index:auto!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;max-width:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.orb2-chatbox>.jarvis-panel[hidden]{display:none!important}
.orb2-chatbox>.jarvis-panel .jarvis-top,.orb2-chatbox>.jarvis-panel .jarvis-sub,.orb2-chatbox>.jarvis-panel>.jarvis-dialog-tools,.orb2-chatbox>.jarvis-panel>.jarvis-dialog-manager,.orb2-chatbox>.jarvis-panel .jarvis-resize-handle,.orb2-chatbox>.jarvis-panel .jarvis-web-row{display:none!important}
.orb2-chatbox>.jarvis-panel .jarvis-voice-strip{padding:9px 28px;background:#fff;border-bottom:1px solid #eff2f7;justify-content:flex-start}
.orb2-chatbox>.jarvis-panel .jarvis-voice-button{min-height:33px;background:#f1f6ff;border:1px solid #d4e3fa;color:#3567ac;border-radius:9px;font-size:11px;padding:7px 11px}
.orb2-chatbox>.jarvis-panel .jarvis-voice-state{font-size:11px;color:#7a899b;flex:0 1 auto}
.orb2-chatbox>.jarvis-panel .jarvis-status{border:0!important;font-size:11px;padding:5px 28px;color:#8290a1}
.orb2-chatbox>.jarvis-panel .jarvis-thread{background:#fff!important;padding:26px max(26px,calc((100% - 850px)/2));gap:18px;overflow:auto}
.orb2-chatbox>.jarvis-panel .jarvis-bubble{font-size:14px;line-height:1.65;max-width:90%;padding:14px 18px;border:0;box-shadow:none;color:#21334a}
.orb2-chatbox>.jarvis-panel .jarvis-user{background:#e7efff;color:#264a7b;border-radius:16px 16px 4px 16px}
.orb2-chatbox>.jarvis-panel .jarvis-assistant{background:#f8fafd;border:1px solid #edf1f6;border-radius:16px 16px 16px 4px}
.orb2-chatbox>.jarvis-panel .jarvis-compose{padding:13px max(23px,calc((100% - 870px)/2)) 20px!important;background:#fff!important;border-top:1px solid #edf1f6!important}
.orb2-chatbox>.jarvis-panel .jarvis-compose .orb-modern-line{box-shadow:0 4px 16px #1326440b!important}
.orb2-chatbox>.jarvis-panel .jarvis-compose textarea{font-size:14px}
.orb2-chatbox>.jarvis-panel .jarvis-footnote{display:none!important}
/* A separate tool workspace; never render 1C password fields inside chat. */
.orb2-content{width:100%;overflow:auto;padding:28px clamp(22px,5vw,70px);background:var(--orb2-bg)}
.orb2-content>h2{font-size:23px;color:#152c49;margin:0 0 10px;letter-spacing:-.025em}
.orb2-muted{color:#667994;font-size:13px;max-width:850px;line-height:1.6}
.orb2-content .jarvis-library-panel,.orb2-content .jarvis-memory-panel{display:flex;flex-direction:column;max-width:970px;max-height:none!important;overflow:visible;border:1px solid var(--orb2-line);border-radius:16px;background:white;margin:16px 0;padding:23px;gap:8px;box-shadow:0 7px 23px #10294a09}
.orb2-content .jarvis-library-panel[hidden],.orb2-content .jarvis-memory-panel[hidden]{display:none!important}
.orb2-content .jarvis-library-panel input,.orb2-content .jarvis-library-panel textarea,.orb2-content .jarvis-library-panel select,.orb2-content .jarvis-memory-panel input,.orb2-content .jarvis-memory-panel textarea,.orb2-content .jarvis-memory-panel select{display:block;width:100%;max-width:100%;border:1px solid #d9e4f0;border-radius:10px;padding:11px;color:#1f3655;background:white;min-height:40px;font:inherit}
.orb2-content .jarvis-library-toolbar{display:flex;flex-wrap:wrap;gap:8px}
.orb2-content .jarvis-library-toolbar button,.orb2-content .jarvis-manager-footer button,.orb2-content .jarvis-manager-close,.orb2-secondary{background:#fff;border:1px solid #cad8ea;color:#2c568c;border-radius:9px;padding:9px 13px;font-size:12px;cursor:pointer}
.orb2-content .jarvis-manager-header{display:flex;align-items:center;justify-content:space-between;color:#1c3351}
.orb2-content .jarvis-manager-help{color:#72819a;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.orb2-content .jarvis-library-entry,.orb2-content .jarvis-memory-item{padding:10px;border:1px solid var(--orb2-line);border-radius:9px;display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.orb2-content .jarvis-library-result,.orb2-content .jarvis-library-hit{padding:12px;border:1px solid var(--orb2-line);border-radius:9px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:9px}
.orb2-tabs{display:flex;gap:8px;margin:19px 0 10px}
.orb2-content>.orb2-primary{margin:12px 0}.orb2-content>.orb2-secondary{margin-left:9px}
.orb2-model-holder:has(select:focus) {z-index:1}
/* Responsive navigation: no hidden input or horizontal overflow. */
@media(max-width:1040px){.orb2-workspace{grid-template-columns:76px minmax(0,1fr)}.orb2-rail{padding:19px 9px}.orb2-brand{justify-content:center;font-size:0;padding:0}.orb2-brand-mark{font-size:21px}.orb2-brand small,.orb2-nav-hint,.orb2-nav-btn span:not(.orb2-nav-icon),.orb2-nav-bottom p,.orb2-server-state{display:none}.orb2-nav-btn{justify-content:center;padding:12px}.orb2-nav-icon{width:auto}.orb2-history{padding:17px 8px}.orb2-chatview{grid-template-columns:205px minmax(0,1fr)}.orb2-topbar{padding-inline:20px}}
@media(max-width:700px){.orb2-workspace{grid-template-columns:0 minmax(0,1fr)}.orb2-rail{display:none}.orb2-topbar{height:auto;min-height:74px;padding:10px 15px}.orb2-heading h1{font-size:17px}.orb2-heading p,.orb2-minilabel{display:none}.orb2-model-holder select.jarvis-dialog-choice{min-width:125px;width:145px}.orb2-toptools{gap:5px}.orb2-chatview{grid-template-columns:minmax(0,1fr)}.orb2-history{display:none}.orb2-chatbox>.jarvis-panel .jarvis-thread{padding:15px}.orb2-chatbox>.jarvis-panel .jarvis-compose{padding:10px 12px 16px!important}.orb2-content{padding:16px}.orb2-chatbox>.jarvis-panel .jarvis-voice-strip{padding-inline:12px}}

.orb2-mobile-nav{display:none;background:white;border:1px solid #dbe4ef;border-radius:9px;padding:5px 10px;font-size:20px;color:#34516f}
@media(max-width:700px){.orb2-mobile-nav{display:inline-flex}.orb2-workspace.orb2-mobile-open{grid-template-columns:205px minmax(0,1fr)}.orb2-workspace.orb2-mobile-open .orb2-rail{display:flex;position:absolute;left:0;top:0;bottom:0;width:205px;z-index:20;box-shadow:15px 0 32px #15274433}.orb2-workspace.orb2-mobile-open .orb2-nav-btn span:not(.orb2-nav-icon){display:inline}.orb2-workspace.orb2-mobile-open .orb2-nav-hint{display:block}.orb2-workspace.orb2-mobile-open .orb2-brand{justify-content:flex-start;font-size:18px}.orb2-workspace.orb2-mobile-open .orb2-brand small{display:inline}.orb2-workspace.orb2-mobile-open .orb2-nav-btn{justify-content:flex-start}.orb2-workspace.orb2-mobile-open .orb2-server-state{display:block}}

 
/* ORBITA 2.1.0 — Workspace Fidelity. Visual layer only; original APIs/voice preserved. */
.orb2-workspace{grid-template-columns:248px minmax(0,1fr);background:#f6f8fc;font-size:14px}
.orb2-rail{background:#10213b;padding:23px 13px 14px;gap:0}
.orb2-brand{gap:11px;padding:2px 10px 14px;font-size:18px;letter-spacing:.03em;align-items:center}
.orb2-brand-mark{height:32px;width:32px;flex:0 0 32px;border-radius:10px;background:#3165c9;font-size:23px}
.orb2-brand-text{display:block;line-height:1.15;color:white;font-weight:800}
.orb2-brand-text small{display:block;margin-top:4px;color:#b6caeb;font-size:9px;font-weight:650;letter-spacing:.16em}
.orb2-nav{display:flex;flex-direction:column;gap:5px;overflow-y:auto;min-height:0;flex:1}
.orb2-nav-section{font-size:10px;letter-spacing:.12em;color:#7f98bd;font-weight:750;padding:25px 12px 8px}
.orb2-nav-btn{border-radius:11px;font-weight:500;font-size:13px;padding:10px 12px;min-height:39px;color:#c7d3e8}
.orb2-nav-btn.active{background:#2b4772;color:#fff;font-weight:700}
.orb2-nav-icon{font-size:17px;width:20px;flex:0 0 20px}
.orb2-nav-bottom{border-color:#314560;padding:11px 10px 0;color:#b8c6dd}
.orb2-server-state{font-weight:500;color:#c6d5eb;font-size:11px}
.orb2-server-state::first-letter{color:#29aa78}
.orb2-profile{display:flex;align-items:center;gap:11px;margin:13px 0 8px}
.orb2-avatar{height:32px;width:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:50%;background:#365c94;font-weight:750;color:#fff}
.orb2-profile-text{font-weight:650;color:#d3ddec;line-height:1.1}.orb2-profile-text small{display:block;color:#92a6c5;font-size:11px;font-weight:400;margin-top:5px}
.orb2-exit{color:#a8bfe0;padding:7px 0;font-size:11px;min-height:30px}
.orb2-topbar{height:70px;min-height:70px;padding:10px 28px;background:#fff}
.orb2-heading h1{font-size:20px;font-weight:760;color:#16263f}.orb2-heading p{font-size:12px;margin:3px 0 0;color:#687b96}
.orb2-system-pill{display:inline-flex;align-items:center;padding:8px 13px;white-space:nowrap;border:1px solid #e4eaf3;border-radius:99px;background:#fff;color:#496282;font-size:12px}
.orb2-icon-close{height:34px;width:34px;border-radius:50%;font-size:18px;background:#fff}
.orb2-chatview{grid-template-columns:245px minmax(0,1fr);background:#fff}
.orb2-history{gap:12px;background:#fff;padding:22px 13px}
.orb2-history-head{font-size:13px;color:#192e4d;padding:3px 6px}
.orb2-new-chat{font-size:13px;border:1px solid #cbdbf5;border-radius:11px;color:#2259b2;background:#e8f0ff;padding:11px;font-weight:700}
.orb2-new-chat:hover{background:#d9e6ff;color:#1c4c9b}
.orb2-smallcap{font-size:10px;font-weight:650;color:#8c9ab0;margin:10px 7px 1px;letter-spacing:.05em}
.orb2-history-list{gap:4px}
.orb2-history-item{font-size:13px;padding:10px 11px;color:#4c5d77}
.orb2-history-item.selected{background:#f0f4fb;color:#1c3869}
.orb2-history-empty{font-size:12px;padding:8px;color:#8c9ab0}
.orb2-history-actions{margin-top:auto;border-top:1px solid #eef1f6;padding-top:8px}
.orb2-history-actions .jarvis-dialog-tools button{border:0;background:transparent!important;color:#7285a4!important;font-size:11px}
.orb2-chatbox{background:#fbfcff;display:flex;flex-direction:column;min-height:0}
.orb2-conversation-head{height:71px;flex:0 0 71px;background:#fff;border-bottom:1px solid #e6ebf3;display:flex;align-items:center;justify-content:space-between;padding:13px 26px;gap:13px}
.orb2-conv-identity{min-width:0;display:flex;flex-direction:column;line-height:1.25}
.orb2-conv-identity strong{font-size:16px;color:#142942;font-weight:800}
.orb2-conv-identity small{font-size:12px;color:#7384a0;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.orb2-model-holder{flex:0 1 auto}
.orb2-model-holder>select.jarvis-dialog-choice{width:clamp(170px,22vw,255px);min-width:170px;border:1px solid #dce5f0!important;border-radius:11px!important;font-weight:650;font-size:12px;background:#fff!important;color:#2f4d80!important;min-height:39px}
.orb2-model-holder .jarvis-cloud-row select{max-width:170px}
.orb2-chatbox>.jarvis-panel{flex:1 1 auto!important;min-height:0!important;height:auto!important;background:#fbfcff!important}
.orb2-chatbox>.jarvis-panel .jarvis-voice-strip{flex:0 0 auto;min-height:49px;display:flex!important;padding:7px 26px!important;border-bottom:1px solid #eff3f9;background:#fbfcff!important;gap:10px}
.orb2-chatbox>.jarvis-panel .jarvis-voice-button{font-size:12px!important;min-height:34px!important;padding:7px 12px!important;border-radius:11px!important;background:#e8f0ff!important;border:1px solid #cdddf7!important;color:#2459a9!important;font-weight:650;white-space:nowrap}
.orb2-chatbox>.jarvis-panel .jarvis-voice-state{font-size:12px;color:#788ba7}
.orb2-chatbox>.jarvis-panel .orbita-interrupt-button{font-size:12px!important;border-radius:10px!important;white-space:nowrap}
.orb2-chatbox>.jarvis-panel .jarvis-status{font-size:11px;padding:4px max(30px,calc((100% - 850px)/2))!important;color:#8a97aa!important;background:transparent!important;border:0!important;min-height:20px}
.orb2-chatbox>.jarvis-panel .jarvis-thread{flex:1 1 auto!important;background:#fbfcff!important;min-height:0!important;overflow-y:auto!important;padding:22px max(27px,calc((100% - 840px)/2)) 18px!important;gap:18px!important}
.orb2-chatbox>.jarvis-panel .jarvis-bubble{font-size:14px!important;line-height:1.68!important;padding:0!important;white-space:pre-wrap!important;max-width:93%!important;word-break:normal!important;overflow-wrap:anywhere;box-shadow:none!important}
.orb2-chatbox>.jarvis-panel .jarvis-assistant{align-self:flex-start!important;border:0!important;background:transparent!important;color:#20334e!important;border-radius:0!important;max-width:100%!important}
.orb2-chatbox>.jarvis-panel .jarvis-user{align-self:flex-end!important;background:#e6efff!important;color:#294e86!important;padding:12px 16px!important;border:0!important;border-radius:18px 18px 4px 18px!important;max-width:78%!important}
.orb2-message-actions{display:flex;justify-content:flex-start;margin-top:9px;font-size:11px}
.orb2-copy-answer{padding:4px 8px;border:0;border-radius:6px;cursor:pointer;background:transparent;color:#7184a1;font-size:11px}
.orb2-copy-answer:hover{color:#265bc4;background:#edf3fc}
.orb2-chatbox>.jarvis-panel .jarvis-compose{flex:0 0 auto;padding:12px max(25px,calc((100% - 850px)/2)) 15px!important;border-top:1px solid #e9edf5!important;background:#fff!important;margin:0!important}
.orb2-chatbox>.jarvis-panel .orb-chatgpt-composer .orb-modern-line{border:1px solid #dce5f2!important;border-radius:30px!important;min-height:55px;box-shadow:0 2px 10px #1425400a!important;background:#fff!important}
.orb2-chatbox>.jarvis-panel .orb-chatgpt-composer .orb-modern-line:focus-within{border-color:#a4bfe7!important;box-shadow:0 2px 10px #2b65cc15!important}
.orb2-chatbox>.jarvis-panel .orb-chatgpt-composer .orb-modern-line textarea{font-size:14px!important;min-height:40px!important}
.orb2-chatbox>.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-send{background:#3473d9!important}
.orb2-chatbox>.jarvis-panel .orb-chatgpt-composer .orb-modern-line .jarvis-send:hover{background:#1e5fc3!important}
.orb2-chatbox>.jarvis-panel>.jarvis-footnote{display:none!important}
.orb2-content{background:#f7f9fd;padding:35px clamp(25px,5vw,70px)}
.orb2-content>h2{font-size:24px;color:#182d49}.orb2-content>.orb2-muted{margin-bottom:22px}
.orb2-content .jarvis-library-panel,.orb2-content .jarvis-memory-panel{background:#fff;border-radius:16px;box-shadow:0 7px 24px #1425400a}
.orb2-content .jarvis-library-panel:not([hidden]),.orb2-content .jarvis-memory-panel:not([hidden]){display:flex!important}
@media(max-width:1080px){.orb2-workspace{grid-template-columns:220px minmax(0,1fr)}.orb2-rail{padding:18px 9px}.orb2-chatview{grid-template-columns:205px minmax(0,1fr)}.orb2-topbar{padding-inline:19px}.orb2-conversation-head{padding-inline:16px}}
@media(max-width:760px){.orb2-workspace{grid-template-columns:0 minmax(0,1fr)}.orb2-rail{display:none}.orb2-topbar{min-height:64px;height:64px;padding:10px 14px}.orb2-system-pill{display:none}.orb2-chatview{grid-template-columns:minmax(0,1fr)}.orb2-history{display:none}.orb2-conversation-head{min-height:60px;height:60px;flex-basis:60px;padding:10px 11px}.orb2-conv-identity small{display:none}.orb2-model-holder>select.jarvis-dialog-choice{min-width:130px;width:140px}.orb2-chatbox>.jarvis-panel .jarvis-voice-strip{padding:7px 11px!important;gap:6px;flex-wrap:wrap}.orb2-chatbox>.jarvis-panel .jarvis-voice-state{font-size:10px}.orb2-chatbox>.jarvis-panel .jarvis-thread{padding:17px 13px!important}.orb2-chatbox>.jarvis-panel .jarvis-compose{padding:10px 10px 13px!important}.orb2-chatbox>.jarvis-panel .jarvis-user{max-width:94%!important}.orb2-content{padding:20px 15px}}
/* Better focus visibility without relying on remote fonts. */
.orb2-workspace button:focus-visible,.orb2-workspace select:focus-visible,.orb2-workspace textarea:focus-visible{outline:2px solid #79a4eb;outline-offset:2px}

/* ORBITA 2.2.0 — resolved global main/header collisions and unified production shell.
   Legacy admin `main {max-width:1200px;margin:auto;padding:32px}` caused the
   cramped 2.1 workspace. Overrides are scoped to the new workspace only. */
html body.orb2-mode { overflow:hidden!important; margin:0!important }
html body #orb2-workspace {
 position:fixed!important;inset:0!important;width:100vw!important;max-width:none!important;
 height:100dvh!important;min-height:0!important;margin:0!important;padding:0!important;
 display:grid!important;grid-template-columns:248px minmax(0,1fr)!important;
 background:#f6f8fc!important;isolation:isolate;box-sizing:border-box;
}
html body #orb2-workspace[hidden]{display:none!important}
html body #orb2-workspace > main.orb2-main {
 display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;
 max-width:none!important;width:100%!important;height:100%!important;min-height:0!important;
 min-width:0!important;margin:0!important;padding:0!important;overflow:hidden!important;
 border:0!important;box-shadow:none!important;background:#f6f8fc!important;
}
html body #orb2-workspace > main.orb2-main > header.orb2-topbar {
 width:100%!important;max-width:none!important;margin:0!important;flex-wrap:nowrap!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 border-radius:0!important;box-shadow:none!important;
}
html body #orb2-workspace .orb2-body { flex:1 1 auto!important;width:100%!important;min-width:0!important;min-height:0!important;overflow:hidden!important }
html body #orb2-workspace .orb2-chatview { flex:1 1 auto!important;width:100%!important;min-width:0!important;min-height:0!important;display:grid!important;grid-template-columns:245px minmax(0,1fr)!important }
html body #orb2-workspace .orb2-chatview[hidden] { display:none!important }
html body #orb2-workspace .orb2-chatbox { min-height:0!important;min-width:0!important;flex:1 1 auto!important;overflow:hidden!important }
html body #orb2-workspace .orb2-conversation-head { flex-wrap:nowrap!important;width:100%!important }
html body #orb2-workspace .orb2-rail { width:248px!important;max-width:none!important;min-height:0!important }
html body #orb2-workspace .orb2-nav { display:flex!important;flex-direction:column!important }
html body #orb2-workspace .orb2-history { min-height:0!important;min-width:0!important;max-width:none!important }
html body #orb2-workspace .orb2-content { flex:1 1 auto!important;min-height:0!important;width:100%!important;max-width:none!important;overflow-y:auto!important }
html body #orb2-workspace .orb2-chatbox > .jarvis-panel {max-height:none!important;max-width:none!important;min-height:0!important;width:100%!important;height:100%!important}
/* Fidelity of actual, authenticated messages to the approved prototype. */
html body #orb2-workspace .jarvis-thread {background:#f8faff!important;padding:23px clamp(26px,5.5vw,100px)!important;gap:22px!important}
html body #orb2-workspace .jarvis-thread .jarvis-assistant {background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;max-width:100%!important;white-space:pre-wrap!important;line-height:1.66!important;color:#1e304a!important}
html body #orb2-workspace .jarvis-thread .jarvis-user {background:#e5edff!important;color:#284778!important;border:0!important;border-radius:18px 18px 5px 18px!important;padding:11px 16px!important;max-width:min(82%,770px)!important;white-space:pre-wrap!important;line-height:1.55!important}
html body #orb2-workspace .jarvis-thread .orb2-message-actions {font-size:12px!important;opacity:1!important;display:flex!important;gap:12px!important;margin:11px 0 0!important}
html body #orb2-workspace .jarvis-thread .orb2-copy-answer {background:transparent!important;padding:2px 0!important;border:0!important;color:#7d8fa9!important;font-size:12px!important;min-height:22px!important}
html body #orb2-workspace .jarvis-thread .orb2-copy-answer:hover {color:#265ac0!important}
html body #orb2-workspace .jarvis-voice-strip {background:#f8faff!important;border-bottom:1px solid #e9eff7!important;padding:8px clamp(24px,5vw,80px)!important;min-height:45px!important;flex-wrap:wrap!important}
html body #orb2-workspace .jarvis-voice-button {min-height:32px!important;background:#e7efff!important;color:#2659a8!important;border:1px solid #c8d9f5!important;border-radius:11px!important;font-weight:650!important}
html body #orb2-workspace .jarvis-status[data-orb2-idle="true"]{display:none!important}
html body #orb2-workspace .jarvis-status:not([data-orb2-idle="true"]){padding-inline:clamp(24px,5vw,80px)!important}
html body #orb2-workspace .jarvis-compose {background:#fff!important;padding:14px clamp(24px,5vw,82px) 19px!important;margin:0!important;flex:0 0 auto!important}
html body #orb2-workspace .orb-modern-line {border-radius:31px!important;box-shadow:0 4px 14px #1426470a!important}
html body #orb2-workspace .orb2-history-actions .jarvis-dialog-tools button {font-size:12px!important}
html body #orb2-workspace .orb2-topbar {background:#fff!important}
html body #orb2-workspace .orb2-native-section {display:block!important;margin:0!important;padding:0!important;max-width:none!important;width:100%!important;background:transparent!important}
html body #orb2-workspace .orb2-native-section.hidden {display:none!important}
html body #orb2-workspace .orb2-native-section > .panel {max-width:1200px!important;margin:0 0 20px!important;background:#fff!important}
html body #orb2-workspace .orb2-native-section .cards {grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}
html body #orb2-workspace .orb2-native-section .toolbar {flex-wrap:wrap}
html body #orb2-workspace .orb2-native-section .panel input,html body #orb2-workspace .orb2-native-section .panel select,html body #orb2-workspace .orb2-native-section .panel textarea {max-width:100%}
@media(max-width:1040px){
 html body #orb2-workspace{grid-template-columns:210px minmax(0,1fr)!important}
 html body #orb2-workspace .orb2-rail{width:210px!important}
 html body #orb2-workspace .orb2-chatview{grid-template-columns:210px minmax(0,1fr)!important}
}
@media(max-width:760px){
 html body #orb2-workspace{grid-template-columns:minmax(0,1fr)!important}
 html body #orb2-workspace .orb2-rail{display:none!important}
 html body #orb2-workspace.orb2-mobile-open .orb2-rail{display:flex!important;width:235px!important;position:absolute!important;z-index:99;top:0;bottom:0;left:0}
 html body #orb2-workspace .orb2-chatview{grid-template-columns:minmax(0,1fr)!important}
 html body #orb2-workspace .orb2-history{display:none!important}
 html body #orb2-workspace.orb2-show-history .orb2-history{display:flex!important;position:absolute;z-index:80;top:69px;bottom:0;left:0;width:min(85vw,285px)!important;box-shadow:12px 0 26px #14264418}
 html body #orb2-workspace .orb2-conversation-head{gap:5px!important;padding:8px 12px!important}
 html body #orb2-workspace .orb2-conv-identity strong{font-size:14px!important}
 html body #orb2-workspace .orb2-model-holder>select.jarvis-dialog-choice{width:125px!important;min-width:120px!important}
 html body #orb2-workspace .orb2-topbar{padding:10px 14px!important}
 html body #orb2-workspace .jarvis-thread{padding:17px 15px!important}
 html body #orb2-workspace .jarvis-compose{padding:9px 10px 13px!important}
 html body #orb2-workspace .jarvis-voice-strip{padding:6px 12px!important}
}

/* Workspace history controls keep destructive actions, not integration wizards. */
#orb2-workspace .orb2-history-guidance{font-size:11px;line-height:1.45;color:#97a4ba;padding:8px 8px 1px;margin:0}
#orb2-workspace .orb2-mobile-history{display:none;background:white;border:1px solid #e2eaf5;border-radius:9px;color:#345477;padding:6px 9px;font-size:12px;min-height:34px}
@media(max-width:760px){
 #orb2-workspace .orb2-mobile-history{display:inline-flex;align-items:center}
 #orb2-workspace .orb2-toptools{gap:5px!important}
 #orb2-workspace .orb2-model-holder .jarvis-cloud-row{max-width:85px}
 #orb2-workspace .orb2-voice-status{font-size:11px}
}

/* ORBITA AI 2.3.0: home workspace and crisp brand baseline. */
#orb2-workspace .orb2-brand {min-height:52px;align-items:center;overflow:visible;padding-bottom:14px!important}
#orb2-workspace .orb2-brand-text {line-height:1.26!important;overflow:visible!important;display:flex;flex-direction:column;justify-content:center}
#orb2-workspace .orb2-brand-text small {display:block!important;line-height:1.55!important;letter-spacing:.13em!important;margin-top:1px!important;padding:0 0 3px!important;white-space:nowrap;overflow:visible!important}
#orb2-workspace .orb2-home {max-width:1420px;margin:0 auto;padding:0 0 44px;display:flex;flex-direction:column;gap:16px}
#orb2-workspace .orb2-home-hero {background:#fff;border:1px solid #e0e8f3;border-radius:19px;padding:clamp(24px,3vw,42px);box-shadow:0 8px 28px #12284908}
#orb2-workspace .orb2-home-eyebrow {margin:0 0 14px;color:#6083b6;letter-spacing:.16em;font-size:11px;font-weight:750}
#orb2-workspace .orb2-home-hero h2 {font-size:clamp(24px,2.2vw,35px);margin:0;color:#142942;line-height:1.2;letter-spacing:-.04em}
#orb2-workspace .orb2-home-hero>p:not(.orb2-home-eyebrow) {max-width:690px;color:#647794;font-size:14px;line-height:1.65;margin:13px 0 24px}
#orb2-workspace .orb2-home-hero-actions {display:flex;gap:10px;flex-wrap:wrap}
#orb2-workspace .orb2-home-primary,#orb2-workspace .orb2-home-outline {border-radius:10px;cursor:pointer;padding:12px 17px;min-height:45px;font:650 13px/1.4 'Segoe UI',Arial,sans-serif}
#orb2-workspace .orb2-home-primary {background:#2864cd;color:#fff;border:1px solid #2864cd}
#orb2-workspace .orb2-home-outline {background:white;color:#2458a2;border:1px solid #cbdaf0}
#orb2-workspace .orb2-home-primary:hover {background:#1d55b8}
#orb2-workspace .orb2-home-outline:hover {background:#f0f5ff}
#orb2-workspace .orb2-home-section-label {margin:10px 0 2px;color:#183251;font-size:16px}
#orb2-workspace .orb2-home-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
#orb2-workspace .orb2-home-tile {position:relative;border:1px solid #dce6f1;background:#fff;text-align:left;display:flex;flex-direction:column;gap:10px;border-radius:15px;padding:22px;cursor:pointer;min-height:143px;box-shadow:0 6px 18px #14254007;color:#172f51}
#orb2-workspace .orb2-home-tile:hover {background:#f8fbff;border-color:#aac4ec;transform:translateY(-1px)}
#orb2-workspace .orb2-home-tile-icon {font-size:24px;color:#2b64c8}
#orb2-workspace .orb2-home-tile strong {font-size:14px}
#orb2-workspace .orb2-home-tile-desc {font-size:12px;color:#7285a0;line-height:1.4}
#orb2-workspace .orb2-home-tile-arrow {position:absolute;right:20px;top:17px;color:#9bb1ce;font-size:16px}
#orb2-workspace .orb2-home-summary {padding:10px 0 0}
#orb2-workspace .orb2-home-summary h3 {margin:0 0 6px;color:#172f4c;font-size:16px}
#orb2-workspace .orb2-home-summary-text {margin:0;color:#7285a0;font-size:12px;line-height:1.5}
#orb2-workspace .orb2-home-dashboard {display:block!important;margin:0 0 30px;padding:0!important;background:none!important;border:0!important}
#orb2-workspace .orb2-home-dashboard>.muted {display:none!important}
#orb2-workspace .orb2-home-dashboard>.panel {display:none!important}
#orb2-workspace .orb2-home-dashboard .metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0!important}
#orb2-workspace .orb2-home-dashboard .metrics article {padding:20px!important;border:1px solid #dfe8f3!important;background:white!important;border-radius:15px!important;min-width:0;box-shadow:0 4px 12px #14254005}
#orb2-workspace .orb2-home-dashboard .metrics strong {font-size:25px;color:#255bb6}
#orb2-workspace .orb2-home-dashboard .metrics p {font-size:12px;color:#71829e}
@media(max-width:1100px){#orb2-workspace .orb2-home-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#orb2-workspace .orb2-content{padding:17px 13px!important}#orb2-workspace .orb2-home-hero{padding:23px}#orb2-workspace .orb2-home-grid{grid-template-columns:minmax(0,1fr)}#orb2-workspace .orb2-home-tile{min-height:110px}#orb2-workspace .orb2-home-dashboard .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ORBITA Experience Learning 2.4.0 */
.orb2-content .jarvis-experience-panel{display:flex;flex-direction:column;gap:14px;background:#fff;border:1px solid #dae4f1;border-radius:16px;padding:23px;margin:14px 0;max-width:1000px;box-shadow:0 7px 23px #10294a09}
.orb2-content .jarvis-experience-panel[hidden]{display:none!important}
.orb2-content .orb2-experience-filters,.orb2-content .orb2-experience-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.orb2-content .orb2-experience-filters input{min-width:180px;flex:1}
.orb2-content .jarvis-experience-panel input,.orb2-content .jarvis-experience-panel select,.orb2-content .jarvis-experience-panel textarea{border:1px solid #cbd9eb;border-radius:9px;padding:10px;max-width:100%;font:inherit;background:white;color:#1a3150}
.orb2-content .orb2-experience-card{border:1px solid #dce5f1;border-radius:13px;padding:16px;margin:12px 0;overflow-wrap:anywhere}
.orb2-content .orb2-experience-meta{font-size:12px;color:#567193;margin-bottom:8px}
.orb2-content .orb2-experience-question{font-weight:650;font-size:14px;color:#1a3150;white-space:pre-wrap}
.orb2-content .orb2-experience-answer{color:#344761;font-size:13px;line-height:1.65;white-space:pre-wrap}
.orb2-content .orb2-experience-edit{display:flex;flex-direction:column;gap:7px;margin-top:14px}
.orb2-content .orb2-experience-edit textarea{width:100%;min-height:80px;resize:vertical}
.orb2-content .orb2-experience-actions button{font-size:12px;padding:8px 12px;border-radius:9px;border:1px solid #cbd9eb;background:#fff;color:#214f91;cursor:pointer}
.orb2-content .orb2-experience-actions .orb2-primary{background:#2d63ce;color:#fff;border-color:#2d63ce}
.orb2-chatbox .orb2-save-example{background:transparent;border:0;color:#5376a7;font-size:12px;cursor:pointer;margin-left:8px}
.orb2-chatbox .orb2-response-provider{display:block;font-size:10px;color:#68819d;margin-bottom:7px}
.orb2-content .orb2-tabs{flex-wrap:wrap}

.orb2-model-holder .jarvis-cloud-context{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:11px;color:#4c6787;margin:5px 0}
.orb2-model-holder .jarvis-cloud-context input{width:auto;flex:none;min-height:0}

/* ORBITA 2.5.0 local knowledge — doesn't restyle approved workspace. */
.orb2-knowledge-toggle{margin-left:auto;background:#f3f7ff;color:#38669c;border:1px solid #d7e3f4;border-radius:9px;font-size:11px;padding:7px 10px;cursor:pointer}
.orb2-knowledge-toggle[aria-pressed=false]{background:#f6f7f9;color:#7e8a99}
.orb2-knowledge-search{max-width:950px;padding:24px;border:1px solid #dce5f1;border-radius:15px;background:white;margin-top:12px}
.orb2-knowledge-search h3{margin:0 0 13px;font-size:17px;color:#162b48}
.orb2-knowledge-controls{display:flex;flex-wrap:wrap;gap:10px}
.orb2-knowledge-query{flex:1;min-width:180px;border:1px solid #cbd9ea;padding:11px 12px;border-radius:10px;font:inherit}
.orb2-knowledge-results{display:grid;gap:10px;margin-top:16px}
.orb2-knowledge-hit{padding:14px;border:1px solid #dfe7f2;border-radius:10px;overflow-wrap:anywhere}
.orb2-knowledge-hit strong{color:#1c365e}
.orb2-knowledge-hit p{line-height:1.6;white-space:pre-wrap;margin:8px 0 0}
.orb2-knowledge-location{font-size:11px;color:#607898}
.orb2-knowledge-excerpt{color:#233c5b;font-size:13px}
@media(max-width:700px){.orb2-knowledge-search{padding:14px}.orb2-knowledge-toggle{margin-left:0}.orb2-tabs{flex-wrap:wrap}}

/* Integrated corporate messenger in unified ORBITA shell. */
.orb2-workspace[data-view="messages"] .orb2-content{display:flex;flex-direction:column;padding:12px 18px;min-height:0;overflow:hidden}
.orb2-workspace[data-view="messages"] #orbita-messenger{display:flex!important;flex-direction:column;flex:1;min-height:0;min-width:0;margin:0}
.orb2-workspace[data-view="messages"] #orbita-messenger.hidden{display:none!important}
.orb2-workspace[data-view="messages"] .orbmsg-shell{height:100%;flex:1;min-height:0}
@media(max-width:720px){.orb2-workspace[data-view="messages"] .orbmsg-shell{grid-template-columns:1fr}}
