/* Veva Support theme: badges, chips and keys. Ported from the design system's class contract (components/bundle.css). */

.vs-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--grey-100); color: var(--grey-black); font: 600 12px/1 var(--font-mono); white-space: nowrap; }
.vs-badge svg, .vs-badge i { font-size: 10px; }
.vs-badge--brand { background: var(--pink-base); color: var(--white); }
.vs-badge--soft { background: var(--pink-50); color: var(--pink-base); }
.vs-badge--dev { background: var(--indigo-100); color: var(--indigo-base); }
.vs-badge--editor { background: var(--alert-success-light); color: var(--grey-black); }
.vs-badge--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--grey-400); }
.vs-badge--stable::before, .vs-badge--preview::before, .vs-badge--deprecated::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.vs-badge--stable::before { background: var(--alert-success); }
.vs-badge--preview::before { background: var(--alert-warning); box-shadow: inset 0 0 0 1px rgba(29, 28, 27, .35); }
.vs-badge--deprecated::before { background: var(--alert-error); }
:is(.vs-dark, .vs-section--stage, .vs-panel--stage, .vs-card--stage, .vs-footer) .vs-badge { background: var(--grey-900); color: var(--white); }
:is(.vs-dark, .vs-section--stage, .vs-panel--stage, .vs-card--stage, .vs-footer) .vs-badge--brand { background: var(--pink-base); }
:is(.vs-dark, .vs-section--stage, .vs-panel--stage, .vs-card--stage, .vs-footer) .vs-badge--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--grey-400); }
.vs-chip { display: inline-flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-4); border: 1px solid var(--grey-400); border-radius: var(--radius-pill); background: var(--white); color: var(--grey-black); font: 500 14px/1 var(--font-grotesk); cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out; }
.vs-chip:hover { border-color: var(--grey-black); }
.vs-chip[aria-pressed="true"] { background: var(--grey-black); border-color: var(--grey-black); color: var(--white); }
.vs-chip__x { display: grid; place-items: center; width: 20px; height: 20px; margin-right: -8px; border-radius: 50%; font-size: 11px; }
.vs-chip[aria-pressed="true"] .vs-chip__x { background: var(--grey-900); }
.vs-kbd, .vs kbd { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border: 1px solid var(--grey-400); border-bottom-width: 2px; border-radius: var(--radius-sm); background: var(--white); color: var(--grey-black); font: 500 12px/1 var(--font-mono); }
:is(.vs-dark, .vs-section--stage, .vs-panel--stage, .vs-card--stage, .vs-footer) .vs-kbd, :is(.vs-dark, .vs-section--stage, .vs-panel--stage, .vs-card--stage, .vs-footer) kbd { background: transparent; border-color: var(--grey-600); color: var(--grey-200); }
