/* /Components/Shared/GaugeRing.razor.rz.scp.css */
.vt-gauge[b-zm12s9jiou] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vt-gauge-ring[b-zm12s9jiou] {
    position: relative;
    width: 92px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ::deep required — MudProgressCircular is a child component without the
   b-xxxx scope attribute Blazor CSS-isolation stamps on this file's selectors. */
.vt-gauge-ring[b-zm12s9jiou]  .mud-progress-circular {
    width: 92px !important;
    height: 92px !important;
}

.vt-gauge-center[b-zm12s9jiou] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.vt-gauge-value[b-zm12s9jiou] {
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.1;
}

.vt-gauge-unit[b-zm12s9jiou] {
    font-size: 0.7rem;
    opacity: 0.55;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vt-gauge-label[b-zm12s9jiou] {
    margin-top: 6px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.vt-gauge-empty .vt-gauge-ring[b-zm12s9jiou],
.vt-gauge-empty .vt-gauge-label[b-zm12s9jiou] {
    opacity: 0.35;
}

/* Severity-token ring colors — MudProgressCircular renders Color.Inherit as
   currentColor, so tinting the wrapper colors the stroke while the centered
   value text is reset to the theme ink below. */
.vt-gauge.sev-critical .vt-gauge-ring[b-zm12s9jiou] { color: var(--sev-critical); }
.vt-gauge.sev-high     .vt-gauge-ring[b-zm12s9jiou] { color: var(--sev-high); }
.vt-gauge.sev-medium   .vt-gauge-ring[b-zm12s9jiou] { color: var(--sev-medium); }
.vt-gauge.sev-low      .vt-gauge-ring[b-zm12s9jiou] { color: var(--sev-low); }
.vt-gauge.sev-info     .vt-gauge-ring[b-zm12s9jiou] { color: var(--sev-none); }
.vt-gauge-center[b-zm12s9jiou] { color: var(--mud-palette-text-primary); }
/* /Components/Shared/SeverityDistributionBar.razor.rz.scp.css */
/* SeverityDistributionBar — scoped styles.
   Colours resolve from the global --sev-* tokens defined in app.css.
   Info reuses --sev-none to match SeverityBadge / .vt-severity convention. */

.vt-sevbar-wrap[b-spjcwa46oe] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
}

.vt-sevbar[b-spjcwa46oe] {
    display: flex;
    width: 100%;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--sev-none-bg);
}

.vt-sevbar-seg[b-spjcwa46oe] {
    height: 100%;
    min-width: 2px;
    transition: width 0.25s ease;
}

.vt-sevbar-seg.critical[b-spjcwa46oe] { background: var(--sev-critical); }
.vt-sevbar-seg.high[b-spjcwa46oe]     { background: var(--sev-high); }
.vt-sevbar-seg.medium[b-spjcwa46oe]   { background: var(--sev-medium); }
.vt-sevbar-seg.low[b-spjcwa46oe]      { background: var(--sev-low); }
.vt-sevbar-seg.info[b-spjcwa46oe]     { background: var(--sev-none); }
.vt-sevbar-seg.empty[b-spjcwa46oe]    { background: var(--sev-none-bg); }

.vt-sevbar-legend[b-spjcwa46oe] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 0.75rem;
    font-family: var(--font-mono, ui-monospace, "SFMono-Regular", "Cascadia Code", monospace);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.vt-sevbar-legend-item[b-spjcwa46oe] {
    white-space: nowrap;
}

.vt-sevbar-legend-item.critical[b-spjcwa46oe] { color: var(--sev-critical); }
.vt-sevbar-legend-item.high[b-spjcwa46oe]     { color: var(--sev-high); }
.vt-sevbar-legend-item.medium[b-spjcwa46oe]   { color: var(--sev-medium); }
.vt-sevbar-legend-item.low[b-spjcwa46oe]      { color: var(--sev-low); }
.vt-sevbar-legend-item.info[b-spjcwa46oe]     { color: var(--sev-none); }
