.studio-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 24px}.studio-toolbar input{max-width:330px}.studio-toolbar .muted{margin-left:auto;font-size:12px}.studio-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:24px;align-items:start}.studio-object{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:19px 0;border-bottom:1px solid var(--border)}.studio-object:last-child{border:0}.studio-object h2{font-size:15px;margin-bottom:5px}.studio-object p{font-size:13px;color:var(--muted);max-width:600px;overflow-wrap:anywhere}.studio-meta{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin:9px 0}.studio-row-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex:none}.studio-row-actions button{font-size:12px;min-height:32px;padding:6px 10px}.studio-tabs{display:flex;gap:20px;border-bottom:1px solid var(--border);margin-bottom:24px;overflow:auto;white-space:nowrap}.studio-tabs a{padding:9px 0 12px;font-size:13px;border-bottom:2px solid transparent;color:var(--muted)}.studio-tabs a.active{border-color:var(--accent);color:var(--text)}.studio-counters{display:flex;align-items:stretch;border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:18px 0;margin-bottom:24px;gap:24px}.studio-counters>div{flex:1;border-right:1px solid var(--border);min-width:0}.studio-counters>div:last-child{border:0}.studio-counters small{display:block}.studio-counters strong{font-size:26px;font-weight:400;display:block;margin-top:6px}.studio-form-section{margin:22px 0 0;padding:20px 0 0;border-top:1px solid var(--border)}.studio-form-section>h3{font-size:14px;margin-bottom:6px}.studio-form-section>.hint{margin-bottom:14px}.studio-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.studio-choice{display:flex;gap:10px;border:1px solid var(--border);border-radius:6px;padding:12px;margin:0;min-width:0;font-weight:400;align-items:flex-start;cursor:pointer}.studio-choice:has(input:checked){border-color:var(--accent);background:#f3f8f9}.studio-choice input{margin-top:3px;flex:none}.studio-choice strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.studio-choice small{display:block;margin-top:4px;line-height:1.5}.studio-choice .badge{font-size:10px;margin-top:6px}.selection-summary{padding:12px 0;font-size:12px;color:var(--muted)}.form-error{color:var(--negative);font-size:13px;margin:12px 0}.studio-presets{background:var(--raised);border-radius:6px;padding:14px;margin-bottom:20px}.studio-presets>p{font-size:12px;color:var(--muted);margin-bottom:10px}.studio-presets .actions button{font-size:12px;min-height:32px;padding:5px 10px}.inline-help{font-size:12px;color:var(--muted);line-height:1.65;margin-bottom:16px}.studio-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.studio-tool-list{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.studio-tool-tag{background:var(--raised);padding:5px 9px;border-radius:4px;font-size:12px;color:var(--muted)}.studio-tools-table pre{font:12px/1.5 monospace;overflow:auto;background:var(--raised);padding:12px;border-radius:5px;max-height:200px}.studio-run-result{border:1px solid var(--border);border-radius:8px;padding:22px;margin:20px 0;line-height:1.8;max-height:500px;overflow:auto;overflow-wrap:anywhere}.studio-run-result p{margin:0 0 12px}.studio-citation{border-left:2px solid var(--accent);padding:0 0 0 14px;margin:16px 0}.studio-citation h3{font-size:13px}.studio-citation p{font-size:13px;white-space:pre-wrap;color:var(--muted);max-height:160px;overflow:auto;margin:8px 0}.studio-search-results{margin-top:18px}.studio-search-results .hint{margin-bottom:14px}.studio-run-trace{font-size:12px;color:var(--muted);padding:8px 0;border-bottom:1px solid var(--rule)}.studio-approval{border:1px solid #e4d6ae;border-radius:8px;padding:16px;margin:18px 0;background:#fff9ea}.studio-approval pre{font:12px/1.6 monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;padding:12px;max-height:200px;overflow:auto}.studio-approval .actions{margin-top:14px}.studio-native{display:block;width:100%;height:calc(100vh - 180px);min-height:550px;border:1px solid var(--border);border-radius:8px;background:var(--raised)}.native-controls{display:flex;gap:16px;align-items:center;margin-bottom:14px;font-size:12px;color:var(--muted)}.studio-diagram{display:flex;gap:0;border:1px solid var(--border);border-radius:8px;margin:20px 0;overflow:hidden}.studio-diagram>div{flex:1;padding:16px;border-right:1px solid var(--border);font-size:13px}.studio-diagram>div:last-child{border:0}.studio-diagram small{display:block;margin-top:5px}.studio-sticky-actions{position:sticky;bottom:-24px;background:var(--surface);padding:16px 0 0;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:24px}.studio-form-note{border:1px solid var(--border);background:var(--raised);border-radius:6px;padding:12px;font-size:12px;color:var(--muted);margin:16px 0}.studio-tool-filter{margin-bottom:12px}.studio-textarea{min-height:180px}.studio-state{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted)}.studio-state:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--positive)}.studio-pick{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--rule)}.studio-pick label{margin:0;font-weight:400}.studio-token-state{font-size:12px;color:var(--muted);margin-top:5px}.studio-form-wide{max-width:760px}dialog.studio-wide{width:min(800px,calc(100vw - 32px))}dialog.studio-wide h2{font-size:18px}.studio-section-label{font-size:12px;color:var(--muted);padding:16px 0 8px}.studio-quick{display:flex;gap:10px;flex-wrap:wrap}.studio-quick button{font-size:12px}.studio-native-note{font-size:12px;color:var(--muted);margin-top:12px}.studio-success{font-size:13px;color:var(--positive);margin:12px 0}.studio-loading{font-size:13px;color:var(--muted);padding:20px 0}
@media(max-width:1100px){.studio-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}}
.studio-grid .process-line{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid var(--rule);font-size:13px}.studio-grid .process-line:last-of-type{border-bottom:0}.workspace.native-expanded{grid-template-columns:0 minmax(0,1fr)}.workspace.native-expanded>.sidebar{visibility:hidden;overflow:hidden;padding:0}.workspace.native-expanded .sheet{margin-left:8px}.workspace.native-expanded .studio-native{height:calc(100vh - 200px)}
.studio-form-tabs{display:flex;gap:18px;border-bottom:1px solid var(--border);margin-bottom:20px;overflow:auto}.studio-form-tabs button{border:0;border-radius:0;border-bottom:2px solid transparent;padding:10px 0;white-space:nowrap;color:var(--muted);font-size:13px;flex:none}.studio-form-tabs button.active{border-color:var(--accent);color:var(--text)}[data-agent-pane].studio-form-section{border:0;margin-top:0;padding-top:0}.studio-form-tabs:focus-within{outline-offset:2px}
@media(max-width:760px){.studio-grid,.studio-checks,.studio-field-grid{grid-template-columns:1fr}.studio-object{flex-direction:column;gap:12px}.studio-row-actions{justify-content:flex-start}.studio-row-actions button{min-height:40px}.studio-counters{gap:16px;flex-wrap:wrap}.studio-counters>div{min-width:calc(50% - 16px);flex:1;border:0}.studio-toolbar .muted{margin-left:0}.studio-tabs{gap:18px}.studio-native{height:calc(100vh - 220px);min-height:450px}.native-controls{flex-wrap:wrap;gap:8px}.studio-diagram{display:block}.studio-diagram>div{border-right:0;border-bottom:1px solid var(--border)}.studio-sticky-actions{bottom:-24px}.studio-run-result{padding:16px}.studio-presets .actions button{min-height:40px}.studio-tool-tag{font-size:11px}}
