:root{--bg:#f5f5f8;--surface:#fff;--text:#252633;--muted:#7d7f8e;--line:#e9e9ef;--purple:#7562dc;--lime:#d5f58d;--sidebar:#23242c;--success:#3e947d;--warning:#bf843e;--danger:#c9696d;--radius:14px;--shadow:0 3px 20px #28233c04;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);font-size:14px;background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button{color:inherit}a{color:var(--purple)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #9b8fe1;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.2;font-weight:650}h2{font-size:16px;letter-spacing:-.2px;font-weight:650}h3{font-size:15px}p{line-height:1.6}.icon{height:18px;width:18px;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.small{font-size:12px}.mono{font-family:ui-monospace,Consolas,monospace}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:8px;min-height:36px;padding:8px 13px;font-size:12px;font-weight:600;white-space:nowrap}.button-primary{background:var(--purple);color:#fff;box-shadow:0 3px 7px #7562dc20}.button-primary:hover{background:#6654cc}.button-secondary{background:#fff;border-color:var(--line)}.button-secondary:hover{background:#f8f7fc}.button-quiet{background:transparent;color:var(--muted)}.button-quiet:hover{color:var(--purple);background:#efecfa}.button-danger{color:#a43842;background:#fff1f2;border-color:#f0cdd1}.icon-button{display:inline-grid;place-items:center;width:30px;height:30px;border:0;background:transparent;border-radius:7px;color:var(--muted)}.icon-button:hover{background:#efedf8;color:var(--purple)}.app-shell{display:flex;min-height:100vh}.sidebar{width:222px;flex:0 0 222px;background:var(--sidebar);color:#bbbcc9;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:27px 16px 18px;overflow:auto}.brand{border:0;background:none;padding:0 11px 27px;display:flex;gap:11px;align-items:center;color:#fff;text-align:left;font-size:22px;font-weight:650;letter-spacing:-.7px}.wordmark{display:inline-block;font-family:Arial,Helvetica,sans-serif;font-size:26px;font-weight:600;line-height:1.1;letter-spacing:-1.1px;white-space:nowrap}.sidebar-workspace{display:flex;align-items:center;gap:9px;font-size:11px;border:1px solid #3b3c45;border-radius:9px;padding:10px 9px;color:#ebebf1;margin-bottom:20px}.sidebar-workspace small{display:block;color:#8f909f;font-size:10px;margin-top:4px}.workspace-monogram{width:28px;height:28px;background:#42434d;border-radius:7px;display:grid;place-items:center;font-size:10px}.nav-section{font-size:9px;letter-spacing:1.2px;color:#70727f;padding:15px 13px 8px}.nav-item{border:0;background:transparent;color:#a8aab8;display:flex;align-items:center;gap:11px;width:100%;min-height:36px;border-radius:8px;text-align:left;padding:8px 12px;font-size:12px;margin:2px 0}.nav-item .icon{width:16px;height:16px}.nav-item:hover{background:#30313b;color:#f0f0f4}.nav-item.active{background:#3b364d;color:#c9b9ff}.nav-count{margin-left:auto;background:#494453;border-radius:4px;font-size:10px;padding:1px 5px;color:#d0c8e4}.sidebar-footer{margin-top:auto;padding-top:25px}.sidebar-footer .button{font-size:10px;color:#a9abb9;justify-content:flex-start;white-space:normal}.connection-note{font-size:9px;color:#9294a2;display:flex;gap:7px;align-items:center;padding:10px}.connection-note i{width:5px;height:5px;background:var(--lime);border-radius:50%}.main-shell{min-width:0;flex:1}.topbar{height:69px;display:flex;align-items:center;justify-content:space-between;background:#ffffffb3;border-bottom:1px solid var(--line);padding:0 34px;gap:18px}.breadcrumbs{font-size:11px;color:#9a9ba7;display:flex;gap:13px;align-items:center}.breadcrumbs strong{color:#555867;font-weight:500}.breadcrumbs span{color:#c9cad2}.top-actions{display:flex;align-items:center;gap:18px}.project-select{border:1px solid var(--line);border-radius:7px;background:#fff;color:#676978;font-size:11px;padding:7px 10px;max-width:210px}.user-avatar{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#e9e5fa;font-size:9px;font-weight:700;color:#7c6fb0}.context-bar{display:flex;align-items:center;gap:12px;padding:10px 34px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted);min-height:37px;flex-wrap:wrap}.mode-pill{font-size:8px;letter-spacing:.6px;padding:3px 6px;border:1px solid #dcd5f2;border-radius:4px;color:#8575b6;background:#eeebf7;font-weight:650}.mode-pill.cloud{color:#478d7c;background:#eaf5ef;border-color:#c9e2d7}.sync-indicator{margin-left:auto;font-size:10px}.workspace-body{max-width:1570px;margin:auto;padding:28px 34px 50px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.eyebrow{font-size:8px;font-weight:650;letter-spacing:1.5px;color:#92919f;margin-bottom:9px}.page-subtitle{font-size:12px;color:var(--muted);margin-top:7px}.heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 18px;box-shadow:var(--shadow)}.metric-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.metric-label{color:#727584;font-size:11px}.metric-icon{color:#a9a0c6;background:#f5f3fa;width:26px;height:26px;border-radius:7px;display:grid;place-items:center}.metric-icon .icon{width:14px;height:14px}.metric-value{font-size:29px;font-weight:650;letter-spacing:-1px;margin-top:11px;color:#333342;line-height:1.1}.metric-detail{font-size:9px;color:#90929e;margin-top:10px;line-height:1.5}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,1fr);gap:20px;margin-bottom:27px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow);min-width:0}.panel-header{padding:19px 20px 10px;display:flex;align-items:center;justify-content:space-between;gap:14px}.panel-subtitle{font-size:10px;color:var(--muted);margin-top:5px}.panel-body{padding:10px 20px 20px}.panel-footer{width:100%;border:0;border-top:1px solid var(--line);padding:12px 20px;background:transparent;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#80758f;text-align:left}.panel-footer:hover{background:#faf9fe}.period-switch{display:flex;padding:3px;border:1px solid #e9e6ef;border-radius:7px;gap:2px;flex-shrink:0}.period-switch button{background:none;border:0;color:#aaa7b5;min-width:29px;padding:5px 7px;border-radius:4px;font-size:9px}.period-switch button.active{color:#7a65bf;background:#eee9fa;font-weight:650}.chart-bars{height:167px;display:flex;gap:7px;align-items:stretch;padding-top:18px;background:repeating-linear-gradient(to top,transparent,transparent 38px,#f2f1f7 39px,#f2f1f7 40px);margin-top:6px}.chart-column{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end}.chart-stack{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center}.chart-bar{width:100%;max-width:26px;background:linear-gradient(0deg,#b9acec,#8d79d3);border-radius:4px 4px 0 0;min-height:0}.chart-label{height:22px;font-size:8px;line-height:22px;color:#aaa7b7;white-space:nowrap}.chart-legend{display:flex;justify-content:space-between;color:#a29dac;font-size:9px;margin-top:8px;gap:10px}.chart-legend>span:first-child{display:flex;align-items:center;gap:6px}.legend-dot{height:6px;width:6px;background:#a18bdf;border-radius:50%}.count-badge{font-size:10px;background:#f1eff6;color:#9d94b0;padding:2px 6px;border-radius:5px;margin-left:5px;font-weight:500}.attention-list{padding:0 20px}.attention-item{display:flex;flex-direction:column;gap:7px;padding:12px 0;background:transparent;border:0;border-bottom:1px solid #f0eff5;text-align:left;width:100%}.attention-item:last-child{border-bottom:0}.attention-item strong{font-size:11px;font-weight:550;line-height:1.4}.attention-item>span:last-child{font-size:9px;color:#a6a1af;display:flex;justify-content:space-between;align-items:center;width:100%}.attention-item>span:last-child .icon{width:12px;height:12px}.status-pill{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:550;padding:4px 7px;border-radius:5px;background:#f1f1f5;color:#8a8996;white-space:nowrap;align-self:flex-start}.status-pill>span{width:4px;height:4px;border-radius:50%;background:currentColor}.status-pill.working{background:#eeebfa;color:#8b77c9}.status-pill.reviewing,.status-pill.review{background:#fbf1e5;color:#b39770}.status-pill.blocked{background:#fbebed;color:#c7838d}.status-pill.done{background:#eaf4ef;color:#70a18f}.status-pill.configured{background:#eaf0f8;color:#839bbd}.section-block{margin-bottom:27px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.section-heading p{font-size:10px;color:var(--muted);margin-top:6px}.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.project-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:17px 17px 13px;min-width:0}.project-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.project-color{width:31px;height:31px;display:grid;place-items:center;border-radius:8px;color:#fff;opacity:.75}.project-color .icon{width:15px;height:15px}.project-name{border:0;background:none;text-align:left;padding:0;font-size:12px;font-weight:650;letter-spacing:-.2px}.project-name:hover{color:var(--purple)}.project-description{font-size:9px;color:#9895a1;line-height:1.65;margin-top:7px;min-height:44px}.project-meta{display:flex;justify-content:space-between;font-size:9px;color:#a29eab;margin-top:16px;gap:8px}.project-meta strong{font-weight:550;color:#827b94}.progress-track{height:4px;background:#f1eff5;border-radius:3px;overflow:hidden;margin-top:7px}.progress-fill{height:100%;border-radius:3px;opacity:.55}.project-footer{border-top:1px solid #f1eff5;padding-top:12px;margin-top:16px;display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#a6a1af;gap:6px}.avatar-stack{display:flex;padding-left:3px}.avatar{width:22px;height:22px;border-radius:50%;background:#eee7f4;color:#9984b6;border:2px solid #fff;margin-left:-3px;display:grid;place-items:center;font-size:7px;font-weight:600}.activity-list{padding:0 20px}.activity-row{display:flex;align-items:flex-start;gap:12px;padding:15px 0;border-bottom:1px solid #f1eff5}.activity-row:last-child{border-bottom:0}.activity-dot{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;flex-shrink:0;background:#f1eff7;color:#aa9dc6}.activity-dot .icon{width:12px;height:12px}.activity-dot.blocker{background:#fbeef0;color:#cf9aa6}.activity-dot.completed{background:#edf5f0;color:#9ab4a5}.activity-content{min-width:0;flex:1}.activity-title{font-size:11px;font-weight:550;line-height:1.4}.activity-detail{font-size:9px;line-height:1.6;color:#a4a0ab;margin-top:4px}.activity-meta{font-size:8px;color:#afaab7;display:block;margin-top:5px}.activity-time{font-size:8px;white-space:nowrap;color:#b4aebc;padding-top:3px}.agent-pulse-list{padding:0 20px 10px}.agent-pulse{border:0;border-bottom:1px solid #f1eff5;width:100%;background:transparent;display:flex;align-items:center;text-align:left;gap:9px;padding:12px 0}.agent-pulse:last-child{border:0}.agent-avatar{width:30px;height:30px;border-radius:9px;background:#f0ebf6;color:#a08cbe;display:grid;place-items:center;flex-shrink:0;font-size:9px;font-weight:600}.agent-pulse>span:nth-child(2){flex:1;min-width:0}.agent-pulse strong{font-size:10px;display:block;font-weight:550}.agent-pulse small{font-size:8px;display:block;color:#aba5b4;margin-top:4px}.agent-pulse .status-pill{font-size:7px;padding:4px 5px;align-self:auto}.empty-state{padding:35px 20px;text-align:center;color:var(--muted);width:100%}.empty-state>.icon{width:25px;height:25px;margin-bottom:12px;color:#c0b8d0}.empty-state h3{font-size:13px;color:#727080}.empty-state p{font-size:11px;max-width:350px;margin:8px auto 16px}.notice{border:1px solid #e4dcea;background:#f6f1fa;border-radius:10px;padding:13px 16px;font-size:11px;line-height:1.6;margin-bottom:20px;color:#8c7d9b}.notice.warning{background:#fff7ed;border-color:#f0ddbd;color:#a08152}.notice>div{display:flex;gap:8px;margin-top:10px}.login-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-panel{width:100%;max-width:510px;padding:60px 45px;margin:auto}.login-brand{display:flex;align-items:center;gap:10px;font-size:24px;font-weight:650;letter-spacing:-1px;margin-bottom:66px}.login-panel h1{font-size:45px;font-weight:650;letter-spacing:-2px;line-height:1.16}.login-intro{font-size:13px;color:#8f8b99;margin:20px 0 30px;line-height:1.8}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px;font-size:11px;color:#777080;font-weight:550}.field input,.field select,.field textarea{border:1px solid #e7e3ed;border-radius:8px;padding:12px 13px;background:#fff;min-width:0;font-size:12px;color:#544c60;width:100%}.field textarea{resize:vertical;min-height:95px;line-height:1.6}.field input::placeholder{color:#bab4c2}.login-panel form>.button{width:100%;min-height:43px;margin-top:3px}.login-error{background:#fff0f1;color:#b56c75;border:1px solid #f0d0d6;padding:12px;border-radius:8px;font-size:11px;margin-bottom:15px}.login-demo{border-top:1px solid var(--line);padding-top:23px;margin-top:28px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#9991a4}.login-panel>.small{font-size:9px;margin-top:20px;line-height:1.7}.login-art{position:relative;overflow:hidden;background:#282531;display:flex;align-items:center;justify-content:center;min-width:0}.login-art-center{position:relative;z-index:1;text-align:center;padding:45px;color:#fff}.login-art-center>.wordmark{font-size:48px;letter-spacing:-2px;margin-bottom:30px}.login-art-center h2{font-size:35px;line-height:1.25;letter-spacing:-1.3px;font-weight:550}.login-art-center p{color:#b0a5c2;font-size:12px;line-height:1.8;margin-top:22px}.login-tags{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:33px}.login-tags span{border:1px solid #49414f;color:#b9aecd;font-size:9px;padding:8px 10px;border-radius:6px}.login-orbit{width:650px;height:650px;border:1px solid #4d425d55;border-radius:50%;position:absolute;transform:rotate(-20deg)}.orbit-two{width:460px;height:460px;border-color:#5d4c7233}.login-art:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 50% 35%,#4c3d6750,transparent 60%)}dialog{border:1px solid var(--line);border-radius:15px;padding:0;box-shadow:0 24px 100px #211b3440;max-width:600px;width:calc(100% - 40px);max-height:90vh;overflow:auto;color:var(--text)}dialog::backdrop{background:#201e315e;backdrop-filter:blur(3px)}.modal-header{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-body{padding:24px}.modal-body p{font-size:12px;color:var(--muted)}.modal-footer{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid>.full{grid-column:1/-1}.boot{display:grid;place-items:center;min-height:100vh;color:var(--muted)}#toast-region{pointer-events:none;position:fixed;right:24px;bottom:24px;z-index:1000;display:flex;flex-direction:column;gap:10px;max-width:380px}.toast{padding:13px 18px;border-radius:9px;background:#343040;color:#fff;box-shadow:0 6px 25px #201a3530;font-size:12px;line-height:1.5}.toast.error{background:#875661}.task-list{padding:0 20px}.task-row{display:flex;align-items:center;text-align:left;width:100%;border:0;border-bottom:1px solid var(--line);background:none;gap:14px;padding:16px 0}.task-row:last-child{border-bottom:0}.task-row:hover .task-title{color:var(--purple)}.task-check{height:17px;width:17px;border:1px solid #dcd7e6;border-radius:5px;flex-shrink:0}.task-check.complete{border:0;color:#9ab4a5}.task-main{flex:1;min-width:0}.task-title{font-size:11px;font-weight:550;display:block;line-height:1.5}.task-meta{font-size:9px;color:#aaa3b4;display:flex;gap:7px;margin-top:4px}.task-check-count{font-size:9px;color:#a69faf}.task-row>.icon{width:12px;color:#b4adbf}.priority-pill{font-size:8px;padding:4px 6px;border:1px solid #eee8f2;border-radius:4px;color:#aaa2b4}.priority-pill.urgent{color:#c79096;background:#fdf3f4;border-color:#f3dfe3}.priority-pill.high{color:#beaa86;background:#fcf8ef;border-color:#f3e9d4}@media(min-width:1700px){.workspace-body{padding-top:36px}.chart-bars{height:200px}}@media(max-width:1200px){.sidebar{width:200px;flex-basis:200px;padding-left:12px;padding-right:12px}.workspace-body{padding:25px 25px}.topbar,.context-bar{padding-left:25px;padding-right:25px}.metrics-grid{gap:12px}.metric-card{padding:15px}.metric-value{font-size:26px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.55fr) minmax(250px,1fr);gap:16px}.page-heading h1{font-size:27px}}@media(max-width:960px){.sidebar{width:184px;flex-basis:184px}.brand{font-size:20px;padding-left:7px}.nav-item{font-size:11px;padding-left:9px;gap:9px}.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.attention-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.attention-item{border-bottom:0}.login-panel{padding:40px 30px}.login-panel h1{font-size:37px}.login-art-center{padding:30px}.login-art-center h2{font-size:30px}.task-check-count{display:none}}@media(max-width:736px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:15px 17px;overflow:visible}.brand{font-size:19px;padding:0;margin-bottom:12px}.brand .wordmark{font-size:24px}.sidebar-workspace,.sidebar-footer,.nav-section{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:3px;padding-bottom:2px;scrollbar-width:thin}.nav-item{width:auto;white-space:nowrap;font-size:10px;padding:7px 10px;min-height:32px;gap:6px}.nav-item .icon{height:13px;width:13px}.nav-count{display:none}.topbar{height:53px;padding:0 18px}.context-bar{padding:9px 18px;font-size:8px;gap:7px}.sync-indicator{display:none}.project-select{max-width:160px;font-size:10px}.top-actions{gap:10px}.workspace-body{padding:23px 18px 35px}.page-heading{align-items:flex-start;gap:13px}.page-heading h1{font-size:25px}.page-subtitle{font-size:11px}.heading-actions .button{font-size:10px;padding:7px 10px}.eyebrow{font-size:7px}.metrics-grid{gap:10px;margin-bottom:18px}.metric-label{font-size:10px}.metric-value{font-size:26px}.metric-detail{font-size:8px}.metric-card{padding:14px}.dashboard-grid{gap:16px;margin-bottom:22px}.panel-header{padding:17px 16px 10px}.panel-header h2{font-size:14px}.panel-body{padding-left:16px;padding-right:16px}.chart-bars{gap:5px;height:160px}.project-grid{gap:11px}.project-card{padding:14px}.project-description{font-size:9px}.attention-list{grid-template-columns:1fr;padding:0 16px}.attention-item{border-bottom:1px solid var(--line);padding:12px 0}.attention-item strong{font-size:12px}.activity-list,.agent-pulse-list{padding:0 16px}.activity-detail{font-size:10px}.activity-time{font-size:8px}.login-shell{display:block;background:linear-gradient(#f9f8fc,#fff)}.login-panel{max-width:470px;min-height:100vh;padding:35px 26px}.login-brand{margin-bottom:60px}.login-panel h1{font-size:43px}.login-art{display:none}.form-grid{grid-template-columns:1fr}.task-row{gap:9px;flex-wrap:wrap}.task-row .task-main{flex-basis:calc(100% - 50px)}.task-row .status-pill{margin-left:26px}.task-row .task-meta{font-size:8px}.task-list{padding:0 15px}.task-row>.icon{margin-left:auto}.notice{font-size:10px}.chart-label{font-size:7px}.page-heading .heading-actions{flex-shrink:0}}@media(max-width:390px){.workspace-body{padding-left:13px;padding-right:13px}.project-grid{grid-template-columns:1fr}.project-description{min-height:0}.metric-value{font-size:23px}.metric-detail{font-size:7px}.metric-label{font-size:9px}.page-heading h1{font-size:23px}.page-heading{flex-wrap:wrap}.project-select{max-width:135px}.breadcrumbs{font-size:9px;gap:8px}.chart-label{font-size:6px}.period-switch button{min-width:25px;padding:4px}.topbar{padding:0 13px}.context-bar{padding-left:13px;padding-right:13px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin:0 0 22px}
.inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.search-input{width:280px;max-width:100%;padding:10px 13px;border:1px solid var(--line);background:#fff;border-radius:8px;color:var(--text);font:inherit;font-size:12px}
.tabs{display:flex;align-items:center;gap:3px;overflow-x:auto;max-width:100%;padding:4px;background:#fff;border:1px solid var(--line);border-radius:9px}
.tab{border:0;background:transparent;padding:8px 12px;border-radius:6px;font-size:11px;white-space:nowrap;color:var(--muted);cursor:pointer}
.tab.active{background:#efebfc;color:#7460cf;font-weight:600}
.badge{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:5px;background:#f8f7fb;color:var(--muted);font-size:10px;padding:4px 7px;line-height:1.4}
.text-danger{color:#bd6d7e!important}
.table-wrap{width:100%;overflow:auto}
.data-table{border-collapse:collapse;width:100%;min-width:580px;text-align:left;font-size:12px}
.data-table th{font-weight:550;color:var(--muted);font-size:10px;padding:13px 22px;background:#faf9fc;white-space:nowrap}
.data-table td{padding:16px 22px;border-top:1px solid var(--line);color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.data-table .link-button{font-size:12px;color:var(--text);font-weight:550;background:transparent;border:0;padding:0}
.data-table .link-button:hover{color:var(--purple)}
.bar-list{display:flex;flex-direction:column;gap:16px;padding-top:20px}
.bar-row{display:grid;grid-template-columns:64px minmax(0,1fr) 24px;align-items:center;gap:12px;font-size:11px}
.bar-label{text-transform:capitalize;color:var(--muted)}
.bar-track{height:8px;background:#f1eef7;border-radius:5px;overflow:hidden}
.bar-fill{height:100%;display:block;border-radius:5px;background:#b6a9ec}
.bar-fill.working{background:#9982db}.bar-fill.review{background:#ddc194}.bar-fill.blocked{background:#d99aaa}.bar-fill.done{background:#82bead}
.bar-value{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.agent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.agent-card{padding:22px;background:#fff;border:1px solid var(--line);border-radius:12px;min-width:0}
.agent-top{display:flex;align-items:center;gap:11px}.agent-top>div{flex:1;min-width:0}.agent-top h3{font-size:13px;margin:0 0 5px;overflow-wrap:anywhere}.agent-top .icon-button{flex-shrink:0}
.agent-model{font-size:10px;color:var(--muted)}.agent-state{display:flex;align-items:center;gap:9px;margin:20px 0 15px}.agent-current{font-size:12px;line-height:1.6;min-height:40px;color:var(--text)}
.agent-context{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin:18px 0 9px}.agent-context strong{font-weight:550}
.agent-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:9px;color:var(--muted);border-top:1px solid var(--line);margin-top:18px;padding-top:15px}
.report-card .panel-header{padding-bottom:22px}.report-card .eyebrow{display:block;margin-bottom:11px}.report-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:28px}
.report-highlights p{display:flex;align-items:flex-start;gap:10px;background:#f8f7fc;border:1px solid var(--line);border-radius:8px;padding:14px;font-size:12px;line-height:1.7;margin:0}.report-highlights .icon{flex-shrink:0;color:#9a87d1;margin-top:2px}
.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}.report-grid h3{font-size:13px;margin-bottom:16px}.report-task{font-size:12px;line-height:1.7;padding-bottom:12px;border-bottom:1px solid var(--line)}.report-task small{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-grid .panel{padding:24px}.settings-grid h2{margin-bottom:12px}.settings-grid p{font-size:12px;line-height:1.7}.settings-grid .toolbar{justify-content:flex-start;margin-top:18px;margin-bottom:0}
@media(max-width:1150px){.agent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:736px){.agent-grid,.report-grid,.settings-grid,.report-highlights{grid-template-columns:1fr}.agent-card{padding:18px}.toolbar{gap:12px}.search-input{width:100%}.tab{padding:8px 10px}.table-wrap{border-radius:8px}.report-card .panel-header{flex-wrap:wrap;align-items:flex-start}.report-grid{gap:22px}.bar-row{grid-template-columns:65px minmax(0,1fr) 20px}.data-table td,.data-table th{padding-left:16px;padding-right:16px}}
/* Interactive scenario and shared project context. */
.demo-toolbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(110deg,#eeebfc,#f6f8ff);border:1px solid #dcd5f5;border-radius:14px;padding:18px 20px;margin-bottom:26px;overflow:hidden}.demo-toolbar strong{display:block;margin:6px 0;font-size:14px}.demo-toolbar p{margin:0;color:var(--muted);font-size:12px}.demo-playback-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.demo-step-count{font-size:12px;font-variant-numeric:tabular-nums;margin-right:5px;white-space:nowrap}.demo-progress{position:absolute;bottom:0;left:0;right:0;height:3px;background:#e8e2f6}.demo-progress span{display:block;background:var(--accent);height:100%;transition:width .3s}.conversation-map-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.conversation-map-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:18px;text-align:left;color:var(--ink);min-width:0;cursor:pointer}.conversation-map-card:hover{border-color:var(--accent);box-shadow:0 6px 22px #8b7cf812}.conversation-map-card .inline{justify-content:space-between;gap:5px;flex-wrap:wrap}.conversation-map-card .eyebrow{font-size:9px}.conversation-map-card h3{font-size:15px;margin:15px 0}.conversation-map-card p{color:var(--muted);font-size:11px;line-height:1.6;min-height:34px}.conversation-map-excerpt{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.6;color:var(--muted);height:58px;margin:14px 0}.conversation-map-card>.small{display:flex;align-items:center;justify-content:space-between}.demo-agent-row{display:flex;gap:6px}.demo-letter{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#e8e5ff;color:#6254af;font-weight:700;font-size:12px}.demo-letter.agent-b{background:#dff3ec;color:#267462}.demo-letter.agent-c{background:#e0edfc;color:#3876b3}.demo-letter.agent-d{background:#fff0d9;color:#976316}.demo-letter.agent-e{background:#f8e3f0;color:#a3517e}.demo-letter.agent-f{background:#e0eff0;color:#29767a}.demo-toolbox{display:flex;gap:12px;flex-wrap:wrap;margin-top:13px}.agent-memberships{border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin-top:18px}.agent-memberships legend{font-size:12px;color:var(--muted)}
@media(max-width:1250px){.conversation-map-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-toolbar{align-items:flex-start;flex-direction:column}.demo-playback-actions{width:100%;flex-wrap:wrap}}
@media(max-width:520px){.conversation-map-grid{grid-template-columns:1fr}.demo-toolbar{padding:16px}.demo-playback-actions .button{padding:8px 10px;font-size:11px}.conversation-map-excerpt{height:auto}}
/* Release notices live outside view rendering so checking for updates preserves drafts. */
.release-update{position:fixed;right:20px;bottom:20px;z-index:900;display:flex;align-items:center;gap:16px;max-width:min(600px,calc(100vw - 40px));padding:16px 20px;border:1px solid #dcd6f2;border-radius:12px;background:#fff;box-shadow:0 8px 32px #17203326;color:#263044;font-size:13px;line-height:1.5}
.release-update[hidden]{display:none}.release-update p{margin:0}.release-update button{flex-shrink:0}
@media(max-width:600px){.release-update{right:12px;bottom:12px;max-width:calc(100vw - 24px);flex-wrap:wrap}}

/* Operator Studio — warm, legible surfaces shared by every existing capability. */
:root {
  --bg: #f7f6f1;
  --surface: #fffefa;
  --soft: #f3f2eb;
  --surface-soft: #f3f2eb;
  --surface-2: #ecefe5;
  --text: #252a23;
  --ink: #252a23;
  --muted: #667061;
  --line: #deded4;
  --border: #deded4;
  --accent: #40583d;
  --purple: #40583d;
  --lime: #b5c79c;
  --sidebar: #f1f1ea;
  --success: #3d653a;
  --warning: #94651e;
  --danger: #a1463a;
  --copper: #9b5f3f;
  --radius: 10px;
  --shadow: 0 2px 12px #25301b04;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
}
body { background: var(--bg); }
::selection { background: #d9e1cd; color: #20261c; }
button, input, textarea, select { font-family: inherit; }
a { color: var(--copper); text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button:disabled { cursor: not-allowed; }
h1 { font-size: 29px; font-weight: 650; letter-spacing: -.85px; }
h2 { font-size: 17px; letter-spacing: -.3px; }
h3 { font-size: 15px; }
.button { min-height: 37px; padding: 8px 13px; border-radius: 7px; font-size: 12px; font-weight: 550; }
.button-primary { background: var(--accent); color: #fffefa; box-shadow: none; }
.button-primary:hover { background: #30462e; }
.button-secondary { background: var(--surface); border-color: #d3d5c9; }
.button-secondary:hover { background: #f0f2e9; }
.button-quiet { color: #5a6553; }
.button-quiet:hover, .icon-button:hover { background: #e9eddf; color: #30462e; }
.button-danger { background: #fbefeb; border-color: #dfb5aa; color: #923f31; }
.icon-button { height: 32px; width: 32px; }
.field { color: #50594b; font-size: 12px; font-weight: 500; }
.field input, .field select, .field textarea, .search-input { background: var(--surface); color: var(--text); border-color: #d4d7ca; font-size: 13px; border-radius: 7px; }
.field input::placeholder, .field textarea::placeholder, .search-input::placeholder { color: #7d8576; }
input[type=checkbox], input[type=radio] { accent-color: var(--accent); }
.panel, .project-card, .metric-card, .agent-card { background: var(--surface); border-color: var(--line); border-radius: 10px; box-shadow: none; }
.panel-header { padding: 20px 22px 13px; }
.panel-subtitle, .panel-footer { font-size: 12px; color: var(--muted); }
.panel-footer:hover { background: #f1f3e9; }
.panel-body { padding: 12px 22px 22px; }
.page-heading { margin-bottom: 25px; }
.eyebrow { color: #65705b; font-size: 10px; letter-spacing: .11em; }
.page-subtitle { color: var(--muted); font-size: 13px; line-height: 1.65; }
.section-heading p { font-size: 12px; }
.status-pill, .badge { font-size: 11px; line-height: 1.45; border-radius: 20px; padding: 4px 9px; }
.badge, .status-pill { background: #efefe8; color: #5c6556; border-color: #dedfd5; }
.status-pill.working { background: #e7eedf; color: #3b5e32; }
.status-pill.reviewing, .status-pill.review { background: #fbedd4; color: #885c1d; }
.status-pill.blocked { background: #f9e5df; color: #964738; }
.status-pill.done { background: #e7eedf; color: #426537; }
.status-pill.configured { background: #e5ebe8; color: #456254; }
.count-badge { background: #eaede2; color: #5b674d; font-size: 11px; }
.tabs { background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 0; gap: 14px; border-radius: 0; }
.tab { border-radius: 0; padding: 11px 4px; font-size: 13px; border-bottom: 2px solid transparent; }
.tab.active { background: transparent; border-bottom-color: var(--accent); color: #2b4327; }
.period-switch { border-color: var(--line); background: var(--surface); }
.period-switch button { font-size: 11px; color: #66715c; }
.period-switch button.active { color: #354d2e; background: #e7eddb; }
.notice { color: #526348; background: #edf1e5; border-color: #d5deca; font-size: 12px; }
.notice.warning { color: #795b2b; background: #fbf1dd; border-color: #e5d4ad; }
.notice.subtle { background: #f0f1e9; color: #626d59; }
.empty-state { color: var(--muted); }
.empty-state h3 { color: #4d5d43; font-size: 15px; }
.empty-state p { font-size: 13px; max-width: 420px; }
.empty-state > .icon { color: #7b886e; }
.metric-card { padding: 19px 21px; }
.metric-label { color: #59664f; font-size: 12px; }
.metric-icon { color: #5f7150; background: #edf1e6; }
.metric-value { color: #303c29; font-size: 31px; }
.metric-detail { color: #727b69; font-size: 11px; }
.chart-bars { background: repeating-linear-gradient(to top, transparent, transparent 38px, #eceee4 39px, #eceee4 40px); }
.chart-bar { background: linear-gradient(0deg, #a1b18f, #677e56); }
.chart-label, .chart-legend { color: #727c67; font-size: 10px; }
.legend-dot { background: #7c9567; }
.progress-track, .bar-track { background: #e8ecdf; }
.bar-fill, .bar-fill.working { background: #839b6b; }
.bar-fill.review { background: #caa974; }
.bar-fill.blocked { background: #c88573; }
.bar-fill.done { background: #608158; }
.project-name { font-size: 15px; }
.project-description { font-size: 12px; color: var(--muted); min-height: 55px; }
.project-meta { font-size: 11px; color: var(--muted); }
.project-meta strong { color: #4c5c41; }
.project-footer { font-size: 11px; color: var(--muted); border-color: var(--line); }
.project-color { border-radius: 8px; opacity: 1; }
.avatar, .agent-avatar { background: #e2e8d8; color: #506144; border-color: var(--surface); }
.agent-avatar { border-radius: 50%; width: 42px; height: 42px; font-size: 13px; }
.agent-grid { gap: 18px; }
.agent-card { padding: 22px; }
.agent-top h3 { font-size: 16px; }
.agent-model { font-size: 12px; line-height: 1.55; }
.agent-current { font-size: 14px; min-height: 44px; }
.agent-context, .agent-footer { font-size: 11px; line-height: 1.6; }
.agent-pulse { gap: 12px; }
.agent-pulse strong { font-size: 13px; }
.agent-pulse small { font-size: 11px; color: var(--muted); }
.activity-row { border-color: var(--line); }
.activity-title { font-size: 13px; }
.activity-detail { color: var(--muted); font-size: 12px; }
.activity-meta, .activity-time { color: #76806c; font-size: 11px; }
.activity-dot { background: #e9eddf; color: #718262; }
.activity-dot.blocker { background: #f7e9e0; color: #a46148; }
.activity-dot.completed { background: #e6eddc; color: #668354; }
.attention-item { border-color: var(--line); }
.attention-item strong { font-size: 13px; }
.attention-item > span:last-child { font-size: 11px; color: var(--muted); }
.task-title { font-size: 13px; }
.task-meta, .task-check-count { font-size: 11px; color: var(--muted); }
.task-check { border-color: #bec8b0; }
.priority-pill { font-size: 10px; color: #5f6c55; border-color: #d9dfcd; background: #f3f5ed; }
.priority-pill.urgent { color: #914f3b; background: #fbede5; border-color: #eed5c7; }
.priority-pill.high { color: #836222; background: #faf3df; border-color: #eaddb9; }
.data-table { font-size: 13px; }
.data-table th { background: #f0f2e9; color: #59654f; font-size: 11px; }
.data-table td { padding: 17px 22px; }
.report-highlights p { background: #f1f3e9; }
.report-highlights .icon { color: #6c8457; }
.report-task, .settings-grid p { font-size: 13px; }
.report-task small { font-size: 11px; }
.text-danger { color: #a04737 !important; }
.demo-toolbar { background: #f0f2e6; border-color: #d9dfcc; border-radius: 9px; padding: 13px 18px; margin-bottom: 24px; }
.demo-toolbar strong { font-size: 13px; }
.demo-toolbar p { font-size: 11px; }
.demo-progress { background: #e0e6d3; }
.conversation-map-card { border-radius: 10px; }
.conversation-map-card:hover { box-shadow: 0 4px 18px #40583d0d; }
.conversation-map-card p { font-size: 12px; }
.conversation-map-excerpt { color: #626e58; }
.demo-letter { background: #e4ead9; color: #4e673c; border-radius: 50%; }
dialog { background: var(--surface); border-radius: 12px; box-shadow: 0 25px 100px #18231535; }
dialog::backdrop { background: #1f2a2155; }
.modal-header, .modal-footer { background: #f4f4ed; }
.modal-body p { font-size: 13px; }
.toast { background: #35462f; }
.toast.error { background: #8c493d; }
.release-update { border-color: #ced8be; background: var(--surface); color: var(--text); }
.login-shell { background: var(--surface); }
.login-brand { color: #34492d; }
.login-intro, .login-demo { color: var(--muted); }
.login-panel h1 { color: #293d22; }
.login-art { background: #303b29; }
.login-art:before { background: radial-gradient(ellipse at 50% 35%, #8a8a5450, transparent 65%); }
.login-art-center p { color: #c6cbb6; }
.login-tags span { color: #d0d8bc; border-color: #59694c; }
.login-orbit { border-color: #89947340; }
.orbit-two { border-color: #aeb68c30; }

/* The masthead and complete route rail preserve every destination at all widths. */
.studio-shell { display: grid; grid-template-columns: 192px minmax(0, 1fr); grid-template-rows: 60px minmax(0, 1fr); min-height: 100vh; }
.studio-masthead { grid-column: 1 / -1; position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 22px; min-width: 0; padding: 0 24px; color: #f8f8ef; background: #343d2d; border-bottom: 1px solid #252f22; }
.studio-masthead .brand { color: #fbfbf3; padding: 0; margin: 0; font-weight: 600; flex-shrink: 0; }
.studio-masthead .wordmark { font-size: 27px; letter-spacing: -1px; }
.studio-workspace-name { font-size: 12px; line-height: 1.4; color: #d0d5c5; border-left: 1px solid #657057; padding-left: 22px; max-width: 210px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.studio-categories { display: flex; align-items: stretch; align-self: stretch; justify-content: center; gap: 6px; margin: 0 auto; min-width: 0; }
.studio-category { border: 0; border-bottom: 3px solid transparent; background: transparent; color: #d4d8ca; padding: 0 13px; font-size: 13px; }
.studio-category:hover { background: #ffffff0b; color: #fff; }
.studio-category.active { color: #fffef4; background: #ffffff08; border-bottom-color: #d5dfc2; }
.studio-masthead .user-avatar { flex-shrink: 0; background: #b58059; color: #fffaf1; font-size: 11px; font-weight: 500; width: 30px; height: 30px; border: 1px solid #d6ad85; }
.studio-masthead :is(button, summary):focus-visible { outline-color: #dce8c8; }
.studio-all-views { flex-shrink: 0; }
.studio-all-views > summary { display: flex; align-items: center; gap: 8px; list-style: none; border: 1px solid #7d8773; border-radius: 6px; padding: 8px 10px; cursor: pointer; font-size: 12px; user-select: none; }
.studio-all-views > summary::-webkit-details-marker { display: none; }
.studio-all-views > summary > .icon { width: 15px; height: 15px; }
.studio-all-views[open] > summary { background: #566448; }
.studio-view-menu { position: absolute; top: 68px; right: 24px; width: min(840px, calc(100vw - 32px)); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 20px; gap: 15px; background: var(--surface); color: var(--text); border: 1px solid #d9dece; border-radius: 10px; box-shadow: 0 18px 55px #18241524; max-height: calc(100dvh - 100px); overflow: auto; }
.studio-view-menu section { min-width: 0; border-right: 1px solid var(--line); padding-right: 12px; }
.studio-view-menu section:nth-child(5) { border-right: 0; padding-right: 0; }
.studio-view-menu h2 { font-size: 12px; font-weight: 600; margin: 0 0 12px; letter-spacing: 0; }
.studio-view-link { display: flex; align-items: center; gap: 9px; width: 100%; border: 0; background: transparent; color: #4e5946; text-align: left; padding: 10px 7px; margin: 3px 0; font-size: 12px; border-radius: 6px; }
.studio-view-link .icon { width: 17px; height: 17px; }
.studio-view-link.active, .studio-view-link:hover { background: #e6ebde; color: #31472c; }
.studio-view-menu-footer { grid-column: 1 / -1; display: flex; align-items: center; gap: 22px; border-top: 1px solid var(--line); margin-top: 5px; padding-top: 15px; }
.studio-view-menu-footer button { border: 0; background: transparent; color: #59664e; display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px; }
.studio-view-menu-footer > span { font-size: 11px; margin-left: auto; color: var(--muted); }
.studio-shell .sidebar { grid-column: 1; grid-row: 2; width: auto; height: calc(100dvh - 60px); position: sticky; top: 60px; padding: 19px 12px 14px; background: #f1f2ea; color: var(--muted); border-right: 1px solid var(--line); overflow: auto; scrollbar-width: thin; }
.studio-shell .sidebar-workspace { display: block; padding: 0 10px 17px; margin: 0 0 8px; border: 0; border-bottom: 1px solid #d9dfcc; border-radius: 0; font-size: 15px; font-weight: 550; color: #3e4c34; overflow-wrap: anywhere; }
.studio-shell .sidebar-workspace small { font-size: 10px; line-height: 1.7; color: #748267; font-weight: 400; }
.studio-shell .nav-section { font-size: 9px; line-height: 1.3; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; padding: 16px 10px 5px; color: #79836e; }
.studio-shell .nav-item { color: #535f49; padding: 8px 10px; font-size: 12px; gap: 10px; min-height: 34px; border-radius: 6px; margin: 1px 0; }
.studio-shell .nav-item:hover { background: #e7ecdd; color: #304529; }
.studio-shell .nav-item.active { background: #dfe7d5; color: #304928; font-weight: 600; }
.studio-shell .nav-item.active .icon { color: #405d31; }
.studio-shell .nav-count { background: #d4dfc5; color: #536448; font-size: 10px; }
.studio-shell .sidebar-footer { padding: 22px 5px 0; }
.studio-shell .sidebar-footer .button { color: #56644c; padding: 7px 4px; font-size: 11px; }
.studio-shell .connection-note { color: #728166; font-size: 10px; padding: 8px 4px; }
.studio-shell .connection-note i { background: #798f66; }
.studio-shell .main-shell { grid-column: 2; grid-row: 2; min-width: 0; background: var(--bg); }
.studio-shell .topbar { height: 52px; padding: 0 27px; background: #fafaf4; border-color: var(--line); }
.studio-shell .breadcrumbs { font-size: 12px; color: #747d6b; }
.studio-shell .breadcrumbs strong { color: #3e4b35; font-weight: 550; }
.studio-shell .breadcrumbs span { color: #aab29f; }
.studio-shell .project-select { font-size: 12px; background: var(--surface); color: #4f5e43; border-color: #d6ddcb; border-radius: 6px; padding: 7px 10px; }
.studio-shell .context-bar { background: #f5f6ee; padding: 9px 27px; font-size: 10px; color: #738065; gap: 10px; }
.studio-shell .mode-pill { color: #687750; background: #e9edde; border-color: #d8dfcb; border-radius: 4px; font-size: 8px; }
.studio-shell .mode-pill.cloud { background: #e7edde; color: #4c693c; border-color: #d1dfc1; }
.studio-shell .sync-indicator { font-size: 10px; line-height: 1.5; color: #6f7b61; }
.studio-shell .workspace-body { padding: 27px 27px 48px; max-width: 1760px; }
.studio-view-chat .workspace-body, .studio-view-roundtables .workspace-body { max-width: none; padding: 22px 20px 28px; }
.studio-view-work .workspace-body { max-width: none; padding: 24px 22px 34px; }
.studio-skip { position: fixed; top: -100px; left: 15px; z-index: 100; padding: 12px 18px; color: #263b20; background: #f5f8ee; border: 2px solid #b8cc9e; border-radius: 6px; }
.studio-skip:focus { top: 10px; }
.studio-shell .main-shell:focus { outline: none; }
@media (max-width: 1250px) {
  .studio-workspace-name { display: none; }
  .studio-masthead { gap: 15px; padding: 0 20px; }
  .studio-category { padding: 0 11px; font-size: 12px; }
  .studio-shell { grid-template-columns: 176px minmax(0, 1fr); }
  .studio-shell .workspace-body { padding-left: 22px; padding-right: 22px; }
  .studio-view-chat .workspace-body, .studio-view-roundtables .workspace-body { padding-left: 17px; padding-right: 17px; }
}
@media (max-width: 960px) {
  .studio-masthead { gap: 12px; }
  .studio-masthead .wordmark { font-size: 25px; }
  .studio-category { padding: 0 8px; font-size: 11px; }
  .studio-masthead .user-avatar { display: none; }
  .studio-all-views > summary { font-size: 11px; }
  .studio-shell .workspace-body { padding: 24px 20px 35px; }
  .studio-context-note { display: none; }
  .studio-view-menu { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(640px, calc(100vw - 32px)); }
  .studio-view-menu section:nth-child(3) { border-right: 0; }
  .studio-view-menu section:nth-child(4), .studio-view-menu section:nth-child(5) { border-top: 1px solid var(--line); padding-top: 16px; }
}
@media (max-width: 736px) {
  .studio-shell { display: block; }
  .studio-masthead { height: 56px; justify-content: space-between; padding: 0 17px; position: sticky; }
  .studio-categories { display: none; }
  .studio-all-views > summary { font-size: 12px; }
  .studio-shell .sidebar { position: static; display: block; padding: 7px 12px; height: auto; width: 100%; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line); }
  .studio-shell .sidebar-workspace, .studio-shell .nav-section { display: none; }
  .studio-shell .sidebar nav { display: flex; gap: 3px; padding: 0; overflow-x: auto; scrollbar-width: thin; }
  .studio-shell .nav-item { width: auto; min-height: 36px; white-space: nowrap; flex-shrink: 0; padding: 8px 11px; font-size: 12px; }
  .studio-shell .nav-item .icon { width: 15px; height: 15px; }
  .studio-shell .sidebar-footer { display: block; padding: 0; }
  .studio-shell .sidebar-footer .connection-note { display: none; }
  .studio-shell .sidebar-footer .button { padding: 6px 9px; min-height: 30px; font-size: 10px; }
  .studio-shell .topbar { padding: 0 17px; height: 49px; gap: 12px; }
  .studio-shell .breadcrumbs { font-size: 11px; gap: 8px; }
  .studio-shell .project-select { max-width: 160px; font-size: 11px; }
  .studio-shell .context-bar { padding: 8px 17px; }
  .studio-shell .sync-indicator { display: block; margin-left: auto; font-size: 9px; max-width: 62%; text-align: right; }
  .studio-shell .workspace-body { padding: 23px 16px 35px; }
  .studio-view-chat .workspace-body, .studio-view-roundtables .workspace-body, .studio-view-work .workspace-body { padding: 19px 12px 30px; }
  .studio-view-menu { top: 63px; right: 12px; width: calc(100vw - 24px); padding: 18px; gap: 17px 12px; max-height: calc(100dvh - 80px); }
  .studio-view-menu h2 { font-size: 11px; }
  .studio-view-link { font-size: 12px; padding: 11px 5px; }
  .studio-view-menu-footer { gap: 16px; flex-wrap: wrap; }
  .studio-view-menu-footer > span { width: 100%; margin: 0; }
  .page-heading { gap: 14px; flex-wrap: wrap; }
  .page-heading h1 { font-size: 26px; }
  .heading-actions .button { font-size: 12px; }
  .page-subtitle { font-size: 12px; }
  .metrics-grid { gap: 11px; }
  .metric-card { padding: 16px; }
  .metric-label { font-size: 12px; }
  .metric-detail { font-size: 11px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-description { min-height: 0; }
  .activity-time { font-size: 10px; white-space: normal; }
  .task-row { flex-wrap: wrap; gap: 10px; }
  .task-meta { flex-wrap: wrap; }
  .priority-pill { font-size: 10px; }
  .login-shell { background: #f7f7ee; }
}
@media (max-width: 420px) {
  .studio-view-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-view-menu section { border: 0; padding: 0; }
  .studio-view-menu section:nth-child(n+3) { border-top: 1px solid var(--line); padding-top: 14px; }
  .studio-shell .breadcrumbs { gap: 5px; font-size: 10px; }
  .studio-shell .project-select { max-width: 138px; }
  .metric-label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
/* Conversation and work panes get a compact route rail; All views keeps labels one click away. */
@media (min-width: 737px) {
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) { grid-template-columns: 58px minmax(0, 1fr); }
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) .sidebar { padding: 13px 7px; }
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) .sidebar-workspace,
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) .nav-section,
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) .connection-note { display: none; }
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) .nav-item { position: relative; justify-content: center; min-height: 37px; padding: 9px; margin: 2px 0; }
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) .nav-item > span,
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) .sidebar-footer .button > span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) .nav-item .icon { width: 18px; height: 18px; }
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) .sidebar-footer { padding: 12px 0 0; }
  .studio-shell:is(.studio-view-chat, .studio-view-roundtables, .studio-view-work) .sidebar-footer .button { width: 100%; justify-content: center; padding: 8px; }
}
/* Download/install choices are ordinary readable controls, never edge-clipped. */
.integration-downloads { padding: 22px; margin-bottom: 22px; }
.integration-downloads .pp-heading { margin-bottom: 18px; }
.integration-downloads .pp-heading h2 { font-size: 19px; }
.integration-downloads .toolbar { justify-content: flex-start; gap: 10px; }
.integration-downloads .toolbar .button { text-decoration: none; }
.integration-downloads .field { max-width: 580px; }
.integration-downloads > p { font-size: 12px; line-height: 1.75; }
.integration-downloads > p + p { margin-top: 8px; }
@media (max-width: 600px) {
  .integration-downloads { padding: 17px; }
  .integration-downloads .toolbar .button { flex: 1 1 auto; white-space: normal; }
}
/* Small text keeps normal-text contrast on the warm surfaces. */
.studio-shell .nav-section, .studio-shell .sidebar-workspace small { color: #65705b; }
.studio-shell .context-bar, .studio-shell .sync-indicator { color: #606d52; }
.studio-shell .connection-note { color: #637055; }
.metric-detail, .chart-label, .chart-legend, .activity-meta, .activity-time { color: #66715b; }
/* Setup and demonstration controls remain named and expandable outside daily work. */
.demo-toolbar-disclosure { border: 1px solid #d7dfc8; border-radius: 7px; background: #f0f3e8; margin-bottom: 14px; }
.demo-toolbar-disclosure > summary { cursor: pointer; font-size: 11px; line-height: 1.5; color: #536946; padding: 8px 12px; }
.demo-toolbar-disclosure .demo-toolbar { border: 0; border-top: 1px solid #d7dfc8; border-radius: 0; margin: 0; }
.agent-setup { margin-bottom: 20px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.agent-setup > summary { padding: 14px 18px; cursor: pointer; color: #4d643b; font-size: 13px; font-weight: 550; }
.agent-setup > .integration-downloads { border: 0; border-top: 1px solid var(--line); margin: 0; border-radius: 0 0 9px 9px; }
