/* Static Digital component styles; no generated isolation bundle required. */
@scope (.digital-consolidated-dashboard) {
/* Digital operational dashboard. Kept under the Digital scope and page root. */
:scope .dashboard-control-view {
    display: grid;
    gap: 16px;
    min-width: 0;
    transition: opacity 120ms ease;
}

:scope .dashboard-control-view.is-refreshing {
    opacity: .68;
    pointer-events: none;
}

:scope .dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

:scope .dashboard-kpi-card {
    position: relative;
    min-width: 0;
    min-height: 118px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px 16px 20px;
    overflow: hidden;
    border: 1px solid var(--digital-border);
    border-radius: 8px;
    background: var(--digital-surface);
    color: var(--digital-text);
    text-decoration: none;
    box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

:scope a.dashboard-kpi-card:hover {
    border-color: var(--digital-text-muted);
    box-shadow: 0 4px 12px rgb(15 23 42 / 7%);
}

:scope .dashboard-kpi-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--digital-surface-subtle);
    color: var(--digital-text);
}

:scope .dashboard-kpi-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

:scope .dashboard-kpi-label {
    color: var(--digital-text-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

:scope .dashboard-kpi-copy > strong {
    color: var(--digital-text);
    font-size: 1.75rem;
    line-height: 1.15;
}

:scope .dashboard-kpi-copy > small {
    min-width: 0;
    overflow: hidden;
    color: var(--digital-text-muted);
    font-size: .76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:scope .dashboard-kpi-progress {
    position: absolute;
    right: 16px;
    bottom: 12px;
    left: 70px;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--digital-surface-subtle);
}

:scope .dashboard-kpi-progress > i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--digital-text);
}

:scope .dashboard-kpi-card.attention .dashboard-kpi-icon {
    background: var(--digital-error-soft);
    color: var(--digital-error);
}

:scope .dashboard-kpi-card.attention .dashboard-kpi-progress > i {
    background: #d92d20;
}

:scope .dashboard-analysis-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

:scope .dashboard-analysis-card,
:scope .dashboard-work-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--digital-border);
    border-radius: 8px;
    background: var(--digital-surface);
    box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

:scope .dashboard-analysis-card {
    min-height: 300px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
}

:scope .dashboard-section-header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--digital-border);
}

:scope .dashboard-section-header > div {
    min-width: 0;
    display: grid;
    gap: 2px;
}

:scope .dashboard-section-header span {
    color: var(--digital-text-muted);
    font-size: .72rem;
    font-weight: 700;
}

:scope .dashboard-section-header strong {
    min-width: 0;
    overflow: hidden;
    color: var(--digital-text);
    font-size: .96rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:scope .dashboard-section-header > a {
    flex: 0 0 auto;
    color: var(--digital-text);
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
}

:scope .dashboard-section-header > a:hover {
    color: var(--digital-text);
    text-decoration: underline;
}

:scope .dashboard-status-stack {
    display: grid;
    align-content: center;
    gap: 13px;
    padding: 16px;
}

:scope .dashboard-status-line {
    display: grid;
    grid-template-columns: minmax(82px, 1fr) auto;
    gap: 5px 12px;
    align-items: center;
}

:scope .dashboard-status-label {
    min-width: 0;
    overflow: hidden;
    color: var(--digital-text-muted);
    font-size: .78rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:scope .dashboard-status-line > strong {
    color: var(--digital-text);
    font-size: .8rem;
}

:scope .dashboard-status-track {
    grid-column: 1 / -1;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--digital-surface-subtle);
}

:scope .dashboard-status-fill {
    display: block;
    height: 100%;
    min-width: 0;
    border-radius: inherit;
    background: #98a2b3;
}

:scope .dashboard-status-fill.queued { background: #98a2b3; }
:scope .dashboard-status-fill.active { background: #2f6fed; }
:scope .dashboard-status-fill.passed { background: #20a36a; }
:scope .dashboard-status-fill.cancelled { background: #667085; }

:scope .dashboard-card-footer {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid var(--digital-border);
    color: var(--digital-text-muted);
    font-size: .73rem;
}

:scope .dashboard-card-footer strong {
    color: var(--digital-text);
}

:scope .dashboard-report-health {
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(112px, .8fr) minmax(132px, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
}

:scope .dashboard-report-donut {
    position: relative;
    width: min(132px, 100%);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 50%;
}

:scope .dashboard-report-donut::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    background: var(--digital-surface);
}

:scope .dashboard-report-donut > span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
}

:scope .dashboard-report-donut strong {
    color: var(--digital-text);
    font-size: 1.25rem;
}

:scope .dashboard-report-donut small {
    color: var(--digital-text-muted);
    font-size: .68rem;
}

:scope .dashboard-result-legend {
    min-width: 0;
    display: grid;
    gap: 10px;
}

:scope .dashboard-result-legend > span {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    color: var(--digital-text-muted);
    font-size: .75rem;
}

:scope .dashboard-result-legend i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #98a2b3;
}

:scope .dashboard-result-legend .passed i { background: #20a36a; }
:scope .dashboard-result-legend .failed i { background: #d92d20; }
:scope .dashboard-result-legend .active i { background: #2f6fed; }
:scope .dashboard-result-legend .cancelled i { background: #667085; }

:scope .dashboard-result-legend strong {
    color: var(--digital-text);
}

:scope .dashboard-location-section {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--digital-border);
    border-radius: 8px;
    background: var(--digital-surface);
    box-shadow: 0 1px 2px rgb(15 23 42 / 4%);
}

:scope .dashboard-location-section-header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--digital-border);
}

:scope .dashboard-location-section-header > div {
    display: grid;
    gap: 2px;
}

:scope .dashboard-location-section-header span,
:scope .dashboard-location-section-header small {
    color: var(--digital-text-muted);
    font-size: .72rem;
    font-weight: 700;
}

:scope .dashboard-location-section-header strong {
    color: var(--digital-text);
    font-size: .96rem;
}

:scope .dashboard-location-comparison {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 12px;
    padding: 12px;
    overflow-x: auto;
}

:scope .dashboard-location-card {
    --location-accent: #667085;
    min-width: 220px;
    overflow: hidden;
    border: 1px solid var(--digital-border);
    border-radius: 8px;
    background: var(--digital-surface);
}

:scope .dashboard-location-card.location-tone-fkv { --location-accent: #2563eb; }
:scope .dashboard-location-card.location-tone-fvn { --location-accent: #0f9f6e; }
:scope .dashboard-location-card.location-tone-fft { --location-accent: #d97706; }
:scope .dashboard-location-card.location-tone-fin { --location-accent: #7c3aed; }

:scope .dashboard-location-card > header {
    display: grid;
    grid-template-columns: 5px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--digital-border);
}

:scope .location-color-mark {
    width: 5px;
    height: 34px;
    border-radius: 99px;
    background: var(--location-accent);
}

:scope .dashboard-location-card > header > div {
    min-width: 0;
    display: grid;
    gap: 1px;
}

:scope .dashboard-location-card > header strong {
    color: var(--digital-text);
    font-size: .82rem;
}

:scope .dashboard-location-card > header small {
    overflow: hidden;
    color: var(--digital-text-muted);
    font-size: .64rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:scope .dashboard-location-card > header button {
    display: inline-flex;
    gap: 3px;
    align-items: center;
    padding: 5px 7px;
    border: 0;
    border-radius: 5px;
    background: var(--digital-surface-subtle);
    color: var(--digital-text);
    font: inherit;
    font-size: .66rem;
    font-weight: 800;
    cursor: pointer;
}

:scope .dashboard-location-card > header button:hover {
    background: var(--digital-surface-subtle);
}

:scope .location-module-bars {
    display: grid;
    gap: 11px;
    padding: 14px 12px;
}

:scope .location-module-bar {
    display: grid;
    grid-template-columns: 18px 62px minmax(48px, 1fr) 24px;
    gap: 7px;
    align-items: center;
    color: var(--digital-text-muted);
    font-size: .68rem;
}

:scope .location-module-bar .mud-icon-root {
    color: var(--digital-text-muted);
    font-size: .95rem;
}

:scope .location-module-bar > i {
    height: 6px;
    overflow: hidden;
    border-radius: 99px;
    background: var(--digital-surface-subtle);
}

:scope .location-module-bar > i > b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--location-accent);
}

:scope .location-module-bar > strong {
    color: var(--digital-text);
    font-size: .72rem;
    text-align: right;
}

:scope .dashboard-location-card > footer {
    display: grid;
    grid-template-columns: 42px repeat(3, minmax(0, 1fr));
    gap: 9px;
    align-items: center;
    padding: 10px 12px;
    border-top: 1px solid var(--digital-border);
    background: var(--digital-surface-subtle);
}

:scope .dashboard-location-card > footer > span {
    min-width: 0;
    display: grid;
}

:scope .dashboard-location-card > footer strong {
    color: var(--digital-text);
    font-size: .75rem;
}

:scope .dashboard-location-card > footer small {
    overflow: hidden;
    color: var(--digital-text-muted);
    font-size: .56rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

:scope .dashboard-location-card > footer .has-failures strong {
    color: var(--digital-error);
}

:scope .location-mini-donut {
    position: relative;
    width: 38px;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

:scope .location-mini-donut::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: var(--digital-surface);
}

:scope .location-mini-donut span {
    position: relative;
    z-index: 1;
    color: var(--digital-text);
    font-size: .51rem;
    font-weight: 800;
}

:scope .dashboard-work-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

:scope .dashboard-work-card {
    height: 382px;
    display: flex;
    flex-direction: column;
    position: relative;
}

:scope .dashboard-work-card .ops-dashboard-list {
    flex: 1;
}

:scope .dashboard-work-card .ops-empty-state {
    min-height: 0;
}

@media (max-width: 1280px) {
    :scope .dashboard-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :scope .dashboard-analysis-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    :scope .dashboard-location-comparison {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (max-width: 900px) {
    :scope .dashboard-analysis-grid,
    :scope .dashboard-work-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    :scope .dashboard-work-card {
        height: 350px;
    }
}

@media (max-width: 560px) {
    :scope .dashboard-kpi-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    :scope .dashboard-kpi-card {
        min-height: 108px;
    }

    :scope .dashboard-report-health {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    :scope .dashboard-report-donut::after {
        inset: 13px;
    }

    :scope .dashboard-location-comparison {
        grid-template-columns: minmax(230px, 1fr);
    }

    :scope .dashboard-location-section-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    :scope .dashboard-card-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }
}
}

