/* Migo CRM v3.0.90 consolidated application styles */
:root{
  --bg:#f6f7fb;
  --panel:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --soft:#f3f4f6;
  --primary:#111827;
  --primary-2:#252f3f;
  --danger:#b91c1c;
  --success:#047857;
  --warning:#92400e;
  --shadow:0 20px 55px rgba(15,23,42,.10);
  --radius:22px;
}

/* Migo CRM v3.0.75.4 CSV paste import dialog */
body.crm-app #crudDialog .migo-csv-import-v30754 {
  display: grid;
  gap: 16px;
}

body.crm-app #crudDialog .migo-csv-intro-v30754 {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.crm-app #crudDialog .migo-csv-intro-icon-v30754 {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #175cd3;
  background: #eff4ff;
  border: 1px solid #d1e0ff;
  border-radius: 6px;
}

body.crm-app #crudDialog .migo-csv-intro-icon-v30754 .migo-ui-icon {
  width: 20px;
  height: 20px;
}

body.crm-app #crudDialog .migo-csv-intro-v30754 > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body.crm-app #crudDialog .migo-csv-intro-v30754 strong {
  color: #101828;
  font-size: 14px;
}

body.crm-app #crudDialog .migo-csv-intro-v30754 span {
  color: #667085;
  font-size: 12px;
}

body.crm-app #crudDialog .migo-csv-editor-v30754 {
  display: grid;
  gap: 7px;
  margin: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 650;
}

body.crm-app #crudDialog .migo-csv-editor-v30754 textarea {
  width: 100%;
  min-height: 220px;
  margin: 0;
  padding: 12px 13px;
  resize: vertical;
  color: #101828;
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  box-shadow: none;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  font-weight: 450;
  line-height: 1.55;
  tab-size: 2;
  white-space: pre;
}

body.crm-app #crudDialog .migo-csv-editor-v30754 textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

body.crm-app #crudDialog .migo-csv-editor-v30754 textarea[readonly] {
  color: #475467;
  background: #f8fafc;
}

body.crm-app #crudDialog .migo-csv-header-v30754 {
  min-width: 0;
  display: grid;
  gap: 6px;
}

body.crm-app #crudDialog .migo-csv-header-v30754 > span {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

body.crm-app #crudDialog .migo-csv-header-v30754 code {
  display: block;
  max-width: 100%;
  padding: 9px 11px;
  overflow: auto hidden;
  color: #344054;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}

body.crm-app #crudDialog .migo-csv-validation-v30754 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #667085;
  font-size: 12px;
}

body.crm-app #crudDialog .migo-csv-validation-v30754 span {
  font-weight: 650;
}

body.crm-app #crudDialog .migo-csv-validation-v30754 small {
  font-size: 11px;
}

body.crm-app #crudDialog .migo-csv-validation-v30754.is-ready,
body.crm-app #crudDialog .migo-csv-validation-v30754.is-complete {
  color: #067647;
}

body.crm-app #crudDialog .migo-csv-validation-v30754.is-invalid {
  color: #b54708;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754 {
  padding: 11px 12px;
  color: #344054;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left-width: 3px;
  border-radius: 6px;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754[hidden] {
  display: none !important;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754.is-success {
  color: #05603a;
  background: #ecfdf3;
  border-color: #abefc6;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754.is-warning {
  color: #93370d;
  background: #fffaeb;
  border-color: #fedf89;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754.is-error {
  color: #b42318;
  background: #fef3f2;
  border-color: #fecdca;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754 > div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754 .migo-ui-icon {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754 p {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: 12px;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754 p strong {
  color: currentColor;
  font-size: 13px;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754 details {
  margin: 8px 0 0 26px;
  font-size: 12px;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754 summary {
  cursor: pointer;
  font-weight: 700;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754 ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

body.crm-app #crudDialog .migo-csv-feedback-v30754 li + li {
  margin-top: 4px;
}

body.crm-app #crudDialog .migo-csv-import-v30754 + .migo-dialog-footer .migo-dialog-count {
  max-width: min(320px, 50%);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  body.crm-app #crudDialog .migo-csv-import-v30754 {
    gap: 13px;
  }

  body.crm-app #crudDialog .migo-csv-editor-v30754 textarea {
    min-height: 210px;
    font-size: 16px;
  }

  body.crm-app #crudDialog .migo-csv-validation-v30754 {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  body.crm-app #crudDialog .migo-csv-import-v30754 + .migo-dialog-footer .migo-dialog-actions {
    flex-wrap: wrap;
  }

  body.crm-app #crudDialog .migo-csv-import-v30754 + .migo-dialog-footer .migo-dialog-count {
    flex: 1 0 100%;
    max-width: 100%;
    white-space: normal;
  }

  body.crm-app #crudDialog .migo-csv-import-v30754 + .migo-dialog-footer button {
    flex: 1 1 120px;
  }
}

*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}
a{color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.auth-page{display:grid;place-items:center;min-height:100vh;padding:28px;background:radial-gradient(circle at top left,#ffffff 0,#f6f7fb 35%,#e9eef9 100%)}
.auth-shell{width:min(1120px,100%);display:grid;grid-template-columns:430px 1fr;gap:22px;align-items:stretch}
.auth-card,.auth-side,.install-card{background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.8);box-shadow:var(--shadow);border-radius:32px;padding:34px;backdrop-filter:blur(18px)}
.install-card{width:min(860px,100%)}
.auth-side{display:flex;flex-direction:column;justify-content:center;overflow:hidden;position:relative;background:linear-gradient(135deg,#111827,#263244);color:#fff}
.auth-side:after{content:"";position:absolute;width:280px;height:280px;border:1px solid rgba(255,255,255,.12);border-radius:999px;right:-80px;bottom:-80px}
.auth-side h2{font-size:38px;line-height:1.05;margin:18px 0}
.auth-side ul{margin:0;padding-left:20px;color:#dbe3ef;line-height:1.8}
.metric-pill,.eyebrow{letter-spacing:.12em;text-transform:uppercase;font-size:12px;color:var(--muted);font-weight:700}
.auth-side .metric-pill{display:inline-flex;align-self:flex-start;color:#fff;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:9px 13px}
.brand-row{display:flex;align-items:center;gap:12px;margin-bottom:28px}
.brand-row span{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#111827,#475569);color:#fff;font-weight:900;letter-spacing:.03em;box-shadow:0 14px 28px rgba(17,24,39,.2)}
.auth-card .brand-mark{margin-bottom:18px}
h1,h2,h3{margin:0;color:inherit}.auth-card h1{font-size:34px}.muted{color:var(--muted);line-height:1.55}.form-stack{display:grid;gap:14px;margin-top:24px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.form-grid button{grid-column:1/-1}
label{display:grid;gap:7px;color:#374151;font-size:13px;font-weight:700}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:12px 14px;background:#fff;color:var(--text);outline:none}textarea{min-height:94px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#111827;box-shadow:0 0 0 4px rgba(17,24,39,.08)}
.primary-btn,.secondary-btn,.ghost-btn{border:0;border-radius:14px;padding:12px 16px;font-weight:800}.primary-btn{background:var(--primary);color:#fff}.primary-btn:hover{background:var(--primary-2)}.secondary-btn{background:#edf2f7;color:#111827}.ghost-btn{background:transparent;color:#4b5563}.form-error{color:var(--danger);font-weight:700}.auth-footer{margin-top:20px;color:var(--muted);font-size:14px}.auth-footer a{font-weight:800;color:#111827}
.crm-app{display:grid;grid-template-columns:280px 1fr;min-height:100vh}.sidebar{background:#0f172a;color:#fff;padding:24px;display:flex;flex-direction:column;gap:22px}.sidebar .brand-row{margin-bottom:8px}.sidebar .brand-mark{background:rgba(255,255,255,.13);box-shadow:none}.sidebar span{color:#94a3b8}.sidebar nav{display:grid;gap:8px}.nav-item{border:0;text-align:left;background:transparent;color:#cbd5e1;border-radius:14px;padding:12px 14px;font-weight:800}.nav-item:hover,.nav-item.active{background:rgba(255,255,255,.1);color:#fff}.sidebar-footer{margin-top:auto;background:rgba(255,255,255,.08);border-radius:18px;padding:14px;display:grid;gap:4px}.main-panel{padding:30px;overflow:auto}.topbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.topbar h1{font-size:30px}.topbar-actions{display:flex;gap:10px;align-items:center}.view{display:none}.view.active{display:block}.alert{border-radius:16px;padding:14px 16px;margin-bottom:18px;background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.kpi-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:20px}.kpi-card,.panel-card,.table-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 22px rgba(15,23,42,.04)}.kpi-card{padding:18px}.kpi-card span{display:block;color:var(--muted);font-size:13px;font-weight:700}.kpi-card strong{display:block;font-size:28px;margin-top:6px}.layout-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.panel-card{padding:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-head h2{font-size:18px}.table-card{overflow:hidden}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--line)}.table-toolbar input{max-width:320px}.data-table{width:100%;border-collapse:collapse;background:#fff}.data-table th,.data-table td{text-align:left;padding:13px 16px;border-bottom:1px solid var(--line);font-size:14px}.data-table th{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);background:#fafafa}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:800}.status-pill.won,.status-pill.done{background:#ecfdf5;color:#047857}.status-pill.lost,.status-pill.cancelled{background:#fef2f2;color:#b91c1c}.status-pill.open,.status-pill.in_progress{background:#fff7ed;color:#c2410c}.row-actions{display:flex;gap:8px}.mini-btn{border:1px solid var(--line);background:#fff;border-radius:10px;padding:7px 10px;font-weight:800;color:#374151}.mini-btn.danger{color:#b91c1c}.kanban-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,1fr);gap:14px;overflow:auto;padding-bottom:10px}.kanban-col{background:#eef2f7;border:1px solid #dde5ef;border-radius:20px;padding:12px;min-height:420px}.kanban-col h3{font-size:15px;display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.deal-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px;margin-bottom:10px;box-shadow:0 6px 14px rgba(15,23,42,.04)}.deal-card strong{display:block}.deal-card span{display:block;color:var(--muted);font-size:13px;margin-top:4px}.dialog-card{width:min(560px,calc(100% - 28px));border:0;border-radius:28px;padding:26px;box-shadow:var(--shadow)}.dialog-card::backdrop{background:rgba(15,23,42,.45);backdrop-filter:blur(4px)}.dialog-close{float:right;border:0;background:var(--soft);width:34px;height:34px;border-radius:999px;font-size:20px}.empty-state{background:#fff;border:1px dashed #cbd5e1;border-radius:20px;padding:28px;text-align:center;color:var(--muted)}.settings-list{display:grid;gap:12px}.settings-item{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px}.settings-item strong{display:block;margin-bottom:4px}
@media (max-width:980px){.auth-shell{grid-template-columns:1fr}.auth-side{display:none}.crm-app{grid-template-columns:1fr}.sidebar{position:static}.kpi-grid{grid-template-columns:repeat(2,1fr)}.layout-grid{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}.form-grid{grid-template-columns:1fr}}
.toolbar-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.alert.ok{background:#ecfdf5;color:#047857;border-color:#bbf7d0}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.profile-grid div{border:1px solid var(--line);border-radius:14px;padding:10px;background:#fff}.profile-grid span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.profile-grid strong{display:block;margin-top:4px;font-size:13px;word-break:break-word}.timeline{display:grid;gap:10px;margin-top:12px}.timeline article{border-left:3px solid #111827;background:#fff;border-radius:14px;padding:12px 14px;border-top:1px solid var(--line);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.timeline p{margin:4px 0;color:#374151}.timeline span{color:var(--muted);font-size:12px}.kanban-col.drag-over{outline:2px dashed #111827;outline-offset:4px}@media (max-width:720px){.profile-grid{grid-template-columns:1fr}.toolbar-actions{width:100%}.toolbar-actions button{flex:1}}
.note-box{display:grid;gap:10px;margin:12px 0 18px;padding:14px;background:#f8fafc;border:1px solid var(--line);border-radius:18px}.inline-check{display:flex;align-items:center;gap:8px;font-weight:700}.inline-check input{width:auto}.notes-list{margin-bottom:18px}.settings-item .muted{display:block;word-break:break-word}.table-toolbar .mini-btn{white-space:nowrap}

/* v0.8 Calendar / HTML Email Builder / AI Assistant */
.stack-list{display:grid;gap:10px}
.list-card{border:1px solid rgba(148,163,184,.24);border-radius:16px;padding:14px;background:rgba(255,255,255,.76);display:grid;gap:5px}
.list-card strong{color:#0f172a;font-size:14px}.list-card span{color:#475569;font-size:13px}.list-card small{color:#64748b;text-transform:uppercase;font-weight:700;letter-spacing:.04em}
.kpi-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
.ai-chat-card{min-height:480px;display:flex;flex-direction:column}.ai-messages{border:1px solid rgba(148,163,184,.24);border-radius:18px;background:#f8fafc;padding:14px;display:flex;flex-direction:column;gap:10px;min-height:330px;max-height:440px;overflow:auto}.ai-message{max-width:86%;padding:12px 14px;border-radius:16px;line-height:1.45;font-size:14px;white-space:normal}.ai-message.assistant{align-self:flex-start;background:#fff;border:1px solid rgba(148,163,184,.22);color:#0f172a}.ai-message.user{align-self:flex-end;background:#111827;color:#fff}.ai-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:12px}.ai-form input{border:1px solid rgba(148,163,184,.34);border-radius:14px;padding:12px 14px;font:inherit}
@media(max-width:900px){.kpi-grid.compact{grid-template-columns:1fr}.ai-form{grid-template-columns:1fr}.ai-message{max-width:100%}}

/* v0.9 Files / Realtime / Customer Portal */
.portal-shell{width:min(980px,100%)}.portal-page .install-card{max-width:980px}.settings-item .mini-btn{display:inline-flex;margin-top:10px;text-decoration:none}.settings-item a.mini-btn{align-items:center;justify-content:center}.table-wrap{overflow:auto}.realtime-pulse{width:9px;height:9px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 7px rgba(34,197,94,.12)}

/* Migo CRM v2.0 UI cleanup */
:root {
  --surface-gap: 22px;
  --panel-radius: 22px;
  --soft-border: 1px solid rgba(15, 23, 42, 0.08);
}
.crm-app .main-panel { padding: 28px; gap: var(--surface-gap); }
.topbar { margin-bottom: 22px; padding-bottom: 18px; border-bottom: var(--soft-border); }
.view.active { display: flex; flex-direction: column; gap: var(--surface-gap); }
.layout-grid, .kpi-grid, .grid, .cards-grid, .form-grid { gap: var(--surface-gap); }
.panel, .panel-card, .table-card, .kpi-card, .card, .settings-item, .dialog-card {
  border-radius: var(--panel-radius);
  border: var(--soft-border);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}
.panel, .panel-card, .table-card { padding: 22px; margin-bottom: 0; }
.panel-head { gap: 16px; margin-bottom: 18px; align-items: flex-start; }
.settings-list { display: grid; gap: 12px; }
.settings-item { padding: 14px 16px; }
.data-table { border-spacing: 0 8px; border-collapse: separate; }
.data-table th { padding: 12px 14px; }
.data-table td { padding: 14px; background: rgba(248, 250, 252, 0.72); border-top: var(--soft-border); border-bottom: var(--soft-border); }
.data-table tr td:first-child { border-left: var(--soft-border); border-radius: 14px 0 0 14px; }
.data-table tr td:last-child { border-right: var(--soft-border); border-radius: 0 14px 14px 0; }
.form-stack, .note-box { gap: 14px; }
input, select, textarea { border-radius: 14px; }
.sidebar nav { gap: 5px; }
.nav-item { border-radius: 14px; }
.auth-page .auth-shell { max-width: 480px; grid-template-columns: 1fr; }
.auth-page .auth-card { padding: 34px; border-radius: 28px; }
.auth-page .auth-side, .auth-footer { display: none !important; }
.empty-state { border-radius: 18px; padding: 22px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 18px; padding: 16px; background: rgba(15, 23, 42, 0.04); }
@media (max-width: 1100px) {
  .crm-app .main-panel { padding: 20px; }
  .panel, .panel-card, .table-card { padding: 18px; }
}

/* Migo CRM v2.1.6 fixed viewport sidebar */
:root { --sidebar-width: 292px; }
body.crm-app { grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
body.crm-app.migo-sidebar-hidden,
body.migo-sidebar-hidden.crm-app {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.crm-app.migo-sidebar-hidden .sidebar,
body.migo-sidebar-hidden.crm-app .sidebar,
body.migo-sidebar-hidden .sidebar {
  display: none !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
}
body.crm-app.migo-sidebar-hidden .main-panel,
body.migo-sidebar-hidden.crm-app .main-panel,
body.migo-sidebar-hidden .main-panel {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  padding-left: clamp(18px, 2.2vw, 34px) !important;
  padding-right: clamp(18px, 2.2vw, 34px) !important;
}
body.migo-sidebar-hidden .view.active,
body.migo-sidebar-hidden .layout-grid,
body.migo-sidebar-hidden .table-card,
body.migo-sidebar-hidden .panel-card,
body.migo-sidebar-hidden .kanban-board,
body.migo-sidebar-hidden .dashboard-grid {
  max-width: none !important;
  width: 100% !important;
}
.sidebar,
aside.sidebar {
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}
.sidebar .brand-row {
  flex: 0 0 auto !important;
  min-height: 58px !important;
  padding: 14px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
  background: inherit !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}
.sidebar .brand-row > div:not(.brand-mark):not(.migo-brand-actions) {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}
.sidebar .brand-row strong,
.sidebar .brand-row span {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.sidebar .brand-row span { font-size: 11px !important; color: #94a3b8 !important; }
.migo-brand-actions {
  margin-left: auto !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
}
.migo-sidebar-collapse-btn {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.065) !important;
  color: #e5e7eb !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
.migo-sidebar-collapse-btn:hover { background: rgba(255,255,255,.12) !important; color: #fff !important; }
.migo-sidebar-actions,
.sidebar .migo-sidebar-actions,
.migo-sidebar-floating-toggle,
#migoSidebarOpenFab,
.migo-sidebar-toggle-inline,
.migo-sidebar-close-btn:not(.migo-sidebar-collapse-btn) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
}
.sidebar .migo-sidebar-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 10px 8px 14px !important;
  scrollbar-width: thin !important;
}
.sidebar .migo-sidebar-scroll::-webkit-scrollbar { width: 7px !important; }
.sidebar .migo-sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.16) !important; border-radius: 99px !important; }
.sidebar-footer {
  flex: 0 0 auto !important;
  padding: 8px !important;
  margin-top: 0 !important;
  min-height: auto !important;
  position: sticky !important;
  bottom: 0 !important;
  z-index: 130 !important;
  overflow: visible !important;
  background: inherit !important;
  border-top: 1px solid rgba(255,255,255,.08) !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
}
.migo-account-footer {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
}
.migo-account-main {
  width: 100% !important;
  height: 46px !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 6px 8px !important;
  border-radius: 13px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  color: #e5e7eb !important;
  text-align: left !important;
  cursor: pointer !important;
}
.migo-account-main:hover,
.migo-account-footer.is-open .migo-account-main {
  background: rgba(255,255,255,.075) !important;
  border-color: rgba(255,255,255,.10) !important;
}
.migo-user-avatar {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 32px !important;
  background: var(--brand-accent, #2563eb) !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  overflow: hidden !important;
}
.migo-user-avatar img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.migo-account-text {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  display: grid !important;
  gap: 0 !important;
}
.migo-account-text strong,
.migo-account-text span {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.migo-account-text strong { color: #f8fafc !important; font-size: 13px !important; line-height: 18px !important; }
.migo-account-text span { color: #94a3b8 !important; font-size: 11px !important; line-height: 15px !important; }
.migo-account-caret {
  width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  color: #94a3b8 !important;
  font-weight: 900 !important;
  font-size: 18px !important;
}
.migo-account-main:hover .migo-account-caret { background: rgba(255,255,255,.08) !important; color: #fff !important; }
.migo-account-menu {
  display: none !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: calc(100% + 8px) !important;
  z-index: 5000 !important;
  padding: 8px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(15,23,42,.985) !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.40) !important;
  backdrop-filter: blur(18px) !important;
}
.migo-account-footer.is-open .migo-account-menu { display: block !important; }
.migo-account-menu-head { padding: 8px !important; margin-bottom: 5px !important; border-bottom: 1px solid rgba(255,255,255,.08) !important; }
.migo-account-menu-head strong,
.migo-account-menu-head span { display: block !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
.migo-account-menu-head strong { color: #f8fafc !important; font-size: 13px !important; line-height: 18px !important; }
.migo-account-menu-head span { color: #94a3b8 !important; font-size: 11px !important; line-height: 15px !important; }
.migo-cabinet-select {
  width: 100% !important;
  height: 36px !important;
  margin: 6px 0 !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  padding: 0 9px !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.12) !important;
}
.migo-cabinet-select option { color: #0f172a !important; }
.migo-account-actions { display: grid !important; gap: 4px !important; margin-top: 6px !important; }
.migo-account-actions button {
  width: 100% !important;
  min-height: 36px !important;
  border-radius: 10px !important;
  padding: 0 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: 0 !important;
  color: #e5e7eb !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.migo-account-actions button:hover { background: rgba(255,255,255,.08) !important; }
.migo-account-actions [data-migo-account-logout] { color: #fecaca !important; }
.migo-account-divider { height: 1px !important; background: rgba(255,255,255,.08) !important; margin: 6px 0 !important; }
#migoSidebarOpenButton {
  display: none !important;
  position: fixed !important;
  left: 18px !important;
  bottom: 18px !important;
  z-index: 9999 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 16px !important;
  border: 1px solid rgba(15,23,42,.12) !important;
  background: #0f172a !important;
  color: #fff !important;
  box-shadow: 0 16px 40px rgba(15,23,42,.26) !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}
body.migo-sidebar-hidden #migoSidebarOpenButton,
body.crm-app.migo-sidebar-hidden #migoSidebarOpenButton { display: inline-flex !important; }
body:not(.migo-sidebar-hidden) #migoSidebarOpenButton { display: none !important; }

/* Migo CRM v2.1.5 slim sidebar scrollbar and spacing polish */
.sidebar,
aside.sidebar {
  padding: 0 !important;
  gap: 0 !important;
}
.sidebar .brand-row {
  margin: 0 !important;
}
.sidebar .migo-sidebar-scroll {
  padding: 8px 6px 10px !important;
  margin: 0 !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(148, 163, 184, .32) transparent !important;
}
.sidebar .migo-sidebar-scroll::-webkit-scrollbar {
  width: 5px !important;
  height: 5px !important;
}
.sidebar .migo-sidebar-scroll::-webkit-scrollbar-track {
  background: transparent !important;
}
.sidebar .migo-sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, .28) !important;
  border-radius: 999px !important;
}
.sidebar .migo-sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, .46) !important;
}
.sidebar .migo-sidebar-scroll::-webkit-scrollbar-corner {
  background: transparent !important;
}
.sidebar .migo-sidebar-scroll nav,
.sidebar .migo-sidebar-scroll .sidebar-nav,
.sidebar .migo-sidebar-scroll .nav-list {
  margin: 0 !important;
  padding: 0 !important;
}
.sidebar .migo-sidebar-scroll .nav-item,
.sidebar .migo-sidebar-scroll a,
.sidebar .migo-sidebar-scroll button:not(.migo-account-main):not(.migo-sidebar-collapse-btn) {
  max-width: 100% !important;
}
.sidebar-footer {
  padding: 7px 6px !important;
}
.migo-account-main {
  height: 44px !important;
  padding: 5px 7px !important;
}

/* Migo CRM v2.1.6 fixed sidebar viewport and main offset polish */
html,
body {
  min-height: 100% !important;
}
body.crm-app {
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  min-height: 100vh !important;
}
body.crm-app .sidebar,
body.crm-app aside.sidebar,
.sidebar,
aside.sidebar {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: var(--sidebar-width, 292px) !important;
  min-width: var(--sidebar-width, 292px) !important;
  max-width: var(--sidebar-width, 292px) !important;
  height: 100vh !important;
  max-height: 100vh !important;
  min-height: 100vh !important;
  z-index: 1000 !important;
  overflow: hidden !important;
  padding: 0 !important;
  gap: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}
body.crm-app .main-panel,
body.crm-app main.main-panel,
.main-panel {
  grid-column: 1 / -1 !important;
  margin-left: var(--sidebar-width, 292px) !important;
  width: calc(100% - var(--sidebar-width, 292px)) !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 100vh !important;
  box-sizing: border-box !important;
}
body.crm-app.migo-sidebar-hidden .sidebar,
body.migo-sidebar-hidden.crm-app .sidebar,
body.migo-sidebar-hidden .sidebar {
  display: none !important;
}
body.crm-app.migo-sidebar-hidden .main-panel,
body.migo-sidebar-hidden.crm-app .main-panel,
body.migo-sidebar-hidden .main-panel {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: none !important;
}
.sidebar .brand-row {
  flex: 0 0 auto !important;
  position: relative !important;
  top: auto !important;
}
.sidebar .migo-sidebar-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
}
.sidebar-footer {
  flex: 0 0 auto !important;
  position: relative !important;
  bottom: auto !important;
}
body.migo-sidebar-hidden #migoSidebarOpenButton,
body.crm-app.migo-sidebar-hidden #migoSidebarOpenButton {
  display: inline-flex !important;
}
body:not(.migo-sidebar-hidden) #migoSidebarOpenButton,
body.crm-app:not(.migo-sidebar-hidden) #migoSidebarOpenButton {
  display: none !important;
}
@media (max-width: 920px) {
  body.crm-app .sidebar,
  body.crm-app aside.sidebar,
  .sidebar,
  aside.sidebar {
    width: min(292px, calc(100vw - 72px)) !important;
    min-width: min(292px, calc(100vw - 72px)) !important;
    max-width: min(292px, calc(100vw - 72px)) !important;
    box-shadow: 22px 0 60px rgba(15, 23, 42, .28) !important;
  }
  body.crm-app .main-panel,
  body.crm-app main.main-panel,
  .main-panel {
    margin-left: 0 !important;
    width: 100% !important;
  }
  body.crm-app:not(.migo-sidebar-hidden)::before {
    content: '' !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 900 !important;
    background: rgba(15, 23, 42, .24) !important;
    pointer-events: none !important;
  }
}

/* Migo CRM v2.2 Lead Conversion Engine */
.lead-conversion-card {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 20px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 20px 55px rgba(15, 23, 42, .06);
}
.lead-conversion-card h3 { margin: 0 0 6px; font-size: 18px; }
.lead-conversion-card p { margin: 0 0 14px; color: #64748b; }
.lead-conversion-row { display: grid; grid-template-columns: 120px 1fr 1fr auto; gap: 10px; align-items: end; }
.lead-conversion-row label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; color: #475569; }
.lead-conversion-row input { min-height: 40px; border-radius: 12px; border: 1px solid rgba(148,163,184,.32); padding: 0 12px; }
.lead-conversion-result { margin-top: 12px; font-size: 13px; color: #334155; white-space: pre-wrap; }
@media (max-width: 900px) { .lead-conversion-row { grid-template-columns: 1fr; } }

/* Migo CRM v2.3 Pipeline Kanban */
.pipeline-card {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 20px 55px rgba(15, 23, 42, .06);
}
.pipeline-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:14px; }
.pipeline-head h3 { margin:0 0 4px; font-size:18px; }
.pipeline-head p { margin:0; color:#64748b; font-size:13px; }
.pipeline-metrics { display:flex; gap:8px; flex-wrap:wrap; margin:10px 0 16px; }
.pipeline-pill { border:1px solid rgba(148,163,184,.28); border-radius:999px; padding:7px 10px; font-size:12px; color:#334155; background:#fff; }
.pipeline-board { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:12px; align-items:start; }
.pipeline-column { min-height:150px; border:1px solid rgba(148,163,184,.22); border-radius:18px; background:rgba(248,250,252,.92); padding:10px; }
.pipeline-column h4 { margin:0 0 8px; font-size:13px; display:flex; justify-content:space-between; gap:8px; color:#0f172a; }
.pipeline-card-mini { border:1px solid rgba(148,163,184,.24); border-radius:15px; background:#fff; padding:10px; margin:8px 0; box-shadow:0 12px 25px rgba(15,23,42,.04); }
.pipeline-card-mini strong { display:block; font-size:13px; color:#0f172a; margin-bottom:4px; }
.pipeline-card-mini span { display:block; color:#64748b; font-size:12px; }
.pipeline-move { margin-top:8px; display:grid; grid-template-columns:1fr auto; gap:6px; }
.pipeline-move select { border:1px solid rgba(148,163,184,.3); border-radius:10px; padding:6px; font-size:12px; }
.pipeline-move button { min-height:32px; padding:0 9px; border-radius:10px; }
.pipeline-result { margin-top:12px; font-size:13px; color:#334155; white-space:pre-wrap; }

/* Migo CRM v2.3.1 schema compatibility polish */
.pipeline-card .muted,
.lead-conversion-card .muted {
  color: #64748b;
}
.pipeline-error,
.lead-conversion-error {
  border: 1px solid rgba(239, 68, 68, .25);
  background: rgba(254, 242, 242, .88);
  color: #991b1b;
  border-radius: 16px;
  padding: 12px 14px;
}

/* Migo CRM v2.4 Pipeline Kanban Drag & Drop */
.pipeline-card[data-dnd-ready="1"] .pipeline-head p::after {
  content: ' · Drag & drop activ';
  color: #2563eb;
  font-weight: 800;
}
.pipeline-board {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 4px 2px 12px !important;
  scroll-snap-type: x proximity !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(148,163,184,.36) transparent !important;
}
.pipeline-board::-webkit-scrollbar {
  height: 7px !important;
}
.pipeline-board::-webkit-scrollbar-track {
  background: transparent !important;
}
.pipeline-board::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,.32) !important;
  border-radius: 999px !important;
}
.pipeline-column {
  flex: 0 0 270px !important;
  min-width: 270px !important;
  scroll-snap-align: start !important;
  transition: border-color .16s ease, background .16s ease, transform .16s ease, box-shadow .16s ease !important;
}
.pipeline-column.is-drop-target {
  border-color: rgba(37,99,235,.55) !important;
  background: rgba(239,246,255,.96) !important;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,.22), 0 18px 45px rgba(37,99,235,.10) !important;
  transform: translateY(-1px) !important;
}
.pipeline-column.is-moving {
  opacity: .78 !important;
  pointer-events: none !important;
}
.pipeline-card-mini {
  cursor: grab !important;
  user-select: none !important;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, opacity .14s ease !important;
}
.pipeline-card-mini:active {
  cursor: grabbing !important;
}
.pipeline-card-mini[draggable="true"]::after {
  content: 'Trage în altă etapă';
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #94a3b8;
}
.pipeline-card-mini.is-dragging {
  opacity: .52 !important;
  transform: rotate(1deg) scale(.985) !important;
  border-color: rgba(37,99,235,.5) !important;
  box-shadow: 0 18px 45px rgba(15,23,42,.16) !important;
}
.pipeline-card-mini.just-moved {
  border-color: rgba(22,163,74,.42) !important;
  box-shadow: 0 18px 45px rgba(22,163,74,.12) !important;
}
.pipeline-drop-hint {
  margin: 8px 0 2px;
  padding: 8px 9px;
  border: 1px dashed rgba(148,163,184,.38);
  border-radius: 12px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
  background: rgba(255,255,255,.55);
}
.pipeline-column.is-drop-target .pipeline-drop-hint {
  border-color: rgba(37,99,235,.42);
  color: #1d4ed8;
  background: rgba(239,246,255,.9);
}
.pipeline-move {
  opacity: .72;
}
.pipeline-card-mini:hover .pipeline-move {
  opacity: 1;
}
@media (max-width: 920px) {
  .pipeline-column {
    flex-basis: min(270px, 82vw) !important;
    min-width: min(270px, 82vw) !important;
  }
}

/* Migo CRM v2.5 Offers / Quotes Engine */
.quotes-engine-card {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 20px 55px rgba(15, 23, 42, .055);
}
.quotes-engine-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:14px; }
.quotes-engine-head h3 { margin:0 0 4px; font-size:18px; }
.quotes-engine-head p { margin:0; color:#64748b; font-size:13px; }
.quotes-engine-grid { display:grid; grid-template-columns: minmax(220px, 320px) 1fr; gap:14px; align-items:start; }
.quotes-engine-form { border:1px solid rgba(148,163,184,.22); border-radius:18px; padding:12px; background:rgba(248,250,252,.8); }
.quotes-engine-form label { display:block; font-size:12px; font-weight:800; color:#334155; margin:8px 0 5px; }
.quotes-engine-form input, .quotes-engine-form select { width:100%; border:1px solid rgba(148,163,184,.32); border-radius:12px; padding:9px 10px; font-size:13px; box-sizing:border-box; }
.quotes-engine-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.quotes-engine-metrics { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 12px; }
.quotes-engine-pill { border:1px solid rgba(148,163,184,.28); border-radius:999px; padding:7px 10px; font-size:12px; color:#334155; background:#fff; }
.quotes-engine-list { display:grid; gap:9px; }
.quote-mini-card { border:1px solid rgba(148,163,184,.24); border-radius:16px; background:#fff; padding:11px; box-shadow:0 10px 24px rgba(15,23,42,.04); }
.quote-mini-card strong { display:block; color:#0f172a; font-size:13px; margin-bottom:3px; }
.quote-mini-card span { display:block; color:#64748b; font-size:12px; }
.quote-mini-actions { display:flex; gap:6px; flex-wrap:wrap; margin-top:9px; }
.quote-mini-actions button { min-height:30px; border-radius:10px; padding:0 9px; }
.quotes-engine-result { margin-top:12px; font-size:13px; color:#334155; white-space:pre-wrap; }
@media (max-width: 980px) { .quotes-engine-grid { grid-template-columns: 1fr; } }

/* Migo CRM  DND + Quote + Version Compatibility Hotfix */
.pipeline-column.is-drop-target {
  outline: 2px solid rgba(37,99,235,.38) !important;
  outline-offset: -2px !important;
}
.pipeline-card-mini.is-dragging {
  opacity: .55 !important;
}
.pipeline-result:not(:empty),
.quotes-result:not(:empty) {
  white-space: pre-wrap !important;
}
.migo-app-version::after {
  content: '' !important;
}

/* Migo CRM  Emergency UI Stabilizer */
.pipeline-card[data-pipeline-current],
.quotes-engine-card[data-quotes-page-v253] {
  margin-bottom: 18px;
}
.pipeline-board {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
}
.pipeline-column {
  min-height: 180px;
  scroll-snap-align: start;
}
.pipeline-card-mini {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.pipeline-card-mini.is-dragging,
.pipeline-card-mini.is-touch-dragging {
  cursor: grabbing;
  opacity: .82;
  transform: scale(.985);
}
.pipeline-card-mini.just-moved {
  outline: 2px solid rgba(34, 197, 94, .55);
}
.pipeline-column.is-drop-target {
  outline: 2px dashed rgba(59, 130, 246, .55);
  background: rgba(59, 130, 246, .08);
}
.pipeline-empty {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  padding: 10px;
}
.lead-conversion-card,
.quotes-engine-card,
.pipeline-card {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
  padding: 18px;
}
.lead-conversion-row,
.quotes-engine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
}
.quotes-engine-metrics,
.pipeline-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.quotes-engine-pill,
.pipeline-pill {
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  background: #f8fafc;
}
.quote-mini-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
  background: #fff;
}
@media (max-width: 920px) {
  .pipeline-board { grid-auto-columns: minmax(82vw, 1fr); }
  .pipeline-card-mini { padding: 13px; }
  .pipeline-card-mini::after {
    content: 'Ține apăsat pentru mutare';
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #64748b;
  }
}

/* Migo CRM v2.5.9 Toast Kill Switch */
#alertBox,
#alertBox.migo-alert-legacy,
#migoToastHost,
.migo-toast-host,
.migo-toast {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* End Migo CRM v2.5.9 Toast Kill Switch */

/* Migo CRM 0 Silent Alert Core */
#alertBox,
#alertBox.migo-alert-legacy,
#migoToastHost,
.migo-toast-host,
.migo-toast {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* End Migo CRM 0 Silent Alert Core */

/* Migo CRM v2.6.1 Safe Special Views */
#quotesView.active,
#contractsView.active,
#reportsView.active {
  display: block;
}
/* End Migo CRM v2.6.1 Safe Special Views */

/* Migo CRM v2.6.2 Quotes UI Cleanup */
.migo-quotes-v262 {
  display: grid;
  gap: 16px;
}

.migo-quotes-head,
.migo-quote-create-card,
.migo-quotes-stats,
.migo-quotes-list {
  width: 100%;
}

.migo-quotes-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,250,252,.92));
  box-shadow: 0 16px 40px rgba(15, 23, 42, .06);
}

.migo-quotes-head h2 {
  margin: 2px 0 4px;
  font-size: 24px;
  letter-spacing: -.03em;
}

.migo-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #64748b;
  font-weight: 800;
}

.migo-quote-create-card {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .05);
}

.migo-quote-create-card strong {
  display: block;
  font-size: 15px;
}

.migo-quote-create-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.migo-quote-create-form input {
  width: 120px;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .38);
  padding: 0 12px;
}

.migo-quote-result {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(241, 245, 249, .9);
  color: #334155;
  font-size: 13px;
}

.migo-quotes-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.migo-stat-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, .20);
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .045);
}

.migo-stat-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-bottom: 6px;
}

.migo-stat-card strong {
  font-size: 22px;
  letter-spacing: -.03em;
}

.migo-quotes-list {
  display: grid;
  gap: 10px;
}

.migo-quote-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, .20);
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .045);
}

.migo-quote-number {
  color: #2563eb;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 2px;
}

.migo-quote-title {
  font-weight: 760;
  color: #0f172a;
}

.migo-quote-client {
  margin-top: 2px;
  color: #64748b;
  font-size: 13px;
}

.migo-quote-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.migo-quote-meta strong {
  color: #0f172a;
}

.migo-quote-meta small {
  color: #64748b;
}

.migo-status-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 750;
}

.migo-status-pill.status-sent {
  background: rgba(59, 130, 246, .12);
  color: #1d4ed8;
}

.migo-status-pill.status-accepted {
  background: rgba(16, 185, 129, .13);
  color: #047857;
}

.migo-status-pill.status-declined {
  background: rgba(239, 68, 68, .12);
  color: #b91c1c;
}

@media (max-width: 760px) {
  .migo-quotes-head,
  .migo-quote-create-card,
  .migo-quote-row {
    grid-template-columns: 1fr;
  }

  .migo-quotes-head {
    display: grid;
  }

  .migo-quote-create-form {
    flex-wrap: wrap;
  }

  .migo-quote-create-form input {
    flex: 1;
    min-width: 140px;
  }

  .migo-quotes-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .migo-quote-meta {
    justify-items: start;
    text-align: left;
  }
}
/* End Migo CRM v2.6.2 Quotes UI Cleanup */

/* Migo CRM v2.6.3 Special Nav Click Fix */
#quotesView.active,
#contractsView.active,
#reportsView.active {
  display: block !important;
}

.nav-item[data-view="quotes"],
.nav-item[data-view="contracts"],
.nav-item[data-view="reports"] {
  cursor: pointer;
}
/* End Migo CRM v2.6.3 Special Nav Click Fix */

/* Migo CRM v2.6.4 Quotes Search + Sidebar Direct Fix */
.migo-quote-search-form {
  align-items: stretch;
}

.migo-deal-search-box {
  position: relative;
  min-width: 320px;
  flex: 1;
}

.migo-deal-search-box input[type="search"] {
  width: 100%;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .38);
  padding: 0 12px;
  background: #fff;
}

.migo-deal-search-results {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 280px;
  overflow: auto;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .26);
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 20px 45px rgba(15, 23, 42, .16);
}

.migo-deal-search-option {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 11px;
  padding: 10px;
  display: grid;
  gap: 3px;
  text-align: left;
  cursor: pointer;
}

.migo-deal-search-option:hover {
  background: rgba(37, 99, 235, .08);
}

.migo-deal-search-option strong {
  color: #0f172a;
  font-size: 13px;
}

.migo-deal-search-option span,
.migo-deal-search-empty {
  color: #64748b;
  font-size: 12px;
}

.migo-deal-search-empty {
  padding: 10px;
}

@media (max-width: 760px) {
  .migo-deal-search-box {
    min-width: 100%;
  }
}
/* End Migo CRM v2.6.4 Quotes Search + Sidebar Direct Fix */

/* Migo CRM v2.6.9 Quote Open Details */
.migo-quote-row {
  cursor: pointer;
  position: relative;
}

.migo-quote-row:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, .32);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}

.migo-quote-row.is-selected {
  border-color: rgba(37, 99, 235, .55);
  box-shadow: 0 18px 40px rgba(37, 99, 235, .12);
}

.migo-quote-open-hint {
  justify-self: end;
  align-self: center;
  font-size: 12px;
  font-weight: 800;
  color: #2563eb;
  opacity: .78;
}

.migo-quote-details-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(37, 99, 235, .28);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(239,246,255,.72));
  box-shadow: 0 18px 46px rgba(15, 23, 42, .10);
}

.migo-quote-details-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.migo-quote-details-head h3 {
  margin: 3px 0 4px;
  font-size: 22px;
  letter-spacing: -.03em;
}

.migo-quote-details-head p {
  margin: 0;
  color: #475569;
}

.migo-quote-details-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.migo-detail-card {
  padding: 12px;
  border-radius: 15px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(148, 163, 184, .20);
}

.migo-detail-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-bottom: 5px;
}

.migo-detail-card strong {
  color: #0f172a;
}

.migo-quote-details-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.migo-quote-details-body div {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}

.migo-quote-details-body strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}

.migo-quote-details-body p {
  margin: 0;
  color: #475569;
}

.migo-quote-details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.migo-quote-status-message {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(241, 245, 249, .9);
  color: #334155;
  font-size: 13px;
}

@media (max-width: 760px) {
  .migo-quote-details-head,
  .migo-quote-row {
    grid-template-columns: 1fr;
  }

  .migo-quote-details-grid,
  .migo-quote-details-body {
    grid-template-columns: 1fr;
  }

  .migo-quote-open-hint {
    justify-self: start;
  }
}
/* End Migo CRM v2.6.9 Quote Open Details */

/* Migo CRM v2.6.10 SAFE pipeline-card neutral CSS */
.pipeline-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  outline: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.pipeline-card:hover,
.pipeline-card:focus,
.pipeline-card:focus-within {
  transform: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.pipeline-card::before,
.pipeline-card::after {
  display: none !important;
  content: none !important;
}
/* End Migo CRM v2.6.10 SAFE pipeline-card neutral CSS */

/* Migo CRM v2.6.11 Delete Draft Quotes */
.migo-danger-btn {
  color: #b91c1c !important;
  border-color: rgba(239, 68, 68, .28) !important;
  background: rgba(254, 242, 242, .85) !important;
}

.migo-danger-btn:hover {
  background: rgba(254, 226, 226, .95) !important;
  border-color: rgba(239, 68, 68, .42) !important;
}
/* End Migo CRM v2.6.11 Delete Draft Quotes */

/* Migo CRM v2.6.13 Edit Draft Quotes */
.migo-quote-edit-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, .22);
  background: rgba(248, 250, 252, .92);
}

.migo-quote-edit-head strong {
  display: block;
  color: #0f172a;
  margin-bottom: 3px;
}

.migo-quote-edit-head span {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.migo-quote-edit-form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.migo-quote-edit-form input,
.migo-quote-edit-form textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-weight: 500;
}

.migo-quote-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.migo-quote-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 760px) {
  .migo-quote-edit-grid {
    grid-template-columns: 1fr;
  }
}
/* End Migo CRM v2.6.13 Edit Draft Quotes */

/* Migo CRM v2.6.15 Auto Refresh Controller */
.migo-auto-refresh-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.migo-auto-refresh-toggle {
  border: 0;
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(16, 185, 129, .12);
  color: #047857;
  font-weight: 800;
  font-size: 11px;
  cursor: pointer;
}

.migo-auto-refresh-toggle.is-off {
  background: rgba(148, 163, 184, .18);
  color: #475569;
}

.migo-auto-refresh-status {
  color: #64748b;
  font-size: 11px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .migo-auto-refresh-status {
    display: none;
  }
}
/* End Migo CRM v2.6.15 Auto Refresh Controller */

/* Migo CRM v2.6.16 Pipeline Canonical Renderer */
.kanban-board {
  display: none !important;
}

#kanbanView > .panel-head:has(+ .kanban-board) {
  display: none !important;
}
/* End Migo CRM v2.6.16 Pipeline Canonical Renderer */

/* Migo CRM v2.6.17 Pipeline UX Polish */
#logoutBtn {
  display: none !important;
}

#kanbanView .pipeline-head.migo-pipeline-head-clean {
  justify-content: flex-end;
  margin-bottom: 10px;
}

#kanbanView [data-pipeline-refresh] {
  display: none !important;
}

#kanbanView .pipeline-move {
  display: none !important;
}

#kanbanView .pipeline-board {
  align-items: stretch;
  min-height: min(72vh, 760px);
}

#kanbanView .pipeline-column {
  max-height: min(72vh, 760px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-bottom: 14px;
}

#kanbanView .pipeline-column::-webkit-scrollbar {
  width: 8px;
}

#kanbanView .pipeline-column::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, .55);
  border-radius: 999px;
}

#kanbanView .pipeline-card-mini.is-clickable {
  cursor: pointer;
}

#kanbanView .pipeline-card-mini.is-selected {
  outline: 2px solid rgba(37, 99, 235, .45);
  box-shadow: 0 14px 34px rgba(37, 99, 235, .12);
}

.migo-pipeline-detail-panel {
  display: grid;
  gap: 14px;
  margin: 0 0 14px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(37, 99, 235, .22);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.94));
  box-shadow: 0 18px 44px rgba(15, 23, 42, .08);
}

.migo-pipeline-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.migo-pipeline-detail-head h3 {
  margin: 2px 0 4px;
  font-size: 20px;
}

.migo-pipeline-detail-head p {
  color: #64748b;
  margin: 0;
}

.migo-pipeline-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.migo-pipeline-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.migo-pipeline-detail-actions label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  min-width: 220px;
}

.migo-pipeline-detail-actions select {
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}

.migo-pipeline-detail-result {
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(239, 246, 255, .9);
  color: #1d4ed8;
  font-weight: 700;
}

@media (max-width: 760px) {
  .migo-pipeline-detail-grid {
    grid-template-columns: 1fr;
  }

  .migo-pipeline-detail-head {
    display: grid;
  }
}
/* End Migo CRM v2.6.17 Pipeline UX Polish */

/* Migo CRM v2.6.22 Lead Pipeline Button UI */
.mini-btn.is-converted,
button.is-converted {
  border-color: rgba(16, 185, 129, .35) !important;
  background: rgba(16, 185, 129, .12) !important;
  color: #047857 !important;
  cursor: default !important;
  opacity: 1 !important;
}

tr.is-lead-converted {
  background: rgba(236, 253, 245, .45);
}
/* End Migo CRM v2.6.22 Lead Pipeline Button UI */



/* Migo CRM Pipeline Layout Final Clean Core */
.migo-app-version,
.migo-app-version::after {
  display: none !important;
  content: '' !important;
}

#kanbanView .pipeline-head,
#kanbanView [data-pipeline-refresh],
#kanbanView .pipeline-move,
#kanbanView .kanban-board,
#kanbanView > .panel-head {
  display: none !important;
}

#kanbanView .pipeline-card {
  min-height: 0 !important;
  overflow: visible !important;
}

#kanbanView .pipeline-board {
  align-items: stretch !important;
  min-height: 0 !important;
  gap: 14px !important;
}

#kanbanView .pipeline-column {
  display: flex !important;
  flex-direction: column !important;
  overflow: visible !important;
  min-height: 0 !important;
  max-height: calc(100vh - 245px) !important;
  padding: 12px 8px !important;
  box-sizing: border-box !important;
}

#kanbanView .pipeline-column > h4 {
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  margin: 0 0 10px 0 !important;
  padding: 0 4px !important;
  box-sizing: border-box !important;
}

#kanbanView .pipeline-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: visible !important;
  padding: 3px 4px 12px 4px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  scrollbar-width: thin !important;
  scrollbar-gutter: auto !important;
}

#kanbanView .pipeline-scroll::-webkit-scrollbar {
  width: 6px !important;
}

#kanbanView .pipeline-scroll::-webkit-scrollbar-track {
  background: transparent !important;
}

#kanbanView .pipeline-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, .42) !important;
  border-radius: 999px !important;
}

#kanbanView .pipeline-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, .6) !important;
}

#kanbanView .pipeline-card-mini {
  cursor: pointer !important;
  width: 100% !important;
  margin: 0 0 10px 0 !important;
  box-sizing: border-box !important;
}

#kanbanView .pipeline-card-mini:hover {
  transform: translateY(-1px);
}

#kanbanView .pipeline-empty {
  display: block !important;
  margin: 8px 0 0 0 !important;
  box-sizing: border-box !important;
}
/* End Migo CRM Pipeline Layout Final Clean Core */


/* Migo CRM Pipeline Scroll Endpoint Sidebar Final */
.sidebar .brand-row > div > strong + span {
  display: none !important;
}

#kanbanView.active {
  min-height: 0 !important;
}

#kanbanView .pipeline-card {
  height: calc(100vh - 132px) !important;
  min-height: 520px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

#kanbanView .pipeline-metrics {
  flex: 0 0 auto !important;
}

#kanbanView .pipeline-board {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  align-items: stretch !important;
  overflow: hidden !important;
  gap: 14px !important;
}

#kanbanView .pipeline-column {
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 12px 8px !important;
  box-sizing: border-box !important;
}

#kanbanView .pipeline-column > h4 {
  flex: 0 0 auto !important;
  margin: 0 0 10px 0 !important;
  padding: 0 4px !important;
  box-sizing: border-box !important;
}

#kanbanView .pipeline-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 3px 4px 12px 4px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  scrollbar-width: thin !important;
}

#kanbanView .pipeline-scroll::-webkit-scrollbar {
  width: 6px !important;
}

#kanbanView .pipeline-scroll::-webkit-scrollbar-track {
  background: transparent !important;
}

#kanbanView .pipeline-scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, .42) !important;
  border-radius: 999px !important;
}

#kanbanView .pipeline-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, .62) !important;
}

#kanbanView .pipeline-card-mini {
  width: 100% !important;
  margin: 0 0 10px 0 !important;
  box-sizing: border-box !important;
}
/* End Migo CRM Pipeline Scroll Endpoint Sidebar Final */


/* Migo CRM Pipeline Horizontal Scroll Restore */
#kanbanView .pipeline-card {
  overflow: hidden !important;
}

#kanbanView .pipeline-board {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: thin !important;
  padding-bottom: 8px !important;
  box-sizing: border-box !important;
}

#kanbanView .pipeline-board::-webkit-scrollbar {
  height: 7px !important;
}

#kanbanView .pipeline-board::-webkit-scrollbar-track {
  background: transparent !important;
}

#kanbanView .pipeline-board::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, .42) !important;
  border-radius: 999px !important;
}

#kanbanView .pipeline-board::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, .62) !important;
}

#kanbanView .pipeline-column {
  flex: 0 0 285px !important;
  width: 285px !important;
  min-width: 285px !important;
}

#kanbanView .pipeline-scroll {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
/* End Migo CRM Pipeline Horizontal Scroll Restore */

/* Migo CRM v2.7 Security + Branding Base */
.settings-v27-grid { align-items: start; }
.branding-upload-grid { display:grid; grid-template-columns: minmax(0, 1fr) auto; gap:10px 12px; align-items:end; margin-top:16px; }
.branding-upload-grid label { min-width:0; }
.branding-preview-card .brand-mark img, .brand-mini-preview img { width:100%; height:100%; object-fit:contain; display:block; }
.brand-mini-preview { width:34px; height:34px; border-radius:11px; display:inline-flex; align-items:center; justify-content:center; background:var(--brand-accent-soft, rgba(37,99,235,.1)); overflow:hidden; font-weight:900; }
.security-action-box { margin-top:16px; padding:14px; border:1px solid rgba(148,163,184,.22); border-radius:18px; background:rgba(248,250,252,.72); }
.migo-code-block { display:block; margin-top:8px; padding:12px; border-radius:14px; background:#0f172a; color:#e2e8f0; font-size:13px; letter-spacing:.08em; word-break:break-all; }
.migo-details { margin-top:12px; }
.migo-details summary { cursor:pointer; font-weight:800; color:#334155; }
.migo-details textarea, .security-action-box textarea { width:100%; box-sizing:border-box; margin-top:8px; border-radius:14px; border:1px solid rgba(148,163,184,.32); padding:10px; font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.form-success { border:1px solid #bbf7d0; color:#166534; background:#f0fdf4; border-radius:16px; padding:12px; }
@media (max-width: 760px) { .branding-upload-grid { grid-template-columns:1fr; } }

/* Migo CRM v2.7.1 Local 2FA QR + Branding upload polish */
.migo-twofactor-local-card {
  display: grid !important;
  gap: 10px !important;
}

.migo-qr-local {
  width: max-content !important;
  max-width: 100% !important;
  padding: 12px !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, .10) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .08) !important;
}

.migo-qr-local svg {
  display: block !important;
  width: min(260px, 68vw) !important;
  height: auto !important;
}

.branding-upload-grid button.secondary-btn {
  min-height: 42px !important;
}

.branding-upload-grid input[type="file"] {
  cursor: pointer !important;
}
/* End Migo CRM v2.7.1 Local 2FA QR + Branding upload polish */

/* Migo CRM v2.7.3 Dedicated Branding Page */
.sidebar .brand-row.brand-logo-only,
.brand-row.brand-logo-only {
  align-items: center;
  gap: 0;
  min-height: 46px;
}

.sidebar .brand-row.brand-logo-only .brand-mark,
.brand-row.brand-logo-only .brand-mark {
  width: 100%;
  max-width: 176px;
  min-width: 0;
  height: 48px;
  border-radius: 0;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand-mark.brand-mark-logo {
  overflow: hidden;
  background: rgba(255,255,255,.92);
}

.brand-mark.brand-mark-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.brand-logo-full {
  max-width: 176px !important;
  max-height: 46px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.brand-row.brand-text-only .brand-mark,
.brand-mark.brand-mark-hidden {
  display: none !important;
}

.brand-row.brand-text-only {
  gap: 0;
}

.auth-card .brand-mark.auth-logo-only {
  width: min(220px, 80%);
  height: 70px;
  border-radius: 0;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  margin-bottom: 14px;
}

.branding-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: 18px;
  align-items: start;
}

.branding-main-card {
  grid-row: span 2;
}

.branding-form-grid {
  margin-top: 16px;
}

.branding-form-grid .full-span {
  grid-column: 1 / -1;
}

.branding-preview-panel,
.branding-pack-card {
  min-width: 0;
}

.branding-live-preview {
  border: 1px solid rgba(148,163,184,.32);
  border-radius: 22px;
  padding: 18px;
  background:
    radial-gradient(circle at 12% 18%, rgba(37,99,235,.10), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.90));
  box-shadow: 0 16px 42px rgba(15,23,42,.08);
  margin-bottom: 16px;
}

.branding-preview-row {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.branding-preview-logo {
  max-width: 220px;
  max-height: 60px;
  object-fit: contain;
}

.branding-preview-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15,23,42,.12);
}

.branding-upload-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.branding-upload-grid label {
  display: grid;
  gap: 7px;
  color: var(--muted, #64748b);
  font-size: 13px;
}

.favicon-pack-list .settings-item a {
  word-break: break-all;
}

@media (max-width: 1100px) {
  .branding-page-grid {
    grid-template-columns: 1fr;
  }

  .branding-main-card {
    grid-row: auto;
  }
}

body.auth-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: var(--migo-login-image, none);
  background-size: cover;
  background-position: center;
  opacity: .10;
  z-index: 0;
}

body.auth-page > * {
  position: relative;
  z-index: 1;
}

/* Migo CRM v2.7.4 Branding page polish */
.settings-branding-moved {
  border: 1px solid rgba(37,99,235,.18);
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(14,165,233,.05));
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 8px;
  align-items: start;
}
.settings-branding-moved .secondary-btn {
  justify-self: start;
}
.favicon-pack-list {
  display: block;
}
.favicon-pack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.favicon-pack-item {
  min-width: 0;
  border: 1px solid rgba(148,163,184,.24);
  background: rgba(255,255,255,.82);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}
.favicon-pack-item.is-empty {
  opacity: .68;
}
.favicon-pack-thumb {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background:
    linear-gradient(45deg, rgba(148,163,184,.18) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(148,163,184,.18) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(148,163,184,.18) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(148,163,184,.18) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.favicon-pack-thumb img {
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
  image-rendering: auto;
}
.favicon-preview-manifest,
.favicon-preview-empty {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(15,23,42,.08);
  color: var(--muted, #64748b);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.favicon-pack-meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.favicon-pack-meta strong {
  color: var(--text, #0f172a);
  font-size: 14px;
}
.favicon-pack-meta span,
.favicon-pack-meta em {
  color: var(--muted, #64748b);
  font-size: 12px;
  font-style: normal;
}
.favicon-pack-meta a {
  color: var(--brand-accent, #2563eb);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1180px) {
  .favicon-pack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .favicon-pack-grid { grid-template-columns: 1fr; }
}


/* Migo CRM v2.7.5 Branding preview polish */
.branding-main-card {
  grid-row: auto !important;
}
.branding-pack-card {
  grid-column: 1 / -1;
}
.branding-live-preview {
  overflow: visible;
}
.branding-asset-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.branding-asset-preview-card {
  min-width: 0;
  border: 1px solid rgba(148,163,184,.24);
  background: rgba(255,255,255,.78);
  border-radius: 18px;
  padding: 12px;
  display: grid;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}
.branding-asset-preview-card.is-empty {
  opacity: .72;
}
.branding-asset-preview-card.is-wide {
  grid-column: 1 / -1;
}
.branding-asset-preview-thumb {
  width: 100%;
  border-radius: 16px;
  background:
    linear-gradient(45deg, rgba(148,163,184,.16) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(148,163,184,.16) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(148,163,184,.16) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(148,163,184,.16) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.branding-asset-preview-card.is-square .branding-asset-preview-thumb {
  width: 74px;
  height: 74px;
}
.branding-asset-preview-card.is-wide .branding-asset-preview-thumb {
  aspect-ratio: 1.91 / 1;
  min-height: 118px;
}
.branding-asset-preview-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.branding-asset-preview-card.is-wide .branding-asset-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.branding-asset-empty {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(15,23,42,.08);
  color: var(--muted, #64748b);
  font-weight: 900;
}
.branding-asset-preview-meta {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.branding-asset-preview-meta strong {
  color: var(--text, #0f172a);
  font-size: 13px;
}
.branding-asset-preview-meta span {
  min-width: 0;
  color: var(--muted, #64748b);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.favicon-pack-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 14px !important;
}
.favicon-pack-item {
  min-height: 94px;
}
.favicon-pack-thumb {
  width: 64px;
  height: 64px;
}
.favicon-pack-thumb img {
  max-width: 52px;
  max-height: 52px;
}
@media (max-width: 760px) {
  .branding-asset-preview-grid { grid-template-columns: 1fr; }
  .branding-asset-preview-card.is-wide { grid-column: auto; }
}

/* Migo CRM v2.7.6 Branding full width + Security page + Sidebar search */
.branding-page-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
}
.branding-preview-panel,
.branding-main-card,
.branding-pack-card {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
}
.branding-preview-panel { order: 1; }
.branding-main-card { order: 2; }
.branding-pack-card { order: 3; }
.branding-live-preview {
  display: grid;
  gap: 14px;
}
.branding-preview-panel .branding-upload-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 12px;
}
.branding-preview-panel .branding-upload-grid button {
  min-height: 42px;
}
.branding-asset-preview-grid {
  grid-template-columns: minmax(180px, .45fr) minmax(0, 1fr) minmax(0, 1fr) !important;
}
.branding-asset-preview-card.is-wide {
  grid-column: auto !important;
}
.branding-asset-preview-card.is-wide .branding-asset-preview-thumb {
  min-height: 148px !important;
}
.branding-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.branding-form-grid .full-span { grid-column: 1 / -1; }

.migo-sidebar-search {
  margin: -8px 0 2px 0;
  display: grid;
  gap: 8px;
}
.migo-sidebar-search-inner {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 8px 0 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  border-radius: 14px;
  color: rgba(226,232,240,.82);
}
.migo-sidebar-search-inner input {
  width: 100%;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 0 !important;
  box-shadow: none !important;
}
.migo-sidebar-search-inner input::placeholder { color: rgba(203,213,225,.72); }
.migo-sidebar-search-inner button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.migo-sidebar-search-inner button[hidden] { display: none !important; }
.migo-sidebar-search-empty {
  border: 1px dashed rgba(255,255,255,.14);
  border-radius: 12px;
  padding: 10px 12px;
  color: rgba(203,213,225,.76);
  font-size: 12px;
  font-weight: 700;
}
.nav-item.migo-nav-filtered-out { display: none !important; }

.settings-v276-stack,
.security-page-grid {
  display: grid;
  gap: 18px;
}
.settings-company-card,
.settings-custom-fields-card,
.security-hero-card,
.security-twofactor-card,
.security-help-card {
  width: 100%;
}
.settings-security-moved {
  border: 1px solid rgba(16,185,129,.22);
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(20,184,166,.05));
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 8px;
  align-items: start;
}
.settings-security-moved .secondary-btn { justify-self: start; }
.security-page-grid {
  grid-template-columns: minmax(0, 1fr);
}
.security-hero-content {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.security-hero-content h3 {
  font-size: 26px;
  margin: 10px 0 4px;
}
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.security-badge.is-on {
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}
.security-badge.is-off {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}
.security-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 12px;
  min-width: min(100%, 360px);
}
.security-stats > div {
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 18px;
  padding: 14px;
  background: rgba(248,250,252,.78);
}
.security-stats strong {
  display: block;
  color: var(--text, #0f172a);
  font-size: 18px;
  word-break: break-word;
}
.security-stats span {
  display: block;
  color: var(--muted, #64748b);
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}
.security-twofactor-card .migo-qr-local {
  max-width: 320px;
}
.security-twofactor-card .migo-qr-local svg {
  width: 100%;
  height: auto;
}
.security-help-card .settings-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .branding-preview-panel .branding-upload-grid,
  .branding-form-grid,
  .branding-asset-preview-grid,
  .security-help-card .settings-list {
    grid-template-columns: 1fr !important;
  }
  .branding-asset-preview-card.is-wide { grid-column: auto !important; }
}
@media (max-width: 680px) {
  .security-hero-content { display: grid; }
  .security-stats { grid-template-columns: 1fr; }
}

/* Migo CRM v2.8 Product Catalog */
.migo-products-page { display: grid; gap: 18px; width: 100%; max-width: 100%; }
.migo-products-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; padding: 20px; border-radius: 24px; background: linear-gradient(135deg, rgba(15,23,42,.04), rgba(37,99,235,.06)); border: 1px solid rgba(148,163,184,.28); }
.migo-products-head h2 { margin: 4px 0 6px; font-size: 28px; letter-spacing: -.04em; }
.migo-products-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.migo-products-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.migo-products-form-card, .migo-products-category-card, .migo-products-list-card { width: 100%; max-width: 100%; overflow: visible; }
.migo-product-form { display: grid; gap: 14px; }
.migo-product-grid { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 12px; }
.migo-product-grid label, .migo-category-form label { display: grid; gap: 6px; font-size: 13px; color: #475569; font-weight: 700; }
.migo-product-grid input, .migo-product-grid select, .migo-product-grid textarea, .migo-category-form input, .migo-products-filters input, .migo-products-filters select, .migo-product-attach-form input, .migo-product-attach-form select { width: 100%; border: 1px solid rgba(148,163,184,.45); border-radius: 14px; padding: 10px 12px; background: rgba(255,255,255,.92); color: #0f172a; outline: none; }
.migo-product-grid textarea { resize: vertical; min-height: 88px; }
.migo-product-grid .full-span { grid-column: 1 / -1; }
.migo-product-form-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.migo-category-form { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(220px, 1fr) auto; gap: 10px; align-items: center; margin-bottom: 12px; }
.migo-category-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.migo-category-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(148,163,184,.35); background: rgba(248,250,252,.95); border-radius: 999px; padding: 8px 10px 8px 14px; }
.migo-category-pill small { color: #64748b; }
.migo-category-pill button { border: 0; background: rgba(239,68,68,.12); color: #b91c1c; width: 24px; height: 24px; border-radius: 999px; cursor: pointer; }
.migo-products-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.migo-products-filters input { min-width: 280px; }
.migo-products-list { display: grid; gap: 12px; }
.migo-product-card { display: grid; grid-template-columns: 70px minmax(220px, 1fr) minmax(150px, auto) minmax(230px, auto); gap: 14px; align-items: center; padding: 14px; border: 1px solid rgba(148,163,184,.28); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: 0 14px 34px rgba(15,23,42,.05); }
.migo-product-media { width: 58px; height: 58px; border-radius: 18px; background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(16,185,129,.12)); display: grid; place-items: center; overflow: hidden; color: #1e40af; font-weight: 900; font-size: 22px; }
.migo-product-media img { width: 100%; height: 100%; object-fit: cover; }
.migo-product-main { display: grid; gap: 5px; min-width: 0; }
.migo-product-title { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.migo-product-title strong { font-size: 16px; color: #0f172a; }
.migo-product-title span { border-radius: 999px; padding: 4px 8px; font-size: 12px; background: rgba(37,99,235,.10); color: #1d4ed8; font-weight: 800; }
.migo-product-meta { display: flex; gap: 8px; flex-wrap: wrap; color: #64748b; font-size: 12px; }
.migo-product-meta code { background: rgba(15,23,42,.06); border-radius: 8px; padding: 2px 6px; color: #334155; }
.migo-product-main p { margin: 0; color: #64748b; line-height: 1.45; }
.migo-product-price { display: grid; justify-items: end; gap: 4px; }
.migo-product-price strong { font-size: 18px; color: #0f172a; }
.migo-product-price small { color: #64748b; }
.migo-product-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.migo-product-attach-panel { padding: 18px; border-radius: 24px; border: 1px solid rgba(37,99,235,.25); background: linear-gradient(135deg, rgba(239,246,255,.96), rgba(255,255,255,.98)); box-shadow: 0 18px 42px rgba(37,99,235,.10); }
.migo-product-attach-form { display: grid; grid-template-columns: minmax(260px, 1fr) 150px 180px auto; gap: 10px; align-items: end; margin-top: 12px; }
.migo-product-attach-form label { display: grid; gap: 6px; color: #475569; font-weight: 800; font-size: 13px; }
.migo-product-attach-msg { margin-top: 10px; color: #334155; }
.empty-state.compact { padding: 10px; min-height: auto; }
body.dark .migo-products-head, body.dark .migo-product-card, body.dark .migo-category-pill, body.dark .migo-product-attach-panel { background: rgba(15,23,42,.88); border-color: rgba(148,163,184,.20); }
body.dark .migo-product-grid input, body.dark .migo-product-grid select, body.dark .migo-product-grid textarea, body.dark .migo-category-form input, body.dark .migo-products-filters input, body.dark .migo-products-filters select, body.dark .migo-product-attach-form input, body.dark .migo-product-attach-form select { background: rgba(15,23,42,.78); color: #e2e8f0; border-color: rgba(148,163,184,.24); }
body.dark .migo-product-title strong, body.dark .migo-product-price strong { color: #f8fafc; }
@media (max-width: 1180px) { .migo-product-grid { grid-template-columns: repeat(2, minmax(180px, 1fr)); } .migo-product-card { grid-template-columns: 64px 1fr; } .migo-product-price, .migo-product-actions { justify-items: start; justify-content: flex-start; } .migo-product-attach-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .migo-products-head, .migo-category-form, .migo-product-attach-form { grid-template-columns: 1fr; display: grid; } .migo-products-head { display: grid; } .migo-product-grid { grid-template-columns: 1fr; } .migo-product-card { grid-template-columns: 1fr; } .migo-product-media { width: 52px; height: 52px; } .migo-products-filters input { min-width: 0; } }
/* End Migo CRM v2.8 Product Catalog */

/* Migo CRM v2.8.1 Product Catalog Pro */
.migo-catalog-quote-card {
  border-color: rgba(16,185,129,.25);
  background: linear-gradient(135deg, rgba(236,253,245,.95), rgba(255,255,255,.98));
}
.migo-catalog-quote-form {
  grid-template-columns: minmax(260px, 1fr) minmax(220px, .7fr) 110px auto;
}
.migo-catalog-quote-form select,
.migo-catalog-quote-form input,
.migo-product-quote-form input {
  width: 100%;
  border: 1px solid rgba(148,163,184,.45);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  outline: none;
}
.migo-product-grid input[type="file"] {
  padding: 8px;
  background: rgba(248,250,252,.95);
}
.migo-product-grid small[data-product-image-upload-status] {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}
.migo-product-quote-panel {
  border-color: rgba(16,185,129,.28);
  background: linear-gradient(135deg, rgba(236,253,245,.96), rgba(255,255,255,.98));
}
.migo-product-quote-form {
  grid-template-columns: minmax(260px, 1fr) 140px 160px auto;
}
body.dark .migo-catalog-quote-card,
body.dark .migo-product-quote-panel {
  background: rgba(15,23,42,.88);
  border-color: rgba(16,185,129,.25);
}
body.dark .migo-catalog-quote-form select,
body.dark .migo-catalog-quote-form input,
body.dark .migo-product-quote-form input,
body.dark .migo-product-grid input[type="file"] {
  background: rgba(15,23,42,.78);
  color: #e2e8f0;
  border-color: rgba(148,163,184,.24);
}
@media (max-width: 980px) {
  .migo-catalog-quote-form,
  .migo-product-quote-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .migo-catalog-quote-form,
  .migo-product-quote-form { grid-template-columns: 1fr; }
}
/* End Migo CRM v2.8.1 Product Catalog Pro */


/* Migo CRM v2.8.2 Product Payment Accounts */
.migo-products-payment-card{grid-column:1/-1;}
.migo-payment-accounts-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;}
.migo-payment-account-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:14px;border:1px solid rgba(148,163,184,.22);border-radius:18px;background:rgba(255,255,255,.04);box-shadow:0 10px 25px rgba(15,23,42,.06);}
.migo-payment-account-card strong{display:block;font-size:14px;}
.migo-payment-account-card span{display:block;font-weight:700;margin-top:2px;}
.migo-payment-account-card small{display:block;color:var(--muted,#64748b);font-size:12px;margin-top:4px;}
.migo-payment-account-card b{display:block;text-align:right;font-size:16px;}
.migo-payment-account-actions{display:flex;gap:8px;justify-content:flex-end;}
.migo-product-payment-form{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));}
@media(max-width:760px){.migo-payment-account-card{grid-template-columns:1fr}.migo-payment-account-card b{text-align:left}.migo-payment-account-actions{justify-content:flex-start}}
/* End Migo CRM v2.8.2 Product Payment Accounts */

/* Migo CRM v2.8.3 Commercial Composer */
.migo-commercial-composer-card,
.migo-products-composer-card {
  width: 100%;
}
.migo-commercial-composer-loading {
  padding: 16px;
  border: 1px dashed rgba(148, 163, 184, .45);
  border-radius: 18px;
  color: var(--muted, #64748b);
}
.migo-commercial-composer,
[data-catalog-quote-composer] {
  width: 100%;
}
.migo-commercial-composer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(140px, .55fr) minmax(150px, .65fr) minmax(130px, .55fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}
.migo-commercial-composer-top label,
.migo-commerce-row label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #64748b);
}
.migo-commercial-composer-top input,
.migo-commercial-composer-top select,
.migo-commerce-row input,
.migo-commerce-row select {
  width: 100%;
  min-height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .35);
  background: var(--card-bg, #fff);
  color: inherit;
  padding: 8px 10px;
  font-weight: 600;
}
.migo-commercial-composer-rates {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(14, 165, 233, .08);
  border: 1px solid rgba(14, 165, 233, .18);
  color: var(--muted, #475569);
  font-size: 12px;
  font-weight: 700;
}
.migo-commercial-composer-rows {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.migo-commerce-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) 86px minmax(160px, .85fr) 110px 110px 90px 38px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, .25);
  background: rgba(248, 250, 252, .72);
}
.migo-commercial-composer-total {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, .04);
  font-weight: 800;
}
.migo-commercial-composer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 12px;
}
@media (max-width: 1180px) {
  .migo-commercial-composer-top,
  .migo-commerce-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .migo-commerce-row [data-commerce-remove],
  .migo-commerce-row [data-pc-remove] {
    min-height: 38px;
  }
}
@media (max-width: 720px) {
  .migo-commercial-composer-top,
  .migo-commerce-row {
    grid-template-columns: 1fr;
  }
  .migo-commercial-composer-actions {
    justify-content: stretch;
  }
  .migo-commercial-composer-actions button {
    width: 100%;
  }
}

/* Migo CRM v3.0.30 Sidebar plus/minus and panel controls */
.migo-nav-group-toggle-v3027 > .migo-nav-group-indicator-v3030 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  margin-left: 8px !important;
  border: 1px solid rgba(148, 163, 184, .28) !important;
  border-radius: 5px !important;
  color: inherit !important;
  background: rgba(255, 255, 255, .025) !important;
  font-size: 15px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  line-height: 16px !important;
  transform: none !important;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease !important;
}

.migo-nav-group-toggle-v3027:hover > .migo-nav-group-indicator-v3030 {
  border-color: rgba(147, 197, 253, .56) !important;
  color: #dbeafe !important;
  background: rgba(96, 165, 250, .12) !important;
}

.migo-sidebar-icon-v3030 {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  pointer-events: none !important;
}

.migo-sidebar-collapse-btn {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border-radius: 9px !important;
  border: 1px solid rgba(255, 255, 255, .12) !important;
  color: #dbe5f2 !important;
  background: rgba(255, 255, 255, .055) !important;
  line-height: 0 !important;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease !important;
}

.migo-sidebar-collapse-btn:hover {
  border-color: rgba(147, 197, 253, .46) !important;
  color: #fff !important;
  background: rgba(96, 165, 250, .14) !important;
  transform: translateX(-1px) !important;
}

#migoSidebarOpenButton {
  top: auto !important;
  right: auto !important;
  bottom: 16px !important;
  left: 16px !important;
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: 1px solid rgba(15, 23, 42, .14) !important;
  background: #0f172a !important;
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .20) !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

#migoSidebarOpenButton:hover {
  background: #172554 !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .26) !important;
  transform: translateY(-1px) !important;
}

@media (max-width: 720px) {
  #migoSidebarOpenButton {
    top: auto !important;
    bottom: 12px !important;
    left: 12px !important;
  }
}
/* End Migo CRM v2.8.3 Commercial Composer */

/* Migo CRM v2.8.4 Product Variants + Composer UX */
.migo-product-variants-box{grid-column:1/-1;border:1px solid rgba(148,163,184,.22);border-radius:18px;padding:16px;background:rgba(15,23,42,.025);margin-top:14px}
.migo-product-variants-box.disabled{opacity:.8;background:rgba(148,163,184,.08)}
.migo-product-variants-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:12px}
.migo-product-variants-head p{margin:.25rem 0 0}
.migo-product-variants-list{display:grid;gap:8px;margin-bottom:12px}
.migo-product-variant-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(140px,auto) auto;gap:12px;align-items:center;border:1px solid rgba(148,163,184,.2);border-radius:14px;padding:10px 12px;background:#fff}
.migo-product-variant-row small{display:block;color:#64748b;margin-top:2px}
.migo-product-variant-form{display:grid;grid-template-columns:1.2fr .8fr .7fr .5fr .5fr .6fr .5fr .6fr;gap:8px;align-items:end}
.migo-product-variant-form textarea{grid-column:1/-2;min-height:44px;resize:vertical}
.migo-product-variant-form input,.migo-product-variant-form select,.migo-product-variant-form textarea{border:1px solid rgba(148,163,184,.35);border-radius:12px;padding:9px 10px;background:#fff;color:#0f172a}
.migo-product-variant-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 2px}
.migo-product-variant-chips span{font-size:11px;border:1px solid rgba(59,130,246,.22);background:rgba(59,130,246,.08);color:#1d4ed8;border-radius:999px;padding:4px 8px;font-weight:700}
.migo-commerce-row select[data-commerce-variant],.migo-commerce-row select[data-pc-variant]{min-width:155px}
@media(max-width:1100px){.migo-product-variant-form{grid-template-columns:1fr 1fr}.migo-product-variant-form textarea{grid-column:1/-1}.migo-product-variant-row{grid-template-columns:1fr}.migo-product-variant-row button{justify-self:start}}

/* Migo CRM v2.8.5 Quote Public Portal + Professional Preview */
.migo-quote-details-panel-pro{border:1px solid rgba(37,99,235,.18);box-shadow:0 22px 60px rgba(15,23,42,.10)}
.migo-quote-details-body-pro .span-2{grid-column:span 2}
.migo-quote-details-actions-pro{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.migo-quote-public-message{margin-top:14px;border:1px solid #dbeafe;background:#eff6ff;color:#1e3a8a;border-radius:18px;padding:14px}
.migo-quote-public-link-row{display:flex;gap:8px;align-items:center;margin:10px 0;flex-wrap:wrap}
.migo-quote-public-link-row input{flex:1;min-width:260px;border:1px solid #bfdbfe;border-radius:12px;padding:10px 12px;background:white;color:#0f172a;font:inherit}
@media(max-width:760px){.migo-quote-details-body-pro .span-2{grid-column:span 1}.migo-quote-public-link-row input{min-width:100%}}
/* End Migo CRM v2.8.5 Quote Public Portal + Professional Preview */


/* Migo CRM v2.8.6 Quote -> Payment Account Flow */
.migo-quote-payment-account-btn {
  border-color: rgba(37, 99, 235, .35) !important;
  background: rgba(37, 99, 235, .08) !important;
  color: #1d4ed8 !important;
}
.migo-quote-payment-message {
  margin-top: 12px;
  border: 1px solid rgba(37, 99, 235, .18);
  background: rgba(37, 99, 235, .06);
  border-radius: 14px;
  padding: 12px 14px;
}

/* Migo CRM v2.8.7 Payment Account Public Portal */
.migo-payment-account-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.migo-payment-public-msg {
  grid-column: 1 / -1;
  margin-top: 10px;
  border: 1px solid rgba(16, 185, 129, .22);
  background: rgba(16, 185, 129, .07);
  color: #064e3b;
  border-radius: 14px;
  padding: 12px 14px;
}
.migo-payment-public-link-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}
.migo-payment-public-link-row input {
  flex: 1;
  min-width: 260px;
  border: 1px solid rgba(16, 185, 129, .30);
  border-radius: 12px;
  padding: 10px 12px;
  background: white;
  color: #0f172a;
  font: inherit;
}
@media (max-width: 760px) {
  .migo-payment-public-link-row input { min-width: 100%; }
  .migo-payment-account-actions { justify-content: stretch; }
  .migo-payment-account-actions button { flex: 1; }
}
/* End Migo CRM v2.8.7 Payment Account Public Portal */


/* Migo CRM v2.8.8 Payment Accounts Workspace */
.migo-payment-accounts-workspace{display:grid;gap:18px;width:100%}
.migo-pay-head{align-items:flex-start}
.migo-pay-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.migo-pay-kpi{border:1px solid rgba(148,163,184,.22);background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.94));border-radius:18px;padding:14px;box-shadow:0 10px 30px rgba(15,23,42,.05)}
.migo-pay-kpi span{display:block;color:#64748b;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.migo-pay-kpi strong{display:block;margin-top:6px;font-size:22px;color:#0f172a}
.migo-pay-kpi small{display:block;margin-top:4px;color:#94a3b8}
.migo-pay-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.migo-pay-toolbar input,.migo-pay-toolbar select{border:1px solid rgba(148,163,184,.35);border-radius:14px;padding:11px 12px;background:white;min-height:42px;font:inherit;color:#0f172a}
.migo-pay-toolbar input{flex:1;min-width:260px}
.migo-pay-list{display:grid;gap:12px}
.migo-pay-account-card{border:1px solid rgba(148,163,184,.24);border-radius:20px;background:white;padding:16px;display:grid;gap:14px;box-shadow:0 14px 38px rgba(15,23,42,.06)}
.migo-pay-account-card.client-confirmed{border-color:rgba(16,185,129,.35);background:linear-gradient(180deg,#ffffff,#f0fdf4)}
.migo-pay-card-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.migo-pay-card-top strong{display:block;font-size:16px;color:#0f172a}.migo-pay-card-top span{display:block;color:#64748b;margin-top:3px}
.migo-pay-statuses{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.migo-client-confirmed-pill{font-size:12px;border-radius:999px;padding:5px 9px;background:#dcfce7;color:#166534;border:1px solid #bbf7d0}
.migo-pay-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px}
.migo-pay-card-grid div{border:1px solid rgba(148,163,184,.18);border-radius:16px;padding:10px;background:#f8fafc}.migo-pay-card-grid span{display:block;color:#64748b;font-size:12px}.migo-pay-card-grid strong{display:block;color:#0f172a;margin-top:3px}
.migo-pay-client-note{border:1px solid rgba(16,185,129,.25);background:rgba(16,185,129,.08);border-radius:16px;padding:12px;color:#065f46}.migo-pay-client-note span{color:#047857}
.migo-pay-public-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;color:#64748b}.migo-pay-public-row input{flex:1;min-width:260px;border:1px solid rgba(148,163,184,.30);border-radius:12px;padding:10px;background:#fff;color:#0f172a;font:inherit}
.migo-pay-card-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.migo-pay-message{min-height:0;color:#334155}.migo-pay-message:not(:empty){border:1px solid rgba(37,99,235,.20);background:rgba(37,99,235,.06);border-radius:14px;padding:10px}
@media(max-width:760px){.migo-pay-card-top{flex-direction:column}.migo-pay-statuses{justify-content:flex-start}.migo-pay-public-row input{min-width:100%}.migo-pay-card-actions button{flex:1}.migo-pay-toolbar input{min-width:100%}}
/* End Migo CRM v2.8.8 Payment Accounts Workspace */

/* Migo CRM v2.8.9 Commercial Documents Email Sender */
.migo-commercial-email-backdrop{position:fixed;inset:0;z-index:10050;background:rgba(15,23,42,.56);display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(8px)}
.migo-commercial-email-modal{width:min(920px,100%);max-height:92vh;overflow:auto;background:#fff;border:1px solid rgba(148,163,184,.28);border-radius:28px;box-shadow:0 30px 90px rgba(15,23,42,.32);padding:24px}
.migo-commercial-email-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid rgba(148,163,184,.24);padding-bottom:18px;margin-bottom:18px}
.migo-commercial-email-head h3{margin:4px 0 6px;font-size:24px;letter-spacing:-.03em}.migo-commercial-email-head p{margin:0;color:#64748b}
.migo-commercial-email-body{display:grid;grid-template-columns:1fr 1fr;gap:14px}.migo-commercial-email-body label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:700;color:#475569}.migo-commercial-email-body input,.migo-commercial-email-body textarea{border:1px solid rgba(148,163,184,.42);border-radius:14px;padding:11px 12px;font:inherit;background:#fff;color:#0f172a}.migo-commercial-email-body textarea{resize:vertical;min-height:220px}.migo-commercial-email-body .span-2{grid-column:1/-1}.migo-email-check{flex-direction:row!important;align-items:center!important;font-weight:600!important;color:#475569!important}.migo-email-check input{width:auto!important}
.migo-commercial-email-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;background:#f8fafc;border:1px dashed rgba(148,163,184,.5);border-radius:18px;padding:14px;color:#475569}.migo-commercial-email-preview strong{color:#0f172a}.migo-commercial-email-preview a{color:#2563eb;text-decoration:none;font-weight:800}
.migo-commercial-email-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:16px;border-top:1px solid rgba(148,163,184,.24)}.migo-commercial-email-message{margin-top:12px;color:#334155}.migo-commercial-email-message strong{color:#0f172a}.migo-commercial-email-btn{background:linear-gradient(135deg,#eef2ff,#f8fafc)!important;border-color:rgba(99,102,241,.28)!important;color:#3730a3!important;font-weight:800!important}
@media(max-width:760px){.migo-commercial-email-backdrop{padding:10px;align-items:flex-end}.migo-commercial-email-modal{border-radius:22px;max-height:95vh}.migo-commercial-email-head{flex-direction:column}.migo-commercial-email-body{grid-template-columns:1fr}.migo-commercial-email-foot{flex-direction:column}.migo-commercial-email-foot button{width:100%}}
/* End Migo CRM v2.8.9 */


/* Migo CRM v2.9 Reports & Dashboard Pro */
.migo-reports-pro-page,.migo-dashboard-pro-page{display:grid;gap:18px;width:100%;}
.migo-reports-hero,.migo-dashboard-pro-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:20px;border:1px solid rgba(148,163,184,.22);border-radius:24px;background:linear-gradient(135deg,rgba(15,23,42,.04),rgba(59,130,246,.06));box-shadow:0 18px 42px rgba(15,23,42,.06);}
.migo-reports-hero h2,.migo-dashboard-pro-hero h2{margin:4px 0 6px;font-size:28px;letter-spacing:-.03em;}
.migo-report-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;justify-content:flex-end;}
.migo-report-filters label{font-size:12px;font-weight:800;color:#64748b;display:grid;gap:6px;}
.migo-report-filters select{min-width:150px;border:1px solid rgba(148,163,184,.35);border-radius:12px;padding:10px 12px;background:#fff;color:#0f172a;}
.migo-report-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px;}
.migo-report-kpi{padding:18px;border:1px solid rgba(148,163,184,.2);border-radius:20px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.05);display:grid;gap:6px;min-height:118px;}
.migo-report-kpi span{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#64748b;font-weight:900;}
.migo-report-kpi strong{font-size:26px;color:#0f172a;line-height:1.1;word-break:break-word;}
.migo-report-kpi small{font-size:12px;color:#64748b;}
.migo-report-kpi.ok{background:linear-gradient(180deg,#fff,#f0fdf4);border-color:rgba(34,197,94,.22);}
.migo-report-kpi.warn{background:linear-gradient(180deg,#fff,#fffbeb);border-color:rgba(245,158,11,.25);}
.migo-report-grid-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:stretch;}
.migo-report-table-grid table{font-size:13px;}
.migo-report-timeline{height:230px;display:flex;align-items:end;gap:7px;padding:14px 4px 0;border-bottom:1px solid rgba(148,163,184,.22);overflow-x:auto;}
.migo-report-day{min-width:30px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:7px;color:#64748b;font-size:10px;}
.migo-report-day-bar{width:18px;border-radius:999px 999px 4px 4px;background:linear-gradient(180deg,#2563eb,#38bdf8);box-shadow:0 8px 16px rgba(37,99,235,.18);}
.migo-report-bar{height:8px;border-radius:999px;background:rgba(148,163,184,.18);overflow:hidden;margin-top:6px;min-width:130px;}
.migo-report-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#22c55e);}
.migo-conversion-list{display:grid;gap:16px;}
.migo-conversion-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:12px;border:1px solid rgba(148,163,184,.18);border-radius:16px;background:#fff;}
.migo-conversion-list span{font-weight:800;color:#334155;}
.migo-conversion-list strong{font-size:22px;color:#0f172a;}
.migo-report-status-row,.migo-report-product-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,230px);gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid rgba(148,163,184,.16);}
.migo-report-status-row:last-child,.migo-report-product-row:last-child{border-bottom:0;}
.migo-report-status-row small,.migo-report-product-row small{display:block;color:#64748b;margin-top:4px;}
.migo-report-product-row strong{display:block;text-align:right;color:#0f172a;}
.migo-status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:900;font-size:12px;text-transform:capitalize;}
.migo-status-paid,.migo-status-accepted,.migo-status-sent{background:#dcfce7;color:#166534;}
.migo-status-overdue,.migo-status-declined,.migo-status-cancelled{background:#fee2e2;color:#991b1b;}
.migo-status-draft{background:#f1f5f9;color:#475569;}
@media(max-width:980px){.migo-reports-hero,.migo-dashboard-pro-hero{display:grid}.migo-report-grid-two{grid-template-columns:1fr}.migo-report-filters{justify-content:start}.migo-report-status-row,.migo-report-product-row{grid-template-columns:1fr}.migo-report-product-row strong{text-align:left}}

/* Migo CRM v2.9.1 Reports Control Center */
.migo-reports-v291 .migo-report-tabs{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:#fff;border:1px solid rgba(148,163,184,.22);border-radius:18px;padding:10px;box-shadow:0 10px 24px rgba(15,23,42,.04)}
.migo-reports-v291 .migo-report-tabs .mini-btn.active{background:#0f172a;color:#fff;border-color:#0f172a}
.migo-reports-v291 .migo-report-tab-body{display:grid;gap:16px}
.migo-attention-type{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;font-weight:900;font-size:12px}
.migo-dashboard-v291 .migo-dashboard-pro-hero{align-items:center}
.migo-dashboard-v291.compact .migo-report-kpi{min-height:92px;padding:14px}.migo-dashboard-v291.compact .migo-report-kpi strong{font-size:21px}.migo-dashboard-v291.compact .migo-report-timeline{height:170px}.migo-dashboard-v291.compact .panel-card{padding:14px}
.migo-reports-v291 .table-wrap table td strong{color:#0f172a}.migo-reports-v291 .migo-report-bar{min-width:80px}
@media(max-width:820px){.migo-dashboard-v291 .migo-dashboard-pro-hero{align-items:flex-start}.migo-reports-v291 .migo-report-tabs .mini-btn{flex:1;min-width:140px}.migo-reports-v291 .table-wrap,.migo-dashboard-v291 .table-wrap{overflow-x:auto}.migo-reports-v291 table,.migo-dashboard-v291 table{min-width:760px}}
/* End Migo CRM v2.9.1 */


/* Migo CRM v2.9.2 Asset/Sidebar/Reports Cleanup */
body.migo-assets-clean-v292 .sidebar,
.sidebar {
  display: flex;
  flex-direction: column;
}
.sidebar > .migo-sidebar-search,
.migo-sidebar-search.migo-sidebar-search-fixed-head {
  flex: 0 0 auto;
  margin: 0 16px 12px 16px !important;
  padding: 0 !important;
  order: 2;
  position: relative;
  z-index: 8;
}
.sidebar > .brand-row { flex: 0 0 auto; order: 1; }
.sidebar > .migo-sidebar-scroll {
  order: 3;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}
.sidebar > .sidebar-footer { order: 4; flex: 0 0 auto; }
.migo-sidebar-scroll > .migo-sidebar-search { display: none !important; }
.migo-sidebar-search-fixed-head .migo-sidebar-search-inner {
  min-height: 44px;
  border-radius: 16px;
  background: rgba(255,255,255,.095);
  box-shadow: 0 10px 22px rgba(2,6,23,.16);
}
.migo-assets-clean-v292 #reportsView.active .panel-card > .panel-head h2:only-child,
.migo-assets-clean-v292 #reportsView .panel-head h2 {
  letter-spacing: -.01em;
}
.migo-reports-v291, .migo-dashboard-v291 { animation: migoV292Fade .16s ease-out; }
@keyframes migoV292Fade { from { opacity:.65; transform: translateY(3px);} to { opacity:1; transform:none;} }

/* Migo CRM v2.9.3 Stable Sidebar Search Anchor */
.sidebar.migo-sidebar-search-stable,
body.migo-sidebar-search-stable-v293 .sidebar {
  display: flex !important;
  flex-direction: column !important;
}
#migoSidebarSearchHost,
.migo-sidebar-search-host {
  flex: 0 0 auto !important;
  order: 2 !important;
  display: block !important;
  margin: 0 16px 12px 16px !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 25 !important;
  min-height: 44px !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
#migoSidebarSearchHost > .migo-sidebar-search,
.migo-sidebar-search-canonical {
  display: grid !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}
.sidebar > .brand-row { order: 1 !important; flex: 0 0 auto !important; }
.sidebar > .migo-sidebar-scroll { order: 3 !important; flex: 1 1 auto !important; min-height: 0 !important; overflow-y: auto !important; overflow-x: hidden !important; }
.sidebar > .sidebar-footer { order: 4 !important; flex: 0 0 auto !important; }
.migo-sidebar-scroll > .migo-sidebar-search,
.sidebar .migo-sidebar-search:not(.migo-sidebar-search-canonical) {
  display: none !important;
}
#migoSidebarSearchHost .migo-sidebar-search-inner {
  min-height: 44px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  box-shadow: 0 10px 22px rgba(2,6,23,.16) !important;
}
body.migo-sidebar-collapsed #migoSidebarSearchHost,
body.sidebar-collapsed #migoSidebarSearchHost,
.crm-app.sidebar-collapsed #migoSidebarSearchHost {
  display: none !important;
}


/* Migo CRM v2.9.4 Final Sidebar Search Anchor */
.sidebar.migo-sidebar-search-stable-v294,
body.migo-sidebar-search-stable-v294 .sidebar {
  display: flex !important;
  flex-direction: column !important;
}
.sidebar > .brand-row { order: 1 !important; flex: 0 0 auto !important; }
.sidebar > #migoSidebarSearchHost,
.sidebar > .migo-sidebar-search-host-v294 {
  order: 2 !important;
  flex: 0 0 auto !important;
  display: block !important;
  margin: 0 16px 12px 16px !important;
  padding: 0 !important;
  min-height: 44px !important;
  position: relative !important;
  z-index: 60 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.sidebar > .migo-sidebar-scroll {
  order: 3 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
.sidebar > .sidebar-footer { order: 4 !important; flex: 0 0 auto !important; }
.migo-sidebar-scroll #migoSidebarSearchHost,
.migo-sidebar-scroll > .migo-sidebar-search,
.migo-sidebar-scroll .migo-sidebar-search-host {
  display: none !important;
}
#migoSidebarSearchHost > .migo-sidebar-search-canonical-v294,
#migoSidebarSearchHost > .migo-sidebar-search-canonical {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}
#migoSidebarSearchHost .migo-sidebar-search-inner {
  min-height: 44px !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.11) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  box-shadow: 0 10px 24px rgba(2,6,23,.18) !important;
}

/* Migo CRM v2.9.5 Minimal Sidebar Search */
body.migo-sidebar-search-minimal-v295 .sidebar,
.sidebar.migo-sidebar-search-minimal-v295 {
  display: flex !important;
  flex-direction: column !important;
}
body.migo-sidebar-search-minimal-v295 .sidebar > .brand-row,
.sidebar.migo-sidebar-search-minimal-v295 > .brand-row {
  order: 1 !important;
  flex: 0 0 auto !important;
}
body.migo-sidebar-search-minimal-v295 .sidebar > #migoSidebarSearchHost,
.sidebar.migo-sidebar-search-minimal-v295 > #migoSidebarSearchHost,
#migoSidebarSearchHost.migo-sidebar-search-host-v295 {
  order: 2 !important;
  flex: 0 0 auto !important;
  display: block !important;
  margin: 4px 14px 10px !important;
  padding: 0 !important;
  min-height: 34px !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  z-index: 120 !important;
  pointer-events: auto !important;
}
body.migo-sidebar-search-minimal-v295 .sidebar > .migo-sidebar-scroll,
.sidebar.migo-sidebar-search-minimal-v295 > .migo-sidebar-scroll {
  order: 3 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}
body.migo-sidebar-search-minimal-v295 .sidebar > .sidebar-footer,
.sidebar.migo-sidebar-search-minimal-v295 > .sidebar-footer {
  order: 4 !important;
  flex: 0 0 auto !important;
}
body.migo-sidebar-search-minimal-v295 .migo-sidebar-scroll .migo-sidebar-search,
body.migo-sidebar-search-minimal-v295 .migo-sidebar-scroll #migoSidebarSearchHost,
body.migo-sidebar-search-minimal-v295 .migo-sidebar-scroll .migo-sidebar-search-host {
  display: none !important;
}
#migoSidebarSearchHost .migo-sidebar-search-minimal,
#migoSidebarSearchHost .migo-sidebar-search-canonical-v295 {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  pointer-events: auto !important;
}
body.migo-sidebar-search-minimal-v295 #migoSidebarSearchHost .migo-sidebar-search-inner {
  height: 34px !important;
  min-height: 34px !important;
  display: grid !important;
  grid-template-columns: 16px minmax(0, 1fr) 22px !important;
  gap: 7px !important;
  align-items: center !important;
  padding: 0 7px 0 10px !important;
  border-radius: 11px !important;
  border: 1px solid rgba(148, 163, 184, .18) !important;
  background: rgba(15, 23, 42, .22) !important;
  box-shadow: none !important;
  color: rgba(226, 232, 240, .72) !important;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease !important;
  pointer-events: auto !important;
}
body.migo-sidebar-search-minimal-v295 #migoSidebarSearchHost .migo-sidebar-search-inner:focus-within {
  border-color: rgba(96, 165, 250, .55) !important;
  background: rgba(15, 23, 42, .34) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .11) !important;
}
body.migo-sidebar-search-minimal-v295 #migoSidebarSearchHost .migo-sidebar-search-icon {
  display: inline-grid !important;
  place-items: center !important;
  width: 16px !important;
  height: 16px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  color: rgba(203, 213, 225, .62) !important;
  pointer-events: none !important;
}
body.migo-sidebar-search-minimal-v295 #migoSidebarSearchHost input#migoSidebarSearch {
  display: block !important;
  width: 100% !important;
  height: 32px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(248, 250, 252, .92) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 32px !important;
  letter-spacing: 0 !important;
  pointer-events: auto !important;
  cursor: text !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}
body.migo-sidebar-search-minimal-v295 #migoSidebarSearchHost input#migoSidebarSearch::placeholder {
  color: rgba(148, 163, 184, .78) !important;
  font-weight: 500 !important;
}
body.migo-sidebar-search-minimal-v295 #migoSidebarSearchHost #migoSidebarSearchClear {
  display: inline-grid !important;
  place-items: center !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: rgba(203, 213, 225, .72) !important;
  font-size: 16px !important;
  line-height: 1 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}
body.migo-sidebar-search-minimal-v295 #migoSidebarSearchHost #migoSidebarSearchClear:hover {
  background: rgba(148, 163, 184, .16) !important;
  color: rgba(248, 250, 252, .95) !important;
}
body.migo-sidebar-search-minimal-v295 #migoSidebarSearchHost #migoSidebarSearchClear[hidden] {
  display: none !important;
}
body.migo-sidebar-search-minimal-v295 #migoSidebarSearchHost .migo-sidebar-search-empty {
  margin-top: 7px !important;
  padding: 7px 9px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: rgba(15, 23, 42, .22) !important;
  color: rgba(203, 213, 225, .72) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
body.migo-sidebar-search-minimal-v295 .nav-item.migo-nav-filtered-out,
body.migo-sidebar-search-minimal-v295 .nav-item[data-migo-search-hidden] {
  display: none !important;
}

/* Migo CRM v2.9.6 Search Click Shield + Minimal Header + SPA Links */
body.migo-sidebar-search-clickshield-v296 .sidebar,
.sidebar.migo-sidebar-search-clickshield-v296 {
  overflow: hidden !important;
}
body.migo-sidebar-search-clickshield-v296 .sidebar > .brand-row,
.sidebar.migo-sidebar-search-clickshield-v296 > .brand-row {
  order: 1 !important;
  position: relative !important;
  z-index: 20 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  isolation: isolate !important;
}
body.migo-sidebar-search-clickshield-v296 .sidebar > .brand-row .migo-brand-actions,
body.migo-sidebar-search-clickshield-v296 .sidebar > .brand-row .migo-sidebar-collapse-btn,
.sidebar.migo-sidebar-search-clickshield-v296 > .brand-row .migo-brand-actions,
.sidebar.migo-sidebar-search-clickshield-v296 > .brand-row .migo-sidebar-collapse-btn {
  pointer-events: auto !important;
  position: relative !important;
  z-index: 4 !important;
}
body.migo-sidebar-search-clickshield-v296 .sidebar > .brand-row .brand-mark,
body.migo-sidebar-search-clickshield-v296 .sidebar > .brand-row .brand-mark img,
.sidebar.migo-sidebar-search-clickshield-v296 > .brand-row .brand-mark,
.sidebar.migo-sidebar-search-clickshield-v296 > .brand-row .brand-mark img {
  pointer-events: none !important;
  max-height: 54px !important;
}
body.migo-sidebar-search-clickshield-v296 .sidebar > #migoSidebarSearchHost,
.sidebar.migo-sidebar-search-clickshield-v296 > #migoSidebarSearchHost,
#migoSidebarSearchHost.migo-sidebar-search-host-v296 {
  order: 2 !important;
  flex: 0 0 auto !important;
  display: block !important;
  position: relative !important;
  z-index: 2000 !important;
  margin: 2px 16px 12px !important;
  padding: 0 !important;
  pointer-events: auto !important;
  isolation: isolate !important;
}
body.migo-sidebar-search-clickshield-v296 .sidebar > .migo-sidebar-scroll,
.sidebar.migo-sidebar-search-clickshield-v296 > .migo-sidebar-scroll {
  order: 3 !important;
}
body.migo-sidebar-search-clickshield-v296 .sidebar > .sidebar-footer,
.sidebar.migo-sidebar-search-clickshield-v296 > .sidebar-footer {
  order: 4 !important;
}
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost .migo-sidebar-search,
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost .migo-sidebar-search-minimal,
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost .migo-sidebar-search-canonical,
#migoSidebarSearchHost .migo-sidebar-search-canonical-v296 {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 2001 !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost .migo-sidebar-search-inner,
#migoSidebarSearchHost .migo-sidebar-search-canonical-v296 .migo-sidebar-search-inner {
  height: 32px !important;
  min-height: 32px !important;
  display: grid !important;
  grid-template-columns: 15px minmax(0, 1fr) 18px !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 0 7px 0 9px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, .14) !important;
  background: rgba(255,255,255,.045) !important;
  box-shadow: none !important;
  color: rgba(203, 213, 225, .75) !important;
  pointer-events: auto !important;
  cursor: text !important;
}
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost .migo-sidebar-search-inner:hover,
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost .migo-sidebar-search-inner:focus-within {
  border-color: rgba(148, 163, 184, .28) !important;
  background: rgba(255,255,255,.075) !important;
  box-shadow: 0 0 0 3px rgba(59,130,246,.08) !important;
}
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost .migo-sidebar-search-icon {
  width: 15px !important;
  height: 15px !important;
  display: inline-grid !important;
  place-items: center !important;
  color: rgba(148, 163, 184, .78) !important;
  font-size: 12px !important;
  pointer-events: none !important;
}
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost input#migoSidebarSearch,
#migoSidebarSearchHost.migo-sidebar-search-host-v296 input#migoSidebarSearch {
  display: block !important;
  position: relative !important;
  z-index: 2002 !important;
  width: 100% !important;
  height: 30px !important;
  line-height: 30px !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(248,250,252,.96) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: text !important;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  touch-action: manipulation !important;
}
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost input#migoSidebarSearch::placeholder {
  color: rgba(148,163,184,.72) !important;
}
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost #migoSidebarSearchClear {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: rgba(148,163,184,.82) !important;
  padding: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}
body.migo-sidebar-search-clickshield-v296 #migoSidebarSearchHost #migoSidebarSearchClear:hover {
  background: rgba(148,163,184,.14) !important;
  color: rgba(248,250,252,.95) !important;
}
body.migo-sidebar-search-clickshield-v296 .nav-item.migo-nav-filtered-out,
body.migo-sidebar-search-clickshield-v296 .nav-item[data-migo-search-hidden] {
  display: none !important;
}
/* End Migo CRM v2.9.6 Search Click Shield + Minimal Header + SPA Links */


/* Migo CRM v2.9.6.2 Frontend Recovery - minimal stable sidebar search */
body.migo-frontend-recovery-v2962 .sidebar,
.sidebar.migo-sidebar-search-recovered-v2962 {
  overflow: hidden !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 {
  display: block !important;
  position: relative !important;
  z-index: 80 !important;
  flex: 0 0 auto !important;
  padding: 0 14px 10px !important;
  margin: -2px 0 4px !important;
  pointer-events: auto !important;
  background: transparent !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 .migo-sidebar-search,
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 .migo-sidebar-search-inner,
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 input,
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 button {
  pointer-events: auto !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 .migo-sidebar-search {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 .migo-sidebar-search-inner {
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(148, 163, 184, .20) !important;
  border-radius: 12px !important;
  background: rgba(255,255,255,.055) !important;
  box-shadow: none !important;
  transition: border-color .15s ease, background .15s ease !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 .migo-sidebar-search-inner:focus-within {
  border-color: rgba(96, 165, 250, .60) !important;
  background: rgba(255,255,255,.085) !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 .migo-sidebar-search-icon {
  font-size: 13px !important;
  opacity: .55 !important;
  line-height: 1 !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 #migoSidebarSearch {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 34px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 13px !important;
  line-height: 34px !important;
  padding: 0 !important;
  box-shadow: none !important;
  position: relative !important;
  z-index: 82 !important;
  cursor: text !important;
  user-select: text !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 #migoSidebarSearch::placeholder {
  color: rgba(226, 232, 240, .46) !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 #migoSidebarSearchClear {
  width: 22px !important;
  height: 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: rgba(226,232,240,.58) !important;
  cursor: pointer !important;
  font-size: 16px !important;
  line-height: 20px !important;
  padding: 0 !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 #migoSidebarSearchClear:hover {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v2962 .migo-sidebar-search-empty {
  margin: 8px 2px 0 !important;
  font-size: 12px !important;
  color: rgba(226,232,240,.56) !important;
}
.sidebar.migo-sidebar-search-recovered-v2962 .brand-row {
  position: relative !important;
  z-index: 20 !important;
  pointer-events: auto !important;
}
.sidebar.migo-sidebar-search-recovered-v2962 .migo-sidebar-scroll {
  min-height: 0 !important;
  flex: 1 1 auto !important;
}
.nav-item.migo-nav-filtered-out,
.nav-item[data-migo-search-hidden] {
  display: none !important;
}


/* Migo CRM v2.9.7 Clean Normal URLs Router */
body.migo-normal-url-router-v297 .nav-item[data-migo-url]::after {
  content: '';
}
body.migo-normal-url-router-v297 .nav-item[data-migo-url] {
  cursor: pointer;
}


/* Migo CRM v2.9.7.3 No Hash Redirect Residue */
body.migo-normal-url-router-v297 .nav-item[data-migo-url]::after { content: none !important; }

/* MIGO_CRM_V2972_ROUTE_RECOVERY */

/* MIGO_CRM_V2973_ROUTES_EMERGENCY_RECOVERY */


/* MIGO_CRM_V298_FRONTEND_STABILITY_GUARD */
body.migo-frontend-stable-v298 .sidebar,
.sidebar.migo-sidebar-stable-v298 {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}
body.migo-frontend-stable-v298 .sidebar > .brand-row,
.sidebar.migo-sidebar-stable-v298 > .brand-row {
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 20 !important;
}
body.migo-frontend-stable-v298 .sidebar > #migoSidebarSearchHost,
.sidebar.migo-sidebar-stable-v298 > #migoSidebarSearchHost,
#migoSidebarSearchHost.migo-sidebar-search-host-v298 {
  flex: 0 0 auto !important;
  display: block !important;
  position: relative !important;
  z-index: 50 !important;
  padding: 0 14px 10px !important;
  margin: -2px 0 4px !important;
  pointer-events: auto !important;
}
body.migo-frontend-stable-v298 .sidebar > .migo-sidebar-scroll,
.sidebar.migo-sidebar-stable-v298 > .migo-sidebar-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v298 .migo-sidebar-search,
#migoSidebarSearchHost.migo-sidebar-search-host-v298 .migo-sidebar-search-v298 {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v298 .migo-sidebar-search-inner {
  min-height: 34px !important;
  height: 34px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 9px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148,163,184,.22) !important;
  background: rgba(15,23,42,.28) !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v298 .migo-sidebar-search-inner:focus-within {
  border-color: rgba(96,165,250,.5) !important;
  background: rgba(15,23,42,.42) !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v298 .migo-sidebar-search-icon {
  font-size: 13px !important;
  color: rgba(203,213,225,.58) !important;
  line-height: 1 !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v298 #migoSidebarSearch {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(248,250,252,.94) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  pointer-events: auto !important;
  user-select: text !important;
  -webkit-user-select: text !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v298 #migoSidebarSearch::placeholder {
  color: rgba(148,163,184,.78) !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v298 #migoSidebarSearchClear {
  width: 22px !important;
  height: 22px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: rgba(203,213,225,.7) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  pointer-events: auto !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v298 #migoSidebarSearchClear:hover {
  background: rgba(148,163,184,.16) !important;
  color: #fff !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v298 #migoSidebarSearchClear[hidden] {
  display: none !important;
}
#migoSidebarSearchHost.migo-sidebar-search-host-v298 .migo-sidebar-search-empty {
  margin: 7px 2px 0 !important;
  font-size: 11px !important;
  color: rgba(203,213,225,.62) !important;
}
body.migo-frontend-stable-v298 .migo-sidebar-scroll .migo-sidebar-search,
body.migo-frontend-stable-v298 .migo-sidebar-scroll #migoSidebarSearchHost,
body.migo-frontend-stable-v298 .migo-sidebar-scroll .migo-sidebar-search-host {
  display: none !important;
}
body.migo-frontend-stable-v298 .nav-item.migo-nav-filtered-out,
body.migo-frontend-stable-v298 .nav-item[data-migo-search-hidden] {
  display: none !important;
}
body.migo-frontend-stable-v298 .brand-row .brand-mark,
body.migo-frontend-stable-v298 .brand-row .brand-mark img {
  pointer-events: none !important;
}
body.migo-frontend-stable-v298 .brand-row .migo-sidebar-collapse-btn,
body.migo-frontend-stable-v298 .brand-row .migo-brand-actions {
  pointer-events: auto !important;
}


/* MIGO_CRM_V299_FRONTEND_CLEANUP_PERFORMANCE */
body.migo-normal-url-router-v299 .migo-sidebar-search-host-v299{
  flex:0 0 auto;
  padding:0 14px 10px;
  position:relative;
  z-index:60;
  pointer-events:auto;
}
body.migo-normal-url-router-v299 .migo-sidebar-search-v299{
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  pointer-events:auto;
}
body.migo-normal-url-router-v299 .migo-sidebar-search-v299 .migo-sidebar-search-inner{
  display:flex;
  align-items:center;
  gap:8px;
  height:34px;
  padding:0 10px;
  border:1px solid rgba(148,163,184,.20);
  border-radius:12px;
  background:rgba(15,23,42,.26);
  color:rgba(226,232,240,.72);
  pointer-events:auto;
}
body.migo-normal-url-router-v299 .migo-sidebar-search-v299 .migo-sidebar-search-inner:focus-within{
  border-color:rgba(96,165,250,.60);
  background:rgba(15,23,42,.42);
  box-shadow:0 0 0 3px rgba(59,130,246,.14);
}
body.migo-normal-url-router-v299 #migoSidebarSearch{
  width:100%;
  min-width:0;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#e5e7eb!important;
  font-size:13px;
  line-height:34px;
  padding:0!important;
  pointer-events:auto!important;
  position:relative;
  z-index:70;
}
body.migo-normal-url-router-v299 #migoSidebarSearch::placeholder{color:rgba(148,163,184,.76)}
body.migo-normal-url-router-v299 #migoSidebarSearchClear{
  border:0;
  background:transparent;
  color:rgba(148,163,184,.9);
  cursor:pointer;
  padding:0 2px;
  font-size:16px;
  line-height:1;
}
body.migo-normal-url-router-v299 .migo-sidebar-search-empty{
  padding:8px 2px 0;
  font-size:12px;
  color:rgba(148,163,184,.82);
}
body.migo-normal-url-router-v299 .migo-nav-filtered-out{display:none!important}
body.migo-normal-url-router-v299 .brand-row{position:relative;z-index:50;pointer-events:auto}
body.migo-normal-url-router-v299 .brand-row .brand-mark,
body.migo-normal-url-router-v299 .brand-row img{pointer-events:none}

/* MIGO_CRM_V2991_ACTIVE_VIEW_URL_SYNC_GUARD */
body.migo-normal-url-router-v299 .nav-item[data-migo-url]::after{content:none!important;}


/* MIGO_CRM_V2992_BOOT_FROM_NORMAL_URL_GUARD */
body.migo-normal-url-router-v299 .nav-item[data-view].active {
  scroll-margin-top: 96px;
}

/* MIGO_CRM_V3010_EXACT_STABLE_CORE_ROLLBACK */
#migoCommandPaletteOverlay,
#migoCommandPalette,
.migo-command-palette-overlay,
.migo-command-palette,
.migo-workspace-status,
.migo-workspace-bar,
.migo-route-badge,
.migo-sidebar-version-badge,
[data-migo-command-palette],
[data-migo-workspace-status]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* MIGO_CRM_V3011_HARD_NAVIGATION_REPAIR */
.view:not(.active){display:none!important}
.view.active{display:block!important}
.migo-command-palette,.migo-command-palette-backdrop,.migo-workspace-status,.migo-route-badge,.migo-workspace-bar{display:none!important}
/* MIGO_CRM_V3013_TENANT_SIDEBAR_PERMISSIONS */
.nav-item[data-migo-platform-hidden],
.view[data-migo-platform-hidden] {
  display: none !important;
}
body.migo-client-tenant-nav-v3013 .nav-item[data-view="superAdmin"],
body.migo-client-tenant-nav-v3013 .nav-item[data-view="domains"],
body.migo-client-tenant-nav-v3013 .nav-item[data-view="smtpSettings"],
body.migo-client-tenant-nav-v3013 .nav-item[data-view="smtpDelivery"],
body.migo-client-tenant-nav-v3013 .nav-item[data-view="providerIntegrations"],
body.migo-client-tenant-nav-v3013 .nav-item[data-view="paymentsPro"],
body.migo-client-tenant-nav-v3013 .nav-item[data-view="billing"],
body.migo-client-tenant-nav-v3013 .nav-item[data-view="saas"],
body.migo-client-tenant-nav-v3013 .nav-item[data-view="production"],
body.migo-client-tenant-nav-v3013 .nav-item[data-view="cronCenter"],
body.migo-client-tenant-nav-v3013 .nav-item[data-view="audit"] {
  display: none !important;
}
/* Migo CRM v3.0.14 Premium Login Experience */
body.auth-page.auth-page-premium {
  position: relative;
  overflow-x: hidden;
  padding: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at 10% 10%, rgba(37,99,235,.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(17,24,39,.16), transparent 32%),
    linear-gradient(135deg, #f8fafc 0%, #eef4ff 48%, #f8fafc 100%) !important;
}
body.auth-page.auth-page-premium::after {
  content: "";
  position: fixed;
  inset: auto -90px -130px auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(17,24,39,.08));
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
}
.auth-page-premium .auth-shell {
  width: min(1160px, 100%) !important;
  max-width: 1160px !important;
  display: grid !important;
  grid-template-columns: minmax(360px, 462px) minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
  position: relative;
  z-index: 1;
}
.auth-page-premium .auth-card,
.auth-page-premium .auth-side {
  min-height: min(720px, calc(100vh - 84px));
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(15,23,42,.14);
}
.auth-page-premium .auth-card.auth-login-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 42px);
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.78);
}
.auth-page-premium .auth-card.auth-login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-accent, #2563eb), var(--brand-secondary, #111827));
}
.auth-page-premium .auth-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.auth-page-premium .auth-card .brand-mark {
  width: 62px;
  height: 62px;
  border-radius: 22px;
  margin: 0;
  box-shadow: 0 16px 35px rgba(37,99,235,.22);
}
.auth-page-premium .auth-card .brand-mark.auth-logo-only {
  width: auto;
  min-width: 132px;
  max-width: 210px;
  height: 62px;
  padding: 0 4px;
  box-shadow: none;
  background: transparent;
}
.auth-page-premium .auth-version-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #475569;
  background: rgba(15,23,42,.05);
  border: 1px solid rgba(15,23,42,.06);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.auth-page-premium .auth-kicker {
  margin: 0 0 10px;
  color: var(--brand-accent, #2563eb);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.auth-page-premium .auth-card h1 {
  max-width: 390px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: .96;
  letter-spacing: -.055em;
  color: #0f172a;
}
.auth-page-premium .auth-subtitle {
  max-width: 380px;
  margin: 16px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
}
.auth-page-premium .auth-card .form-stack {
  gap: 16px;
  margin-top: 28px;
}
.auth-page-premium .auth-field {
  gap: 8px;
  color: #334155;
  font-weight: 800;
}
.auth-page-premium .auth-field input {
  min-height: 50px;
  border-radius: 16px;
  border-color: #dbe6f4;
  background: rgba(248,250,252,.95);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.auth-page-premium .auth-field input:focus {
  border-color: var(--brand-accent, #2563eb);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
  outline: none;
}
.auth-page-premium .auth-input-action {
  position: relative;
  display: grid;
}
.auth-page-premium .auth-input-action input {
  padding-right: 86px;
}
.auth-page-premium .auth-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 34px;
  border: 0;
  border-radius: 12px;
  padding: 0 12px;
  cursor: pointer;
  color: #334155;
  background: #e9eff7;
  font-weight: 900;
}
.auth-page-premium .auth-login-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -2px;
}
.auth-page-premium .auth-login-meta span,
.auth-page-premium .auth-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #475569;
  background: rgba(15,23,42,.045);
  font-size: 12px;
  font-weight: 800;
}
.auth-page-premium .auth-card .primary-btn {
  min-height: 52px;
  border-radius: 16px;
  box-shadow: 0 18px 34px rgba(37,99,235,.26);
}
.auth-page-premium .form-error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(239,68,68,.09);
  border: 1px solid rgba(239,68,68,.18);
}
.auth-page-premium .auth-help-row {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e5edf7;
  color: #64748b;
  font-size: 13px;
}
.auth-page-premium .auth-side {
  display: flex !important;
  overflow: hidden;
  position: relative;
  padding: clamp(30px, 5vw, 54px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15,23,42,.96), rgba(17,24,39,.82)),
    var(--migo-login-image, linear-gradient(135deg, #111827, #2563eb));
  background-size: cover;
  background-position: center;
}
.auth-page-premium .auth-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.20), transparent 22%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.22));
  pointer-events: none;
}
.auth-page-premium .auth-side-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  gap: 30px;
}
.auth-page-premium .auth-side h2 {
  max-width: 570px;
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: .96;
  letter-spacing: -.06em;
  color: #fff;
}
.auth-page-premium .auth-side p {
  max-width: 500px;
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.7;
}
.auth-page-premium .auth-side .metric-pill {
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.auth-page-premium .auth-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.auth-page-premium .auth-feature-card {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
}
.auth-page-premium .auth-feature-card strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
}
.auth-page-premium .auth-feature-card span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  line-height: 1.45;
}
.auth-page-premium .auth-footnote {
  color: rgba(255,255,255,.68);
  font-size: 12px;
}
@media (max-width: 980px) {
  .auth-page-premium .auth-shell {
    max-width: 520px !important;
    grid-template-columns: 1fr !important;
  }
  .auth-page-premium .auth-card,
  .auth-page-premium .auth-side {
    min-height: auto;
  }
  .auth-page-premium .auth-side {
    display: none !important;
  }
  .auth-page-premium .auth-card h1 {
    font-size: 36px;
  }
  .auth-page-premium .auth-help-row {
    display: grid;
    justify-items: start;
  }
}
@media (max-width: 520px) {
  body.auth-page.auth-page-premium { padding: 12px; }
  .auth-page-premium .auth-card.auth-login-card { border-radius: 26px; padding: 24px; }
  .auth-page-premium .auth-card-head { align-items: center; margin-bottom: 24px; }
  .auth-page-premium .auth-card .brand-mark { width: 54px; height: 54px; border-radius: 18px; }
  .auth-page-premium .auth-version-pill { display: none; }
}
/* Migo CRM v3.0.14.1 Minimal Login Cleanup */
body.auth-page.auth-page-minimal {
  min-height: 100vh;
  padding: 22px;
  background:
    radial-gradient(circle at 18% 12%, rgba(37,99,235,.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%) !important;
}
.auth-page-minimal .auth-shell,
.auth-page-minimal .auth-shell.auth-shell-minimal {
  width: min(440px, 100%) !important;
  max-width: 440px !important;
  display: block !important;
}
.auth-page-minimal .auth-card.auth-login-clean {
  width: 100%;
  padding: 30px;
  border-radius: 26px;
  background: rgba(255,255,255,.94);
  border: 1px solid #e4ebf5;
  box-shadow: 0 18px 55px rgba(15,23,42,.10);
}
.auth-page-minimal .auth-clean-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.auth-page-minimal .auth-clean-brand .brand-mark {
  width: 54px;
  height: 54px;
  margin: 0;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(37,99,235,.18);
  flex: 0 0 auto;
}
.auth-page-minimal .auth-clean-brand .brand-mark.auth-logo-only {
  width: auto;
  min-width: 110px;
  max-width: 190px;
  padding: 0 4px;
  background: transparent;
  box-shadow: none;
}
.auth-page-minimal .auth-kicker {
  margin: 0 0 4px;
  color: var(--brand-accent, #2563eb);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.auth-page-minimal .auth-card h1 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.auth-page-minimal .auth-note {
  margin: -10px 0 22px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}
.auth-page-minimal .auth-card .form-stack {
  gap: 14px;
}
.auth-page-minimal .auth-field {
  gap: 7px;
  color: #334155;
  font-weight: 800;
}
.auth-page-minimal .auth-field input {
  min-height: 50px;
  border-radius: 15px;
  border-color: #dbe6f4;
  background: #f8fafc;
}
.auth-page-minimal .auth-field input:focus {
  border-color: var(--brand-accent, #2563eb);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
  outline: none;
}
.auth-page-minimal .auth-input-action {
  position: relative;
  display: grid;
}
.auth-page-minimal .auth-input-action input {
  padding-right: 76px;
}
.auth-page-minimal .auth-password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  min-height: 34px;
  border: 0;
  border-radius: 11px;
  padding: 0 11px;
  cursor: pointer;
  color: #334155;
  background: #e9eff7;
  font-weight: 800;
}
.auth-page-minimal .auth-card .primary-btn {
  min-height: 52px;
  border-radius: 15px;
  margin-top: 2px;
  box-shadow: 0 14px 28px rgba(37,99,235,.20);
}
.auth-page-minimal .form-error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.16);
}
.auth-page-minimal .auth-clean-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5edf7;
  color: #64748b;
  font-size: 12px;
}
.auth-page-minimal .auth-clean-footer b {
  color: #334155;
}
@media (max-width: 520px) {
  body.auth-page.auth-page-minimal { padding: 12px; }
  .auth-page-minimal .auth-card.auth-login-clean { padding: 24px; border-radius: 24px; }
  .auth-page-minimal .auth-clean-brand { align-items: flex-start; }
  .auth-page-minimal .auth-card h1 { font-size: 26px; }
  .auth-page-minimal .auth-clean-footer { display: grid; }
}
/* Migo CRM v3.0.14.2 Login Migo Icon Fallback */
.auth-page-minimal .auth-clean-brand .brand-mark.auth-migo-fallback-icon,
.auth-page-minimal .auth-clean-brand .brand-mark[data-migo-login-fallback-icon] {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  min-width: 54px;
  max-width: 54px;
  padding: 8px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e5edf7;
  box-shadow: 0 14px 28px rgba(15,23,42,.10);
  overflow: hidden;
}
.auth-page-minimal .auth-clean-brand .brand-mark.auth-migo-fallback-icon img,
.auth-page-minimal .auth-clean-brand .brand-mark[data-migo-login-fallback-icon] img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.auth-page-minimal .auth-clean-brand .brand-mark.auth-logo-only {
  width: auto;
  height: 54px;
  min-width: 110px;
  max-width: 190px;
  padding: 0;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
/* Migo CRM v3.0.15 Tenant Workspace Polish */
body.migo-tenant-client .migo-app-version{display:none!important}
body.migo-tenant-client .topbar .eyebrow{letter-spacing:.08em;color:#64748b}
body.migo-tenant-client .topbar .eyebrow::first-letter{text-transform:uppercase}
.migo-tenant-client .migo-client-empty-state{display:grid;gap:12px;place-items:start;padding:22px;border:1px solid rgba(148,163,184,.28);border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(248,250,252,.92));box-shadow:0 14px 34px rgba(15,23,42,.06);max-width:720px;margin:0 auto}
.migo-tenant-client .migo-client-empty-state h2{margin:0;color:#0f172a;font-size:22px;line-height:1.2}
.migo-tenant-client .migo-client-empty-state p{margin:0;color:#64748b;font-size:14px;line-height:1.55;max-width:58ch}
.migo-tenant-client .migo-client-empty-state .row-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.migo-tenant-client .migo-client-empty-state .mini-btn,.migo-tenant-client .migo-client-empty-state .secondary-btn,.migo-tenant-client .migo-client-empty-state .primary-btn{min-height:38px}
.migo-tenant-client .migo-client-restricted{border-color:rgba(245,158,11,.34);background:linear-gradient(180deg,rgba(255,251,235,.88),rgba(255,255,255,.94))}
.migo-tenant-client .migo-client-restricted h2{color:#92400e}
.migo-tenant-client .view:empty{min-height:180px}
.migo-tenant-client .empty-state{border-radius:18px}
@media(max-width:720px){.migo-tenant-client .migo-client-empty-state{padding:18px;border-radius:18px}.migo-tenant-client .migo-client-empty-state h2{font-size:19px}}
/* Migo CRM v3.0.16 Tenant Start Checklist */
.migo-tenant-client .migo-start-checklist{display:grid;gap:18px;margin:0 0 18px;padding:22px;border:1px solid rgba(37,99,235,.18);border-radius:26px;background:radial-gradient(circle at 18% 10%,rgba(37,99,235,.10),transparent 28%),linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.96));box-shadow:0 20px 50px rgba(15,23,42,.08)}
.migo-tenant-client .migo-start-checklist-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.migo-tenant-client .migo-start-checklist h2{margin:0;color:#0f172a;font-size:24px;line-height:1.15;letter-spacing:-.03em}
.migo-tenant-client .migo-start-checklist p{margin:7px 0 0;color:#64748b;font-size:14px;line-height:1.55;max-width:72ch}
.migo-tenant-client .migo-start-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(37,99,235,.20);background:rgba(37,99,235,.08);color:#1d4ed8;border-radius:999px;padding:7px 11px;font-weight:800;font-size:12px;white-space:nowrap}
.migo-tenant-client .migo-start-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.migo-tenant-client .migo-start-step{border:1px solid rgba(148,163,184,.28);border-radius:18px;padding:14px;background:rgba(255,255,255,.86);display:flex;flex-direction:column;gap:9px;min-height:132px;box-shadow:0 10px 24px rgba(15,23,42,.045)}
.migo-tenant-client .migo-start-step:hover{border-color:rgba(37,99,235,.34);box-shadow:0 16px 34px rgba(15,23,42,.07)}
.migo-tenant-client .migo-start-step-index{width:28px;height:28px;border-radius:10px;display:grid;place-items:center;background:#eff6ff;color:#1d4ed8;font-weight:900;font-size:13px}
.migo-tenant-client .migo-start-step strong{color:#0f172a;font-size:14px;line-height:1.25}
.migo-tenant-client .migo-start-step span{color:#64748b;font-size:12.5px;line-height:1.45;flex:1}
.migo-tenant-client .migo-start-step button{align-self:flex-start;border:0;border-radius:999px;background:#0f172a;color:#fff;font-weight:800;font-size:12px;padding:8px 11px;cursor:pointer}
.migo-tenant-client .migo-start-step button:hover{filter:brightness(1.08)}
.migo-tenant-client .migo-start-close{border:0;background:transparent;color:#64748b;font-weight:800;cursor:pointer;border-radius:999px;padding:8px 10px}
.migo-tenant-client .migo-start-close:hover{background:#f1f5f9;color:#0f172a}
.migo-tenant-client .migo-dashboard-pro-hero.is-client-welcome h2{font-size:22px}
.migo-tenant-client .migo-dashboard-pro-hero.is-client-welcome .migo-eyebrow{color:#2563eb}
@media(max-width:1180px){.migo-tenant-client .migo-start-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.migo-tenant-client .migo-start-steps{grid-template-columns:1fr 1fr}.migo-tenant-client .migo-start-checklist{padding:18px;border-radius:20px}.migo-tenant-client .migo-start-checklist h2{font-size:21px}}
@media(max-width:560px){.migo-tenant-client .migo-start-steps{grid-template-columns:1fr}.migo-tenant-client .migo-start-step{min-height:auto}}
/* Migo CRM v3.0.17 Tenant Empty Modules Polish */
.migo-tenant-client .migo-tenant-module-placeholder{margin:0;padding:22px;border:1px solid rgba(148,163,184,.24);border-radius:24px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 16px 38px rgba(15,23,42,.06);max-width:920px}
.migo-tenant-client .migo-tenant-module-placeholder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.migo-tenant-client .migo-tenant-module-placeholder .migo-eyebrow{margin:0 0 6px;color:#2563eb;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.11em}
.migo-tenant-client .migo-tenant-module-placeholder h2{margin:0;color:#0f172a;font-size:23px;line-height:1.16;letter-spacing:-.025em}
.migo-tenant-client .migo-tenant-module-placeholder p{margin:8px 0 0;color:#64748b;font-size:14px;line-height:1.55;max-width:68ch}
.migo-tenant-client .migo-tenant-module-badge{display:inline-flex;align-items:center;border:1px solid rgba(37,99,235,.18);border-radius:999px;background:rgba(37,99,235,.07);color:#1d4ed8;font-size:12px;font-weight:850;padding:7px 10px;white-space:nowrap}
.migo-tenant-client .migo-tenant-module-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}
.migo-tenant-client .migo-tenant-module-list span{display:flex;align-items:center;gap:8px;min-height:44px;border:1px solid rgba(226,232,240,.95);border-radius:14px;background:#fff;padding:10px 12px;color:#334155;font-size:13px;font-weight:750}
.migo-tenant-client .migo-tenant-module-list span:before{content:'✓';display:grid;place-items:center;width:18px;height:18px;border-radius:7px;background:#ecfdf5;color:#047857;font-size:11px;font-weight:950;flex:0 0 auto}
.migo-tenant-client .migo-tenant-module-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.migo-tenant-client .migo-tenant-module-actions button{border:0;border-radius:999px;padding:10px 14px;font-size:13px;font-weight:850;cursor:pointer;background:#0f172a;color:#fff;box-shadow:0 10px 22px rgba(15,23,42,.12)}
.migo-tenant-client .migo-tenant-module-actions button.secondary{background:#fff;color:#0f172a;border:1px solid #e2e8f0;box-shadow:none}
.migo-tenant-client .migo-tenant-module-actions button:hover{filter:brightness(1.05)}
.migo-tenant-client .migo-tenant-soft-note{margin-top:14px;color:#94a3b8;font-size:12.5px;line-height:1.45}
.migo-tenant-client .view>.empty-state:only-child{max-width:900px;border-radius:22px;background:#fff;border:1px solid #e2e8f0;color:#64748b;box-shadow:0 12px 28px rgba(15,23,42,.04)}
@media(max-width:920px){.migo-tenant-client .migo-tenant-module-list{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.migo-tenant-client .migo-tenant-module-placeholder{padding:18px;border-radius:20px}.migo-tenant-client .migo-tenant-module-list{grid-template-columns:1fr}.migo-tenant-client .migo-tenant-module-placeholder h2{font-size:20px}}
/* Migo CRM v3.0.18 Canonical Dashboard Cleanup */
.migo-tenant-client #dashboardView>.kpi-grid,
.migo-tenant-client #dashboardView>.layout-grid,
.migo-tenant-client #dashboardView>.migo-dashboard-pro-page:not([data-migo-dashboard-canonical-v3018]){display:none!important}
.migo-tenant-client .migo-dashboard-canonical-v3018{display:grid;gap:18px}
.migo-tenant-client .migo-dashboard-clean-hero{position:relative;overflow:hidden;border:1px solid rgba(148,163,184,.24);border-radius:28px;background:linear-gradient(135deg,#ffffff 0%,#f8fafc 52%,rgba(37,99,235,.08) 100%);box-shadow:0 18px 48px rgba(15,23,42,.07);padding:24px;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}
.migo-tenant-client .migo-dashboard-clean-hero:after{content:'';position:absolute;right:-70px;top:-80px;width:210px;height:210px;border-radius:999px;background:rgba(37,99,235,.09);pointer-events:none}
.migo-tenant-client .migo-dashboard-clean-hero>*{position:relative;z-index:1}
.migo-tenant-client .migo-dashboard-clean-hero .migo-eyebrow{margin:0 0 7px;color:#2563eb;font-size:11px;font-weight:950;text-transform:uppercase;letter-spacing:.12em}
.migo-tenant-client .migo-dashboard-clean-hero h2{margin:0;color:#0f172a;font-size:28px;line-height:1.08;letter-spacing:-.035em}
.migo-tenant-client .migo-dashboard-clean-hero p{margin:9px 0 0;color:#64748b;font-size:14.5px;line-height:1.55;max-width:68ch}
.migo-tenant-client .migo-dashboard-clean-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.migo-tenant-client .migo-dashboard-clean-actions button{border:0;border-radius:999px;padding:10px 14px;font-weight:850;font-size:13px;cursor:pointer;background:#0f172a;color:#fff;box-shadow:0 12px 24px rgba(15,23,42,.13)}
.migo-tenant-client .migo-dashboard-clean-actions button.secondary{background:#fff;color:#0f172a;border:1px solid #e2e8f0;box-shadow:none}
.migo-tenant-client .migo-dashboard-clean-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.migo-tenant-client .migo-dashboard-clean-kpi{border:1px solid #e2e8f0;border-radius:22px;background:#fff;padding:17px;box-shadow:0 12px 28px rgba(15,23,42,.04)}
.migo-tenant-client .migo-dashboard-clean-kpi span{display:block;color:#64748b;font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
.migo-tenant-client .migo-dashboard-clean-kpi strong{display:block;color:#0f172a;font-size:25px;letter-spacing:-.03em}
.migo-tenant-client .migo-dashboard-clean-kpi small{display:block;margin-top:5px;color:#94a3b8;font-size:12.5px}
.migo-tenant-client .migo-dashboard-clean-main{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:14px}
.migo-tenant-client .migo-dashboard-clean-panel{border:1px solid #e2e8f0;border-radius:24px;background:#fff;padding:20px;box-shadow:0 12px 28px rgba(15,23,42,.04)}
.migo-tenant-client .migo-dashboard-clean-panel h3{margin:0 0 8px;color:#0f172a;font-size:18px;letter-spacing:-.02em}
.migo-tenant-client .migo-dashboard-clean-panel p{margin:0;color:#64748b;font-size:14px;line-height:1.55}
.migo-tenant-client .migo-dashboard-clean-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:15px}
.migo-tenant-client .migo-dashboard-clean-step{border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc;padding:13px;min-height:128px;display:flex;flex-direction:column;gap:7px}
.migo-tenant-client .migo-dashboard-clean-step b{color:#0f172a;font-size:13.5px;line-height:1.25}
.migo-tenant-client .migo-dashboard-clean-step span{color:#64748b;font-size:12.3px;line-height:1.35}
.migo-tenant-client .migo-dashboard-clean-step button{margin-top:auto;border:0;border-radius:999px;background:#fff;color:#0f172a;border:1px solid #e2e8f0;padding:8px 10px;font-size:12.5px;font-weight:850;cursor:pointer}
.migo-tenant-client .migo-dashboard-clean-feed{display:grid;gap:10px;margin-top:13px}
.migo-tenant-client .migo-dashboard-clean-feed div{border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc;padding:12px;color:#64748b;font-size:13px;line-height:1.4}
.migo-tenant-client .migo-dashboard-clean-note{margin-top:12px;color:#94a3b8;font-size:12.5px;line-height:1.45}
@media(max-width:1180px){.migo-tenant-client .migo-dashboard-clean-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.migo-tenant-client .migo-dashboard-clean-main{grid-template-columns:1fr}.migo-tenant-client .migo-dashboard-clean-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.migo-tenant-client .migo-dashboard-clean-hero{padding:20px;border-radius:22px}.migo-tenant-client .migo-dashboard-clean-hero h2{font-size:23px}.migo-tenant-client .migo-dashboard-clean-grid{grid-template-columns:1fr}.migo-tenant-client .migo-dashboard-clean-steps{grid-template-columns:1fr}}
/* Migo CRM v3.0.18.1 Dashboard Route Guard */
.migo-tenant-client #dashboardView .migo-dashboard-canonical-v3018{animation:none!important}
.migo-tenant-client .migo-dashboard-clean-note{display:none!important}
.migo-dashboard-route-stable-v30181 #dashboardView>.migo-dashboard-canonical-v3018{contain:layout paint}
/* Migo CRM v3.0.18.2 Dashboard Shell Stabilizer */
.migo-dashboard-shell-stable-v30182 #dashboardView>.migo-dashboard-canonical-v30182{display:block!important;animation:none!important;contain:layout paint}
.migo-dashboard-shell-stable-v30182 #dashboardView>.kpi-grid,
.migo-dashboard-shell-stable-v30182 #dashboardView>.layout-grid,
.migo-dashboard-shell-stable-v30182 #dashboardView>.migo-dashboard-pro-page,
.migo-dashboard-shell-stable-v30182 #dashboardView>.migo-start-checklist{display:none!important}
.migo-dashboard-canonical-v30182 .migo-dashboard-clean-note{display:none!important}
.migo-dashboard-shell-stable-v30182 .nav-item[data-migo-platform-hidden]{display:none!important}
.migo-dashboard-shell-stable-v30182 [data-migo-platform-hidden]{display:none!important}
/* Migo CRM v3.0.19 Tenant Dashboard Polish */
.migo-dashboard-polish-v3019 #dashboardView>.migo-dashboard-canonical-v30182{display:none!important}
.migo-dashboard-polish-v3019 #dashboardView>.migo-dashboard-polished-v3019{display:block!important}
.migo-dashboard-polished-v3019{display:flex;flex-direction:column;gap:18px}
.migo-dash19-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:stretch;padding:26px;border-radius:28px;border:1px solid rgba(37,99,235,.15);background:radial-gradient(circle at 12% 16%,rgba(37,99,235,.16),transparent 32%),linear-gradient(135deg,#ffffff 0%,#f8fbff 48%,#eef5ff 100%);box-shadow:0 18px 50px rgba(15,23,42,.08)}
.migo-dash19-hero h2{margin:4px 0 8px;font-size:clamp(26px,3vw,38px);letter-spacing:-.04em;color:#0f172a;line-height:1.06}
.migo-dash19-hero p{max-width:700px;color:#64748b;line-height:1.55;margin:0}
.migo-dash19-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.migo-dash19-actions button,.migo-dash19-step button,.migo-dash19-empty button{border:0;border-radius:999px;padding:11px 16px;font-weight:800;cursor:pointer;background:var(--brand-accent,#2563eb);color:#fff;box-shadow:0 12px 28px rgba(37,99,235,.22)}
.migo-dash19-actions button.secondary,.migo-dash19-step button.secondary,.migo-dash19-empty button.secondary{background:#fff;color:#1e293b;border:1px solid #dbe5f3;box-shadow:none}
.migo-dash19-step button.compact,.migo-dash19-empty button.compact{padding:8px 12px;font-size:12px;white-space:nowrap}
.migo-dash19-status-card{position:relative;overflow:hidden;border-radius:24px;background:#0f172a;color:#fff;padding:22px;box-shadow:0 22px 48px rgba(15,23,42,.22);display:flex;flex-direction:column;justify-content:space-between;min-height:210px}
.migo-dash19-status-card:after{content:"";position:absolute;inset:auto -30px -50px auto;width:170px;height:170px;border-radius:999px;background:rgba(37,99,235,.32)}
.migo-dash19-status-card strong{font-size:34px;letter-spacing:-.04em;margin-top:24px;z-index:1}
.migo-dash19-status-card small,.migo-dash19-status-card p{color:#cbd5e1;z-index:1}.migo-dash19-status-card p{font-size:13px;line-height:1.5;margin:14px 0 0}.migo-dash19-status-pill{align-self:flex-start;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;z-index:1}.migo-dash19-progress{height:8px;border-radius:999px;background:rgba(255,255,255,.16);margin-top:14px;overflow:hidden;z-index:1}.migo-dash19-progress i{display:block;width:14%;height:100%;border-radius:inherit;background:#60a5fa}
.migo-dash19-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.migo-dash19-kpi{padding:18px;border-radius:22px;background:#fff;border:1px solid #e6edf7;box-shadow:0 10px 32px rgba(15,23,42,.055)}.migo-dash19-kpi span{display:block;color:#64748b;font-size:13px}.migo-dash19-kpi strong{display:block;margin:8px 0 2px;font-size:28px;letter-spacing:-.04em;color:#0f172a}.migo-dash19-kpi small{color:#94a3b8}
.migo-dash19-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px}.migo-dash19-panel{padding:20px;border-radius:24px;background:#fff;border:1px solid #e6edf7;box-shadow:0 12px 36px rgba(15,23,42,.06)}.migo-dash19-panel h3{margin:0 0 8px;font-size:18px;color:#0f172a}.migo-dash19-panel>p{margin:0 0 16px;color:#64748b;line-height:1.5}.migo-dash19-steps{display:flex;flex-direction:column;gap:10px}.migo-dash19-step{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border-radius:18px;background:#f8fafc;border:1px solid #edf2f7}.migo-dash19-step i{width:28px;height:28px;display:grid;place-items:center;border-radius:999px;background:#e0edff;color:#2563eb;font-style:normal;font-weight:900}.migo-dash19-step b{display:block;color:#0f172a}.migo-dash19-step span{display:block;color:#64748b;font-size:13px;margin-top:2px}.migo-dash19-empty{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:20px;background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b}.migo-dash19-empty b{color:#0f172a}.migo-dash19-tips{margin-top:14px;padding:14px;border-radius:18px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.migo-dash19-tips b{display:block;margin-bottom:4px}.migo-dash19-tips span{font-size:13px;line-height:1.45}
@media(max-width:1100px){.migo-dash19-hero,.migo-dash19-main{grid-template-columns:1fr}.migo-dash19-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.migo-dash19-status-card{min-height:170px}}@media(max-width:720px){.migo-dash19-hero{padding:18px;border-radius:22px}.migo-dash19-kpis{grid-template-columns:1fr}.migo-dash19-step{grid-template-columns:30px 1fr}.migo-dash19-step button{grid-column:2;justify-self:start}.migo-dash19-actions button{width:100%}}
/* Migo CRM v3.0.19.1 Tenant Dashboard Safe Polish */
.migo-dashboard-polish-v30191 #dashboardView>.migo-dashboard-canonical-v30182{display:none!important}
.migo-dashboard-polish-v30191 #dashboardView>.migo-dashboard-polished-v30191{display:flex!important}
.migo-dashboard-polished-v30191{display:flex;flex-direction:column;gap:18px}
.migo-dash19-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:stretch;padding:26px;border-radius:28px;border:1px solid rgba(37,99,235,.15);background:radial-gradient(circle at 12% 16%,rgba(37,99,235,.16),transparent 32%),linear-gradient(135deg,#ffffff 0%,#f8fbff 48%,#eef5ff 100%);box-shadow:0 18px 50px rgba(15,23,42,.08)}
.migo-dash19-hero h2{margin:4px 0 8px;font-size:clamp(26px,3vw,38px);letter-spacing:-.04em;color:#0f172a;line-height:1.06}.migo-dash19-hero p{max-width:700px;color:#64748b;line-height:1.55;margin:0}.migo-dash19-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.migo-dash19-actions button,.migo-dash19-step button,.migo-dash19-empty button{border:0;border-radius:999px;padding:11px 16px;font-weight:800;cursor:pointer;background:var(--brand-accent,#2563eb);color:#fff;box-shadow:0 12px 28px rgba(37,99,235,.22)}
.migo-dash19-actions button.secondary,.migo-dash19-step button.secondary,.migo-dash19-empty button.secondary{background:#fff;color:#1e293b;border:1px solid #dbe5f3;box-shadow:none}.migo-dash19-step button.compact,.migo-dash19-empty button.compact{padding:8px 12px;font-size:12px;white-space:nowrap}
.migo-dash19-status-card{position:relative;overflow:hidden;border-radius:24px;background:#0f172a;color:#fff;padding:22px;box-shadow:0 22px 48px rgba(15,23,42,.22);display:flex;flex-direction:column;justify-content:space-between;min-height:210px}.migo-dash19-status-card:after{content:"";position:absolute;inset:auto -30px -50px auto;width:170px;height:170px;border-radius:999px;background:rgba(37,99,235,.32)}.migo-dash19-status-card strong{font-size:28px;letter-spacing:-.04em;margin-top:24px;z-index:1}.migo-dash19-status-card small,.migo-dash19-status-card p{color:#cbd5e1;z-index:1}.migo-dash19-status-card p{font-size:13px;line-height:1.5;margin:14px 0 0}.migo-dash19-status-pill{align-self:flex-start;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;z-index:1}.migo-dash19-progress{height:8px;border-radius:999px;background:rgba(255,255,255,.16);margin-top:14px;overflow:hidden;z-index:1}.migo-dash19-progress i{display:block;width:14%;height:100%;border-radius:inherit;background:#60a5fa}
.migo-dash19-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.migo-dash19-kpi{padding:18px;border-radius:22px;background:#fff;border:1px solid #e6edf7;box-shadow:0 10px 32px rgba(15,23,42,.055)}.migo-dash19-kpi span{display:block;color:#64748b;font-size:13px}.migo-dash19-kpi strong{display:block;margin:8px 0 2px;font-size:28px;letter-spacing:-.04em;color:#0f172a}.migo-dash19-kpi small{color:#94a3b8}
.migo-dash19-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px}.migo-dash19-panel{padding:20px;border-radius:24px;background:#fff;border:1px solid #e6edf7;box-shadow:0 12px 36px rgba(15,23,42,.06)}.migo-dash19-panel h3{margin:0 0 8px;font-size:18px;color:#0f172a}.migo-dash19-panel>p{margin:0 0 16px;color:#64748b;line-height:1.5}.migo-dash19-steps{display:flex;flex-direction:column;gap:10px}.migo-dash19-step{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border-radius:18px;background:#f8fafc;border:1px solid #edf2f7}.migo-dash19-step i{width:28px;height:28px;display:grid;place-items:center;border-radius:999px;background:#e0edff;color:#2563eb;font-style:normal;font-weight:900}.migo-dash19-step b{display:block;color:#0f172a}.migo-dash19-step span{display:block;color:#64748b;font-size:13px;margin-top:2px}.migo-dash19-empty{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:20px;background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b}.migo-dash19-empty b{color:#0f172a}.migo-dash19-tips{margin-top:14px;padding:14px;border-radius:18px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.migo-dash19-tips b{display:block;margin-bottom:4px}.migo-dash19-tips span{font-size:13px;line-height:1.45}
@media(max-width:1100px){.migo-dash19-hero,.migo-dash19-main{grid-template-columns:1fr}.migo-dash19-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.migo-dash19-status-card{min-height:170px}}@media(max-width:720px){.migo-dash19-hero{padding:18px;border-radius:22px}.migo-dash19-kpis{grid-template-columns:1fr}.migo-dash19-step{grid-template-columns:30px 1fr}.migo-dash19-step button{grid-column:2;justify-self:start}.migo-dash19-actions button{width:100%}}
/* Migo CRM v3.0.19.2 Dashboard Hard Reset */
.migo-dashboard-hard-reset-v30192 #dashboardView>.migo-dashboard-polished-v30192{display:flex!important;visibility:visible!important;opacity:1!important;animation:none!important}
.migo-dashboard-hard-reset-v30192 #dashboardView>.migo-dashboard-pro-page,
.migo-dashboard-hard-reset-v30192 #dashboardView>.migo-dashboard-v291,
.migo-dashboard-hard-reset-v30192 #dashboardView>.migo-start-checklist,
.migo-dashboard-hard-reset-v30192 #dashboardView>.migo-dashboard-canonical-v30182,
.migo-dashboard-hard-reset-v30192 #dashboardView>.migo-dashboard-polished-v30191{display:none!important}
.migo-dashboard-polished-v30192{display:flex;flex-direction:column;gap:18px;min-height:420px}
.migo-dash192-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:stretch;padding:26px;border-radius:28px;border:1px solid rgba(37,99,235,.15);background:radial-gradient(circle at 12% 16%,rgba(37,99,235,.16),transparent 32%),linear-gradient(135deg,#fff 0%,#f8fbff 48%,#eef5ff 100%);box-shadow:0 18px 50px rgba(15,23,42,.08)}
.migo-dash192-hero h2{margin:4px 0 8px;font-size:clamp(26px,3vw,38px);letter-spacing:-.04em;color:#0f172a;line-height:1.06}.migo-dash192-hero p{max-width:700px;color:#64748b;line-height:1.55;margin:0}.migo-dash192-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.migo-dash192-actions button,.migo-dash192-step button,.migo-dash192-empty button{border:0;border-radius:999px;padding:11px 16px;font-weight:800;cursor:pointer;background:var(--brand-accent,#2563eb);color:#fff;box-shadow:0 12px 28px rgba(37,99,235,.22)}.migo-dash192-actions button.secondary,.migo-dash192-step button.secondary{background:#fff;color:#1e293b;border:1px solid #dbe5f3;box-shadow:none}.migo-dash192-step button.compact,.migo-dash192-empty button.compact{padding:8px 12px;font-size:12px;white-space:nowrap}.migo-dash192-status-card{position:relative;overflow:hidden;border-radius:24px;background:#0f172a;color:#fff;padding:22px;box-shadow:0 22px 48px rgba(15,23,42,.22);display:flex;flex-direction:column;justify-content:space-between;min-height:210px}.migo-dash192-status-card:after{content:"";position:absolute;inset:auto -30px -50px auto;width:170px;height:170px;border-radius:999px;background:rgba(37,99,235,.32)}.migo-dash192-status-card strong{font-size:28px;letter-spacing:-.04em;margin-top:24px;z-index:1}.migo-dash192-status-card small,.migo-dash192-status-card p{color:#cbd5e1;z-index:1}.migo-dash192-status-card p{font-size:13px;line-height:1.5;margin:14px 0 0}.migo-dash192-status-pill{align-self:flex-start;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;z-index:1}.migo-dash192-progress{height:8px;border-radius:999px;background:rgba(255,255,255,.16);margin-top:14px;overflow:hidden;z-index:1}.migo-dash192-progress i{display:block;width:14%;height:100%;border-radius:inherit;background:#60a5fa}.migo-dash192-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.migo-dash192-kpi{padding:18px;border-radius:22px;background:#fff;border:1px solid #e6edf7;box-shadow:0 10px 32px rgba(15,23,42,.055)}.migo-dash192-kpi span{display:block;color:#64748b;font-size:13px}.migo-dash192-kpi strong{display:block;margin:8px 0 2px;font-size:28px;letter-spacing:-.04em;color:#0f172a}.migo-dash192-kpi small{color:#94a3b8}.migo-dash192-main{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px}.migo-dash192-panel{padding:20px;border-radius:24px;background:#fff;border:1px solid #e6edf7;box-shadow:0 12px 36px rgba(15,23,42,.06)}.migo-dash192-panel h3{margin:0 0 8px;font-size:18px;color:#0f172a}.migo-dash192-panel>p{margin:0 0 16px;color:#64748b;line-height:1.5}.migo-dash192-steps{display:flex;flex-direction:column;gap:10px}.migo-dash192-step{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border-radius:18px;background:#f8fafc;border:1px solid #edf2f7}.migo-dash192-step i{width:28px;height:28px;display:grid;place-items:center;border-radius:999px;background:#e0edff;color:#2563eb;font-style:normal;font-weight:900}.migo-dash192-step b{display:block;color:#0f172a}.migo-dash192-step span{display:block;color:#64748b;font-size:13px;margin-top:2px}.migo-dash192-empty{display:flex;flex-direction:column;gap:10px;padding:18px;border-radius:20px;background:#f8fafc;border:1px dashed #cbd5e1;color:#64748b}.migo-dash192-empty b{color:#0f172a}.migo-dash192-tips{margin-top:14px;padding:14px;border-radius:18px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af}.migo-dash192-tips b{display:block;margin-bottom:4px}.migo-dash192-tips span{font-size:13px;line-height:1.45}@media(max-width:1100px){.migo-dash192-hero,.migo-dash192-main{grid-template-columns:1fr}.migo-dash192-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.migo-dash192-status-card{min-height:170px}}@media(max-width:720px){.migo-dash192-hero{padding:18px;border-radius:22px}.migo-dash192-kpis{grid-template-columns:1fr}.migo-dash192-step{grid-template-columns:30px 1fr}.migo-dash192-step button{grid-column:2;justify-self:start}.migo-dash192-actions button{width:100%}}

/* Migo CRM v3.0.20 Core CRM Flow Polish */
/* v7.6: canonical Pipeline must never show the obsolete v3.0.20 flow hero. */
.crm-app #kanbanView > .migo-core-flow-polish-v3020,
.crm-app #kanbanView .migo-core-flow-polish-v3020 { display: none !important; }

.crm-app.migo-tenant-client .migo-core-flow-polish-v3020 {
  margin: 0 0 18px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(255,255,255,.92));
  box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}
.crm-app.migo-tenant-client .migo-core-flow-polish-v3020 .migo-core-flow-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.crm-app.migo-tenant-client .migo-core-flow-polish-v3020 h2,
.crm-app.migo-tenant-client .migo-core-flow-polish-v3020 h3 {
  margin: 0;
  color: #0f172a;
}
.crm-app.migo-tenant-client .migo-core-flow-polish-v3020 p {
  margin: 7px 0 0;
  color: #64748b;
  line-height: 1.55;
}
.crm-app.migo-tenant-client .migo-core-flow-actions-v3020 {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.crm-app.migo-tenant-client .migo-core-flow-actions-v3020 button,
.crm-app.migo-tenant-client .migo-core-empty-actions-v3020 button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  background: var(--brand-accent, #2563eb);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
}
.crm-app.migo-tenant-client .migo-core-flow-actions-v3020 button.secondary,
.crm-app.migo-tenant-client .migo-core-empty-actions-v3020 button.secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, .35);
  box-shadow: none;
}
.crm-app.migo-tenant-client .migo-core-flow-steps-v3020 {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.crm-app.migo-tenant-client .migo-core-flow-step-v3020 {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.82);
}
.crm-app.migo-tenant-client .migo-core-flow-step-v3020 b {
  display: block;
  color: #111827;
  margin-bottom: 5px;
}
.crm-app.migo-tenant-client .migo-core-flow-step-v3020 span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}
.crm-app.migo-tenant-client .migo-core-empty-v3020 {
  border: 1px dashed rgba(37, 99, 235, .28);
  border-radius: 22px;
  padding: 22px;
  background: rgba(248, 250, 252, .88);
  text-align: center;
  color: #475569;
}
.crm-app.migo-tenant-client .migo-core-empty-v3020 strong {
  display: block;
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 6px;
}
.crm-app.migo-tenant-client .migo-core-empty-actions-v3020 {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
.crm-app.migo-tenant-client .migo-view-title-polish-v3020 {
  color: #64748b;
  font-size: 13px;
}
@media (max-width: 920px) {
  .crm-app.migo-tenant-client .migo-core-flow-polish-v3020 .migo-core-flow-head { flex-direction: column; }
  .crm-app.migo-tenant-client .migo-core-flow-actions-v3020 { justify-content: flex-start; }
  .crm-app.migo-tenant-client .migo-core-flow-steps-v3020 { grid-template-columns: 1fr; }
}

/* Migo CRM v3.0.21 Team Page Polish */
.crm-app.migo-tenant-client #teamView .migo-team-page-v3021 {
  display: grid;
  gap: 18px;
}
.crm-app.migo-tenant-client .migo-team-hero-v3021 {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
  gap: 18px;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, .22);
  background:
    radial-gradient(circle at 92% 12%, rgba(37, 99, 235, .18), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.9));
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}
.crm-app.migo-tenant-client .migo-team-hero-v3021 h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
  color: #0f172a;
  letter-spacing: -.04em;
}
.crm-app.migo-tenant-client .migo-team-hero-v3021 p {
  margin: 12px 0 0;
  color: #64748b;
  line-height: 1.65;
  max-width: 680px;
}
.crm-app.migo-tenant-client .migo-team-actions-v3021,
.crm-app.migo-tenant-client .migo-team-row-actions-v3021 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.crm-app.migo-tenant-client .migo-team-actions-v3021 button,
.crm-app.migo-tenant-client .migo-team-row-actions-v3021 button,
.crm-app.migo-tenant-client .migo-team-panel-v3021 button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  background: var(--brand-accent, #2563eb);
  color: #fff;
  box-shadow: 0 12px 26px rgba(37,99,235,.22);
}
.crm-app.migo-tenant-client .migo-team-actions-v3021 button.secondary,
.crm-app.migo-tenant-client .migo-team-row-actions-v3021 button.secondary,
.crm-app.migo-tenant-client .migo-team-panel-v3021 button.secondary {
  color: #0f172a;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(148, 163, 184, .35);
  box-shadow: none;
}
.crm-app.migo-tenant-client .migo-team-status-v3021 {
  border-radius: 24px;
  padding: 18px;
  background: rgba(15,23,42,.94);
  color: #fff;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.crm-app.migo-tenant-client .migo-team-status-v3021 span {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(34,197,94,.16);
  color: #bbf7d0;
}
.crm-app.migo-tenant-client .migo-team-status-v3021 strong {
  display: block;
  margin-top: 14px;
  font-size: 24px;
}
.crm-app.migo-tenant-client .migo-team-status-v3021 p {
  color: rgba(255,255,255,.72);
  margin: 7px 0 0;
}
.crm-app.migo-tenant-client .migo-team-kpis-v3021 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.crm-app.migo-tenant-client .migo-team-kpi-v3021,
.crm-app.migo-tenant-client .migo-team-panel-v3021,
.crm-app.migo-tenant-client .migo-team-member-v3021,
.crm-app.migo-tenant-client .migo-team-role-v3021 {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .055);
}
.crm-app.migo-tenant-client .migo-team-kpi-v3021 { padding: 18px; }
.crm-app.migo-tenant-client .migo-team-kpi-v3021 span,
.crm-app.migo-tenant-client .migo-team-muted-v3021 { color: #64748b; }
.crm-app.migo-tenant-client .migo-team-kpi-v3021 strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 28px;
  letter-spacing: -.03em;
}
.crm-app.migo-tenant-client .migo-team-grid-v3021 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 18px;
}
.crm-app.migo-tenant-client .migo-team-panel-v3021 { padding: 18px; }
.crm-app.migo-tenant-client .migo-team-panel-v3021 h3 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
}
.crm-app.migo-tenant-client .migo-team-panel-v3021 > p {
  margin: 8px 0 0;
  color: #64748b;
  line-height: 1.55;
}
.crm-app.migo-tenant-client .migo-team-members-v3021,
.crm-app.migo-tenant-client .migo-team-roles-v3021,
.crm-app.migo-tenant-client .migo-team-checklist-v3021 {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.crm-app.migo-tenant-client .migo-team-member-v3021,
.crm-app.migo-tenant-client .migo-team-role-v3021,
.crm-app.migo-tenant-client .migo-team-check-v3021 {
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.crm-app.migo-tenant-client .migo-team-avatar-v3021 {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-accent, #2563eb), #0f172a);
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(37,99,235,.22);
}
.crm-app.migo-tenant-client .migo-team-member-v3021 b,
.crm-app.migo-tenant-client .migo-team-role-v3021 b,
.crm-app.migo-tenant-client .migo-team-check-v3021 b { color: #0f172a; }
.crm-app.migo-tenant-client .migo-team-member-v3021 small,
.crm-app.migo-tenant-client .migo-team-role-v3021 small,
.crm-app.migo-tenant-client .migo-team-check-v3021 small {
  display: block;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.4;
}
.crm-app.migo-tenant-client .migo-team-badge-v3021 {
  margin-left: auto;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(37,99,235,.09);
  color: var(--brand-accent, #2563eb);
}
.crm-app.migo-tenant-client .migo-team-check-v3021 {
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .18);
}
.crm-app.migo-tenant-client .migo-team-check-icon-v3021 {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(34,197,94,.12);
  color: #16a34a;
  font-weight: 900;
}
.crm-app.migo-tenant-client .migo-team-invite-v3021 {
  margin-top: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(248,250,252,.96));
  padding: 14px;
  border: 1px dashed rgba(37,99,235,.28);
}
.crm-app.migo-tenant-client .migo-team-invite-v3021 strong { color: #0f172a; }
.crm-app.migo-tenant-client .migo-team-invite-v3021 span {
  display: block;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.45;
}
@media (max-width: 1100px) {
  .crm-app.migo-tenant-client .migo-team-hero-v3021,
  .crm-app.migo-tenant-client .migo-team-grid-v3021 { grid-template-columns: 1fr; }
  .crm-app.migo-tenant-client .migo-team-kpis-v3021 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .crm-app.migo-tenant-client .migo-team-kpis-v3021 { grid-template-columns: 1fr; }
  .crm-app.migo-tenant-client .migo-team-hero-v3021 { padding: 18px; border-radius: 22px; }
  .crm-app.migo-tenant-client .migo-team-member-v3021,
  .crm-app.migo-tenant-client .migo-team-role-v3021 { align-items: flex-start; }
  .crm-app.migo-tenant-client .migo-team-badge-v3021 { margin-left: 0; }
}

/* Migo CRM v3.0.21.1 Team Page Hard Reset */
.crm-app.migo-tenant-client #teamView .migo-team-page-v30211 {
  display: grid;
  gap: 18px;
  animation: migoTeamIn30211 .18s ease-out both;
}
@keyframes migoTeamIn30211 { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.crm-app.migo-tenant-client #teamView > .migo-team-page-v3021,
.crm-app.migo-tenant-client #teamView > .migo-team-legacy,
.crm-app.migo-tenant-client #teamView > .team-page,
.crm-app.migo-tenant-client #teamView > .panel-card:not(.migo-team-panel-v30211) {
  display: none !important;
}
.crm-app.migo-tenant-client .migo-team-hero-v30211 {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .75fr);
  gap: 18px;
  border-radius: 28px;
  padding: 26px;
  border: 1px solid rgba(148, 163, 184, .22);
  background:
    radial-gradient(circle at 90% 10%, rgba(37, 99, 235, .18), transparent 34%),
    radial-gradient(circle at 8% 90%, rgba(14, 165, 233, .12), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.92));
  box-shadow: 0 24px 70px rgba(15, 23, 42, .08);
}
.crm-app.migo-tenant-client .migo-team-hero-v30211 h2 {
  margin: 6px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
  color: #0f172a;
  letter-spacing: -.045em;
}
.crm-app.migo-tenant-client .migo-team-hero-v30211 p {
  margin: 12px 0 0;
  color: #64748b;
  line-height: 1.65;
  max-width: 690px;
}
.crm-app.migo-tenant-client .migo-team-actions-v30211,
.crm-app.migo-tenant-client .migo-team-row-actions-v30211 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.crm-app.migo-tenant-client .migo-team-actions-v30211 button,
.crm-app.migo-tenant-client .migo-team-row-actions-v30211 button,
.crm-app.migo-tenant-client .migo-team-panel-v30211 button,
.crm-app.migo-tenant-client .migo-team-invite-form-v30211 button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 850;
  cursor: pointer;
  background: var(--brand-accent, #2563eb);
  color: #fff;
  box-shadow: 0 12px 26px rgba(37,99,235,.22);
}
.crm-app.migo-tenant-client .migo-team-actions-v30211 button.secondary,
.crm-app.migo-tenant-client .migo-team-row-actions-v30211 button.secondary,
.crm-app.migo-tenant-client .migo-team-panel-v30211 button.secondary,
.crm-app.migo-tenant-client .migo-team-invite-form-v30211 button.secondary {
  color: #0f172a;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(148, 163, 184, .35);
  box-shadow: none;
}
.crm-app.migo-tenant-client .migo-team-status-v30211 {
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(15,23,42,.96), rgba(30,41,59,.94));
  color: #fff;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.crm-app.migo-tenant-client .migo-team-status-v30211 span {
  display: inline-flex;
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
  background: rgba(34,197,94,.16);
  color: #bbf7d0;
}
.crm-app.migo-tenant-client .migo-team-status-v30211 strong {
  display: block;
  margin-top: 14px;
  font-size: 24px;
}
.crm-app.migo-tenant-client .migo-team-status-v30211 p { color: rgba(255,255,255,.72); margin: 7px 0 0; }
.crm-app.migo-tenant-client .migo-team-kpis-v30211 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.crm-app.migo-tenant-client .migo-team-kpi-v30211,
.crm-app.migo-tenant-client .migo-team-panel-v30211,
.crm-app.migo-tenant-client .migo-team-member-v30211,
.crm-app.migo-tenant-client .migo-team-role-v30211,
.crm-app.migo-tenant-client .migo-team-invite-card-v30211 {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .055);
}
.crm-app.migo-tenant-client .migo-team-kpi-v30211 { padding: 18px; }
.crm-app.migo-tenant-client .migo-team-kpi-v30211 span,
.crm-app.migo-tenant-client .migo-team-muted-v30211 { color: #64748b; }
.crm-app.migo-tenant-client .migo-team-kpi-v30211 strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 28px;
  letter-spacing: -.03em;
}
.crm-app.migo-tenant-client .migo-team-grid-v30211 {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 18px;
}
.crm-app.migo-tenant-client .migo-team-panel-v30211 { padding: 18px; }
.crm-app.migo-tenant-client .migo-team-panel-v30211 h3 { margin: 0; color: #0f172a; font-size: 20px; }
.crm-app.migo-tenant-client .migo-team-panel-v30211 > p { margin: 8px 0 0; color: #64748b; line-height: 1.55; }
.crm-app.migo-tenant-client .migo-team-members-v30211,
.crm-app.migo-tenant-client .migo-team-roles-v30211,
.crm-app.migo-tenant-client .migo-team-checklist-v30211,
.crm-app.migo-tenant-client .migo-team-invites-v30211 { display: grid; gap: 10px; margin-top: 14px; }
.crm-app.migo-tenant-client .migo-team-member-v30211,
.crm-app.migo-tenant-client .migo-team-role-v30211,
.crm-app.migo-tenant-client .migo-team-check-v30211,
.crm-app.migo-tenant-client .migo-team-invite-card-v30211 {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px;
}
.crm-app.migo-tenant-client .migo-team-avatar-v30211,
.crm-app.migo-tenant-client .migo-team-check-icon-v30211 {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--brand-accent, #2563eb);
  background: rgba(37,99,235,.1);
}
.crm-app.migo-tenant-client .migo-team-member-v30211 b,
.crm-app.migo-tenant-client .migo-team-role-v30211 b,
.crm-app.migo-tenant-client .migo-team-check-v30211 b,
.crm-app.migo-tenant-client .migo-team-invite-card-v30211 b { color: #0f172a; }
.crm-app.migo-tenant-client .migo-team-member-v30211 small,
.crm-app.migo-tenant-client .migo-team-role-v30211 small,
.crm-app.migo-tenant-client .migo-team-check-v30211 small,
.crm-app.migo-tenant-client .migo-team-invite-card-v30211 small {
  display: block;
  color: #64748b;
  margin-top: 3px;
  line-height: 1.38;
}
.crm-app.migo-tenant-client .migo-team-badge-v30211 {
  margin-left: auto;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 850;
  background: rgba(37,99,235,.09);
  color: var(--brand-accent, #2563eb);
  white-space: nowrap;
}
.crm-app.migo-tenant-client .migo-team-check-v30211 {
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .18);
}
.crm-app.migo-tenant-client .migo-team-invite-box-v30211 {
  margin-top: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(248,250,252,.96));
  padding: 14px;
  border: 1px dashed rgba(37,99,235,.28);
}
.crm-app.migo-tenant-client .migo-team-invite-box-v30211 strong { color: #0f172a; }
.crm-app.migo-tenant-client .migo-team-invite-box-v30211 span { display: block; color: #64748b; margin-top: 4px; line-height: 1.45; }
.crm-app.migo-tenant-client .migo-team-invite-form-v30211 {
  display: grid;
  gap: 12px;
}
.crm-app.migo-tenant-client .migo-team-invite-form-v30211 label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-weight: 750;
}
.crm-app.migo-tenant-client .migo-team-invite-form-v30211 input,
.crm-app.migo-tenant-client .migo-team-invite-form-v30211 select,
.crm-app.migo-tenant-client .migo-team-invite-form-v30211 textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, .34);
  border-radius: 14px;
  padding: 11px 12px;
  background: #fff;
  color: #0f172a;
  font: inherit;
}
.crm-app.migo-tenant-client .migo-team-dialog-note-v30211 {
  color: #64748b;
  margin: 0 0 12px;
  line-height: 1.45;
}
@media (max-width: 1100px) {
  .crm-app.migo-tenant-client .migo-team-hero-v30211,
  .crm-app.migo-tenant-client .migo-team-grid-v30211 { grid-template-columns: 1fr; }
  .crm-app.migo-tenant-client .migo-team-kpis-v30211 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .crm-app.migo-tenant-client .migo-team-kpis-v30211 { grid-template-columns: 1fr; }
  .crm-app.migo-tenant-client .migo-team-hero-v30211 { padding: 18px; border-radius: 22px; }
  .crm-app.migo-tenant-client .migo-team-member-v30211,
  .crm-app.migo-tenant-client .migo-team-role-v30211,
  .crm-app.migo-tenant-client .migo-team-invite-card-v30211 { align-items: flex-start; }
  .crm-app.migo-tenant-client .migo-team-badge-v30211 { margin-left: 0; }
}

/* Migo CRM v3.0.21.2 Team Route Canonical */
body.migo-team-route-canonical-v30212 #dashboardView {
  display: none !important;
}
body.migo-team-route-canonical-v30212 #teamView {
  display: block !important;
}
body.migo-team-route-canonical-v30212 #teamView > .migo-tenant-module-placeholder,
body.migo-team-route-canonical-v30212 #teamView > .migo-team-page-v30211:not([data-migo-team-canonical-v30212]) {
  display: none !important;
}
.migo-team-page-v30212 {
  display: grid;
  gap: 18px;
  animation: migoTeamIn30212 .16s ease-out;
}
@keyframes migoTeamIn30212 {
  from { opacity: .65; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}
.migo-team-hero-v30212 {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr);
  gap: 18px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .14), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(248,250,252,.94));
  box-shadow: 0 22px 60px rgba(15, 23, 42, .08);
}
.migo-team-hero-v30212 h2 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.migo-team-hero-v30212 p {
  max-width: 760px;
  color: #64748b;
}
.migo-team-actions-v30212,
.migo-team-row-actions-v30212 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.migo-team-actions-v30212 button,
.migo-team-row-actions-v30212 button,
.migo-team-v30212 button {
  border: 0;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  background: var(--brand-accent, #2563eb);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
}
.migo-team-v30212 button.secondary,
.migo-team-actions-v30212 button.secondary,
.migo-team-row-actions-v30212 button.secondary {
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, .26);
  box-shadow: none;
}
.migo-team-v30212 button.danger {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid rgba(244, 63, 94, .22);
  box-shadow: none;
}
.migo-team-status-v30212,
.migo-team-panel-v30212,
.migo-team-kpi-v30212 {
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .06);
}
.migo-team-status-v30212 {
  padding: 18px;
  display: grid;
  align-content: space-between;
  min-height: 220px;
}
.migo-team-status-v30212 span,
.migo-team-badge-v30212,
.migo-team-role-tag-v30212 {
  width: max-content;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(37, 99, 235, .10);
  color: #1d4ed8;
  font-weight: 800;
  font-size: 12px;
}
.migo-team-status-v30212 strong {
  display: block;
  margin-top: 14px;
  font-size: 22px;
  color: #0f172a;
}
.migo-team-kpis-v30212 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.migo-team-kpi-v30212 {
  padding: 16px;
}
.migo-team-kpi-v30212 span,
.migo-team-panel-v30212 p,
.migo-team-member-v30212 small,
.migo-team-role-v30212 small,
.migo-team-check-v30212 small,
.migo-team-invite-card-v30212 small {
  color: #64748b;
}
.migo-team-kpi-v30212 strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 28px;
  letter-spacing: -.03em;
}
.migo-team-grid-v30212 {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 18px;
  align-items: start;
}
.migo-team-panel-v30212 {
  padding: 18px;
}
.migo-team-panel-head-v30212 {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.migo-team-member-v30212,
.migo-team-role-v30212,
.migo-team-check-v30212,
.migo-team-invite-card-v30212 {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 18px;
  background: #f8fafc;
  margin-top: 10px;
}
.migo-team-avatar-v30212,
.migo-team-check-icon-v30212 {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-accent, #2563eb), #111827);
  color: #fff;
  font-weight: 900;
}
.migo-team-member-v30212 > div:nth-child(2),
.migo-team-role-v30212 > div:nth-child(2),
.migo-team-check-v30212 > div:nth-child(2),
.migo-team-invite-card-v30212 > div:nth-child(2) {
  min-width: 0;
  flex: 1 1 auto;
}
.migo-team-member-v30212 b,
.migo-team-role-v30212 b,
.migo-team-check-v30212 b,
.migo-team-invite-card-v30212 b {
  display: block;
  color: #0f172a;
}
.migo-team-invite-box-v30212 {
  margin-top: 14px;
  padding: 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(248,250,252,.95));
  border: 1px solid rgba(37,99,235,.16);
}
.migo-team-invite-box-v30212 span {
  display: block;
  margin-top: 4px;
  color: #64748b;
}
.migo-team-drafts-v30212 {
  display: grid;
  gap: 10px;
}
.migo-team-invite-card-v30212 .migo-team-draft-actions-v30212 {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}
.migo-team-invite-dialog-v30212::backdrop {
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(6px);
}
.migo-team-invite-dialog-v30212 {
  width: min(560px, calc(100vw - 30px));
  border: 0;
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 30px 90px rgba(15,23,42,.28);
}
.migo-team-invite-modal-v30212 {
  padding: 22px;
  background: #fff;
}
.migo-team-invite-modal-v30212 h3 {
  margin: 0 0 6px;
}
.migo-team-invite-modal-v30212 label {
  display: grid;
  gap: 6px;
  margin-top: 12px;
  font-weight: 800;
  color: #334155;
}
.migo-team-invite-modal-v30212 input,
.migo-team-invite-modal-v30212 select,
.migo-team-invite-modal-v30212 textarea {
  width: 100%;
  border: 1px solid rgba(148,163,184,.32);
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
}
.migo-team-invite-modal-actions-v30212 {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
body.migo-team-route-canonical-v30212 .migo-auto-refresh-box {
  display: none !important;
}
@media (max-width: 980px) {
  .migo-team-hero-v30212,
  .migo-team-grid-v30212 {
    grid-template-columns: 1fr;
  }
  .migo-team-kpis-v30212 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Migo CRM v3.0.41 Toggleable global search and compact Codex sidebar */
body.crm-app.migo-sidebar-modern-v3039 .sidebar,
body.crm-app.migo-sidebar-modern-v3039 aside.sidebar {
  gap: 0 !important;
  padding-bottom: 0 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row {
  min-height: 52px !important;
  padding: 8px 11px 6px !important;
  border-bottom-color: transparent !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row .brand-mark,
body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row .brand-logo-full {
  pointer-events: auto !important;
  cursor: pointer !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row .brand-mark:focus-visible {
  outline: 2px solid #789b68 !important;
  outline-offset: 3px !important;
  border-radius: 7px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-sidebar-tool-v3039[data-migo-sidebar-tool="search"].is-active {
  background: #dfe9d9 !important;
  color: #38533c !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar:not(.migo-global-search-open-v3041) > #migoSidebarSearchHost {
  display: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar.migo-global-search-open-v3041 > #migoSidebarSearchHost {
  display: block !important;
  margin: 5px 10px 6px !important;
  overflow: visible !important;
  z-index: 500 !important;
  animation: migo-global-search-in-v3041 .14s ease-out;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost .migo-sidebar-search-inner {
  height: 38px !important;
  min-height: 38px !important;
  border-color: #cfdcc9 !important;
  background: #ffffff !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost input#migoSidebarSearch {
  height: 36px !important;
  font-size: 13px !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost .migo-sidebar-search-empty {
  display: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-results-v3041 {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: 0 !important;
  max-height: min(520px, calc(100vh - 132px)) !important;
  padding: 6px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  border: 1px solid #d7e1d2 !important;
  border-radius: 11px !important;
  background: #fffefb !important;
  box-shadow: 0 18px 42px rgba(42, 56, 45, .18) !important;
  scrollbar-width: thin !important;
  scrollbar-color: #ccd8c7 transparent !important;
  z-index: 520 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-results-v3041[hidden] {
  display: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-results-v3041 section {
  display: grid !important;
  gap: 2px !important;
  margin: 0 0 6px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-results-v3041 section:last-child {
  margin-bottom: 0 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-group-v3041 {
  padding: 7px 8px 4px !important;
  color: #929c91 !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-result-v3041 {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  padding: 6px 7px !important;
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) 14px !important;
  align-items: center !important;
  gap: 8px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #354238 !important;
  text-align: left !important;
  box-shadow: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-result-v3041:hover,
body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-result-v3041:focus-visible {
  background: #edf3e9 !important;
  color: #263a2a !important;
  outline: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-result-v3041 .migo-nav-icon-v3027 {
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  color: #738175 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-fallback-v3041 {
  width: 8px !important;
  height: 8px !important;
  margin: auto !important;
  border-radius: 50% !important;
  background: #86a578 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-copy-v3041 {
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-copy-v3041 strong,
body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-copy-v3041 small {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-copy-v3041 strong {
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 680 !important;
  line-height: 1.25 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-copy-v3041 small {
  color: #899489 !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-arrow-v3041 {
  color: #a3ada1 !important;
  font-size: 17px !important;
  line-height: 1 !important;
  text-align: center !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-state-v3041 {
  min-height: 58px !important;
  padding: 12px 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 3px !important;
  color: #879287 !important;
  font-size: 11px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-state-v3041 strong {
  color: #455147 !important;
  font-size: 12px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-state-v3041.is-loading {
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-state-v3041.is-loading > span {
  width: 13px !important;
  height: 13px !important;
  border: 2px solid #d5dfd0 !important;
  border-top-color: #6d9659 !important;
  border-radius: 50% !important;
  animation: migo-global-search-spin-v3041 .7s linear infinite;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027 {
  margin-top: 7px !important;
  padding-top: 7px !important;
  color: #8d988c !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item.active {
  background: #e2eadf !important;
  box-shadow: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .migo-sidebar-scroll {
  padding-bottom: 4px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar-footer {
  margin: 0 !important;
  padding: 4px 8px 6px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-main {
  height: 40px !important;
  min-height: 40px !important;
  padding: 4px 5px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-user-avatar {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  flex-basis: 28px !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost input#migoSidebarSearch::-webkit-search-cancel-button,
body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost input#migoSidebarSearch::-webkit-search-decoration {
  display: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

@keyframes migo-global-search-in-v3041 {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes migo-global-search-spin-v3041 {
  to { transform: rotate(360deg); }
}

@media (max-width: 560px) {
  body.crm-app.migo-sidebar-modern-v3039 .sidebar.migo-global-search-open-v3041 > #migoSidebarSearchHost {
    margin-left: 8px !important;
    margin-right: 8px !important;
  }

  body.crm-app.migo-sidebar-modern-v3039 .migo-global-search-results-v3041 {
    max-height: calc(100vh - 124px) !important;
  }
}

/* Migo CRM v3.0.38 notification table fit */
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table,
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card .data-table {
  min-width: 0;
  table-layout: fixed;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table th:nth-child(1),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table td:nth-child(1) {
  width: 9%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table th:nth-child(2),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table td:nth-child(2) {
  width: 28%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table th:nth-child(3),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table td:nth-child(3) {
  width: 33%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table th:nth-child(4),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table td:nth-child(4) {
  width: 15%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table th:nth-child(5),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table td:nth-child(5) {
  width: 15%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:first-child .data-table th:nth-child(1),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:first-child .data-table td:nth-child(1) {
  width: 26%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:first-child .data-table th:nth-child(2),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:first-child .data-table td:nth-child(2) {
  width: 32%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:first-child .data-table th:nth-child(3),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:first-child .data-table td:nth-child(3) {
  width: 12%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:first-child .data-table th:nth-child(4),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:first-child .data-table td:nth-child(4) {
  width: 12%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:first-child .data-table th:nth-child(5),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:first-child .data-table td:nth-child(5) {
  width: 18%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table th:nth-child(1),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table td:nth-child(1) {
  width: 9%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table th:nth-child(2),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table td:nth-child(2) {
  width: 14%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table th:nth-child(3),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table td:nth-child(3) {
  width: 26%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table th:nth-child(4),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table td:nth-child(4) {
  width: 11%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table th:nth-child(5),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table td:nth-child(5) {
  width: 20%;
}

body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table th:nth-child(6),
body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card:last-child .data-table td:nth-child(6) {
  width: 20%;
}

@media (max-width: 640px) {
  body.crm-app #notificationCenterView.active > .layout-grid:nth-child(2) > .panel-card:nth-child(2) .data-table,
  body.crm-app #notificationCenterView.active > .layout-grid:nth-child(3) > .panel-card .data-table {
    table-layout: auto;
  }
}

/* Migo CRM v3.0.39 Codex-inspired navigation */
body.crm-app.migo-sidebar-modern-v3039 {
  --sidebar-width: 280px;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar,
body.crm-app.migo-sidebar-modern-v3039 aside.sidebar {
  background: #f3f7ee !important;
  color: #344038 !important;
  border-right: 1px solid #dfe7da !important;
  box-shadow: 4px 0 18px rgba(48, 64, 52, .06) !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row {
  min-height: 56px !important;
  padding: 11px 13px 9px !important;
  gap: 9px !important;
  border-bottom: 1px solid #e1e8dc !important;
  background: transparent !important;
  pointer-events: auto !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row > div:not(.brand-mark):not(.migo-brand-actions):not(.migo-sidebar-modern-tools-v3039) {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row .brand-mark:not(.brand-mark-logo) {
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  border-radius: 9px !important;
  background: #dcebd4 !important;
  color: #4d7d43 !important;
  box-shadow: none !important;
  font-size: 12px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row.brand-logo-only {
  gap: 0 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row.brand-logo-only .brand-mark.brand-mark-logo {
  width: min(132px, calc(100% - 104px)) !important;
  max-width: 132px !important;
  height: 34px !important;
  max-height: 34px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  justify-content: flex-start !important;
  box-shadow: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row.brand-logo-only .brand-mark.brand-mark-logo img,
body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row .brand-logo-full {
  width: auto !important;
  max-width: 132px !important;
  height: auto !important;
  max-height: 34px !important;
  object-fit: contain !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row strong {
  color: #2f3a31 !important;
  font-size: 15px !important;
  line-height: 19px !important;
  font-weight: 800 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row .migo-brand-actions {
  display: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-sidebar-modern-tools-v3039 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-sidebar-tool-v3039 {
  position: relative !important;
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #708070 !important;
  box-shadow: none !important;
  line-height: 0 !important;
  transition: background-color .16s ease, color .16s ease !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-sidebar-tool-v3039:hover,
body.crm-app.migo-sidebar-modern-v3039 .migo-sidebar-tool-v3039:focus-visible {
  background: #e5eedf !important;
  color: #405441 !important;
  outline: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-sidebar-tool-v3039 svg {
  width: 17px !important;
  height: 17px !important;
  display: block !important;
  pointer-events: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost {
  order: 2 !important;
  flex: 0 0 auto !important;
  display: block !important;
  margin: 8px 12px 7px !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 120 !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost .migo-sidebar-search,
body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost .migo-sidebar-search-inner {
  margin: 0 !important;
  box-shadow: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost .migo-sidebar-search-inner {
  height: 36px !important;
  min-height: 36px !important;
  display: grid !important;
  grid-template-columns: 16px minmax(0, 1fr) 22px !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 0 9px !important;
  border: 1px solid #dbe5d6 !important;
  border-radius: 9px !important;
  background: #edf3e9 !important;
  color: #6e7b6f !important;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost .migo-sidebar-search-inner:focus-within {
  border-color: #a9c39f !important;
  background: #f8fbf5 !important;
  box-shadow: 0 0 0 3px rgba(102, 145, 85, .12) !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost .migo-sidebar-search-icon {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='6.5' fill='none' stroke='%236e7b6f' stroke-width='1.8'/%3E%3Cpath d='m16 16 5 5' fill='none' stroke='%236e7b6f' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 15px 15px no-repeat !important;
  pointer-events: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost input#migoSidebarSearch {
  width: 100% !important;
  height: 34px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #354238 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost input#migoSidebarSearch::placeholder {
  color: #8a968a !important;
  font-weight: 500 !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost #migoSidebarSearchClear {
  width: 21px !important;
  height: 21px !important;
  min-width: 21px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #7f8b80 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost #migoSidebarSearchClear:hover {
  background: #e0eadb !important;
  color: #3f5142 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .migo-sidebar-scroll {
  order: 3 !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 5px 9px 14px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin !important;
  scrollbar-color: #cbd8c7 transparent !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .migo-sidebar-scroll::-webkit-scrollbar {
  width: 6px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .migo-sidebar-scroll::-webkit-scrollbar-track {
  background: transparent !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .migo-sidebar-scroll::-webkit-scrollbar-thumb {
  background: #cbd8c7 !important;
  border-radius: 99px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar nav {
  display: grid !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027 {
  width: 100% !important;
  min-height: 30px !important;
  margin: 8px 0 1px !important;
  padding: 8px 9px 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: #929e91 !important;
  text-align: left !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027:hover,
body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027:focus-visible {
  color: #657564 !important;
  background: #edf3e9 !important;
  outline: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027 > .migo-nav-group-indicator-v3030 {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  margin-left: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: transparent !important;
  color: #8d9a8c !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 20px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027:hover > .migo-nav-group-indicator-v3030 {
  background: #e1ebdc !important;
  color: #556b57 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 7px 35px 7px 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #4c594e !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  box-shadow: none !important;
  transition: background-color .14s ease, color .14s ease, box-shadow .14s ease !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item:hover,
body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item:focus-visible {
  background: #e8f0e3 !important;
  color: #314234 !important;
  outline: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item.active {
  background: #e1ebdc !important;
  color: #263b2b !important;
  box-shadow: inset 3px 0 0 #6d9659 !important;
  font-weight: 750 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item .migo-nav-icon-v3027 {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  flex: 0 0 16px !important;
  color: #7c897d !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item.active .migo-nav-icon-v3027,
body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item:hover .migo-nav-icon-v3027 {
  color: #5f8c50 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item .migo-nav-text-v3027 {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-pin-v3039,
body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-remove-v3039 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #9aa797 !important;
  line-height: 0 !important;
  transition: background-color .14s ease, color .14s ease, opacity .14s ease !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-pin-v3039 {
  position: absolute !important;
  right: 6px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 6px !important;
  opacity: 0 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item:hover .migo-nav-pin-v3039,
body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item.migo-nav-is-pinned-v3039 .migo-nav-pin-v3039,
body.crm-app.migo-sidebar-modern-v3039 .migo-nav-pin-v3039:focus-visible {
  opacity: 1 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-pin-v3039:hover,
body.crm-app.migo-sidebar-modern-v3039 .migo-nav-pin-v3039:focus-visible,
body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-remove-v3039:hover,
body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-remove-v3039:focus-visible {
  background: #dce8d7 !important;
  color: #5a824d !important;
  outline: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-pin-v3039 svg,
body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-remove-v3039 svg {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
  pointer-events: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-sidebar-pinned-v3039 {
  display: grid !important;
  gap: 2px !important;
  margin: 8px 0 13px !important;
  padding: 0 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-sidebar-pinned-v3039[hidden] {
  display: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-sidebar-section-label-v3039 {
  min-height: 30px !important;
  padding: 12px 9px 5px !important;
  color: #929e91 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-item-v3039 {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 7px 6px 7px 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: #4c594e !important;
  text-align: left !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  box-shadow: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-item-v3039:hover,
body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-item-v3039:focus-visible {
  background: #e8f0e3 !important;
  color: #314234 !important;
  outline: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-item-v3039 .migo-nav-icon-v3027 {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  color: #7c897d !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-label-v3039 {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-remove-v3039 {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  border-radius: 6px !important;
  opacity: .55 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-item-v3039:hover .migo-pinned-remove-v3039,
body.crm-app.migo-sidebar-modern-v3039 .migo-pinned-remove-v3039:focus-visible {
  opacity: 1 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar-footer {
  order: 4 !important;
  flex: 0 0 auto !important;
  min-height: auto !important;
  margin-top: 0 !important;
  padding: 9px 11px 11px !important;
  border-top: 1px solid #e1e8dc !important;
  background: transparent !important;
  border-radius: 0 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-main {
  width: 100% !important;
  height: 45px !important;
  min-height: 45px !important;
  padding: 5px 6px !important;
  gap: 9px !important;
  border: 1px solid transparent !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #445146 !important;
  box-shadow: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-main:hover,
body.crm-app.migo-sidebar-modern-v3039 .migo-account-footer.is-open .migo-account-main {
  border-color: #dbe5d6 !important;
  background: #e8f0e3 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-user-avatar {
  width: 31px !important;
  height: 31px !important;
  min-width: 31px !important;
  flex: 0 0 31px !important;
  border-radius: 50% !important;
  background: #6c9a5b !important;
  color: #fff !important;
  font-size: 11px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-text strong {
  color: #344238 !important;
  font-size: 12px !important;
  line-height: 17px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-text span {
  color: #8a968a !important;
  font-size: 10px !important;
  line-height: 14px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-caret {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border-radius: 7px !important;
  color: #879387 !important;
  font-size: 16px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-main:hover .migo-account-caret {
  background: #dce8d7 !important;
  color: #526a54 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-menu {
  border: 1px solid #dbe5d6 !important;
  border-radius: 12px !important;
  background: #fffefb !important;
  box-shadow: 0 18px 44px rgba(48, 64, 52, .16) !important;
  backdrop-filter: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-menu-head {
  border-bottom-color: #e8eee4 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-menu-head strong {
  color: #344238 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-menu-head span {
  color: #8a968a !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-cabinet-select {
  border-color: #dbe5d6 !important;
  background: #f3f7ee !important;
  color: #344238 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-actions button {
  color: #445146 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-actions button:hover {
  background: #edf3e9 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-actions [data-migo-account-logout] {
  color: #b42318 !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarOpenButton {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  left: 14px !important;
  bottom: 14px !important;
  border: 1px solid #d3dfce !important;
  border-radius: 9px !important;
  background: #f3f7ee !important;
  color: #526552 !important;
  box-shadow: 0 12px 28px rgba(48, 64, 52, .16) !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarOpenButton:hover {
  background: #e6efdf !important;
  color: #314a35 !important;
  box-shadow: 0 14px 32px rgba(48, 64, 52, .20) !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarOpenButton svg {
  width: 17px !important;
  height: 17px !important;
}

body.crm-app.migo-sidebar-modern-v3039.migo-sidebar-hidden .main-panel,
body.crm-app.migo-sidebar-modern-v3039.migo-sidebar-hidden .topbar {
  transition: none !important;
}

@media (max-width: 920px) {
  body.crm-app.migo-sidebar-modern-v3039 .sidebar,
  body.crm-app.migo-sidebar-modern-v3039 aside.sidebar {
    width: min(280px, calc(100vw - 48px)) !important;
    min-width: min(280px, calc(100vw - 48px)) !important;
    max-width: min(280px, calc(100vw - 48px)) !important;
    box-shadow: 18px 0 44px rgba(48, 64, 52, .18) !important;
  }
}

@media (max-width: 560px) {
  body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row {
    padding-left: 11px !important;
    padding-right: 10px !important;
  }

  body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
}

/* v3.0.92: obsolete v3.0.35 Team View Isolation removed.
   The canonical single router owns .view.active; no route-specific body class is required. */

/* Migo CRM v3.0.32 Minimal Commercial Workspaces */
body.crm-app.migo-modern-module-v3032 {
  --migo-module-line-v3032: #d9dee7;
  --migo-module-soft-v3032: #eef2f6;
  --migo-module-muted-v3032: #687386;
  --migo-module-ink-v3032: #101827;
}

body.crm-app.migo-modern-module-v3032 .topbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 0 !important;
  margin: 0 0 10px !important;
  padding: 0 0 10px !important;
}

body.crm-app.migo-modern-module-v3032 .topbar .eyebrow,
body.crm-app.migo-modern-module-v3032 .topbar-actions > .migo-auto-refresh-box {
  display: none !important;
}

body.crm-app.migo-modern-module-v3032 .topbar h1 {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-modern-module-v3032 .topbar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
}

body.crm-app.migo-modern-module-v3032 .topbar-actions > button {
  width: auto !important;
  min-width: 0 !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-module-v3032 #productsView.active,
body.crm-app.migo-modern-module-v3032 #paymentAccountsView.active,
body.crm-app.migo-modern-module-v3032 #quotesView.active,
body.crm-app.migo-modern-module-v3032 #reportsView.active,
body.crm-app.migo-modern-module-v3032 #teamView.active {
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
}

body.crm-app.migo-modern-module-v3032 .migo-products-page,
body.crm-app.migo-modern-module-v3032 .migo-payment-accounts-workspace,
body.crm-app.migo-modern-module-v3032 .migo-quotes-v262,
body.crm-app.migo-modern-module-v3032 .migo-reports-pro-page,
body.crm-app.migo-modern-module-v3032 .migo-team-page-v30212 {
  gap: 10px !important;
  width: 100%;
  min-width: 0;
  animation: none !important;
}

body.crm-app.migo-modern-module-v3032 .migo-products-head,
body.crm-app.migo-modern-module-v3032 .migo-quotes-head,
body.crm-app.migo-modern-module-v3032 .migo-reports-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 42px !important;
  padding: 0 0 10px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-module-v3032 .migo-products-head .migo-eyebrow,
body.crm-app.migo-modern-module-v3032 .migo-products-head h2,
body.crm-app.migo-modern-module-v3032 .migo-quotes-head .migo-eyebrow,
body.crm-app.migo-modern-module-v3032 .migo-quotes-head h2,
body.crm-app.migo-modern-module-v3032 .migo-reports-hero .migo-eyebrow,
body.crm-app.migo-modern-module-v3032 .migo-reports-hero h2 {
  display: none !important;
}

body.crm-app.migo-modern-module-v3032 .migo-products-head p,
body.crm-app.migo-modern-module-v3032 .migo-quotes-head p,
body.crm-app.migo-modern-module-v3032 .migo-reports-hero p {
  margin: 0 !important;
  max-width: 720px;
  color: var(--migo-module-muted-v3032) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

body.crm-app.migo-modern-module-v3032 .migo-products-actions,
body.crm-app.migo-modern-module-v3032 .migo-quotes-actions,
body.crm-app.migo-modern-module-v3032 .migo-report-filters,
body.crm-app.migo-modern-module-v3032 .migo-team-actions-v30212,
body.crm-app.migo-modern-module-v3032 .migo-team-row-actions-v30212 {
  display: flex !important;
  flex: 0 0 auto;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin: 0 !important;
}

body.crm-app.migo-modern-module-v3032 .mini-btn,
body.crm-app.migo-modern-module-v3032 .primary-btn,
body.crm-app.migo-modern-module-v3032 .secondary-btn,
body.crm-app.migo-modern-module-v3032 .migo-team-v30212 button {
  min-height: 34px !important;
  height: 34px;
  padding: 0 11px !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-module-v3032 .migo-module-primary-v3032 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-color: var(--migo-module-ink-v3032) !important;
  background: var(--migo-module-ink-v3032) !important;
  color: #fff !important;
}

body.crm-app.migo-modern-products-v3032 [data-products-refresh],
body.crm-app.migo-modern-paymentAccounts-v3032 [data-pay-refresh],
body.crm-app.migo-modern-quotes-v3032 [data-quotes-refresh],
body.crm-app.migo-modern-reports-v3032 [data-report-refresh] {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #fff !important;
}

body.crm-app.migo-modern-module-v3032 .panel-card {
  padding: 12px !important;
  border: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-module-v3032 .panel-head {
  gap: 10px !important;
  margin: 0 0 10px !important;
  padding: 0 0 9px !important;
  border-bottom: 1px solid var(--migo-module-line-v3032);
}

body.crm-app.migo-modern-module-v3032 .panel-head h3,
body.crm-app.migo-modern-module-v3032 .migo-team-panel-v30212 h3 {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-modern-module-v3032 input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body.crm-app.migo-modern-module-v3032 select {
  min-height: 34px !important;
  height: 34px;
  padding: 6px 9px !important;
  border-radius: 7px !important;
  border-color: var(--migo-module-line-v3032) !important;
  background: #fff !important;
  font-size: 12px !important;
}

body.crm-app.migo-modern-module-v3032 textarea {
  padding: 8px 9px !important;
  border-radius: 7px !important;
  border-color: var(--migo-module-line-v3032) !important;
  background: #fff !important;
  font-size: 12px !important;
}

.migo-visually-hidden-v3032 {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.migo-module-tabs-v3032 {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 3px;
  overflow-x: auto;
  border: 1px solid var(--migo-module-line-v3032);
  border-radius: 8px;
  background: #fff;
  scrollbar-width: none;
}

.migo-module-tabs-v3032::-webkit-scrollbar {
  display: none;
}

.migo-module-tabs-v3032 button {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #526074;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.migo-module-tabs-v3032 button:hover {
  background: var(--migo-module-soft-v3032);
  color: var(--migo-module-ink-v3032);
}

.migo-module-tabs-v3032 button.is-active {
  background: var(--migo-module-ink-v3032);
  color: #fff;
}

/* Products */
body.crm-app.migo-modern-products-v3032 .migo-products-page {
  display: flex !important;
  flex-direction: column;
}

body.crm-app.migo-modern-products-v3032 .migo-products-head { order: 1; }
body.crm-app.migo-modern-products-v3032 .migo-products-kpis { order: 2; }
body.crm-app.migo-modern-products-v3032 .migo-products-tabs-v3032 { order: 3; }
body.crm-app.migo-modern-products-v3032 .migo-products-form-card { order: 4; }
body.crm-app.migo-modern-products-v3032 .migo-products-list-card,
body.crm-app.migo-modern-products-v3032 .migo-products-category-card,
body.crm-app.migo-modern-products-v3032 .migo-products-composer-card,
body.crm-app.migo-modern-products-v3032 .migo-products-payment-card { order: 5; }

body.crm-app.migo-modern-products-v3032 .migo-products-kpis,
body.crm-app.migo-modern-quotes-v3032 .migo-quotes-stats,
body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-kpis,
body.crm-app.migo-modern-team-v3032 .migo-team-kpis-v30212,
body.crm-app.migo-modern-reports-v3032 .migo-report-kpi-grid {
  display: flex !important;
  gap: 0 !important;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  border-top: 1px solid var(--migo-module-line-v3032);
  border-bottom: 1px solid var(--migo-module-line-v3032);
  scrollbar-width: none;
}

body.crm-app.migo-modern-products-v3032 .migo-products-kpis::-webkit-scrollbar,
body.crm-app.migo-modern-quotes-v3032 .migo-quotes-stats::-webkit-scrollbar,
body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-kpis::-webkit-scrollbar,
body.crm-app.migo-modern-team-v3032 .migo-team-kpis-v30212::-webkit-scrollbar,
body.crm-app.migo-modern-reports-v3032 .migo-report-kpi-grid::-webkit-scrollbar {
  display: none;
}

body.crm-app.migo-modern-products-v3032 .migo-stat-card,
body.crm-app.migo-modern-quotes-v3032 .migo-stat-card,
body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-kpi,
body.crm-app.migo-modern-team-v3032 .migo-team-kpi-v30212,
body.crm-app.migo-modern-reports-v3032 .migo-report-kpi {
  flex: 1 0 126px !important;
  min-width: 126px !important;
  min-height: 58px !important;
  padding: 8px 11px !important;
  border: 0 !important;
  border-right: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-products-v3032 .migo-stat-card:last-child,
body.crm-app.migo-modern-quotes-v3032 .migo-stat-card:last-child,
body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-kpi:last-child,
body.crm-app.migo-modern-team-v3032 .migo-team-kpi-v30212:last-child,
body.crm-app.migo-modern-reports-v3032 .migo-report-kpi:last-child {
  border-right: 0 !important;
}

body.crm-app.migo-modern-products-v3032 .migo-stat-card span,
body.crm-app.migo-modern-quotes-v3032 .migo-stat-card span,
body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-kpi span,
body.crm-app.migo-modern-team-v3032 .migo-team-kpi-v30212 span,
body.crm-app.migo-modern-reports-v3032 .migo-report-kpi span {
  margin: 0 0 3px !important;
  color: var(--migo-module-muted-v3032) !important;
  font-size: 10px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

body.crm-app.migo-modern-products-v3032 .migo-stat-card strong,
body.crm-app.migo-modern-quotes-v3032 .migo-stat-card strong,
body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-kpi strong,
body.crm-app.migo-modern-team-v3032 .migo-team-kpi-v30212 strong,
body.crm-app.migo-modern-reports-v3032 .migo-report-kpi strong {
  display: block;
  margin: 0 !important;
  color: var(--migo-module-ink-v3032) !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-kpi small,
body.crm-app.migo-modern-team-v3032 .migo-team-kpi-v30212 small,
body.crm-app.migo-modern-reports-v3032 .migo-report-kpi small {
  display: block;
  margin: 2px 0 0 !important;
  color: #8a95a6 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}

body.crm-app.migo-modern-products-v3032 .migo-products-form-card[hidden],
body.crm-app.migo-modern-products-v3032 .migo-products-category-card[hidden],
body.crm-app.migo-modern-products-v3032 .migo-products-composer-card[hidden],
body.crm-app.migo-modern-products-v3032 .migo-products-payment-card[hidden],
body.crm-app.migo-modern-products-v3032 .migo-products-list-card[hidden],
body.crm-app.migo-modern-quotes-v3032 .migo-quote-create-card[hidden],
body.crm-app.migo-modern-quotes-v3032 .migo-quote-row[hidden] {
  display: none !important;
}

body.crm-app.migo-modern-products-v3032 .migo-product-grid {
  grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
  gap: 9px !important;
}

body.crm-app.migo-modern-products-v3032 .migo-product-grid label,
body.crm-app.migo-modern-products-v3032 .migo-category-form label {
  gap: 4px !important;
  color: #526074 !important;
  font-size: 11px !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-modern-products-v3032 .migo-product-grid textarea {
  min-height: 68px !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-list-card {
  padding: 0 !important;
  border: 0 !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-list-card > .panel-head {
  padding: 8px 0 10px !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-filters {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) 160px;
  gap: 6px !important;
  width: min(520px, 100%);
}

body.crm-app.migo-modern-products-v3032 .migo-products-filters input {
  min-width: 0 !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-list {
  display: grid !important;
  gap: 0 !important;
  border: 1px solid var(--migo-module-line-v3032);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

body.crm-app.migo-modern-products-v3032 .migo-product-card {
  grid-template-columns: 42px minmax(180px, 1fr) minmax(120px, auto) minmax(200px, auto) !important;
  gap: 10px !important;
  padding: 10px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-products-v3032 .migo-product-card:last-child {
  border-bottom: 0 !important;
}

body.crm-app.migo-modern-products-v3032 .migo-product-media {
  width: 38px !important;
  height: 38px !important;
  border-radius: 7px !important;
  background: #e8eef6 !important;
  color: #2c5ea8 !important;
  font-size: 15px !important;
}

body.crm-app.migo-modern-products-v3032 .migo-product-title strong,
body.crm-app.migo-modern-products-v3032 .migo-product-price strong {
  font-size: 14px !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-modern-products-v3032 .migo-product-main p {
  overflow: hidden;
  color: var(--migo-module-muted-v3032) !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app.migo-modern-products-v3032 .migo-product-actions {
  gap: 5px !important;
}

body.crm-app.migo-modern-products-v3032 .migo-product-actions .mini-btn {
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 8px !important;
  font-size: 11px !important;
}

/* Payment accounts */
body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-toolbar {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) 190px auto;
  gap: 6px !important;
  align-items: center !important;
  padding: 8px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 0 !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-toolbar input {
  min-width: 0 !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-list {
  display: grid !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-account-card {
  gap: 10px !important;
  padding: 11px !important;
  border: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-account-card.client-confirmed {
  border-left: 3px solid #159a73 !important;
  background: #fff !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-card-top strong {
  font-size: 14px !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-card-top span {
  margin-top: 1px !important;
  font-size: 12px !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-card-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(100px, 1fr)) !important;
  gap: 0 !important;
  overflow-x: auto;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-card-grid > div {
  min-width: 100px;
  padding: 4px 9px !important;
  border: 0 !important;
  border-right: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-card-grid > div:last-child {
  border-right: 0 !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-card-grid span {
  font-size: 10px !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-card-grid strong {
  font-size: 12px !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-public-row {
  min-height: 30px;
  padding-top: 8px;
  border-top: 1px solid var(--migo-module-line-v3032);
  font-size: 11px !important;
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-card-actions {
  gap: 5px !important;
  padding-top: 8px;
  border-top: 1px solid var(--migo-module-line-v3032);
}

body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-card-actions .mini-btn,
body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-public-row .mini-btn {
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 8px !important;
  font-size: 11px !important;
}

/* Quotes */
body.crm-app.migo-modern-quotes-v3032 .migo-quotes-v262 {
  display: flex !important;
  flex-direction: column;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quotes-head { order: 1; }
body.crm-app.migo-modern-quotes-v3032 .migo-quotes-stats { order: 2; }
body.crm-app.migo-modern-quotes-v3032 .migo-quotes-filter-v3032 { order: 3; }
body.crm-app.migo-modern-quotes-v3032 .migo-quotes-list { order: 4; }
body.crm-app.migo-modern-quotes-v3032 .migo-quote-create-card { order: 5; }

body.crm-app.migo-modern-quotes-v3032 .migo-quotes-filter-v3032 {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto;
  gap: 6px;
  align-items: center;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--migo-module-line-v3032);
}

body.crm-app.migo-modern-quotes-v3032 .migo-quotes-filter-v3032 label {
  min-width: 0;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quotes-filter-v3032 input,
body.crm-app.migo-modern-quotes-v3032 .migo-quotes-filter-v3032 select {
  width: 100%;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quotes-filter-v3032 > span {
  color: var(--migo-module-muted-v3032);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quotes-list {
  display: grid !important;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid var(--migo-module-line-v3032);
  border-radius: 8px;
  background: #fff;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quote-row {
  grid-template-columns: minmax(0, 1fr) minmax(170px, auto) 58px !important;
  gap: 12px !important;
  min-height: 64px;
  padding: 9px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quote-row:last-child {
  border-bottom: 0 !important;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quote-row:hover {
  background: #f7f9fc !important;
  border-color: var(--migo-module-line-v3032) !important;
  transform: none !important;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quote-number {
  margin: 0 0 2px !important;
  font-size: 10px !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quote-title {
  font-size: 13px !important;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quote-meta {
  display: grid !important;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: end;
  gap: 3px 8px !important;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quote-meta small {
  grid-column: 1 / -1;
  font-size: 10px !important;
}

body.crm-app.migo-modern-quotes-v3032 .migo-quote-create-card {
  grid-template-columns: minmax(210px, .7fr) minmax(320px, 1.3fr) !important;
  gap: 10px !important;
  padding: 11px !important;
  border: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-quotes-v3032 .migo-catalog-quote-card {
  background: #fff !important;
}

/* Reports */
body.crm-app.migo-modern-reports-v3032 .migo-report-filters label {
  display: flex !important;
  align-items: center;
  gap: 6px !important;
  color: var(--migo-module-muted-v3032) !important;
  font-size: 11px !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-report-filters select {
  min-width: 110px !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-report-tabs {
  display: flex !important;
  gap: 4px !important;
  min-width: 0;
  padding: 3px !important;
  overflow-x: auto;
  border: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  scrollbar-width: none;
}

body.crm-app.migo-modern-reports-v3032 .migo-report-tabs::-webkit-scrollbar {
  display: none;
}

body.crm-app.migo-modern-reports-v3032 .migo-report-tabs .mini-btn {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  min-height: 30px !important;
  height: 30px !important;
  border-color: transparent !important;
  background: transparent !important;
  color: #526074 !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-report-tabs .mini-btn.active {
  border-color: var(--migo-module-ink-v3032) !important;
  background: var(--migo-module-ink-v3032) !important;
  color: #fff !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-report-tab-body,
body.crm-app.migo-modern-reports-v3032 .migo-reports-pro-page {
  gap: 10px !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-report-grid-two {
  gap: 10px !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-report-timeline {
  height: 170px !important;
  padding-top: 8px !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-report-day-bar,
body.crm-app.migo-modern-reports-v3032 .migo-report-bar i {
  background: #2d6cdf !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-conversion-list {
  gap: 0 !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-conversion-list > div {
  padding: 9px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-conversion-list > div:last-child {
  border-bottom: 0 !important;
}

body.crm-app.migo-modern-reports-v3032 .migo-conversion-list strong {
  font-size: 17px !important;
}

body.crm-app.migo-modern-reports-v3032 .table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

body.crm-app.migo-modern-reports-v3032 table {
  font-size: 11px !important;
}

body.crm-app.migo-modern-reports-v3032 th,
body.crm-app.migo-modern-reports-v3032 td {
  padding: 8px 9px !important;
}

/* Team */
body.crm-app.migo-modern-team-v3032 .migo-team-hero-v30212 {
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr) !important;
  gap: 18px !important;
  align-items: center !important;
  padding: 0 0 11px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-hero-v30212 .migo-eyebrow {
  display: none !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-hero-v30212 h2 {
  margin: 0 0 4px !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-hero-v30212 p {
  margin: 0 !important;
  color: var(--migo-module-muted-v3032) !important;
  font-size: 12px !important;
  line-height: 1.4 !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-actions-v30212 {
  justify-content: flex-start !important;
  margin-top: 8px !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-status-v30212 {
  display: block !important;
  min-height: 0 !important;
  padding: 2px 0 2px 16px !important;
  border: 0 !important;
  border-left: 2px solid #2d6cdf !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-status-v30212 span {
  padding: 3px 7px !important;
  border-radius: 6px !important;
  font-size: 10px !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-status-v30212 strong {
  margin-top: 7px !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-status-v30212 p {
  margin-top: 3px !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-status-v30212 small {
  display: none !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-grid-v30212 {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr) !important;
  gap: 10px !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-panel-v30212 {
  padding: 12px !important;
  border: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-panel-head-v30212 {
  margin-bottom: 8px !important;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--migo-module-line-v3032);
}

body.crm-app.migo-modern-team-v3032 .migo-team-panel-v30212 > p {
  margin: 3px 0 8px !important;
  font-size: 11px !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-member-v30212,
body.crm-app.migo-modern-team-v3032 .migo-team-role-v30212,
body.crm-app.migo-modern-team-v3032 .migo-team-check-v30212,
body.crm-app.migo-modern-team-v3032 .migo-team-invite-card-v30212 {
  gap: 9px !important;
  margin: 0 !important;
  padding: 9px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-role-v30212:last-child,
body.crm-app.migo-modern-team-v3032 .migo-team-check-v30212:last-child {
  border-bottom: 0 !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-avatar-v30212,
body.crm-app.migo-modern-team-v3032 .migo-team-check-icon-v30212 {
  width: 34px !important;
  height: 34px !important;
  border-radius: 7px !important;
  background: var(--migo-module-ink-v3032) !important;
  font-size: 12px !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-member-v30212 small,
body.crm-app.migo-modern-team-v3032 .migo-team-role-v30212 small,
body.crm-app.migo-modern-team-v3032 .migo-team-check-v30212 small {
  font-size: 10px !important;
  line-height: 1.35 !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-badge-v30212 {
  padding: 3px 7px !important;
  border-radius: 6px !important;
  font-size: 10px !important;
}

body.crm-app.migo-modern-team-v3032 .migo-team-invite-box-v30212 {
  margin-top: 8px !important;
  padding: 10px !important;
  border: 1px solid var(--migo-module-line-v3032) !important;
  border-radius: 7px !important;
  background: #f7f9fc !important;
}

body.crm-app.migo-sidebar-hidden.migo-modern-module-v3032 #migoSidebarOpenButton {
  top: 18px !important;
  right: auto !important;
  bottom: auto !important;
  left: 18px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .18) !important;
}

body.crm-app.migo-sidebar-hidden.migo-modern-module-v3032 .topbar > div:first-child {
  min-height: 34px;
  padding-left: 44px !important;
}

@media (max-width: 1120px) {
  body.crm-app.migo-modern-products-v3032 .migo-product-grid {
    grid-template-columns: repeat(3, minmax(145px, 1fr)) !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-product-card {
    grid-template-columns: 42px minmax(180px, 1fr) minmax(120px, auto) !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-product-actions {
    grid-column: 2 / -1;
    justify-content: flex-start !important;
  }
}

@media (max-width: 820px) {
  body.crm-app.migo-modern-products-v3032 .migo-product-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr)) !important;
  }

  body.crm-app.migo-modern-team-v3032 .migo-team-hero-v30212,
  body.crm-app.migo-modern-team-v3032 .migo-team-grid-v30212,
  body.crm-app.migo-modern-reports-v3032 .migo-report-grid-two {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.crm-app.migo-modern-team-v3032 .migo-team-status-v30212 {
    padding: 10px 0 0 !important;
    border-top: 1px solid var(--migo-module-line-v3032) !important;
    border-left: 0 !important;
  }

  body.crm-app.migo-modern-quotes-v3032 .migo-quote-create-card {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 640px) {
  body.crm-app.migo-modern-module-v3032 .topbar {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
  }

  body.crm-app.migo-modern-module-v3032 .topbar-actions > button {
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 9px !important;
  }

  body.crm-app.migo-modern-module-v3032 .migo-products-head,
  body.crm-app.migo-modern-module-v3032 .migo-quotes-head,
  body.crm-app.migo-modern-module-v3032 .migo-reports-hero {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body.crm-app.migo-modern-module-v3032 .migo-products-head p,
  body.crm-app.migo-modern-module-v3032 .migo-quotes-head p,
  body.crm-app.migo-modern-module-v3032 .migo-reports-hero p {
    display: none !important;
  }

  body.crm-app.migo-modern-module-v3032 .migo-products-actions,
  body.crm-app.migo-modern-module-v3032 .migo-quotes-actions,
  body.crm-app.migo-modern-module-v3032 .migo-report-filters {
    justify-content: stretch !important;
  }

  body.crm-app.migo-modern-module-v3032 .migo-products-actions > button,
  body.crm-app.migo-modern-module-v3032 .migo-quotes-actions > button,
  body.crm-app.migo-modern-module-v3032 .migo-report-filters > button {
    flex: 1 1 auto;
  }

  body.crm-app.migo-modern-products-v3032 .migo-product-grid,
  body.crm-app.migo-modern-products-v3032 .migo-products-filters,
  body.crm-app.migo-modern-paymentAccounts-v3032 .migo-pay-toolbar,
  body.crm-app.migo-modern-quotes-v3032 .migo-quotes-filter-v3032 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-product-card {
    grid-template-columns: 38px minmax(0, 1fr) !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-product-price,
  body.crm-app.migo-modern-products-v3032 .migo-product-actions {
    grid-column: 1 / -1;
    justify-items: start !important;
    justify-content: flex-start !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-product-main p {
    white-space: normal;
  }

  body.crm-app.migo-modern-quotes-v3032 .migo-quote-row {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 7px !important;
  }

  body.crm-app.migo-modern-quotes-v3032 .migo-quote-meta {
    grid-template-columns: auto !important;
    justify-items: end !important;
  }

  body.crm-app.migo-modern-quotes-v3032 .migo-quote-open-hint {
    display: none !important;
  }

  body.crm-app.migo-modern-quotes-v3032 .migo-quote-create-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto;
    width: 100%;
  }

  body.crm-app.migo-modern-quotes-v3032 .migo-deal-search-box {
    min-width: 0;
  }

  body.crm-app.migo-modern-reports-v3032 .migo-report-filters label {
    flex: 1 1 100%;
  }

  body.crm-app.migo-modern-reports-v3032 .migo-report-filters select {
    flex: 1;
    min-width: 0 !important;
  }
}

@media (max-width: 520px) {
  body.crm-app.migo-modern-module-v3032 .topbar {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.crm-app.migo-modern-module-v3032 .topbar-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
  }

  body.crm-app.migo-modern-module-v3032 .topbar-actions > button {
    width: 100% !important;
  }

  body.crm-app.migo-sidebar-hidden.migo-modern-module-v3032 #migoSidebarOpenButton {
    top: 12px !important;
    left: 12px !important;
    width: 32px !important;
    height: 32px !important;
  }

  body.crm-app.migo-sidebar-hidden.migo-modern-module-v3032 .topbar > div:first-child {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding-left: 40px !important;
  }

  body.crm-app.migo-modern-quotes-v3032 .migo-quote-create-form {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.crm-app.migo-modern-quotes-v3032 .migo-quote-create-form .mini-btn,
  body.crm-app.migo-modern-quotes-v3032 .migo-quote-create-form .primary-btn {
    width: 100%;
  }

  body.crm-app.migo-modern-team-v3032 .migo-team-actions-v30212,
  body.crm-app.migo-modern-team-v3032 .migo-team-row-actions-v30212 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crm-app.migo-modern-team-v3032 .migo-team-actions-v30212 button,
  body.crm-app.migo-modern-team-v3032 .migo-team-row-actions-v30212 button {
    width: 100%;
  }
}
@media (max-width: 620px) {
  .migo-team-kpis-v30212 {
    grid-template-columns: 1fr;
  }
  .migo-team-hero-v30212 {
    padding: 16px;
  }
}
/* Migo CRM v3.0.21.2.1 Team Legacy Interval Kill */
body.migo-team-route-canonical-v302121 #dashboardView,
body.migo-team-route-canonical-v302121 #teamView > .migo-tenant-module-placeholder,
body.migo-team-route-canonical-v302121 #teamView > .migo-team-page-v30211:not([data-migo-team-canonical-v302121]),
body.migo-team-route-canonical-v302121 #teamView > .migo-team-page-v30212:not([data-migo-team-canonical-v302121]) {
  display: none !important;
}
body.migo-team-route-canonical-v302121 #teamView {
  display: block !important;
}
.migo-team-page-v302121 {
  display: grid;
  gap: 18px;
}
.migo-team-page-v302121 .migo-team-route-note-v302121 {
  color: #64748b;
  font-size: 13px;
}


/* Migo CRM v3.0.21.2.2 Team Loading Safe Mode */
body.migo-team-safe-mode-v302122 #dashboardView { display: none !important; }
body.migo-team-safe-mode-v302122 #teamView { display: block !important; }
body.migo-team-safe-mode-v302122 #teamView > .migo-tenant-module-placeholder,
body.migo-team-safe-mode-v302122 #teamView > .migo-team-page-v30211,
body.migo-team-safe-mode-v302122 #teamView > .migo-team-page-v30212,
body.migo-team-safe-mode-v302122 #teamView > .migo-team-page-v302121 { display: none !important; }
.migo-team-safe-page { display:grid; gap:18px; }
.migo-team-safe-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,360px); gap:18px; padding:24px; border:1px solid rgba(148,163,184,.24); border-radius:24px; background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(255,255,255,.96) 58%,rgba(17,24,39,.05)); box-shadow:0 18px 50px rgba(15,23,42,.08); }
.migo-team-safe-hero h2 { margin:6px 0 8px; font-size:clamp(25px,3vw,38px); line-height:1.05; }
.migo-team-safe-hero p { margin:0; color:#64748b; max-width:720px; }
.migo-team-safe-actions,.migo-team-safe-draft-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.migo-team-safe-actions button,.migo-team-safe-invite button,.migo-team-safe-draft-actions button,.migo-team-safe-form button,.migo-team-safe-empty button { border:0; border-radius:14px; padding:10px 14px; font-weight:800; cursor:pointer; color:white; background:var(--brand-accent,#2563eb); box-shadow:0 12px 28px rgba(37,99,235,.22); }
.migo-team-safe-actions button.secondary,.migo-team-safe-draft-actions button.secondary { color:#0f172a; background:white; border:1px solid rgba(148,163,184,.35); box-shadow:none; }
.migo-team-safe-status,.migo-team-safe-panel,.migo-team-safe-kpis article { background:rgba(255,255,255,.92); border:1px solid rgba(148,163,184,.24); border-radius:22px; box-shadow:0 16px 44px rgba(15,23,42,.07); }
.migo-team-safe-status { padding:18px; }
.migo-team-safe-status span { display:inline-flex; margin-bottom:12px; padding:6px 10px; border-radius:999px; background:rgba(34,197,94,.12); color:#047857; font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.migo-team-safe-status strong { display:block; font-size:18px; }
.migo-team-safe-status small { display:block; margin-top:12px; color:#64748b; }
.migo-team-safe-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.migo-team-safe-kpis article { padding:16px; }
.migo-team-safe-kpis span,.migo-team-safe-panel p,.migo-team-safe-panel small,.migo-team-safe-empty span,.migo-team-safe-invite span,.migo-team-safe-checks span { color:#64748b; }
.migo-team-safe-kpis strong { display:block; margin:8px 0 2px; font-size:28px; color:#0f172a; }
.migo-team-safe-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr); gap:18px; }
.migo-team-safe-panel { padding:20px; }
.migo-team-safe-member,.migo-team-safe-draft,.migo-team-safe-roles > div,.migo-team-safe-checks > div,.migo-team-safe-invite,.migo-team-safe-empty { display:flex; align-items:center; gap:12px; padding:14px; border:1px solid rgba(148,163,184,.22); border-radius:18px; background:#f8fafc; margin-top:10px; }
.migo-team-safe-avatar { width:44px; height:44px; border-radius:16px; display:grid; place-items:center; font-weight:900; color:white; background:linear-gradient(135deg,var(--brand-accent,#2563eb),var(--brand-secondary,#111827)); flex:0 0 auto; }
.migo-team-safe-member > span { margin-left:auto; padding:7px 10px; border-radius:999px; background:rgba(37,99,235,.10); color:#1d4ed8; font-size:12px; font-weight:900; }
.migo-team-safe-member small,.migo-team-safe-draft span,.migo-team-safe-roles span,.migo-team-safe-checks span,.migo-team-safe-invite span,.migo-team-safe-empty span { display:block; }
.migo-team-safe-invite,.migo-team-safe-empty { align-items:flex-start; flex-direction:column; background:linear-gradient(135deg,rgba(37,99,235,.08),rgba(255,255,255,.9)); }
.migo-team-safe-draft { justify-content:space-between; }
.migo-team-safe-dialog { width:min(540px,calc(100vw - 28px)); border:0; border-radius:24px; padding:22px; box-shadow:0 24px 90px rgba(15,23,42,.26); }
.migo-team-safe-dialog::backdrop { background:rgba(15,23,42,.42); backdrop-filter:blur(5px); }
.migo-team-safe-form { display:grid; gap:12px; }
.migo-team-safe-form label { display:grid; gap:6px; font-weight:800; }
.migo-team-safe-form input,.migo-team-safe-form select,.migo-team-safe-form textarea { width:100%; border:1px solid rgba(148,163,184,.4); border-radius:14px; padding:11px 12px; font:inherit; }
@media (max-width:980px){ .migo-team-safe-hero,.migo-team-safe-grid{grid-template-columns:1fr;} .migo-team-safe-kpis{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:560px){ .migo-team-safe-kpis{grid-template-columns:1fr;} }
/* Migo CRM v3.0.22 Realtime Circuit Breaker */
body.migo-tenant-client:not(.migo-realtime-active) [data-migo-realtime-disabled="1"]{
  opacity:.72;
  pointer-events:none;
}
body.migo-tenant-client .migo-auto-refresh-box .migo-auto-refresh-toggle.is-off{
  background:#f3f4f6;
  color:#6b7280;
  border-color:#e5e7eb;
}
/* Migo CRM v3.0.22.1 Team Standalone Escape */
body.migo-team-standalone-v30221{background:#f6f8fb;color:#111827;}

/* Migo CRM v3.0.22.2.1 Team Client Polish */
body.migo-team-client-v302221{background:#f6f8fb;color:#111827;}


/* Migo CRM v3.0.22.2.2 Team Diagnostic Boundary Fix */
body.migo-team-client-v302222{background:#f6f8fb;color:#111827;}


/* Migo CRM v3.0.22.3 Team Sidebar Full Menu */
.migo-team-client-v30223 .nav a{white-space:nowrap}.migo-team-client-v30223 .sideFoot span{line-height:1.4}

/* Migo CRM v3.0.23 Platform Dashboard Speed + Design */
body.migo-platform-dashboard-v3023 .main-panel {
  background: #f6f8fb;
}
body.migo-platform-dashboard-v3023 .topbar {
  margin-bottom: 18px;
}
body.migo-platform-dashboard-v3023 .topbar h1 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
}
body.migo-platform-dashboard-v3023 .topbar-actions {
  align-items: center;
  gap: 8px;
}
body.migo-platform-dashboard-v3023 .topbar-actions button,
.migo-dashboard-v3023 button {
  min-height: 38px;
  border-radius: 8px;
  white-space: nowrap;
}
body.migo-platform-dashboard-v3023 .migo-auto-refresh-box {
  border-radius: 8px;
  padding: 6px 8px;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(148,163,184,.28);
  box-shadow: none;
}
body.migo-platform-dashboard-v3023 .migo-auto-refresh-box small {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.migo-dashboard-v3023 {
  --dash-blue: #2563eb;
  --dash-green: #059669;
  --dash-amber: #d97706;
  --dash-violet: #7c3aed;
  --dash-ink: #0f172a;
  --dash-muted: #64748b;
  display: grid;
  gap: 16px;
  color: var(--dash-ink);
}
.migo-dashboard-v3023-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 16px;
  align-items: stretch;
}
.migo-dashboard-v3023-hero-main,
.migo-dashboard-v3023-status,
.migo-dashboard-v3023-kpi,
.migo-dashboard-v3023-panel {
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}
.migo-dashboard-v3023-hero-main {
  padding: 22px;
}
.migo-dashboard-v3023-eyebrow {
  margin: 0 0 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.migo-dashboard-v3023 h2,
.migo-dashboard-v3023 h3,
.migo-dashboard-v3023 p {
  letter-spacing: 0;
}
.migo-dashboard-v3023 h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.08;
}
.migo-dashboard-v3023-hero-main > p:not(.migo-dashboard-v3023-eyebrow) {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--dash-muted);
  line-height: 1.55;
}
.migo-dashboard-v3023-actions,
.migo-dashboard-v3023-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.migo-dashboard-v3023-action {
  border: 0;
  padding: 9px 12px;
  font-weight: 900;
  color: #fff;
  background: #111827;
  cursor: pointer;
}
.migo-dashboard-v3023-action.secondary {
  color: #111827;
  background: #f8fafc;
  border: 1px solid rgba(148,163,184,.34);
}
.migo-dashboard-v3023-action:hover,
.migo-dashboard-v3023-focus-list button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15,23,42,.08);
}
.migo-dashboard-v3023-status {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
  border-left: 4px solid var(--dash-blue);
}
.migo-dashboard-v3023-status.ok { border-left-color: var(--dash-green); }
.migo-dashboard-v3023-status.warn { border-left-color: var(--dash-amber); }
.migo-dashboard-v3023-status span {
  width: fit-content;
  border-radius: 999px;
  padding: 5px 9px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 900;
}
.migo-dashboard-v3023-status.ok span {
  color: #047857;
  background: #ecfdf5;
}
.migo-dashboard-v3023-status.warn span {
  color: #b45309;
  background: #fffbeb;
}
.migo-dashboard-v3023-status strong {
  display: block;
  font-size: 24px;
  line-height: 1.15;
}
.migo-dashboard-v3023-status p {
  margin: 0;
  color: var(--dash-muted);
  line-height: 1.45;
}
.migo-dashboard-v3023-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.migo-dashboard-v3023-kpi {
  min-width: 0;
  padding: 15px;
  border-top: 3px solid rgba(37,99,235,.9);
}
.migo-dashboard-v3023-kpi.green { border-top-color: var(--dash-green); }
.migo-dashboard-v3023-kpi.amber { border-top-color: var(--dash-amber); }
.migo-dashboard-v3023-kpi.violet { border-top-color: var(--dash-violet); }
.migo-dashboard-v3023-kpi.slate { border-top-color: #334155; }
.migo-dashboard-v3023-kpi span,
.migo-dashboard-v3023-kpi small {
  display: block;
  min-width: 0;
  color: var(--dash-muted);
}
.migo-dashboard-v3023-kpi span {
  font-size: 12px;
  font-weight: 900;
}
.migo-dashboard-v3023-kpi strong {
  display: block;
  margin: 7px 0 3px;
  overflow-wrap: anywhere;
  font-size: 26px;
  line-height: 1.1;
}
.migo-dashboard-v3023-kpi small {
  font-size: 12px;
  line-height: 1.35;
}
.migo-dashboard-v3023-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 16px;
}
.migo-dashboard-v3023-panel {
  padding: 18px;
}
.migo-dashboard-v3023-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.migo-dashboard-v3023-panel-head h3 {
  margin: 0;
  font-size: 17px;
}
.migo-dashboard-v3023-panel-head span {
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 800;
}
.migo-dashboard-v3023-focus-list {
  display: grid;
  gap: 9px;
}
.migo-dashboard-v3023-focus-list button {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--dash-ink);
  text-align: left;
  cursor: pointer;
}
.migo-dashboard-v3023-focus-list b,
.migo-dashboard-v3023-focus-list strong,
.migo-dashboard-v3023-focus-list span {
  min-width: 0;
}
.migo-dashboard-v3023-focus-list b {
  font-size: 14px;
}
.migo-dashboard-v3023-focus-list strong {
  justify-self: end;
  font-size: 20px;
}
.migo-dashboard-v3023-focus-list span {
  grid-column: 1 / -1;
  color: var(--dash-muted);
  font-size: 13px;
  line-height: 1.35;
}
.migo-dashboard-v3023-note {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(5,150,105,.18);
  border-radius: 8px;
  color: #065f46;
  background: #ecfdf5;
}
.migo-dashboard-v3023-note span {
  color: #047857;
  line-height: 1.4;
}
@media (max-width: 1180px) {
  .migo-dashboard-v3023-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .migo-dashboard-v3023-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 860px) {
  .migo-dashboard-v3023-hero {
    grid-template-columns: 1fr;
  }
  .migo-dashboard-v3023-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.migo-platform-dashboard-v3023 .topbar-actions {
    flex-wrap: wrap;
  }
}
@media (max-width: 560px) {
  .migo-dashboard-v3023-hero-main,
  .migo-dashboard-v3023-status,
  .migo-dashboard-v3023-panel {
    padding: 14px;
  }
  .migo-dashboard-v3023 h2 {
    font-size: 24px;
  }
  .migo-dashboard-v3023-kpis {
    grid-template-columns: 1fr;
  }
  .migo-dashboard-v3023-focus-list button {
    grid-template-columns: 1fr;
  }
  .migo-dashboard-v3023-focus-list strong {
    justify-self: start;
  }
}

/* Migo CRM v3.0.25 Unified Pipeline Visual System */
:root {
  --migo-pipeline-bg: #f6f8fc;
  --migo-pipeline-surface: #ffffff;
  --migo-pipeline-ink: #0f172a;
  --migo-pipeline-muted: #64748b;
  --migo-pipeline-line: #e6edf7;
  --migo-pipeline-sidebar: #0f172a;
  --migo-pipeline-sidebar-active: #2b3448;
  --migo-pipeline-accent: #2563eb;
  --migo-pipeline-success: #0f9f7a;
}

body.crm-app {
  background: var(--migo-pipeline-bg);
  color: var(--migo-pipeline-ink);
}

body.crm-app .sidebar,
body.crm-app aside.sidebar {
  background: var(--migo-pipeline-sidebar) !important;
  color: #f8fafc !important;
  padding: 14px 10px 10px !important;
  gap: 12px !important;
  border-right: 1px solid rgba(148, 163, 184, .12);
}

body.crm-app .sidebar .brand-row {
  padding: 10px 10px 12px !important;
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

body.crm-app .sidebar .brand-mark {
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
}

body.crm-app .sidebar .migo-sidebar-scroll {
  padding: 8px 0 12px !important;
}

body.crm-app .sidebar nav {
  gap: 4px !important;
}

body.crm-app .sidebar .nav-item {
  width: 100%;
  border-radius: 14px;
  padding: 11px 14px;
  color: #cbd5e1;
  font-size: 14px;
}

body.crm-app .sidebar .nav-item:hover,
body.crm-app .sidebar .nav-item.active {
  background: var(--migo-pipeline-sidebar-active) !important;
  color: #ffffff !important;
}

body.crm-app .sidebar-footer {
  background: rgba(255, 255, 255, .06) !important;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px !important;
}

body.crm-app .main-panel {
  background: var(--migo-pipeline-bg);
  padding: 28px !important;
}

body.crm-app .topbar {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--migo-pipeline-line);
}

body.crm-app .topbar h1 {
  color: var(--migo-pipeline-ink);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}

body.crm-app .eyebrow {
  color: var(--migo-pipeline-muted);
}

body.crm-app .view.active {
  gap: 18px !important;
}

body.crm-app .panel,
body.crm-app .panel-card,
body.crm-app .table-card,
body.crm-app .kpi-card,
body.crm-app .card,
body.crm-app .settings-item,
body.crm-app .list-card,
body.crm-app .quotes-engine-card,
body.crm-app .pipeline-card,
body.crm-app .lead-conversion-card {
  background: var(--migo-pipeline-surface) !important;
  border: 1px solid var(--migo-pipeline-line) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .055) !important;
}

body.crm-app .panel,
body.crm-app .panel-card,
body.crm-app .table-card,
body.crm-app .kpi-card {
  padding: 18px !important;
}

body.crm-app .panel-head {
  margin-bottom: 14px;
  gap: 12px;
}

body.crm-app .panel-head h2,
body.crm-app .panel-head h3 {
  color: var(--migo-pipeline-ink);
  font-size: 18px;
  font-weight: 900;
}

body.crm-app .kpi-grid,
body.crm-app .layout-grid {
  gap: 14px;
}

body.crm-app .kpi-card {
  min-height: 96px;
}

body.crm-app .data-table {
  border-spacing: 0 8px;
  border-collapse: separate;
}

body.crm-app .data-table th {
  background: transparent;
  color: var(--migo-pipeline-muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.crm-app .data-table td {
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}

body.crm-app .data-table tr td:first-child {
  border-left: 1px solid #edf2f7;
  border-radius: 14px 0 0 14px;
}

body.crm-app .data-table tr td:last-child {
  border-right: 1px solid #edf2f7;
  border-radius: 0 14px 14px 0;
}

body.crm-app input,
body.crm-app select,
body.crm-app textarea {
  border: 1px solid #dbe5f3;
  border-radius: 12px;
  background: #ffffff;
  color: var(--migo-pipeline-ink);
}

body.crm-app input:focus,
body.crm-app select:focus,
body.crm-app textarea:focus {
  border-color: var(--migo-pipeline-accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
  outline: 0;
}

body.crm-app .primary-btn,
body.crm-app button.primary-btn {
  background: #111a2e;
  color: #ffffff;
  border-radius: 12px;
}

body.crm-app .primary-btn:hover,
body.crm-app button.primary-btn:hover {
  background: #1e293b;
}

body.crm-app .secondary-btn {
  background: #eef2f7;
  color: var(--migo-pipeline-ink);
  border-radius: 12px;
}

body.crm-app .mini-btn {
  border: 1px solid #dbe5f3;
  background: #ffffff;
  color: #334155;
  border-radius: 10px;
}

body.crm-app .status-pill {
  border-radius: 999px;
}

body.crm-app .empty-state {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
}

body.crm-app .toolbar-actions,
body.crm-app .row-actions,
body.crm-app .topbar-actions {
  gap: 8px;
}

@media (max-width: 1100px) {
  body.crm-app .main-panel {
    padding: 20px !important;
  }
}

@media (max-width: 720px) {
  body.crm-app {
    grid-template-columns: 1fr !important;
  }

  body.crm-app .sidebar {
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
  }

  body.crm-app .sidebar .migo-sidebar-scroll {
    max-height: min(42vh, 360px);
  }

  body.crm-app .main-panel {
    padding: 16px !important;
  }

  body.crm-app .topbar {
    gap: 12px;
  }

  body.crm-app .topbar-actions {
    width: 100%;
  }

  body.crm-app .topbar-actions > * {
    flex: 1 1 0;
  }

  body.crm-app .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  body.crm-app .kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* Migo CRM v3.0.26 Modern Sales Console */
:root {
  --migo-console-bg: #e5ebf3;
  --migo-console-soft: #f3f6fa;
  --migo-console-panel: #f8fafc;
  --migo-console-card: #ffffff;
  --migo-console-ink: #111827;
  --migo-console-muted: #64748b;
  --migo-console-line: #cfd8e3;
  --migo-console-sidebar: #111827;
  --migo-console-sidebar-soft: #1f2937;
  --migo-console-accent: #2563eb;
  --migo-console-green: #059669;
  --migo-console-amber: #d97706;
  --migo-console-red: #dc2626;
}

body.crm-app {
  background: var(--migo-console-bg) !important;
  color: var(--migo-console-ink) !important;
}

body.crm-app .main-panel,
body.crm-app main.main-panel {
  background: var(--migo-console-bg) !important;
  padding: 22px !important;
}

body.crm-app .topbar {
  align-items: center;
  background: var(--migo-console-panel) !important;
  border: 1px solid var(--migo-console-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  margin-bottom: 14px !important;
  padding: 12px 14px !important;
}

body.crm-app .topbar h1 {
  font-size: 24px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

body.crm-app .topbar .eyebrow,
body.crm-app .eyebrow,
body.crm-app .migo-eyebrow {
  color: var(--migo-console-muted) !important;
  letter-spacing: 0 !important;
}

body.crm-app .sidebar,
body.crm-app aside.sidebar {
  background: var(--migo-console-sidebar) !important;
  border-right: 1px solid rgba(255, 255, 255, .08) !important;
  box-shadow: 10px 0 28px rgba(15, 23, 42, .12) !important;
}

body.crm-app .sidebar .nav-item {
  border-radius: 8px !important;
  min-height: 36px;
  padding: 9px 11px !important;
}

body.crm-app .sidebar .nav-item:hover,
body.crm-app .sidebar .nav-item.active {
  background: var(--migo-console-sidebar-soft) !important;
  box-shadow: inset 3px 0 0 var(--migo-console-accent) !important;
}

body.crm-app .sidebar-footer {
  border-radius: 8px !important;
}

body.crm-app .panel,
body.crm-app .panel-card,
body.crm-app .table-card,
body.crm-app .kpi-card,
body.crm-app .card,
body.crm-app .settings-item,
body.crm-app .list-card,
body.crm-app .quotes-engine-card,
body.crm-app .lead-conversion-card {
  background: var(--migo-console-panel) !important;
  border: 1px solid var(--migo-console-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.crm-app .data-table td {
  background: var(--migo-console-card) !important;
}

body.crm-app input,
body.crm-app select,
body.crm-app textarea {
  border-radius: 8px !important;
}

body.crm-app .primary-btn,
body.crm-app button.primary-btn,
body.crm-app .secondary-btn,
body.crm-app .mini-btn {
  border-radius: 8px !important;
  min-height: 36px;
}

body.crm-app .migo-dash192-hero,
body.crm-app .migo-dashboard-v3023-hero-main,
body.crm-app .migo-dashboard-v3023-status,
body.crm-app .migo-dashboard-v3023-kpi,
body.crm-app .migo-dashboard-v3023-panel,
body.crm-app .migo-dash192-kpi,
body.crm-app .migo-dash192-panel {
  background: var(--migo-console-panel) !important;
  border: 1px solid var(--migo-console-line) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.crm-app .migo-dash192-hero {
  padding: 18px !important;
}

body.crm-app .migo-dash192-hero h2,
body.crm-app .migo-dashboard-v3023 h2 {
  font-size: 30px !important;
  letter-spacing: 0 !important;
}

body.crm-app .migo-dash192-status-card {
  background: var(--migo-console-sidebar) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.crm-app .migo-dash192-status-card::after {
  display: none !important;
}

body.crm-app .migo-dash192-step,
body.crm-app .migo-dashboard-v3023-focus-list button {
  border-radius: 8px !important;
}

body.crm-app #kanbanView.active {
  min-height: 0 !important;
}

body.crm-app #kanbanView .pipeline-card.migo-sales-console-v3026,
body.crm-app #kanbanView .pipeline-card[data-pipeline-current] {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  height: calc(100vh - 120px) !important;
  min-height: 540px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

#kanbanView .migo-pipeline-commandbar-v3026 {
  align-items: center;
  background: var(--migo-console-sidebar) !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 12px 14px;
}

#kanbanView .migo-pipeline-title-v3026 {
  min-width: 0;
}

#kanbanView .migo-pipeline-title-v3026 span {
  color: #93c5fd;
  display: block;
  font-size: 12px;
  font-weight: 900;
}

#kanbanView .migo-pipeline-title-v3026 h3 {
  color: #ffffff;
  font-size: 24px;
  line-height: 1.12;
  margin: 2px 0 2px;
}

#kanbanView .migo-pipeline-title-v3026 p {
  color: #cbd5e1;
  line-height: 1.35;
  margin: 0;
}

#kanbanView .migo-pipeline-tools-v3026 {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: end;
}

#kanbanView .migo-pipeline-search-v3026 {
  display: grid;
  gap: 4px;
  min-width: 250px;
}

#kanbanView .migo-pipeline-search-v3026 span {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 900;
}

#kanbanView .migo-pipeline-search-v3026 input {
  background: #0b1220 !important;
  border-color: #334155 !important;
  color: #ffffff !important;
  min-height: 36px;
}

#kanbanView .migo-pipeline-tools-v3026 .secondary-btn {
  background: #1f2937 !important;
  border: 1px solid #334155 !important;
  color: #e5e7eb !important;
}

#kanbanView .migo-pipeline-tools-v3026 .secondary-btn.is-active,
#kanbanView .migo-pipeline-tools-v3026 .secondary-btn[aria-pressed="true"] {
  background: #0f766e !important;
  border-color: #0f766e !important;
  color: #ffffff !important;
}

#kanbanView .migo-pipeline-tools-v3026 .primary-btn {
  background: var(--migo-console-accent) !important;
  border: 1px solid var(--migo-console-accent) !important;
}

#kanbanView .migo-pipeline-metrics-v3026,
#kanbanView .pipeline-metrics {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-wrap: wrap;
  gap: 8px !important;
  margin: 0 !important;
}

#kanbanView .pipeline-pill {
  background: var(--migo-console-panel) !important;
  border: 1px solid var(--migo-console-line) !important;
  border-radius: 8px !important;
  color: #334155 !important;
  font-weight: 900;
}

#kanbanView .pipeline-board {
  align-items: stretch !important;
  display: grid !important;
  flex: 1 1 auto !important;
  gap: 10px !important;
  grid-auto-columns: minmax(294px, 316px) !important;
  grid-auto-flow: column !important;
  grid-template-columns: none !important;
  min-height: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 0 0 8px !important;
  scrollbar-width: thin !important;
}

#kanbanView .pipeline-column {
  background: var(--migo-console-soft) !important;
  border: 1px solid var(--migo-console-line) !important;
  border-radius: 8px !important;
  border-top: 3px solid var(--migo-console-accent) !important;
  box-shadow: none !important;
  display: flex !important;
  flex: 0 0 300px !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
  min-width: 300px !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: 300px !important;
}

#kanbanView .pipeline-column:nth-child(4n+2) {
  border-top-color: var(--migo-console-green) !important;
}

#kanbanView .pipeline-column:nth-child(4n+3) {
  border-top-color: var(--migo-console-amber) !important;
}

#kanbanView .pipeline-column:nth-child(4n+4) {
  border-top-color: var(--migo-console-red) !important;
}

#kanbanView .pipeline-column > h4 {
  align-items: center !important;
  background: #f8fafc !important;
  border-bottom: 1px solid var(--migo-console-line);
  display: grid !important;
  flex: 0 0 auto !important;
  gap: 3px 8px !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  margin: 0 !important;
  padding: 10px 11px !important;
}

#kanbanView .migo-pipeline-stage-name-v3026 {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#kanbanView .migo-pipeline-stage-count-v3026 {
  background: #e2e8f0;
  border-radius: 999px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
  min-width: 26px;
  padding: 4px 8px;
  text-align: center;
}

#kanbanView .pipeline-column > h4 small {
  color: var(--migo-console-muted);
  font-size: 12px;
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
}

#kanbanView .pipeline-scroll {
  display: grid !important;
  flex: 1 1 auto !important;
  gap: 8px;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 10px !important;
}

#kanbanView .pipeline-card-mini {
  background: var(--migo-console-card) !important;
  border: 1px solid #dbe4ee !important;
  border-left: 3px solid var(--migo-console-accent) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .055) !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 10px !important;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease !important;
  width: 100% !important;
}

#kanbanView .pipeline-card-mini[data-status="won"] {
  border-left-color: var(--migo-console-green) !important;
}

#kanbanView .pipeline-card-mini[data-status="lost"],
#kanbanView .pipeline-card-mini[data-status="cancelled"] {
  border-left-color: var(--migo-console-red) !important;
}

#kanbanView .pipeline-card-mini:hover,
#kanbanView .pipeline-card-mini:focus-within {
  border-color: #b8c6d8 !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .09) !important;
  transform: translateY(-1px);
}

#kanbanView .migo-pipeline-card-top-v3026 {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

#kanbanView .migo-pipeline-card-top-v3026 strong {
  color: #0f172a;
  font-size: 13px;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

#kanbanView .migo-pipeline-status-v3026 {
  background: #eef2ff;
  border-radius: 999px;
  color: #1d4ed8;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 7px;
}

#kanbanView .pipeline-card-mini[data-status="won"] .migo-pipeline-status-v3026 {
  background: #dcfce7;
  color: #047857;
}

#kanbanView .pipeline-card-mini[data-status="lost"] .migo-pipeline-status-v3026,
#kanbanView .pipeline-card-mini[data-status="cancelled"] .migo-pipeline-status-v3026 {
  background: #fee2e2;
  color: #b91c1c;
}

#kanbanView .migo-pipeline-card-value-v3026 {
  align-items: center;
  color: #111827;
  display: flex;
  font-size: 16px;
  font-weight: 900;
  justify-content: space-between;
  margin-top: 8px;
}

#kanbanView .migo-pipeline-card-value-v3026 small {
  background: #f1f5f9;
  border-radius: 999px;
  color: var(--migo-console-muted);
  font-size: 11px;
  padding: 4px 7px;
}

#kanbanView .migo-pipeline-card-meta-v3026 {
  border-top: 1px solid #edf2f7;
  color: var(--migo-console-muted);
  display: grid;
  gap: 3px;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 9px;
  padding-top: 8px;
}

#kanbanView .migo-pipeline-card-meta-v3026 span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#kanbanView .migo-pipeline-card-actions-v3026 {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 9px;
}

#kanbanView .migo-pipeline-card-actions-v3026 select,
#kanbanView .migo-pipeline-card-actions-v3026 button {
  min-height: 32px;
}

#kanbanView .migo-pipeline-card-actions-v3026 button {
  padding: 0 10px;
}

#kanbanView .pipeline-card-mini[hidden] {
  display: none !important;
}

#kanbanView .pipeline-column.is-filter-empty .pipeline-scroll::after {
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  content: "Niciun rezultat.";
  display: block;
  font-size: 13px;
  padding: 12px;
  text-align: center;
}

#kanbanView .pipeline-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: #64748b;
  display: block !important;
  font-size: 13px;
  margin: 0 !important;
  padding: 12px;
  text-align: center;
}

#kanbanView .pipeline-result {
  background: var(--migo-console-panel);
  border: 1px solid var(--migo-console-line);
  border-radius: 8px;
  color: #334155;
  flex: 0 0 auto;
  font-size: 12px;
  margin: 0;
  padding: 8px 10px;
}

@media (max-width: 960px) {
  #kanbanView .migo-pipeline-commandbar-v3026 {
    grid-template-columns: 1fr;
  }

  #kanbanView .migo-pipeline-tools-v3026 {
    justify-content: stretch;
  }

  #kanbanView .migo-pipeline-search-v3026 {
    min-width: 100%;
  }
}

@media (max-width: 720px) {
  body.crm-app .main-panel,
  body.crm-app main.main-panel {
    padding: 14px !important;
  }

  body.crm-app .topbar {
    align-items: stretch;
  }

  body.crm-app #kanbanView .pipeline-card.migo-sales-console-v3026,
  body.crm-app #kanbanView .pipeline-card[data-pipeline-current] {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  #kanbanView .pipeline-board {
    grid-auto-columns: minmax(86vw, 1fr) !important;
    overflow-x: auto !important;
  }

  #kanbanView .pipeline-column {
    min-width: 86vw !important;
    width: 86vw !important;
  }

  #kanbanView .pipeline-scroll {
    max-height: 65vh;
  }

  #kanbanView .migo-pipeline-tools-v3026 > * {
    width: 100%;
  }
}

/* Migo CRM v3.0.27 Compact Workspace + List Console */
body.crm-app {
  --sidebar-width: 264px;
  --migo-workspace-bg: #e8edf4;
  --migo-workspace-panel: #f8fafc;
  --migo-workspace-card: #ffffff;
  --migo-workspace-ink: #101827;
  --migo-workspace-muted: #68758a;
  --migo-workspace-line: #d6deea;
  --migo-workspace-accent: #2563eb;
  --migo-workspace-accent-hover: #1d4ed8;
  background: var(--migo-workspace-bg) !important;
}

body.crm-app .main-panel,
body.crm-app main.main-panel {
  background: var(--migo-workspace-bg) !important;
  padding: 18px 22px 24px !important;
}

body.crm-app .topbar {
  min-height: 58px;
  margin: 0 0 14px !important;
  padding: 2px 2px 12px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid #cfd8e5 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.crm-app .topbar h1 {
  font-size: 23px !important;
  font-weight: 850 !important;
}

body.crm-app .topbar .eyebrow {
  margin-bottom: 3px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase;
}

body.crm-app .topbar-actions > button,
body.crm-app .topbar-actions > .migo-auto-refresh-box {
  min-height: 38px;
}

body.crm-app .sidebar,
body.crm-app aside.sidebar {
  background: #101827 !important;
  box-shadow: 8px 0 22px rgba(15, 23, 42, .1) !important;
}

body.crm-app .sidebar .brand-row {
  min-height: 72px;
  padding: 13px 13px 11px !important;
}

body.crm-app .sidebar .migo-sidebar-search-host {
  padding: 0 10px 8px !important;
}

body.crm-app .sidebar .migo-sidebar-search-inner {
  min-height: 38px !important;
  background: rgba(255, 255, 255, .075) !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 7px !important;
}

body.crm-app .sidebar .migo-sidebar-search-inner:focus-within {
  border-color: rgba(96, 165, 250, .75) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .16) !important;
}

body.crm-app .sidebar .migo-sidebar-scroll {
  padding: 3px 8px 10px !important;
}

body.crm-app .sidebar nav {
  display: flex !important;
  flex-direction: column;
  gap: 2px !important;
}

body.crm-app .sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 8px 10px !important;
  border-radius: 7px !important;
  color: #c7d0df !important;
  font-size: 13px !important;
  font-weight: 720 !important;
  line-height: 1.2;
}

body.crm-app .sidebar .nav-item:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, .07) !important;
}

body.crm-app .sidebar .nav-item.active {
  color: #ffffff !important;
  background: #243044 !important;
  box-shadow: inset 3px 0 0 #3b82f6 !important;
}

.migo-nav-icon-v3027 {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #8ea0b8 !important;
}

.migo-nav-icon-v3027 svg {
  width: 17px;
  height: 17px;
}

.sidebar .nav-item:hover .migo-nav-icon-v3027,
.sidebar .nav-item.active .migo-nav-icon-v3027 {
  color: #60a5fa !important;
}

.migo-nav-text-v3027 {
  min-width: 0;
  overflow: hidden;
  color: inherit !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migo-nav-group-toggle-v3027 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 28px;
  margin: 7px 0 2px;
  padding: 4px 9px;
  border: 0;
  border-radius: 6px;
  color: #72829a;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .045em;
  text-align: left;
  text-transform: uppercase;
}

.migo-nav-group-toggle-v3027:hover {
  color: #aebbd0;
  background: rgba(255, 255, 255, .045);
}

.migo-nav-group-toggle-v3027 i {
  color: inherit;
  font-size: 14px;
  font-style: normal;
  transform: rotate(0deg);
  transition: transform .16s ease;
}

.migo-nav-group-toggle-v3027.is-collapsed i {
  transform: rotate(-90deg);
}

.migo-nav-group-folded-v3027 {
  display: none !important;
}

body.migo-sidebar-searching-v3027 .migo-nav-group-toggle-v3027 {
  display: none !important;
}

body.migo-sidebar-searching-v3027 .migo-nav-group-folded-v3027:not(.migo-nav-filtered-out) {
  display: flex !important;
}

body.crm-app .sidebar .migo-nav-filtered-out {
  display: none !important;
}

body.crm-app .sidebar-footer {
  margin: 0 8px 8px !important;
  padding: 5px !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, .055) !important;
}

.migo-ui-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.migo-list-console-v3027 {
  display: grid;
  gap: 10px;
  color: var(--migo-workspace-ink);
}

.migo-list-commandbar-v3027 {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 15px 16px;
  border: 1px solid #223047;
  border-radius: 8px;
  background: #101827;
  color: #ffffff;
}

.migo-list-heading-v3027 > span {
  display: block;
  margin-bottom: 3px;
  color: #79aafc;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.migo-list-heading-v3027 h2 {
  margin: 0;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.15;
}

.migo-list-heading-v3027 p {
  max-width: 600px;
  margin: 5px 0 0;
  color: #b8c4d6;
  font-size: 13px;
  line-height: 1.45;
}

.migo-list-tools-v3027 {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
}

.migo-list-search-v3027,
.migo-list-filter-v3027 {
  display: grid;
  gap: 4px;
}

.migo-list-search-v3027 > span,
.migo-list-filter-v3027 > span {
  color: #a8b6ca;
  font-size: 10px;
  font-weight: 750;
}

.migo-list-search-v3027 input,
.migo-list-filter-v3027 select {
  height: 39px;
  min-width: 230px;
  padding: 0 11px;
  border: 1px solid #34445e;
  border-radius: 7px;
  outline: 0;
  background: #172236;
  color: #f8fafc;
  font-size: 13px;
}

.migo-list-filter-v3027 select {
  min-width: 132px;
}

.migo-list-search-v3027 input::placeholder {
  color: #8291a7;
}

.migo-list-search-v3027 input:focus,
.migo-list-filter-v3027 select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}

.migo-list-refresh-v3027 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 39px;
  padding: 0 13px;
  border: 1px solid #3b82f6;
  border-radius: 7px;
  background: #2563eb;
  color: #ffffff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.migo-list-refresh-v3027:hover {
  background: #1d4ed8;
}

.migo-list-subbar-v3027 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.migo-list-metrics-v3027,
.migo-list-actions-v3027 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.migo-list-metrics-v3027 > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--migo-workspace-line);
  border-radius: 7px;
  background: rgba(255, 255, 255, .7);
  color: #455268;
  font-size: 11px;
  font-weight: 750;
}

.migo-list-actions-v3027 > button,
.migo-list-transfer-v3027 > summary {
  min-height: 35px;
  border-radius: 7px !important;
  font-size: 12px;
}

.migo-list-actions-v3027 .primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: #111827 !important;
}

.migo-list-transfer-v3027 {
  position: relative;
}

.migo-list-transfer-v3027 > summary {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--migo-workspace-line);
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.migo-list-transfer-v3027 > summary::-webkit-details-marker {
  display: none;
}

.migo-list-transfer-v3027[open] > summary {
  border-color: #94a3b8;
}

.migo-list-transfer-v3027 > div {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 80;
  display: grid;
  min-width: 170px;
  padding: 6px;
  border: 1px solid var(--migo-workspace-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .16);
}

.migo-list-transfer-v3027 > div button {
  padding: 9px 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #334155;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.migo-list-transfer-v3027 > div button:hover {
  background: #f1f5f9;
}

.migo-table-shell-v3027 {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--migo-workspace-line);
  border-radius: 8px;
  background: var(--migo-workspace-panel);
}

.migo-table-shell-v3027 .table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
}

body.crm-app .migo-data-table-v3027 {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

body.crm-app .migo-data-table-v3027 th {
  position: sticky;
  top: 0;
  z-index: 4;
  height: 42px;
  padding: 0 12px !important;
  border-bottom: 1px solid #d9e1ec !important;
  background: #edf2f7 !important;
  text-transform: none !important;
}

.migo-sort-button-v3027 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .025em;
  text-align: left;
  text-transform: uppercase;
}

.migo-sort-button-v3027 i {
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
}

.migo-sort-button-v3027.is-active,
.migo-sort-button-v3027.is-active i {
  color: #1d4ed8;
}

body.crm-app .migo-data-table-v3027 td {
  height: 56px;
  padding: 9px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #3d4a5e;
  font-size: 12px;
  vertical-align: middle;
}

body.crm-app .migo-data-table-v3027 tbody tr:last-child td {
  border-bottom: 0 !important;
}

body.crm-app .migo-data-table-v3027 tbody tr:hover td {
  background: #f8fafc !important;
}

.migo-primary-cell-v3027 {
  display: block;
  max-width: 300px;
  color: #152033;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.migo-row-id-v3027 {
  color: #8290a4;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.migo-money-v3027 {
  color: #152033;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.migo-date-v3027 {
  display: grid;
  gap: 1px;
  white-space: nowrap;
}

.migo-date-v3027 span {
  color: #3f4c60;
}

.migo-date-v3027 small {
  color: #8996a8;
  font-size: 10px;
}

.migo-link-v3027 {
  color: #2563eb;
  text-decoration: none;
}

.migo-link-v3027:hover {
  text-decoration: underline;
}

body.crm-app .migo-data-table-v3027 .status-pill {
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.migo-actions-heading-v3027 {
  width: 128px;
  color: #64748b !important;
  font-size: 10px !important;
}

.migo-list-actions-cell-v3027 {
  width: 128px;
}

.migo-row-actions-v3027 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.migo-row-open-v3027 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 31px;
  padding: 6px 8px !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 11px !important;
}

.migo-row-menu-v3027 {
  position: relative;
}

.migo-row-menu-v3027 > summary {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid #d7dfeb;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  list-style: none;
}

.migo-row-menu-v3027 > summary::-webkit-details-marker {
  display: none;
}

.migo-row-menu-v3027 > div {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  z-index: 90;
  display: grid;
  min-width: 190px;
  padding: 6px;
  border: 1px solid #d7dfeb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .18);
}

.migo-row-menu-v3027 > div button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #334155;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
}

.migo-row-menu-v3027 > div button:hover {
  background: #f1f5f9;
}

.migo-row-menu-v3027 > div button.danger {
  color: #b91c1c;
}

.migo-list-loading-v3027,
.migo-list-error-v3027,
.migo-list-empty-v3027 {
  display: grid !important;
  justify-items: center;
  gap: 7px;
  min-height: 140px;
  place-content: center;
  border: 1px solid var(--migo-workspace-line) !important;
  border-radius: 8px !important;
  background: var(--migo-workspace-panel) !important;
  color: var(--migo-workspace-muted);
  text-align: center;
}

.migo-list-loading-v3027 > span {
  width: 22px;
  height: 22px;
  border: 2px solid #cbd5e1;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: migoListSpinV3027 .75s linear infinite;
}

.migo-list-error-v3027 strong,
.migo-list-empty-v3027 strong {
  color: #1e293b;
}

.migo-list-error-v3027 span,
.migo-list-empty-v3027 span {
  color: #64748b;
  font-size: 12px;
}

@keyframes migoListSpinV3027 {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .migo-list-commandbar-v3027 {
    grid-template-columns: 1fr;
  }

  .migo-list-tools-v3027 {
    justify-content: flex-start;
  }
}

@media (max-width: 920px) {
  body.crm-app .sidebar,
  body.crm-app aside.sidebar {
    width: min(264px, calc(100vw - 64px)) !important;
    min-width: min(264px, calc(100vw - 64px)) !important;
    max-width: min(264px, calc(100vw - 64px)) !important;
  }
}

@media (max-width: 760px) {
  body.crm-app .main-panel,
  body.crm-app main.main-panel {
    padding: 12px !important;
  }

  .migo-list-commandbar-v3027 {
    padding: 14px;
  }

  .migo-list-tools-v3027,
  .migo-list-subbar-v3027 {
    align-items: stretch;
    flex-direction: column;
  }

  .migo-list-search-v3027 input,
  .migo-list-filter-v3027 select,
  .migo-list-refresh-v3027 {
    width: 100%;
    min-width: 0;
  }

  .migo-list-actions-v3027 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .migo-list-actions-v3027 > *,
  .migo-list-transfer-v3027 > summary {
    width: 100%;
  }

  .migo-list-actions-v3027 .primary-btn {
    justify-content: center;
  }
}

/* Migo CRM v3.0.28 Pipeline Deal Modal + Minimal Workspace */
body.crm-app {
  --migo-workspace-bg: #f4f5f7;
  --migo-workspace-panel: #ffffff;
  --migo-workspace-line: #dfe3e8;
  background: var(--migo-workspace-bg) !important;
}

body.crm-app .main-panel,
body.crm-app main.main-panel,
body.crm-app .view,
body.crm-app .view.active {
  background: var(--migo-workspace-bg) !important;
}

body.crm-app .panel,
body.crm-app .panel-card,
body.crm-app .table-card,
body.crm-app .kpi-card,
body.crm-app .card,
body.crm-app .settings-item,
body.crm-app .list-card,
body.crm-app .quotes-engine-card,
body.crm-app .lead-conversion-card {
  border-radius: 8px !important;
  box-shadow: none !important;
}

body.crm-app .migo-list-commandbar-v3027,
body.crm-app #kanbanView .migo-pipeline-commandbar-v3026 {
  min-height: 0 !important;
  padding: 4px 0 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #d6dbe2 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #172033 !important;
  box-shadow: none !important;
}

body.crm-app .migo-list-heading-v3027 > span,
body.crm-app #kanbanView .migo-pipeline-title-v3026 > span {
  color: #68758a !important;
}

body.crm-app .migo-list-heading-v3027 h2,
body.crm-app #kanbanView .migo-pipeline-title-v3026 h3 {
  color: #172033 !important;
}

body.crm-app .migo-list-heading-v3027 p,
body.crm-app #kanbanView .migo-pipeline-title-v3026 p {
  display: none !important;
}

body.crm-app .migo-list-search-v3027 input,
body.crm-app .migo-list-filter-v3027 select,
body.crm-app #kanbanView .migo-pipeline-search-v3026 input {
  min-height: 38px;
  border-color: #d5dbe3 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #172033 !important;
}

body.crm-app #kanbanView .migo-pipeline-search-v3026 span,
body.crm-app .migo-list-search-v3027 > span,
body.crm-app .migo-list-filter-v3027 > span {
  color: #68758a !important;
}

body.crm-app #kanbanView .migo-pipeline-tools-v3026 .secondary-btn {
  border-color: #d5dbe3 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #334155 !important;
}

body.crm-app #kanbanView .migo-pipeline-metrics-v3026,
body.crm-app #kanbanView .pipeline-metrics {
  gap: 14px !important;
  padding: 1px 0 3px !important;
}

body.crm-app #kanbanView .pipeline-pill,
body.crm-app .migo-list-metrics-v3027 > span {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #68758a !important;
  font-size: 11px !important;
  font-weight: 750 !important;
}

body.crm-app #kanbanView .pipeline-board {
  gap: 12px !important;
}

body.crm-app #kanbanView .pipeline-column {
  background: rgba(255, 255, 255, .34) !important;
  border-color: #dfe3e8 !important;
  border-radius: 8px !important;
}

body.crm-app #kanbanView .pipeline-column > h4 {
  background: transparent !important;
  border-bottom-color: #dfe3e8 !important;
}

body.crm-app #kanbanView .pipeline-scroll {
  padding: 8px !important;
}

body.crm-app #kanbanView .pipeline-card-mini {
  border-radius: 7px !important;
  box-shadow: none !important;
}

body.crm-app #kanbanView .pipeline-card-mini:hover,
body.crm-app #kanbanView .pipeline-card-mini:focus-within {
  box-shadow: 0 4px 12px rgba(15, 23, 42, .08) !important;
  transform: none !important;
}

body.crm-app #kanbanView .migo-pipeline-card-actions-v3026 {
  display: none !important;
}

body.crm-app #kanbanView .pipeline-result {
  padding: 2px 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.crm-app #kanbanView .migo-pipeline-detail-panel {
  display: none !important;
}

.migo-pipeline-deal-dialog-v3028 {
  width: min(860px, calc(100vw - 32px));
  max-width: 860px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d7dde5;
  border-radius: 10px;
  background: #ffffff;
  color: #172033;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.migo-pipeline-deal-dialog-v3028::backdrop {
  background: rgba(15, 23, 42, .42);
}

.migo-pipeline-modal-shell-v3028 {
  display: flex;
  max-height: calc(100dvh - 32px);
  flex-direction: column;
}

.migo-pipeline-modal-head-v3028 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid #e2e6eb;
}

.migo-pipeline-modal-title-v3028 {
  min-width: 0;
}

.migo-pipeline-modal-title-v3028 > span {
  display: block;
  margin-bottom: 4px;
  color: #68758a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.migo-pipeline-modal-title-v3028 h2 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #101827;
  font-size: 21px;
  line-height: 1.2;
}

.migo-pipeline-modal-title-v3028 p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: 7px 0 0;
  color: #68758a;
  font-size: 12px;
}

.migo-pipeline-modal-title-v3028 p strong {
  color: #101827;
}

.migo-pipeline-modal-title-v3028 p span + span {
  padding-left: 12px;
  border-left: 1px solid #d9dfe7;
}

.migo-pipeline-modal-head-actions-v3028 {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
}

.migo-pipeline-modal-head-actions-v3028 .secondary-btn,
.migo-pipeline-stage-action-v3028 .primary-btn,
.migo-pipeline-modal-notes-v3028 .primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 35px;
  border-radius: 7px !important;
  font-size: 12px;
}

.migo-pipeline-modal-close-v3028 {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  padding: 0;
  border: 1px solid #d7dde5;
  border-radius: 7px;
  background: #ffffff;
  color: #526176;
  cursor: pointer;
}

.migo-pipeline-modal-close-v3028:hover {
  border-color: #aeb8c6;
  color: #172033;
}

.migo-pipeline-modal-body-v3028 {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  min-height: 0;
  overflow: auto;
}

.migo-pipeline-modal-main-v3028,
.migo-pipeline-modal-notes-v3028 {
  min-width: 0;
  padding: 20px;
}

.migo-pipeline-modal-notes-v3028 {
  border-left: 1px solid #e2e6eb;
}

.migo-pipeline-modal-main-v3028 > section + section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e2e6eb;
}

.migo-pipeline-modal-section-head-v3028 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.migo-pipeline-modal-section-head-v3028 h3,
.migo-pipeline-stage-action-v3028 h3 {
  margin: 0;
  color: #172033;
  font-size: 14px;
}

.migo-pipeline-modal-section-head-v3028 > span {
  color: #8792a2;
  font-size: 11px;
}

.migo-pipeline-modal-section-head-v3028 > span.is-error {
  color: #b42318;
}

.migo-pipeline-detail-list-v3028 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.migo-pipeline-detail-list-v3028 > div {
  min-width: 0;
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid #edf0f3;
}

.migo-pipeline-detail-list-v3028 dt {
  margin-bottom: 4px;
  color: #8792a2;
  font-size: 11px;
}

.migo-pipeline-detail-list-v3028 dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #263247;
  font-size: 13px;
  font-weight: 750;
}

.migo-pipeline-stage-action-v3028 > div {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.migo-pipeline-stage-action-v3028 select {
  min-width: 0;
  flex: 1 1 auto;
  min-height: 35px;
  padding: 0 10px;
  border: 1px solid #d5dbe3;
  border-radius: 7px;
  background: #ffffff;
  color: #172033;
  font: inherit;
}

.migo-pipeline-modal-feedback-v3028 {
  min-height: 16px;
  margin: 7px 0 0;
  color: #68758a;
  font-size: 12px;
}

.migo-pipeline-modal-feedback-v3028.is-success {
  color: #087443;
}

.migo-pipeline-modal-feedback-v3028.is-error,
.migo-pipeline-modal-empty-v3028.is-error {
  color: #b42318;
}

.migo-pipeline-modal-notes-v3028 form {
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e6eb;
}

.migo-pipeline-modal-notes-v3028 textarea {
  display: block;
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 10px 11px;
  border: 1px solid #d5dbe3;
  border-radius: 7px;
  background: #fbfcfd;
  color: #172033;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.migo-pipeline-modal-notes-v3028 textarea:focus,
.migo-pipeline-stage-action-v3028 select:focus {
  border-color: #2563eb;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .1);
}

.migo-pipeline-modal-notes-v3028 form > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.migo-pipeline-modal-notes-v3028 form label {
  color: #68758a;
  font-size: 12px;
}

.migo-pipeline-note-list-v3028 {
  display: grid;
}

.migo-pipeline-note-v3028 {
  padding: 13px 0;
  border-bottom: 1px solid #edf0f3;
}

.migo-pipeline-note-v3028 > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.migo-pipeline-note-v3028 strong {
  color: #263247;
  font-size: 12px;
}

.migo-pipeline-note-v3028 > div > span {
  color: #2563eb;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.migo-pipeline-note-v3028 p {
  margin: 6px 0;
  overflow-wrap: anywhere;
  color: #3f4b5d;
  font-size: 13px;
  line-height: 1.45;
}

.migo-pipeline-note-v3028 time,
.migo-pipeline-activity-v3028 time {
  color: #9aa4b2;
  font-size: 11px;
}

.migo-pipeline-modal-empty-v3028 {
  margin: 12px 0 0;
  color: #8792a2;
  font-size: 12px;
}

.migo-pipeline-activity-v3028 {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #edf0f3;
}

.migo-pipeline-activity-v3028 > span {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: #2563eb;
}

.migo-pipeline-activity-v3028 strong {
  color: #263247;
  font-size: 12px;
}

.migo-pipeline-activity-v3028 p {
  margin: 3px 0;
  overflow-wrap: anywhere;
  color: #526176;
  font-size: 12px;
}

@media (max-width: 720px) {
  .migo-pipeline-deal-dialog-v3028 {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .migo-pipeline-modal-shell-v3028 {
    max-height: calc(100dvh - 20px);
  }

  .migo-pipeline-modal-head-v3028 {
    display: grid;
    padding: 15px;
  }

  .migo-pipeline-modal-head-actions-v3028 {
    width: 100%;
  }

  .migo-pipeline-modal-head-actions-v3028 .secondary-btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .migo-pipeline-modal-close-v3028 {
    flex: 0 0 35px;
  }

  .migo-pipeline-modal-body-v3028 {
    grid-template-columns: 1fr;
  }

  .migo-pipeline-modal-main-v3028,
  .migo-pipeline-modal-notes-v3028 {
    padding: 15px;
  }

  .migo-pipeline-modal-notes-v3028 {
    border-top: 1px solid #e2e6eb;
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .migo-pipeline-detail-list-v3028 {
    grid-template-columns: 1fr;
  }

  .migo-pipeline-modal-head-actions-v3028 .secondary-btn span {
    display: none;
  }
}

/* Migo CRM v3.0.29 Compact Pipeline Sync */
body.crm-app.migo-pipeline-route-v3029 .topbar {
  min-height: 44px !important;
  margin-bottom: 8px !important;
  padding: 0 0 8px !important;
}

body.crm-app.migo-pipeline-route-v3029 .topbar .eyebrow {
  display: none !important;
}

body.crm-app.migo-pipeline-route-v3029 .topbar h1 {
  font-size: 22px !important;
  line-height: 1 !important;
}

body.crm-app.migo-pipeline-route-v3029 .migo-auto-refresh-box {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.crm-app.migo-pipeline-route-v3029 .migo-auto-refresh-status {
  display: none !important;
}

body.crm-app.migo-pipeline-route-v3029 .migo-auto-refresh-toggle {
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid #d5dbe3;
  border-radius: 7px;
  background: #ffffff;
  color: #334155;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-commandbar-v3026 {
  display: flex !important;
  align-items: center;
  justify-content: stretch;
  gap: 10px;
  padding: 0 0 8px !important;
  border: 0 !important;
  border-bottom: 1px solid #d6dbe2 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-title-v3026 {
  display: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-tools-v3026 {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: stretch;
  gap: 8px;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3026 {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 220px;
  gap: 8px;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3026 span {
  flex: 0 0 auto;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3026 input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 36px;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-tools-v3026 > button {
  min-height: 36px;
  padding: 8px 12px;
  white-space: nowrap;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-metrics {
  gap: 12px !important;
  padding: 0 0 4px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card.migo-sales-console-v3026,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card[data-pipeline-current] {
  gap: 8px !important;
}

@media (max-width: 720px) {
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-commandbar-v3026 {
    display: block !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-tools-v3026 {
    flex-wrap: wrap;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3026 {
    width: 100%;
    min-width: 100%;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-tools-v3026 > button {
    flex: 1 1 calc(50% - 4px);
  }
}

/* Migo CRM v3.0.31 Responsive Pipeline Toolbar */
body.crm-app.migo-pipeline-route-v3029 .topbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 0 !important;
  margin: 0 0 10px !important;
  padding: 0 0 10px !important;
}

body.crm-app.migo-pipeline-route-v3029 .topbar > div:first-child {
  min-width: 0;
}

body.crm-app.migo-pipeline-route-v3029 .topbar h1 {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-pipeline-route-v3029 .topbar-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  width: auto !important;
}

body.crm-app.migo-pipeline-route-v3029 .topbar-actions > button,
body.crm-app.migo-pipeline-route-v3029 .topbar-actions > .migo-auto-refresh-box {
  flex: 0 0 auto !important;
  min-height: 0 !important;
}

body.crm-app.migo-pipeline-route-v3029 .topbar-actions > button,
body.crm-app.migo-pipeline-route-v3029 .migo-auto-refresh-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 11px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

body.crm-app.migo-pipeline-route-v3029 #quickAddLead {
  border: 1px solid #dfe4ea !important;
  background: #f8fafc !important;
  color: #172033 !important;
}

body.crm-app.migo-pipeline-route-v3029 #quickAddLead:hover {
  border-color: #c8d0da !important;
  background: #eef2f6 !important;
}

body.crm-app.migo-pipeline-route-v3029 #quickAddDeal {
  border: 1px solid #111a2e !important;
  background: #111a2e !important;
  color: #ffffff !important;
}

body.crm-app.migo-pipeline-route-v3029 .migo-auto-refresh-box {
  display: inline-flex !important;
  align-items: center !important;
  height: 34px !important;
}

body.crm-app.migo-pipeline-route-v3029 .migo-auto-refresh-toggle::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #10b981;
  content: '';
}

body.crm-app.migo-pipeline-route-v3029 .migo-auto-refresh-toggle.is-off::before {
  background: #94a3b8;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-commandbar-v3026 {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 0 9px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-tools-v3026 {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) max-content max-content !important;
  align-items: center !important;
  gap: 7px !important;
  width: 100% !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3026 {
  position: relative !important;
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3026 > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3026 input {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 11px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-tools-v3026 > button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  box-sizing: border-box !important;
  width: auto !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  padding: 0 10px !important;
  border-radius: 7px !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-tools-v3026 > button .migo-ui-icon {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView [data-pipeline-hide-closed-v3026].is-active {
  border-color: #99f6e4 !important;
  background: #f0fdfa !important;
  color: #0f766e !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView [data-pipeline-refresh-v3026] {
  border-color: #2563eb !important;
  background: #2563eb !important;
  color: #ffffff !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView [data-pipeline-refresh-v3026]:hover {
  border-color: #1d4ed8 !important;
  background: #1d4ed8 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView [data-pipeline-refresh-v3026]:disabled {
  cursor: progress !important;
  opacity: .72 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView [data-pipeline-refresh-v3026].is-loading .migo-ui-icon {
  animation: migoPipelineRefreshV3031 .8s linear infinite;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-metrics {
  flex-wrap: nowrap !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding: 0 0 5px !important;
  white-space: nowrap !important;
  scrollbar-width: none;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-metrics::-webkit-scrollbar {
  display: none;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pill {
  flex: 0 0 auto !important;
}

@keyframes migoPipelineRefreshV3031 {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-tools-v3026 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3026 {
    grid-column: 1 / -1 !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-tools-v3026 > button {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 520px) {
  body.crm-app.migo-pipeline-route-v3029 .topbar {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body.crm-app.migo-pipeline-route-v3029 .topbar-actions {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
  }

  body.crm-app.migo-pipeline-route-v3029 .topbar-actions > button,
  body.crm-app.migo-pipeline-route-v3029 .topbar-actions > .migo-auto-refresh-box,
  body.crm-app.migo-pipeline-route-v3029 .migo-auto-refresh-toggle {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-board {
    grid-auto-columns: minmax(min(84vw, 330px), 1fr) !important;
    padding-bottom: 8px !important;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-column {
    width: min(84vw, 330px) !important;
    min-width: min(84vw, 330px) !important;
    scroll-snap-align: start;
  }
}

/* Migo CRM v3.0.31.1 Responsive sidebar trigger placement */
body.crm-app.migo-sidebar-hidden.migo-pipeline-route-v3029 #migoSidebarOpenButton {
  top: 18px !important;
  right: auto !important;
  bottom: auto !important;
  left: 18px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .18) !important;
}

body.crm-app.migo-sidebar-hidden.migo-pipeline-route-v3029 .topbar > div:first-child {
  min-height: 34px;
  padding-left: 44px !important;
}

@media (max-width: 520px) {
  body.crm-app.migo-sidebar-hidden.migo-pipeline-route-v3029 #migoSidebarOpenButton {
    top: 12px !important;
    left: 12px !important;
    width: 32px !important;
    height: 32px !important;
  }

  body.crm-app.migo-sidebar-hidden.migo-pipeline-route-v3029 .topbar > div:first-child {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding-left: 40px !important;
  }
}

/* Migo CRM v3.0.36 Domains workspace width and responsive table */
body.crm-app #domainsView.active {
  min-width: 0 !important;
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  overflow: visible;
}

body.crm-app #domainsView.active > .migo-domains-kpis-v3036 {
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.crm-app #domainsView.active > .migo-domains-layout-v3036 {
  width: 100%;
  min-width: 0;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .85fr);
  align-items: start;
}

body.crm-app #domainsView.active .migo-domains-panel-v3036 {
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 {
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 .data-table {
  width: 100%;
  min-width: 760px;
  table-layout: fixed;
}

body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 th,
body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 td {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 th:nth-child(1) {
  width: 16%;
}

body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 th:nth-child(2) {
  width: 16%;
}

body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 th:nth-child(3),
body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 th:nth-child(4),
body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 th:nth-child(5) {
  width: 10%;
}

body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 th:nth-child(6) {
  width: 26%;
}

body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 th:nth-child(7) {
  width: 12%;
}

body.crm-app #domainsView.active .migo-domains-table-wrap-v3036 code {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.crm-app #domainsView.active .migo-domains-layout-v3036 > .migo-domains-panel-v3036:nth-child(2) {
  min-height: 100%;
}

@media (max-width: 1100px) {
  body.crm-app #domainsView.active > .migo-domains-layout-v3036 {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .9fr);
  }
}

@media (max-width: 860px) {
  body.crm-app #domainsView.active > .migo-domains-layout-v3036 {
    grid-template-columns: minmax(0, 1fr);
  }

  body.crm-app #domainsView.active .migo-domains-panel-v3036 {
    overflow: visible;
  }
}

@media (max-width: 560px) {
  body.crm-app #domainsView.active > .migo-domains-kpis-v3036 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crm-app #domainsView.active .panel-head {
    flex-wrap: wrap;
  }

  body.crm-app #domainsView.active .panel-head h2 {
    min-width: 0;
  }
}

@media (max-width: 380px) {
  body.crm-app #domainsView.active > .migo-domains-kpis-v3036 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Migo CRM v3.0.37 SMTP and notification workspaces */
body.crm-app #smtpSettingsView.active,
body.crm-app #smtpDeliveryView.active,
body.crm-app #notificationCenterView.active {
  min-width: 0 !important;
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  overflow: visible;
}

body.crm-app #smtpSettingsView.active > .grid.cards-grid,
body.crm-app #smtpDeliveryView.active > .grid.cards-grid,
body.crm-app #notificationCenterView.active > .kpi-grid {
  display: grid !important;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px !important;
  margin: 0 !important;
}

body.crm-app #smtpSettingsView.active > .grid.cards-grid .card,
body.crm-app #smtpDeliveryView.active > .grid.cards-grid .card,
body.crm-app #notificationCenterView.active > .kpi-grid .kpi-card {
  display: grid;
  min-width: 0;
  min-height: 88px;
  align-content: center;
  gap: 6px;
  padding: 14px !important;
  border: 1px solid #dfe3e8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.crm-app #smtpSettingsView.active > .grid.cards-grid .card span,
body.crm-app #smtpDeliveryView.active > .grid.cards-grid .card span,
body.crm-app #notificationCenterView.active > .kpi-grid .kpi-card span {
  display: block;
  min-width: 0;
  color: #687386;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.25;
}

body.crm-app #smtpSettingsView.active > .grid.cards-grid .card strong,
body.crm-app #smtpDeliveryView.active > .grid.cards-grid .card strong,
body.crm-app #notificationCenterView.active > .kpi-grid .kpi-card strong {
  display: block;
  margin: 0;
  color: #101827;
  font-size: 24px;
  line-height: 1.1;
}

body.crm-app #smtpSettingsView.active > .panel,
body.crm-app #smtpDeliveryView.active > .panel,
body.crm-app #notificationCenterView.active > .panel-card,
body.crm-app #notificationCenterView.active > .layout-grid > .panel-card {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 16px !important;
  border: 1px solid #dfe3e8 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.crm-app #smtpSettingsView.active > .panel,
body.crm-app #smtpDeliveryView.active > .panel {
  overflow-x: auto;
}

body.crm-app #smtpSettingsView.active .panel-head,
body.crm-app #smtpDeliveryView.active .panel-head,
body.crm-app #notificationCenterView.active .panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  gap: 8px;
  margin: 0 0 12px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid #e6e9ee;
}

body.crm-app #smtpSettingsView.active .panel-head h3,
body.crm-app #smtpDeliveryView.active .panel-head h3,
body.crm-app #notificationCenterView.active .panel-head h2 {
  min-width: 0;
  margin: 0 !important;
  color: #101827;
  font-size: 16px !important;
  font-weight: 850;
  line-height: 1.25;
}

body.crm-app #smtpSettingsView.active .panel-head > div,
body.crm-app #smtpDeliveryView.active .panel-head > div,
body.crm-app #notificationCenterView.active .panel-head > .row-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
  margin-left: auto;
}

body.crm-app #smtpSettingsView.active .btn,
body.crm-app #smtpDeliveryView.active .btn,
body.crm-app #smtpDeliveryView.active .mini,
body.crm-app #smtpSettingsView.active .mini,
body.crm-app #notificationCenterView.active .mini-btn,
body.crm-app #notificationCenterView.active .primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  min-height: 32px;
  height: 32px;
  padding: 0 10px !important;
  border: 1px solid #d5dbe3 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #263246 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  box-shadow: none !important;
  white-space: nowrap;
}

body.crm-app #smtpSettingsView.active .btn:hover,
body.crm-app #smtpDeliveryView.active .btn:hover,
body.crm-app #smtpDeliveryView.active .mini:hover,
body.crm-app #notificationCenterView.active .mini-btn:hover {
  border-color: #aeb8c6 !important;
  background: #f8fafc !important;
}

body.crm-app #smtpSettingsView.active .btn.ghost,
body.crm-app #smtpDeliveryView.active .btn.ghost {
  background: #f8fafc !important;
}

body.crm-app #smtpSettingsView.active .btn.danger,
body.crm-app #smtpDeliveryView.active .mini.danger {
  border-color: #fecaca !important;
  background: #fff7f7 !important;
  color: #b42318 !important;
}

body.crm-app #notificationCenterView.active .primary-btn {
  border-color: #111a2e !important;
  background: #111a2e !important;
  color: #ffffff !important;
}

body.crm-app #smtpSettingsView.active .form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

body.crm-app #smtpSettingsView.active .form-grid label {
  min-width: 0;
  gap: 6px;
  color: #4e5b6e;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

body.crm-app #smtpSettingsView.active input,
body.crm-app #smtpSettingsView.active select {
  min-width: 0;
  min-height: 34px;
  height: 34px;
  padding: 7px 9px !important;
  border-radius: 7px !important;
  border-color: #d5dbe3 !important;
  background: #ffffff !important;
  color: #172033;
  font-size: 12px;
}

body.crm-app #smtpSettingsView.active .muted,
body.crm-app #smtpDeliveryView.active .muted {
  margin: 10px 0 0;
  color: #687386;
  font-size: 12px;
  line-height: 1.5;
}

body.crm-app #smtpSettingsView.active code,
body.crm-app #smtpDeliveryView.active code {
  overflow-wrap: anywhere;
}

body.crm-app #smtpSettingsView.active pre {
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  border: 1px solid #e1e6ed;
  border-radius: 7px;
  background: #f8fafc;
  color: #344054;
  font-size: 11px;
}

body.crm-app #smtpSettingsView.active > .panel > table,
body.crm-app #smtpDeliveryView.active > .panel > table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

body.crm-app #smtpSettingsView.active > .panel > table th,
body.crm-app #smtpSettingsView.active > .panel > table td,
body.crm-app #smtpDeliveryView.active > .panel > table th,
body.crm-app #smtpDeliveryView.active > .panel > table td,
body.crm-app #notificationCenterView.active .data-table th,
body.crm-app #notificationCenterView.active .data-table td {
  padding: 10px 11px !important;
  border-bottom: 1px solid #e6e9ee !important;
  color: #3d4a5e;
  font-size: 12px;
  line-height: 1.35;
  vertical-align: top;
  overflow-wrap: anywhere;
  white-space: normal;
}

body.crm-app #smtpSettingsView.active > .panel > table th,
body.crm-app #smtpDeliveryView.active > .panel > table th,
body.crm-app #notificationCenterView.active .data-table th {
  color: #687386;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.crm-app #smtpSettingsView.active > .panel > table tr:last-child td,
body.crm-app #smtpDeliveryView.active > .panel > table tr:last-child td,
body.crm-app #notificationCenterView.active .data-table tr:last-child td {
  border-bottom: 0 !important;
}

body.crm-app #smtpDeliveryView.active > .panel > h3 {
  margin: 0 0 12px;
  color: #101827;
  font-size: 16px;
  line-height: 1.25;
}

body.crm-app #smtpDeliveryView.active > .panel > .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body.crm-app #notificationCenterView.active > .layout-grid {
  min-width: 0;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
  gap: 14px;
}

body.crm-app #notificationCenterView.active .table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

body.crm-app #notificationCenterView.active .data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

body.crm-app #notificationCenterView.active > .panel-card .data-table,
body.crm-app #notificationCenterView.active > .layout-grid:last-of-type .data-table {
  min-width: 760px;
}

body.crm-app #notificationCenterView.active .status-pill {
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 980px) {
  body.crm-app #smtpSettingsView.active > .grid.cards-grid,
  body.crm-app #smtpDeliveryView.active > .grid.cards-grid,
  body.crm-app #notificationCenterView.active > .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crm-app #smtpSettingsView.active .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crm-app #notificationCenterView.active > .layout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body.crm-app #smtpSettingsView.active > .grid.cards-grid,
  body.crm-app #smtpDeliveryView.active > .grid.cards-grid,
  body.crm-app #notificationCenterView.active > .kpi-grid,
  body.crm-app #smtpSettingsView.active .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.crm-app #smtpSettingsView.active > .panel,
  body.crm-app #smtpDeliveryView.active > .panel,
  body.crm-app #notificationCenterView.active > .panel-card,
  body.crm-app #notificationCenterView.active > .layout-grid > .panel-card {
    padding: 13px !important;
  }

  body.crm-app #smtpSettingsView.active .panel-head,
  body.crm-app #smtpDeliveryView.active .panel-head,
  body.crm-app #notificationCenterView.active .panel-head {
    align-items: flex-start;
  }

  body.crm-app #smtpSettingsView.active .panel-head > div,
  body.crm-app #smtpDeliveryView.active .panel-head > div,
  body.crm-app #notificationCenterView.active .panel-head > .row-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}

/* Migo CRM v3.0.41 final cascade position */
body.crm-app.migo-sidebar-modern-v3039 .sidebar,
body.crm-app.migo-sidebar-modern-v3039 aside.sidebar {
  gap: 0 !important;
  padding-bottom: 0 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .brand-row {
  min-height: 52px !important;
  padding: 8px 11px 6px !important;
  border-bottom-color: transparent !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost .migo-sidebar-search-inner {
  height: 38px !important;
  min-height: 38px !important;
  border-color: #cfdcc9 !important;
  background: #ffffff !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost input#migoSidebarSearch {
  height: 36px !important;
  font-size: 13px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027 {
  margin-top: 7px !important;
  padding-top: 7px !important;
  color: #8d988c !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item.active {
  background: #e2eadf !important;
  box-shadow: none !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .migo-sidebar-scroll {
  padding-bottom: 4px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar-footer {
  margin: 0 !important;
  padding: 4px 8px 6px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-account-main {
  height: 40px !important;
  min-height: 40px !important;
  padding: 4px 5px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-user-avatar {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  flex-basis: 28px !important;
}
/* Migo CRM v3.0.43 Modular Dashboard Workspace */
.migo-dashboard-v3043 {
  --dash43-ink: #111827;
  --dash43-muted: #64748b;
  --dash43-line: #dfe6ef;
  --dash43-soft: #f7f9fc;
  --dash43-blue: #2563eb;
  --dash43-green: #0f9f7a;
  --dash43-amber: #d97706;
  --dash43-violet: #7c3aed;
  --dash43-red: #dc4c64;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  color: var(--dash43-ink);
  letter-spacing: 0;
}

.migo-dashboard-v3043 *,
.migo-dashboard-v3043 *::before,
.migo-dashboard-v3043 *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.migo-dashboard-v3043 button,
.migo-dashboard-v3043 input {
  font: inherit;
}

.migo-dashboard-v3043 button:focus-visible,
.migo-dashboard-v3043 input:focus-visible {
  outline: 2px solid var(--dash43-blue);
  outline-offset: 2px;
}

.migo-dash43-commandbar {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 9px 10px 9px 14px;
  border: 1px solid var(--dash43-line);
  border-radius: 8px;
  background: #fff;
}

.migo-dash43-command-copy {
  display: grid;
  min-width: 180px;
  gap: 2px;
}

.migo-dash43-command-copy strong {
  font-size: 14px;
  line-height: 1.25;
}

.migo-dash43-command-copy span {
  overflow: hidden;
  color: var(--dash43-muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migo-dash43-command-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}

.migo-dash43-period {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 3px;
  border: 1px solid var(--dash43-line);
  border-radius: 7px;
  background: #f4f6f9;
}

.migo-dash43-period button {
  min-width: 62px;
  min-height: 30px;
  padding: 5px 9px;
  border: 0;
  border-radius: 5px;
  color: #64748b;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.migo-dash43-period button.active {
  color: #111827;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .12);
}

.migo-dash43-command-button,
.migo-dash43-all-hidden > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--dash43-line);
  border-radius: 7px;
  color: #243044;
  background: #fff;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  white-space: nowrap;
}

.migo-dash43-command-button:hover,
.migo-dash43-all-hidden > button:hover {
  border-color: #b8c5d6;
  background: #f8fafc;
}

.migo-dash43-command-button svg,
.migo-dash43-icon-button svg,
.migo-dash43-widget-menu svg,
.migo-dash43-empty svg,
.migo-dash43-error svg,
.migo-dash43-attention-icon svg,
.migo-dash43-all-hidden > svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.migo-dash43-command-button.is-loading svg {
  animation: migo-dash43-spin .8s linear infinite;
}

@keyframes migo-dash43-spin {
  to { transform: rotate(360deg); }
}

.migo-dash43-customizer {
  position: absolute;
  top: calc(100% + 7px);
  right: 0;
  z-index: 90;
  width: min(390px, calc(100vw - 36px));
  max-height: min(640px, calc(100vh - 120px));
  overflow: auto;
  padding: 12px;
  border: 1px solid #d5deea;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
}

.migo-dash43-customizer[hidden],
.migo-dash43-widget-menu[hidden],
.migo-dash43-all-hidden[hidden] {
  display: none !important;
}

.migo-dash43-customizer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid #edf1f6;
}

.migo-dash43-customizer-head > div {
  display: grid;
  gap: 3px;
}

.migo-dash43-customizer-head strong {
  font-size: 14px;
}

.migo-dash43-customizer-head span {
  color: var(--dash43-muted);
  font-size: 12px;
}

.migo-dash43-customizer-list {
  display: grid;
  margin: 5px 0;
}

.migo-dash43-customizer-list label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 7px 3px;
  border-bottom: 1px solid #edf1f6;
  cursor: pointer;
}

.migo-dash43-customizer-list label > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.migo-dash43-customizer-list b {
  color: #1f2937;
  font-size: 13px;
}

.migo-dash43-customizer-list small {
  overflow: hidden;
  color: var(--dash43-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migo-dash43-customizer-list input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.migo-dash43-customizer-list label > i {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #cbd5e1;
  transition: background .16s ease;
}

.migo-dash43-customizer-list label > i::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .22);
  transition: transform .16s ease;
}

.migo-dash43-customizer-list input:checked + i {
  background: var(--dash43-blue);
}

.migo-dash43-customizer-list input:checked + i::after {
  transform: translateX(14px);
}

.migo-dash43-reset {
  width: 100%;
  min-height: 35px;
  margin-top: 7px;
  border: 1px solid var(--dash43-line);
  border-radius: 7px;
  color: #334155;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.migo-dash43-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.migo-dash43-widget {
  position: relative;
  min-width: 0;
  overflow: visible;
  border: 1px solid var(--dash43-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15, 23, 42, .035);
  transition: border-color .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.migo-dash43-widget:hover {
  border-color: #ccd6e3;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .055);
}

.migo-dash43-widget.is-dragging {
  z-index: 30;
  opacity: .48;
  border-color: var(--dash43-blue);
  box-shadow: 0 14px 36px rgba(37, 99, 235, .16);
}

.migo-dash43-span-wide { grid-column: 1 / -1; }
.migo-dash43-span-eight { grid-column: span 8; }
.migo-dash43-span-four { grid-column: span 4; }
.migo-dash43-span-six { grid-column: span 6; }

.migo-dash43-widget-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 61px;
  padding: 12px 12px 10px 14px;
  border-bottom: 1px solid #edf1f6;
}

.migo-dash43-widget-title {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.migo-dash43-widget-title h2,
.migo-dash43-widget-title p {
  margin: 0;
}

.migo-dash43-widget-title h2 {
  color: #111827;
  font-size: 15px;
  line-height: 1.25;
}

.migo-dash43-widget-title p {
  overflow: hidden;
  color: var(--dash43-muted);
  font-size: 11.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migo-dash43-widget-tools {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  gap: 3px;
}

.migo-dash43-icon-button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #64748b;
  background: transparent;
  cursor: pointer;
}

.migo-dash43-icon-button:hover {
  border-color: #dfe6ef;
  color: #1f2937;
  background: #f5f7fa;
}

.migo-dash43-drag {
  cursor: grab;
  touch-action: none;
}

.migo-dash43-drag:active {
  cursor: grabbing;
}

.migo-dash43-widget-menu {
  position: absolute;
  top: 34px;
  right: 0;
  z-index: 80;
  width: 178px;
  padding: 5px;
  border: 1px solid #d5deea;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .16);
}

.migo-dash43-widget-menu button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  border: 0;
  border-radius: 5px;
  color: #334155;
  background: transparent;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.migo-dash43-widget-menu button:hover {
  background: #f1f5f9;
}

.migo-dash43-widget-body {
  min-height: 140px;
  padding: 13px 14px 15px;
}

.migo-dash43-span-wide .migo-dash43-widget-body {
  min-height: 116px;
}

.migo-dash43-loading {
  display: grid;
  align-content: center;
  gap: 9px;
  min-height: 120px;
}

.migo-dash43-loading span {
  color: var(--dash43-muted);
  font-size: 12px;
}

.migo-dash43-loading i {
  display: block;
  width: 100%;
  height: 10px;
  border-radius: 4px;
  background: #e9eef5;
  animation: migo-dash43-pulse 1.1s ease-in-out infinite alternate;
}

.migo-dash43-loading i:nth-of-type(2) { width: 78%; animation-delay: .12s; }
.migo-dash43-loading i:nth-of-type(3) { width: 55%; animation-delay: .24s; }

@keyframes migo-dash43-pulse {
  to { opacity: .42; }
}

.migo-dash43-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

.migo-dash43-metric {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 91px;
  padding: 8px 15px 7px;
  border: 0;
  border-right: 1px solid #e9eef5;
  color: var(--dash43-ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.migo-dash43-metric:last-child { border-right: 0; }
.migo-dash43-metric::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 2px;
  background: var(--dash43-blue);
  opacity: .85;
}
.migo-dash43-metric.green::before { background: var(--dash43-green); }
.migo-dash43-metric.teal::before { background: #0891b2; }
.migo-dash43-metric.amber::before { background: var(--dash43-amber); }
.migo-dash43-metric.violet::before { background: var(--dash43-violet); }
.migo-dash43-metric.red::before { background: var(--dash43-red); }

.migo-dash43-metric:hover { background: #f8fafc; }
.migo-dash43-metric span,
.migo-dash43-metric small {
  overflow: hidden;
  color: var(--dash43-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.migo-dash43-metric span { font-weight: 800; }
.migo-dash43-metric strong {
  align-self: center;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.12;
}

.migo-dash43-chart-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  min-height: 31px;
  margin-bottom: 8px;
  color: var(--dash43-muted);
  font-size: 12px;
}
.migo-dash43-chart-summary b { color: #1f2937; }
.migo-dash43-chart-summary button,
.migo-dash43-text-action {
  margin-left: auto;
  padding: 4px 0;
  border: 0;
  color: #1d4ed8;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.migo-dash43-stage-list {
  display: grid;
}
.migo-dash43-stage {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto;
  gap: 5px 14px;
  width: 100%;
  min-height: 49px;
  padding: 8px 2px;
  border: 0;
  border-top: 1px solid #edf1f6;
  color: var(--dash43-ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.migo-dash43-stage:hover { background: #fafbfd; }
.migo-dash43-stage-name {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.migo-dash43-stage-name > i {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.migo-dash43-stage-name b {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.migo-dash43-stage-name small {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  color: #475569;
  background: #eef2f7;
  font-size: 10px;
  font-weight: 850;
}
.migo-dash43-stage-value {
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.migo-dash43-stage-track {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f6;
}
.migo-dash43-stage-track > i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.migo-dash43-conversion {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 250px;
}
.migo-dash43-ring {
  position: relative;
  width: 126px;
  height: 126px;
}
.migo-dash43-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.migo-dash43-ring circle {
  fill: none;
  stroke: #e9eef5;
  stroke-width: 10;
}
.migo-dash43-ring circle.value {
  stroke: var(--dash43-green);
  stroke-linecap: round;
}
.migo-dash43-ring > div {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.migo-dash43-ring strong {
  font-size: 24px;
  line-height: 1;
}
.migo-dash43-ring span {
  margin-top: 4px;
  color: var(--dash43-muted);
  font-size: 10px;
}
.migo-dash43-funnel {
  display: grid;
  gap: 9px;
}
.migo-dash43-funnel > div > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
  color: var(--dash43-muted);
  font-size: 10px;
}
.migo-dash43-funnel > div > span b { color: #334155; }
.migo-dash43-funnel > div > i {
  display: block;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f6;
}
.migo-dash43-funnel > div > i > b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--dash43-blue);
}

.migo-dash43-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  min-height: 24px;
  margin-bottom: 4px;
}
.migo-dash43-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #526174;
  font-size: 10.5px;
  font-weight: 750;
}
.migo-dash43-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.migo-dash43-line-chart {
  width: 100%;
  min-height: 230px;
  overflow: hidden;
}
.migo-dash43-line-chart svg {
  display: block;
  width: 100%;
  height: 230px;
  overflow: visible;
}
.migo-dash43-line-chart line {
  stroke: #cfd8e5;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.migo-dash43-line-chart line.grid {
  stroke: #e8edf4;
  stroke-dasharray: 3 5;
}
.migo-dash43-line-chart path {
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.migo-dash43-line-chart text {
  fill: #7b899b;
  font-size: 10px;
}

.migo-dash43-task-list,
.migo-dash43-attention-list,
.migo-dash43-source-list {
  display: grid;
}
.migo-dash43-task-list > button,
.migo-dash43-attention-list > button {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 49px;
  padding: 7px 2px;
  border: 0;
  border-top: 1px solid #edf1f6;
  color: var(--dash43-ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.migo-dash43-task-list > button {
  grid-template-columns: 5px minmax(0, 1fr) auto;
  gap: 10px;
}
.migo-dash43-task-list > button:hover,
.migo-dash43-attention-list > button:hover { background: #fafbfd; }
.migo-dash43-task-mark {
  width: 4px;
  height: 28px;
  border-radius: 3px;
  background: #94a3b8;
}
.migo-dash43-task-mark.high,
.migo-dash43-task-mark.urgent { background: var(--dash43-red); }
.migo-dash43-task-mark.low { background: var(--dash43-green); }
.migo-dash43-task-list b,
.migo-dash43-attention-list b {
  display: block;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.migo-dash43-task-list small,
.migo-dash43-attention-list small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--dash43-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.migo-dash43-task-meta {
  display: grid;
  justify-items: end;
  gap: 3px;
}
.migo-dash43-task-meta i,
.migo-dash43-task-meta em {
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}
.migo-dash43-task-meta i { color: #64748b; }
.migo-dash43-task-meta em {
  padding: 2px 5px;
  border-radius: 999px;
  color: #475569;
  background: #eef2f7;
  font-weight: 800;
}
.migo-dash43-task-meta em.high,
.migo-dash43-task-meta em.urgent { color: #b4233d; background: #fff1f3; }
.migo-dash43-text-action {
  display: block;
  margin: 9px 0 0 auto;
}

.migo-dash43-attention-list > button {
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
}
.migo-dash43-attention-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: #b4233d;
  background: #fff1f3;
}
.migo-dash43-attention-list > button > strong {
  color: #334155;
  font-size: 11px;
  white-space: nowrap;
}

.migo-dash43-source-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  min-height: 51px;
  padding: 8px 2px;
  border-top: 1px solid #edf1f6;
}
.migo-dash43-source-list span {
  min-width: 0;
}
.migo-dash43-source-list span b,
.migo-dash43-source-list span small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.migo-dash43-source-list span b { font-size: 11.5px; }
.migo-dash43-source-list span small { margin-top: 2px; color: var(--dash43-muted); font-size: 10px; }
.migo-dash43-source-list > div > strong { color: #334155; font-size: 11px; white-space: nowrap; }
.migo-dash43-source-list > div > i {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f6;
}
.migo-dash43-source-list > div > i > b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0891b2;
}

.migo-dash43-empty {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 170px;
  padding: 18px;
  color: var(--dash43-muted);
  text-align: center;
}
.migo-dash43-empty svg {
  width: 24px;
  height: 24px;
  margin-bottom: 9px;
  color: #94a3b8;
}
.migo-dash43-empty.is-good svg { color: var(--dash43-green); }
.migo-dash43-empty strong { color: #334155; font-size: 13px; }
.migo-dash43-empty span { max-width: 360px; margin-top: 4px; font-size: 11px; line-height: 1.45; }

.migo-dash43-error {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 118px;
  color: #9f2740;
}
.migo-dash43-error > div { display: grid; gap: 3px; }
.migo-dash43-error strong { font-size: 12px; }
.migo-dash43-error span { color: #7f4351; font-size: 10.5px; }
.migo-dash43-error button {
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid #f1c1cb;
  border-radius: 6px;
  color: #9f2740;
  background: #fff7f8;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.migo-dash43-all-hidden {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 28px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  color: var(--dash43-muted);
  background: #fff;
  text-align: center;
}
.migo-dash43-all-hidden > svg { width: 28px; height: 28px; margin-bottom: 10px; }
.migo-dash43-all-hidden strong { color: #334155; }
.migo-dash43-all-hidden span { margin: 4px 0 12px; font-size: 12px; }

@media (max-width: 1360px) {
  .migo-dash43-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .migo-dash43-metric:nth-child(3) { border-right: 0; }
  .migo-dash43-metric:nth-child(-n+3) { border-bottom: 1px solid #e9eef5; }
}

@media (max-width: 1120px) {
  .migo-dash43-span-eight,
  .migo-dash43-span-four,
  .migo-dash43-span-six { grid-column: 1 / -1; }
  .migo-dash43-conversion { grid-template-columns: 150px minmax(0, 1fr); min-height: 190px; }
}

@media (max-width: 820px) {
  .migo-dash43-commandbar { align-items: flex-start; flex-direction: column; }
  .migo-dash43-command-copy { width: 100%; }
  .migo-dash43-command-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .migo-dash43-period { flex: 1 1 220px; }
  .migo-dash43-period button { min-width: 0; }
}

@media (max-width: 600px) {
  .migo-dashboard-v3043 { gap: 9px; }
  .migo-dash43-commandbar { padding: 9px; }
  .migo-dash43-command-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .migo-dash43-period { grid-column: 1 / -1; width: 100%; }
  .migo-dash43-command-button { width: 100%; }
  .migo-dash43-customizer { position: fixed; top: 72px; right: 10px; left: 10px; width: auto; max-height: calc(100vh - 92px); }
  .migo-dash43-widget-head { padding: 11px 9px 9px 11px; }
  .migo-dash43-widget-title p { white-space: normal; }
  .migo-dash43-widget-body { padding: 10px 11px 12px; }
  .migo-dash43-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .migo-dash43-metric { min-height: 82px; padding: 7px 10px 6px 12px; }
  .migo-dash43-metric:nth-child(3) { border-right: 1px solid #e9eef5; }
  .migo-dash43-metric:nth-child(2n) { border-right: 0; }
  .migo-dash43-metric:nth-child(-n+4) { border-bottom: 1px solid #e9eef5; }
  .migo-dash43-metric strong { font-size: 17px; }
  .migo-dash43-conversion { grid-template-columns: 112px minmax(0, 1fr); gap: 9px; }
  .migo-dash43-ring { width: 108px; height: 108px; }
  .migo-dash43-line-chart,
  .migo-dash43-line-chart svg { min-height: 190px; height: 190px; }
  .migo-dash43-stage { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; }
  .migo-dash43-stage-value { font-size: 10px; }
  .migo-dash43-task-meta i { display: none; }
}

@media (max-width: 380px) {
  .migo-dash43-command-button span { overflow: hidden; text-overflow: ellipsis; }
  .migo-dash43-metrics { grid-template-columns: 1fr; }
  .migo-dash43-metric,
  .migo-dash43-metric:nth-child(3) { border-right: 0; border-bottom: 1px solid #e9eef5; }
  .migo-dash43-metric:last-child { border-bottom: 0; }
  .migo-dash43-conversion { grid-template-columns: 1fr; }
  .migo-dash43-ring { margin: 0 auto; }
}

/* Migo CRM v3.0.45 Minimal Global Page Header */
body.crm-app .topbar > .topbar-actions {
  display: none !important;
}

body.crm-app .topbar {
  justify-content: flex-start !important;
}

/* Migo CRM v3.0.48 Compact Core Lists */
body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-commandbar-v3027 {
  grid-template-columns: minmax(320px, 1fr) auto !important;
  align-items: end !important;
  gap: 12px !important;
  padding: 0 0 11px !important;
}

body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-tools-v3027 {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
}

body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-search-v3027 {
  flex: 1 1 360px;
  max-width: 520px;
  min-width: 180px;
}

body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-filter-v3027 {
  flex: 0 0 146px;
  min-width: 0;
}

body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-search-v3027 input,
body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-filter-v3027 select {
  width: 100%;
  min-width: 0;
}

body.crm-app #tableView.active .migo-compact-list-actions-v3048 {
  justify-content: flex-end;
  flex-wrap: nowrap;
}

body.crm-app #tableView.active .migo-compact-list-actions-v3048 > .primary-btn {
  min-height: 39px;
  padding: 8px 12px;
  border-radius: 7px !important;
  white-space: nowrap;
}

body.crm-app #tableView.active .migo-compact-list-more-v3048 > summary {
  display: inline-grid;
  place-items: center;
  width: 39px;
  height: 39px;
  min-height: 39px;
  padding: 0;
  border-radius: 7px !important;
}

body.crm-app #tableView.active .migo-compact-list-more-v3048 > summary .migo-ui-icon {
  width: 17px;
  height: 17px;
}

body.crm-app #tableView.active .migo-compact-list-more-v3048 > div {
  right: 0;
  left: auto;
  z-index: 80;
  min-width: 180px;
}

@media (max-width: 760px) {
  body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-commandbar-v3027 {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-tools-v3027 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 126px;
  }

  body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-tools-single-v3048 {
    grid-template-columns: minmax(0, 1fr);
  }

  body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-search-v3027,
  body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-filter-v3027 {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  body.crm-app #tableView.active .migo-compact-list-actions-v3048 {
    justify-content: flex-end;
  }
}

@media (max-width: 430px) {
  body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-tools-v3027 {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 7px;
  }

  body.crm-app #tableView.active .migo-compact-list-v3048 .migo-list-tools-single-v3048 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Migo CRM v3.0.52 Modern Calendar, Communication, Files and Contracts */
body.crm-app #calendarView.active,
body.crm-app #communicationView.active,
body.crm-app #filesView.active,
body.crm-app #contractsView.active {
  min-width: 0;
}

body.crm-app .migo-module-page-v3052 {
  --migo-module-ink-v3052: #172033;
  --migo-module-muted-v3052: #68758a;
  --migo-module-line-v3052: #dce2e9;
  --migo-module-soft-v3052: #f4f6f8;
  --migo-module-accent-v3052: #2563eb;
  display: grid;
  width: min(100%, 1560px);
  min-width: 0;
  margin: 0 auto;
  gap: 12px;
  color: var(--migo-module-ink-v3052);
}

body.crm-app .migo-module-command-v3052 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  min-width: 0;
  gap: 14px;
  padding: 0 0 11px;
  border-bottom: 1px solid #d6dbe2;
}

body.crm-app .migo-module-metrics-v3052 {
  display: flex;
  align-items: stretch;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

body.crm-app .migo-module-metrics-v3052::-webkit-scrollbar,
body.crm-app .migo-module-tabs-v3052::-webkit-scrollbar {
  display: none;
}

body.crm-app .migo-module-metrics-v3052 article {
  display: grid;
  min-width: 104px;
  align-content: center;
  gap: 2px;
  padding: 1px 18px;
  border-left: 1px solid var(--migo-module-line-v3052);
}

body.crm-app .migo-module-metrics-v3052 article:first-child {
  padding-left: 0;
  border-left: 0;
}

body.crm-app .migo-module-metrics-v3052 span {
  color: var(--migo-module-muted-v3052);
  font-size: 10.5px;
  font-weight: 750;
  white-space: nowrap;
}

body.crm-app .migo-module-metrics-v3052 strong {
  color: var(--migo-module-ink-v3052);
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}

body.crm-app .migo-module-metrics-v3052 .migo-module-metric-text-v3052 {
  font-size: 12px;
  font-weight: 800;
}

body.crm-app .migo-module-actions-v3052,
body.crm-app .migo-files-tools-v3052,
body.crm-app .migo-module-form-actions-v3052 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 7px;
}

body.crm-app .migo-module-page-v3052 .primary-btn,
body.crm-app .migo-module-page-v3052 .secondary-btn {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 7px !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

body.crm-app .migo-module-page-v3052 .secondary-btn {
  border: 1px solid #d7dde5;
  background: #ffffff;
  color: #334155;
}

body.crm-app .migo-module-page-v3052 .primary-btn .migo-ui-icon,
body.crm-app .migo-module-page-v3052 .secondary-btn .migo-ui-icon {
  width: 15px;
  height: 15px;
  flex-basis: 15px;
}

body.crm-app .migo-icon-button-v3052 {
  display: inline-grid;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid #d7dde5;
  border-radius: 7px;
  background: #ffffff;
  color: #526176;
  cursor: pointer;
}

body.crm-app .migo-icon-button-v3052:hover,
body.crm-app .migo-module-page-v3052 .secondary-btn:hover {
  border-color: #b9c3cf;
  background: #f7f9fb;
  color: #172033;
}

body.crm-app .migo-icon-button-v3052:focus-visible,
body.crm-app .migo-module-page-v3052 button:focus-visible,
body.crm-app .migo-module-tabs-v3052 button:focus-visible {
  outline: 2px solid rgba(37, 99, 235, .28);
  outline-offset: 2px;
}

body.crm-app .migo-module-panel-v3052 {
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--migo-module-line-v3052);
  border-radius: 8px;
  background: #ffffff;
}

body.crm-app .migo-module-panel-head-v3052,
body.crm-app .migo-module-panel-title-v3052 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

body.crm-app .migo-module-panel-head-v3052 {
  margin-bottom: 12px;
}

body.crm-app .migo-module-panel-head-v3052 h2 {
  margin: 0;
  color: var(--migo-module-ink-v3052);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.25;
}

body.crm-app .migo-module-panel-head-v3052 p {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--migo-module-muted-v3052);
  font-size: 10.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-module-heading-icon-v3052,
body.crm-app .migo-module-row-icon-v3052,
body.crm-app .migo-file-type-icon-v3052 {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #edf3ff;
  color: #255dc4;
}

body.crm-app .migo-module-heading-icon-v3052 .migo-ui-icon,
body.crm-app .migo-module-row-icon-v3052 .migo-ui-icon,
body.crm-app .migo-file-type-icon-v3052 .migo-ui-icon {
  width: 15px;
  height: 15px;
}

body.crm-app .migo-module-count-v3052 {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #eef2f7;
  color: #526176;
  font-size: 10px;
  font-weight: 850;
}

body.crm-app .migo-compose-form-v3052,
body.crm-app .migo-file-form-v3052 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-width: 0;
  gap: 10px;
}

body.crm-app .migo-compose-form-v3052 > label,
body.crm-app .migo-file-form-v3052 > label {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 5px;
  color: #526176;
  font-size: 10.5px;
  font-weight: 800;
}

body.crm-app .migo-compose-form-v3052 > label,
body.crm-app .migo-file-form-v3052 > label {
  grid-column: span 6;
}

body.crm-app .migo-compose-form-v3052 .migo-field-small-v3052 {
  grid-column: span 4;
}

body.crm-app .migo-compose-form-v3052 .migo-field-wide-v3052 {
  grid-column: span 8;
}

body.crm-app .migo-compose-form-v3052 .migo-field-full-v3052,
body.crm-app .migo-file-form-v3052 .migo-field-full-v3052,
body.crm-app .migo-module-form-actions-v3052.migo-field-full-v3052 {
  grid-column: 1 / -1;
}

body.crm-app .migo-module-page-v3052 input:not([type="file"]),
body.crm-app .migo-module-page-v3052 select,
body.crm-app .migo-module-page-v3052 textarea {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #d7dde5 !important;
  border-radius: 7px !important;
  background: #ffffff !important;
  color: #172033;
  font-size: 12px;
  line-height: 1.3;
}

body.crm-app .migo-module-page-v3052 textarea {
  min-height: 94px;
  resize: vertical;
}

body.crm-app .migo-module-form-actions-v3052 {
  padding-top: 1px;
}

body.crm-app .migo-communication-grid-v3052 {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  min-width: 0;
  gap: 12px;
}

body.crm-app .migo-notifications-panel-v3052 .migo-module-list-v3052 {
  max-height: 274px;
  overflow: auto;
}

body.crm-app .migo-module-list-v3052,
body.crm-app .migo-calendar-list-v3052,
body.crm-app .migo-files-list-v3052 {
  display: grid;
  min-width: 0;
}

body.crm-app .migo-module-row-v3052 {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 50px;
  gap: 10px;
  padding: 7px 2px;
  border-top: 1px solid #edf1f5;
}

body.crm-app .migo-module-row-v3052:first-child,
body.crm-app .migo-calendar-item-v3052:first-child,
body.crm-app .migo-file-row-v3052:first-child {
  border-top: 0;
}

body.crm-app .migo-module-row-icon-v3052 {
  width: 28px;
  height: 28px;
  background: #f0f3f7;
  color: #607086;
}

body.crm-app .migo-module-row-copy-v3052,
body.crm-app .migo-module-row-meta-v3052,
body.crm-app .migo-file-copy-v3052,
body.crm-app .migo-file-details-v3052 {
  min-width: 0;
}

body.crm-app .migo-module-row-copy-v3052 strong,
body.crm-app .migo-file-copy-v3052 strong {
  display: block;
  overflow: hidden;
  color: #263246;
  font-size: 11.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-module-row-copy-v3052 small,
body.crm-app .migo-file-copy-v3052 small,
body.crm-app .migo-file-details-v3052 small {
  display: -webkit-box;
  margin-top: 2px;
  overflow: hidden;
  color: var(--migo-module-muted-v3052);
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.crm-app .migo-module-row-meta-v3052 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

body.crm-app .migo-module-badge-v3052 {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #526176;
  background: #eef2f7;
  font-size: 9.5px;
  font-style: normal;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

body.crm-app .migo-module-badge-v3052.is-success {
  color: #0f766e;
  background: #e9f8f4;
}

body.crm-app .migo-module-badge-v3052.is-warning {
  color: #9a5b13;
  background: #fff5e7;
}

body.crm-app .migo-module-badge-v3052.is-danger {
  color: #b4233d;
  background: #fff0f3;
}

body.crm-app .migo-module-date-v3052 {
  display: grid;
  justify-items: end;
  color: #526176;
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.25;
  white-space: nowrap;
}

body.crm-app .migo-module-date-v3052 small {
  color: #8a96a7;
  font-size: 9px;
}

body.crm-app .migo-module-empty-v3052 {
  display: grid;
  min-height: 128px;
  place-items: center;
  align-content: center;
  gap: 5px;
  padding: 18px;
  color: var(--migo-module-muted-v3052);
  text-align: center;
}

body.crm-app .migo-module-empty-v3052 > .migo-ui-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
  color: #94a3b8;
}

body.crm-app .migo-module-empty-v3052 strong {
  color: #334155;
  font-size: 12px;
}

body.crm-app .migo-module-empty-v3052 span {
  max-width: 360px;
  font-size: 10.5px;
  line-height: 1.4;
}

body.crm-app .migo-module-panel-head-stack-v3052 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f5;
}

body.crm-app .migo-module-panel-title-v3052 {
  flex: 1 1 auto;
  grid-template-columns: auto minmax(0, 1fr);
}

body.crm-app .migo-module-tabs-v3052 {
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  min-width: 0;
  gap: 3px;
  overflow-x: auto;
}

body.crm-app .migo-module-tabs-v3052 button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #607086;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

body.crm-app .migo-module-tabs-v3052 button:hover {
  background: #f3f5f8;
  color: #263246;
}

body.crm-app .migo-module-tabs-v3052 button.is-active {
  background: #eaf1ff;
  color: #2259ba;
}

body.crm-app .migo-module-tabs-v3052 button .migo-ui-icon {
  width: 14px;
  height: 14px;
  flex-basis: 14px;
}

body.crm-app .migo-module-tabs-v3052 button i {
  display: inline-grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(100, 116, 139, .1);
  font-size: 9px;
  font-style: normal;
}

body.crm-app .migo-communication-pane-v3052[hidden] {
  display: none !important;
}

body.crm-app .migo-module-subhead-v3052 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 39px;
  gap: 10px;
  color: #526176;
  font-size: 10.5px;
  font-weight: 800;
}

body.crm-app .migo-calendar-grid-v3052 {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr);
  min-width: 0;
  gap: 12px;
}

body.crm-app .migo-calendar-item-v3052 {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  gap: 11px;
  padding: 7px 2px;
  border-top: 1px solid #edf1f5;
}

body.crm-app .migo-calendar-day-v3052 {
  display: grid;
  width: 38px;
  height: 42px;
  place-items: center;
  align-content: center;
  border: 1px solid #dce4ef;
  border-radius: 7px;
  background: #f7f9fc;
  line-height: 1;
}

body.crm-app .migo-calendar-day-v3052 strong {
  color: #243249;
  font-size: 15px;
}

body.crm-app .migo-calendar-day-v3052 span {
  margin-top: 3px;
  color: #718096;
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

body.crm-app .migo-calendar-copy-v3052 {
  min-width: 0;
}

body.crm-app .migo-calendar-copy-v3052 strong,
body.crm-app .migo-calendar-copy-v3052 small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-calendar-copy-v3052 strong {
  color: #263246;
  font-size: 11.5px;
}

body.crm-app .migo-calendar-copy-v3052 small {
  margin-top: 3px;
  color: var(--migo-module-muted-v3052);
  font-size: 10px;
}

body.crm-app .migo-calendar-meta-v3052 {
  display: grid;
  justify-items: end;
  gap: 5px;
}

body.crm-app .migo-calendar-meta-v3052 > time {
  color: #526176;
  font-size: 10px;
  font-weight: 800;
}

body.crm-app .migo-files-tools-v3052 {
  flex: 0 1 560px;
}

body.crm-app .migo-module-search-v3052 {
  position: relative;
  display: flex;
  flex: 1 1 280px;
  min-width: 180px;
  align-items: center;
}

body.crm-app .migo-module-search-v3052 > .migo-ui-icon {
  position: absolute;
  left: 10px;
  z-index: 1;
  width: 14px;
  height: 14px;
  color: #8290a2;
  pointer-events: none;
}

body.crm-app .migo-module-search-v3052 input {
  padding-left: 31px !important;
}

body.crm-app .migo-files-tools-v3052 > select {
  flex: 0 0 136px;
  width: 136px;
}

body.crm-app .migo-files-grid-v3052 {
  display: grid;
  grid-template-columns: minmax(310px, .68fr) minmax(0, 1.32fr);
  align-items: start;
  min-width: 0;
  gap: 12px;
}

body.crm-app .migo-file-picker-v3052 {
  position: relative;
  display: flex !important;
  min-height: 74px;
  align-items: center !important;
  gap: 11px !important;
  padding: 11px;
  border: 1px dashed #bfc9d6;
  border-radius: 7px;
  background: #fafbfd;
  cursor: pointer;
}

body.crm-app .migo-file-picker-v3052:hover,
body.crm-app .migo-file-picker-v3052.has-file {
  border-color: #7ca2ec;
  background: #f5f8ff;
}

body.crm-app .migo-file-picker-v3052 input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body.crm-app .migo-file-picker-icon-v3052 {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 7px;
  background: #eaf1ff;
  color: #255dc4;
}

body.crm-app .migo-file-picker-copy-v3052 {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body.crm-app .migo-file-picker-copy-v3052 strong,
body.crm-app .migo-file-picker-copy-v3052 small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-file-picker-copy-v3052 strong {
  color: #263246;
  font-size: 11.5px;
}

body.crm-app .migo-file-picker-copy-v3052 small {
  color: #718096;
  font-size: 9.5px;
  font-weight: 650;
}

body.crm-app .migo-file-row-v3052 {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) minmax(150px, .58fr) 88px 36px;
  align-items: center;
  min-width: 0;
  min-height: 58px;
  gap: 10px;
  padding: 7px 2px;
  border-top: 1px solid #edf1f5;
}

body.crm-app .migo-file-row-v3052[hidden] {
  display: none !important;
}

body.crm-app .migo-file-type-icon-v3052 {
  width: 28px;
  height: 28px;
  background: #f0f3f7;
  color: #607086;
}

body.crm-app .migo-file-details-v3052 {
  display: grid;
  justify-items: start;
  gap: 3px;
}

body.crm-app .migo-file-details-v3052 small {
  margin: 0;
  -webkit-line-clamp: 1;
}

body.crm-app .migo-filter-empty-v3052[hidden] {
  display: none !important;
}

body.crm-app .migo-contracts-grid-v3052 {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, .72fr);
  min-width: 0;
  gap: 12px;
}

body.crm-app .migo-contracts-empty-v3052 {
  display: grid;
  min-height: 330px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
}

body.crm-app .migo-contracts-hero-icon-v3052 {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 3px;
  border-radius: 8px;
  background: #eaf1ff;
  color: #255dc4;
}

body.crm-app .migo-contracts-hero-icon-v3052 .migo-ui-icon {
  width: 21px;
  height: 21px;
}

body.crm-app .migo-contracts-empty-v3052 h2 {
  margin: 0;
  color: #172033;
  font-size: 17px;
}

body.crm-app .migo-contracts-empty-v3052 p {
  max-width: 470px;
  margin: 0 0 5px;
  color: var(--migo-module-muted-v3052);
  font-size: 11.5px;
  line-height: 1.5;
}

body.crm-app .migo-contract-flow-v3052 ol {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.crm-app .migo-contract-flow-v3052 li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 2px;
  border-top: 1px solid #edf1f5;
}

body.crm-app .migo-contract-flow-v3052 li:first-child {
  border-top: 0;
}

body.crm-app .migo-contract-flow-v3052 li > i {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #d9e0e8;
  border-radius: 7px;
  background: #f7f9fb;
  color: #718096;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

body.crm-app .migo-contract-flow-v3052 li.is-ready > i {
  border-color: #b9e6d7;
  background: #e9f8f4;
  color: #0f766e;
}

body.crm-app .migo-contract-flow-v3052 li > i .migo-ui-icon {
  width: 14px;
  height: 14px;
}

body.crm-app .migo-contract-flow-v3052 li strong,
body.crm-app .migo-contract-flow-v3052 li small {
  display: block;
}

body.crm-app .migo-contract-flow-v3052 li strong {
  color: #263246;
  font-size: 11.5px;
}

body.crm-app .migo-contract-flow-v3052 li small {
  margin-top: 3px;
  color: var(--migo-module-muted-v3052);
  font-size: 10px;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  body.crm-app .migo-communication-grid-v3052 {
    grid-template-columns: minmax(0, 1fr);
  }

  body.crm-app .migo-notifications-panel-v3052 .migo-module-list-v3052 {
    max-height: 260px;
  }
}

@media (max-width: 1050px) {
  body.crm-app .migo-calendar-grid-v3052,
  body.crm-app .migo-files-grid-v3052,
  body.crm-app .migo-contracts-grid-v3052 {
    grid-template-columns: minmax(0, 1fr);
  }

  body.crm-app .migo-upload-panel-v3052 {
    order: 2;
  }

  body.crm-app .migo-file-library-v3052 {
    order: 1;
  }
}

@media (max-width: 760px) {
  body.crm-app .migo-module-command-v3052 {
    align-items: stretch;
    flex-direction: column;
  }

  body.crm-app .migo-module-metrics-v3052 {
    width: 100%;
  }

  body.crm-app .migo-module-command-v3052 .migo-module-actions-v3052,
  body.crm-app .migo-files-tools-v3052 {
    width: 100%;
  }

  body.crm-app .migo-module-panel-head-stack-v3052 {
    align-items: stretch;
    flex-direction: column;
  }

  body.crm-app .migo-module-tabs-v3052 {
    width: 100%;
  }

  body.crm-app .migo-module-row-v3052 {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  body.crm-app .migo-module-row-meta-v3052 {
    grid-column: 2;
    justify-content: flex-start;
  }

  body.crm-app .migo-file-row-v3052 {
    grid-template-columns: 28px minmax(0, 1fr) 36px;
  }

  body.crm-app .migo-file-details-v3052,
  body.crm-app .migo-file-row-v3052 > .migo-module-date-v3052 {
    grid-column: 2;
    justify-items: start;
  }

  body.crm-app .migo-file-row-v3052 > .migo-icon-button-v3052 {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  body.crm-app .migo-file-row-v3052 > .migo-module-date-v3052 {
    display: flex;
    gap: 6px;
  }
}

@media (max-width: 540px) {
  body.crm-app .migo-module-page-v3052 {
    gap: 9px;
  }

  body.crm-app .migo-module-panel-v3052 {
    padding: 12px;
  }

  body.crm-app .migo-module-metrics-v3052 article {
    min-width: 92px;
    padding: 1px 12px;
  }

  body.crm-app .migo-module-metrics-v3052 strong {
    font-size: 16px;
  }

  body.crm-app .migo-compose-form-v3052 > label,
  body.crm-app .migo-file-form-v3052 > label,
  body.crm-app .migo-compose-form-v3052 .migo-field-small-v3052,
  body.crm-app .migo-compose-form-v3052 .migo-field-wide-v3052 {
    grid-column: 1 / -1;
  }

  body.crm-app .migo-files-tools-v3052 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
  }

  body.crm-app .migo-module-search-v3052 {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  body.crm-app .migo-files-tools-v3052 > select {
    width: 100%;
    min-width: 0;
  }

  body.crm-app .migo-calendar-item-v3052 {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  body.crm-app .migo-calendar-meta-v3052 {
    grid-column: 2;
    grid-template-columns: auto auto;
    justify-content: start;
    justify-items: start;
  }

  body.crm-app .migo-module-panel-head-v3052 p {
    white-space: normal;
  }

  body.crm-app .migo-contracts-empty-v3052 {
    min-height: 280px;
    padding: 22px 14px;
  }

  body.crm-app .migo-contracts-empty-v3052 .migo-module-actions-v3052 {
    width: 100%;
    flex-direction: column;
  }

  body.crm-app .migo-contracts-empty-v3052 .migo-module-actions-v3052 button {
    width: 100%;
  }
}

/* Migo CRM v3.0.53 Secure file previews */
body.crm-app .migo-file-row-v3052 {
  grid-template-columns: 48px minmax(0, 1fr) minmax(150px, .58fr) 88px auto;
  min-height: 68px;
}

body.crm-app .migo-file-thumbnail-v3053 {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  overflow: hidden;
  place-items: center;
  padding: 0;
  border: 1px solid #dbe1e8;
  border-radius: 7px;
  background: #f2f5f8;
  color: #526176;
  cursor: pointer;
  isolation: isolate;
}

body.crm-app .migo-file-thumbnail-v3053:hover:not(:disabled) {
  border-color: #91ace0;
  background: #edf3ff;
  color: #255dc4;
}

body.crm-app .migo-file-thumbnail-v3053:focus-visible {
  outline: 2px solid rgba(37, 99, 235, .28);
  outline-offset: 2px;
}

body.crm-app .migo-file-thumbnail-v3053:disabled {
  cursor: default;
  opacity: 1;
}

body.crm-app .migo-file-thumbnail-v3053 > span {
  position: relative;
  z-index: 2;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 6px;
  transition: opacity .16s ease;
}

body.crm-app .migo-file-thumbnail-v3053 > span .migo-ui-icon {
  width: 18px;
  height: 18px;
}

body.crm-app .migo-file-thumbnail-v3053 > small {
  position: absolute;
  right: 3px;
  bottom: 3px;
  z-index: 3;
  max-width: calc(100% - 6px);
  overflow: hidden;
  padding: 2px 3px;
  border-radius: 4px;
  background: rgba(15, 23, 42, .76);
  color: #fff;
  font-size: 7px;
  font-weight: 850;
  line-height: 1;
  text-overflow: ellipsis;
}

body.crm-app .migo-file-thumbnail-media-v3053 {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

body.crm-app .migo-file-thumbnail-v3053.is-ready[data-file-kind-v3053="image"] > span {
  opacity: 0;
}

body.crm-app .migo-file-thumbnail-v3053.is-ready[data-file-kind-v3053="video"] > span {
  width: 22px;
  height: 22px;
  background: rgba(15, 23, 42, .72);
  color: #fff;
}

body.crm-app .migo-file-thumbnail-v3053.is-ready[data-file-kind-v3053="video"] > span .migo-ui-icon {
  width: 12px;
  height: 12px;
}

body.crm-app .migo-file-thumbnail-v3053.is-error .migo-file-thumbnail-media-v3053 {
  display: none;
}

body.crm-app .migo-file-thumbnail-v3053.is-loading::before {
  position: absolute;
  inset: 4px;
  z-index: 4;
  border: 2px solid rgba(37, 99, 235, .15);
  border-top-color: #2563eb;
  border-radius: 50%;
  content: "";
  animation: migo-file-spin-v3053 .75s linear infinite;
}

@keyframes migo-file-spin-v3053 {
  to { transform: rotate(360deg); }
}

body.crm-app .migo-file-actions-v3053 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

body.crm-app .migo-file-actions-v3053 .migo-icon-button-v3052 {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
}

body.crm-app .migo-file-preview-dialog-v3053 {
  width: min(1180px, calc(100vw - 36px));
  max-width: none;
  max-height: calc(100vh - 36px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #172033;
}

body.crm-app .migo-file-preview-dialog-v3053::backdrop {
  background: rgba(15, 23, 42, .52);
}

body.crm-app .migo-file-preview-shell-v3053 {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: min(860px, calc(100vh - 36px));
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  background: #fff;
}

body.crm-app .migo-file-preview-head-v3053 {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border-bottom: 1px solid #e1e6ec;
  background: #fff;
}

body.crm-app .migo-file-preview-head-icon-v3053 {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  background: #edf3ff;
  color: #255dc4;
}

body.crm-app .migo-file-preview-head-icon-v3053 .migo-ui-icon {
  width: 15px;
  height: 15px;
}

body.crm-app .migo-file-preview-head-copy-v3053 {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body.crm-app .migo-file-preview-head-copy-v3053 strong,
body.crm-app .migo-file-preview-head-copy-v3053 small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-file-preview-head-copy-v3053 strong {
  color: #172033;
  font-size: 13px;
  line-height: 1.25;
}

body.crm-app .migo-file-preview-head-copy-v3053 small {
  color: #718096;
  font-size: 9.5px;
  font-weight: 700;
}

body.crm-app .migo-file-preview-body-v3053 {
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  place-items: center;
  padding: 14px;
  background: #f2f4f7;
}

body.crm-app .migo-file-preview-body-v3053.is-pdf,
body.crm-app .migo-file-preview-body-v3053.is-text {
  padding: 0;
  background: #fff;
}

body.crm-app .migo-file-preview-image-v3053,
body.crm-app .migo-file-preview-video-v3053 {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  object-fit: contain;
}

body.crm-app .migo-file-preview-video-v3053 {
  width: 100%;
  height: 100%;
  background: #111827;
}

body.crm-app .migo-file-preview-pdf-v3053 {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

body.crm-app .migo-file-preview-text-v3053 {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 20px;
  overflow: auto;
  background: #fff;
  color: #263246;
  font: 12px/1.65 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

body.crm-app .migo-file-preview-audio-v3053 {
  display: grid;
  width: min(560px, 100%);
  justify-items: center;
  gap: 14px;
  padding: 24px;
  border: 1px solid #dbe1e8;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

body.crm-app .migo-file-preview-audio-v3053 > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #edf3ff;
  color: #255dc4;
}

body.crm-app .migo-file-preview-audio-v3053 > span .migo-ui-icon {
  width: 20px;
  height: 20px;
}

body.crm-app .migo-file-preview-audio-v3053 strong {
  max-width: 100%;
  overflow: hidden;
  color: #263246;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-file-preview-audio-v3053 audio {
  width: 100%;
}

body.crm-app .migo-file-preview-loading-v3053 {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #718096;
  font-size: 11px;
  font-weight: 750;
}

body.crm-app .migo-file-preview-loading-v3053 > i {
  width: 28px;
  height: 28px;
  border: 2px solid #d7e1f4;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: migo-file-spin-v3053 .75s linear infinite;
}

body.crm-app .migo-file-preview-footer-v3053 {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-top: 1px solid #e1e6ec;
  background: #fff;
}

body.crm-app .migo-file-preview-footer-v3053 > span {
  color: #718096;
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 760px) {
  body.crm-app .migo-file-row-v3052 {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  body.crm-app .migo-file-row-v3052 > .migo-file-details-v3052,
  body.crm-app .migo-file-row-v3052 > .migo-module-date-v3052 {
    grid-column: 2;
    justify-items: start;
  }

  body.crm-app .migo-file-actions-v3053 {
    grid-column: 3;
    grid-row: 1 / span 3;
  }

  body.crm-app .migo-file-preview-dialog-v3053 {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }

  body.crm-app .migo-file-preview-shell-v3053 {
    height: calc(100vh - 16px);
    min-height: 0;
  }

  body.crm-app .migo-file-preview-body-v3053 {
    padding: 8px;
  }

  body.crm-app .migo-file-preview-body-v3053.is-pdf,
  body.crm-app .migo-file-preview-body-v3053.is-text {
    padding: 0;
  }
}

@media (max-width: 480px) {
  body.crm-app .migo-file-actions-v3053 {
    flex-direction: column;
  }

  body.crm-app .migo-file-preview-footer-v3053 > span {
    display: none;
  }

  body.crm-app .migo-file-preview-footer-v3053 {
    justify-content: flex-end;
  }
}

/* v3.0.53 file row cascade lock */
body.crm-app .migo-file-row-v3052 {
  grid-template-columns: 48px minmax(0, 1fr) minmax(150px, .58fr) 88px auto;
  min-height: 68px;
}

@media (max-width: 760px) {
  body.crm-app .migo-file-row-v3052 {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  body.crm-app .migo-files-tools-v3052 {
    flex: 0 0 auto;
  }
}

/* Migo CRM v3.0.55 Sales Intelligence workspace */
body.crm-app #reportsView.active {
  width: min(100%, 1560px);
  min-width: 0;
  margin: 0 auto;
  padding: 0 !important;
  background: transparent !important;
}

body.crm-app #reportsView .migo-reports-v3055 {
  --report-ink-v3055: #101828;
  --report-muted-v3055: #667085;
  --report-line-v3055: #dfe4ea;
  --report-blue-v3055: #2f6fec;
  --report-green-v3055: #188767;
  --report-amber-v3055: #b66a12;
  --report-red-v3055: #c43d4b;
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
  color: var(--report-ink-v3055);
  animation: none !important;
}

body.crm-app #reportsView .migo-reports-toolbar-v3055 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--report-line-v3055);
}

body.crm-app #reportsView .migo-report-context-v3055 {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body.crm-app #reportsView .migo-report-context-v3055 strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-context-v3055 span {
  overflow: hidden;
  color: var(--report-muted-v3055);
  font-size: 11px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-filters-v3055 {
  display: flex;
  flex: 0 0 auto;
  align-items: end;
  justify-content: flex-end;
  gap: 6px;
}

body.crm-app #reportsView .migo-report-filters-v3055 label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--report-muted-v3055);
  font-size: 11px;
  font-weight: 700;
}

body.crm-app #reportsView .migo-report-filters-v3055 select {
  width: 116px;
  min-width: 116px !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 5px 26px 5px 9px !important;
  border: 1px solid var(--report-line-v3055) !important;
  border-radius: 7px !important;
  background-color: #fff !important;
  color: var(--report-ink-v3055) !important;
  font-size: 12px !important;
}

body.crm-app #reportsView .migo-report-command-v3055,
body.crm-app #reportsView .migo-report-error-v3055 button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  min-width: 0;
  min-height: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--report-line-v3055);
  border-radius: 7px;
  background: #fff;
  color: #28364b;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: none;
}

body.crm-app #reportsView .migo-report-command-v3055:hover,
body.crm-app #reportsView .migo-report-error-v3055 button:hover {
  border-color: #b5c0cf;
  background: #f7f9fc;
}

body.crm-app #reportsView .migo-report-command-v3055:disabled {
  cursor: wait;
  opacity: .65;
}

body.crm-app #reportsView .migo-report-command-v3055 .migo-ui-icon {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
}

body.crm-app #reportsView .migo-report-metrics-v3055,
body.crm-app #reportsView .migo-report-mini-metrics-v3055 {
  display: grid;
  grid-template-columns: repeat(8, minmax(115px, 1fr));
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-top: 1px solid var(--report-line-v3055);
  border-bottom: 1px solid var(--report-line-v3055);
  background: transparent;
}

body.crm-app #reportsView .migo-report-mini-metrics-v3055 {
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

body.crm-app #reportsView .migo-report-metric-v3055 {
  position: relative;
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 70px;
  padding: 8px 10px;
  overflow: hidden;
  border-right: 1px solid var(--report-line-v3055);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.crm-app #reportsView .migo-report-metric-v3055:last-child {
  border-right: 0;
}

body.crm-app #reportsView .migo-report-metric-v3055::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 2px;
  height: 18px;
  border-radius: 0 2px 2px 0;
  background: var(--report-blue-v3055);
  content: '';
}

body.crm-app #reportsView .migo-report-metric-v3055.ok::before { background: var(--report-green-v3055); }
body.crm-app #reportsView .migo-report-metric-v3055.warn::before { background: var(--report-amber-v3055); }
body.crm-app #reportsView .migo-report-metric-v3055.danger::before { background: var(--report-red-v3055); }

body.crm-app #reportsView .migo-report-metric-v3055 span {
  overflow: hidden;
  color: var(--report-muted-v3055);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-metric-v3055 strong {
  display: block;
  overflow: hidden;
  color: var(--report-ink-v3055);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-metric-v3055 small {
  overflow: hidden;
  color: #8792a2;
  font-size: 9px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-tabs-v3055 {
  display: flex;
  gap: 2px;
  width: 100%;
  min-width: 0;
  padding: 3px;
  overflow-x: auto;
  border: 1px solid var(--report-line-v3055);
  border-radius: 8px;
  background: #fff;
  scrollbar-width: none;
}

body.crm-app #reportsView .migo-report-tabs-v3055::-webkit-scrollbar { display: none; }

body.crm-app #reportsView .migo-report-tabs-v3055 button {
  flex: 0 0 auto;
  min-width: 0;
  min-height: 30px;
  height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #59677a;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-tabs-v3055 button:hover { background: #f2f5f8; color: var(--report-ink-v3055); }
body.crm-app #reportsView .migo-report-tabs-v3055 button.active { background: #182235; color: #fff; }

body.crm-app #reportsView .migo-report-tab-body-v3055 {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.crm-app #reportsView .migo-report-layout-v3055 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  align-items: stretch;
}

body.crm-app #reportsView .migo-report-layout-v3055.two-one {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

body.crm-app #reportsView .migo-report-layout-v3055 > .span-two {
  grid-column: 1 / -1;
}

body.crm-app #reportsView .migo-report-panel-v3055 {
  min-width: 0;
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--report-line-v3055);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

body.crm-app #reportsView .migo-report-panel-v3055 > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  margin: -2px 0 10px;
  padding: 0 0 9px;
  border-bottom: 1px solid #e8ebef;
}

body.crm-app #reportsView .migo-report-panel-v3055 > header h3 {
  margin: 0;
  color: var(--report-ink-v3055);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

body.crm-app #reportsView .migo-report-panel-v3055 > header span {
  display: block;
  margin-top: 2px;
  color: var(--report-muted-v3055);
  font-size: 10px;
  line-height: 1.3;
}

body.crm-app #reportsView .migo-report-table-wrap-v3055 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

body.crm-app #reportsView .migo-report-table-wrap-v3055 table {
  width: 100%;
  min-width: 610px;
  border: 0;
  border-collapse: collapse;
  background: transparent;
  font-size: 11px;
}

body.crm-app #reportsView .migo-report-table-wrap-v3055 th,
body.crm-app #reportsView .migo-report-table-wrap-v3055 td {
  height: 38px;
  padding: 7px 8px;
  border: 0;
  border-bottom: 1px solid #edf0f3;
  color: #465468;
  line-height: 1.3;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-table-wrap-v3055 th {
  height: 32px;
  color: #788598;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.crm-app #reportsView .migo-report-table-wrap-v3055 tbody tr:last-child td { border-bottom: 0; }
body.crm-app #reportsView .migo-report-table-wrap-v3055 tbody tr:hover td { background: #f8fafc; }

body.crm-app #reportsView .migo-report-table-wrap-v3055 td strong {
  display: block;
  max-width: 240px;
  overflow: hidden;
  color: var(--report-ink-v3055);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-table-wrap-v3055 td small {
  display: block;
  max-width: 240px;
  margin-top: 1px;
  overflow: hidden;
  color: #8a95a5;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-pill-v3055 {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid #dce3ec;
  border-radius: 999px;
  background: #f5f7fa;
  color: #536174;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-pill-v3055.tone-won,
body.crm-app #reportsView .migo-report-pill-v3055.tone-paid,
body.crm-app #reportsView .migo-report-pill-v3055.tone-accepted,
body.crm-app #reportsView .migo-report-pill-v3055.tone-done { border-color: #b8dfd3; background: #edf8f4; color: #147559; }
body.crm-app #reportsView .migo-report-pill-v3055.tone-lost,
body.crm-app #reportsView .migo-report-pill-v3055.tone-overdue,
body.crm-app #reportsView .migo-report-pill-v3055.tone-declined,
body.crm-app #reportsView .migo-report-pill-v3055.tone-urgent { border-color: #efc8ce; background: #fff2f4; color: #ae2f3e; }
body.crm-app #reportsView .migo-report-pill-v3055.tone-open,
body.crm-app #reportsView .migo-report-pill-v3055.tone-sent,
body.crm-app #reportsView .migo-report-pill-v3055.tone-high { border-color: #ecd6b8; background: #fff8ec; color: #9b5a10; }

body.crm-app #reportsView .migo-report-ranks-v3055 {
  display: grid;
  gap: 0;
}

body.crm-app #reportsView .migo-report-rank-v3055 {
  display: grid;
  gap: 5px;
  padding: 9px 0;
  border-bottom: 1px solid #edf0f3;
}

body.crm-app #reportsView .migo-report-rank-v3055:last-child { border-bottom: 0; }

body.crm-app #reportsView .migo-report-rank-v3055 > div:first-child {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
}

body.crm-app #reportsView .migo-report-rank-v3055 > div:first-child span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #dfe4ea;
  border-radius: 5px;
  color: #7b8797;
  font-size: 9px;
  font-weight: 800;
}

body.crm-app #reportsView .migo-report-rank-v3055 strong {
  overflow: hidden;
  color: #2e3b4d;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-rank-v3055 b {
  color: var(--report-ink-v3055);
  font-size: 11px;
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-rank-v3055 small {
  color: #8792a2;
  font-size: 9px;
}

body.crm-app #reportsView .migo-report-track-v3055 {
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: #edf1f5;
}

body.crm-app #reportsView .migo-report-track-v3055 i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--report-blue-v3055);
}

body.crm-app #reportsView .migo-report-chart-v3055 {
  width: 100%;
  min-width: 0;
}

body.crm-app #reportsView .migo-report-chart-v3055 svg {
  display: block;
  width: 100%;
  height: 220px;
  min-height: 220px;
  overflow: visible;
}

body.crm-app #reportsView .migo-report-chart-v3055 svg .grid line { stroke: #e6eaf0; stroke-width: 1; }
body.crm-app #reportsView .migo-report-chart-v3055 svg text { fill: #8490a0; font-size: 9px; letter-spacing: 0; }
body.crm-app #reportsView .migo-report-chart-v3055 svg polyline { fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
body.crm-app #reportsView .migo-report-chart-v3055 svg .area { fill: rgba(47, 111, 236, .07); stroke: none; }
body.crm-app #reportsView .migo-report-chart-v3055 svg .quote-line { stroke: var(--report-blue-v3055); }
body.crm-app #reportsView .migo-report-chart-v3055 svg .won-line { stroke: var(--report-green-v3055); }
body.crm-app #reportsView .migo-report-chart-v3055 svg .paid-line { stroke: var(--report-amber-v3055); }
body.crm-app #reportsView .migo-report-chart-v3055 svg circle { stroke: #fff; stroke-width: 1.5; }
body.crm-app #reportsView .migo-report-chart-v3055 svg .quote-dot { fill: var(--report-blue-v3055); }
body.crm-app #reportsView .migo-report-chart-v3055 svg .won-dot { fill: var(--report-green-v3055); }
body.crm-app #reportsView .migo-report-chart-v3055 svg .paid-dot { fill: var(--report-amber-v3055); }

body.crm-app #reportsView .migo-report-chart-legend-v3055 {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  color: #6f7c8e;
  font-size: 9px;
}

body.crm-app #reportsView .migo-report-chart-legend-v3055 span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--report-blue-v3055);
  content: '';
}

body.crm-app #reportsView .migo-report-chart-legend-v3055 .won::before { background: var(--report-green-v3055); }
body.crm-app #reportsView .migo-report-chart-legend-v3055 .paid::before { background: var(--report-amber-v3055); }

body.crm-app #reportsView .migo-report-funnel-v3055 {
  display: grid;
  gap: 0;
}

body.crm-app #reportsView .migo-report-funnel-v3055 > div {
  display: grid;
  gap: 5px;
  padding: 8px 0;
  border-bottom: 1px solid #edf0f3;
}

body.crm-app #reportsView .migo-report-funnel-v3055 > div:last-child { border-bottom: 0; }

body.crm-app #reportsView .migo-report-funnel-v3055 > div > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

body.crm-app #reportsView .migo-report-funnel-v3055 span { color: #435166; font-size: 11px; font-weight: 700; }
body.crm-app #reportsView .migo-report-funnel-v3055 strong { color: var(--report-ink-v3055); font-size: 13px; }
body.crm-app #reportsView .migo-report-funnel-v3055 small { color: #8792a2; font-size: 9px; white-space: nowrap; }
body.crm-app #reportsView .migo-report-funnel-v3055 > div > i { display: block; height: 5px; overflow: hidden; border-radius: 3px; background: #edf1f5; }
body.crm-app #reportsView .migo-report-funnel-v3055 > div > i > b { display: block; height: 100%; border-radius: inherit; background: var(--report-green-v3055); }

body.crm-app #reportsView .migo-report-empty-v3055 {
  display: grid;
  min-height: 74px;
  padding: 12px;
  place-items: center;
  border: 1px dashed #d9e0e8;
  border-radius: 7px;
  color: #7b8797;
  font-size: 10px;
  text-align: center;
}

body.crm-app #reportsView td > .migo-report-empty-v3055 {
  min-height: 48px;
  border: 0;
}

body.crm-app #reportsView .migo-report-loading-v3055 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  min-height: 220px;
}

body.crm-app #reportsView .migo-report-loading-v3055 i {
  height: 70px;
  border: 1px solid #e1e6ec;
  border-radius: 8px;
  background: #f4f6f8;
  animation: migoReportPulse3055 1.1s ease-in-out infinite alternate;
}

body.crm-app #reportsView .migo-report-loading-v3055 span {
  grid-column: 1 / -1;
  align-self: start;
  color: #7c8797;
  font-size: 11px;
  text-align: center;
}

body.crm-app #reportsView .migo-report-error-v3055 {
  display: grid;
  max-width: 430px;
  margin: 60px auto;
  gap: 8px;
  justify-items: start;
  padding: 16px;
  border: 1px solid #efc8ce;
  border-radius: 8px;
  background: #fff;
}

body.crm-app #reportsView .migo-report-error-v3055 strong { font-size: 14px; }
body.crm-app #reportsView .migo-report-error-v3055 span { color: var(--report-muted-v3055); font-size: 11px; }

@keyframes migoReportPulse3055 {
  from { opacity: .48; }
  to { opacity: 1; }
}

@media (max-width: 1280px) {
  body.crm-app #reportsView .migo-report-metrics-v3055 {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
  }

  body.crm-app #reportsView .migo-report-metrics-v3055 .migo-report-metric-v3055:nth-child(4n) {
    border-right: 0;
  }

  body.crm-app #reportsView .migo-report-metrics-v3055 .migo-report-metric-v3055:nth-child(-n + 4) {
    border-bottom: 1px solid var(--report-line-v3055);
  }
}

@media (max-width: 900px) {
  body.crm-app #reportsView .migo-report-layout-v3055,
  body.crm-app #reportsView .migo-report-layout-v3055.two-one {
    grid-template-columns: minmax(0, 1fr);
  }

  body.crm-app #reportsView .migo-report-layout-v3055 > .span-two {
    grid-column: auto;
  }

  body.crm-app #reportsView .migo-report-panel-v3055 {
    width: 100%;
  }
}

@media (max-width: 680px) {
  body.crm-app #reportsView .migo-reports-toolbar-v3055 {
    align-items: stretch;
    flex-direction: column;
  }

  body.crm-app #reportsView .migo-report-filters-v3055 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    width: 100%;
  }

  body.crm-app #reportsView .migo-report-filters-v3055 label {
    min-width: 0;
  }

  body.crm-app #reportsView .migo-report-filters-v3055 select {
    flex: 1;
    width: 100%;
    min-width: 0 !important;
  }

  body.crm-app #reportsView .migo-report-metrics-v3055,
  body.crm-app #reportsView .migo-report-mini-metrics-v3055 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crm-app #reportsView .migo-report-metrics-v3055 .migo-report-metric-v3055,
  body.crm-app #reportsView .migo-report-mini-metrics-v3055 .migo-report-metric-v3055 {
    border-right: 1px solid var(--report-line-v3055);
    border-bottom: 1px solid var(--report-line-v3055);
  }

  body.crm-app #reportsView .migo-report-metrics-v3055 .migo-report-metric-v3055:nth-child(2n),
  body.crm-app #reportsView .migo-report-mini-metrics-v3055 .migo-report-metric-v3055:nth-child(2n) {
    border-right: 0;
  }

  body.crm-app #reportsView .migo-report-metrics-v3055 .migo-report-metric-v3055:nth-last-child(-n + 2),
  body.crm-app #reportsView .migo-report-mini-metrics-v3055 .migo-report-metric-v3055:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  body.crm-app #reportsView .migo-report-chart-v3055 svg {
    height: 190px;
    min-height: 190px;
  }

  body.crm-app #reportsView .migo-report-chart-legend-v3055 {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }
}

@media (max-width: 460px) {
  body.crm-app #reportsView .migo-report-command-v3055 {
    width: 34px;
    padding: 0;
  }

  body.crm-app #reportsView .migo-report-command-v3055 > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  body.crm-app #reportsView .migo-report-funnel-v3055 > div > div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.crm-app #reportsView .migo-report-funnel-v3055 small {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.crm-app #reportsView .migo-report-loading-v3055 i {
    animation: none;
  }
}

/* Migo CRM v3.0.61 Pipeline workspace */
body.crm-app.migo-pipeline-route-v3029 #kanbanView.active {
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  overflow: hidden;
  background: transparent !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056 {
  display: flex !important;
  width: 100%;
  min-width: 0;
  height: calc(100dvh - 120px) !important;
  min-height: 520px !important;
  gap: 10px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card.migo-sales-console-v3026.migo-pipeline-workspace-v3056 {
  gap: 10px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-toolbar-v3056 {
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) minmax(130px, 150px) minmax(150px, 180px) 34px 34px max-content !important;
  align-items: center !important;
  gap: 6px !important;
  width: 100%;
  min-height: 35px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3056 {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3056 > .migo-ui-icon {
  position: absolute;
  top: 50%;
  left: 10px;
  z-index: 1;
  width: 15px;
  height: 15px;
  color: #7b8797;
  transform: translateY(-50%);
  pointer-events: none;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3056 input,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-toolbar-v3056 > select {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  border: 1px solid #d8dee7 !important;
  border-radius: 7px !important;
  background-color: #fff !important;
  color: #253247 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3056 input {
  padding: 0 78px 0 32px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-toolbar-v3056 > select {
  padding: 0 26px 0 9px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3056 input:focus,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-toolbar-v3056 > select:focus {
  outline: 2px solid rgba(47, 111, 236, .16) !important;
  outline-offset: 0;
  border-color: #7da5f6 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-filter-result-v3056 {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 20px;
  max-width: 68px;
  overflow: hidden;
  color: #718095;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-filter-result-v3056[hidden] {
  display: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-icon-command-v3056,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-add-v3056 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  margin: 0 !important;
  padding: 0 9px !important;
  gap: 5px;
  border: 1px solid #d8dee7 !important;
  border-radius: 7px !important;
  background: #fff !important;
  color: #344258 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-icon-command-v3056:hover {
  border-color: #b8c2d0 !important;
  background: #f7f9fb !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-icon-command-v3056[aria-pressed="true"] {
  border-color: #b7c9eb !important;
  background: #eef4ff !important;
  color: #245ec7 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-add-v3056 {
  min-width: 70px !important;
  border-color: #172033 !important;
  background: #172033 !important;
  color: #fff !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-icon-command-v3056 .migo-ui-icon,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-add-v3056 .migo-ui-icon {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView [data-pipeline-refresh-v3026] {
  border-color: #d8dee7 !important;
  background: #fff !important;
  color: #344258 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView [data-pipeline-refresh-v3026].is-loading .migo-ui-icon {
  animation: migoPipelineRefreshV3031 .8s linear infinite;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metrics-v3056 {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  flex: 0 0 auto !important;
  width: 100%;
  min-width: 0;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-top: 0 !important;
  border-bottom: 1px solid #e1e5ea;
  background: transparent !important;
  white-space: normal !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056 {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  min-height: 64px;
  padding: 7px 10px 7px 12px;
  gap: 1px;
  border-right: 1px solid #e3e7ec;
  background: transparent;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056:last-child {
  border-right: 0;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056::before {
  position: absolute;
  top: 10px;
  left: 0;
  width: 2px;
  height: 17px;
  border-radius: 0 2px 2px 0;
  background: #2f6fec;
  content: '';
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056:nth-child(3)::before,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056:nth-child(4)::before {
  background: #c27a20;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056:nth-child(5)::before,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056:nth-child(6)::before {
  background: #188767;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056 span,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056 strong,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056 small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056 span {
  color: #718095;
  font-size: 9px;
  font-weight: 750;
  line-height: 1.25;
  text-transform: uppercase;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056 strong {
  color: #172033;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.25;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056 small {
  color: #8b96a5;
  font-size: 9px;
  line-height: 1.25;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-board {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 286px !important;
  grid-template-columns: none !important;
  flex: 1 1 auto !important;
  align-items: stretch !important;
  min-width: 0 !important;
  min-height: 0 !important;
  gap: 8px !important;
  padding: 0 0 7px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-column {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box;
  width: 286px !important;
  min-width: 286px !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #dfe4ea !important;
  border-top: 2px solid var(--migo-stage-color-v3056, #2f6fec) !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, .32) !important;
  box-shadow: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-column > h4 {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  min-height: 52px;
  margin: 0 !important;
  padding: 8px 9px !important;
  gap: 3px 7px !important;
  border: 0 !important;
  border-bottom: 1px solid #e1e5ea !important;
  background: transparent !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-stage-name-v3026 {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  overflow: hidden;
  color: #263247;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-stage-name-v3026 > i {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--migo-stage-color-v3056, #2f6fec);
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-stage-count-v3026 {
  min-width: 24px;
  padding: 3px 6px;
  border-radius: 6px;
  background: #e9edf2;
  color: #59677a;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-column > h4 small {
  grid-column: 1 / -1;
  min-width: 0;
  overflow: hidden;
  color: #8490a0;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-column > h4 small b {
  color: #526176;
  font-weight: 750;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-scroll {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column;
  min-height: 0 !important;
  padding: 7px !important;
  gap: 6px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 9px !important;
  border: 1px solid #dfe4ea !important;
  border-left: 2px solid #9fb9eb !important;
  border-radius: 7px !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: border-color .14s ease, background-color .14s ease !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini[data-risk="1"] {
  border-left-color: #c88735 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini[data-status="won"] {
  border-left-color: #188767 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini[data-status="lost"],
body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini[data-status="cancelled"] {
  border-left-color: #c43d4b !important;
  opacity: .78;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini:hover,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini:focus-visible {
  border-color: #aab7c8 !important;
  background: #fbfcfe !important;
  box-shadow: none !important;
  transform: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini::after,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini[draggable="true"]::after {
  display: none !important;
  content: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini:focus-visible {
  outline: 2px solid rgba(47, 111, 236, .28);
  outline-offset: 1px;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-top-v3026 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-width: 0;
  gap: 7px;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-top-v3026 strong {
  display: -webkit-box;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #172033;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-status-v3026 {
  flex: 0 0 auto;
  min-height: 19px;
  padding: 3px 5px;
  border: 1px solid #dbe4f7;
  border-radius: 5px;
  background: #f2f6ff;
  color: #3264bd;
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-status-v3026.is-risk-v3056 {
  border-color: #ecd6b8;
  background: #fff8ec;
  color: #9b5a10;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-client-v3056 {
  margin-top: 4px;
  overflow: hidden;
  color: #69768a;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-value-v3026 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  color: #1f2c40;
  font-size: 14px;
  font-weight: 820;
  line-height: 1.2;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-value-v3026 small {
  min-width: 30px;
  padding: 3px 5px;
  border-radius: 5px;
  background: #f0f3f7;
  color: #68758a;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-meta-v3026 {
  display: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-footer-v3056 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  margin-top: 8px;
  padding-top: 7px;
  gap: 6px;
  border-top: 1px solid #edf0f3;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-owner-v3056 {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 5px;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-owner-v3056 > i {
  display: grid;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #e9eff9;
  color: #315b9f;
  font-size: 7px;
  font-style: normal;
  font-weight: 850;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-owner-v3056 > b {
  max-width: 84px;
  overflow: hidden;
  color: #647287;
  font-size: 9px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-signals-v3056 {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 5px;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-signals-v3056 > span {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 4px;
  gap: 3px;
  border-radius: 5px;
  background: #f2f4f7;
  color: #6c798b;
  font-size: 8px;
  font-weight: 750;
  line-height: 1;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-signals-v3056 > span.is-overdue-v3056 {
  background: #fff1f2;
  color: #b23b4b;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-card-signals-v3056 .migo-ui-icon {
  width: 11px;
  height: 11px;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-empty,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-column.is-filter-empty .pipeline-scroll::after {
  min-height: 58px;
  padding: 10px;
  border: 1px dashed #d5dbe3;
  border-radius: 7px;
  background: transparent;
  color: #8994a3;
  font-size: 10px;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-result {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-column.is-drop-target {
  border-color: var(--migo-stage-color-v3056, #2f6fec) !important;
  background: rgba(47, 111, 236, .055) !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .pipeline-board {
  grid-auto-columns: 250px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .pipeline-column {
  width: 250px !important;
  min-width: 250px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .pipeline-card-mini {
  padding: 7px 8px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .migo-pipeline-card-client-v3056,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .migo-pipeline-owner-v3056 > b {
  display: none;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .migo-pipeline-card-footer-v3056 {
  margin-top: 6px;
  padding-top: 5px;
}

.migo-pipeline-deal-dialog-v3028 {
  width: min(900px, calc(100vw - 28px));
  max-width: 900px;
  border-radius: 8px;
}

.migo-pipeline-modal-head-v3028 {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #fff;
}

.migo-pipeline-modal-notes-v3028 form label {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  gap: 6px;
}

.migo-pipeline-modal-notes-v3028 form label input[type="checkbox"] {
  flex: 0 0 15px;
  width: 15px !important;
  height: 15px !important;
  min-height: 15px !important;
  margin: 0 !important;
}

@media (max-width: 1180px) {
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-toolbar-v3056 {
    grid-template-columns: minmax(220px, 1fr) minmax(120px, 140px) minmax(140px, 170px) 34px 34px max-content !important;
  }

}

@media (max-width: 1100px) {
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-toolbar-v3056 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px 34px max-content !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3056 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056 {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-filter-result-v3056 {
    display: none !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metrics-v3056 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056:nth-child(3) {
    border-right: 0;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056:nth-child(-n + 3) {
    border-bottom: 1px solid #e3e7ec;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-board {
    grid-auto-columns: min(82vw, 310px) !important;
    min-height: 440px !important;
    max-height: 62dvh;
    scroll-snap-type: x proximity;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-column,
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .pipeline-column {
    width: min(82vw, 310px) !important;
    min-width: min(82vw, 310px) !important;
    scroll-snap-align: start;
  }
}

@media (max-width: 520px) {
  body.crm-app.migo-pipeline-route-v3029 .topbar {
    margin-bottom: 8px !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-toolbar-v3056 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px 32px 66px !important;
    gap: 5px !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3056 {
    grid-column: 1 / -1;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-icon-command-v3056,
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-add-v3056 {
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 7px !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-search-v3056 input,
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-toolbar-v3056 > select {
    height: 32px !important;
    min-height: 32px !important;
    font-size: 11px !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metrics-v3056 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056 {
    min-height: 57px;
    border-right: 1px solid #e3e7ec;
    border-bottom: 1px solid #e3e7ec;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056:nth-child(2n) {
    border-right: 0;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-metric-v3056:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-board {
    grid-auto-columns: min(84vw, 300px) !important;
    min-height: 390px !important;
    max-height: 60dvh;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-column,
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .pipeline-column {
    width: min(84vw, 300px) !important;
    min-width: min(84vw, 300px) !important;
  }

  .migo-pipeline-deal-dialog-v3028 {
    width: calc(100vw - 12px);
    max-width: none;
    max-height: calc(100dvh - 12px);
  }

  .migo-pipeline-modal-head-actions-v3028 {
    justify-content: flex-end;
  }

  .migo-pipeline-modal-head-actions-v3028 .secondary-btn {
    flex: 0 0 35px;
    width: 35px;
    min-width: 35px;
    padding: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.crm-app.migo-pipeline-route-v3029 #kanbanView [data-pipeline-refresh-v3026].is-loading .migo-ui-icon,
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-card-mini {
    animation: none !important;
    transition: none !important;
  }
}

/* Migo CRM v3.0.57 Product workspace */
body.crm-app.migo-modern-products-v3032 #productsView.active {
  min-width: 0;
  padding: 0 !important;
  background: transparent !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 {
  display: flex !important;
  flex-direction: column;
  gap: 10px !important;
  width: 100%;
  min-width: 0;
  color: #101828;
}

.migo-products-loading-v3057 {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.migo-products-loading-v3057 span {
  display: block;
  height: 54px;
  border: 1px solid #e3e7ec;
  border-radius: 7px;
  background: linear-gradient(90deg, #f6f8fa 25%, #eef2f6 45%, #f6f8fa 65%);
  background-size: 220% 100%;
  animation: migoProductsLoadingV3057 1.2s ease-in-out infinite;
}

@keyframes migoProductsLoadingV3057 {
  to { background-position: -120% 0; }
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpis {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid #e1e6ec !important;
  border-radius: 8px;
  background: #fff;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpi-v3057 {
  position: relative;
  min-width: 0 !important;
  min-height: 64px !important;
  padding: 9px 12px 8px 14px !important;
  border: 0 !important;
  border-right: 1px solid #e7ebef !important;
  background: transparent !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpi-v3057:last-child {
  border-right: 0 !important;
}

.migo-products-kpi-v3057::before {
  position: absolute;
  top: 11px;
  bottom: 11px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: #2d6cdf;
  content: '';
}

.migo-products-kpi-v3057:nth-child(2)::before { background: #0e8a68; }
.migo-products-kpi-v3057:nth-child(3)::before { background: #7a5af8; }
.migo-products-kpi-v3057:nth-child(4)::before { background: #d97808; }
.migo-products-kpi-v3057:nth-child(5)::before { background: #667085; }

body.crm-app.migo-modern-products-v3032 .migo-products-kpi-v3057 span {
  display: block;
  margin: 0 0 2px !important;
  color: #667085 !important;
  font-size: 9px !important;
  font-weight: 760 !important;
  line-height: 1.25 !important;
  text-transform: uppercase;
}

body.crm-app.migo-modern-products-v3032 .migo-products-kpi-v3057 strong {
  display: block;
  overflow: hidden;
  color: #101828 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migo-products-kpi-v3057 strong small {
  color: #98a2b3;
  font-size: 11px;
  font-weight: 700;
}

.migo-products-kpi-v3057 em {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: #98a2b3;
  font-size: 9px;
  font-style: normal;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app.migo-modern-products-v3032 .migo-products-tabs-v3057 {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  padding: 2px !important;
  border-color: #e1e6ec;
  background: #f7f8fa;
}

body.crm-app.migo-modern-products-v3032 .migo-products-tabs-v3057 button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  min-height: 30px;
  border-radius: 6px;
}

.migo-products-tabs-v3057 button span {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(102, 112, 133, .12);
  color: inherit;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}

.migo-products-tabs-v3057 button.is-active span {
  background: rgba(255, 255, 255, .18);
}

body.crm-app.migo-modern-products-v3032 .migo-products-section-v3057 {
  order: auto !important;
  width: 100%;
  min-width: 0;
}

body.crm-app.migo-modern-products-v3032 .migo-products-section-v3057[hidden] {
  display: none !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-list-card.migo-products-section-v3057 {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.migo-products-commandbar-v3057 {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto auto 34px auto 112px;
  gap: 6px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 4px 0;
  border-top: 1px solid #e3e7ec;
  border-bottom: 1px solid #e3e7ec;
}

.migo-products-search-v3057 {
  position: relative;
  display: block;
  min-width: 0;
}

.migo-products-search-v3057 > .migo-ui-icon {
  position: absolute;
  top: 9px;
  left: 10px;
  z-index: 1;
  width: 15px;
  height: 15px;
  color: #7c899b;
  pointer-events: none;
}

body.crm-app #productsView .migo-products-workspace-v3057 .migo-products-search-v3057 input[type="search"] {
  width: 100%;
  min-width: 0;
  padding-left: 32px !important;
}

.migo-products-filter-strip-v3057 {
  display: flex;
  gap: 6px;
  min-width: 0;
}

.migo-products-filter-strip-v3057 label {
  display: block;
  min-width: 0;
}

body.crm-app.migo-modern-products-v3032 .migo-products-filter-strip-v3057 select {
  width: auto;
  min-width: 116px;
  max-width: 150px;
}

body.crm-app.migo-modern-products-v3032 .migo-products-filter-strip-v3057 label:nth-child(3) select {
  max-width: 165px;
}

.migo-products-result-count-v3057 {
  min-width: 62px;
  color: #667085;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.migo-products-view-switch-v3057 {
  display: inline-flex;
  height: 34px;
  padding: 2px;
  border: 1px solid #d9e0e8;
  border-radius: 7px;
  background: #fff;
}

.migo-products-view-switch-v3057 button,
.migo-products-icon-btn-v3057 {
  display: inline-grid !important;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 0;
  border-radius: 5px !important;
  background: transparent;
  color: #526074;
  box-shadow: none !important;
  cursor: pointer;
}

.migo-products-commandbar-v3057 > .migo-products-icon-btn-v3057,
.migo-products-more-wrap-v3057 > .migo-products-icon-btn-v3057 {
  width: 34px;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  border: 1px solid #d9e0e8;
  border-radius: 7px !important;
  background: #fff;
}

.migo-products-view-switch-v3057 button:hover,
.migo-products-icon-btn-v3057:hover {
  background: #eef3f8;
  color: #101828;
}

.migo-products-view-switch-v3057 button.is-active {
  background: #e8eef6;
  color: #1f5da8;
}

.migo-products-icon-btn-v3057 .migo-ui-icon,
.migo-products-view-switch-v3057 .migo-ui-icon,
.migo-products-new-v3057 .migo-ui-icon {
  width: 15px;
  height: 15px;
}

.migo-products-new-v3057 {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 112px;
  min-width: 112px;
  gap: 6px;
  white-space: nowrap;
}

.migo-products-more-wrap-v3057,
.migo-product-row-menu-wrap-v3057 {
  position: relative;
}

.migo-products-more-menu-v3057,
.migo-product-row-menu-v3057 {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  z-index: 40;
  width: 205px;
  padding: 4px;
  border: 1px solid #dce2e9;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .14);
}

.migo-products-more-menu-v3057[hidden],
.migo-product-row-menu-v3057[hidden] {
  display: none !important;
}

.migo-products-more-menu-v3057 button,
.migo-product-row-menu-v3057 button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 32px;
  padding: 6px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #344054;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.migo-products-more-menu-v3057 button:hover,
.migo-product-row-menu-v3057 button:hover {
  background: #f2f4f7;
}

.migo-product-row-menu-v3057 button.is-danger {
  color: #b42318;
}

.migo-product-row-menu-v3057 .migo-ui-icon {
  width: 14px;
  height: 14px;
}

.migo-products-sync-row-v3057 {
  display: flex;
  justify-content: flex-end;
  min-height: 19px;
  padding: 4px 1px 3px;
  color: #98a2b3;
  font-size: 9px;
}

.migo-products-sync-row-v3057 .is-error {
  color: #b42318;
}

.migo-products-list-head-v3057 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 145px 145px 72px;
  gap: 10px;
  padding: 7px 11px 7px 63px;
  border: 1px solid #e1e6ec;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #f7f8fa;
  color: #7c899b;
  font-size: 9px;
  font-weight: 780;
  text-transform: uppercase;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-list {
  display: grid !important;
  gap: 0 !important;
  overflow: visible !important;
  border: 1px solid #e1e6ec;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-card {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 145px 145px 72px !important;
  gap: 10px !important;
  align-items: center;
  min-width: 0;
  padding: 9px 11px !important;
  border: 0 !important;
  border-bottom: 1px solid #e7ebef !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-card:last-child {
  border-bottom: 0 !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-card:hover {
  background: #fafbfc !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-media {
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #dce4ed;
  border-radius: 7px !important;
  background: #edf2f7 !important;
  color: #2f65ad !important;
  font-size: 14px !important;
  font-weight: 820;
}

.migo-products-workspace-v3057 .migo-product-main {
  gap: 3px;
}

.migo-products-workspace-v3057 .migo-product-title {
  flex-wrap: nowrap;
  min-width: 0;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-title strong {
  overflow: hidden;
  min-width: 0;
  color: #101828;
  font-size: 12px !important;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migo-product-status-v3057 {
  flex: 0 0 auto;
  padding: 2px 6px !important;
  border: 1px solid transparent;
  border-radius: 999px !important;
  font-size: 8px !important;
  font-weight: 780 !important;
  line-height: 14px;
}

.migo-product-status-v3057.is-active {
  border-color: #a9e3d2;
  background: #ecfdf8 !important;
  color: #087a5b !important;
}

.migo-product-status-v3057.is-inactive {
  border-color: #e2e7ed;
  background: #f2f4f7 !important;
  color: #667085 !important;
}

.migo-product-status-v3057.is-archived {
  border-color: #f0c4bd;
  background: #fff1ef !important;
  color: #b42318 !important;
}

.migo-products-workspace-v3057 .migo-product-meta {
  gap: 5px;
  overflow: hidden;
  color: #7c899b;
  font-size: 9px;
  white-space: nowrap;
}

.migo-products-workspace-v3057 .migo-product-meta > * {
  overflow: hidden;
  text-overflow: ellipsis;
}

.migo-products-workspace-v3057 .migo-product-meta > * + *::before {
  margin-right: 5px;
  color: #c5cbd3;
  content: '·';
}

.migo-products-workspace-v3057 .migo-product-meta code {
  padding: 0;
  background: transparent;
  color: #526074;
  font: inherit;
  font-weight: 720;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-main p {
  margin: 0;
  overflow: hidden;
  color: #98a2b3 !important;
  font-size: 9px !important;
  line-height: 1.3 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-price,
.migo-products-workspace-v3057 .migo-product-margin-v3057 {
  display: grid;
  gap: 2px;
  justify-items: start;
  min-width: 0;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-price strong,
.migo-products-workspace-v3057 .migo-product-margin-v3057 strong {
  overflow: hidden;
  max-width: 100%;
  color: #101828 !important;
  font-size: 11px !important;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migo-products-workspace-v3057 .migo-product-price small,
.migo-products-workspace-v3057 .migo-product-margin-v3057 small {
  overflow: hidden;
  max-width: 100%;
  color: #8a95a6;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-actions {
  display: flex;
  gap: 4px !important;
  justify-content: flex-end !important;
}

.migo-products-workspace-v3057[data-products-view-v3057="grid"] .migo-products-list-head-v3057 {
  display: none;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057[data-products-view-v3057="grid"] .migo-products-list {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 8px !important;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057[data-products-view-v3057="grid"] .migo-product-card {
  grid-template-columns: 42px minmax(0, 1fr) 68px !important;
  grid-template-rows: auto auto auto;
  align-items: start;
  min-height: 150px;
  border: 1px solid #e1e6ec !important;
  border-radius: 8px !important;
}

.migo-products-workspace-v3057[data-products-view-v3057="grid"] .migo-product-price {
  grid-column: 2 / 4;
}

.migo-products-workspace-v3057[data-products-view-v3057="grid"] .migo-product-margin-v3057 {
  grid-column: 2 / 4;
}

.migo-products-workspace-v3057[data-products-view-v3057="grid"] .migo-product-actions {
  grid-column: 3;
  grid-row: 1;
}

.migo-products-empty-v3057 {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding: 42px 16px;
  color: #667085;
  text-align: center;
}

.migo-products-empty-v3057 > .migo-ui-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
  color: #98a2b3;
}

.migo-products-empty-v3057 strong {
  color: #344054;
  font-size: 13px;
}

.migo-products-empty-v3057 span {
  font-size: 10px;
}

body.crm-app.migo-modern-products-v3032 .migo-product-category-row-v3057 {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 30px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-bottom: 1px solid #e7ebef;
  border-radius: 0;
  background: #fff;
}

body.crm-app.migo-modern-products-v3032 .migo-product-category-row-v3057:last-child {
  border-bottom: 0;
}

.migo-products-workspace-v3057 .migo-category-pills {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid #e1e6ec;
  border-radius: 8px;
}

.migo-product-category-icon-v3057 {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #edf2f7;
  color: #2f65ad;
}

.migo-product-category-icon-v3057 .migo-ui-icon {
  width: 14px;
  height: 14px;
}

.migo-product-category-row-v3057 > div:nth-child(2) {
  min-width: 0;
}

.migo-product-category-row-v3057 strong,
.migo-product-category-row-v3057 small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.migo-product-category-row-v3057 strong {
  color: #101828;
  font-size: 11px;
}

.migo-product-category-row-v3057 small,
.migo-product-category-row-v3057 > span {
  color: #7c899b;
  font-size: 9px;
}

.migo-products-danger-icon-v3057 {
  color: #b42318;
}

.migo-products-editor-layer-v3057 {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
}

.migo-products-editor-layer-v3057[hidden] {
  display: none !important;
}

.migo-products-editor-backdrop-v3057 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(16, 24, 40, .36);
  backdrop-filter: blur(2px);
}

body.crm-app.migo-modern-products-v3032 .migo-products-editor-v3057 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(960px, calc(100vw - 32px));
  max-height: min(820px, calc(100dvh - 32px));
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #dce2e9 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 24px 64px rgba(16, 24, 40, .22) !important;
}

.migo-products-editor-head-v3057 {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 8px 12px 8px 16px;
  border-bottom: 1px solid #e3e7ec;
}

.migo-products-editor-head-v3057 h3 {
  margin: 1px 0 0;
  color: #101828;
  font-size: 15px;
  letter-spacing: 0;
}

.migo-products-editor-kicker-v3057 {
  display: block;
  color: #7c899b;
  font-size: 8px;
  font-weight: 780;
  text-transform: uppercase;
}

.migo-products-editor-body-v3057 {
  min-height: 0;
  padding: 14px 16px 16px;
  overflow: auto;
}

body.migo-products-editor-open-v3057 {
  overflow: hidden;
}

body.crm-app.migo-modern-products-v3032 .migo-products-editor-v3057 .migo-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.crm-app.migo-modern-products-v3032 .migo-products-editor-v3057 .migo-product-grid label {
  color: #526074 !important;
  font-size: 10px !important;
  font-weight: 720;
}

.migo-products-editor-v3057 .migo-product-form-actions {
  position: sticky;
  bottom: -16px;
  z-index: 2;
  margin: 14px -16px -16px;
  padding: 10px 16px;
  border-top: 1px solid #e3e7ec;
  background: #fff;
}

.migo-products-editor-v3057 .migo-product-variants-box {
  border-radius: 7px;
  background: #f8fafc;
}

.migo-products-workspace-v3057 > .migo-product-attach-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1150;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 14px !important;
  overflow: auto;
  border: 1px solid #dce2e9 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 24px 64px rgba(16, 24, 40, .22) !important;
  transform: translate(-50%, -50%);
}

.migo-products-icon-btn-v3057.is-loading .migo-ui-icon {
  animation: migoProductsSpinV3057 .75s linear infinite;
}

@keyframes migoProductsSpinV3057 {
  to { transform: rotate(360deg); }
}

@media (max-width: 1280px) {
  .migo-products-commandbar-v3057 {
    grid-template-columns: minmax(240px, 1fr) auto auto 34px auto 112px;
  }

  .migo-products-filter-strip-v3057 {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .migo-products-result-count-v3057 {
    justify-self: end;
  }
}

@media (max-width: 900px) {
  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpi-v3057:nth-child(3) {
    border-right: 0 !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpi-v3057:nth-child(-n + 3) {
    border-bottom: 1px solid #e7ebef !important;
  }

  .migo-products-list-head-v3057 {
    grid-template-columns: minmax(0, 1fr) 125px 70px;
  }

  .migo-products-list-head-v3057 span:nth-child(3) {
    display: none;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-card {
    grid-template-columns: 42px minmax(0, 1fr) 125px 70px !important;
  }

  .migo-products-workspace-v3057 .migo-product-margin-v3057 {
    display: none;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-editor-v3057 .migo-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 {
    gap: 8px !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpi-v3057,
  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpi-v3057:nth-child(3) {
    min-height: 58px !important;
    padding: 8px 8px 7px 12px !important;
    border-right: 1px solid #e7ebef !important;
    border-bottom: 1px solid #e7ebef !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpi-v3057:nth-child(2n) {
    border-right: 0 !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-kpi-v3057:last-child {
    grid-column: 1 / -1;
    border-bottom: 0 !important;
    border-right: 0 !important;
  }

  .migo-products-commandbar-v3057 {
    grid-template-columns: minmax(0, 1fr) auto 34px 34px 34px;
    gap: 5px;
    padding: 7px 0;
  }

  .migo-products-search-v3057 {
    grid-column: 1 / -1;
  }

  .migo-products-filter-strip-v3057 {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .migo-products-filter-strip-v3057::-webkit-scrollbar {
    display: none;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-filter-strip-v3057 select {
    min-width: 120px;
  }

  .migo-products-result-count-v3057 {
    justify-self: start;
  }

  .migo-products-new-v3057 {
    width: 34px;
    min-width: 34px;
    padding: 0 !important;
  }

  .migo-products-new-v3057 span {
    display: none;
  }

  .migo-products-list-head-v3057 {
    display: none;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-products-list {
    gap: 7px !important;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-card,
  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057[data-products-view-v3057="grid"] .migo-product-card {
    grid-template-columns: 38px minmax(0, 1fr) 68px !important;
    grid-template-rows: auto auto;
    gap: 8px !important;
    min-height: 0;
    padding: 9px !important;
    border: 1px solid #e1e6ec !important;
    border-radius: 8px !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-workspace-v3057 .migo-product-media {
    width: 34px !important;
    height: 34px !important;
  }

  .migo-products-workspace-v3057 .migo-product-actions,
  .migo-products-workspace-v3057[data-products-view-v3057="grid"] .migo-product-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  .migo-products-workspace-v3057 .migo-product-price,
  .migo-products-workspace-v3057[data-products-view-v3057="grid"] .migo-product-price {
    grid-column: 2 / 4 !important;
    grid-row: 2 !important;
  }

  .migo-products-workspace-v3057 .migo-product-media {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .migo-products-workspace-v3057 .migo-product-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .migo-products-workspace-v3057 .migo-product-main p {
    display: none;
  }

  .migo-products-workspace-v3057 .migo-product-meta span:nth-of-type(n + 3) {
    display: none;
  }

  .migo-products-sync-row-v3057 {
    min-height: 16px;
  }

  .migo-products-editor-layer-v3057 {
    align-items: end;
    padding: 6px;
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-editor-v3057 {
    width: 100%;
    max-height: calc(100dvh - 12px);
  }

  body.crm-app.migo-modern-products-v3032 .migo-products-editor-v3057 .migo-product-grid {
    grid-template-columns: 1fr !important;
  }

  .migo-products-editor-body-v3057 {
    padding: 12px;
  }

  .migo-products-editor-v3057 .migo-product-form-actions {
    bottom: -12px;
    margin: 12px -12px -12px;
    padding: 9px 12px;
  }

  .migo-products-workspace-v3057 .migo-category-form {
    grid-template-columns: 1fr !important;
  }

  body.crm-app.migo-modern-products-v3032 .migo-product-category-row-v3057 {
    grid-template-columns: 32px minmax(0, 1fr) 30px;
  }

  .migo-product-category-row-v3057 > span {
    display: none;
  }

  .migo-products-workspace-v3057 > .migo-product-attach-panel {
    width: calc(100vw - 12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .migo-products-loading-v3057 span,
  .migo-products-icon-btn-v3057.is-loading .migo-ui-icon {
    animation: none !important;
  }
}
/* End Migo CRM v3.0.57 Product workspace */

/* Migo CRM v3.0.58 Contract Document Studio */
body.crm-app #contractsView.active {
  width: 100%;
  max-width: none;
  padding: 0 !important;
}

body.crm-app .migo-contract-studio-v3058 {
  width: 100%;
  color: #101827;
}

body.crm-app .migo-contract-metrics-v3058 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 66px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid #d7dee7;
  border-radius: 7px;
  background: #fff;
}

body.crm-app .migo-contract-metrics-v3058 article {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 10px 14px 9px 18px;
  border-right: 1px solid #e3e8ee;
}

body.crm-app .migo-contract-metrics-v3058 article:last-child {
  border-right: 0;
}

body.crm-app .migo-contract-metrics-v3058 article::before {
  position: absolute;
  inset: 11px auto 11px 0;
  width: 3px;
  content: "";
  background: #2d6cdf;
}

body.crm-app .migo-contract-metrics-v3058 article:nth-child(2)::before { background: #d97706; }
body.crm-app .migo-contract-metrics-v3058 article:nth-child(3)::before { background: #7556d8; }
body.crm-app .migo-contract-metrics-v3058 article:nth-child(4)::before { background: #0b8f6a; }

body.crm-app .migo-contract-metrics-v3058 span,
body.crm-app .migo-contract-metrics-v3058 small {
  overflow: hidden;
  color: #687587;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-contract-metrics-v3058 span {
  color: #405068;
  font-weight: 800;
  text-transform: uppercase;
}

body.crm-app .migo-contract-metrics-v3058 strong {
  margin: 1px 0;
  font-size: 19px;
  line-height: 1.05;
}

body.crm-app .migo-contract-tabs-v3058 {
  display: inline-flex;
  max-width: 100%;
  min-height: 36px;
  margin-bottom: 10px;
  padding: 2px;
  overflow-x: auto;
  border: 1px solid #d7dee7;
  border-radius: 7px;
  background: #f6f8fa;
  scrollbar-width: none;
}

body.crm-app .migo-contract-tabs-v3058::-webkit-scrollbar { display: none; }

body.crm-app .migo-contract-tabs-v3058 button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  min-height: 30px;
  gap: 7px;
  padding: 5px 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #425168;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

body.crm-app .migo-contract-tabs-v3058 button[aria-selected="true"] {
  background: #101827;
  color: #fff;
}

body.crm-app .migo-contract-tabs-v3058 button span {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e6ebf1;
  color: #526176;
  font-size: 10px;
}

body.crm-app .migo-contract-tabs-v3058 button[aria-selected="true"] span {
  background: rgba(255, 255, 255, .17);
  color: #fff;
}

body.crm-app .migo-contract-toolbar-v3058 {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px auto 34px auto;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  padding: 4px 0 9px;
  border-bottom: 1px solid #d7dee7;
}

body.crm-app .migo-contract-toolbar-v3058.is-templates {
  grid-template-columns: minmax(180px, 1fr) auto auto;
}

body.crm-app .migo-contract-toolbar-v3058 input,
body.crm-app .migo-contract-toolbar-v3058 select,
body.crm-app .migo-contract-settings-form-v3058 input,
body.crm-app .migo-contract-settings-form-v3058 select,
body.crm-app .migo-contract-editor-v3058 input,
body.crm-app .migo-contract-editor-v3058 select,
body.crm-app .migo-contract-editor-v3058 textarea,
body.crm-app .migo-contract-template-editor-v3058 input,
body.crm-app .migo-contract-template-editor-v3058 select,
body.crm-app .migo-contract-template-editor-v3058 textarea,
body.crm-app .migo-contract-template-import-v3058 input,
body.crm-app .migo-contract-template-import-v3058 select,
body.crm-app .migo-contract-dispatch-v3058 input,
body.crm-app .migo-contract-dispatch-v3058 select,
body.crm-app .migo-contract-dispatch-v3058 textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  background: #fff;
  color: #101827;
  font: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

body.crm-app .migo-contract-toolbar-v3058 input,
body.crm-app .migo-contract-toolbar-v3058 select,
body.crm-app .migo-contract-settings-form-v3058 input,
body.crm-app .migo-contract-settings-form-v3058 select,
body.crm-app .migo-contract-editor-v3058 input,
body.crm-app .migo-contract-editor-v3058 select,
body.crm-app .migo-contract-template-editor-v3058 input,
body.crm-app .migo-contract-template-editor-v3058 select,
body.crm-app .migo-contract-template-import-v3058 input,
body.crm-app .migo-contract-template-import-v3058 select,
body.crm-app .migo-contract-dispatch-v3058 input,
body.crm-app .migo-contract-dispatch-v3058 select {
  height: 36px;
  padding: 7px 10px;
}

body.crm-app .migo-contract-toolbar-v3058 input:focus,
body.crm-app .migo-contract-toolbar-v3058 select:focus,
body.crm-app .migo-contract-settings-form-v3058 input:focus,
body.crm-app .migo-contract-settings-form-v3058 select:focus,
body.crm-app .migo-contract-editor-v3058 input:focus,
body.crm-app .migo-contract-editor-v3058 select:focus,
body.crm-app .migo-contract-editor-v3058 textarea:focus,
body.crm-app .migo-contract-template-editor-v3058 input:focus,
body.crm-app .migo-contract-template-editor-v3058 select:focus,
body.crm-app .migo-contract-template-editor-v3058 textarea:focus,
body.crm-app .migo-contract-template-import-v3058 input:focus,
body.crm-app .migo-contract-template-import-v3058 select:focus,
body.crm-app .migo-contract-dispatch-v3058 input:focus,
body.crm-app .migo-contract-dispatch-v3058 select:focus,
body.crm-app .migo-contract-dispatch-v3058 textarea:focus {
  border-color: #4d79c8;
  box-shadow: 0 0 0 3px rgba(45, 108, 223, .1);
}

body.crm-app .migo-contract-search-v3058 {
  position: relative;
  display: block;
}

body.crm-app .migo-contract-search-v3058 > .migo-ui-icon {
  position: absolute;
  z-index: 1;
  top: 10px;
  left: 10px;
  width: 16px;
  height: 16px;
  color: #708094;
  pointer-events: none;
}

body.crm-app .migo-contract-search-v3058 input { padding-left: 34px; }

body.crm-app .migo-contract-result-count-v3058 {
  min-width: max-content;
  color: #687587;
  font-size: 11px;
  font-weight: 700;
}

body.crm-app .migo-contract-toolbar-v3058 .primary-btn,
body.crm-app .migo-contract-toolbar-v3058 .secondary-btn,
body.crm-app .migo-contract-modal-v3058 .primary-btn,
body.crm-app .migo-contract-modal-v3058 .secondary-btn,
body.crm-app .migo-contract-settings-grid-v3058 .primary-btn,
body.crm-app .migo-contract-settings-grid-v3058 .secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
}

body.crm-app .migo-contract-toolbar-v3058 .migo-ui-icon,
body.crm-app .migo-contract-modal-v3058 button .migo-ui-icon,
body.crm-app .migo-contract-settings-grid-v3058 button .migo-ui-icon {
  width: 15px;
  height: 15px;
}

body.crm-app .migo-contract-icon-btn-v3058 {
  display: inline-grid;
  width: 34px;
  min-width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  background: #fff;
  color: #43536a;
  cursor: pointer;
}

body.crm-app .migo-contract-icon-btn-v3058:hover { border-color: #9aa9bb; color: #101827; }
body.crm-app .migo-contract-icon-btn-v3058.is-danger:hover { border-color: #e0a9a5; color: #b42318; }
body.crm-app .migo-contract-icon-btn-v3058 .migo-ui-icon { width: 16px; height: 16px; }
body.crm-app .migo-contract-icon-btn-v3058.is-spinning .migo-ui-icon { animation: migoContractSpinV3058 .75s linear infinite; }

@keyframes migoContractSpinV3058 { to { transform: rotate(360deg); } }

body.crm-app .migo-contract-table-v3058 {
  width: 100%;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #d7dee7;
  border-radius: 7px;
  background: #fff;
}

body.crm-app .migo-contract-table-head-v3058,
body.crm-app .migo-contract-row-v3058 {
  display: grid;
  grid-template-columns: minmax(260px, 2.2fr) minmax(170px, 1.25fr) minmax(130px, .85fr) minmax(120px, .7fr) 42px;
  align-items: center;
  gap: 12px;
}

body.crm-app .migo-contract-table-head-v3058 {
  min-height: 34px;
  padding: 6px 12px;
  border-bottom: 1px solid #d7dee7;
  background: #f5f7f9;
  color: #657286;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

body.crm-app .migo-contract-row-v3058 {
  min-height: 66px;
  padding: 9px 12px;
  border-bottom: 1px solid #e4e8ed;
  cursor: pointer;
}

body.crm-app .migo-contract-row-v3058:last-child { border-bottom: 0; }
body.crm-app .migo-contract-row-v3058:hover { background: #f8fafc; }
body.crm-app .migo-contract-row-v3058:focus-visible { outline: 2px solid #4d79c8; outline-offset: -2px; }
body.crm-app .migo-contract-row-v3058[hidden] { display: none !important; }

body.crm-app .migo-contract-doc-main-v3058,
body.crm-app .migo-contract-client-v3058 {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

body.crm-app .migo-contract-doc-main-v3058 > span:last-child,
body.crm-app .migo-contract-client-v3058 {
  display: grid;
}

body.crm-app .migo-contract-doc-main-v3058 strong,
body.crm-app .migo-contract-client-v3058 strong,
body.crm-app .migo-contract-date-v3058 strong {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-contract-doc-main-v3058 small,
body.crm-app .migo-contract-client-v3058 small,
body.crm-app .migo-contract-date-v3058 small,
body.crm-app .migo-contract-channel-v3058 {
  overflow: hidden;
  color: #728094;
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-contract-doc-icon-v3058 {
  display: grid;
  width: 34px;
  height: 38px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid #cdd8e5;
  border-radius: 6px;
  background: #eef3f8;
  color: #2d6cdf;
}

body.crm-app .migo-contract-doc-icon-v3058 .migo-ui-icon { width: 16px; height: 16px; }

body.crm-app .migo-contract-status-v3058 {
  display: inline-flex;
  max-width: max-content;
  min-height: 22px;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid #d5dce5;
  border-radius: 999px;
  background: #f4f6f8;
  color: #526176;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

body.crm-app .migo-contract-status-v3058.is-draft { background: #fff8e9; border-color: #f1d79e; color: #8f5a00; }
body.crm-app .migo-contract-status-v3058.is-sent,
body.crm-app .migo-contract-status-v3058.is-pending_signature { background: #f1edff; border-color: #d8cdfc; color: #6040b3; }
body.crm-app .migo-contract-status-v3058.is-signed { background: #eaf8f2; border-color: #b9e5d4; color: #087758; }

body.crm-app .migo-contract-channel-v3058 { display: block; margin-top: 3px; }
body.crm-app .migo-contract-date-v3058 { display: grid; min-width: 0; }

body.crm-app .migo-contract-empty-v3058,
body.crm-app .migo-contract-error-v3058 {
  display: grid;
  min-height: 210px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 24px;
  color: #647287;
  text-align: center;
}

body.crm-app .migo-contract-empty-v3058 > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 7px;
  background: #edf2f7;
  color: #2d6cdf;
}

body.crm-app .migo-contract-empty-v3058 > span .migo-ui-icon { width: 20px; height: 20px; }
body.crm-app .migo-contract-empty-v3058 [data-contract-new-v3058] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  min-width: 0;
  width: auto;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}
body.crm-app .migo-contract-empty-v3058 [data-contract-new-v3058] .migo-ui-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}
body.crm-app .migo-contract-error-v3058 strong { color: #a82a22; }

body.crm-app .migo-contract-toolbar-title-v3058 {
  display: grid;
  min-width: 0;
}

body.crm-app .migo-contract-toolbar-title-v3058 strong { font-size: 13px; }
body.crm-app .migo-contract-toolbar-title-v3058 span { color: #6c798b; font-size: 10px; }

body.crm-app .migo-contract-template-list-v3058 {
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid #d7dee7;
  border-radius: 7px;
  background: #fff;
}

body.crm-app .migo-contract-template-list-v3058 > article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 34px 34px;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #e4e8ed;
}

body.crm-app .migo-contract-template-list-v3058 > article:last-child { border-bottom: 0; }
body.crm-app .migo-contract-template-list-v3058 article > div { display: grid; min-width: 0; }
body.crm-app .migo-contract-template-list-v3058 article strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app .migo-contract-template-list-v3058 article small { overflow: hidden; color: #718094; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

body.crm-app .migo-contract-language-v3058 {
  display: grid;
  width: 36px;
  height: 30px;
  place-items: center;
  border: 1px solid #cdd8e5;
  border-radius: 5px;
  background: #f3f6f9;
  color: #34445b;
  font-size: 10px;
  font-weight: 850;
}

body.crm-app .migo-contract-default-v3058 {
  padding: 3px 7px;
  border-radius: 999px;
  background: #eaf8f2;
  color: #087758;
  font-size: 10px;
  font-weight: 800;
}

body.crm-app .migo-contract-settings-grid-v3058 {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 12px;
}

body.crm-app .migo-contract-settings-form-v3058,
body.crm-app .migo-contract-settings-side-v3058 > section {
  padding: 16px;
  border: 1px solid #d7dee7;
  border-radius: 7px;
  background: #fff;
}

body.crm-app .migo-contract-settings-side-v3058 { display: grid; align-content: start; gap: 12px; }
body.crm-app .migo-contract-settings-form-v3058 > header,
body.crm-app .migo-contract-settings-side-v3058 section > header,
body.crm-app .migo-contract-live-preview-v3058 > header,
body.crm-app .migo-contract-audit-v3058 > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

body.crm-app .migo-contract-settings-form-v3058 header strong,
body.crm-app .migo-contract-settings-side-v3058 header strong { font-size: 13px; }
body.crm-app .migo-contract-settings-form-v3058 header span,
body.crm-app .migo-contract-settings-side-v3058 header span,
body.crm-app .migo-contract-live-preview-v3058 header span,
body.crm-app .migo-contract-audit-v3058 header span { color: #718094; font-size: 10px; }

body.crm-app .migo-contract-form-grid-v3058 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.crm-app .migo-contract-form-grid-v3058 label,
body.crm-app .migo-contract-content-label-v3058,
body.crm-app .migo-contract-template-import-v3058 > label,
body.crm-app .migo-contract-dispatch-v3058 > label {
  display: grid;
  min-width: 0;
  gap: 5px;
  color: #46556a;
  font-size: 11px;
  font-weight: 750;
}

body.crm-app .migo-contract-form-grid-v3058 .is-wide { grid-column: 1 / -1; }

body.crm-app .migo-contract-settings-form-v3058 fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #e0e5eb;
  border-radius: 6px;
}

body.crm-app .migo-contract-settings-form-v3058 legend { padding: 0 5px; color: #59677b; font-size: 11px; font-weight: 750; }

body.crm-app .migo-contract-check-v3058 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #405068;
  font-size: 11px;
  font-weight: 650;
  cursor: pointer;
}

body.crm-app .migo-contract-check-v3058 input { width: 15px; height: 15px; margin: 0; accent-color: #2d6cdf; }

body.crm-app .migo-contract-stamp-preview-v3058 {
  display: grid;
  min-height: 150px;
  place-items: center;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px dashed #b9c5d3;
  border-radius: 6px;
  background: #f9fafb;
  color: #718094;
  font-size: 11px;
  text-align: center;
}

body.crm-app .migo-contract-stamp-preview-v3058 img { max-width: 100%; max-height: 126px; object-fit: contain; }
body.crm-app .migo-contract-stamp-preview-v3058 .migo-ui-icon { width: 18px; height: 18px; vertical-align: middle; }
body.crm-app .migo-contract-settings-side-v3058 .migo-contract-check-v3058 { margin: 0 0 12px; }

body.crm-app .migo-contract-channels-v3058 > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #edf0f4;
  color: #48576b;
  font-size: 11px;
}
body.crm-app .migo-contract-channels-v3058 > div strong { color: #8c5a0a; font-size: 10px; }
body.crm-app .migo-contract-channels-v3058 > div strong.is-ready { color: #087f5b; }

body.crm-app .migo-contract-msign-v3058 { border-left: 3px solid #d68a1b !important; }
body.crm-app .migo-contract-msign-v3058.is-ready { border-left-color: #0b8f6a !important; }
body.crm-app .migo-contract-msign-v3058 p { margin: 0; color: #667488; font-size: 11px; line-height: 1.5; }

body.migo-contract-modal-open-v3058 { overflow: hidden !important; }

body.crm-app .migo-contract-modal-v3058 {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

body.crm-app .migo-contract-modal-backdrop-v3058 {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 39, .54);
  backdrop-filter: blur(2px);
}

body.crm-app .migo-contract-modal-v3058 > section {
  position: relative;
  display: flex;
  width: min(620px, 100%);
  max-height: calc(100vh - 36px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cbd4df;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}

body.crm-app .migo-contract-modal-v3058.is-wide > section { width: min(1260px, 100%); }

body.crm-app .migo-contract-modal-head-v3058 {
  display: flex;
  min-height: 58px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid #d7dee7;
  background: #fff;
}

body.crm-app .migo-contract-modal-head-v3058 > div:first-child { display: grid; min-width: 0; }
body.crm-app .migo-contract-modal-head-v3058 strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app .migo-contract-modal-head-v3058 span { overflow: hidden; color: #6b788a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app .migo-contract-detail-head-actions-v3058 { display: flex !important; align-items: center; gap: 8px; }

body.crm-app .migo-contract-editor-v3058 {
  display: grid;
  grid-template-columns: minmax(430px, .9fr) minmax(440px, 1.1fr);
  min-height: 0;
  overflow: hidden;
}

body.crm-app .migo-contract-editor-fields-v3058 {
  min-width: 0;
  min-height: 0;
  padding: 14px;
  overflow-y: auto;
  border-right: 1px solid #d7dee7;
}

body.crm-app .migo-contract-extra-v3058 {
  margin-top: 12px;
  padding: 0 11px 11px;
  border: 1px solid #d7dee7;
  border-radius: 6px;
  background: #f8fafc;
}

body.crm-app .migo-contract-extra-v3058 summary {
  padding: 10px 0;
  color: #26354a;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

body.crm-app .migo-contract-extra-v3058 textarea {
  min-height: 76px;
  padding: 9px 10px;
  resize: vertical;
  line-height: 1.45;
}

body.crm-app .migo-contract-content-label-v3058 { margin-top: 12px; }
body.crm-app .migo-contract-content-label-v3058 textarea,
body.crm-app .migo-contract-template-editor-v3058 textarea { min-height: 320px; padding: 11px; resize: vertical; line-height: 1.5; }

body.crm-app .migo-contract-placeholders-v3058 {
  display: flex;
  max-height: 78px;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
  overflow-y: auto;
}

body.crm-app .migo-contract-placeholders-v3058 button {
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid #d2dae4;
  border-radius: 5px;
  background: #f7f9fb;
  color: #405068;
  font: 10px/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
  cursor: pointer;
}

body.crm-app .migo-contract-placeholders-v3058 button:hover { border-color: #8ea5c4; background: #eef4fb; }

body.crm-app .migo-contract-live-preview-v3058 {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: auto 1fr;
  padding: 12px;
  background: #edf0f3;
}

body.crm-app .migo-contract-live-preview-v3058 > header { margin: 0 0 8px; }
body.crm-app .migo-contract-live-preview-v3058 iframe {
  width: 100%;
  min-height: 560px;
  border: 1px solid #cbd4df;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
}

body.crm-app .migo-contract-modal-foot-v3058 {
  display: flex;
  min-height: 54px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 9px 14px;
  border-top: 1px solid #d7dee7;
  background: #fff;
}

body.crm-app .migo-contract-detail-v3058 {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) 330px;
  overflow: hidden;
}

body.crm-app .migo-contract-detail-preview-v3058 {
  min-width: 0;
  min-height: 0;
  padding: 12px;
  overflow: auto;
  background: #edf0f3;
}

body.crm-app .migo-contract-detail-preview-v3058 iframe {
  width: 100%;
  min-height: calc(100vh - 124px);
  border: 1px solid #cbd4df;
  background: #fff;
}

body.crm-app .migo-contract-detail-side-v3058 {
  min-height: 0;
  padding: 12px;
  overflow-y: auto;
  border-left: 1px solid #d7dee7;
}

body.crm-app .migo-contract-detail-actions-v3058 { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
body.crm-app .migo-contract-detail-actions-v3058 .primary-btn { grid-column: 1 / -1; }

body.crm-app .migo-contract-detail-meta-v3058 {
  display: grid;
  gap: 0;
  margin: 14px 0;
  border-top: 1px solid #e0e5eb;
}

body.crm-app .migo-contract-detail-meta-v3058 > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #e8ebef;
}

body.crm-app .migo-contract-detail-meta-v3058 dt { color: #718094; font-size: 10px; }
body.crm-app .migo-contract-detail-meta-v3058 dd { min-width: 0; margin: 0; overflow: hidden; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app .migo-contract-detail-meta-v3058 code { font-size: 10px; }

body.crm-app .migo-contract-audit-v3058 { margin-top: 12px; }
body.crm-app .migo-contract-audit-v3058 > header { margin-bottom: 8px; }
body.crm-app .migo-contract-audit-v3058 > div { position: relative; display: flex; gap: 9px; padding: 6px 0; }
body.crm-app .migo-contract-audit-v3058 > div i { width: 7px; height: 7px; flex: 0 0 7px; margin-top: 5px; border-radius: 50%; background: #4d79c8; }
body.crm-app .migo-contract-audit-v3058 > div span { display: grid; min-width: 0; }
body.crm-app .migo-contract-audit-v3058 > div strong { font-size: 10px; }
body.crm-app .migo-contract-audit-v3058 > div small { color: #718094; font-size: 9px; }

body.crm-app .migo-contract-archive-v3058 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #a43a32;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

body.crm-app .migo-contract-archive-v3058 .migo-ui-icon { width: 13px; height: 13px; }

body.crm-app .migo-contract-detail-loading-v3058 {
  display: grid;
  min-height: 280px;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #637187;
  font-size: 12px;
}

body.crm-app .migo-contract-detail-loading-v3058 span,
body.crm-app .migo-contract-loading-v3058 span {
  width: 100%;
  height: 58px;
  border-radius: 7px;
  background: linear-gradient(90deg, #edf1f5 25%, #f8fafc 45%, #edf1f5 65%);
  background-size: 300% 100%;
  animation: migoContractSkeletonV3058 1.2s ease infinite;
}

body.crm-app .migo-contract-detail-loading-v3058 span { width: 38px; height: 38px; border-radius: 50%; }
body.crm-app .migo-contract-loading-v3058 { display: grid; gap: 10px; }

@keyframes migoContractSkeletonV3058 { to { background-position: -150% 0; } }

body.crm-app .migo-contract-template-editor-v3058,
body.crm-app .migo-contract-template-import-v3058,
body.crm-app .migo-contract-dispatch-v3058 {
  display: grid;
  min-height: 0;
  gap: 12px;
  padding: 14px;
  overflow-y: auto;
}

body.crm-app .migo-contract-template-editor-v3058 .migo-contract-modal-foot-v3058,
body.crm-app .migo-contract-template-import-v3058 .migo-contract-modal-foot-v3058,
body.crm-app .migo-contract-dispatch-v3058 .migo-contract-modal-foot-v3058 {
  margin: 2px -14px -14px;
}

body.crm-app .migo-contract-template-import-v3058 input[type="file"] {
  height: auto;
  min-height: 42px;
  padding: 7px;
}

body.crm-app .migo-contract-dispatch-v3058 textarea {
  min-height: 88px;
  padding: 10px;
  resize: vertical;
}

body.crm-app .migo-contract-dispatch-note-v3058 {
  padding: 9px 10px;
  border-left: 3px solid #d68a1b;
  background: #fff9ed;
  color: #6b552b;
  font-size: 10px;
  line-height: 1.45;
}

body.crm-app [data-contract-dispatch-result-v3058].is-error { color: #b42318; font-size: 11px; font-weight: 700; }
body.crm-app .migo-contract-dispatch-success-v3058 { display: grid; gap: 4px; padding: 10px; border-left: 3px solid #0b8f6a; background: #edf9f4; }
body.crm-app .migo-contract-dispatch-success-v3058 strong { color: #087758; font-size: 12px; }
body.crm-app .migo-contract-dispatch-success-v3058 span { color: #526176; font-size: 10px; }
body.crm-app .migo-contract-dispatch-success-v3058 button { justify-self: start; margin-top: 5px; }

@media (max-width: 1100px) {
  body.crm-app .migo-contract-toolbar-v3058 { grid-template-columns: minmax(190px, 1fr) 150px auto 34px auto; }
  body.crm-app .migo-contract-table-head-v3058,
  body.crm-app .migo-contract-row-v3058 { grid-template-columns: minmax(230px, 1.8fr) minmax(150px, 1fr) minmax(120px, .8fr) 42px; }
  body.crm-app .migo-contract-table-head-v3058 > :nth-child(4),
  body.crm-app .migo-contract-row-v3058 > :nth-child(4) { display: none; }
  body.crm-app .migo-contract-editor-v3058 { grid-template-columns: minmax(390px, .95fr) minmax(390px, 1.05fr); }
  body.crm-app .migo-contract-detail-v3058 { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 880px) {
  body.crm-app .migo-contract-settings-grid-v3058 { grid-template-columns: 1fr; }
  body.crm-app .migo-contract-editor-v3058 { display: block; overflow-y: auto; }
  body.crm-app .migo-contract-editor-fields-v3058 { overflow: visible; border-right: 0; }
  body.crm-app .migo-contract-live-preview-v3058 { min-height: 620px; }
  body.crm-app .migo-contract-modal-foot-v3058 { position: sticky; bottom: 0; }
  body.crm-app .migo-contract-detail-v3058 { display: block; overflow-y: auto; }
  body.crm-app .migo-contract-detail-preview-v3058 iframe { min-height: 70vh; }
  body.crm-app .migo-contract-detail-side-v3058 { overflow: visible; border-top: 1px solid #d7dee7; border-left: 0; }
}

@media (max-width: 720px) {
  body.crm-app .migo-contract-metrics-v3058 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.crm-app .migo-contract-metrics-v3058 article:nth-child(2) { border-right: 0; }
  body.crm-app .migo-contract-metrics-v3058 article:nth-child(-n+2) { border-bottom: 1px solid #e3e8ee; }
  body.crm-app .migo-contract-toolbar-v3058 { grid-template-columns: minmax(0, 1fr) 142px 34px auto; }
  body.crm-app .migo-contract-toolbar-v3058 .migo-contract-result-count-v3058 { grid-row: 2; grid-column: 1 / 3; }
  body.crm-app .migo-contract-toolbar-v3058.is-templates { grid-template-columns: 1fr auto auto; }
  body.crm-app .migo-contract-toolbar-v3058.is-templates .migo-contract-toolbar-title-v3058 span { display: none; }
  body.crm-app .migo-contract-table-head-v3058 { display: none; }
  body.crm-app .migo-contract-row-v3058 { grid-template-columns: minmax(0, 1fr) auto 34px; gap: 8px; padding: 10px; }
  body.crm-app .migo-contract-row-v3058 > :nth-child(2) { grid-column: 1; padding-left: 44px; }
  body.crm-app .migo-contract-row-v3058 > :nth-child(3) { grid-row: 1; grid-column: 2; justify-self: end; }
  body.crm-app .migo-contract-row-v3058 > :nth-child(4) { display: none; }
  body.crm-app .migo-contract-row-v3058 > :nth-child(5) { grid-row: 1; grid-column: 3; }
  body.crm-app .migo-contract-channel-v3058 { text-align: right; }
  body.crm-app .migo-contract-modal-v3058 { padding: 0; }
  body.crm-app .migo-contract-modal-v3058 > section,
  body.crm-app .migo-contract-modal-v3058.is-wide > section { width: 100%; height: 100%; max-height: none; border: 0; border-radius: 0; }
  body.crm-app .migo-contract-live-preview-v3058 { min-height: 520px; padding: 9px; }
  body.crm-app .migo-contract-live-preview-v3058 iframe { min-height: 470px; }
  body.crm-app .migo-contract-template-list-v3058 > article { grid-template-columns: 38px minmax(0, 1fr) 34px 34px; }
  body.crm-app .migo-contract-default-v3058 { display: none; }
}

@media (max-width: 500px) {
  body.crm-app .migo-contract-toolbar-v3058 { grid-template-columns: minmax(0, 1fr) 34px auto; }
  body.crm-app .migo-contract-toolbar-v3058 select { grid-row: 2; grid-column: 1 / -1; }
  body.crm-app .migo-contract-toolbar-v3058 .migo-contract-result-count-v3058 { grid-row: 3; grid-column: 1 / -1; }
  body.crm-app .migo-contract-toolbar-v3058.is-templates { grid-template-columns: 1fr 36px 36px; }
  body.crm-app .migo-contract-toolbar-v3058.is-templates .secondary-btn,
  body.crm-app .migo-contract-toolbar-v3058.is-templates .primary-btn { width: 36px; min-width: 36px; padding: 0; }
  body.crm-app .migo-contract-toolbar-v3058.is-templates button span { display: none; }
  body.crm-app .migo-contract-new-v3058 { width: 36px; min-width: 36px; padding: 0 !important; }
  body.crm-app .migo-contract-new-v3058 span { display: none; }
  body.crm-app .migo-contract-form-grid-v3058 { grid-template-columns: 1fr; }
  body.crm-app .migo-contract-form-grid-v3058 .is-wide { grid-column: 1; }
  body.crm-app .migo-contract-template-list-v3058 > article { grid-template-columns: 36px minmax(0, 1fr) 32px 32px; gap: 6px; padding-inline: 8px; }
  body.crm-app .migo-contract-template-list-v3058 .migo-contract-icon-btn-v3058 { width: 32px; min-width: 32px; height: 32px; }
  body.crm-app .migo-contract-detail-actions-v3058 { grid-template-columns: 1fr; }
  body.crm-app .migo-contract-detail-actions-v3058 .primary-btn { grid-column: 1; }
  body.crm-app .migo-contract-content-label-v3058 textarea,
  body.crm-app .migo-contract-template-editor-v3058 textarea { min-height: 270px; }
}

@media (prefers-reduced-motion: reduce) {
  body.crm-app .migo-contract-icon-btn-v3058.is-spinning .migo-ui-icon,
  body.crm-app .migo-contract-loading-v3058 span,
  body.crm-app .migo-contract-detail-loading-v3058 span { animation: none !important; }
}
/* End Migo CRM v3.0.58 Contract Document Studio */

/* Migo CRM v3.0.59 Notifications Workspace */
body.crm-app #notificationCenterView.active {
  width: 100%;
  min-width: 0;
  max-width: 1540px;
  margin: 0 auto;
  color: #111827;
}

body.crm-app .migo-notifications-page-v3059 {
  display: grid;
  gap: 16px;
  min-width: 0;
}

body.crm-app .migo-notifications-toolbar-v3059 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #dfe4ea;
}

body.crm-app .migo-segmented-v3059 {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  padding: 3px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #f4f6f8;
}

body.crm-app .migo-segmented-v3059 button {
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #5c6675;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

body.crm-app .migo-segmented-v3059 button:hover { color: #111827; }
body.crm-app .migo-segmented-v3059 button.is-active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .1);
}

body.crm-app .migo-notifications-tools-v3059,
body.crm-app .migo-inline-actions-v3059 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.crm-app .migo-notification-search-v3059 {
  position: relative;
  display: flex;
  align-items: center;
  width: min(260px, 28vw);
  min-width: 170px;
}

body.crm-app .migo-notification-search-v3059 .migo-ui-icon {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  color: #687386;
  pointer-events: none;
}

body.crm-app .migo-notification-search-v3059 input {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 0 10px 0 34px;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-size: 13px;
}

body.crm-app .migo-notification-search-v3059 input:focus {
  border-color: #8a96a7;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, .07);
}

body.crm-app .migo-icon-btn-v3059 {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
  color: #485568;
  cursor: pointer;
}

body.crm-app .migo-icon-btn-v3059:hover {
  border-color: #aab4c1;
  background: #f7f8fa;
  color: #111827;
}

body.crm-app .migo-icon-btn-v3059 .migo-ui-icon,
body.crm-app .migo-add-reminder-v3059 .migo-ui-icon,
body.crm-app .migo-notification-system-v3059 summary .migo-ui-icon {
  width: 17px;
  height: 17px;
}

body.crm-app .migo-add-reminder-v3059 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px !important;
  padding: 0 13px !important;
  border-radius: 8px !important;
  font-size: 13px;
}

body.crm-app .migo-notification-stats-v3059 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

body.crm-app .migo-notification-stats-v3059 button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  min-width: 0;
  padding: 14px 16px;
  border: 0;
  border-right: 1px solid #e5e9ef;
  background: #ffffff;
  color: #111827;
  text-align: left;
  cursor: pointer;
}

body.crm-app .migo-notification-stats-v3059 button:last-child { border-right: 0; }
body.crm-app .migo-notification-stats-v3059 button:hover { background: #f8fafc; }
body.crm-app .migo-notification-stats-v3059 span { color: #687386; font-size: 12px; font-weight: 750; }
body.crm-app .migo-notification-stats-v3059 strong { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 24px; line-height: 1; }
body.crm-app .migo-notification-stats-v3059 small { min-width: 0; color: #8a94a3; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

body.crm-app .migo-alerts-strip-v3059 {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid #f1c4c0;
  border-left: 4px solid #d14343;
  border-radius: 8px;
  background: #fffafa;
}

body.crm-app .migo-alerts-title-v3059 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
}

body.crm-app .migo-alerts-title-v3059 > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fee9e7;
  color: #b42318;
}

body.crm-app .migo-alerts-title-v3059 .migo-ui-icon { width: 18px; height: 18px; }
body.crm-app .migo-alerts-title-v3059 h2 { font-size: 14px; }
body.crm-app .migo-alerts-title-v3059 p { margin: 3px 0 0; color: #8b5550; font-size: 11px; }

body.crm-app .migo-notification-layout-v3059 {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .7fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}

body.crm-app .migo-notification-layout-v3059.is-reminder-focus { grid-template-columns: minmax(0, 1fr); }

body.crm-app .migo-notification-feed-v3059,
body.crm-app .migo-reminders-panel-v3059 {
  min-width: 0;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

body.crm-app .migo-notification-section-head-v3059 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 11px 14px;
  border-bottom: 1px solid #e5e9ef;
}

body.crm-app .migo-notification-section-head-v3059 h2,
body.crm-app .migo-notification-section-head-v3059 h3 { margin: 0; font-size: 14px; }
body.crm-app .migo-notification-section-head-v3059 p { margin: 3px 0 0; color: #7b8696; font-size: 11px; }
body.crm-app .migo-notification-section-head-v3059 .mini-btn,
body.crm-app .migo-notification-system-v3059 .mini-btn,
body.crm-app .migo-notification-system-v3059 .primary-btn {
  min-height: 34px !important;
  padding: 0 11px !important;
  border-radius: 7px !important;
  font-size: 12px;
}

body.crm-app .migo-notification-list-v3059,
body.crm-app .migo-reminder-list-v3059 { min-width: 0; }

body.crm-app .migo-notification-item-v3059,
body.crm-app .migo-reminder-item-v3059 {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: start;
  min-width: 0;
  padding: 13px 14px;
  border-bottom: 1px solid #edf0f4;
  background: #ffffff;
}

body.crm-app .migo-notification-item-v3059:last-child,
body.crm-app .migo-reminder-item-v3059:last-child { border-bottom: 0; }
body.crm-app .migo-notification-item-v3059.is-unread { background: #f8fbff; }
body.crm-app .migo-notification-item-v3059.is-unread .migo-notification-copy-v3059 > strong::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 50%;
  background: #2563eb;
  vertical-align: 2px;
}

body.crm-app .migo-notification-icon-v3059 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #edf3ff;
  color: #2563eb;
}

body.crm-app .level-warning .migo-notification-icon-v3059 { background: #fff4dd; color: #a15c00; }
body.crm-app .level-danger .migo-notification-icon-v3059 { background: #fee9e7; color: #b42318; }
body.crm-app .level-success .migo-notification-icon-v3059 { background: #e6f6ef; color: #067647; }
body.crm-app .migo-notification-icon-v3059 .migo-ui-icon { width: 17px; height: 17px; }

body.crm-app .migo-notification-copy-v3059,
body.crm-app .migo-reminder-copy-v3059 { min-width: 0; }
body.crm-app .migo-notification-copy-v3059 > strong,
body.crm-app .migo-reminder-copy-v3059 > strong { display: block; color: #172033; font-size: 13px; line-height: 1.35; }
body.crm-app .migo-notification-copy-v3059 p,
body.crm-app .migo-reminder-copy-v3059 p { margin: 4px 0 0; color: #5f6b7b; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
body.crm-app .migo-notification-meta-v3059 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: #7b8696; font-size: 10px; }
body.crm-app .migo-notification-meta-v3059 span { font-weight: 800; text-transform: uppercase; }
body.crm-app .migo-notification-meta-v3059 time { margin-left: auto; }

body.crm-app .migo-notification-actions-v3059 {
  display: flex;
  align-items: center;
  gap: 5px;
  align-self: center;
}

body.crm-app .migo-notification-actions-v3059 .migo-icon-btn-v3059 {
  flex-basis: 30px;
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-color: transparent;
  background: transparent;
}

body.crm-app .migo-notification-actions-v3059 .migo-icon-btn-v3059:hover { border-color: #d8dee7; background: #ffffff; }
body.crm-app .migo-notification-actions-v3059 .migo-ui-icon { width: 15px; height: 15px; }

body.crm-app .migo-reminder-item-v3059 { grid-template-columns: 88px minmax(0, 1fr) auto; }
body.crm-app .migo-reminder-date-v3059 { display: grid; gap: 2px; color: #435064; }
body.crm-app .migo-reminder-date-v3059 strong { font-size: 11px; text-transform: capitalize; }
body.crm-app .migo-reminder-date-v3059 small { color: #8993a2; font-size: 9px; }
body.crm-app .migo-reminder-copy-v3059 > span { display: block; margin-top: 5px; color: #7b8696; font-size: 10px; }
body.crm-app .migo-reminder-item-v3059.is-overdue { box-shadow: inset 3px 0 #d14343; }
body.crm-app .migo-reminder-item-v3059.status-failed { box-shadow: inset 3px 0 #d97706; }

body.crm-app .migo-alerts-strip-v3059 > div:last-child .migo-notification-item-v3059 {
  padding: 8px 4px;
  border-color: #f3d9d6;
  background: transparent;
}

body.crm-app .migo-alerts-strip-v3059 .migo-notification-copy-v3059 p { display: none; }
body.crm-app .migo-notification-empty-v3059 { margin: 0; padding: 28px 16px; color: #7b8696; font-size: 12px; text-align: center; }

body.crm-app .migo-notification-system-v3059 {
  min-width: 0;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

body.crm-app .migo-notification-system-v3059 summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  padding: 10px 14px;
  list-style: none;
  cursor: pointer;
}

body.crm-app .migo-notification-system-v3059 summary::-webkit-details-marker { display: none; }
body.crm-app .migo-notification-system-v3059 summary > span { display: flex; align-items: center; gap: 8px; }
body.crm-app .migo-notification-system-v3059 summary strong { font-size: 13px; }
body.crm-app .migo-notification-system-v3059 summary small { color: #7b8696; font-size: 11px; }
body.crm-app .migo-notification-system-grid-v3059 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #e5e9ef; }
body.crm-app .migo-notification-system-grid-v3059 > section { min-width: 0; }
body.crm-app .migo-notification-system-grid-v3059 > section + section { border-left: 1px solid #e5e9ef; }
body.crm-app .migo-system-list-v3059 > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 9px 14px; border-bottom: 1px solid #edf0f4; }
body.crm-app .migo-system-list-v3059 > div:last-child { border-bottom: 0; }
body.crm-app .migo-system-list-v3059 > div > span:first-child { display: grid; min-width: 0; gap: 3px; }
body.crm-app .migo-system-list-v3059 strong { overflow: hidden; color: #273244; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app .migo-system-list-v3059 small { overflow: hidden; color: #7b8696; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

body.crm-app .migo-switch-v3059 {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: #c8d0db;
  cursor: pointer;
}

body.crm-app .migo-switch-v3059 span { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #ffffff; transition: transform .16s ease; }
body.crm-app .migo-switch-v3059.is-on { background: #2563eb; }
body.crm-app .migo-switch-v3059.is-on span { transform: translateX(14px); }

body.crm-app .migo-reminder-form-grid-v3059 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, .55fr); gap: 10px; }
body.crm-app .migo-form-note-v3059 { margin: -2px 0 2px; color: #7b8696; font-size: 11px; line-height: 1.45; }

body.crm-app .migo-notification-loading-v3059 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.crm-app .migo-notification-loading-v3059 span { display: block; height: 92px; border-radius: 8px; background: #eef1f5; animation: migoNotificationPulseV3059 1.1s ease-in-out infinite alternate; }
body.crm-app .migo-notification-loading-v3059 span:nth-child(2) { animation-delay: .12s; }
body.crm-app .migo-notification-loading-v3059 span:nth-child(3) { animation-delay: .24s; }
@keyframes migoNotificationPulseV3059 { to { opacity: .45; } }

body.crm-app .migo-notification-badge-v3059 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 18px;
  height: 18px;
  margin-left: auto;
  padding: 0 4px;
  border: 1px solid #c7d6c0;
  border-radius: 9px;
  background: #dfe9d9;
  color: #38533c !important;
  box-shadow: none;
  font-size: 9px;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
}

body.crm-app [data-migo-sidebar-tool="notifications"] { position: relative; }
body.crm-app [data-migo-sidebar-tool="notifications"] .migo-notification-badge-v3059 {
  position: absolute;
  top: -3px;
  right: -5px;
  min-width: 15px;
  height: 15px;
  margin: 0;
  padding: 0 3px;
  border: 2px solid #f3f7ee;
  border-radius: 8px;
  background: #4f704d;
  color: #ffffff !important;
  font-size: 8px;
}

body.crm-app .migo-notification-badge-v3059[hidden] { display: none !important; }

body.crm-app .migo-notification-toast-v3059 {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(360px, calc(100vw - 28px));
  padding: 11px;
  border: 1px solid #d8dee7;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .18);
  text-align: left;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  cursor: pointer;
}

body.crm-app .migo-notification-toast-v3059.is-visible { opacity: 1; transform: translateY(0); }
body.crm-app .migo-notification-toast-v3059 > span:first-child { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #edf3ff; color: #2563eb; }
body.crm-app .migo-notification-toast-v3059.level-warning > span:first-child { background: #fff4dd; color: #a15c00; }
body.crm-app .migo-notification-toast-v3059.level-danger > span:first-child { background: #fee9e7; color: #b42318; }
body.crm-app .migo-notification-toast-v3059 small,
body.crm-app .migo-notification-toast-v3059 strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app .migo-notification-toast-v3059 small { margin-bottom: 3px; color: #7b8696; font-size: 10px; }
body.crm-app .migo-notification-toast-v3059 strong { font-size: 12px; }

@media (max-width: 980px) {
  body.crm-app .migo-notifications-toolbar-v3059 { align-items: flex-start; flex-direction: column; }
  body.crm-app .migo-notifications-tools-v3059 { width: 100%; }
  body.crm-app .migo-notification-search-v3059 { flex: 1 1 auto; width: auto; }
  body.crm-app .migo-notification-stats-v3059 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.crm-app .migo-notification-stats-v3059 button:nth-child(2) { border-right: 0; }
  body.crm-app .migo-notification-stats-v3059 button:nth-child(-n+2) { border-bottom: 1px solid #e5e9ef; }
  body.crm-app .migo-alerts-strip-v3059 { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  body.crm-app .migo-alerts-title-v3059 { padding-bottom: 0; }
  body.crm-app .migo-notification-layout-v3059 { grid-template-columns: minmax(0, 1fr); }
  body.crm-app .migo-notification-system-grid-v3059 { grid-template-columns: minmax(0, 1fr); }
  body.crm-app .migo-notification-system-grid-v3059 > section + section { border-top: 1px solid #e5e9ef; border-left: 0; }
}

@media (max-width: 640px) {
  body.crm-app .migo-segmented-v3059 { width: 100%; overflow-x: auto; scrollbar-width: none; }
  body.crm-app .migo-segmented-v3059::-webkit-scrollbar { display: none; }
  body.crm-app .migo-segmented-v3059 button { flex: 1 0 auto; padding-inline: 10px; }
  body.crm-app .migo-notifications-tools-v3059 { display: grid; grid-template-columns: minmax(0, 1fr) 36px 36px; }
  body.crm-app .migo-add-reminder-v3059 { width: 36px; min-width: 36px; padding: 0 !important; }
  body.crm-app .migo-add-reminder-v3059 span { display: none; }
  body.crm-app .migo-notification-stats-v3059 button { padding: 12px; }
  body.crm-app .migo-notification-stats-v3059 strong { font-size: 20px; }
  body.crm-app .migo-notification-item-v3059 { grid-template-columns: 34px minmax(0, 1fr); padding: 11px; }
  body.crm-app .migo-notification-actions-v3059 { grid-column: 2; justify-content: flex-end; }
  body.crm-app .migo-reminder-item-v3059 { grid-template-columns: minmax(0, 1fr) auto; }
  body.crm-app .migo-reminder-date-v3059 { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: baseline; gap: 8px; }
  body.crm-app .migo-reminder-item-v3059 .migo-notification-actions-v3059 { grid-row: 2; grid-column: 2; }
  body.crm-app .migo-notification-section-head-v3059 { align-items: flex-start; }
  body.crm-app .migo-notification-section-head-v3059 > .mini-btn { max-width: 130px; white-space: normal; }
  body.crm-app .migo-reminder-form-grid-v3059 { grid-template-columns: minmax(0, 1fr); }
  body.crm-app .migo-notification-system-v3059 summary { align-items: flex-start; flex-direction: column; }
  body.crm-app .migo-notification-loading-v3059 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 430px) {
  body.crm-app .migo-inline-actions-v3059 { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  body.crm-app .migo-notification-loading-v3059 span,
  body.crm-app .migo-notification-toast-v3059,
  body.crm-app .migo-switch-v3059 span { animation: none !important; transition: none !important; }
}
/* End Migo CRM v3.0.59 Notifications Workspace */

/* Migo CRM v3.0.60 Sidebar interaction and precisely centered controls */
body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027 {
  min-height: 30px !important;
  padding: 5px 9px !important;
}

body.crm-app.migo-sidebar-modern-v3039 .sidebar .nav-item.migo-nav-group-folded-v3027 {
  display: none !important;
}

body.crm-app.migo-sidebar-modern-v3039.migo-sidebar-searching-v3027 .sidebar .nav-item.migo-nav-group-folded-v3027:not(.migo-nav-filtered-out) {
  display: flex !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027 > .migo-nav-group-indicator-v3030 {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027 > .migo-nav-group-indicator-v3030::before,
body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027 > .migo-nav-group-indicator-v3030::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 1px;
  background: #7c897d;
  transform: translate(-50%, -50%);
  transform-origin: center;
  pointer-events: none;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027 > .migo-nav-group-indicator-v3030::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity .14s ease, transform .14s ease;
}

body.crm-app.migo-sidebar-modern-v3039 .migo-nav-group-toggle-v3027[aria-expanded="true"] > .migo-nav-group-indicator-v3030::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(.5);
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost #migoSidebarSearchClear {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost #migoSidebarSearchClear::before,
body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost #migoSidebarSearchClear::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 1px;
  background: #7f8b80;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
  pointer-events: none;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost #migoSidebarSearchClear::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost #migoSidebarSearchClear:hover::before,
body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost #migoSidebarSearchClear:hover::after {
  background: #3f5142;
}

body.crm-app.migo-sidebar-modern-v3039 #migoSidebarSearchHost #migoSidebarSearchClear[hidden] {
  display: none !important;
}
/* End Migo CRM v3.0.60 Sidebar interaction */

/* Migo CRM v3.0.63 Reports calendar, agent filters and configurable workspace */
body.crm-app #reportsView .migo-reports-v3055 {
  gap: 12px;
}

body.crm-app #reportsView .migo-reports-toolbar-v3055 {
  position: relative;
  align-items: flex-end;
  min-height: 54px;
  padding-bottom: 12px;
}

body.crm-app #reportsView .migo-report-filters-v3055 {
  flex-wrap: wrap;
  align-items: flex-end;
}

body.crm-app #reportsView .migo-report-filters-v3055 label {
  display: grid;
  align-items: initial;
  gap: 4px;
  min-width: 0;
}

body.crm-app #reportsView .migo-report-filters-v3055 label > span {
  min-height: 12px;
  padding-left: 1px;
  font-size: 9px;
  font-weight: 800;
  line-height: 12px;
  text-transform: uppercase;
}

body.crm-app #reportsView .migo-report-filters-v3055 select,
body.crm-app #reportsView .migo-report-filters-v3055 input[type="date"] {
  height: 34px !important;
  min-height: 34px !important;
  border: 1px solid var(--report-line-v3055) !important;
  border-radius: 7px !important;
  background-color: #ffffff !important;
  color: var(--report-ink-v3055) !important;
  font: inherit;
  font-size: 11px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body.crm-app #reportsView .migo-report-filters-v3055 select:focus,
body.crm-app #reportsView .migo-report-filters-v3055 input[type="date"]:focus {
  border-color: #96a2b2 !important;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(17, 24, 39, .06) !important;
}

body.crm-app #reportsView .migo-report-period-select-v3063 select {
  width: 112px;
}

body.crm-app #reportsView .migo-report-agent-v3063 select {
  width: 154px;
  min-width: 154px !important;
}

body.crm-app #reportsView .migo-report-date-range-v3063 {
  display: grid;
  grid-template-columns: 126px 8px 126px;
  align-items: end;
  gap: 4px;
  min-width: 0;
}

body.crm-app #reportsView .migo-report-date-range-v3063 input {
  width: 126px;
  min-width: 0;
  padding: 0 7px !important;
}

body.crm-app #reportsView .migo-report-date-range-v3063 > i {
  display: grid;
  height: 34px;
  place-items: center;
  color: #98a2b3;
  font-size: 10px;
  font-style: normal;
}

body.crm-app #reportsView .migo-report-command-v3055 {
  flex: 0 0 auto;
}

body.crm-app #reportsView .migo-report-icon-command-v3063 {
  width: 34px;
  min-width: 34px;
  padding: 0;
}

body.crm-app #reportsView .migo-report-apply-v3063 {
  border-color: #c9d3c4;
  background: #eef4ea;
  color: #35513a;
}

body.crm-app #reportsView .migo-report-apply-v3063:hover {
  border-color: #b6c5ae;
  background: #e7f0e1;
}

body.crm-app #reportsView .migo-report-tabs-v3055 {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  padding: 3px;
  border-color: #dfe4ea;
  background: #f4f6f8;
}

body.crm-app #reportsView .migo-report-tabs-v3055 button {
  min-height: 32px;
  height: 32px;
  padding: 0 11px;
  border-radius: 6px;
  color: #5c6675;
  font-size: 11px;
}

body.crm-app #reportsView .migo-report-tabs-v3055 button:hover {
  background: transparent;
  color: #111827;
}

body.crm-app #reportsView .migo-report-tabs-v3055 button.active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .1);
}

body.crm-app #reportsView .migo-report-widget-grid-v3063 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  align-items: stretch;
}

body.crm-app #reportsView .migo-report-widget-span-12-v3063 { grid-column: span 12; }
body.crm-app #reportsView .migo-report-widget-span-8-v3063 { grid-column: span 8; }
body.crm-app #reportsView .migo-report-widget-span-6-v3063 { grid-column: span 6; }
body.crm-app #reportsView .migo-report-widget-span-4-v3063 { grid-column: span 4; }

body.crm-app #reportsView .migo-report-widget-v3063 {
  min-height: 190px;
  overflow: visible;
  transition: border-color .15s ease, opacity .15s ease, transform .15s ease;
}

body.crm-app #reportsView .migo-report-widget-v3063.is-dragging {
  z-index: 4;
  border-color: #9aa8ba;
  opacity: .62;
  transform: scale(.995);
}

body.crm-app #reportsView .migo-report-panel-v3055 > header {
  position: relative;
}

body.crm-app #reportsView .migo-report-panel-title-v3063 {
  min-width: 0;
  padding-right: 2px;
}

body.crm-app #reportsView .migo-report-widget-tools-v3063 {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1px;
  opacity: .48;
  transition: opacity .15s ease;
}

body.crm-app #reportsView .migo-report-panel-v3055:hover .migo-report-widget-tools-v3063,
body.crm-app #reportsView .migo-report-widget-tools-v3063:focus-within {
  opacity: 1;
}

body.crm-app #reportsView .migo-report-widget-icon-v3063 {
  display: inline-grid;
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #748092;
  box-shadow: none;
}

body.crm-app #reportsView .migo-report-widget-icon-v3063:hover,
body.crm-app #reportsView .migo-report-widget-icon-v3063:focus-visible {
  background: #eef1f4;
  color: #263548;
  outline: none;
}

body.crm-app #reportsView .migo-report-widget-icon-v3063 .migo-ui-icon {
  width: 15px;
  height: 15px;
}

body.crm-app #reportsView .migo-report-widget-drag-v3063 {
  cursor: grab;
  touch-action: none;
}

body.crm-app #reportsView .migo-report-widget-drag-v3063:active { cursor: grabbing; }

body.crm-app #reportsView .migo-report-widget-menu-v3063 {
  position: absolute;
  top: 31px;
  right: 0;
  z-index: 30;
  display: grid;
  width: 168px;
  padding: 4px;
  border: 1px solid #dfe4ea;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .14);
}

body.crm-app #reportsView .migo-report-widget-menu-v3063[hidden],
body.crm-app #reportsView .migo-report-customizer-v3063[hidden],
body.crm-app #reportsView .migo-report-widget-v3063[hidden],
body.crm-app #reportsView .migo-report-widgets-empty-v3063[hidden] {
  display: none !important;
}

body.crm-app #reportsView .migo-report-widget-menu-v3063 button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #344054;
  font: inherit;
  font-size: 11px;
  text-align: left;
}

body.crm-app #reportsView .migo-report-widget-menu-v3063 button:hover { background: #f2f4f7; }
body.crm-app #reportsView .migo-report-widget-menu-v3063 .migo-ui-icon { width: 14px; height: 14px; }

body.crm-app #reportsView .migo-report-customizer-v3063 {
  position: absolute;
  top: calc(100% - 7px);
  right: 0;
  z-index: 50;
  display: grid;
  width: min(360px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 130px));
  gap: 8px;
  padding: 10px;
  overflow: auto;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .16);
}

body.crm-app #reportsView .migo-report-customizer-v3063 > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 1px 1px 7px;
  border-bottom: 1px solid #edf0f3;
}

body.crm-app #reportsView .migo-report-customizer-v3063 > header div { display: grid; gap: 2px; }
body.crm-app #reportsView .migo-report-customizer-v3063 > header strong { color: #111827; font-size: 12px; }
body.crm-app #reportsView .migo-report-customizer-v3063 > header span { color: #7a8697; font-size: 9px; }

body.crm-app #reportsView [data-report-customizer-list-v3063] {
  display: grid;
  gap: 2px;
}

body.crm-app #reportsView [data-report-customizer-list-v3063] label {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 5px 7px;
  border-radius: 6px;
  cursor: pointer;
}

body.crm-app #reportsView [data-report-customizer-list-v3063] label:hover { background: #f6f8fa; }
body.crm-app #reportsView [data-report-customizer-list-v3063] label > span { display: grid; min-width: 0; gap: 1px; }
body.crm-app #reportsView [data-report-customizer-list-v3063] label strong { overflow: hidden; color: #344054; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app #reportsView [data-report-customizer-list-v3063] label small { overflow: hidden; color: #8a95a5; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

body.crm-app #reportsView [data-report-widget-visibility-v3063] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

body.crm-app #reportsView [data-report-customizer-list-v3063] label > i {
  position: relative;
  display: block;
  width: 30px;
  height: 18px;
  border-radius: 9px;
  background: #d7dde5;
  transition: background-color .15s ease;
}

body.crm-app #reportsView [data-report-customizer-list-v3063] label > i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .2);
  content: '';
  transition: transform .15s ease;
}

body.crm-app #reportsView [data-report-widget-visibility-v3063]:checked + i { background: #66865d; }
body.crm-app #reportsView [data-report-widget-visibility-v3063]:checked + i::after { transform: translateX(12px); }

body.crm-app #reportsView [data-report-layout-reset-v3063] {
  min-height: 32px;
  border: 1px solid #dfe4ea;
  border-radius: 6px;
  background: #ffffff;
  color: #475467;
  font-size: 10px;
  font-weight: 750;
}

body.crm-app #reportsView [data-report-layout-reset-v3063]:hover { background: #f6f8fa; }

body.crm-app #reportsView .migo-report-widgets-empty-v3063 {
  display: grid;
  min-height: 180px;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px dashed #d7dee7;
  border-radius: 8px;
  color: #7a8697;
  text-align: center;
}

body.crm-app #reportsView .migo-report-widgets-empty-v3063 .migo-ui-icon { width: 22px; height: 22px; }
body.crm-app #reportsView .migo-report-widgets-empty-v3063 strong { color: #344054; font-size: 13px; }
body.crm-app #reportsView .migo-report-widgets-empty-v3063 span { font-size: 10px; }

body.crm-app #reportsView .migo-report-donut-layout-v3063 {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 220px;
}

body.crm-app #reportsView .migo-report-donut-v3063 {
  position: relative;
  display: grid;
  width: 140px;
  height: 140px;
  place-items: center;
  border-radius: 50%;
}

body.crm-app #reportsView .migo-report-donut-v3063::after {
  position: absolute;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #ffffff;
  content: '';
}

body.crm-app #reportsView .migo-report-donut-v3063 > span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  text-align: center;
}

body.crm-app #reportsView .migo-report-donut-v3063 strong { color: #111827; font-size: 18px; }
body.crm-app #reportsView .migo-report-donut-v3063 small { color: #7a8697; font-size: 9px; }

body.crm-app #reportsView .migo-report-donut-legend-v3063 { display: grid; gap: 7px; min-width: 0; }
body.crm-app #reportsView .migo-report-donut-legend-v3063 > div { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto 30px; align-items: center; gap: 6px; }
body.crm-app #reportsView .migo-report-donut-legend-v3063 i { width: 8px; height: 8px; border-radius: 2px; }
body.crm-app #reportsView .migo-report-donut-legend-v3063 span { overflow: hidden; color: #536174; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app #reportsView .migo-report-donut-legend-v3063 strong { color: #273548; font-size: 10px; text-align: right; }
body.crm-app #reportsView .migo-report-donut-legend-v3063 small { color: #8a95a5; font-size: 9px; text-align: right; }

body.crm-app #reportsView .migo-report-volume-v3063 {
  display: grid;
  grid-template-rows: auto 190px;
  gap: 9px;
  min-height: 220px;
}

body.crm-app #reportsView .migo-report-volume-legend-v3063 {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  color: #6f7c8e;
  font-size: 9px;
}

body.crm-app #reportsView .migo-report-volume-legend-v3063 span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 2px;
  background: #2f6fec;
  content: '';
}

body.crm-app #reportsView .migo-report-volume-legend-v3063 .deals::before { background: #7a62b3; }
body.crm-app #reportsView .migo-report-volume-legend-v3063 .won::before { background: #188767; }

body.crm-app #reportsView .migo-report-volume-bars-v3063 {
  display: flex;
  align-items: stretch;
  gap: 3px;
  min-width: 0;
  overflow: hidden;
  border-bottom: 1px solid #e6eaf0;
}

body.crm-app #reportsView .migo-report-volume-bars-v3063 > div {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: flex-end;
  justify-content: center;
  gap: 1px;
  min-width: 3px;
  padding-bottom: 20px;
}

body.crm-app #reportsView .migo-report-volume-bars-v3063 i {
  display: block;
  width: min(6px, 30%);
  min-height: 2px;
  border-radius: 2px 2px 0 0;
  background: #2f6fec;
}

body.crm-app #reportsView .migo-report-volume-bars-v3063 i.deals { background: #7a62b3; }
body.crm-app #reportsView .migo-report-volume-bars-v3063 i.won { background: #188767; }
body.crm-app #reportsView .migo-report-volume-bars-v3063 small {
  position: absolute;
  right: 50%;
  bottom: 3px;
  display: none;
  color: #8a95a5;
  font-size: 8px;
  transform: translateX(50%);
  white-space: nowrap;
}

body.crm-app #reportsView .migo-report-volume-bars-v3063 > div:first-child small,
body.crm-app #reportsView .migo-report-volume-bars-v3063 > div:last-child small { display: block; }

body.crm-app #reportsView .migo-report-team-chart-v3063 { display: grid; gap: 0; }
body.crm-app #reportsView .migo-report-team-chart-v3063 > div { display: grid; gap: 5px; padding: 9px 0; border-bottom: 1px solid #edf0f3; }
body.crm-app #reportsView .migo-report-team-chart-v3063 > div:last-child { border-bottom: 0; }
body.crm-app #reportsView .migo-report-team-chart-v3063 header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.crm-app #reportsView .migo-report-team-chart-v3063 header strong { overflow: hidden; color: #273548; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app #reportsView .migo-report-team-chart-v3063 header span { color: #536174; font-size: 9px; }
body.crm-app #reportsView .migo-report-team-chart-v3063 label { display: grid; grid-template-columns: 48px minmax(60px, 1fr) auto; align-items: center; gap: 6px; color: #7a8697; font-size: 9px; }
body.crm-app #reportsView .migo-report-team-chart-v3063 label > i { display: block; height: 5px; overflow: hidden; border-radius: 3px; background: #edf1f5; }
body.crm-app #reportsView .migo-report-team-chart-v3063 label b { display: block; height: 100%; border-radius: inherit; background: #2f6fec; }
body.crm-app #reportsView .migo-report-team-chart-v3063 label b.won { background: #188767; }
body.crm-app #reportsView .migo-report-team-chart-v3063 label small { color: #536174; font-size: 9px; white-space: nowrap; }

@media (max-width: 1280px) {
  body.crm-app #reportsView .migo-reports-toolbar-v3055 {
    align-items: stretch;
    flex-direction: column;
  }

  body.crm-app #reportsView .migo-report-filters-v3055 {
    justify-content: flex-start;
  }

  body.crm-app #reportsView .migo-report-customizer-v3063 {
    right: auto;
    left: 0;
  }
}

@media (max-width: 900px) {
  body.crm-app #reportsView .migo-report-widget-span-8-v3063,
  body.crm-app #reportsView .migo-report-widget-span-4-v3063,
  body.crm-app #reportsView .migo-report-widget-span-6-v3063 {
    grid-column: span 12;
  }

  body.crm-app #reportsView .migo-report-donut-layout-v3063 {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  body.crm-app #reportsView .migo-report-donut-v3063 {
    width: 124px;
    height: 124px;
  }
}

@media (max-width: 720px) {
  body.crm-app #reportsView .migo-report-filters-v3055 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) repeat(4, 34px);
    align-items: end;
    width: 100%;
  }

  body.crm-app #reportsView .migo-report-period-select-v3063,
  body.crm-app #reportsView .migo-report-agent-v3063 {
    grid-row: 1;
  }

  body.crm-app #reportsView .migo-report-date-range-v3063 {
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) 8px minmax(0, 1fr);
  }

  body.crm-app #reportsView .migo-report-date-range-v3063 input,
  body.crm-app #reportsView .migo-report-period-select-v3063 select,
  body.crm-app #reportsView .migo-report-agent-v3063 select {
    width: 100%;
    min-width: 0 !important;
  }

  body.crm-app #reportsView .migo-report-apply-v3063,
  body.crm-app #reportsView .migo-report-command-v3055 {
    width: 34px;
    min-width: 34px;
    padding: 0;
  }

  body.crm-app #reportsView .migo-report-command-v3055 > span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  body.crm-app #reportsView .migo-report-tabs-v3055 {
    width: 100%;
  }
}

@media (max-width: 480px) {
  body.crm-app #reportsView .migo-report-filters-v3055 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) repeat(2, 34px);
  }

  body.crm-app #reportsView .migo-report-filters-v3055 > button:nth-of-type(-n + 2) {
    grid-row: 3;
  }

  body.crm-app #reportsView .migo-report-filters-v3055 > button:nth-of-type(n + 3) {
    grid-row: 4;
  }

  body.crm-app #reportsView .migo-report-donut-layout-v3063 {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  body.crm-app #reportsView .migo-report-donut-legend-v3063 {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.crm-app #reportsView .migo-report-widget-v3063,
  body.crm-app #reportsView .migo-report-widget-tools-v3063,
  body.crm-app #reportsView [data-report-customizer-list-v3063] label > i,
  body.crm-app #reportsView [data-report-customizer-list-v3063] label > i::after {
    transition: none;
  }
}
/* End Migo CRM v3.0.63 Reports workspace */

/* Migo CRM v3.0.64 Offers and payment accounts workspaces */
body.crm-app #quotesView.active,
body.crm-app #paymentAccountsView.active {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
}

body.crm-app .migo-commercial-workspace-v3064 {
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
  color: #172033;
}

body.crm-app .migo-commercial-metrics-v3064 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e0e8;
  border-radius: 7px;
  background: #fff;
}

body.crm-app .migo-commercial-metrics-v3064 > div {
  min-width: 0;
  padding: 12px 14px;
  border-right: 1px solid #e4e9ef;
}

body.crm-app .migo-commercial-metrics-v3064 > div:last-child {
  border-right: 0;
}

body.crm-app .migo-commercial-metrics-v3064 span,
body.crm-app .migo-commercial-metrics-v3064 small {
  display: block;
  overflow: hidden;
  color: #718096;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-commercial-metrics-v3064 strong {
  display: block;
  overflow: hidden;
  margin: 3px 0 1px;
  color: #101828;
  font-size: 18px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-commercial-tabs-v3064,
body.crm-app .migo-commercial-dialog-tabs-v3064 {
  display: flex;
  align-items: center;
  gap: 2px;
  width: max-content;
  max-width: 100%;
  min-height: 38px;
  padding: 3px;
  overflow-x: auto;
  border: 1px solid #dde3ea;
  border-radius: 7px;
  background: #f3f5f7;
  scrollbar-width: none;
}

body.crm-app .migo-commercial-tabs-v3064::-webkit-scrollbar,
body.crm-app .migo-commercial-dialog-tabs-v3064::-webkit-scrollbar {
  display: none;
}

body.crm-app .migo-commercial-tabs-v3064 button,
body.crm-app .migo-commercial-dialog-tabs-v3064 button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  margin: 0;
  padding: 5px 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #526174;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

body.crm-app .migo-commercial-tabs-v3064 button b {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 999px;
  background: #e4e8ed;
  color: #667085;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

body.crm-app .migo-commercial-tabs-v3064 button.active,
body.crm-app .migo-commercial-dialog-tabs-v3064 button.active {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .1);
}

body.crm-app .migo-commercial-tabs-v3064 button.active b {
  background: #e8f0eb;
  color: #35624a;
}

body.crm-app .migo-commercial-commandbar-v3064 {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(165px, auto) auto 36px 36px auto;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  padding: 0;
}

body.crm-app .migo-commercial-search-v3064 {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

body.crm-app .migo-commercial-search-v3064 > .migo-ui-icon {
  position: absolute;
  left: 11px;
  z-index: 1;
  width: 16px;
  height: 16px;
  color: #78869a;
  pointer-events: none;
}

body.crm-app .migo-commercial-search-v3064 input,
body.crm-app .migo-commercial-commandbar-v3064 > select {
  width: 100%;
  min-width: 0;
  height: 36px;
  margin: 0;
  border: 1px solid #d7dee8;
  border-radius: 7px;
  background: #fff;
  color: #172033;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
}

body.crm-app .migo-commercial-search-v3064 input {
  padding: 0 12px 0 35px;
}

body.crm-app .migo-commercial-commandbar-v3064 > select {
  padding: 0 30px 0 10px;
}

body.crm-app .migo-commercial-search-v3064 input:focus,
body.crm-app .migo-commercial-commandbar-v3064 > select:focus,
body.crm-app .migo-commercial-form-v3064 input:focus,
body.crm-app .migo-commercial-form-v3064 select:focus,
body.crm-app .migo-commercial-form-v3064 textarea:focus {
  border-color: #8699ad;
  outline: 2px solid rgba(73, 104, 91, .12);
  outline-offset: 0;
}

body.crm-app .migo-commercial-result-v3064 {
  min-width: 60px;
  color: #718096;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

body.crm-app .migo-commercial-icon-command-v3064,
body.crm-app .migo-commercial-primary-v3064,
body.crm-app .migo-commercial-empty-v3064 button,
body.crm-app .migo-commercial-dialog-message-v3064 button,
body.crm-app .migo-commercial-dialog-message-v3064 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d5dde6;
  border-radius: 7px;
  background: #fff;
  color: #253247;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

body.crm-app .migo-commercial-icon-command-v3064 {
  width: 36px;
  min-width: 36px;
  padding: 0;
}

body.crm-app .migo-commercial-primary-v3064,
body.crm-app .migo-commercial-empty-v3064 button {
  border-color: #172033;
  background: #172033;
  color: #fff;
}

body.crm-app .migo-commercial-icon-command-v3064:hover,
body.crm-app .migo-commercial-dialog-message-v3064 button:hover,
body.crm-app .migo-commercial-dialog-message-v3064 a:hover {
  border-color: #aeb9c6;
  background: #f7f8fa;
}

body.crm-app .migo-commercial-primary-v3064:hover,
body.crm-app .migo-commercial-empty-v3064 button:hover {
  border-color: #26344a;
  background: #26344a;
}

body.crm-app .migo-commercial-icon-command-v3064 .migo-ui-icon,
body.crm-app .migo-commercial-primary-v3064 .migo-ui-icon,
body.crm-app .migo-commercial-empty-v3064 button .migo-ui-icon,
body.crm-app .migo-commercial-dialog-message-v3064 .migo-ui-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

body.crm-app .migo-commercial-list-v3064 {
  min-width: 0;
}

body.crm-app .migo-commercial-table-wrap-v3064 {
  width: 100%;
  min-width: 0;
  overflow: auto;
  border: 1px solid #d9e0e8;
  border-radius: 7px;
  background: #fff;
}

body.crm-app .migo-commercial-table-v3064 {
  width: 100%;
  min-width: 970px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
  table-layout: fixed;
}

body.crm-app .migo-commercial-table-v3064.is-payments-v3064 {
  min-width: 1080px;
}

body.crm-app .migo-commercial-table-v3064 th {
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-bottom: 1px solid #dfe5ec;
  background: #f6f8fa;
  color: #738196;
  font-size: 10px;
  font-weight: 750;
  text-align: left;
  text-transform: uppercase;
}

body.crm-app .migo-commercial-table-v3064 td {
  height: 58px;
  min-width: 0;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid #e7ebf0;
  color: #435066;
  font-size: 12px;
  line-height: 1.3;
  vertical-align: middle;
}

body.crm-app .migo-commercial-table-v3064 tr:last-child td {
  border-bottom: 0;
}

body.crm-app .migo-commercial-table-v3064 tbody tr {
  cursor: pointer;
  transition: background-color .14s ease;
}

body.crm-app .migo-commercial-table-v3064 tbody tr:hover,
body.crm-app .migo-commercial-table-v3064 tbody tr:focus-visible {
  background: #f8faf9;
  outline: 0;
}

body.crm-app .migo-commercial-table-v3064 td > strong,
body.crm-app .migo-commercial-table-v3064 td > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-commercial-table-v3064 td > strong {
  color: #172033;
  font-weight: 750;
}

body.crm-app .migo-commercial-table-v3064 td > span {
  margin-top: 2px;
  color: #7a8798;
  font-size: 11px;
}

body.crm-app .migo-commercial-table-v3064 th:first-child,
body.crm-app .migo-commercial-table-v3064 td:first-child {
  width: 19%;
}

body.crm-app .migo-commercial-table-v3064 th:nth-child(2),
body.crm-app .migo-commercial-table-v3064 td:nth-child(2) {
  width: 18%;
}

body.crm-app .migo-commercial-table-v3064 th:nth-child(3),
body.crm-app .migo-commercial-table-v3064 td:nth-child(3) {
  width: 10%;
}

body.crm-app .migo-commercial-table-v3064 th:last-child,
body.crm-app .migo-commercial-table-v3064 td:last-child {
  width: 48px;
}

body.crm-app .migo-commercial-row-action-v3064 {
  text-align: right;
}

body.crm-app .migo-commercial-row-action-v3064 button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  min-width: 32px;
  margin: 0;
  padding: 0;
  border: 1px solid #dbe2ea;
  border-radius: 7px;
  background: #fff;
  color: #526174;
  box-shadow: none;
  cursor: pointer;
}

body.crm-app .migo-commercial-row-action-v3064 button:hover {
  border-color: #aeb9c6;
  color: #172033;
}

body.crm-app .migo-commercial-row-action-v3064 .migo-ui-icon {
  width: 15px;
  height: 15px;
}

body.crm-app .migo-commercial-status-v3064 {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid #dce3ea;
  border-radius: 999px;
  background: #f4f6f8;
  color: #566477;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
  line-height: 1;
}

body.crm-app .migo-commercial-status-v3064.is-accepted,
body.crm-app .migo-commercial-status-v3064.is-paid {
  border-color: #b9dec9;
  background: #edf8f1;
  color: #216143;
}

body.crm-app .migo-commercial-status-v3064.is-sent {
  border-color: #c9d8ee;
  background: #f0f5fb;
  color: #355b87;
}

body.crm-app .migo-commercial-status-v3064.is-declined,
body.crm-app .migo-commercial-status-v3064.is-cancelled {
  border-color: #e5ccd1;
  background: #fbf2f4;
  color: #924354;
}

body.crm-app .migo-commercial-status-v3064.is-expired,
body.crm-app .migo-commercial-status-v3064.is-overdue {
  border-color: #ead2b0;
  background: #fff8ec;
  color: #8b531b;
}

body.crm-app .migo-commercial-empty-v3064,
body.crm-app .migo-commercial-loading-v3064 {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 28px;
  border: 1px dashed #cad3de;
  border-radius: 7px;
  background: rgba(255, 255, 255, .55);
  color: #718096;
  text-align: center;
}

body.crm-app .migo-commercial-empty-v3064 > .migo-ui-icon {
  width: 28px;
  height: 28px;
  color: #66778b;
}

body.crm-app .migo-commercial-empty-v3064 strong,
body.crm-app .migo-commercial-loading-v3064 strong {
  color: #243146;
  font-size: 14px;
}

body.crm-app .migo-commercial-empty-v3064 span {
  max-width: 420px;
  font-size: 12px;
}

body.crm-app .migo-commercial-loading-v3064 i {
  width: 22px;
  height: 22px;
  border: 2px solid #d8dfe7;
  border-top-color: #526174;
  border-radius: 50%;
  animation: migo-commercial-spin-v3064 .8s linear infinite;
}

@keyframes migo-commercial-spin-v3064 {
  to { transform: rotate(360deg); }
}

body.migo-commercial-dialog-open-v3064 {
  overflow: hidden;
}

.migo-commercial-dialog-backdrop-v3064 {
  position: fixed;
  inset: 0;
  z-index: 11050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(16, 24, 40, .42);
  backdrop-filter: blur(3px);
}

body.crm-app .migo-commercial-dialog-v3064 {
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  max-height: min(850px, 94vh);
  overflow: hidden;
  border: 1px solid #cfd7e1;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}

body.crm-app .migo-commercial-dialog-v3064.is-wide-v3064 {
  width: min(1020px, 100%);
}

body.crm-app .migo-commercial-dialog-head-v3064 {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 16px 18px;
  border-bottom: 1px solid #dfe5ec;
}

body.crm-app .migo-commercial-dialog-head-v3064 > div {
  display: grid;
  min-width: 0;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: start;
  gap: 3px 8px;
}

body.crm-app .migo-commercial-dialog-head-v3064 > div > span {
  grid-column: 1 / -1;
  color: #758399;
  font-size: 11px;
  font-weight: 750;
}

body.crm-app .migo-commercial-dialog-head-v3064 h2 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-commercial-dialog-head-v3064 > button {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  min-width: 34px;
  margin: 0;
  padding: 0;
  border: 1px solid #d8dfe7;
  border-radius: 7px;
  background: #fff;
  color: #526174;
  box-shadow: none;
  cursor: pointer;
}

body.crm-app .migo-commercial-dialog-head-v3064 > button .migo-ui-icon {
  width: 16px;
  height: 16px;
}

body.crm-app .migo-commercial-dialog-scroll-v3064 {
  min-height: 0;
  padding: 0 18px 18px;
  overflow: auto;
}

body.crm-app .migo-commercial-detail-grid-v3064 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 -18px;
  border-bottom: 1px solid #dfe5ec;
}

body.crm-app .migo-commercial-detail-grid-v3064 > div {
  min-width: 0;
  padding: 13px 18px;
  border-right: 1px solid #e5eaf0;
}

body.crm-app .migo-commercial-detail-grid-v3064 > div:last-child {
  border-right: 0;
}

body.crm-app .migo-commercial-detail-grid-v3064 span,
body.crm-app .migo-commercial-detail-grid-v3064 small {
  display: block;
  color: #7a8798;
  font-size: 10px;
  line-height: 1.35;
}

body.crm-app .migo-commercial-detail-grid-v3064 strong {
  display: block;
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: #172033;
  font-size: 14px;
}

body.crm-app .migo-commercial-detail-columns-v3064 {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, .7fr);
  gap: 0;
}

body.crm-app .migo-commercial-detail-columns-v3064 > div,
body.crm-app .migo-commercial-detail-columns-v3064 > aside {
  min-width: 0;
  padding: 16px 0;
}

body.crm-app .migo-commercial-detail-columns-v3064 > aside {
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid #e3e8ee;
}

body.crm-app .migo-commercial-dialog-v3064 h3 {
  margin: 0 0 10px;
  color: #2a374b;
  font-size: 12px;
}

body.crm-app .migo-commercial-detail-columns-v3064 dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

body.crm-app .migo-commercial-detail-columns-v3064 dl > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid #edf0f4;
}

body.crm-app .migo-commercial-detail-columns-v3064 dt,
body.crm-app .migo-commercial-detail-columns-v3064 dd {
  margin: 0;
  color: #748196;
  font-size: 11px;
}

body.crm-app .migo-commercial-detail-columns-v3064 dd {
  max-width: 58%;
  color: #2c394d;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

body.crm-app .migo-commercial-items-v3064 {
  overflow-x: auto;
}

body.crm-app .migo-commercial-items-v3064 table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

body.crm-app .migo-commercial-items-v3064 th,
body.crm-app .migo-commercial-items-v3064 td {
  padding: 8px 7px;
  border: 0;
  border-bottom: 1px solid #e8ecf1;
  background: transparent;
  color: #526174;
  font-size: 11px;
  text-align: left;
}

body.crm-app .migo-commercial-items-v3064 th {
  color: #7a8798;
  font-size: 9px;
  text-transform: uppercase;
}

body.crm-app .migo-commercial-items-v3064 td strong,
body.crm-app .migo-commercial-items-v3064 td span {
  display: block;
}

body.crm-app .migo-commercial-items-v3064 td strong {
  color: #253247;
}

body.crm-app .migo-commercial-items-v3064 td span {
  margin-top: 2px;
  color: #8793a4;
  font-size: 10px;
}

body.crm-app .migo-commercial-notes-v3064 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid #e3e8ee;
}

body.crm-app .migo-commercial-notes-v3064 p {
  margin: 0;
  color: #59677a;
  font-size: 12px;
  line-height: 1.5;
  white-space: pre-wrap;
}

body.crm-app .migo-commercial-notes-v3064 .is-confirmation {
  padding-left: 14px;
  border-left: 3px solid #5f9272;
}

body.crm-app .migo-commercial-notes-v3064 small {
  display: block;
  margin-top: 5px;
  color: #7b8798;
  font-size: 10px;
}

body.crm-app .migo-commercial-activity-v3064 {
  padding: 14px 0 2px;
  border-top: 1px solid #e3e8ee;
}

body.crm-app .migo-commercial-activity-v3064 > div {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
}

body.crm-app .migo-commercial-activity-v3064 > div > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #759080;
}

body.crm-app .migo-commercial-activity-v3064 strong,
body.crm-app .migo-commercial-activity-v3064 small {
  display: block;
  font-size: 10px;
}

body.crm-app .migo-commercial-activity-v3064 strong {
  color: #354258;
}

body.crm-app .migo-commercial-activity-v3064 small {
  color: #8793a4;
}

body.crm-app .migo-commercial-muted-v3064 {
  display: block;
  padding: 12px 0;
  color: #7a8798;
  font-size: 11px;
}

body.crm-app .migo-commercial-dialog-actions-v3064 {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  overflow-x: auto;
  border-top: 1px solid #dfe5ec;
  background: #f8f9fb;
  scrollbar-width: thin;
}

body.crm-app .migo-commercial-dialog-actions-v3064 button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 34px;
  min-height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid #d4dce5;
  border-radius: 7px;
  background: #fff;
  color: #354258;
  box-shadow: none;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
}

body.crm-app .migo-commercial-dialog-actions-v3064 button .migo-ui-icon {
  width: 14px;
  height: 14px;
}

body.crm-app .migo-commercial-dialog-actions-v3064 button.is-success {
  border-color: #b9d9c6;
  background: #edf7f1;
  color: #285d40;
}

body.crm-app .migo-commercial-dialog-actions-v3064 button.is-danger {
  margin-left: auto;
  border-color: #e0cbd0;
  color: #8d4353;
}

body.crm-app .migo-commercial-dialog-message-v3064 {
  display: none;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid #dce3ea;
  border-radius: 7px;
  background: #f7f9fb;
  color: #526174;
  font-size: 11px;
}

body.crm-app .migo-commercial-dialog-message-v3064:not(:empty) {
  display: block;
}

body.crm-app .migo-commercial-dialog-message-v3064 > strong,
body.crm-app .migo-commercial-dialog-message-v3064 > span {
  display: block;
}

body.crm-app .migo-commercial-dialog-message-v3064 > div {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
}

body.crm-app .migo-commercial-dialog-message-v3064 input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 9px;
  border: 1px solid #d4dce5;
  border-radius: 7px;
  background: #fff;
  color: #354258;
  font: inherit;
  font-size: 11px;
}

body.crm-app .migo-commercial-dialog-message-v3064.is-success {
  border-color: #c5ddce;
  background: #f1f8f4;
  color: #315f45;
}

body.crm-app .migo-commercial-dialog-message-v3064.is-error,
body.crm-app .migo-commercial-form-message-v3064:not(:empty) {
  border-color: #e5cbd1;
  background: #fbf3f5;
  color: #91475a;
}

body.crm-app .migo-commercial-form-v3064 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  padding: 18px;
  overflow: auto;
}

body.crm-app .migo-commercial-form-v3064 label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

body.crm-app .migo-commercial-form-v3064 label > span {
  color: #5f6d80;
  font-size: 11px;
  font-weight: 750;
}

body.crm-app .migo-commercial-form-v3064 input,
body.crm-app .migo-commercial-form-v3064 select,
body.crm-app .migo-commercial-form-v3064 textarea {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #d4dce5;
  border-radius: 7px;
  background: #fff;
  color: #172033;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
}

body.crm-app .migo-commercial-form-v3064 textarea {
  resize: vertical;
  line-height: 1.45;
}

body.crm-app .migo-commercial-form-v3064 .span-2 {
  grid-column: 1 / -1;
}

body.crm-app .migo-commercial-form-v3064 footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}

body.crm-app .migo-commercial-form-v3064 footer > button:not(.migo-commercial-primary-v3064) {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d4dce5;
  border-radius: 7px;
  background: #fff;
  color: #465469;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

body.crm-app .migo-commercial-form-message-v3064 {
  min-height: 0;
  padding: 0;
  font-size: 11px;
}

body.crm-app .migo-commercial-form-message-v3064:not(:empty) {
  padding: 9px 10px;
  border: 1px solid;
  border-radius: 7px;
}

body.crm-app .migo-commercial-dialog-tabs-v3064 {
  flex: 0 0 auto;
  margin: 12px 18px 0;
}

body.crm-app .migo-offer-composer-v3064 {
  padding-top: 14px;
}

body.crm-app .migo-offer-composer-v3064 [data-compose-panel-v3064] {
  min-width: 0;
}

body.crm-app .migo-offer-composer-v3064 .migo-quote-create-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: 8px;
  padding: 0;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-box,
body.crm-app .migo-offer-composer-v3064 .migo-deal-search-box label {
  position: relative;
  display: grid;
  gap: 5px;
  min-width: 0;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-box label > span {
  color: #5f6d80;
  font-size: 11px;
  font-weight: 750;
}

body.crm-app .migo-offer-composer-v3064 input,
body.crm-app .migo-offer-composer-v3064 select,
body.crm-app .migo-offer-composer-v3064 textarea {
  min-height: 38px;
  border: 1px solid #d4dce5;
  border-radius: 7px;
  background: #fff;
  color: #172033;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-box input {
  width: 100%;
  min-width: 0;
  padding: 0 10px;
}

body.crm-app .migo-offer-composer-v3064 .migo-quote-create-form > button,
body.crm-app .migo-offer-composer-v3064 [data-commerce-add-row],
body.crm-app .migo-offer-composer-v3064 [data-catalog-quote-create] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #d4dce5;
  border-radius: 7px;
  background: #fff;
  color: #354258;
  box-shadow: none;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

body.crm-app .migo-offer-composer-v3064 .migo-quote-create-form > button .migo-ui-icon {
  width: 15px;
  height: 15px;
}

body.crm-app .migo-offer-composer-v3064 .migo-quote-result {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #dce3ea;
  border-radius: 7px;
  background: #f7f9fb;
  color: #526174;
  font-size: 11px;
}

body.crm-app .migo-offer-composer-v3064 .migo-quote-result[hidden] {
  display: none;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-results {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 12;
  max-height: 260px;
  overflow: auto;
  border: 1px solid #cfd8e2;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
}

body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-card {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 120px 150px auto;
  align-items: end;
  gap: 8px;
}

body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-top label,
body.crm-app .migo-offer-composer-v3064 .migo-commerce-row label {
  display: grid;
  gap: 5px;
  color: #5f6d80;
  font-size: 11px;
  font-weight: 750;
}

body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-top input,
body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-top select,
body.crm-app .migo-offer-composer-v3064 .migo-commerce-row input,
body.crm-app .migo-offer-composer-v3064 .migo-commerce-row select {
  width: 100%;
  min-width: 0;
  padding: 0 9px;
}

body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-rates,
body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-total {
  margin: 10px 0;
  color: #6d7a8d;
  font-size: 10px;
}

body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-total {
  color: #253247;
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-rows {
  display: grid;
  gap: 7px;
}

body.crm-app .migo-offer-composer-v3064 .migo-commerce-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 72px minmax(130px, .8fr) 100px 90px 70px 34px;
  align-items: end;
  gap: 7px;
  padding: 9px;
  border: 1px solid #e0e6ed;
  border-radius: 7px;
  background: #f8f9fb;
}

body.crm-app .migo-offer-composer-v3064 .migo-commerce-row [data-commerce-remove] {
  width: 34px;
  min-width: 34px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid #e2cdd2;
  border-radius: 7px;
  background: #fff;
  color: #93495a;
  box-shadow: none;
  font-size: 18px;
  cursor: pointer;
}

body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-actions {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1100px) {
  body.crm-app .migo-commercial-commandbar-v3064 {
    grid-template-columns: minmax(220px, 1fr) minmax(155px, auto) auto 36px 36px auto;
  }

  body.crm-app .migo-commercial-result-v3064 {
    display: none;
  }
}

@media (max-width: 860px) {
  body.crm-app .migo-commercial-metrics-v3064 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crm-app .migo-commercial-metrics-v3064 > div:nth-child(2) {
    border-right: 0;
  }

  body.crm-app .migo-commercial-metrics-v3064 > div:nth-child(-n + 2) {
    border-bottom: 1px solid #e4e9ef;
  }

  body.crm-app .migo-commercial-commandbar-v3064 {
    grid-template-columns: minmax(0, 1fr) minmax(150px, auto) 36px 36px auto;
  }

  body.crm-app .migo-commercial-detail-grid-v3064 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crm-app .migo-commercial-detail-grid-v3064 > div:nth-child(2) {
    border-right: 0;
  }

  body.crm-app .migo-commercial-detail-grid-v3064 > div:nth-child(-n + 2) {
    border-bottom: 1px solid #e5eaf0;
  }

  body.crm-app .migo-commercial-detail-columns-v3064 {
    grid-template-columns: minmax(0, 1fr);
  }

  body.crm-app .migo-commercial-detail-columns-v3064 > aside {
    margin: 0;
    padding-top: 0;
    padding-left: 0;
    border-left: 0;
  }

  body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-top {
    grid-template-columns: minmax(0, 1fr) minmax(110px, .4fr);
  }

  body.crm-app .migo-offer-composer-v3064 .migo-commerce-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) 34px;
  }
}

@media (max-width: 680px) {
  body.crm-app .migo-commercial-workspace-v3064 {
    gap: 8px;
  }

  body.crm-app .migo-commercial-metrics-v3064 > div {
    padding: 10px;
  }

  body.crm-app .migo-commercial-metrics-v3064 strong {
    font-size: 15px;
  }

  body.crm-app .migo-commercial-tabs-v3064 {
    width: 100%;
  }

  body.crm-app .migo-commercial-commandbar-v3064 {
    grid-template-columns: minmax(0, 1fr) 36px 36px 42px;
  }

  body.crm-app .migo-commercial-commandbar-v3064 > select {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.crm-app .migo-commercial-commandbar-v3064 > .migo-commercial-primary-v3064 {
    width: 42px;
    min-width: 42px;
    padding: 0;
  }

  body.crm-app .migo-commercial-commandbar-v3064 > .migo-commercial-primary-v3064 > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  body.crm-app .migo-commercial-table-wrap-v3064 {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  body.crm-app .migo-commercial-table-v3064,
  body.crm-app .migo-commercial-table-v3064.is-payments-v3064,
  body.crm-app .migo-commercial-table-v3064 tbody {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 8px;
  }

  body.crm-app .migo-commercial-table-v3064 thead {
    display: none;
  }

  body.crm-app .migo-commercial-table-v3064 tr {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    padding: 10px;
    border: 1px solid #d9e0e8;
    border-radius: 8px;
    background: #fff;
  }

  body.crm-app .migo-commercial-table-v3064 td,
  body.crm-app .migo-commercial-table-v3064 td:first-child,
  body.crm-app .migo-commercial-table-v3064 td:nth-child(2),
  body.crm-app .migo-commercial-table-v3064 td:nth-child(3),
  body.crm-app .migo-commercial-table-v3064 td:last-child {
    display: block;
    width: auto;
    height: auto;
    min-width: 0;
    padding: 7px 5px;
    border: 0;
  }

  body.crm-app .migo-commercial-table-v3064 td::before {
    display: block;
    margin-bottom: 3px;
    color: #8a96a6;
    content: attr(data-label);
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
  }

  body.crm-app .migo-commercial-table-v3064 td:first-child,
  body.crm-app .migo-commercial-table-v3064 td:nth-child(2) {
    grid-column: 1 / -1;
  }

  body.crm-app .migo-commercial-table-v3064 td:first-child {
    padding-right: 42px;
  }

  body.crm-app .migo-commercial-table-v3064 td:nth-child(n + 7):not(:last-child) {
    display: none;
  }

  body.crm-app .migo-commercial-table-v3064 .migo-commercial-row-action-v3064 {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0;
  }

  body.crm-app .migo-commercial-table-v3064 .migo-commercial-row-action-v3064::before {
    display: none;
  }

  .migo-commercial-dialog-backdrop-v3064 {
    align-items: flex-end;
    padding: 8px;
  }

  body.crm-app .migo-commercial-dialog-v3064,
  body.crm-app .migo-commercial-dialog-v3064.is-wide-v3064 {
    width: 100%;
    max-height: 96vh;
  }

  body.crm-app .migo-commercial-dialog-head-v3064 {
    min-height: 64px;
    padding: 13px;
  }

  body.crm-app .migo-commercial-dialog-head-v3064 h2 {
    max-width: 70vw;
    font-size: 17px;
  }

  body.crm-app .migo-commercial-dialog-scroll-v3064 {
    padding: 0 13px 13px;
  }

  body.crm-app .migo-commercial-detail-grid-v3064 {
    margin: 0 -13px;
  }

  body.crm-app .migo-commercial-detail-grid-v3064 > div {
    padding: 10px 13px;
  }

  body.crm-app .migo-commercial-notes-v3064 {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }

  body.crm-app .migo-commercial-dialog-actions-v3064 {
    padding: 9px;
  }

  body.crm-app .migo-commercial-dialog-actions-v3064 button.is-danger {
    margin-left: 0;
  }

  body.crm-app .migo-commercial-form-v3064 {
    grid-template-columns: minmax(0, 1fr);
    padding: 13px;
  }

  body.crm-app .migo-commercial-form-v3064 .span-2 {
    grid-column: auto;
  }

  body.crm-app .migo-commercial-form-v3064 footer {
    grid-column: auto;
  }

  body.crm-app .migo-commercial-dialog-tabs-v3064 {
    margin: 9px 13px 0;
  }

  body.crm-app .migo-offer-composer-v3064 .migo-quote-create-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crm-app .migo-offer-composer-v3064 .migo-deal-search-box {
    grid-column: 1 / -1;
  }

  body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-top,
  body.crm-app .migo-offer-composer-v3064 .migo-commerce-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.crm-app .migo-offer-composer-v3064 .migo-commerce-row [data-commerce-remove] {
    width: 100%;
  }

  body.crm-app .migo-commercial-dialog-message-v3064 > div {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 410px) {
  body.crm-app .migo-commercial-tabs-v3064 button {
    padding-right: 8px;
    padding-left: 8px;
  }

  body.crm-app .migo-commercial-table-v3064 tr {
    grid-template-columns: minmax(0, 1fr);
  }

  body.crm-app .migo-commercial-table-v3064 td,
  body.crm-app .migo-commercial-table-v3064 td:first-child,
  body.crm-app .migo-commercial-table-v3064 td:nth-child(2) {
    grid-column: 1;
  }

  body.crm-app .migo-offer-composer-v3064 .migo-commercial-composer-top,
  body.crm-app .migo-offer-composer-v3064 .migo-commerce-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.crm-app .migo-commercial-loading-v3064 i {
    animation: none;
  }

  body.crm-app .migo-commercial-table-v3064 tbody tr {
    transition: none;
  }
}
/* End Migo CRM v3.0.64 commercial workspaces */

/* Migo CRM v3.0.64.1 offers alignment hotfix */
body.crm-app #quotesView .migo-offers-workspace-v3064 .migo-commercial-search-v3064 {
  overflow: hidden;
}

body.crm-app #quotesView .migo-offers-workspace-v3064 .migo-commercial-search-v3064 > .migo-ui-icon {
  top: 50%;
  left: 12px;
  z-index: 2;
  transform: translateY(-50%);
}

body.crm-app #quotesView .migo-offers-workspace-v3064 .migo-commercial-search-v3064 input[type="search"] {
  box-sizing: border-box;
  padding-inline-start: 40px !important;
  padding-inline-end: 14px !important;
}

body.crm-app #quotesView .migo-offers-workspace-v3064 .migo-commercial-search-v3064 input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

body.crm-app #quotesView .migo-offers-workspace-v3064 .migo-commercial-table-v3064 th:last-child,
body.crm-app #quotesView .migo-offers-workspace-v3064 .migo-commercial-table-v3064 td:last-child {
  width: 68px;
}

body.crm-app #quotesView .migo-offers-workspace-v3064 .migo-commercial-row-action-v3064 {
  padding-right: 14px !important;
  padding-left: 14px !important;
  text-align: center;
}

body.crm-app #quotesView .migo-offers-workspace-v3064 .migo-commercial-row-action-v3064 button {
  margin-inline: auto;
}

@media (max-width: 680px) {
  body.crm-app #quotesView .migo-offers-workspace-v3064 .migo-commercial-table-v3064 .migo-commercial-row-action-v3064 {
    right: 10px;
    padding: 0 !important;
  }
}
/* End Migo CRM v3.0.64.1 offers alignment hotfix */

/* Migo CRM v3.0.64.2 offer composer runtime and layout */
body.crm-app .migo-commercial-dialog-v3064.is-composer-v3064 {
  height: min(680px, calc(100vh - 44px));
}

body.crm-app .migo-commercial-dialog-v3064.is-composer-v3064 .migo-offer-composer-v3064 {
  flex: 1 1 auto;
}

body.crm-app .migo-offer-deal-intro-v30642 {
  display: grid;
  gap: 3px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4e9ef;
}

body.crm-app .migo-offer-deal-intro-v30642 strong {
  color: #172033;
  font-size: 13px;
}

body.crm-app .migo-offer-deal-intro-v30642 span,
body.crm-app .migo-offer-composer-v3064 [data-offer-deal-help-v30642] {
  color: #748196;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

body.crm-app .migo-offer-deal-input-v30642 {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

body.crm-app .migo-offer-deal-input-v30642 > .migo-ui-icon {
  position: absolute;
  left: 12px;
  z-index: 2;
  width: 16px;
  height: 16px;
  color: #718096;
  pointer-events: none;
}

body.crm-app .migo-offer-composer-v3064 .migo-offer-deal-input-v30642 input[type="search"] {
  height: 42px;
  padding-right: 12px !important;
  padding-left: 40px !important;
  border-color: #cbd5e1;
}

body.crm-app .migo-offer-composer-v3064 .migo-quote-create-form > button:disabled {
  border-color: #dfe5ec;
  background: #f3f5f7;
  color: #9aa5b4;
  cursor: not-allowed;
  opacity: 1;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-results {
  top: calc(100% + 6px);
  padding: 5px;
}

body.crm-app .migo-offer-deal-results-label-v30642 {
  padding: 5px 7px 4px;
  color: #8793a4;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 48px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #26344a;
  text-align: left;
  cursor: pointer;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option:hover,
body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option:focus-visible {
  background: #f2f5f7;
  outline: 0;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option > span,
body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option strong,
body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option small {
  display: block;
  min-width: 0;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option > span {
  overflow: hidden;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option strong,
body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option strong {
  font-size: 12px;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option small {
  margin-top: 2px;
  color: #7c899a;
  font-size: 10px;
  font-weight: 500;
}

body.crm-app .migo-offer-composer-v3064 .migo-deal-search-option > b {
  flex: 0 0 auto;
  color: #526174;
  font-size: 11px;
  white-space: nowrap;
}

@media (max-width: 680px) {
  body.crm-app .migo-commercial-dialog-v3064.is-composer-v3064 {
    height: calc(100vh - 16px);
  }

  body.crm-app .migo-offer-deal-intro-v30642 {
    margin-bottom: 10px;
  }

  body.crm-app .migo-offer-composer-v3064 .migo-quote-create-form > button {
    width: 100%;
  }
}
/* End Migo CRM v3.0.64.2 offer composer runtime and layout */

/* Migo CRM v3.0.64.3 offer catalog width */
body.crm-app.migo-modern-quotes-v3032 .migo-offer-composer-v3064 .migo-quote-create-card.migo-commercial-composer-card {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.crm-app .migo-offer-composer-v3064 [data-catalog-quote-composer] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
/* End Migo CRM v3.0.64.3 offer catalog width */

/* Offer composer: selected results must never cover the action buttons. */
body.crm-app .migo-offer-composer-v3064 .migo-deal-search-results[hidden] {
  display: none !important;
}

body.crm-app .migo-offer-composer-v3064 .migo-quote-create-form > button {
  align-self: start;
  height: 42px;
  margin-top: 20px;
}

@media (min-width: 681px) and (max-width: 1100px) {
  body.crm-app .migo-offer-composer-v3064 .migo-commerce-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.crm-app .migo-offer-composer-v3064 .migo-quote-create-form > button {
    margin-top: 0;
  }

  body.crm-app .migo-offer-composer-v3064 .migo-quote-create-form {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* Migo CRM v3.0.64.5 Compact application dialogs */
body.crm-app #crudDialog.dialog-card,
body.crm-app .migo-team-invite-dialog-v30212 {
  width: min(720px, calc(100vw - 32px)) !important;
  max-width: none !important;
  max-height: min(760px, calc(100dvh - 32px));
  margin: auto;
  padding: 0 !important;
  overflow: hidden;
  color: #101828;
  background: #fff;
  border: 1px solid #d9e1ea !important;
  border-radius: 8px !important;
  box-shadow: 0 24px 72px rgba(15, 23, 42, .22) !important;
}
body.crm-app #crudDialog.dialog-card::backdrop,
body.crm-app .migo-team-invite-dialog-v30212::backdrop {
  background: rgba(15, 23, 42, .42);
  backdrop-filter: blur(2px);
}
body.crm-app #crudDialog.dialog-card[open] {
  display: flex;
  flex-direction: column;
}
body.crm-app #crudDialog .migo-dialog-header,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-header {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 12px 18px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
body.crm-app #crudDialog .migo-dialog-header h2,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-header h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
  color: #101828;
}
body.crm-app #crudDialog .migo-dialog-header form {
  margin: 0;
}
body.crm-app #crudDialog .dialog-close,
body.crm-app .migo-team-invite-dialog-v30212 .dialog-close {
  float: none;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  min-width: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #475467;
  background: #fff;
  border: 1px solid #d9e1ea;
  border-radius: 6px;
  cursor: pointer;
}
body.crm-app #crudDialog .dialog-close:hover,
body.crm-app .migo-team-invite-dialog-v30212 .dialog-close:hover {
  color: #101828;
  background: #f5f7fa;
  border-color: #c5cfdb;
}
body.crm-app #crudDialog .dialog-close:focus-visible,
body.crm-app .migo-team-invite-dialog-v30212 .dialog-close:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
body.crm-app #crudDialog .dialog-close .migo-ui-icon,
body.crm-app .migo-team-invite-dialog-v30212 .dialog-close .migo-ui-icon {
  width: 17px;
  height: 17px;
}
body.crm-app .migo-team-invite-modal-v30212 {
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  background: #fff;
}
body.crm-app #crudForm {
  min-height: 0;
  max-height: calc(100dvh - 92px);
  margin: 0 !important;
  overflow: auto;
}
body.crm-app #crudForm:has(> .migo-dialog-body) {
  display: flex;
  flex-direction: column;
  gap: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
}
body.crm-app #crudForm:not(:has(> .migo-dialog-body)) {
  display: grid;
  gap: 14px !important;
  padding: 18px !important;
}
body.crm-app #crudForm:not(:has(> .migo-dialog-body)) > .primary-btn:last-child,
body.crm-app #crudForm:not(:has(> .migo-dialog-body)) > button[type="submit"]:last-child {
  min-height: 40px;
  margin-top: 2px;
  border-radius: 6px;
}
body.crm-app #crudForm:has(> .migo-dialog-body) {
  max-height: calc(100dvh - 92px);
}
body.crm-app .migo-team-invite-modal-v30212 {
  max-height: min(760px, calc(100dvh - 32px));
}
body.crm-app #crudDialog .migo-dialog-body,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-body {
  min-height: 0;
  overflow: auto;
  padding: 18px;
  color: #475467;
}
body.crm-app #crudDialog .migo-dialog-fields,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
body.crm-app #crudDialog .migo-dialog-fields label,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields label {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 6px;
  margin: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
}
body.crm-app #crudDialog .migo-dialog-field-wide,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-field-wide {
  grid-column: 1 / -1;
}
body.crm-app #crudDialog .migo-dialog-required {
  color: #d92d20;
}
body.crm-app #crudDialog .migo-dialog-fields input,
body.crm-app #crudDialog .migo-dialog-fields select,
body.crm-app #crudDialog .migo-dialog-fields textarea,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields input,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields select,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields textarea {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 9px 11px;
  color: #101828;
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  box-shadow: none;
  font: inherit;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.4;
}
body.crm-app #crudDialog .migo-dialog-fields textarea,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields textarea {
  min-height: 82px;
  resize: vertical;
}
body.crm-app #crudDialog .migo-dialog-fields input:focus,
body.crm-app #crudDialog .migo-dialog-fields select:focus,
body.crm-app #crudDialog .migo-dialog-fields textarea:focus,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields input:focus,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields select:focus,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
body.crm-app #crudDialog .migo-dialog-footer,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-footer {
  flex: 0 0 auto;
  padding: 12px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
body.crm-app #crudDialog .migo-dialog-error {
  margin: 0 0 9px;
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
}
body.crm-app #crudDialog .migo-dialog-error[hidden] {
  display: none !important;
}
body.crm-app #crudDialog .migo-dialog-actions,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
body.crm-app #crudDialog .migo-dialog-actions button,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-actions button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 8px 13px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
body.crm-app #crudDialog .migo-dialog-actions .secondary-btn,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-actions .secondary-btn {
  color: #344054;
  background: #fff;
  border: 1px solid #cfd8e3;
}
body.crm-app #crudDialog .migo-dialog-actions .primary-btn,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-actions .primary-btn {
  color: #fff;
  background: #111c34;
  border: 1px solid #111c34;
}
body.crm-app #crudDialog .migo-dialog-actions .primary-btn:hover,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-actions .primary-btn:hover {
  background: #1d2a44;
  border-color: #1d2a44;
}
body.crm-app #crudDialog .migo-dialog-actions button:disabled {
  cursor: wait;
  opacity: .65;
}
body.crm-app #crudDialog .migo-dialog-actions .migo-ui-icon,
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-actions .migo-ui-icon {
  width: 16px;
  height: 16px;
}
body.crm-app #crudDialog .migo-dialog-count {
  margin-right: auto;
  color: #667085;
  font-size: 12px;
  font-weight: 600;
}
body.crm-app #crudDialog .migo-dialog-schema {
  padding: 0;
}
body.crm-app #crudDialog .migo-schema-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
body.crm-app #crudDialog .migo-schema-table th,
body.crm-app #crudDialog .migo-schema-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #e7ecf2;
  overflow-wrap: anywhere;
}
body.crm-app #crudDialog .migo-schema-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #667085;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}
body.crm-app #crudDialog .migo-schema-table thead th:first-child {
  width: 42%;
}
body.crm-app #crudDialog .migo-schema-table tbody th {
  color: #101828;
  font-size: 13px;
  font-weight: 650;
}
body.crm-app #crudDialog .migo-schema-table tbody th span,
body.crm-app #crudDialog .migo-schema-table tbody th code {
  display: block;
}
body.crm-app #crudDialog .migo-schema-table tbody th code {
  margin-top: 3px;
  color: #667085;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
}
body.crm-app #crudDialog .migo-schema-table tbody td {
  color: #475467;
  font-size: 12px;
}
body.crm-app #crudDialog .migo-schema-table tbody tr:last-child > * {
  border-bottom: 0;
}
body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-notice {
  margin: 0 0 16px;
  padding: 9px 11px;
  color: #344054;
  background: #f5f8fc;
  border-left: 3px solid #2563eb;
  font-size: 12px;
  line-height: 1.45;
}
@media (max-width: 600px) {
  body.crm-app #crudDialog.dialog-card,
  body.crm-app .migo-team-invite-dialog-v30212 {
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px);
  }
  body.crm-app #crudDialog .migo-dialog-header,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-header {
    min-height: 54px;
    padding: 10px 10px 10px 14px;
  }
  body.crm-app #crudDialog .migo-dialog-header h2,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-header h2 {
    font-size: 17px;
  }
  body.crm-app #crudDialog .migo-dialog-body,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-body {
    padding: 14px;
  }
  body.crm-app #crudDialog .migo-dialog-fields,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  body.crm-app #crudDialog .migo-dialog-field-wide,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-field-wide {
    grid-column: auto;
  }
  body.crm-app #crudDialog .migo-dialog-fields input,
  body.crm-app #crudDialog .migo-dialog-fields select,
  body.crm-app #crudDialog .migo-dialog-fields textarea,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields input,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields select,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-fields textarea {
    font-size: 16px;
  }
  body.crm-app #crudDialog .migo-dialog-footer,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-footer {
    padding: 10px 14px;
  }
  body.crm-app #crudDialog .migo-dialog-schema {
    padding: 0;
  }
  body.crm-app #crudDialog .migo-schema-table,
  body.crm-app #crudDialog .migo-schema-table tbody,
  body.crm-app #crudDialog .migo-schema-table tr,
  body.crm-app #crudDialog .migo-schema-table th,
  body.crm-app #crudDialog .migo-schema-table td {
    display: block;
    width: 100%;
  }
  body.crm-app #crudDialog .migo-schema-table thead {
    display: none;
  }
  body.crm-app #crudDialog .migo-schema-table tbody tr {
    padding: 11px 14px;
    border-bottom: 1px solid #e2e8f0;
  }
  body.crm-app #crudDialog .migo-schema-table tbody th,
  body.crm-app #crudDialog .migo-schema-table tbody td {
    padding: 3px 0;
    border: 0;
  }
  body.crm-app #crudDialog .migo-schema-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    text-align: right;
  }
  body.crm-app #crudDialog .migo-schema-table tbody td::before {
    content: attr(data-label);
    color: #667085;
    font-weight: 600;
  }
  body.crm-app #crudDialog .migo-dialog-actions,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-actions {
    width: 100%;
  }
  body.crm-app #crudDialog .migo-dialog-actions button,
  body.crm-app .migo-team-invite-dialog-v30212 .migo-dialog-actions button {
    flex: 1 1 0;
  }
  body.crm-app #crudDialog .migo-dialog-actions .migo-dialog-count {
    flex: 1 1 auto;
  }
}

/* Migo CRM v3.0.74 semantic entity profiles */
body.crm-app #crudDialog.migo-entity-profile-dialog-v3074 {
  width: min(980px, calc(100vw - 32px)) !important;
  max-height: min(820px, calc(100dvh - 24px));
}

body.crm-app #crudDialog .migo-entity-profile-v3074 {
  padding: 0;
  color: #344054;
  background: #fff;
  overscroll-behavior: contain;
}

body.crm-app #crudDialog .migo-profile-loading-v3074,
body.crm-app #crudDialog .migo-profile-error-v3074 {
  min-height: 340px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
}

body.crm-app #crudDialog .migo-profile-loading-v3074 i,
body.crm-app .migo-profile-preview-loading-v3074 i {
  width: 24px;
  height: 24px;
  border: 2px solid #dbe6f5;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: migo-file-spin-v3053 .75s linear infinite;
}

body.crm-app #crudDialog .migo-profile-error-v3074 > .migo-ui-icon {
  width: 28px;
  height: 28px;
  color: #b54708;
}

body.crm-app #crudDialog .migo-profile-error-v3074 strong {
  color: #101828;
  font-size: 17px;
}

body.crm-app #crudDialog .migo-profile-error-v3074 span {
  max-width: 520px;
  color: #667085;
  font-size: 13px;
}

body.crm-app #crudDialog .migo-profile-hero-v3074 {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

body.crm-app #crudDialog .migo-profile-hero-icon-v3074 {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #175cd3;
  background: #eaf2ff;
  border: 1px solid #cfe0fb;
  border-radius: 8px;
}

body.crm-app #crudDialog .migo-profile-hero-icon-v3074 .migo-ui-icon {
  width: 21px;
  height: 21px;
}

body.crm-app #crudDialog .migo-profile-hero-copy-v3074 {
  min-width: 0;
}

body.crm-app #crudDialog .migo-profile-hero-copy-v3074 > span {
  display: block;
  margin-bottom: 2px;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

body.crm-app #crudDialog .migo-profile-hero-copy-v3074 h3 {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #101828;
  font-size: 19px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0;
}

body.crm-app #crudDialog .migo-profile-hero-meta-v3074 {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 7px;
}

body.crm-app #crudDialog .migo-profile-hero-meta-v3074 > span:not(.migo-profile-status-v3074),
body.crm-app #crudDialog .migo-profile-hero-meta-v3074 > a {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 5px;
  color: #475467;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

body.crm-app #crudDialog .migo-profile-hero-meta-v3074 > a:hover {
  color: #175cd3;
}

body.crm-app #crudDialog .migo-profile-hero-meta-v3074 .migo-ui-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #667085;
}

body.crm-app #crudDialog .migo-profile-status-v3074 {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 8px;
  color: #175cd3;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
}

body.crm-app #crudDialog .migo-profile-status-v3074.is-success {
  color: #067647;
  background: #ecfdf3;
  border-color: #abefc6;
}

body.crm-app #crudDialog .migo-profile-status-v3074.is-warning {
  color: #b54708;
  background: #fffaeb;
  border-color: #fedf89;
}

body.crm-app #crudDialog .migo-profile-status-v3074.is-danger {
  color: #b42318;
  background: #fef3f2;
  border-color: #fecdca;
}

body.crm-app #crudDialog .migo-profile-hero-actions-v3074 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

body.crm-app #crudDialog .migo-profile-hero-actions-v3074 .primary-btn,
body.crm-app #crudDialog .migo-profile-hero-actions-v3074 .secondary-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 12px;
}

body.crm-app #crudDialog .migo-profile-hero-actions-v3074 .migo-ui-icon {
  width: 15px;
  height: 15px;
}

body.crm-app #crudDialog .migo-profile-convert-confirm-v30753 {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px;
  color: #344054;
  background: #fff;
  border: 1px solid #d5dde7;
  border-radius: 6px;
}

body.crm-app #crudDialog .migo-profile-convert-confirm-v30753 > span {
  padding: 0 5px 0 7px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

body.crm-app #crudDialog .migo-profile-convert-confirm-v30753 button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
}

body.crm-app #crudDialog .migo-profile-convert-confirm-v30753 .migo-profile-convert-yes-v30753 {
  color: #fff;
  background: #101828;
  border-color: #101828;
}

body.crm-app #crudDialog .migo-profile-convert-confirm-v30753 .migo-profile-convert-cancel-v30753 {
  color: #344054;
  background: #f8fafc;
  border-color: #e2e8f0;
}

body.crm-app #crudDialog .migo-profile-convert-confirm-v30753 button:hover:not(:disabled) {
  filter: brightness(.96);
}

body.crm-app #crudDialog .migo-profile-convert-confirm-v30753 button:focus-visible {
  outline: 2px solid #84adff;
  outline-offset: 2px;
}

body.crm-app #crudDialog .migo-profile-convert-confirm-v30753 button:disabled {
  opacity: .58;
  cursor: wait;
}

body.crm-app #crudDialog .migo-profile-convert-confirm-v30753.is-busy > span {
  color: #175cd3;
}

body.crm-app #crudDialog .migo-profile-convert-confirm-v30753.is-error > span {
  color: #b54708;
}

body.crm-app #crudDialog .migo-profile-icon-action-v3074,
body.crm-app #crudDialog .migo-profile-file-actions-v3074 button {
  display: grid;
  width: 36px;
  height: 36px;
  min-width: 36px;
  place-items: center;
  padding: 0;
  color: #475467;
  background: #fff;
  border: 1px solid #d5dde7;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
}

body.crm-app #crudDialog .migo-profile-icon-action-v3074:hover,
body.crm-app #crudDialog .migo-profile-file-actions-v3074 button:hover {
  color: #175cd3;
  background: #f5f8fc;
  border-color: #aebfd3;
}

body.crm-app #crudDialog .migo-profile-icon-action-v3074 .migo-ui-icon,
body.crm-app #crudDialog .migo-profile-file-actions-v3074 .migo-ui-icon {
  width: 16px;
  height: 16px;
}

body.crm-app #crudDialog .migo-profile-tabs-v3074 {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  min-height: 48px;
  align-items: stretch;
  gap: 2px;
  padding: 0 18px;
  overflow-x: auto;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  scrollbar-width: none;
}

body.crm-app #crudDialog .migo-profile-tabs-v3074::-webkit-scrollbar {
  display: none;
}

body.crm-app #crudDialog .migo-profile-tabs-v3074 button {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 12px;
  color: #667085;
  background: transparent;
  border: 0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

body.crm-app #crudDialog .migo-profile-tabs-v3074 button::after {
  position: absolute;
  right: 8px;
  bottom: -1px;
  left: 8px;
  height: 2px;
  background: transparent;
  content: "";
}

body.crm-app #crudDialog .migo-profile-tabs-v3074 button:hover,
body.crm-app #crudDialog .migo-profile-tabs-v3074 button.active {
  color: #101828;
}

body.crm-app #crudDialog .migo-profile-tabs-v3074 button.active::after {
  background: #2563eb;
}

body.crm-app #crudDialog .migo-profile-tabs-v3074 button > span {
  min-width: 20px;
  padding: 2px 6px;
  color: #475467;
  background: #eef2f6;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.35;
}

body.crm-app #crudDialog .migo-profile-panel-v3074 {
  min-height: 300px;
  padding: 18px;
}

body.crm-app #crudDialog .migo-profile-panel-v3074[hidden] {
  display: none !important;
}

body.crm-app #crudDialog .migo-profile-details-v3074 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

body.crm-app #crudDialog .migo-profile-details-v3074 > div {
  min-width: 0;
  padding: 12px 14px;
  border-bottom: 1px solid #e7ecf2;
}

body.crm-app #crudDialog .migo-profile-details-v3074 > div:nth-child(odd):not(.is-wide) {
  border-right: 1px solid #e7ecf2;
}

body.crm-app #crudDialog .migo-profile-details-v3074 > div.is-wide {
  grid-column: 1 / -1;
}

body.crm-app #crudDialog .migo-profile-details-v3074 > div:last-child:nth-child(odd):not(.is-wide) {
  grid-column: 1 / -1;
  border-right: 0;
}

body.crm-app #crudDialog .migo-profile-details-v3074 dt {
  margin-bottom: 4px;
  color: #667085;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0;
}

body.crm-app #crudDialog .migo-profile-details-v3074 dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #101828;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

body.crm-app #crudDialog .migo-profile-details-v3074 dd a,
body.crm-app #crudDialog .migo-profile-related-link-v3074 {
  color: #175cd3;
  font: inherit;
  text-decoration: none;
}

body.crm-app #crudDialog .migo-profile-related-link-v3074 {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

body.crm-app #crudDialog .migo-profile-details-v3074 dd a:hover,
body.crm-app #crudDialog .migo-profile-related-link-v3074:hover {
  text-decoration: underline;
}

body.crm-app #crudDialog .migo-profile-multiline-v3074,
body.crm-app #crudDialog .migo-profile-notes-list-v3074 p {
  white-space: pre-wrap;
}

body.crm-app #crudDialog .migo-profile-note-composer-v3074 {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #dce4ed;
  border-radius: 8px;
}

body.crm-app #crudDialog .migo-profile-note-composer-v3074 > label {
  display: block;
  margin-bottom: 7px;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}

body.crm-app #crudDialog .migo-profile-note-composer-v3074 textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  padding: 10px 11px;
  color: #101828;
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
}

body.crm-app #crudDialog .migo-profile-note-composer-v3074 > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

body.crm-app #crudDialog .migo-profile-check-v3074 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #475467;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

body.crm-app #crudDialog .migo-profile-check-v3074 input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2563eb;
}

body.crm-app #crudDialog .migo-profile-note-composer-v3074 .primary-btn,
body.crm-app #crudDialog .migo-profile-upload-v3074 .primary-btn,
body.crm-app #crudDialog .migo-profile-upload-v3074 .secondary-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: 12px;
}

body.crm-app #crudDialog .migo-profile-note-composer-v3074 .primary-btn {
  margin-left: auto;
}

body.crm-app #crudDialog .migo-profile-note-composer-v3074 .migo-ui-icon,
body.crm-app #crudDialog .migo-profile-upload-v3074 .migo-ui-icon {
  width: 15px;
  height: 15px;
}

body.crm-app #crudDialog .migo-profile-inline-error-v3074 {
  flex: 1 1 180px;
  margin: 0;
  color: #b42318;
  font-size: 12px;
  font-weight: 650;
}

body.crm-app #crudDialog .migo-profile-inline-error-v3074[hidden] {
  display: none !important;
}

body.crm-app #crudDialog .migo-profile-notes-list-v3074,
body.crm-app #crudDialog .migo-profile-timeline-v3074 {
  margin-top: 16px;
  border-top: 1px solid #e7ecf2;
}

body.crm-app #crudDialog .migo-profile-notes-list-v3074 article,
body.crm-app #crudDialog .migo-profile-timeline-v3074 article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  padding: 14px 2px;
  border-bottom: 1px solid #e7ecf2;
}

body.crm-app #crudDialog .migo-profile-entry-icon-v3074 {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #175cd3;
  background: #eff6ff;
  border: 1px solid #d5e5fc;
  border-radius: 7px;
}

body.crm-app #crudDialog article.is-pinned .migo-profile-entry-icon-v3074 {
  color: #b54708;
  background: #fffaeb;
  border-color: #fedf89;
}

body.crm-app #crudDialog .migo-profile-entry-icon-v3074 .migo-ui-icon {
  width: 15px;
  height: 15px;
}

body.crm-app #crudDialog .migo-profile-notes-list-v3074 header,
body.crm-app #crudDialog .migo-profile-timeline-v3074 header {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

body.crm-app #crudDialog .migo-profile-notes-list-v3074 header strong,
body.crm-app #crudDialog .migo-profile-timeline-v3074 header strong {
  color: #101828;
  font-size: 13px;
}

body.crm-app #crudDialog .migo-profile-notes-list-v3074 header span {
  padding: 2px 6px;
  color: #b54708;
  background: #fffaeb;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
}

body.crm-app #crudDialog .migo-profile-notes-list-v3074 time,
body.crm-app #crudDialog .migo-profile-timeline-v3074 time {
  margin-left: auto;
  color: #667085;
  font-size: 11px;
}

body.crm-app #crudDialog .migo-profile-notes-list-v3074 p,
body.crm-app #crudDialog .migo-profile-timeline-v3074 p {
  margin: 5px 0 0;
  color: #344054;
  font-size: 13px;
  line-height: 1.5;
}

body.crm-app #crudDialog .migo-profile-timeline-v3074 small {
  display: block;
  margin-top: 4px;
  color: #667085;
  font-size: 11px;
}

body.crm-app #crudDialog .migo-profile-upload-v3074 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px;
  background: #f8fafc;
  border: 1px solid #dce4ed;
  border-radius: 8px;
}

body.crm-app #crudDialog .migo-profile-upload-v3074 > span {
  min-width: 0;
  overflow: hidden;
  color: #667085;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app #crudDialog .migo-profile-upload-v3074 .migo-profile-inline-error-v3074 {
  grid-column: 1 / -1;
}

body.crm-app #crudDialog .migo-profile-files-list-v3074 {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

body.crm-app #crudDialog .migo-profile-files-list-v3074 article {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(160px, .7fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 9px 11px;
  border-bottom: 1px solid #e7ecf2;
}

body.crm-app #crudDialog .migo-profile-files-list-v3074 article:last-child {
  border-bottom: 0;
}

body.crm-app #crudDialog .migo-profile-file-copy-v3074,
body.crm-app #crudDialog .migo-profile-file-meta-v3074 {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

body.crm-app #crudDialog .migo-profile-file-copy-v3074 strong,
body.crm-app #crudDialog .migo-profile-file-copy-v3074 span,
body.crm-app #crudDialog .migo-profile-file-meta-v3074 span,
body.crm-app #crudDialog .migo-profile-file-meta-v3074 small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app #crudDialog .migo-profile-file-copy-v3074 strong {
  color: #101828;
  font-size: 12px;
}

body.crm-app #crudDialog .migo-profile-file-copy-v3074 span,
body.crm-app #crudDialog .migo-profile-file-meta-v3074 span,
body.crm-app #crudDialog .migo-profile-file-meta-v3074 small {
  color: #667085;
  font-size: 11px;
}

body.crm-app #crudDialog .migo-profile-file-actions-v3074 {
  display: flex;
  gap: 6px;
}

body.crm-app #crudDialog .migo-profile-empty-v3074 {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #667085;
  background: #fbfcfd;
  border: 1px dashed #cfd8e3;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}

body.crm-app .migo-profile-preview-dialog-v3074 {
  width: min(920px, calc(100vw - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  color: #101828;
  background: #fff;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
  box-shadow: 0 24px 72px rgba(15, 23, 42, .28);
}

body.crm-app .migo-profile-preview-dialog-v3074::backdrop {
  background: rgba(15, 23, 42, .55);
}

body.crm-app .migo-profile-preview-dialog-v3074[open],
body.crm-app .migo-profile-preview-dialog-v3074 > section {
  display: flex;
  flex-direction: column;
}

body.crm-app .migo-profile-preview-dialog-v3074 > section {
  min-height: min(650px, calc(100dvh - 32px));
}

body.crm-app .migo-profile-preview-dialog-v3074 header {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-bottom: 1px solid #e2e8f0;
}

body.crm-app .migo-profile-preview-dialog-v3074 header > span,
body.crm-app .migo-profile-preview-dialog-v3074 header > button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  color: #475467;
  background: #f5f7fa;
  border: 1px solid #d9e1ea;
  border-radius: 6px;
}

body.crm-app .migo-profile-preview-dialog-v3074 header > button {
  cursor: pointer;
}

body.crm-app .migo-profile-preview-dialog-v3074 header .migo-ui-icon {
  width: 16px;
  height: 16px;
}

body.crm-app .migo-profile-preview-dialog-v3074 header > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

body.crm-app .migo-profile-preview-dialog-v3074 header strong,
body.crm-app .migo-profile-preview-dialog-v3074 header small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-profile-preview-dialog-v3074 header strong {
  font-size: 14px;
}

body.crm-app .migo-profile-preview-dialog-v3074 header small {
  color: #667085;
  font-size: 11px;
}

body.crm-app .migo-profile-preview-body-v3074 {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  overflow: auto;
  place-items: center;
  padding: 16px;
  background: #f3f6fa;
}

body.crm-app .migo-profile-preview-body-v3074 > img,
body.crm-app .migo-profile-preview-body-v3074 > video {
  display: block;
  max-width: 100%;
  max-height: min(560px, calc(100dvh - 180px));
  object-fit: contain;
}

body.crm-app .migo-profile-preview-body-v3074 > iframe {
  width: 100%;
  height: min(560px, calc(100dvh - 180px));
  background: #fff;
  border: 0;
}

body.crm-app .migo-profile-preview-body-v3074 > pre {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 16px;
  overflow: auto;
  color: #1d2939;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 6px;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
}

body.crm-app .migo-profile-preview-loading-v3074,
body.crm-app .migo-profile-preview-empty-v3074,
body.crm-app .migo-profile-preview-audio-v3074 {
  display: grid;
  justify-items: center;
  gap: 12px;
  color: #667085;
  font-size: 13px;
  text-align: center;
}

body.crm-app .migo-profile-preview-audio-v3074 {
  width: min(520px, 100%);
  padding: 24px;
  color: #101828;
  background: #fff;
  border: 1px solid #dce4ed;
  border-radius: 8px;
}

body.crm-app .migo-profile-preview-audio-v3074 > .migo-ui-icon {
  width: 28px;
  height: 28px;
  color: #175cd3;
}

body.crm-app .migo-profile-preview-audio-v3074 audio {
  width: 100%;
}

body.crm-app .migo-profile-preview-dialog-v3074 footer {
  display: flex;
  justify-content: flex-end;
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
}

body.crm-app .migo-profile-preview-dialog-v3074 footer button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 6px;
  font-size: 12px;
}

body.crm-app .migo-profile-preview-dialog-v3074 footer .migo-ui-icon {
  width: 15px;
  height: 15px;
}

/* Migo CRM v3.0.75.5 floating CRM row action menus */
body.crm-app #tableView .migo-row-menu-v3027 > div {
  position: fixed;
  top: 0;
  right: auto;
  left: 0;
  z-index: 1200;
  width: max-content;
  min-width: 200px;
  max-width: min(260px, calc(100vw - 16px));
  max-height: calc(100dvh - 16px);
  overflow: auto;
  visibility: hidden;
}

body.crm-app #tableView .migo-row-menu-v3027.is-positioned-v30755 > div {
  visibility: visible;
}

body.crm-app #tableView .migo-row-menu-v3027[open] > summary {
  color: #101828;
  background: #f5f7fa;
  border-color: #98a2b3;
}

body.crm-app #tableView .migo-row-menu-v3027 > div button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}

@media (max-width: 600px) {
  body.crm-app #tableView .migo-row-menu-v3027 > div {
    min-width: 190px;
  }
}

@media (max-width: 820px) {
  body.crm-app #crudDialog .migo-profile-hero-v3074 {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  body.crm-app #crudDialog .migo-profile-hero-actions-v3074 {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 58px;
  }

  body.crm-app #crudDialog .migo-profile-files-list-v3074 article {
    grid-template-columns: 48px minmax(0, 1fr) auto;
  }

  body.crm-app #crudDialog .migo-profile-file-meta-v3074 {
    grid-column: 2;
  }

  body.crm-app #crudDialog .migo-profile-file-actions-v3074 {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 600px) {
  body.crm-app #crudDialog.migo-entity-profile-dialog-v3074,
  body.crm-app .migo-profile-preview-dialog-v3074 {
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px);
  }

  body.crm-app #crudDialog .migo-profile-hero-v3074 {
    align-items: start;
    padding: 14px;
  }

  body.crm-app #crudDialog .migo-profile-hero-copy-v3074 h3 {
    font-size: 17px;
    white-space: normal;
  }

  body.crm-app #crudDialog .migo-profile-hero-actions-v3074 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 0;
  }

  body.crm-app #crudDialog .migo-profile-hero-actions-v3074 .secondary-btn,
  body.crm-app #crudDialog .migo-profile-hero-actions-v3074 .primary-btn {
    min-width: 0;
  }

  body.crm-app #crudDialog .migo-profile-hero-actions-v3074 .secondary-btn {
    flex: 1 1 120px;
  }

  body.crm-app #crudDialog .migo-profile-hero-actions-v3074 .primary-btn {
    flex: 1 0 100%;
  }

  body.crm-app #crudDialog .migo-profile-convert-confirm-v30753 {
    flex: 1 0 100%;
    justify-content: flex-end;
  }

  body.crm-app #crudDialog .migo-profile-convert-confirm-v30753 > span {
    margin-right: auto;
  }

  body.crm-app #crudDialog .migo-profile-tabs-v3074 {
    padding: 0 8px;
  }

  body.crm-app #crudDialog .migo-profile-panel-v3074 {
    min-height: 250px;
    padding: 12px;
  }

  body.crm-app #crudDialog .migo-profile-details-v3074 {
    grid-template-columns: minmax(0, 1fr);
  }

  body.crm-app #crudDialog .migo-profile-details-v3074 > div,
  body.crm-app #crudDialog .migo-profile-details-v3074 > div.is-wide {
    grid-column: auto;
    border-right: 0 !important;
  }

  body.crm-app #crudDialog .migo-profile-note-composer-v3074 > div {
    align-items: stretch;
  }

  body.crm-app #crudDialog .migo-profile-note-composer-v3074 .primary-btn,
  body.crm-app #crudDialog .migo-profile-upload-v3074 .primary-btn {
    width: 100%;
    margin-left: 0;
  }

  body.crm-app #crudDialog .migo-profile-upload-v3074 {
    grid-template-columns: minmax(0, 1fr);
  }

  body.crm-app #crudDialog .migo-profile-upload-v3074 > .secondary-btn {
    width: 100%;
  }

  body.crm-app #crudDialog .migo-profile-files-list-v3074 article {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  body.crm-app #crudDialog .migo-profile-file-actions-v3074 {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-content: flex-end;
  }

  body.crm-app #crudDialog .migo-profile-notes-list-v3074 time,
  body.crm-app #crudDialog .migo-profile-timeline-v3074 time {
    width: 100%;
    margin-left: 0;
  }

  body.crm-app .migo-profile-preview-dialog-v3074 > section {
    min-height: calc(100dvh - 16px);
  }
}

/* Migo CRM v3.0.78 Product images in offers and payment accounts */
body.crm-app .migo-commercial-product-thumb-v3078 {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  min-width: 38px;
  flex: 0 0 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid #dce3eb;
  border-radius: 7px;
  background: #f2f5f8;
  color: #66758a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

body.crm-app .migo-commercial-product-thumb-v3078 > span {
  display: grid;
  margin: 0;
  color: inherit;
  place-items: center;
}

body.crm-app .migo-commercial-product-thumb-v3078 > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

body.crm-app .migo-commercial-product-thumb-v3078.is-detail-v3078,
body.crm-app .migo-commercial-product-thumb-v3078.is-card-v3078 {
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-basis: 44px;
}

body.crm-app .migo-commercial-product-thumb-v3078.is-composer-v3078 {
  width: 34px;
  height: 38px;
  min-width: 34px;
  flex-basis: 34px;
}

body.crm-app .migo-commercial-row-product-v3078,
body.crm-app .migo-commercial-item-product-v3078,
body.crm-app .migo-payment-account-product-v3078 {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

body.crm-app .migo-commercial-row-product-copy-v3078,
body.crm-app .migo-commercial-item-product-v3078 > span:last-child,
body.crm-app .migo-payment-account-product-v3078 > span:last-child {
  display: block;
  min-width: 0;
  margin: 0;
}

body.crm-app .migo-commercial-row-product-copy-v3078 > strong,
body.crm-app .migo-commercial-row-product-copy-v3078 > span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.crm-app .migo-commercial-row-product-copy-v3078 > strong {
  color: #172033;
  font-weight: 750;
}

body.crm-app .migo-commercial-row-product-copy-v3078 > span {
  margin-top: 2px;
  color: #7a8798;
  font-size: 11px;
}

body.crm-app .migo-commercial-item-product-v3078 {
  align-items: flex-start;
}

body.crm-app .migo-commercial-item-product-v3078 .migo-commercial-product-thumb-v3078,
body.crm-app .migo-commercial-item-product-v3078 .migo-commercial-product-thumb-v3078 > span {
  display: grid;
  margin: 0;
}

body.crm-app .migo-commercial-item-product-v3078 > span:last-child > strong,
body.crm-app .migo-commercial-item-product-v3078 > span:last-child > span {
  display: block;
}

body.crm-app .migo-commercial-item-product-v3078 > span:last-child > span {
  margin-top: 3px;
  color: #8793a4;
  font-size: 10px;
  line-height: 1.35;
}

body.crm-app .migo-commerce-product-control-v3078 {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}

body.crm-app .migo-commerce-product-control-v3078 > span:first-child {
  display: flex;
}

body.crm-app .migo-commerce-product-control-v3078 > select {
  min-width: 0;
}

body.crm-app .migo-payment-account-product-v3078 > span:last-child > strong,
body.crm-app .migo-payment-account-product-v3078 > span:last-child > span,
body.crm-app .migo-payment-account-product-v3078 > span:last-child > small {
  display: block;
}

body.crm-app .migo-payment-account-product-v3078 > span:last-child > span {
  margin-top: 2px;
}

body.dark.crm-app .migo-commercial-product-thumb-v3078 {
  border-color: #39475a;
  background: #253247;
  color: #cbd5e1;
}

@media (max-width: 620px) {
  body.crm-app .migo-commercial-product-thumb-v3078.is-row-v3078 {
    width: 34px;
    height: 34px;
    min-width: 34px;
    flex-basis: 34px;
  }
}

/* MIGO CRM v4 — mixed lead/deal Pipeline cards */
.migo-pipeline-card-type-row-v4 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.migo-pipeline-card-type-row-v4 > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.migo-pipeline-entity-type-v4 {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 2px 7px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  opacity: .78;
}
.migo-pipeline-entity-type-v4.is-lead {
  opacity: .92;
}
.migo-pipeline-entity-type-v4.is-deal {
  opacity: .72;
}

/* Migo CRM v3.0.79 audited account impersonation */
body.crm-app .migo-impersonation-banner-v3079 {
  position: sticky;
  top: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 10px 20px;
  border-bottom: 1px solid #f3c97a;
  background: #fffbeb;
  box-shadow: 0 1px 0 rgba(16,24,40,.04);
}
body.crm-app .migo-impersonation-banner-v3079 > div { display: grid; gap: 2px; min-width: 0; }
body.crm-app .migo-impersonation-banner-v3079 strong { color: #7a2e0e; font-size: 14px; line-height: 1.3; }
body.crm-app .migo-impersonation-banner-v3079 span { color: #8a4b17; font-size: 12px; line-height: 1.35; }
body.crm-app .migo-impersonation-banner-v3079 button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid #d97706;
  border-radius: 8px;
  background: #fff;
  color: #9a3412;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
body.crm-app .migo-impersonation-banner-v3079 button:hover { background: #fff7ed; }
body.crm-app .migo-impersonation-banner-v3079 button:disabled { opacity: .6; cursor: wait; }
body.crm-app .migo-team-row-actions-v3079 { display: flex; justify-content: flex-end; align-items: center; gap: 6px; flex-wrap: wrap; }
body.crm-app .migo-super-users-v3079 .migo-super-user-row-v3079 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}
body.crm-app .migo-super-users-v3079 .migo-super-user-row-v3079 > span { display: grid; gap: 3px; min-width: 0; }
body.crm-app .migo-super-users-v3079 .migo-super-user-row-v3079 > span strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app .migo-super-users-v3079 .migo-super-user-row-v3079 > span small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.crm-app .migo-super-users-v3079 .migo-super-user-row-v3079 > em { color: #667085; font-size: 12px; font-style: normal; }
@media (max-width: 720px) {
  body.crm-app .migo-impersonation-banner-v3079 { position: relative; align-items: stretch; flex-direction: column; gap: 8px; padding: 10px 14px; }
  body.crm-app .migo-impersonation-banner-v3079 button { width: 100%; }
  body.crm-app .migo-super-users-v3079 .migo-super-user-row-v3079 { align-items: stretch; flex-direction: column; }
}

/* v3.0.79 delegated-session exchange screen */
.auth-page .migo-impersonation-exchange-v3079 {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
}
.auth-page .migo-impersonation-exchange-v3079 strong { color: #101828; font-size: 16px; }
.auth-page .migo-impersonation-exchange-v3079 p { margin: 0; color: #667085; }
.auth-page .migo-impersonation-exchange-v3079 a { color: #175cd3; font-weight: 700; text-decoration: none; }
.auth-page .migo-impersonation-exchange-v3079.is-error { border-color: #fda29b; background: #fffbfa; }
.auth-page .migo-impersonation-exchange-v3079.is-error strong { color: #b42318; }
.auth-page .migo-impersonation-exchange-v3079.is-success { border-color: #abefc6; background: #f6fef9; }
.auth-page .migo-impersonation-spinner-v3079 {
  width: 28px;
  height: 28px;
  border: 3px solid #d0d5dd;
  border-top-color: #175cd3;
  border-radius: 999px;
  animation: migo-impersonation-spin-v3079 .8s linear infinite;
}
.auth-page .migo-impersonation-exchange-v3079.is-error .migo-impersonation-spinner-v3079,
.auth-page .migo-impersonation-exchange-v3079.is-success .migo-impersonation-spinner-v3079 { display: none; }
@keyframes migo-impersonation-spin-v3079 { to { transform: rotate(360deg); } }


/* Migo CRM v3.0.80 - Settings cache maintenance */
.settings-cache-card-v6 .settings-cache-actions-v6{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
}
.settings-cache-card-v6 .settings-cache-actions-v6 .secondary-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
}
.settings-cache-card-v6 .settings-cache-actions-v6 .migo-ui-icon{
  width:17px;
  height:17px;
}
.settings-cache-card-v6 #clearApplicationCacheStatusV6{
  line-height:1.45;
}

/* Migo CRM v3.0.84 — Cron Center modern workspace */
.migo-cron84{display:flex;flex-direction:column;gap:18px;padding-bottom:28px;color:var(--text,#1d2b25)}
.migo-cron84 *{box-sizing:border-box}
.migo-cron84-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 26px;border:1px solid rgba(73,99,84,.14);border-radius:20px;background:linear-gradient(135deg,rgba(247,250,246,.98),rgba(238,246,237,.92));box-shadow:0 14px 34px rgba(36,55,44,.06)}
.migo-cron84-hero h2{margin:5px 0 7px;font-size:28px;letter-spacing:-.035em}
.migo-cron84-hero p{margin:0;max-width:760px;color:#66746c;font-size:14px;line-height:1.55}
.migo-cron84-eyebrow{display:inline-flex;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#778c80}
.migo-cron84-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.migo-cron84-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.migo-cron84-kpis article{min-width:0;padding:18px;border:1px solid rgba(73,99,84,.13);border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(42,60,49,.04)}
.migo-cron84-kpis span{display:block;color:#748079;font-size:12px;font-weight:700}
.migo-cron84-kpis strong{display:block;margin:8px 0 5px;font-size:27px;line-height:1;letter-spacing:-.04em;color:#223128}
.migo-cron84-kpis small{display:block;color:#8a958e;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.migo-cron84-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:14px;align-items:start}
.migo-cron84-grid-main{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
.migo-cron84-panel{min-width:0;border:1px solid rgba(73,99,84,.13);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(42,60,49,.045);overflow:hidden}
.migo-cron84-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border-bottom:1px solid rgba(73,99,84,.09)}
.migo-cron84-panel>header h3{margin:0 0 5px;font-size:16px;letter-spacing:-.015em}
.migo-cron84-panel>header p{margin:0;color:#7a867f;font-size:12px;line-height:1.45}
.migo-cron84-chip{flex:0 0 auto;display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#eef5ef;color:#53675b;font-size:10px;font-weight:800;white-space:nowrap}
.migo-cron84-chip.danger{background:#fff0f0;color:#9e4747}
.migo-cron84-jobs{display:flex;flex-direction:column}
.migo-cron84-job{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(150px,.8fr) auto;gap:14px;align-items:center;padding:15px 18px;border-bottom:1px solid rgba(73,99,84,.08)}
.migo-cron84-job:last-child{border-bottom:0}
.migo-cron84-job-main{display:flex;align-items:center;gap:11px;min-width:0}
.migo-cron84-job-main div,.migo-cron84-job-state{display:flex;flex-direction:column;gap:3px;min-width:0}
.migo-cron84-job-main strong{font-size:13px;color:#2c3a32}.migo-cron84-job-main span,.migo-cron84-job-state span{font-size:11px;color:#8a958e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.migo-cron84-job-state b{font-size:11px;color:#52645a}
.migo-cron84-state-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#d7a64b;box-shadow:0 0 0 4px rgba(215,166,75,.12)}
[data-status="ok"]>.migo-cron84-state-dot,.migo-cron84-state-dot[data-status="ok"]{background:#62a06e;box-shadow:0 0 0 4px rgba(98,160,110,.12)}
[data-status="stale"]>.migo-cron84-state-dot,[data-status="warning"]>.migo-cron84-state-dot,.migo-cron84-state-dot[data-status="stale"],.migo-cron84-state-dot[data-status="warning"]{background:#d7a64b;box-shadow:0 0 0 4px rgba(215,166,75,.12)}
[data-status="critical"]>.migo-cron84-state-dot,.migo-cron84-state-dot[data-status="critical"]{background:#c96868;box-shadow:0 0 0 4px rgba(201,104,104,.12)}
[data-status="not_seen"]>.migo-cron84-state-dot{background:#a6afa9;box-shadow:0 0 0 4px rgba(166,175,169,.14)}
.migo-cron84-copy,.migo-cron84-command-list button{border:1px solid rgba(73,99,84,.18);border-radius:9px;background:#f8faf8;color:#53655a;font-size:10px;font-weight:700;padding:7px 9px;cursor:pointer;white-space:nowrap}
.migo-cron84-copy:hover,.migo-cron84-command-list button:hover{background:#eef5ef;border-color:#bdcbbf}
.migo-cron84-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.migo-cron84-check{display:flex;gap:10px;align-items:flex-start;padding:14px 15px;border-bottom:1px solid rgba(73,99,84,.07)}
.migo-cron84-check:nth-child(odd){border-right:1px solid rgba(73,99,84,.07)}
.migo-cron84-check>div{min-width:0;display:flex;flex-direction:column;gap:3px}
.migo-cron84-check strong{font-size:12px;color:#2f3d34}.migo-cron84-check span{font-size:10px;color:#64736a}.migo-cron84-check small{font-size:10px;line-height:1.35;color:#9aa39e}
.migo-cron84-timeline{display:flex;flex-direction:column;padding:5px 0}.migo-cron84-event{display:flex;gap:11px;align-items:flex-start;padding:12px 18px;border-bottom:1px solid rgba(73,99,84,.07)}.migo-cron84-event:last-child{border-bottom:0}.migo-cron84-event>div{min-width:0;display:flex;flex-direction:column;gap:3px}.migo-cron84-event strong{font-size:12px;color:#334139}.migo-cron84-event span{font-size:10px;color:#89958e}.migo-cron84-timeline.compact .migo-cron84-event{padding-top:10px;padding-bottom:10px}
.migo-cron84-backups{display:flex;flex-direction:column}.migo-cron84-backups>div{display:grid;grid-template-columns:10px minmax(90px,1fr) 80px 80px 140px;gap:10px;align-items:center;padding:12px 18px;border-bottom:1px solid rgba(73,99,84,.07);font-size:11px;color:#6f7c74}.migo-cron84-backups>div:last-child{border-bottom:0}.migo-cron84-backups strong{font-size:12px;color:#35443b}.migo-cron84-backups time{text-align:right;color:#929c96}
.migo-cron84-crontab>header{align-items:center}.migo-cron84-command-list{padding:8px}.migo-cron84-command-list article{display:grid;grid-template-columns:170px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 12px;border-radius:12px}.migo-cron84-command-list article:nth-child(odd){background:#f8faf8}.migo-cron84-command-list article>div{display:flex;flex-direction:column;gap:3px}.migo-cron84-command-list strong{font-size:12px}.migo-cron84-command-list span{font-size:10px;color:#8c9790}.migo-cron84-command-list pre{margin:0;min-width:0;overflow:auto;padding:8px 10px;border:1px solid rgba(73,99,84,.1);border-radius:8px;background:#f4f7f4;color:#44534a;font:10px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-all}
.migo-cron84-workflows{margin-bottom:8px}.migo-cron84-empty{padding:24px;color:#8c9891;text-align:center;font-size:12px}.migo-cron84-loading,.migo-cron84-error{display:flex;min-height:260px;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#77847c}.migo-cron84-loading>span{width:24px;height:24px;border:2px solid #d9e1da;border-top-color:#718678;border-radius:50%;animation:migoCron84Spin .8s linear infinite}.migo-cron84-error strong{color:#3b4a41}.migo-cron84-error span{font-size:12px}.migo-cron84-error button{margin-top:6px}@keyframes migoCron84Spin{to{transform:rotate(360deg)}}
@media(max-width:1180px){.migo-cron84-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.migo-cron84-grid,.migo-cron84-grid-main{grid-template-columns:1fr}.migo-cron84-job{grid-template-columns:minmax(0,1fr) auto}.migo-cron84-job-state{grid-column:1/2;padding-left:20px}.migo-cron84-copy{grid-row:1/3;grid-column:2}}
@media(max-width:720px){.migo-cron84-hero{align-items:flex-start;flex-direction:column;padding:18px}.migo-cron84-actions{width:100%}.migo-cron84-actions button{flex:1}.migo-cron84-kpis{grid-template-columns:1fr 1fr}.migo-cron84-kpis article{padding:14px}.migo-cron84-kpis strong{font-size:22px}.migo-cron84-checks{grid-template-columns:1fr}.migo-cron84-check:nth-child(odd){border-right:0}.migo-cron84-command-list article{grid-template-columns:1fr}.migo-cron84-backups>div{grid-template-columns:10px 1fr auto}.migo-cron84-backups>div span:nth-of-type(2),.migo-cron84-backups time{display:none}.migo-cron84-job{grid-template-columns:1fr}.migo-cron84-job-state{grid-column:auto;padding-left:20px}.migo-cron84-copy{grid-row:auto;grid-column:auto;margin-left:20px;width:max-content}}


/* Migo CRM v3.0.87 legacy route race safety */
body.crm-app #emailView > .migo-tenant-module-placeholder,
body.crm-app #emailBuilderView > .migo-tenant-module-placeholder,
body.crm-app #aiAssistantView > .migo-tenant-module-placeholder,
body.crm-app #settingsView > .migo-tenant-module-placeholder { display:none !important; }
body.crm-app #tableView .migo-core-empty-v3020[data-migo-core-empty-view-v3079="tasks"] { display:none !important; }

/* Migo CRM v3.0.90 — canonical transient states + Product Catalog workspace */
body.crm-app .migo-route-loading-v3090 {
  min-height: min(360px, 42vh);
  margin: 0;
  background: #fff;
  border: 1px solid #d9e1ec;
  border-radius: 8px;
}

body.crm-app #productsView.active { display: block; }
body.crm-app #productsView .migo-products-workspace-v3090 {
  gap: 12px !important;
  width: 100%;
  min-width: 0;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 {
  min-height: 92px !important;
  padding: 16px 17px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057::before {
  top: 16px;
  bottom: auto;
  width: 3px;
  height: 34px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 > span {
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 > strong {
  margin-top: 6px !important;
  font-size: 21px !important;
  line-height: 1.15 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 > small {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: #667085;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-v3057 {
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  margin: 0;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-v3057 button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-v3057 button.is-active {
  color: #101828;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16,24,40,.12);
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-v3057 button span {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 999px;
  background: rgba(102,112,133,.12);
  font-size: 9px;
  line-height: 16px;
  text-align: center;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-card {
  padding: 0 !important;
  overflow: visible;
  background: #fff !important;
  border: 1px solid #d9e1ec !important;
  border-radius: 8px !important;
}
body.crm-app #productsView .migo-products-commandbar-v3090 {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  min-height: 48px;
  gap: 6px;
  padding: 5px !important;
  background: #fff;
  border: 0 !important;
  border-bottom: 1px solid #e7ecf2 !important;
  border-radius: 8px 8px 0 0;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-search-v3057 {
  flex: 1 1 300px;
  min-width: 220px;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-search-v3057 > .migo-ui-icon {
  position: static;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: #667085;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-search-v3057 input[type="search"] {
  min-height: 34px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-filter-strip-v3057 {
  display: flex;
  flex: 0 1 auto;
  gap: 6px;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-filter-strip-v3057 label {
  margin: 0;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-filter-strip-v3057 select {
  width: auto;
  min-width: 116px;
  min-height: 38px;
  margin: 0;
  padding: 0 32px 0 10px;
  color: #344054;
  background-color: #fff;
  border: 1px solid #d9e1ec;
  border-radius: 6px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 600;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-result-count-v3057 {
  padding: 0 5px;
  color: #667085;
  font-size: 11px;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-view-switch-v3057 {
  min-height: 38px;
  height: 38px;
  padding: 3px;
  border-color: #d9e1ec;
  border-radius: 6px;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-view-switch-v3057 button,
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-icon-btn-v3057 {
  width: 30px;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
}
body.crm-app #productsView .migo-products-commandbar-v3090 > .migo-products-icon-btn-v3057,
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-more-wrap-v3057 > .migo-products-icon-btn-v3057 {
  width: 38px;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  border: 1px solid #d9e1ec;
  border-radius: 6px !important;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-new-v3057 {
  width: auto;
  min-width: 116px;
  min-height: 38px;
  padding: 8px 13px !important;
  border-radius: 6px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-sync-row-v3057 {
  min-height: 28px;
  padding: 7px 12px 5px;
  color: #667085;
  border-bottom: 1px solid #eef1f5;
  font-size: 10px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-head-v3057 {
  padding-top: 8px;
  padding-bottom: 8px;
  background: #f8fafc;
  border: 0;
  border-bottom: 1px solid #e7ecf2;
  border-radius: 0;
  color: #667085;
  font-size: 10px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list {
  border: 0 !important;
  border-radius: 0 0 8px 8px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-card {
  min-height: 68px;
  padding: 10px 12px !important;
  border-bottom: 1px solid #e7ecf2 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-card:hover {
  background: #fbfcfe !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-main p {
  display: -webkit-box;
  max-width: 760px;
  overflow: hidden;
  color: #667085 !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-category-card,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-composer-card,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-payment-card {
  padding: 0 !important;
  overflow: hidden;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-category-card > :not(.panel-head),
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-composer-card > :not(.panel-head),
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-payment-card > :not(.panel-head) {
  margin: 0;
}

@media (max-width: 1180px) {
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 { border-bottom: 1px solid #e7ecf2 !important; }
  body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-filter-strip-v3057 { order: 3; width: 100%; overflow-x: auto; padding-top: 2px; }
}
@media (max-width: 720px) {
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-search-v3057 { flex-basis: 100%; }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-head-v3057 { display: none; }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-card { grid-template-columns: 42px minmax(0,1fr) auto !important; }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-price,
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-margin-v3057 { grid-column: 2; }
}


/* Migo CRM v3.0.92 canonical Team view ownership */
body.crm-app #teamView.view {
  display: none;
}
body.crm-app #teamView.view.active {
  display: block !important;
}


/* Migo CRM v3.0.93 — canonical Team workspace */
body.crm-app #teamView .migo-team-workspace-v3093 { gap: 12px; }
body.crm-app #teamView .migo-team-metrics-v3093 { grid-template-columns: repeat(4,minmax(0,1fr)); }
body.crm-app #teamView .migo-team-commandbar-v3093 {
  display:flex; align-items:center; gap:6px; flex-wrap:wrap; min-height:50px;
  padding:5px; background:#fff; border:1px solid #d9e1ec; border-radius:8px;
}
body.crm-app #teamView .migo-team-commandbar-v3093 .migo-ws-search-v3067 { flex:1 1 320px; min-width:220px; }
body.crm-app #teamView .migo-team-commandbar-v3093 select {
  min-height:38px; min-width:140px; padding:0 34px 0 11px; color:#344054; background:#fff;
  border:1px solid #d9e1ec; border-radius:6px; font:inherit; font-size:12px; font-weight:600;
}
body.crm-app #teamView .migo-team-result-count-v3093 { color:#667085; font-size:11px; font-weight:650; padding:0 6px; }
body.crm-app #teamView .migo-team-panel-v3093 { padding:0; overflow:hidden; }
body.crm-app #teamView .migo-team-table-v3093 { width:100%; }
body.crm-app #teamView .migo-team-table-v3093 th { white-space:nowrap; }
body.crm-app #teamView .migo-team-table-v3093 th.is-actions { text-align:right; }
body.crm-app #teamView .migo-team-table-v3093 td { vertical-align:middle; }
body.crm-app #teamView .migo-team-identity-v3093 { display:flex; align-items:center; gap:10px; min-width:220px; }
body.crm-app #teamView .migo-team-identity-v3093 > span:last-child { display:grid; gap:2px; min-width:0; }
body.crm-app #teamView .migo-team-identity-v3093 strong,
body.crm-app #teamView .migo-team-identity-v3093 small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app #teamView .migo-team-identity-v3093 strong { color:#101828; font-size:12px; }
body.crm-app #teamView .migo-team-identity-v3093 small { color:#667085; font-size:10px; }
body.crm-app #teamView .migo-team-avatar-v3093 {
  display:grid; place-items:center; flex:0 0 34px; width:34px; height:34px; border-radius:8px;
  color:#175cd3; background:#eff4ff; border:1px solid #b2ccff; font-size:10px; font-weight:800;
}
body.crm-app #teamView .migo-team-status-v3093 { display:inline-flex; align-items:center; gap:6px; min-height:24px; padding:3px 8px; border-radius:999px; color:#475467; background:#f2f4f7; font-size:10px; font-weight:700; white-space:nowrap; }
body.crm-app #teamView .migo-team-status-v3093 i { width:6px; height:6px; border-radius:50%; background:#98a2b3; }
body.crm-app #teamView .migo-team-status-v3093.is-active { color:#067647; background:#ecfdf3; }
body.crm-app #teamView .migo-team-status-v3093.is-active i { background:#12b76a; }
body.crm-app #teamView .migo-team-status-v3093.is-invited { color:#b54708; background:#fff7ed; }
body.crm-app #teamView .migo-team-status-v3093.is-invited i { background:#f79009; }
body.crm-app #teamView .migo-team-status-v3093.is-blocked { color:#b42318; background:#fff1f0; }
body.crm-app #teamView .migo-team-status-v3093.is-blocked i { background:#f04438; }
body.crm-app #teamView .migo-team-role-badges-v3093 { display:flex; flex-wrap:wrap; gap:4px; }
body.crm-app #teamView .migo-team-role-badge-v3093 { display:inline-flex; align-items:center; min-height:22px; padding:3px 7px; color:#344054; background:#f8fafc; border:1px solid #e4e7ec; border-radius:5px; font-size:9px; font-weight:650; }
body.crm-app #teamView .migo-team-last-login-v3093 { color:#667085; font-size:10px; white-space:nowrap; }
body.crm-app #teamView .migo-team-row-actions-v3093 { display:flex; justify-content:flex-end; align-items:center; gap:5px; flex-wrap:wrap; min-width:220px; }
body.crm-app #teamView .migo-team-row-actions-v3093 .migo-ws-secondary-v3067 { min-height:31px; padding:5px 8px; font-size:9px; }
body.crm-app #teamView .migo-team-row-actions-v3093 .migo-ws-secondary-v3067 .migo-ui-icon { width:13px; height:13px; }
body.crm-app #teamView .migo-team-role-section-v3093 { display:grid; gap:9px; }
body.crm-app #teamView .migo-team-role-section-v3093 > header { display:flex; align-items:end; justify-content:space-between; gap:16px; }
body.crm-app #teamView .migo-team-role-section-v3093 > header h2 { margin:0; color:#101828; font-size:13px; }
body.crm-app #teamView .migo-team-role-section-v3093 > header p { margin:3px 0 0; color:#667085; font-size:10px; }
body.crm-app #teamView .migo-team-role-section-v3093 > header > span { color:#667085; font-size:10px; }
body.crm-app #teamView .migo-team-role-grid-v3093 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
body.crm-app #teamView .migo-team-role-card-v3093 { min-width:0; padding:11px; background:#fff; border:1px solid #d9e1ec; border-radius:8px; }
body.crm-app #teamView .migo-team-role-card-v3093 header { display:flex; align-items:center; gap:8px; }
body.crm-app #teamView .migo-team-role-card-v3093 header > span { display:grid; place-items:center; width:30px; height:30px; color:#175cd3; background:#eff4ff; border-radius:6px; }
body.crm-app #teamView .migo-team-role-card-v3093 header .migo-ui-icon { width:15px; height:15px; }
body.crm-app #teamView .migo-team-role-card-v3093 header div { display:grid; min-width:0; }
body.crm-app #teamView .migo-team-role-card-v3093 strong { color:#101828; font-size:11px; }
body.crm-app #teamView .migo-team-role-card-v3093 small { color:#98a2b3; font-size:9px; }
body.crm-app #teamView .migo-team-role-card-v3093 p { display:flex; flex-wrap:wrap; gap:4px; margin:9px 0 0; }
body.crm-app #teamView .migo-team-role-card-v3093 p span { max-width:100%; overflow:hidden; padding:3px 6px; color:#667085; background:#f8fafc; border-radius:4px; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-team-password-note-v3093 { display:grid; gap:4px; padding:10px 11px; color:#475467; background:#f8fafc; border:1px solid #e4e7ec; border-radius:7px; font-size:10px; line-height:1.45; }
body.crm-app .migo-team-password-note-v3093 strong { color:#101828; font-size:11px; }
body.crm-app .migo-team-password-input-v3093 { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; }

/* Migo CRM v3.0.93 — Product Catalog native rows (remove legacy rounded product cards). */
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list {
  overflow:visible !important; background:#fff; border-radius:0 0 8px 8px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-row-v3093 {
  display:grid !important; grid-template-columns:48px minmax(280px,1fr) minmax(130px,.24fr) minmax(130px,.24fr) minmax(84px,auto) !important;
  align-items:center !important; gap:10px !important; min-height:76px !important; margin:0 !important; padding:9px 12px !important;
  background:#fff !important; border:0 !important; border-bottom:1px solid #e7ecf2 !important; border-radius:0 !important; box-shadow:none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-row-v3093:last-child { border-bottom:0 !important; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-row-v3093:hover { background:#f9fbfd !important; }
body.crm-app #productsView .migo-products-row-media-v3093 { width:40px !important; height:40px !important; border-radius:7px !important; border:1px solid #e4e7ec; background:#f8fafc !important; }
body.crm-app #productsView .migo-products-row-media-v3093 img { width:100%; height:100%; object-fit:contain; }
body.crm-app #productsView .migo-products-row-main-v3093 { min-width:0; }
body.crm-app #productsView .migo-products-row-main-v3093 .migo-product-title { gap:7px; }
body.crm-app #productsView .migo-products-row-main-v3093 .migo-product-title strong { font-size:12px !important; }
body.crm-app #productsView .migo-products-row-main-v3093 .migo-product-meta { margin-top:2px; font-size:9px !important; }
body.crm-app #productsView .migo-products-row-main-v3093 p { margin-top:3px !important; max-width:780px !important; -webkit-line-clamp:1 !important; font-size:9px !important; }
body.crm-app #productsView .migo-products-row-price-v3093,
body.crm-app #productsView .migo-products-row-margin-v3093 { justify-self:start !important; text-align:left !important; }
body.crm-app #productsView .migo-products-row-price-v3093 strong,
body.crm-app #productsView .migo-products-row-margin-v3093 strong { font-size:12px !important; }
body.crm-app #productsView .migo-products-row-price-v3093 small,
body.crm-app #productsView .migo-products-row-margin-v3093 small { margin-top:2px !important; font-size:8px !important; }
body.crm-app #productsView .migo-products-row-actions-v3093 { display:flex !important; justify-content:flex-end !important; gap:4px !important; }
body.crm-app #productsView .migo-products-row-actions-v3093 .migo-ws-icon-button-v3067 { width:30px; min-width:30px; height:30px; min-height:30px; }
body.crm-app #productsView .migo-products-row-actions-v3093 .migo-ws-icon-button-v3067 .migo-ui-icon { width:14px; height:14px; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-row-v3093 {
  display:grid !important; grid-template-columns:42px minmax(0,1fr) auto !important; gap:10px !important; min-height:0 !important; padding:12px !important;
  background:#fff !important; border:1px solid #d9e1ec !important; border-radius:8px !important; box-shadow:none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-row-price-v3093,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-row-margin-v3093 { grid-column:2; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-row-actions-v3093 { grid-column:3; grid-row:1; align-self:start; }

@media (max-width:1100px) {
  body.crm-app #teamView .migo-team-metrics-v3093 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.crm-app #teamView .migo-team-role-grid-v3093 { grid-template-columns:1fr 1fr; }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-row-v3093 { grid-template-columns:44px minmax(240px,1fr) minmax(120px,.3fr) auto !important; }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-row-margin-v3093 { display:none; }
}
@media (max-width:760px) {
  body.crm-app #teamView .migo-team-commandbar-v3093 .migo-ws-search-v3067 { flex-basis:100%; }
  body.crm-app #teamView .migo-team-commandbar-v3093 select { flex:1 1 140px; }
  body.crm-app #teamView .migo-team-role-grid-v3093 { grid-template-columns:1fr; }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-row-v3093 { grid-template-columns:40px minmax(0,1fr) auto !important; }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-row-price-v3093 { grid-column:2; }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-row-actions-v3093 { grid-column:3; grid-row:1; }
}

/* Migo CRM v3.0.94 — Product Catalog list/grid + native top-layer editor. */
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-head-v3057 {
  grid-template-columns: 48px minmax(260px,1fr) minmax(130px,.24fr) minmax(130px,.24fr) 76px !important;
  gap: 12px !important;
  padding: 7px 12px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-head-v3057 > span:first-child { visibility:hidden; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list {
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:0 !important;
  overflow:visible !important;
  border:1px solid #dfe5ec !important;
  border-radius:0 0 8px 8px !important;
  background:#fff !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-v3094 {
  display:grid !important;
  grid-template-columns:48px minmax(260px,1fr) minmax(130px,.24fr) minmax(130px,.24fr) 76px !important;
  gap:12px !important;
  align-items:center !important;
  min-height:64px !important;
  margin:0 !important;
  padding:8px 12px !important;
  overflow:visible !important;
  border:0 !important;
  border-bottom:1px solid #e8edf2 !important;
  border-radius:0 !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-v3094:last-child { border-bottom:0 !important; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-v3094:hover { background:#fafcff !important; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-media-v3094 {
  width:44px !important; height:44px !important; border:1px solid #e3e8ef !important; border-radius:7px !important; background:#f8fafc !important; cursor:pointer;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-media-v3094:focus-visible,
body.crm-app #productsView .migo-product-title-button-v3094:focus-visible { outline:2px solid #2f6feb; outline-offset:2px; }
body.crm-app #productsView .migo-products-item-media-v3094 img { width:100%; height:100%; object-fit:contain; }
body.crm-app #productsView .migo-products-item-main-v3094 { min-width:0; }
body.crm-app #productsView .migo-product-title-button-v3094 {
  appearance:none; padding:0; border:0; background:transparent; color:#101828; font:inherit; font-size:12px; font-weight:780; text-align:left; cursor:pointer;
}
body.crm-app #productsView .migo-product-title-button-v3094:hover { color:#175cd3; }
body.crm-app #productsView .migo-products-item-main-v3094 .migo-product-meta { margin-top:2px; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-main-v3094 p {
  display:block !important; max-width:900px !important; margin:3px 0 0 !important; overflow:hidden !important; color:#667085 !important; font-size:9px !important; line-height:1.3 !important; text-overflow:ellipsis !important; white-space:nowrap !important;
}
body.crm-app #productsView .migo-products-field-label-v3094 { display:none; }
body.crm-app #productsView .migo-products-item-price-v3094,
body.crm-app #productsView .migo-products-item-margin-v3094 { min-width:0; justify-self:start !important; text-align:left !important; }
body.crm-app #productsView .migo-products-item-price-v3094 strong,
body.crm-app #productsView .migo-products-item-margin-v3094 strong { font-size:12px !important; }
body.crm-app #productsView .migo-products-item-actions-v3094 { display:flex !important; justify-content:flex-end !important; align-items:center !important; gap:4px !important; }

/* Grid is a real visual catalog, not the list layout stretched into cards. */
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list-head-v3057 { display:none !important; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list {
  display:grid !important;
  grid-template-columns:repeat(auto-fill,minmax(250px,1fr)) !important;
  gap:10px !important;
  overflow:visible !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-v3094 {
  position:relative;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  grid-template-rows:150px auto auto !important;
  gap:0 10px !important;
  align-content:start !important;
  min-height:300px !important;
  margin:0 !important;
  padding:0 !important;
  overflow:visible !important;
  border:1px solid #dfe5ec !important;
  border-radius:9px !important;
  background:#fff !important;
  box-shadow:0 1px 2px rgba(16,24,40,.03) !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-v3094:hover {
  border-color:#cfd8e3 !important;
  box-shadow:0 8px 20px rgba(16,24,40,.07) !important;
  transform:translateY(-1px);
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-media-v3094 {
  grid-column:1 / -1 !important; grid-row:1 !important; width:100% !important; height:150px !important; padding:12px !important;
  border:0 !important; border-bottom:1px solid #edf0f4 !important; border-radius:9px 9px 0 0 !important; background:#f8fafc !important; cursor:pointer;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-media-v3094 img { width:100%; height:100%; object-fit:contain; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-main-v3094 {
  grid-column:1 / -1 !important; grid-row:2 !important; min-width:0; padding:11px 12px 9px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-main-v3094 .migo-product-title { padding-right:0; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-main-v3094 .migo-product-title-button-v3094 { font-size:13px; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-main-v3094 .migo-product-meta {
  display:flex; flex-wrap:wrap; gap:3px 5px; margin-top:4px; overflow:visible; white-space:normal;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-main-v3094 p {
  display:-webkit-box !important; margin:7px 0 0 !important; overflow:hidden !important; color:#667085 !important; font-size:9px !important; line-height:1.4 !important; white-space:normal !important; -webkit-box-orient:vertical; -webkit-line-clamp:2;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-price-v3094,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-margin-v3094 {
  grid-row:3 !important; align-self:end; margin:0 !important; padding:10px 12px 12px !important; border-top:1px solid #edf0f4; text-align:left !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-price-v3094 { grid-column:1 !important; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-margin-v3094 { grid-column:2 !important; min-width:92px; }
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-field-label-v3094 {
  display:block; margin-bottom:2px; color:#98a2b3; font-size:8px; font-weight:720; text-transform:uppercase;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-actions-v3094 {
  position:absolute !important; top:10px !important; right:10px !important; z-index:5; display:flex !important; gap:4px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-actions-v3094 > .migo-ws-icon-button-v3067,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-product-row-menu-wrap-v3057 > .migo-ws-icon-button-v3067 {
  background:rgba(255,255,255,.94) !important; border:1px solid #e1e7ee !important; box-shadow:0 2px 6px rgba(16,24,40,.08) !important;
}

/* v3.0.94 native <dialog> editor: top-layer prevents clipping by the app shell. */
.migo-products-editor-dialog-v3094 {
  width:min(980px,calc(100vw - 32px));
  max-width:none;
  max-height:min(860px,calc(100dvh - 32px));
  margin:auto;
  padding:0;
  overflow:hidden;
  border:1px solid #d9e1ea;
  border-radius:10px;
  background:#fff;
  color:#101828;
  box-shadow:0 28px 72px rgba(16,24,40,.24);
}
.migo-products-editor-dialog-v3094::backdrop { background:rgba(15,23,42,.44); backdrop-filter:blur(3px); }
.migo-products-editor-v3094 { display:flex; flex-direction:column; max-height:min(860px,calc(100dvh - 32px)); min-height:0; }
.migo-products-editor-head-v3094 {
  display:flex; flex:0 0 auto; align-items:center; justify-content:space-between; gap:12px; min-height:58px; padding:10px 12px 10px 16px; border-bottom:1px solid #e7ecf2; background:#fff;
}
.migo-products-editor-head-v3094 > div { min-width:0; }
.migo-products-editor-head-v3094 span { display:block; color:#98a2b3; font-size:8px; font-weight:760; letter-spacing:.05em; text-transform:uppercase; }
.migo-products-editor-head-v3094 h2 { margin:2px 0 0; overflow:hidden; color:#101828; font-size:16px; text-overflow:ellipsis; white-space:nowrap; }
.migo-products-editor-body-v3094 { min-height:0; padding:14px 16px 16px; overflow:auto; overscroll-behavior:contain; }
.migo-products-editor-dialog-v3094 .migo-product-grid { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:10px !important; }
.migo-products-editor-dialog-v3094 .migo-product-grid label { min-width:0; color:#526074; font-size:10px; font-weight:700; }
.migo-products-editor-dialog-v3094 .migo-product-grid label.full-span { grid-column:1 / -1; }
.migo-products-editor-dialog-v3094 .migo-product-grid input,
.migo-products-editor-dialog-v3094 .migo-product-grid select,
.migo-products-editor-dialog-v3094 .migo-product-grid textarea { width:100%; margin-top:4px; }
.migo-products-editor-dialog-v3094 .migo-product-form-actions {
  position:sticky; bottom:-16px; z-index:3; display:flex; justify-content:flex-end; gap:7px; margin:14px -16px -16px; padding:10px 16px; border-top:1px solid #e7ecf2; background:rgba(255,255,255,.97); backdrop-filter:blur(6px);
}
.migo-products-editor-dialog-v3094 .migo-product-variants-box { margin-top:12px; border:1px solid #e3e8ef; border-radius:8px; background:#f8fafc; }
body.migo-products-editor-open-v3094 { overflow:hidden; }

@media (max-width:1100px) {
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list-head-v3057,
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-v3094 { grid-template-columns:44px minmax(220px,1fr) minmax(120px,.3fr) 76px !important; }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list-head-v3057 span:nth-child(4),
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-margin-v3094 { display:none !important; }
  .migo-products-editor-dialog-v3094 .migo-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width:760px) {
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list-head-v3057 { display:none !important; }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list { gap:7px !important; border:0 !important; background:transparent !important; }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-v3094 {
    grid-template-columns:44px minmax(0,1fr) auto !important; grid-template-rows:auto auto !important; gap:7px 9px !important; padding:9px !important; border:1px solid #e1e7ee !important; border-radius:8px !important;
  }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-price-v3094 { grid-column:2; grid-row:2; }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-actions-v3094 { grid-column:3; grid-row:1; }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list { grid-template-columns:1fr !important; }
  .migo-products-editor-dialog-v3094 { width:calc(100vw - 12px); max-height:calc(100dvh - 12px); border-radius:10px; }
  .migo-products-editor-v3094 { max-height:calc(100dvh - 12px); }
  .migo-products-editor-body-v3094 { padding:12px; }
  .migo-products-editor-dialog-v3094 .migo-product-grid { grid-template-columns:1fr !important; }
  .migo-products-editor-dialog-v3094 .migo-product-form-actions { bottom:-12px; margin:12px -12px -12px; padding:9px 12px; }
}
@media (prefers-reduced-motion:reduce) {
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-v3094 { transition:none !important; transform:none !important; }
}

/* v3.0.95 Product editor compact footer actions. */
.migo-products-editor-dialog-v3094 .migo-product-form-actions {
  gap:6px !important;
  padding:7px 12px !important;
}
.migo-products-editor-dialog-v3094 .migo-product-form-actions .primary-btn,
.migo-products-editor-dialog-v3094 .migo-product-form-actions .mini-btn {
  width:auto !important;
  min-width:0 !important;
  min-height:32px !important;
  height:32px !important;
  padding:0 12px !important;
  border-radius:7px !important;
  font-size:12px !important;
  font-weight:750 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
.migo-products-editor-dialog-v3094 .migo-product-form-actions .primary-btn {
  padding-inline:14px !important;
}
@media (max-width:760px) {
  .migo-products-editor-dialog-v3094 .migo-product-form-actions {
    gap:6px !important;
    padding:7px 10px !important;
  }
  .migo-products-editor-dialog-v3094 .migo-product-form-actions .primary-btn,
  .migo-products-editor-dialog-v3094 .migo-product-form-actions .mini-btn {
    min-height:34px !important;
    height:34px !important;
    padding-inline:10px !important;
    font-size:11.5px !important;
  }
}

/* v3.0.96 Product catalog layout refinement: compact KPIs, cleaner command bar, calmer grid hover. */
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-card {
  background: transparent !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-commandbar-v3090,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-sync-row-v3057,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-head-v3057,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list {
  background: #fff !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 {
  min-height: 74px !important;
  padding: 12px 17px 11px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057::before {
  top: 12px;
  height: 28px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 > span {
  font-size: 10px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 > strong {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-top: 4px !important;
  font-size: 17px !important;
  line-height: 1.05 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 > strong small {
  font-size: 11px !important;
  line-height: 1.05 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 > small {
  margin-top: 4px !important;
  font-size: 10px !important;
}
body.crm-app #productsView .migo-products-commandbar-v3090 {
  gap: 8px !important;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-search-v3057 {
  order: 1;
  flex: 1 1 280px;
  max-width: 420px;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-new-v3057 {
  order: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  padding: 0 14px !important;
  white-space: nowrap;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-filter-strip-v3057 {
  order: 3;
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  min-width: 0;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-result-count-v3057 {
  order: 4;
  margin-left: auto;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-view-switch-v3057 {
  order: 5;
}
body.crm-app #productsView .migo-products-commandbar-v3090 > .migo-products-icon-btn-v3057 {
  order: 6;
}
body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-more-wrap-v3057 {
  order: 7;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list {
  gap: 14px !important;
  padding: 14px 0 0 !important;
  background: transparent !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-v3094 {
  border: 1px solid #d9e1ec !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color .14s ease, background-color .14s ease !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-v3094:hover,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-v3094:focus-within {
  border-color: #b9c4d1 !important;
  box-shadow: none !important;
  transform: none !important;
  background: #fff !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-media-v3094 {
  background: #fff !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-actions-v3094 > .migo-ws-icon-button-v3067,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-product-row-menu-wrap-v3057 > .migo-ws-icon-button-v3067 {
  box-shadow: none !important;
}
@media (max-width: 1180px) {
  body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-search-v3057 {
    max-width: none;
  }
  body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-filter-strip-v3057 {
    order: 8;
    width: 100%;
  }
}
@media (max-width: 760px) {
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-kpi-v3057 {
    min-height: 70px !important;
    padding: 11px 14px 10px !important;
  }
  body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-search-v3057 {
    flex-basis: 100%;
    max-width: none;
  }
  body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-result-count-v3057 {
    margin-left: 0;
  }
  body.crm-app #productsView .migo-products-commandbar-v3090 .migo-products-new-v3057 {
    min-width: 120px;
  }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list {
    padding-top: 10px !important;
  }
}

/* v3.0.97 Products: tabs+tools row and safer grid spacing */
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-shell-v3097 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  flex-wrap: wrap;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-v3057 {
  margin: 0 !important;
  flex: 1 1 560px;
  min-width: 0;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 1 auto;
  flex-wrap: wrap;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 .migo-products-result-count-v3057 {
  margin-right: 4px;
  white-space: nowrap;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 .migo-products-view-switch-v3057 {
  margin-left: 0 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-card {
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-commandbar-v3090 {
  padding: 0 14px 12px !important;
  border-bottom: 1px solid #e7ecf2;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-sync-row-v3057,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-head-v3057 {
  padding-left: 14px !important;
  padding-right: 14px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list {
  padding: 14px !important;
  gap: 16px !important;
  background: transparent !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-v3094 {
  margin: 0 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list {
  padding-left: 14px !important;
  padding-right: 14px !important;
  padding-bottom: 12px !important;
}
@media (max-width: 1180px) {
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
}
@media (max-width: 760px) {
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 {
    gap: 7px;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 .migo-products-result-count-v3057 {
    order: 10;
    width: 100%;
    margin-right: 0;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-commandbar-v3090 {
    padding: 0 10px 10px !important;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-sync-row-v3057,
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-head-v3057,
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list,
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* v3.0.98 Products workspace polish: compact top navigation, unified filters, borderless catalog canvas. */
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-shell-v3097 {
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-v3057 {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: min(760px, 100%);
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 {
  margin-left: auto;
  gap: 6px;
  flex-wrap: nowrap;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 .migo-products-result-count-v3057 {
  margin: 0 6px 0 0;
  padding: 0;
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 .migo-products-view-switch-v3057 {
  min-height: 34px;
  height: 34px;
  padding: 2px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 .migo-products-view-switch-v3057 button,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 .migo-products-icon-btn-v3057 {
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 > .migo-products-icon-btn-v3057,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 .migo-products-more-wrap-v3057 > .migo-products-icon-btn-v3057 {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 .migo-products-new-v3057 {
  min-width: 122px;
  min-height: 36px;
  height: 36px;
  padding: 0 13px !important;
  border-radius: 7px !important;
  font-size: 12px;
}

body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-card {
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-commandbar-v3090 {
  display: grid !important;
  grid-template-columns: minmax(280px, 1fr) auto max-content;
  align-items: center;
  gap: 8px !important;
  min-height: 46px;
  padding: 5px 7px !important;
  border: 1px solid #d9e1ec !important;
  border-radius: 8px !important;
  background: #fff !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-commandbar-v3090 .migo-products-search-v3057 {
  order: initial !important;
  max-width: none !important;
  min-width: 0;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-commandbar-v3090 .migo-products-filter-strip-v3057 {
  order: initial !important;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-commandbar-v3090 .migo-products-filter-strip-v3057 select {
  min-height: 34px;
  height: 34px;
  min-width: 126px;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 11px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-inline-sync-v3098 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #667085;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-inline-sync-v3098::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #12a174;
  box-shadow: 0 0 0 2px rgba(18,161,116,.08);
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-inline-sync-v3098.is-error,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-inline-sync-v3098[data-error='1'] {
  color: #b42318;
}

/* List: separate clean table from the filter bar. */
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list-head-v3057 {
  margin-top: 8px;
  padding: 7px 12px !important;
  border: 1px solid #d9e1ec !important;
  border-bottom: 0 !important;
  border-radius: 8px 8px 0 0 !important;
  background: #f8fafc !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d9e1ec !important;
  border-top: 0 !important;
  border-radius: 0 0 8px 8px !important;
  background: #fff !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-item-v3094 {
  min-height: 68px !important;
}

/* Grid: lighter canvas, smaller cards, no wasted full-width stretching. */
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list {
  grid-template-columns: repeat(auto-fill, minmax(250px, 300px)) !important;
  justify-content: start;
  align-items: start;
  gap: 14px !important;
  padding: 10px 2px 2px !important;
  border: 0 !important;
  background: transparent !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-v3094 {
  grid-template-rows: 132px auto auto !important;
  min-height: 276px !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color .14s ease !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-v3094:hover,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-v3094:focus-within {
  border-color: #98a9bc !important;
  box-shadow: none !important;
  transform: none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-media-v3094 {
  height: 132px !important;
  padding: 10px !important;
  background: #fff !important;
  border-radius: 8px 8px 0 0 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-main-v3094 {
  padding: 9px 10px 8px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-main-v3094 p {
  margin-top: 5px !important;
  -webkit-line-clamp: 2;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-price-v3094,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-margin-v3094 {
  padding: 8px 10px 10px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-actions-v3094 {
  top: 8px !important;
  right: 8px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-item-actions-v3094 > .migo-ws-icon-button-v3067,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-product-row-menu-wrap-v3057 > .migo-ws-icon-button-v3067 {
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: none !important;
}

@media (max-width: 1260px) {
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-shell-v3097 {
    flex-wrap: wrap;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 {
    flex: 1 1 auto;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-commandbar-v3090 {
    grid-template-columns: minmax(260px, 1fr) auto;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-inline-sync-v3098 {
    grid-column: 1 / -1;
    justify-self: end;
  }
}
@media (max-width: 900px) {
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-commandbar-v3090 {
    grid-template-columns: 1fr;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-commandbar-v3090 .migo-products-filter-strip-v3057 {
    flex-wrap: wrap;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-inline-sync-v3098 {
    grid-column: auto;
    justify-self: start;
  }
}
@media (max-width: 760px) {
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-v3057 {
    width: 100% !important;
    max-width: 100%;
    overflow-x: auto;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-tools-v3097 .migo-products-new-v3057 {
    margin-left: auto;
  }
  body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="grid"] .migo-products-list {
    grid-template-columns: minmax(0, 1fr) !important;
    padding-inline: 0 !important;
  }
}


/* Migo CRM v8.5 — Omnichannel Hub */
body.crm-app .migo-omni-page-v85 { --omni-border:#e4e9f0; --omni-muted:#738095; --omni-bg:#f7f9fc; }
body.crm-app .migo-omni-command-v85 { justify-content:space-between; }
body.crm-app .migo-omni-version-v85 { display:flex; align-items:center; gap:8px; padding:7px 10px; border:1px solid #dce4ef; border-radius:8px; background:#fff; color:#6c788b; font-size:10px; }
body.crm-app .migo-omni-version-v85 strong { color:#255dc4; font-size:11px; }
body.crm-app .migo-omni-pane-v85[hidden] { display:none!important; }
body.crm-app .migo-omni-inbox-v85 { display:grid; grid-template-columns:minmax(280px,34%) minmax(0,66%); min-height:570px; border-top:1px solid var(--omni-border); }
body.crm-app .migo-omni-conversations-v85 { min-width:0; border-right:1px solid var(--omni-border); background:#fbfcfe; }
body.crm-app .migo-omni-list-head-v85 { display:flex; min-height:54px; align-items:center; justify-content:space-between; gap:10px; padding:9px 12px; border-bottom:1px solid var(--omni-border); background:#fff; }
body.crm-app .migo-omni-list-head-v85>div { display:grid; gap:1px; }
body.crm-app .migo-omni-list-head-v85 strong { color:#263246; font-size:12px; }
body.crm-app .migo-omni-list-head-v85 span { color:var(--omni-muted); font-size:9.5px; }
body.crm-app .migo-omni-list-head-v85 button { min-width:34px; padding:7px; }
body.crm-app .migo-omni-conversation-list-v85 { max-height:620px; overflow:auto; }
body.crm-app .migo-omni-conversation-v85 { display:grid; width:100%; grid-template-columns:38px minmax(0,1fr); gap:10px; align-items:start; padding:11px 12px; border:0; border-bottom:1px solid #edf1f5; background:transparent; color:inherit; text-align:left; cursor:pointer; }
body.crm-app .migo-omni-conversation-v85:hover { background:#f3f6fb; }
body.crm-app .migo-omni-conversation-v85.is-active { background:#eef4ff; box-shadow:inset 3px 0 0 #3f6fca; }
body.crm-app .migo-omni-avatar-v85 { display:grid; width:36px; height:36px; place-items:center; flex:0 0 36px; border-radius:50%; background:#e8eef8; color:#395477; font-size:12px; font-weight:850; }
body.crm-app .migo-omni-conversation-copy-v85 { display:grid; min-width:0; gap:4px; }
body.crm-app .migo-omni-conversation-copy-v85>span { display:flex; align-items:center; justify-content:space-between; gap:8px; min-width:0; }
body.crm-app .migo-omni-conversation-copy-v85 strong { overflow:hidden; color:#263246; font-size:11.5px; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-omni-conversation-copy-v85 time { flex:0 0 auto; color:#8a95a5; font-size:8.5px; }
body.crm-app .migo-omni-conversation-copy-v85 small { overflow:hidden; color:#68768b; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-omni-conversation-copy-v85 em { display:flex; align-items:center; justify-content:space-between; min-width:0; font-style:normal; }
body.crm-app .migo-omni-conversation-copy-v85 em>b { display:grid; min-width:18px; height:18px; place-items:center; padding:0 5px; border-radius:10px; background:#255dc4; color:#fff; font-size:8.5px; }
body.crm-app .migo-omni-provider-v85 { display:inline-flex; min-width:0; align-items:center; gap:5px; color:#64748b; font-size:8.5px; font-style:normal; font-weight:750; }
body.crm-app .migo-omni-provider-v85>i { display:grid; width:20px; height:20px; place-items:center; border-radius:5px; background:#eef2f7; color:#53647c; font-size:7px; font-style:normal; font-weight:900; }
body.crm-app .migo-omni-provider-v85.is-whatsapp>i,body.crm-app .migo-omni-provider-v85.is-telegram>i,body.crm-app .migo-omni-provider-v85.is-max>i { background:#eaf7f2; color:#16705a; }
body.crm-app .migo-omni-provider-v85.is-instagram>i,body.crm-app .migo-omni-provider-v85.is-facebook>i { background:#eef2ff; color:#405db4; }
body.crm-app .migo-omni-thread-v85 { display:flex; min-width:0; min-height:570px; flex-direction:column; background:#fff; }
body.crm-app .migo-omni-thread-head-v85 { display:flex; min-height:54px; align-items:center; justify-content:space-between; gap:12px; padding:8px 13px; border-bottom:1px solid var(--omni-border); }
body.crm-app .migo-omni-thread-head-v85>div { display:flex; min-width:0; align-items:center; gap:9px; }
body.crm-app .migo-omni-thread-head-v85>div>span:last-child { display:grid; min-width:0; gap:2px; }
body.crm-app .migo-omni-thread-head-v85 strong { overflow:hidden; color:#202b3d; font-size:12px; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-omni-thread-head-v85 small { color:#78869a; font-size:9.5px; }
body.crm-app .migo-omni-links-v85 { display:flex; flex-wrap:wrap; gap:5px; padding:7px 12px; border-bottom:1px solid #edf1f5; background:#fafbfd; }
body.crm-app .migo-omni-links-v85 span { padding:4px 7px; border:1px solid #dce4ef; border-radius:12px; background:#fff; color:#53647c; font-size:8.5px; font-weight:750; }
body.crm-app .migo-omni-messages-v85 { display:flex; min-height:380px; max-height:510px; flex:1 1 auto; flex-direction:column; gap:7px; overflow:auto; padding:14px 16px; background:linear-gradient(180deg,#fbfcfe 0%,#f7f9fc 100%); }
body.crm-app .migo-omni-message-v85 { display:flex; width:100%; }
body.crm-app .migo-omni-message-v85>div { max-width:min(76%,650px); padding:9px 11px 7px; border:1px solid #e2e7ef; border-radius:10px 10px 10px 3px; background:#fff; box-shadow:0 1px 2px rgba(31,41,55,.03); }
body.crm-app .migo-omni-message-v85.is-outbound { justify-content:flex-end; }
body.crm-app .migo-omni-message-v85.is-outbound>div { border-color:#d6e1f5; border-radius:10px 10px 3px 10px; background:#edf4ff; }
body.crm-app .migo-omni-message-v85 p { margin:0; color:#273247; font-size:11.5px; line-height:1.5; white-space:pre-wrap; word-break:break-word; }
body.crm-app .migo-omni-message-v85 footer { display:flex; align-items:center; justify-content:flex-end; gap:6px; margin-top:5px; color:#8490a0; font-size:8px; }
body.crm-app .migo-omni-message-v85 footer>span { margin-right:auto; font-weight:700; }
body.crm-app .migo-omni-message-v85 footer i { padding:2px 4px; border-radius:4px; background:#eef2f7; font-style:normal; font-weight:800; }
body.crm-app .migo-omni-reply-v85 { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:end; padding:10px 12px; border-top:1px solid var(--omni-border); background:#fff; }
body.crm-app .migo-omni-reply-v85 textarea { min-height:44px; max-height:130px; resize:vertical; }
body.crm-app .migo-omni-reply-v85 button { min-height:42px; }
body.crm-app .migo-omni-connections-v85 { padding:12px; }
body.crm-app .migo-omni-connection-v85 { display:flex; min-height:66px; align-items:center; justify-content:space-between; gap:14px; padding:10px 11px; border-top:1px solid #edf1f5; }
body.crm-app .migo-omni-connection-v85:first-of-type { border-top:0; }
body.crm-app .migo-omni-connection-v85>div:first-child { display:flex; min-width:0; align-items:center; gap:10px; }
body.crm-app .migo-omni-connection-v85>div:first-child>.migo-omni-provider-v85 { flex:0 0 auto; }
body.crm-app .migo-omni-connection-v85>div:first-child>span { display:grid; min-width:0; gap:2px; }
body.crm-app .migo-omni-connection-v85 strong { color:#263246; font-size:11.5px; }
body.crm-app .migo-omni-connection-v85 small { color:#718096; font-size:9.5px; }
body.crm-app .migo-omni-connection-v85 em { color:#b45309; font-size:8.5px; font-style:normal; }
body.crm-app .migo-omni-connection-actions-v85 { display:flex; flex:0 0 auto; gap:6px; }
body.crm-app .migo-omni-provider-grid-v85 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:12px; }
body.crm-app .migo-omni-provider-card-v85 { display:grid; grid-template-columns:42px minmax(0,1fr) auto; align-items:start; gap:10px; min-height:112px; padding:12px; border:1px solid #e3e8ef; border-radius:9px; background:#fff; }
body.crm-app .migo-omni-provider-card-v85.is-unavailable { background:#fafafa; opacity:.72; }
body.crm-app .migo-omni-provider-logo-v85 { display:grid; width:40px; height:40px; place-items:center; border-radius:9px; background:#eef3fb; color:#395477; font-size:10px; font-weight:900; }
body.crm-app .migo-omni-provider-card-v85>div:nth-child(2) { display:grid; gap:3px; }
body.crm-app .migo-omni-provider-card-v85 strong { color:#263246; font-size:12px; }
body.crm-app .migo-omni-provider-card-v85 span { color:#255dc4; font-size:9px; font-weight:800; }
body.crm-app .migo-omni-provider-card-v85 p { margin:2px 0 0; color:#68768b; font-size:9.5px; line-height:1.4; }
body.crm-app .migo-omni-provider-card-v85 small { color:#8a95a5; font-size:8.5px; }
body.crm-app .migo-omni-provider-card-v85>i { align-self:center; color:#8a95a5; font-size:9px; font-style:normal; }
body.crm-app .migo-omni-secret-note-v85 { margin:0; padding:8px 9px; border:1px solid #dfe7f2; border-radius:7px; background:#f7faff; color:#607086; font-size:9.5px; line-height:1.45; }
@media(max-width:1050px){ body.crm-app .migo-omni-inbox-v85{grid-template-columns:minmax(250px,38%) minmax(0,62%)} body.crm-app .migo-omni-provider-grid-v85{grid-template-columns:1fr} }
@media(max-width:760px){ body.crm-app .migo-omni-inbox-v85{grid-template-columns:1fr} body.crm-app .migo-omni-conversations-v85{border-right:0;border-bottom:1px solid var(--omni-border)} body.crm-app .migo-omni-conversation-list-v85{max-height:270px} body.crm-app .migo-omni-thread-v85{min-height:480px} body.crm-app .migo-omni-message-v85>div{max-width:88%} body.crm-app .migo-omni-connection-v85{align-items:flex-start;flex-direction:column} body.crm-app .migo-omni-connection-actions-v85{width:100%;flex-wrap:wrap} body.crm-app .migo-omni-provider-card-v85{grid-template-columns:38px minmax(0,1fr)} body.crm-app .migo-omni-provider-card-v85>button,body.crm-app .migo-omni-provider-card-v85>i{grid-column:2} }


/* Migo CRM v8.5.1 — embedded Omnichannel provider icons */
body.crm-app .migo-omni-provider-icon-v851 { display:grid; width:40px; height:40px; place-items:center; flex:0 0 40px; border:1px solid rgba(148,163,184,.16); border-radius:10px; background:#f3f6fb; color:#425b7d; box-shadow:0 1px 2px rgba(15,23,42,.03); }
body.crm-app .migo-omni-provider-icon-v851 svg { display:block; width:25px; height:25px; overflow:visible; }
body.crm-app .migo-omni-provider-icon-v851.is-compact { width:22px; height:22px; flex-basis:22px; border-radius:6px; box-shadow:none; }
body.crm-app .migo-omni-provider-icon-v851.is-compact svg { width:14px; height:14px; }
body.crm-app .migo-omni-provider-icon-v851.is-email { background:#edf5ff; color:#1976e8; }
body.crm-app .migo-omni-provider-icon-v851.is-facebook { background:#edf6ff; color:#0a7cff; }
body.crm-app .migo-omni-provider-icon-v851.is-instagram { background:linear-gradient(145deg,#fff1f5,#f4efff 55%,#fff7e7); color:#d62976; }
body.crm-app .migo-omni-provider-icon-v851.is-whatsapp { background:#ecfbf2; color:#18b95b; }
body.crm-app .migo-omni-provider-icon-v851.is-telegram { background:#ecf8fd; color:#229ed9; }
body.crm-app .migo-omni-provider-icon-v851.is-viber { background:#f5effd; color:#7360f2; }
body.crm-app .migo-omni-provider-icon-v851.is-max { background:#eef5ff; color:#2675f5; }
body.crm-app .migo-omni-provider-icon-v851.is-x { background:#f2f3f5; color:#111827; }
body.crm-app .migo-omni-provider-icon-v851.is-wechat { background:#effbef; color:#08b83e; }
body.crm-app .migo-omni-provider-icon-v851.is-pinterest { background:#fff0f1; color:#e60023; }
body.crm-app .migo-omni-provider-icon-v851.is-imo { background:#eef6ff; color:#1769c9; }
body.crm-app .migo-omni-provider-v85>.migo-omni-provider-icon-v851 { flex:0 0 22px; }
body.crm-app .migo-omni-provider-logo-v85 { display:grid; width:40px; height:40px; place-items:center; border-radius:10px; background:transparent; color:inherit; font-size:0; font-weight:inherit; }
body.crm-app .migo-omni-provider-card-v85:hover:not(.is-unavailable) .migo-omni-provider-icon-v851 { transform:translateY(-1px); box-shadow:0 4px 10px rgba(15,23,42,.07); }
body.crm-app .migo-omni-provider-icon-v851 { transition:transform .16s ease,box-shadow .16s ease; }

/* v8.5.2: fine-tuned provider icon alignment and MAX mark fidelity */
body.crm-app .migo-omni-provider-icon-v851 { align-items:center; justify-items:center; }
body.crm-app .migo-omni-provider-icon-v851 svg { transform-origin:center center; }
body.crm-app .migo-omni-provider-icon-v851.is-max svg { width:27px; height:19px; }
body.crm-app .migo-omni-provider-icon-v851.is-wechat svg { width:26px; height:22px; }
body.crm-app .migo-omni-provider-icon-v851.is-imo svg { width:26px; height:20px; }
body.crm-app .migo-omni-provider-icon-v851.is-telegram svg { transform:translateX(-0.5px); }
body.crm-app .migo-omni-provider-icon-v851.is-viber svg { transform:translateY(0.2px); }
body.crm-app .migo-omni-provider-icon-v851.is-pinterest svg { transform:translateY(0.3px); }

/* v8.5.3: refined provider logos */
body.crm-app .migo-omni-provider-icon-v851 svg { shape-rendering:geometricPrecision; }
body.crm-app .migo-omni-provider-icon-v851.is-email svg { width:24px; height:24px; }
body.crm-app .migo-omni-provider-icon-v851.is-whatsapp svg { width:24px; height:24px; }
body.crm-app .migo-omni-provider-icon-v851.is-viber svg { width:24px; height:24px; transform:translateY(0); }
body.crm-app .migo-omni-provider-icon-v851.is-pinterest svg { width:23px; height:23px; transform:none; }
body.crm-app .migo-omni-provider-icon-v851.is-pinterest { place-items:center; }
body.crm-app .migo-omni-provider-icon-v851.is-max svg { width:28px; height:20px; transform:none; }
body.crm-app .migo-omni-provider-icon-v851.is-max { background:#eef4ff; }


/* Migo CRM v8.5.4 — searchable Omnichannel CRM associations */
body.crm-app #crudDialog .migo-omni-association-dialog-v854 { overflow:visible; }
body.crm-app #crudDialog .migo-omni-association-intro-v854 {
  margin:0 0 16px; padding:10px 12px; color:#52647d; background:#f6f9fd;
  border:1px solid #dbe6f2; border-radius:7px; font-size:12px; line-height:1.45;
}
body.crm-app #crudDialog .migo-omni-association-grid-v854 { align-items:start; }
body.crm-app #crudDialog .migo-omni-association-field-v854 { position:relative; }
body.crm-app #crudDialog .migo-omni-association-field-v854 > small,
body.crm-app #crudDialog .migo-omni-association-grid-v854 > label > small {
  min-height:16px; color:#8290a3; font-size:11px; font-weight:500; line-height:1.35;
}
body.crm-app #crudDialog .migo-omni-combobox-v854 { position:relative; min-width:0; }
body.crm-app #crudDialog .migo-omni-combobox-v854 > input[type="search"] {
  padding-left:36px; padding-right:38px;
}
body.crm-app #crudDialog .migo-omni-combobox-search-icon-v854 {
  position:absolute; z-index:2; left:11px; top:50%; width:16px; height:16px;
  display:grid; place-items:center; color:#77869a; transform:translateY(-50%); pointer-events:none;
}
body.crm-app #crudDialog .migo-omni-combobox-search-icon-v854 .migo-ui-icon { width:16px; height:16px; }
body.crm-app #crudDialog .migo-omni-combobox-clear-v854 {
  position:absolute; z-index:3; right:7px; top:50%; width:27px; height:27px; min-width:27px;
  display:grid; place-items:center; padding:0; transform:translateY(-50%); color:#667085;
  background:transparent; border:0; border-radius:5px; cursor:pointer;
}
body.crm-app #crudDialog .migo-omni-combobox-clear-v854:hover { background:#eef2f6; color:#101828; }
body.crm-app #crudDialog .migo-omni-combobox-clear-v854 .migo-ui-icon { width:14px; height:14px; }
body.crm-app #crudDialog .migo-omni-combobox-results-v854 {
  position:absolute; z-index:50; top:calc(100% + 5px); left:0; right:0; max-height:230px; overflow:auto;
  padding:5px; background:#fff; border:1px solid #cfd8e3; border-radius:7px;
  box-shadow:0 12px 28px rgba(15,23,42,.15);
}
body.crm-app #crudDialog .migo-omni-combobox-results-v854[hidden] { display:none !important; }
body.crm-app #crudDialog .migo-omni-combobox-results-v854 button {
  width:100%; display:grid; gap:2px; margin:0; padding:9px 10px; text-align:left;
  color:#172033; background:#fff; border:0; border-radius:5px; cursor:pointer;
}
body.crm-app #crudDialog .migo-omni-combobox-results-v854 button:hover,
body.crm-app #crudDialog .migo-omni-combobox-results-v854 button:focus-visible { background:#f0f5ff; outline:0; }
body.crm-app #crudDialog .migo-omni-combobox-results-v854 button strong { font-size:13px; font-weight:700; line-height:1.3; }
body.crm-app #crudDialog .migo-omni-combobox-results-v854 button small { color:#718096; font-size:11px; font-weight:500; line-height:1.35; }
body.crm-app #crudDialog .migo-omni-combobox-state-v854 { padding:10px; color:#7a889b; font-size:12px; font-weight:500; }
body.crm-app #crudDialog .migo-omni-combobox-state-v854.is-error { color:#b42318; }
@media (max-width:680px) {
  body.crm-app #crudDialog .migo-omni-association-grid-v854 { grid-template-columns:1fr; }
}


/* Migo CRM v8.5.5 — official provider artwork only. */
body.crm-app .migo-omni-provider-icon-v851 {
  overflow:hidden;
  place-items:center;
  padding:6px;
  box-sizing:border-box;
}
body.crm-app .migo-omni-provider-icon-v851 img {
  display:block;
  width:100%;
  height:100%;
  max-width:28px;
  max-height:28px;
  object-fit:contain;
  object-position:50% 50%;
  transform:none !important;
  filter:none !important;
}
body.crm-app .migo-omni-provider-icon-v851.is-compact { padding:3px; }
body.crm-app .migo-omni-provider-icon-v851.is-compact img { max-width:16px; max-height:16px; }
body.crm-app .migo-omni-provider-icon-v851.is-email img { max-width:27px; max-height:27px; }
body.crm-app .migo-omni-provider-icon-v851.is-max img { max-width:29px; max-height:29px; }
body.crm-app .migo-omni-provider-icon-v851.is-viber img { max-width:27px; max-height:27px; }
body.crm-app .migo-omni-provider-icon-v851.is-whatsapp img { max-width:27px; max-height:27px; }
body.crm-app .migo-omni-provider-icon-v851.is-pinterest img { max-width:25px; max-height:25px; }
/* Do not recolor or geometrically modify vendor artwork. */
body.crm-app .migo-omni-provider-icon-v851.is-email,
body.crm-app .migo-omni-provider-icon-v851.is-facebook,
body.crm-app .migo-omni-provider-icon-v851.is-instagram,
body.crm-app .migo-omni-provider-icon-v851.is-whatsapp,
body.crm-app .migo-omni-provider-icon-v851.is-telegram,
body.crm-app .migo-omni-provider-icon-v851.is-viber,
body.crm-app .migo-omni-provider-icon-v851.is-max,
body.crm-app .migo-omni-provider-icon-v851.is-x,
body.crm-app .migo-omni-provider-icon-v851.is-wechat,
body.crm-app .migo-omni-provider-icon-v851.is-pinterest,
body.crm-app .migo-omni-provider-icon-v851.is-imo { color:inherit; }

/* Migo CRM v8.5.6 — high-quality local Omnichannel icons supplied for the CRM */
body.crm-app .migo-omni-provider-icon-v851 img {
  width:auto !important;
  height:auto !important;
  max-width:28px !important;
  max-height:28px !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
}
body.crm-app .migo-omni-provider-icon-v851.is-email img { max-width:29px !important; max-height:29px !important; }
body.crm-app .migo-omni-provider-icon-v851.is-facebook img { max-width:29px !important; max-height:29px !important; }
body.crm-app .migo-omni-provider-icon-v851.is-instagram img { max-width:28px !important; max-height:28px !important; }
body.crm-app .migo-omni-provider-icon-v851.is-whatsapp img { max-width:29px !important; max-height:29px !important; }
body.crm-app .migo-omni-provider-icon-v851.is-wechat img { max-width:29px !important; max-height:29px !important; }
body.crm-app .migo-omni-provider-icon-v851.is-pinterest img { max-width:28px !important; max-height:28px !important; }
body.crm-app .migo-omni-provider-icon-v851.is-imo img { max-width:29px !important; max-height:29px !important; }
body.crm-app .migo-omni-provider-icon-v851.is-compact img {
  max-width:16px !important;
  max-height:16px !important;
}

/* Migo CRM v8.5.6.1 — stronger icon centering polish */
body.crm-app .migo-omni-provider-icon-v851{display:flex!important;align-items:center!important;justify-content:center!important;place-items:center!important;padding:0!important;line-height:0!important;text-align:center!important;}
body.crm-app .migo-omni-provider-icon-v851 img{display:block!important;margin:0 auto!important;flex:0 0 auto!important;object-fit:contain!important;object-position:center center!important;vertical-align:middle!important;}
body.crm-app .migo-omni-provider-icon-v851.is-email img{width:28px!important;height:28px!important;max-width:28px!important;max-height:28px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-facebook img{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-instagram img{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-whatsapp img{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-telegram img{width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-viber img{width:25px!important;height:25px!important;max-width:25px!important;max-height:25px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-max img{width:29px!important;height:29px!important;max-width:29px!important;max-height:29px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-x img{width:27px!important;height:27px!important;max-width:27px!important;max-height:27px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-wechat img{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-pinterest img{width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-imo img{width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;}
body.crm-app .migo-omni-provider-icon-v851.is-compact img{width:15px!important;height:15px!important;max-width:15px!important;max-height:15px!important;}
body.crm-app .migo-omni-provider-card-v85 .migo-omni-provider-icon-v851{align-self:center!important;justify-self:center!important;}

/* Migo CRM v8.5.7 — Payment Account Composer */
body.crm-app .migo-commercial-dialog-v3064.is-payment-composer-v857 {
  width:min(1180px,calc(100vw - 36px));
  height:min(860px,calc(100dvh - 36px));
}
body.crm-app .migo-payment-composer-v857 {
  padding:18px 20px 24px;
  background:#f7f9fc;
}
body.crm-app .migo-payment-composer-v857 form {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:14px;
}
body.crm-app .migo-payment-composer-section-v857 {
  min-width:0;
  padding:16px;
  border:1px solid #dfe6ee;
  border-radius:12px;
  background:#fff;
  box-shadow:0 2px 8px rgba(15,23,42,.025);
}
body.crm-app .migo-payment-composer-section-v857.is-products-v857,
body.crm-app .migo-payment-composer-section-v857.is-details-v857 { grid-column:1/-1; }
body.crm-app .migo-payment-composer-section-v857>header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:13px;
}
body.crm-app .migo-payment-composer-section-v857>header>div { display:grid; gap:3px; }
body.crm-app .migo-payment-composer-section-v857>header strong { color:#162033; font-size:13px; }
body.crm-app .migo-payment-composer-section-v857>header span { color:#758297; font-size:11px; line-height:1.45; }
body.crm-app .migo-payment-composer-section-v857>header i {
  flex:0 0 auto;
  padding:4px 7px;
  border-radius:999px;
  background:#eef3f8;
  color:#718096;
  font-size:9px;
  font-style:normal;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}
body.crm-app .migo-payment-client-search-v857,
body.crm-app .migo-payment-contract-search-v857 { position:relative; }
body.crm-app .migo-payment-client-search-v857 label,
body.crm-app .migo-payment-contract-search-v857 label,
body.crm-app .migo-payment-details-grid-v857 label { display:grid; gap:6px; color:#344054; font-size:11px; font-weight:750; }
body.crm-app .migo-payment-client-search-v857 label>small,
body.crm-app .migo-payment-contract-search-v857 label>small { min-height:16px; color:#8591a3; font-size:10px; font-weight:500; }
body.crm-app .migo-payment-search-input-v857 {
  position:relative;
  display:flex;
  align-items:center;
  min-width:0;
}
body.crm-app .migo-payment-search-input-v857>.migo-ui-icon {
  position:absolute;
  left:12px;
  z-index:2;
  width:16px;
  height:16px;
  color:#738196;
  pointer-events:none;
}
body.crm-app .migo-payment-search-input-v857>input {
  width:100%;
  min-width:0;
  height:42px;
  padding:0 42px 0 39px;
  border:1px solid #cdd6e1;
  border-radius:9px;
  background:#fff;
  color:#172033;
  font:inherit;
  outline:none;
}
body.crm-app .migo-payment-search-input-v857>input:focus { border-color:#8db5ef; box-shadow:0 0 0 3px rgba(37,99,235,.08); }
body.crm-app .migo-payment-search-input-v857>button {
  position:absolute;
  right:7px;
  display:grid;
  width:29px;
  height:29px;
  place-items:center;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#7b8798;
  cursor:pointer;
}
body.crm-app .migo-payment-search-input-v857>button:hover { background:#f1f4f8; }
body.crm-app .migo-payment-search-input-v857>button .migo-ui-icon { width:14px; height:14px; }
body.crm-app .migo-payment-search-results-v857 {
  position:absolute;
  z-index:60;
  top:calc(100% - 14px);
  right:0;
  left:0;
  max-height:290px;
  overflow:auto;
  padding:5px;
  border:1px solid #d9e1ea;
  border-radius:10px;
  background:#fff;
  box-shadow:0 18px 45px rgba(15,23,42,.14);
}
body.crm-app .migo-payment-search-results-v857[hidden] { display:none!important; }
body.crm-app .migo-payment-search-results-v857>button {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  padding:9px 10px;
  border:0;
  border-radius:7px;
  background:#fff;
  color:#26344a;
  text-align:left;
  cursor:pointer;
}
body.crm-app .migo-payment-search-results-v857>button:hover,
body.crm-app .migo-payment-search-results-v857>button:focus-visible { background:#f3f6f9; outline:0; }
body.crm-app .migo-payment-search-results-v857>button span { min-width:0; overflow:hidden; }
body.crm-app .migo-payment-search-results-v857>button strong,
body.crm-app .migo-payment-search-results-v857>button small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-payment-search-results-v857>button strong { font-size:11px; }
body.crm-app .migo-payment-search-results-v857>button small { margin-top:2px; color:#7d899a; font-size:9px; font-weight:500; }
body.crm-app .migo-payment-search-results-v857>button b {
  flex:0 0 auto;
  padding:4px 7px;
  border-radius:999px;
  background:#eef3f8;
  color:#607086;
  font-size:9px;
}
body.crm-app .migo-payment-search-state-v857 { padding:12px; color:#7c899a; font-size:10px; text-align:center; }
body.crm-app .migo-payment-search-state-v857.is-error { color:#b42318; }
body.crm-app .migo-payment-product-picker-v857 { position:relative; }
body.crm-app .migo-payment-product-results-v857 {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin-top:8px;
}
body.crm-app .migo-payment-product-results-v857>button {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px;
  min-width:0;
  padding:9px 10px;
  border:1px solid #e0e6ee;
  border-radius:9px;
  background:#fbfcfe;
  color:#223047;
  text-align:left;
  cursor:pointer;
}
body.crm-app .migo-payment-product-results-v857>button:hover { border-color:#b9cce6; background:#f5f8fc; }
body.crm-app .migo-payment-product-copy-v857 { display:flex; align-items:center; gap:9px; min-width:0; }
body.crm-app .migo-payment-product-copy-v857>span:last-child { min-width:0; }
body.crm-app .migo-payment-product-copy-v857 strong,
body.crm-app .migo-payment-product-copy-v857 small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-payment-product-copy-v857 strong { font-size:11px; }
body.crm-app .migo-payment-product-copy-v857 small { margin-top:2px; color:#8490a1; font-size:9px; }
body.crm-app .migo-payment-product-results-v857>button>b { color:#35445a; font-size:10px; white-space:nowrap; }
body.crm-app .migo-payment-product-results-v857>button>em { padding:5px 7px; border-radius:7px; background:#eaf2ff; color:#1257bd; font-size:9px; font-style:normal; font-weight:800; }
body.crm-app .migo-payment-items-v857 { margin-top:12px; }
body.crm-app .migo-payment-items-empty-v857 {
  display:grid;
  place-items:center;
  gap:4px;
  min-height:105px;
  border:1px dashed #ccd5df;
  border-radius:10px;
  background:#fafbfd;
  color:#7b8798;
  text-align:center;
}
body.crm-app .migo-payment-items-empty-v857 .migo-ui-icon { width:18px; height:18px; }
body.crm-app .migo-payment-items-empty-v857 strong { color:#48576b; font-size:11px; }
body.crm-app .migo-payment-items-empty-v857 span { font-size:9px; }
body.crm-app .migo-payment-items-table-wrap-v857 { overflow:auto; border:1px solid #e0e6ed; border-radius:10px; }
body.crm-app .migo-payment-items-table-v857 { width:100%; min-width:960px; border-collapse:collapse; background:#fff; }
body.crm-app .migo-payment-items-table-v857 th,
body.crm-app .migo-payment-items-table-v857 td { padding:9px 8px; border-bottom:1px solid #edf0f4; vertical-align:middle; }
body.crm-app .migo-payment-items-table-v857 th { background:#f8fafc; color:#778397; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.03em; }
body.crm-app .migo-payment-items-table-v857 td { color:#35445a; font-size:10px; }
body.crm-app .migo-payment-items-table-v857 tbody tr:last-child td { border-bottom:0; }
body.crm-app .migo-payment-line-product-v857 { display:flex; align-items:center; gap:8px; min-width:210px; }
body.crm-app .migo-payment-line-product-v857>span:last-child { min-width:0; }
body.crm-app .migo-payment-line-product-v857 strong,
body.crm-app .migo-payment-line-product-v857 small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-payment-line-product-v857 strong { color:#1f2c40; font-size:10px; }
body.crm-app .migo-payment-line-product-v857 small { margin-top:2px; color:#8490a1; font-size:8px; }
body.crm-app .migo-payment-items-table-v857 input,
body.crm-app .migo-payment-items-table-v857 select {
  width:100%;
  min-width:82px;
  height:34px;
  padding:0 8px;
  border:1px solid #d2dae4;
  border-radius:7px;
  background:#fff;
  color:#26344a;
  font:inherit;
}
body.crm-app .migo-payment-items-table-v857 select { min-width:120px; }
body.crm-app .migo-payment-money-input-v857,
body.crm-app .migo-payment-percent-input-v857 { position:relative; min-width:105px; }
body.crm-app .migo-payment-money-input-v857 span,
body.crm-app .migo-payment-percent-input-v857 span { position:absolute; top:50%; right:8px; transform:translateY(-50%); color:#8995a5; font-size:8px; pointer-events:none; }
body.crm-app .migo-payment-money-input-v857 input { padding-right:35px; }
body.crm-app .migo-payment-percent-input-v857 input { padding-right:23px; }
body.crm-app .migo-payment-items-table-v857 [data-line-remove] { display:grid; width:32px; height:32px; place-items:center; border:0; border-radius:7px; background:#fff1f1; color:#c0362c; cursor:pointer; }
body.crm-app .migo-payment-items-table-v857 [data-line-remove] .migo-ui-icon { width:14px; height:14px; }
body.crm-app .migo-payment-details-grid-v857 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
body.crm-app .migo-payment-details-grid-v857 .span-2 { grid-column:span 2; }
body.crm-app .migo-payment-details-grid-v857 input,
body.crm-app .migo-payment-details-grid-v857 select,
body.crm-app .migo-payment-details-grid-v857 textarea {
  width:100%;
  box-sizing:border-box;
  border:1px solid #d0d9e3;
  border-radius:8px;
  background:#fff;
  color:#26344a;
  font:inherit;
}
body.crm-app .migo-payment-details-grid-v857 input,
body.crm-app .migo-payment-details-grid-v857 select { height:38px; padding:0 10px; }
body.crm-app .migo-payment-details-grid-v857 textarea { resize:vertical; padding:9px 10px; }
body.crm-app .migo-payment-total-panel-v857 {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-top:12px;
}
body.crm-app .migo-payment-total-panel-v857>div { display:grid; gap:3px; padding:10px 12px; border:1px solid #e2e7ed; border-radius:9px; background:#f9fbfd; }
body.crm-app .migo-payment-total-panel-v857 span { color:#7a8798; font-size:9px; }
body.crm-app .migo-payment-total-panel-v857 strong { color:#25344a; font-size:13px; }
body.crm-app .migo-payment-total-panel-v857 .is-total { border-color:#c7d9f3; background:#edf5ff; }
body.crm-app .migo-payment-total-panel-v857 .is-total strong { color:#0b57bd; font-size:15px; }
body.crm-app .migo-payment-composer-message-v857 { min-height:18px; margin-top:10px; color:#64748b; font-size:10px; }
body.crm-app .migo-payment-composer-message-v857.is-error { color:#b42318; }
body.crm-app .migo-payment-composer-loading-v857 { display:grid; place-items:center; gap:7px; min-height:260px; color:#7b8798; text-align:center; }
body.crm-app .migo-payment-composer-loading-v857 .migo-ui-icon { width:24px; height:24px; }
body.crm-app .migo-payment-composer-loading-v857 strong { color:#344054; font-size:13px; }
body.crm-app .migo-payment-composer-loading-v857 span { max-width:440px; font-size:10px; line-height:1.5; }
body.crm-app .migo-payment-composer-loading-v857 button { margin-top:6px; padding:8px 12px; border:1px solid #cdd6e1; border-radius:8px; background:#fff; font-weight:750; cursor:pointer; }
body.crm-app .migo-payment-composer-actions-v857 { flex:0 0 auto; }
body.crm-app .migo-payment-composer-actions-v857[hidden] { display:none!important; }
@media (max-width:900px) {
  body.crm-app .migo-payment-composer-v857 form { grid-template-columns:1fr; }
  body.crm-app .migo-payment-composer-section-v857.is-products-v857,
  body.crm-app .migo-payment-composer-section-v857.is-details-v857 { grid-column:auto; }
  body.crm-app .migo-payment-product-results-v857 { grid-template-columns:1fr; }
  body.crm-app .migo-payment-details-grid-v857 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.crm-app .migo-payment-total-panel-v857 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:580px) {
  body.crm-app .migo-commercial-dialog-v3064.is-payment-composer-v857 { width:calc(100vw - 12px); height:calc(100dvh - 12px); }
  body.crm-app .migo-payment-composer-v857 { padding:12px; }
  body.crm-app .migo-payment-details-grid-v857 { grid-template-columns:1fr; }
  body.crm-app .migo-payment-details-grid-v857 .span-2 { grid-column:auto; }
  body.crm-app .migo-payment-total-panel-v857 { grid-template-columns:1fr 1fr; }
}
/* End Migo CRM v8.5.7 Payment Account Composer */


/* Migo CRM v8.5.8 — professional Offer + Payment composers */
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858{width:min(1180px,calc(100vw - 40px));max-height:min(900px,calc(100vh - 34px));border-radius:22px;overflow:hidden;background:#fff;}
body.crm-app .migo-composer-head-v858{padding:20px 24px 16px;border-bottom:1px solid #e7edf5;align-items:flex-start;}
body.crm-app .migo-composer-head-v858>div{display:grid;gap:3px;}
body.crm-app .migo-composer-head-v858 h2{font-size:22px;line-height:1.2;}
body.crm-app .migo-composer-head-v858 p{margin:2px 0 0;color:#70819a;font-size:12px;font-weight:500;}
body.crm-app .migo-commercial-composer-v858{padding:18px 22px 22px;background:#f8fafc;}
body.crm-app .migo-composer-layout-v858{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start;}
body.crm-app .migo-composer-main-v858{display:grid;gap:14px;min-width:0;}
body.crm-app .migo-composer-card-v858{position:relative;background:#fff;border:1px solid #dde6f1;border-radius:16px;padding:16px;box-shadow:0 1px 2px rgba(15,23,42,.02);}
body.crm-app .migo-composer-card-v858>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px;}
body.crm-app .migo-composer-card-v858>header>div{display:grid;gap:3px;}
body.crm-app .migo-composer-card-v858>header b{font-size:14px;color:#152238;}
body.crm-app .migo-composer-card-v858>header span{font-size:11px;color:#7a899f;line-height:1.45;}
body.crm-app .migo-composer-card-v858>header em{font-style:normal;font-size:10px;font-weight:800;color:#557197;background:#f1f5f9;border-radius:999px;padding:4px 7px;white-space:nowrap;}
body.crm-app .migo-composer-search-v858{height:42px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid #cfdbea;background:#fff;border-radius:11px;padding:0 11px;color:#7790ad;transition:border-color .15s,box-shadow .15s;}
body.crm-app .migo-composer-search-v858:focus-within{border-color:#6da3f7;box-shadow:0 0 0 3px rgba(59,130,246,.10);}
body.crm-app .migo-composer-search-v858>.migo-ui-icon{width:16px;height:16px;}
body.crm-app .migo-composer-search-v858 input{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;min-width:0;padding:0!important;height:40px;font-size:13px;}
body.crm-app .migo-composer-search-v858 button{width:28px;height:28px;display:grid;place-items:center;border:0;border-radius:8px;background:#f1f5f9;color:#60758f;padding:0;}
body.crm-app .migo-composer-help-v858,body.crm-app .migo-composer-fields-v858 small{display:block;margin-top:7px;font-size:10.5px;color:#8796aa;}
body.crm-app .migo-composer-results-v858{position:absolute;z-index:25;left:16px;right:16px;margin-top:6px;max-height:280px;overflow:auto;background:#fff;border:1px solid #d7e1ed;border-radius:12px;box-shadow:0 16px 36px rgba(15,23,42,.14);padding:6px;}
body.crm-app .migo-composer-results-v858 button,body.crm-app .migo-composer-product-results-v858 button{width:100%;border:0;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;border-radius:9px;padding:9px 10px;color:#24344d;}
body.crm-app .migo-composer-results-v858 button:hover,body.crm-app .migo-composer-product-results-v858 button:hover{background:#f4f7fb;}
body.crm-app .migo-composer-results-v858 button>span,body.crm-app .migo-composer-product-results-v858 button>span{display:flex;align-items:center;gap:9px;min-width:0;}
body.crm-app .migo-composer-results-v858 button>span>span,body.crm-app .migo-composer-product-results-v858 button>span>span{display:grid;gap:2px;min-width:0;}
body.crm-app .migo-composer-results-v858 strong,body.crm-app .migo-composer-product-results-v858 strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.crm-app .migo-composer-results-v858 small,body.crm-app .migo-composer-product-results-v858 small{font-size:10px;color:#8493a7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.crm-app .migo-composer-results-v858 b{font-size:10px;color:#52709a;background:#edf4ff;border-radius:999px;padding:4px 7px;white-space:nowrap;}
body.crm-app .migo-composer-product-results-v858{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px;max-height:190px;overflow:auto;}
body.crm-app .migo-composer-product-results-v858 button{border:1px solid #e2e8f0;background:#fbfcfe;}
body.crm-app .migo-composer-product-results-v858 button>b{font-size:11px;margin-left:auto;white-space:nowrap;}
body.crm-app .migo-composer-product-results-v858 button>em{font-style:normal;font-size:10px;font-weight:800;color:#1769d2;background:#edf5ff;border-radius:7px;padding:5px 7px;}
body.crm-app .migo-composer-items-v858{margin-top:12px;}
body.crm-app .migo-composer-lines-v858{display:grid;gap:8px;}
body.crm-app .migo-composer-lines-v858>article{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(105px,.7fr) 74px 118px 82px 76px 112px 34px;gap:8px;align-items:end;border:1px solid #e1e8f1;border-radius:12px;padding:10px;background:#fff;}
body.crm-app .migo-composer-line-product-v858{display:flex;align-items:center;gap:9px;min-width:0;align-self:center;}
body.crm-app .migo-composer-line-product-v858>span:last-child{display:grid;gap:2px;min-width:0;}
body.crm-app .migo-composer-line-product-v858 strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.crm-app .migo-composer-line-product-v858 small{font-size:9.5px;color:#8a98ab;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.crm-app .migo-composer-lines-v858 label,body.crm-app .migo-composer-summary-card-v858 label,body.crm-app .migo-composer-fields-v858 label{display:grid;gap:5px;min-width:0;font-size:10px;font-weight:700;color:#64748b;}
body.crm-app .migo-composer-lines-v858 input,body.crm-app .migo-composer-lines-v858 select,body.crm-app .migo-composer-summary-card-v858 input,body.crm-app .migo-composer-summary-card-v858 select,body.crm-app .migo-composer-fields-v858 input,body.crm-app .migo-composer-fields-v858 textarea{width:100%;min-width:0;border:1px solid #d5dfeb;border-radius:9px;background:#fff;padding:8px 9px;font:inherit;color:#1f2d43;outline:0;}
body.crm-app .migo-composer-lines-v858 input:focus,body.crm-app .migo-composer-lines-v858 select:focus,body.crm-app .migo-composer-summary-card-v858 input:focus,body.crm-app .migo-composer-summary-card-v858 select:focus,body.crm-app .migo-composer-fields-v858 input:focus,body.crm-app .migo-composer-fields-v858 textarea:focus{border-color:#6da3f7;box-shadow:0 0 0 3px rgba(59,130,246,.08);}
body.crm-app .migo-composer-line-total-v858{display:grid;gap:5px;align-self:center;}
body.crm-app .migo-composer-line-total-v858 span{font-size:10px;color:#7c8ba0;}
body.crm-app .migo-composer-line-total-v858 strong{font-size:12px;color:#17243a;white-space:nowrap;}
body.crm-app .migo-composer-lines-v858>article>button{align-self:center;width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:8px;background:#fff1f2;color:#be3348;padding:0;}
body.crm-app .migo-composer-lines-v858>article>button .migo-ui-icon{width:15px;height:15px;}
body.crm-app .migo-composer-money-v858{position:relative;display:flex;align-items:center;}
body.crm-app .migo-composer-money-v858 input{padding-right:42px!important;}
body.crm-app .migo-composer-money-v858 i{position:absolute;right:9px;font-style:normal;font-size:9px;color:#8796aa;font-weight:800;pointer-events:none;}
body.crm-app .migo-composer-empty-v858{display:grid;place-items:center;text-align:center;gap:4px;border:1px dashed #d8e1ec;border-radius:12px;padding:18px;color:#7c8da3;background:#fbfcfe;}
body.crm-app .migo-composer-empty-v858 .migo-ui-icon{width:20px;height:20px;}
body.crm-app .migo-composer-empty-v858 strong{font-size:12px;color:#4d5f77;}
body.crm-app .migo-composer-empty-v858 span{font-size:10.5px;}
body.crm-app .migo-composer-fields-v858{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
body.crm-app .migo-composer-fields-v858 .span-2{grid-column:1/-1;}
body.crm-app .migo-composer-fields-v858 textarea{resize:vertical;min-height:74px;line-height:1.45;}
body.crm-app .migo-composer-summary-v858{position:sticky;top:0;}
body.crm-app .migo-composer-summary-card-v858{background:#fff;border:1px solid #d9e3ef;border-radius:16px;padding:16px;box-shadow:0 8px 26px rgba(15,23,42,.055);display:grid;gap:12px;}
body.crm-app .migo-composer-summary-card-v858>header{display:grid;gap:3px;padding-bottom:11px;border-bottom:1px solid #edf1f6;}
body.crm-app .migo-composer-summary-card-v858>header b{font-size:14px;color:#17243a;}
body.crm-app .migo-composer-summary-card-v858>header span{font-size:10.5px;color:#8492a6;}
body.crm-app .migo-composer-totals-v858{display:grid;gap:9px;border-top:1px solid #edf1f6;padding-top:12px;}
body.crm-app .migo-composer-totals-v858>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:#718096;}
body.crm-app .migo-composer-totals-v858 strong{font-size:12px;color:#25364f;white-space:nowrap;}
body.crm-app .migo-composer-totals-v858 .is-grand-v858{margin-top:2px;padding-top:12px;border-top:1px solid #dce6f1;color:#18273d;}
body.crm-app .migo-composer-totals-v858 .is-grand-v858 span{font-weight:800;}
body.crm-app .migo-composer-totals-v858 .is-grand-v858 strong{font-size:19px;color:#0d5fcc;}
body.crm-app .migo-composer-note-v858{font-size:10.5px;line-height:1.5;color:#718197;background:#f6f8fb;border-radius:10px;padding:10px;}
body.crm-app .migo-composer-message-v858{margin-top:12px;min-height:18px;font-size:11px;color:#58708f;}
body.crm-app .migo-composer-message-v858.is-error{color:#b42338;background:#fff1f2;border:1px solid #fecdd3;border-radius:10px;padding:9px 11px;}
body.crm-app .migo-composer-actions-v858{padding:13px 22px;border-top:1px solid #e6edf5;background:#fff;justify-content:flex-end;}
body.crm-app .migo-composer-actions-v858 button{min-height:38px;}
body.crm-app .migo-composer-loading-v858{min-height:330px;display:grid;place-items:center;align-content:center;text-align:center;gap:7px;color:#77879c;}
body.crm-app .migo-composer-loading-v858 .migo-ui-icon{width:24px;height:24px;}
body.crm-app .migo-composer-loading-v858 strong{font-size:14px;color:#34465e;}
body.crm-app .migo-composer-loading-v858 span{font-size:11px;}
body.crm-app .migo-composer-state-v858{padding:12px;text-align:center;color:#8492a5;font-size:11px;}
body.crm-app .migo-composer-state-v858.is-error{color:#b42338;}
@media(max-width:1120px){body.crm-app .migo-composer-layout-v858{grid-template-columns:1fr;}body.crm-app .migo-composer-summary-v858{position:static;}body.crm-app .migo-composer-lines-v858>article{grid-template-columns:minmax(180px,1.4fr) minmax(100px,.7fr) 72px 110px;}.migo-composer-lines-v858>article label:nth-of-type(4),.migo-composer-lines-v858>article label:nth-of-type(5){display:none;}}
@media(max-width:760px){body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858{width:calc(100vw - 14px);max-height:calc(100vh - 14px);border-radius:16px;}body.crm-app .migo-commercial-composer-v858{padding:12px;}body.crm-app .migo-composer-product-results-v858{grid-template-columns:1fr;}body.crm-app .migo-composer-lines-v858>article{grid-template-columns:1fr 1fr;align-items:end;}body.crm-app .migo-composer-line-product-v858{grid-column:1/-1;}body.crm-app .migo-composer-line-total-v858{grid-column:1/-1;}body.crm-app .migo-composer-fields-v858{grid-template-columns:1fr;}body.crm-app .migo-composer-fields-v858 .span-2{grid-column:auto;}}


/* Migo CRM v8.5.8.1 — Commercial composers use the canonical compact modal language. */
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 {
  width: min(1080px, calc(100vw - 32px)) !important;
  max-width: none !important;
  max-height: min(760px, calc(100dvh - 32px)) !important;
  border: 1px solid #d9e1ea !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 24px 72px rgba(15,23,42,.22) !important;
  overflow: hidden !important;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-head-v858 {
  min-height: 58px !important;
  padding: 12px 16px 12px 18px !important;
  align-items: center !important;
  background: #fff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-head-v858 > div {
  display: block !important;
  min-width: 0 !important;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-head-v858 > div > span,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-head-v858 p {
  display: none !important;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-head-v858 h2 {
  margin: 0 !important;
  color: #101828 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-head-v858 > button {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  flex: 0 0 34px !important;
  border: 1px solid #d9e1ea !important;
  border-radius: 6px !important;
  color: #475467 !important;
  background: #fff !important;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-commercial-dialog-scroll-v3064 {
  padding: 0 !important;
  background: #fff !important;
  overflow: auto !important;
  overscroll-behavior: contain;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-commercial-composer-v858 {
  padding: 18px !important;
  background: #fff !important;
}
body.crm-app .migo-composer-layout-v858 {
  grid-template-columns: minmax(0, 1fr) 250px !important;
  gap: 16px !important;
  align-items: start !important;
}
body.crm-app .migo-composer-main-v858 {
  min-width: 0 !important;
  gap: 12px !important;
  overflow: visible !important;
}
body.crm-app .migo-composer-card-v858 {
  min-width: 0 !important;
  padding: 14px !important;
  border: 1px solid #d9e1ea !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.crm-app .migo-composer-card-v858 > header {
  align-items: center !important;
  margin-bottom: 11px !important;
}
body.crm-app .migo-composer-card-v858 > header > div { gap: 2px !important; }
body.crm-app .migo-composer-card-v858 > header b {
  color: #101828 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
body.crm-app .migo-composer-card-v858 > header span {
  color: #667085 !important;
  font-size: 10.5px !important;
}
body.crm-app .migo-composer-card-v858 > header em {
  padding: 3px 6px !important;
  border-radius: 5px !important;
  color: #667085 !important;
  background: #f2f4f7 !important;
  font-size: 9px !important;
}
body.crm-app .migo-composer-search-v858 {
  height: 40px !important;
  border-color: #cfd8e3 !important;
  border-radius: 6px !important;
  padding: 0 10px !important;
  box-shadow: none !important;
}
body.crm-app .migo-composer-search-v858:focus-within {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12) !important;
}
body.crm-app .migo-composer-search-v858 input { height: 38px !important; font-size: 13px !important; }
body.crm-app .migo-composer-search-v858 button { width: 26px !important; height: 26px !important; border-radius: 5px !important; }
body.crm-app .migo-composer-results-v858 {
  left: 14px !important;
  right: 14px !important;
  z-index: 40 !important;
  border-radius: 6px !important;
  border-color: #cfd8e3 !important;
  box-shadow: 0 12px 32px rgba(15,23,42,.14) !important;
}
body.crm-app .migo-composer-product-results-v858 {
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  max-height: 158px !important;
  overflow: auto !important;
}
body.crm-app .migo-composer-product-results-v858 button,
body.crm-app .migo-composer-results-v858 button {
  border-radius: 6px !important;
}

/* A payment/offer line uses two compact control rows. This prevents it ever running under the summary column. */
body.crm-app .migo-composer-lines-v858 { gap: 8px !important; }
body.crm-app .migo-composer-lines-v858 > article {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(170px, 1fr) 124px 72px 112px 32px !important;
  grid-template-rows: auto auto !important;
  gap: 8px !important;
  align-items: end !important;
  padding: 10px !important;
  border: 1px solid #dfe5ec !important;
  border-radius: 7px !important;
  background: #fff !important;
  overflow: hidden !important;
}
body.crm-app .migo-composer-lines-v858 > article > .migo-composer-line-product-v858 {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
  min-width: 0 !important;
}
body.crm-app .migo-composer-lines-v858 > article > label:nth-of-type(1) { grid-column: 2 !important; grid-row: 1 !important; }
body.crm-app .migo-composer-lines-v858 > article > label:nth-of-type(2) { grid-column: 3 !important; grid-row: 1 !important; }
body.crm-app .migo-composer-lines-v858 > article > label:nth-of-type(3) { grid-column: 4 !important; grid-row: 1 !important; }
body.crm-app .migo-composer-lines-v858 > article > label:nth-of-type(4) { grid-column: 2 !important; grid-row: 2 !important; display:grid !important; }
body.crm-app .migo-composer-lines-v858 > article > label:nth-of-type(5) { grid-column: 3 !important; grid-row: 2 !important; display:grid !important; }
body.crm-app .migo-composer-lines-v858 > article > .migo-composer-line-total-v858 { grid-column: 4 !important; grid-row: 2 !important; align-self:end !important; }
body.crm-app .migo-composer-lines-v858 > article > button { grid-column: 5 !important; grid-row: 1 !important; align-self:end !important; }
body.crm-app .migo-composer-lines-v858 label,
body.crm-app .migo-composer-summary-card-v858 label,
body.crm-app .migo-composer-fields-v858 label {
  gap: 5px !important;
  color: #344054 !important;
  font-size: 10px !important;
  font-weight: 650 !important;
}
body.crm-app .migo-composer-lines-v858 input,
body.crm-app .migo-composer-lines-v858 select,
body.crm-app .migo-composer-summary-card-v858 input,
body.crm-app .migo-composer-summary-card-v858 select,
body.crm-app .migo-composer-fields-v858 input,
body.crm-app .migo-composer-fields-v858 textarea {
  min-height: 38px !important;
  padding: 8px 10px !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 6px !important;
  color: #101828 !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.crm-app .migo-composer-lines-v858 input:focus,
body.crm-app .migo-composer-lines-v858 select:focus,
body.crm-app .migo-composer-summary-card-v858 input:focus,
body.crm-app .migo-composer-summary-card-v858 select:focus,
body.crm-app .migo-composer-fields-v858 input:focus,
body.crm-app .migo-composer-fields-v858 textarea:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12) !important;
}
body.crm-app .migo-composer-summary-v858 {
  position: sticky !important;
  top: 0 !important;
  min-width: 0 !important;
}
body.crm-app .migo-composer-summary-card-v858 {
  padding: 14px !important;
  gap: 10px !important;
  border: 1px solid #d9e1ea !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}
body.crm-app .migo-composer-summary-card-v858 > header {
  padding-bottom: 9px !important;
}
body.crm-app .migo-composer-summary-card-v858 > header b { color:#101828 !important; font-size:13px !important; }
body.crm-app .migo-composer-totals-v858 { gap: 7px !important; padding-top: 10px !important; }
body.crm-app .migo-composer-totals-v858 .is-grand-v858 { padding-top: 10px !important; }
body.crm-app .migo-composer-totals-v858 .is-grand-v858 strong { font-size: 17px !important; }
body.crm-app .migo-composer-note-v858 {
  padding: 9px !important;
  border-radius: 6px !important;
  background: #f8fafc !important;
}
body.crm-app .migo-composer-actions-v858 {
  min-height: 62px !important;
  padding: 12px 18px !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}
body.crm-app .migo-composer-actions-v858 button {
  min-height: 38px !important;
  height: 38px !important;
  padding: 8px 13px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
body.crm-app .migo-composer-actions-v858 .migo-commercial-primary-v3064 {
  color:#fff !important;
  background:#111c34 !important;
  border-color:#111c34 !important;
}
body.crm-app .migo-composer-actions-v858 .migo-commercial-primary-v3064:hover {
  background:#1d2a44 !important;
  border-color:#1d2a44 !important;
}

@media (max-width: 980px) {
  body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 { width: min(760px, calc(100vw - 24px)) !important; }
  body.crm-app .migo-composer-layout-v858 { grid-template-columns: 1fr !important; }
  body.crm-app .migo-composer-summary-v858 { position: static !important; }
}
@media (max-width: 720px) {
  body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 {
    width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 16px) !important;
    border-radius: 8px !important;
  }
  body.crm-app .migo-commercial-composer-v858 { padding: 12px !important; }
  body.crm-app .migo-composer-product-results-v858 { grid-template-columns: 1fr !important; }
  body.crm-app .migo-composer-lines-v858 > article {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 32px !important;
    grid-template-rows: auto auto auto auto !important;
  }
  body.crm-app .migo-composer-lines-v858 > article > .migo-composer-line-product-v858 { grid-column:1/3 !important;grid-row:1 !important; }
  body.crm-app .migo-composer-lines-v858 > article > label:nth-of-type(1) { grid-column:1/3 !important;grid-row:2 !important; }
  body.crm-app .migo-composer-lines-v858 > article > label:nth-of-type(2) { grid-column:1 !important;grid-row:3 !important; }
  body.crm-app .migo-composer-lines-v858 > article > label:nth-of-type(3) { grid-column:2 !important;grid-row:3 !important; }
  body.crm-app .migo-composer-lines-v858 > article > label:nth-of-type(4) { grid-column:1 !important;grid-row:4 !important; }
  body.crm-app .migo-composer-lines-v858 > article > label:nth-of-type(5) { grid-column:2 !important;grid-row:4 !important; }
  body.crm-app .migo-composer-lines-v858 > article > .migo-composer-line-total-v858 { grid-column:1/3 !important;grid-row:5 !important; }
  body.crm-app .migo-composer-lines-v858 > article > button { grid-column:3 !important;grid-row:1 !important; }
  body.crm-app .migo-composer-fields-v858 { grid-template-columns:1fr !important; }
  body.crm-app .migo-composer-fields-v858 .span-2 { grid-column:auto !important; }
}


/* Migo CRM v8.5.8.2 — composer scrollbar + Offer Deal field polish */
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-commercial-dialog-scroll-v3064,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-results-v858,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-product-results-v858 {
  scrollbar-width: thin !important;
  scrollbar-color: #cbd8c7 transparent !important;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-commercial-dialog-scroll-v3064::-webkit-scrollbar,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-results-v858::-webkit-scrollbar,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-product-results-v858::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-commercial-dialog-scroll-v3064::-webkit-scrollbar-track,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-results-v858::-webkit-scrollbar-track,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-product-results-v858::-webkit-scrollbar-track {
  background: transparent !important;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-commercial-dialog-scroll-v3064::-webkit-scrollbar-thumb,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-results-v858::-webkit-scrollbar-thumb,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-product-results-v858::-webkit-scrollbar-thumb {
  background: #cbd8c7 !important;
  border-radius: 99px !important;
}
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-commercial-dialog-scroll-v3064::-webkit-scrollbar-thumb:hover,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-results-v858::-webkit-scrollbar-thumb:hover,
body.crm-app .migo-commercial-dialog-v3064.is-pro-composer-v858 .migo-composer-product-results-v858::-webkit-scrollbar-thumb:hover {
  background: #aebdaf !important;
}

/* Search wrapper must be the only visible field border. Generic .migo-composer-fields input rules were creating a second input box. */
body.crm-app .migo-composer-fields-v858 .migo-composer-search-field-v858 {
  position: relative !important;
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
}
body.crm-app .migo-composer-fields-v858 .migo-composer-search-field-v858 > .migo-composer-search-v858 {
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  display: grid !important;
  grid-template-columns: 18px minmax(0,1fr) 26px !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 8px 0 10px !important;
  border: 1px solid #cfd8e3 !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-sizing: border-box !important;
}
body.crm-app .migo-composer-fields-v858 .migo-composer-search-field-v858 > .migo-composer-search-v858:focus-within {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12) !important;
}
body.crm-app .migo-composer-fields-v858 .migo-composer-search-field-v858 > .migo-composer-search-v858 > .migo-ui-icon {
  width: 16px !important;
  height: 16px !important;
  justify-self: center !important;
  flex: none !important;
}
body.crm-app .migo-composer-fields-v858 .migo-composer-search-field-v858 > .migo-composer-search-v858 > input[type="search"] {
  width: 100% !important;
  min-width: 0 !important;
  height: 38px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #101828 !important;
  font-size: 13px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}
body.crm-app .migo-composer-fields-v858 .migo-composer-search-field-v858 > .migo-composer-search-v858 > input[type="search"]:focus {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
body.crm-app .migo-composer-fields-v858 .migo-composer-search-field-v858 > .migo-composer-search-v858 > button {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: #f1f5f9 !important;
  display: grid !important;
  place-items: center !important;
}
body.crm-app .migo-composer-fields-v858 .migo-composer-search-field-v858 > .migo-composer-search-v858 > button[hidden],
body.crm-app .migo-composer-search-v858 > button[hidden] {
  display: none !important;
}
body.crm-app .migo-composer-fields-v858 .migo-composer-search-field-v858 > .migo-composer-results-v858 {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Migo CRM v8.5.8.3 — Deal search is a real editable combobox */
body.crm-app .migo-composer-fields-v858 .migo-offer-deal-field-v8583{position:relative!important;display:grid!important;gap:5px!important;min-width:0!important;}
body.crm-app .migo-composer-fields-v858 .migo-offer-deal-field-v8583>.migo-composer-field-label-v8583{display:block!important;color:#344054!important;font-size:11px!important;font-weight:700!important;line-height:1.35!important;}
body.crm-app .migo-offer-deal-field-v8583 [data-offer-deal-search]{pointer-events:auto!important;user-select:text!important;-webkit-user-select:text!important;cursor:text!important;caret-color:#101828!important;}
body.crm-app .migo-offer-deal-field-v8583 [data-offer-deal-results]{top:66px!important;left:0!important;right:0!important;width:100%!important;margin-top:0!important;}
body.crm-app .migo-offer-deal-field-v8583 [data-offer-deal-results] button{cursor:pointer!important;}


/* Migo CRM v8.5.9 Product Editor Refresh */
.migo-products-editor-dialog-v3094 { width:min(1240px,calc(100vw - 28px)); max-width:min(1240px,calc(100vw - 28px)); border:1px solid #d9e2ec; border-radius:22px; box-shadow:0 30px 80px rgba(15,23,42,.22); overflow:hidden; }
.migo-products-editor-v3094 { background:#fff; }
.migo-products-editor-head-v3094 { padding:18px 24px; min-height:72px; border-bottom:1px solid #e7edf4; align-items:center; }
.migo-products-editor-head-v3094 h2 { font-size:18px; font-weight:800; }
.migo-products-editor-head-v3094 span { font-size:11px; letter-spacing:.08em; color:#667085; }
.migo-products-editor-body-v3094 { padding:18px 24px 110px; scrollbar-width:thin; scrollbar-color:#c7d2e2 transparent; }
.migo-products-editor-body-v3094::-webkit-scrollbar { width:6px; height:6px; }
.migo-products-editor-body-v3094::-webkit-scrollbar-thumb { background:#c7d2e2; border-radius:999px; }
.migo-products-editor-body-v3094::-webkit-scrollbar-track { background:transparent; }
.migo-product-form-v3112 { display:grid; gap:16px; }
.migo-product-card-v3112 { border:1px solid #e4eaf2; border-radius:18px; background:#fff; padding:16px; box-shadow:0 1px 0 rgba(15,23,42,.02); }
.migo-product-card-head-v3112 { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:14px; }
.migo-product-card-head-v3112 strong { display:block; font-size:15px; color:#0f172a; }
.migo-product-card-head-v3112 p { margin:.25rem 0 0; max-width:760px; }
.migo-product-card-pill-v3112 { border-radius:999px; padding:4px 10px; background:#eef2f7; color:#64748b; font-size:11px; font-weight:800; text-transform:lowercase; }
.migo-products-editor-dialog-v3094 .migo-product-grid-v3112 { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:12px !important; }
.migo-products-editor-dialog-v3094 .migo-product-grid-v3112 label { color:#344054; font-size:13px; font-weight:700; }
.migo-products-editor-dialog-v3094 .migo-product-grid-v3112 input,
.migo-products-editor-dialog-v3094 .migo-product-grid-v3112 select,
.migo-products-editor-dialog-v3094 .migo-product-grid-v3112 textarea { margin-top:6px; min-height:46px; border:1px solid #d6dee8; border-radius:14px; padding:11px 14px; background:#fff; box-shadow:none; }
.migo-products-editor-dialog-v3094 .migo-product-grid-v3112 textarea { min-height:120px; }
.migo-product-specs-v3112 { display:grid; gap:10px; }
.migo-product-specs-head-v3112, .migo-product-spec-row-v3112 { display:grid; grid-template-columns:minmax(200px,1fr) minmax(280px,1.2fr) auto; gap:10px; align-items:center; }
.migo-product-specs-head-v3112 { padding:0 2px; color:#667085; font-size:12px; font-weight:700; }
.migo-product-specs-box-v3112 { display:grid; gap:10px; }
.migo-product-spec-row-v3112 input { width:100%; min-height:44px; border:1px solid #d6dee8; border-radius:14px; padding:10px 12px; background:#fff; }
.migo-spec-remove-v3112 { min-width:44px; min-height:44px; display:inline-flex; align-items:center; justify-content:center; padding:0; }
.migo-product-variants-box-v3112 { border:1px solid #e4eaf2; border-radius:18px; background:#f8fafc; padding:16px; margin-top:0; }
.migo-product-variants-list-v3112 { display:grid; gap:10px; margin-bottom:14px; }
.migo-product-variant-row-v3112 { display:grid; grid-template-columns:minmax(260px,1fr) minmax(180px,auto) auto; gap:12px; align-items:center; background:#fff; border:1px solid #e4eaf2; border-radius:16px; padding:12px 14px; }
.migo-product-variant-main-v3112 { min-width:0; }
.migo-product-variant-title-v3112 { display:flex; align-items:center; gap:10px; margin-bottom:4px; }
.migo-product-variant-title-v3112 strong { font-size:14px; }
.migo-product-variant-badges-v3112 { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.migo-product-variant-badges-v3112 span { border-radius:999px; background:#eef4ff; color:#2457c5; font-size:11px; font-weight:700; padding:4px 8px; border:1px solid rgba(59,130,246,.18); }
.migo-product-variant-swatch-v3112 { width:14px; height:14px; border-radius:999px; border:1px solid rgba(15,23,42,.18); background:var(--swatch,#fff); box-shadow:inset 0 0 0 1px rgba(255,255,255,.6); }
.migo-product-variant-price-v3112 { display:grid; gap:4px; justify-items:end; text-align:right; font-weight:800; color:#0f172a; }
.migo-product-variant-price-v3112 small { color:#64748b; font-weight:600; }
.migo-product-variant-form-v3112 { display:grid; gap:12px; }
.migo-product-variant-form-grid-v3112 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px 12px; }
.migo-product-variant-form-grid-v3112 label, .migo-product-variant-color-grid-v3112 label { display:grid; gap:6px; color:#344054; font-size:13px; font-weight:700; }
.migo-product-variant-form-grid-v3112 input, .migo-product-variant-form-grid-v3112 select, .migo-product-variant-form-grid-v3112 textarea { width:100%; min-height:44px; border:1px solid #d6dee8; border-radius:14px; padding:10px 12px; background:#fff; color:#0f172a; }
.migo-product-variant-form-grid-v3112 textarea { min-height:88px; resize:vertical; }
.migo-product-variant-form-grid-v3112 .full-span { grid-column:1 / -1; }
.migo-product-variant-color-grid-v3112 { grid-column:1 / -1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 12px; }
.migo-product-variant-actions-v3112 { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.migo-product-variant-hint-v3112 { color:#667085; font-size:12px; max-width:780px; }
.migo-products-editor-dialog-v3094 .migo-product-form-actions { position:sticky; bottom:-18px; margin:18px -24px -18px; padding:14px 24px; background:rgba(255,255,255,.96); border-top:1px solid #e7edf4; backdrop-filter:blur(8px); }
.migo-products-editor-dialog-v3094 .migo-product-form-actions .primary-btn,
.migo-products-editor-dialog-v3094 .migo-product-form-actions .mini-btn { min-height:46px; border-radius:14px; }
@media (max-width: 1100px) {
  .migo-products-editor-dialog-v3094 .migo-product-grid-v3112,
  .migo-product-variant-form-grid-v3112 { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .migo-product-variant-row-v3112 { grid-template-columns:1fr; }
  .migo-product-variant-price-v3112 { justify-items:start; text-align:left; }
}
@media (max-width: 760px) {
  .migo-products-editor-dialog-v3094 { width:calc(100vw - 12px); max-width:calc(100vw - 12px); border-radius:18px; }
  .migo-products-editor-head-v3094 { padding:14px 16px; }
  .migo-products-editor-body-v3094 { padding:14px 16px 96px; }
  .migo-products-editor-dialog-v3094 .migo-product-grid-v3112,
  .migo-product-variant-form-grid-v3112,
  .migo-product-variant-color-grid-v3112,
  .migo-product-specs-head-v3112,
  .migo-product-spec-row-v3112 { grid-template-columns:1fr !important; }
  .migo-product-specs-head-v3112 { display:none; }
  .migo-product-card-head-v3112,
  .migo-product-variant-actions-v3112 { flex-direction:column; align-items:stretch; }
  .migo-products-editor-dialog-v3094 .migo-product-form-actions { margin:14px -16px -14px; padding:12px 16px; }
}


/* Migo CRM v8.5.9.1 — Product modal matches the Offer composer exactly. */
.migo-products-editor-dialog-v3094 {
  width:min(1080px,calc(100vw - 32px)) !important;
  max-width:none !important;
  max-height:min(760px,calc(100dvh - 32px)) !important;
  margin:auto !important;
  padding:0 !important;
  overflow:visible !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#101828 !important;
}
.migo-products-editor-dialog-v3094::backdrop { background:rgba(16,24,40,.42) !important; backdrop-filter:blur(3px) !important; }
body.crm-app .migo-product-editor-shell-v3113 {
  width:100% !important;
  max-width:none !important;
  max-height:min(760px,calc(100dvh - 32px)) !important;
  border:1px solid #d9e1ea !important;
  border-radius:8px !important;
  background:#fff !important;
  box-shadow:0 24px 72px rgba(15,23,42,.22) !important;
  overflow:hidden !important;
}
body.crm-app .migo-product-editor-head-v3113 {
  min-height:58px !important;
  padding:12px 16px 12px 18px !important;
  align-items:center !important;
  background:#fff !important;
  border-bottom:1px solid #e2e8f0 !important;
}
body.crm-app .migo-product-editor-head-v3113 > div { display:block !important; min-width:0 !important; }
body.crm-app .migo-product-editor-head-v3113 h2 {
  margin:0 !important;
  color:#101828 !important;
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.3 !important;
  letter-spacing:0 !important;
  white-space:normal !important;
  overflow:visible !important;
}
body.crm-app .migo-product-editor-head-v3113 > button {
  width:34px !important; height:34px !important; min-width:34px !important; flex:0 0 34px !important;
  border:1px solid #d9e1ea !important; border-radius:6px !important; color:#475467 !important; background:#fff !important; box-shadow:none !important;
}
body.crm-app .migo-product-editor-head-v3113 > button .migo-ui-icon { width:16px !important; height:16px !important; }
body.crm-app .migo-product-editor-scroll-v3113 {
  min-height:0 !important;
  padding:0 !important;
  overflow:auto !important;
  overscroll-behavior:contain !important;
  background:#fff !important;
  scrollbar-width:thin !important;
  scrollbar-color:#9aa7b8 transparent !important;
}
body.crm-app .migo-product-editor-scroll-v3113::-webkit-scrollbar { width:6px !important; height:6px !important; }
body.crm-app .migo-product-editor-scroll-v3113::-webkit-scrollbar-track { background:transparent !important; }
body.crm-app .migo-product-editor-scroll-v3113::-webkit-scrollbar-thumb { background:#9aa7b8 !important; border-radius:999px !important; }
body.crm-app .migo-products-editor-body-v3094 {
  min-height:0 !important;
  padding:18px !important;
  overflow:visible !important;
  background:#fff !important;
}
body.crm-app .migo-product-form-v3112 { display:grid !important; gap:12px !important; }
body.crm-app .migo-product-card-v3112,
body.crm-app .migo-product-variants-box-v3112,
body.crm-app .migo-product-variants-box.disabled {
  min-width:0 !important;
  margin:0 !important;
  padding:14px !important;
  border:1px solid #d9e1ea !important;
  border-radius:8px !important;
  background:#fff !important;
  box-shadow:none !important;
  opacity:1 !important;
}
body.crm-app .migo-product-card-head-v3112,
body.crm-app .migo-product-variants-head {
  align-items:center !important;
  margin:0 0 11px !important;
}
body.crm-app .migo-product-card-head-v3112 strong,
body.crm-app .migo-product-variants-head strong {
  color:#101828 !important;
  font-size:13px !important;
  font-weight:700 !important;
}
body.crm-app .migo-product-card-head-v3112 p,
body.crm-app .migo-product-variants-head p {
  margin:2px 0 0 !important;
  color:#667085 !important;
  font-size:10.5px !important;
  line-height:1.45 !important;
}
body.crm-app .migo-product-card-pill-v3112 {
  padding:3px 6px !important;
  border-radius:5px !important;
  color:#667085 !important;
  background:#f2f4f7 !important;
  font-size:9px !important;
  font-weight:700 !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112 {
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112 label,
body.crm-app .migo-product-variant-form-grid-v3112 label,
body.crm-app .migo-product-variant-color-grid-v3112 label {
  gap:5px !important;
  color:#344054 !important;
  font-size:10px !important;
  font-weight:650 !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112 input,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112 select,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112 textarea,
body.crm-app .migo-product-variant-form-grid-v3112 input,
body.crm-app .migo-product-variant-form-grid-v3112 select,
body.crm-app .migo-product-variant-form-grid-v3112 textarea,
body.crm-app .migo-product-spec-row-v3112 input {
  width:100% !important;
  min-height:38px !important;
  height:auto !important;
  margin-top:0 !important;
  padding:8px 10px !important;
  border:1px solid #cfd8e3 !important;
  border-radius:6px !important;
  color:#101828 !important;
  background:#fff !important;
  box-shadow:none !important;
  font-size:13px !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112 input:focus,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112 select:focus,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112 textarea:focus,
body.crm-app .migo-product-variant-form-grid-v3112 input:focus,
body.crm-app .migo-product-variant-form-grid-v3112 select:focus,
body.crm-app .migo-product-variant-form-grid-v3112 textarea:focus,
body.crm-app .migo-product-spec-row-v3112 input:focus {
  outline:none !important;
  border-color:#2563eb !important;
  box-shadow:0 0 0 3px rgba(37,99,235,.12) !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112 textarea[name="description_text"] {
  min-height:86px !important;
  resize:vertical !important;
}
body.crm-app .migo-products-editor-dialog-v3094 input[type="file"] {
  min-height:40px !important;
  padding:5px 7px !important;
  border-radius:6px !important;
}
body.crm-app .migo-products-editor-dialog-v3094 input[type="file"]::file-selector-button {
  height:28px !important;
  margin-right:9px !important;
  padding:0 10px !important;
  border:1px solid #d7dee7 !important;
  border-radius:5px !important;
  background:#f8fafc !important;
  color:#344054 !important;
  font:inherit !important;
  font-size:11px !important;
  font-weight:700 !important;
  cursor:pointer !important;
}
body.crm-app .migo-product-specs-v3112 { gap:7px !important; }
body.crm-app .migo-product-specs-head-v3112,
body.crm-app .migo-product-spec-row-v3112 {
  grid-template-columns:minmax(170px,.9fr) minmax(260px,1.4fr) 32px !important;
  gap:8px !important;
}
body.crm-app .migo-product-specs-head-v3112 { color:#667085 !important; font-size:10px !important; font-weight:650 !important; }
body.crm-app .migo-product-specs-box-v3112 { gap:7px !important; }
body.crm-app .migo-spec-remove-v3112 {
  width:32px !important; min-width:32px !important; height:32px !important; min-height:32px !important;
  padding:0 !important; border-radius:6px !important; align-self:center !important;
}
body.crm-app .migo-spec-remove-v3112:disabled { opacity:.35 !important; cursor:not-allowed !important; }
body.crm-app .migo-product-variants-list-v3112 { gap:7px !important; margin-bottom:11px !important; }
body.crm-app .migo-product-variant-row-v3112 {
  grid-template-columns:minmax(220px,1fr) minmax(150px,auto) auto !important;
  gap:10px !important;
  padding:9px 10px !important;
  border:1px solid #dfe5ec !important;
  border-radius:7px !important;
  background:#fff !important;
}
body.crm-app .migo-product-variant-title-v3112 strong { font-size:12px !important; }
body.crm-app .migo-product-variant-badges-v3112 { margin-top:5px !important; gap:4px !important; }
body.crm-app .migo-product-variant-badges-v3112 span { padding:3px 6px !important; border-radius:5px !important; font-size:9px !important; }
body.crm-app .migo-product-variant-form-v3112 { gap:9px !important; }
body.crm-app .migo-product-variant-form-grid-v3112 { grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:8px !important; }
body.crm-app .migo-product-variant-color-grid-v3112 { gap:8px !important; }
body.crm-app .migo-product-variant-form-grid-v3112 textarea { min-height:70px !important; }
body.crm-app .migo-product-variant-actions-v3112 { gap:8px !important; }
body.crm-app .migo-product-variant-hint-v3112 { color:#667085 !important; font-size:10px !important; }
body.crm-app .migo-product-editor-actions-v3113 {
  flex:0 0 auto !important;
  min-height:62px !important;
  padding:12px 18px !important;
  justify-content:flex-end !important;
  gap:8px !important;
  background:#f8fafc !important;
  border-top:1px solid #e2e8f0 !important;
}
body.crm-app .migo-product-editor-actions-v3113 button {
  min-height:38px !important; height:38px !important; padding:8px 13px !important; border-radius:6px !important; font-size:13px !important; font-weight:700 !important;
}
body.crm-app .migo-product-editor-actions-v3113 .migo-commercial-primary-v3064 { color:#fff !important; background:#111c34 !important; border-color:#111c34 !important; }
body.crm-app .migo-product-editor-actions-v3113 .migo-commercial-primary-v3064:hover { background:#1d2a44 !important; border-color:#1d2a44 !important; }
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-form-actions { display:none !important; }
@media(max-width:980px){
  .migo-products-editor-dialog-v3094{width:min(760px,calc(100vw - 24px)) !important;}
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112,
  body.crm-app .migo-product-variant-form-grid-v3112{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:760px){
  .migo-products-editor-dialog-v3094{width:calc(100vw - 14px) !important;max-height:calc(100dvh - 14px) !important;}
  body.crm-app .migo-product-editor-shell-v3113{max-height:calc(100dvh - 14px) !important;border-radius:8px !important;}
  body.crm-app .migo-products-editor-body-v3094{padding:12px !important;}
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-grid-v3112,
  body.crm-app .migo-product-variant-form-grid-v3112,
  body.crm-app .migo-product-variant-color-grid-v3112,
  body.crm-app .migo-product-spec-row-v3112{grid-template-columns:1fr !important;}
  body.crm-app .migo-product-specs-head-v3112{display:none !important;}
  body.crm-app .migo-product-editor-actions-v3113{padding:10px 12px !important;}
}

/* Migo CRM v8.5.9.2 Product Editor Polish */
body.crm-app .migo-products-editor-dialog-v3094 [data-add-spec-row].mini-btn {
  min-height:32px !important;
  height:32px !important;
  padding:0 12px !important;
  border-radius:6px !important;
  font-size:12px !important;
  line-height:1 !important;
  white-space:nowrap !important;
  align-self:center !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-card-head-v3112 {
  align-items:flex-start !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variants-box-v3112,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variants-box.disabled {
  margin-top:12px !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variants-box.disabled .migo-product-variants-head {
  align-items:flex-start !important;
  margin:0 0 10px !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-empty-v3114 {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:72px !important;
  padding:14px 16px !important;
  border:1px dashed #d7dee7 !important;
  border-radius:6px !important;
  background:#fbfcfe !important;
  color:#667085 !important;
  font-size:12px !important;
  text-align:center !important;
}
@media(max-width:760px){
  body.crm-app .migo-products-editor-dialog-v3094 [data-add-spec-row].mini-btn {
    width:100% !important;
    min-height:34px !important;
    height:34px !important;
  }
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variants-box-v3112,
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variants-box.disabled {
    margin-top:10px !important;
  }
}

/* Migo CRM v8.5.9.3 — specification interaction focus polish */
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-spec-row-v3112:focus-within {
  position:relative;
}

/* Migo CRM v8.5.9.4 — Advanced Variants Layout Fix */
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form.migo-product-variant-form-v3112 {
  display:grid !important;
  grid-template-columns:minmax(0,1fr) !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  align-items:stretch !important;
  justify-items:stretch !important;
  gap:10px !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-v3112 > .migo-product-variant-form-grid-v3112,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-v3112 > .migo-product-variant-actions-v3112 {
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 {
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  grid-template-columns:repeat(4,minmax(150px,1fr)) !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 > label,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-color-grid-v3112 > label {
  min-width:0 !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 input,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 select,
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 textarea {
  min-width:0 !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-actions-v3112 {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-actions-v3112 .mini-btn {
  flex:0 0 auto !important;
  min-width:132px !important;
}
@media(max-width:1050px){
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media(max-width:760px){
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-form-grid-v3112 {
    grid-template-columns:1fr !important;
  }
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-actions-v3112 {
    align-items:stretch !important;
    flex-direction:column !important;
  }
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-actions-v3112 .mini-btn {
    width:100% !important;
    min-width:0 !important;
  }
}

/* Migo CRM v8.5.9.5 — Variants UI Polish */
body.crm-app .migo-products-editor-dialog-v3094 .migo-add-variant-btn-v3117 {
  flex:0 0 auto !important;
  min-width:0 !important;
  width:auto !important;
  min-height:32px !important;
  height:32px !important;
  padding:0 12px !important;
  border:1px solid #d7dee7 !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#344054 !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1 !important;
  white-space:nowrap !important;
  box-shadow:none !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-add-variant-btn-v3117:hover {
  background:#f8fafc !important;
  border-color:#c8d2df !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-empty-v3117 {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  min-height:64px !important;
  margin:0 0 12px !important;
  padding:12px 14px !important;
  border:1px dashed #d7dee7 !important;
  border-radius:6px !important;
  background:#fbfcfe !important;
  color:#667085 !important;
  text-align:left !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-empty-icon-v3117 {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 28px !important;
  width:28px !important;
  height:28px !important;
  border:1px solid #d7dee7 !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#667085 !important;
  font-size:18px !important;
  font-weight:500 !important;
  line-height:1 !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-empty-v3117 strong {
  display:block !important;
  margin:0 !important;
  color:#344054 !important;
  font-size:12px !important;
  font-weight:700 !important;
}
body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-empty-v3117 small {
  display:block !important;
  margin-top:2px !important;
  color:#667085 !important;
  font-size:10.5px !important;
  line-height:1.4 !important;
}
@media(max-width:760px){
  body.crm-app .migo-products-editor-dialog-v3094 .migo-add-variant-btn-v3117 {
    width:100% !important;
    min-height:34px !important;
    height:34px !important;
  }
  body.crm-app .migo-products-editor-dialog-v3094 .migo-product-variant-empty-v3117 {
    justify-content:flex-start !important;
  }
}


/* Migo CRM v8.5.9.6 — Product context menu */
body.crm-app .migo-product-row-menu-v3057 .migo-product-row-menu-separator-v3118 {
  display:block;
  height:1px;
  margin:4px 5px;
  background:#e6eaf0;
}
body.crm-app .migo-product-row-menu-v3057 button.is-danger {
  margin-top:0;
}


/* Migo CRM v3.0.119 — Products panels refresh: remove legacy payment area and align Categories/Configurator with canonical design */
body.crm-app #productsView .migo-products-workspace-v3090 [data-products-section-v3057="payments"],
body.crm-app #productsView .migo-products-workspace-v3090 [data-products-section-panel-v3057="payments"],
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-payment-card {
  display: none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-category-card,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-composer-card {
  border: 1px solid #d9e1ec !important;
  border-radius: 12px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-panel-head-v3119 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px 12px !important;
  border-bottom: 1px solid #e7ecf2;
  background: #fff;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-panel-head-v3119 h3 {
  margin: 0;
  color: #101828;
  font-size: 15px;
  font-weight: 800;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-panel-head-v3119 .muted {
  display: block;
  margin-top: 3px;
  color: #667085;
  font-size: 11px;
  line-height: 1.45;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-panel-body-v3119 {
  display: grid;
  gap: 14px;
  padding: 14px 16px 16px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-categories-body-v3119 {
  gap: 12px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form {
  display: grid !important;
  grid-template-columns: minmax(240px, 1.1fr) minmax(280px, 1.4fr) auto;
  gap: 10px !important;
  align-items: end;
  margin: 0 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form input {
  width: 100%;
  min-height: 40px;
  height: 40px;
  padding: 0 14px;
  color: #101828;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  outline: none;
  box-shadow: none;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form input:focus {
  border-color: #98a2b3;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form .mini-btn {
  min-width: 156px;
  min-height: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #fff;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pills {
  display: grid !important;
  gap: 10px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-category-row-v3057 {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fbfcfe;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-category-icon-v3057 {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #175cd3;
  background: #eff4ff;
  border: 1px solid #dbe7ff;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill > div:nth-child(2) {
  display: grid;
  gap: 2px;
  min-width: 0;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill strong {
  color: #101828;
  font-size: 12px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill small,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill > span {
  color: #667085;
  font-size: 11px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill > span {
  justify-self: end;
  padding: 0 0 0 6px;
  white-space: nowrap;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill .migo-products-danger-icon-v3057,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 10px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-composer-body-v3119 {
  padding-top: 12px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-composer-shell-v3119 {
  display: grid;
  gap: 14px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer {
  display: grid;
  gap: 14px;
  padding: 0 !important;
  background: transparent !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) 210px 220px 190px auto;
  gap: 10px;
  align-items: end;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top input,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top select,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row input,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row select {
  width: 100%;
  min-height: 40px;
  height: 40px;
  padding: 0 14px;
  color: #101828;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  outline: none;
  box-shadow: none;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top input:focus,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top select:focus,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row input:focus,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row select:focus {
  border-color: #98a2b3;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer [data-pc-add] {
  min-width: 126px;
  min-height: 40px;
  height: 40px;
  align-self: end;
  padding: 0 14px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  background: #fff;
  color: #344054;
  font-size: 12px;
  font-weight: 800;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-rates {
  padding: 12px 14px;
  color: #475467;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-rows {
  display: grid;
  gap: 12px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.7fr) 110px minmax(160px, 1fr) 130px 130px 110px 44px;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #fbfcfe;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #344054;
  font-size: 12px;
  font-weight: 700;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-product-label-v3078 {
  gap: 6px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-product-control-v3078 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer [data-pc-product-preview-v3078] {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row [data-pc-remove] {
  width: 44px;
  min-width: 44px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 10px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-total {
  padding: 13px 14px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  background: #f8fafc;
  color: #101828;
  font-size: 13px;
  font-weight: 800;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-actions .primary-btn,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-actions .secondary-btn {
  min-height: 42px;
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-product-attach-msg {
  min-height: 22px;
  color: #475467;
  font-size: 12px;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-categories-body-v3119 .empty-state.compact,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-composer-body-v3119 .empty-state.compact {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 20px;
  border: 1px dashed #d0d5dd;
  border-radius: 12px;
  background: #fbfcfe;
  color: #667085;
  text-align: center;
}
@media (max-width: 1180px) {
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row > :first-child {
    grid-column: 1 / -1;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row [data-pc-remove] {
    justify-self: end;
  }
}
@media (max-width: 760px) {
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-tabs-shell-v3097 {
    flex-wrap: wrap;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-panel-head-v3119,
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-panel-body-v3119 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form,
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top,
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row {
    grid-template-columns: 1fr !important;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill,
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-category-row-v3057 {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill > span {
    grid-column: 2;
    justify-self: start;
    padding-left: 0;
  }
}

/* Migo CRM v8.5.9.8 — canonical Products panels polish */
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-category-card,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-composer-card {
  border:1px solid #d9e1ec !important;
  border-radius:8px !important;
  background:#fff !important;
  overflow:hidden !important;
  box-shadow:none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-panel-head-v3119 {
  min-height:58px !important;
  padding:12px 14px !important;
  border-bottom:1px solid #e7ecf2 !important;
  background:#fff !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-panel-head-v3119 h3 {
  font-size:14px !important;
  line-height:1.25 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-panel-head-v3119 .muted {
  margin-top:3px !important;
  font-size:10.5px !important;
  line-height:1.4 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-panel-body-v3119 {
  gap:12px !important;
  padding:12px 14px 14px !important;
  background:#fff !important;
}
/* Categories: remove legacy pill styling and render canonical flat rows. */
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form {
  grid-template-columns:minmax(220px,.9fr) minmax(300px,1.15fr) auto !important;
  gap:8px !important;
  align-items:end !important;
  margin:0 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form input {
  min-height:40px !important;
  height:40px !important;
  padding:0 11px !important;
  border:1px solid #d5dfeb !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#1f2d43 !important;
  font-size:12px !important;
  font-weight:500 !important;
  box-shadow:none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form input:focus {
  border-color:#6da3f7 !important;
  box-shadow:0 0 0 3px rgba(59,130,246,.08) !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form .mini-btn {
  min-width:138px !important;
  min-height:40px !important;
  height:40px !important;
  padding:0 12px !important;
  border:1px solid #d5dfeb !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#1f2d43 !important;
  font-size:11px !important;
  font-weight:750 !important;
  box-shadow:none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form .mini-btn:hover {
  background:#f8fafc !important;
  border-color:#b8c5d5 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pills {
  display:block !important;
  overflow:hidden !important;
  border:1px solid #e1e7ef !important;
  border-radius:8px !important;
  background:#fff !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-category-row-v3057 {
  display:grid !important;
  grid-template-columns:32px minmax(0,1fr) auto 32px !important;
  align-items:center !important;
  gap:10px !important;
  width:100% !important;
  min-height:56px !important;
  margin:0 !important;
  padding:8px 10px !important;
  border:0 !important;
  border-bottom:1px solid #edf1f5 !important;
  border-radius:0 !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill:last-child,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-category-row-v3057:last-child {
  border-bottom:0 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill:hover,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-category-row-v3057:hover {
  background:#fbfcfe !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-category-icon-v3057 {
  width:32px !important;
  height:32px !important;
  border:1px solid #dbe7ff !important;
  border-radius:6px !important;
  background:#eff4ff !important;
  color:#175cd3 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill strong {
  font-size:11px !important;
  line-height:1.3 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill small,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill > span {
  font-size:10px !important;
  line-height:1.35 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill > span {
  padding:0 !important;
  color:#667085 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill .migo-products-danger-icon-v3057,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill button {
  width:32px !important;
  min-width:32px !important;
  height:32px !important;
  min-height:32px !important;
  padding:0 !important;
  border:1px solid #fee4e2 !important;
  border-radius:6px !important;
  background:#fff5f4 !important;
  color:#d92d20 !important;
}
/* Commercial configurator: same control language as Offer/Payment composers. */
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-composer-body-v3119 {
  gap:12px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer {
  gap:12px !important;
  padding:0 !important;
  background:transparent !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top {
  grid-template-columns:minmax(220px,1.25fr) 200px 210px 180px auto !important;
  gap:8px !important;
  margin:0 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top label,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row label {
  gap:5px !important;
  color:#344054 !important;
  font-size:10.5px !important;
  font-weight:700 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top input,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top select,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row input,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row select {
  min-height:40px !important;
  height:40px !important;
  padding:0 10px !important;
  border:1px solid #d5dfeb !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#1f2d43 !important;
  font-size:11px !important;
  font-weight:600 !important;
  box-shadow:none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top input:focus,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top select:focus,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row input:focus,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row select:focus {
  border-color:#6da3f7 !important;
  box-shadow:0 0 0 3px rgba(59,130,246,.08) !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer [data-pc-add] {
  min-width:112px !important;
  min-height:40px !important;
  height:40px !important;
  padding:0 12px !important;
  border:1px solid #d5dfeb !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#1f2d43 !important;
  font-size:11px !important;
  font-weight:750 !important;
  box-shadow:none !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-rates {
  margin:0 !important;
  padding:9px 11px !important;
  border:1px solid #e1e7ef !important;
  border-radius:6px !important;
  background:#f8fafc !important;
  color:#667085 !important;
  font-size:10.5px !important;
  font-weight:650 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-rows {
  gap:8px !important;
  margin:0 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row {
  grid-template-columns:minmax(250px,1.55fr) 100px minmax(150px,.95fr) 120px 120px 100px 38px !important;
  gap:8px !important;
  padding:10px !important;
  border:1px solid #e1e7ef !important;
  border-radius:8px !important;
  background:#fff !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-product-control-v3078 {
  gap:7px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer [data-pc-product-preview-v3078] {
  width:38px !important;
  height:38px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row [data-pc-remove] {
  width:38px !important;
  min-width:38px !important;
  height:40px !important;
  min-height:40px !important;
  border-radius:6px !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-total {
  margin:0 !important;
  padding:10px 12px !important;
  border:1px solid #e1e7ef !important;
  border-radius:6px !important;
  background:#f8fafc !important;
  color:#101828 !important;
  font-size:11.5px !important;
  font-weight:800 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-actions {
  gap:8px !important;
  margin:0 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-actions .primary-btn,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-actions .secondary-btn {
  min-height:40px !important;
  height:40px !important;
  padding:0 14px !important;
  border-radius:6px !important;
  font-size:11px !important;
  font-weight:750 !important;
}
body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-product-attach-msg {
  min-height:0 !important;
  margin:0 !important;
  font-size:10.5px !important;
}
@media(max-width:1180px){
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row > :first-child{grid-column:1/-1 !important;}
}
@media(max-width:760px){
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form,
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commercial-composer-top,
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-commercial-composer .migo-commerce-row{grid-template-columns:1fr !important;}
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-form .mini-btn{width:100% !important;}
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill,
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-product-category-row-v3057{grid-template-columns:32px minmax(0,1fr) 32px !important;}
  body.crm-app #productsView .migo-products-workspace-v3090 .migo-category-pill > span{grid-column:2 !important;justify-self:start !important;}
}


/* Migo CRM v8.5.9.9 — Products Configurator removed */
body.crm-app #productsView .migo-products-workspace-v3090 [data-products-section-v3057="composer"],
body.crm-app #productsView .migo-products-workspace-v3090 [data-products-section-panel-v3057="composer"],
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-composer-card { display:none !important; }

/* Migo CRM v8.5.11 — Team roles + user lifecycle */
body.crm-app #teamView .migo-team-metrics-v3093 { grid-template-columns:repeat(5,minmax(0,1fr)); }
body.crm-app #teamView .migo-team-status-v3093.is-archived { color:#475467; background:#eef2f6; }
body.crm-app #teamView .migo-team-status-v3093.is-archived i { background:#667085; }
body.crm-app #teamView .migo-team-table-v3093 tr.is-archived td { background:#fafbfc; color:#667085; }
body.crm-app #teamView .migo-team-table-v3093 tr.is-archived .migo-team-avatar-v3093 { filter:grayscale(1); opacity:.72; }
body.crm-app #teamView .migo-team-role-head-actions-v3111 { display:flex; align-items:center; gap:10px; }
body.crm-app #teamView .migo-team-role-head-actions-v3111 > span { color:#667085; font-size:10px; }
body.crm-app #teamView .migo-team-role-head-actions-v3111 .migo-ws-primary-v3067 { min-height:34px; height:34px; padding:0 11px; font-size:10px; border-radius:6px; }
body.crm-app #teamView .migo-team-role-card-v3111 { display:grid; gap:10px; }
body.crm-app #teamView .migo-team-role-card-v3111 header { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; }
body.crm-app #teamView .migo-team-role-card-v3111 header > i { align-self:start; padding:3px 6px; border-radius:999px; color:#475467; background:#f2f4f7; font-size:8px; font-style:normal; font-weight:700; white-space:nowrap; }
body.crm-app #teamView .migo-team-role-card-v3111 footer { display:flex; align-items:center; justify-content:space-between; gap:8px; padding-top:8px; border-top:1px solid #eef2f6; }
body.crm-app #teamView .migo-team-role-card-v3111 footer > small { color:#98a2b3; font-size:9px; }
body.crm-app #teamView .migo-team-role-card-v3111 footer > div { display:flex; align-items:center; gap:5px; }
body.crm-app #teamView .migo-team-role-card-v3111 footer .migo-ws-secondary-v3067 { min-height:30px; height:30px; padding:0 8px; font-size:9px; }
body.crm-app #teamView .migo-team-role-card-v3111 footer .migo-ws-icon-button-v3067 { width:30px; height:30px; min-height:30px; }
body.crm-app .migo-team-user-form-v3111 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
body.crm-app .migo-team-user-form-v3111 .is-wide { grid-column:1/-1; }
body.crm-app .migo-team-role-editor-v3111 { display:grid; gap:14px; min-width:min(760px,78vw); }
body.crm-app .migo-team-role-editor-head-v3111 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
body.crm-app .migo-team-role-editor-head-v3111 label { display:grid; gap:6px; color:#344054; font-size:11px; font-weight:700; }
body.crm-app .migo-team-role-editor-head-v3111 label > span { color:#98a2b3; font-size:9px; font-weight:600; }
body.crm-app .migo-team-role-editor-head-v3111 input { min-height:40px; height:40px; padding:0 12px; border:1px solid #d0d5dd; border-radius:7px; background:#fff; color:#101828; }
body.crm-app .migo-team-role-editor-head-v3111 small { color:#98a2b3; font-size:9px; font-weight:500; }
body.crm-app .migo-team-role-permission-toolbar-v3111 { display:flex; align-items:end; justify-content:space-between; gap:12px; padding-top:2px; }
body.crm-app .migo-team-role-permission-toolbar-v3111 > div { display:grid; gap:2px; }
body.crm-app .migo-team-role-permission-toolbar-v3111 strong { color:#101828; font-size:12px; }
body.crm-app .migo-team-role-permission-toolbar-v3111 small { color:#667085; font-size:10px; }
body.crm-app .migo-team-role-permission-toolbar-v3111 > label { display:flex; align-items:center; gap:7px; min-width:260px; min-height:38px; padding:0 10px; border:1px solid #d0d5dd; border-radius:7px; background:#fff; }
body.crm-app .migo-team-role-permission-toolbar-v3111 > label .migo-ui-icon { width:15px; height:15px; color:#667085; }
body.crm-app .migo-team-role-permission-toolbar-v3111 > label input { width:100%; border:0; outline:0; background:transparent; font-size:11px; }
body.crm-app .migo-team-permission-groups-v3111 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; max-height:52vh; overflow:auto; padding-right:4px; scrollbar-width:thin; scrollbar-color:#c7d2e2 transparent; }
body.crm-app .migo-team-permission-groups-v3111::-webkit-scrollbar { width:6px; }
body.crm-app .migo-team-permission-groups-v3111::-webkit-scrollbar-thumb { background:#c7d2e2; border-radius:999px; }
body.crm-app .migo-team-permission-group-v3111 { min-width:0; border:1px solid #e4e7ec; border-radius:8px; background:#fbfcfe; overflow:hidden; }
body.crm-app .migo-team-permission-group-v3111 > header { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:9px 10px; border-bottom:1px solid #eef2f6; background:#fff; }
body.crm-app .migo-team-permission-group-v3111 > header strong { color:#101828; font-size:10px; }
body.crm-app .migo-team-permission-group-v3111 > header button { border:0; background:transparent; color:#175cd3; font-size:9px; font-weight:700; cursor:pointer; }
body.crm-app .migo-team-permission-group-v3111 > div { display:grid; }
body.crm-app .migo-team-permission-group-v3111 label { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:start; gap:8px; padding:8px 10px; border-bottom:1px solid #f0f2f5; cursor:pointer; }
body.crm-app .migo-team-permission-group-v3111 label:last-child { border-bottom:0; }
body.crm-app .migo-team-permission-group-v3111 label:hover { background:#f7f9fc; }
body.crm-app .migo-team-permission-group-v3111 input[type="checkbox"] { margin-top:2px; }
body.crm-app .migo-team-permission-group-v3111 label > span { display:grid; gap:2px; min-width:0; }
body.crm-app .migo-team-permission-group-v3111 label strong { overflow:hidden; color:#344054; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-team-permission-group-v3111 label small { color:#667085; font-size:8px; line-height:1.35; }
body.crm-app .migo-team-role-editor-actions-v3111 { display:flex; justify-content:flex-end; gap:8px; padding-top:4px; }
body.crm-app .migo-team-role-editor-actions-v3111 .primary-btn,
body.crm-app .migo-team-role-editor-actions-v3111 .migo-ws-secondary-v3067 { min-height:38px; height:38px; border-radius:7px; }
@media(max-width:1100px){
  body.crm-app #teamView .migo-team-metrics-v3093 { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:760px){
  body.crm-app #teamView .migo-team-metrics-v3093 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.crm-app #teamView .migo-team-role-section-v3093 > header { align-items:flex-start; flex-direction:column; }
  body.crm-app #teamView .migo-team-role-head-actions-v3111 { width:100%; justify-content:space-between; }
  body.crm-app .migo-team-user-form-v3111,
  body.crm-app .migo-team-role-editor-head-v3111,
  body.crm-app .migo-team-permission-groups-v3111 { grid-template-columns:1fr; }
  body.crm-app .migo-team-role-editor-v3111 { min-width:0; }
  body.crm-app .migo-team-role-permission-toolbar-v3111 { align-items:stretch; flex-direction:column; }
  body.crm-app .migo-team-role-permission-toolbar-v3111 > label { min-width:0; width:100%; }
}


/* Migo CRM v8.5.11.1 — Team roles UI fix */
body.crm-app #teamView .migo-team-row-actions-v3093 .migo-team-block-action-v3112 {
  min-height:34px !important;
  height:34px !important;
  padding:0 9px !important;
  gap:6px !important;
  color:#9a3412 !important;
  background:#fff7ed !important;
  border:1px solid #fed7aa !important;
  border-radius:6px !important;
  font-size:10px !important;
  font-weight:700 !important;
  white-space:nowrap !important;
}
body.crm-app #teamView .migo-team-row-actions-v3093 .migo-team-block-action-v3112:hover {
  color:#7c2d12 !important;
  background:#ffedd5 !important;
  border-color:#fdba74 !important;
}
body.crm-app #teamView .migo-team-row-actions-v3093 .migo-team-block-action-v3112 .migo-ui-icon {
  width:14px !important;
  height:14px !important;
}
body.crm-app #crudDialog.dialog-card.migo-team-role-dialog-v3112 {
  width:min(980px, calc(100vw - 32px)) !important;
  max-width:min(980px, calc(100vw - 32px)) !important;
  max-height:min(860px, calc(100dvh - 32px)) !important;
  overflow:hidden !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 #crudForm {
  display:flex !important;
  flex:1 1 auto !important;
  flex-direction:column !important;
  min-width:0 !important;
  min-height:0 !important;
  max-height:calc(100dvh - 92px) !important;
  gap:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  background:#fff !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-v3112 {
  flex:1 1 auto !important;
  display:grid !important;
  gap:16px !important;
  min-width:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:16px 18px 18px !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  scrollbar-width:thin !important;
  scrollbar-color:#c7d2e2 transparent !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-v3112::-webkit-scrollbar {
  width:6px !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-v3112::-webkit-scrollbar-thumb {
  background:#c7d2e2 !important;
  border-radius:999px !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-v3112::-webkit-scrollbar-track {
  background:transparent !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-head-v3111 {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  min-width:0 !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-head-v3111 label,
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-head-v3111 input {
  min-width:0 !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-permission-toolbar-v3111 {
  align-items:end !important;
  min-width:0 !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-permission-toolbar-v3111 > label {
  min-width:280px !important;
  max-width:360px !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-permission-groups-v3111 {
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px !important;
  max-height:none !important;
  min-width:0 !important;
  overflow:visible !important;
  padding-right:0 !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-permission-group-v3111 {
  min-width:0 !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-permission-group-v3111 > header {
  min-height:38px !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-permission-group-v3111 > header strong {
  font-size:11px !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-permission-group-v3111 > header button {
  flex:0 0 auto !important;
  font-size:9px !important;
  white-space:nowrap !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-permission-group-v3111 label {
  min-width:0 !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-permission-group-v3111 label strong {
  overflow:visible !important;
  text-overflow:clip !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  font-size:10px !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-permission-group-v3111 label small {
  font-size:9px !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-actions-v3111 {
  flex:0 0 auto !important;
  justify-content:flex-end !important;
  gap:8px !important;
  margin:0 !important;
  padding:12px 18px !important;
  background:#f8fafc !important;
  border-top:1px solid #e2e8f0 !important;
}
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-actions-v3111 .primary-btn,
body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-actions-v3111 .migo-ws-secondary-v3067 {
  min-height:38px !important;
  height:38px !important;
  margin:0 !important;
  padding:0 13px !important;
  border-radius:6px !important;
  font-size:12px !important;
}
@media (max-width:760px) {
  body.crm-app #crudDialog.dialog-card.migo-team-role-dialog-v3112 {
    width:calc(100vw - 16px) !important;
    max-width:calc(100vw - 16px) !important;
    max-height:calc(100dvh - 16px) !important;
  }
  body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-head-v3111,
  body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-permission-groups-v3111 {
    grid-template-columns:1fr !important;
  }
  body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-permission-toolbar-v3111 {
    align-items:stretch !important;
    flex-direction:column !important;
  }
  body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-permission-toolbar-v3111 > label {
    min-width:0 !important;
    max-width:none !important;
    width:100% !important;
  }
  body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-v3112 {
    padding:14px !important;
  }
  body.crm-app #crudDialog.migo-team-role-dialog-v3112 .migo-team-role-editor-actions-v3111 {
    padding:10px 14px !important;
  }
}

/* Migo CRM v8.5.12 — Files Library + Canonical Confirm */
body.crm-app .migo-files-page-v3124 .migo-files-tools-v3124 {
  display:grid !important;
  grid-template-columns:minmax(220px,1fr) 150px 150px 160px 36px !important;
  gap:8px !important;
  align-items:center !important;
}
body.crm-app .migo-files-page-v3124 .migo-files-tools-v3124 > select {
  width:100% !important;
  min-width:0 !important;
  height:36px !important;
  border:1px solid #d7dde5 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#344054 !important;
  font-size:11px !important;
  padding:0 28px 0 10px !important;
}
body.crm-app .migo-files-grid-v3124 {
  grid-template-columns:minmax(260px,320px) minmax(0,1fr) !important;
  align-items:start !important;
}
body.crm-app .migo-upload-panel-v3124 {
  position:sticky !important;
  top:12px !important;
}
body.crm-app .migo-file-library-v3124 {
  min-width:0 !important;
}
body.crm-app .migo-file-group-v3124 {
  display:grid;
  gap:0;
  border-top:1px solid #edf0f4;
}
body.crm-app .migo-file-group-v3124:first-child {
  border-top:0;
}
body.crm-app .migo-file-group-v3124 > header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:38px;
  padding:8px 12px;
  background:#f8fafc;
  border-bottom:1px solid #edf0f4;
}
body.crm-app .migo-file-group-v3124 > header strong {
  color:#344054;
  font-size:11px;
  font-weight:800;
  text-transform:capitalize;
}
body.crm-app .migo-file-group-v3124 > header span {
  min-width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#eef2f6;
  color:#667085;
  font-size:10px;
  font-weight:800;
}
body.crm-app .migo-file-group-v3124 .migo-files-list-v3052 {
  border:0 !important;
  border-radius:0 !important;
}
body.crm-app .migo-file-row-v3124 {
  min-height:62px !important;
}
body.crm-app .migo-files-pagination-v3124 {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:52px;
  padding:10px 12px;
  border-top:1px solid #e7ebf0;
  background:#fff;
}
body.crm-app .migo-files-pagination-v3124 > span {
  color:#667085;
  font-size:10.5px;
  font-weight:700;
}
body.crm-app .migo-files-pagination-actions-v3124 {
  display:flex;
  align-items:center;
  gap:5px;
}
body.crm-app .migo-files-pagination-actions-v3124 label {
  display:flex;
  align-items:center;
  gap:6px;
  margin-right:6px;
  color:#667085;
  font-size:10px;
  font-weight:700;
}
body.crm-app .migo-files-pagination-actions-v3124 select {
  height:30px;
  border:1px solid #d7dde5;
  border-radius:6px;
  background:#fff;
  color:#344054;
  font-size:10px;
  padding:0 24px 0 8px;
}
body.crm-app .migo-files-pagination-actions-v3124 button {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  padding:0;
  border:1px solid #d7dde5;
  border-radius:6px;
  background:#fff;
  color:#475467;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
body.crm-app .migo-files-pagination-actions-v3124 button:hover:not(:disabled) {
  background:#f5f8ff;
  border-color:#b8c9ea;
  color:#175cd3;
}
body.crm-app .migo-files-pagination-actions-v3124 button.is-active {
  background:#eef4ff;
  border-color:#b8c9ea;
  color:#175cd3;
}
body.crm-app .migo-files-pagination-actions-v3124 button:disabled {
  opacity:.42;
  cursor:default;
}
body.crm-app .migo-file-preview-body-v3053.is-docx {
  display:block !important;
  padding:0 !important;
  overflow:auto !important;
  background:#eef1f5 !important;
}
body.crm-app .migo-file-preview-docx-v3124 {
  width:100%;
  min-height:100%;
  padding:14px 18px 28px;
}
body.crm-app .migo-file-preview-docx-note-v3124 {
  width:min(820px,100%);
  margin:0 auto 10px;
  color:#667085;
  font-size:10px;
  font-weight:700;
  text-align:left;
}
body.crm-app .migo-file-preview-docx-paper-v3124 {
  width:min(820px,100%);
  min-height:980px;
  margin:0 auto;
  padding:56px 64px;
  border:1px solid #d8dee8;
  border-radius:3px;
  background:#fff;
  box-shadow:0 4px 18px rgba(15,23,42,.08);
  color:#172033;
  font:14px/1.65 Georgia, 'Times New Roman', serif;
}
body.crm-app .migo-file-preview-docx-paper-v3124 h1,
body.crm-app .migo-file-preview-docx-paper-v3124 h2,
body.crm-app .migo-file-preview-docx-paper-v3124 h3 {
  margin:1.2em 0 .45em;
  color:#101828;
  font-family:Arial,Helvetica,sans-serif;
}
body.crm-app .migo-file-preview-docx-paper-v3124 h1 { font-size:24px; }
body.crm-app .migo-file-preview-docx-paper-v3124 h2 { font-size:20px; }
body.crm-app .migo-file-preview-docx-paper-v3124 h3 { font-size:17px; }
body.crm-app .migo-file-preview-docx-paper-v3124 p { margin:.55em 0; }
body.crm-app .migo-file-preview-docx-paper-v3124 table {
  width:100%;
  margin:14px 0;
  border-collapse:collapse;
  font:12px/1.45 Arial,Helvetica,sans-serif;
}
body.crm-app .migo-file-preview-docx-paper-v3124 td,
body.crm-app .migo-file-preview-docx-paper-v3124 th {
  padding:7px 9px;
  border:1px solid #cfd6df;
  vertical-align:top;
}
body.crm-app .migo-file-preview-docx-paper-v3124 td p { margin:0; }

body.crm-app .migo-confirm-dialog-v3124 {
  width:min(520px,calc(100vw - 28px));
  max-width:none;
  margin:auto;
  padding:0;
  overflow:hidden;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#172033;
}
body.crm-app .migo-confirm-dialog-v3124::backdrop {
  background:rgba(15,23,42,.48);
  backdrop-filter:blur(2px);
}
body.crm-app .migo-confirm-shell-v3124 {
  overflow:hidden;
  border:1px solid #d7dde5;
  border-radius:8px;
  background:#fff;
  box-shadow:0 24px 70px rgba(15,23,42,.2);
}
body.crm-app .migo-confirm-head-v3124 {
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 36px;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:10px 12px;
  border-bottom:1px solid #e4e8ee;
}
body.crm-app .migo-confirm-icon-v3124 {
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  border-radius:8px;
  background:#fff7ed;
  color:#c2410c;
}
body.crm-app .migo-confirm-dialog-v3124[data-tone-v3124="danger"] .migo-confirm-icon-v3124 {
  background:#fff1f2;
  color:#dc2626;
}
body.crm-app .migo-confirm-dialog-v3124[data-tone-v3124="info"] .migo-confirm-icon-v3124 {
  background:#eff6ff;
  color:#2563eb;
}
body.crm-app .migo-confirm-icon-v3124 .migo-ui-icon {
  width:17px;
  height:17px;
}
body.crm-app .migo-confirm-copy-v3124 {
  display:grid;
  gap:2px;
  min-width:0;
}
body.crm-app .migo-confirm-copy-v3124 strong {
  color:#101828;
  font-size:14px;
  font-weight:800;
}
body.crm-app .migo-confirm-copy-v3124 small {
  overflow:hidden;
  color:#667085;
  font-size:10.5px;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.crm-app .migo-confirm-body-v3124 {
  padding:18px 20px;
  color:#344054;
  font-size:12px;
  line-height:1.6;
}
body.crm-app .migo-confirm-body-v3124 p { margin:0; }
body.crm-app .migo-confirm-detail-v3124 {
  margin-top:10px !important;
  padding:10px 12px;
  border-radius:7px;
  background:#f8fafc;
  color:#667085;
  font-size:11px;
}
body.crm-app .migo-confirm-footer-v3124 {
  display:flex;
  justify-content:flex-end;
  gap:8px;
  padding:10px 12px;
  border-top:1px solid #e4e8ee;
  background:#f8fafc;
}
body.crm-app .migo-confirm-footer-v3124 button {
  min-height:38px;
  height:38px;
  border-radius:6px;
  padding:0 14px;
  font-size:11px;
  font-weight:800;
}
body.crm-app .migo-confirm-footer-v3124 .primary-btn.is-danger {
  background:#b42318 !important;
  border-color:#b42318 !important;
}
@media (max-width: 1100px) {
  body.crm-app .migo-files-page-v3124 .migo-files-tools-v3124 {
    grid-template-columns:minmax(200px,1fr) repeat(2,minmax(130px,160px)) 36px !important;
  }
  body.crm-app .migo-files-page-v3124 #fileGroupV3124 { grid-column:2 / 4; }
  body.crm-app .migo-files-grid-v3124 { grid-template-columns:1fr !important; }
  body.crm-app .migo-upload-panel-v3124 { position:static !important; }
}
@media (max-width: 760px) {
  body.crm-app .migo-files-page-v3124 .migo-files-tools-v3124 {
    grid-template-columns:1fr 1fr !important;
  }
  body.crm-app .migo-files-page-v3124 .migo-module-search-v3052 { grid-column:1 / -1; }
  body.crm-app .migo-files-page-v3124 #fileGroupV3124 { grid-column:auto; }
  body.crm-app .migo-files-page-v3124 #refreshFiles { justify-self:end; }
  body.crm-app .migo-files-pagination-v3124 { align-items:flex-start; flex-direction:column; }
  body.crm-app .migo-files-pagination-actions-v3124 { width:100%; flex-wrap:wrap; }
  body.crm-app .migo-file-preview-docx-paper-v3124 { min-height:0; padding:28px 22px; }
}


/* Migo CRM v8.5.13 — Calendar Workspace */
body.crm-app .migo-calendar-page-v3125 {
  display: grid;
  gap: 12px;
}
body.crm-app .migo-calendar-command-v3125 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
}
body.crm-app .migo-calendar-metrics-v3125 {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  flex: 1 1 auto;
  border: 1px solid #d9e1ec;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
body.crm-app .migo-calendar-metrics-v3125 article {
  position: relative;
  display: grid;
  min-height: 70px;
  align-content: center;
  gap: 2px;
  padding: 10px 14px 10px 18px;
  border-right: 1px solid #e7ecf2;
}
body.crm-app .migo-calendar-metrics-v3125 article:last-child { border-right: 0; }
body.crm-app .migo-calendar-metrics-v3125 article::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: #98a2b3;
}
body.crm-app .migo-calendar-metrics-v3125 article:nth-child(1)::before { background:#2f6fed; }
body.crm-app .migo-calendar-metrics-v3125 article:nth-child(2)::before { background:#12a56b; }
body.crm-app .migo-calendar-metrics-v3125 article:nth-child(3)::before { background:#7c5cff; }
body.crm-app .migo-calendar-metrics-v3125 article.is-warning::before { background:#f79009; }
body.crm-app .migo-calendar-metrics-v3125 span { color:#667085; font-size:9.5px; font-weight:800; text-transform:uppercase; }
body.crm-app .migo-calendar-metrics-v3125 strong { color:#101828; font-size:19px; line-height:1.1; }
body.crm-app .migo-calendar-metrics-v3125 small { color:#667085; font-size:10px; }
body.crm-app .migo-calendar-actions-v3125 { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
body.crm-app .migo-calendar-actions-v3125 .primary-btn,
body.crm-app .migo-calendar-actions-v3125 .secondary-btn { min-height:38px; height:38px; padding:0 13px; border-radius:8px; }
body.crm-app .migo-calendar-workspace-v3125 {
  display:grid;
  grid-template-columns:minmax(0,1.7fr) minmax(330px,.7fr);
  gap:12px;
  align-items:start;
}
body.crm-app .migo-calendar-main-v3125 { display:grid; gap:12px; min-width:0; }
body.crm-app .migo-calendar-month-panel-v3125,
body.crm-app .migo-calendar-agenda-v3125,
body.crm-app .migo-calendar-reminders-v3125 {
  border:1px solid #d9e1ec;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
  box-shadow:none;
}
body.crm-app .migo-calendar-month-head-v3125,
body.crm-app .migo-calendar-section-head-v3125,
body.crm-app .migo-calendar-reminders-head-v3125 {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:58px;
  padding:11px 14px;
  border-bottom:1px solid #e7ecf2;
}
body.crm-app .migo-calendar-month-head-v3125 h2,
body.crm-app .migo-calendar-section-head-v3125 h2,
body.crm-app .migo-calendar-reminders-head-v3125 h2 { margin:0; color:#101828; font-size:14px; font-weight:800; }
body.crm-app .migo-calendar-month-head-v3125 p,
body.crm-app .migo-calendar-section-head-v3125 p,
body.crm-app .migo-calendar-reminders-head-v3125 p { margin:2px 0 0; color:#667085; font-size:10.5px; }
body.crm-app .migo-calendar-section-head-v3125 > span,
body.crm-app .migo-calendar-reminders-head-v3125 > span {
  display:grid; place-items:center; min-width:24px; height:24px; padding:0 7px; border-radius:999px; background:#eef2f7; color:#475467; font-size:10px; font-weight:800;
}
body.crm-app .migo-calendar-nav-v3125 { display:flex; align-items:center; gap:5px; }
body.crm-app .migo-calendar-nav-v3125 button {
  min-width:34px; height:32px; padding:0 10px; border:1px solid #d0d5dd; border-radius:7px; background:#fff; color:#344054; font-size:12px; font-weight:800; cursor:pointer;
}
body.crm-app .migo-calendar-nav-v3125 button:first-child,
body.crm-app .migo-calendar-nav-v3125 button:last-child { font-size:20px; line-height:1; padding-bottom:2px; }
body.crm-app .migo-calendar-nav-v3125 button:hover { background:#f8fafc; }
body.crm-app .migo-calendar-month-grid-v3125 { padding:0 12px 12px; }
body.crm-app .migo-calendar-weekdays-v3125 {
  display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); padding:8px 0 6px; color:#667085; font-size:9.5px; font-weight:800; text-transform:uppercase;
}
body.crm-app .migo-calendar-weekdays-v3125 span { padding-left:7px; }
body.crm-app .migo-calendar-days-v3125 { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); border-top:1px solid #e7ecf2; border-left:1px solid #e7ecf2; }
body.crm-app .migo-calendar-day-cell-v3125 {
  position:relative; display:grid; align-content:start; gap:5px; min-width:0; min-height:104px; padding:7px; text-align:left; border:0; border-right:1px solid #e7ecf2; border-bottom:1px solid #e7ecf2; background:#fff; color:#344054; cursor:pointer;
}
body.crm-app .migo-calendar-day-cell-v3125:hover { background:#fbfcfe; }
body.crm-app .migo-calendar-day-cell-v3125.is-outside { background:#fafbfc; color:#98a2b3; }
body.crm-app .migo-calendar-day-cell-v3125.is-selected { box-shadow:inset 0 0 0 2px #2f6fed; z-index:1; }
body.crm-app .migo-calendar-day-cell-v3125.is-today .migo-calendar-day-number-v3125 { display:grid; place-items:center; width:24px; height:24px; margin:-2px 0 0 -2px; border-radius:999px; background:#2f6fed; color:#fff; }
body.crm-app .migo-calendar-day-number-v3125 { font-size:11px; font-weight:800; }
body.crm-app .migo-calendar-day-events-v3125 { display:grid; gap:3px; min-width:0; }
body.crm-app .migo-calendar-day-events-v3125 i {
  display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:3px 5px; border-radius:5px; background:#eff4ff; color:#2457c5; font-size:8.5px; font-style:normal; line-height:1.25;
}
body.crm-app .migo-calendar-day-events-v3125 i.is-reminder { background:#ecfdf3; color:#027a48; }
body.crm-app .migo-calendar-day-events-v3125 i b { margin-right:4px; font-weight:900; }
body.crm-app .migo-calendar-day-events-v3125 em { padding-left:3px; color:#667085; font-size:8.5px; font-style:normal; font-weight:700; }
body.crm-app .migo-calendar-agenda-list-v3125 { display:grid; padding:4px 14px 10px; }
body.crm-app .migo-calendar-agenda-row-v3125 {
  display:grid; grid-template-columns:48px 10px minmax(0,1fr) auto; align-items:center; gap:10px; min-height:54px; padding:7px 0; border-bottom:1px solid #edf1f5;
}
body.crm-app .migo-calendar-agenda-row-v3125:last-child { border-bottom:0; }
body.crm-app .migo-calendar-agenda-row-v3125 > time { color:#475467; font-size:10px; font-weight:800; }
body.crm-app .migo-calendar-agenda-dot-v3125 { width:8px; height:8px; border-radius:999px; background:#2f6fed; }
body.crm-app .migo-calendar-agenda-row-v3125.is-reminder .migo-calendar-agenda-dot-v3125 { background:#12a56b; }
body.crm-app .migo-calendar-agenda-row-v3125 > div { min-width:0; }
body.crm-app .migo-calendar-agenda-row-v3125 > div strong,
body.crm-app .migo-calendar-agenda-row-v3125 > div small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-calendar-agenda-row-v3125 > div strong { color:#101828; font-size:11px; }
body.crm-app .migo-calendar-agenda-row-v3125 > div small { margin-top:2px; color:#667085; font-size:9.5px; }
body.crm-app .migo-calendar-reminders-v3125 { position:sticky; top:10px; }
body.crm-app .migo-calendar-reminder-tools-v3125 { display:grid; grid-template-columns:minmax(0,1fr) 120px; gap:8px; padding:10px 12px; border-bottom:1px solid #e7ecf2; }
body.crm-app .migo-calendar-search-v3125 { position:relative; min-width:0; }
body.crm-app .migo-calendar-search-v3125 > .migo-ui-icon { position:absolute; left:10px; top:50%; width:14px; height:14px; transform:translateY(-50%); color:#98a2b3; pointer-events:none; }
body.crm-app .migo-calendar-search-v3125 input,
body.crm-app .migo-calendar-reminder-tools-v3125 select { width:100%; height:36px; border:1px solid #d0d5dd; border-radius:7px; background:#fff; color:#344054; font-size:10.5px; outline:none; box-shadow:none; }
body.crm-app .migo-calendar-search-v3125 input { padding:0 10px 0 32px; }
body.crm-app .migo-calendar-reminder-tools-v3125 select { padding:0 9px; }
body.crm-app .migo-calendar-reminder-list-v3125 { display:grid; min-height:180px; max-height:650px; overflow:auto; padding:3px 12px; scrollbar-width:thin; scrollbar-color:#c7d2e2 transparent; }
body.crm-app .migo-calendar-reminder-list-v3125::-webkit-scrollbar { width:6px; }
body.crm-app .migo-calendar-reminder-list-v3125::-webkit-scrollbar-thumb { background:#c7d2e2; border-radius:999px; }
body.crm-app .migo-calendar-reminder-row-v3125 { display:grid; grid-template-columns:38px minmax(0,1fr) auto; gap:9px; align-items:center; min-height:58px; padding:6px 0; border-bottom:1px solid #edf1f5; }
body.crm-app .migo-calendar-reminder-row-v3125:last-child { border-bottom:0; }
body.crm-app .migo-calendar-reminder-row-v3125 > time { display:grid; width:36px; height:40px; place-content:center; border:1px solid #dce4ef; border-radius:7px; background:#f8fafc; text-align:center; }
body.crm-app .migo-calendar-reminder-row-v3125 > time strong { color:#344054; font-size:13px; line-height:1; }
body.crm-app .migo-calendar-reminder-row-v3125 > time span { margin-top:3px; color:#667085; font-size:7.5px; font-weight:800; text-transform:uppercase; }
body.crm-app .migo-calendar-reminder-row-v3125 > div { min-width:0; }
body.crm-app .migo-calendar-reminder-row-v3125 > div strong,
body.crm-app .migo-calendar-reminder-row-v3125 > div small,
body.crm-app .migo-calendar-reminder-row-v3125 > div em { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-calendar-reminder-row-v3125 > div strong { color:#101828; font-size:10.5px; }
body.crm-app .migo-calendar-reminder-row-v3125 > div small { margin-top:2px; color:#667085; font-size:9px; }
body.crm-app .migo-calendar-reminder-row-v3125 > div em { margin-top:2px; color:#98a2b3; font-size:8px; font-style:normal; }
body.crm-app .migo-calendar-reminder-row-v3125 > aside { display:grid; justify-items:end; gap:4px; }
body.crm-app .migo-calendar-reminder-row-v3125 > aside b { color:#475467; font-size:9px; }
body.crm-app .migo-calendar-reminder-row-v3125.is-overdue > time { border-color:#fecdca; background:#fff6f5; }
body.crm-app .migo-calendar-reminder-row-v3125.is-overdue > time strong { color:#b42318; }
body.crm-app .migo-calendar-pagination-v3125 { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:44px; padding:8px 12px; border-top:1px solid #e7ecf2; color:#667085; font-size:9.5px; }
body.crm-app .migo-calendar-pagination-v3125 > div { display:flex; gap:5px; }
body.crm-app .migo-calendar-pagination-v3125 button { width:30px; height:28px; border:1px solid #d0d5dd; border-radius:6px; background:#fff; color:#344054; font-size:18px; line-height:1; cursor:pointer; }
body.crm-app .migo-calendar-pagination-v3125 button:disabled { opacity:.4; cursor:default; }
body.crm-app .migo-calendar-empty-v3125 { display:grid; place-items:center; gap:6px; min-height:150px; padding:22px; color:#667085; text-align:center; }
body.crm-app .migo-calendar-empty-v3125 .migo-ui-icon { width:21px; height:21px; color:#98a2b3; }
body.crm-app .migo-calendar-empty-v3125 strong { color:#344054; font-size:11px; }
body.crm-app .migo-calendar-empty-v3125 span { max-width:360px; font-size:9.5px; line-height:1.5; }
body.crm-app .migo-calendar-empty-v3125.is-small { min-height:210px; }
@media (max-width:1200px) {
  body.crm-app .migo-calendar-workspace-v3125 { grid-template-columns:minmax(0,1fr); }
  body.crm-app .migo-calendar-reminders-v3125 { position:static; }
  body.crm-app .migo-calendar-reminder-list-v3125 { max-height:520px; }
}
@media (max-width:860px) {
  body.crm-app .migo-calendar-command-v3125 { align-items:stretch; flex-direction:column; }
  body.crm-app .migo-calendar-metrics-v3125 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.crm-app .migo-calendar-metrics-v3125 article:nth-child(2) { border-right:0; }
  body.crm-app .migo-calendar-actions-v3125 { justify-content:flex-end; }
  body.crm-app .migo-calendar-day-cell-v3125 { min-height:82px; padding:5px; }
  body.crm-app .migo-calendar-day-events-v3125 i { font-size:0; min-height:5px; padding:0; border-radius:999px; }
  body.crm-app .migo-calendar-day-events-v3125 i b { display:none; }
}
@media (max-width:640px) {
  body.crm-app .migo-calendar-month-head-v3125 { align-items:flex-start; flex-direction:column; }
  body.crm-app .migo-calendar-day-cell-v3125 { min-height:58px; }
  body.crm-app .migo-calendar-day-events-v3125 em { display:none; }
  body.crm-app .migo-calendar-agenda-row-v3125 { grid-template-columns:42px 9px minmax(0,1fr); }
  body.crm-app .migo-calendar-agenda-row-v3125 > i { grid-column:3; justify-self:start; }
  body.crm-app .migo-calendar-reminder-tools-v3125 { grid-template-columns:1fr; }
  body.crm-app .migo-calendar-actions-v3125 { display:grid; grid-template-columns:36px 1fr 1fr; }
  body.crm-app .migo-calendar-actions-v3125 .primary-btn,
  body.crm-app .migo-calendar-actions-v3125 .secondary-btn { width:100%; }
}

/* Migo CRM v8.5.13.1 — Calendar day modal + workspace polish */
body.crm-app .migo-calendar-main-v3125 {
  display:block;
  min-width:0;
}
body.crm-app .migo-calendar-month-panel-v3125 {
  min-height:0;
}
body.crm-app .migo-calendar-day-cell-v3125 {
  min-height:108px;
  transition:background .15s ease, box-shadow .15s ease;
}
body.crm-app .migo-calendar-day-cell-v3125:hover {
  background:#f8fbff;
  box-shadow:inset 0 0 0 1px #d6e4ff;
  z-index:1;
}
body.crm-app .migo-calendar-day-cell-v3125.is-selected {
  box-shadow:inset 0 0 0 2px #2f6fed;
}
body.crm-app .migo-calendar-day-top-v3126 {
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:24px;
  gap:6px;
}
body.crm-app .migo-calendar-day-top-v3126 > b {
  display:grid;
  place-items:center;
  min-width:19px;
  height:19px;
  padding:0 5px;
  border-radius:999px;
  background:#eef4ff;
  color:#2457c5;
  font-size:8px;
  line-height:1;
}
body.crm-app .migo-calendar-day-cell-v3125.is-outside .migo-calendar-day-top-v3126 > b {
  background:#f0f2f5;
  color:#98a2b3;
}
body.crm-app .migo-calendar-reminder-row-v3125[role="button"] {
  cursor:pointer;
  border-radius:7px;
  padding-left:4px;
  padding-right:4px;
  transition:background .15s ease;
}
body.crm-app .migo-calendar-reminder-row-v3125[role="button"]:hover,
body.crm-app .migo-calendar-reminder-row-v3125[role="button"]:focus-visible {
  background:#f8fafc;
  outline:none;
}
body.crm-app .migo-calendar-reminder-list-v3125 {
  max-height:610px;
}

body.crm-app .migo-calendar-day-dialog-v3126 {
  width:min(820px,calc(100vw - 32px));
  max-width:min(820px,calc(100vw - 32px));
  max-height:min(760px,calc(100vh - 40px));
  margin:auto;
  padding:0;
  overflow:hidden;
  border:1px solid #d9e1ec;
  border-radius:10px;
  background:#fff;
  color:#101828;
  box-shadow:0 26px 70px rgba(15,23,42,.24);
}
body.crm-app .migo-calendar-day-dialog-v3126::backdrop {
  background:rgba(15,23,42,.42);
  backdrop-filter:blur(2px);
}
body.crm-app .migo-calendar-day-shell-v3126 {
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  max-height:min(760px,calc(100vh - 40px));
  background:#fff;
}
body.crm-app .migo-calendar-day-head-v3126 {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:68px;
  padding:13px 16px 12px 18px;
  border-bottom:1px solid #e7ecf2;
  background:#fff;
}
body.crm-app .migo-calendar-day-head-v3126 > div {
  min-width:0;
}
body.crm-app .migo-calendar-day-head-v3126 span {
  display:block;
  margin-bottom:2px;
  color:#667085;
  font-size:9px;
  font-weight:800;
  letter-spacing:.06em;
}
body.crm-app .migo-calendar-day-head-v3126 h2 {
  margin:0;
  color:#101828;
  font-size:18px;
  font-weight:800;
}
body.crm-app .migo-calendar-day-head-v3126 p {
  margin:3px 0 0;
  color:#667085;
  font-size:11px;
}
body.crm-app .migo-calendar-day-head-v3126 > button {
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:38px;
  height:38px;
  padding:0;
  border:1px solid #d0d5dd;
  border-radius:8px;
  background:#fff;
  color:#475467;
  cursor:pointer;
}
body.crm-app .migo-calendar-day-head-v3126 > button:hover {
  background:#f8fafc;
}
body.crm-app .migo-calendar-day-head-v3126 > button .migo-ui-icon {
  width:17px;
  height:17px;
}
body.crm-app .migo-calendar-day-body-v3126 {
  min-height:220px;
  max-height:560px;
  overflow:auto;
  padding:10px 18px;
  scrollbar-width:thin;
  scrollbar-color:#c7d2e2 transparent;
}
body.crm-app .migo-calendar-day-body-v3126::-webkit-scrollbar {
  width:6px;
}
body.crm-app .migo-calendar-day-body-v3126::-webkit-scrollbar-thumb {
  background:#c7d2e2;
  border-radius:999px;
}
body.crm-app .migo-calendar-day-body-v3126::-webkit-scrollbar-track {
  background:transparent;
}
body.crm-app .migo-calendar-day-list-v3126 {
  display:grid;
}
body.crm-app .migo-calendar-day-row-v3126 {
  display:grid;
  grid-template-columns:62px 36px minmax(0,1fr) auto;
  gap:10px;
  align-items:start;
  padding:12px 0;
  border-bottom:1px solid #edf1f5;
}
body.crm-app .migo-calendar-day-row-v3126:last-child {
  border-bottom:0;
}
body.crm-app .migo-calendar-day-time-v3126 {
  display:grid;
  gap:3px;
  padding-top:2px;
}
body.crm-app .migo-calendar-day-time-v3126 strong {
  color:#101828;
  font-size:12px;
}
body.crm-app .migo-calendar-day-time-v3126 span {
  color:#98a2b3;
  font-size:8px;
  font-weight:700;
  text-transform:uppercase;
}
body.crm-app .migo-calendar-day-kind-v3126 {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:8px;
  background:#eff4ff;
  color:#2457c5;
}
body.crm-app .migo-calendar-day-row-v3126.is-reminder .migo-calendar-day-kind-v3126 {
  background:#ecfdf3;
  color:#027a48;
}
body.crm-app .migo-calendar-day-kind-v3126 .migo-ui-icon {
  width:16px;
  height:16px;
}
body.crm-app .migo-calendar-day-copy-v3126 {
  min-width:0;
}
body.crm-app .migo-calendar-day-copy-v3126 > strong {
  display:block;
  color:#101828;
  font-size:12px;
  line-height:1.4;
}
body.crm-app .migo-calendar-day-copy-v3126 > p {
  margin:4px 0 0;
  color:#475467;
  font-size:10.5px;
  line-height:1.55;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
body.crm-app .migo-calendar-day-copy-v3126 > small {
  display:block;
  margin-top:5px;
  color:#98a2b3;
  font-size:9px;
}
body.crm-app .migo-calendar-day-row-v3126 > i {
  align-self:center;
  margin-top:3px;
}
body.crm-app .migo-calendar-day-empty-v3126 {
  display:grid;
  place-items:center;
  align-content:center;
  gap:7px;
  min-height:250px;
  padding:28px;
  color:#667085;
  text-align:center;
}
body.crm-app .migo-calendar-day-empty-v3126 .migo-ui-icon {
  width:24px;
  height:24px;
  color:#98a2b3;
}
body.crm-app .migo-calendar-day-empty-v3126 strong {
  color:#344054;
  font-size:13px;
}
body.crm-app .migo-calendar-day-empty-v3126 span {
  max-width:390px;
  font-size:10.5px;
  line-height:1.55;
}
body.crm-app .migo-calendar-day-footer-v3126 {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:64px;
  padding:10px 16px 10px 18px;
  border-top:1px solid #e7ecf2;
  background:#f8fafc;
}
body.crm-app .migo-calendar-day-footer-v3126 > span {
  color:#667085;
  font-size:10px;
  font-weight:700;
}
body.crm-app .migo-calendar-day-footer-v3126 > div {
  display:flex;
  align-items:center;
  gap:8px;
}
body.crm-app .migo-calendar-day-footer-v3126 .primary-btn,
body.crm-app .migo-calendar-day-footer-v3126 .secondary-btn {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  height:38px;
  padding:0 13px;
  border-radius:8px;
  font-size:11px;
}
body.crm-app .migo-calendar-day-footer-v3126 .migo-ui-icon {
  width:14px;
  height:14px;
}

@media (max-width:860px) {
  body.crm-app .migo-calendar-reminder-list-v3125 { max-height:440px; }
}
@media (max-width:640px) {
  body.crm-app .migo-calendar-day-dialog-v3126 {
    width:calc(100vw - 12px);
    max-width:calc(100vw - 12px);
    max-height:calc(100vh - 12px);
    border-radius:8px;
  }
  body.crm-app .migo-calendar-day-shell-v3126 { max-height:calc(100vh - 12px); }
  body.crm-app .migo-calendar-day-head-v3126 { padding:12px; }
  body.crm-app .migo-calendar-day-body-v3126 { padding:6px 12px; }
  body.crm-app .migo-calendar-day-row-v3126 {
    grid-template-columns:48px 32px minmax(0,1fr);
    gap:8px;
  }
  body.crm-app .migo-calendar-day-row-v3126 > i {
    grid-column:3;
    justify-self:start;
  }
  body.crm-app .migo-calendar-day-footer-v3126 {
    align-items:stretch;
    flex-direction:column;
    padding:10px 12px;
  }
  body.crm-app .migo-calendar-day-footer-v3126 > div {
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  body.crm-app .migo-calendar-day-footer-v3126 .primary-btn,
  body.crm-app .migo-calendar-day-footer-v3126 .secondary-btn {
    width:100%;
    justify-content:center;
  }
}

/* Migo CRM v8.5.14 — Smart Pipeline Intake */
body.crm-app .migo-pipeline-intake-dialog-v3127 {
  width:min(920px,calc(100vw - 28px));
  max-width:min(920px,calc(100vw - 28px));
  max-height:min(88vh,860px);
  padding:0;
  border:1px solid #d9e1ec;
  border-radius:8px;
  background:#fff;
  color:#101828;
  box-shadow:0 24px 64px rgba(15,23,42,.22);
  overflow:hidden;
}
body.crm-app .migo-pipeline-intake-dialog-v3127::backdrop {
  background:rgba(15,23,42,.38);
  backdrop-filter:blur(2px);
}
body.crm-app .migo-pipeline-intake-shell-v3127 {
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  max-height:min(88vh,860px);
  margin:0;
}
body.crm-app .migo-pipeline-intake-head-v3127 {
  min-height:58px;
  padding:12px 16px;
  border-bottom:1px solid #e7ecf2;
}
body.crm-app .migo-pipeline-intake-head-v3127 > div {
  display:grid;
  gap:2px;
}
body.crm-app .migo-pipeline-intake-head-v3127 span {
  color:#667085;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
}
body.crm-app .migo-pipeline-intake-head-v3127 h2 {
  margin:0;
  font-size:18px;
  line-height:1.25;
}
body.crm-app .migo-pipeline-intake-body-v3127 {
  display:grid;
  gap:12px;
  padding:14px 16px;
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color:#c7d2e2 transparent;
}
body.crm-app .migo-pipeline-intake-body-v3127::-webkit-scrollbar { width:6px; height:6px; }
body.crm-app .migo-pipeline-intake-body-v3127::-webkit-scrollbar-thumb { background:#c7d2e2; border-radius:999px; }
body.crm-app .migo-pipeline-intake-body-v3127::-webkit-scrollbar-track { background:transparent; }
body.crm-app .migo-pipeline-intake-notice-v3127 {
  padding:10px 12px;
  border:1px solid #dbeafe;
  border-radius:6px;
  background:#f8fbff;
  color:#475467;
  font-size:12px;
  line-height:1.45;
}
body.crm-app .migo-pipeline-intake-section-v3127 {
  border:1px solid #e1e7ef;
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}
body.crm-app .migo-pipeline-intake-section-head-v3127 {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:11px 12px 10px;
  border-bottom:1px solid #edf1f5;
}
body.crm-app .migo-pipeline-intake-section-head-v3127 > div { display:grid; gap:2px; }
body.crm-app .migo-pipeline-intake-section-head-v3127 strong { font-size:13px; color:#101828; }
body.crm-app .migo-pipeline-intake-section-head-v3127 small { color:#667085; font-size:11px; font-weight:500; }
body.crm-app .migo-pipeline-intake-section-head-v3127 > span {
  padding:3px 7px;
  border-radius:999px;
  background:#f2f4f7;
  color:#667085;
  font-size:10px;
  font-weight:800;
  text-transform:lowercase;
}
body.crm-app .migo-pipeline-intake-grid-v3127 {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 12px;
  padding:12px;
}
body.crm-app .migo-pipeline-intake-grid-v3127 label {
  display:grid;
  gap:5px;
  min-width:0;
  color:#344054;
  font-size:11px;
  font-weight:700;
}
body.crm-app .migo-pipeline-intake-grid-v3127 input,
body.crm-app .migo-pipeline-intake-grid-v3127 select,
body.crm-app .migo-pipeline-intake-grid-v3127 textarea {
  width:100%;
  min-width:0;
  min-height:40px;
  padding:0 11px;
  border:1px solid #d0d5dd;
  border-radius:6px;
  background:#fff;
  color:#101828;
  font:inherit;
  font-weight:600;
  outline:none;
  box-shadow:none;
}
body.crm-app .migo-pipeline-intake-grid-v3127 textarea {
  min-height:78px;
  padding:9px 11px;
  resize:vertical;
}
body.crm-app .migo-pipeline-intake-grid-v3127 input:focus,
body.crm-app .migo-pipeline-intake-grid-v3127 select:focus,
body.crm-app .migo-pipeline-intake-grid-v3127 textarea:focus {
  border-color:#84adff;
  box-shadow:0 0 0 3px rgba(47,111,236,.10);
}
body.crm-app .migo-pipeline-intake-wide-v3127 { grid-column:1 / -1; }
body.crm-app .migo-pipeline-intake-plan-v3127 {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:11px 12px;
  border:1px solid #e1e7ef;
  border-radius:8px;
  background:#fbfcfe;
}
body.crm-app .migo-pipeline-intake-plan-v3127 > div:first-child { display:grid; gap:2px; min-width:0; }
body.crm-app .migo-pipeline-intake-plan-v3127 strong { font-size:12px; }
body.crm-app .migo-pipeline-intake-plan-v3127 small { color:#667085; font-size:11px; line-height:1.4; }
body.crm-app [data-pipeline-intake-plan-v3127] { display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end; }
body.crm-app [data-pipeline-intake-plan-v3127] > span {
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:28px;
  padding:0 9px;
  border:1px solid #d0d5dd;
  border-radius:999px;
  background:#fff;
  color:#344054;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}
body.crm-app [data-pipeline-intake-plan-v3127] > span.is-lead { border-color:#bfd4ff; background:#f5f8ff; color:#175cd3; }
body.crm-app [data-pipeline-intake-plan-v3127] > span.is-deal { border-color:#abefc6; background:#ecfdf3; color:#067647; }
body.crm-app [data-pipeline-intake-plan-v3127] .migo-ui-icon { width:14px; height:14px; }
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-error {
  padding:9px 11px;
  border:1px solid #fecdca;
  border-radius:6px;
  background:#fffbfa;
  color:#b42318;
  font-size:12px;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-footer {
  padding:10px 16px;
  border-top:1px solid #e7ecf2;
  background:#f8fafc;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions { justify-content:flex-end; }
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions button { min-height:40px; height:40px; border-radius:6px; padding:0 14px; }
@media (max-width:700px) {
  body.crm-app .migo-pipeline-intake-dialog-v3127 { width:calc(100vw - 12px); max-width:calc(100vw - 12px); max-height:94vh; }
  body.crm-app .migo-pipeline-intake-shell-v3127 { max-height:94vh; }
  body.crm-app .migo-pipeline-intake-grid-v3127 { grid-template-columns:1fr; }
  body.crm-app .migo-pipeline-intake-wide-v3127 { grid-column:auto; }
  body.crm-app .migo-pipeline-intake-plan-v3127 { align-items:flex-start; flex-direction:column; }
  body.crm-app [data-pipeline-intake-plan-v3127] { justify-content:flex-start; }
}

/* Migo CRM v8.5.14.1 — Smart Pipeline Intake canonical modal */
body.crm-app .migo-pipeline-intake-dialog-v3127 {
  width:min(860px,calc(100vw - 32px)) !important;
  max-width:none !important;
  max-height:min(760px,calc(100dvh - 32px)) !important;
  margin:auto !important;
  padding:0 !important;
  overflow:visible !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127::backdrop {
  background:rgba(16,24,40,.42) !important;
  backdrop-filter:blur(3px) !important;
}
body.crm-app .migo-pipeline-intake-shell-v3127 {
  width:100% !important;
  max-width:none !important;
  max-height:min(760px,calc(100dvh - 32px)) !important;
  border:1px solid #d9e1ea !important;
  border-radius:8px !important;
  background:#fff !important;
  box-shadow:0 24px 72px rgba(15,23,42,.22) !important;
  overflow:hidden !important;
}
body.crm-app .migo-pipeline-intake-head-v3127 {
  min-height:58px !important;
  padding:12px 16px 12px 18px !important;
  align-items:center !important;
  background:#fff !important;
  border-bottom:1px solid #e2e8f0 !important;
}
body.crm-app .migo-pipeline-intake-head-v3127 > div {
  display:block !important;
  min-width:0 !important;
}
body.crm-app .migo-pipeline-intake-head-v3127 > div > span { display:none !important; }
body.crm-app .migo-pipeline-intake-head-v3127 h2 {
  margin:0 !important;
  color:#101828 !important;
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.3 !important;
  letter-spacing:0 !important;
}
body.crm-app .migo-pipeline-intake-head-v3127 .dialog-close {
  display:grid !important;
  place-items:center !important;
  width:34px !important;
  min-width:34px !important;
  height:34px !important;
  padding:0 !important;
  border:1px solid #d9e1ea !important;
  border-radius:6px !important;
  color:#475467 !important;
  background:#fff !important;
  box-shadow:none !important;
}
body.crm-app .migo-pipeline-intake-head-v3127 .dialog-close:hover { background:#f8fafc !important; }
body.crm-app .migo-pipeline-intake-head-v3127 .dialog-close .migo-ui-icon { width:16px !important; height:16px !important; }
body.crm-app .migo-pipeline-intake-body-v3127 {
  display:grid !important;
  gap:12px !important;
  min-height:0 !important;
  padding:16px 18px !important;
  overflow:auto !important;
  overscroll-behavior:contain !important;
  background:#fff !important;
  scrollbar-width:thin !important;
  scrollbar-color:#9aa7b8 transparent !important;
}
body.crm-app .migo-pipeline-intake-body-v3127::-webkit-scrollbar { width:6px !important; height:6px !important; }
body.crm-app .migo-pipeline-intake-body-v3127::-webkit-scrollbar-track { background:transparent !important; }
body.crm-app .migo-pipeline-intake-body-v3127::-webkit-scrollbar-thumb { background:#9aa7b8 !important; border-radius:999px !important; }
body.crm-app .migo-pipeline-intake-notice-v3127 {
  padding:9px 11px !important;
  border:1px solid #e2e8f0 !important;
  border-radius:6px !important;
  background:#f8fafc !important;
  color:#667085 !important;
  font-size:11px !important;
  line-height:1.45 !important;
}
body.crm-app .migo-pipeline-intake-section-v3127 {
  min-width:0 !important;
  border:1px solid #d9e1ea !important;
  border-radius:8px !important;
  background:#fff !important;
  box-shadow:none !important;
  overflow:hidden !important;
}
body.crm-app .migo-pipeline-intake-section-head-v3127 {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  min-height:52px !important;
  padding:10px 12px !important;
  border-bottom:1px solid #edf1f5 !important;
  background:#fff !important;
}
body.crm-app .migo-pipeline-intake-section-head-v3127 > div { display:grid !important; gap:2px !important; min-width:0 !important; }
body.crm-app .migo-pipeline-intake-section-head-v3127 strong { color:#101828 !important; font-size:13px !important; font-weight:700 !important; }
body.crm-app .migo-pipeline-intake-section-head-v3127 small { color:#667085 !important; font-size:10.5px !important; font-weight:500 !important; line-height:1.4 !important; }
body.crm-app .migo-pipeline-intake-section-head-v3127 > span { display:none !important; }
body.crm-app .migo-pipeline-intake-grid-v3127 {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px 12px !important;
  padding:12px !important;
}
body.crm-app .migo-pipeline-intake-grid-v3127 label {
  display:grid !important;
  gap:5px !important;
  min-width:0 !important;
  color:#344054 !important;
  font-size:10.5px !important;
  font-weight:650 !important;
}
body.crm-app .migo-pipeline-intake-grid-v3127 input,
body.crm-app .migo-pipeline-intake-grid-v3127 select,
body.crm-app .migo-pipeline-intake-grid-v3127 textarea {
  width:100% !important;
  min-width:0 !important;
  min-height:38px !important;
  height:38px !important;
  margin:0 !important;
  padding:8px 10px !important;
  border:1px solid #cfd8e3 !important;
  border-radius:6px !important;
  color:#101828 !important;
  background:#fff !important;
  box-shadow:none !important;
  font-size:13px !important;
  font-weight:600 !important;
  outline:none !important;
}
body.crm-app .migo-pipeline-intake-grid-v3127 textarea {
  min-height:72px !important;
  height:auto !important;
  resize:vertical !important;
}
body.crm-app .migo-pipeline-intake-grid-v3127 input:focus,
body.crm-app .migo-pipeline-intake-grid-v3127 select:focus,
body.crm-app .migo-pipeline-intake-grid-v3127 textarea:focus {
  border-color:#2563eb !important;
  box-shadow:0 0 0 3px rgba(37,99,235,.12) !important;
}
body.crm-app .migo-pipeline-intake-wide-v3127 { grid-column:1 / -1 !important; }
body.crm-app .migo-pipeline-intake-plan-v3127 {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding:10px 12px !important;
  border:1px solid #d9e1ea !important;
  border-radius:8px !important;
  background:#fbfcfe !important;
  box-shadow:none !important;
}
body.crm-app .migo-pipeline-intake-plan-v3127 > div:first-child { display:grid !important; gap:2px !important; min-width:0 !important; }
body.crm-app .migo-pipeline-intake-plan-v3127 strong { color:#101828 !important; font-size:12px !important; font-weight:700 !important; }
body.crm-app .migo-pipeline-intake-plan-v3127 small { color:#667085 !important; font-size:10.5px !important; line-height:1.4 !important; }
body.crm-app [data-pipeline-intake-plan-v3127] { display:flex !important; flex-wrap:wrap !important; gap:5px !important; justify-content:flex-end !important; }
body.crm-app [data-pipeline-intake-plan-v3127] > span {
  min-height:26px !important;
  padding:0 8px !important;
  border-radius:6px !important;
  font-size:10.5px !important;
  font-weight:700 !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-error {
  padding:9px 10px !important;
  border:1px solid #fecdca !important;
  border-radius:6px !important;
  background:#fffbfa !important;
  color:#b42318 !important;
  font-size:11px !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-footer {
  flex:0 0 auto !important;
  min-height:62px !important;
  padding:12px 18px !important;
  border-top:1px solid #e2e8f0 !important;
  background:#f8fafc !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions {
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center !important;
  gap:8px !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions button {
  min-height:38px !important;
  height:38px !important;
  padding:0 13px !important;
  border-radius:6px !important;
  font-size:13px !important;
  font-weight:700 !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions .primary-btn {
  color:#fff !important;
  background:#111c34 !important;
  border-color:#111c34 !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions .primary-btn:hover { background:#1d2a44 !important; border-color:#1d2a44 !important; }
@media(max-width:760px){
  body.crm-app .migo-pipeline-intake-dialog-v3127 { width:calc(100vw - 14px) !important; max-height:calc(100dvh - 14px) !important; }
  body.crm-app .migo-pipeline-intake-shell-v3127 { max-height:calc(100dvh - 14px) !important; border-radius:8px !important; }
  body.crm-app .migo-pipeline-intake-body-v3127 { padding:12px !important; }
  body.crm-app .migo-pipeline-intake-grid-v3127 { grid-template-columns:1fr !important; padding:10px !important; }
  body.crm-app .migo-pipeline-intake-wide-v3127 { grid-column:auto !important; }
  body.crm-app .migo-pipeline-intake-plan-v3127 { align-items:flex-start !important; flex-direction:column !important; }
  body.crm-app [data-pipeline-intake-plan-v3127] { justify-content:flex-start !important; }
  body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-footer { padding:10px 12px !important; }
}

/* Migo CRM v8.5.14.2 — Pipeline Intake layout fix */
body.crm-app .migo-pipeline-intake-dialog-v3127 {
  width:min(920px,calc(100vw - 32px)) !important;
  max-height:min(860px,calc(100dvh - 28px)) !important;
}
body.crm-app .migo-pipeline-intake-shell-v3127 {
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  max-height:min(860px,calc(100dvh - 28px)) !important;
  min-height:0 !important;
  overflow:hidden !important;
}
body.crm-app .migo-pipeline-intake-head-v3127,
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-footer {
  flex:0 0 auto !important;
}
body.crm-app .migo-pipeline-intake-body-v3127 {
  display:flex !important;
  flex:1 1 auto !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:12px !important;
  min-height:0 !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  scrollbar-gutter:stable !important;
}
body.crm-app .migo-pipeline-intake-body-v3127 > * {
  flex:0 0 auto !important;
  min-width:0 !important;
}
body.crm-app .migo-pipeline-intake-section-v3127 {
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  overflow:visible !important;
}
body.crm-app .migo-pipeline-intake-section-head-v3127 {
  border-radius:8px 8px 0 0 !important;
}
body.crm-app .migo-pipeline-intake-grid-v3127 {
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  grid-auto-flow:row !important;
  grid-auto-rows:max-content !important;
  align-items:start !important;
  overflow:visible !important;
}
body.crm-app .migo-pipeline-intake-grid-v3127 label {
  height:auto !important;
  min-height:0 !important;
  align-content:start !important;
}
body.crm-app .migo-pipeline-intake-grid-v3127 input,
body.crm-app .migo-pipeline-intake-grid-v3127 select {
  flex:0 0 38px !important;
  box-sizing:border-box !important;
}
body.crm-app .migo-pipeline-intake-grid-v3127 textarea {
  box-sizing:border-box !important;
}
body.crm-app .migo-pipeline-intake-plan-v3127,
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-error {
  flex:0 0 auto !important;
  width:100% !important;
  box-sizing:border-box !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-footer {
  min-height:58px !important;
  padding:10px 18px !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions .secondary-btn {
  background:#fff !important;
  border:1px solid #d0d5dd !important;
  color:#344054 !important;
}
@media(max-width:760px){
  body.crm-app .migo-pipeline-intake-dialog-v3127 {
    width:calc(100vw - 14px) !important;
    max-height:calc(100dvh - 14px) !important;
  }
  body.crm-app .migo-pipeline-intake-shell-v3127 {
    max-height:calc(100dvh - 14px) !important;
  }
}

/* Migo CRM v8.5.14.3 — Pipeline Intake header + primary action alignment */
body.crm-app .migo-pipeline-intake-head-v3127 {
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  width:100% !important;
  height:58px !important;
  min-height:58px !important;
  max-height:58px !important;
  box-sizing:border-box !important;
  padding:12px 16px 12px 18px !important;
}
body.crm-app .migo-pipeline-intake-head-v3127 > div {
  display:flex !important;
  align-items:center !important;
  min-width:0 !important;
  height:34px !important;
  flex:1 1 auto !important;
}
body.crm-app .migo-pipeline-intake-head-v3127 h2 {
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  line-height:1.2 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
body.crm-app .migo-pipeline-intake-head-v3127 .dialog-close {
  position:static !important;
  inset:auto !important;
  float:none !important;
  flex:0 0 34px !important;
  margin:0 !important;
  align-self:center !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions .primary-btn {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-direction:row !important;
  gap:8px !important;
  min-width:196px !important;
  line-height:1 !important;
  white-space:nowrap !important;
  text-align:center !important;
  vertical-align:middle !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions .primary-btn .migo-ui-icon {
  display:block !important;
  flex:0 0 16px !important;
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  transform:none !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions .primary-btn > span {
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  line-height:1.2 !important;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions .secondary-btn {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
}
@media(max-width:760px){
  body.crm-app .migo-pipeline-intake-head-v3127 {
    height:56px !important;
    min-height:56px !important;
    max-height:56px !important;
    padding:10px 12px 10px 14px !important;
  }
  body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-dialog-actions .primary-btn {
    min-width:0 !important;
  }
}

/* Migo CRM v8.5.14.4 — Pipeline live CRM autocomplete */
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-field-v3131 {
  position: relative;
  overflow: visible;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-results-v3131 {
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  top: calc(100% + 5px);
  max-height: 260px;
  overflow: auto;
  padding: 5px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15,23,42,.14);
  scrollbar-width: thin;
  scrollbar-color: #c7d2e2 transparent;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-results-v3131[hidden] { display:none !important; }
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-results-v3131::-webkit-scrollbar { width:6px; height:6px; }
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-results-v3131::-webkit-scrollbar-thumb { background:#c7d2e2; border-radius:999px; }
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-option-v3131 {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #101828;
  text-align: left;
  cursor: pointer;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-option-v3131:hover,
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-option-v3131.is-active {
  background: #f2f6fc;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-badge-v3131 {
  min-width: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  color: #475467;
  background: #f8fafc;
  font-size: 10px;
  font-weight: 800;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-badge-v3131.is-company { color:#175cd3; border-color:#bfd4ff; background:#f5f8ff; }
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-badge-v3131.is-contact { color:#344054; border-color:#d0d5dd; background:#fff; }
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-badge-v3131.is-lead { color:#b54708; border-color:#fedf89; background:#fffaeb; }
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-badge-v3131.is-deal { color:#067647; border-color:#abefc6; background:#ecfdf3; }
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-copy-v3131 {
  min-width: 0;
  display: grid;
  gap: 2px;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-copy-v3131 strong {
  overflow: hidden;
  color: #101828;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-copy-v3131 small {
  overflow: hidden;
  color: #667085;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-loading-v3131,
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-lookup-empty-v3131 {
  padding: 12px 10px;
  color: #667085;
  font-size: 11px;
  text-align: center;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-intake-match-v3131 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 9px 12px;
  border: 1px solid #b2ddff;
  border-radius: 6px;
  background: #f5fbff;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-intake-match-v3131[hidden] { display:none !important; }
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-intake-match-v3131 > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-intake-match-v3131 strong {
  color: #175cd3;
  font-size: 12px;
  font-weight: 800;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-intake-match-v3131 small {
  color: #475467;
  font-size: 10px;
  line-height: 1.35;
}
body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-intake-match-v3131 .mini-btn {
  flex: 0 0 auto;
  min-height: 32px;
  height: 32px;
  padding: 0 11px;
  border-radius: 6px;
  font-size: 11px;
}
@media(max-width:760px){
  body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-intake-match-v3131 { align-items:flex-start; flex-direction:column; }
  body.crm-app .migo-pipeline-intake-dialog-v3127 .migo-pipeline-intake-match-v3131 .mini-btn { width:100%; }
}

/* Migo CRM v8.5.15 — Smart Lead / Deal forms */
body.crm-app #crudDialog.dialog-card:has(.migo-opportunity-form-v3132) {
  width: min(860px, calc(100vw - 32px)) !important;
}
body.crm-app #crudDialog .migo-opportunity-form-v3132 {
  display: grid;
  gap: 14px;
  padding: 16px 18px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #b7c1cf transparent;
}
body.crm-app #crudDialog .migo-opportunity-form-v3132::-webkit-scrollbar {
  width: 6px;
}
body.crm-app #crudDialog .migo-opportunity-form-v3132::-webkit-scrollbar-track {
  background: transparent;
}
body.crm-app #crudDialog .migo-opportunity-form-v3132::-webkit-scrollbar-thumb {
  background: #b7c1cf;
  border-radius: 999px;
}
body.crm-app #crudDialog .migo-opportunity-section-v3132 {
  min-width: 0;
  padding: 0;
  overflow: visible;
  background: #fff;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
}
body.crm-app #crudDialog .migo-opportunity-section-head-v3132 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #e7ecf2;
}
body.crm-app #crudDialog .migo-opportunity-section-head-v3132 strong {
  display: block;
  color: #101828;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}
body.crm-app #crudDialog .migo-opportunity-section-head-v3132 small {
  display: block;
  margin-top: 2px;
  color: #667085;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}
body.crm-app #crudDialog .migo-opportunity-section-v3132 > .migo-dialog-fields {
  padding: 14px;
}
body.crm-app #crudDialog .migo-opportunity-association-v3132 {
  position: relative;
  z-index: 2;
}
body.crm-app #crudDialog .migo-opportunity-association-v3132:focus-within {
  z-index: 8;
}
body.crm-app #crudDialog .migo-opportunity-search-v3132 {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 40px;
  margin: 0;
  color: #667085;
  background: #fff;
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.crm-app #crudDialog .migo-opportunity-search-v3132:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
body.crm-app #crudDialog .migo-opportunity-search-v3132 > .migo-ui-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-left: 11px;
}
body.crm-app #crudDialog .migo-dialog-fields .migo-opportunity-search-v3132 input[type="search"] {
  min-width: 0;
  height: 38px;
  min-height: 38px;
  padding: 0 34px 0 9px;
  background: transparent;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
  outline: 0;
}
body.crm-app #crudDialog .migo-opportunity-clear-v3132 {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  color: #667085;
  background: #f2f4f7;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
}
body.crm-app #crudDialog .migo-opportunity-clear-v3132[hidden] {
  display: none !important;
}
body.crm-app #crudDialog .migo-opportunity-clear-v3132 .migo-ui-icon {
  width: 14px;
  height: 14px;
}
body.crm-app #crudDialog .migo-opportunity-association-v3132 > small {
  min-height: 16px;
  color: #667085;
  font-size: 10px;
  font-weight: 500;
}
body.crm-app #crudDialog .migo-opportunity-results-v3132 {
  position: absolute;
  top: calc(100% - 13px);
  left: 0;
  right: 0;
  z-index: 50;
  max-height: 244px;
  padding: 5px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(15,23,42,.14);
  scrollbar-width: thin;
  scrollbar-color: #b7c1cf transparent;
}
body.crm-app #crudDialog .migo-opportunity-results-v3132[hidden] {
  display: none !important;
}
body.crm-app #crudDialog .migo-opportunity-results-v3132::-webkit-scrollbar {
  width: 6px;
}
body.crm-app #crudDialog .migo-opportunity-results-v3132::-webkit-scrollbar-thumb {
  background: #b7c1cf;
  border-radius: 999px;
}
body.crm-app #crudDialog .migo-opportunity-result-v3132 {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  color: #344054;
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
}
body.crm-app #crudDialog .migo-opportunity-result-v3132:hover,
body.crm-app #crudDialog .migo-opportunity-result-v3132.is-active {
  background: #f2f6ff;
}
body.crm-app #crudDialog .migo-opportunity-result-v3132 > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}
body.crm-app #crudDialog .migo-opportunity-result-v3132 strong {
  min-width: 0;
  overflow: hidden;
  color: #101828;
  font-size: 12px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.crm-app #crudDialog .migo-opportunity-result-v3132 small {
  min-width: 0;
  overflow: hidden;
  color: #667085;
  font-size: 10px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.crm-app #crudDialog .migo-opportunity-result-v3132 > i {
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #175cd3;
  background: #eff4ff;
  border-radius: 999px;
  opacity: 0;
}
body.crm-app #crudDialog .migo-opportunity-result-v3132.is-active > i,
body.crm-app #crudDialog .migo-opportunity-result-v3132:hover > i {
  opacity: 1;
}
body.crm-app #crudDialog .migo-opportunity-result-v3132 > i .migo-ui-icon {
  width: 13px;
  height: 13px;
}
body.crm-app #crudDialog .migo-opportunity-result-state-v3132 {
  padding: 12px 10px;
  color: #667085;
  font-size: 11px;
  text-align: center;
}
body.crm-app #crudDialog .migo-opportunity-result-state-v3132.is-error {
  color: #b42318;
}
@media (max-width: 720px) {
  body.crm-app #crudDialog.dialog-card:has(.migo-opportunity-form-v3132) {
    width: min(100vw - 16px, 860px) !important;
  }
  body.crm-app #crudDialog .migo-opportunity-form-v3132 {
    gap: 10px;
    padding: 12px;
  }
  body.crm-app #crudDialog .migo-opportunity-section-v3132 > .migo-dialog-fields {
    padding: 12px;
  }
}

/* Migo CRM v8.5.15.3 — Offer signing profile in professional offer composer */
body.crm-app .migo-offer-signing-v3153 .migo-offer-signing-grid-v3153{
  display:grid;
  grid-template-columns:minmax(220px,.85fr) minmax(300px,1.15fr);
  gap:12px;
  align-items:start;
}
body.crm-app .migo-offer-signing-v3153 .migo-offer-signing-grid-v3153>label{
  display:grid;
  gap:6px;
  color:#344054;
  font-size:12px;
  font-weight:700;
}
body.crm-app .migo-offer-signing-v3153 select{
  width:100%;
  height:40px;
  min-height:40px;
  border:1px solid #d0d5dd;
  border-radius:6px;
  background:#fff;
  padding:0 12px;
  color:#101828;
}
body.crm-app .migo-offer-signing-toggles-v3153{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
body.crm-app .migo-offer-signing-toggles-v3153 label{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:40px;
  padding:0 11px;
  border:1px solid #e4e7ec;
  border-radius:6px;
  background:#fff;
  color:#344054;
  font-size:12px;
  font-weight:700;
}
body.crm-app .migo-offer-signing-toggles-v3153 input{margin:0}
body.crm-app .migo-offer-signing-preview-v3153{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:82px;
  padding:12px 14px;
  border:1px solid #e4e7ec;
  border-radius:8px;
  background:#fbfcfe;
  color:#667085;
}
body.crm-app .migo-offer-signing-preview-v3153>div:first-child{display:grid;gap:3px}
body.crm-app .migo-offer-signing-preview-v3153 strong{color:#101828;font-size:13px}
body.crm-app .migo-offer-signing-preview-v3153 small{font-size:11px}
body.crm-app .migo-offer-signing-preview-assets-v3153{display:flex;align-items:center;justify-content:flex-end;gap:14px;min-height:54px}
body.crm-app .migo-offer-signing-preview-assets-v3153 img{display:block;max-width:110px;max-height:56px;object-fit:contain}
body.crm-app .migo-offer-signing-preview-assets-v3153 img.is-stamp{max-width:64px;max-height:64px}
@media(max-width:760px){
  body.crm-app .migo-offer-signing-v3153 .migo-offer-signing-grid-v3153{grid-template-columns:1fr}
  body.crm-app .migo-offer-signing-preview-v3153{grid-column:auto;align-items:flex-start;flex-direction:column}
  body.crm-app .migo-offer-signing-preview-assets-v3153{justify-content:flex-start}
}


/* Migo CRM v8.5.15.3.1 — Offer signing profiles UI fix */
body.crm-app .migo-offer-signing-v3153 .migo-offer-signing-grid-v31531{
  display:grid !important;
  grid-template-columns:minmax(280px,1fr) auto !important;
  gap:10px 12px !important;
  align-items:end !important;
}
body.crm-app .migo-offer-signing-profile-field-v31531{
  min-width:0;
  margin:0;
}
body.crm-app .migo-offer-signing-profile-field-v31531>span{
  display:block;
  margin-bottom:6px;
  color:#344054;
  font-size:12px;
  font-weight:700;
}
body.crm-app .migo-offer-signing-v3153 .migo-offer-signing-profile-field-v31531 select{
  width:100%;
  height:38px;
  min-height:38px;
  padding:0 34px 0 12px;
  border:1px solid #d0d5dd;
  border-radius:6px;
  background:#fff;
  color:#101828;
  font-size:12px;
  font-weight:600;
  box-shadow:none;
}
body.crm-app .migo-offer-signing-v3153 .migo-offer-signing-profile-field-v31531 select:focus{
  border-color:#84adff;
  outline:3px solid rgba(47,110,238,.10);
}
body.crm-app .migo-offer-signing-toggles-v31531{
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:7px !important;
  min-width:0;
}
body.crm-app .migo-offer-signing-toggles-v31531 label{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  width:auto !important;
  min-width:0 !important;
  height:38px !important;
  min-height:38px !important;
  margin:0 !important;
  padding:0 11px !important;
  border:1px solid #d9e1ec !important;
  border-radius:6px !important;
  background:#fff !important;
  color:#344054 !important;
  font-size:11px !important;
  font-weight:700 !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
body.crm-app .migo-offer-signing-toggles-v31531 label:has(input:checked){
  border-color:#b9d0ff !important;
  background:#f5f8ff !important;
  color:#175cd3 !important;
}
body.crm-app .migo-offer-signing-toggles-v31531 label:has(input:disabled){
  opacity:.56;
  background:#f9fafb !important;
  cursor:not-allowed;
}
body.crm-app .migo-offer-signing-toggles-v31531 input{
  width:14px;
  height:14px;
  margin:0 !important;
  flex:0 0 auto;
}
body.crm-app .migo-offer-signing-preview-v31531{
  grid-column:1/-1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  min-height:58px !important;
  padding:10px 12px !important;
  border:1px solid #e4e7ec !important;
  border-radius:6px !important;
  background:#f9fafb !important;
  color:#667085 !important;
}
body.crm-app .migo-offer-signing-empty-v31531,
body.crm-app .migo-offer-signing-person-v31531{
  display:grid;
  gap:2px;
  min-width:0;
}
body.crm-app .migo-offer-signing-empty-v31531 strong,
body.crm-app .migo-offer-signing-person-v31531 strong{
  color:#101828;
  font-size:12px;
  font-weight:800;
}
body.crm-app .migo-offer-signing-empty-v31531 small,
body.crm-app .migo-offer-signing-person-v31531 small{
  color:#667085;
  font-size:11px;
  line-height:1.35;
}
body.crm-app .migo-offer-signing-person-v31531 em{
  color:#98a2b3;
  font-size:10px;
  font-style:normal;
}
body.crm-app .migo-offer-signing-preview-v31531 .migo-offer-signing-preview-assets-v3153{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  min-height:40px;
  flex:0 0 auto;
}
body.crm-app .migo-offer-signing-preview-v31531 .migo-offer-signing-preview-assets-v3153 img{
  display:block;
  max-width:96px;
  max-height:42px;
  object-fit:contain;
}
body.crm-app .migo-offer-signing-preview-v31531 .migo-offer-signing-preview-assets-v3153 img.is-stamp{
  max-width:48px;
  max-height:48px;
}
body.crm-app .migo-offer-signing-preview-v31531 .migo-offer-signing-preview-assets-v3153>span{
  color:#98a2b3;
  font-size:10px;
}
@media(max-width:980px){
  body.crm-app .migo-offer-signing-v3153 .migo-offer-signing-grid-v31531{
    grid-template-columns:1fr !important;
    align-items:stretch !important;
  }
  body.crm-app .migo-offer-signing-toggles-v31531{
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
  }
  body.crm-app .migo-offer-signing-preview-v31531{grid-column:auto !important;}
}
@media(max-width:620px){
  body.crm-app .migo-offer-signing-toggles-v31531 label{width:100% !important;justify-content:flex-start !important;}
  body.crm-app .migo-offer-signing-preview-v31531{align-items:flex-start !important;flex-direction:column !important;}
  body.crm-app .migo-offer-signing-preview-v31531 .migo-offer-signing-preview-assets-v3153{justify-content:flex-start;}
}


/* Migo CRM v8.5.16.18 — Communication Safe Email Inbox */
body.crm-app .migo-omni-list-head-v856{border-bottom:0}
body.crm-app .migo-omni-folderbar-v856{padding:7px 10px;border-bottom:1px solid var(--omni-border);background:#fff}
body.crm-app .migo-omni-folderbar-v856 select{width:100%;height:34px;padding:0 30px 0 10px;border:1px solid #dce4ef;border-radius:7px;background:#fff;color:#344054;font:inherit;font-size:10.5px;font-weight:700;outline:0}
body.crm-app .migo-omni-folder-chip-v856{display:inline-flex;max-width:95px;overflow:hidden;padding:2px 5px;border-radius:5px;background:#eef2f7;color:#667085;font-size:7.5px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
body.crm-app .migo-omni-folder-empty-v856{padding:22px 12px}
body.crm-app .migo-omni-thread-actions-v856{display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:5px!important}
body.crm-app .migo-omni-thread-actions-v856 .secondary-btn{min-height:32px;padding:6px 9px;font-size:9.5px}
body.crm-app .migo-omni-thread-actions-v856 .secondary-btn .migo-ui-icon{width:13px;height:13px}
body.crm-app .migo-omni-thread-actions-v856 .secondary-btn.is-danger{color:#b42318;border-color:#f0c8c4;background:#fff}
body.crm-app .migo-omni-thread-actions-v856 .secondary-btn.is-danger:hover{background:#fff5f4}
body.crm-app .migo-omni-message-v85.is-email-v856{display:block}
body.crm-app .migo-omni-message-v85.is-email-v856>div.migo-email-card-v856{width:100%;max-width:none;padding:0;overflow:hidden;border:1px solid #dfe6ef;border-radius:10px;background:#fff}
body.crm-app .migo-omni-message-v85.is-email-v856.is-outbound>div.migo-email-card-v856{background:#fff;border-color:#d6e1f5}
body.crm-app .migo-email-security-v856{display:grid;gap:7px;padding:10px 12px;border-bottom:1px solid #e8edf3;background:#fafbfd}
body.crm-app .migo-email-security-v856>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.crm-app .migo-email-security-v856>div:first-child>strong{display:inline-flex;align-items:center;gap:6px;color:#344054;font-size:10.5px}
body.crm-app .migo-email-security-v856 .migo-ui-icon{width:14px;height:14px;color:#53647c}
body.crm-app .migo-email-risk-v856{display:inline-flex;padding:3px 7px;border:1px solid #d0d5dd;border-radius:999px;font-size:8.5px;font-weight:800}
body.crm-app .migo-email-risk-v856.is-success{color:#067647;background:#ecfdf3;border-color:#abefc6}
body.crm-app .migo-email-risk-v856.is-warning{color:#b54708;background:#fff7ed;border-color:#fed7aa}
body.crm-app .migo-email-risk-v856.is-danger{color:#b42318;background:#fef3f2;border-color:#fecdca}
body.crm-app .migo-email-security-chips-v856{display:flex;flex-wrap:wrap;gap:5px}
body.crm-app .migo-email-security-chips-v856>span{display:inline-flex;align-items:center;min-height:22px;padding:3px 7px;border:1px solid #e4e7ec;border-radius:6px;background:#fff;color:#667085;font-size:8px;font-weight:700}
body.crm-app .migo-email-security-chip-v856.is-pass{color:#067647;border-color:#abefc6;background:#f6fef9}
body.crm-app .migo-email-security-chip-v856.is-fail{color:#b42318;border-color:#fecdca;background:#fff6f5}
body.crm-app .migo-email-remote-images-v856{display:inline-flex;align-items:center;gap:5px;color:#b54708;font-size:8.5px;font-weight:700}
body.crm-app .migo-email-html-frame-v856{display:block;width:100%;height:min(520px,55vh);min-height:260px;border:0;background:#fff}
body.crm-app .migo-email-plain-v856{min-height:120px;padding:14px 15px;color:#273247;font-size:11.5px;line-height:1.55;white-space:pre-wrap;word-break:break-word}
body.crm-app .migo-email-links-v856{border-top:1px solid #edf1f5;background:#fbfcfe}
body.crm-app .migo-email-links-v856>summary{display:flex;align-items:center;gap:6px;padding:8px 12px;color:#53647c;font-size:9px;font-weight:800;cursor:pointer;list-style:none}
body.crm-app .migo-email-links-v856>summary::-webkit-details-marker{display:none}
body.crm-app .migo-email-links-v856>summary .migo-ui-icon{width:13px;height:13px}
body.crm-app .migo-email-links-v856>div{display:grid;border-top:1px solid #edf1f5}
body.crm-app .migo-email-links-v856 article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid #edf1f5}
body.crm-app .migo-email-links-v856 article:last-child{border-bottom:0}
body.crm-app .migo-email-links-v856 article>span{display:grid;min-width:0;gap:2px}
body.crm-app .migo-email-links-v856 article strong,body.crm-app .migo-email-links-v856 article small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.crm-app .migo-email-links-v856 article strong{color:#344054;font-size:9px}
body.crm-app .migo-email-links-v856 article small{color:#7c889b;font-size:8px}
body.crm-app .migo-email-links-v856 article button{flex:0 0 auto;min-height:28px;padding:5px 8px;font-size:8.5px}
body.crm-app .migo-email-links-v856 article button.is-danger{color:#b42318;border-color:#fecdca;background:#fff}
body.crm-app .migo-email-card-v856>footer{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:0;padding:7px 11px;border-top:1px solid #edf1f5;color:#8490a0;background:#fff;font-size:8px}
body.crm-app .migo-email-card-v856>footer>span{margin-right:auto;font-weight:700}
@media(max-width:900px){body.crm-app .migo-omni-thread-head-v85{align-items:flex-start;flex-direction:column}body.crm-app .migo-omni-thread-actions-v856{width:100%;justify-content:flex-start}}
@media(max-width:720px){body.crm-app .migo-omni-thread-actions-v856 .secondary-btn{flex:1 1 auto}body.crm-app .migo-email-html-frame-v856{height:420px}}
body.crm-app .migo-email-remote-images-v856.is-danger{color:#b42318}


/* Migo CRM v8.5.16.19 — Files library: company groups, fixed metadata, Office preview, pagination icons */
body.crm-app .migo-files-grid-v3124 {
  grid-template-columns:minmax(270px,320px) minmax(0,1fr) !important;
}
body.crm-app .migo-files-sidebar-v3190 {
  display:grid;
  align-content:start;
  gap:12px;
  min-width:0;
  position:sticky;
  top:12px;
}
body.crm-app .migo-files-sidebar-v3190 .migo-upload-panel-v3124 {
  position:static !important;
}
body.crm-app .migo-files-company-body-v3190 {
  display:grid;
  gap:10px;
  padding:12px;
}
body.crm-app .migo-files-company-body-v3190 label {
  display:grid;
  gap:6px;
  color:#475467;
  font-size:10px;
  font-weight:750;
}
body.crm-app .migo-files-company-body-v3190 select {
  width:100%;
  height:36px;
  border:1px solid #d7dde5;
  border-radius:7px;
  background:#fff;
  color:#344054;
  font-size:11px;
  padding:0 28px 0 10px;
}
body.crm-app .migo-files-company-group-v3190 {
  width:100%;
  justify-content:center;
}
body.crm-app .migo-files-company-body-v3190 small {
  color:#667085;
  font-size:9.5px;
  line-height:1.45;
}
body.crm-app .migo-files-columns-v3190,
body.crm-app .migo-file-row-v3124 {
  display:grid !important;
  grid-template-columns:36px minmax(220px,1fr) 78px 64px 82px 92px 76px !important;
  align-items:center;
  gap:10px !important;
}
body.crm-app .migo-files-columns-v3190 {
  min-height:34px;
  padding:0 12px;
  color:#667085;
  background:#fbfcfe;
  border-bottom:1px solid #e7ebf0;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.02em;
}
body.crm-app .migo-file-group-v3124 > header {
  padding-right:12px;
  padding-left:12px;
}
body.crm-app .migo-file-group-v3124.is-company > header {
  min-height:42px;
  background:#f7f9fc;
}
body.crm-app .migo-file-group-v3124.is-company > header strong {
  color:#172033;
  font-size:11.5px;
}
body.crm-app .migo-file-row-v3124 {
  min-height:64px !important;
  padding:7px 12px !important;
}
body.crm-app .migo-file-access-v3190,
body.crm-app .migo-file-format-v3190,
body.crm-app .migo-file-size-v3190 {
  min-width:0;
  justify-self:start;
  white-space:nowrap;
}
body.crm-app .migo-file-format-v3190,
body.crm-app .migo-file-size-v3190 {
  color:#667085;
  font-size:10px;
  font-variant-numeric:tabular-nums;
}
body.crm-app .migo-file-format-v3190 {
  color:#475467;
  font-weight:750;
}
body.crm-app .migo-file-row-v3124 .migo-module-date-v3052 {
  width:92px;
  justify-self:end;
  text-align:right;
  font-variant-numeric:tabular-nums;
}
body.crm-app .migo-file-row-v3124 .migo-file-actions-v3053 {
  width:76px;
  justify-self:end;
}
body.crm-app .migo-files-pagination-actions-v3124 button.is-navigation .migo-ui-icon {
  width:15px;
  height:15px;
  stroke-width:2.2;
}
body.crm-app .migo-files-pagination-actions-v3124 button.is-navigation {
  color:#344054;
}
body.crm-app .migo-file-preview-legacy-doc-v3190 {
  margin:0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:14px/1.65 Georgia,'Times New Roman',serif;
  color:#172033;
}
@media (max-width:1280px) {
  body.crm-app .migo-files-columns-v3190,
  body.crm-app .migo-file-row-v3124 {
    grid-template-columns:34px minmax(180px,1fr) 72px 56px 74px 84px 72px !important;
    gap:8px !important;
  }
}
@media (max-width:980px) {
  body.crm-app .migo-files-sidebar-v3190 { position:static; }
  body.crm-app .migo-files-columns-v3190 { display:none !important; }
  body.crm-app .migo-file-row-v3124 {
    grid-template-columns:34px minmax(0,1fr) auto !important;
    grid-template-areas:
      "thumb copy actions"
      "thumb meta actions";
    gap:5px 9px !important;
  }
  body.crm-app .migo-file-row-v3124 > .migo-file-thumbnail-v3053 { grid-area:thumb; }
  body.crm-app .migo-file-row-v3124 > .migo-file-copy-v3052 { grid-area:copy; }
  body.crm-app .migo-file-row-v3124 > .migo-file-access-v3190,
  body.crm-app .migo-file-row-v3124 > .migo-file-format-v3190,
  body.crm-app .migo-file-row-v3124 > .migo-file-size-v3190,
  body.crm-app .migo-file-row-v3124 > .migo-module-date-v3052 {
    grid-area:meta;
    display:inline-flex;
    width:auto;
    margin-right:8px;
    justify-self:start;
  }
  body.crm-app .migo-file-row-v3124 > .migo-file-format-v3190 { margin-left:82px; }
  body.crm-app .migo-file-row-v3124 > .migo-file-size-v3190 { margin-left:138px; }
  body.crm-app .migo-file-row-v3124 > .migo-module-date-v3052 { display:none; }
  body.crm-app .migo-file-row-v3124 > .migo-file-actions-v3053 { grid-area:actions; }
}

/* Migo CRM v8.5.16.21 — reliable legacy DOC preview */
body.crm-app .migo-file-preview-legacy-doc-v3190 {
  width:100%; max-width:none; margin:0; white-space:pre-wrap;
  overflow-wrap:normal; word-break:normal; tab-size:4;
  font:14px/1.65 Georgia,'Times New Roman',serif; color:#172033;
}


/* Migo CRM v8.5.16.22 — Communication single-scroll email reader + global slim scrollbars */
html,
body,
body * {
  scrollbar-width: thin;
  scrollbar-color: #aeb9c7 transparent;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
body *::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
body *::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
body *::-webkit-scrollbar-thumb {
  background: #aeb9c7;
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
body *::-webkit-scrollbar-thumb:hover {
  background-color: #8f9daf;
}

body.crm-app .migo-omni-messages-v85 {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.crm-app .migo-omni-message-v85.is-email-v856 > div.migo-email-card-v856 {
  position: relative;
  overflow: visible;
}
body.crm-app .migo-email-security-v856 {
  position: sticky;
  top: 0;
  z-index: 8;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 1px 0 rgba(226,232,240,.9);
}
body.crm-app .migo-email-card-v856 > footer {
  position: sticky;
  bottom: 0;
  z-index: 8;
  min-height: 32px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 -1px 0 rgba(226,232,240,.9);
}
body.crm-app .migo-email-html-frame-v856 {
  display: block;
  width: 100%;
  height: 320px;
  min-height: 260px;
  max-height: none;
  overflow: hidden;
  border: 0;
  background: #fff;
}
body.crm-app .migo-email-plain-v856 {
  min-height: 180px;
}
body.crm-app .migo-email-links-v856 {
  position: relative;
  z-index: 2;
}
@media (max-width: 720px) {
  body.crm-app .migo-email-html-frame-v856 {
    height: 320px;
    min-height: 240px;
  }
}


/* Migo CRM v8.5.16.24 — Files library alignment, searchable companies, real pagination chevrons */
body.crm-app .migo-files-columns-v3190,
body.crm-app .migo-file-row-v3124 {
  grid-template-columns:36px minmax(240px,1fr) 76px 64px 78px 92px 72px !important;
  column-gap:8px !important;
}
body.crm-app .migo-files-columns-v3190 > span:nth-child(3),
body.crm-app .migo-files-columns-v3190 > span:nth-child(4),
body.crm-app .migo-files-columns-v3190 > span:nth-child(5),
body.crm-app .migo-files-columns-v3190 > span:nth-child(6) {
  text-align:center;
}
body.crm-app .migo-file-row-v3124 > .migo-file-thumbnail-v3053 {
  justify-self:center;
}
body.crm-app .migo-file-row-v3124 .migo-file-copy-v3052 {
  min-width:0;
  padding-right:4px;
}
body.crm-app .migo-file-row-v3124 .migo-file-copy-v3052 strong,
body.crm-app .migo-file-row-v3124 .migo-file-copy-v3052 small {
  display:block;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.crm-app .migo-file-row-v3124 > .migo-file-access-v3190,
body.crm-app .migo-file-row-v3124 > .migo-file-format-v3190,
body.crm-app .migo-file-row-v3124 > .migo-file-size-v3190,
body.crm-app .migo-file-row-v3124 > .migo-module-date-v3052 {
  width:100%;
  justify-self:stretch;
  text-align:center;
}
body.crm-app .migo-file-row-v3124 > .migo-file-access-v3190 {
  display:flex;
  justify-content:center;
}
body.crm-app .migo-file-row-v3124 .migo-module-date-v3052 {
  display:flex;
  width:100%;
  align-items:center;
  justify-content:center;
  text-align:center;
}
body.crm-app .migo-file-row-v3124 .migo-file-actions-v3053 {
  width:72px;
  justify-self:end;
  justify-content:flex-end;
}
body.crm-app .migo-file-group-v3124.is-company > header {
  padding:8px 12px;
}
body.crm-app .migo-file-group-v3124.is-company > header > span {
  display:grid;
  min-width:22px;
  height:22px;
  place-items:center;
  padding:0 6px;
  border-radius:999px;
  background:#eef2f6;
  color:#667085;
  font-size:9px;
  font-weight:800;
}
body.crm-app .migo-files-company-search-v3191 {
  margin-bottom:0;
}
body.crm-app .migo-files-company-search-input-v3191 {
  position:relative;
  display:flex;
  align-items:center;
}
body.crm-app .migo-files-company-search-input-v3191 > .migo-ui-icon {
  position:absolute;
  left:10px;
  width:14px;
  height:14px;
  color:#98a2b3;
  pointer-events:none;
}
body.crm-app .migo-files-company-search-input-v3191 input {
  width:100%;
  height:36px;
  border:1px solid #d7dde5;
  border-radius:7px;
  background:#fff;
  color:#344054;
  padding:0 30px 0 32px;
  outline:0;
  font:inherit;
  font-size:11px;
}
body.crm-app .migo-files-company-search-input-v3191 input:focus {
  border-color:#98b4e8;
  box-shadow:0 0 0 3px rgba(47,111,219,.08);
}
body.crm-app .migo-files-company-search-meta-v3191 {
  margin-top:-3px;
  color:#98a2b3 !important;
  font-size:9px !important;
}
body.crm-app .migo-files-pagination-actions-v3124 button.is-navigation {
  display:inline-grid;
  width:32px;
  min-width:32px;
  height:32px;
  padding:0;
  place-items:center;
}
body.crm-app .migo-files-pagination-actions-v3124 button.is-navigation .migo-ui-icon {
  display:block;
  width:16px;
  height:16px;
  margin:0;
}
@media (max-width: 1180px) {
  body.crm-app .migo-files-columns-v3190,
  body.crm-app .migo-file-row-v3124 {
    grid-template-columns:36px minmax(190px,1fr) 72px 58px 70px 84px 68px !important;
    column-gap:7px !important;
  }
}


/* Migo CRM v8.5.16.25 — Files polish: fixed row spacing, clean date/time, searchable company combobox */
body.crm-app .migo-file-row-v3124 {
  column-gap:10px !important;
}
body.crm-app .migo-file-row-v3124 .migo-file-copy-v3052 {
  padding-left:4px;
  padding-right:6px;
}
body.crm-app .migo-file-row-v3124 .migo-module-date-v3052 {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  line-height:1.15;
}
body.crm-app .migo-file-row-v3124 .migo-module-date-v3052 > span,
body.crm-app .migo-file-row-v3124 .migo-module-date-v3052 > small {
  display:block;
  white-space:nowrap;
}
body.crm-app .migo-files-pagination-actions-v3124 label {
  flex:0 0 auto;
  white-space:nowrap;
}
body.crm-app .migo-files-pagination-actions-v3124 label > select {
  flex:0 0 auto;
}

body.crm-app .migo-files-company-picker-label-v3192 {
  position:relative;
  display:grid;
  gap:6px;
}
body.crm-app .migo-files-company-picker-v3192 {
  position:relative;
  min-width:0;
}
body.crm-app .migo-files-company-picker-trigger-v3192 {
  display:flex;
  width:100%;
  height:36px;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:0 10px 0 12px;
  border:1px solid #d7dde5;
  border-radius:7px;
  background:#fff;
  color:#344054;
  font:inherit;
  font-size:11px;
  font-weight:650;
  text-align:left;
  cursor:pointer;
}
body.crm-app .migo-files-company-picker-trigger-v3192:hover,
body.crm-app .migo-files-company-picker-trigger-v3192[aria-expanded="true"] {
  border-color:#98b4e8;
  box-shadow:0 0 0 3px rgba(47,111,219,.07);
}
body.crm-app .migo-files-company-picker-trigger-v3192 > span {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.crm-app .migo-files-company-picker-trigger-v3192 > .migo-ui-icon {
  flex:0 0 15px;
  width:15px;
  height:15px;
  transition:transform .15s ease;
}
body.crm-app .migo-files-company-picker-trigger-v3192[aria-expanded="true"] > .migo-ui-icon {
  transform:rotate(180deg);
}
body.crm-app .migo-files-company-picker-menu-v3192 {
  position:absolute;
  z-index:80;
  top:calc(100% + 5px);
  left:0;
  right:0;
  overflow:hidden;
  border:1px solid #d7dde5;
  border-radius:8px;
  background:#fff;
  box-shadow:0 12px 28px rgba(16,24,40,.16);
}
body.crm-app .migo-files-company-picker-menu-v3192[hidden] {
  display:none !important;
}
body.crm-app .migo-files-company-picker-search-v3192 {
  position:relative;
  display:flex;
  align-items:center;
  padding:8px;
  border-bottom:1px solid #edf0f4;
  background:#fff;
}
body.crm-app .migo-files-company-picker-search-v3192 > .migo-ui-icon {
  position:absolute;
  left:18px;
  width:14px;
  height:14px;
  color:#98a2b3;
  pointer-events:none;
}
body.crm-app .migo-files-company-picker-search-v3192 input {
  width:100%;
  height:34px;
  padding:0 10px 0 31px;
  border:1px solid #d7dde5;
  border-radius:6px;
  background:#fff;
  color:#344054;
  outline:0;
  font:inherit;
  font-size:11px;
}
body.crm-app .migo-files-company-picker-search-v3192 input:focus {
  border-color:#98b4e8;
  box-shadow:0 0 0 3px rgba(47,111,219,.07);
}
body.crm-app .migo-files-company-picker-options-v3192 {
  max-height:250px;
  overflow-y:auto;
  padding:4px;
  scrollbar-width:thin;
  scrollbar-color:#c6cfda transparent;
}
body.crm-app .migo-files-company-picker-options-v3192::-webkit-scrollbar { width:7px; }
body.crm-app .migo-files-company-picker-options-v3192::-webkit-scrollbar-track { background:transparent; }
body.crm-app .migo-files-company-picker-options-v3192::-webkit-scrollbar-thumb { background:#c6cfda; border:2px solid transparent; border-radius:999px; background-clip:content-box; }
body.crm-app .migo-files-company-picker-options-v3192 > button {
  display:flex;
  width:100%;
  min-height:34px;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:7px 9px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#344054;
  font:inherit;
  font-size:11px;
  text-align:left;
  cursor:pointer;
}
body.crm-app .migo-files-company-picker-options-v3192 > button:hover { background:#f6f8fb; }
body.crm-app .migo-files-company-picker-options-v3192 > button.is-selected { background:#eef4ff; color:#174ea6; font-weight:750; }
body.crm-app .migo-files-company-picker-options-v3192 > button > span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.crm-app .migo-files-company-picker-options-v3192 > button > small {
  display:grid;
  min-width:22px;
  height:22px;
  place-items:center;
  padding:0 6px;
  border-radius:999px;
  background:#eef2f6;
  color:#667085;
  font-size:9px;
  font-weight:800;
}
body.crm-app .migo-files-company-picker-options-v3192 > button.is-selected > small { background:#dce8ff; color:#174ea6; }
body.crm-app .migo-files-company-picker-empty-v3192 { padding:14px 10px; color:#98a2b3; font-size:10px; text-align:center; }
body.crm-app .migo-files-company-picker-menu-v3192 > .migo-files-company-search-meta-v3191 {
  display:block;
  margin:0 !important;
  padding:7px 10px 8px;
  border-top:1px solid #edf0f4;
  background:#fafbfc;
}

@media (max-width:1180px) {
  body.crm-app .migo-file-row-v3124 { column-gap:8px !important; }
  body.crm-app .migo-file-row-v3124 .migo-file-copy-v3052 { padding-left:2px; }
}


/* Migo CRM v8.5.16.26 — Files company picker: unclipped dropdown */
body.crm-app .migo-files-sidebar-v3190 {
  overflow: visible !important;
  position: sticky;
  z-index: 20;
}
body.crm-app .migo-files-company-panel-v3190 {
  position: relative;
  z-index: 40;
  overflow: visible !important;
}
body.crm-app .migo-files-company-panel-v3190 .migo-files-company-body-v3190,
body.crm-app .migo-files-company-panel-v3190 .migo-files-company-picker-label-v3192,
body.crm-app .migo-files-company-panel-v3190 .migo-files-company-picker-v3192 {
  overflow: visible !important;
}
body.crm-app .migo-files-company-picker-v3192 {
  z-index: 45;
}
body.crm-app .migo-files-company-picker-menu-v3192 {
  z-index: 1200;
  max-width: 100%;
  overflow: hidden;
  isolation: isolate;
}
body.crm-app .migo-files-company-picker-options-v3192 {
  max-height: min(320px, calc(100vh - 330px));
  min-height: 42px;
}
body.crm-app .migo-files-company-picker-search-v3192 {
  z-index: 2;
}
body.crm-app .migo-files-company-picker-search-v3192 input {
  padding-left: 34px !important;
}
body.crm-app .migo-files-company-picker-search-v3192 > .migo-ui-icon {
  left: 19px;
  z-index: 3;
}
@media (max-width: 980px) {
  body.crm-app .migo-files-sidebar-v3190 {
    position: static;
    z-index: auto;
  }
  body.crm-app .migo-files-company-picker-menu-v3192 {
    position: static;
    margin-top: 6px;
    max-width: none;
  }
  body.crm-app .migo-files-company-picker-options-v3192 {
    max-height: 260px;
  }
}

/* Migo CRM v8.5.16.27 — Files pagination spacing */
body.crm-app .migo-files-pagination-v3124 {
  min-height: 56px;
  padding: 11px 14px;
  gap: 18px;
}
body.crm-app .migo-files-pagination-actions-v3124 {
  gap: 7px;
  flex: 0 0 auto;
}
body.crm-app .migo-files-pagination-actions-v3124 label {
  gap: 8px;
  margin-right: 10px;
  white-space: nowrap;
}
body.crm-app .migo-files-pagination-actions-v3124 label > select {
  min-width: 72px;
}
body.crm-app .migo-files-pagination-actions-v3124 > label + button {
  margin-left: 2px;
}
@media (max-width: 760px) {
  body.crm-app .migo-files-pagination-v3124 {
    gap: 10px;
    padding: 10px 12px;
  }
  body.crm-app .migo-files-pagination-actions-v3124 {
    row-gap: 8px;
  }
  body.crm-app .migo-files-pagination-actions-v3124 label {
    margin-right: 6px;
  }
}


/* Migo CRM v8.5.16.28 — Files pagination: structurally separated page-size and navigation */
body.crm-app .migo-files-pagination-actions-v3124 {
  display:flex;
  align-items:center;
  gap:14px;
}
body.crm-app .migo-files-pagination-actions-v3124 .migo-files-page-size-v3194 {
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:8px;
  margin:0;
  padding:0 14px 0 0;
  border-right:1px solid #e4e9f0;
  white-space:nowrap;
}
body.crm-app .migo-files-pagination-actions-v3124 .migo-files-page-size-v3194 > span {
  display:block;
  white-space:nowrap;
}
body.crm-app .migo-files-pagination-actions-v3124 .migo-files-page-size-v3194 > select {
  width:74px;
  min-width:74px;
  height:34px;
  margin:0;
}
body.crm-app .migo-files-page-nav-v3194 {
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:7px;
}
body.crm-app .migo-files-page-nav-v3194 > button {
  flex:0 0 32px;
  margin:0;
}
/* neutralize older adjacency hacks; the two control groups now own the spacing */
body.crm-app .migo-files-pagination-actions-v3124 > label + button {
  margin-left:0 !important;
}
@media (max-width:760px) {
  body.crm-app .migo-files-pagination-actions-v3124 {
    gap:10px;
  }
  body.crm-app .migo-files-pagination-actions-v3124 .migo-files-page-size-v3194 {
    padding-right:10px;
  }
}
@media (max-width:560px) {
  body.crm-app .migo-files-pagination-actions-v3124 {
    width:100%;
    align-items:flex-start;
    flex-direction:column;
  }
  body.crm-app .migo-files-pagination-actions-v3124 .migo-files-page-size-v3194 {
    width:100%;
    justify-content:space-between;
    padding:0 0 10px;
    border-right:0;
    border-bottom:1px solid #e4e9f0;
  }
  body.crm-app .migo-files-page-nav-v3194 {
    width:100%;
    flex-wrap:wrap;
  }
}


/* Migo CRM v8.5.16.29 — Files: smart entity attach picker */
body.crm-app .migo-upload-panel-v3052 {
  position: relative;
  z-index: 60;
  overflow: visible !important;
}
body.crm-app .migo-upload-panel-v3052 .migo-file-form-v3052 {
  overflow: visible;
}
body.crm-app .migo-file-entity-picker-label-v3195 > span:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
body.crm-app .migo-file-entity-picker-label-v3195 > span:first-child > small {
  color: #98a2b3;
  font-size: 9px;
  font-weight: 650;
}
body.crm-app .migo-file-entity-picker-v3195 {
  position: relative;
  min-width: 0;
  z-index: 70;
}
body.crm-app .migo-file-entity-trigger-v3195 {
  display: flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid #d7dde5;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
body.crm-app .migo-file-entity-trigger-v3195:hover,
body.crm-app .migo-file-entity-trigger-v3195[aria-expanded="true"] {
  border-color: #98b4e8;
  box-shadow: 0 0 0 3px rgba(47,111,219,.07);
}
body.crm-app .migo-file-entity-trigger-main-v3195 {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}
body.crm-app .migo-file-entity-trigger-main-v3195 > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.crm-app .migo-file-entity-trigger-icon-v3195 {
  display: grid;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 7px;
  background: #eef4ff;
  color: #175cd3;
}
body.crm-app .migo-file-entity-trigger-icon-v3195 .migo-ui-icon { width: 14px; height: 14px; }
body.crm-app .migo-file-entity-trigger-v3195 > .migo-ui-icon {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  transition: transform .15s ease;
}
body.crm-app .migo-file-entity-trigger-v3195[aria-expanded="true"] > .migo-ui-icon { transform: rotate(180deg); }
body.crm-app .migo-file-entity-menu-v3195 {
  position: absolute;
  z-index: 1400;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  overflow: hidden;
  border: 1px solid #d7dde5;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(16,24,40,.17);
}
body.crm-app .migo-file-entity-menu-v3195[hidden] { display: none !important; }
body.crm-app .migo-file-entity-search-v3195 {
  position: relative;
  display: flex !important;
  grid-column: auto !important;
  align-items: center;
  padding: 9px;
  border-bottom: 1px solid #edf0f4;
  background: #fff;
}
body.crm-app .migo-file-entity-search-v3195 > .migo-ui-icon {
  position: absolute;
  left: 20px;
  z-index: 2;
  width: 14px;
  height: 14px;
  color: #98a2b3;
  pointer-events: none;
}
body.crm-app .migo-file-entity-search-v3195 input {
  min-height: 36px !important;
  padding-left: 32px !important;
  font-size: 11px !important;
}
body.crm-app .migo-file-entity-clear-v3195,
body.crm-app .migo-file-entity-results-v3195 > button {
  display: grid;
  width: 100%;
  grid-template-columns: 30px minmax(0,1fr) 16px;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 0;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
  color: #344054;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
body.crm-app .migo-file-entity-clear-v3195:hover,
body.crm-app .migo-file-entity-results-v3195 > button:hover { background: #f7f9fc; }
body.crm-app .migo-file-entity-clear-v3195 > .migo-ui-icon,
body.crm-app .migo-file-entity-result-icon-v3195 {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  background: #f1f5f9;
  color: #526176;
}
body.crm-app .migo-file-entity-result-icon-v3195 .migo-ui-icon,
body.crm-app .migo-file-entity-clear-v3195 > .migo-ui-icon { width: 15px; height: 15px; }
body.crm-app .migo-file-entity-clear-v3195 > span,
body.crm-app .migo-file-entity-result-copy-v3195 {
  display: grid;
  min-width: 0;
  gap: 3px;
}
body.crm-app .migo-file-entity-clear-v3195 strong,
body.crm-app .migo-file-entity-result-copy-v3195 strong {
  overflow: hidden;
  color: #172033;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.crm-app .migo-file-entity-clear-v3195 small,
body.crm-app .migo-file-entity-result-copy-v3195 small {
  overflow: hidden;
  color: #667085;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.crm-app .migo-file-entity-result-copy-v3195 small b { color: #175cd3; font-weight: 800; }
body.crm-app .migo-file-entity-results-v3195 {
  max-height: min(300px, calc(100vh - 360px));
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c6cfda transparent;
}
body.crm-app .migo-file-entity-results-v3195::-webkit-scrollbar { width: 7px; }
body.crm-app .migo-file-entity-results-v3195::-webkit-scrollbar-track { background: transparent; }
body.crm-app .migo-file-entity-results-v3195::-webkit-scrollbar-thumb { background: #c6cfda; border: 2px solid transparent; border-radius: 999px; background-clip: content-box; }
body.crm-app .migo-file-entity-results-v3195 > button > .migo-ui-icon {
  width: 15px;
  height: 15px;
  color: #98a2b3;
  opacity: 0;
}
body.crm-app .migo-file-entity-empty-v3195,
body.crm-app .migo-file-entity-loading-v3195 {
  padding: 16px 12px;
  color: #98a2b3;
  font-size: 10px;
  text-align: center;
}
body.crm-app .migo-file-entity-empty-v3195.is-error { color: #b42318; }
body.crm-app .migo-file-entity-loading-v3195 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
body.crm-app .migo-file-entity-loading-v3195 > span {
  width: 13px;
  height: 13px;
  border: 2px solid #d8e3f5;
  border-top-color: #2f6fdb;
  border-radius: 50%;
  animation: migo-file-entity-spin-v3195 .7s linear infinite;
}
@keyframes migo-file-entity-spin-v3195 { to { transform: rotate(360deg); } }
body.crm-app .migo-file-entity-meta-v3195 {
  display: block;
  padding: 7px 10px 8px;
  border-top: 1px solid #edf0f4;
  background: #fafbfc;
  color: #98a2b3;
  font-size: 9px;
  line-height: 1.35;
}
@media (max-width: 980px) {
  body.crm-app .migo-file-entity-menu-v3195 {
    position: static;
    margin-top: 6px;
  }
  body.crm-app .migo-file-entity-results-v3195 { max-height: 260px; }
}

/* Migo CRM v8.5.16.32 — Products row action menu stacking / clipping fix */
body.crm-app #productsView,
body.crm-app #productsView.active,
body.crm-app #productsView .migo-products-workspace-v3090,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-list-card,
body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list {
  overflow: visible !important;
}

body.crm-app #productsView .migo-products-workspace-v3090[data-products-view-v3057="list"] .migo-products-list {
  position: relative;
  z-index: 1;
}

body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-item-v3094,
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-row-v3093 {
  position: relative;
  z-index: 1;
}

body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-item-v3094:has([data-product-row-menu-toggle-v3057][aria-expanded="true"]),
body.crm-app #productsView .migo-products-workspace-v3090 .migo-products-row-v3093:has([data-product-row-menu-toggle-v3057][aria-expanded="true"]) {
  z-index: 300;
}

body.crm-app #productsView .migo-product-row-menu-wrap-v3057 {
  position: relative;
  z-index: 5;
}

body.crm-app #productsView .migo-product-row-menu-wrap-v3057:has([data-product-row-menu-toggle-v3057][aria-expanded="true"]) {
  z-index: 500;
}

body.crm-app #productsView .migo-product-row-menu-v3057 {
  z-index: 9999 !important;
  overflow: visible !important;
  isolation: isolate;
}

/* Migo CRM v8.5.16.34 — Payment accounts action column alignment */
body.crm-app #paymentAccountsView .migo-commercial-table-v3064.is-payments-v3064 th:last-child,
body.crm-app #paymentAccountsView .migo-commercial-table-v3064.is-payments-v3064 td:last-child {
  width: 72px;
  min-width: 72px;
}

body.crm-app #paymentAccountsView .migo-commercial-table-v3064.is-payments-v3064 .migo-commercial-row-action-v3064 {
  box-sizing: border-box;
  padding-right: 12px !important;
  padding-left: 12px !important;
  text-align: center;
  white-space: nowrap;
}

body.crm-app #paymentAccountsView .migo-commercial-table-v3064.is-payments-v3064 .migo-commercial-row-action-v3064 button {
  display: inline-flex;
  width: 34px;
  height: 34px;
  min-width: 34px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  body.crm-app #paymentAccountsView .migo-commercial-table-v3064.is-payments-v3064 .migo-commercial-row-action-v3064 {
    width: auto;
    min-width: 0;
    padding: 10px 12px !important;
    text-align: right;
  }
}


/* Migo CRM v8.5.21.9 — Calendar reminder UI polish
   Fixes:
   1) reminder-search native search decoration overlaps with the custom search icon/text;
   2) reminder pagination arrows are visually centered inside their buttons. */

body.crm-app .migo-calendar-search-v3125 input {
  padding-left: 36px;
  -webkit-appearance: none;
  appearance: none;
  background-clip: padding-box;
}
body.crm-app .migo-calendar-search-v3125 input::-webkit-search-decoration,
body.crm-app .migo-calendar-search-v3125 input::-webkit-search-cancel-button,
body.crm-app .migo-calendar-search-v3125 input::-webkit-search-results-button,
body.crm-app .migo-calendar-search-v3125 input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
body.crm-app .migo-calendar-search-v3125 input::-ms-clear,
body.crm-app .migo-calendar-search-v3125 input::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}
body.crm-app .migo-calendar-pagination-v3125 > div {
  align-items: center;
}
body.crm-app .migo-calendar-pagination-v3125 button {
  display: inline-grid;
  place-items: center;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}
body.crm-app .migo-calendar-pagination-v3125 button:not(:disabled):hover {
  background: #f8fafc;
}
