.automation-section{scroll-margin-top:90px}
.automation-workbench{border:1px solid #dde2eb;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 20px 65px -45px #40537b30}
.automation-chrome{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 26px;border-bottom:1px solid #e5e8ef;font-size:.875rem;color:#384458;background:#fbfcfe}
.automation-chrome>span:first-child{display:flex;align-items:center;gap:10px}.automation-chrome>span:last-child{font-size:.75rem;color:#647086}.automation-dot{width:7px;height:7px;border-radius:50%;background:#6177bd}
.automation-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.automation-controls{padding:32px 38px}.automation-preview{padding:34px 38px;background:#fafbfd;border-left:1px solid #e5e8ef;display:flex;flex-direction:column;align-items:flex-start}
.automation-field{margin-bottom:19px}.automation-field>label{display:block;font-size:.875rem;font-weight:500;margin-bottom:8px;color:#303e54}.automation-field>label span{font-weight:400;color:#647086}
.automation-field select,.automation-field input{width:100%;min-height:44px;border:1px solid #d4dbe7;border-radius:5px;background:#fff;color:#26354a;padding:10px 12px;font:inherit;font-size:.9375rem}
.automation-field input[type=number]{max-width:150px}.automation-field input[aria-invalid=true]{border-color:#a74236}.automation-stage{font-size:.8125rem;color:#657087;margin:-7px 0 22px}.automation-stage strong{font-weight:500;color:#384458}
.automation-help{font-size:.8125rem;line-height:1.65;color:#637087;max-width:440px}.automation-field+.automation-help{margin-top:-8px;margin-bottom:20px}
.automation-condition{border:0;padding:20px 0 0;margin:20px 0 0;border-top:1px solid #e5e8ef;min-width:0}.automation-condition legend{font-size:.8125rem;color:#647086;padding:0 8px 0 0}.automation-check{display:flex;align-items:center;gap:11px;font-size:.9375rem;line-height:1.55;min-height:44px;cursor:pointer}.automation-check input{accent-color:#4965ab;width:18px;height:18px;flex:0 0 18px}.automation-active{margin-top:5px;color:#526178;font-size:.875rem}
.automation-form-name{font-size:.8125rem;color:#647086;line-height:1.6;margin-bottom:9px}.automation-form-name strong{display:block;color:#303e54;font-size:.9375rem;font-weight:500}
.automation-overline{font-size:.6875rem;letter-spacing:.08em;color:#647086;margin-bottom:15px}.automation-sentence{font-size:clamp(1.125rem,1.4vw,1.375rem);line-height:1.6;color:#303b50;letter-spacing:-.015em;max-width:530px}
.automation-simulation{margin:29px 0 23px;width:100%}.automation-simulation>label{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:.875rem;line-height:1.5}.automation-simulation output{white-space:nowrap;font-variant-numeric:tabular-nums;color:#425e9e}.automation-simulation input[type=range]{width:100%;height:30px;margin:10px 0 2px;accent-color:#667fc1;cursor:pointer}
.automation-preview>.button{margin-top:23px;gap:20px;min-height:44px;font-size:.875rem}.automation-simulation:not([hidden])+.button{margin-top:0}
.automation-result{width:100%;margin-top:23px;padding:18px 19px;border:1px solid #e0e5ed;border-radius:5px;background:#fff;border-left:3px solid #b2bfd5}.automation-result strong{font-size:.9375rem;font-weight:500;color:#334158;line-height:1.5}.automation-result p{font-size:.8125rem;color:#647086;line-height:1.65;margin-top:7px}.automation-result[data-state=ready]{border-left-color:#48816c;background:#f5faf7}.automation-result[data-state=ready] strong{color:#2c624d}.automation-result[data-state=condition],.automation-result[data-state=waiting]{border-left-color:#a78b4e}.automation-result[data-state=invalid]{border-left-color:#a74236}
.automation-simulation-note{font-size:.75rem;line-height:1.65;color:#647086;margin-top:14px;max-width:440px}.automation-workbench-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #e5e8ef;padding:17px 26px}.automation-workbench-footer>p{font-size:.8125rem;line-height:1.6;color:#647086}.automation-workbench-footer .text-link{font-size:.8125rem;white-space:nowrap}.automation-followup{display:flex;justify-content:space-between;gap:40px;align-items:start;margin-top:24px}.automation-followup>p{font-size:.875rem;line-height:1.7;color:#647086;max-width:690px}.automation-followup .text-link{font-size:.875rem;line-height:1.6;flex-shrink:0}
.operation-shortcuts{display:flex;flex-wrap:wrap;gap:8px 18px;padding-top:18px;border-top:1px solid #e1e5ed;margin-top:22px}.operation-shortcuts a{font-size:.8125rem;line-height:1.6;min-height:36px;display:inline-flex;align-items:center;gap:8px;color:#435a88}.operation-shortcuts a:hover{text-decoration:underline;text-underline-offset:3px}.integration-soon{display:inline-block;font-size:.625rem;font-weight:400;padding:3px 6px;border:1px solid #536074;border-radius:3px;margin-left:5px;vertical-align:middle;color:#c2ccdc}
.automation-section [hidden]{display:none!important}
.operation-shortcuts a svg{width:15px;height:15px;flex:0 0 15px}
@media(min-width:761px){#area-panel-atender .area-resources ul,#area-panel-gerir .area-resources ul,#area-panel-criar .area-resources ul{grid-template-columns:repeat(2,minmax(0,1fr))}#area-panel-atender .area-resources li:last-child{grid-column:1 / -1}}
@media(max-width:1000px){.automation-controls,.automation-preview{padding:26px}.automation-followup{display:block}.automation-followup .text-link{margin-top:14px}.automation-workbench-footer{align-items:flex-start}.automation-workbench-footer>p{max-width:380px}}
@media(max-width:760px){.automation-columns{grid-template-columns:1fr}.automation-controls,.automation-preview{padding:24px 20px}.automation-preview{border-left:0;border-top:1px solid #e5e8ef}.automation-chrome{padding:15px 20px;gap:12px}.automation-chrome>span:first-child{font-size:.8125rem}.automation-chrome>span:last-child{font-size:.6875rem}.automation-sentence{font-size:1.125rem}.automation-workbench-footer{display:block;padding:17px 20px}.automation-workbench-footer .text-link{margin-top:10px;min-height:36px}.automation-followup{margin-top:20px}.automation-field select,.automation-field input{font-size:1rem}.automation-followup .text-link{min-height:44px}.operation-shortcuts{gap:3px 18px}}
@media(prefers-reduced-motion:no-preference){.automation-result{transition:background-color 180ms,border-color 180ms}}
.automation-history{border-top:1px solid #dde4ef;margin-top:18px;padding-top:10px;width:100%}.automation-history summary{font-size:.875rem;line-height:1.6;color:#435d91;min-height:44px;padding:10px 0;cursor:pointer}.automation-history ol{margin:5px 0 0;padding-left:22px;color:#647188;font-size:.8125rem;line-height:1.7}.automation-history li{padding:7px 0;border-top:1px solid #e4e9f1}
