html,body{height:100%;margin:0;font-family:Inter,Roboto,Arial,sans-serif;background:#101418;color:#eef2f4}body{color-scheme:dark}.shell{min-height:100vh;background:#101418}.shell.logged-out{background:radial-gradient(circle at 18% 20%,rgba(65,165,184,.14),transparent 28%),radial-gradient(circle at 80% 10%,rgba(89,205,144,.08),transparent 24%),#101418}.nav{width:218px;min-width:218px;max-width:218px;box-sizing:border-box;background:#151b20;border-right:1px solid rgba(255,255,255,.08);padding:14px 10px;overflow-x:hidden;transition:width .18s ease,min-width .18s ease,max-width .18s ease}.mat-drawer.nav{width:218px!important;background:#0c0f12}.mat-drawer-side{background:#0c0f12}.nav .mat-drawer-inner-container{overflow-x:hidden!important;scrollbar-gutter:stable}.shell.nav-collapsed .nav,.shell.nav-collapsed .mat-drawer.nav{width:76px!important;min-width:76px;max-width:76px}.shell.nav-collapsed .brand{grid-template-columns:1fr;justify-items:center;gap:8px;padding:0}.shell.nav-collapsed .brand div{display:none}.shell.nav-collapsed .nav-item{justify-content:center;padding:0;font-size:0}.shell.nav-collapsed .nav-item .mdc-button__label{justify-content:center}.shell.nav-collapsed .nav-item ams-icon{margin-right:0}.brand{display:grid;grid-template-columns:34px minmax(0,1fr) 32px;gap:10px;align-items:center;margin-bottom:18px;padding:0 6px}.nav-toggle{display:inline-grid;place-items:center;width:30px;height:30px;margin-left:0;border:1px solid rgba(255,255,255,.09);border-radius:6px;background:#ffffff0a;color:#aeb9c0;cursor:pointer}.nav-toggle .ui-icon{width:17px;height:17px}.nav-toggle:hover{color:#fff;border-color:#70c2d273}.shell.nav-collapsed .nav-toggle{position:static;width:34px;height:34px;margin-left:0}.brand strong{display:block;max-width:138px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:6px;background:#41a5b8;color:#071013;font-weight:800}.brand small,td small{display:block;color:#91a0aa;margin-top:2px}.nav-item{width:100%;min-width:0;box-sizing:border-box;justify-content:flex-start;text-align:left;margin-bottom:6px;color:#c8d2d8;padding:0 12px}.nav-item .mdc-button__label{display:inline-flex;align-items:center;justify-content:flex-start;width:100%}.nav-item ams-icon,button ams-icon{display:inline-grid;flex:0 0 auto;margin-right:10px}.ui-icon{display:block;width:20px;height:20px;color:currentColor;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.nav-item .ui-icon{width:19px;height:19px;color:var(--section-color, #70c2d2)}.nav-item.active{background:#41a5b82e;color:#fff}.nav-toolkit{--section-color: #fde74c}.nav-workflows{--section-color: #59CD90}.nav-evaluations{--section-color: #48A9A6}.nav-executions{--section-color: #c3f73a}.nav-settings{--section-color: #f6f5ae}.nav-users{--section-color: #7bdff2}.nav-helper{--section-color: #ff9f1c}.content{padding:28px;min-height:100vh;box-sizing:border-box;transition:margin-left .18s ease}.shell .mat-drawer-content{margin-left:218px!important}.shell.nav-collapsed .mat-drawer-content{margin-left:76px!important}.shell.logged-out .mat-drawer-content{margin-left:0!important}.user-topbar{position:sticky;top:0;z-index:80;display:flex;justify-content:flex-end;align-items:center;min-height:40px;margin:-10px 0 18px;pointer-events:none}.user-menu{position:relative;pointer-events:auto}.user-chip{display:inline-flex;align-items:center;gap:10px;min-height:42px;padding:4px 10px 4px 5px;border:1px solid rgba(255,255,255,.11);border-radius:8px;background:#151b20;color:#eef2f4;font-weight:800;cursor:pointer}.user-chip:hover{border-color:#70c2d28c}.user-chip .ui-icon{width:16px;height:16px;color:#aeb9c0}.user-avatar{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#2e91f3;color:#fff;font-weight:900}.user-avatar.large{width:56px;height:56px;font-size:24px}.user-menu-panel{position:absolute;right:0;top:calc(100% + 8px);width:240px;z-index:1300;overflow:hidden;border:1px solid rgba(255,255,255,.1);border-radius:8px;background:#1b1b1c;box-shadow:0 20px 54px #0000006b;animation:modalReveal .16s ease-out both}.user-menu-head{display:grid;gap:6px;padding:16px;border-bottom:1px solid rgba(255,255,255,.08)}.user-menu-head small{color:#8e9499}.user-menu-panel button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:0 16px;border:0;border-bottom:1px solid rgba(255,255,255,.07);background:transparent;color:#d8d8d8;font:inherit;font-weight:750;text-align:left;cursor:pointer}.user-menu-panel button:hover{background:#ffffff0f}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.topbar h1{margin:0;font-size:28px;font-weight:750}.eyebrow{margin:0 0 6px;color:#70c2d2;font-size:12px;font-weight:800;letter-spacing:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.overview-dashboard{display:grid;gap:18px}.kpi-strip{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px}.kpi-card{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon label" "icon value" "icon meta";gap:3px 12px;align-items:center;min-height:92px;padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:linear-gradient(135deg,#ffffff0e,#ffffff05);color:#eef2f4;text-align:left;cursor:pointer}.kpi-card ams-icon{grid-area:icon;display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:color-mix(in srgb,var(--section-color) 18%,transparent);color:var(--section-color)}.kpi-card .ui-icon{width:23px;height:23px}.kpi-card span{grid-area:label;color:#aeb9c0;font-size:13px;font-weight:750}.kpi-card strong{grid-area:value;font-size:30px;line-height:1}.kpi-card small{grid-area:meta;color:#8fa0aa}.kpi-toolkit{--section-color: #fde74c}.kpi-agents{--section-color: #70c2d2}.kpi-evaluations{--section-color: #48A9A6}.kpi-executions{--section-color: #c3f73a}.dashboard-grid{display:grid;grid-template-columns:1.35fr 1fr .9fr;gap:18px;align-items:stretch}.dashboard-panel{min-height:220px;padding:22px}.workspace-panel{display:grid;gap:22px;background:radial-gradient(circle at 88% 18%,rgba(89,205,144,.16),transparent 32%),radial-gradient(circle at 12% 80%,rgba(253,231,76,.12),transparent 34%),#151b20}.workspace-panel h2{max-width:520px;margin:0 0 8px;font-size:42px;line-height:1.05}.workspace-panel p{margin:0;color:#b8c7d2}.workspace-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.workspace-metrics div{padding:12px;border-radius:8px;background:#ffffff0b}.workspace-metrics span,.panel-heading span{display:block;color:#8fa0aa;font-size:12px;font-weight:750}.workspace-metrics strong{display:block;margin-top:6px;color:#eef2f4}.panel-heading{display:flex;justify-content:space-between;gap:14px;align-items:start;margin-bottom:18px}.panel-heading h2{margin:0;font-size:20px}.bar-row{display:grid;grid-template-columns:100px 1fr 34px;gap:12px;align-items:center;margin:13px 0}.bar-row span{color:#c9d2d8;font-weight:700}.bar-row div{height:10px;border-radius:999px;background:#ffffff12;overflow:hidden}.bar-row i{display:block;height:100%;min-width:8px;border-radius:inherit;background:var(--section-color, #70c2d2)}.bar-row strong{text-align:right}.ring-metric{width:154px;height:154px;display:grid;place-items:center;margin:8px auto 18px;border-radius:50%;background:radial-gradient(circle,#151b20 0 55%,transparent 56%),conic-gradient(#59CD90 var(--ring-value, 0%),rgba(255,255,255,.08) 0)}.ring-metric div{display:grid;place-items:center}.ring-metric strong{font-size:32px}.ring-metric span{color:#8fa0aa;font-size:12px;font-weight:750}.health-list{display:grid;gap:10px}.health-list span{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#c9d2d8}.health-list i,.status-dot{width:9px;height:9px;border-radius:50%;background:#ff4866}.health-list i.ok,.status-dot{background:#59cd90}.timeline{display:grid;gap:9px}.timeline button{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;min-height:42px;padding:8px 10px;border:0;border-radius:7px;background:#ffffff0b;color:#eef2f4;text-align:left;cursor:pointer}.status-dot.warn{background:#ffb84d}.timeline small{color:#8fa0aa}.action-panel{grid-column:span 2}.smoke-flow-panel{grid-column:1/-1}.panel-note{margin:-6px 0 16px;color:#aeb9c0}.smoke-checks,.channel-tab-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-bottom:14px}.smoke-checks button,.channel-tab-grid div{display:grid;gap:5px;min-height:72px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff0a;color:#eef2f4;text-align:left}.smoke-checks button{cursor:pointer}.smoke-checks button span{color:#ffbf47;font-weight:900}.smoke-checks button.ok span{color:#59cd90}.smoke-checks small,.channel-tab-grid span,.channel-tab-grid small{color:#91a0aa}.action-grid{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:12px}.action-grid button{display:flex;gap:10px;align-items:center;justify-content:center;min-height:66px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#1e1e1f;color:#eef2f4;font-weight:750;cursor:pointer}.action-grid .ui-icon{color:#70c2d2}.two-column{display:grid;grid-template-columns:minmax(320px,420px) 1fr;gap:16px;align-items:start}.master-detail{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}.master-list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}.list-panel{min-width:0}.form-panel{display:none}.panel{padding:18px}.panel h2,.detail h2{margin:0 0 16px}.mat-mdc-form-field .mat-mdc-input-element,.mat-mdc-form-field textarea.mat-mdc-input-element{padding-left:8px!important;box-sizing:border-box}.mat-mdc-form-field .mat-mdc-select-value{padding-left:8px}.mat-mdc-form-field .mdc-notched-outline__notch{padding-left:4px}.mat-mdc-form-field-infix{min-height:46px}textarea.mat-mdc-input-element{line-height:1.45}.table-panel{min-width:0}.panel-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:20px 24px}.panel .panel-toolbar{padding:0 0 16px}.panel-toolbar h2{margin:0}.section-title{display:inline-flex;align-items:center;gap:12px}.section-title ams-icon{display:inline-grid;margin-right:0;color:var(--section-color, #70c2d2)}.section-title .ui-icon{width:28px;height:28px;color:var(--section-color, #70c2d2)}.title-toolkit{--section-color: #fde74c}.title-workflows{--section-color: #59CD90}.title-evaluations{--section-color: #48A9A6}.title-executions{--section-color: #c3f73a}.title-settings{--section-color: #f6f5ae}.title-users{--section-color: #7bdff2}.title-helper{--section-color: #ff9f1c}.panel mat-form-field{display:block;width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail{margin-top:16px;padding:18px}.detail-header{display:flex;justify-content:space-between;gap:16px;align-items:start}.button-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.ams-action{--action-color: #70c2d2;--action-bg: rgba(112, 194, 210, .08);min-height:40px;border-color:color-mix(in srgb,var(--action-color) 72%,transparent)!important;color:#eef2f4!important;background:var(--action-bg)!important;font-weight:850!important}.ams-action .mdc-button__label{display:inline-flex;align-items:center;gap:8px}.ams-action ams-icon{margin-right:0;color:var(--action-color)}.ams-action.save{--action-color: #59cd90;--action-bg: rgba(89, 205, 144, .1)}.ams-action.run{--action-color: #48a9a6;--action-bg: rgba(72, 169, 166, .12)}.ams-action.disable{--action-color: #f6c85f;--action-bg: rgba(246, 200, 95, .1)}.ams-action.cancel{--action-color: #b7c0c7;--action-bg: rgba(183, 192, 199, .06)}.ams-action.danger{--action-color: #ff4866;--action-bg: rgba(255, 72, 102, .1)}.ams-action.neutral{--action-color: #70c2d2;--action-bg: rgba(112, 194, 210, .08)}.filters-row{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;padding:0 24px 16px}.user-cell{display:inline-flex;align-items:center;gap:12px}.avatar{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#2e95ff;color:#fff;font-weight:800}.panel-toolbar button[mat-stroked-button]{min-width:116px;height:40px}.version-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:16px}.agent-editor{display:grid;grid-template-columns:minmax(320px,1fr) minmax(260px,420px);gap:16px;margin-top:18px}.agent-editor mat-form-field{display:block;width:100%}.agent-editor h3{margin:0 0 12px}.tool-bind-row{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:start}.binding{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid rgba(255,255,255,.08)}.inline-detail{margin:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}.compact-toolbar{padding:0 0 10px}.empty-copy{padding:0 16px 16px}.modal-backdrop{position:fixed;inset:0;z-index:5000;display:grid;place-items:center;padding:20px;background:#00000094;animation:modalFadeIn .17s ease-out both}.modal-backdrop.closing{animation:modalFadeOut .17s ease-in both}.modal{width:min(1120px,100vw - 48px);max-height:calc(100vh - 40px);display:grid;grid-template-rows:auto minmax(0,1fr);box-shadow:0 24px 80px #0000006b;animation:modalReveal .19s cubic-bezier(.2,.8,.2,1) both}.modal.closing{animation:modalHide .15s ease-in both}.confirm-modal{width:min(520px,100vw - 48px);padding:26px 28px 22px;box-shadow:0 24px 80px #0000006b}.confirm-modal h2{margin:0 0 12px}.confirm-modal p{margin:0 0 20px}.modal-header{display:flex;justify-content:space-between;gap:16px;align-items:start;padding:22px 28px 14px;border-bottom:1px solid rgba(255,255,255,.08);background:#151b20}.modal-header h2{margin:0;font-size:24px}.modal-body{display:grid;gap:12px;padding:18px 28px 22px;overflow:auto}.modal-body mat-form-field{width:100%}.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap;padding-top:4px}@keyframes modalFadeIn{0%{opacity:0}to{opacity:1}}@keyframes modalFadeOut{0%{opacity:1}to{opacity:0}}@keyframes modalReveal{0%{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes modalHide{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(10px) scale(.985)}}.binding span,.muted{color:#91a0aa}.tool-assignment{margin-top:22px}.tool-assignment h3{margin:0 0 12px}.step{display:grid;gap:6px;padding:12px 0;border-top:1px solid rgba(255,255,255,.08)}.step span{color:#91a0aa;font-size:13px}.step code{display:block;padding:10px;border-radius:6px;background:#101418;overflow:auto}.json-preview{display:block;margin-top:16px;padding:14px;border-radius:6px;background:#101418;white-space:pre-wrap;overflow:auto}.error{margin-bottom:16px;padding:12px 14px;border-radius:6px;background:#d246462e;color:#ffd0d0}.notice{margin-bottom:16px;padding:12px 14px;border-radius:6px;background:#50aa782e;color:#c8f5db}.access-panel{width:min(480px,100vw - 42px);max-width:520px;padding:28px;margin:min(14vh,110px) auto 0;box-shadow:0 28px 90px #0000005c}.access-panel h2{margin:0 0 10px;font-size:30px}.access-panel mat-form-field{display:block;width:100%}mat-card{border-radius:8px;padding:18px;background:#182128;color:#eef2f4;border:1px solid rgba(255,255,255,.08)}mat-card strong{display:block;font-size:34px;margin-bottom:8px}mat-card p{color:#aeb9c0;margin:0}.surface{border:1px solid rgba(255,255,255,.08);background:#151b20;border-radius:8px;overflow:hidden}table{width:100%;background:transparent}th{color:#c5c8cc;font-weight:750;font-size:14px}td,th{border-bottom-color:#ffffff14}tr.mat-mdc-header-row{height:44px;background:#1e1e1f}tr.mat-mdc-row{height:56px;background:#181919;transition:background-color .12s ease}tr.mat-mdc-row:nth-child(2n){background:#202121}tr.mat-mdc-row:hover{background:#4a4d4d}td.mat-mdc-cell,th.mat-mdc-header-cell{padding:0 24px}td.mat-mdc-cell{color:#c7cbcf;font-weight:550}td.mat-mdc-cell strong{display:block;color:#d8dbde;font-weight:750}td.mat-mdc-cell small{color:#98c5df;font-size:13px}.table-actions{display:flex;gap:10px;align-items:center;justify-content:center;min-height:56px}.action-button{width:32px;height:32px;color:#c3c7cc}.action-button .ui-icon{width:19px;height:19px}.action-button.blue{color:#36a3ff}.action-button.danger{color:#ff4866}.action-button:hover{background:#ffffff14}.mat-column-actions{width:190px;text-align:center}.mat-column-run{width:230px}th.mat-column-actions{text-align:center}td.mat-column-actions{padding-left:12px;padding-right:12px}.status-pill{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;background:#027f61;color:#f4fff9;font-size:13px;font-weight:800}.status-pill.off{background:#52565a;color:#e3e5e7}.status-pill.warn{background:#896324;color:#fff5d8}.workflow-run-cell{display:inline-flex;align-items:center;gap:8px;min-width:190px;padding:5px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:#ffffff09}.workflow-run-button{width:34px;height:34px;color:#dce6eb;border:1px solid rgba(255,255,255,.08);background:#ffffff0a}.workflow-run-button .ui-icon{width:18px;height:18px}.workflow-run-state{display:grid;min-width:0;flex:1;gap:1px;border:0;background:transparent;color:#dce6eb;text-align:left;cursor:pointer}.workflow-run-state:disabled{cursor:default}.workflow-run-state span{font-size:13px;font-weight:900}.workflow-run-state small{overflow:hidden;max-width:132px;color:#9aa8b2;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.workflow-run-cell.running{border-color:#70c2d26b;background:#70c2d214}.workflow-run-cell.running .workflow-run-button .ui-icon{animation:pulse-run 1s ease-in-out infinite}.workflow-run-cell.ok{border-color:#59cd906b;background:#59cd9014}.workflow-run-cell.ok .workflow-run-button{color:#59cd90}.workflow-run-cell.failed{border-color:#ff486666;background:#ff486614}.workflow-run-cell.failed .workflow-run-button{color:#ff4866}@keyframes pulse-run{0%,to{opacity:.45}50%{opacity:1}}.loop-pill{background:#59cd902e;color:#b8f4d1;border:1px solid rgba(89,205,144,.34)}.loop-pill.off{background:#929aa21f;color:#b9c0c6;border-color:#b9c0c638}code{color:#9dd7e2}.empty-panel{display:grid;justify-items:center;gap:8px;padding:70px 20px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#151b20;text-align:center}.empty-panel ams-icon{color:#70c2d2;transform:scale(1.4)}.empty-panel h2{margin:12px 0 0}.empty-panel p{max-width:520px;margin:0;color:#aeb9c0}.settings-page{display:grid;grid-template-columns:repeat(2,minmax(320px,1fr));gap:16px;align-items:start}.settings-page.single-settings{grid-template-columns:minmax(360px,760px)}.settings-column{min-width:0}.settings-grid{display:grid;grid-template-columns:minmax(280px,380px) minmax(280px,1fr);gap:18px;width:min(920px,100%);margin-top:12px;text-align:left}.settings-form mat-form-field{display:block;width:100%}.settings-column mat-form-field{display:block;width:100%}.settings-list{min-width:0}.settings-list .binding button{width:100%;min-height:44px;justify-content:space-between}.channel-activity{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:18px;width:min(920px,100%);margin-top:18px}.complex-backdrop{left:76px;place-items:stretch;padding:0;background:#0000003d}.complex-modal{width:calc(100vw - 76px);max-width:none;height:100vh;max-height:100vh;border-radius:0;border-top:0;border-right:0;border-bottom:0;box-shadow:-18px 0 70px #0000005c}.complex-modal .modal-header{padding:22px 34px 14px;background:#151b20;border-bottom:1px solid rgba(255,255,255,.08)}.complex-modal .modal-body{min-height:0;padding:18px 34px 0;overflow:hidden}.workflow-modal .modal-body{grid-template-rows:auto minmax(0,1fr) auto;gap:12px}.workflow-editor-top{display:grid;grid-template-columns:minmax(520px,1fr) 280px;gap:14px;align-items:stretch}.workflow-meta-card,.workflow-mode-card{display:grid;gap:10px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#ffffff06}.workflow-meta-card{grid-template-columns:minmax(260px,.38fr) minmax(420px,.62fr)}.workflow-meta-card .mat-mdc-form-field,.workflow-trigger-grid .mat-mdc-form-field,.workflow-side-form .mat-mdc-form-field{margin-bottom:-1.25em}.workflow-mode-card{align-content:start}.workflow-mini-status{display:grid;gap:4px}.workflow-mini-status span{color:#59cd90;font-weight:900;text-transform:uppercase}.complex-modal .modal-actions{position:sticky;bottom:0;z-index:12;margin:0 -34px;padding:14px 34px 18px;border-top:1px solid rgba(255,255,255,.08);background:#151b20f7;backdrop-filter:blur(10px)}.workflow-tabs{display:inline-flex;width:fit-content;padding:4px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#10161b}.workflow-tabs button{min-height:34px;padding:0 16px;border:0;border-radius:6px;background:transparent;color:#9eabb4;font-weight:800;cursor:pointer}.workflow-tabs button.active{background:#1d2b31;color:#f5f9fb}.workflow-visual-editor{display:grid;grid-template-rows:auto minmax(0,1fr);gap:14px;min-height:0;overflow:hidden}.surface-subtle{padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#11191e}.workflow-schedule strong{display:block;color:#dce2e5;font-size:16px}.workflow-schedule-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:10px}.workflow-trigger-grid{display:grid;grid-template-columns:minmax(180px,.24fr) minmax(180px,.18fr) minmax(180px,.18fr) minmax(420px,.4fr);gap:12px;align-items:start}.workflow-designer{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,460px);gap:14px;align-items:stretch;min-height:0}.workflow-canvas{min-height:0;padding:18px;border:1px solid rgba(112,194,210,.14);border-radius:8px;background:radial-gradient(circle at 24px 24px,rgba(255,255,255,.06) 1px,transparent 1px),#0e151a;background-size:28px 28px;overflow:auto}.workflow-lane-title{display:inline-flex;align-items:center;gap:10px;margin:0 34px 14px 0;color:#f3f5f6;font-size:24px;font-weight:850}.workflow-lane-title .ui-icon{width:32px;height:32px}.workflow-lane-title.tools{color:#fde74c}.workflow-lane-title.agents{color:#70c2d2}.workflow-lane-title.channels{color:#48a9a6}.workflow-step-row{display:flex;gap:14px;align-items:center;min-width:max-content}.workflow-add-row{display:flex;gap:10px;margin:0 0 18px;min-width:max-content}.add-step{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 13px;border:1px solid currentColor;border-radius:6px;background:#ffffff0a;color:#d8e0e3;font-weight:850;cursor:pointer}.add-step .ui-icon{width:17px;height:17px}.add-step.tool{color:#fde74c}.add-step.agent{color:#70c2d2}.add-step.channel{color:#48a9a6}.add-step:hover{background:#ffffff14}.workflow-step-card{position:relative;display:grid;grid-template-columns:42px 1fr;width:270px;min-height:306px;gap:8px 14px;align-content:start;padding:16px;border:2px solid rgba(255,255,255,.12);border-radius:8px;background:#0e181deb;color:#e9eef0;text-align:left;cursor:pointer;box-shadow:0 18px 44px #00000047}.workflow-step-card.tool{border-color:#fde74cb3}.workflow-step-card.agent{border-color:#70c2d2c7}.workflow-step-card.channel{border-color:#48a9a6c7}.workflow-step-card.selected{outline:4px solid rgba(54,163,255,.82);outline-offset:8px}.workflow-step-card .step-number,.selected-step-title span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:6px;background:#4a5560;color:#fff;font-weight:900}.workflow-step-card.tool .step-number,.selected-step-title.tool span{background:#887b14}.workflow-step-card.agent .step-number,.selected-step-title.agent span{background:#276b83}.workflow-step-card.channel .step-number,.selected-step-title.channel span{background:#167c79}.workflow-step-card .step-check{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:2px solid #59cd90;color:#59cd90;font-weight:900}.workflow-step-card .step-icon{grid-row:span 2;display:grid;place-items:center;width:42px;height:42px;border-radius:7px;background:#ffffff14}.workflow-step-card.tool .step-icon{color:#fde74c}.workflow-step-card.agent .step-icon{color:#70c2d2}.workflow-step-card.channel .step-icon{color:#48a9a6}.workflow-step-card strong,.workflow-step-card small,.workflow-step-card p,.workflow-step-card .step-kv,.workflow-step-card .step-output{grid-column:2}.workflow-step-card strong{margin-top:4px;font-size:18px}.workflow-step-card small{color:#91d7e7;font-weight:800}.workflow-step-card p{min-height:54px;margin:8px 0 6px;color:#aeb9c0;line-height:1.35}.step-kv,.step-output{display:flex;justify-content:space-between;gap:10px;padding-top:7px;border-top:1px solid rgba(255,255,255,.08);color:#aeb9c0;font-size:13px}.step-kv code,.step-output code{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#59cd90}.workflow-arrow{color:#cad2d6;font-size:30px}.workflow-side-panel{display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto;align-content:stretch;gap:12px;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#10171c;min-height:0;max-height:none;overflow:hidden}.workflow-side-header{display:grid;gap:8px}.selected-step-title{display:flex;align-items:center;gap:10px;color:#f4f6f7}.workflow-side-tabs{display:flex;gap:18px;border-bottom:1px solid rgba(255,255,255,.08)}.workflow-side-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0;overflow:auto;padding-right:4px}.workflow-side-form .span-2{grid-column:1/-1}.workflow-side-tabs button{padding:8px 0;border:0;border-bottom:2px solid transparent;background:transparent;color:#8f9ca5;font-weight:800}.workflow-side-tabs button.active{border-bottom-color:#fde74c;color:#f2f4f5}.workflow-side-actions{display:grid;gap:10px;padding-top:4px}.workflow-order-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.workflow-side-actions .mat-mdc-unelevated-button{background:#276b83}.workflow-test-output{display:block;max-height:180px;padding:12px;border-radius:6px;background:#090d10;white-space:pre-wrap;overflow:auto}.profile-modal-body{gap:16px}.profile-summary{display:flex;gap:16px;align-items:center;padding:0 0 14px;border-bottom:1px solid rgba(255,255,255,.08)}.profile-summary h3{margin:0 0 4px;font-size:22px}.profile-password{display:grid;gap:10px;margin-top:4px;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}.profile-password h3{display:inline-flex;align-items:center;gap:10px;margin:0 0 2px}.profile-password h3 ams-icon{color:#9bcbbd}.helper-page{display:grid;gap:16px}.helper-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px 28px}.helper-hero h2{margin:0 0 8px}.helper-hero p{max-width:780px;margin:0}.helper-grid{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(420px,1.45fr);gap:16px;align-items:start}.helper-input h3,.helper-output h3{margin:0 0 12px}.helper-examples{display:grid;gap:8px}.helper-examples button{padding:10px 12px;border:1px solid rgba(255,159,28,.28);border-radius:7px;background:#ff9f1c0f;color:#e7edf0;text-align:left;cursor:pointer}.helper-examples button:hover{background:#ff9f1c1c}.helper-output{display:grid;gap:18px}.helper-summary{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px}.helper-summary span,.helper-inventory div{display:grid;gap:5px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#11191e}.helper-summary strong{color:#ff9f1c;font-size:12px;text-transform:uppercase}.helper-inventory{display:grid;gap:8px}.helper-inventory span{color:#59cd90;font-weight:800}.helper-inventory.missing span{color:#f6c85f}.helper-inventory small{color:#aeb9c0}.helper-proposals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.helper-proposals code{display:block;max-height:280px;padding:12px;border-radius:7px;background:#0b1115;white-space:pre-wrap;overflow:auto}.helper-warnings{padding:12px;border:1px solid rgba(246,200,95,.28);border-radius:8px;background:#f6c85f14}.helper-warnings p{margin:6px 0 0}.empty-helper{min-height:360px;place-items:center;text-align:center}.empty-helper ams-icon{color:#ff9f1c;transform:scale(1.9)}@media(max-width:980px){.master-detail,.settings-page,.two-column{grid-template-columns:1fr}.detail-header{display:grid}.agent-editor,.settings-grid,.channel-activity,.form-grid,.workflow-designer,.helper-grid,.helper-proposals,.helper-summary{grid-template-columns:1fr}.workflow-lane-title{font-size:22px;margin-right:18px}}.agent-harness-editor .agent-tabs{position:sticky;top:0;z-index:9;margin:0 0 16px}.agent-modal .agent-harness-editor{grid-template-rows:auto minmax(0,1fr) auto;height:100%}.agent-modal .agent-harness-editor>.agent-tab-grid,.agent-modal .agent-harness-editor>.tool-assignment,.agent-modal .agent-harness-editor>.harness-layout,.agent-modal .agent-harness-editor>.event-timeline{min-height:0;overflow:auto;padding:2px 6px 14px 0}.agent-tab-grid{display:grid;grid-template-columns:repeat(2,minmax(240px,1fr));gap:18px}.agent-tab-grid.single{grid-template-columns:1fr}.harness-layout{display:grid;grid-template-columns:minmax(520px,1fr) minmax(320px,420px);gap:20px;min-height:0;align-items:start}.harness-main{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:16px;align-content:start}.harness-main .dense-table,.loop-policy-card{grid-column:1/-1}.loop-policy-card mat-form-field{width:100%;margin-top:10px}.switch-row{display:grid;grid-template-columns:auto 1fr;gap:10px 12px;align-items:center;margin:12px 0 8px;cursor:pointer}.switch-row input{position:absolute;opacity:0;pointer-events:none}.switch-row span{position:relative;display:inline-block;width:46px;height:24px;border:1px solid rgba(255,255,255,.16);border-radius:999px;background:#ffffff14;transition:background .16s ease,border-color .16s ease}.switch-row span:after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#b7c0c7;transition:transform .16s ease,background .16s ease}.switch-row input:checked+span{border-color:#59cd908c;background:#59cd902e}.switch-row input:checked+span:after{transform:translate(22px);background:#59cd90}.switch-row strong{color:#eef2f4;font-size:14px}.harness-card,.harness-side{border:1px solid rgba(255,255,255,.12);background:#ffffff09;border-radius:8px;padding:18px}.harness-card h3{margin:4px 0 8px}.harness-side{position:sticky;top:4px;align-self:start;max-height:calc(100vh - 205px);overflow:auto}.event-timeline{display:grid;gap:8px;margin-top:12px}.event-timeline button{display:grid;gap:3px;text-align:left;border:1px solid rgba(255,255,255,.1);background:#ffffff09;color:inherit;padding:10px 12px;border-radius:6px}.event-timeline small{color:#aeb7bf}.event-timeline button.warn,.step.failed{border-color:#ff486652;background:#ff486614}.event-timeline code{max-height:160px;overflow:auto;white-space:pre-wrap}.event-timeline.compact{margin-top:0}.execution-detail{display:grid;gap:14px}.legacy-execution-detail{display:none}.execution-hero{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.08)}.execution-hero h2{margin:0;font-size:clamp(28px,3vw,42px)}.execution-pill-row{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.execution-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:12px}.execution-section{min-width:0;padding:14px;border:1px solid rgba(255,255,255,.09);border-radius:8px;background:#ffffff06}.execution-section h3{margin:0 0 8px}.execution-section p{margin:0;color:#d4dce1}.execution-section code,.execution-step-card code,.artifact-list code{display:block;max-height:240px;overflow:auto;padding:10px;border-radius:6px;background:#0000003d;color:#b8ecff;white-space:pre-wrap;word-break:break-word}.execution-step-list,.artifact-list{display:grid;gap:10px}.execution-step-card,.artifact-list article{display:grid;gap:10px;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:#00000024}.execution-step-card.failed{border-color:#ff486659;background:#ff486612}.execution-step-card header{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.step-number{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border-radius:7px;background:#70c2d229;color:#70c2d2;font-weight:900}.step-json-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.step-json-grid summary{cursor:pointer;color:#dce6eb;font-weight:850;margin-bottom:6px}.failure-panel{padding:14px;border:1px solid rgba(255,72,102,.32);border-radius:8px;background:#ff486614}.failure-panel p{margin:6px 0 0}.event-filters{display:flex;flex-wrap:wrap;gap:8px}.event-filters button{min-height:32px;padding:0 12px;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:transparent;color:#aeb9c0;font-weight:800}.event-filters button.active{border-color:#70c2d280;background:#70c2d21f;color:#eef2f4}.scheduler-summary{display:flex;flex-wrap:wrap;gap:8px 14px;margin:0 0 12px;color:#aeb9c0}.scheduler-summary span{color:#59cd90;font-weight:900}.warn-text{color:#ffbf47!important}.channel-detail{display:grid;gap:14px}.pill.warn{border-color:#ffbf4773;color:#ffbf47}
