:root{--bg:#f3f4f6;--sidebar:#ffffff;--surface:#ffffff;--surface-raised:#ffffff;--surface-hover:#f1f5f4;--border:#e3e6ea;--text:#1f2328;--muted:#5b6470;--dim:#5b6470;--blue:#1b7f6e;--blue-hover:#166b5d;--green:#1b7f6e;--amber:#8a5a00;--red:#b42318;--accent-soft:#e6f2ef;--radius:10px;--shadow:0 12px 32px #0f172a1a;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;font-size:16px;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button,a{transition:background .15s,color .15s,border-color .15s,box-shadow .15s}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:#1b7e6a;text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #209780;outline-offset:3px}input,select,textarea{min-width:0;width:100%;border:1px solid #d3d7dc;border-radius:8px;background:#fefefe;color:var(--text);padding:10px 12px;min-height:44px}input::placeholder,textarea::placeholder{color:#6c7889;opacity:1}textarea{resize:vertical;min-height:104px}input[type=checkbox]{width:18px;height:18px;min-height:0;accent-color:var(--blue);flex-shrink:0}select:not([multiple]){appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23bac8dd' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}select[multiple]{min-height:126px;padding:6px}select[multiple] option{padding:6px 9px;border-radius:4px}label{display:block;font-size:14px;font-weight:600;margin-bottom:7px;color:#2e333b}h1,h2,h3,h4,p{margin-top:0}h1{font-size:30px;line-height:1.2;letter-spacing:-.6px;margin-bottom:8px}h2{font-size:20px;line-height:1.35;margin-bottom:12px;letter-spacing:-.15px}h3{font-size:17px;line-height:1.4;margin-bottom:7px}p{margin-bottom:14px}small,.small{font-size:14px}.muted{color:var(--muted)}.dim{color:var(--dim)}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;overflow-wrap:anywhere}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:var(--blue);color:white;padding:12px 20px;border-radius:8px}.skip-link:focus{top:16px}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;padding:29px 18px 15px;background:var(--sidebar);border-right:1px solid var(--border);display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 31px;color:var(--text)}.brand:hover{text-decoration:none}.brand-mark{width:38px;height:38px;display:grid;place-items:center;font-weight:750;font-size:25px;background:linear-gradient(145deg,#1b7e6a,#209780);border-radius:10px;box-shadow:0 5px 18px #1b7e6a25;color:white}.brand strong{font-size:24px;line-height:1.1;display:block;letter-spacing:-.8px;max-width:153px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand small{font-size:10px;letter-spacing:1.25px;color:#596472;display:block;margin-top:5px}.workspace-label{font-size:10px;letter-spacing:1.4px;color:var(--dim);padding:0 12px 13px}.nav-link{display:flex;gap:12px;align-items:center;padding:11px 13px;min-height:46px;border-radius:9px;color:#48515c;margin:3px 0;font-size:15px;font-weight:500}.nav-link:hover{background:#f1f5f4;color:var(--text);text-decoration:none}.nav-link.active{background:var(--accent-soft);color:var(--text);font-weight:600;box-shadow:none}.icon{width:20px;height:20px;flex-shrink:0;stroke:currentColor;stroke-width:1.75;fill:none;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.nav-link .icon{opacity:.88}.nav-count{margin-left:auto;font-size:12px;line-height:22px;padding:0 7px;background:#0f172a08;border-radius:6px;color:#393f48}.sidebar-bottom{margin-top:auto;padding-top:34px}.local-card{display:flex;gap:10px;align-items:center;padding:12px 10px;margin-bottom:18px;border:1px solid #e2e4e8;background:#f8f9fa;border-radius:10px}.local-symbol{display:grid;place-items:center;width:28px;height:28px;color:#209780;background:#e8eaed;border-radius:7px}.local-card strong{font-size:12px;display:block}.local-card span:not(.local-symbol){font-size:10px;color:#56606e;display:block;margin-top:2px}.operator{display:flex;align-items:center;gap:10px;padding:2px 9px}.avatar{width:34px;height:34px;border-radius:50%;background:#e1e3e7;display:grid;place-items:center;font-size:11px;letter-spacing:.4px;flex-shrink:0}.operator strong{font-size:12px;display:block}.operator small{font-size:10px;display:block;color:var(--dim);margin-top:1px}.version{font-size:10px;color:#748092;padding:17px 11px 0}.app-shell{margin-left:248px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:76px;border-bottom:1px solid #e9ebee;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 34px;background:#fefefe}.breadcrumb{display:flex;gap:13px;align-items:center;font-size:14px;color:var(--muted)}.breadcrumb-divider{color:#8892a1}.breadcrumb strong{font-weight:500;color:#2c3138}.topbar-right{display:flex;align-items:center;gap:22px}.connection{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#464d59;white-space:nowrap}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green)}.connection.offline{color:var(--amber)}.connection.offline .status-dot{background:var(--amber)}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #d2d6db;background:#f5f6f7;padding:10px 16px;min-height:44px;border-radius:8px;font-size:14px;font-weight:600;color:#292e34;white-space:nowrap;line-height:1.4}.button:hover:not(:disabled){background:#e2e5e8;border-color:#7f8a9a;text-decoration:none}.button.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 3px 12px #1b7e6a21}.button.primary:hover:not(:disabled){background:var(--blue-hover);border-color:var(--blue-hover)}.button.primary span{font-size:20px;line-height:1}.button.compact{min-height:38px;padding:8px 13px}.button.danger{color:#800016;border-color:#f5ebee;background:#f8f2f6}.button.danger:hover:not(:disabled){background:#f7eff3;border-color:#7c394b}.button.ghost{background:transparent;border-color:transparent;color:#1b7e6a}.button.ghost:hover{background:#f4f5f7}.button.subtle{background:#f8f8f9;border-color:#dee1e5}.icon-button{width:36px;height:36px;background:transparent;border:1px solid transparent;color:var(--muted);border-radius:8px;display:grid;place-items:center;flex-shrink:0}.icon-button:hover{background:#e4e6e9;color:white}.menu-button{display:none;font-size:22px}main{width:100%;max-width:1600px;margin:0 auto;padding:33px 34px 40px;flex:1}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:26px}.page-heading p{color:var(--muted);margin-bottom:0;font-size:15px;max-width:700px}.eyebrow{font-size:11px;letter-spacing:1.7px;color:#5c6675;text-transform:uppercase;font-weight:700;margin-bottom:9px}.heading-actions{display:flex;gap:10px;padding-top:8px;flex-shrink:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat-card{padding:19px 21px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);position:relative;overflow:hidden}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:14px}.stat-icon{padding:7px;border-radius:9px;background:#e5e8eb;color:#209780;line-height:0}.stat-value{font-size:34px;line-height:1.1;font-weight:650;letter-spacing:-1px;margin:9px 0 8px}.stat-note{font-size:12px;color:var(--dim)}.stat-card.active-card{background:#f6f7f8;border-color:#d5d8de}.stat-card.active-card .stat-icon{background:#dadee2;color:#1b7e6a}.grid-main{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:22px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}.panel.padded{padding:23px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:21px 23px;border-bottom:1px solid #e6e9ec}.panel-header h2{margin:0;font-size:18px}.panel-header .button{margin:-5px -9px -5px 0}.panel-header p{font-size:14px;color:var(--muted);margin:3px 0 0}.stack{display:flex;flex-direction:column;gap:22px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.section-heading h2{margin:0}.section-heading p{color:var(--muted);font-size:14px;margin:4px 0 0}.coordinator{background:var(--surface);border:1px solid var(--border);padding:22px 23px;border-radius:var(--radius)}.coordinator-head{display:flex;align-items:flex-start;gap:13px}.coordinator-symbol{display:grid;place-items:center;width:42px;height:42px;background:#dee1e5;border:1px solid #cdd1d7;border-radius:11px;color:#1b7e6a;flex-shrink:0}.coordinator h2{font-size:18px;margin:0 0 3px}.coordinator p{color:#474f5a;font-size:14px;margin:0}.coordinator .button-row{margin-top:18px}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;border-radius:6px;padding:3px 8px;font-size:12px;line-height:1.6;font-weight:600;background:#e6e8eb;color:#424a54;border:1px solid transparent}.badge.blue{color:#14594d;background:#e6f2ef;border-color:#cfe5df}.badge.green{color:#176958;background:#f0faf8;border-color:#ecf8f6}.badge.amber{color:#76520a;background:#f8f6f0;border-color:#f7f3ec}.badge.red{color:#800016;background:#f7f0f4;border-color:#f4ecf0}.badge.neutral{background:#e9ebee;color:#4d5662}.badge.outline{border-color:#d9dde1;background:#f8f9f9;color:#454d58}.badge.large{font-size:14px;padding:4px 10px}.button-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.coordinator-row{display:flex;align-items:center;justify-content:space-between;gap:15px}.list-row{padding:16px 23px;border-bottom:1px solid #e7e9ec;display:flex;align-items:center;justify-content:space-between;gap:15px}.list-row:last-child{border-bottom:none}.list-row-title{font-size:15px;font-weight:600;margin-bottom:3px;color:#2b3037}.list-row-meta{font-size:13px;color:var(--muted)}.row-button{border:0;background:transparent;width:100%;text-align:left;color:inherit}.row-button:hover{background:#f5f6f7}.row-title-group{min-width:0}.row-title-group .list-row-title{overflow-wrap:anywhere}.progress{height:5px;overflow:hidden;background:#e5e7ea;border-radius:5px}.progress span{height:100%;display:block;background:#209780;border-radius:5px}.project-progress{width:86px;margin-top:8px}.empty{padding:34px 24px;text-align:center;color:var(--muted)}.empty .empty-icon{margin:0 auto 14px;color:#5a6473;background:#e8eaed;border:1px solid #d9dde1;width:48px;height:48px;border-radius:13px;display:grid;place-items:center}.empty h3{color:#2d3239;font-size:17px;margin-bottom:7px}.empty p{font-size:14px;max-width:480px;margin:0 auto 17px}.empty.compact{padding:25px 22px}.empty.compact p{margin-bottom:0}.activity-row{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #e5e7ea}.activity-row:last-child{border-bottom:none;padding-bottom:0}.activity-icon{width:29px;height:29px;border:1px solid #d9dce1;border-radius:8px;display:grid;place-items:center;flex-shrink:0;color:#209780}.activity-icon .icon{width:15px;height:15px}.activity-row p{font-size:14px;margin:0 0 3px;overflow-wrap:anywhere}.activity-row small{font-size:12px;color:var(--dim)}.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.project-card,.agent-card,.knowledge-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:21px;display:flex;flex-direction:column;gap:16px}.card-title-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.card-title-row h2{margin:0 0 2px;font-size:19px;overflow-wrap:anywhere}.project-icon{display:grid;place-items:center;background:#dee1e5;color:#1b7e6a;width:38px;height:38px;border-radius:10px;margin-bottom:14px}.project-card p,.agent-card p,.knowledge-card p{font-size:14px;color:var(--muted);margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e3e6e9;padding-top:14px;margin-top:auto;font-size:13px;color:var(--muted)}.project-stats{display:flex;gap:20px;color:var(--muted);font-size:13px}.project-stats strong{display:block;color:var(--text);font-size:22px;font-weight:600;line-height:1.3;margin-bottom:2px}.toolbar{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-bottom:18px}.search-field{position:relative;flex:1;min-width:210px}.search-field input{padding-left:40px;background:var(--surface)}.search-field .icon{position:absolute;top:12px;left:12px;color:var(--dim);width:18px;height:18px}.toolbar select{width:auto;min-width:170px;background-color:var(--surface);font-size:14px;min-height:44px}.filter-count{font-size:13px;color:var(--muted);margin-left:auto}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;font-size:14px}.data-table th{padding:13px 19px;text-align:left;font-weight:500;color:#57616f;font-size:12px;white-space:nowrap;background:#fbfbfc}.data-table td{padding:17px 19px;border-top:1px solid #e4e6e9;vertical-align:middle}.data-table tbody tr:hover{background:#f6f7f8}.data-table .task-title{font-weight:600;color:#2a2f35;background:none;border:none;text-align:left;padding:0;font-size:15px;line-height:1.45}.data-table .task-title:hover{color:#1b7e6a;text-decoration:underline}.task-id{display:block;font-size:11px;color:var(--dim);margin-top:3px;font-family:ui-monospace,Consolas,monospace}.task-project{font-size:13px;color:#464e5a}.risk{font-size:12px;padding:3px 6px;border:1px solid #d3d7dd;border-radius:5px;color:#454d58;white-space:nowrap}.risk.high{border-color:#f2eaec;color:#770914;background:#f7f1f5}.agent-avatar{width:42px;height:42px;display:grid;place-items:center;font-size:14px;font-weight:650;letter-spacing:.2px;background:#dde0e4;border:1px solid #cdd2d8;border-radius:12px;color:#14594d;background:#e6f2ef;border-color:#cfe5df}.agent-card h2{font-size:17px}.agent-header{display:flex;align-items:center;gap:12px}.agent-scope{display:flex;gap:5px;flex-wrap:wrap}.agent-scope .badge{font-size:11px}.agent-status{display:flex;align-items:center;gap:6px;color:#555e6c;font-size:13px}.inline-note{padding:13px 17px;border:1px solid #dadde2;background:#f7f7f8;border-radius:10px;font-size:14px;color:#444c57;margin-bottom:22px;display:flex;gap:10px;align-items:flex-start}.inline-note .icon{margin-top:1px;flex-shrink:0;width:18px;height:18px}.knowledge-list{display:grid;gap:16px}.knowledge-card{padding:22px;gap:12px}.knowledge-card h2{font-size:19px;margin:0}.knowledge-body{color:#353b44!important;white-space:pre-wrap}.knowledge-source{font-size:12px;color:var(--dim);overflow-wrap:anywhere}.knowledge-card .card-footer{padding-top:12px}.event-kind{font-size:12px;color:#505966}.event-message{max-width:550px;overflow-wrap:anywhere}.settings-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.9fr);gap:22px}.field{margin-bottom:18px}.field:last-child{margin-bottom:0}.field-help{display:block;color:var(--muted);font-size:12px;margin-top:6px;line-height:1.5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.form-grid .full{grid-column:1/-1}.checkbox-row{display:flex;align-items:center;gap:9px;font-weight:400;font-size:14px;cursor:pointer;margin-bottom:9px}.checkbox-list{max-height:180px;overflow-y:auto;border:1px solid #d6dadf;border-radius:8px;padding:12px;background:#fefefe}.checkbox-list .checkbox-row:last-child{margin-bottom:0}.provider{padding:20px 0;border-bottom:1px solid var(--border)}.provider:first-of-type{padding-top:4px}.provider:last-of-type{padding-bottom:0;border-bottom:none}.provider-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.provider h3{margin:0;font-size:16px}.provider .field{margin-bottom:12px}.provider .button-row{margin-top:13px}.provider .field-help{font-size:12px}.settings-info{margin:0}.settings-info div{padding:11px 0;border-bottom:1px solid #e4e6ea;display:flex;gap:15px;justify-content:space-between;font-size:14px}.settings-info div:last-child{border:0}.settings-info dt{color:var(--muted)}.settings-info dd{margin:0;text-align:right;overflow-wrap:anywhere}.app-footer{padding:12px 34px 22px;font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:15px}.loading{text-align:center;padding:100px 20px}.loading h1{font-size:22px;margin-top:23px}.loading p{color:var(--muted);font-size:14px}.spinner{display:inline-block;width:26px;height:26px;border:3px solid #dbdee3;border-top-color:#209780;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.connection-error{background:#f9f6f1;color:#744e0b;border-bottom:1px solid #f7f2eb;padding:12px 34px;font-size:14px}.connection-error button{margin-left:15px}.modal{border:1px solid #d2d6dc;border-radius:17px;background:#f9fafb;color:var(--text);box-shadow:var(--shadow);padding:0;max-height:88vh;width:min(630px,calc(100vw - 28px));margin:auto;overflow-y:auto}.modal::backdrop{background:#0f172a66;backdrop-filter:blur(3px)}.modal.task-modal{width:min(900px,calc(100vw - 28px))}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 25px 18px;border-bottom:1px solid #dfe2e6;background:#f8f8f9}.modal-header h2{font-size:22px;line-height:1.35;margin:0;overflow-wrap:anywhere}.modal-header p{font-size:13px;color:var(--muted);margin:5px 0 0}.modal-body{padding:23px 25px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:17px 25px;border-top:1px solid #dfe2e6;background:#f9f9fa}.modal-footer .button{min-width:110px}.form-error{color:#800019;background:#f7f0f5;border:1px solid #f5ebef;border-radius:8px;font-size:14px;padding:11px 13px;margin-bottom:17px}.task-meta{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:18px}.task-description{white-space:pre-wrap;overflow-wrap:anywhere;color:#3d444e;font-size:15px;margin-bottom:20px}.workflow{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:20px 0 24px}.workflow-step{font-size:12px;text-align:center;color:#6b7788;border-top:3px solid #dde0e4;padding-top:8px}.workflow-step.current{border-color:#209780;color:#1b7e6a}.workflow-step.complete{border-color:#e3f4f0;color:#255a50}.task-detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(180px,.8fr);gap:22px}.detail-section{border:1px solid #dee1e5;border-radius:11px;padding:17px;background:#fbfbfc;margin-bottom:17px}.detail-section h3{margin:0 0 12px;font-size:16px}.detail-section p{font-size:14px;color:var(--muted)}.detail-section p:last-child{margin-bottom:0}.detail-section .field:last-of-type{margin-bottom:16px}.detail-section .field label{font-size:13px}.detail-section .field textarea{font-size:14px;min-height:80px}.detail-section .field input,.detail-section .field select{font-size:14px}.detail-section .button{min-height:39px;font-size:13px;padding:8px 12px}.detail-section .button-row{gap:7px}.detail-section .field-help{font-size:11px}.detail-section details{font-size:13px}.detail-section summary{cursor:pointer;color:#1b7e6a}.detail-section .digest{margin-top:7px;font-size:11px;color:#5e6877}.detail-info{margin:0}.detail-info dt{font-size:12px;color:var(--dim);margin-top:13px}.detail-info dt:first-child{margin-top:0}.detail-info dd{font-size:14px;margin:3px 0 0;overflow-wrap:anywhere}.blocker{border-left:3px solid #866328;background:#f8f5f1;color:#6c4e14;padding:9px 12px;font-size:13px;margin-bottom:8px;border-radius:0 6px 6px 0}.review-item{padding:11px 0;border-bottom:1px solid #e2e4e8;font-size:13px}.review-item:last-child{padding-bottom:0;border-bottom:none}.review-item:first-of-type{padding-top:0}.review-item p{font-size:13px;margin:5px 0 0}.review-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.evidence-list{margin:9px 0 0;padding-left:20px;color:#424a54;font-size:13px;overflow-wrap:anywhere}.dependency-button{border:0;background:transparent;text-align:left;color:#1b7e6a;padding:6px 0;font-size:13px;display:block;width:100%}.dependency-button:hover{text-decoration:underline}.task-bottom{padding:15px 25px;border-top:1px solid #dfe2e6;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f9f9fa}.task-bottom span{font-size:11px;color:var(--dim);max-width:480px}.toast-region{position:fixed;bottom:22px;right:24px;z-index:100;display:flex;flex-direction:column;gap:10px;max-width:440px}.toast{padding:13px 17px;border:1px solid var(--border);border-left:4px solid var(--blue);background:#fff;box-shadow:0 10px 35px #0f172a1f;border-radius:10px;font-size:14px;color:var(--text);display:flex;align-items:flex-start;gap:12px}.toast.error{background:#fff;color:#b42318;border-color:#f3c9c4;border-left-color:#b42318}.toast button{border:0;background:transparent;color:inherit;padding:0;font-size:18px;line-height:1.1;margin-left:auto}.muted-link{color:#4d5662}.text-button{border:0;background:transparent;color:#1b7e6a;font-size:14px;padding:0;text-align:left}.text-button:hover{text-decoration:underline}.nowrap{white-space:nowrap}.screen-reader-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.form-error[hidden],[hidden]{display:none!important}
@media(min-width:1600px){main{padding-top:40px}.stats{gap:20px}.stat-card{padding:23px}.card-grid{gap:22px}}
@media(max-width:1200px){.sidebar{width:218px;padding-left:13px;padding-right:13px}.brand{padding-left:8px}.brand strong{font-size:22px}.app-shell{margin-left:218px}.topbar{padding:0 25px}main{padding:28px 25px}.grid-main{grid-template-columns:minmax(0,1.25fr) minmax(260px,1fr)}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:16px}.stat-top{font-size:13px}.stat-value{font-size:30px}.connection{font-size:12px}.topbar-right{gap:13px}.breadcrumb{font-size:12px;gap:9px}.app-footer{padding-left:25px;padding-right:25px}.settings-grid{grid-template-columns:1fr}.data-table th,.data-table td{padding-left:14px;padding-right:14px}}
@media(max-width:980px){.sidebar{width:190px;padding:26px 10px 12px}.app-shell{margin-left:190px}.brand{gap:8px;padding-left:7px}.brand strong{font-size:21px;max-width:118px}.brand small{font-size:8px}.brand-mark{width:32px;height:34px;font-size:23px}.workspace-label{font-size:8px}.nav-link{font-size:14px;gap:9px}.local-card{padding:10px 8px;gap:8px}.local-card strong{font-size:10px}.local-card span:not(.local-symbol){font-size:8px}.operator strong{font-size:10px}.operator small{font-size:8px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-main{grid-template-columns:1fr}.topbar{padding:0 20px}.breadcrumb>span:first-child,.breadcrumb-divider{display:none}.connection{display:none}main{padding:26px 20px}.page-heading{flex-wrap:wrap}.page-heading h1{font-size:27px}.page-heading p{font-size:14px}.heading-actions{padding-top:0}.app-footer{padding-left:20px;padding-right:20px}.task-detail-grid{grid-template-columns:1fr}.task-aside{display:grid;grid-template-columns:1fr 1fr;gap:17px}.task-aside .detail-section{margin-bottom:0}.task-modal .modal-body{padding-bottom:20px}}
@media(max-width:720px){.sidebar{transform:translateX(-100%);width:248px;transition:transform .2s;padding:25px 18px;background:#fff;box-shadow:none}.sidebar.open{transform:translateX(0);box-shadow:15px 0 60px #0f172a33}.brand strong{font-size:24px;max-width:153px}.brand small{font-size:10px}.brand-mark{width:38px;height:38px;font-size:25px}.workspace-label{font-size:10px}.nav-link{font-size:15px;gap:12px}.local-card strong,.operator strong{font-size:12px}.local-card span:not(.local-symbol),.operator small{font-size:10px}.app-shell{margin-left:0}.menu-button{display:grid}.topbar{height:65px;padding:0 16px;gap:10px}.breadcrumb{margin-right:auto;font-size:13px}.topbar-right .button{font-size:12px;padding:7px 10px}.topbar-right .button span{font-size:17px}main{padding:25px 17px}.page-heading{gap:14px;margin-bottom:20px}.page-heading h1{font-size:26px}.stats{gap:11px;margin-bottom:18px}.stat-card{padding:14px}.stat-value{font-size:29px}.stat-icon{padding:5px}.stat-icon .icon{width:17px;height:17px}.stat-note{font-size:10px}.stat-top{font-size:12px}.panel-header{padding:18px}.panel.padded,.coordinator{padding:18px}.list-row{padding:15px 18px}.grid-main,.stack{gap:18px}.card-grid{grid-template-columns:1fr}.toolbar{gap:8px}.toolbar select{min-width:0;flex:1;font-size:12px}.search-field{min-width:100%;}.filter-count{width:100%;font-size:12px;margin-left:0}.app-footer{flex-direction:column;align-items:flex-start;gap:3px;padding:10px 17px 20px;font-size:10px}.data-table{min-width:650px}.modal-header{padding:18px 19px}.modal-body{padding:20px 19px}.modal-footer{padding:15px 19px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.modal-header h2{font-size:20px}.task-bottom{padding:15px 19px;align-items:flex-start;flex-direction:column}.task-aside{grid-template-columns:1fr}.workflow-step{font-size:10px}.task-meta{gap:7px}.badge.large{font-size:12px}.toast-region{left:17px;right:17px;bottom:15px;max-width:none}.connection-error{padding:11px 17px}.provider-head{align-items:flex-start}.provider-head h3{max-width:60%;overflow-wrap:anywhere}.event-message{min-width:230px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Supporting controls share the same palette and remain compatible with a strict CSP. */
.heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.capacity-summary{margin:0 0 18px;color:#434b56;font-size:13px}.capacity-summary p{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0}.capacity-summary strong{font-weight:600}.capacity-summary span{color:var(--dim)}.capacity-summary p.capacity-warning{margin-top:7px;color:#6e4b11}.coordinator .capacity-summary{margin-top:16px;margin-bottom:0}.dispatch-notice{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:20px;padding:14px 17px;border:1px solid #f7f3ea;border-radius:10px;background:#f9f9fa;color:#674e18;font-size:13px}.dispatch-notice>div{display:flex;align-items:flex-start;gap:10px;flex:1;min-width:220px}.dispatch-notice .icon{flex-shrink:0}.dispatch-notice .button{flex-shrink:0}[data-dispatch-status]{margin-bottom:18px}
progress{appearance:none;border:0;border-radius:5px;overflow:hidden;background:#e5e7ea;display:block;height:5px;color:#209780}progress::-webkit-progress-bar{background:#e5e7ea;border-radius:5px}progress::-webkit-progress-value{background:#209780;border-radius:5px}progress::-moz-progress-bar{background:#209780;border-radius:5px}.project-full-progress{width:100%}.coordinator p.coordinator-explainer{margin-top:16px;font-size:12px;color:#4f5864;line-height:1.65}.full-width{width:100%;margin-top:15px}.small-avatar{width:30px;height:30px;border-radius:9px;font-size:12px}.result-count{margin:13px 0 0;font-size:12px;color:var(--dim)}.details-field{margin-top:15px}.section-separator{border-top:1px solid #e1e4e7;margin:17px 0}.result-details{margin-top:15px}.scenario-caption{display:block;font-size:11px;color:var(--dim);margin-top:3px}.task-criteria{padding:15px 18px;border:1px solid #dee1e5;border-radius:9px;background:#f9f9fa}.task-criteria h3{font-size:14px;margin:0 0 7px}.task-criteria ul{margin:0;padding-left:18px;font-size:14px;color:#434b56}.task-criteria li+li{margin-top:5px}

/* Ecosystem operations */
.ecosystem-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.ecosystem-summary section{display:flex;flex-direction:column;gap:12px}
.ecosystem-summary strong{font-size:36px;line-height:1.2}.ecosystem-summary .text-value{font-size:22px}
.ecosystem-purpose{display:block;max-width:430px;margin-top:7px;color:var(--muted,#5e6978);font-size:12px;white-space:normal;line-height:1.5}
.ecosystem-table td{vertical-align:top}.ecosystem-table a{color:inherit;text-decoration:none}.ecosystem-table a:hover{text-decoration:underline}
.ecosystem-section{margin-top:24px}.ecosystem-empty{padding:24px;color:var(--muted,#5e6978);line-height:1.6}
.ecosystem-results{display:grid;gap:16px;padding:20px}.ecosystem-result{padding:18px;border:1px solid var(--border,#e7e9ec);border-radius:12px;min-width:0}
.ecosystem-result h3{margin:0 0 7px}.ecosystem-result details{margin:14px 0}.ecosystem-result summary{cursor:pointer}
.ecosystem-result pre{padding:14px;overflow:auto;max-height:340px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5;background:rgba(0,0,0,.18);border-radius:8px}
@media(max-width:760px){.ecosystem-summary{grid-template-columns:1fr}.ecosystem-summary strong{font-size:28px}.ecosystem-results{padding:12px}}

.brand-logo{display:grid;place-items:center;flex-shrink:0;line-height:0}.brand-logo svg{border-radius:10px;box-shadow:0 4px 14px #1b7f6e2e}.brand .brand-word{font-size:21px!important;font-weight:800;letter-spacing:1.6px!important;color:var(--text);max-width:none!important}.brand #brandName{font-size:12px!important;font-weight:700;letter-spacing:.6px!important;color:var(--blue);margin-top:3px;text-transform:none}

/* audit fixes */
.toast-region{z-index:2147483647}
dialog .toast-region{position:fixed}
.badge.red,.emergency-banner{color:#b42318}
.emergency-banner{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px;padding:16px 18px;border:1px solid #f3c9c4;border-left:4px solid #b42318;border-radius:10px;background:#fff}
.emergency-banner strong{display:block;color:#b42318;font-size:16px}
.emergency-banner p{margin:4px 0 0;color:var(--text)}
.button.danger{border-color:#f3c9c4}
.result-count,dt{color:var(--muted)}
.sidebar small,.sidebar .small{font-size:12px}
.task-id,.mono{font-feature-settings:"calt" 0}
.panel form[data-token-form],.panel form[data-mfa-form]{padding:24px}
.event-kind{display:none}
@media(max-width:720px){
 .heading-actions{flex-wrap:wrap;width:100%;justify-content:stretch}
 .heading-actions .button{flex:1 1 100%;justify-content:center}
 .page-heading{flex-wrap:wrap}
 .modal-header{position:sticky;top:0;z-index:2;background:var(--surface)}
 .toast-region .toast:nth-last-child(n+3){display:none}
 body.nav-open::after{content:"";position:fixed;inset:0;background:#0f172a55;z-index:29}
}
@media(max-width:480px){.filter-toolbar,.filters{grid-template-columns:1fr!important;display:grid}}

/* API account onboarding: secrets never appear in read models. */
.provider-run{margin-top:18px;padding-top:14px;border-top:1px solid var(--border,#e1e4e7)}.provider-run code{overflow-wrap:anywhere;white-space:normal}.provider-modal input[readonly]{background:#f5f6f7;color:#57616b}.provider-modal .field:has(input[readonly]) label{color:#57616b}
.provider-connections{margin-bottom:24px}.provider-storage{margin:16px 0;padding:13px 15px;background:#edf7f4;border:1px solid #cce6dc;border-radius:9px;color:#215947;font-size:13px;line-height:1.6}.provider-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.provider-accounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.provider-account{min-width:0;padding:18px;border:1px solid var(--border,#e1e4e7);border-radius:12px}.provider-account .provider-head{gap:12px;margin-bottom:16px}.provider-account .provider-head h3{margin:0;max-width:none;overflow-wrap:anywhere}.provider-account .provider-head>div{min-width:0}.provider-account .provider-head>.button{flex-shrink:0}.provider-account .field-help,.provider-account p{overflow-wrap:anywhere}.provider-statuses{display:grid;gap:12px;margin:0 0 16px}.provider-statuses>div{display:grid;grid-template-columns:132px minmax(0,1fr);gap:10px;align-items:start}.provider-statuses dt{font-size:12px;padding-top:4px}.provider-statuses dd{margin:0;min-width:0}.provider-statuses small{display:block;margin-top:4px;color:var(--muted,#5c6672);font-size:11px;line-height:1.5}.provider-statuses .badge{white-space:normal}.provider-blockers{margin:13px 0;padding-left:18px;font-size:12px;line-height:1.7;color:var(--muted,#5c6672)}.provider-check-note{padding:10px 12px;border-radius:7px;background:#fff4e8;color:#794910;font-size:13px;line-height:1.6}.provider-budget{margin-top:20px;padding-top:16px;border-top:1px solid var(--border,#e1e4e7)}.provider-budget summary,.provider-advanced summary{font-weight:600;cursor:pointer}.provider-budget .settings-info{margin-top:14px}.provider-empty{padding:20px 0}.provider-empty h3{font-size:15px}.provider-empty p{font-size:13px;color:var(--muted,#5c6672)}.provider-projects{border:1px solid var(--border,#e1e4e7);border-radius:9px;padding:14px 16px;margin:0 0 20px}.provider-projects legend{font-size:13px;font-weight:600;padding:0 5px}.provider-projects label,.provider-confirm{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.55}.provider-projects label+label{margin-top:10px}.provider-projects input,.provider-confirm input{width:17px;min-width:17px;height:17px;margin:2px 0 0}.provider-confirm{margin:20px 0}.provider-modal .modal-body>p{line-height:1.65}.provider-modal .modal-header{background:var(--surface,#fff)}.provider-model{margin-top:4px}.provider-account .button-row{margin-top:16px;flex-wrap:wrap}.provider-modal .form-error{overflow-wrap:anywhere}
@media(max-width:1100px){.provider-accounts{grid-template-columns:1fr}.provider-statuses{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.provider-statuses>div{grid-template-columns:1fr;gap:4px}}
@media(max-width:620px){.provider-statuses{grid-template-columns:1fr}.provider-statuses>div{grid-template-columns:112px minmax(0,1fr);gap:8px}.provider-account{padding:15px}.provider-account .provider-head{flex-wrap:wrap}.provider-account .provider-head>div{flex:1 1 150px}.provider-modal .modal-footer{flex-wrap:wrap}.provider-modal .modal-footer .button{flex:1 1 140px}.provider-accounts{gap:12px}}

/* Allocation: owner shares of automatic assignments (basis points, no floats). */
.alloc-banner{display:flex;flex-direction:column;gap:3px;margin-bottom:16px;padding:14px 17px;border:1px solid #ecd9b0;border-left:4px solid var(--amber);border-radius:10px;background:#fffaf0;color:#5c3d00;font-size:14px}.alloc-banner strong{font-size:15px}
.alloc-semantics{margin:0 0 18px;color:var(--muted);font-size:14px;line-height:1.6}
.alloc-live{margin-bottom:20px}
.alloc-sum{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.alloc-sum>div{display:flex;flex-direction:column;gap:2px}.alloc-sum strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums}
.alloc-dirty{margin:12px 0 0;padding:9px 12px;border-radius:8px;background:var(--accent-soft);color:#14594d;font-size:13px;font-weight:600}
.alloc-error{margin:12px 0 0;padding:9px 12px;border-radius:8px;background:#fdf2f1;border:1px solid #f3c9c4;color:var(--red);font-size:13px}
.alloc-notice{margin:12px 0 0;padding:12px 14px;border-radius:9px;border:1px solid #dadde2;background:#f7f7f8;font-size:13px}.alloc-notice p{margin:0}.alloc-notice.warning{border-color:#ecd9b0;background:#fffaf0;color:#5c3d00}.alloc-notice.error{border-color:#f3c9c4;background:#fdf2f1;color:#7a1a10}.alloc-notice.info{border-color:#cfe5df;background:#f0f8f6;color:#14594d}
.alloc-notice-actions,.alloc-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.alloc-actions .button,.alloc-notice-actions .button{margin:0}.alloc-notice-actions .button{white-space:normal;text-align:center}
.alloc-list{display:grid}
.alloc-row{display:grid;grid-template-columns:minmax(200px,1.2fr) minmax(220px,1.1fr) minmax(300px,1.6fr);grid-template-areas:"name share metrics" "reason reason reason";gap:10px 22px;align-items:start;padding:16px 18px;border-top:1px solid #eceef1;min-width:0}.alloc-row:first-child{border-top:0}
.alloc-row.is-off{background:#fafafb}
.alloc-name{grid-area:name;display:flex;flex-direction:column;gap:8px;min-width:0}.alloc-name h3{margin:0;font-size:15px;overflow-wrap:anywhere}.alloc-name .mono{font-size:12px}
.alloc-state{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.alloc-switch{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:4px 10px 4px 4px;border:1px solid #d2d6db;border-radius:999px;background:#fff;color:var(--text);font-size:13px;font-weight:600;cursor:pointer}.alloc-switch:disabled{cursor:not-allowed;opacity:.65}
.alloc-track{position:relative;width:34px;height:20px;border-radius:999px;background:#c9ced4;flex-shrink:0;transition:background .15s}.alloc-track::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0003;transition:transform .15s}
.alloc-switch[aria-checked="true"] .alloc-track{background:var(--blue)}.alloc-switch[aria-checked="true"] .alloc-track::after{transform:translateX(14px)}
.alloc-switch:focus-visible{outline:3px solid #209780;outline-offset:2px}
.alloc-share{grid-area:share;min-width:0}.alloc-share label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.alloc-share-inputs{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:center}.alloc-share-inputs input[type=text]{font-variant-numeric:tabular-nums;text-align:right}
.alloc-share input[aria-invalid="true"]{border-color:var(--red);background:#fdf2f1}
.alloc-range{padding:0;min-height:32px;border:0;background:transparent;accent-color:var(--blue)}
.alloc-metrics{grid-area:metrics;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;min-width:0}.alloc-metrics div{min-width:0}.alloc-metrics dt{font-size:11px;line-height:1.4}.alloc-metrics dd{margin:3px 0 0;font-size:14px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.alloc-metrics .nowrap{white-space:nowrap}.alloc-reason{grid-area:reason;margin:0;color:var(--muted);font-size:13px}
@media(max-width:1200px){.alloc-row{grid-template-columns:minmax(180px,1fr) minmax(220px,1.2fr);grid-template-areas:"name share" "metrics metrics" "reason reason"}}
@media(max-width:620px){.alloc-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"name" "share" "metrics" "reason";padding:14px}.alloc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.alloc-actions .button{flex:1 1 100%}.alloc-sum strong{font-size:24px}}

.provider-local-catalog{margin-bottom:16px}
