/* Migo CRM v8.5.20.0 — Automation V2 Visual Builder */
body.crm-app .migo-auto2-page{display:grid;gap:14px;min-width:0;color:#172033}
body.crm-app .migo-auto2-icon{width:18px;height:18px;display:block;flex:0 0 auto}
body.crm-app .migo-auto2-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:2px 0 4px}
body.crm-app .migo-auto2-head h2{margin:3px 0 4px;font-size:24px;line-height:1.15;letter-spacing:-.02em}
body.crm-app .migo-auto2-head p{margin:0;color:#667085;font-size:13px}
body.crm-app .migo-auto2-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:800;color:#667085}
body.crm-app .migo-auto2-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
body.crm-app .migo-auto2-metrics>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border:1px solid #e1e7ef;border-radius:9px;background:#fff;min-width:0}
body.crm-app .migo-auto2-metrics span{font-size:11px;font-weight:700;color:#667085}
body.crm-app .migo-auto2-metrics strong{font-size:19px;line-height:1;color:#172033}
body.crm-app .migo-auto2-toolbar{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid #e1e7ef;border-radius:9px;background:#fff}
body.crm-app .migo-auto2-toolbar select{height:38px;border:1px solid #d7dee8;border-radius:7px;background:#fff;padding:0 30px 0 10px;color:#253046;font:inherit;font-size:12px}
body.crm-app .migo-auto2-search{display:flex;align-items:center;gap:8px;min-width:250px;flex:1;height:38px;padding:0 10px;border:1px solid #d7dee8;border-radius:7px;background:#fff}
body.crm-app .migo-auto2-search:focus-within{border-color:#8aa1c2;box-shadow:0 0 0 3px rgba(39,72,116,.08)}
body.crm-app .migo-auto2-search .migo-auto2-icon{width:16px;height:16px;color:#7a8699}
body.crm-app .migo-auto2-search input{width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;font:inherit;font-size:12px;color:#172033}
body.crm-app .migo-auto2-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr);gap:12px;align-items:start}
body.crm-app .migo-auto2-panel{min-width:0;border:1px solid #e1e7ef;border-radius:9px;background:#fff;overflow:hidden}
body.crm-app .migo-auto2-panel>header{display:flex;align-items:center;justify-content:space-between;min-height:54px;padding:10px 14px;border-bottom:1px solid #e7ebf1;background:#fff}
body.crm-app .migo-auto2-panel>header h3{margin:0;font-size:14px}
body.crm-app .migo-auto2-panel>header p{margin:2px 0 0;color:#7a8699;font-size:11px}
body.crm-app .migo-auto2-rule-list{display:grid}
body.crm-app .migo-auto2-rule{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:74px;padding:10px 12px 10px 14px;border-bottom:1px solid #eef1f5}
body.crm-app .migo-auto2-rule:last-child{border-bottom:0}
body.crm-app .migo-auto2-rule.is-off{opacity:.65}
body.crm-app .migo-auto2-rule-main{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:16px}
body.crm-app .migo-auto2-rule-main>small{flex:0 0 auto;color:#8a94a6;font-size:10px;white-space:nowrap}
body.crm-app .migo-auto2-rule-title{display:flex;align-items:flex-start;gap:9px;min-width:0}
body.crm-app .migo-auto2-rule-title strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
body.crm-app .migo-auto2-state{width:8px;height:8px;border-radius:50%;margin-top:5px;background:#aab3c0;flex:0 0 auto}
body.crm-app .migo-auto2-state.is-on{background:#2f9e62;box-shadow:0 0 0 3px rgba(47,158,98,.10)}
body.crm-app .migo-auto2-flow-mini{display:flex;align-items:center;gap:5px;margin-top:5px;color:#6f7a8d;font-size:10px;white-space:nowrap;overflow:hidden}
body.crm-app .migo-auto2-flow-mini .migo-auto2-icon{width:11px;height:11px;opacity:.55}
body.crm-app .migo-auto2-rule-actions{display:flex;align-items:center;gap:5px}
body.crm-app .migo-auto2-rule-actions button{display:inline-grid;place-items:center;min-width:32px;height:32px;padding:0 8px;border:1px solid #dce3ec;border-radius:7px;background:#fff;color:#4b586d;font:inherit;font-size:9px;font-weight:800;cursor:pointer}
body.crm-app .migo-auto2-rule-actions button:hover{background:#f6f8fb;border-color:#c9d3df;color:#172033}
body.crm-app .migo-auto2-rule-actions .migo-auto2-icon{width:14px;height:14px}
body.crm-app .migo-auto2-runs{max-height:min(680px,calc(100vh - 330px));overflow:auto;scrollbar-width:thin;scrollbar-color:#c6cfdb transparent}
body.crm-app .migo-auto2-runs::-webkit-scrollbar{width:7px}body.crm-app .migo-auto2-runs::-webkit-scrollbar-thumb{background:#c6cfdb;border-radius:99px}
body.crm-app .migo-auto2-run{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:9px;align-items:start;padding:11px 13px;border-bottom:1px solid #eef1f5}
body.crm-app .migo-auto2-run>span{width:7px;height:7px;border-radius:50%;margin-top:4px;background:#aab3c0}.migo-auto2-run>span.is-matched{background:#2f9e62!important}.migo-auto2-run>span.is-failed{background:#d64545!important}.migo-auto2-run>span.is-skipped{background:#e3a027!important}
body.crm-app .migo-auto2-run strong{display:block;font-size:11px}body.crm-app .migo-auto2-run small{display:block;margin-top:3px;color:#7b8798;font-size:10px;line-height:1.4}body.crm-app .migo-auto2-run time{color:#98a2b3;font-size:9px;white-space:nowrap}
body.crm-app .migo-auto2-empty,body.crm-app .migo-auto2-empty-small{padding:22px;text-align:center;color:#8a94a6;font-size:11px}.migo-auto2-empty-small{padding:11px!important;border:1px dashed #dce3ec;border-radius:7px;background:#fafbfc}

/* builder */
body.crm-app .migo-auto2-dialog{width:min(1220px,calc(100vw - 40px));max-width:1220px;height:min(820px,calc(100dvh - 40px));max-height:820px;padding:0;border:0;border-radius:10px;background:#fff;box-shadow:0 22px 70px rgba(15,23,42,.22);overflow:hidden}
body.crm-app .migo-auto2-dialog::backdrop{background:rgba(17,24,39,.38);backdrop-filter:blur(2px)}
body.crm-app .migo-auto2-dialog-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0}
body.crm-app .migo-auto2-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:62px;padding:10px 16px 10px 18px;border-bottom:1px solid #e4e9f0;background:#fff}
body.crm-app .migo-auto2-dialog-head span{display:block;color:#7a8699;font-size:9px;font-weight:800;letter-spacing:.12em}
body.crm-app .migo-auto2-dialog-head h2{margin:2px 0 0;font-size:17px;letter-spacing:-.01em}
body.crm-app .migo-auto2-dialog-head>button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #dbe2eb;border-radius:7px;background:#fff;color:#58657a;cursor:pointer}
body.crm-app .migo-auto2-dialog-head>button:hover{background:#f6f8fa;color:#172033}
body.crm-app .migo-auto2-dialog-body{min-height:0;overflow:auto;padding:14px 16px 18px;background:#f7f9fb;scrollbar-width:thin;scrollbar-color:#c6cfdb transparent}
body.crm-app .migo-auto2-dialog-body::-webkit-scrollbar{width:7px}body.crm-app .migo-auto2-dialog-body::-webkit-scrollbar-thumb{background:#c6cfdb;border-radius:99px}
body.crm-app .migo-auto2-dialog-footer{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:8px;padding:10px 14px;border-top:1px solid #e4e9f0;background:#fff}
body.crm-app .migo-auto2-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-bottom:12px;padding:12px;border:1px solid #e0e6ee;border-radius:9px;background:#fff}
body.crm-app .migo-auto2-meta label:not(.migo-auto2-switch){display:grid;gap:5px;color:#5c687b;font-size:10px;font-weight:700}.migo-auto2-meta input[type=text]{height:39px;border:1px solid #d6dee8;border-radius:7px;padding:0 11px;font:inherit;font-size:12px;color:#172033;background:#fff;outline:0}.migo-auto2-meta input[type=text]:focus{border-color:#8ca1bd;box-shadow:0 0 0 3px rgba(39,72,116,.07)}
body.crm-app .migo-auto2-switch{display:flex;align-items:center;gap:7px;height:39px;padding:0 9px;color:#4d5a6e;font-size:11px;cursor:pointer}.migo-auto2-switch input{position:absolute;opacity:0}.migo-auto2-switch>span{position:relative;width:32px;height:18px;border-radius:99px;background:#cbd3dd;transition:.15s}.migo-auto2-switch>span:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff;transition:.15s}.migo-auto2-switch input:checked+span{background:#274874}.migo-auto2-switch input:checked+span:after{transform:translateX(14px)}
body.crm-app .migo-auto2-canvas{display:grid;grid-template-columns:minmax(235px,.72fr) 28px minmax(330px,1fr) 28px minmax(390px,1.25fr);gap:0;align-items:start}
body.crm-app .migo-auto2-canvas-arrow{display:grid;place-items:center;height:68px;color:#9aa5b5}.migo-auto2-canvas-arrow .migo-auto2-icon{width:16px;height:16px}
body.crm-app .migo-auto2-node{min-width:0;border:1px solid #dce3ec;border-radius:9px;background:#fff;box-shadow:0 1px 1px rgba(16,24,40,.02);overflow:hidden}
body.crm-app .migo-auto2-node>header{display:flex;align-items:center;gap:9px;min-height:58px;padding:9px 11px;border-bottom:1px solid #e7ebf1;background:#fff}
body.crm-app .migo-auto2-node>header>div:nth-child(2){min-width:0;flex:1}.migo-auto2-node>header small{display:block;color:#7c8798;font-size:8px;font-weight:800;letter-spacing:.1em}.migo-auto2-node>header strong{display:block;margin-top:2px;font-size:12px}
body.crm-app .migo-auto2-node-no{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#edf2f8;color:#274874;font-size:10px;font-weight:800}
body.crm-app .migo-auto2-node.is-trigger .migo-auto2-node-no{background:#eaf1fb}.migo-auto2-node.is-condition .migo-auto2-node-no{background:#fff3dc;color:#9a6511}.migo-auto2-node.is-action .migo-auto2-node-no{background:#eaf7ef;color:#29734d}
body.crm-app .migo-auto2-node-body{display:grid;gap:9px;padding:11px}
body.crm-app .migo-auto2-node-body label,body.crm-app .migo-auto2-action-fields label{display:grid;gap:4px;color:#5f6c80;font-size:9px;font-weight:700}
body.crm-app .migo-auto2-node-body select,body.crm-app .migo-auto2-node-body input,body.crm-app .migo-auto2-action-fields select,body.crm-app .migo-auto2-action-fields input,body.crm-app .migo-auto2-action-fields textarea{width:100%;min-width:0;border:1px solid #d8e0e9;border-radius:6px;background:#fff;color:#1f2a3d;font:inherit;font-size:10px;outline:0}.migo-auto2-node-body select,.migo-auto2-node-body input,.migo-auto2-action-fields select,.migo-auto2-action-fields input{height:34px;padding:0 8px}.migo-auto2-action-fields textarea{min-height:62px;padding:8px;resize:vertical;line-height:1.4}
body.crm-app .migo-auto2-node-body select:focus,body.crm-app .migo-auto2-node-body input:focus,body.crm-app .migo-auto2-action-fields select:focus,body.crm-app .migo-auto2-action-fields input:focus,body.crm-app .migo-auto2-action-fields textarea:focus{border-color:#91a5bf;box-shadow:0 0 0 2px rgba(39,72,116,.07)}
body.crm-app .migo-auto2-mode{display:flex!important;flex:0 0 auto!important;gap:2px!important;padding:2px;border:1px solid #dfe5ed;border-radius:6px;background:#f6f8fa}.migo-auto2-mode button{height:24px;padding:0 7px;border:0;border-radius:4px;background:transparent;color:#7a8699;font-size:7px;font-weight:800;cursor:pointer}.migo-auto2-mode button.active{background:#fff;color:#274874;box-shadow:0 1px 3px rgba(16,24,40,.08)}
body.crm-app .migo-auto2-condition-list{display:grid;gap:6px}.migo-auto2-condition-row{display:grid;grid-template-columns:1fr 1.05fr 1fr 28px;gap:5px;align-items:center}.migo-auto2-condition-row button{display:grid;place-items:center;width:28px;height:28px;border:1px solid #e0e5ec;border-radius:6px;background:#fff;color:#8894a6;cursor:pointer}.migo-auto2-condition-row button:hover{color:#c53a3a;background:#fff5f5}.migo-auto2-condition-row .migo-auto2-icon{width:12px;height:12px}
body.crm-app .migo-auto2-add-row{display:flex;align-items:center;justify-content:center;gap:5px;height:32px;border:1px dashed #bfcad7;border-radius:6px;background:#fbfcfd;color:#536176;font-size:9px;font-weight:700;cursor:pointer}.migo-auto2-add-row:hover{border-color:#869bb8;color:#274874;background:#f6f9fc}.migo-auto2-add-row .migo-auto2-icon{width:12px;height:12px}
body.crm-app .migo-auto2-action-list{display:grid;gap:7px}.migo-auto2-action-card{border:1px solid #e0e6ed;border-radius:7px;background:#fbfcfd;overflow:hidden}.migo-auto2-action-card>header{display:grid;grid-template-columns:26px minmax(0,1fr) auto;gap:6px;align-items:center;padding:6px 7px;border-bottom:1px solid #e6ebf1;background:#fff}.migo-auto2-action-icon{display:grid;place-items:center;width:26px;height:26px;border-radius:6px;background:#eef3f8;color:#3e5879}.migo-auto2-action-icon .migo-auto2-icon{width:13px;height:13px}.migo-auto2-action-card>header select{height:30px!important;border:0!important;background:transparent!important;font-weight:700!important;padding:0 4px!important}.migo-auto2-action-card>header>div{display:flex;gap:3px}.migo-auto2-action-card>header button{display:grid;place-items:center;width:25px;height:25px;border:1px solid transparent;border-radius:5px;background:transparent;color:#8591a2;cursor:pointer}.migo-auto2-action-card>header button:hover{border-color:#dde4ec;background:#f6f8fa;color:#27364d}.migo-auto2-action-card>header button .migo-auto2-icon{width:11px;height:11px}
body.crm-app .migo-auto2-action-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:8px}.migo-auto2-action-fields .is-wide{grid-column:1/-1}
body.crm-app .migo-auto2-vars{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:11px;padding:9px 10px;border:1px solid #e0e6ee;border-radius:8px;background:#fff;color:#7a8699;font-size:9px}.migo-auto2-vars strong{color:#4f5d72}.migo-auto2-vars button{border:1px solid #dce3ec;border-radius:5px;background:#f7f9fb;padding:3px 5px;color:#43536a;font:inherit;font-size:8px;cursor:pointer}.migo-auto2-vars button:hover{background:#eef3f8;color:#274874}.migo-auto2-vars span{margin-left:auto}
body.crm-app .migo-auto2-error{display:grid;gap:5px;padding:16px;border:1px solid #f0c7c7;border-radius:9px;background:#fff8f8;color:#9d3131}.migo-auto2-error span{font-size:12px}.migo-auto2-toast{padding:9px 12px;border-radius:7px;background:#172033;color:#fff;font-size:11px;box-shadow:0 8px 24px rgba(16,24,40,.18)}.migo-auto2-toast.is-danger{background:#a83232}.migo-auto2-toast.is-warning{background:#8d6417}

@media(max-width:1100px){body.crm-app .migo-auto2-metrics{grid-template-columns:repeat(3,1fr)}body.crm-app .migo-auto2-grid{grid-template-columns:1fr}body.crm-app .migo-auto2-runs{max-height:420px}body.crm-app .migo-auto2-canvas{grid-template-columns:1fr;gap:8px}.migo-auto2-canvas-arrow{height:20px!important;transform:rotate(90deg)}body.crm-app .migo-auto2-dialog{width:min(860px,calc(100vw - 24px))}}
@media(max-width:720px){body.crm-app .migo-auto2-head{align-items:flex-start;flex-direction:column}.migo-auto2-metrics{grid-template-columns:repeat(2,1fr)!important}.migo-auto2-toolbar{align-items:stretch!important;flex-direction:column}.migo-auto2-search{min-width:0!important}.migo-auto2-rule{grid-template-columns:1fr!important}.migo-auto2-rule-main{align-items:flex-start!important;flex-direction:column}.migo-auto2-dialog{width:calc(100vw - 12px)!important;height:calc(100dvh - 12px)!important}.migo-auto2-dialog-footer{grid-template-columns:1fr 1fr!important}.migo-auto2-dialog-footer>div{display:none}.migo-auto2-action-fields{grid-template-columns:1fr!important}.migo-auto2-action-fields .is-wide{grid-column:auto}.migo-auto2-condition-row{grid-template-columns:1fr!important}.migo-auto2-condition-row button{justify-self:end}}

/* v8.5.21.42 — permission/error state uses canonical workspace empty-state. */
body.crm-app[data-migo-automation-permission-renderer-v852142="1"] .migo-auto2-error{display:none!important}


/* Migo CRM v8.5.21.46 — Automation header aligned with Mentenanță info-row style */
body.crm-app .migo-auto2-head-info-v852146{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:6px 0;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  box-sizing:border-box;
}

body.crm-app .migo-auto2-info-copy-v852146{
  min-width:0;
  display:flex;
  align-items:center;
  gap:9px;
  color:#667164;
}

body.crm-app .migo-auto2-info-copy-v852146 p{
  margin:0;
  padding:0;
  max-width:none;
  color:#667164;
  font-size:12px;
  line-height:1.45;
}

body.crm-app .migo-auto2-info-icon-v852146{
  width:17px;
  height:17px;
  flex:0 0 17px;
  display:block;
  color:#83907f;
}

body.crm-app .migo-auto2-head-info-v852146 > .migo-ws-primary-v3067{
  flex:0 0 auto;
}

@media(max-width:720px){
  body.crm-app .migo-auto2-head-info-v852146{
    align-items:stretch;
    flex-direction:column;
    gap:10px;
  }
  body.crm-app .migo-auto2-head-info-v852146 > .migo-ws-primary-v3067{
    align-self:flex-start;
  }
}


/* Migo CRM v8.5.21.48 — Migo-native Automation dialogs */

body.crm-app .migo-auto2-message-dialog-v852148{
  width:min(560px,calc(100vw - 32px));
  max-width:560px;
  max-height:min(720px,calc(100dvh - 32px));
  padding:0;
  border:0;
  border-radius:12px;
  background:#fff;
  box-shadow:0 24px 70px rgba(15,23,42,.24);
  overflow:hidden;
}

body.crm-app .migo-auto2-message-dialog-v852148::backdrop{
  background:rgba(17,24,39,.38);
  backdrop-filter:blur(2px);
}

body.crm-app .migo-auto2-message-shell-v852148{
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  max-height:min(720px,calc(100dvh - 32px));
}

body.crm-app .migo-auto2-message-head-v852148{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 14px 13px 16px;
  border-bottom:1px solid #e4e7ec;
  background:#fff;
}

body.crm-app .migo-auto2-message-title-v852148{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  align-items:center;
  gap:10px;
  min-width:0;
}

body.crm-app .migo-auto2-message-icon-v852148{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:9px;
  color:#175cd3;
  background:#eff4ff;
}

body.crm-app .migo-auto2-message-icon-v852148 .migo-auto2-icon{
  width:17px;
  height:17px;
}

body.crm-app .migo-auto2-message-title-v852148 small{
  display:block;
  color:#98a2b3;
  font-size:8px;
  font-weight:800;
  letter-spacing:.11em;
}

body.crm-app .migo-auto2-message-title-v852148 h2{
  margin:2px 0 0;
  color:#101828;
  font-size:15px;
  line-height:1.3;
}

body.crm-app .migo-auto2-message-head-v852148>button{
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  padding:0;
  color:#667085;
  background:#fff;
  border:1px solid #d0d5dd;
  border-radius:8px;
  cursor:pointer;
}

body.crm-app .migo-auto2-message-head-v852148>button:hover{
  color:#344054;
  background:#f9fafb;
}

body.crm-app .migo-auto2-message-head-v852148>button .migo-auto2-icon{
  width:15px;
  height:15px;
}

body.crm-app .migo-auto2-message-body-v852148{
  min-height:0;
  overflow:auto;
  padding:15px 16px;
  background:#f8fafc;
}

body.crm-app .migo-auto2-message-footer-v852148{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  padding:11px 14px;
  border-top:1px solid #e4e7ec;
  background:#fff;
}

/* Dry-run result */
body.crm-app .migo-auto2-test-result-v852148{
  display:grid;
  gap:12px;
}

body.crm-app .migo-auto2-test-summary-v852148{
  display:grid;
  grid-template-columns:1fr 1fr;
  overflow:hidden;
  border:1px solid #e4e7ec;
  border-radius:9px;
  background:#fff;
}

body.crm-app .migo-auto2-test-summary-v852148>div{
  min-width:0;
  padding:11px 12px;
  border-right:1px solid #e4e7ec;
}

body.crm-app .migo-auto2-test-summary-v852148>div:last-child{
  border-right:0;
}

body.crm-app .migo-auto2-test-summary-v852148 small{
  display:block;
  margin-bottom:4px;
  color:#98a2b3;
  font-size:8.5px;
  font-weight:700;
}

body.crm-app .migo-auto2-test-summary-v852148 strong{
  display:block;
  color:#344054;
  font-size:10.5px;
}

body.crm-app .migo-auto2-result-badge-v852148{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:24px;
  padding:3px 7px;
  border:1px solid #d0d5dd;
  border-radius:999px;
  color:#475467;
  background:#f9fafb;
  font-size:8.5px;
  font-weight:800;
}

body.crm-app .migo-auto2-result-badge-v852148.is-success{
  color:#067647;
  border-color:#abefc6;
  background:#ecfdf3;
}

body.crm-app .migo-auto2-result-badge-v852148 .migo-auto2-icon{
  width:13px;
  height:13px;
}

body.crm-app .migo-auto2-test-actions-v852148{
  overflow:hidden;
  border:1px solid #e4e7ec;
  border-radius:9px;
  background:#fff;
}

body.crm-app .migo-auto2-test-actions-v852148>header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 11px;
  border-bottom:1px solid #e4e7ec;
}

body.crm-app .migo-auto2-test-actions-v852148>header strong{
  color:#344054;
  font-size:9.5px;
}

body.crm-app .migo-auto2-test-actions-v852148>header span{
  display:grid;
  place-items:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  color:#475467;
  background:#f2f4f7;
  font-size:8px;
  font-weight:800;
}

body.crm-app .migo-auto2-test-actions-v852148>div{
  display:grid;
}

body.crm-app .migo-auto2-test-action-v852148{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  align-items:center;
  gap:8px;
  padding:9px 11px;
  border-bottom:1px solid #eef2f6;
}

body.crm-app .migo-auto2-test-action-v852148:last-child{
  border-bottom:0;
}

body.crm-app .migo-auto2-test-action-v852148>span{
  display:grid;
  place-items:center;
  width:24px;
  height:24px;
  border-radius:7px;
  color:#175cd3;
  background:#eff4ff;
  font-size:8px;
  font-weight:800;
}

body.crm-app .migo-auto2-test-action-v852148 p{
  margin:0;
  color:#344054;
  font-size:9.5px;
  line-height:1.4;
}

body.crm-app .migo-auto2-test-empty-v852148{
  padding:12px;
  color:#667085;
  font-size:9.5px;
}

body.crm-app .migo-auto2-dry-run-note-v852148{
  display:grid;
  grid-template-columns:24px minmax(0,1fr);
  align-items:start;
  gap:8px;
  padding:9px 10px;
  color:#475467;
  border:1px solid #dbe7f5;
  border-radius:8px;
  background:#f8fbff;
}

body.crm-app .migo-auto2-dry-run-note-v852148>.migo-auto2-icon{
  width:15px;
  height:15px;
  margin-top:1px;
  color:#175cd3;
}

body.crm-app .migo-auto2-dry-run-note-v852148 p{
  margin:0;
  font-size:9px;
  line-height:1.45;
}

body.crm-app .migo-auto2-confirm-copy-v852148{
  margin:0;
  color:#475467;
  font-size:10px;
  line-height:1.55;
}

body.crm-app .migo-auto2-danger-button-v852148{
  min-height:36px;
  padding:0 13px;
  color:#fff;
  background:#d92d20;
  border:1px solid #d92d20;
  border-radius:7px;
  font-size:9px;
  font-weight:800;
  cursor:pointer;
}

body.crm-app .migo-auto2-danger-button-v852148:hover{
  background:#b42318;
  border-color:#b42318;
}

@media(max-width:620px){
  body.crm-app .migo-auto2-message-dialog-v852148{
    width:calc(100vw - 16px);
    max-height:calc(100dvh - 16px);
  }

  body.crm-app .migo-auto2-test-summary-v852148{
    grid-template-columns:1fr;
  }

  body.crm-app .migo-auto2-test-summary-v852148>div{
    border-right:0;
    border-bottom:1px solid #e4e7ec;
  }

  body.crm-app .migo-auto2-test-summary-v852148>div:last-child{
    border-bottom:0;
  }
}


/* Migo CRM v8.5.21.49 — Automation result uses canonical Migo modal chrome */

/* The result/confirmation window now uses:
   .migo-ws-modal-backdrop-v3067
   .migo-ws-modal-v3067
   .migo-ws-modal-body-v3067
   .migo-ws-modal-actions-v3067
   exactly like the rest of Migo CRM. */

body.crm-app .migo-auto2-standard-modal-v852149{
  width:min(620px,calc(100vw - 36px));
}

/* Result window has no bottom footer/button. Body ends naturally after content. */
body.crm-app .migo-auto2-standard-modal-v852149 .migo-auto2-test-result-v852148{
  gap:10px;
}

/* Make result content follow standard Migo spacing instead of the oversized
   custom dialog treatment introduced in v48. */
body.crm-app .migo-auto2-standard-modal-v852149 .migo-auto2-test-summary-v852148,
body.crm-app .migo-auto2-standard-modal-v852149 .migo-auto2-test-actions-v852148{
  border-radius:7px;
}

body.crm-app .migo-auto2-standard-modal-v852149 .migo-auto2-dry-run-note-v852148{
  border-radius:7px;
}

/* Confirmation actions keep the standard Migo footer. */
body.crm-app .migo-auto2-standard-modal-v852149 > .migo-ws-modal-body-v3067 > .migo-ws-modal-actions-v3067{
  margin-top:16px;
}

/* v48's custom <dialog> chrome is retained only for backwards-safe CSS
   compatibility; the renderer no longer creates those elements. */
body.crm-app .migo-auto2-message-dialog-v852148{
  display:none!important;
}

@media(max-width:620px){
  body.crm-app .migo-auto2-standard-modal-v852149{
    width:100%;
  }
}
