@layer theme,base;@layer components{.weft-dot{box-sizing:border-box;width:var(--label-pill-dot-size,6px);height:var(--label-pill-dot-size,6px);border-radius:var(--label-pill-dot-radius,50%);background:var(--dot-colour,currentColor);flex:none;display:inline-block}@media (forced-colors:active){.weft-dot{forced-color-adjust:none;background:canvastext}}}@layer utilities;
@layer theme;@layer base{:where(:root,[data-brand],[data-weft-audience],[data-weft-corners]){--label-pill-height:20px;--label-pill-radius:var(--profile-radius-small,calc(var(--radius) * var(--corner-factor) * .625));--label-pill-pad:6px;--label-pill-mark-pad:5px;--label-pill-gap:5px;--label-pill-mark-size:round(nearest, calc(var(--type-body) * 12 / 13), 1px);--label-pill-dot-size:6px;--label-pill-dot-radius:50%;--label-pill-edge-width:1px;--label-pill-hover-width:.5px;--label-pill-hover-ink:color-mix(in oklab, currentColor 35%, transparent);--label-pill-outline:var(--border);--label-pill-weight:var(--weight-order);--label-pill-touch:44px;--status-dot-size:round(nearest, calc(var(--type-body) * 6.5 / 13), 1px);--status-dot-gap:6px}}@layer components{.weft-badge{--ink:var(--badge-neutral-foreground);--fill:var(--badge-neutral-background);vertical-align:middle;box-sizing:border-box;min-width:0;max-width:100%;min-height:var(--label-pill-height);padding-block:0;padding-inline:var(--label-pill-pad);justify-content:center;align-items:center;gap:var(--label-pill-gap);border-radius:var(--label-pill-radius);font-family:inherit;font-size:var(--type-small);line-height:var(--type-small-line);font-weight:var(--label-pill-weight);color:var(--ink);background:var(--fill);transition:box-shadow var(--label-pill-feedback-duration) ease;border:0;text-decoration:none;display:inline-flex;position:relative}.weft-badge[data-prefix]{padding-inline-start:var(--label-pill-mark-pad)}.weft-badge[data-suffix]{padding-inline-end:var(--label-pill-mark-pad)}.weft-badge[data-slot=status-badge]{flex:none}:is(td,th,[role=cell],[role=gridcell]) .weft-badge[data-slot=status-badge]{white-space:nowrap}:where([data-weft-states=dot]) :is(.weft-data-table,.weft-entity-record,.weft-summary-card) .weft-badge[data-slot=status-badge]{--fill:transparent;--ink:var(--muted-foreground);--label-pill-dot-size:var(--status-dot-size);gap:var(--status-dot-gap);min-height:0;font-size:var(--type-small);line-height:var(--type-tight-line);font-weight:var(--weight-name);border-radius:0;padding:0}:where([data-weft-states=dot]) :is(.weft-data-table,.weft-entity-record,.weft-summary-card) .weft-badge[data-slot=status-badge]>.weft-badge__mark{width:auto;height:auto}:where([data-weft-states=dot]) :is(.weft-data-table,.weft-entity-record,.weft-summary-card) .weft-badge[data-slot=status-badge][data-variant=success]{--ink:var(--foreground-success)}:where([data-weft-states=dot]) :is(.weft-data-table,.weft-entity-record,.weft-summary-card) .weft-badge[data-slot=status-badge][data-variant=warning]{--ink:var(--foreground-warning)}:where([data-weft-states=dot]) :is(.weft-data-table,.weft-entity-record,.weft-summary-card) .weft-badge[data-slot=status-badge]:is([data-variant=critical],[data-variant=destructive]){--ink:var(--foreground-critical)}:where([data-weft-states=dot]) :is(.weft-data-table,.weft-entity-record,.weft-summary-card) .weft-badge[data-slot=status-badge]:is([data-variant=info],[data-variant=brand],[data-variant=default]){--ink:var(--foreground-selected)}:where([data-weft-states=dot]) :is(.weft-data-table,.weft-entity-record,.weft-summary-card) .weft-badge[data-slot=status-badge][data-variant=neutral]{font-weight:var(--weight-order)}.weft-badge[data-variant=default]{--ink:var(--badge-default-foreground);--fill:var(--badge-default-background)}.weft-badge[data-variant=secondary]{--ink:var(--secondary-foreground);--fill:var(--secondary)}.weft-badge[data-variant=destructive]{--ink:var(--badge-critical-foreground);--fill:var(--badge-critical-background)}.weft-badge[data-variant=brand]{--ink:var(--badge-brand-foreground);--fill:var(--badge-brand-background)}.weft-badge[data-variant=success]{--ink:var(--badge-success-foreground);--fill:var(--badge-success-background)}.weft-badge[data-variant=warning]{--ink:var(--badge-warning-foreground);--fill:var(--badge-warning-background)}.weft-badge[data-variant=critical]{--ink:var(--badge-critical-foreground);--fill:var(--badge-critical-background)}.weft-badge[data-variant=info]{--ink:var(--badge-info-foreground);--fill:var(--badge-info-background)}.weft-badge[data-variant=plum]{--ink:var(--badge-plum-foreground);--fill:var(--badge-plum-background)}.weft-badge[data-variant=aqua]{--ink:var(--badge-aqua-foreground);--fill:var(--badge-aqua-background)}.weft-badge:is([data-variant=outline],[data-variant=ghost],[data-variant=link]){--ink:var(--foreground);--fill:transparent}.weft-badge[data-variant=outline]{box-shadow:inset 0 0 0 var(--label-pill-edge-width) var(--label-pill-outline)}.weft-badge[data-variant=link]{text-decoration-skip-ink:auto;text-decoration:underline;text-decoration-thickness:var(--link-underline-thickness);text-underline-offset:var(--link-underline-offset)}.weft-badge__label{overflow-wrap:anywhere;min-width:0}.weft-badge__mark{width:var(--label-pill-mark-size);height:var(--label-pill-mark-size);flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.weft-badge__mark>svg{width:100%;height:100%}.weft-badge:is(a[href],button){cursor:pointer;-webkit-tap-highlight-color:transparent}.weft-badge:is(a[href],button):focus-visible{outline:var(--focus-ring-width) solid var(--focus-ring-color);outline-offset:var(--focus-ring-gap)}.weft-badge:disabled{cursor:default}@media (hover:hover){.weft-badge:is(a[href],button):not(:disabled):hover{box-shadow:inset 0 0 0 var(--label-pill-hover-width) var(--label-pill-hover-ink)}}@media (pointer:coarse){.weft-badge:is(a[href],button){min-height:var(--label-pill-touch);min-width:var(--label-pill-touch)}}@media (forced-colors:active){.weft-badge{color:canvastext;outline:var(--label-pill-edge-width) solid CanvasText;box-shadow:none;background:canvas}.weft-badge:is(a[href],button):focus-visible{outline-color:highlight}.weft-badge:disabled{color:graytext}}}@layer utilities;
