/* Customer-facing visual contract.
 * Status labels stay compact rounded rectangles. Pills are not part of the
 * Build Daily interface vocabulary. Circular avatars, dots, and progress
 * tracks are intentionally outside this rule.
 */
html body [class].badge,
html body [class].rounded-pill,
html body [class].bd-badge,
html body [class].bd-chip,
html body [class].dw-chip,
html body [class].bd-sub-status,
html body [class].bd-public-badge,
html body [class][class$="-badge"],
html body [class][class*="-badge "],
html body [class][class$="__badge"],
html body [class][class*="__badge "],
html body [class][class$="-chip"],
html body [class][class*="-chip "],
html body [class][class$="__chip"],
html body [class][class*="__chip "],
html body [class][class$="-pill"],
html body [class][class*="-pill "],
html body [class][class$="__pill"],
html body [class][class*="__pill "],
html body [class][class*="-pill-"],
html body [class][class$="-status"]:not([class*="-dot"]),
html body [class][class*="-status "]:not([class*="-dot"]),
html body [class][class$="__status"]:not([class*="-dot"]),
html body [class][class*="__status "]:not([class*="-dot"]) {
  border-radius: 6px !important;
}

html body #pwa-stack :is(.pwa-chip, .pwa-banner-chip, #pwa-context-label),
html body #pwa-nav-toolbar :is(.pwa-chip, .pwa-banner-chip, #pwa-context-label),
html body #pwa-mobile-strip :is(.pwa-chip, .pwa-banner-chip, #pwa-context-label) {
  border-radius: 6px !important;
}

/* Navigation items are not badges.
 * The anti-pill rule matches on name fragments, and `[class*="-pill-"]` caught
 * `.bd-pill-link` — a level-1 module nav item whose class name is a legacy
 * misnomer. It was forced to a 6px badge radius against the guide's 7px.
 * Nav geometry belongs to the navigation contract in bd_standards.css.
 */
html body [class].bd-pill-link,
html body [class].dock-main-item,
html body [class].tc-main-item,
html body [class].std-dock-main-item,
html body [class].hr-nav-item,
html body [class].bd-settings-category-link,
html body [class].ana-tab,
html body [class].bd-support-tab,
html body [class].obs-tab,
html body [class].pqm-tab,
html body [class].acct-tab {
  border-radius: 7px !important;
}

html body [class].dock-sub-item,
html body [class].tc-sub-item,
html body [class].std-dock-sub-item,
html body [class].bd-settings-subnav .bd-pill-link {
  border-radius: 0 !important;
}
