/* Match AdsPulse's .bg badges, even inside the editor's larger chrome. */
[data-page] .cms-label.bg,
body[data-page="hm-edit"] .ref-dlg .cms-label.bg {
  display:inline-block; flex:none; white-space:nowrap; vertical-align:middle;
  font-size:10px; line-height:1.5; font-weight:500; letter-spacing:normal;
  padding:2px 8px; border:0; border-radius:8px;
  font-family:'Noto Sans JP',sans-serif;
}
/* The CMS accent2 is purple; the dashboard's blue media label uses these tokens. */
:root[data-theme="dark"] .cms-label.bg-b { --acc2:#60a5fa; }
:root[data-theme="light"] .cms-label.bg-b { --acc2:#3b82f6; }
