.agent-workbench{grid-template-rows:auto auto auto minmax(0,1fr) auto}
.workspace-mode-tabs{min-height:44px;display:flex;align-items:end;gap:24px;padding:0 max(18px,calc((100vw - 1320px)/2));border-bottom:1px solid var(--line);background:#fff}
.workspace-mode-tabs button{height:44px;padding:0 2px;border:0;border-bottom:3px solid transparent;background:#fff;color:#656877;font-size:12px;font-weight:700;cursor:pointer}
.workspace-mode-tabs button[aria-selected="true"]{border-bottom-color:var(--agent-accent);color:var(--agent-accent);font-weight:850}
.agent-workbench[data-workspace-mode="local"] .agent-identity-group,.agent-workbench[data-workspace-mode="local"] .agent-context,.agent-workbench[data-workspace-mode="local"]>.task-composer,.agent-workbench[data-workspace-mode="local"]>.context-backdrop{display:none!important}
#agentOnlineWorkspace:not([hidden]){display:block;flex:1;min-height:0;height:calc(100dvh - 190px);padding:12px}
.agent-workbench[data-workspace-mode="groups"] .agent-identity-group,.agent-workbench[data-workspace-mode="groups"] .agent-context,.agent-workbench[data-workspace-mode="groups"]>.task-composer,.agent-workbench[data-workspace-mode="groups"]>.context-backdrop{display:none!important}
.agent-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.room-panel-open{overflow:hidden}
body.agent-office-page:has(.agent-workbench[data-workspace-mode="groups"]) .sl-companion-root{display:none!important}

.agent-group-workspace{grid-row:4/6;min-width:0;min-height:0;padding:0 max(18px,calc((100vw - 1320px)/2));background:#fff}
.agent-group-workspace[hidden]{display:none}
.room-shell{position:relative;width:100%;height:100%;min-width:0;min-height:0;display:grid;grid-template-columns:minmax(210px,238px) minmax(292px,332px) minmax(420px,1fr);overflow:hidden;background:#fff}
.room-rail,.room-task-pane,.room-chat-pane{min-width:0;min-height:0;background:#fff}
.room-rail,.room-task-pane{display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-right:1px solid var(--line)}
.room-rail{background:#fbfbfd}
.room-task-pane{grid-template-rows:auto auto minmax(0,1fr)}
.room-chat-pane{position:relative;display:grid;grid-template-rows:auto minmax(0,1fr) auto}

.room-pane-heading,.room-chat-heading,.room-member-drawer>header,.room-editor-shell>header,.room-editor-shell>footer,.room-editor-members>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}
.room-pane-heading{min-height:64px;padding:10px 13px;border-bottom:1px solid var(--line)}
.room-pane-heading>div,.room-chat-title,.room-editor-shell>header>div,.room-editor-members>div:first-child>div{min-width:0}
.room-pane-heading h2,.room-chat-heading h2,.room-member-drawer h2,.room-editor h2,.room-editor h3{margin:0;color:var(--ink);letter-spacing:-.02em}
.room-pane-heading h2,.room-chat-heading h2{font-size:15px}
.room-pane-heading p,.room-chat-title p,.room-chat-title span,.room-member-drawer header p,.room-editor header p,.room-editor-members p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
.room-primary-button,.room-secondary-button,.room-close-button,.room-mobile-button,.room-members-button,.room-send-button,.room-danger-button,.room-task-cancel,.room-task-approval button,.room-load-history,.room-empty button{min-height:38px;padding:0 12px;border-radius:10px;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.room-primary-button,.room-send-button,.room-task-approval button{border:0;background:var(--agent-accent);color:#fff}
.room-secondary-button,.room-close-button,.room-mobile-button,.room-members-button,.room-load-history,.room-empty button{border:1px solid var(--line);background:#fff;color:#4f5260}
.room-primary-button:disabled,.room-secondary-button:disabled,.room-close-button:disabled,.room-mobile-button:disabled,.room-members-button:disabled,.room-send-button:disabled,.room-danger-button:disabled,.room-task-cancel:disabled,.room-task-approval button:disabled,.room-load-history:disabled{opacity:.55;cursor:not-allowed}
.room-danger-button,.room-task-cancel{border:1px solid #efb7c0;background:#fff;color:#a82f44}
.room-close-button{padding:0 10px;color:var(--agent-accent)}
.room-task-pane .room-close-button{display:none}
.room-pane-actions{display:flex;align-items:center;gap:7px}
#closeRoomRailButton{display:none}

.room-list,.room-task-ledger,.room-public-chat,.room-member-list,.room-editor-body{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-color:#bbb8cc #f3f2f8}
.room-list::-webkit-scrollbar,.room-task-ledger::-webkit-scrollbar,.room-public-chat::-webkit-scrollbar,.room-member-list::-webkit-scrollbar,.room-editor-body::-webkit-scrollbar{width:9px}
.room-list::-webkit-scrollbar-thumb,.room-task-ledger::-webkit-scrollbar-thumb,.room-public-chat::-webkit-scrollbar-thumb,.room-member-list::-webkit-scrollbar-thumb,.room-editor-body::-webkit-scrollbar-thumb{border:2px solid #f3f2f8;border-radius:999px;background:#bbb8cc}
.room-list{padding:8px}
.room-list-row{width:100%;min-width:0;min-height:72px;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:9px;padding:10px 9px;border:0;border-radius:11px;background:transparent;color:var(--ink);text-align:left;cursor:pointer}
.room-list-row:hover{background:#f2f1f7}
.room-list-row.is-active{background:var(--agent-soft)}
.room-list-mark,.room-member-avatar{display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#ece8ff;color:var(--agent-accent);font-weight:850}
.room-list-mark{width:34px;height:34px;font-size:12px}
.room-list-row>span:nth-child(2){min-width:0}
.room-list-row strong,.room-list-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.room-list-row strong{font-size:12px;line-height:1.45}
.room-list-row small{margin-top:4px;color:#686b78;font-size:11px;line-height:1.4}
.room-list-row>.room-state{grid-column:2;margin-top:4px}
.room-rail-foot{padding:12px 14px;border-top:1px solid var(--line)}
.room-rail-foot p{margin:0;color:#686b78;font-size:11px;line-height:1.55}

.room-state{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;color:#646775;font-size:11px;line-height:1.4;white-space:nowrap}
.room-state i{width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:currentColor}
.room-state.is-good{color:#087456}.room-state.is-pending{color:#765000}.room-state.is-bad{color:#a82f44}.room-state.is-neutral{color:#646775}
.room-empty{min-height:160px;display:grid;place-content:center;justify-items:start;gap:7px;padding:18px;color:#686b78;font-size:12px;line-height:1.6}
.room-empty strong{color:var(--ink);font-size:14px}.room-empty p{margin:0}.room-empty button{margin-top:4px;color:var(--agent-accent)}
.room-empty.is-error strong{color:#a82f44}

.room-task-filters{display:flex;gap:4px;padding:8px 10px;border-bottom:1px solid var(--line);overflow-x:auto}
.room-task-filters button{min-height:34px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:#666977;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}
.room-task-filters button[aria-pressed="true"]{background:var(--agent-soft);color:var(--agent-accent)}
.room-task-ledger{padding:0 13px 20px}
.room-task-window-note{margin:10px 0 0;padding:8px 9px;border-radius:8px;background:#f3f4f8;color:#555966;font-size:10px;line-height:1.5}
.room-task-block{padding:15px 0;border-bottom:1px solid var(--line)}
.room-task-block>header{display:flex;align-items:flex-start;justify-content:space-between;gap:9px}
.room-task-block>header strong{min-width:0;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.room-task-block>p{margin:7px 0;color:#5a5d69;font-size:11px;line-height:1.55}
.room-task-block>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px}
.room-task-block time,.room-task-row time,.room-task-event time{color:#5f626f;font-size:10px}
.room-task-actions{margin-top:9px;border-top:1px solid var(--line)}
.room-task-row,.room-task-event{position:relative;width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;padding:10px 0;border:0;background:transparent;color:var(--ink);font:inherit;text-align:left}
.room-task-row[data-task-message-id],.room-task-event[data-task-message-id]{cursor:pointer}
.room-task-row+.room-task-row{border-top:1px solid #efeff3}
.room-task-row:hover,.room-task-event:hover{background:#faf9fd}
.room-task-row:focus,.room-task-row:focus-visible,.room-task-event:focus,.room-task-event:focus-visible{border-radius:8px;background:var(--agent-soft);outline:3px solid color-mix(in srgb,var(--agent-accent) 38%,transparent);outline-offset:2px}
.room-task-flow,.room-task-event>span:first-child{min-width:0;font-size:11px;font-weight:800;line-height:1.45;overflow-wrap:anywhere}
.room-task-row p,.room-task-event p{grid-column:1/3;margin:0;color:#5b5e6b;font-size:11px;line-height:1.55;overflow-wrap:anywhere}
.room-task-row code{grid-column:1/3;color:#a82f44;font-family:"Cascadia Code",Consolas,monospace;font-size:10px;overflow-wrap:anywhere}
.room-task-row .room-truncated{grid-column:1/3}
.room-task-row time,.room-task-event time{grid-column:1/3}
.room-task-event{margin-top:10px;padding:11px;border:1px solid var(--line);border-radius:10px}
.room-task-approval{display:grid;gap:6px;margin:10px 0;padding:10px;border:1px solid #e4cc83;border-radius:10px;background:#fff8e4;color:#5b430d}
.room-task-approval strong{font-size:12px}.room-task-approval p{margin:0;font-size:11px;line-height:1.55}.room-task-approval button{justify-self:start;min-height:36px}
.room-task-cancel{min-height:34px;padding:0 9px}

.room-chat-heading{min-height:68px;padding:9px 16px;border-bottom:1px solid var(--line)}
.room-chat-title{flex:1}
.room-chat-title p{color:var(--agent-accent);font-weight:750}
.room-chat-heading h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.room-chat-title span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.room-chat-tools{display:flex;align-items:center;gap:8px}
.room-mobile-button{display:none}
.room-task-button-short{display:none}
.room-members-button{display:flex;align-items:center;gap:8px}
.room-member-avatars{display:flex;min-width:22px}
.room-member-avatars i{position:relative;display:grid;place-items:center;width:24px;height:24px;margin-left:calc(var(--room-avatar-index) * -7px);border:2px solid #fff;border-radius:50%;background:#ece8ff;color:var(--agent-accent);font-size:9px;font-style:normal;font-weight:850}
.room-member-avatars i:first-child{margin-left:0}

.room-public-chat{position:relative;padding:20px 28px 30px;background:#fff}
.room-message-stream{width:100%;max-width:820px;min-height:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:16px;margin:0 auto}
.room-load-history{align-self:center;min-height:34px;color:var(--agent-accent)}
.room-chat-empty{min-height:100%;display:grid;place-content:center;justify-items:center;max-width:480px;margin:0 auto;padding:30px;color:#666977;text-align:center}
.room-chat-empty strong{color:var(--ink);font-size:17px}.room-chat-empty p{margin:8px 0 0;font-size:13px;line-height:1.7}
.room-message{width:fit-content;max-width:min(92%,680px);display:grid;gap:6px}
.room-message.is-user{align-self:flex-end;max-width:min(86%,680px)}
.room-message.is-member{align-self:flex-start;max-width:min(92%,680px)}
.room-message.is-system{align-self:center;width:min(92%,720px);max-width:min(92%,720px);padding:9px 12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:#5e6170;text-align:center}
.room-message-byline{display:flex;align-items:center;gap:8px;color:#6c6f7c;font-size:10px}
.room-message.is-user .room-message-byline{justify-content:flex-end}
.room-message-byline strong{color:#3c3f4b;font-size:11px}.room-message-byline time{color:#5f626f}
.room-message-body{padding:10px 12px;border-radius:13px 13px 13px 4px;background:#f3f2f7;color:#282b35;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.room-message.is-user .room-message-body{border-radius:13px 13px 4px 13px;background:var(--agent-soft);color:#302d43}
.room-message.is-system .room-message-body{padding:0;border-radius:0;background:transparent;color:inherit}
.room-message.is-assignment .room-message-body,.room-message.is-report .room-message-body,.room-message.is-final .room-message-body{border:1px solid color-mix(in srgb,var(--agent-accent) 18%,var(--line));background:#fbfaff}
.room-message footer{display:flex}.room-message.is-user footer{justify-content:flex-end}
.room-mention{color:var(--agent-accent);font-weight:800}
.room-pruned,.room-truncated{display:block;color:#6a6d79;font-size:11px;line-height:1.55}.room-truncated{margin-top:1px}
.room-message.is-highlighted .room-message-body{outline:3px solid color-mix(in srgb,var(--agent-accent) 24%,transparent);outline-offset:2px}
.room-new-messages{position:absolute;z-index:4;left:50%;bottom:118px;transform:translateX(-50%);min-height:34px;padding:0 12px;border:1px solid color-mix(in srgb,var(--agent-accent) 28%,var(--line));border-radius:10px;background:#fff;color:var(--agent-accent);font-size:11px;font-weight:800;box-shadow:0 8px 22px rgba(38,33,65,.12);cursor:pointer}

.room-composer{position:relative;padding:10px 18px max(11px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}
.room-route-preview{margin:0 2px 7px;color:#555966;font-size:11px;line-height:1.45}
.room-composer-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end;padding:7px;border:1px solid color-mix(in srgb,var(--agent-accent) 28%,var(--line));border-radius:14px;background:#fff}
.room-composer-field{position:relative;min-width:0}
.room-composer textarea{display:block;width:100%;min-height:44px;max-height:132px;padding:8px;border:0;outline:0;resize:none;background:#fff;color:var(--ink);font:inherit;font-size:13px;line-height:1.55}
.room-composer textarea::placeholder{color:#5f626f}
.room-send-button{min-width:76px;height:42px}
.room-composer-note{min-height:16px;margin:6px 3px 0;color:#6c6f7b;font-size:10px;line-height:1.45}
.room-composer-note.is-error{color:#a82f44}
.room-mention-list{position:absolute;z-index:12;left:0;bottom:calc(100% + 10px);width:min(440px,calc(100vw - 44px));max-height:252px;padding:6px;overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(33,28,57,.18)}
.room-mention-list[hidden]{display:none}
.room-mention-list button{width:100%;min-height:52px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:7px;border:0;border-radius:8px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}
.room-mention-list button:hover,.room-mention-list button[aria-selected="true"]{background:var(--agent-soft)}
.room-mention-list button>span:nth-child(2){min-width:0}.room-mention-list strong,.room-mention-list small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.room-mention-list strong{font-size:12px}.room-mention-list small{margin-top:3px;color:#676a77;font-size:10px}
.room-mention-empty{display:grid;gap:4px;margin:0;padding:13px 12px;color:#676a77}.room-mention-empty strong{color:var(--ink);font-size:12px}.room-mention-empty span{font-size:11px;line-height:1.5}

.room-scrim{position:fixed;z-index:20;inset:0;border:0;background:rgba(18,18,29,.34);cursor:pointer}
.room-scrim[hidden]{display:none}
.room-member-drawer{position:absolute;z-index:30;top:0;right:0;bottom:0;width:min(430px,calc(100% - 30px));display:grid;grid-template-rows:auto auto auto auto minmax(0,1fr);background:#fff;box-shadow:-18px 0 42px rgba(28,24,48,.16)}
.room-member-drawer[hidden]{display:none}
.room-member-drawer>header{min-height:68px;padding:10px 16px;border-bottom:1px solid var(--line)}
.room-member-drawer h2{font-size:17px}
.room-memory-boundary{padding:14px 16px;border-bottom:1px solid var(--line);background:#f6f9f7}
.room-memory-boundary strong{color:#263d35;font-size:12px}.room-memory-boundary p{margin:5px 0 0;color:#52655e;font-size:11px;line-height:1.55}
.room-public-rules{padding:14px 16px;border-bottom:1px solid var(--line);background:#f7f8fb}.room-public-rules>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.room-public-rules>header strong{font-size:13px}.room-public-rules>header span{color:var(--muted);font-size:10px}.room-public-rules dl{display:grid;margin:10px 0 0}.room-public-rules dl>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:8px;padding:7px 0;border-top:1px solid var(--line)}.room-public-rules dt{color:var(--muted);font-size:10px}.room-public-rules dd{margin:0;font-size:10px;line-height:1.5}.room-public-rules dd strong,.room-public-rules dd small{display:block}.room-public-rules dd small{margin-top:2px;color:var(--muted);font-weight:400}.room-public-rules>p{margin:8px 0 0;color:var(--muted);font-size:10px;line-height:1.55}
.room-member-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:11px 16px 8px}.room-member-heading strong{font-size:13px}.room-member-heading span{color:var(--muted);font-size:10px}
.room-member-list{padding:0 16px 20px}
.room-member-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:10px;padding:15px 0;border-bottom:1px solid var(--line)}
.room-member-avatar{width:38px;height:38px;font-size:12px}
.room-member-row>div{min-width:0}.room-member-title{display:flex;align-items:center;gap:7px}.room-member-title strong{font-size:13px}.room-member-title b{padding:2px 6px;border-radius:6px;background:#fff1c7;color:#6b4904;font-size:9px}
.room-member-row p{margin:5px 0;color:#454854;font-size:11px;line-height:1.55}.room-member-row small{display:block;margin-top:4px;color:#6a6d79;font-size:10px;line-height:1.5;overflow-wrap:anywhere}

.room-editor{width:min(960px,calc(100vw - 28px));max-height:min(90dvh,850px);padding:0;border:0;border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 28px 78px rgba(24,20,45,.24)}
.room-editor::backdrop{background:rgba(15,16,25,.44)}
.room-editor-shell{height:min(90dvh,850px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;margin:0}
.room-editor-shell>header{padding:18px 20px 15px;border-bottom:1px solid var(--line)}
.room-editor h2{font-size:20px}.room-editor h3{font-size:14px}
.room-editor-shell>header button,.room-editor-members>div:first-child>button{min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--agent-accent);font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.room-editor-body{padding:17px 20px 22px}
.room-editor-basics{display:grid;grid-template-columns:minmax(240px,520px);gap:12px}
.room-editor label{min-width:0;display:grid;gap:6px;color:#555865;font-size:11px;font-weight:750}
.room-editor input,.room-editor select,.room-editor textarea{width:100%;min-width:0;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);font:inherit}
.room-editor input,.room-editor select{height:42px;padding:0 10px}.room-editor textarea{min-height:62px;padding:9px 10px;resize:vertical;line-height:1.5}
.room-editor input:focus,.room-editor select:focus,.room-editor textarea:focus{border-color:color-mix(in srgb,var(--agent-accent) 48%,var(--line));outline:3px solid color-mix(in srgb,var(--agent-accent) 12%,transparent);outline-offset:0}
.room-editor-scope{margin:11px 0 0;padding:10px 12px;border-radius:10px;background:#f5f7fb;color:#515663;font-size:11px;line-height:1.6}
.room-editor-members{margin-top:22px}
.room-editor-members>div:first-child{align-items:flex-start}
.room-editor-members>div:first-child>button{flex:0 0 auto}
#roomEditorMemberList{margin-top:10px}
.room-member-editor{margin:0;padding:15px 0;border:0;border-top:1px solid var(--line)}
.room-member-editor legend{padding:0 8px 0 0;color:#6a6d79;font-size:10px;font-weight:800}
.room-member-editor-main{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(130px,.8fr) minmax(170px,1.1fr) auto auto;align-items:end;gap:9px}
.room-handle-input{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;border:1px solid var(--line);border-radius:9px;background:#fff}
.room-handle-input:focus-within{border-color:color-mix(in srgb,var(--agent-accent) 48%,var(--line));outline:3px solid color-mix(in srgb,var(--agent-accent) 12%,transparent)}
.room-handle-input span{padding-left:10px;color:var(--agent-accent);font-weight:800}.room-handle-input input{border:0;outline:0!important}
.room-member-coordinator{height:42px;display:flex!important;align-items:center!important;grid-template-columns:auto auto!important;padding:0 10px;border:1px solid var(--line);border-radius:9px;white-space:nowrap}
.room-member-coordinator input{width:17px;height:17px;margin:0;accent-color:var(--agent-accent)}
.room-member-remove{height:42px;padding:0 10px;border:1px solid #efb7c0;border-radius:9px;background:#fff;color:#a82f44;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.room-member-responsibility{margin-top:10px}
.room-member-binding{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(190px,1fr);gap:9px;margin-top:10px}
.room-member-binding>div{padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:#f7f7fa}.room-member-binding strong{font-size:10px}.room-member-binding p{margin:4px 0 0;color:#686b77;font-size:10px;line-height:1.45}
.room-editor-project-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.room-project-mode-card{display:block!important;position:relative}
.room-project-mode-card input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.room-project-mode-card span{display:grid;gap:3px;min-height:64px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}
.room-project-mode-card strong{font-size:12px;color:var(--ink)}
.room-project-mode-card small{font-size:10px;color:#686b77;line-height:1.5}
.room-project-mode-card input:checked+span{border-color:color-mix(in srgb,var(--agent-accent) 58%,var(--line));background:color-mix(in srgb,var(--agent-accent) 7%,#fff);outline:2px solid color-mix(in srgb,var(--agent-accent) 22%,transparent);outline-offset:1px}
.room-project-mode-card input:focus-visible+span{outline:3px solid color-mix(in srgb,var(--agent-accent) 34%,transparent);outline-offset:2px}
.room-editor-shared-folder{margin-top:12px;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#f7f7fa}
.room-editor-shared-folder[hidden]{display:none}
.room-shared-folder-help{margin:8px 0 0;color:#686b77;font-size:10px;line-height:1.5}
.room-member-shared-project{display:grid;align-content:start;gap:4px}
.room-member-shared-project .room-project-check{color:#1a7f37;font-weight:900}
.room-member-shared-project.is-missing{background:#fdf1f3;border-color:#efb7c0}
.room-member-shared-project.is-missing strong{color:#a82f44}
.room-member-folder-pick{height:34px;padding:0 10px;border:1px dashed color-mix(in srgb,var(--agent-accent) 45%,var(--line));border-radius:8px;background:#fff;color:var(--agent-accent);font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.room-member-folder-pick:disabled{opacity:.5;cursor:not-allowed}
.room-editor-status{min-height:20px;margin:12px 0 0;color:#646774;font-size:11px;line-height:1.5}.room-editor-status.is-error{color:#a82f44}
.room-editor-shell>footer{padding:12px 20px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}
.room-editor-shell>footer>span{margin-right:auto;color:#6b6e7a;font-size:10px}.room-editor-shell>footer button{min-height:42px}

.agent-group-workspace button:focus-visible,.room-editor button:focus-visible,.room-editor input:focus-visible,.room-editor select:focus-visible,.room-editor textarea:focus-visible{outline:3px solid color-mix(in srgb,var(--agent-accent) 34%,transparent);outline-offset:2px}

@media(max-width:1180px){
  .workspace-mode-tabs,.agent-group-workspace{padding-left:18px;padding-right:18px}
  .room-shell{grid-template-columns:minmax(190px,214px) minmax(268px,300px) minmax(380px,1fr)}
  .room-public-chat{padding-left:20px;padding-right:20px}
}

@media(max-width:920px){
  .room-shell{grid-template-columns:minmax(270px,310px) minmax(0,1fr)}
  .room-rail{position:absolute;z-index:24;top:0;bottom:0;left:0;width:min(310px,calc(100% - 36px));display:none;box-shadow:18px 0 38px rgba(28,24,48,.15)}
  .agent-group-workspace[data-mobile-panel="rooms"] .room-rail{display:grid}
  #closeRoomRailButton{display:inline-flex;align-items:center}
  .room-task-pane{grid-column:1}.room-chat-pane{grid-column:2}
  .room-rooms-button{display:inline-flex;align-items:center;justify-content:center}
  .room-editor{width:calc(100vw - 20px)}
  .room-member-editor-main{grid-template-columns:repeat(2,minmax(0,1fr)) auto}
  .room-member-editor-main>label:nth-child(3){grid-column:1/3}
  .room-member-binding{grid-template-columns:repeat(2,minmax(0,1fr))}.room-member-binding>div{grid-column:1/3}
}

@media(max-width:760px){
  .workspace-mode-tabs{min-height:44px;gap:20px;padding:0 14px}.workspace-mode-tabs button{height:44px}
  .agent-group-workspace{padding:0}
  .room-shell{display:block}
  .room-chat-pane{height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto}
  .room-task-pane{position:absolute;z-index:24;inset:0 auto 0 0;width:min(360px,calc(100% - 24px));display:none;border:0;background:#fff;box-shadow:18px 0 38px rgba(28,24,48,.15)}
  .agent-group-workspace[data-mobile-panel="tasks"] .room-task-pane{display:grid}
  .room-task-pane .room-close-button{display:inline-flex;align-items:center}
  .room-tasks-button{display:inline-flex;align-items:center;gap:5px}.room-task-button-long{display:none}.room-task-button-short{display:inline}
  .room-task-badge,#roomTaskBadge{display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:#fff1c7;color:#6b4904;font-size:9px}
  #roomTaskBadge[hidden]{display:none}
  .room-chat-heading{min-height:62px;padding:8px 10px;gap:7px}
  .room-chat-heading h2{font-size:14px}.room-chat-title p{display:none}.agent-group-workspace[data-synthetic="true"] .room-chat-title p{display:block;font-size:9px;line-height:1.25}.agent-group-workspace[data-synthetic="true"] .room-chat-title span{display:none}.room-chat-title span{font-size:10px}
  .room-chat-tools{gap:5px}.room-mobile-button,.room-members-button,.room-secondary-button{min-height:44px;padding:0 9px}
  .room-members-button .room-member-avatars{display:none}
  .room-public-chat{padding:16px 12px 24px}
  .room-message-stream{gap:14px}.room-message{max-width:min(92%,680px)}.room-message.is-user{max-width:min(86%,680px)}.room-message.is-system{width:92%;max-width:92%}
  .room-message-body{font-size:13px}.room-chat-empty{padding:24px 14px}
  .room-composer{padding:8px 10px max(9px,env(safe-area-inset-bottom))}
  .room-composer-box{gap:7px;padding:6px}.room-composer textarea{min-height:48px;max-height:92px}.room-send-button{min-width:68px;height:44px}
  .room-route-preview{font-size:11px}.room-composer-note{font-size:10px;text-align:left}
  .room-mention-list{position:fixed;z-index:40;left:8px;right:8px;bottom:calc(116px + env(safe-area-inset-bottom));width:auto;max-height:min(292px,42dvh)}
  .room-mention-list button{min-height:56px}
  .room-new-messages{bottom:126px;min-height:44px}
  .room-member-drawer{position:absolute;width:100%;box-shadow:none}.room-member-drawer>header{min-height:62px}.room-member-drawer .room-close-button{min-height:44px}
  .room-editor{width:100vw;height:100dvh;max-height:none;border-radius:0}.room-editor-shell{height:100dvh;max-height:none}
  .room-editor-shell>header,.room-editor-body,.room-editor-shell>footer{padding-left:14px;padding-right:14px}
  .room-editor-shell>header button,.room-editor-members>div:first-child>button,.room-editor-shell>footer button{min-height:44px}
  .room-editor-basics,.room-member-editor-main,.room-member-binding{grid-template-columns:minmax(0,1fr)}
  .room-editor-project-mode{grid-template-columns:minmax(0,1fr)}
  .room-member-editor-main>label:nth-child(3),.room-member-binding>div{grid-column:1}
  .room-member-coordinator{justify-content:flex-start}.room-member-remove{justify-self:end;min-width:72px;height:44px}
  .room-editor-shell>footer{display:grid;grid-template-columns:1fr 1fr}.room-editor-shell>footer>span{grid-column:1/3;margin:0}.room-editor-shell>footer .room-danger-button{grid-column:1/3;justify-self:start}
  .room-primary-button,.room-secondary-button,.room-close-button,.room-mobile-button,.room-members-button,.room-send-button,.room-danger-button,.room-task-cancel,.room-task-approval button,.room-load-history,.room-empty button{min-height:44px}
}

@media(max-width:390px){
  .room-chat-heading{padding-left:8px;padding-right:8px}.room-chat-tools{gap:4px}.room-mobile-button,.room-members-button,.room-secondary-button{padding-left:7px;padding-right:7px;font-size:10px}
  .room-public-chat{padding-left:10px;padding-right:10px}.room-composer{padding-left:8px;padding-right:8px}
  .room-editor-members>div:first-child{align-items:center}.room-member-editor{padding-top:13px}.room-editor-shell>footer{gap:7px}
}

@media(prefers-reduced-motion:reduce){.room-message.is-highlighted .room-message-body{outline-offset:1px}}
