.evo-erp-app{--evo-outer-space:32px;width:calc(100% - (var(--evo-outer-space) * 2));max-width:calc(100% - (var(--evo-outer-space) * 2));margin:var(--evo-outer-space) auto;border-radius:18px;overflow:hidden;box-shadow:0 20px 60px rgba(22,45,18,.10);min-height:820px;box-sizing:border-box}
.evo-sidebar{background:linear-gradient(180deg,#0b0c1a 0%,#111426 100%);padding:30px 20px}
.evo-brand{line-height:1.1}.evo-brand small{display:block;margin-top:8px;color:#9fb19b;font-size:11px;font-weight:500;letter-spacing:0}
.evo-sidebar nav{gap:5px}.evo-sidebar nav a{display:flex;align-items:center;gap:11px;border-left:3px solid transparent;transition:.18s ease}
.evo-sidebar nav a.active,.evo-sidebar nav a:hover{background:rgba(143,207,115,.13);border-left-color:#ff6412;color:#fff}
.evo-sidebar nav .dashicons{font-size:18px;width:18px;height:18px}
.evo-sidebar-user{display:flex;align-items:center;gap:10px;margin-top:auto;padding:18px 12px 10px;border-top:1px solid rgba(255,255,255,.1)}
.evo-sidebar-user strong,.evo-sidebar-user small{display:block}.evo-sidebar-user small{font-size:11px;color:#9fb19b;margin-top:3px}
.evo-logout{margin-top:5px!important;display:flex;align-items:center;gap:8px}
.evo-main{background:radial-gradient(circle at 100% 0,#eef2ff 0,transparent 28%),#f5f6fa;padding:38px}
.evo-main header{padding-bottom:20px;border-bottom:1px solid #dfe7dd}.evo-main header h1{letter-spacing:-.7px}.evo-eyebrow{font-size:11px!important;font-weight:800;letter-spacing:1.3px;color:#1261ff!important;text-transform:uppercase;margin:0 0 7px!important}
.evo-company-switcher{position:relative;display:block;max-width:min(360px,45%)}
.evo-company-switcher select{width:100%;min-width:190px;max-width:360px;padding:9px 36px 9px 13px;border:1px solid rgba(18,97,255,.18);border-radius:999px;background:#edf2ff;color:#1261ff;font:700 13px/1.25 inherit;white-space:nowrap;text-overflow:ellipsis;box-shadow:none;cursor:pointer}
.evo-company-switcher select:focus{outline:2px solid rgba(18,97,255,.3);outline-offset:2px}
.evo-company-switcher select:disabled{opacity:1;cursor:default}
.evo-card,.evo-panel{box-shadow:0 8px 25px rgba(30,60,25,.055);border-color:#e2e9e0}.evo-card{transition:transform .18s ease,box-shadow .18s ease}.evo-card:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(30,60,25,.09)}
.evo-btn{transition:transform .15s ease,background .15s ease}.evo-btn:hover{transform:translateY(-1px);background:#0b4bd4}
.evo-settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.evo-settings-nav{height:max-content;position:sticky;top:20px;display:grid;gap:7px}.evo-settings-nav strong{font-size:16px;margin-bottom:6px}.evo-settings-nav a{padding:10px 12px;border-radius:8px;color:#4e5b4c;text-decoration:none}.evo-settings-nav a.active,.evo-settings-nav a:hover{background:#edf2ff;color:#1261ff;font-weight:700}.evo-settings-nav>span{font-size:12px;color:#758173;border-top:1px solid #e2e9e0;padding-top:14px;margin-top:8px;line-height:1.5}
.evo-settings-section{margin-top:0;margin-bottom:20px;overflow:visible}.evo-section-head{display:flex;align-items:flex-start;gap:14px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #e4ebe2}.evo-section-head h2{margin:0 0 5px;font-size:20px}.evo-section-head p{margin:0;color:#687467}.evo-step{display:grid;place-items:center;flex:0 0 34px;height:34px;border-radius:50%;background:#1261ff;color:#fff;font-weight:800}
.evo-form label>span{font-weight:400;font-size:11px;color:#778375}.evo-form input,.evo-form select,.evo-form textarea{min-height:44px;transition:border-color .15s,box-shadow .15s}.evo-form input:focus,.evo-form select:focus,.evo-form textarea:focus{outline:0;border-color:#1261ff;box-shadow:0 0 0 3px rgba(67,130,49,.13)}
.evo-note{padding:15px;background:#fff7dd;border:1px solid #eed98e;border-radius:9px;color:#6d5815}.evo-advanced{border:1px solid #dfe7dd;border-radius:9px;padding:12px}.evo-advanced summary{cursor:pointer;font-weight:700;color:#4f5d4d}.evo-advanced label{margin-top:12px}.evo-rule-list{margin-top:25px}.evo-rule-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding:14px 0;border-bottom:1px solid #e4ebe2}.evo-rule-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;grid-column:1/-1}.evo-rule-summary span{font-weight:800;color:#1261ff}.evo-rule-edit summary,.evo-link-danger{appearance:none;border:0;background:transparent;padding:0;font:inherit;font-weight:700;cursor:pointer}.evo-rule-edit summary{color:#1261ff}.evo-rule-edit[open]{grid-column:1/-1;padding:12px;border-radius:10px;background:#f7f9fc}.evo-rule-edit[open] summary{margin-bottom:12px}.evo-rule-delete{margin:0;text-align:right}.evo-link-danger{color:#b42318}.evo-rule-edit .evo-form{margin-top:10px}
.evo-shortcodes{display:grid;gap:9px}.evo-shortcodes>div{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px;background:#f6f8f5;border-radius:8px}.evo-shortcodes code{color:#1261ff;font-weight:700}.evo-shortcodes span{color:#697567;text-align:right}
.evo-test-email{display:flex;align-items:end;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid #e4ebe2}.evo-test-email label{display:grid;gap:6px;flex:1;font-weight:700}.evo-test-email input{min-height:44px;border:1px solid #ccd7ca;border-radius:7px;padding:8px 10px}.evo-btn-secondary{background:#fff!important;color:#1261ff!important}.evo-error{padding:13px 15px;background:#fff1f1;border:1px solid #e5aaaa;border-radius:8px;color:#8b1e1e}.evo-success{padding:13px 15px;background:#edf8e9;border:1px solid #afd2a4;border-radius:8px;color:#245c18}
.evo-loading{display:flex;justify-content:center;align-items:center;gap:11px}.evo-loading span{width:17px;height:17px;border:2px solid #bdd1b7;border-top-color:#1261ff;border-radius:50%;animation:evo-spin .7s linear infinite}@keyframes evo-spin{to{transform:rotate(360deg)}}
.evo-dashboard-filter{margin-bottom:18px}.evo-dashboard-filter form{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.evo-dashboard-filter label{display:grid;gap:5px;font-weight:700}.evo-dashboard-filter select,.evo-dashboard-filter input{min-height:42px;border:1px solid #dce2ec;border-radius:10px;padding:8px 12px;background:#fff}.evo-dashboard-filter>small{display:block;margin-top:10px;color:#758173}.evo-dashboard-kpis .evo-card{min-height:145px;display:flex;flex-direction:column;justify-content:space-between}.evo-dashboard-kpis .evo-card strong,.evo-dashboard-summary .evo-card strong{font-size:25px;line-height:1.1}.evo-dashboard-kpis .evo-card span{font-size:12px;color:#758173}.evo-dashboard-kpis .evo-card.primary{background:linear-gradient(145deg,#1261ff,#5748ee);color:#fff;border:0}.evo-dashboard-kpis .evo-card.primary span{color:rgba(255,255,255,.8)}.evo-dashboard-chart{min-width:0}.evo-chart-legend{display:flex;gap:12px;font-size:12px}.evo-chart-legend span{display:flex;align-items:center;gap:5px}.evo-chart-legend i{display:inline-block;width:9px;height:9px;border-radius:3px}.evo-chart-legend .sales,.evo-chart-bar.sales{background:#1261ff}.evo-chart-legend .expenses,.evo-chart-bar.expenses{background:#ff6412}.evo-chart-area{height:260px;display:flex;align-items:stretch;gap:10px;padding:24px 4px 0;border-bottom:1px solid #dfe5ee;overflow-x:auto}.evo-chart-group{min-width:38px;flex:1;display:grid;grid-template-rows:1fr 22px;text-align:center}.evo-chart-bars{display:flex;align-items:end;justify-content:center;gap:4px;height:100%}.evo-chart-bar{display:block;width:min(16px,40%);min-height:2px;border-radius:6px 6px 2px 2px;transition:height .25s ease}.evo-chart-group small{padding-top:6px;color:#758173}.evo-category-list{display:grid;gap:18px;margin-top:22px}.evo-category-row>div{display:flex;justify-content:space-between;gap:12px;margin-bottom:7px}.evo-category-row>div span{font-size:12px;color:#657064}.evo-category-row i{display:block;height:8px;border-radius:99px;background:#edf0f5;overflow:hidden}.evo-category-row i span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1261ff,#ff6412)}.evo-dashboard-summary{margin-top:16px}.evo-dashboard-summary .warning strong{color:#d14d0a}
@media(max-width:767px){.evo-dashboard-filter form{display:grid;grid-template-columns:1fr 1fr}.evo-dashboard-filter form label:first-child,.evo-dashboard-filter form button{grid-column:1/-1}.evo-dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.evo-dashboard-kpis .evo-card{min-height:128px}.evo-dashboard-kpis .evo-card strong,.evo-dashboard-summary .evo-card strong{font-size:19px}.evo-dashboard-chart{padding-left:16px!important;padding-right:16px!important}.evo-chart-area{height:220px}.evo-dashboard-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.evo-grid-two{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.evo-kpi-value{font-size:28px;font-weight:800;margin:10px 0}.evo-block{display:block;color:#768174;margin-top:4px;font-weight:400}.evo-actions{display:flex;flex-wrap:wrap;gap:5px}.evo-invoice-lines{display:grid;gap:12px}.evo-line{position:relative;display:grid;grid-template-columns:1.25fr 2fr .7fr 1fr 1fr 1fr;gap:10px;padding:15px 42px 15px 15px;background:#f6f8f5;border:1px solid #dfe7dd;border-radius:10px}.evo-line label{font-size:11px}.evo-remove{appearance:none!important;position:absolute;right:10px;top:10px;border:0!important;background:transparent!important;box-shadow:none!important;color:#ff6412!important;width:28px;height:28px;padding:0!important;border-radius:0!important;font-size:24px;line-height:28px;cursor:pointer}.evo-draft-total{text-align:right;padding:16px;background:#eef5eb;border-radius:9px}.evo-draft-total strong{font-size:20px;display:block}.evo-draft-total small{display:block;color:#748071;margin-top:5px}
.evo-modal-head{align-items:center}.evo-modal-head h2{margin:0}.evo-modal-close{appearance:none!important;-webkit-appearance:none!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:#ff6412!important;font-size:32px!important;font-weight:400!important;line-height:1!important;cursor:pointer}.evo-modal-close:hover,.evo-modal-close:focus{background:transparent!important;color:#1261ff!important;box-shadow:none!important;outline:2px solid transparent!important}.evo-manual-invoice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.evo-manual-invoice[hidden]{display:none!important}.evo-manual-invoice>.wide{grid-column:1/-1}
.evo-icon-actions{gap:7px;flex-wrap:nowrap}.evo-icon-btn{appearance:none!important;display:inline-grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;border:1px solid #dce3ef!important;border-radius:10px!important;background:#fff!important;color:#1261ff!important;box-shadow:none!important;cursor:pointer}.evo-icon-btn:hover,.evo-icon-btn:focus{border-color:#1261ff!important;background:#edf2ff!important;outline:0}.evo-icon-btn.danger{color:#d33b2f!important}.evo-icon-btn .dashicons{color:inherit!important;margin:0!important}
.evo-form button.evo-btn.danger{background:#c9362b!important;border-color:#c9362b!important}.evo-form button.evo-btn.danger:hover{background:#a82820!important;border-color:#a82820!important}
.evo-pdf-preview{display:grid;gap:16px}.evo-pdf-preview iframe{display:block;width:100%;height:min(68vh,760px);border:1px solid #dfe5ef;border-radius:10px;background:#f5f6fa}.evo-pdf-preview .evo-btn{justify-self:start}
.evo-document-preview{display:grid;gap:18px}.evo-preview-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.evo-preview-meta>div{padding:13px;background:#f6f8fb;border-radius:10px}.evo-preview-meta small,.evo-preview-meta strong{display:block}.evo-preview-meta small{color:#697386;margin-bottom:5px}.evo-preview-totals{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:18px}.evo-preview-totals span{display:grid;gap:4px;color:#687080}.evo-preview-totals strong{color:#0b0c1a;font-size:17px}
.evo-login{background:linear-gradient(#fff,#fbfcfb);border-top:5px solid #1261ff}.evo-login>p{color:#687467}.evo-login .evo-brand{color:#0b0c1a}.evo-login .evo-brand span{color:#0b4bd4}
body.evo-erp-portal-page{background:#f5f6fa!important}
body.evo-erp-portal-page #wpadminbar,body.evo-erp-portal-page .site-header,body.evo-erp-portal-page header.site-header,body.evo-erp-portal-page .site-footer,body.evo-erp-portal-page footer.site-footer,body.evo-erp-portal-page [data-elementor-type="header"],body.evo-erp-portal-page [data-elementor-type="footer"]{display:none!important}
body.evo-erp-portal-page.admin-bar{margin-top:0!important}body.evo-erp-portal-page html{margin-top:0!important}
body.evo-erp-portal-page .site-main,body.evo-erp-portal-page main#content,body.evo-erp-portal-page .page-content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
.evo-form button.evo-btn,.evo-settings-section button.evo-btn{appearance:none!important;-webkit-appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:190px!important;min-height:46px!important;background:#1261ff!important;border:1px solid #1261ff!important;color:#fff!important;opacity:1!important;visibility:visible!important;font-size:14px!important;line-height:1.2!important;text-indent:0!important}
.evo-form button.evo-btn:hover,.evo-settings-section button.evo-btn:hover{background:#0b4bd4!important;border-color:#0b4bd4!important;color:#fff!important}
@media(max-width:900px){.evo-erp-app{--evo-outer-space:20px;border-radius:16px}.evo-main{padding:24px}.evo-sidebar-user{margin-top:20px}.evo-settings-layout{grid-template-columns:1fr}.evo-settings-nav{position:static;grid-template-columns:repeat(4,1fr)}.evo-settings-nav strong,.evo-settings-nav>span{grid-column:1/-1}}
@media(max-width:900px){.evo-line{grid-template-columns:repeat(2,minmax(0,1fr))}.evo-grid-two{grid-template-columns:1fr}}
@media(max-width:560px){.evo-erp-app{--evo-outer-space:12px;border-radius:14px}.evo-main{padding:16px}.evo-settings-nav{grid-template-columns:1fr}.evo-shortcodes>div{align-items:flex-start;flex-direction:column}.evo-shortcodes span{text-align:left}.evo-line,.evo-manual-invoice{grid-template-columns:1fr}.evo-manual-invoice>.wide{grid-column:auto}.evo-test-email{align-items:stretch;flex-direction:column}}
@media(max-width:560px){.evo-preview-meta{grid-template-columns:1fr}.evo-pdf-preview iframe{height:62vh}.evo-icon-actions{min-width:180px}}
.evo-reconciliation-card{border-left:4px solid var(--evo-blue,#1261ff)}
.evo-reconciliation-card h3{margin:24px 0 12px}
.evo-reconciliation-suggestion{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:14px 0;border-top:1px solid #e8ebf2}
.evo-score{display:inline-flex;align-items:center;justify-content:center;min-width:58px;padding:7px 10px;border-radius:999px;background:#eaf0ff;color:#1261ff;font-weight:800}
@media(max-width:700px){.evo-reconciliation-suggestion{grid-template-columns:1fr auto}.evo-reconciliation-suggestion .evo-btn{grid-column:1/-1;width:100%}}

/* AIFusionX / VamTam: keep the theme active and hide only its header/footer on ERP pages. */
body.evo-erp-theme-aifusionx #header,body.evo-erp-theme-aifusionx #footer,body.evo-erp-theme-aifusionx .vamtam-sticky-header,body.evo-erp-theme-aifusionx .elementor-location-header,body.evo-erp-theme-aifusionx .elementor-location-footer{display:none!important}
.evo-maintenance-box{padding:18px;border:1px solid #dfe5f2;border-radius:12px;background:#f8faff}.evo-maintenance-box p{margin:0 0 16px;color:#5d6675;line-height:1.6}
.evo-mobile-nav,.evo-mobile-more{display:none}
@media(max-width:767px){
body.evo-mobile-menu-open{overflow:hidden}
.evo-erp-app{padding-bottom:86px}
.evo-sidebar{display:none!important}
.evo-main header{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:flex-start}
.evo-main header>div{min-width:0}
.evo-company-switcher{grid-row:auto;justify-self:stretch;width:100%;max-width:100%}
.evo-company-switcher select{min-width:0;max-width:none;font-size:clamp(10px,3vw,12px)}
.evo-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;left:12px;right:12px;bottom:12px;min-height:68px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));background:#fff;border:1px solid #e1e5ee;border-radius:18px;box-shadow:0 12px 38px rgba(11,12,26,.2);z-index:9997;box-sizing:border-box}
.evo-mobile-nav a,.evo-mobile-nav button{appearance:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;margin:0;padding:4px 2px;border:0;background:transparent;color:#687080!important;text-decoration:none!important;font:inherit;font-size:10px;line-height:1.15;cursor:pointer}
.evo-mobile-nav .dashicons{width:22px;height:22px;font-size:22px;line-height:22px}
.evo-mobile-nav a.active{color:#1261ff!important;font-weight:800}
.evo-mobile-nav .evo-mobile-more-toggle,.evo-mobile-nav .evo-mobile-more-toggle[aria-expanded="true"]{appearance:none!important;-webkit-appearance:none!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#687080!important;transform:none!important}
.evo-mobile-nav .evo-mobile-more-toggle.active{background:transparent!important;color:#1261ff!important}
.evo-mobile-nav .evo-mobile-more-toggle .dashicons{color:inherit!important}
.evo-mobile-more:not([hidden]){position:fixed;inset:0;display:block;z-index:9996}
.evo-mobile-more-backdrop{appearance:none!important;-webkit-appearance:none!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:rgba(245,246,250,.20)!important;background-color:rgba(245,246,250,.20)!important;background-image:none!important;box-shadow:none!important;filter:none!important;transform:none!important;opacity:1!important;backdrop-filter:blur(5px)!important;-webkit-backdrop-filter:blur(5px)!important}
.evo-mobile-more-backdrop:hover,.evo-mobile-more-backdrop:focus,.evo-mobile-more-backdrop:active{background:rgba(245,246,250,.20)!important;background-image:none!important;box-shadow:none!important;outline:0!important;transform:none!important}
.evo-mobile-more-backdrop::before,.evo-mobile-more-backdrop::after{display:none!important;content:none!important;background:none!important}
.evo-mobile-more-panel{position:absolute;left:12px;right:12px;bottom:108px;max-height:min(68vh,560px);overflow:auto;padding:18px;background:#fff;border:1px solid #e1e5ee;border-radius:18px;box-shadow:0 20px 60px rgba(11,12,26,.18);box-sizing:border-box}
.evo-mobile-more-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;font-size:17px}
.evo-mobile-more-head button{appearance:none!important;-webkit-appearance:none!important;display:grid!important;place-items:center;width:36px;height:36px;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#ff6412!important;cursor:pointer;transform:none!important}
.evo-mobile-more-head button:hover,.evo-mobile-more-head button:focus{background:transparent!important;color:#1261ff!important;outline:2px solid transparent}
.evo-mobile-more-head button .dashicons{color:inherit!important;font-size:28px;width:28px;height:28px;line-height:28px}
.evo-mobile-more-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.evo-mobile-more-grid a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:78px;padding:9px 5px;border:1px solid #e6e9f0;border-radius:12px;background:#f8f9fc;color:#3f4654!important;text-align:center;text-decoration:none!important;font-size:11px;line-height:1.2}
.evo-mobile-more-grid a.active{border-color:#1261ff;background:#edf2ff;color:#1261ff!important;font-weight:800}
.evo-mobile-more-grid .dashicons{width:23px;height:23px;font-size:23px;line-height:23px}
}
