.automation-workspace{display:flex;flex-direction:column;gap:24px;min-width:0}.automation-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.automation-toolbar>span{font-size:11px;color:var(--muted)}.automation-shop{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:7px;padding:10px 13px;max-width:400px;color:#526580}.automation-shop select{appearance:none;border:0;background:transparent;font:inherit;font-size:13px;min-width:0;max-width:310px;color:var(--ink)}.automation-shop>svg{flex-shrink:0}.automation-shop>svg:last-child{pointer-events:none}.automation-flow{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f0f5ff;border:1px solid #dce6f8;border-radius:10px;padding:21px 25px}.automation-flow>div{display:flex;align-items:center;gap:11px;min-width:0}.automation-flow>div>span{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#fff;border:1px solid #dce6f8;color:#476bc2;flex-shrink:0}.automation-flow strong{font-size:12px;font-weight:600;line-height:1.55}.automation-flow>svg{color:#9aaccc;flex-shrink:0}.automation-notice{display:flex;align-items:flex-start;gap:11px;border:1px solid #dce6f8;background:#f6f9ff;padding:16px 18px;border-radius:8px;color:#526b92}.automation-notice>svg{flex-shrink:0;margin-top:2px}.automation-notice p{font-size:12px;line-height:1.8}.automation-notice.warning{background:#fff9ef;border-color:#ecdaba;color:#84612e}.automation-load-error{display:flex;align-items:center;justify-content:space-between;gap:16px}.automation-load-error .text-button{color:inherit;white-space:nowrap;flex-shrink:0}.automation-health{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:-7px}.automation-health>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.automation-heartbeat{display:inline-flex;align-items:center;gap:7px;font-size:12px}.automation-heartbeat.healthy{color:#32755d}.automation-heartbeat.warning{color:#956625}.automation-health small{font-size:10px;color:var(--muted)}.automation-config-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:start}.automation-card{padding:0;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:0}.automation-card>header{display:flex;align-items:center;gap:12px;padding:23px 24px;border-bottom:1px solid var(--line)}.automation-card-icon{display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;background:#edf3ff;color:#4167c3;border-radius:11px}.automation-card>header>div{min-width:0}.automation-card h2{font-size:18px;letter-spacing:-.4px;line-height:1.35}.automation-card>header p{font-size:11px;line-height:1.7;color:var(--muted);margin:5px 0 0}.automation-toggle-state{margin-left:auto;font-size:10px;border:1px solid #dfe5ee;background:#f7f9fc;color:#718096;padding:4px 8px;border-radius:30px;white-space:nowrap}.automation-toggle-state.active{background:#edf8f2;border-color:#cbe4d8;color:#337759}.automation-card form{padding:23px 24px}.automation-card .field{margin:0 0 16px}.automation-card .field input,.automation-card .field select,.automation-preview-controls input,.automation-preview-controls select{min-width:0;width:100%}.automation-fields-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:14px}.automation-fields-grid .field{margin-bottom:8px}.automation-secret-state{display:flex;align-items:center;gap:6px;color:#8792a5;font-size:10px;margin:-7px 0 20px}.automation-secret-state.saved{color:#467a68}.automation-field-help{font-size:11px;color:var(--muted);line-height:1.7;margin:-1px 0 19px}.automation-card .automation-secret-state+.automation-field-help{margin-top:-9px}.automation-inline-warning{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.75;background:#fff9ef;border:1px solid #edddc2;border-radius:6px;padding:12px 13px;color:#84612e;margin:0 0 19px}.automation-inline-warning svg{flex-shrink:0;margin-top:1px}.automation-inline-warning p{margin:0}.automation-enable{display:flex;align-items:flex-start;gap:11px;border-top:1px solid var(--line);padding-top:19px;margin:22px 0}.automation-enable input{width:16px;height:16px;accent-color:var(--blue);margin-top:3px;flex-shrink:0}.automation-enable strong{display:block;font-size:12px;font-weight:600;line-height:1.7}.automation-enable small{display:block;font-size:11px;line-height:1.8;color:var(--muted);margin-top:4px}.automation-form-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:19px}.automation-form-actions .button{font-size:12px;min-height:40px}.automation-form-actions small{color:var(--muted);font-size:10px;line-height:1.7}.automation-workspace .automation-form-error{font-size:12px;line-height:1.75;color:#a34d39;padding:12px 14px;background:#fff4f0;border:1px solid #eed4cb;border-radius:6px;margin:15px 0}.automation-workspace .automation-form-success{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.75;color:#337256;margin:16px 0}.automation-concurrent{border:1px solid #ecdaba;background:#fff9ef;border-radius:6px;padding:14px;margin:0 0 18px}.automation-concurrent p{font-size:11px;line-height:1.8;color:#84612e;margin:0 0 8px}.automation-concurrent .text-button{font-size:11px}.automation-webhook{background:#f7f9fd;border:1px solid #dfe7f3;border-radius:7px;margin:4px 0 17px;overflow:hidden}.automation-webhook>div{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e4eaf4;padding:10px 13px}.automation-webhook>div>span{font-size:11px;color:#65768d}.automation-webhook .text-button{font-size:11px}.automation-webhook>code{display:block;padding:14px;font-size:11px;line-height:1.8;overflow-wrap:anywhere;color:#3c5c88;user-select:all}.automation-webhook>p{font-size:11px;color:#84612e;line-height:1.8;padding:0 13px 12px}.automation-preview{background:#fff;border:1px solid var(--line);border-radius:10px;min-width:0;padding:26px}.automation-preview>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.automation-eyebrow{display:flex;align-items:center;gap:6px;font-size:11px;color:#5a78b8;margin-bottom:11px}.automation-preview h2{font-size:23px;letter-spacing:-.5px;line-height:1.3}.automation-preview>header p{font-size:12px;line-height:1.8;color:var(--muted);max-width:72ch;margin-top:9px}.automation-language-count{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#607695;border:1px solid var(--line);border-radius:6px;padding:7px 10px}.automation-preview-controls{display:grid;grid-template-columns:minmax(130px,.85fr) minmax(150px,1fr) minmax(150px,1fr) auto;align-items:end;gap:15px;margin:24px 0 22px}.automation-preview-controls .field{margin:0}.automation-preview-controls .button{min-height:40px;white-space:nowrap;font-size:12px}.automation-preview-placeholder{display:flex;align-items:center;justify-content:center;gap:17px;min-height:145px;background:#f8faff;border:1px dashed #cbd8ed;border-radius:8px;padding:24px;color:#7491bf}.automation-preview-placeholder strong{font-size:13px;color:#526d95;font-weight:550}.automation-preview-placeholder p{font-size:11px;line-height:1.8;color:var(--muted);margin:6px 0 0}.automation-preview-result{border:1px solid #dae3f1;border-radius:8px;overflow:hidden}.automation-preview-subject{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 17px;background:#f7f9fd;border-bottom:1px solid #dae3f1}.automation-preview-subject>span{font-size:10px;color:#6c7e98;text-transform:uppercase;letter-spacing:.7px}.automation-preview-subject>strong{font-size:12px;font-weight:550;overflow-wrap:anywhere;flex:1;min-width:150px;line-height:1.8}.automation-preview-subject>div{display:flex;align-items:center;gap:3px}.automation-preview-subject button{display:flex;align-items:center;gap:5px;font-size:10px;padding:7px 9px;border-radius:5px;color:#697b96}.automation-preview-subject button[aria-pressed=true]{background:#e8effc;color:#345eaf;font-weight:600}.automation-preview-result iframe{display:block;border:0;width:100%;height:730px;background:#f4f6fb}.automation-preview-result pre{margin:0;padding:26px;font:12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:730px;overflow:auto;background:#fbfcff;color:#425a7b}.automation-preview-result>p{margin:0;padding:12px 17px;background:#f7f9fd;border-top:1px solid #dae3f1;font-size:10px;line-height:1.8;color:var(--muted)}.automation-journal{padding:0;min-width:0;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}.automation-journal>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px}.automation-journal h2{font-size:19px;letter-spacing:-.35px}.automation-journal>header p{font-size:11px;line-height:1.8;color:var(--muted);margin-top:7px}.automation-refresh-note{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:var(--muted);white-space:nowrap}.automation-journal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:0 24px 18px;border-bottom:1px solid var(--line)}.automation-tabs{display:flex;gap:6px}.automation-tabs>button{display:flex;align-items:center;gap:7px;font-size:12px;padding:9px 10px;border-radius:5px;color:#667b98;white-space:nowrap}.automation-tabs>button[aria-pressed=true]{background:#edf3ff;color:#315eba;font-weight:600}.automation-tabs>button>span{font-size:10px;background:#f2f5fa;color:#718198;padding:1px 5px;border-radius:3px;min-width:19px;text-align:center}.automation-tabs>button[aria-pressed=true]>span{background:#dfe9fc;color:#446db5}.automation-journal-filters{display:flex;align-items:center;gap:10px}.automation-journal-filters input,.automation-journal-filters select{border:1px solid #dfe5ef;border-radius:6px;padding:9px 11px;background:#fff;font:inherit;font-size:11px;color:#60738f;min-width:0}.automation-journal-filters input{width:220px}.automation-workspace .automation-journal-explanation{font-size:11px;line-height:1.8;color:#6c7f98;padding:13px 24px;background:#fbfcff;border-bottom:1px solid var(--line);margin:0}.automation-journal>.automation-form-error,.automation-journal>.automation-form-success{margin:16px 24px}.automation-journal table{width:100%;min-width:830px;border-collapse:collapse}.automation-journal th{background:#fafcff;color:#75849a;font-size:10px;font-weight:500;text-align:left;padding:12px 20px!important;border-bottom:1px solid var(--line)}.automation-journal td{padding:16px 20px!important;font-size:12px;line-height:1.7;vertical-align:top;border-bottom:1px solid #edf1f7}.automation-journal td strong{font-size:12px;font-weight:550}.automation-journal td .subline{font-size:10px;margin-top:5px;line-height:1.7;color:#8290a4;max-width:230px;white-space:normal}.automation-event-id,.automation-recipient{overflow-wrap:anywhere}.automation-status-cell{min-width:220px;max-width:340px}.automation-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;line-height:1.6;padding:3px 8px;border-radius:5px;border:1px solid #dfe5ee;background:#f7f9fc;color:#7a8799;white-space:normal}.automation-status i{width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.automation-status.waiting{background:#f0f4fc;border-color:#dfe7f6;color:#627ca6}.automation-status.progress{background:#edf3ff;border-color:#d9e4fc;color:#416bbe}.automation-status.success{background:#eef8f2;border-color:#d2e7d9;color:#377a5a}.automation-status.warning{background:#fff8ed;border-color:#eddcc0;color:#966c35}.automation-status.error{background:#fff3ef;border-color:#efd6cc;color:#a15f45}.automation-row-note{display:block;max-width:310px;color:#8a795f;font-size:10px;line-height:1.75;margin:7px 0 0;white-space:normal}.automation-row-note details{margin-top:4px}.automation-row-note summary{cursor:pointer;color:#7a8ca7;font-size:9px}.automation-row-note code{display:block;overflow-wrap:anywhere;font-size:9px;color:#6c7d95;white-space:normal;margin-top:3px}.automation-journal td>.button{font-size:10px;white-space:nowrap;padding:7px 10px;min-height:32px}.automation-journal-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px;color:#a1b1c8}.automation-journal-empty strong{font-size:13px;font-weight:500;color:#61758f;margin-top:13px}.automation-journal-empty p{font-size:11px;line-height:1.8;color:#8795a9;margin-top:6px;max-width:58ch}.automation-journal>footer{border-top:1px solid var(--line);padding:13px 24px;font-size:10px;line-height:1.8;color:#8795a9;background:#fbfcff}.automation-history-note{display:flex;align-items:flex-start;gap:8px;max-width:95ch;font-size:11px;line-height:1.8;color:#7b8da5}.automation-history-note svg{margin-top:2px;flex-shrink:0}.automation-empty{padding:55px 30px;text-align:center;color:#7088ac}.automation-empty>svg{margin:0 auto 17px}.automation-empty h2{color:var(--ink);font-size:24px}.automation-empty p{font-size:13px;line-height:1.8;max-width:55ch;margin:12px auto 0}.automation-workspace .button:disabled,.automation-workspace button:disabled{cursor:not-allowed;opacity:.55}.automation-workspace input:disabled,.automation-workspace select:disabled{cursor:not-allowed;background:#f5f7fb;color:#8592a5}.automation-workspace button:focus-visible,.automation-workspace input:focus-visible,.automation-workspace pre:focus-visible,.automation-workspace select:focus-visible,.automation-workspace summary:focus-visible{outline:2px solid #668be0;outline-offset:3px}@media(max-width:1250px){.automation-config-grid{grid-template-columns:minmax(0,1fr)}.automation-card>header{padding:21px 23px}.automation-card form{padding:23px}.automation-fields-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.automation-flow{gap:10px;padding:18px}.automation-flow>div{gap:8px}.automation-flow strong{font-size:11px}.automation-flow>div>span{width:30px;height:30px}.automation-preview-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.automation-preview-controls>.button{grid-column:1/-1;justify-self:start}.automation-journal>header{align-items:flex-start}.automation-refresh-note{white-space:normal;text-align:right}}@media(max-width:850px){.automation-flow{display:grid;grid-template-columns:1fr 18px 1fr}.automation-flow>svg:nth-of-type(2){display:none}.automation-flow>div:nth-of-type(3){grid-column:1}.automation-flow>div>span{width:33px;height:33px}.automation-flow strong{font-size:12px}.automation-toolbar>span{display:none}.automation-journal-filters{width:100%;justify-content:space-between}.automation-journal-filters input{flex:1;width:auto}.automation-health>div{gap:6px}.automation-health small{width:100%}.automation-preview>header{gap:12px}.automation-preview h2{font-size:22px}.automation-language-count{font-size:10px;padding:6px 8px}}@media(max-width:650px){.automation-workspace{gap:19px}.automation-shop{width:100%;max-width:none}.automation-shop select{flex:1;max-width:none;font-size:12px}.automation-flow{padding:16px 13px;gap:14px 8px}.automation-flow>div{gap:7px}.automation-flow strong{font-size:10px}.automation-flow>div>span{width:27px;height:27px}.automation-flow>div>span svg{width:15px}.automation-flow>svg{width:13px}.automation-notice{padding:13px 14px;gap:8px}.automation-notice p{font-size:11px}.automation-health{align-items:flex-start}.automation-heartbeat{font-size:11px}.automation-health .text-button{font-size:10px}.automation-health small{font-size:9px}.automation-card>header{padding:19px 16px;gap:10px;flex-wrap:wrap}.automation-card-icon{width:36px;height:36px;border-radius:9px}.automation-card h2{font-size:18px}.automation-card>header p{font-size:10px}.automation-toggle-state{font-size:9px}.automation-card form{padding:20px 16px}.automation-fields-grid{grid-template-columns:minmax(0,1fr);gap:9px}.automation-card .field input,.automation-card .field select,.automation-preview-controls input,.automation-preview-controls select{font-size:16px}.automation-form-actions{align-items:flex-start;flex-direction:column;gap:10px}.automation-form-actions .button{width:100%;justify-content:center}.automation-enable strong{font-size:11px}.automation-enable small{font-size:10px}.automation-preview{padding:20px 16px}.automation-preview>header{flex-direction:column}.automation-preview>header p{font-size:11px}.automation-preview h2{font-size:23px}.automation-preview-controls{grid-template-columns:minmax(0,1fr);gap:14px}.automation-preview-controls>.button{width:100%;justify-content:center;justify-self:stretch;min-height:44px}.automation-preview-placeholder{padding:20px 16px;gap:12px;align-items:flex-start;min-height:130px}.automation-preview-placeholder>svg{flex-shrink:0}.automation-preview-placeholder strong{font-size:12px}.automation-preview-placeholder p{font-size:10px}.automation-preview-subject{gap:7px;padding:13px}.automation-preview-subject>strong{font-size:11px}.automation-preview-subject>div{width:100%;margin-top:5px}.automation-preview-result iframe{height:820px}.automation-preview-result pre{font-size:11px;padding:18px}.automation-preview-result>p{font-size:9px;padding:12px}.automation-journal>header{padding:20px 16px;flex-direction:column;gap:12px}.automation-journal h2{font-size:18px}.automation-journal>header p{font-size:10px}.automation-refresh-note{font-size:9px}.automation-journal-toolbar{padding:0 16px 15px;gap:12px}.automation-tabs>button{font-size:11px;padding:8px}.automation-journal-filters{gap:8px}.automation-journal-filters input{width:50%;font-size:16px}.automation-journal-filters select{max-width:140px;font-size:16px}.automation-journal-explanation{padding:12px 16px;font-size:10px}.automation-journal>.automation-form-error,.automation-journal>.automation-form-success{margin:14px 16px}.automation-journal>footer{padding:12px 16px;font-size:9px}.automation-history-note{font-size:10px}.automation-empty{padding:36px 20px}.automation-empty h2{font-size:21px}}