/* Teams is a self-contained workspace surface; room chat keeps its own layout. */
.tm-root { height:100%; min-width:0; background:#17181f; color:#e8e5f0; font-family:var(--font,Inter,system-ui,sans-serif); }
.tm-root *, .tm-dialog * { box-sizing:border-box; }
.tm-root button, .tm-dialog button, .tm-dialog input, .tm-dialog textarea, .tm-dialog select { font:inherit; }
.tm-root button, .tm-dialog button { cursor:pointer; }
.tm-root button:disabled, .tm-dialog button:disabled { opacity:.45; cursor:default; }
.tm-root button:focus-visible, .tm-root a:focus-visible, .tm-root summary:focus-visible, .tm-dialog button:focus-visible, .tm-dialog a:focus-visible, .tm-dialog summary:focus-visible { outline:2px solid #b5a4f5; outline-offset:4px; }
.tm-icon { width:17px; height:17px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; vertical-align:middle; }
.tm-shell { height:100%; min-height:0; display:flex; flex-direction:column; }
.tm-page-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:30px 40px 24px; border-bottom:1px solid #ffffff08; }
.tm-eyebrow { display:block; color:#8d80ae; font-size:9px; font-weight:650; letter-spacing:1.8px; line-height:1.8; }
.tm-page-heading h1 { display:flex; flex-wrap:wrap; align-items:baseline; gap:18px; margin:7px 0 0; font-size:27px; letter-spacing:-.8px; font-weight:550; }
.tm-page-heading h1 > span { color:#6d6b7e; font-size:11px; font-weight:400; letter-spacing:0; }
.tm-button { display:inline-flex; justify-content:center; align-items:center; gap:7px; min-height:36px; max-width:100%; border:1px solid #ffffff0e; border-radius:7px; padding:9px 13px; background:#ffffff03; color:#b8aecb; font-size:11px!important; font-weight:500; line-height:1.5; text-align:center; text-decoration:none; }
.tm-button:hover { background:#ffffff08; color:#e3d9f4; border-color:#b1a0db33; }
.tm-button.tm-primary { background:#9d8ce5; border-color:#b09eee; color:#17131f; font-weight:650; box-shadow:0 3px 14px #0002; }
.tm-button.tm-primary:hover { background:#ae9bec; }
.tm-button.tm-danger { color:#e6adac; border-color:#d39c9b28; }
.tm-team-switcher { display:flex; flex-shrink:0; gap:8px; padding:16px 40px 0; overflow:auto; scrollbar-width:thin; }
.tm-team-switcher:empty { display:none; }
.tm-team-switcher > button { display:flex; align-items:center; gap:9px; border:1px solid transparent; padding:7px 12px 7px 7px; border-radius:9px; color:#8c879e; background:transparent; font-size:11px; text-align:left; white-space:nowrap; max-width:260px; }
.tm-team-switcher > button[aria-pressed="true"] { border-color:#a396ff24; background:#a396ff0b; color:#d0c2e9; }
.tm-team-switcher > button > span { display:grid; place-items:center; flex-shrink:0; width:29px; height:29px; background:linear-gradient(145deg,#8e7ab32e,#473e622e); color:#b5a2d2; border:1px solid #a396ff1c; border-radius:8px; font-size:10px; letter-spacing:.3px; }
.tm-content { flex:1; min-height:0; overflow:auto; padding:28px 40px 60px; scrollbar-width:thin; scrollbar-color:#3d354e transparent; }
.tm-content > * { max-width:1180px; margin-left:auto; margin-right:auto; }
.tm-team-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.tm-team-heading h2 { margin:0; font-size:22px; letter-spacing:-.5px; font-weight:550; overflow-wrap:anywhere; }
.tm-team-heading p { margin:8px 0 0; font-size:11px; color:#948a9f; line-height:1.7; }
.tm-tabs { display:flex; gap:24px; overflow:auto; border-bottom:1px solid #ffffff0b; margin-top:22px; margin-bottom:28px; }
.tm-tabs button { display:flex; align-items:center; gap:8px; padding:12px 0; border:0; border-bottom:2px solid transparent; background:transparent; color:#7e768f; font-size:11px; white-space:nowrap; }
.tm-tabs button[aria-current="page"] { border-bottom-color:#b09be8; color:#d2c1eb; }
.tm-tabs button > span { padding:2px 5px; border-radius:4px; background:#a396ff0e; font-size:9px; color:#9d8cba; }
.tm-overview { display:grid; grid-template-columns:minmax(0,1fr) 190px; gap:18px; margin-bottom:18px; }
.tm-goal { position:relative; overflow:hidden; padding:28px 30px; border:1px solid #a396ff25; border-radius:13px; background:radial-gradient(ellipse at 100% 0,#9b73dc11,transparent 65%),linear-gradient(130deg,#24212e,#1e1d28); }
.tm-goal h2 { position:relative; margin:14px 0 12px; color:#e0d6ed; font-size:22px; font-weight:500; letter-spacing:-.5px; line-height:1.5; white-space:pre-wrap; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden; }
.tm-goal p { color:#8b819d; font-size:12px; line-height:1.9; white-space:pre-wrap; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; }
.tm-goal-actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:24px; }
.tm-stats { display:flex; flex-direction:column; justify-content:center; border:1px solid #ffffff0a; border-radius:13px; padding:7px 23px; background:#ffffff02; }
.tm-stats > div { padding:15px 0; border-bottom:1px solid #ffffff08; }
.tm-stats > div:last-child { border-bottom:0; }
.tm-stats strong { display:block; font-size:26px; color:#bdb0d3; font-weight:400; font-variant-numeric:tabular-nums; }
.tm-stats span { display:block; margin-top:4px; color:#746c86; font-size:10px; line-height:1.6; }
.tm-readiness { display:flex; align-items:center; gap:12px; border:1px solid #ffffff0a; background:#ffffff02; padding:14px 17px; border-radius:9px; margin-bottom:24px; }
.tm-dot { flex-shrink:0; width:6px; height:6px; border-radius:50%; background:#b5a27d; box-shadow:0 0 0 4px #b5a27d0c; }
.tm-readiness.is-ready .tm-dot { background:#80c2a8; box-shadow:0 0 0 4px #80c2a80c; }
.tm-readiness > div { flex:1; min-width:0; }
.tm-readiness strong { display:block; font-size:11px; font-weight:500; color:#b7a9c8; }
.tm-readiness.is-ready strong { color:#9fbeaf; }
.tm-readiness > div > span { display:block; margin-top:4px; color:#94869f; font-size:10px; line-height:1.7; }
.tm-readiness .tm-button { border:0; background:transparent; min-height:30px; padding:5px; }
.tm-section { margin-top:28px; }
.tm-section-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:18px; }
.tm-section-heading h2 { margin:0; font-weight:500; font-size:15px; letter-spacing:-.2px; }
.tm-section-heading p { max-width:620px; margin:7px 0 0; color:#95869f; font-size:11px; line-height:1.8; }
.tm-agents-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:16px; }
.tm-agent-card { min-width:0; padding:20px; background:linear-gradient(140deg,#ffffff03,#ffffff01); border:1px solid #ffffff0b; border-radius:11px; }
.tm-agent-top { display:flex; align-items:center; gap:11px; }
.tm-agent-avatar { display:grid; place-items:center; flex-shrink:0; width:37px; height:37px; border-radius:11px; background:#a396ff0d; border:1px solid #a396ff1b; color:#b7a1d7; font-size:11px; }
.tm-agent-top > div { flex:1; min-width:0; }
.tm-agent-top h3 { margin:0; font-size:12px; line-height:1.7; color:#d1c6df; font-weight:550; overflow-wrap:anywhere; }
.tm-agent-top > div > span { display:block; margin-top:3px; color:#6f657f; font-size:9px; overflow-wrap:anywhere; }
.tm-menu { position:relative; align-self:flex-start; }
.tm-menu > summary { padding:0 3px 5px; color:#7b6f90; cursor:pointer; font-size:20px; line-height:1; list-style:none; }
.tm-menu > summary::-webkit-details-marker { display:none; }
.tm-menu > div { position:absolute; right:0; top:26px; z-index:4; display:grid; gap:3px; width:155px; border:1px solid #ffffff12; border-radius:8px; background:#26222f; padding:5px; box-shadow:0 10px 30px #0005; }
.tm-menu .tm-button { justify-content:flex-start; border:0; font-size:10px!important; }
.tm-agent-status { margin-top:17px; }
.tm-badge { display:inline-flex; align-items:center; flex-shrink:0; border:1px solid #b49bdf1c; border-radius:5px; background:#a396ff08; padding:4px 7px; color:#b4a0cf; font-size:9px; line-height:1.4; white-space:nowrap; }
.tm-completed, .tm-idle { color:#91b6a4; background:#7abf9f08; border-color:#7abf9f1a; }
.tm-failed, .tm-interrupted { color:#c49f91; background:#c49f9108; border-color:#c49f911a; }
.tm-cancelled, .tm-disabled { color:#7e768a; background:#a396ff04; border-color:#ffffff09; }
.tm-running { color:#c4b3e8; background:#a396ff12; }
.tm-agent-context { min-height:5.4em; margin:13px 0; color:#8a809b; font-size:11px; line-height:1.8; overflow-wrap:anywhere; white-space:pre-wrap; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.tm-agent-schedule { display:flex; align-items:flex-start; gap:7px; color:#867791; font-size:10px; line-height:1.8; padding:11px 0 16px; border-bottom:1px solid #ffffff08; }
.tm-agent-schedule .tm-icon { width:13px; height:13px; margin-top:3px; }
.tm-agent-schedule span { min-width:0; overflow-wrap:anywhere; }
.tm-agent-schedule small { display:block; color:#625a72; font-size:9px; margin-top:3px; }
.tm-agent-card > footer { display:flex; justify-content:space-between; flex-wrap:wrap; align-items:center; gap:10px; margin-top:15px; }
.tm-agent-card > footer > span { color:#6c627b; font-size:9px; }
.tm-agent-card > footer .tm-button { font-size:10px!important; min-height:31px; padding:6px 10px; }
.tm-runs { border:1px solid #ffffff09; border-radius:10px; overflow:hidden; }
.tm-run-row { display:flex; align-items:center; gap:13px; width:100%; padding:17px 19px; border:0; border-bottom:1px solid #ffffff07; background:#ffffff01; color:inherit; text-align:left; }
.tm-run-row:last-child { border-bottom:0; }
.tm-run-row:hover { background:#a396ff05; }
.tm-run-dot { display:grid; place-items:center; flex-shrink:0; width:31px; height:31px; border-radius:9px; background:#a396ff08; color:#9680b4; }
.tm-run-dot .tm-icon { width:14px; height:14px; }
.tm-run-main { display:block; flex:1; min-width:0; }
.tm-run-title { display:flex; align-items:center; flex-wrap:wrap; gap:5px 12px; font-size:11px; color:#bab0cc; overflow-wrap:anywhere; }
.tm-run-title > span { font-size:9px; color:#655c74; }
.tm-run-summary { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:7px; color:#998aa8; font-size:11px; line-height:1.8; overflow-wrap:anywhere; }
.tm-run-shared { display:block; color:#78648d; font-size:9px; margin-top:6px; }
.tm-run-row > .tm-icon { width:14px; color:#675a7c; }
.tm-empty { padding:56px 24px; text-align:center; border:1px dashed #a396ff19; border-radius:13px; background:radial-gradient(ellipse at 50% 0,#a396ff05,transparent 65%); }
.tm-empty-icon { display:grid; place-items:center; width:60px; height:60px; margin:0 auto 22px; border:1px solid #a396ff1d; border-radius:19px; background:#a396ff07; color:#ac94cb; }
.tm-empty-icon .tm-icon { width:26px; height:26px; }
.tm-empty h2 { margin:0 0 12px; color:#c8b9da; font-size:21px; font-weight:450; letter-spacing:-.5px; }
.tm-empty p { max-width:430px; margin:0 auto 24px; color:#7d718e; font-size:12px; line-height:1.9; }
.tm-muted-empty, .tm-loading { padding:32px 24px; color:#7f738f; font-size:12px; line-height:1.9; text-align:center; }
.tm-setting-card { border:1px solid #ffffff0b; border-radius:11px; background:#ffffff02; padding:24px; margin-bottom:18px; }
.tm-server-icon { display:grid; place-items:center; width:38px; height:38px; border:1px solid #a396ff15; background:#a396ff06; border-radius:10px; color:#a18abf; }
.tm-server-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; padding:19px 0; margin:0 0 8px; border-top:1px solid #ffffff07; border-bottom:1px solid #ffffff07; }
.tm-server-facts dt { color:#6f647e; font-size:10px; margin-bottom:8px; }
.tm-server-facts dd { color:#b8a9ca; font-size:11px; margin:0; overflow-wrap:anywhere; line-height:1.7; }
.tm-actions { display:flex; flex-wrap:wrap; align-items:center; gap:9px; margin-top:18px; }
.tm-disclosure { margin:20px 0 0; border-top:1px solid #ffffff0a; padding-top:16px; }
.tm-disclosure > summary { cursor:pointer; color:#a48ebb; font-size:11px; line-height:1.8; }
.tm-disclosure p, .tm-help { color:#a08dac; font-size:11px; line-height:1.9; }
.tm-disclosure a, .tm-pair-steps a { color:#b39bce; text-underline-offset:3px; }
.tm-secret-list { list-style:none; padding:0; margin:0; }
.tm-secret-list li { display:flex; align-items:center; gap:14px; padding:14px 0; border-top:1px solid #ffffff07; }
.tm-secret-list li > span:first-child { flex:1; min-width:0; }
.tm-secret-list strong { display:block; color:#b1a3c2; font-size:11px; font-weight:500; overflow-wrap:anywhere; }
.tm-secret-list small { display:block; margin-top:5px; color:#6f627e; font-size:9px; }
.tm-secret-mask { color:#665775; letter-spacing:2px; font-size:12px; }
.tm-notice, .tm-error { padding:11px 18px; margin:15px 40px 0; border-radius:7px; font-size:11px; line-height:1.8; }
.tm-notice { background:#85bda00a; color:#9eb7aa; border:1px solid #85bda01c; }
.tm-error { color:#d3a8a1; background:#c4938009; border:1px solid #c493801c; }
.tm-error .tm-button { margin-left:8px; }
.tm-dialog { width:min(660px,calc(100vw - 32px)); max-height:calc(100dvh - 48px); padding:0; border:1px solid #8f78ac36; border-radius:16px; background:#201d29; color:#ddd3e9; box-shadow:0 30px 120px #0008; font-family:var(--font,Inter,system-ui,sans-serif); overflow:hidden; }
.tm-dialog[open] { display:flex; flex-direction:column; }
.tm-dialog::backdrop { background:#0c0a12b8; backdrop-filter:blur(6px); }
.tm-dialog > header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; padding:27px 30px 22px; border-bottom:1px solid #ffffff09; }
.tm-dialog h2 { font-size:22px; font-weight:500; letter-spacing:-.6px; line-height:1.4; margin:8px 0 9px; overflow-wrap:anywhere; }
.tm-dialog header p { font-size:11px; color:#a18daf; line-height:1.8; margin:0; }
.tm-close { display:grid; place-items:center; padding:5px; border:0; border-radius:6px; background:transparent; color:#85718e; }
.tm-close:hover { background:#ffffff08; color:#cdb5df; }
.tm-dialog-body { padding:25px 30px 28px; overflow:auto; scrollbar-width:thin; min-height:0; }
.tm-dialog-body > footer, .tm-form > footer { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:9px; margin-top:25px; padding-top:20px; border-top:1px solid #ffffff08; }
.tm-form label { display:flex; flex-direction:column; gap:9px; margin-bottom:19px; color:#af9abe; font-size:11px; line-height:1.7; }
.tm-form input, .tm-form textarea, .tm-form select { width:100%; min-width:0; padding:11px 12px; border:1px solid #a396ff1c; border-radius:7px; background:#15131b; color:#d7c9e3; font-size:12px; outline:none; line-height:1.7; }
.tm-form textarea { resize:vertical; min-height:92px; }
.tm-form input:focus, .tm-form textarea:focus, .tm-form select:focus { border-color:#b399d880; box-shadow:0 0 0 3px #b399d809; }
.tm-form input::placeholder, .tm-form textarea::placeholder { color:#5f536c; }
.tm-form .tm-help { margin:-8px 0 19px; }
.tm-form .tm-disclosure { margin-bottom:23px; }
.tm-form .tm-disclosure label { margin-top:16px; }
.tm-form .tm-checkbox { flex-direction:row; align-items:flex-start; gap:10px; margin:19px 0; }
.tm-checkbox input { width:15px; height:15px; margin:2px 0 0; accent-color:#a68cce; }
.tm-checkbox small { display:block; font-size:10px; color:#786585; margin-top:4px; }
.tm-schedule { border:1px solid #ffffff09; border-radius:9px; padding:17px; background:#ffffff02; }
.tm-schedule h3 { margin:0 0 15px; color:#b8a4c8; font-size:12px; font-weight:500; }
.tm-schedule fieldset { border:0; padding:0; margin:0; }
.tm-schedule .tm-help { margin-bottom:0; }
.tm-form-error { color:#d8a49b; border:1px solid #bb8a7525; border-radius:7px; background:#bb8a7509; padding:10px 12px; font-size:11px; line-height:1.8; overflow-wrap:anywhere; }
.tm-inline-note { border:1px solid #aa90cf1d; border-radius:8px; padding:13px 15px; color:#b09ac0; font-size:11px; line-height:1.9; background:#aa90cf06; }
.tm-inline-note + .tm-help { margin:12px 0 0; }
.tm-failure { color:#cea296; border-color:#c4938025; white-space:pre-wrap; overflow-wrap:anywhere; }
.tm-run-report-meta { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:25px; color:#8c779b; font-size:10px; }
.tm-run-report h3 { margin:12px 0 20px; color:#d8c8e5; font-weight:450; font-size:17px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.tm-result-text, .tm-command { font:11px/1.9 ui-monospace,SFMono-Regular,monospace; color:#af9ac2; background:#15121c; border:1px solid #ffffff08; border-radius:8px; padding:15px; white-space:pre-wrap; overflow-wrap:anywhere; overflow:auto; margin:14px 0; }
.tm-result-text { max-height:400px; }
.tm-events { list-style:none; margin:18px 0 0; padding:0 0 0 12px; border-left:1px solid #a396ff22; }
.tm-events li { position:relative; margin:0 0 22px; padding-left:6px; }
.tm-events li:before { content:""; position:absolute; left:-16px; top:6px; width:5px; height:5px; border-radius:50%; background:#8c6faa; border:2px solid #201d29; box-sizing:content-box; }
.tm-events time { color:#64516e; font-size:9px; }
.tm-event-kind { color:#9c7fb0; font-size:9px; margin-left:10px; }
.tm-events p { margin:5px 0 0; color:#9c87ad; font-size:11px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; }
.tm-pair-steps { padding:0 0 0 20px; margin:0; }
.tm-pair-steps li { padding:0 0 0 6px; margin-bottom:25px; color:#b29ac4; font-size:12px; }
.tm-pair-steps strong { font-weight:500; }
.tm-pair-steps p { color:#a18aad; font-size:11px; line-height:1.9; }
@media (max-width:1150px) {
  .tm-agents-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tm-page-heading { padding:24px; }
  .tm-team-switcher { padding:15px 24px 0; }
  .tm-content { padding:24px 24px 45px; }
  .tm-overview { grid-template-columns:minmax(0,1fr) 155px; }
  .tm-goal { padding:24px; }
  .tm-goal h2 { font-size:20px; }
  .tm-notice, .tm-error { margin-left:24px; margin-right:24px; }
  .tm-server-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .tm-page-heading { align-items:flex-start; padding:20px 17px 17px; gap:10px; }
  .tm-page-heading h1 { font-size:23px; margin-top:5px; }
  .tm-page-heading h1 > span { display:none; }
  .tm-page-heading > .tm-button { padding:8px 10px; font-size:10px!important; min-height:35px; margin-top:8px; }
  .tm-team-switcher { padding:12px 17px 0; }
  .tm-content { padding:23px 17px 40px; }
  .tm-team-heading { align-items:flex-start; }
  .tm-team-heading h2 { font-size:19px; }
  .tm-team-heading p { display:none; }
  .tm-team-heading > .tm-button { font-size:10px!important; padding:8px; }
  .tm-tabs { gap:21px; margin-top:17px; margin-bottom:22px; }
  .tm-tabs button { font-size:10px; }
  .tm-overview { display:block; }
  .tm-goal { padding:23px 20px; }
  .tm-goal h2 { font-size:20px; }
  .tm-stats { flex-direction:row; justify-content:space-between; padding:0 15px; margin-top:12px; gap:10px; }
  .tm-stats > div { flex:1; border:0; padding:15px 0; }
  .tm-stats strong { font-size:22px; }
  .tm-stats span { font-size:8px; }
  .tm-readiness { flex-wrap:wrap; padding:13px 14px; gap:10px; }
  .tm-readiness > div { flex-basis:calc(100% - 22px); }
  .tm-readiness > .tm-button { margin-left:17px; padding:0; min-height:24px; font-size:10px!important; }
  .tm-section-heading { gap:12px; }
  .tm-section-heading h2 { font-size:14px; }
  .tm-section-heading p { font-size:10px; }
  .tm-section-heading > .tm-button { flex-shrink:0; padding:7px 9px; min-height:32px; font-size:10px!important; }
  .tm-agents-grid { grid-template-columns:minmax(0,1fr); }
  .tm-agent-card { padding:19px; }
  .tm-run-row { flex-wrap:wrap; gap:10px; padding:16px 14px; }
  .tm-run-row > .tm-badge { margin-left:41px; }
  .tm-run-row > .tm-icon { margin-left:auto; }
  .tm-run-main { flex-basis:calc(100% - 44px); }
  .tm-empty { padding:38px 18px; }
  .tm-empty h2 { font-size:20px; line-height:1.5; }
  .tm-empty p { font-size:11px; }
  .tm-setting-card { padding:19px 17px; }
  .tm-secret-list li { flex-wrap:wrap; gap:8px; }
  .tm-secret-mask { display:none; }
  .tm-notice, .tm-error { margin-left:17px; margin-right:17px; }
  .tm-dialog { width:calc(100vw - 20px); max-height:calc(100dvh - 20px); border-radius:12px; }
  .tm-dialog > header { padding:22px 20px 19px; gap:10px; }
  .tm-dialog h2 { font-size:21px; }
  .tm-dialog-body { padding:22px 20px; }
  .tm-dialog-actions .tm-button { flex:1; }
  .tm-schedule { padding:14px; }
}
/* Task observatory and an agent's persistent conversation. */
.ob-root { min-width:0; }
.ob-agent-name { padding:0; border:0; background:none; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.ob-agent-name:hover { color:#c5a9ff; }
.ob-workspace > .tm-section-heading { align-items:center; }
.ob-task-layout { display:grid; grid-template-columns:230px minmax(0,1fr); border:1px solid #ffffff0c; border-radius:13px; overflow:hidden; min-height:490px; background:#17151e66; }
.ob-task-list { padding:10px; border-right:1px solid #ffffff0c; background:#16141d70; max-height:790px; overflow:auto; scrollbar-width:thin; }
.ob-task-list > button { display:block; width:100%; border:1px solid transparent; border-radius:8px; padding:14px 12px; background:none; color:#c2b5d4; text-align:left; margin-bottom:5px; }
.ob-task-list > button:hover { background:#a396ff07; }
.ob-task-list > button[aria-current=true] { background:#a396ff0c; border-color:#a396ff26; }
.ob-task-list > button > span { display:flex; justify-content:space-between; align-items:center; gap:8px; }
.ob-task-list time { color:#766783; font-size:9px; }
.ob-task-list strong { display:block; font-size:12px; font-weight:500; line-height:1.7; margin:12px 0 7px; overflow-wrap:anywhere; }
.ob-task-list small { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:#897a96; font-size:10px; line-height:1.8; overflow-wrap:anywhere; }
.ob-task-main { min-width:0; padding:25px; }
.ob-task-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; min-height:400px; text-align:center; }
.ob-task-empty > span { display:grid; place-items:center; width:66px; height:66px; background:#a396ff09; border:1px solid #a396ff20; border-radius:21px; color:#bda8de; font-size:30px; margin-bottom:22px; }
.ob-task-empty h2 { font-size:22px; font-weight:450; line-height:1.6; color:#d0bddf; margin:0 0 12px; }
.ob-task-empty p { color:#8e7d9c; max-width:390px; font-size:12px; line-height:1.9; margin:0 0 25px; }
.ob-mission-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.ob-mission-heading h2 { margin:9px 0 12px; font-size:20px; font-weight:500; line-height:1.5; color:#d6c7e4; overflow-wrap:anywhere; }
.ob-mission-heading > .tm-button { flex-shrink:0; }
.ob-mission-meta { display:flex; flex-wrap:wrap; gap:10px; align-items:center; color:#887795; font-size:10px; }
.ob-task-prompt { margin:18px 0 22px; color:#ad96c0; font-size:11px; }
.ob-task-prompt > summary, .ob-inspector details > summary, .ob-outcome details > summary, .ob-event details > summary, .ob-chat details > summary { cursor:pointer; line-height:1.8; color:#af96c4; font-size:11px; overflow-wrap:anywhere; }
.ob-task-prompt .ob-prose { margin-top:12px; }
.ob-prose { white-space:pre-wrap; overflow-wrap:anywhere; color:#b6a6c5; font-size:12px; line-height:1.95; }
.ob-outcome { margin:20px 0; padding:18px 21px; border:1px solid #86bfa222; background:linear-gradient(125deg,#86bfa209,#a396ff03); border-radius:9px; }
.ob-outcome .tm-eyebrow { color:#8ebba6; margin-bottom:9px; }
.ob-outcome .ob-prose { color:#b6c6bf; }
.ob-outcome details { margin-top:12px; }
.ob-viewbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:25px 0 14px; color:#776887; font-size:10px; }
.ob-viewbar > div { display:flex; gap:3px; padding:3px; background:#0e0c1355; border:1px solid #ffffff09; border-radius:8px; }
.ob-viewbar .tm-button { border:0; background:none; padding:6px 12px; min-height:30px; color:#7d6c8c; }
.ob-viewbar .tm-button[aria-pressed=true] { background:#a396ff15; color:#c7b4df; }
.ob-observation { border:1px solid #ffffff0b; border-radius:10px; overflow:hidden; }
.ob-observation-main { min-width:0; }
.ob-graph-scroll { overflow:auto; scrollbar-width:thin; background:radial-gradient(circle,#a396ff20 .7px,transparent .8px) 0 0/18px 18px,#15121c; }
.ob-graph { position:relative; }
.ob-connections { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.ob-connections > path { fill:none; stroke:#8a73ad88; stroke-width:1.5; }
.ob-connections > path.is-selected { stroke:#c2a4ed; stroke-width:2; }
.ob-connections > path.ob-resume-line { stroke:#77638c70; stroke-dasharray:4 4; }
.ob-node { position:absolute; width:224px; height:102px; display:flex; flex-direction:column; justify-content:space-between; align-items:flex-start; padding:14px 15px; border:1px solid #9d80bf3b; border-radius:11px; background:linear-gradient(140deg,#2b2437,#211c2c); color:#d2bfe5; text-align:left; box-shadow:0 8px 20px #0002; }
.ob-node:hover, .ob-node.is-selected { border-color:#c4a3f1a0; background:linear-gradient(140deg,#342b43,#292135); }
.ob-node-top { display:flex; align-items:center; gap:10px; min-width:0; width:100%; }
.ob-node .tm-agent-avatar { width:30px; height:30px; border-radius:9px; font-size:10px; }
.ob-node-top > span:last-child { min-width:0; }
.ob-node strong { display:block; color:#d4bfe5; font-size:11px; font-weight:500; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.ob-node small { display:block; margin-top:5px; color:#8b759d; font-size:9px; }
.ob-edge-label { position:absolute; z-index:2; min-height:24px; padding:4px 7px; font-size:9px!important; background:#221b2e; border-color:#a396ff24; color:#ab8fc5; }
.ob-graph-caption { display:flex; flex-wrap:wrap; gap:15px; padding:12px 15px; font-size:9px; color:#857193; border-top:1px solid #ffffff08; background:#1e1927; }
.ob-inspector { padding:21px; background:#211b2b; border-top:1px solid #a396ff20; min-width:0; }
.ob-inspector-heading { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.ob-inspector-heading .tm-button { padding:0; border:0; background:none; font-size:20px!important; min-height:24px; }
.ob-inspector h3 { font-size:16px; font-weight:500; color:#ccb6df; line-height:1.7; margin:8px 0 13px; overflow-wrap:anywhere; }
.ob-inspector h3 > span { color:#806391; }
.ob-inspector h4 { color:#89709b; font-size:10px; text-transform:uppercase; letter-spacing:.7px; margin:23px 0 9px; font-weight:500; }
.ob-inspector .ob-prose { font-size:11px; }
.ob-inspector > details { margin:14px 0; }
.ob-inspector > .tm-button:last-child { margin-top:22px; }
.ob-inspector-empty { display:none; }
.ob-public-note { color:#796584; font-size:10px; line-height:1.8; margin:15px 0 0; }
.ob-timeline { list-style:none; padding:22px; margin:0; }
.ob-event { display:flex; align-items:flex-start; gap:13px; margin-bottom:24px; min-width:0; }
.ob-event:last-child { margin-bottom:0; }
.ob-event > div { flex:1; min-width:0; }
.ob-event-mark { width:7px; height:7px; flex-shrink:0; border-radius:50%; background:#9f7bc3; box-shadow:0 0 0 4px #a396ff0a; margin-top:7px; }
.ob-event-mark.is-result { background:#85b69c; }
.ob-event-mark.is-error { background:#c28c7b; }
.ob-event header { display:flex; align-items:center; flex-wrap:wrap; gap:5px 12px; margin-bottom:7px; }
.ob-event header > strong { font-size:11px; font-weight:500; color:#c4acd7; }
.ob-event header > span { font-size:9px; color:#8c729e; }
.ob-event header > time { margin-left:auto; color:#6a5579; font-size:9px; }
.ob-event .ob-prose { font-size:11px; }
.ob-event details { margin-top:7px; }
.ob-handoff { display:flex; align-items:flex-start; gap:13px; margin:0 0 24px; border:1px solid #a396ff21; background:#a396ff06; border-radius:9px; padding:16px; }
.ob-handoff-icon { color:#c1a4dd; font-size:21px; line-height:1.4; }
.ob-handoff > div { min-width:0; flex:1; }
.ob-handoff strong { display:block; color:#bea2d4; font-size:11px; line-height:1.8; font-weight:500; overflow-wrap:anywhere; }
.ob-handoff strong > span { color:#80678f; margin:0 6px; }
.ob-handoff p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:pre-wrap; overflow-wrap:anywhere; font-size:11px; line-height:1.9; color:#9580a5; margin:8px 0 13px; }
.ob-handoff .tm-button { font-size:10px!important; padding:6px 9px; min-height:29px; }
.ob-compact { padding:16px 0; }
.ob-compact .ob-event header > time { margin-left:0; }
.ob-file-picker { position:relative; display:flex; flex-direction:column; gap:6px; border:1px dashed #a396ff35; border-radius:9px; padding:17px!important; font-size:11px; color:#c1a8d7!important; background:#a396ff04; cursor:pointer; margin:17px 0!important; overflow:hidden; }
.ob-file-picker > span { color:#7b668d; font-size:10px; pointer-events:none; }
.ob-file-picker > input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.ob-file-picker:focus-within { outline:2px solid #a88bc8; outline-offset:3px; }
.ob-context-list { display:grid; gap:9px; margin-bottom:22px; }
.ob-file { display:flex; flex-wrap:wrap; align-items:center; gap:8px; border:1px solid #a396ff20; border-radius:8px; padding:12px; }
.ob-file > div { flex:1; min-width:100px; }
.ob-file strong { display:block; color:#c8b1da; font-weight:500; font-size:11px; overflow-wrap:anywhere; }
.ob-file small { display:block; color:#7c658e; font-size:9px; margin-top:5px; }
.ob-file .tm-button { font-size:9px!important; min-height:27px; padding:5px 8px; }
.ob-file .tm-result-text { flex-basis:100%; max-height:320px; width:100%; min-width:0; margin:5px 0 0; }
.ob-chat { display:flex; flex-direction:column; height:min(750px,calc(100dvh - 262px)); min-height:440px; border:1px solid #ffffff0d; border-radius:13px; background:#19161f; overflow:hidden; }
.ob-chat-heading { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:20px 24px; border-bottom:1px solid #ffffff09; background:linear-gradient(140deg,#a396ff05,transparent); }
.ob-chat-heading > div { display:flex; align-items:center; gap:12px; min-width:0; }
.ob-chat-heading > div > div { min-width:0; }
.ob-chat-heading h2 { margin:3px 0 5px; font-size:16px; font-weight:500; color:#d1bfdf; overflow-wrap:anywhere; }
.ob-chat-heading small { display:block; font-size:9px; color:#7c678d; line-height:1.8; }
.ob-chat-heading .tm-button { font-size:10px!important; padding:7px 10px; min-height:30px; }
.ob-chat-messages { flex:1; min-height:0; overflow:auto; padding:25px max(25px,calc((100% - 780px)/2)); scrollbar-width:thin; scrollbar-color:#4b3a5f transparent; }
.ob-chat-turn { margin-bottom:35px; }
.ob-chat-prompt { border:1px solid #a396ff14; background:#a396ff08; border-radius:12px; padding:17px 21px; margin-left:45px; }
.ob-chat-prompt > header { display:flex; flex-wrap:wrap; align-items:center; gap:8px 13px; margin-bottom:9px; color:#9a7caf; font-size:10px; }
.ob-chat-prompt > header > strong { font-weight:500; color:#b397c9; }
.ob-chat-prompt time { font-size:9px; color:#6c557d; }
.ob-chat-prompt .tm-button { min-height:20px; padding:2px 6px; font-size:9px!important; margin-left:auto; background:none; border:0; }
.ob-chat-prompt.is-generated { background:#ffffff02; border-style:dashed; }
.ob-chat-prompt .ob-prose { color:#d1c1de; font-size:12px; }
.ob-chat-answer { margin-top:23px; }
.ob-chat-answer > header { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:14px; color:#c4abd8; font-size:11px; }
.ob-chat-answer > header > strong { font-weight:500; }
.ob-chat-answer .tm-agent-avatar { width:28px; height:28px; border-radius:8px; font-size:9px; }
.ob-chat-answer > .ob-prose { margin-left:38px; }
.ob-chat-summary { color:#a0bba9; font-size:11px; line-height:1.8; padding:12px 15px; background:#8fbd9a07; border:1px solid #8fbd9a15; border-radius:8px; margin:0 0 16px 38px; white-space:pre-wrap; overflow-wrap:anywhere; }
.ob-chat-answer > .tm-button { margin:13px 0 0 38px; font-size:10px!important; }
.ob-chat-answer > .tm-help, .ob-working { color:#8e779e; font-size:11px; line-height:1.8; margin:10px 0 10px 38px; }
.ob-chat-activity { margin:17px 0 0 38px; border-left:1px solid #a396ff20; padding-left:14px; }
.ob-chat-activity > summary { color:#877094!important; font-size:10px!important; }
.ob-chat-empty { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:200px; height:100%; text-align:center; }
.ob-chat-empty .tm-agent-avatar { width:52px; height:52px; font-size:15px; border-radius:16px; }
.ob-chat-empty h3 { margin:18px 0 12px; color:#d0b9e1; font-weight:450; font-size:22px; }
.ob-chat-empty p { max-width:430px; margin:0; color:#8d789e; font-size:12px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; }
.ob-composer { padding:17px 23px 12px; border-top:1px solid #ffffff09; background:#211b2b; }
.ob-compose-label { display:block; color:#90779f; font-size:10px; margin-bottom:8px; }
.ob-composer textarea { display:block; width:100%; min-height:70px; max-height:180px; resize:vertical; padding:11px 13px; border:1px solid #a396ff24; border-radius:8px; background:#15111c; color:#d8c7e7; font-family:inherit; font-size:12px; line-height:1.8; outline:none; }
.ob-composer textarea:focus { border-color:#b394db88; box-shadow:0 0 0 3px #a396ff08; }
.ob-compose-bottom { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:10px; }
.ob-compose-bottom > div { display:flex; align-items:center; gap:7px; }
.ob-compose-bottom .tm-button { font-size:10px!important; min-height:31px; padding:7px 10px; }
.ob-allow { display:flex; align-items:center; gap:7px; color:#9c83ae; font-size:10px; line-height:1.8; }
.ob-allow input { accent-color:#ab8ad4; width:13px; height:13px; margin:0; }
.ob-compose-hint { font-size:9px; color:#6d567d; line-height:1.8; margin:10px 0 0; }
.ob-history-note { text-align:center; margin:0 0 25px; }
.tm-waiting { color:#c7b080; background:#c7b08009; border-color:#c7b08020; }
@media (min-width:1650px) {
  .ob-observation.has-inspector { display:grid; grid-template-columns:minmax(0,1fr) 300px; }
  .ob-inspector { border-top:0; border-left:1px solid #a396ff20; max-height:700px; overflow:auto; }
}
@media (max-width:1150px) {
  .ob-task-layout { grid-template-columns:190px minmax(0,1fr); }
  .ob-task-main { padding:20px; }
  .ob-task-list { padding:7px; }
  .ob-task-list > button { padding:12px 9px; }
  .ob-task-list > button > span { align-items:flex-start; flex-direction:column; }
  .ob-chat-heading { padding:17px; }
}
@media (max-width:800px) {
  .ob-task-layout { display:block; }
  .ob-task-list { display:flex; gap:7px; border-right:0; border-bottom:1px solid #ffffff0b; overflow:auto; max-height:180px; padding:10px; }
  .ob-task-list > button { width:200px; flex-shrink:0; margin:0; }
  .ob-task-list > button > span { flex-direction:row; }
  .ob-task-list strong { margin-top:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .ob-task-list > .tm-help { margin:5px 7px; }
  .ob-task-list small { -webkit-line-clamp:1; }
}
@media (max-width:620px) {
  .ob-workspace > .tm-section-heading { align-items:flex-start; }
  .ob-task-main { padding:17px 12px; }
  .ob-task-empty { padding:30px 10px; min-height:330px; }
  .ob-task-empty h2 { font-size:19px; }
  .ob-task-empty p { font-size:11px; }
  .ob-mission-heading { flex-wrap:wrap; gap:10px; }
  .ob-mission-heading h2 { font-size:18px; }
  .ob-mission-heading > .tm-button { min-height:28px; font-size:10px!important; padding:6px 9px; }
  .ob-viewbar { flex-wrap:wrap; gap:10px; }
  .ob-timeline { padding:16px 13px; }
  .ob-compact { padding:14px 0; }
  .ob-event { gap:10px; }
  .ob-event header > time { margin-left:0; }
  .ob-handoff { padding:12px; gap:9px; }
  .ob-handoff .tm-badge { margin-top:9px; }
  .ob-inspector { padding:17px 14px; }
  .ob-prose { font-size:11px; }
  .ob-chat { height:calc(100dvh - 230px); min-height:510px; }
  .ob-chat-heading { padding:15px 13px; flex-wrap:wrap; gap:13px; }
  .ob-chat-heading > div:last-child { margin-left:48px; flex-wrap:wrap; }
  .ob-chat-heading > div:first-child { gap:10px; }
  .ob-chat-heading .tm-eyebrow { font-size:8px; }
  .ob-chat-messages { padding:20px 13px; }
  .ob-chat-prompt { margin-left:23px; padding:12px 14px; }
  .ob-chat-prompt .tm-button { margin-left:0; }
  .ob-chat-answer > .ob-prose, .ob-chat-summary, .ob-chat-activity { margin-left:0; }
  .ob-chat-summary { font-size:10px; }
  .ob-composer { padding:13px 12px; }
  .ob-compose-bottom { align-items:flex-start; flex-direction:column; gap:10px; }
  .ob-compose-bottom > div { width:100%; justify-content:space-between; }
  .ob-allow { font-size:9px; }
  .ob-compose-hint { font-size:8px; }
}
.ob-task-layout.is-board { display:block; background:transparent; border:0; overflow:visible; min-height:400px; }
.ob-task-layout.is-board > .ob-task-main { padding:0; }
.ob-kanban { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; align-items:start; }
.ob-kanban-column { min-width:0; background:#15131b55; border:1px solid #ffffff09; border-radius:10px; padding:13px 10px; min-height:340px; }
.ob-kanban-column > header { display:flex; align-items:center; gap:8px; padding:1px 4px 15px; }
.ob-kanban-column > header > span { width:6px; height:6px; border-radius:50%; background:#8d80a1; }
.ob-kanban-column > header h3 { font-size:11px; font-weight:500; margin:0; color:#b5a7c4; }
.ob-kanban-column > header small { margin-left:auto; font-size:9px; color:#6c5c7a; }
.ob-column-progress > header > span { background:#b598e2; }
.ob-column-done > header > span { background:#8cb39c; }
.ob-column-attention > header > span { background:#c1977b; }
.ob-task-card { display:block; width:100%; border:1px solid #a396ff17; border-radius:9px; padding:15px 13px; background:linear-gradient(135deg,#282231,#211d29); text-align:left; margin-bottom:10px; color:#ccb9db; box-shadow:0 4px 9px #0001; }
.ob-task-card:hover { border-color:#b799dc5c; background:linear-gradient(135deg,#302638,#272030); transform:translateY(-1px); }
.ob-card-top { display:flex; align-items:center; justify-content:space-between; gap:5px; }
.ob-card-top .tm-badge { font-size:8px; padding:3px 5px; }
.ob-card-top time { color:#766181; font-size:8px; }
.ob-task-card > strong { display:block; color:#d2bedf; font-size:12px; font-weight:500; line-height:1.8; margin:12px 0 7px; overflow-wrap:anywhere; }
.ob-task-card > p { color:#8e789d; font-size:10px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; margin:0 0 17px; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.ob-task-card > footer { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:5px; border-top:1px solid #ffffff08; padding-top:11px; }
.ob-task-card footer > span { font-size:9px; color:#a48bb6; overflow-wrap:anywhere; }
.ob-task-card footer > small { font-size:8px; color:#73617f; }
.ob-column-empty { text-align:center; color:#5f506d; font-size:10px; line-height:1.8; margin:36px 0; }
.ob-detail-back { margin:0 0 17px; }
.ob-detail-back .tm-button { border:0; padding:0; background:none; min-height:23px; font-size:10px!important; color:#967ba9; }
.ob-mission-heading { flex-wrap:wrap; }
.ob-mission-heading > div:first-child { flex:1; min-width:200px; }
.ob-attach { position:relative; display:inline-flex; gap:6px; align-items:center; border:1px dashed #a396ff30; border-radius:7px; background:#a396ff04; color:#b79bcd!important; font-size:11px; padding:12px; cursor:pointer; overflow:hidden; }
.ob-attach input { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }
.ob-attach:focus-within { outline:2px solid #a88bc8; outline-offset:2px; }
.ob-attach.is-compact { font-size:10px; padding:7px 10px; min-height:31px; }
.ob-attachment-list { display:grid; gap:7px; margin:10px 0; min-width:0; }
.ob-attachment-list > details { border:1px solid #a396ff1c; border-radius:7px; padding:8px 11px; background:#a396ff04; min-width:0; }
.ob-attachment-list summary { cursor:pointer; color:#af91c6; font-size:10px; line-height:1.8; overflow-wrap:anywhere; }
.ob-attachment-list .tm-result-text { margin-bottom:0; max-height:250px; }
.ob-revision { margin:15px 0; border-left:2px solid #a396ff35; padding:0 0 0 13px; }
.ob-revision time { color:#796089; font-size:9px; margin-right:10px; }
.ob-revision .ob-prose { margin-top:8px; }
@media (max-width:1100px) and (min-width:621px) { .ob-kanban { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:620px) {
  .ob-kanban { grid-template-columns:repeat(4,255px); max-width:100%; overflow:auto; gap:10px; padding-bottom:12px; scroll-snap-type:x proximity; scrollbar-width:thin; }
  .ob-kanban-column { scroll-snap-align:start; min-height:350px; }
  .ob-kanban-column > header h3 { font-size:12px; }
  .ob-card-top time { font-size:9px; }
  .ob-task-card > strong { font-size:13px; }
  .ob-mission-heading > div:first-child { flex-basis:100%; min-width:0; }
  .ob-mission-heading > .tm-button { flex:1; }
  .ob-chat-heading > div:last-child { margin-left:0; gap:6px; }
}
/* Task workspace: explicit human attention, calm activity, inline run inspection. */
.ob-kanban { grid-template-columns:repeat(5,minmax(0,1fr)); }
.ob-kanban-column > header h3 { line-height:1.6; }
.ob-column-input > header > span { background:#d4b17d; }
.tm-needs_input { color:#dbbe8e; background:#cfac6b0b; border-color:#d4ad7433; }
.ob-layoutbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; color:#796784; font-size:10px; }
.ob-layoutbar > div { display:flex; gap:3px; padding:3px; border:1px solid #ffffff0c; background:#15121c; border-radius:8px; }
.ob-layoutbar .tm-button { border:0; background:none; color:#89739b; min-height:30px; padding:7px 13px; }
.ob-layoutbar .tm-button[aria-pressed=true] { background:#a396ff17; color:#d0bce4; }
.ob-mission-list { border:1px solid #ffffff0c; border-radius:10px; overflow:hidden; }
.ob-mission-list > button { display:flex; width:100%; align-items:center; gap:17px; border:0; border-bottom:1px solid #ffffff08; padding:18px; background:#ffffff02; color:#bca7cd; text-align:left; }
.ob-mission-list > button:last-child { border-bottom:0; }
.ob-mission-list > button:hover { background:#a396ff08; }
.ob-list-state { flex-basis:140px; flex-shrink:0; }
.ob-list-main { min-width:0; flex:1; }
.ob-list-main > strong { display:block; font-size:12px; font-weight:500; line-height:1.8; overflow-wrap:anywhere; color:#cfb9e0; }
.ob-list-main > small { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin-top:5px; color:#8b749c; font-size:10px; line-height:1.8; overflow-wrap:anywhere; }
.ob-list-agent { font-size:10px; max-width:140px; overflow-wrap:anywhere; }
.ob-mission-list time { color:#776081; font-size:9px; white-space:nowrap; }
.ob-status-control { display:flex; align-items:center; flex-wrap:wrap; gap:12px; border-top:1px solid #ffffff08; border-bottom:1px solid #ffffff08; padding:14px 0; margin:21px 0; }
.ob-status-control label { display:flex; align-items:center; gap:10px; color:#9077a1; font-size:10px; }
.ob-status-control select { padding:7px 10px; max-width:220px; border:1px solid #a396ff25; border-radius:6px; color:#c6acd9; background:#18131f; font-size:11px; outline:none; }
.ob-status-control select:focus { border-color:#ba96e888; }
.ob-status-control > span { color:#75617f; font-size:9px; line-height:1.8; }
.ob-status-control select:disabled { opacity:.55; cursor:not-allowed; }
.ob-input-request { border:1px solid #c8a56737; border-radius:10px; padding:21px 23px; background:linear-gradient(120deg,#c8a5670b,#a396ff03); margin:21px 0; }
.ob-input-request .tm-eyebrow { color:#cfb081; margin-bottom:12px; }
.ob-input-request .ob-prose { color:#d4c3a8; }
.ob-input-request > p { color:#9e886b; font-size:10px; line-height:1.9; margin:13px 0 0; }
.ob-input-request > .tm-button { margin-top:18px; }
.ob-activity-summary { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:17px 22px 0; color:#b598cb; font-size:11px; }
.ob-activity-summary small { color:#766282; font-size:9px; }
.ob-technical { border:1px solid #ffffff0b; background:#100e1655; border-radius:9px; padding:13px 15px; margin:15px 18px 18px; }
.ob-technical > summary { cursor:pointer; color:#9680a7; font-size:10px; line-height:1.9; }
.ob-technical > summary > span { margin-left:10px; color:#64536f; font-size:9px; }
.ob-technical-group { margin:13px 0 0; border-top:1px solid #ffffff09; padding-top:11px; }
.ob-technical-group > summary { cursor:pointer; font-size:10px; color:#897096; line-height:1.9; }
.ob-technical-group > summary > span { color:#6e577f; margin-left:7px; }
.ob-technical-group small { display:block; margin:5px 0 0; color:#5c486b; font-size:9px; }
.ob-chat-activity > .ob-technical { margin-left:0; margin-right:0; }
.ob-compact > li > .ob-technical { margin-left:0; margin-right:0; }
.tm-run-page { min-width:0; }
.tm-run-breadcrumb { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:25px; color:#806d8e; font-size:10px; }
.tm-run-breadcrumb .tm-button { padding:0; border:0; background:none; color:#ad92c1; min-height:25px; }
.tm-run-page-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:25px; }
.tm-run-page-heading h2 { font-size:25px; font-weight:500; color:#d1bce1; line-height:1.5; margin:10px 0 14px; overflow-wrap:anywhere; }
.tm-run-page-heading .tm-actions { margin-top:0; justify-content:flex-end; }
.tm-run-page-outcome { border:1px solid #a396ff21; border-radius:11px; padding:24px; background:linear-gradient(135deg,#a396ff08,#ffffff01); margin-bottom:25px; }
.tm-run-page-outcome h3 { color:#c5b0d5; font-size:17px; font-weight:450; line-height:1.8; margin:13px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.tm-run-page-outcome details { margin-top:20px; }
.tm-run-page summary { cursor:pointer; color:#a88cbb; font-size:11px; line-height:1.9; }
.tm-run-page-body { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:25px; align-items:start; margin-top:30px; }
.tm-run-public { min-width:0; border:1px solid #ffffff0a; border-radius:10px; padding:23px; }
.tm-run-public > .ob-timeline { padding-top:6px; }
.tm-run-public > .ob-technical { margin-left:0; margin-right:0; margin-bottom:0; }
.tm-run-context { min-width:0; background:#15111c55; border:1px solid #ffffff09; padding:21px; border-radius:10px; }
.tm-run-context > .ob-prose { margin-top:12px; font-size:11px; }
.tm-run-context > details { margin-top:20px; }
.tm-run-context ul { padding-left:17px; color:#a18ab0; font-size:10px; line-height:1.9; overflow-wrap:anywhere; }
.tm-run-context small { color:#695776; }
.tm-run-context dl { margin:22px 0 0; border-top:1px solid #ffffff09; padding-top:10px; }
.tm-run-context dl > div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-top:13px; font-size:9px; line-height:1.8; }
.tm-run-context dt { color:#766081; }
.tm-run-context dd { margin:0; color:#a98fbb; }
@media (max-width:1250px) and (min-width:621px) { .ob-kanban { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:900px) { .tm-run-page-body { grid-template-columns:minmax(0,1fr); } .tm-run-page-heading { flex-wrap:wrap; } .tm-run-page-heading .tm-actions { justify-content:flex-start; } }
@media (max-width:620px) {
  .ob-kanban { grid-template-columns:repeat(5,255px); }
  .ob-layoutbar .tm-button { font-size:10px!important; }
  .ob-mission-list > button { flex-wrap:wrap; gap:10px; padding:15px; }
  .ob-list-state { flex-basis:auto; }
  .ob-list-main { flex-basis:100%; order:2; }
  .ob-list-agent { margin-left:auto; font-size:9px; }
  .ob-mission-list time { font-size:8px; }
  .ob-status-control { gap:10px; }
  .ob-status-control label { flex-wrap:wrap; }
  .ob-status-control > span { flex-basis:100%; }
  .ob-input-request { padding:18px 16px; }
  .ob-activity-summary { padding:16px 14px 0; }
  .ob-technical { margin:12px; padding:11px 12px; }
  .ob-technical > summary > span { display:block; margin-left:0; }
  .tm-run-page-heading h2 { font-size:22px; }
  .tm-run-page-heading .tm-actions { gap:7px; }
  .tm-run-page-heading .tm-button { font-size:10px!important; }
  .tm-run-page-outcome, .tm-run-public, .tm-run-context { padding:19px 16px; }
  .tm-run-page-outcome h3 { font-size:15px; }
}
.ob-question-summary { color:#e0c7a0; font-size:16px; font-weight:500; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; margin:0; }
.ob-question-context { margin:15px 0 0; }
.ob-question-context > summary { color:#a68b68!important; font-size:11px; cursor:pointer; }
.ob-question-context > .ob-prose { margin-top:12px; font-size:11px; }
.ob-action-failure { color:#d6ac9c; font-size:11px; line-height:1.8; margin:5px 0 10px; overflow-wrap:anywhere; }
.ob-run-outcome { padding:16px; margin:0 0 22px; border:1px solid #89b79d25; border-radius:9px; background:#89b79d04; min-width:0; }
.ob-run-outcome > header { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:11px; }
.ob-run-outcome > header > strong { font-size:11px; font-weight:500; color:#c7b4d7; }
.ob-run-outcome time { margin-left:auto; font-size:9px; color:#705f7e; }
.ob-run-outcome > .ob-prose { font-size:11px; }
.ob-run-outcome > .tm-button { margin-top:13px; font-size:10px!important; min-height:28px; padding:5px 9px; }
.ob-run-outcome.tm-needs_input { background:#cfac6b07; border-color:#d4ad7433; }
.ob-run-outcome.tm-failed, .ob-run-outcome.tm-interrupted { background:#c4938007; border-color:#c4938030; }
@media (max-width:1250px) {
  .ob-kanban { grid-template-columns:repeat(5,255px); max-width:100%; min-width:0; overflow-x:auto; gap:12px; padding-bottom:13px; scroll-snap-type:x proximity; scrollbar-width:thin; }
  .ob-kanban-column { scroll-snap-align:start; }
}
.ob-question-detail { margin-top:12px; }

.ob-detail-back { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.ob-detail-back .ob-layoutbar { margin:0; }
.ob-detail-back .ob-layoutbar .tm-button { padding:7px 13px; min-height:30px; }
/* A single stable canvas: keep navigation outside the one vertical scroller. */
.teams-section.tm-root { overflow:hidden; height:100%; }
.tm-shell { overflow:hidden; }
.tm-page-heading { flex:0 0 auto; padding:18px 28px; gap:16px; background:#17181f; }
.tm-page-heading > div:first-child { min-width:0; }
.tm-page-heading h1 { margin:3px 0 0; font-size:21px; line-height:1.4; overflow-wrap:anywhere; }
.tm-heading-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.tm-heading-actions .tm-button { min-height:32px; }
.tm-page-heading select { max-width:320px; min-width:0; color:#e0d9eb; background:#20212a; border:1px solid #ffffff18; border-radius:7px; padding:8px 10px; font:inherit; font-size:14px; }
.tm-content { padding:0 28px 40px; overflow-x:hidden; overflow-y:auto; scrollbar-gutter:stable; overflow-anchor:none; }
.tm-tabs { gap:24px; margin:0 0 24px; min-height:49px; }
.tm-tabs button { padding:14px 0 12px; font-size:12px; }
.tm-section { margin-top:0; }
.tm-section-heading { margin-bottom:16px; align-items:center; }
.tm-section-heading h2 { font-size:17px; }
.tm-section-heading p { font-size:12px; line-height:1.6; }
.tm-button { font-size:12px!important; }
.tm-notice { position:absolute; right:28px; top:74px; z-index:5; margin:0; max-width:min(420px,calc(100% - 40px)); box-shadow:0 5px 20px #0003; background:#242d2a; }
.tm-overview { grid-template-columns:minmax(0,1fr); }
.tm-stats { flex-direction:row; justify-content:flex-start; gap:32px; border:0; padding:0; background:none; }
.tm-stats > div { border:0; padding:8px 0; }
.tm-stats strong { font-size:20px; }
.tm-goal { padding:22px; background:#1d1e27; }
.tm-goal h2 { font-size:20px; margin:8px 0; }
.tm-agent-card, .tm-setting-card { background:#1b1c24; }
.tm-agent-context { color:#a49aaa; }
.tm-agent-top h3 { font-size:14px; }
.tm-run-row { padding:16px; }
.tm-run-title { font-size:13px; }
.tm-run-summary { color:#a99db5; font-size:12px; line-height:1.65; }
.ob-task-layout { display:block; min-height:0; overflow:visible; border:0; background:none; }
.ob-task-main { padding:0; }
.ob-detail-back { margin-bottom:18px; }
.ob-mission-heading h2 { font-size:23px; margin:5px 0 12px; }
.ob-mission-heading .tm-eyebrow { font-size:10px; letter-spacing:.8px; }
.ob-mission-meta { font-size:11px; }
.ob-status-control { border:0; margin:14px 0 18px; padding:0; }
.ob-status-control label { font-size:11px; }
.ob-status-control select { font-size:12px; }
.ob-outcome, .ob-input-request { padding:20px; background:#1c2221; margin:18px 0; }
.ob-input-request { background:#242219; }
.ob-outcome .ob-prose, .ob-question-detail .ob-prose { font-size:13px; line-height:1.75; }
.ob-prose { color:#c0b8cc; line-height:1.75; max-width:100%; min-width:0; }
.ob-observation { border:0; background:none; }
.ob-timeline { padding:16px 0; }
.ob-event { gap:12px; margin-bottom:0; padding:15px 0; border-bottom:1px solid #ffffff09; }
.ob-event:last-child { border-bottom:0; }
.ob-event > .ob-event-mark { display:block; flex:0 0 6px; width:6px; min-width:6px; max-width:6px; height:6px; padding:0; margin:7px 0 0; border:0; box-shadow:none; }
.ob-event header { gap:5px 10px; }
.ob-event header > strong { font-size:12px; }
.ob-event header > span, .ob-event header > time { color:#93879f; font-size:10px; }
.ob-event .ob-prose { font-size:13px; }
.ob-activity-summary { padding:14px 0 0; font-size:12px; }
.ob-technical { margin:16px 0 0; padding:12px 14px; background:#15161c; }
.ob-technical > summary { font-size:11px; }
.ob-run-outcome { padding:16px; margin:16px 0; background:#1a211f; }
.ob-run-outcome > .ob-prose { font-size:13px; }
.ob-task-card { background:#20212a; box-shadow:none; }
.ob-task-card:hover { background:#252630; transform:none; }
.ob-task-card > strong { line-height:1.6; }
.ob-task-card > p { color:#a093af; line-height:1.7; }
.ob-kanban-column { background:#14151b; min-height:240px; }
.ob-kanban { grid-template-columns:repeat(5,minmax(210px,1fr)); overflow-x:auto; padding-bottom:12px; scrollbar-width:thin; }
.ob-viewbar { margin:22px 0 0; padding-bottom:12px; border-bottom:1px solid #ffffff0c; }
.tm-run-page-body { grid-template-columns:minmax(0,1fr); gap:18px; margin-top:20px; }
.tm-run-public { border:0; padding:0; min-width:0; }
.tm-run-public > .ob-timeline { padding:0; }
.tm-run-page-heading { margin-bottom:18px; }
.tm-run-page-heading h2 { font-size:23px; margin:5px 0 10px; }
.tm-run-page-outcome { padding:20px; margin-bottom:16px; background:#1e2028; }
.tm-run-page-outcome h3 { font-size:16px; line-height:1.7; }
.tm-run-context { padding:14px 16px; background:#15161c; }
.tm-run-context > summary { font-size:12px; }
.ob-chat { height:calc(100dvh - 200px); min-height:380px; }
.ob-chat-summary, .ob-chat-answer > .ob-prose { font-size:13px; line-height:1.75; }
@media (max-width:800px) {
  .tm-page-heading { padding:16px 18px; }
  .tm-content { padding:0 18px 32px; }
  .tm-heading-actions { gap:6px; }
  .tm-stats { gap:24px; }
  .ob-mission-heading h2 { font-size:21px; }
}
@media (max-width:620px) {
  .tm-page-heading { flex-wrap:wrap; padding:14px 16px 10px; gap:10px; }
  .tm-page-heading h1 { font-size:19px; }
  .tm-page-heading select { max-width:100%; }
  .tm-heading-actions { width:100%; }
  .tm-heading-actions .tm-button { margin:0; min-height:30px; font-size:11px!important; }
  .tm-content { padding:0 16px 28px; }
  .tm-tabs { gap:20px; margin-bottom:18px; }
  .tm-tabs button { font-size:11px; }
  .tm-stats { gap:18px; }
  .tm-stats span { font-size:10px; }
  .ob-task-main { padding:0; }
  .ob-mission-heading h2 { font-size:20px; }
  .ob-mission-heading > .tm-button { flex:initial; }
  .ob-event .ob-prose { font-size:12px; }
  .ob-outcome, .ob-input-request { padding:16px; }
  .ob-viewbar > span { font-size:10px; }
  .ob-chat { height:calc(100dvh - 230px); min-height:360px; }
  .tm-run-page-outcome { padding:16px; }
}

.tm-heading-title { min-width:0; }
.tm-team-picker { display:block; margin-top:8px; }
.ob-card-top { flex-wrap:wrap; gap:7px; }
.ob-card-top .tm-badge { font-size:9px; padding:4px 6px; }
.ob-card-top time { font-size:9px; }
.ob-task-card > strong { font-size:13px; }
.ob-task-card > p { font-size:12px; }
.ob-task-card footer > span { font-size:10px; }
.ob-task-card footer > small { font-size:9px; }
