/* V7.3.417: keep theme roles separate so a selected workspace tab never inherits its own background color. */
html[data-crm-theme="rock"]{--crm-theme-sidebar:#005078;--crm-theme-sidebar-end:#005078;--crm-theme-sidebar-active:rgba(0,0,0,.14);--crm-readable-sidebar:#fff;--crm-readable-sidebar-muted:#e6f7ff;--crm-readable-tab:#0f172a;--crm-readable-tab-active:#005078;--crm-readable-tab-border:#90e0ef;--crm-readable-focus:#005078;--crm-readable-primary:#005078}
html[data-crm-theme="charcoal"]{--crm-readable-sidebar:#fff;--crm-readable-sidebar-muted:#e5e7eb;--crm-readable-tab:#20242a;--crm-readable-tab-active:#343b44;--crm-readable-tab-border:#c8cdd4;--crm-readable-focus:#343b44;--crm-readable-primary:#343b44}
html[data-crm-theme="lavender"]{--crm-theme-sidebar-active:rgba(0,0,0,.12);--crm-readable-sidebar:#fff;--crm-readable-sidebar-muted:#edf5fa;--crm-readable-tab:#121212;--crm-readable-tab-active:#326891;--crm-readable-tab-border:#b9ccda;--crm-readable-focus:#326891;--crm-readable-primary:#456a84}
html[data-crm-theme="walnut"]{--crm-readable-sidebar:#2f2723;--crm-readable-sidebar-muted:#594b43;--crm-readable-tab:#2f2723;--crm-readable-tab-active:#047857;--crm-readable-tab-border:#d7c5ad;--crm-readable-focus:#047857;--crm-readable-primary:#047857}
html[data-crm-theme="emerald"]{--crm-readable-sidebar:#fff;--crm-readable-sidebar-muted:#eef8f4;--crm-readable-tab:#1a1a1a;--crm-readable-tab-active:#1e3e34;--crm-readable-tab-border:#a9c2b9;--crm-readable-focus:#1e3e34;--crm-readable-primary:#1e3e34}

html:root[data-crm-theme] body .sidebar .brand strong,
html:root[data-crm-theme] body .sidebar .brand h2,
html:root[data-crm-theme] body .sidebar .nav-item,
html:root[data-crm-theme] body .sidebar .nav-item .nav-chevron,
html:root[data-crm-theme] body .sidebar-foot,
html:root[data-crm-theme] body .sidebar-foot b{color:var(--crm-readable-sidebar)!important}
html:root[data-crm-theme] body .sidebar .brand small{color:var(--crm-readable-sidebar-muted)!important}
html:root[data-crm-theme="lavender"] body .sidebar .nav-item:hover,
html:root[data-crm-theme="lavender"] body .sidebar .nav-item.active,
html:root[data-crm-theme="lavender"] body .sidebar .nav-item[aria-expanded="true"]{background:rgba(0,0,0,.12)!important}

html:root[data-crm-theme] body #workspace-tabs-v7390{background:color-mix(in srgb,var(--crm-theme-bg) 96%,white);color:var(--crm-theme-text)}
html:root[data-crm-theme] body #workspace-tabs-v7390 .workspace-tab-v7390{
  background:var(--crm-theme-bg)!important;
  border-color:transparent!important;
  color:var(--crm-readable-tab)!important;
}
html:root[data-crm-theme] body #workspace-tabs-v7390 .workspace-tab-v7390:hover{
  background:#fff!important;
  border-color:var(--crm-readable-tab-border)!important;
  color:var(--crm-readable-tab-active)!important;
}
html:root[data-crm-theme] body #workspace-tabs-v7390 .workspace-tab-v7390.is-active{
  background:#fff!important;
  border-color:var(--crm-readable-tab-border)!important;
  border-bottom-color:var(--crm-readable-focus)!important;
  color:var(--crm-readable-tab-active)!important;
}
html:root[data-crm-theme] body #workspace-tabs-v7390 .workspace-tab-v7390>span:first-child{color:inherit!important;opacity:1!important}
html:root[data-crm-theme] body #workspace-tabs-v7390 .workspace-tab-close-v7390{background:transparent!important;color:#526170!important}
html:root[data-crm-theme] body #workspace-tabs-v7390 .workspace-tab-close-v7390:hover{background:#e7edf2!important;color:#1f2933!important}
html:root[data-crm-theme] body #workspace-tabs-v7390 .workspace-tab-v7390:focus-visible{outline:3px solid color-mix(in srgb,var(--crm-readable-focus) 38%,transparent);outline-offset:2px}
html:root[data-crm-theme] body .page th{color:var(--crm-theme-text)!important}
html:root[data-crm-theme] body .primary{background:var(--crm-readable-primary)!important;color:#fff!important}
