:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif;font-size:14px;color:#26384e;background:#f8fbfe;--ink:#26384e;--muted:#74889f;--line:#e4edf5;--blue:#369fe2;--blue-deep:#147abf;--blue-soft:#eaf6ff;--paper:#fff;--surface:#f7fbff}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:9px 14px;background:white;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:background .14s,border-color .14s}button:hover{background:#eef7ff;border-color:#c8e4f7}button:disabled{opacity:.46;cursor:not-allowed}a{color:var(--blue-deep);text-decoration:none}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #91cfff;outline-offset:3px}h1,h2,h3,p{margin:0}h2{font-size:21px;line-height:1.4;letter-spacing:-.4px}h3{font-size:15px}p{line-height:1.65;color:var(--muted)}small{color:var(--muted)}input,select,textarea{border:1px solid #dbe7f1;background:#fff;border-radius:10px;padding:11px 12px;min-width:0}input:focus,textarea:focus,select:focus{outline:2px solid #9bd7ff;outline-offset:1px}textarea{resize:vertical;line-height:1.7}button.primary{background:var(--blue);border-color:var(--blue);color:#fff;font-weight:600;box-shadow:0 4px 10px #299de21a}button.primary:hover{background:#238fce}.compact{padding:10px 16px}.danger{color:#b74a4b!important}.text-button{border:0;background:transparent;padding:7px;color:var(--blue-deep)}[hidden]{display:none!important}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}[data-icon] svg{width:21px;height:21px}.icon-button{padding:8px;width:38px;height:38px;border-color:transparent;background:transparent;flex-shrink:0}.icon-button:hover{background:#eaf5fe}.login{max-width:420px;padding:34px 22px;margin:8vh auto}.wordmark{font-size:26px;font-weight:750;color:var(--ink)}.wordmark span{font-size:13px;margin-left:12px;color:var(--muted);font-weight:400}.login h1{font-size:36px;line-height:1.5;margin:48px 0 14px;letter-spacing:-1px}.login form{display:grid;gap:22px;margin-top:30px}label{display:grid;gap:8px}output{color:#b44343;white-space:pre-wrap;font-size:13px}
/* Agent profiles are a separate product view; room status stays in its header. */
.agents-content{height:100%;min-height:0;overflow:auto;overscroll-behavior:contain}
.agent-editor{max-width:1000px;margin:auto;padding:28px 34px 40px;display:grid;gap:24px}
.agent-editor-title{display:flex;justify-content:space-between;align-items:center;gap:20px}
.agent-editor-title p,.agent-config-section p{font-size:12px;line-height:1.8}
.agent-editor>fieldset{padding:0;border:0;margin:0;display:grid;gap:20px;min-width:0}
.agent-config-section{display:grid;gap:16px;border:1px solid var(--line);border-radius:12px;padding:24px}
.agent-config-section h3{margin:0 0 3px}.agent-config-section label{font-size:12px}.agent-config-section textarea{width:100%}
.agent-field-grid,.agent-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.agent-tool-option{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line);padding:13px;border-radius:9px;line-height:1.6}
.agent-tool-option>input{width:16px;height:16px;flex:0 0 auto;margin:3px 0 0}.agent-tool-option>span{display:grid;gap:4px;min-width:0}.agent-tool-option small{font-size:11px;line-height:1.7}
.agent-execution{border-top:1px solid var(--line);padding-top:15px}.agent-execution summary{cursor:pointer;font-weight:600;margin-bottom:15px}.agent-execution h4{font-size:12px;margin:20px 0 12px}.agent-policy-note{margin-top:15px}
.agent-editor-footer{display:flex;gap:16px;align-items:center;flex-wrap:wrap;position:sticky;bottom:0;background:#ffffffed;padding:14px 0;border-top:1px solid var(--line)}
.agent-editor-footer>span{font-size:11px;color:var(--muted);flex:1}.agent-editor-footer output{width:100%}
.group-people{border:1px solid var(--line);border-radius:10px;padding:18px}.group-people>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.group-member-chips{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.group-member-chips>span{display:inline-flex;align-items:center;gap:6px;background:var(--surface);padding:7px 11px;border-radius:20px;font-size:12px}.group-member-chips svg{width:18px;height:18px}
.group-agent-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid var(--line)}.group-agent-row>div{flex:1}.group-agent-row p{font-size:12px}.group-agent-row button{padding:6px 10px;font-size:12px}#group-agent-form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px;margin-top:22px}#group-agent-form output{grid-column:1/-1}
.team-mention-picker{position:absolute;bottom:100%;left:12px;right:12px;max-width:420px;background:white;box-shadow:0 8px 35px #25476125;border:1px solid var(--line);border-radius:10px;padding:5px;z-index:35;max-height:300px;overflow:auto}
.team-mention-picker>button{display:flex;width:100%;text-align:left;justify-content:flex-start;border:0;border-radius:7px;padding:10px;gap:12px}.team-mention-picker>button[aria-selected=true]{background:var(--blue-soft)}.team-mention-picker>button>span:last-child{display:grid;gap:3px}.team-mention-picker strong{font-size:12px}.team-mention-picker small{font-size:11px}
.task-agent-permissions{padding:12px 0;font-size:12px;line-height:1.8}
@media(max-width:700px){.agent-editor{padding:18px 14px 28px;gap:18px}.agent-config-section{padding:16px}.agent-field-grid,.agent-tool-grid{grid-template-columns:1fr}.agent-editor-title{align-items:flex-start}.agent-editor-title h2{font-size:20px}.agent-editor-title>button{white-space:nowrap}.group-people>div{grid-template-columns:1fr}.group-agent-row{gap:8px}.group-agent-row>button{padding:6px}.rail .nav-button{min-width:0}.agents-content .welcome-state{padding:25px}#app[data-view=agents] .header-avatar{display:none}}
#app{height:100dvh;display:grid;grid-template-columns:78px 326px minmax(0,1fr);overflow:hidden}.rail{display:flex;align-items:center;flex-direction:column;border-right:1px solid var(--line);background:#f2f8fd;padding:22px 9px 16px;gap:25px}.rail-brand{font-size:23px;font-weight:800;letter-spacing:-1.6px;color:#294057;margin:3px 0 7px}.rail-brand span{color:var(--blue)}.rail-main,.rail-bottom{display:flex;flex-direction:column;gap:12px;width:100%;align-items:center}.rail-bottom{margin-top:auto}.nav-button{height:60px;width:58px;padding:8px 3px;gap:5px;flex-direction:column;background:transparent;border:0;color:#74899f;font-size:11px;border-radius:13px;position:relative}.nav-button [data-icon] svg{width:24px;height:24px}.nav-button.selected{color:var(--blue-deep);background:white;box-shadow:0 3px 12px #2751750a}.nav-button b{position:absolute;right:3px;top:3px;background:#f07f72;color:white;border:2px solid #f2f8fd;border-radius:15px;padding:0 4px;font-size:10px;min-width:17px}.profile-button{border:1px solid #d5e9f8;background:#e3f3fe;border-radius:50%;width:42px;height:42px;padding:0;color:#2479ad}.profile-button>span:last-child{display:none}.list-pane{display:flex;flex-direction:column;min-height:0;background:#f8fbff;border-right:1px solid var(--line)}.pane-heading{padding:25px 22px 19px;display:flex;justify-content:space-between;align-items:center}.workspace-label{font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:#92a4b6}.pane-heading h1{font-size:24px;letter-spacing:-.7px;line-height:1.4;margin-top:7px;font-weight:650}.search-box{height:38px;display:flex;align-items:center;gap:7px;margin:0 20px 15px;background:white;border:1px solid #dce8f2;border-radius:11px;padding:0 10px;color:#91a5bb}.search-box input{width:100%;height:100%;padding:0;border:0;background:transparent;font-size:12px;outline:0!important}.search-box [data-icon] svg{width:17px;height:17px}.search-box kbd{font:10px inherit;white-space:nowrap;color:#9aacc0}.filter-row{display:flex;gap:6px;padding:0 20px 15px;flex-wrap:wrap}.filter-chip{padding:6px 10px;border-radius:18px;font-size:11px;background:white;white-space:nowrap;gap:5px}.filter-chip.selected{background:#e1f2ff;border-color:#b7dfff;color:#127ab7}.filter-chip b{font-size:10px;font-weight:500;color:#73899d}.filter-chip.selected b{color:#147abf}.pane-list{flex:1;min-height:0;overflow:auto;padding:4px 12px 20px}.list-section-label{font-size:10px;color:#8a9fb5;letter-spacing:1px;padding:10px 10px}.conversation-row,.task-row{width:100%;display:flex;text-align:left;align-items:flex-start;gap:11px;border:1px solid transparent;border-radius:13px;background:transparent;padding:15px 11px;margin:3px 0}.conversation-row:hover,.task-row:hover{background:#eef6fd}.conversation-row.selected,.task-row.selected{background:#e7f4ff;border-color:#c1e4fc}.list-avatar,.team-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:43px;height:43px;border-radius:50%;background:#e1effb;color:#458bc1}.list-avatar svg{width:24px;height:24px}.list-avatar.agent{background:#eaf0ff;color:#7a7fb5}.list-copy{flex:1;min-width:0}.list-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:1px 0 7px}.list-top strong{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-top time{font-size:10px;flex-shrink:0;color:#98adc1}.list-copy p{font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#8095ac}.list-copy>small{display:block;font-size:10px;margin-top:7px}.task-row h3{font-size:13px;font-weight:550;line-height:1.65;margin:7px 0;color:#344d66;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.task-row .list-top{margin-bottom:0}.task-row .list-top time{font-size:9px}.task-row .row-metadata{display:flex;gap:8px;color:#94a6ba;font-size:10px;margin-top:7px}.pane-footer{border-top:1px solid var(--line);padding:14px 20px;display:flex;align-items:center;justify-content:space-between;color:#8ba0b5;font-size:10px}.connection{display:flex;gap:6px;align-items:center}.connection i{width:6px;height:6px;border-radius:50%;background:#66b18f;flex-shrink:0}.connection.offline i{background:#d6a46d}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:3px 7px;background:#eef3f8;font-size:10px;color:#6f8198;line-height:1.5;font-weight:500}.badge.running{color:#2587bf;background:#e9f5ff}.badge.waiting{color:#a3792d;background:#fcf4e3}.badge.attention{color:#bc6857;background:#fff0eb}.badge.ended{color:#7c8c9d;background:#edf2f6}.status-marker{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor}.empty-list{text-align:center;color:#8fa0b3;font-size:12px;padding:45px 15px;line-height:1.8}
.workspace{display:flex;flex-direction:column;min-width:0;min-height:0;background:white}.content-header{height:92px;padding:18px 28px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);flex-shrink:0;background:#fff}.header-avatar{width:43px;height:43px;display:flex;align-items:center;justify-content:center;color:#408cbd;background:#edf7ff;border-radius:12px;flex-shrink:0}.header-avatar svg{width:24px;height:24px}.header-copy{min-width:0;flex:1}.header-copy h2{font-size:19px;letter-spacing:-.3px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-weight:600}.header-copy p{font-size:11px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.member-avatars{display:flex;align-items:center;padding-right:6px}.member-avatars span{display:grid;place-items:center;border:2px solid white;border-radius:50%;height:28px;width:28px;margin-left:-7px;background:#eaf2fb;color:#7792ac}.member-avatars svg{width:15px;height:15px}.content-view{flex:1;min-height:0}.room{display:flex;flex-direction:column}.room-pulse{border-bottom:1px solid #edf2f7;padding:12px 27px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fbfdff;min-height:57px}.pulse-text{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6}.pulse-text [data-icon]{color:#3996cf}.pulse-text b{font-weight:550;color:#425e77}.pulse-text small{font-size:11px}.room-pulse button{font-size:11px;white-space:nowrap;color:var(--blue-deep);padding:6px 9px;background:transparent;border:0}.pending-analysis{padding:10px 26px;color:#2986bf;background:#eff8ff;font-size:12px;border-bottom:1px solid #deeffc}.room-context{font-size:10px;color:#99a9b9;padding:6px 24px 12px;text-align:center}.dsh-seat{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}#dsh-root{flex:1;min-height:0;width:100%;overflow:hidden;--dsh-composer-card-max-width:100%;--dsh-composer-side-clearance:25px;--dsh-composer-text-max-height:160px;--dsh-composer-dock-inset:0px;--dsh-chat-content-width:100%;--dsh-chat-flow-gap:20px}.dsh-team-native{height:100%;width:100%;min-height:0}.dsh-team-mode{display:flex;align-items:center;gap:8px}.dsh-team-mode select{font-size:11px;padding:4px 7px;max-width:165px;border:0;background:#f0f7fc;border-radius:6px;color:#688299}.dsh-team-mode select:focus{outline:2px solid #a9dbff}#dsh-root p{color:inherit}#dsh-root [contenteditable]{font-size:14px;line-height:1.75}#dsh-root [data-chat-flow-kind=user]{width:100%}.team-chat-message{display:flex;align-items:flex-start;gap:12px;padding:8px 0 13px;width:100%;font-family:inherit}.team-chat-message .team-avatar{width:34px;height:34px;border-radius:50%;margin-top:1px;background:#e9f2fa}.team-chat-message .team-avatar svg{width:21px;height:21px}.team-chat-message.agent .team-avatar{background:#e5f4ff;color:#208fcf}.team-message-main{flex:1;min-width:0}.team-message-by{display:flex;gap:9px;align-items:center;margin:0 0 8px;font-size:12px;color:#52728d}.team-message-by strong{font-weight:600}.team-message-by small{font-size:9px;letter-spacing:.6px;color:#8da2b8}.team-message-by time{margin-left:auto;font-size:10px;color:#9aaec2}.team-message-bubble{font-size:14px;line-height:1.9;background:#f1f8fe;border:1px solid #e0f0fc;border-radius:0 14px 14px 14px;padding:13px 16px;overflow-wrap:anywhere;white-space:pre-wrap;color:#3b536c}.team-chat-message.self .team-message-bubble{background:#edf5ff}.team-chat-message.agent .team-message-bubble{background:#f4faff}.team-chat-message .task-notice{display:flex;align-items:stretch;gap:12px;text-align:left;border:1px solid #cce8fa;background:#f4faff;border-radius:11px;padding:14px 16px;margin-top:9px;width:100%;white-space:normal}.task-notice-copy{min-width:0;flex:1}.task-notice strong{display:block;font-size:13px;color:#35536e;margin:6px 0}.task-notice p{font-size:12px;line-height:1.6;color:#738ca3;margin:4px 0}.task-notice .notice-action{font-size:11px;color:#268fc8;margin-top:8px}.task-notice>svg{align-self:center;width:18px;color:#57a3d1}
.tasks-content{display:flex;flex-direction:column}.welcome-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:35px;text-align:center;gap:17px}.welcome-state>[data-icon]{width:65px;height:65px;background:#eff8ff;color:#67add8;border-radius:18px}.welcome-state>[data-icon] svg{width:32px;height:32px}.welcome-state h2{font-size:22px;font-weight:550}.welcome-state p{max-width:370px;line-height:1.85;font-size:13px}.task-detail{display:flex;flex-direction:column;flex:1;min-height:0}.task-overview{padding:23px 28px 15px;background:#fbfdff;border-bottom:1px solid #edf3f8}.task-summary-top{display:flex;align-items:center;gap:10px;margin-bottom:12px}.task-summary-top small{font-size:10px}.task-overview h3{font-size:12px;color:#8a9eaf;font-weight:450;margin-bottom:6px}.task-goal{font-size:14px;line-height:1.8;color:#3a536c;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere}.goal-details summary{font-size:11px;color:#7b96ae;cursor:pointer;list-style:none}.goal-details[open] summary{margin-bottom:6px}.goal-details[open] .task-goal{-webkit-line-clamp:unset}.next-step{font-size:12px;margin-top:12px;color:#5f8099;display:flex;align-items:flex-start;gap:7px;line-height:1.65}.next-step [data-icon] svg{width:16px;height:16px}.task-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 27px;border-bottom:1px solid var(--line);flex-shrink:0}.control-buttons{display:flex;gap:7px;flex-wrap:wrap}.control-buttons button,.task-actions .text-button{font-size:11px;padding:7px 10px}.control-buttons svg,.task-actions svg{width:16px;height:16px}.task-tabs{display:flex;gap:23px;padding:0 28px;border-bottom:1px solid var(--line);height:46px;flex-shrink:0}.task-tabs button{padding:10px 0;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;font-size:12px;color:#899bb0;white-space:nowrap}.task-tabs button[aria-selected=true]{color:#2085c3;border-bottom-color:#299de1;font-weight:600}.task-tabs b{font-size:10px;font-weight:500;margin-left:3px}.task-panel{flex:1;min-height:0}.timeline{padding:22px 28px;overflow:auto}.timeline-intro{font-size:12px;color:#8b9eb0;margin-bottom:20px}.timeline details{border-left:1px solid #deebf5;padding:0 0 22px 17px;margin-left:4px}.timeline summary{cursor:pointer;list-style:none;display:flex;gap:14px;align-items:baseline;font-size:12px;color:#53748f}.timeline summary time{color:#9aadbd;font-size:10px;margin-left:auto;flex-shrink:0}.timeline pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f8fc;padding:12px;font-size:10px;line-height:1.7;max-height:260px;overflow:auto;border-radius:9px;margin-top:10px}.timeline details small{display:block;font-size:10px;color:#a1afbd;margin-top:4px}.artifacts{overflow:auto;padding:24px 28px}.artifact-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:23px}.artifact-toolbar button,.artifact-toolbar a{font-size:11px;padding:8px 10px}.artifact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.artifact-grid figure{border:1px solid var(--line);border-radius:11px;margin:0;padding:10px;min-width:0}.artifact-grid img{width:100%;border-radius:6px;display:block}.artifact-grid figcaption{font-size:10px;color:#8aa0b4;margin-top:8px;overflow-wrap:anywhere}.artifact-file{padding:25px 8px;display:flex;justify-content:center;align-items:center;gap:10px;color:#6594b4;font-size:12px}.task-ended{text-align:center;color:#91a1b3;padding:11px;border-top:1px solid var(--line);font-size:12px;background:#f9fbfd}.utility-page{padding:30px;overflow:auto}.utility-page>p{margin:10px 0 25px;font-size:13px}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:25px}.section-heading p{font-size:13px;margin-top:10px}.knowledge-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8;padding:22px;border:1px solid var(--line);border-radius:12px}.settings-card{padding:23px;border:1px solid var(--line);border-radius:12px;margin:22px 0}.settings-card p{font-size:12px;margin:10px 0}.settings-card form{display:grid;gap:14px;margin-top:18px}.checkbox{display:flex;align-items:center;gap:8px;font-size:12px}.rule-row{border-top:1px solid var(--line);padding:12px 0;font-size:12px}.rule-row button{font-size:11px;padding:5px 9px}
dialog{padding:27px;border:1px solid #d5e6f4;border-radius:18px;box-shadow:0 20px 90px #173e6533;width:min(560px,calc(100vw - 30px));max-height:calc(100dvh - 30px);overflow:auto;color:var(--ink)}dialog::backdrop{background:#223e574d;backdrop-filter:blur(3px)}dialog form{display:grid;gap:18px}dialog p{font-size:12px}dialog label{font-size:12px;color:#647d93}dialog textarea{width:100%}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-heading h2{font-size:21px;margin-top:5px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px}.task-kind{margin:0;padding:0;border:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}.task-kind legend{font-size:12px;color:#647d93;padding:0 0 8px}.task-kind label{display:grid;grid-template-columns:17px 1fr;align-items:center;gap:6px;padding:12px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.task-kind label:has(input:checked){border-color:#a9dafe;background:#f0f9ff}.task-kind input{margin:0;accent-color:#299ce1}.task-kind small{grid-column:2;font-size:10px;line-height:1.6}.task-kind b{font-size:12px;font-weight:550}.scope-note{background:#f6f9fc;border-radius:9px;padding:10px 12px;overflow-wrap:anywhere;font-size:11px!important}#save-result{color:#4e8d79;line-height:1.7}#toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#284359;color:white;border-radius:10px;font-size:12px;z-index:10000;max-width:min(80vw,520px);box-shadow:0 5px 25px #1e415329;white-space:pre-wrap}.mobile-back{display:none}.source-highlight{outline:2px solid #63b7ed;outline-offset:5px;border-radius:8px}
@media(min-width:1600px){#app{grid-template-columns:86px 360px minmax(0,1fr)}.content-header{padding-left:38px;padding-right:38px}#dsh-root{--dsh-composer-side-clearance:36px;--dsh-chat-content-width:1000px}.room-pulse{padding-left:38px;padding-right:38px}.team-message-bubble{font-size:15px}}
@media(max-width:1050px) and (min-width:701px){#app{grid-template-columns:70px 280px minmax(0,1fr)}.member-avatars{display:none}.content-header{padding:15px 18px;gap:9px}.header-avatar{display:none}.task-actions{padding:10px 18px}.task-overview{padding:18px}.task-tabs{padding:0 18px;gap:16px}}
@media(max-width:700px){#app{display:block;height:100dvh;padding-bottom:70px;position:relative}.rail{position:absolute;bottom:0;left:0;right:0;height:70px;padding:4px 12px max(5px,env(safe-area-inset-bottom));flex-direction:row;gap:0;background:#fbfdff;border-right:0;border-top:1px solid var(--line);z-index:5;justify-content:space-around}.rail-brand{display:none}.rail-main,.rail-bottom{display:contents}.nav-button{height:55px;width:21%;border-radius:10px;gap:4px;font-size:10px}.nav-button.selected{background:transparent;box-shadow:none}.nav-button [data-icon] svg{width:24px;height:24px}.profile-button{display:none}.list-pane{height:100%;width:100%;border:0;background:#fff}.pane-heading{padding:27px 23px 21px}.pane-heading h1{font-size:28px;margin-top:7px}.pane-heading .icon-button{width:43px;height:43px;background:#f4f9fd;border:1px solid var(--line);border-radius:50%}.search-box{height:42px;margin:0 22px 18px;background:#f9fcff}.filter-row{padding:0 22px 16px;gap:8px}.filter-chip{font-size:12px;padding:7px 13px}.pane-list{padding:0 13px 18px}.list-section-label{padding-left:10px}.conversation-row,.task-row{padding:17px 10px;border-radius:13px;margin:3px 0}.conversation-row .list-avatar{width:51px;height:51px}.conversation-row .list-top strong{font-size:15px}.list-copy p{font-size:13px}.list-top time{font-size:11px}.pane-footer{font-size:11px;padding:12px 23px}.workspace{display:none;height:100%;width:100%}#app[data-detail=true] .list-pane{display:none}#app[data-detail=true] .workspace{display:flex}.mobile-back{display:inline-flex}.content-header{height:77px;gap:7px;padding:12px 12px}.header-avatar{display:none}.header-copy h2{font-size:16px}.header-copy p{font-size:10px}.member-avatars{display:none}.content-header>.icon-button#refresh{display:none}#header-new-task{font-size:11px;padding:8px 11px}.room-pulse{padding:11px 18px;min-height:56px}.pulse-text{font-size:11px;gap:7px}.pulse-text small{font-size:10px}.room-pulse button{font-size:10px;padding:5px}.room-context{font-size:9px;line-height:1.6;padding:5px 14px 9px}#dsh-root{--dsh-composer-side-clearance:12px;--dsh-composer-text-max-height:110px;--dsh-chat-flow-gap:16px}.team-chat-message{gap:8px;padding-bottom:8px}.team-chat-message .team-avatar{width:29px;height:29px}.team-chat-message .team-avatar svg{width:18px;height:18px}.team-message-by{font-size:11px;margin-bottom:6px;gap:6px}.team-message-by time{font-size:9px}.team-message-bubble{padding:11px 13px;font-size:13px;line-height:1.85}.team-chat-message .task-notice{padding:12px;gap:8px}.task-notice strong{font-size:12px}.task-notice p{font-size:11px}.dsh-team-mode select{font-size:10px;max-width:135px;padding:4px 5px}.task-overview{padding:17px 18px 12px}.task-goal{font-size:12px}.task-summary-top{gap:7px}.task-summary-top small{font-size:9px}.next-step{font-size:11px;margin-top:10px}.task-actions{padding:9px 14px;align-items:flex-start}.task-actions .text-button{font-size:10px;white-space:nowrap;padding:7px 4px}.control-buttons{gap:5px}.control-buttons button{font-size:10px;padding:6px 8px;gap:4px}.control-buttons svg{width:13px;height:13px}.task-tabs{height:43px;padding:0 18px;gap:21px}.task-tabs button{font-size:11px}.timeline,.artifacts{padding:18px}.artifact-grid{grid-template-columns:1fr}.welcome-state{padding:22px}.welcome-state h2{font-size:20px}.welcome-state p{font-size:12px}.utility-page{padding:22px}.settings-card{padding:18px}#app[data-view=knowledge] .list-pane,#app[data-view=settings] .list-pane{display:none}#app[data-view=knowledge] .workspace,#app[data-view=settings] .workspace{display:flex}#app[data-view=knowledge] .mobile-back,#app[data-view=settings] .mobile-back{display:none}.task-ended{font-size:10px}#toast{bottom:84px;max-width:88vw}dialog{padding:21px}.task-kind{grid-template-columns:1fr}.pending-analysis{padding:9px 18px;font-size:11px}}
.task-overview:has(.goal-details[open])>.task-goal{display:none}.last-action{font-size:10px;color:#93a6b8;margin-top:7px}.pulse-text p{font-size:11px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}#dsh-root[data-ended=true] [data-slot^="conversation.composer"]{display:none!important}#dsh-root button[aria-label="添加文件或调用指令"],#dsh-root button[aria-label="编辑排队消息"],#dsh-root button[aria-label="删除排队消息"],#dsh-root button[aria-label="插话发送"]{display:none}
/* Task context is secondary to the conversation: one compact header and toolbar. */
#app.task-open .workspace>.content-header{display:none}
#task-dsh-root{flex:1;min-height:0;min-width:0;width:100%;height:100%;overflow:hidden;font-family:var(--dsw-font-family);color:var(--dsw-alias-label-primary);background:var(--dsw-alias-bg-layer-1)}
#task-dsh-root .dsh-team-native{height:100%;min-height:0}
.dsh-task-business-panel{min-width:0;max-height:65dvh;overflow:auto}
.dsh-task-business-panel .task-info{max-height:none;border:0}
.dsh-task-business-panel .task-panel{overflow:visible}
#app.task-open .content-header{height:56px;padding:8px 18px;gap:10px}
#app.task-open .header-avatar{width:32px;height:32px;border-radius:9px}
#app.task-open .header-avatar svg{width:19px;height:19px}
#app.task-open .header-copy h2{font-size:15px;line-height:1.35}
#app.task-open .header-copy p{font-size:11px;line-height:1.3;margin-top:3px}
.task-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:0 12px;min-height:44px;padding:0 18px;border-bottom:1px solid var(--line);flex-shrink:0;background:#fff}
.task-toolbar .task-tabs{height:44px;padding:0;gap:20px;border:0;flex-shrink:0}
.task-tools{display:flex;align-items:center;gap:8px;margin-left:auto}
.task-toolbar .control-buttons:empty{display:none}
.task-toolbar .control-buttons button{padding:5px 9px;min-height:30px;font-size:11px}
#task-info-toggle{white-space:nowrap;font-size:11px;min-height:36px;padding:6px 0 6px 8px;color:var(--blue-deep)}
#task-info-toggle[aria-expanded=true]{color:#496b86}
.task-info{max-height:min(40dvh,280px);overflow:auto;flex-shrink:0;border-bottom:1px solid var(--line);background:#f8fbfe}
.task-info .task-overview{padding:12px 18px 8px;border:0;background:transparent}
.task-info-meta{font-size:11px;color:#7f94a9}
.task-info h3{margin:8px 0 5px;font-size:11px}
.task-info .task-goal{display:block;overflow:visible;font-size:13px;line-height:1.65;-webkit-line-clamp:unset}
.task-info .next-step{font-size:11px;margin-top:8px}
.task-info .last-action{margin-top:6px}
.task-info>#task-source{font-size:11px;min-height:32px;margin:0 18px 7px;padding:5px 0}
.task-info>#task-source svg{width:15px;height:15px}
@media(max-width:700px){
  #app.task-open .content-header{height:52px;padding:6px 12px;gap:7px}
  #app.task-open .header-copy h2{font-size:14px}
  #app.task-open .header-copy p{font-size:10px;margin-top:2px}
  .task-toolbar{padding:0 12px;column-gap:8px;min-height:42px}
  .task-toolbar .task-tabs{height:42px;gap:16px}
  .task-toolbar .task-tabs button{font-size:11px}
  .task-tools{gap:6px}
  .task-toolbar .control-buttons{gap:5px}
  .task-toolbar .control-buttons button{font-size:10px;padding:5px 8px;min-height:32px}
  #task-info-toggle{font-size:10px;min-height:36px;padding-left:4px}
  .task-info .task-overview{padding:10px 14px 7px}
  .task-info .task-goal{font-size:12px}
  .task-info>#task-source{margin-left:14px;margin-right:14px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* OpenViking knowledge explorer: one directory sidebar, one readable document, no duplicate card shell. */
#app[data-view=knowledge] .pane-list{padding:0 10px 12px}
#app[data-view=knowledge] .pane-heading{padding-bottom:15px}
#app[data-view=knowledge] .content-header{height:72px;padding-top:10px;padding-bottom:10px}
.knowledge-view{display:flex;min-height:0;overflow:hidden;background:#fff}
#knowledge-content{padding:0;border:0;border-radius:0;background:#fff;white-space:normal;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}
.kb-sidebar{min-height:100%;display:flex;flex-direction:column;padding:0 2px}
.kb-search{padding:0 10px 15px;display:grid;gap:8px;position:sticky;top:0;background:#f8fbff;z-index:2}
.kb-search-field{display:flex;align-items:center;gap:7px;border:1px solid #d9e5ef;background:white;border-radius:9px;padding:0 8px;min-height:40px}
.kb-search-field>span{color:#8a9fb1;display:flex}
.kb-search-field svg{height:17px;width:17px}
.kb-search-field input{flex:1;width:0;min-width:0;border:0;background:transparent;outline:none!important;padding:10px 0;font-size:12px}
.kb-search-field:focus-within{outline:2px solid #9bd7ff;outline-offset:1px}
.kb-search-field button{border:0;padding:4px;min-height:30px;background:transparent;color:#6f8a9f}
.kb-search select{padding:6px 9px;font-size:11px;min-height:30px;background:transparent;border-color:#e0e9f0}
.kb-tree-heading{display:flex;align-items:center;justify-content:space-between;padding:0 9px 8px;color:#8b9fb1;font-size:11px}
.kb-tree-heading .icon-button{width:29px;height:29px;padding:5px;color:#8b9fb1}
.kb-tree-heading svg{width:16px;height:16px}
.kb-tree{flex:1;min-width:0}
.kb-tree-node{min-width:0}
.kb-tree-row{display:flex;align-items:center;border-radius:8px;min-width:0;padding-left:calc(var(--kb-depth,0)*13px);margin:2px 0}
.kb-tree-row:hover{background:#edf5fc}
.kb-tree-row.selected{background:#e5f2fc;color:#147abf}
.kb-disclosure,.kb-disclosure-spacer{width:24px;flex:0 0 24px;min-height:34px}
.kb-disclosure{border:0;background:transparent;padding:5px 3px;color:#8a9fb2;border-radius:6px}
.kb-disclosure[aria-expanded=true] svg{transform:rotate(-90deg)}
.kb-disclosure svg{width:13px;height:13px}
.kb-tree-open{flex:1;min-width:0;border:0;background:transparent;padding:10px 8px 10px 2px;justify-content:flex-start;gap:8px;text-align:left;border-radius:6px}
.kb-tree-open:hover,.kb-disclosure:hover{background:transparent;border-color:transparent}
.kb-tree-open>span:first-child{display:flex;color:#6796b9;flex-shrink:0}
.kb-tree-open svg{width:19px;height:19px}
.kb-tree-open>span:last-child{min-width:0;display:grid;gap:3px}
.kb-tree-open strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kb-tree-open small{font-size:10px;line-height:1.45;color:#94a5b4;white-space:normal}
.kb-tree-node[aria-level="1"]>.kb-tree-row{margin-top:8px}
.kb-tree-node[aria-level="1"]>.kb-tree-row strong{font-size:13px;font-weight:600}
.kb-tree-note{padding:5px 8px 6px 45px;font-size:11px;line-height:1.6;color:#8b9cab;overflow-wrap:anywhere}
.kb-tree-more{border:0;background:transparent;color:#268ac6;font-size:11px;padding:7px 12px;margin-left:30px}
.kb-identity{padding:20px 12px 8px;margin-top:auto;font-size:10px;color:#95a5b4;line-height:1.6;overflow-wrap:anywhere}
.kb-explorer{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;height:100%;overflow:hidden}
.kb-breadcrumbs{display:flex;align-items:center;gap:2px;min-height:42px;flex:0 0 auto;overflow:auto;padding:5px 24px;border-bottom:1px solid #f0f3f7;scrollbar-width:thin}
.kb-breadcrumbs>span{font-size:11px;color:#b0bdc8}
.kb-breadcrumbs button{flex-shrink:0;max-width:240px;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding:5px 6px;border:0;background:transparent;color:#8296a8;border-radius:5px;font-size:11px;text-align:left}
.kb-breadcrumbs button[aria-current=page]{color:#3c5b73}
.kb-document-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:23px 30px 19px;flex:0 0 auto}
.kb-document-heading>div:first-child{min-width:0}
.kb-type{display:block;color:#83a0b5;font-size:10px;line-height:1.5;letter-spacing:.2px;margin-bottom:4px}
.kb-document-heading h3{font-size:20px;line-height:1.5;font-weight:600;letter-spacing:-.2px;overflow-wrap:anywhere;color:#28455b}
.kb-document-heading p{font-size:10px;margin-top:7px;color:#96a7b5}
.kb-document-actions{display:flex;align-items:center;gap:7px;flex-shrink:0;padding-top:8px}
.kb-document-actions .icon-button{width:31px;height:31px;padding:6px;color:#83a0b5;border:1px solid #e6edf3;border-radius:7px}
.kb-document-actions svg{width:17px;height:17px}
.kb-download{font-size:11px;border:1px solid #dce8f2;border-radius:7px;display:inline-flex;align-items:center;min-height:31px;padding:5px 10px;white-space:nowrap}
.kb-level-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 30px;border-bottom:1px solid #e8eff5;min-height:44px;flex-shrink:0}
.kb-tabs{display:flex;align-items:stretch;gap:24px;min-width:0;overflow:auto}
.kb-tabs button{font-size:12px;font-weight:500;padding:12px 1px 11px;border:0;border-radius:0;background:transparent;white-space:nowrap;color:#8b9eb0;border-bottom:2px solid transparent}
.kb-tabs button[aria-selected=true]{color:#1b86c9;border-bottom-color:#359fe2}
.kb-raw-toggle{font-size:10px;padding:5px 8px;background:transparent;border:0;color:#7392a8;white-space:nowrap}
.kb-document-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.kb-body{min-height:100%;padding:22px 30px 32px;min-width:0}
.kb-directory-summary{display:flex;align-items:center;justify-content:space-between;color:#9aabb9;font-size:10px;padding:0 10px 9px}
.kb-file-list{border-top:1px solid #edf2f6}
.kb-file-row{display:flex;align-items:center;gap:12px;width:100%;min-width:0;text-align:left;border:0;border-bottom:1px solid #edf2f6;border-radius:0;padding:18px 10px;background:transparent}
.kb-file-row:hover{background:#f5faff;border-color:#edf2f6}
.kb-file-icon{display:flex;flex-shrink:0;width:32px;height:32px;align-items:center;justify-content:center;color:#5599c5;background:#eef7fd;border-radius:8px}
.kb-file-icon svg{height:22px;width:22px}
.kb-file-copy{flex:1;min-width:0;display:grid;gap:5px}
.kb-file-copy strong{font-size:13px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#39576e}
.kb-file-copy small{font-size:11px;color:#91a4b4;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.kb-file-meta{display:grid;gap:5px;flex:0 0 132px;font-size:10px;color:#8a9dac;text-align:right;line-height:1.6}
.kb-file-meta small{font-size:9px;color:#a0afbd}
.kb-file-row>span:last-child{display:flex;color:#a0b5c7;flex-shrink:0}
.kb-file-row>span:last-child svg{height:15px;width:15px}
.kb-markdown{max-width:1000px;min-width:0;color:#304c63;font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.kb-markdown p{color:inherit;font-size:inherit;line-height:1.9;white-space:pre-wrap}
.kb-markdown button{color:inherit}
.kb-markdown h1{font-size:25px;line-height:1.5}
.kb-markdown h2{font-size:20px;line-height:1.6}
.kb-markdown h3{font-size:17px;line-height:1.6}
.kb-markdown pre,.kb-markdown table{max-width:100%;overflow:auto}
.kb-markdown img{max-width:100%;height:auto}
.kb-raw{font:12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7fafc;border:1px solid #e8eef4;border-radius:9px;padding:18px;margin:0;color:#496377}
.kb-load-more{display:flex;margin:24px auto 0;font-size:11px;color:#2988bf;background:#f3f9fd;border-color:#dcecf7;min-height:36px}
.kb-source{flex-shrink:0;padding:10px 30px;border-top:1px solid #eef3f7;background:#fcfdff;font-size:10px;color:#9badbc}
.kb-source summary{cursor:pointer;line-height:1.8}
.kb-source details[open]{max-height:140px;overflow:auto}
.kb-source dl{display:grid;grid-template-columns:125px minmax(0,1fr);gap:6px 10px;line-height:1.7;font-size:10px}
.kb-source dd{margin:0;overflow-wrap:anywhere;color:#6d879b}
.kb-loading{padding:28px 25px;font-size:12px;color:#8ba2b5;line-height:1.8}
.kb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:11px;padding:44px 24px;color:#7f99ad;min-height:170px}
.kb-empty strong{font-size:13px;font-weight:500;color:#5f7f97;line-height:1.8}
.kb-empty p{font-size:11px;max-width:430px;line-height:1.8;color:#95a8b8}
.kb-empty button{font-size:11px;min-height:34px;margin-top:5px}
.kb-empty-icon{color:#a1c5df}
.kb-empty-icon svg{width:32px;height:32px}
.kb-error,.kb-error p{color:#ac7865}
.kb-media{display:grid;gap:20px;min-width:0;max-width:1100px}
.kb-media p{font-size:11px;line-height:1.8;color:#8ca1b3}
.kb-image{max-width:100%;max-height:65dvh;object-fit:contain}
.kb-pdf{width:100%;height:65dvh;border:1px solid #e4edf4;border-radius:8px}
.kb-media video{max-width:100%;max-height:65dvh}
.kb-media audio{max-width:100%;width:450px}
.kb-search-heading{padding:25px 30px 20px;flex-shrink:0;border-bottom:1px solid #e9eff5}
.kb-search-heading h3{font-size:21px;line-height:1.6;color:#31546e;overflow-wrap:anywhere}
.kb-search-heading p{font-size:11px;margin-top:7px;color:#94a9bb}
.kb-search-results{flex:1;min-height:0;overflow:auto;padding:5px 30px 25px}
.kb-result{display:block;width:100%;text-align:left;border:0;border-radius:0;border-bottom:1px solid #eaf0f5;padding:19px 10px;background:transparent}
.kb-result strong{display:block;line-height:1.7;font-size:13px;color:#357ca8;overflow-wrap:anywhere}
.kb-result p{font-size:11px;line-height:1.8;color:#8399ac;margin:6px 0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.kb-result>small{font-size:9px;display:block;color:#a2b2c0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1050px) and (min-width:701px){.kb-document-heading,.kb-body{padding-left:20px;padding-right:20px}.kb-level-bar,.kb-source,.kb-search-results,.kb-search-heading{padding-left:20px;padding-right:20px}.kb-file-meta{display:none}.kb-tabs{gap:17px}.kb-download{padding:5px 7px;font-size:10px}}
@media(max-width:700px){
  #app[data-view=knowledge] .list-pane{display:flex}
  #app[data-view=knowledge] .workspace{display:none}
  #app[data-view=knowledge][data-kb-pane=detail] .list-pane{display:none}
  #app[data-view=knowledge][data-kb-pane=detail] .workspace{display:flex}
  #app[data-view=knowledge] .mobile-back,#app[data-view=knowledge] #refresh{display:inline-flex}
  #app[data-view=knowledge] .content-header{height:64px;gap:8px;padding:9px 12px}
  #app[data-view=knowledge] .header-copy h2{font-size:16px}
  #app[data-view=knowledge] .header-copy p{font-size:10px}
  #app[data-view=knowledge] .pane-heading{padding:24px 22px 17px}
  .kb-search{padding:0 10px 14px;background:white}
  .kb-search-field{min-height:43px}
  .kb-search-field input{font-size:13px;padding:12px 0}
  .kb-search select{min-height:34px;font-size:12px}
  .kb-tree-heading{font-size:12px;padding:0 10px 8px}
  .kb-tree-open{padding:13px 8px 13px 3px;min-height:43px}
  .kb-tree-open strong{font-size:13px}
  .kb-tree-node[aria-level="1"]>.kb-tree-row strong{font-size:15px}
  .kb-tree-open small{font-size:11px}
  .kb-disclosure,.kb-disclosure-spacer{width:30px;flex-basis:30px;min-height:40px}
  .kb-identity{font-size:11px;padding-left:14px}
  .kb-breadcrumbs{padding:5px 12px;min-height:41px}
  .kb-breadcrumbs button{max-width:160px;font-size:10px;padding:6px 5px}
  .kb-document-heading{padding:17px 18px 14px;gap:9px}
  .kb-document-heading h3{font-size:17px;line-height:1.6}
  .kb-document-heading p{font-size:9px}
  .kb-document-actions{gap:4px;padding-top:4px;flex-direction:column}
  .kb-document-actions .icon-button{width:29px;height:29px}
  .kb-download{min-height:29px;font-size:9px;padding:4px 6px}
  .kb-level-bar{padding:0 18px;min-height:43px;gap:5px}
  .kb-tabs{gap:18px}
  .kb-tabs button{font-size:11px;padding:12px 0 10px}
  .kb-raw-toggle{font-size:10px;padding:5px 0 5px 4px}
  .kb-body{padding:16px 18px 25px}
  .kb-directory-summary{font-size:9px;padding:0 0 8px;gap:8px}
  .kb-file-row{padding:16px 0;gap:10px}
  .kb-file-copy strong{font-size:13px}
  .kb-file-copy small{font-size:11px}
  .kb-file-meta{display:none}
  .kb-markdown{font-size:13px;line-height:1.85}
  .kb-markdown h1{font-size:20px}
  .kb-markdown h2{font-size:18px}
  .kb-markdown h3{font-size:16px}
  .kb-raw{font-size:11px;padding:13px}
  .kb-source{padding:9px 18px}
  .kb-source dl{grid-template-columns:75px minmax(0,1fr)}
  .kb-search-heading{padding:20px 18px 15px}
  .kb-search-heading h3{font-size:18px}
  .kb-search-results{padding:0 18px 20px}
  .kb-result{padding:17px 0}
  .kb-empty{padding:35px 16px}
}

/* Single-Agent acceptance: opened on demand, never a large permanent header. */
.acceptance-panel{max-width:900px;margin:auto;padding:8px 12px 24px;color:#233950;line-height:1.7;overflow-wrap:anywhere}.acceptance-note,.acceptance-meta{color:#71869c;font-size:13px}.acceptance-panel h4{font-size:15px;margin:20px 0 8px}.acceptance-heading{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.acceptance-heading span{padding:3px 9px;background:#edf5ff;border-radius:6px;font-size:13px}.acceptance-summary{font-size:16px;font-weight:550;white-space:pre-wrap}.acceptance-panel details{border:1px solid #dce7f2;border-radius:9px;padding:11px 14px;margin:12px 0}.acceptance-panel summary{cursor:pointer;font-size:14px}.acceptance-panel dl{display:grid;grid-template-columns:90px 1fr;font-size:13px;gap:6px}.acceptance-panel dd{margin:0}.acceptance-check{padding:14px;border:1px solid #dce7f2;border-radius:9px;margin:10px 0}.acceptance-check b{display:block}.acceptance-check span{display:inline-block;font-size:12px;background:#edf5ff;color:#2465a0;border-radius:5px;padding:2px 7px;margin-top:6px}.acceptance-check[data-state=failed] span,.acceptance-check[data-state=missing_evidence] span{background:#fff0e5;color:#975120}.acceptance-check p{font-size:14px;white-space:pre-wrap;margin:8px 0}.acceptance-check small{color:#71869c}.acceptance-evidence-list{display:grid;gap:10px}.acceptance-evidence{margin:0;min-width:0}.acceptance-evidence img{max-width:100%;max-height:460px;object-fit:contain;border:1px solid #dce7f2;border-radius:8px}.acceptance-evidence pre{white-space:pre-wrap;font-size:13px;max-height:320px;overflow:auto}.acceptance-evidence figcaption{font-size:12px;color:#71869c}.acceptance-actions{border-top:1px solid #dce7f2;margin-top:20px;padding-top:10px}.acceptance-actions textarea{width:100%;min-height:85px;padding:10px;border:1px solid #dce7f2;border-radius:8px;font:inherit}.acceptance-exceptions{display:flex;gap:8px;font-size:13px;align-items:flex-start;margin-top:12px}.acceptance-exceptions input{width:18px;flex-shrink:0}.acceptance-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.acceptance-decision{padding:13px;background:#edf7f3;border-radius:8px;margin-top:15px}.acceptance-error{color:#9b412c;background:#fff2ed;padding:10px;border-radius:6px}.acceptance-panel button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:600px){.acceptance-panel{padding:6px 4px 20px}.acceptance-buttons button{flex:1;min-height:42px}.acceptance-panel dl{grid-template-columns:70px 1fr}}

/* Use the official modal with readable report sizing. */
.awb-acceptance-dialog{width:min(960px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important}.acceptance-reference{font-size:12px}.acceptance-check .acceptance-reference{margin:8px 0 0;padding:6px 10px}

/* IM authorship, quoted replies and one-line live progress. */
.team-chat-message .team-message-main{flex:0 1 auto;max-width:86%;min-width:0}.team-chat-message.self{flex-direction:row-reverse}.team-chat-message.self .team-message-by{justify-content:flex-end}.team-chat-message.self .team-message-by time{margin-left:0}.team-chat-message.self .team-message-bubble{margin-left:auto;background:#e2f1ff;border-radius:14px 0 14px 14px}.team-chat-message.agent .team-message-bubble{white-space:normal}.team-chat-message.agent .team-message-bubble p{margin:0 0 .65em}.team-chat-message.agent .team-message-bubble p:last-child{margin-bottom:0}.team-reply-reference{margin:0 0 10px;padding:8px 11px;border-left:3px solid #a9c9de;background:#eaf1f6;border-radius:5px;font-size:12px;color:#667f94;white-space:normal}.team-reply-reference strong{display:block;font-size:11px;margin-bottom:3px}.team-reply-reference span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.team-inline-progress{display:flex;align-items:center;gap:6px;max-width:100%;height:27px;margin-top:5px;padding:3px 6px;background:transparent;border:0;color:#5586a7;font-size:11px;text-align:left}.team-inline-progress span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.team-inline-progress svg{width:15px;height:15px;flex-shrink:0}.team-chat-message.self .team-inline-progress{margin-left:auto}.team-task-link{display:flex;align-items:center;gap:5px;background:transparent;border:0;padding:5px 0;font-size:11px;color:#2a8dc2}.team-task-link svg{width:14px;height:14px}@media(max-width:700px){.team-chat-message .team-message-main{max-width:calc(100% - 42px)}.team-chat-message{gap:8px}.team-message-bubble{padding:10px 12px}.team-reply-reference{font-size:11px}}
