/* Megaweb identity, lime and blue palette requested on 2026-09-24.
   Keep current layouts, functionality and semantic warning/error colours. */
:root{
 --megaweb-green:#b7e532;--megaweb-green-deep:#343a2e;--megaweb-green-dark:#343a2e;--megaweb-green-soft:#f0f5e4;
 --megaweb-black:#171914;--megaweb-ink:#262923;--megaweb-muted:#686e62;--megaweb-paper:#fff;--megaweb-canvas:#f6f7f3;--megaweb-line:#e2e6dc;
 --iw-primary:#343a2e;--iw-primary-dark:#171914;--iw-primary-light:#f0f5e4;--iw-primary-lighter:#f6f7f3;--iw-primary-border:#e2e6dc;--iw-accent:#b7e532;--iw-accent-soft:#f0f5e4;
 --iw-sidebar-a:#171914;--iw-sidebar-b:#262923;--iw-gray-bg:#f6f7f3;--iw-gray-bg-soft:#f0f5e4;
 --c-principal:#343a2e;--c-principal-dark:#171914;--c-bg-soft:#f0f5e4;--c-accent:#b7e532;--c-accent-soft:#f0f5e4;
 --mw-green:#b7e532;--mw-green-deep:#343a2e;--mw-green-dark:#343a2e;--mw-green-soft:#f0f5e4;--mw-black:#171914;--mw-ink:#262923;--mw-canvas:#f6f7f3;--mw-line:#e2e6dc;
 --iw-font-body:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;--iw-font-title:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
html body.iw-panel-light,html body.login-bg{background:#f6f7f3!important;color:#262923}
html body .iw-topbar{background:#171914!important;color:#fff!important;border-color:#171914!important}
html body .iw-topbar a{color:#c8f04c!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon{background:#fff!important;background-image:none!important;border-color:#e2e6dc!important;box-shadow:0 10px 30px rgba(25,28,23,.06)!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon :is(.iw-nav-logo,.iw-nav-body,.iw-nav-footer,.iw-user-row){background:#fff!important;border-color:#e2e6dc!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link,.iw-nav-label,.iw-user-name,.iw-user-role,.iw-chevron){color:#171914!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon :is(.iw-icon-box,.iw-sub-icon){background:#f0f5e4!important;color:#343a2e!important;border-color:#e2e6dc!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link):is(.active,:hover){background:#f0f5e4!important;border-color:#cfdda8!important;color:#171914!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon .iw-nav-link.active .iw-icon-box{background:#b7e532!important;color:#171914!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon .iw-nav-logo img{filter:none!important;mix-blend-mode:normal!important;object-fit:contain}
html body .iw-topbar-link,html body .iw-home-card-btn,html body .btn-primary,html body .iw-login-btn,html body .iw-auth-submit,html body .iwf-cta{background:#b7e532!important;border-color:#b7e532!important;color:#171914!important;text-shadow:none!important}
html body .btn-primary:hover,html body .iw-login-btn:hover,html body .iwf-cta:hover{background:#a3d025!important;border-color:#a3d025!important;color:#171914!important}
html body .iw-login-left,html body .iw-login-form{--iw-primary:#343a2e;--iw-primary-dark:#171914}
html body .iw-login-title,html body .iw-page-title{color:#171914!important;-webkit-text-fill-color:#171914!important}
html body :is(.iw-login-form,.iw-auth-v2) input:focus{border-color:#343a2e!important;box-shadow:0 0 0 3px rgba(183,229,50,.17)!important}
html body :is(.iwf-word,.iwf-eyebrow){color:#343a2e!important}
html body .iwf-slide{--iw-primary:#343a2e;--iw-accent:#b7e532}
html body #mailboxai-whmcs{--brand:#343a2e;--brand-dark:#171914;--brand-light:#f0f5e4;--accent:#b7e532;--primary:#343a2e;--primary-light:#f0f5e4}
html body #mailboxai-whmcs :is(.compose-btn,.btn-compose,.iwm-suite-primary,.btn-save,.membership-btn){background:#b7e532!important;border-color:#b7e532!important;color:#171914!important}
html body #mailboxai-whmcs :is(.s-logo,.iw-mail-brand h1,.iwm-mailplan-brand strong){color:#171914!important}
html body .iwq-brand-fallback,html body .iwqp-brand-copy{color:#171914!important}
html body :is(.iw-support-chat-launcher,.iw-direct-chat-launcher){background:#171914!important;color:#fff!important;border-color:#b7e532!important}
@media(prefers-reduced-motion:reduce){html body .iwf-cta{transition:none!important}}

/* Final surfaces match the lime-and-blue Megaweb dashboard. */
html body.iw-panel-light.iw-sidebar-active:not(.login-bg),html body.iwm-mailbox-standalone,
html body.iw-panel-light.iw-sidebar-active #main-body,html body.iw-panel-light.iw-sidebar-active #main-body #content,
html body.iwm-mailbox-standalone #mailboxai-whmcs .main{background-color:#f6f7f3!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon{border-top-color:#b7e532!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon .iw-nav-list .iw-nav-item > .iw-nav-link.active,
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon .iw-nav-list .iw-nav-item > .iw-nav-link.active .iw-nav-label{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar.wgssidebaraddon .iw-nav-list .iw-nav-item > .iw-nav-link.active .iw-icon-box{background:rgba(255,255,255,.35)!important;color:#171914!important}
html body .iwf-flyer .iwf-copy h2 em{color:#c8f04c!important}
html body .iwf-flyer .iwf-copy .iwf-cta{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important}
html body #mailboxai-whmcs.iwm-state-app .sidebar .s-logo{border-top-color:#b7e532!important}
html body #mailboxai-whmcs.iwm-state-app .main .iw-storage-header button,
html body .iwm-hosting-setup .primary{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important}
html body #mailboxai-whmcs :is(.iw-storage-header p,.iw-storage-section-heading p){color:#686e62!important}

html body.iw-panel-light.iw-sidebar-active nav#sidebar.wgssidebaraddon{border-top-color:#b7e532!important}
html body.iw-panel-light.iw-sidebar-active nav#sidebar.wgssidebaraddon a.iw-nav-link.active{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important;box-shadow:none!important}
html body.iw-panel-light.iw-sidebar-active nav#sidebar.wgssidebaraddon a.iw-nav-link.active :is(.iw-nav-label,.iw-icon-box){background:transparent!important;color:#171914!important}
html body .iw-academy-card{margin:24px 0;padding:26px;border:1px solid #e2e6dc;border-radius:20px;background:linear-gradient(120deg,#fff,#f0f5e4);color:#171914;box-shadow:0 10px 30px rgba(25,28,23,.06)}
html body .iw-academy-card__head{display:flex;gap:12px;align-items:center;margin-bottom:16px}
html body .iw-academy-card__mark{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#b7e532;color:#171914}
html body .iw-academy-card__kicker{display:block;color:#343a2e;font-size:11px;font-weight:700;text-transform:uppercase}
html body .iw-academy-card__brand{font-weight:800;font-size:16px}
html body .iw-academy-card h2{color:#171914;font-size:23px;font-weight:750}
html body .iw-academy-card p{color:#686e62}
html body .iw-academy-card__tools,html body .iw-academy-card__footer{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}
html body .iw-academy-card__tools span{padding:6px 12px;background:#fff;border:1px solid #e2e6dc;border-radius:20px;font-size:12px}
html body .iw-academy-card__cta{display:inline-flex;align-items:center;gap:8px;padding:12px 18px;border-radius:12px;background:#171914;color:#fff;font-weight:700;text-decoration:none}
html body .iw-academy-card__cta:hover{background:#343a2e;color:#fff}
html body .iw-academy-card__meta{color:#686e62;font-size:12px}

/* Match the existing sidebar's high-specificity rules without changing layout. */
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link).active{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important;box-shadow:none!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link).active :is(.iw-nav-label,.iw-icon-box,.iw-chevron){color:#171914!important;background:transparent!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon{border-top-color:#b7e532!important}

/* Strong blue brand surfaces; lime actions use dark text for contrast. */
:root{--megaweb-blue:#343a2e;--megaweb-navy:#171914;--megaweb-lime:#b7e532}
html body .iwf-flyer{background:#171914!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon{background:#171914!important;border-color:#292d24!important;border-top-color:#b7e532!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-body,.iw-nav-footer,.iw-user-row){background:#171914!important;border-color:#292d24!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon .iw-nav-logo{background:#fff!important;border-radius:14px 14px 0 0}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link,.iw-nav-label,.iw-user-name,.iw-chevron){color:#f6f7f3!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-title,.iw-nav-section-title,.iw-user-role){color:#bec5b4!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-icon-box,.iw-sub-icon){background:#292d24!important;color:#c8f04c!important;border-color:#414837!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link):hover{background:#303928!important;color:#fff!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link).active{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link).active :is(.iw-nav-label,.iw-icon-box,.iw-sub-icon,.iw-chevron){background:transparent!important;color:#171914!important}
html body #mailboxai-whmcs#mailboxai-whmcs#mailboxai-whmcs > #iwm-sidebar.sidebar .compose-btn{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important}
html body .iwm-hosting-setup .primary{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important}

/* Readability over the legacy tools layer. */
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link,.iw-nav-label,.iw-user-name,.iw-chevron){color:#f6f7f3!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-tools-heading,.iw-nav-label small,.iw-user-role){color:#bec5b4!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link).active{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link).active :is(.iw-nav-label,.iw-icon-box,.iw-sub-icon,.iw-chevron){color:#171914!important;background:transparent!important}
html body.login-bg .iw-btn-login{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important}
html body.login-bg .iw-btn-login:hover{background:#a3d025!important}

/* Lime, black and restrained blue accents. */
:root{--iw-primary:#587b11;--iw-primary-dark:#171914;--c-principal:#587b11;--mw-green-deep:#587b11;--megaweb-green-deep:#587b11}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon .iw-nav-logo{padding:20px 12px!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon .iw-nav-logo img.logoimaginaweb{width:192px!important;max-width:100%!important;height:58px!important;max-height:58px!important;object-fit:contain!important}
html body .iw-academy-card__kicker,html body .iwf-eyebrow{color:#587b11!important}
html body .iw-topbar{background:#171914!important}

/* Light sidebar, lime selections and black typography — requested revision. */
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon{background:#fff!important;background-image:none!important;border-color:#e3e7dc!important;border-top-color:#b7e532!important;box-shadow:0 8px 26px #1719140a!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-logo,.iw-nav-body,.iw-nav-footer,.iw-user-row){background:#fff!important;border-color:#e3e7dc!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link,.iw-nav-label,.iw-user-name,.iw-chevron){color:#171914!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-tools-heading,.iw-nav-label small,.iw-user-role,.iw-nav-title,.iw-nav-section-title){color:#686e62!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-icon-box,.iw-sub-icon){background:#f0f5e2!important;color:#343a2e!important;border-color:#e0e8d0!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link):hover{background:#f1f6e4!important;color:#171914!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link).active{background:#b7e532!important;border-color:#b7e532!important;color:#171914!important}
html body.iw-panel-light:not(.login-bg) #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar.wgssidebaraddon :is(.iw-nav-link,.iw-sub-link).active :is(.iw-nav-label,.iw-icon-box,.iw-sub-icon,.iw-chevron){background:transparent!important;color:#171914!important}

html body .iw-academy-card__cta{background:#171914!important;color:white!important}
html body :is(.btn-primary,.iw-home-card-btn,.iw-login-btn,.iw-auth-submit,.iwf-cta){background:#b7e532!important;color:#171914!important;border-color:#b7e532!important}
html body :is(.iw-page-title,.iw-login-title){color:#171914!important;-webkit-text-fill-color:#171914!important}
html body #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar .iwn-sidebar{background:#f4f7ec!important;border:1px solid #e0e7d4!important;color:#171914!important}
html body #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar .iwn-sidebar :is(span,strong,small,b){color:#343a2e!important}
html body #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar .iw-menu-state[data-enabled="true"]{background:#b7e532!important;border-color:#8cae24!important}
html body #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar .iw-menu-state[data-enabled="true"]:after{background:#171914!important}
html body #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar .iw-side-shop{background:#b7e532!important;color:#171914!important;border-color:#b7e532!important;box-shadow:none!important}
html body #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar .iw-side-shop :is(span,strong,small,svg){color:#171914!important}
html body #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar .iw-side-shop,html body #main-body nav#sidebar#sidebar#sidebar#sidebar#sidebar .iw-side-shop *{-webkit-text-fill-color:#171914!important;color:#171914!important}
