: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 Pro */
.pipeline-pro-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-pro-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:14px; }
.pipeline-pro-head h3 { margin:0 0 4px; font-size:18px; }
.pipeline-pro-head p { margin:0; color:#64748b; font-size:13px; }
.pipeline-pro-metrics { display:flex; gap:8px; flex-wrap:wrap; margin:10px 0 16px; }
.pipeline-pro-pill { border:1px solid rgba(148,163,184,.28); border-radius:999px; padding:7px 10px; font-size:12px; color:#334155; background:#fff; }
.pipeline-pro-board { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:12px; align-items:start; }
.pipeline-pro-column { min-height:150px; border:1px solid rgba(148,163,184,.22); border-radius:18px; background:rgba(248,250,252,.92); padding:10px; }
.pipeline-pro-column h4 { margin:0 0 8px; font-size:13px; display:flex; justify-content:space-between; gap:8px; color:#0f172a; }
.pipeline-pro-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-pro-card-mini strong { display:block; font-size:13px; color:#0f172a; margin-bottom:4px; }
.pipeline-pro-card-mini span { display:block; color:#64748b; font-size:12px; }
.pipeline-pro-move { margin-top:8px; display:grid; grid-template-columns:1fr auto; gap:6px; }
.pipeline-pro-move select { border:1px solid rgba(148,163,184,.3); border-radius:10px; padding:6px; font-size:12px; }
.pipeline-pro-move button { min-height:32px; padding:0 9px; border-radius:10px; }
.pipeline-pro-result { margin-top:12px; font-size:13px; color:#334155; white-space:pre-wrap; }

/* Migo CRM v2.3.1 schema compatibility polish */
.pipeline-pro-card .muted,
.lead-conversion-card .muted {
  color: #64748b;
}
.pipeline-pro-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-pro-card[data-dnd-ready="1"] .pipeline-pro-head p::after {
  content: ' · Drag & drop activ';
  color: #2563eb;
  font-weight: 800;
}
.pipeline-pro-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-pro-board::-webkit-scrollbar {
  height: 7px !important;
}
.pipeline-pro-board::-webkit-scrollbar-track {
  background: transparent !important;
}
.pipeline-pro-board::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,.32) !important;
  border-radius: 999px !important;
}
.pipeline-pro-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-pro-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-pro-column.is-moving {
  opacity: .78 !important;
  pointer-events: none !important;
}
.pipeline-pro-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-pro-card-mini:active {
  cursor: grabbing !important;
}
.pipeline-pro-card-mini[draggable="true"]::after {
  content: 'Trage în altă etapă';
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #94a3b8;
}
.pipeline-pro-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-pro-card-mini.just-moved {
  border-color: rgba(22,163,74,.42) !important;
  box-shadow: 0 18px 45px rgba(22,163,74,.12) !important;
}
.pipeline-pro-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-pro-column.is-drop-target .pipeline-pro-drop-hint {
  border-color: rgba(37,99,235,.42);
  color: #1d4ed8;
  background: rgba(239,246,255,.9);
}
.pipeline-pro-move {
  opacity: .72;
}
.pipeline-pro-card-mini:hover .pipeline-pro-move {
  opacity: 1;
}
@media (max-width: 920px) {
  .pipeline-pro-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-pro-column.is-drop-target {
  outline: 2px solid rgba(37,99,235,.38) !important;
  outline-offset: -2px !important;
}
.pipeline-pro-card-mini.is-dragging {
  opacity: .55 !important;
}
.pipeline-pro-result:not(:empty),
.quotes-result:not(:empty) {
  white-space: pre-wrap !important;
}
.migo-app-version::after {
  content: '' !important;
}

/* Migo CRM  Emergency UI Stabilizer */
.pipeline-pro-card[data-pipeline-pro-current],
.quotes-engine-card[data-quotes-page-v253] {
  margin-bottom: 18px;
}
.pipeline-pro-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-pro-column {
  min-height: 180px;
  scroll-snap-align: start;
}
.pipeline-pro-card-mini {
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.pipeline-pro-card-mini.is-dragging,
.pipeline-pro-card-mini.is-touch-dragging {
  cursor: grabbing;
  opacity: .82;
  transform: scale(.985);
}
.pipeline-pro-card-mini.just-moved {
  outline: 2px solid rgba(34, 197, 94, .55);
}
.pipeline-pro-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-pro-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-pro-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.quotes-engine-pill,
.pipeline-pro-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-pro-board { grid-auto-columns: minmax(82vw, 1fr); }
  .pipeline-pro-card-mini { padding: 13px; }
  .pipeline-pro-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-pro-card neutral CSS */
.pipeline-pro-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-pro-card:hover,
.pipeline-pro-card:focus,
.pipeline-pro-card:focus-within {
  transform: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

.pipeline-pro-card::before,
.pipeline-pro-card::after {
  display: none !important;
  content: none !important;
}
/* End Migo CRM v2.6.10 SAFE pipeline-pro-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 Pro Canonical Renderer */
.kanban-board {
  display: none !important;
}

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

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

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

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

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

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

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

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

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

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

#kanbanView .pipeline-pro-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 Pro 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-pro-head,
#kanbanView [data-pipeline-refresh],
#kanbanView .pipeline-pro-move,
#kanbanView .kanban-board,
#kanbanView > .panel-head {
  display: none !important;
}

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

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

#kanbanView .pipeline-pro-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-pro-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-pro-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-pro-scroll::-webkit-scrollbar {
  width: 6px !important;
}

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

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

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

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

#kanbanView .pipeline-pro-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-pro-card {
  height: calc(100vh - 132px) !important;
  min-height: 520px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

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

#kanbanView .pipeline-pro-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-pro-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-pro-column > h4 {
  flex: 0 0 auto !important;
  margin: 0 0 10px 0 !important;
  padding: 0 4px !important;
  box-sizing: border-box !important;
}

#kanbanView .pipeline-pro-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-pro-scroll::-webkit-scrollbar {
  width: 6px !important;
}

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

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

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

#kanbanView .pipeline-pro-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-pro-card {
  overflow: hidden !important;
}

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

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

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

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

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

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

#kanbanView .pipeline-pro-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="notificationCenter"],
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 */
.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;
  }
}

/* Migo CRM v3.0.35 Team View Isolation */
body.crm-app:not(.migo-team-route-is-team-v3035) #teamView {
  display: none !important;
}

body.crm-app.migo-team-route-is-team-v3035 #teamView.active {
  display: block !important;
}

/* 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-pro-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-pro-card.migo-sales-console-v3026,
body.crm-app #kanbanView .pipeline-pro-card[data-pipeline-pro-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-pro-metrics {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-wrap: wrap;
  gap: 8px !important;
  margin: 0 !important;
}

#kanbanView .pipeline-pro-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-pro-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-pro-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-pro-column:nth-child(4n+2) {
  border-top-color: var(--migo-console-green) !important;
}

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

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

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

#kanbanView .pipeline-pro-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-pro-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-pro-card-mini[data-status="won"] {
  border-left-color: var(--migo-console-green) !important;
}

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

#kanbanView .pipeline-pro-card-mini:hover,
#kanbanView .pipeline-pro-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-pro-card-mini[data-status="won"] .migo-pipeline-status-v3026 {
  background: #dcfce7;
  color: #047857;
}

#kanbanView .pipeline-pro-card-mini[data-status="lost"] .migo-pipeline-status-v3026,
#kanbanView .pipeline-pro-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-pro-card-mini[hidden] {
  display: none !important;
}

#kanbanView .pipeline-pro-column.is-filter-empty .pipeline-pro-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-pro-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-pro-card.migo-sales-console-v3026,
  body.crm-app #kanbanView .pipeline-pro-card[data-pipeline-pro-current] {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

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

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

  #kanbanView .pipeline-pro-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-pro-metrics {
  gap: 14px !important;
  padding: 1px 0 3px !important;
}

body.crm-app #kanbanView .pipeline-pro-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-pro-board {
  gap: 12px !important;
}

body.crm-app #kanbanView .pipeline-pro-column {
  background: rgba(255, 255, 255, .34) !important;
  border-color: #dfe3e8 !important;
  border-radius: 8px !important;
}

body.crm-app #kanbanView .pipeline-pro-column > h4 {
  background: transparent !important;
  border-bottom-color: #dfe3e8 !important;
}

body.crm-app #kanbanView .pipeline-pro-scroll {
  padding: 8px !important;
}

body.crm-app #kanbanView .pipeline-pro-card-mini {
  border-radius: 7px !important;
  box-shadow: none !important;
}

body.crm-app #kanbanView .pipeline-pro-card-mini:hover,
body.crm-app #kanbanView .pipeline-pro-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-pro-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-pro-metrics {
  gap: 12px !important;
  padding: 0 0 4px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-card.migo-sales-console-v3026,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-card[data-pipeline-pro-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-pro-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-pro-metrics::-webkit-scrollbar {
  display: none;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-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-pro-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-pro-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-pro-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-pro-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-pro-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-pro-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-pro-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-pro-column > h4 small b {
  color: #526176;
  font-weight: 750;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-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-pro-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-pro-card-mini[data-risk="1"] {
  border-left-color: #c88735 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-card-mini[data-status="won"] {
  border-left-color: #188767 !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-card-mini[data-status="lost"],
body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-card-mini[data-status="cancelled"] {
  border-left-color: #c43d4b !important;
  opacity: .78;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-card-mini:hover,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-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-pro-card-mini::after,
body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-card-mini[draggable="true"]::after {
  display: none !important;
  content: none !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-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-pro-column.is-filter-empty .pipeline-pro-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-pro-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-pro-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-pro-board {
  grid-auto-columns: 250px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .pipeline-pro-column {
  width: 250px !important;
  min-width: 250px !important;
}

body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .pipeline-pro-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-pro-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-pro-column,
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .pipeline-pro-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-pro-board {
    grid-auto-columns: min(84vw, 300px) !important;
    min-height: 390px !important;
    max-height: 60dvh;
  }

  body.crm-app.migo-pipeline-route-v3029 #kanbanView .pipeline-pro-column,
  body.crm-app.migo-pipeline-route-v3029 #kanbanView .migo-pipeline-workspace-v3056.is-compact-v3056 .pipeline-pro-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-pro-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-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;
  }
}
