:root{--fsp-bg:#f6f7f9;--fsp-surface:#fff;--fsp-line:#d9dee7;--fsp-line-soft:#e8ebf0;--fsp-text:#172b4d;--fsp-muted:#6b778c;--fsp-blue:#0073ea;--fsp-green:#00c875;--fsp-lime:#9cd326;--fsp-orange:#fdab3d;--fsp-red:#e2445c;--fsp-purple:#a25ddc;--fsp-cyan:#579bfc;--fsp-shadow:0 1px 2px rgba(9,30,66,.08)}
html,body{background:var(--fsp-bg)!important;color:var(--fsp-text)!important}
.mx-side{width:240px!important;background:#fff!important;border-right:1px solid var(--fsp-line)!important;box-shadow:none!important;padding:0 10px 18px!important}.mx-main{margin-left:240px!important}
.mx-brand{height:86px!important;margin:0 -10px 8px!important;background:#fff!important;border-bottom:1px solid var(--fsp-line-soft)!important;box-shadow:none!important}.mx-brand img{width:160px!important;max-height:58px!important}
.mx-nav h5{color:#8b95a5!important;font-size:9px!important;letter-spacing:.12em!important}.mx-nav button{min-height:38px!important;margin:2px 0!important;padding:8px 10px!important;border-radius:6px!important;background:transparent!important;color:#44546f!important;font-size:12px!important;font-weight:600!important;box-shadow:none!important}.mx-nav button::before{background:#eef2f6!important;color:#5b6b80!important;border-radius:5px!important}.mx-nav button:hover{background:#f0f3f6!important;color:#172b4d!important}.mx-nav button.active{background:#e6f4ff!important;color:#0060b9!important;box-shadow:inset 3px 0 0 #0073ea!important}.mx-nav button.active::before{background:#d9edff!important;color:#0073ea!important}
.top{height:60px!important;background:#fff!important;border-bottom:1px solid var(--fsp-line)!important;box-shadow:none!important;padding:0 18px!important}.top-search{background:#fff!important;border:1px solid #cfd6df!important;border-radius:6px!important;padding:7px 10px!important}.top-user{background:#fff!important;border:0!important;border-radius:6px!important;padding:4px 8px!important}.top-place,.top-weather{color:#7d8794!important}
.content{padding:20px 22px 34px!important;background:var(--fsp-bg)!important}.title{margin-bottom:14px!important}.title h1{font-size:24px!important;font-weight:700!important;color:#172b4d!important;letter-spacing:-.02em!important}.title p{color:#7a869a!important}.crumb{color:#9aa4b2!important}
.panel,.mx-dashboard-board,.gps-title-row,.gps-map-card,.gps-detail-card,.mob-card,.mob-kpis>div{background:#fff!important;border:1px solid var(--fsp-line)!important;border-radius:8px!important;box-shadow:none!important}.panel>.head,.mx-dashboard-board>.head{background:#fff!important;border-bottom:1px solid var(--fsp-line)!important;color:#172b4d!important;font-weight:700!important;min-height:44px!important;padding:10px 13px!important}.panel>.body{padding:12px!important}
.btn{min-height:32px!important;border-radius:5px!important;border:1px solid #cfd6df!important;background:#fff!important;color:#344563!important;font-size:11px!important;font-weight:600!important;box-shadow:none!important;padding:6px 10px!important}.btn:hover{background:#f4f5f7!important;transform:none!important;box-shadow:none!important}.btn.primary{background:#0073ea!important;border-color:#0073ea!important;color:#fff!important;box-shadow:none!important}.btn.primary:hover{background:#0067d1!important}
input,select,textarea{min-height:34px!important;border:1px solid #cfd6df!important;border-radius:5px!important;background:#fff!important;color:#172b4d!important;box-shadow:none!important}.field label{font-size:10px!important;color:#6b778c!important;font-weight:700!important}
.mx-table-wrap{border:1px solid var(--fsp-line)!important;border-radius:6px!important;overflow:auto!important;background:#fff!important}.table{border-collapse:separate!important;border-spacing:0!important}.table th{background:#f7f8fa!important;color:#6b778c!important;font-size:10px!important;text-transform:none!important;letter-spacing:0!important;font-weight:650!important;border-right:1px solid var(--fsp-line)!important;border-bottom:1px solid var(--fsp-line)!important;padding:8px 9px!important;height:34px!important}.table td{background:#fff!important;color:#253858!important;font-size:11px!important;border-right:1px solid var(--fsp-line)!important;border-bottom:1px solid var(--fsp-line)!important;padding:7px 9px!important;height:36px!important}.table tr:hover td{background:#f3f8ff!important}.table th:last-child,.table td:last-child{border-right:0!important}
.badge{border-radius:4px!important;padding:4px 8px!important;font-size:10px!important;font-weight:650!important;background:#eef2f6!important;color:#44546f!important;border:0!important}
.dash-kpi,.dash-mini{border-radius:7px!important;border:1px solid var(--fsp-line)!important;box-shadow:none!important}.dash-kpi{min-height:84px!important;padding:12px!important}.dash-kpi b{font-size:20px!important;color:#172b4d!important}.dash-kpi .dash-icon{border-radius:6px!important}.dash-mini{min-height:42px!important;padding:8px 10px!important}
.mkt-dashboard-section,.mkt-performance-card,.mkt-content-card,.mkt-hero-card{border-radius:8px!important;box-shadow:none!important;border-color:var(--fsp-line)!important}.mkt-hero-card{min-height:104px!important;padding:13px!important}.mkt-hero-card b{font-size:26px!important}.mkt-performance-card:hover,.mkt-content-card:hover{transform:none!important;box-shadow:0 2px 6px rgba(9,30,66,.08)!important}
.mx-status-enhanced{min-width:132px!important}.mx-status-pill{border-radius:3px!important;min-height:30px!important;font-weight:700!important;box-shadow:none!important}.mx-status-pop{border-radius:8px!important;box-shadow:0 10px 30px rgba(9,30,66,.16)!important;padding:12px!important}.mx-status-option{border-radius:3px!important;min-height:32px!important;font-weight:700!important}.mx-status-editor{font-size:10px!important;color:#6b778c!important}
.mx-st-gray{background:#c4c4c4!important}.mx-st-green{background:#9cd326!important}.mx-st-emerald{background:#00c875!important}.mx-st-blue{background:#0073ea!important}.mx-st-sky{background:#579bfc!important}.mx-st-indigo{background:#5559df!important}.mx-st-purple{background:#a25ddc!important}.mx-st-orange{background:#fdab3d!important}.mx-st-red{background:#e2445c!important}.mx-st-crimson{background:#c42f53!important}.mx-st-pink{background:#e06cbd!important}.mx-st-coral{background:#ff642e!important}.mx-st-teal{background:#0086c0!important}.mx-st-navy{background:#225091!important}
.formgrid{gap:9px!important}.cols,.mkt-grid,.gps-main-grid{gap:12px!important}
@media(max-width:1150px){.mx-side{width:220px!important}.mx-main{margin-left:220px!important}}@media(max-width:760px){.mx-side{position:static!important;width:100%!important}.mx-main{margin-left:0!important}.content{padding:14px!important}}
/* MEXIM CRM PRO 4.0 brand + executive dashboard */
.mx-side{width:270px!important}.mx-main{margin-left:270px!important}
.mx-brand.mx-brand-pro{height:auto!important;min-height:168px!important;margin:0 -10px 12px!important;padding:18px 18px 15px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:8px!important;background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%)!important;border-bottom:1px solid #dfe5ec!important;overflow:visible!important}
.mx-brand-pro .mx-brand-logo{width:100%;display:flex;align-items:center;justify-content:flex-start}
.mx-brand-pro .mx-brand-logo img{width:205px!important;max-width:100%!important;max-height:72px!important;object-fit:contain!important;object-position:left center!important;margin:0!important}
.mx-brand-copy{display:block!important;width:100%;padding-top:2px}
.mx-brand-title{font-size:19px!important;line-height:1.05!important;font-weight:850!important;letter-spacing:-.025em!important;color:#102f55!important}
.mx-brand-subtitle{font-size:10.5px!important;line-height:1.25!important;font-weight:700!important;color:#53657a!important;margin-top:4px!important}
.mx-brand-meta{font-size:9px!important;line-height:1.25!important;font-weight:650!important;color:#8b96a5!important;margin-top:4px!important}
.mx-nav h5{margin-top:20px!important}
.mx-dash-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(120deg,#0d315a 0%,#124b82 58%,#1671b8 100%);border-radius:12px;padding:24px 26px;margin:0 0 18px;color:#fff;box-shadow:0 8px 24px rgba(19,73,124,.14);position:relative;overflow:hidden}
.mx-dash-hero:after{content:'';position:absolute;right:-70px;top:-90px;width:260px;height:260px;border-radius:50%;border:44px solid rgba(255,255,255,.07)}
.mx-dash-hero-copy{position:relative;z-index:1;max-width:760px}.mx-dash-eyebrow{font-size:10px;font-weight:850;letter-spacing:.15em;color:#cfe7ff;margin-bottom:7px}.mx-dash-hero h2{margin:0 0 8px;font-size:28px;line-height:1.05;letter-spacing:-.035em;color:#fff}.mx-dash-hero p{margin:0;max-width:690px;font-size:12px;line-height:1.5;color:#d9e9f7}
.mx-dash-hero-actions{position:relative;z-index:1;display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:390px}.mx-dash-hero-actions .btn{background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.30)!important;color:#fff!important;backdrop-filter:blur(5px)}.mx-dash-hero-actions .btn.primary{background:#fff!important;border-color:#fff!important;color:#0d4d87!important;font-weight:800!important}
.mx-dash-section-label{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:3px 2px 10px}.mx-dash-section-label span{font-size:13px;font-weight:800;color:#172b4d}.mx-dash-section-label b{font-size:10px;font-weight:650;color:#8a96a5}
.dash-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.dash-kpi{min-height:100px!important;padding:14px 16px!important;border-radius:9px!important;gap:13px!important;position:relative!important;overflow:hidden!important}.dash-kpi:before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:currentColor;opacity:.9}.dash-kpi .dash-icon{width:46px!important;height:46px!important;flex:0 0 46px!important;border-radius:8px!important;font-size:20px!important}.dash-kpi small{font-size:9px!important}.dash-kpi b{font-size:24px!important;margin:4px 0 3px!important}.dash-kpi span{font-size:10px!important}
.dash-mini-grid{gap:10px!important}.dash-mini{border-radius:7px!important;min-height:46px!important;padding:9px 12px!important}.dash-mini span{font-size:10px!important}.dash-mini b{font-size:13px!important}
@media(max-width:1150px){.mx-side{width:238px!important}.mx-main{margin-left:238px!important}.mx-brand.mx-brand-pro{min-height:154px!important}.mx-brand-pro .mx-brand-logo img{width:185px!important}.mx-dash-hero{align-items:flex-start;flex-direction:column}.mx-dash-hero-actions{justify-content:flex-start;max-width:none}}
@media(max-width:760px){.mx-side{width:100%!important}.mx-main{margin-left:0!important}.mx-brand.mx-brand-pro{min-height:140px!important}.mx-dash-hero{padding:20px}.mx-dash-hero h2{font-size:24px}.dash-grid{grid-template-columns:1fr!important}}

/* Brand correction v3: clean premium sidebar */
.mx-side{width:250px!important}.mx-main{margin-left:250px!important}
.mx-brand.mx-brand-pro{height:116px!important;min-height:116px!important;margin:0 -10px 12px!important;padding:16px 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border-bottom:1px solid #e3e7ed!important;box-shadow:none!important}
.mx-brand-pro .mx-brand-logo{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important}
.mx-brand-pro .mx-brand-logo img{width:208px!important;max-width:100%!important;max-height:82px!important;height:auto!important;object-fit:contain!important;object-position:center!important;margin:0 auto!important}
.mx-brand-copy{display:none!important}
@media(max-width:1150px){.mx-side{width:230px!important}.mx-main{margin-left:230px!important}.mx-brand.mx-brand-pro{height:108px!important;min-height:108px!important}.mx-brand-pro .mx-brand-logo img{width:190px!important}}
@media(max-width:760px){.mx-side{width:100%!important}.mx-main{margin-left:0!important}.mx-brand.mx-brand-pro{height:104px!important;min-height:104px!important}.mx-brand-pro .mx-brand-logo img{width:190px!important}}

/* Brand product header v4 */
.mx-brand.mx-brand-pro{height:132px!important;min-height:132px!important;padding:18px 16px 14px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 100%)!important;border-bottom:1px solid #dfe5ec!important}
.mx-brand-product{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;width:100%!important}
.mx-brand-pro .mx-brand-logo{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:1!important}
.mx-brand-pro .mx-brand-logo img{width:198px!important;max-width:100%!important;max-height:74px!important;object-fit:contain!important;object-position:left center!important;margin:0!important}
.mx-product-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:58px!important;height:24px!important;padding:0 8px!important;margin-top:4px!important;border-radius:999px!important;background:#0d315a!important;color:#fff!important;font-size:8px!important;font-weight:850!important;letter-spacing:.10em!important;box-shadow:0 4px 12px rgba(13,49,90,.12)!important}
.mx-brand-accent{display:flex!important;align-items:center!important;width:100%!important;height:3px!important;margin-top:10px!important;overflow:hidden!important;border-radius:99px!important;background:#edf1f5!important}
.mx-brand-accent i{display:block!important;width:72%!important;height:100%!important;background:#0d315a!important}
.mx-brand-accent b{display:block!important;flex:1!important;height:100%!important;background:#f28c00!important}
@media(max-width:1150px){.mx-brand.mx-brand-pro{height:124px!important;min-height:124px!important}.mx-brand-pro .mx-brand-logo img{width:182px!important}.mx-product-badge{min-width:54px!important}}
