/* Task-focused workspace. Status is expressed in words, never by color alone. */
:root{--ink:#23332f;--muted:#64736f;--line:#e2e7e4;--bg:#f5f6f3;--green:#196853;--navy:#233b32;--shadow:0 2px 5px #25382d04,0 8px 24px #25382d03}
body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-.015em}
h1,h2,.brand{font-family:inherit}h1{font-size:30px;font-weight:650;letter-spacing:-1.1px}h2{font-weight:600}
.topbar{height:68px;border-bottom:0;padding:0 40px;background:#fff}
.brand{font-size:18px;letter-spacing:2px;font-weight:750}.brandmark{font-size:32px}
.practice-name{font-size:13px;color:#64736f;border-left:1px solid var(--line);padding:7px 0 7px 22px;margin-left:16px}
.topbar .demo{font-size:10px;letter-spacing:1px;color:#6c7872;background:#f6f7f4;border-color:#e4e7e1}
.topbar .profile-toggle{background:#e9eee8;color:#3c5548;border-color:#dce3d9;width:36px;height:36px}
.nav{padding:0 40px;height:49px;gap:28px;box-shadow:none;border-bottom:1px solid #dfe5df}
.nav button{height:49px;padding:0 0 2px;border-radius:0;font-size:13px;color:#64716b;border-bottom:2px solid transparent;font-weight:500}
.nav button.active{background:none;color:#214f3e;border-bottom:2px solid #214f3e;font-weight:650}.nav button:hover{background:none;color:#214f3e}
.nav-count{font-size:10px;border-radius:4px;background:#f0f3ee;color:#627367}
.page{max-width:1440px;padding:38px 40px 24px}.page-head{margin-bottom:30px}.date{font-size:10px;letter-spacing:1.4px;color:#78877e;margin-bottom:9px}.page-head p{font-size:14px;line-height:1.6;color:#63746b;margin-top:9px}
.search{border-color:#dbe2db;border-radius:7px;background:#fff;font-size:13px;padding:10px 12px;box-shadow:0 1px 3px #203b2505}
.panel{border-radius:10px;border-color:#dfe6df;box-shadow:var(--shadow)}button{font-weight:550}button:focus-visible{outline-color:#207054}
.workspace{border:1px solid #dbe3dc;border-radius:12px;background:#fff;box-shadow:0 2px 3px #25382d03,0 10px 30px #25382d03;overflow:hidden}
.work-tabs{display:flex;gap:26px;padding:0 26px;border-bottom:1px solid #e4e9e3;overflow-x:auto}
.work-tabs button{display:flex;align-items:center;gap:8px;flex-shrink:0;background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:19px 0 16px;font-size:13px;color:#6b756e;font-weight:500}
.work-tabs button span{display:grid;place-items:center;min-width:21px;height:20px;padding:0 5px;border-radius:5px;background:#f0f2ee;color:#6e776f;font-size:11px;font-variant-numeric:tabular-nums}
.work-tabs button.active{color:#1e503d;border-bottom-color:#1e503d;font-weight:650}.work-tabs button.active span{background:#e9f1e9;color:#315e43}
.work-tabs button:hover{color:#244d38}.work-tabs button:focus-visible{outline-offset:-5px}
.work-intro{padding:27px 26px 23px;display:flex;justify-content:space-between;align-items:center;gap:20px}.work-intro h2{font-size:20px;font-weight:600;letter-spacing:-.55px}.work-intro p{font-size:13px;line-height:1.6;color:#6a776f;margin-top:7px}.work-total{font-size:12px;white-space:nowrap;color:#727e75}
.work-row{display:grid;grid-template-columns:38px minmax(0,1fr) 155px 160px;align-items:center;gap:17px;padding:23px 26px;border-top:1px solid #e9ece6;min-height:118px;transition:background .15s}
.work-row:hover{background:#fafbf8}.work-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#f1f4ed;color:#637657}.work-row.blocked .work-icon,.work-row.failed .work-icon{background:#faf2e4;color:#9b7333}.work-row.imported .work-icon{color:#36805b;background:#eaf4ed}
.work-copy{min-width:0}.work-copy h3{font-size:14px;font-weight:650;letter-spacing:-.15px;line-height:1.6}.text-button{border:0;border-radius:3px;padding:0;background:transparent;color:inherit;text-align:left;font:inherit;font-weight:600;line-height:inherit}.text-button:hover{background:none;color:#197351;text-decoration:underline;text-underline-offset:3px}
.work-copy p{font-size:13px;line-height:1.65;color:#647168;margin-top:4px}.work-meta{display:block;font-size:11px;line-height:1.7;color:#6e7970;margin-top:10px}.work-meta>span{color:#849084}
.work-owner{font-size:12px;font-weight:500;color:#55645b;line-height:1.6}.work-owner>span{display:block;color:#768276;font-size:12px;font-variant-numeric:tabular-nums;margin-top:5px}
.work-action{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbe2d9;border-radius:6px;padding:9px 12px;background:#fff;box-shadow:0 1px 2px #233b3205;font-size:12px;color:#305440;line-height:1.6}.work-action:hover{background:#edf4eb;border-color:#b5c9b7}.work-action>span{font-size:16px;color:#78947d}
.work-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fafbf8;border-top:1px solid #e6ebe3;padding:16px 26px;font-size:12px;color:#536c59}.work-bottom>span{display:flex;align-items:center;gap:7px}.work-bottom .text-button{font-size:12px;font-weight:500}.subtle{color:#768073}.agent-dot{width:6px;height:6px;border-radius:50%;background:#579568;display:inline-block}.agent-dot.paused{background:#ad8748}
.workspace-links{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:#758175;line-height:1.6;margin-top:20px}.workspace-links .text-button{font-size:12px;font-weight:500;color:#4b6955;white-space:nowrap}
.work-empty{padding:42px 26px 48px;text-align:center;border-top:1px solid #e9ece6;color:#53765a}.work-empty svg{width:30px;height:30px;margin-bottom:13px}.work-empty h3{font-size:16px;font-weight:600}.work-empty p{color:#6c786e;font-size:13px;margin:9px auto 0;max-width:410px;line-height:1.7}
.footer{margin-top:48px;font-size:10px;color:#7a867d;border-top:1px solid #e3e7df;padding-top:16px}
.cell-sub{display:block;color:#6e7b73;line-height:1.7}.state-detail{max-width:250px;margin-top:4px}.case-count{font-size:14px;font-weight:600}th{color:#66756b;background:#f8faf6;text-transform:none;font-size:12px;letter-spacing:0;padding-top:14px;padding-bottom:14px}td{padding-top:18px;padding-bottom:18px;font-size:13px}.client-icon{background:#eff3ec;color:#60735b}.badge{font-size:11px;border-radius:5px}.badge.orange{background:#fbf2e2;color:#896028}.badge.blue{background:#eef2f4;color:#536c7c}.badge.green{background:#eaf4eb;color:#3b704c}
.case-task{background:#fff;border-color:#dce6d9;border-left-color:#729c6d}.task-kicker{color:#57794e}.case-process{background:transparent}.profile-panel{right:0}
@media(min-width:1450px){.page{padding-top:40px}}
@media(max-width:1100px){.page{padding:28px}.topbar,.nav{padding-left:28px;padding-right:28px}.nav{gap:22px}.work-row{grid-template-columns:34px minmax(0,1fr) 140px;gap:14px}.work-owner{grid-column:2;grid-row:auto;display:flex;gap:12px;margin-top:-7px}.work-owner>span{margin:0}.work-action{grid-column:3;grid-row:1 / span 2}.work-copy{grid-column:2}.work-icon{align-self:start}.work-row{padding:21px}.workspace-links{align-items:flex-start}}
@media(max-width:760px){.topbar{height:64px;min-height:64px;padding:0 20px;flex-wrap:nowrap;gap:12px}.top-left{min-width:0}.brand{font-size:16px;gap:6px;letter-spacing:1.5px}.brandmark{font-size:27px}.practice-name{font-size:11px;margin-left:9px;padding-left:12px;max-width:150px;line-height:1.5}.nav{padding:0 20px;height:46px;gap:23px}.nav button{height:46px;font-size:12px}.page{padding:26px 18px}.page-head{align-items:flex-start;gap:18px;margin-bottom:22px}.page-head h1{font-size:27px}.page-head p{font-size:13px;max-width:290px}.work-tabs{padding:0 18px;gap:22px}.work-tabs button{padding:16px 0 14px;font-size:12px;gap:6px}.work-intro{padding:22px 18px 20px;align-items:flex-start}.work-intro h2{font-size:18px}.work-intro p{font-size:12px}.work-total{display:none}.work-row{grid-template-columns:30px minmax(0,1fr);padding:20px 18px;gap:8px 12px;min-height:0}.work-icon{width:30px;height:30px;border-radius:8px}.work-icon svg{width:17px;height:17px}.work-copy h3{font-size:14px}.work-copy p{font-size:12px}.work-meta{font-size:11px;margin-top:8px}.work-owner{grid-column:2;grid-row:auto;margin-top:3px;font-size:11px;flex-wrap:wrap;gap:4px 12px}.work-owner>span{font-size:11px}.work-action{grid-column:2;grid-row:auto;justify-self:start;margin-top:6px;min-width:125px;padding:7px 10px}.work-bottom{padding:15px 18px;font-size:11px;flex-wrap:wrap;gap:12px}.work-bottom>span{flex-wrap:wrap;gap:6px}.work-bottom .subtle{flex-basis:100%;padding-left:12px}.workspace-links{flex-direction:column;gap:12px;margin-top:17px}.footer{margin-top:34px;font-size:10px;line-height:1.6}.profile-panel{width:min(320px,calc(100vw - 40px))}.panel.table-wrap table{min-width:820px}}
@media(prefers-reduced-motion:reduce){.work-row{transition:none}}

.agent-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid var(--line);border-radius:9px;background:#fff;margin-bottom:20px}.agent-controls strong{font-size:13px}.agent-controls p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:7px}.nav{overflow-y:hidden}@media(max-width:760px){.agent-controls{align-items:flex-start;flex-direction:column;gap:14px}}
