/* Scoped to the Automate overview; operational editors retain their behavior. */
[data-workspace-page="automate"] .studio-footer{position:static;margin-top:8px;background:transparent;border-top:0}
.automation-overview{--auto-ink:var(--studio-ink);--auto-muted:var(--studio-muted);--auto-border:var(--studio-line);color:var(--auto-ink)}
.automation-overview .studio-intro{margin-bottom:18px;min-height:104px}.automation-overview .studio-intro .studio-mascot{width:112px;height:112px;margin:0 14px 0 0}.automation-overview h2{font-size:18px;line-height:1.4;margin:0}.automation-overview h3{font-size:17px;line-height:1.4;margin:0}.automation-overview p{font-size:15px;line-height:1.65;margin:6px 0;color:var(--auto-muted)}
.auto-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:48px;height:48px;border-radius:15px;background:#e6dcff;color:#6738e6}.auto-icon svg{width:27px;height:27px}.auto-start{display:flex;align-items:center;gap:17px;padding:20px 22px;border:1px solid var(--auto-border);border-radius:18px;background:var(--studio-surface);box-shadow:0 4px 14px #51369908}.auto-start>div{flex:1}.auto-start .btn{flex-shrink:0}.auto-start p{margin-bottom:0}
.auto-roadmap{list-style:none;padding:18px 8px;margin:0 0 16px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.auto-roadmap li{display:flex;gap:12px;align-items:center}.auto-roadmap li>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e9dfff;color:#6840c5;font-size:13px;font-weight:700;flex-shrink:0}.auto-roadmap li:nth-child(2)>span{background:#dfebff;color:#2466c5}.auto-roadmap li:nth-child(3)>span{background:#d6f3e8;color:#087a61}.auto-roadmap strong{font-size:14px}.auto-roadmap small{display:block;color:var(--auto-muted);font-size:13px;line-height:1.5;margin-top:3px}
.auto-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.auto-section-heading p{font-size:14px;margin-bottom:0}.auto-section-heading>.btn{flex-shrink:0}.auto-actions{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}.auto-action{border:1px solid var(--auto-border);border-radius:18px;display:grid;grid-template-columns:48px 1fr;gap:14px 16px;padding:22px;background:var(--studio-surface)}.auto-action-copy{min-width:0}.auto-action p{margin:7px 0 10px}.auto-fields{font-size:12px;font-weight:600;color:var(--auto-muted);line-height:1.7}.auto-action>.btn{grid-column:2;justify-self:start;color:#2355d6;background:#f4f7ff;border-color:#d1ddfa;min-height:40px;font-size:14px}.auto-quote .auto-icon{color:#bf6500;background:#ffe4b8}
.auto-connections{background:var(--studio-surface);border:1px solid var(--auto-border);border-radius:18px;padding:22px;margin-bottom:18px}.auto-provider-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.auto-provider{display:flex;flex-direction:column;gap:10px;border:1px solid var(--auto-border);border-radius:14px;padding:16px;min-width:0}.auto-provider-heading{display:flex;gap:10px;align-items:center}.auto-provider-heading h3{font-size:15px}.auto-provider-logo{width:42px;height:42px;background:#fff;border-radius:12px;display:grid;place-items:center;flex-shrink:0;border:1px solid #e6e7f2}.auto-provider img{object-fit:contain;width:29px;height:29px}.auto-provider p{font-size:14px;line-height:1.55;margin:0;flex:1}.auto-verification{color:var(--auto-muted);font-size:12px;line-height:1.5}.auto-provider .btn{justify-content:space-between;min-height:38px;font-size:13px;color:#2355d6;background:#f2f6ff;border-color:#dbe4fb}.auto-connection-note{font-size:12px!important;margin:14px 0 0!important}
.auto-procedures{display:flex;gap:16px;align-items:center;border:1px solid var(--auto-border);border-radius:18px;padding:22px;background:var(--studio-surface)}.auto-procedures>div{flex:1}.auto-procedures .auto-icon{background:#cfefe5;color:#008368}.auto-procedures .btn{flex-shrink:0;color:#2355d6;background:#f4f7ff;border-color:#d1ddfa}.auto-test-note{display:flex;gap:12px;align-items:center;margin:18px 0 0;padding:14px 4px}.auto-test-note .auto-icon{width:34px;height:34px;border-radius:10px;background:#e6e0f5}.auto-test-note .auto-icon svg{width:20px;height:20px}.auto-test-note p{font-size:13px;flex:1;margin:0}.auto-test-note .btn{flex-shrink:0;font-size:13px;min-height:38px}.auto-test-note strong{color:var(--auto-ink)}
[data-theme=light] .auto-start{background:linear-gradient(105deg,#ece1ff,#fff 85%);border-color:#dbcef9}[data-theme=light] .auto-lead{background:linear-gradient(125deg,#e8dfff,#f6f1ff);border-color:#d7c6ff}[data-theme=light] .auto-quote{background:linear-gradient(125deg,#ffecd5,#fff6ec);border-color:#ffd5a7}[data-theme=light] .auto-provider-sheets{background:#f0faf5;border-color:#ccebdc}[data-theme=light] .auto-provider-hubspot{background:#fff5ed;border-color:#f8dcc4}[data-theme=light] .auto-provider-zapier{background:#fff4ef;border-color:#f8dacb}[data-theme=light] .auto-provider-make{background:#f6f0ff;border-color:#e2d2f7}[data-theme=light] .auto-procedures{background:linear-gradient(110deg,#def5ec,#f3fcf8);border-color:#bfe7d7}
[data-theme=dark] .auto-lead{background:#2d2444}[data-theme=dark] .auto-quote{background:#372b22}[data-theme=dark] .auto-procedures{background:#1d3531}[data-theme=dark] .auto-action>.btn,[data-theme=dark] .auto-provider .btn,[data-theme=dark] .auto-procedures .btn{background:#27324b;border-color:#425171;color:#b8caff}
@media(max-width:1150px){.auto-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.auto-actions{grid-template-columns:1fr;gap:14px}.auto-roadmap{grid-template-columns:1fr;padding:18px 4px;gap:14px}.auto-start{flex-wrap:wrap;padding:18px}.auto-start>.btn{margin-inline-start:64px}.auto-section-heading{align-items:flex-start;flex-direction:column;gap:12px}.auto-connections{padding:18px}.auto-procedures{flex-wrap:wrap;padding:18px}.auto-procedures>.btn{margin-inline-start:64px}.auto-test-note{flex-wrap:wrap}.auto-test-note>.btn{margin-inline-start:46px}.automation-overview .studio-intro .studio-mascot{width:78px;height:78px;margin:0}.auto-action{padding:18px}}
@media(max-width:440px){.auto-provider-grid{grid-template-columns:1fr}.auto-action{grid-template-columns:40px 1fr;gap:12px}.auto-action>.auto-icon{width:40px;height:40px}.auto-action>.btn{grid-column:1/-1;justify-self:stretch}.auto-start>.btn,.auto-procedures>.btn{margin-inline-start:0;width:100%}.auto-start>div,.auto-procedures>div{flex-basis:calc(100% - 66px)}}
/* Match Home's blue action bubbles; scoped specificity overrides shared buttons. */
.studio-shell[data-workspace-page="automate"] .automation-overview :is(.auto-action,.auto-provider,.auto-section-heading,.auto-procedures,.auto-test-note)>.btn{background:#edf3ff;color:#2257cc;border-color:#d2dfff;border-radius:11px;font-weight:600;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}
.studio-shell[data-workspace-page="automate"] .automation-overview :is(.auto-action,.auto-provider,.auto-section-heading,.auto-procedures,.auto-test-note)>.btn:hover{background:#e2ecff;color:#1748b5;border-color:#a8c1f5}
.studio-shell[data-workspace-page="automate"] .automation-overview :is(.auto-action,.auto-provider,.auto-section-heading,.auto-procedures,.auto-test-note)>.btn:focus-visible{outline:3px solid #5587ed;outline-offset:3px}
.automation-overview .auto-provider{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
@media(hover:hover) and (pointer:fine){.automation-overview .auto-provider:hover{transform:translateY(-4px);box-shadow:0 9px 22px #55408018;border-color:#b7a6e2}}
.automation-overview .auto-provider:focus-within{box-shadow:0 5px 16px #55408016;border-color:#b7a6e2}
[data-theme=dark] .studio-shell[data-workspace-page="automate"] .automation-overview :is(.auto-action,.auto-provider,.auto-section-heading,.auto-procedures,.auto-test-note)>.btn{background:#233453;color:#a8c9ff;border-color:#3b5480}
[data-theme=dark] .studio-shell[data-workspace-page="automate"] .automation-overview :is(.auto-action,.auto-provider,.auto-section-heading,.auto-procedures,.auto-test-note)>.btn:hover{background:#2b4064;color:#c4dbff}
@media(prefers-reduced-motion:reduce){.automation-overview .auto-provider,.studio-shell[data-workspace-page="automate"] .automation-overview :is(.auto-action,.auto-provider,.auto-section-heading,.auto-procedures,.auto-test-note)>.btn{transition:none}.automation-overview .auto-provider:hover{transform:none}}
.auto-verification[data-state]{align-self:flex-start;padding:4px 9px;border-radius:8px;background:#efedf7;color:#605c75;font-weight:600}.auto-verification[data-state=configured]{background:#d8f4e9;color:#087354}.auto-verification[data-state=attention]{background:#fff0cf;color:#985400}.auto-verification[data-state=unknown]{background:#eef0f5;color:#505d72}.automation-overview .auto-connection-detail{font-size:12px;line-height:1.5;color:var(--auto-muted)}.studio-shell .auto-setup-highlight{outline:3px solid #9670ed;outline-offset:5px;scroll-margin:30px}.studio-shell .auto-setup-highlight:focus{outline:3px solid #9670ed}

/* Actions: shared workspace palette, compact configuration and follow-up. */
.studio-shell[data-workspace-page="actions"] .action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0 22px}
.studio-shell[data-workspace-page="actions"] .action-tile{padding:24px;border-radius:18px;margin:0;min-width:0;box-shadow:0 4px 16px #42349a06}
.studio-shell[data-workspace-page="actions"] .action-tone-lavender{background:#eee5ff;border-color:#d8c5ff;--action-accent:#713cff}
.studio-shell[data-workspace-page="actions"] .action-tone-amber{background:#fff0dc;border-color:#ffdbac;--action-accent:#c77700}
.studio-shell[data-workspace-page="actions"] .action-tone-blue{background:#e4efff;border-color:#c6dcff;--action-accent:#2467d9}
.studio-shell[data-workspace-page="actions"] .action-tone-mint{background:#def6ed;border-color:#b9e8d8;--action-accent:#008c6a}
.studio-shell[data-workspace-page="actions"] .action-card-heading{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.studio-shell[data-workspace-page="actions"] .action-card-heading h2{font-size:20px;margin:0;line-height:1.3}
.studio-shell[data-workspace-page="actions"] .action-icon{display:grid;place-items:center;width:48px;height:48px;flex-shrink:0;margin:0;border-radius:14px;background:#ffffff90;color:var(--action-accent)}
.studio-shell[data-workspace-page="actions"] .action-icon svg{width:26px;height:26px}
.studio-shell[data-workspace-page="actions"] .action-tile .sub{font-size:15px;line-height:1.6;margin:0 0 18px;max-width:56ch;padding:0}
.action-chat-label{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:13px;margin:0 0 20px}
.action-chat-label>span{color:#526387}.action-chat-label strong{font-weight:500;background:#ffffff8c;border-radius:8px;padding:6px 10px;color:#23345c}
.actions-savebar,.actions-task-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.actions-savebar{background:#ffffffb3;border:1px solid #ded4ff;border-radius:14px;padding:16px 20px}.actions-savebar .hint{margin:4px 0 0;font-size:13px}.actions-savebar strong{font-size:16px}.actions-savebar>.btn{flex-shrink:0}
.studio-shell[data-workspace-page="actions"] .action-switch{display:flex;align-items:center;gap:10px;position:relative;width:100%;font-size:14px;cursor:pointer;margin:0;padding-top:16px;border-top:1px solid #ffffffa8}
.action-switch input{position:absolute;opacity:0;width:42px;height:24px;inset-inline-start:0;bottom:0;margin:0;cursor:pointer}.action-switch-track{width:42px;height:24px;border-radius:20px;background:#818ba1;position:relative;flex-shrink:0}.action-switch-track:after{content:'';position:absolute;top:3px;inset-inline-start:3px;width:18px;height:18px;background:white;border-radius:50%;transition:transform .15s}
.action-switch input:checked+.action-switch-track{background:#6542ef}.action-switch input:checked+.action-switch-track:after{transform:translateX(18px)}[dir=rtl] .action-switch input:checked+.action-switch-track:after{transform:translateX(-18px)}.action-switch input:focus-visible+.action-switch-track{outline:3px solid #2257cc;outline-offset:3px}.action-switch-state{margin-inline-start:auto;font-size:12px;font-weight:600}.action-switch-state:after{content:'Off';color:#53617b}.action-switch input:checked~.action-switch-state:after{content:'On';color:#4932a8}
.studio-shell[data-workspace-page="actions"] .actions-next{padding:24px;border-radius:18px}.actions-next h2,.action-tasks h2{font-size:18px;margin:0 0 8px}.actions-next .sub{font-size:15px;line-height:1.6;margin:8px 0}.actions-next .hint{font-size:13px;line-height:1.6}.actions-next .action-links{margin-top:18px;gap:10px}
.studio-shell[data-workspace-page="actions"] :is(.actions-next,.action-tasks) .btn:not(.primary),.action-task-create>summary{background:#edf3ff;color:#2257cc;border:1px solid #d2dfff;border-radius:11px;font-weight:600}
.studio-shell[data-workspace-page="actions"] :is(.actions-next,.action-tasks) .btn:not(.primary):hover,.action-task-create>summary:hover{background:#e2ecff;color:#1748b5}
.studio-shell[data-workspace-page="actions"] .action-tasks{background:#fff;border:1px solid #ded4ff;border-radius:18px;padding:24px;margin:20px 0}.action-tasks>.sub{font-size:15px;line-height:1.6;margin:12px 0}.action-tasks>.hint{font-size:13px;line-height:1.6}.actions-task-heading h2{margin:0}
.action-task-create{margin:20px 0}.action-task-create>summary{display:inline-flex;padding:10px 16px;cursor:pointer;list-style:none;font-size:14px}.action-task-create>summary::-webkit-details-marker{display:none}.action-task-create .task-create-open{display:none}.action-task-create[open] .task-create-open{display:inline}.action-task-create[open] .task-create-closed{display:none}
.action-task-create form{padding:20px;margin-top:14px;border-radius:14px;background:#f8f6ff;border:1px solid #e5defa}.action-task-create label{display:block;font-size:14px;font-weight:500;margin-bottom:16px}.action-task-create :is(input,select){display:block;width:100%;min-height:44px;padding:11px 13px;border:1px solid #cdd3e6;border-radius:10px;background:#fff;color:#15284b;font:inherit;margin-top:8px;box-sizing:border-box}.action-task-create .workflow-fields{gap:0 16px}.action-task-create .workflow-fields label{min-width:0}.action-task-create .workflow-fields input{margin-bottom:0}.action-tasks .followup-list:empty{display:none}.action-tasks .followup-list>p{font-size:14px;color:#53617b;padding:14px;border-radius:10px;background:#f7f8ff}
.studio-shell[data-workspace-page="actions"] .studio-footer{position:static}.studio-shell[data-workspace-page="actions"] .workspace-upgrade-root:empty{display:none}.studio-shell[data-workspace-page="actions"] .workspace-advisor-root{margin-top:22px}
[data-theme=dark] .studio-shell[data-workspace-page="actions"] .action-tile{background:#24243b;border-color:#444360}[data-theme=dark] .actions-savebar,[data-theme=dark] .studio-shell[data-workspace-page="actions"] .action-tasks,[data-theme=dark] .action-task-create form{background:#202336;border-color:#444360}[data-theme=dark] .action-chat-label strong{background:#33374f;color:#e4e9ff}[data-theme=dark] .action-chat-label>span{color:#b9c5df}[data-theme=dark] .action-task-create :is(input,select){background:#191d2d;color:#e4e9ff;border-color:#49516d}[data-theme=dark] .studio-shell[data-workspace-page="actions"] :is(.actions-next,.action-tasks) .btn:not(.primary),[data-theme=dark] .action-task-create>summary{background:#233453;color:#a8c9ff;border-color:#3c5276}[data-theme=dark] .action-switch-state:after,[data-theme=dark] .action-switch input:checked~.action-switch-state:after{color:#d4ccff}
@media(max-width:720px){.studio-shell[data-workspace-page="actions"] .action-grid{grid-template-columns:1fr}.actions-savebar,.actions-task-heading{align-items:flex-start;flex-wrap:wrap}.studio-shell[data-workspace-page="actions"] :is(.action-tile,.actions-next,.action-tasks){padding:18px}.action-task-create form{padding:14px}.action-task-create .workflow-fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.action-switch-track:after{transition:none}}
