.tools-heading{align-items:center;gap:24px}.tools-heading p{margin:0;max-width:680px;line-height:1.8}.tools-heading button{flex-shrink:0}.tools-tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);padding-bottom:14px;flex-wrap:wrap}.tools-tabs button{border-color:transparent;background:transparent;color:var(--muted)}.tools-tabs button[aria-selected=true]{background:#efecff;color:#5948c9;border-color:#ded8fc}.tools-tabs span{margin-left:6px;font-size:12px;opacity:.8}.tools-filter{display:flex;gap:12px;align-items:center;padding:18px 0}.tools-filter input{max-width:400px;margin:0}.tools-filter select{width:140px;margin:0}.tools-filter>span{margin-left:auto;white-space:nowrap;font-size:12px}.tool-row{display:flex;align-items:center;gap:22px;padding:20px 4px;border-top:1px solid #edf0f6}.tool-row-main{min-width:0;flex:1}.tool-row-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.tool-row-title strong{font-size:15px}.tool-status{background:#f0f1f5;color:#778094;border-radius:5px;padding:3px 7px;font-size:11px}.tool-status.active{background:#eaf6f1;color:#26835e}.tool-code{display:block;font-size:11px;color:#9098a8;margin-top:6px;overflow-wrap:anywhere}.tool-description{color:#687185;line-height:1.7;margin:10px 0;font-size:13px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tool-flow{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:#616a80}.tool-flow>span:first-child,.tool-flow>span:nth-child(3){padding:4px 8px;border-radius:5px;background:#f3f4f8}.tool-exclusion{color:#9a7640}.tool-row-actions{display:flex;gap:6px;flex-shrink:0}.tool-row-actions button{padding:7px 10px;font-size:12px}button.tool-delete{color:#9f5660;border-color:transparent;background:transparent}.tools-empty{padding:64px 12px;text-align:center;color:var(--muted);display:grid;justify-items:center;gap:16px}dialog.tool-editor-modal,dialog.tool-test-modal{width:min(900px,calc(100vw - 32px))}.tool-editor-modal>.toolbar{border-bottom:1px solid var(--line);padding-bottom:16px}.tool-editor-modal fieldset{min-width:0}.tool-basics{padding:0 0 20px}.tool-name-line{display:flex;gap:24px;align-items:center}.tool-name-line>label:first-child{flex:1}.tool-enable{flex-shrink:0;white-space:nowrap}.tool-preview{background:#f8f7fe;border:1px solid #eae6fc;padding:12px;border-radius:8px;margin-top:16px}.tool-config-section{border-top:1px solid var(--line);padding:24px 0}.tool-section-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:18px}.tool-section-heading>span{display:grid;place-items:center;background:#eeebfc;color:#6655cb;width:28px;height:28px;border-radius:8px;font-weight:600;flex-shrink:0}.tool-section-heading h3{margin:2px 0 6px;font-size:15px}.tool-section-heading h3 small{color:#9098aa;font-size:12px;font-weight:400;margin-left:6px}.tool-section-heading p{color:var(--muted);font-size:12px;margin:0;line-height:1.7}.tool-note{padding:12px 14px;border-radius:7px;background:#f5f7fb;color:#68768e;font-size:12px;line-height:1.8}.tool-sql{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.8;background:#fafbfe;tab-size:2}.tool-param-heading{margin:22px 0 14px;align-items:center}.tool-param-heading h4{margin:0 0 5px}.tool-param-heading p{margin:0;font-size:12px}.tool-parameter{border:1px solid var(--line);background:#fafbfe;border-radius:9px;padding:14px;margin:12px 0}.tool-param-top{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#778298}.tool-param-top button{padding:4px 8px;font-size:12px}.tool-param-grid{display:grid;grid-template-columns:1fr 1.4fr .8fr;gap:16px}.tool-inline-hint{font-size:12px;color:var(--muted);margin-left:12px}.tool-advanced{border-top:1px solid var(--line);padding:18px 0}.tool-advanced summary{color:#778198;cursor:pointer}.tool-editor-footer{position:sticky;bottom:-24px;background:#fff;border-top:1px solid var(--line);margin:0 -24px -24px;padding:16px 24px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;z-index:1}.tool-editor-footer>.muted{font-size:12px;flex:1}.tool-editor-footer .error{width:100%;margin:0}.tool-test-result{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.tool-test-result td{max-width:280px;overflow-wrap:anywhere}.tool-test-result details{margin-top:16px}@media(max-width:650px){.tools-heading,.tool-row{align-items:flex-start;flex-direction:column;gap:14px}.tools-filter{flex-wrap:wrap}.tools-filter input{max-width:none;flex:1 1 100%}.tool-name-line{align-items:stretch;flex-direction:column;gap:0}.tool-param-grid{grid-template-columns:1fr;gap:0}.tool-editor-modal .two{grid-template-columns:1fr}.tool-editor-footer{margin:0 -16px -16px;bottom:-16px;padding:14px 16px}.tool-editor-footer>.muted{flex-basis:100%}.tool-param-heading{gap:12px;flex-wrap:wrap}}.model-routing{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;margin:24px 0 16px}.model-primary,.model-backups{border:1px solid var(--line);border-radius:12px;padding:22px;min-width:0}.model-primary{background:#faf9ff;border-color:#ded8fb}.model-routing h3{font-size:18px;margin:7px 0 10px}.model-routing .muted{font-size:12px;line-height:1.8;margin-bottom:16px}.model-eyebrow{color:#8a82aa;font-size:11px}.model-primary>button{margin-top:16px}.model-backups h3 small{display:inline;font-size:12px;color:var(--muted);font-weight:400;margin-left:6px}.model-library table td:nth-child(3),.model-library table td:nth-child(5){white-space:nowrap}.model-backups ol{margin:0;padding-left:22px;color:#7f77a4}.model-backups li{padding:7px 0 7px 6px}.model-backups li span{color:var(--ink);font-size:13px}.model-backups li small{display:block;overflow-wrap:anywhere;font-size:11px;color:var(--muted);margin-top:4px}.model-empty{color:#8b799f;font-size:12px;line-height:1.8;padding:12px;background:#f7f5fb;border-radius:8px}.model-failover-help{background:#f7f8fc;padding:14px 18px;border-radius:8px;margin-bottom:22px;color:var(--muted);font-size:12px;line-height:1.8}.model-failover-help summary{cursor:pointer;color:#68758e}@media(max-width:760px){.model-routing{grid-template-columns:1fr}.model-primary,.model-backups{padding:16px}}.prompt-placement-guide{padding:14px 16px;border-radius:8px;background:#f6f7fc;margin-bottom:10px}.prompt-placement-guide p{margin:0;font-size:12px;color:#788299;line-height:1.9}.prompt-placement-guide p:first-child{color:#626d85;margin-bottom:3px}.prompt-placement-guide strong{font-weight:500;color:#595277}.prompt-library-row{align-items:flex-start;padding:23px 4px}.prompt-library-row .tool-row-actions{margin-top:2px}.prompt-revision{color:#939bb0;font-size:11px}.prompt-usage-list{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.prompt-usage-list a,.prompt-usage-list>span{border-radius:5px;padding:5px 8px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.prompt-usage-list a{color:#6652c7;background:#f0edfc;text-decoration:none}.prompt-usage-list a:hover{background:#e6e0fb}.prompt-usage-list a.inactive{color:#8c91a2;background:#f1f2f5}.prompt-system-use{color:#547489;background:#edf5f8}.prompt-purpose{font-size:12px;color:#727d92;line-height:1.8;margin:12px 0 8px}.prompt-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:20px;border-top:1px solid var(--line)}.prompt-pagination>span{font-size:12px;color:var(--muted)}.prompt-usage-warning{background:#fff9ec;border:1px solid #f1e3c1;border-radius:8px;padding:12px;color:#9b792f;font-size:12px;line-height:1.8}.prompt-usage-warning button{font-size:12px;margin-left:8px}dialog.prompt-editor-modal{width:min(920px,calc(100vw - 32px))}.prompt-impact{background:#f7f6fd;padding:14px;border-radius:8px;margin-bottom:20px;font-size:12px}.prompt-impact>strong{color:#666078;font-weight:500}.prompt-impact p{color:#7d7790;line-height:1.8;margin:10px 0 0}.prompt-body-editor{line-height:1.9;font-size:13px}@media(max-width:650px){.prompt-pagination{align-items:flex-start;flex-direction:column}.prompt-editor-modal .two{grid-template-columns:1fr}}:root{--bg: #f5f6fa;--card: #fff;--line: #e1e4ee;--ink: #24283c;--muted: #747b94;--accent: #6b52e7;font:14px/1.6 system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,nav a{cursor:pointer;background:#fff;border:1px solid var(--line);border-radius:7px;padding:7px 13px;color:inherit;text-decoration:none}button:hover,nav a:hover{border-color:var(--accent)}button:disabled{opacity:.5;cursor:not-allowed}.primary,nav .router-link-active{background:var(--accent);color:#fff;border-color:var(--accent)}.danger,.error{color:#b42318}button.danger{border-color:#f0d0d0}h1{font-size:21px;margin:0}h2{font-size:18px;margin:0 0 16px}h3{font-size:15px;margin:18px 0 10px}p{margin:8px 0}.muted,small{color:var(--muted)}small{display:block;font-size:12px}.check small{display:inline}label{display:block;margin:12px 0 5px}input:not([type=checkbox]),select,textarea{width:100%;border:1px solid var(--line);border-radius:7px;padding:9px;background:#fff;color:var(--ink)}input:focus,select:focus,textarea:focus{outline:2px solid #d2c9ff;border-color:var(--accent)}textarea{resize:vertical;min-height:82px}input[type=checkbox]{accent-color:var(--accent)}.check{display:flex;align-items:center;gap:8px}.workspace-header{display:flex;justify-content:space-between;gap:24px;padding:20px 28px;background:#fff;border-bottom:1px solid var(--line)}.workspace-header p{color:var(--muted);margin:4px 0 0}.workspace-header [role=status]{max-width:40%;align-self:center;white-space:pre-wrap}nav{display:flex;flex-wrap:wrap;gap:8px;padding:14px 28px;background:#fff;border-bottom:1px solid var(--line)}main{max-width:1600px;margin:auto;padding:24px 28px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:18px}.row,.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toolbar{justify-content:space-between}.toolbar h2,.toolbar h3{margin:0}.end{justify-content:flex-end}.grid{display:grid;grid-template-columns:250px minmax(0,1fr);gap:20px}.two,.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wide{grid-column:1/-1}.list{display:grid;gap:8px;margin:16px 0}.list button{text-align:left}.pill{font-size:12px;font-weight:400;display:inline-block;border:1px solid var(--line);background:#f6f5ff;border-radius:20px;padding:2px 10px}.status{white-space:pre-wrap;margin:12px 0}.section{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}details>summary{cursor:pointer;color:var(--muted);padding:8px 0}.table-wrap{overflow:auto;margin:16px 0}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:12px;border-bottom:1px solid var(--line);vertical-align:top}th{font-size:12px;color:var(--muted);white-space:nowrap}td input,td select{min-width:95px}td button{white-space:nowrap}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f8fc;border-radius:8px;padding:14px;max-height:65vh;overflow:auto;font-size:13px}dialog{border:1px solid var(--line);border-radius:14px;padding:24px;width:min(980px,94vw);max-height:90vh;color:var(--ink)}dialog::backdrop{background:#17213c66}.agent-power{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fafaff;border:1px solid var(--line);padding:18px 20px;border-radius:10px;margin-bottom:24px}.agent-power strong{font-size:17px}.agent-power label{white-space:nowrap}.agent-power input[type=checkbox]{appearance:none;width:42px;height:24px;border-radius:20px;background:#b9c0cf;position:relative;cursor:pointer}.agent-power input:checked{background:var(--accent)}.agent-power input:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff}.agent-power input:checked:after{transform:translate(18px)}.steps{position:sticky;top:20px;align-self:start}.steps a{display:flex;gap:12px;text-decoration:none;color:inherit;padding:14px 0;align-items:center}.step-number{display:inline-grid;place-items:center;width:30px;height:30px;border:1px solid #d5cdf8;border-radius:50%;color:var(--accent);flex-shrink:0}.greeting-prompt{padding:16px;border:1px solid var(--line);border-radius:9px;margin:12px 0}.tool-picker{position:relative;display:inline-block}.tool-options{position:absolute;top:100%;left:0;z-index:12;background:#fff;border:1px solid var(--line);box-shadow:0 8px 30px #26304c22;padding:12px 18px;border-radius:8px;min-width:300px;max-height:360px;overflow:auto}.tool-options label{margin:8px 0}.picker-backdrop{position:fixed;inset:0;z-index:11}.messages{height:520px;overflow:auto;background:#fafbfe;border:1px solid var(--line);border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:12px}.bubble{align-self:flex-start;background:#eef0f8;padding:12px 16px;border-radius:12px;max-width:90%;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.user{align-self:flex-end;background:#ebe5ff}.reply-meta{border-top:1px solid #d9deed;margin-top:10px;padding-top:8px;font-size:12px;color:var(--muted)}.chat-waiting{display:flex;align-items:center;gap:10px;color:var(--muted)}.chat-waiting:before{content:"";width:14px;height:14px;border:2px solid #ccc;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}.chat-send-error{color:#b42318;font-size:12px;margin-top:8px}.chat-media{margin:4px 0;width:min(100%,360px)}.chat-media img,.chat-media video{width:100%;max-height:400px;object-fit:contain;border-radius:7px}.chat-media-preview{padding:0;border:0;background:none;display:block;cursor:zoom-in}.chat-media-actions{display:flex;justify-content:space-between;gap:12px;font-size:12px;margin-top:6px}.image-preview{display:block;max-width:100%;max-height:70vh;margin:auto}.busy-line{color:var(--muted);padding:14px}.filters{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap}.filters>label{flex:1;min-width:140px}.structured{padding:10px;border:1px solid var(--line);border-radius:8px;margin:6px 0}.structured table{table-layout:fixed}.structured td{padding:6px}.structured td:last-child{width:75px}fieldset{border:0;padding:0;margin:0;min-width:0}a{color:var(--accent)}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1000px){.grid{grid-template-columns:200px minmax(0,1fr)}.two{grid-template-columns:1fr}.steps{position:static}.workspace-header{flex-direction:column;gap:10px}.workspace-header [role=status]{max-width:100%;align-self:start}}@media(max-width:700px){main{padding:14px}nav{padding:12px;gap:5px}.grid,.field-grid{grid-template-columns:1fr}.card{padding:16px}.messages{height:440px}.workspace-header{padding:16px}.steps{display:none}.agent-power{flex-direction:column;align-items:start}.bubble{max-width:96%}}@media(prefers-reduced-motion:reduce){.chat-waiting:before{animation:none}}:root{color-scheme:light;--bg: #f4f5f9;--ink: #202438;--muted: #697286;--line: #e0e4ef;--accent: #6655db}button,input,select,textarea{transition:border-color .15s,background-color .15s,box-shadow .15s}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #d8d3fa;outline-offset:3px}button.primary:hover{background:#5948c9;border-color:#5948c9}input:not([type=checkbox]),select,textarea{display:block;margin-top:6px}input[type=checkbox]{width:16px;height:16px;flex-shrink:0}.workspace-header{padding:18px 28px;align-items:flex-start;flex-direction:row}.workspace-header [role=status]{text-align:right;font-size:12px;max-width:360px;color:#6f798e;align-self:center}.workspace-header [role=status].error{color:#b42318}.workspace-tabs{gap:8px;padding:14px 28px;border-bottom:0}.workspace-tabs a{white-space:nowrap}.workspace-main{padding:22px 28px 36px}.card{padding:20px;margin-bottom:16px;box-shadow:0 1px 3px #26304402}.toolbar{margin-bottom:16px}.toolbar p:last-child{margin-bottom:0}.grid{grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid{gap:8px 18px}.field-grid label{margin-top:4px}.field-grid textarea{min-height:76px}.filters{padding:0 0 12px;gap:12px}.filters>label{max-width:320px}.filters button{margin-bottom:5px}th{background:#fafbfe;font-weight:500;color:#778098}td{color:#414a60;overflow-wrap:anywhere}td:last-child .row{justify-content:flex-end}tbody tr:hover{background:#fcfcff}td small{margin-top:4px;font-size:11px}.table-wrap{border:1px solid #e9ecf3;border-radius:9px}.table-wrap tr:last-child td{border-bottom:0}.section{scroll-margin-top:24px}.feedback{background:#fff3f2;border:1px solid #f6d2ce;border-radius:9px;padding:12px 16px}.error:empty{display:none}dialog{width:min(860px,94vw);padding:24px;box-shadow:0 24px 80px #18243b26}dialog>.toolbar{position:sticky;top:-24px;padding:14px 0;background:#fff;z-index:2;border-bottom:1px solid var(--line);margin-bottom:16px}dialog>.toolbar h2{font-size:18px}dialog .two{gap:14px}dialog pre{line-height:1.85}.detail-code,.prompt-code{color:#8992a4;font:11px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.detail-description{padding:12px 16px;background:#f6f5fc;border-radius:8px;color:#5d657b;line-height:1.9}.detail-facts{margin:18px 0}.detail-facts>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #edf0f6}.detail-facts dt{font-size:12px;color:var(--muted)}.detail-facts dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.detail-meta{display:flex;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:12px}.sql-content{font:12px/1.8 ui-monospace,SFMono-Regular,Consolas,monospace;background:#f5f6fa;border:1px solid #e8ebf2}.prompt-content{max-height:60vh;font:14px/1.9 inherit}.empty-state{grid-column:1/-1;padding:28px 18px;text-align:center;color:#8a93a5;background:#fafbfe;border:1px dashed #e2e6ef;border-radius:9px;font-size:12px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.agent-workspace{--accent: #5852d6;--ink: #263044;--muted: #737f93;--line: #e7eaf2}.agent-power{padding:18px 22px;margin:0 0 16px;background:#fff;border:1px solid #e3e5ef;border-radius:12px;box-shadow:0 2px 4px #26304403}.agent-power strong{font-size:16px;font-weight:650}.agent-power p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.8}.agent-switch{display:flex;align-items:center;gap:10px;margin:0;font-size:13px;color:#535c73;flex-shrink:0}.agent-switch input[type=checkbox]{width:42px;height:24px;margin:0}.workspace-intro{color:#7a8498;font-size:13px;margin:0 2px 20px}.agent-facts{background:#eeedf9;border:1px solid #e4e1f5;color:#70698d;padding:13px 18px;border-radius:10px;font-size:12px;margin:0 0 22px}.agent-facts strong{color:#655b8e}.agent-facts p{margin:4px 0;line-height:1.85}.workspace-layout{display:grid;grid-template-columns:218px minmax(0,1fr);gap:28px;align-items:start}.workspace-content{min-width:0;display:grid;gap:18px}.config-steps{position:sticky;top:22px;padding:18px 14px;margin:0;min-width:0}.config-steps h3{margin:0 0 22px;font-size:13px;color:#4c566d}.role-steps{list-style:none;padding:0;margin:0}.role-steps li{position:relative;padding-bottom:26px}.role-steps li:not(:last-child):after{content:"";position:absolute;left:14px;top:34px;bottom:3px;width:1px;background:#e4e6ef}.role-steps li:last-child{padding-bottom:0}.role-steps button{display:flex;align-items:flex-start;gap:10px;text-align:left;border:0;padding:0;background:transparent;width:100%;box-shadow:none;color:#657087}.role-steps button:hover{color:var(--accent);background:transparent}.step-number{display:grid;place-items:center;width:30px;height:30px;border:1px solid #e0e4ef;border-radius:50%;font-size:12px;color:#8e97a9;flex-shrink:0;background:#fff}.role-steps strong{display:block;font-size:11px;font-weight:500;color:#8b94a5;margin-bottom:2px}.step-label{font-size:13px;font-weight:600;display:block}.role-steps small{font-size:11px;line-height:1.7;margin-top:4px;font-weight:400}.role-steps .current .step-number{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 3px 8px #5852d620}.role-steps .current .step-label{color:var(--accent)}.role-steps .done .step-number{color:var(--accent);border-color:#d8d1fa;background:#f0eefb}.sidebar-note{border-top:1px solid #e9ecf3;padding-top:18px;margin:22px 0 0;font-size:12px;color:#657089}.sidebar-note p{font-size:11px;line-height:1.85;margin:7px 0 0}.workspace-dot{display:inline-block;width:6px;height:6px;background:#38a884;border-radius:50%;margin-right:7px}.sidebar-examples{margin-top:14px;font-size:11px;color:#7b8599;line-height:1.8}.sidebar-examples summary{font-size:11px}.agent-config-section{scroll-margin-top:24px;padding:24px;border:1px solid #e7eaf2;background:#fff;border-radius:14px;box-shadow:0 2px 3px #23304402;min-width:0}.agent-config-section h3{display:flex;gap:10px;align-items:center;margin:0;font-size:15px;font-weight:650;color:#3b455b}.agent-config-section h3>span{width:25px;height:25px;display:grid;place-items:center;background:#f0effb;color:#655ed3;border:1px solid #e5e2fa;font-size:12px;border-radius:8px;flex-shrink:0}.agent-config-section>.muted{font-size:12px;line-height:1.85;margin:10px 0 20px;max-width:860px}.agent-config-section>.toolbar{margin-bottom:0}.agent-workspace button{font-size:12px;border-radius:8px}.agent-workspace button.primary{font-weight:600;padding:10px 22px;box-shadow:0 3px 8px #5852d619;font-size:13px}.agent-workspace input:not([type=checkbox]),.agent-workspace select{min-height:40px;font-size:13px;border-color:#e5e8f0;background:#fdfdff;border-radius:8px}.control-label{max-width:560px;font-size:12px;color:#6c768b;margin:12px 0 0}.short-control{max-width:180px;font-size:12px;color:#6c768b}.advanced-block{margin-top:18px;padding-top:10px;border-top:1px solid #edf0f6}.advanced-block summary,.runtime-settings summary{font-size:12px;color:#747d92;padding:0}.advanced-block p{font-size:12px}.inline-controls{display:flex;align-items:flex-end;gap:10px}.inline-controls label{flex:1}.runtime-settings .field-grid{margin-top:18px}.runtime-settings label{font-size:12px;color:#69758c}.runtime-settings small{font-size:11px;margin-top:6px}.inline-note{background:#f7f8fc;border:1px solid #edf0f6;border-radius:9px;padding:12px 15px;color:#7a8499;font-size:12px;line-height:1.85;margin:16px 0 0}.inline-note p{margin:5px 0 0}.agent-save{display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;bottom:12px;z-index:3;border:1px solid #e3e6f0;border-radius:12px;padding:14px 20px;background:#ffffffed;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:0 5px 20px #2732510a}.save-state{color:#7e889c;font-size:12px}.save-state:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#42a588;margin-right:8px}.save-state.changed{color:#9b783d}.save-state.changed:before{background:#c99437}.capability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.capability-card{min-width:0;display:flex;flex-direction:column;padding:16px;border:1px solid #e6e9f1;border-radius:10px;background:#fff}.capability-card.invalid{border-color:#edc7bc;background:#fffbfa}.capability-heading{display:flex;align-items:flex-start;gap:9px}.capability-heading>div{min-width:0;flex:1}.capability-heading strong{color:#424b62;font-weight:600;font-size:13px}.capability-heading small{font-size:10px;color:#919aac;margin-top:3px;overflow-wrap:anywhere}.selected-mark,.foundation-check{display:grid;place-items:center;width:18px;height:18px;flex-shrink:0;font-size:11px;border-radius:5px;background:#efedfb;color:var(--accent);margin-top:2px}.foundation-check{background:#e9f5ee;color:#43987b;border-radius:50%}.tool-status{font-size:10px;color:#3c8d76;white-space:nowrap;padding-top:3px}.tool-status.unavailable{color:#ac7050}.capability-card>p,.tool-purpose{font-size:12px;color:#788399;line-height:1.85;overflow-wrap:anywhere;margin:12px 0 0 27px}.tool-purpose p{margin:0}.action-tag{display:inline-block;font-size:10px;background:#f1effa;color:#71649f;border-radius:5px;padding:2px 7px;margin-bottom:8px}.capability-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:auto;padding-top:14px}.capability-actions button{font-size:11px;padding:4px 9px;color:#746bb8;border-color:#e8e4f7;background:transparent}.capability-actions .quiet-button{color:#8992a4;border-color:transparent}.foundation-section .capability-card{background:#fafbfd;border-color:#edf0f5}.foundation-badge{font-size:10px;border-radius:5px;background:#eaf7f1;color:#48987f;padding:4px 8px;white-space:nowrap}.tool-picker{display:block;width:100%;max-width:560px;position:relative}.picker-trigger{width:100%;display:flex;gap:12px;align-items:center;justify-content:space-between;border-color:#e5e8f0;padding:10px 14px;min-height:42px;text-align:left;color:#58647d;background:#fdfdff}.picker-count{margin-left:auto;color:#969fb0;font-size:11px}.tool-options{position:absolute;top:calc(100% + 6px);z-index:12;left:0;right:0;min-width:0;width:100%;max-height:360px;overflow:auto;padding:6px;border:1px solid #e1e5ef;border-radius:10px;background:#fff;box-shadow:0 10px 28px #20243814}.tool-options .picker-search{position:sticky;top:-6px;margin:0 0 6px;width:100%;min-height:38px;z-index:1;background:#fff}.tool-option{display:flex;align-items:flex-start;gap:10px;margin:0;padding:12px 10px;border-radius:7px;cursor:pointer}.tool-option:hover{background:#f6f5fc}.tool-option>span:nth-child(2){min-width:0;flex:1}.tool-option strong{font-size:12px;font-weight:500;color:#4e5870}.tool-option small{font-size:11px;margin-top:4px;overflow-wrap:anywhere;line-height:1.75}.tool-option input{margin:3px 0 0}.prompt-picker{max-width:560px}.selection-summary{color:#8a93a5;font-size:11px;margin:10px 0 16px}.greeting-prompt{padding:18px;border:1px solid #e7e9f1;border-radius:10px;margin:12px 0 0;background:#fff}.greeting-prompt.inactive{background:#fafbfe}.prompt-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.prompt-heading label{margin:0;font-size:13px;color:#536079;font-weight:500;min-width:0}.prompt-heading .row{gap:4px}.prompt-heading button{border-color:transparent;background:#f7f8fc;color:#7c869b;font-size:11px;padding:4px 8px}.prompt-heading button:first-child{color:var(--accent);background:#f1effb}.prompt-code{margin:8px 0 0 24px}.greeting-prompt>.error{font-size:12px;margin-left:24px}.role-layout{grid-template-columns:220px minmax(0,1fr) 150px;align-items:start}.role-list{position:sticky;top:22px}.role-list .toolbar{flex-wrap:wrap;gap:8px}.role-list .toolbar h2{font-size:16px}.role-list .list{max-height:65vh;overflow:auto;padding:2px;margin:14px -2px}.role-list .list button{display:block;width:100%;padding:11px 12px;background:#fff;border-color:#e5e8f1}.role-list .list button.selected{background:#f3f0ff;border-color:#c9bff3;box-shadow:0 0 0 1px #f0ebff}.role-list .list strong{display:block;font-size:12px;font-weight:500}.role-list .list small{font-size:11px;margin-top:5px}.role-list>p{font-size:12px}.role-editor{min-width:0}.role-editor>.toolbar{align-items:flex-start}.role-editor>.toolbar h2{font-size:18px;line-height:1.7}.role-guide{background:#f5f3ff;padding:10px 12px;border-radius:7px;color:#665792;font-size:12px}.role-layout>.config-steps{padding:16px 12px}.role-layout .role-steps button{gap:8px}.role-layout .role-steps .step-label{font-size:12px}.role-layout .role-steps small{font-size:10px}.role-editor .section>.row{margin-top:12px}.messages{min-height:360px;height:520px;max-height:65vh;background:#fafbfe}.bubble{font-size:14px;line-height:1.8}@media(min-width:1500px){.workspace-layout{grid-template-columns:230px minmax(0,1fr);gap:36px}}@media(max-width:1100px){.workspace-layout{grid-template-columns:180px minmax(0,1fr);gap:18px}.capability-grid{grid-template-columns:1fr}.role-layout{grid-template-columns:180px minmax(0,1fr) 136px;gap:12px}.prompt-heading{align-items:flex-start}}@media(max-width:850px){.workspace-layout,.role-layout,.two,.field-grid{grid-template-columns:1fr}.workspace-header{padding:16px;flex-direction:row}.workspace-header [role=status]{max-width:35%}.workspace-tabs{padding:12px 16px;flex-wrap:nowrap;overflow-x:auto}.workspace-main{padding:16px}.config-steps,.role-list{position:static}.config-steps{padding:16px}.config-steps h3{margin-bottom:16px}.role-steps{display:flex;flex-wrap:wrap;gap:18px}.role-steps li{flex:1;min-width:130px;padding:0}.role-steps li:not(:last-child):after{display:none}.sidebar-note,.sidebar-examples{display:none}.role-layout>.config-steps{grid-row:2}.role-list .list{display:flex;max-height:140px;overflow:auto}.role-list .list button{min-width:160px}.agent-config-section{padding:20px}.field-grid .wide{grid-column:auto}}@media(max-width:600px){.workspace-header{gap:12px;flex-direction:row}.workspace-header [role=status]{max-width:38%;flex-shrink:0;text-align:right}.workspace-header p{font-size:12px}.agent-power{flex-direction:row;align-items:flex-start;padding:16px;gap:12px}.agent-power p{max-width:30ch}.agent-power strong{font-size:15px}.agent-switch{flex-direction:column;gap:5px;font-size:11px}.agent-config-section{padding:16px}.agent-config-section h3{font-size:14px}.agent-save{bottom:8px;padding:12px;gap:10px}.save-state{font-size:11px}.agent-workspace button.primary{padding:9px 13px;white-space:nowrap}.capability-card{padding:14px}.detail-facts>div{grid-template-columns:1fr;gap:5px}.inline-controls{align-items:stretch;flex-direction:column}.prompt-heading .row{width:100%;justify-content:flex-end}.toolbar{flex-wrap:wrap}}
