body.studio .shell{grid-template-columns:208px minmax(0,1fr)}body.studio .sidebar{position:sticky;top:0;height:100vh;padding:24px 16px;background:#fafbfe}body.studio .main{max-width:none;margin:0;padding:20px 28px;min-width:0}body.studio .auth-toolbar{margin-bottom:12px}body.studio .sidebar .brand{font-size:19px;margin:0 4px 28px}body.studio .sidebar .side-note{font-size:11px}body.studio .tabs{display:none}body.studio .top{display:none}body.studio .sidebar button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin:3px 0;padding:12px 14px;border:0;border-radius:9px;background:transparent;color:#526076;font-weight:500}body.studio .sidebar button:hover{background:#edf0f7}body.studio .sidebar button.active{background:#e9edff;color:#4357cc;font-weight:650}body.studio .sidebar .group{color:#929aab;font-size:11px;margin:22px 14px 8px}.st-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 28px}.st-head h1{font-size:25px;margin:0 0 7px}.st-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.st-muted{color:#8590a0;font-size:12px;line-height:1.7}.st-toolbar{display:flex;gap:10px;align-items:center;margin:18px 0}.st-toolbar input{max-width:320px}.st-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}.st-card{background:#fff;border:1px solid #e4e8f0;border-radius:13px;padding:22px;min-width:0;display:flex;flex-direction:column;gap:15px}.st-card:hover{border-color:#bfc9ef;box-shadow:0 5px 20px #24376b08}.st-card h3{font-size:16px;margin:0;overflow-wrap:anywhere}.st-card p{font-size:12px;min-height:38px}.st-icon{width:37px;height:37px;border-radius:11px;background:#edf0ff;color:#596bd8;display:grid;place-items:center;font-size:20px}.st-card .st-actions{margin-top:auto}.st-tag{font-size:11px;padding:4px 8px;border-radius:5px;background:#f0f2f6;color:#6c7788;display:inline-block}.st-tag.live{background:#e9f7ef;color:#287e54}.st-tag.dirty{background:#fff4dd;color:#906c20}.st-empty{padding:64px 24px;text-align:center;border:1px dashed #d9dfeb;border-radius:12px;background:white;color:#8390a2}.st-empty h3{color:#49566b}.st-edit-head{position:sticky;top:0;background:#f6f8fb;z-index:2;padding:12px 0;margin:0 0 14px}.st-edit-head h1{font-size:20px}.st-editor{display:grid;grid-template-columns:138px minmax(330px,1fr) minmax(290px,350px);gap:16px;align-items:start}.st-sections{position:sticky;top:90px}.st-sections button{width:100%;border:0;background:transparent;border-radius:8px;text-align:left;padding:12px;color:#69768c;margin-bottom:4px}.st-sections button.active{color:#4159cd;background:#e9edff;font-weight:600}.st-form{padding:25px;background:white;border:1px solid #e4e8f0;border-radius:12px;min-height:520px}.st-form h2{font-size:17px;margin:0 0 8px}.st-form h3{font-size:14px;margin:24px 0 12px}.st-form label{font-size:13px;color:#536077;font-weight:500}.st-form textarea{min-height:110px}.st-form textarea.st-prompt{min-height:340px;line-height:1.9}.st-form select,.st-dialog select{width:100%;border:1px solid #dfe4ed;border-radius:8px;padding:11px;background:white;color:#344054;font:inherit}.st-form details{border-top:1px solid #edf0f5;padding:18px 0;margin-top:20px}.st-form summary{cursor:pointer}.st-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px;border:1px solid #e7ebf3;border-radius:9px;margin-top:12px;background:#fafbfe}.st-row>div:first-child{min-width:0;flex:1}.st-row strong{font-size:13px}.st-row .st-muted{overflow-wrap:anywhere}.st-row select{max-width:130px}.st-debug{position:sticky;top:90px;display:flex;flex-direction:column;background:#eff2f8;border:1px solid #e4e8f0;border-radius:12px;height:calc(100vh - 160px);min-height:460px}.st-debug-head{display:flex;justify-content:space-between;align-items:center;padding:16px;font-weight:600;border-bottom:1px solid #e3e7f0}.st-debug-head button{font-size:11px;padding:6px 8px}.st-messages{padding:16px;overflow:auto;flex:1;min-height:0}.st-message{padding:13px;border-radius:10px;background:white;margin-bottom:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:13px}.st-message.user{background:#e1e8ff;margin-left:30px}.st-message details{font-size:11px;margin-top:10px;color:#66758c;white-space:normal}.st-message pre{white-space:pre-wrap;overflow-wrap:anywhere}.st-compose{padding:12px}.st-compose textarea{min-height:85px;resize:vertical}.st-compose .st-actions{justify-content:flex-end;margin-top:8px}.st-notice{min-height:22px;font-size:12px;color:#6473a0;margin:6px 0}.st-notice.error{color:#b34b43}.st-dialog{width:min(720px,94vw);max-height:90vh;overflow:auto;border:1px solid #dfe4ed;border-radius:16px;padding:26px;color:#344054;box-shadow:0 20px 90px #1c2c4833}.st-dialog::backdrop{background:#24314b66;backdrop-filter:blur(3px)}.st-dialog h2{margin:0;font-size:20px}.st-dialog textarea{min-height:100px}.st-dialog .st-actions.footer{justify-content:flex-end;margin-top:25px;font-size:14px}.st-dialog .st-picker{max-height:60vh;overflow:auto}.st-dialog.drawer{margin:0 0 0 auto;height:100vh;max-height:100vh;width:min(650px,95vw);border-radius:14px 0 0 14px}.st-close{float:right;border:0;background:none;color:#8290a0;font-size:22px}.st-columns{display:grid;grid-template-columns:1fr 1fr;gap:15px}.st-tabs{display:flex;gap:8px;margin-bottom:20px}.st-tabs button.active{background:#e9edff;color:#4357cc;border-color:#cbd4ff}.st-table{width:100%;border-collapse:collapse;background:white;font-size:13px}.st-table th{text-align:left;color:#738198;background:#f0f3f8;padding:13px}.st-table td{padding:16px 13px;border-bottom:1px solid #edf0f5}.st-files{display:grid;grid-template-columns:250px minmax(0,1fr);border:1px solid #e4e8f0;border-radius:12px;background:white;min-height:550px;overflow:hidden}.st-tree{padding:15px;border-right:1px solid #e4e8f0;overflow:auto}.st-tree button{display:block;text-align:left;border:0;background:transparent;padding:8px;color:#526682;width:100%;overflow-wrap:anywhere}.st-tree button:hover,.st-tree button.active{background:#edf0ff;color:#465dcc}.st-file-content{margin:0;padding:24px;white-space:pre-wrap;overflow-wrap:anywhere;font-family:Consolas,monospace;font-size:13px;line-height:1.8;max-height:75vh;overflow:auto}.st-var-menu{position:absolute;background:white;border:1px solid #dbe1ed;border-radius:8px;padding:6px;box-shadow:0 8px 25px #20305420;z-index:5;max-height:220px;overflow:auto}.st-var-menu button{display:block;width:100%;text-align:left;border:0;background:white;padding:9px}.st-var-menu button:hover{background:#edf0ff}.st-save{font-size:11px;color:#7f8da3}.st-info{padding:14px 17px;background:#edf2fc;color:#68799a;border-radius:9px;font-size:12px;line-height:1.8;margin:16px 0}.st-danger{color:#b24b4b}.st-check{display:flex;gap:8px;align-items:center;font-weight:400!important}.st-check input{width:auto}.st-steps{display:flex;gap:18px;margin:20px 0;color:#8b96a5}.st-steps .active{color:#4562cf;font-weight:600}#studio-root button:focus-visible{outline:2px solid #6679e3;outline-offset:2px}
@media(max-width:1250px){.st-editor{grid-template-columns:115px minmax(300px,1fr)}.st-debug{grid-column:2;position:static;height:550px}.st-sections{grid-row:span 2}body.studio .main{padding:18px}}@media(max-width:760px){body.studio .shell{display:block}body.studio .sidebar{display:flex;position:static;height:auto;padding:12px;flex-direction:row;flex-wrap:wrap;gap:5px}body.studio .sidebar .brand{width:100%;margin:0 0 10px}body.studio .sidebar button{width:auto;padding:8px}.sidebar .group,.sidebar .side-note{display:none}.st-editor{display:block}.st-sections{position:static;display:flex;overflow:auto;margin-bottom:12px}.st-sections button{white-space:nowrap;width:auto}.st-debug{margin-top:16px}.st-columns,.st-files{grid-template-columns:1fr}.st-tree{max-height:200px}.st-head{align-items:flex-start}.st-table{display:block;overflow:auto}}
.st-tool-editor{display:block}.st-tool-editor .st-form{padding:24px;max-width:none}.st-parameter-scroll{overflow-x:auto;margin:12px 0}.st-parameter-table{border-collapse:collapse;width:100%;min-width:980px;font-size:12px}.st-parameter-table th{text-align:left;color:#8390a2;padding:10px 6px;font-weight:500}.st-parameter-table td{padding:5px 6px;vertical-align:top}.st-parameter-table input:not([type=checkbox]),.st-parameter-table select{padding:9px;min-width:110px;width:100%;font-size:12px;margin:0}.st-parameter-table td:nth-child(2) input{min-width:170px}.st-parameter-table .btn{padding:7px;white-space:nowrap}.st-test-json{background:#f1f4fa;border-radius:8px;padding:16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.st-parameter-table label{font-size:11px}.st-dialog #st-test-fields textarea{min-height:42px;margin-bottom:14px}
.st-trace-step{margin:10px 0;padding:10px;background:#f5f6fb;border:1px solid #e4e7f0;border-radius:10px;font-size:12px}.st-trace-step summary{cursor:pointer;font-weight:600;line-height:1.6}.st-trace-step pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;background:white;padding:10px;border-radius:6px}.st-debug-trace:empty{display:none}.st-message>.st-muted{border-top:1px solid #e4e7f0;margin-top:12px;padding-top:10px;font-size:11px;line-height:1.8}
@media(min-width:1251px){.st-editor{grid-template-columns:138px minmax(330px,1fr) clamp(300px,var(--st-debug-width,350px),calc(100% - 500px))}}
.st-debug{min-width:0}.st-debug-resizer{position:absolute;left:-13px;top:0;bottom:0;width:12px;cursor:col-resize;touch-action:none;z-index:3;border-radius:6px}.st-debug-resizer::after{content:'';position:absolute;top:40%;height:70px;left:4px;width:4px;border-radius:4px;background:#b5bfd4}.st-debug-resizer:hover,.st-debug-resizer.dragging,.st-debug-resizer:focus-visible{background:#dfe5ff;outline:none}.st-debug-resizer:hover::after,.st-debug-resizer.dragging::after{background:#5368d8}.st-message.user{background:#4159bc;color:#fff;border:1px solid #354da9;margin-left:35px;border-radius:14px 14px 3px 14px}.st-message.user::before{content:'你';display:block;font-size:11px;font-weight:600;color:#e3eaff;margin-bottom:5px}.st-message.assistant{background:#f0faf5;color:#253c34;border:1px solid #cce5d7;margin-right:10px;border-radius:14px 14px 14px 3px}.st-message.assistant::before{content:'智能体';display:block;font-size:11px;font-weight:600;color:#287052;margin-bottom:8px}@media(max-width:1250px){.st-debug-resizer{display:none}}
.st-param-history{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:8px 0 20px}.st-history-chip{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #d9e1f6;border-radius:7px;background:#edf2ff;color:#3f5595;padding:6px 9px;font:inherit;font-size:12px;cursor:pointer}.st-history-chip:hover{background:#dfe8ff;border-color:#9babdf}.st-history-clear{border:0;background:transparent;color:#7a8499;font:inherit;font-size:11px;cursor:pointer;padding:6px}.st-history-clear:hover{color:#b34b43}
.st-compose-box{position:relative;background:#fff;border:1px solid #dce3ef;border-radius:12px;overflow:hidden}.st-compose-box:focus-within{border-color:#6575e9;box-shadow:0 0 0 2px #6575e918}.st-compose .st-compose-box textarea{display:block;width:100%;box-sizing:border-box;min-height:132px;padding:12px 14px 62px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:none;resize:vertical}.st-compose .st-compose-box .st-actions{position:absolute;right:12px;bottom:10px;margin:0;gap:8px}.st-compose-box .st-actions button{padding:7px 13px;font-size:12px}

.st-editor.st-access-layout{grid-template-columns:150px minmax(0,1fr)} .st-access-code{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f6fb;padding:14px;border-radius:8px;max-height:420px;overflow:auto} @media(max-width:850px){.st-editor.st-access-layout{grid-template-columns:1fr}}

@media(min-width:761px){body.studio .sidebar{display:flex}body.studio .main{grid-column:2}} .st-access-layout .st-form{min-width:0}
.st-component-editor{display:block;min-width:0}.st-component-editor .st-form{min-width:0;padding:28px}.st-component-block+.st-component-block{border-top:1px solid #e8ecf3;margin-top:28px;padding-top:26px}.st-component-block>label{max-width:950px}.st-component-block h2{margin-bottom:20px}.st-component-block .inline{justify-content:space-between;align-items:center}.st-component-block .inline h3{margin:20px 0 12px}.st-component-table-wrap{width:100%;overflow:auto;border:1px solid #e5e9f1;border-radius:10px;margin:12px 0 18px}.st-component-table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}.st-component-table th{padding:12px;background:#f5f7fb;color:#758198;font-weight:500;white-space:nowrap}.st-component-table td{padding:12px;vertical-align:middle;border-top:1px solid #e9edf4;min-width:64px}.st-component-table code{font-size:12px;white-space:nowrap;color:#526582}.st-component-table .st-component-description{min-width:145px;max-width:240px;line-height:1.7;overflow-wrap:anywhere}.st-component-table input:not([type=checkbox]),.st-component-table select{box-sizing:border-box;min-width:110px;width:100%;margin:0;padding:9px 10px;font-size:12px;border:1px solid #dce3ef;border-radius:7px}.st-component-table input:disabled,.st-component-table select:disabled{background:#f3f5f9;color:#99a2b2}.st-component-table .st-component-switch{display:flex;align-items:center;gap:7px;margin:0;white-space:nowrap}.st-component-switch input{width:15px;height:15px;margin:0;accent-color:#5967e4}.st-component-type{background:#edf1fa;color:#66758d;border-radius:5px;padding:5px 8px}.st-component-table tr.is-disabled{background:#fafbfe}.st-component-editor .st-info{margin-top:18px}@media(max-width:800px){.st-component-editor .st-form{padding:18px}.st-component-block .inline{flex-wrap:wrap}}
.st-overview-heading>span{font-size:10px;letter-spacing:1.8px;color:#8a96b6}.st-overview-heading h2{margin-top:9px}.st-overview-heading p{font-size:12px;color:#8793a8;line-height:1.8}.st-release-summary{padding:18px 20px;background:linear-gradient(120deg,#f0f3ff,#f7f9ff);border:1px solid #e2e8fa;border-radius:13px;margin:20px 0}.st-release-summary strong{font-size:14px;color:#4a5c88}.st-release-summary p{font-size:12px;line-height:1.8;color:#7d8ca7;margin:7px 0 10px}.st-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.st-overview-grid button{text-align:left;padding:18px;border:1px solid #e3e8f2;border-radius:12px;background:#fff;cursor:pointer;min-width:0}.st-overview-grid button:hover{background:#f9faff;border-color:#bcc8ef}.st-overview-grid small,.st-overview-grid span{display:block;font-size:11px;color:#8996ac}.st-overview-grid strong{display:block;margin:9px 0;color:#3d4e6a;font-size:14px;overflow-wrap:anywhere}.st-capability-summary{border:1px solid #e5eaf3;border-radius:12px;padding:15px 17px;margin-bottom:12px;background:#fcfdff}.st-capability-summary>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.st-capability-summary strong{font-size:13px;color:#536582}.st-capability-summary .btn{font-size:11px;padding:6px 10px}.st-capability-summary ul{display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:12px 0 0;list-style:none}.st-capability-summary li{font-size:11px;background:#eef2fb;padding:6px 9px;color:#6479a0;border-radius:6px;overflow-wrap:anywhere}.st-capability-summary p{font-size:12px;color:#98a2b4;margin:10px 0 0}.st-memory-link{width:100%;text-align:left;border:0;border-radius:9px;background:#f5f7fb;padding:13px;color:#7d8ca5;font-size:12px;cursor:pointer}.st-sections button{font-size:12px}.st-editor #st-form{box-shadow:0 4px 20px #314d7104}@media(max-width:600px){.st-overview-grid{grid-template-columns:1fr}}
/* Unified professional workspace: continuous configuration with an anchored rail. */
body.studio{background:#f7f8fa;color:#303744}body.studio .sidebar{background:#fff;border-right:1px solid #eceef2}body.studio .sidebar button{border-radius:7px;color:#717784}body.studio .sidebar button.active{background:#f0f2fa;color:#5264b5}body.studio .main{background:#fafbfc}#studio-root .btn{border-radius:7px;border-color:#e6e8ee;box-shadow:none}#studio-root .btn.primary{background:#5367cb;border-color:#5367cb;color:white}#studio-root .st-head h1{font-size:20px;letter-spacing:-.4px}#studio-root .st-edit-head{background:#fff;border-bottom:1px solid #eceef3;padding:14px 16px;margin-bottom:0;border-radius:10px 10px 0 0}#studio-root .st-notice:empty{min-height:0;margin:0}#studio-root .st-card{box-shadow:none;border-color:#e9ecf1;border-radius:10px}#studio-root .st-card:hover{border-color:#d6ddec}#studio-root .st-info{background:#f5f7fb;color:#7a869b;border-radius:7px}#studio-root .st-form input,#studio-root .st-form textarea,#studio-root .st-form select{border-color:#e7eaf0;border-radius:7px}#studio-root .st-row{background:#f8f9fb;border:0;border-radius:7px;padding:13px 14px}#studio-root .st-row strong{font-weight:500}#studio-root .st-row .st-muted{font-size:11px}#studio-root .st-row .btn{background:transparent;color:#8c96a7;font-size:11px}#studio-root .st-editor{gap:0;border:1px solid #eceef2;border-top:0;background:white;border-radius:0 0 10px 10px;overflow:hidden;grid-template-columns:76px minmax(320px,1fr) clamp(300px,var(--st-debug-width,350px),calc(100% - 420px));align-items:stretch}#studio-root .st-sections{padding:14px 7px;position:static;border-right:1px solid #f0f1f5}#studio-root .st-sections button{font-size:11px;padding:10px 7px;border-radius:6px;margin-bottom:5px;color:#7c8595}#studio-root .st-sections button.active{background:#f1f3f8;color:#405aaf}#studio-root .st-unified-form{height:calc(100dvh - 190px);min-height:420px;overflow:auto;border:0;border-radius:0;box-shadow:none;padding:0 28px 36px;scroll-padding-top:12px}#studio-root .st-config-section{padding:25px 0;border-bottom:1px solid #eef0f4;scroll-margin-top:12px}#studio-root .st-config-section:last-child{border-bottom:0}#studio-root .st-config-section h2{font-size:14px;font-weight:600;color:#586374}#studio-root .st-config-section>.st-muted{font-size:11px;line-height:1.8}#studio-root .st-config-section label{font-size:12px}#studio-root .st-config-section textarea.st-prompt{min-height:250px;font-size:13px;line-height:1.85}#studio-root .st-model-options{border:1px solid #edf0f5;padding:12px 14px;border-radius:7px;margin-top:15px}#studio-root .st-model-options>summary{font-size:12px;color:#6e7e9d}#studio-root .st-model-options[open]>summary{margin-bottom:18px}#studio-root .st-editor>.st-debug{border:0;border-left:1px solid #eceef2;background:#f5f6f8;border-radius:0;position:relative;top:0;height:calc(100dvh - 190px);min-height:420px}#studio-root .st-debug-head{border-bottom:1px solid #eaeef3;font-size:12px;font-weight:500}#studio-root .st-message{box-shadow:none}#studio-root .st-empty{border:1px dashed #e7eaf0;background:#fcfcfd;border-radius:7px}#studio-root .st-tag{border-radius:4px;font-size:10px}@media(max-width:1050px){#studio-root .st-editor{grid-template-columns:65px minmax(280px,1fr)}#studio-root .st-editor>.st-debug{grid-column:2;height:500px;border-top:1px solid #eceef2}#studio-root .st-sections{grid-row:span 2}#studio-root .st-unified-form{height:65vh;padding:0 20px 24px}}@media(max-width:650px){#studio-root .st-editor{display:block}#studio-root .st-sections{display:flex;border-right:0;border-bottom:1px solid #eee;padding:8px;margin:0}#studio-root .st-unified-form{min-height:350px;padding:0 16px 20px}#studio-root .st-editor>.st-debug{height:480px}#studio-root .st-edit-head{flex-wrap:wrap;gap:10px}}
#studio-root .st-rule-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}#studio-root .st-rule-heading>label{display:flex;align-items:center;gap:9px;margin:0;color:#8b94a5;font-size:11px}#studio-root .st-rule-heading select{width:auto;max-width:230px;padding:7px 12px;border-radius:18px;font-size:12px}#studio-root .st-basic-info{border:0;margin:0 0 18px;padding:0}#studio-root .st-basic-info>summary{font-size:11px;color:#8a95a9}#studio-root .st-basic-info[open]{padding:12px;background:#fafbfc;border-radius:8px}#studio-root .st-config-section textarea.st-prompt{min-height:290px}
#studio-root .st-model-control{display:flex;align-items:center;gap:8px}#studio-root .st-model-control>label{display:flex;align-items:center;gap:9px;margin:0;font-size:11px;color:#8b94a5}.st-model-gear{width:34px;height:34px;border-radius:50%;border:1px solid #e2e7f1;background:white;color:#6f83c7;font-size:18px;cursor:pointer}.st-model-gear:hover{border-color:#8296df;background:#f6f8ff}.st-model-popover{position:fixed;inset:auto;margin:0;box-sizing:border-box;padding:20px;border:1px solid #e3e7f0;border-radius:13px;background:white;color:#536077;box-shadow:0 12px 40px #25376218;max-height:calc(100vh - 24px);overflow:auto}.st-model-popover::backdrop{background:transparent}.st-model-popover header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.st-model-popover header strong{font-size:13px}.st-model-popover header button{border:0;background:none;color:#99a3b5;font-size:20px;cursor:pointer}.st-model-popover label{display:block;margin:18px 0;font-size:12px}.st-model-popover label>span{color:#9ba5b6;margin-left:8px;font-size:11px}.st-model-popover p{font-size:11px;color:#96a0b1;line-height:1.8;margin:16px 0 0}.st-temperature-row{display:flex;align-items:center;gap:16px;margin-top:10px}.st-temperature-row input[type=range]{flex:1;min-width:0;accent-color:#6d88dd}.st-temperature-row input[type=number]{width:76px!important;padding:8px!important;margin:0!important}.st-model-popover select{width:100%;margin-top:10px}

/* Focused agent configuration and metadata dialog. */
body.studio.st-agent-focus .shell{grid-template-columns:minmax(0,1fr)}
body.studio.st-agent-focus .sidebar{display:none}
body.studio.st-agent-focus .main{grid-column:1 / -1;min-width:0;width:100%;max-width:none;padding:16px 24px;margin:0}
#studio-root .st-agent-title{display:inline-flex;align-items:center;gap:10px;max-width:100%;border:0;background:transparent;padding:4px 8px 4px 0;color:inherit;font:inherit;text-align:left;border-radius:8px;cursor:pointer}
#studio-root .st-agent-title:hover{background:#f3f5fc}
#studio-root .st-agent-title:focus-visible{outline:2px solid #6976e5;outline-offset:3px}
#studio-root .st-agent-symbol{display:grid;place-items:center;width:32px;height:32px;flex:none;border-radius:10px;background:#eef0ff;color:#6973dd;font-size:22px}
#st-agent-name{overflow-wrap:anywhere}
#studio-root .st-title-pencil{font-size:16px;color:#94a0b6}
.st-info-dialog{width:min(520px,calc(100vw - 32px));border-radius:18px}
.st-info-dialog textarea{min-height:110px;max-height:260px}
.st-info-dialog .footer{justify-content:flex-end;margin-top:24px}
.st-required{color:#d85555}
@media(max-width:650px){body.studio.st-agent-focus .main{padding:12px}}

/* Business flow editor */
dialog.st-flow-dialog{width:min(1000px,calc(100vw - 40px));max-width:1000px;border-radius:18px}
.st-flow-top{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:8px 0 16px;border-bottom:1px solid #e8ecf5}
.st-flow-top label{display:flex;align-items:center;gap:8px;margin:0}.st-flow-top input[type=checkbox]{width:auto}
.st-flow-top select{width:auto;min-width:120px}.st-flow-layout{display:grid;grid-template-columns:210px minmax(0,1fr);height:55vh;min-height:300px;gap:22px;padding:16px 0}
.st-flow-layout nav{overflow:auto;border-right:1px solid #e8ecf5;padding-right:12px}.st-flow-layout nav button{display:flex;flex-direction:column;gap:5px;text-align:left;width:100%;border:1px solid #e6eaf3;border-radius:10px;background:#f8faff;color:#34415c;padding:12px;margin-bottom:8px;cursor:pointer}.st-flow-layout nav button.active{background:#eeefff;border-color:#aaaef1}.st-flow-layout nav small,.st-flow-layout nav span{font-size:11px;color:#7c87a0}.st-flow-layout section{overflow:auto;padding-right:8px}.st-flow-layout label{display:block;margin-bottom:14px}.st-flow-layout textarea{min-height:100px}.st-flow-vars{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 18px}.st-flow-vars .btn{font-size:11px;padding:5px 8px}#bf-error{color:#b54742;min-height:20px}.st-flow-dialog .footer{justify-content:flex-end;border-top:1px solid #e8ecf5;padding-top:14px}.st-flow-summary{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:650px){.st-flow-layout{grid-template-columns:140px minmax(0,1fr);gap:10px}.st-flow-top{gap:6px}}

/* Workflow Agent canvas */
dialog.st-flow-canvas-dialog{width:calc(100vw - 40px);max-width:1600px;max-height:calc(100vh - 32px);padding:22px}
.st-flow-canvas-dialog .st-flow-layout{grid-template-columns:145px minmax(300px,1fr) 300px;height:58vh;gap:16px}.st-flow-canvas-dialog .st-flow-top{gap:10px}.st-flow-canvas-dialog .st-flow-top label:first-child{display:none}
.bf-viewport{overflow:auto;position:relative;border:1px solid #e2e7f3;border-radius:12px;background-color:#f7f9fd;background-image:radial-gradient(#ced6e6 1px,transparent 1px);background-size:18px 18px;min-width:0}.bf-world{position:relative;width:4400px;height:4400px;transform-origin:0 0}.bf-world svg{position:absolute;inset:0;width:4400px;height:4400px;pointer-events:none}.bf-node{position:absolute;width:220px;box-sizing:border-box;padding:0 12px 12px;background:#fff;border:1px solid #d4ddee;border-top:3px solid #858de9;border-radius:11px;box-shadow:0 4px 12px #2632500c}.bf-node.tool{border-top-color:#60a1db}.bf-node.condition{border-top-color:#d5aa63}.bf-node.handoff{border-top-color:#c68dab}.bf-node.reply{border-top-color:#6caf99}.bf-node.selected{outline:2px solid #868de9;outline-offset:2px}.bf-node.status-success{box-shadow:0 0 0 2px #81c9ac}.bf-node.status-failed{box-shadow:0 0 0 2px #df8b8b}.bf-node.status-running{box-shadow:0 0 0 2px #728be8}.bf-node-title{width:100%;padding:12px 0 6px;border:0;background:none;text-align:left;font-weight:600;color:#263a5e;cursor:grab;touch-action:none}.bf-node small{display:block;color:#8591a7;font-size:11px;margin-bottom:8px}.bf-input,.bf-output{display:block;border:0;background:#f4f6fb;color:#617295;border-radius:5px;font-size:11px;padding:5px;cursor:pointer}.bf-input{position:absolute;left:-12px;top:35px;transform:translateX(-50%)}.bf-output{margin:3px -20px 0 auto;min-height:25px}.bf-edge{fill:none;stroke:#8996bf;stroke-width:2}.bf-edge.error-edge{stroke:#ce9595}
@media(max-width:1050px){.st-flow-canvas-dialog .st-flow-layout{grid-template-columns:minmax(280px,1fr) 250px}.st-flow-canvas-dialog #bf-list{display:none}}

.bf-edge.traversed{stroke:#38a779;stroke-width:3}

/* Keep long navigation within the viewport without stretching the page. */
@media(min-width:761px){body.studio .sidebar{align-self:start;min-height:0;height:100vh;height:100dvh;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:thin}body.studio .sidebar>*{flex-shrink:0}}

.finance-tabs{display:flex;gap:6px;padding:5px;background:#edf0f7;border:1px solid #e4e8f1;border-radius:12px;width:fit-content;margin:18px 0 24px}.finance-tabs button{border:0;background:transparent;color:#7b879e;padding:10px 24px;border-radius:9px;font:inherit;font-size:13px;cursor:pointer}.finance-tabs button.selected{background:white;color:#5663ce;box-shadow:0 2px 6px #2c386510}.finance-tabs button:focus-visible{outline:2px solid #7181e8;outline-offset:2px}
