/* Agents share the studio palette, with a focused working surface. */
.ag-heading{align-items:center}.ag-heading p{max-width:650px}.ag-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:22px;align-items:start}.ag-roster{min-width:0;position:sticky;top:88px}.ag-roster-tools{display:flex;gap:7px;margin-bottom:13px}.ag-roster-tools input{width:100%;min-width:0;border:1px solid #dce2d6;background:#fff;border-radius:9px;padding:11px 12px;font-size:12px;color:#334337}.ag-roster-tools button{padding:8px 12px;font-size:18px}.ag-list{display:grid;gap:9px;max-height:65vh;overflow:auto;padding:1px}.ag-card{width:100%;display:flex;align-items:flex-start;text-align:left;gap:11px;border:1px solid #e0e5d9;border-radius:12px;padding:14px 12px;background:#fff;transition:background .2s,border-color .2s;min-width:0}.ag-card:hover{background:#f4f7ef}.ag-card[aria-pressed=true]{background:#eef3e7;border-color:#9aaf8b;box-shadow:0 0 0 1px #9aaf8b33}.ag-avatar{width:32px;height:32px;border-radius:10px;background:#efece3;display:grid;place-items:center;font-size:15px;font-weight:600;color:#74765f;flex:none}.ag-avatar.builtin{background:#dce8d3;color:#4c674e}.ag-card-info{display:grid;gap:6px;min-width:0}.ag-card-info strong{font-size:12px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}.ag-card-info small{font-size:10px;line-height:1.5;color:#6d7964;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ag-card-meta{display:flex;align-items:center;gap:6px;font-size:9px;color:#65735c;line-height:1.5}.ag-dot{width:5px;height:5px;background:#b9b69f;border-radius:50%;flex:none}.ag-dot.live{background:#568663}.ag-dot.archived{background:#a6a6a0}.ag-checkbox{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:12px;line-height:1.6;color:#59684e}.ag-checkbox input{accent-color:#5c7653;width:16px;height:16px;flex:none;margin:2px 0}.ag-archive-filter{font-size:10px;margin:17px 3px}.ag-list-empty{padding:10px 6px;color:#76816d;font-size:12px;line-height:1.8}.ag-editor{min-width:0;background:#fff;border:1px solid #dce3d4;border-radius:17px;overflow:hidden;box-shadow:0 4px 18px #4f674305}.ag-editor-head{padding:25px 25px 10px;display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.ag-editor-head h2{font-size:24px;letter-spacing:-.6px;margin:10px 0 7px;font-weight:550;overflow-wrap:anywhere;line-height:1.35}.ag-eyeline{display:flex;gap:6px;flex-wrap:wrap}.ag-badge{display:inline-block;font-size:10px;background:#f0f1e9;color:#67745d;border-radius:6px;padding:5px 8px;line-height:1.4;white-space:nowrap}.ag-badge.sage{background:#e9f0df;color:#4f6c43}.ag-badge.error{background:#fbede6;color:#a1543f}.ag-version-state{font-size:11px;color:#7c876f;margin:0}.ag-editor-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ag-editor-actions .button{font-size:11px;line-height:1.5;padding:10px 12px}.ag-context-note{margin:6px 25px 19px;font-size:11px;line-height:1.8;color:#7b866e;max-width:670px}.ag-tabs{display:flex;gap:3px;padding:0 22px;overflow:auto;border-bottom:1px solid #e5e9df;scrollbar-width:thin}.ag-tabs button{flex:none;border:0;border-radius:0;border-bottom:2px solid transparent;padding:13px 11px;color:#849078;font-size:11px;background:transparent}.ag-tabs button[aria-selected=true]{border-bottom-color:#627e51;color:#334f2b}.ag-panel{padding:24px;min-height:300px}.ag-settings{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:27px}.ag-form-grid{display:grid;gap:19px;align-content:start}.ag-field{display:grid;gap:8px;color:#4b5c44;font-size:11px;line-height:1.6}.ag-field>span{font-weight:550;display:flex;align-items:center;justify-content:space-between;gap:7px}.ag-field input:not([type=range]),.ag-field select,.ag-field textarea{width:100%;min-width:0;font:inherit;font-size:12px;line-height:1.8;color:#35462e;border:1px solid #dce3d5;border-radius:8px;padding:10px 12px;background:#fcfdf9;outline-offset:3px}.ag-field textarea{min-height:85px;resize:vertical}.ag-field textarea.ag-instructions{min-height:240px}.ag-field input:focus,.ag-field select:focus,.ag-field textarea:focus{outline:2px solid #a6b898}.ag-field small{font-size:10px;color:#839177;line-height:1.7;font-weight:400}.ag-field input[type=range]{width:100%;accent-color:#6c865d}.ag-field output{font-size:11px;white-space:nowrap;color:#6b805a}.ag-voice-settings{display:grid;gap:20px;align-content:start;background:#f7f9f2;border-radius:12px;padding:17px;height:max-content}.ag-voice-card{display:flex;gap:11px;align-items:center;margin-bottom:4px}.ag-voice-orb{width:36px;height:36px;flex:none;border-radius:50%;background:radial-gradient(ellipse at 30% 20%,#f3efd2,#97b89a 40%,#517c66 65%,#203e32)}.ag-voice-card strong{font-size:12px;font-weight:550}.ag-voice-card p{font-size:9px;color:#849175;line-height:1.7;margin:5px 0 0}.ag-barge{font-size:11px}.ag-editor-footer{padding:16px 24px;border-top:1px solid #e5e9df;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fcfdf9}.ag-editor-footer span{font-size:10px;color:#7f8d72;line-height:1.6}.ag-editor-footer span[data-dirty=true]{color:#967343}.ag-footer-actions{display:flex;gap:8px;align-items:center}.ag-footer-actions .button{font-size:11px}.ag-help{font-size:12px;color:#78876b;line-height:1.8;margin:0 0 15px}.ag-section-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:15px}.ag-section-actions>.ag-help{flex:1;min-width:180px;margin:0}.ag-fact-note{padding:12px 15px;background:#f0f5e8;border:1px solid #e0e8d5;border-radius:8px;font-size:11px;color:#6c8058;line-height:1.8;margin:15px 0 20px}.ag-knowledge-list{display:grid;gap:17px}.ag-knowledge-item{padding:19px;border:1px solid #e1e7da;background:#fbfcf8;border-radius:12px;display:grid;gap:14px}.ag-knowledge-item textarea{min-height:180px;background:#fff}.ag-knowledge-top{display:flex;justify-content:space-between;align-items:center}.ag-material-number{font-size:10px;color:#9aa58d;font-weight:550}.ag-knowledge-top .button{font-size:10px}.ag-knowledge-item input{background:#fff!important}.ag-knowledge-list+#ag-knowledge-count{margin:17px 0 0;text-align:right;font-size:10px}.ag-empty{text-align:center;padding:65px 30px;display:grid;justify-items:center;gap:17px;max-width:700px;margin:auto}.ag-empty h2{font-size:22px;line-height:1.4;font-weight:500;letter-spacing:-.5px;margin:0}.ag-empty p{font-size:13px;color:#7d8c6e;line-height:1.9;max-width:420px;margin:0}.ag-symbol{width:60px;height:60px;border-radius:18px;background:#e8efdf;color:#6d8655;display:grid;place-items:center;font-size:36px;font-weight:600;font-family:Manrope,sans-serif;margin-bottom:6px}.ag-empty-inline{padding:35px 12px;color:#8a967b;font-size:12px;text-align:center;line-height:1.8}.ag-version-list{display:grid}.ag-version-row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid #e5e9de;gap:15px}.ag-version-row:last-child{border-bottom:0}.ag-version-row strong{display:block;font-size:13px;font-weight:500}.ag-version-row small{display:block;font-size:10px;color:#859477;margin-top:6px}.ag-run,.ag-lead{border:1px solid #e3e8db;border-radius:10px;margin-top:12px;overflow:hidden}.ag-run summary,.ag-lead summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px;cursor:pointer;background:#fcfdf9}.ag-run summary::-webkit-details-marker,.ag-lead summary::-webkit-details-marker{display:none}.ag-run-title{min-width:0;display:grid;gap:7px}.ag-run-title strong{font-size:12px;font-weight:550;line-height:1.6;overflow-wrap:anywhere}.ag-run-title small{font-size:10px;color:#8a987b;line-height:1.6}.ag-transcript{padding:15px 19px;border-top:1px solid #e5e9de;display:grid;gap:15px}.ag-transcript-line{font-size:12px;line-height:1.8;padding:12px;border-radius:8px;background:#f4f7ed}.ag-transcript-line.user{margin-right:25px;background:#f5f4f0}.ag-transcript-line.assistant{margin-left:25px}.ag-transcript-line strong{font-size:10px;font-weight:550;color:#82916f}.ag-transcript-line p{margin:5px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.ag-sources{font-size:11px;color:#81916e;line-height:1.8}.ag-sources ul{padding-left:18px}.ag-lead-content{padding:20px;border-top:1px solid #e3e8db;display:grid;gap:15px}.ag-lead-content>.button{justify-self:start}.ag-lead-message{margin:0;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.ag-dialog{width:530px;padding:30px}.ag-dialog h2{font-size:23px;font-weight:550;letter-spacing:-.5px;margin:0 0 22px;line-height:1.4}.ag-dialog>p{font-size:13px;line-height:1.8;color:#7b8b69}.ag-dialog form{display:grid;gap:17px}.ag-dialog .dialog-actions{margin-top:6px}.ag-dialog .ag-help{margin:0}.ag-consent{font-size:11px;line-height:1.8}.ag-preview{border-top:1px solid #dce5d1;padding:23px;background:#f5f8ef}.ag-preview-heading{display:flex;gap:20px;align-items:start;justify-content:space-between;margin-bottom:17px}.ag-preview-heading h3{font-size:18px;font-weight:550;margin:0}.ag-preview-heading p{font-size:11px;color:#849576;margin:7px 0 0}.ag-preview-modes{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:15px}.ag-preview-modes .button{font-size:10px;background:#f9fbf6}.ag-preview-modes .button[aria-pressed=true]{background:#e2ecd6;border-color:#a9bb98;color:#465e33}.ag-preview-stage{min-height:420px;position:relative;border:1px solid #dae4d1;border-radius:14px;overflow:hidden;background:#f0f3eb}.ag-preview-notice{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;text-align:center;padding:25px;z-index:1;background:#f0f3eb}.ag-preview-notice p{font-size:12px;color:#738167;line-height:1.8}.ag-preview-frame{width:100%;height:500px;border:0;display:block;background:#f0f3eb}.ag-preview-stage:not([data-state=ready]) .ag-preview-frame{visibility:hidden;pointer-events:none}.ag-preview-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:15px}.ag-preview-footer p{font-size:10px;max-width:400px;margin:0}.ag-preview-footer .button{font-size:10px;flex:none}.ag-editor [disabled],.ag-dialog [disabled]{opacity:.5;cursor:not-allowed}.ag-editor button:focus-visible,.ag-roster button:focus-visible{outline:2px solid #87a173;outline-offset:3px}
@media(max-width:1250px){.ag-layout{grid-template-columns:205px minmax(0,1fr);gap:15px}.ag-settings{grid-template-columns:1fr}.ag-voice-settings{grid-template-columns:1fr 1fr;gap:17px 22px}.ag-voice-card{grid-column:1/-1}.ag-editor-head{flex-direction:column}.ag-editor-actions{justify-content:flex-start}.ag-editor-head h2{font-size:22px}.ag-tabs{padding:0 15px}.ag-tabs button{padding:12px 9px}.ag-editor-footer{align-items:flex-start;flex-direction:column}.ag-footer-actions{width:100%;justify-content:space-between}}
@media(max-width:950px){.ag-layout{grid-template-columns:1fr}.ag-roster{position:static}.ag-list{display:flex;overflow:auto;max-height:none;padding-bottom:5px}.ag-card{min-width:220px;max-width:280px}.ag-archive-filter{margin:11px 3px}.ag-editor-head{flex-direction:row}.ag-editor-actions{justify-content:flex-end}.ag-settings{grid-template-columns:minmax(0,1fr) 200px}.ag-voice-settings{grid-template-columns:1fr}.ag-voice-card{grid-column:auto}}
@media(max-width:700px){.ag-heading{gap:17px}.ag-heading .button{font-size:11px}.ag-heading p{font-size:12px}.ag-layout{gap:15px}.ag-settings{grid-template-columns:1fr}.ag-editor-head{padding:20px 19px 9px;flex-direction:column}.ag-editor-actions{justify-content:flex-start;width:100%}.ag-editor-actions .button{flex:1}.ag-context-note{margin:4px 19px 17px;font-size:11px}.ag-tabs{padding:0 10px}.ag-tabs button{padding:12px 9px;font-size:11px}.ag-panel{padding:20px 17px}.ag-field{font-size:12px}.ag-field input:not([type=range]),.ag-field select,.ag-field textarea{font-size:14px}.ag-voice-settings{grid-template-columns:1fr 1fr;gap:20px}.ag-voice-card{grid-column:1/-1}.ag-editor-footer{padding:16px 17px}.ag-footer-actions .button{font-size:10px}.ag-preview{padding:20px 15px}.ag-preview-heading{gap:10px}.ag-preview-heading h3{font-size:17px}.ag-preview-heading .button{font-size:10px}.ag-preview-footer{flex-direction:column;align-items:start}.ag-preview-footer .button{width:100%}.ag-preview-modes{display:grid;grid-template-columns:1fr 1fr}.ag-preview-modes .button{padding:9px;line-height:1.5}.ag-knowledge-item{padding:14px}.ag-knowledge-item textarea{min-height:170px}.ag-empty{padding:40px 20px}.ag-empty h2{font-size:21px}.ag-dialog{padding:27px 23px}.ag-dialog h2{font-size:21px}.ag-run summary,.ag-lead summary{padding:14px;align-items:start;gap:8px}.ag-run summary .ag-badge,.ag-lead summary .ag-badge{font-size:9px}.ag-transcript{padding:12px}.ag-transcript-line.user{margin-right:12px}.ag-transcript-line.assistant{margin-left:12px}.ag-section-actions>.ag-help{flex-basis:100%}.ag-version-row{padding:16px 0}.ag-version-row strong{font-size:12px}}
@media(max-width:400px){.ag-voice-settings{grid-template-columns:1fr}.ag-voice-card{grid-column:auto}.ag-preview-modes{grid-template-columns:1fr}}

.ag-context-warning{padding:12px 15px;border-radius:8px;border:1px solid #e2cca3;color:#8a6b39;background:#fffbec;font-size:11px;line-height:1.8;margin:0 0 15px}.ag-preview-feedback .ag-sources{margin:0 0 15px}.ag-preview-feedback .ag-sources ul{display:flex;gap:8px;flex-wrap:wrap;list-style:none;padding:0;margin:8px 0 0}.ag-preview-feedback .ag-sources li{padding:4px 8px;border:1px solid #dce5d1;border-radius:5px;background:#fbfdf8;overflow-wrap:anywhere}
[data-view=conversation] #admin-integrations{margin-top:24px}
