/* AIX / ADAIA — shared visual system. Presentation only; tenant and channel data are unchanged. */
:root {
  color-scheme:light;
  --navy:#1e2e55;--navy-l:#fff;--navy-ll:#edf3fb;--navy-d:#fff;--navy-dd:#f3f7fc;
  --orange:#ed6a22;--orange-l:#dc5c16;--teal:#087c94;--teal-l:#129db5;
  --t-hi:#182d51;--t-mid:#3e536f;--t-low:#596e88;
  --b-main:#dce5f0;--b-teal:#c6dce7;--b-orng:#f2be9f;
  --shadow:0 8px 30px #243e6a0a;--r-sm:10px;--r-md:14px;--r-lg:18px;--r-xl:24px;
}
body.aix-platform{background:#f3f7fc;color:var(--t-hi)}
.aix-main{background:radial-gradient(ellipse at 92% 0,#dff5fc80,transparent 43%),radial-gradient(ellipse at 0 0,#e8edff90,transparent 42%),#f3f7fc!important;padding:32px;}
.aix-topbar{background:#fffffff5!important;border-bottom:1px solid #dce5f0;box-shadow:0 3px 18px #243e6a04;backdrop-filter:blur(16px)}
.aix-topbar-brand{background:#fff!important;border-right-color:#e4ebf5}
.aix-topbar-brand img{filter:none!important;height:34px}
.aix-topbar-brand-fb{color:#1e2e55}
.aix-topbar-title{position:absolute;left:calc(var(--sidebar-w) + 56px);color:#526580;font-size:10px;letter-spacing:.14em;white-space:nowrap;overflow:visible}
.aix-empresa-badge{background:#edf6fa;color:#244762;border-color:#d4e7ef}
.aix-empresa-dot{animation:none;background:#0b8c72}
.aix-btn-logout{background:#fff3ee;color:#ad3c14;border-color:#f5d8c9}
.aix-btn-logout:hover{background:#ffe6d9;color:#912f0a}
.aix-sidebar{background:linear-gradient(180deg,#fff 55%,#edf6fc)!important;border-right-color:#dce5f0;padding-top:18px}
.aix-nav-section{color:#60728a;font-size:9px;letter-spacing:.16em;padding-top:24px}
.aix-nav-link{color:#425672;min-height:43px;margin:3px 12px;padding:10px 13px;border:1px solid transparent;font-weight:600;font-size:12px;}
.aix-nav-link:hover{background:#edf4fd;color:#1b4182;border-color:#dfe9f7}
.aix-nav-link.active{background:linear-gradient(110deg,#fff0e5,#fff9f4);color:#af420f;border-color:#f6d8c1;box-shadow:0 3px 10px #ed6a2208}
.aix-nav-link.active::before{background:#ed6a22;left:0;margin-left:-13px;top:24%;bottom:24%;width:3px}
.aix-nav-icon{background:#edf3fb;border-radius:8px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;font-size:14px}
.aix-nav-link.active .aix-nav-icon{background:#ffe0c8}
.aix-sidebar-footer{border-color:#dce5f0}
.aix-page-title{color:#182d51!important;font-size:clamp(25px,2.6vw,36px);line-height:1.2;letter-spacing:-.045em}
.aix-page-sub{color:#596e88!important;line-height:1.7}
.aix-page-header{margin-bottom:26px;align-items:center}
.aix-card,.aix-stat-card,.aix-status-card{background:#fff!important;border-color:#dce5f0!important;box-shadow:0 5px 22px #243e6a06}
.aix-card-header{color:#182d51!important;background:#fbfdff;border-color:#e4ebf3;padding:18px 22px}
.aix-stat-card{padding:24px;min-height:112px}
.aix-stat-card::after{height:3px}
.aix-stat-val,.aix-status-name,.aix-alert-title,.aix-conv-count{color:#182d51!important}
.aix-stat-val{font-size:32px;letter-spacing:-.04em}
.aix-stat-label{color:#596e88;font-size:10px}
.aix-stat-icon{width:48px;height:48px}
.aix-status-card{padding:23px;transition:transform .18s,box-shadow .18s}
.aix-status-card:hover{box-shadow:0 10px 24px #243e6a10;transform:translateY(-3px)}
.aix-status-arrow{opacity:1}
.aix-status-desc{color:#596e88;line-height:1.7}
.aix-btn{min-height:40px;padding:10px 16px;font-size:12px;font-weight:700;border-radius:10px;justify-content:center}
.aix-btn-primary{background:#ed6a22!important;color:#fff!important;box-shadow:0 4px 12px #d955131c}
.aix-btn-primary:hover{box-shadow:0 6px 18px #d9551330}
.aix-btn-outline{background:#fff;color:#284b73;border-color:#ceddec}
.aix-btn-outline:hover{background:#edf6fb;color:#135776;border-color:#a9cbdc}
.aix-btn-sm{min-height:34px;padding:7px 12px}
.aix-alert.info{background:#eaf6fc;border-color:#c5e4f1;color:#24516b}
.aix-alert.warn{background:#fff8e8;border-color:#efdbac;color:#785015}
.aix-table thead th{background:#f5f8fd;color:#526783;font-size:10px;letter-spacing:.07em;padding:15px 18px}
.aix-table td{color:#3e536f;padding:17px 18px;border-color:#e7edf5}
.aix-table tbody tr:hover{background:#f6faff}
.aix-badge.active,.aix-badge.venta,.aix-status-badge.ok{color:#126945!important;background:#e7f6ed;border-color:#c7e7d2}
.aix-badge.error,.aix-badge.perdido,.aix-status-badge.error{color:#ae3434!important;background:#fff0ef;border-color:#f1cecb}
.aix-badge.pending{color:#84590d;background:#fff6da;border-color:#ecdcaa}
.aix-badge.inactive{color:#526579;background:#edf1f5;border-color:#dbe2e9}
.aix-badge.lead{color:#2358a5;background:#eaf2ff;border-color:#cdddf5}
.aix-progress-track,.aix-conv-bar-track{background:#e7edf6}
.aix-code{background:#eef4fb;color:#245582;border-color:#d5e3f0;cursor:pointer}
.aix-code-copy{background:#fff;color:#405d7c}
/* Legacy screens share these tokens; specific white-on-color buttons and message bubbles retain their contrast. */
.aix-main :is(h1,h2,h3,h4){color:var(--t-hi)}
.aix-main :is(div,span,p,strong,td,label)[style*="color:#fff"]:not([style*="background"]),
.aix-main :is(div,span,p,strong,td,label)[style*="color: #fff"]:not([style*="background"]){color:var(--t-hi)!important}
.aix-main :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),textarea,select){background:#fff!important;color:#263f60!important;border-color:#cbd9e8!important;border-radius:10px;}
.aix-main :is(input,textarea)::placeholder{color:#6d8098!important;opacity:1}
.aix-main option{background:#fff!important;color:#263f60!important}
:is(a,button,input,textarea,select):focus-visible{outline:3px solid #1979b0!important;outline-offset:3px}
.aix-main :is(.leads-stat-val,.ev-label,.sc-range,.cp-num,.cp-title){color:#182d51!important}
.aix-main :is(.cp-muted,.cp-hint){color:#596e88!important}
.aix-main :is(.cp-card,.ev-card,.score-card,.leads-stat){background:#fff!important;border-color:#dce5f0!important}
.aix-main [style*="background:#1a2a50"]{background:#fff!important;border-color:#cbd9e8!important}
/* CRM, Instagram and API connections use the same visual language. */
.crm{--ink:#182d51;--muted:#536984;--accent:#ed6a22}
.crm .crm-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid #d0e4f3;background:linear-gradient(115deg,#fff 5%,#edf6ff 63%,#e0f6fa)!important;padding:38px;border-radius:22px;box-shadow:0 8px 30px #243e6a07}
.crm-hero::before{content:'';position:absolute;z-index:-1;inset:0;background-image:linear-gradient(#3876b507 1px,transparent 1px),linear-gradient(90deg,#3876b507 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,transparent,#000)}
.crm-hero::after{content:'';position:absolute;z-index:-1;width:210px;height:210px;right:-65px;top:-85px;border:28px solid #65cbd01a;border-radius:50%;box-shadow:0 0 0 35px #6dace50b}
.crm .crm-eyebrow{color:#087c94!important;letter-spacing:.18em!important;font-size:10px!important}
.crm h1{color:#182d51;font-family:var(--ff-h);font-size:clamp(29px,3.3vw,44px);font-weight:800;letter-spacing:-.045em}
.crm .crm-hero p{color:#4d6482}
.crm-btn{border-radius:10px;min-height:43px;font-weight:700}
.crm .crm-btn-primary,.crm-dialog .crm-btn-primary{background:#ed6a22;color:#fff!important;box-shadow:0 4px 12px #d955131c}
.crm .crm-btn-light{color:#284b73!important;border-color:#cbddeb;background:#ffffffd9}
.crm .crm-stat{border-color:#dce5f0;border-radius:16px;padding:22px;box-shadow:0 4px 16px #243e6a05;border-top:3px solid #52a7c0}
.crm .crm-stat:nth-child(2){border-top-color:#ed6a22}.crm .crm-stat:nth-child(3){border-top-color:#6b80d9}.crm .crm-stat:nth-child(4){border-top-color:#38a68c}
.crm .crm-stat strong{color:#182d51;font-family:var(--ff-h);font-size:34px;letter-spacing:-.04em}
.crm .crm-stat p{color:#526984;font-weight:600}
.crm .crm-workspace{border-color:#dce5f0;border-radius:18px;box-shadow:0 6px 25px #243e6a06}
.crm .crm-tabs button[aria-current]{background:#e8f4fc;color:#175985}
.crm .crm-filters,.crm .crm-table th{background:#f6f9fd}
.crm .crm-column{background:#f0f5fc;border-top:3px solid #7796c9}
.crm .crm-column:nth-child(2){border-top-color:#38a5b6}.crm .crm-column:nth-child(3){border-top-color:#ef985a}.crm .crm-column:nth-child(4){border-top-color:#36a47a}.crm .crm-column:nth-child(5){border-top-color:#bd7d90}
.crm .crm-deal{border-radius:12px;border-color:#dbe5f0;box-shadow:0 3px 10px #243e6a05;padding:16px}
.crm .crm-deal:hover{border-color:#65a7cd;box-shadow:0 5px 14px #243e6a0e}
.crm .crm-footnote{color:#596e88}
.crm-dialog{border-color:#d4e2f0;box-shadow:0 25px 100px #18385835}
.crm-dialog-top{background:#f0f6fc;color:#284b73}
/* Public access screen: bright canvas and a focused identity card. */
body.aix-login{background:radial-gradient(ellipse at 15% 15%,#dcecff,transparent 48%),radial-gradient(ellipse at 90% 85%,#dff6f8,transparent 45%),#f4f8fd;color:#182d51}
.aix-login::before{background-image:linear-gradient(#4b88be08 1px,transparent 1px),linear-gradient(90deg,#4b88be08 1px,transparent 1px);background-size:40px 40px}
.aix-login .login-card{background:#fffffff2;border:1px solid #d7e4f2;border-top:4px solid #ed6a22;box-shadow:0 22px 80px #244d7b14;border-radius:24px;max-width:460px}
.aix-login .login-logo img{filter:none}
.aix-login .login-title,.aix-login .login-logo-fb{color:#182d51}
.aix-login .login-sub,.aix-login .login-footer{color:#596e88}
.aix-login .fg label{color:#3d5675}
.aix-login .fg input{background:#f7faff;color:#182d51;border-color:#cbd9e8}
.aix-login .fg input::placeholder{color:#71849b}
.aix-login .login-btn{background:#ed6a22;box-shadow:0 5px 18px #d9551325}
.aix-login .login-footer a{color:#276386}
.aix-login .login-divider{background:#e1e9f3}
@media(min-width:1500px){.aix-main{padding:38px 44px}}
@media(max-width:900px){.aix-main{padding:24px}.aix-sidebar{box-shadow:15px 0 45px #1e2e551c}.aix-sidebar-overlay{background:#18385866;backdrop-filter:blur(3px)}.aix-topbar-title{left:24px}}
@media(max-width:650px){.aix-main{padding:18px 14px}.crm .crm-hero{padding:26px 22px}.crm .crm-stat{padding:15px}.crm .crm-stat strong{font-size:27px}.aix-page-title{font-size:27px}.aix-stat-card{padding:20px}.aix-card-header{padding:16px}.aix-topbar{backdrop-filter:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
:root{--panel-bg:#fff;--shadow-sm:0 4px 16px #243e6a06;--shadow-base:0 8px 24px #243e6a0c;--brand-teal:#087c94}
.aix-brand-product{font-size:15px;font-weight:800;letter-spacing:.12em;color:#1e2e55;border-left:1px solid #dce5f0;padding-left:14px;line-height:1.4}
.aix-brand-product small{display:block;font-size:8px;letter-spacing:.06em;color:#657c96;font-weight:600;margin-top:2px}
.aix-nav-icon svg{width:17px;height:17px}.aix-nav-link{font-size:12px}
.aix-page-title,.crm h1,.aix-login .login-title{font-family:var(--ff-b);font-weight:800;letter-spacing:-.045em}
.crm h1{font-size:clamp(29px,3vw,40px);max-width:650px;line-height:1.15}
.aix-stat-val,.crm .crm-stat strong,.leads-stat-val{font-family:var(--ff-b)!important;font-variant-numeric:tabular-nums}
.aix-agent-card{background:#fff!important}.aix-agent-card.open .aix-agent-header,.aix-agent-details{background:#f6f9fd!important}
.aix-agent-actions [style*="color:#fca5a5"]{color:#b53737!important}
.leads-layout{grid-template-columns:minmax(0,1fr)!important}
.leads-layout:has(.leads-panel.open){grid-template-columns:minmax(0,1fr) 380px!important}
.score-track{background:#e7edf6}.cp-table th{color:#536984!important}.cp-table th,.cp-table td{border-color:#e1e9f3!important}
@media(max-width:1100px){.leads-layout:has(.leads-panel.open){grid-template-columns:minmax(0,1fr)!important}.leads-panel{position:static!important}}
@media(max-width:650px){.leads-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.aix-agent-header{flex-wrap:wrap;gap:16px;padding:18px!important}.aix-agent-summary{min-width:0}.aix-agent-actions{flex-wrap:wrap}.crm .crm-hero-actions{flex-direction:column;align-items:stretch}.crm .crm-hero-actions .crm-btn{width:100%}}
.aix-main :is(.ev-tab-btn,.ev-add,.ev-section-title,.champ-lbl,.champ-pts,.sc-desc,.diag-card-title,.diag-key,.diag-note){color:#536984!important}
.aix-main :is(.diag-value,.co-number){color:#182d51!important}
.aix-main :is(.ev-tab-btn.active){color:#087c94!important;border-bottom-color:#087c94!important;background:#edf7fc}
.aix-main .ev-add{background:#f4f8fd;border-color:#cbd9e8!important;min-height:38px}
.aix-main .ev-del{color:#b53737!important}.ev-slider{background:#c9d6e5!important;border-color:#b9cada!important}.ev-toggle input:checked+.ev-slider{background:#db5a17!important;border-color:#db5a17!important}
.aix-main :is(.champ-item,.diag-card){background:#fff!important;border-color:#dce5f0!important}
.aix-main :is(.diag-ok,.co-status.healthy){color:#126945!important}.aix-main :is(.diag-bad,.co-status.critical){color:#ae3434!important}.aix-main .co-status.warning{color:#84590d!important}
.diag-row{border-color:#e7edf5!important}
.aix-main :is(.aix-modal-content){background:#fff!important;color:#182d51!important;border-color:#cbd9e8!important;box-shadow:0 25px 80px #18385830!important}
.aix-modal-header,.aix-modal-footer{border-color:#dce5f0!important}
.aix-chat-window{background:#f3f7fc!important}.aix-chat-input-area{background:#fff!important}.aix-chat-msg.ia{background:#fff!important;border-color:#d5e3f0!important}
.aix-main [style*="color: rgba(255,255,255"]:not([style*="background"]),.aix-main [style*="color:rgba(255,255,255"]:not([style*="background"]){color:#536984!important}
@media(max-width:650px){.champ-guide{grid-template-columns:repeat(2,minmax(0,1fr))!important}.score-grid{grid-template-columns:1fr!important}.ev-tabs-bar{padding:0 8px!important}.ev-tab-btn{padding:13px 12px!important}.aix-chat-msg{max-width:95%!important}.aix-chat-input-area{padding:14px!important}.ev-select{min-width:0!important;max-width:100%}}

/* ADAIA professional workspace — unified hierarchy, spacing and forms. */
:root{
  --aix-canvas:#f5f7fb;--aix-surface:#ffffff;--aix-surface-soft:#f8fafc;
  --aix-ink:#14233f;--aix-copy:#4b5f7a;--aix-muted:#718199;
  --aix-line:#dce4ee;--aix-line-strong:#c8d4e2;
  --aix-brand:#ed6a22;--aix-brand-dark:#c94e10;--aix-tech:#176b87;
  --aix-shadow:0 14px 38px rgba(28,54,91,.08);
}
body.aix-platform{background:var(--aix-canvas)!important;color:var(--aix-ink)!important}
.aix-topbar{height:72px!important;border-bottom:1px solid var(--aix-line)!important;box-shadow:0 1px 0 rgba(20,35,63,.02)!important}
.aix-topbar-brand{height:72px!important;width:272px!important;padding:0 28px!important}
.aix-topbar-title{font-size:11px!important;font-weight:700!important;color:#63738a!important}
.aix-sidebar{top:72px!important;width:272px!important;padding:22px 10px 28px!important;background:#fff!important}
.aix-main{margin-top:72px!important;margin-left:272px!important;padding:42px clamp(28px,3.2vw,58px)!important;min-height:calc(100vh - 72px)!important;background:radial-gradient(circle at 100% 0,rgba(47,155,185,.08),transparent 31%),var(--aix-canvas)!important}
.aix-wrapper{max-width:1480px!important;margin:0 auto!important;width:100%!important}
.aix-nav-section{padding:22px 16px 8px!important;color:#7b899c!important;font-size:10px!important;font-weight:800!important}
.aix-nav-link{min-height:48px!important;margin:3px 4px!important;padding:9px 12px!important;border-radius:12px!important;font-size:13px!important;color:#41536d!important}
.aix-nav-link.active{background:#fff4ed!important;border-color:#f6d3bd!important;color:#a83b08!important;box-shadow:none!important}
.aix-nav-icon{width:30px!important;height:30px!important;border-radius:9px!important;background:#f0f4f9!important}
.aix-nav-link.active .aix-nav-icon{background:#ffe2d0!important}
.aix-page-header{margin-bottom:30px!important;align-items:end!important}
.aix-page-title{font-size:clamp(32px,3vw,46px)!important;line-height:1.05!important;letter-spacing:-.055em!important;font-weight:800!important}
.aix-page-sub{font-size:15px!important;color:var(--aix-copy)!important;margin-top:8px!important}
.aix-card{border:1px solid var(--aix-line)!important;border-radius:20px!important;box-shadow:var(--aix-shadow)!important;margin-bottom:0!important;overflow:hidden!important}
.aix-card-body{padding:30px!important}
.aix-card-body h2{font-size:22px!important;line-height:1.25!important;letter-spacing:-.025em!important;margin-bottom:8px!important}
.aix-card-body>p{max-width:72ch;color:var(--aix-copy)!important}
.aix-alert{border-radius:14px!important;padding:16px 18px!important;box-shadow:0 6px 20px rgba(28,54,91,.05)}
.aix-btn{min-height:46px!important;border-radius:11px!important;padding:11px 18px!important;font-size:13px!important;font-weight:750!important}
.aix-btn-primary{background:var(--aix-brand)!important;color:#fff!important;box-shadow:0 8px 18px rgba(222,89,23,.2)!important}
.aix-btn-primary:hover{background:var(--aix-brand-dark)!important;color:#fff!important;transform:translateY(-1px)}
.aix-btn-outline{border-color:var(--aix-line-strong)!important;color:#31506d!important}
.aix-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;margin-top:24px!important}
.aix-form .lbl,.aix-card .lbl{display:block!important;margin:12px 0 6px!important;color:#314660!important;font-size:12px!important;font-weight:750!important;line-height:1.35!important}
.aix-form .inp,.aix-card .inp{display:block!important;width:100%!important;max-width:none!important;min-height:48px!important;padding:12px 14px!important;border:1px solid var(--aix-line-strong)!important;border-radius:11px!important;background:#fff!important;color:var(--aix-ink)!important;font:500 14px/1.4 var(--ff-b)!important;box-shadow:0 1px 2px rgba(20,35,63,.02)!important}
.aix-form .inp:hover,.aix-card .inp:hover{border-color:#9fb1c5!important}
.aix-form .inp:focus,.aix-card .inp:focus{border-color:#3385a2!important;box-shadow:0 0 0 4px rgba(51,133,162,.11)!important;outline:0!important}
.aix-form-actions{display:flex;justify-content:flex-start;gap:12px;margin-top:20px;padding-top:20px;border-top:1px solid #edf1f5}
.profile-page{max-width:1280px!important}
.profile-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);gap:24px;align-items:start}
.profile-card{min-width:0}
.profile-card .aix-card-body{padding:34px}
@media(max-width:1050px){.profile-grid{grid-template-columns:1fr}.aix-main{padding:30px 24px!important}}
@media(max-width:900px){.aix-main{margin-left:0!important;margin-top:72px!important}.aix-topbar{height:72px!important}.aix-sidebar{width:272px!important}.aix-page-title{font-size:34px!important}}
@media(max-width:600px){.aix-main{padding:24px 14px!important}.aix-card-body,.profile-card .aix-card-body{padding:22px!important}.aix-page-header{margin-bottom:22px!important}.aix-page-title{font-size:30px!important}.aix-form-actions .aix-btn{width:100%}}
.aix-main :is(h1,h2,h3,h4){color:#182d51!important}
.aix-main :is(.ti-card,.mi-card,.mi-note,.hcard,.pcard){background:#fff!important;border-color:#dce5f0!important;box-shadow:0 4px 18px #243e6a05}
.aix-main :is(.ti-status strong,.mi-secret,.mi-small-btn,.mi-modal-close){color:#264f7b!important}
.aix-main :is(.ti-status,.mi-secret,.mi-small-btn){background:#f0f6fc!important;border-color:#d4e2f0!important}
.aix-main :is(.ti-agent,.mi-card-head,.mi-table th,.mi-table td){border-color:#dce5f0!important}
.aix-main :is(.mi-table th,.mi-note,.mi-source,.mi-form-note,.mi-field label,.muted,.mi-status.off){color:#596e88!important}
.aix-main .mi-status.on,.aix-main .hcard .ok{color:#126945!important}.aix-main .hcard .bad{color:#ae3434!important}
.mi-modal-panel{background:#fff!important;color:#182d51!important;border-color:#d4e2f0!important;box-shadow:0 24px 80px #18385830!important}.mi-modal-head{border-color:#dce5f0!important}
.aix-main :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),select){min-height:38px}

/* Brand reference: supplied MFA button, converted from embedded profile to sRGB. */
.aix-btn-primary,.crm .crm-btn-primary,.crm-dialog .crm-btn-primary,.aix-login .login-btn{color:#182d51!important}
.aix-btn-primary:hover,.crm .crm-btn-primary:hover,.crm-dialog .crm-btn-primary:hover,.aix-login .login-btn:hover{background:#dc5c16!important}

/* ADAIA workspace 2026.11 — compact, consistent and task-first. */
:root{--aix-nav-width:248px;--aix-header-height:64px}
body.aix-platform{--sidebar-w:var(--aix-nav-width);--topbar-h:var(--aix-header-height);font-size:14px}
.aix-topbar{height:var(--aix-header-height)!important;padding:0 20px 0 calc(var(--aix-nav-width) + 18px)!important;gap:12px!important}
.aix-topbar-brand{width:var(--aix-nav-width)!important;height:var(--aix-header-height)!important;padding:0 20px!important}
.aix-topbar-brand img{height:30px!important}.aix-brand-product{font-size:14px!important}.aix-brand-product small{font-size:8px!important}
.aix-topbar-title{position:static!important;font-size:10px!important;letter-spacing:.13em!important;min-width:0;text-overflow:ellipsis;overflow:hidden}
.aix-topbar-right{gap:10px!important}.aix-empresa-badge{max-width:min(360px,32vw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aix-nav-density{display:inline-grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border:1px solid var(--aix-line);border-radius:10px;background:#fff;color:#536984;cursor:pointer}
.aix-nav-density:hover{background:#f0f6fc;color:#176b87}.aix-nav-density svg{width:18px;height:18px;transition:transform .2s ease}
.aix-sidebar{top:var(--aix-header-height)!important;width:var(--aix-nav-width)!important;padding:12px 8px 20px!important}
.aix-nav-section{padding:16px 12px 5px!important;font-size:9px!important;line-height:1.2!important}
.aix-nav-link{min-height:40px!important;margin:2px 2px!important;padding:6px 10px!important;border-radius:10px!important;font-size:12px!important;gap:9px!important}
.aix-nav-icon{width:27px!important;height:27px!important;flex:0 0 27px!important;border-radius:8px!important}.aix-nav-icon svg{width:16px!important;height:16px!important}
.aix-main{margin-top:var(--aix-header-height)!important;margin-left:var(--aix-nav-width)!important;padding:26px clamp(22px,2.4vw,38px)!important;min-height:calc(100vh - var(--aix-header-height))!important}
.aix-wrapper{max-width:1600px!important}.aix-page-header{margin-bottom:20px!important}.aix-page-title{font-size:clamp(28px,2.5vw,38px)!important;line-height:1.08!important}
.aix-page-sub{font-size:14px!important;line-height:1.55!important}.aix-card{border-radius:16px!important;box-shadow:0 8px 26px rgba(28,54,91,.065)!important}
.aix-card-header{padding:14px 18px!important}.aix-card-body,.profile-card .aix-card-body{padding:22px!important}.aix-card-body h2{font-size:20px!important}
.aix-stat-grid{gap:12px!important;margin-bottom:16px!important}.aix-stat-card{min-height:88px!important;padding:16px 18px!important}.aix-stat-val{font-size:28px!important}
.aix-btn{min-height:40px!important;padding:9px 15px!important;border-radius:10px!important}.aix-btn-primary,.crm .crm-btn-primary,.crm-dialog .crm-btn-primary,.aix-login .login-btn{color:#fff!important}
.aix-form .inp,.aix-card .inp{min-height:42px!important;padding:9px 12px!important}.aix-form{margin-top:16px!important}.aix-form-actions{margin-top:16px!important;padding-top:16px!important}
.crm .crm-hero{padding:24px 28px!important;border-radius:18px!important}.crm h1{font-size:clamp(28px,2.8vw,38px)!important;line-height:1.08!important}
.crm .crm-stat{padding:15px 17px!important;border-radius:13px!important}.crm .crm-stat strong{font-size:28px!important}.crm .crm-workspace{border-radius:15px!important}
.crm .crm-deal{padding:13px!important}.crm-dashboard-kpi{min-height:92px!important;padding:15px 17px!important}

body.aix-nav-compact{--aix-nav-width:76px}
body.aix-nav-compact .aix-topbar-brand{justify-content:center;padding:0 12px!important}
body.aix-nav-compact .aix-topbar-brand img{height:28px!important;max-width:45px;object-fit:contain}
body.aix-nav-compact .aix-brand-product,body.aix-nav-compact .aix-topbar-brand-fb,body.aix-nav-compact .aix-nav-label,body.aix-nav-compact .aix-nav-section,body.aix-nav-compact .aix-sidebar-footer{display:none!important}
body.aix-nav-compact .aix-nav-link{justify-content:center;padding:6px!important;margin:3px 5px!important}
body.aix-nav-compact .aix-nav-link.active::before{margin-left:-5px!important}
body.aix-nav-compact .aix-nav-density svg{transform:rotate(180deg)}
body.aix-nav-compact .aix-sidebar{overflow-x:hidden}

@media(max-width:1100px){.aix-topbar-title{display:none}.aix-empresa-badge{max-width:250px}.aix-main{padding:24px 20px!important}}
@media(max-width:900px){.aix-nav-density{display:none}.aix-main{margin-left:0!important}.aix-sidebar{width:272px!important}.aix-nav-label,.aix-nav-section,.aix-sidebar-footer{display:initial!important}.aix-nav-link{justify-content:flex-start!important}.aix-topbar{padding:0 14px!important}}
@media(max-width:600px){.aix-main{padding:18px 12px!important}.aix-card-body,.profile-card .aix-card-body{padding:18px!important}.crm .crm-hero{padding:20px!important}.aix-empresa-badge{max-width:170px}.aix-btn-logout{padding:7px 10px!important}}
