/* Migo CRM v8.5.21.77 — Marketing + HR canonical workspace */
body.crm-app #marketingView,body.crm-app #hrView{width:100%;min-width:0;margin:0;padding:0}
body.crm-app #marketingView svg,body.crm-app #hrView svg{width:16px;height:16px;display:block}
body.crm-app .migo-module-v852177{display:grid;gap:12px;padding-bottom:28px}
body.crm-app .migo-module-info-v852177{display:flex;align-items:center;gap:9px;padding:2px;color:#667085;font-size:12px}
body.crm-app .migo-module-info-v852177 svg{flex:0 0 16px;color:#7c8ba1}
body.crm-app .migo-module-info-v852177 p{margin:0;line-height:1.45}
body.crm-app .migo-module-inline-actions-v852177{display:flex;align-items:center;gap:10px;padding:2px 0;color:#667085;font-size:11px}
body.crm-app .migo-row-actions-v852177{display:flex;align-items:center;justify-content:flex-end;gap:5px}
body.crm-app .migo-row-actions-v852177 button{width:32px;height:32px;display:grid;place-items:center;padding:0;border:1px solid #d9e0e8;border-radius:7px;background:#fff;color:#475467;cursor:pointer}
body.crm-app .migo-row-actions-v852177 button:hover{background:#f8fafc;color:#101828}
body.crm-app .migo-commercial-table-v3064 tr.is-selected-v852177 td{background:#f8fafc}
body.crm-app .migo-module-dialog-v852177{width:min(820px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:0;border-radius:12px;background:#fff;box-shadow:0 24px 80px rgba(15,23,42,.24);overflow:hidden}
body.crm-app .migo-module-dialog-v852177.is-small{width:min(520px,calc(100vw - 28px))}
body.crm-app .migo-module-dialog-v852177::backdrop{background:rgba(15,23,42,.42);backdrop-filter:blur(1px)}
body.crm-app .migo-module-dialog-v852177>form{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 28px)}
body.crm-app .migo-module-dialog-v852177>form>header{display:flex;align-items:flex-start;gap:14px;padding:15px 18px;border-bottom:1px solid #e4e7ec}
body.crm-app .migo-module-dialog-v852177>form>header>div{min-width:0}
body.crm-app .migo-module-dialog-v852177>form>header span{display:block;color:#667085;font-size:10px;font-weight:750;letter-spacing:.04em}
body.crm-app .migo-module-dialog-v852177>form>header h2{margin:2px 0 0;color:#101828;font-size:20px;line-height:1.2}
body.crm-app .migo-module-dialog-v852177>form>header>button{margin-left:auto;width:34px;height:34px;display:grid;place-items:center;border:1px solid #e4e7ec;border-radius:7px;background:#f8fafc;color:#475467;cursor:pointer}
body.crm-app .migo-module-dialog-body-v852177{min-height:0;overflow:auto;padding:16px 18px}
body.crm-app .migo-module-dialog-v852177>form>footer,body.crm-app .migo-module-dialog-v852177>footer{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px;border-top:1px solid #e4e7ec;background:#fbfcfd}
body.crm-app .migo-module-dialog-v852177.is-small>.migo-module-dialog-body-v852177{padding:20px}
body.crm-app .migo-module-dialog-v852177.is-small>.migo-module-dialog-body-v852177 h2{margin:0 0 7px;font-size:18px}
body.crm-app .migo-module-dialog-v852177.is-small>.migo-module-dialog-body-v852177 p{margin:0;color:#667085}
body.crm-app .migo-module-form-grid-v852177{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.crm-app .migo-module-form-grid-v852177 label{display:grid;gap:6px;color:#344054;font-size:11px;font-weight:700}
body.crm-app .migo-module-form-grid-v852177 label.wide{grid-column:1/-1}
body.crm-app .migo-module-form-grid-v852177 input,body.crm-app .migo-module-form-grid-v852177 select,body.crm-app .migo-module-form-grid-v852177 textarea{width:100%;min-height:40px;box-sizing:border-box;padding:8px 10px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#101828;font:inherit;outline:none}
body.crm-app .migo-module-form-grid-v852177 textarea{min-height:86px;resize:vertical}
body.crm-app .migo-module-form-grid-v852177 input:focus,body.crm-app .migo-module-form-grid-v852177 select:focus,body.crm-app .migo-module-form-grid-v852177 textarea:focus{border-color:#9db2d1;box-shadow:0 0 0 3px rgba(43,92,168,.08)}
body.crm-app .migo-module-inspector-v852177{display:grid;gap:10px;padding-top:2px}
body.crm-app .migo-module-inspector-v852177>header{display:flex;align-items:flex-start;gap:12px;padding:2px 0}
body.crm-app .migo-module-inspector-v852177>header>div{min-width:0}
body.crm-app .migo-module-inspector-v852177>header>div>span{display:block;color:#98a2b3;font-size:9px;font-weight:750;letter-spacing:.06em}
body.crm-app .migo-module-inspector-v852177 h2{margin:3px 0 2px;color:#101828;font-size:17px}
body.crm-app .migo-module-inspector-v852177 p{margin:0;color:#667085;font-size:11px}
body.crm-app .migo-module-inspector-v852177>header>button{margin-left:auto}
body.crm-app .migo-module-inspector-grid-v852177{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
body.crm-app .migo-module-block-v852177{min-width:0;border:1px solid #e4e7ec;border-radius:9px;background:#fff;overflow:hidden}
body.crm-app .migo-module-block-v852177>header{display:flex;align-items:center;gap:9px;padding:10px 12px;border-bottom:1px solid #eef1f5;background:#fbfcfd}
body.crm-app .migo-module-block-v852177>header strong{font-size:12px;color:#344054}
body.crm-app .migo-module-block-v852177 dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;padding:4px 12px 10px}
body.crm-app .migo-module-block-v852177 dl div{padding:8px 0;border-bottom:1px solid #f2f4f7}
body.crm-app .migo-module-block-v852177 dt{color:#98a2b3;font-size:9px;text-transform:uppercase;letter-spacing:.04em}
body.crm-app .migo-module-block-v852177 dd{margin:3px 0 0;color:#344054;font-size:11px}
body.crm-app .migo-module-upload-v852177{margin-left:auto;display:inline-flex!important;align-items:center;gap:6px;color:#344054!important;font-size:10px!important;font-weight:700!important;cursor:pointer}
body.crm-app .migo-module-file-list-v852177{display:grid;padding:6px 12px 10px}
body.crm-app .migo-module-file-list-v852177 a{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #f2f4f7;color:#344054;text-decoration:none}
body.crm-app .migo-module-file-list-v852177 a:last-child{border-bottom:0}
body.crm-app .migo-module-file-list-v852177 strong{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}
body.crm-app .migo-module-file-list-v852177 small{color:#98a2b3;font-size:9px}
body.crm-app .migo-module-mini-empty-v852177{padding:18px 12px;color:#98a2b3;font-size:11px;text-align:center}
body.crm-app .migo-module-planned-v852177{display:flex;align-items:flex-start;gap:12px;padding:18px;border:1px solid #e4e7ec;border-radius:9px;background:#fff}
body.crm-app .migo-module-planned-v852177>svg{width:22px!important;height:22px!important;color:#667085}
body.crm-app .migo-module-planned-v852177 strong,body.crm-app .migo-module-planned-v852177 span{display:block}
body.crm-app .migo-module-planned-v852177 strong{color:#101828;font-size:13px}
body.crm-app .migo-module-planned-v852177 span{margin-top:4px;max-width:780px;color:#667085;font-size:11px;line-height:1.5}
@media(max-width:820px){body.crm-app .migo-module-form-grid-v852177,body.crm-app .migo-module-inspector-grid-v852177{grid-template-columns:1fr}body.crm-app .migo-module-form-grid-v852177 label.wide{grid-column:auto}body.crm-app .migo-module-inline-actions-v852177{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){body.crm-app .migo-module-dialog-v852177{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}body.crm-app .migo-module-dialog-v852177>form{max-height:calc(100dvh - 12px)}body.crm-app .migo-module-block-v852177 dl{grid-template-columns:1fr}}


/* Migo CRM v8.5.21.78 — Marketing + HR operational refinement */
body.crm-app .migo-module-subtabs-v852178{display:flex;align-items:center;gap:3px;width:max-content;max-width:100%;padding:3px;border:1px solid #e4e7ec;border-radius:8px;background:#f2f4f7;overflow:auto}
body.crm-app .migo-module-subtabs-v852178 button{display:inline-flex;align-items:center;gap:7px;min-height:30px;padding:4px 10px;border:0;border-radius:6px;background:transparent;color:#667085;font-size:11px;font-weight:700;white-space:nowrap;cursor:pointer}
body.crm-app .migo-module-subtabs-v852178 button b{min-width:18px;padding:1px 5px;border-radius:999px;background:#e4e7ec;color:#667085;font-size:9px;line-height:15px;text-align:center}
body.crm-app .migo-module-subtabs-v852178 button.active{background:#fff;color:#101828;box-shadow:0 1px 3px rgba(15,23,42,.10)}
body.crm-app .migo-module-subtabs-v852178 button.active b{background:#e8f0eb;color:#35624a}
body.crm-app .migo-module-empty-icon-v852178{display:grid!important;place-items:center;width:34px!important;height:34px!important;margin:0 auto 7px;border-radius:8px;background:#f2f4f7;color:#667085}
body.crm-app .migo-module-empty-icon-v852178 svg{width:16px!important;height:16px!important}
body.crm-app .migo-module-inspector-actions-v852178{margin-left:auto;display:flex;gap:7px;align-items:center}
body.crm-app .migo-marketing-performance-v852178{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:4px 12px 10px}
body.crm-app .migo-marketing-performance-v852178>div{padding:9px 10px;border-right:1px solid #eef1f5}
body.crm-app .migo-marketing-performance-v852178>div:last-child{border-right:0}
body.crm-app .migo-marketing-performance-v852178 span,body.crm-app .migo-marketing-performance-v852178 small{display:block;color:#98a2b3;font-size:9px}
body.crm-app .migo-marketing-performance-v852178 strong{display:block;margin:3px 0;color:#101828;font-size:15px}
body.crm-app .migo-hr-employee-metrics-v852178{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e4e7ec;border-radius:9px;background:#fff;overflow:hidden}
body.crm-app .migo-hr-employee-metrics-v852178>div{padding:10px 12px;border-right:1px solid #eef1f5}
body.crm-app .migo-hr-employee-metrics-v852178>div:last-child{border-right:0}
body.crm-app .migo-hr-employee-metrics-v852178 span,body.crm-app .migo-hr-employee-metrics-v852178 small{display:block;color:#98a2b3;font-size:9px}
body.crm-app .migo-hr-employee-metrics-v852178 strong{display:block;margin:3px 0;color:#101828;font-size:15px}
body.crm-app .migo-row-actions-v852177 button.is-positive-v852178{color:#067647;border-color:#abefc6;background:#f6fef9}
body.crm-app .migo-row-actions-v852177 button.is-negative-v852178{color:#b42318;border-color:#fecdca;background:#fffbfa}
body.crm-app .migo-hr-progress-v852178{width:100%;min-width:90px;height:6px;border-radius:999px;background:#eef1f5;overflow:hidden}
body.crm-app .migo-hr-progress-v852178 span{display:block;height:100%;border-radius:inherit;background:currentColor;color:#667085}
body.crm-app .migo-commercial-table-v3064 td>.migo-hr-progress-v852178+small{display:block;margin-top:4px;color:#667085;font-size:9px}
@media(max-width:820px){body.crm-app .migo-marketing-performance-v852178,body.crm-app .migo-hr-employee-metrics-v852178{grid-template-columns:repeat(2,minmax(0,1fr))}body.crm-app .migo-marketing-performance-v852178>div:nth-child(2),body.crm-app .migo-hr-employee-metrics-v852178>div:nth-child(2){border-right:0}body.crm-app .migo-marketing-performance-v852178>div:nth-child(-n+2),body.crm-app .migo-hr-employee-metrics-v852178>div:nth-child(-n+2){border-bottom:1px solid #eef1f5}}


/* Migo CRM v8.5.21.79 — HR Payroll */
body.crm-app .migo-payroll-v852179{display:grid;gap:10px}
body.crm-app .migo-payroll-metrics-v852179 strong{white-space:nowrap}
body.crm-app .migo-payroll-totals-v852179{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #e4e7ec;border-radius:9px;background:#fff;overflow:hidden}
body.crm-app .migo-payroll-totals-v852179>div{padding:10px 12px;border-right:1px solid #eef1f5}
body.crm-app .migo-payroll-totals-v852179>div:last-child{border-right:0}
body.crm-app .migo-payroll-totals-v852179 span,body.crm-app .migo-payroll-totals-v852179 small{display:block;color:#98a2b3;font-size:9px}
body.crm-app .migo-payroll-totals-v852179 strong{display:block;margin:3px 0;color:#101828;font-size:15px}
body.crm-app .migo-payroll-run-v852179{gap:9px}
body.crm-app .migo-payroll-run-v852179 .migo-commercial-table-wrap-v3064{border:1px solid #e4e7ec;border-radius:9px;background:#fff;overflow:auto}
body.crm-app .migo-payroll-check-v852179{display:flex!important;grid-column:auto!important;align-items:center!important;align-self:end;min-height:40px;gap:7px!important}
body.crm-app .migo-payroll-check-v852179 input{width:14px!important;min-height:14px!important;height:14px!important;padding:0!important;margin:0!important;box-shadow:none!important}
body.crm-app .migo-payroll-tax-builder-v852179{display:grid;gap:8px;margin-top:14px;padding-top:14px;border-top:1px solid #e4e7ec}
body.crm-app .migo-payroll-tax-builder-v852179>header{display:flex;align-items:center;gap:10px}
body.crm-app .migo-payroll-tax-builder-v852179>header>div{min-width:0}
body.crm-app .migo-payroll-tax-builder-v852179>header strong,body.crm-app .migo-payroll-tax-builder-v852179>header small{display:block}
body.crm-app .migo-payroll-tax-builder-v852179>header strong{font-size:12px;color:#344054}
body.crm-app .migo-payroll-tax-builder-v852179>header small{margin-top:2px;color:#98a2b3;font-size:10px}
body.crm-app .migo-payroll-tax-builder-v852179>header button{margin-left:auto}
body.crm-app [data-tax-rules]{display:grid;gap:7px}
body.crm-app .migo-payroll-tax-row-v852179{display:grid;grid-template-columns:minmax(150px,1.4fr) 105px 105px 125px 90px 100px 34px;gap:6px;align-items:center}
body.crm-app .migo-payroll-tax-row-v852179 input,body.crm-app .migo-payroll-tax-row-v852179 select{width:100%;min-width:0;min-height:36px;padding:7px 8px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#101828;font-size:11px}
@media(max-width:980px){body.crm-app .migo-payroll-tax-row-v852179{grid-template-columns:repeat(2,minmax(0,1fr))}body.crm-app .migo-payroll-tax-row-v852179 button{justify-self:end}body.crm-app .migo-payroll-totals-v852179{grid-template-columns:repeat(2,minmax(0,1fr))}body.crm-app .migo-payroll-totals-v852179>div:nth-child(2){border-right:0}body.crm-app .migo-payroll-totals-v852179>div:nth-child(-n+2){border-bottom:1px solid #eef1f5}}
@media(max-width:620px){body.crm-app .migo-payroll-totals-v852179{grid-template-columns:1fr}body.crm-app .migo-payroll-totals-v852179>div{border-right:0;border-bottom:1px solid #eef1f5}body.crm-app .migo-payroll-tax-row-v852179{grid-template-columns:1fr}}


/* Migo CRM v8.5.21.82 — Marketing subscriber center + campaign delivery */
body.crm-app .migo-row-actions-v852177 button.is-positive-v852181{color:#067647;border-color:#abefc6;background:#f6fef9}
body.crm-app .migo-marketing-campaign-stack-v852181{display:grid;gap:10px}
body.crm-app .migo-marketing-delivery-v852181>header small{margin-left:auto;color:#98a2b3;font-size:10px}
body.crm-app .migo-marketing-delivery-v852181 .migo-module-subtabs-v852178{margin:10px 12px 0}
body.crm-app .migo-marketing-recipient-table-v852181{overflow:auto;padding:8px 12px 12px}
body.crm-app .migo-marketing-recipient-table-v852181 .migo-commercial-table-v3064{min-width:720px}
body.crm-app .migo-marketing-recipient-table-v852181 td small{display:block;margin-top:2px;color:#98a2b3;font-size:9px}
body.crm-app .migo-marketing-recipient-table-v852181 td>span{display:block;margin-top:2px;color:#98a2b3;font-size:9px}

/* Migo CRM v8.5.21.81 — HR operational summary + leave balances */
body.crm-app .migo-hr-summary-v852181{display:grid;gap:10px}
body.crm-app .migo-hr-summary-grid-v852181{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.crm-app .migo-hr-summary-grid-v852181 .migo-module-block-v852177>header small{margin-left:auto;color:#98a2b3;font-size:10px}
body.crm-app .migo-hr-dept-bars-v852181{display:grid;gap:9px;padding:12px}
body.crm-app .migo-hr-dept-bars-v852181>div{display:grid;grid-template-columns:minmax(100px,1fr) auto;gap:4px 12px;align-items:center}
body.crm-app .migo-hr-dept-bars-v852181 span{color:#344054;font-size:11px}
body.crm-app .migo-hr-dept-bars-v852181 strong{color:#101828;font-size:11px}
body.crm-app .migo-hr-dept-bars-v852181 i{grid-column:1/-1;height:5px;border-radius:999px;background:#eef1f5;overflow:hidden}
body.crm-app .migo-hr-dept-bars-v852181 i b{display:block;height:100%;border-radius:inherit;background:#98a2b3}
body.crm-app .migo-hr-upcoming-v852181{display:grid;padding:5px 12px 10px}
body.crm-app .migo-hr-upcoming-v852181>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:8px 0;border-bottom:1px solid #f2f4f7}
body.crm-app .migo-hr-upcoming-v852181>div:last-child{border-bottom:0}
body.crm-app .migo-hr-upcoming-v852181 strong{color:#344054;font-size:11px}
body.crm-app .migo-hr-upcoming-v852181 span,body.crm-app .migo-hr-upcoming-v852181 small{color:#98a2b3;font-size:9px}
body.crm-app .migo-module-dialog-note-v852181{padding:10px 12px;border-radius:8px;background:#f8fafc;color:#667085;font-size:10px;line-height:1.5}
@media(max-width:820px){body.crm-app .migo-hr-summary-grid-v852181{grid-template-columns:1fr}}


/* Migo CRM v8.5.21.81 — Marketing QA + HR Lifecycle */
body.crm-app .migo-hr-attendance-command-v852181{display:flex;align-items:center;gap:8px}
body.crm-app .migo-hr-attendance-command-v852181>input[type="month"]{height:38px;min-width:160px;padding:0 11px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#344054;font:600 12px/1 system-ui}
body.crm-app .migo-hr-employee-metrics-v852178{grid-template-columns:repeat(5,minmax(0,1fr))}
body.crm-app .migo-module-inspector-grid-v852177{align-items:start}
@media(max-width:1120px){body.crm-app .migo-hr-employee-metrics-v852178{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){body.crm-app .migo-hr-employee-metrics-v852178{grid-template-columns:1fr 1fr}body.crm-app .migo-hr-attendance-command-v852181{align-items:stretch;flex-wrap:wrap}body.crm-app .migo-hr-attendance-command-v852181>input[type="month"]{flex:1 1 170px}}


/* v8.5.21.82 — Marketing campaign preflight */
body.crm-app .migo-marketing-preflight-v852182{margin-top:14px;border:1px solid var(--border,#e4e7ec);border-radius:12px;background:var(--panel,#fff);overflow:hidden}
body.crm-app .migo-marketing-preflight-v852182>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--border,#e4e7ec)}
body.crm-app .migo-marketing-preflight-v852182>header>div{display:grid;gap:2px}body.crm-app .migo-marketing-preflight-v852182>header strong{font-size:13px;color:var(--text,#101828)}body.crm-app .migo-marketing-preflight-v852182>header span{font-size:12px;color:var(--muted,#667085)}
body.crm-app .migo-marketing-preflight-v852182.is-ready{border-color:#b7dfc5}body.crm-app .migo-marketing-preflight-v852182.has-blockers{border-color:#efc0c0}
body.crm-app .migo-marketing-preflight-metrics-v852182{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-bottom:1px solid var(--border,#e4e7ec)}body.crm-app .migo-marketing-preflight-metrics-v852182>div{padding:11px 14px;border-right:1px solid var(--border,#e4e7ec);display:grid;gap:3px}body.crm-app .migo-marketing-preflight-metrics-v852182>div:last-child{border-right:0}body.crm-app .migo-marketing-preflight-metrics-v852182 span{font-size:11px;color:var(--muted,#667085)}body.crm-app .migo-marketing-preflight-metrics-v852182 strong{font-size:16px;color:var(--text,#101828)}
body.crm-app .migo-marketing-preflight-messages-v852182{display:flex;flex-wrap:wrap;gap:8px;padding:10px 14px}body.crm-app .migo-marketing-preflight-messages-v852182 span{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#7a5d14}body.crm-app .migo-marketing-preflight-messages-v852182.is-error span{color:#b42318}body.crm-app .migo-marketing-preflight-messages-v852182 svg{width:14px;height:14px}
body.crm-app .migo-marketing-preflight-sample-v852182{padding:0 14px 12px;display:grid;gap:7px}body.crm-app .migo-marketing-preflight-sample-v852182>strong{font-size:11px;color:var(--muted,#667085);text-transform:uppercase;letter-spacing:.04em}body.crm-app .migo-marketing-preflight-sample-v852182>div{display:flex;gap:6px;flex-wrap:wrap}body.crm-app .migo-marketing-preflight-sample-v852182>div>span{display:grid;padding:6px 9px;border:1px solid var(--border,#e4e7ec);border-radius:8px;font-size:12px}body.crm-app .migo-marketing-preflight-sample-v852182 small{font-size:10px;color:var(--muted,#667085)}

/* v8.5.21.82 — HR organigram + leave calendar */
body.crm-app .migo-hr-org-v852182{padding:8px 0}body.crm-app .migo-hr-org-person-v852182{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;min-height:48px;padding:7px 16px;border-bottom:1px solid var(--border,#eef0f3)}body.crm-app .migo-hr-org-person-v852182:last-child{border-bottom:0}body.crm-app .migo-hr-org-person-v852182>div{display:grid;gap:2px}body.crm-app .migo-hr-org-person-v852182 strong{font-size:13px;color:var(--text,#101828)}body.crm-app .migo-hr-org-person-v852182 small{font-size:11px;color:var(--muted,#667085)}body.crm-app .migo-hr-org-indent-v852182{width:calc(var(--depth) * 22px + 6px);height:26px;border-left:calc(var(--depth) * 1px) solid #d9dee7}
body.crm-app .migo-hr-calendar-v852182{border:1px solid var(--border,#e4e7ec);border-radius:12px;background:var(--panel,#fff);overflow:hidden}body.crm-app .migo-hr-calendar-v852182>header{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border,#e4e7ec)}body.crm-app .migo-hr-calendar-v852182>header input{height:34px;padding:0 9px;border:1px solid var(--border,#d0d5dd);border-radius:8px;background:var(--panel,#fff);color:var(--text,#101828)}body.crm-app .migo-hr-calendar-v852182>header>span{margin-left:auto;display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted,#667085)}body.crm-app .migo-hr-calendar-v852182>header i{width:8px;height:8px;border-radius:50%;background:#8bc39d}body.crm-app .migo-hr-calendar-v852182>header i.is-pending-v852182{background:#e6b85c}
body.crm-app .migo-hr-calendar-week-v852182,body.crm-app .migo-hr-calendar-grid-v852182{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}body.crm-app .migo-hr-calendar-week-v852182 b{padding:8px 9px;border-right:1px solid var(--border,#eef0f3);font-size:10px;color:var(--muted,#667085);text-transform:uppercase}body.crm-app .migo-hr-calendar-grid-v852182>div{min-height:100px;padding:7px;border-top:1px solid var(--border,#eef0f3);border-right:1px solid var(--border,#eef0f3);display:flex;flex-direction:column;gap:4px}body.crm-app .migo-hr-calendar-grid-v852182>div:nth-child(7n){border-right:0}body.crm-app .migo-hr-calendar-grid-v852182 .is-out-v852182{background:rgba(127,127,127,.025)}body.crm-app .migo-hr-calendar-day-v852182>strong{font-size:11px;color:var(--muted,#667085)}body.crm-app .migo-hr-calendar-day-v852182>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 5px;border-radius:5px;background:#edf8f1;color:#25633a;font-size:10px}body.crm-app .migo-hr-calendar-day-v852182>span.is-pending-v852182{background:#fff6df;color:#7a5d14}body.crm-app .migo-hr-calendar-day-v852182>small{font-size:10px;color:var(--muted,#667085)}
@media(max-width:900px){body.crm-app .migo-marketing-preflight-metrics-v852182{grid-template-columns:repeat(2,minmax(0,1fr))}body.crm-app .migo-hr-calendar-grid-v852182>div{min-height:74px;padding:4px}body.crm-app .migo-hr-calendar-day-v852182>span{font-size:9px}}

/* v8.5.21.84 — Marketing advanced segments + consent */
body.crm-app .migo-segment-rules-v852184{display:grid;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border,#e4e7ec)}
body.crm-app .migo-segment-rules-v852184[hidden]{display:none!important}
body.crm-app .migo-segment-rules-v852184>header{display:flex;align-items:center;gap:8px}
body.crm-app .migo-segment-rules-v852184>header>div{min-width:0;flex:1}
body.crm-app .migo-segment-rules-v852184>header strong,body.crm-app .migo-segment-rules-v852184>header small{display:block}
body.crm-app .migo-segment-rules-v852184>header strong{font-size:12px;color:#344054}
body.crm-app .migo-segment-rules-v852184>header small{margin-top:2px;color:#98a2b3;font-size:10px}
body.crm-app .migo-segment-rules-v852184>header select{height:34px;padding:0 8px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#344054;font-size:11px}
body.crm-app [data-seg-rule-list]{display:grid;gap:7px}
body.crm-app .migo-segment-rule-row-v852184{display:grid;grid-template-columns:150px 150px minmax(160px,1fr) 34px;gap:7px;align-items:center}
body.crm-app .migo-segment-rule-row-v852184 input,body.crm-app .migo-segment-rule-row-v852184 select{width:100%;min-width:0;min-height:36px;padding:7px 8px;border:1px solid #d0d5dd;border-radius:7px;background:#fff;color:#101828;font-size:11px}
body.crm-app .migo-segment-rules-v852184>footer{display:flex;align-items:center;gap:10px;padding-top:3px}
body.crm-app [data-seg-preview-result]{display:flex;align-items:baseline;gap:6px;margin-left:auto;color:#667085}
body.crm-app [data-seg-preview-result] strong{font-size:16px;color:#101828}
body.crm-app [data-seg-preview-result] span,body.crm-app [data-seg-preview-result] small{font-size:10px;color:#98a2b3}
body.crm-app [data-seg-preview-result] small{max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.crm-app .migo-consent-history-v852184{display:grid;gap:12px}
body.crm-app .migo-consent-history-v852184>header strong,body.crm-app .migo-consent-history-v852184>header small{display:block}
body.crm-app .migo-consent-history-v852184>header strong{font-size:12px;color:#344054}
body.crm-app .migo-consent-history-v852184>header small{margin-top:2px;font-size:10px;color:#98a2b3}
body.crm-app .migo-consent-history-v852184>div:first-of-type{max-height:260px;overflow:auto;border:1px solid #e4e7ec;border-radius:8px;background:#fff}
body.crm-app .migo-consent-history-v852184 article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 10px;padding:9px 11px;border-bottom:1px solid #f2f4f7}
body.crm-app .migo-consent-history-v852184 article:last-child{border-bottom:0}
body.crm-app .migo-consent-history-v852184 article strong{font-size:11px;color:#344054}
body.crm-app .migo-consent-history-v852184 article span{font-size:9px;color:#98a2b3}
body.crm-app .migo-consent-history-v852184 article small{grid-column:1/-1;font-size:10px;color:#667085}

/* v8.5.21.84 — HR approval, reviews, contracts and self-service */
body.crm-app .migo-hr-attendance-approval-v852184{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid #e4e7ec;border-radius:9px;background:#fff}
body.crm-app .migo-hr-attendance-approval-v852184>div{display:grid;gap:3px;min-width:0}
body.crm-app .migo-hr-attendance-approval-v852184>div>span{font-size:9px;font-weight:800;letter-spacing:.06em;color:#98a2b3}
body.crm-app .migo-hr-attendance-approval-v852184>div>small{font-size:10px;color:#667085}
body.crm-app .migo-hr-attendance-approval-v852184>aside{margin-left:auto;display:flex;gap:7px;flex-wrap:wrap}
body.crm-app .migo-hr-self-service-v852184{display:grid;gap:10px}
body.crm-app .migo-hr-self-hero-v852184{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}
body.crm-app .migo-hr-self-hero-v852184>div{min-width:0;flex:1}
body.crm-app .migo-hr-self-hero-v852184 span{font-size:9px;font-weight:800;letter-spacing:.06em;color:#98a2b3}
body.crm-app .migo-hr-self-hero-v852184 h2{margin:3px 0 1px;color:#101828;font-size:16px}
body.crm-app .migo-hr-self-hero-v852184 p{margin:0;color:#667085;font-size:11px}
body.crm-app .migo-hr-self-grid-v852184{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.crm-app .migo-self-row-v852184{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid #f2f4f7}
body.crm-app .migo-self-row-v852184:last-child{border-bottom:0}
body.crm-app .migo-self-row-v852184>div{min-width:0;flex:1}
body.crm-app .migo-self-row-v852184 strong,body.crm-app .migo-self-row-v852184 span{display:block}
body.crm-app .migo-self-row-v852184 strong{font-size:11px;color:#344054;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.crm-app .migo-self-row-v852184 span{margin-top:2px;font-size:9px;color:#98a2b3}
@media(max-width:900px){body.crm-app .migo-segment-rule-row-v852184{grid-template-columns:1fr 1fr}body.crm-app .migo-segment-rule-row-v852184 button{justify-self:end}body.crm-app .migo-hr-self-grid-v852184{grid-template-columns:1fr}}
@media(max-width:620px){body.crm-app .migo-segment-rules-v852184>header,body.crm-app .migo-segment-rules-v852184>footer,body.crm-app .migo-hr-attendance-approval-v852184,body.crm-app .migo-hr-self-hero-v852184{align-items:stretch;flex-direction:column}body.crm-app [data-seg-preview-result]{margin-left:0}body.crm-app .migo-segment-rule-row-v852184{grid-template-columns:1fr}body.crm-app .migo-hr-attendance-approval-v852184>aside{margin-left:0}}

/* v8.5.21.85 — Marketing campaign calendar */
body.crm-app .migo-marketing-view-tabs-v852185{margin-bottom:8px}
body.crm-app .migo-marketing-calendar-v852185{border:1px solid var(--border,#e4e7ec);border-radius:12px;background:var(--panel,#fff);overflow:hidden}
body.crm-app .migo-marketing-calendar-v852185>header{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--border,#e4e7ec)}
body.crm-app .migo-marketing-calendar-v852185>header strong{min-width:170px;text-align:center;color:var(--text,#101828);font-size:13px;text-transform:capitalize}
body.crm-app .migo-marketing-calendar-v852185>header button{width:32px;height:32px;font-size:18px}
body.crm-app .migo-marketing-calendar-week-v852185,body.crm-app .migo-marketing-calendar-grid-v852185{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
body.crm-app .migo-marketing-calendar-week-v852185 span{padding:8px 9px;border-right:1px solid var(--border,#eef0f3);font-size:10px;font-weight:700;color:var(--muted,#667085);text-transform:uppercase}
body.crm-app .migo-marketing-calendar-week-v852185 span:last-child{border-right:0}
body.crm-app .migo-marketing-calendar-day-v852185{min-height:112px;padding:6px;border-top:1px solid var(--border,#eef0f3);border-right:1px solid var(--border,#eef0f3);background:#fff}
body.crm-app .migo-marketing-calendar-day-v852185:nth-child(7n){border-right:0}
body.crm-app .migo-marketing-calendar-day-v852185.is-outside{background:rgba(127,127,127,.025)}
body.crm-app .migo-marketing-calendar-day-v852185.is-today>header span{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:999px;background:#101828;color:#fff}
body.crm-app .migo-marketing-calendar-day-v852185>header{height:24px;color:var(--muted,#667085);font-size:10px;font-weight:700}
body.crm-app .migo-marketing-calendar-day-v852185>div{display:grid;gap:4px}
body.crm-app .migo-marketing-calendar-day-v852185>div>button{display:grid;grid-template-columns:7px minmax(0,1fr);align-items:center;gap:5px;width:100%;padding:5px 6px;border:1px solid #e4e7ec;border-radius:6px;background:#fff;color:#344054;text-align:left;cursor:pointer}
body.crm-app .migo-marketing-calendar-day-v852185>div>button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
body.crm-app .migo-marketing-calendar-day-v852185 i,body.crm-app .migo-marketing-calendar-v852185>footer i{display:inline-block;width:7px;height:7px;border-radius:999px;background:#98a2b3}
body.crm-app .migo-marketing-calendar-day-v852185 i.is-draft,body.crm-app .migo-marketing-calendar-v852185>footer i.is-draft{background:#e6b85c}
body.crm-app .migo-marketing-calendar-day-v852185 i.is-queued,body.crm-app .migo-marketing-calendar-day-v852185 i.is-sending,body.crm-app .migo-marketing-calendar-v852185>footer i.is-queued{background:#5b8def}
body.crm-app .migo-marketing-calendar-day-v852185 i.is-sent,body.crm-app .migo-marketing-calendar-v852185>footer i.is-sent{background:#58a36f}
body.crm-app .migo-marketing-calendar-day-v852185 i.is-cancelled,body.crm-app .migo-marketing-calendar-v852185>footer i.is-cancelled{background:#d06b6b}
body.crm-app .migo-marketing-calendar-day-v852185 small{padding-left:12px;color:#98a2b3;font-size:9px}
body.crm-app .migo-marketing-calendar-v852185>footer{display:flex;align-items:center;gap:14px;padding:8px 12px;border-top:1px solid var(--border,#e4e7ec);color:#667085;font-size:10px}
body.crm-app .migo-marketing-calendar-v852185>footer span{display:inline-flex;align-items:center;gap:5px}

/* v8.5.21.85 — HR development, skills and certifications */
body.crm-app .migo-hr-skill-level-v852185{display:inline-flex;align-items:center;gap:3px;vertical-align:middle}
body.crm-app .migo-hr-skill-level-v852185 i{display:block;width:14px;height:5px;border-radius:999px;background:#e4e7ec}
body.crm-app .migo-hr-skill-level-v852185 i.on{background:#667085}
body.crm-app .migo-hr-skill-catalog-v852185{margin-top:10px}
body.crm-app .migo-hr-skill-catalog-v852185>header small{margin-left:auto;color:#98a2b3;font-size:10px}
body.crm-app .migo-hr-skill-catalog-v852185>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px 12px}
body.crm-app .migo-hr-skill-catalog-v852185>div>button{display:grid;gap:2px;padding:9px 10px;border:1px solid #e4e7ec;border-radius:8px;background:#fff;text-align:left;cursor:pointer}
body.crm-app .migo-hr-skill-catalog-v852185>div>button:hover{border-color:#cfd4dc;background:#fafbfc}
body.crm-app .migo-hr-skill-catalog-v852185 strong{font-size:11px;color:#344054}
body.crm-app .migo-hr-skill-catalog-v852185 span{font-size:9px;color:#98a2b3}
body.crm-app .migo-commercial-table-v3064 .is-expiring-v852185{color:#8a650b}
body.crm-app .migo-commercial-table-v3064 .is-expired-v852185{color:#b42318}
body.crm-app .migo-self-row-v852184>.migo-hr-skill-level-v852185{margin-left:auto;flex:0 0 auto}
body.crm-app .migo-self-row-v852184>small{margin-left:auto;color:#98a2b3;font-size:9px}
@media(max-width:980px){body.crm-app .migo-hr-skill-catalog-v852185>div{grid-template-columns:repeat(2,minmax(0,1fr))}body.crm-app .migo-marketing-calendar-day-v852185{min-height:88px}}
@media(max-width:680px){body.crm-app .migo-hr-skill-catalog-v852185>div{grid-template-columns:1fr}body.crm-app .migo-marketing-calendar-v852185{overflow:auto}body.crm-app .migo-marketing-calendar-week-v852185,body.crm-app .migo-marketing-calendar-grid-v852185{min-width:760px}body.crm-app .migo-marketing-calendar-v852185>footer{min-width:760px}}

/* Migo CRM v8.5.21.87 — Marketing search icon + exact canonical Calendar chevrons */
/* Keep the Marketing commandbar icon inside the search control, exactly like canonical Migo commercial search fields. */
body.crm-app #marketingView .migo-commercial-search-v3064 > svg{
  position:absolute;
  left:11px;
  top:50%;
  z-index:1;
  width:16px!important;
  height:16px!important;
  transform:translateY(-50%);
  color:#78869a;
  pointer-events:none;
}
body.crm-app #marketingView .migo-commercial-search-v3064 input[type="search"]{
  padding-left:35px;
}

/* Exact Calendar navigation markup/geometry: SVG chevrons, not text glyphs. */
body.crm-app .migo-marketing-calendar-v852185>header{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-bottom:1px solid var(--border,#e4e7ec);
}
body.crm-app .migo-marketing-calendar-nav-v852186{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
}
body.crm-app .migo-marketing-calendar-nav-v852186 strong{
  min-width:170px;
  padding:0 8px;
  color:var(--text,#101828);
  font-size:13px;
  font-weight:800;
  text-align:center;
  text-transform:capitalize;
}
body.crm-app .migo-marketing-calendar-nav-v852186 button[data-mkt-calendar-prev],
body.crm-app .migo-marketing-calendar-nav-v852186 button[data-mkt-calendar-next]{
  display:grid;
  place-items:center;
  width:32px;
  min-width:32px;
  height:32px;
  padding:0;
  border:1px solid #d7dde5;
  border-radius:6px;
  background:#fff;
  color:#344054;
  line-height:1;
  cursor:pointer;
}
body.crm-app .migo-marketing-calendar-nav-v852186 button[data-mkt-calendar-prev] .migo-ui-icon,
body.crm-app .migo-marketing-calendar-nav-v852186 button[data-mkt-calendar-next] .migo-ui-icon{
  width:15px;
  height:15px;
  display:block;
  stroke-width:2.2;
}
body.crm-app .migo-marketing-calendar-nav-v852186 button[data-mkt-calendar-prev]:hover:not(:disabled),
body.crm-app .migo-marketing-calendar-nav-v852186 button[data-mkt-calendar-next]:hover:not(:disabled){
  background:#f5f8ff;
  border-color:#b8c9ea;
  color:#175cd3;
}
body.crm-app .migo-marketing-calendar-nav-v852186 button[data-mkt-calendar-prev]:disabled,
body.crm-app .migo-marketing-calendar-nav-v852186 button[data-mkt-calendar-next]:disabled{
  opacity:.42;
  cursor:default;
}

/* Migo CRM v8.5.21.89 — Marketing subscriber canonical actions */
body.crm-app #marketingView .migo-marketing-subscriber-actions-cell-v852189{
  width:48px;
  min-width:48px;
  padding-right:12px!important;
  padding-left:8px!important;
  text-align:right;
  overflow:visible;
  white-space:nowrap;
}
body.crm-app #marketingView .migo-marketing-subscriber-menu-wrap-v852189{
  position:relative;
  display:inline-flex;
  justify-content:flex-end;
  z-index:20;
}
body.crm-app #marketingView .migo-marketing-subscriber-menu-wrap-v852189 > .migo-ws-icon-button-v3067{
  width:30px;
  min-width:30px;
  height:30px;
  min-height:30px;
}
body.crm-app #marketingView .migo-marketing-subscriber-menu-wrap-v852189 > .migo-ws-icon-button-v3067 .migo-ui-icon,
body.crm-app #marketingView .migo-marketing-subscriber-menu-wrap-v852189 > .migo-ws-icon-button-v3067 svg{
  width:14px;
  height:14px;
}
body.crm-app #marketingView .migo-marketing-subscriber-menu-v852189{
  top:calc(100% + 5px);
  right:0;
  z-index:9999;
  width:205px;
  padding:4px;
  border:1px solid #dce2e9;
  border-radius:7px;
  background:#fff;
  box-shadow:0 12px 30px rgba(16,24,40,.14);
}
body.crm-app #marketingView .migo-marketing-subscriber-menu-v852189 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;
}
body.crm-app #marketingView .migo-marketing-subscriber-menu-v852189 button:hover{
  background:#f2f4f7;
}
body.crm-app #marketingView .migo-marketing-subscriber-menu-v852189 button.is-danger{
  color:#b42318;
}
body.crm-app #marketingView .migo-marketing-subscriber-menu-v852189 button svg{
  width:14px;
  height:14px;
  flex:0 0 14px;
}
body.crm-app #marketingView .migo-marketing-subscriber-menu-v852189[hidden]{display:none!important;}
body.crm-app #marketingView .migo-commercial-table-wrap-v3064:has(.migo-marketing-subscriber-actions-cell-v852189){
  overflow:visible;
}
body.crm-app #marketingView .migo-commercial-table-v3064 tr:has(.migo-marketing-subscriber-menu-wrap-v852189 [aria-expanded="true"]){
  position:relative;
  z-index:100;
}
@media(max-width:760px){
  body.crm-app #marketingView .migo-marketing-subscriber-actions-cell-v852189{
    width:auto;
    min-width:0;
    padding:9px 12px!important;
  }
}


/* Migo CRM v8.5.21.90 — Marketing automation journal canonical UI */
body.crm-app #marketingView .migo-marketing-journal-v852190{
  display:grid;
  gap:8px;
  min-width:0;
  margin-top:14px;
}
body.crm-app #marketingView .migo-marketing-journal-head-v852190{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  min-height:24px;
  padding:0 1px;
  border:0;
  background:transparent;
}
body.crm-app #marketingView .migo-marketing-journal-head-v852190>div{
  display:flex;
  min-width:0;
  align-items:baseline;
  gap:8px;
}
body.crm-app #marketingView .migo-marketing-journal-head-v852190 strong{
  color:#243146;
  font-size:13px;
  font-weight:800;
  line-height:1.25;
}
body.crm-app #marketingView .migo-marketing-journal-head-v852190 span{
  overflow:hidden;
  color:#7a8798;
  font-size:11px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.crm-app #marketingView .migo-marketing-journal-tabs-v852190{
  margin:0;
}
body.crm-app #marketingView .migo-marketing-journal-list-v852190{
  min-width:0;
}
body.crm-app #marketingView .migo-marketing-journal-empty-v852190{
  min-height:116px;
  margin:0;
  padding:18px 22px;
}
body.crm-app #marketingView .migo-marketing-journal-empty-v852190>.migo-ui-icon,
body.crm-app #marketingView .migo-marketing-journal-empty-v852190>svg{
  width:22px;
  height:22px;
}
body.crm-app #marketingView .migo-marketing-journal-v852190 .migo-commercial-table-v3064 td>span{
  display:block;
  margin-top:2px;
  color:#98a2b3;
  font-size:10px;
}
@media(max-width:620px){
  body.crm-app #marketingView .migo-marketing-journal-head-v852190>div{
    align-items:flex-start;
    flex-direction:column;
    gap:2px;
  }
  body.crm-app #marketingView .migo-marketing-journal-head-v852190 span{
    white-space:normal;
  }
}


/* Migo CRM v8.5.21.91 — HR search icons + canonical leave calendar chevrons */
/* All HR commercial searches keep their contextual icon inside the input. */
body.crm-app #hrView .migo-commercial-search-v3064{
  position:relative;
}
body.crm-app #hrView .migo-commercial-search-v3064 > svg{
  position:absolute;
  left:11px;
  top:50%;
  z-index:1;
  width:16px!important;
  height:16px!important;
  transform:translateY(-50%);
  color:#78869a;
  pointer-events:none;
}
body.crm-app #hrView .migo-commercial-search-v3064 input[type="search"]{
  padding-left:35px;
}

/* Exact canonical Calendar arrow treatment for HR > Concedii > Calendar. */
body.crm-app #hrView .migo-hr-calendar-v852182>header button.migo-hr-calendar-arrow-v852191{
  display:grid;
  place-items:center;
  width:32px;
  min-width:32px;
  height:32px;
  padding:0;
  border:1px solid #d7dde5;
  border-radius:6px;
  background:#fff;
  color:#344054;
  line-height:1;
  cursor:pointer;
}
body.crm-app #hrView .migo-hr-calendar-v852182>header button.migo-hr-calendar-arrow-v852191 .migo-ui-icon{
  width:15px!important;
  height:15px!important;
  display:block;
  stroke-width:2.2;
}
body.crm-app #hrView .migo-hr-calendar-v852182>header button.migo-hr-calendar-arrow-v852191:hover:not(:disabled){
  background:#f5f8ff;
  border-color:#b8c9ea;
  color:#175cd3;
}
body.crm-app #hrView .migo-hr-calendar-v852182>header button.migo-hr-calendar-arrow-v852191:disabled{
  opacity:.42;
  cursor:default;
}

/* Migo CRM v8.5.21.92 — HR leave calendar layout polish */
/* Fixes: centered chevrons, no horizontal scrollbar, legend stays on one line. */
body.crm-app #hrView .migo-hr-calendar-v852182{
  max-width:100%;
  overflow-x:hidden;
}
body.crm-app #hrView .migo-hr-calendar-v852182 > header{
  display:grid;
  grid-template-columns:32px minmax(180px,240px) 32px minmax(0,1fr);
  align-items:center;
  column-gap:10px;
  row-gap:8px;
}
body.crm-app #hrView .migo-hr-calendar-v852182 > header > *{
  min-width:0;
}
body.crm-app #hrView .migo-hr-calendar-v852182 > header input[type="month"]{
  width:100%;
  max-width:100%;
  min-width:0;
}
body.crm-app #hrView .migo-hr-calendar-v852182 > header > span{
  margin-left:0;
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  white-space:nowrap;
  flex-wrap:nowrap;
}
body.crm-app #hrView .migo-hr-calendar-v852182 > header > span i{
  flex:0 0 8px;
}
body.crm-app #hrView .migo-hr-calendar-week-v852182,
body.crm-app #hrView .migo-hr-calendar-grid-v852182{
  width:100%;
  min-width:0;
}
body.crm-app #hrView .migo-hr-calendar-week-v852182 > b,
body.crm-app #hrView .migo-hr-calendar-grid-v852182 > div{
  box-sizing:border-box;
}
body.crm-app #hrView .migo-hr-calendar-v852182 > header button.migo-hr-calendar-arrow-v852191{
  display:flex;
  align-items:center;
  justify-content:center;
}
body.crm-app #hrView .migo-hr-calendar-v852182 > header button.migo-hr-calendar-arrow-v852191 .migo-ui-icon{
  margin:0;
  flex:0 0 auto;
}
@media(max-width:1200px){
  body.crm-app #hrView .migo-hr-calendar-v852182 > header{
    grid-template-columns:32px minmax(140px,1fr) 32px;
  }
  body.crm-app #hrView .migo-hr-calendar-v852182 > header > span{
    grid-column:1 / -1;
    justify-content:flex-end;
  }
}

/* Migo CRM v8.5.21.93 — HR workspace true-width fix */
/* The previous scrollbar suppression only hid the symptom. This constrains the
   HR grid and its intrinsic-width tab rows to the real main-panel width. */
body.crm-app #hrView,
body.crm-app #hrView.active{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.crm-app #hrView > .migo-commercial-workspace-v3064,
body.crm-app #hrView .migo-module-v852177{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  grid-template-columns:minmax(0,1fr);
  box-sizing:border-box;
}
body.crm-app #hrView .migo-module-v852177 > *{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
/* HR has many primary tabs. Keep the overflow inside the tab strip instead of
   allowing its max-content width to enlarge the whole page. */
body.crm-app #hrView .migo-commercial-tabs-v3064{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  justify-self:stretch;
}
body.crm-app #hrView .migo-module-subtabs-v852178{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
/* Calendar itself consumes exactly the available workspace width. */
body.crm-app #hrView .migo-hr-calendar-v852182{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.crm-app #hrView .migo-hr-calendar-week-v852182,
body.crm-app #hrView .migo-hr-calendar-grid-v852182{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
}
body.crm-app #hrView .migo-hr-calendar-week-v852182 > *,
body.crm-app #hrView .migo-hr-calendar-grid-v852182 > *{
  min-width:0;
}
/* Do not let the header controls/legend create an intrinsic-width overflow. */
body.crm-app #hrView .migo-hr-calendar-v852182 > header{
  width:100%;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  grid-template-columns:32px minmax(0,240px) 32px minmax(0,1fr);
}
body.crm-app #hrView .migo-hr-calendar-v852182 > header > span{
  min-width:0;
  white-space:nowrap;
  overflow:visible;
}
@media(max-width:1200px){
  body.crm-app #hrView .migo-hr-calendar-v852182 > header{
    grid-template-columns:32px minmax(0,1fr) 32px;
  }
}

/* Migo CRM v8.5.21.94 — HR primary tabs scroll + no clipping */
/* Keep the main HR tab row fully usable when many tabs are present, including
   the last "Portal angajat" tab. The strip scrolls horizontally inside itself
   and every button keeps its full label without shrinking. */
body.crm-app #hrView .migo-commercial-tabs-v3064{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:0!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
  padding-right:6px!important;
}
body.crm-app #hrView .migo-commercial-tabs-v3064 > button,
body.crm-app #hrView .migo-commercial-tabs-v3064 > a{
  flex:0 0 auto!important;
  min-width:max-content!important;
  max-width:none!important;
  white-space:nowrap!important;
}
body.crm-app #hrView .migo-commercial-tabs-v3064 > button > span,
body.crm-app #hrView .migo-commercial-tabs-v3064 > a > span{
  display:inline-block;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
