.workspace-nav > button { position: relative; }
.workspace-nav > button > .project-document-new-badge {
 position: absolute; top: 5px; right: 5px; display: inline-flex;
 align-items: center; justify-content: center; min-width: 25px;
 height: 15px; padding: 0 4px; border-radius: 4px;
 background: var(--brand-primary, var(--oa-accent-2,#8b5cf6));
 color: var(--brand-on-primary,#fff); font: 700 9px/15px Arial,sans-serif; letter-spacing: .2px;
 box-shadow: 0 0 0 1px var(--oa-bg,#111); pointer-events: none;
}
/* Keep unread labels visible when the compact rail hides ordinary text labels. */
.workspace-nav.compact:not(.expanded) > button > .project-document-new-badge {
 display: inline-flex;
}
