/* Energy purple header: layout only; badges and permissions retain their existing rules. */
body.eg-visual-overhaul .app-shell>.workspace>.topbar.header252{display:grid!important;grid-template-columns:minmax(0,max-content) minmax(120px,1fr) auto!important;grid-template-rows:auto auto;align-items:center!important;gap:10px 18px!important;padding:14px 24px!important;min-height:100px!important;background:#fff!important;border-color:#e7dfef!important}
.header252 .unified-left250,.header252 .unified-sections-target250,.header252 .wf-section-strip-host,.header252 .wf-section-strip{display:contents!important}
.header252 .wf-section-strip-heading{grid-column:1;grid-row:1;min-width:0;padding:0!important;line-height:24px}
.header252 .wf-section-strip-heading strong{font-size:18px!important;line-height:24px}
.header252 .wf-section-pages{grid-column:1;grid-row:2;min-width:0;width:max-content;max-width:min(650px,calc(100vw - 620px));overflow-x:auto!important;overflow-y:hidden;white-space:nowrap;scrollbar-width:thin;align-self:center}
.header-breadcrumb252{grid-column:2/4;grid-row:1;justify-self:end;min-width:0;font-size:11px;line-height:24px}
.header252.has-sections250 .header-breadcrumb252 .workspace-breadcrumb,.header252 .header-breadcrumb252 .workspace-breadcrumb{position:static!important;inset:auto!important;width:auto!important;max-width:100%!important;display:flex!important;align-items:center;gap:5px!important;font-size:11px!important;line-height:24px;margin:0!important;white-space:nowrap;overflow:hidden}
.header-date252{grid-column:2;grid-row:2;justify-self:center;min-width:0;max-width:100%;padding:0 4px}
.header-bell252{grid-column:3;grid-row:2;justify-self:end;display:flex;align-items:center;min-width:0}.header-bell252:empty{width:0}.header-bell252 .notification-bell{margin:0!important}
.header-tools252{grid-column:1/4;grid-row:3;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;min-width:0}.header-tools252:empty{display:none}
.date-pill252{display:inline-flex!important;align-items:center;justify-content:center;min-height:36px!important;width:auto!important;max-width:100%;margin:0!important;padding:7px 11px!important;border:1px solid #e1d4ee!important;border-radius:999px!important;background:#f7f2fc!important;color:#624577!important;font-size:11px!important;line-height:1.3!important;font-weight:500!important;white-space:nowrap!important;cursor:pointer}
.date-pill252:hover{background:#eee2f8!important}.date-pill252:focus-visible{outline:2px solid #8b45bd;outline-offset:3px}.date-short252{display:none}
.mobile-logo-actions252{display:flex;align-items:center;gap:10px;flex:0 0 auto}.mobile-header-bell252{display:flex;align-items:center}.mobile-header-bell252 .notification-bell{margin:0!important}
.universal-navigation-bar:has(.mobile-logo-actions252){display:flex!important;align-items:center;justify-content:space-between;gap:12px;background:#fff!important;border-color:#e7dfef!important}.universal-navigation-bar:has(.mobile-logo-actions252)>:first-child{min-width:0;flex:1 1 auto}
html[data-crm-nav-preview-theme="dark"] .universal-navigation-bar:has(.mobile-logo-actions252){background:#17131c!important;border-color:#4b3e56!important}
html[data-crm-nav-preview-theme="dark"] body.eg-visual-overhaul .app-shell>.workspace>.topbar.header252{background:#17131c!important;border-color:#4b3e56!important}
html[data-crm-nav-preview-theme="dark"] .date-pill252{background:#30263b!important;color:#f0e4fa!important;border-color:#675276!important}html[data-crm-nav-preview-theme="dark"] .date-pill252:hover{background:#473354!important}
html[data-crm-nav-preview-theme="dark"] .mobile-header-bell252 .notification-bell{background:#29232f!important;color:#f5eff9!important;border-color:#5c4a69!important}
/* Drawer mode also covers a standalone Home Screen window, even when it is wide. */
body.eg-visual-overhaul .app-shell>.workspace>.topbar.header252.header-drawer252{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto;gap:8px!important;min-height:0!important;padding:10px 12px!important}
.header252.header-drawer252 .wf-section-strip-heading{grid-column:1/3;grid-row:1}.header252.header-drawer252 .wf-section-strip-heading strong{font-size:15px!important;line-height:20px}
.header252.header-drawer252 .wf-section-pages{grid-column:1;grid-row:2;max-width:100%;width:max-content;min-width:0;padding-bottom:2px!important}
.header252.header-drawer252 .header-date252{grid-column:2;grid-row:2;max-width:146px;padding:0;align-self:center}
.header252.header-drawer252 .header-breadcrumb252,.header252.header-drawer252 .header-bell252{display:none!important}
.header252.header-drawer252 .header-tools252{grid-column:1/3;grid-row:3;justify-content:flex-start;gap:6px}
.header252.header-drawer252 .date-full252{display:none}.header252.header-drawer252 .date-short252{display:inline}
.header252.header-drawer252 .date-pill252{font-size:10px!important;padding:7px 8px!important;min-height:34px!important}
.header252.header-drawer252 .header-tools252 button,.header252.header-drawer252 .header-tools252 select{min-height:34px!important;padding:6px 9px!important;font-size:11px!important}
@media(max-width:380px){.header252.header-drawer252 .header-date252{max-width:136px}.header252.header-drawer252 .date-pill252{font-size:9px!important;padding:6px!important}.mobile-logo-actions252{gap:6px}.mobile-logo-actions252 .notification-bell{width:36px!important;min-width:36px!important;height:36px!important}}
