/* Four Administration modules correction V2: appearance only. */
html.wl-theme-active #app #sidebar,
html.wl-theme-active #app #sidebar .side-top,
html.wl-theme-active #app #sidebar .side-scroll,
html.wl-theme-active #app #sidebar #navigation,
html.wl-theme-active #app #sidebar .side-footer,
html.wl-theme-active #app #sidebar .crm-sidebar-brand {background-color:var(--wl-theme-primary,var(--he-navy))!important;color:var(--wl-theme-on-primary,#fff)!important}
html.wl-theme-active #app #sidebar .nav-btn:not(.active){color:var(--wl-theme-on-primary,#fff)!important}
html.wl-theme-active #app #sidebar .nav-btn.active{background:var(--wl-theme-selection,var(--wl-theme-accent))!important;color:var(--wl-theme-fg)!important;border-color:var(--wl-theme-accent)!important}
html.wl-theme-active #wlDeployNotice {background:var(--wl-theme-primary,var(--he-navy))!important;color:var(--wl-theme-on-primary,#fff)!important;border:1px solid var(--wl-theme-accent)!important;box-shadow:0 5px 20px #0002!important}
.tb-wrap #tbCustom{display:flex;flex-direction:column;gap:0}
.tb-wrap #tbCustom .tb-fields{margin-bottom:14px}
.tb-wrap #tbCustom .tb-btn{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;margin:0 0 10px 0!important;min-height:43px;max-width:100%;white-space:nowrap}
.tb-wrap #tbCustom .tb-btn:last-child{margin-bottom:0!important}
.tb-wrap .tb-actions{display:flex;flex-wrap:wrap;gap:10px!important}
.tb-wrap .tb-actions .tb-btn{margin:0!important;white-space:nowrap}
.pwa-wrap,.cs-wrap,.tb-wrap,.dv-shell{box-sizing:border-box;max-width:100%;min-width:0}
.pwa-wrap .pwa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.pwa-wrap .pwa-panel{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.pwa-wrap .pwa-panel h2,.pwa-wrap .pwa-panel p{margin:0}
.pwa-wrap .pwa-actions{display:flex;flex-wrap:wrap;gap:10px}
.pwa-wrap .pwa-btn{white-space:nowrap;max-width:100%}
.cs-wrap .cs-grid,.tb-wrap .tb-fields{min-width:0}
@media(max-width:760px){
 .pwa-wrap .pwa-grid,.cs-wrap .cs-grid,.tb-wrap .tb-columns{grid-template-columns:minmax(0,1fr)!important}
 .pwa-wrap,.cs-wrap,.tb-wrap,.dv-shell{padding:12px!important}
 .pwa-wrap .pwa-panel,.cs-wrap .cs-card,.tb-wrap .tb-card{padding:14px!important}
 .tb-wrap #tbCustom .tb-btn{width:100%;align-self:stretch}
 .tb-wrap .tb-actions .tb-btn{flex:1 1 auto}
 .tb-wrap .tb-fields{grid-template-columns:minmax(0,1fr)!important}
 .pwa-wrap .pwa-actions{width:100%}
 .pwa-wrap .pwa-actions .pwa-btn{flex:1 1 auto}
}
