/* ZapTri 2.0 / clean-first palette; loaded after existing styles */
:root{--primary:#13a86a;--accent:#13a86a;--brand:#13a86a;--red:#13a86a;--blue:#13a86a;--green:#13a86a;--danger:#d54448}
/* Shared logo - full uploaded art, with original alpha transparency */
.v04-logo .zaptri-brand-img{display:block;width:154px;max-width:100%;height:48px;object-fit:contain;object-position:left center}
.login-logo .zaptri-brand-img{display:block;width:min(350px,90%);height:auto;max-height:138px;object-fit:contain;object-position:left center}
.login-mobile-brand .zaptri-brand-img{display:block;width:180px;max-height:75px;object-fit:contain;object-position:left center}
.v04-logo{display:inline-flex!important;align-items:center!important;min-width:154px}
/* Base light look with green emphasis instead of red/blue */
html:not([data-theme="dark"]) body{background:#f4f6f5}
html:not([data-theme="dark"]) .v04-topbar{background:#fff;border-color:#e2e8e5}
html:not([data-theme="dark"]) .v04-side, html:not([data-theme="dark"]) .v04-rail{background:#fff;border-color:#e1e8e4}
html:not([data-theme="dark"]) .content,html:not([data-theme="dark"]) .v04-main-wrap{background:#f4f6f5}
html:not([data-theme="dark"]) .v04-side a.active,html:not([data-theme="dark"]) .v04-rail a.selected{background:#e7f7ef!important;color:#087a4b!important;border-color:#b7e6ce!important}
html:not([data-theme="dark"]) .v04-topnav details[open]>summary{background:#eaf7f0!important;color:#108657!important}
.btn.primary,button.btn.primary,.v04-btn-primary,button[type="submit"].primary{background:#10a669!important;border-color:#10a669!important;color:white!important;box-shadow:0 5px 16px #10a6692d!important}
.btn.primary:hover,button.btn.primary:hover{background:#0a8955!important}
.v04-red,.red-dot{color:#10ad6d!important}
.plain-link,.text-link,.hero-link span,.eyebrow-light,.login-art h1 em,.hero h2 em{color:#18c783!important}
input:focus,select:focus,textarea:focus{border-color:#14a66a!important;box-shadow:0 0 0 3px #17b97822!important}
a:hover{--link-hover:#078454}
.login-art{background:linear-gradient(140deg,#16251f,#203c31 68%,#275343)!important}
.login-card .chip,.chip .pulse{color:#0c9560!important}
.login-card .btn.primary{background:#12a96b!important}
/* Green highlight for enterprise navigation and channels */
.v04-topnav a:hover,.v04-menu-panel a:hover,.v04-side a:hover,.v04-rail a:hover{color:#0b9f65!important}
.v04-connected,.v04-connected span{color:#158357!important}
.vbadge{background:#e8f8ef!important;color:#158358!important;border-color:#b9e6cc!important}
/* Match remaining legacy accents across the existing versions */
.stat-icon.blue,.stat-icon.violet{background:#e7f7ed!important;color:#138858!important}
.cell-avatar{background:#e8f5ee!important;color:#147b55!important}
/* Dark theme: charcoal, muted grey and emerald; preserve theme.js behavior */
html[data-theme="dark"]{--primary:#31d995;--accent:#31d995;--brand:#31d995;--red:#31d995;--blue:#31d995}
html[data-theme="dark"] body{background:#121a17;color:#ecf4ef}
html[data-theme="dark"] .v04-topbar,html[data-theme="dark"] .v04-side,html[data-theme="dark"] .v04-rail{background:#19251f!important;border-color:#35463b!important}
html[data-theme="dark"] .v04-main-wrap,html[data-theme="dark"] .content{background:#121a17!important}
html[data-theme="dark"] .v04-side a.active,html[data-theme="dark"] .v04-rail a.selected{background:#204432!important;color:#77edb1!important}
html[data-theme="dark"] .v04-topnav a:hover,html[data-theme="dark"] .v04-side a:hover{color:#66e6a5!important}
html[data-theme="dark"] .btn.primary{background:#14945f!important}
@media(max-width:700px){.v04-logo .zaptri-brand-img{width:115px;height:42px}.login-logo .zaptri-brand-img{width:min(300px,100%);height:auto}}
