.lf-automation-overlay{position:fixed;inset:0;z-index:12000;background:#10182770;display:grid;place-items:center;padding:16px;padding-bottom:max(16px,env(safe-area-inset-bottom));overflow:auto}
.lf-automation-dialog{background:#fff;color:#172033;border-radius:18px;padding:22px;width:min(100%,560px);max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 16px 60px #0003;box-sizing:border-box}
.lf-automation-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}.lf-automation-dialog h2{font-size:20px;margin:0}.lf-automation-dialog pre{white-space:pre-wrap;font-family:inherit;background:#f0efff;border-radius:10px;padding:14px;overflow-wrap:anywhere;line-height:1.5}
.lf-automation-dialog p{font-size:14px;line-height:1.5;color:#64748b}.lf-automation-dialog button,.lf-automation-dialog select{border:1px solid #dad7ff;border-radius:10px;background:#f6f4ff;color:#4d3ce8;padding:11px;cursor:pointer;font:inherit}.lf-automation-dialog button:disabled{opacity:.5;cursor:default}.lf-automation-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.lf-automation-dialog label{display:block;font-size:14px;margin:16px 0 10px}.lf-automation-dialog select{display:block;width:100%;margin-top:6px}.lf-automation-dialog [role=status]{font-size:14px;overflow-wrap:anywhere;margin:14px 0;color:#3f3a8c}.lf-automation-dialog footer{display:flex;justify-content:flex-end}.lf-automation-dialog :focus-visible{outline:3px solid #8272ff;outline-offset:2px}
@media(max-width:600px){.lf-automation-overlay{padding:10px}.lf-automation-dialog{padding:16px;max-height:calc(100dvh - 20px)}.lf-automation-buttons button{flex:1 1 160px}.chat-header-actions [data-automation-open]{flex-shrink:0}}

@media(max-width:600px){.chat-header-actions [data-automation-open]{display:none}}
