@import '_content/DivaDynamics.Blazor.Core/DivaDynamics.Blazor.Core.kp04zas7pd.bundle.scp.css';

/* /Components/Dashboard/ComparisonBuilder.razor.rz.scp.css */
/* Scrolls as a whole: the popup's own buttons sit outside this element and have to stay
   reachable on a short screen, however tall the catalog and the tree get. */
.dashboard-builder[b-cj38h1el9t] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 320px;
    max-height: 66vh;
    overflow-y: auto;
}

.dashboard-builder-columns[b-cj38h1el9t] {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.dashboard-builder-column[b-cj38h1el9t] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 0;
    min-width: 0;
}

.dashboard-builder-step[b-cj38h1el9t] {
    font-family: var(--diva-font-heading);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--diva-text-secondary);
    margin: 0;
}

.dashboard-builder-kpis[b-cj38h1el9t] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1 1 auto;
    max-height: 34vh;
    overflow-y: auto;
    border: 1px solid var(--diva-border-light);
    border-radius: 4px;
    padding: 6px 8px;
}

.dashboard-builder-objects[b-cj38h1el9t] {
    display: flex;
    flex-direction: column;
}

/* ::deep reaches the tree because the picker renders inline: no DxPopup portal between. */
.dashboard-builder-objects[b-cj38h1el9t]  .dashboard-builder-tree {
    max-height: 24vh;
    overflow-y: auto;
    border: 1px solid var(--diva-border);
    border-radius: 4px;
}

/* Also in Home.razor.css: CSS isolation cannot reach the page's copies. Keep in step. */
.dashboard-kpi-category[b-cj38h1el9t] {
    font-family: var(--diva-font-heading);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--diva-primary);
    padding: 10px 2px 4px;
}

.dashboard-kpi-subcategory[b-cj38h1el9t] {
    font-family: var(--diva-font-heading);
    font-weight: 600;
    font-size: 11px;
    color: var(--diva-text-secondary);
    padding: 8px 2px 2px 12px;
}

.dashboard-kpi-empty[b-cj38h1el9t] {
    color: var(--diva-text-light);
    font-style: italic;
    font-size: 13px;
    padding: 16px 4px;
    text-align: center;
}

.dashboard-builder-kpi[b-cj38h1el9t] {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    cursor: pointer;
    padding-left: 12px;
}

.dashboard-builder-kpi input[b-cj38h1el9t] {
    flex: 0 0 auto;
    margin: 0;
}

.dashboard-builder-viewbar[b-cj38h1el9t] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--diva-border-light);
    padding-top: 12px;
}

.dashboard-builder-viewrow[b-cj38h1el9t] {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.dashboard-builder-views[b-cj38h1el9t] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1 1 420px;
}

.dashboard-builder-view[b-cj38h1el9t] {
    display: flex;
    flex-direction: column;
    gap: 1px;
    align-items: flex-start;
    flex: 1 1 180px;
    padding: 8px 12px;
    border: 1px solid var(--diva-border);
    border-radius: 6px;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.dashboard-builder-view:hover:not(:disabled)[b-cj38h1el9t] {
    border-color: var(--diva-primary);
}

.dashboard-builder-view-active[b-cj38h1el9t] {
    border-color: var(--diva-primary);
    background: var(--diva-bg-primary);
}

.dashboard-builder-view:disabled[b-cj38h1el9t] {
    opacity: 0.5;
    cursor: default;
}

.dashboard-builder-view-name[b-cj38h1el9t] {
    font-weight: 600;
    font-size: 13px;
}

.dashboard-builder-view-hint[b-cj38h1el9t] {
    font-size: 11px;
    color: var(--diva-text-secondary);
}

.dashboard-builder-granularity[b-cj38h1el9t] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 0 0 auto;
}

.dashboard-builder-label[b-cj38h1el9t] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--diva-text-secondary);
}

@media (max-width: 760px) {
    .dashboard-builder-columns[b-cj38h1el9t] {
        flex-direction: column;
    }

    .dashboard-builder-kpis[b-cj38h1el9t] {
        max-height: 26vh;
    }
}
/* /Components/Dashboard/CustomKpiTile.razor.rz.scp.css */
.dashboard-tile-caption-actions[b-vqdr1kh5xi] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.dashboard-custom-icon-toggle[b-vqdr1kh5xi] {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #fff;
    opacity: 0.75;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dashboard-custom-icon-toggle:hover[b-vqdr1kh5xi] {
    opacity: 1;
}

.dashboard-custom-icon-toggle[aria-pressed="true"][b-vqdr1kh5xi] {
    opacity: 1;
}

.dashboard-custom-filter-toggle[aria-pressed="true"][b-vqdr1kh5xi] {
    transform: rotate(45deg);
}

/* DxGrid (the filter grid) renders inside its own template — reach through it via the
   literal .dashboard-tile-body div that wraps it in this file's markup. */
.dashboard-tile-body[b-vqdr1kh5xi]  .dashboard-custom-filtergrid {
    flex: 1 1 170px;
    min-height: 170px;
}
/* /Components/Dashboard/DashboardTile.razor.rz.scp.css */
/* Owns .dashboard-tile itself (literal here) plus the shared chrome vocabulary used by
   every tile-content component this file's @switch renders (SummaryCardTile,
   DataTableChartTile, DataTableGridTile, CustomKpiClusterChartTile, CustomKpiClusterTableTile, CustomKpiTile) —
   each of those is a separate component, so reaching their caption/grid/chart/footer
   markup needs ::deep, anchored on the literal .dashboard-tile div below that wraps all
   of them. Centralized here (not duplicated per tile component) since it's identical
   across all six. */

.dashboard-tile[b-alfda2n3gt] {
    position: relative;
    border: 1px solid var(--diva-border-light);
    border-radius: 6px;
    padding: 0;
    min-width: 0;
    background: var(--diva-bg-primary);
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: var(--diva-shadow);
    overflow: hidden;
}

.dashboard-tile.dashboard-tile-dragging[b-alfda2n3gt] {
    opacity: 0.4;
}

.dashboard-tile.dashboard-tile-dragover[b-alfda2n3gt] {
    outline: 2px dashed var(--diva-primary);
    outline-offset: -2px;
}

.dashboard-tile.dashboard-tile-dragover-blocked[b-alfda2n3gt] {
    outline: 2px dashed var(--diva-danger);
    outline-offset: -2px;
}

.dashboard-tile-toprow[b-alfda2n3gt] {
    flex-shrink: 0;
    display: flex;
    align-items: stretch;
    background: var(--diva-bg-secondary);
}

.dashboard-tile-draghandle[b-alfda2n3gt] {
    flex: 1;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--diva-text-light);
    font-size: 12px;
    line-height: 1;
    cursor: grab;
    user-select: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.dashboard-tile-draghandle:hover[b-alfda2n3gt] {
    background: var(--diva-border-light);
    color: var(--diva-text-secondary);
}

.dashboard-tile-draghandle:active[b-alfda2n3gt] {
    cursor: grabbing;
}

.dashboard-tile-edit[b-alfda2n3gt] {
    flex-shrink: 0;
    width: 22px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.dashboard-tile-edit:hover[b-alfda2n3gt] {
    opacity: 0.85;
    background: var(--diva-border-light);
}

.dashboard-tile-pin[b-alfda2n3gt] {
    flex-shrink: 0;
    width: 22px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.dashboard-tile-pin:hover[b-alfda2n3gt] {
    opacity: 0.85;
    background: var(--diva-border-light);
}

.dashboard-tile-pin.dashboard-tile-pin-active[b-alfda2n3gt] {
    opacity: 1;
    background: var(--diva-secondary);
}

.dashboard-tile-remove[b-alfda2n3gt] {
    flex-shrink: 0;
    width: 22px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dashboard-tile-remove:hover[b-alfda2n3gt] {
    opacity: 1;
    background: var(--diva-danger-bg);
    color: var(--diva-danger);
}

.dashboard-tile-resize[b-alfda2n3gt] {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 5;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--diva-bg-primary);
    border: 1px solid var(--diva-border-light);
    border-radius: 50%;
    color: var(--diva-text-secondary);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--diva-shadow);
    opacity: 0.55;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.dashboard-tile-resize:hover[b-alfda2n3gt] {
    opacity: 1;
    color: var(--diva-primary);
    transform: scale(1.08);
}

.dashboard-tile[b-alfda2n3gt]  .dashboard-tile-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
}

.dashboard-tile[b-alfda2n3gt]  .dashboard-tile-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: var(--diva-font-heading);
    font-weight: 700;
    background: var(--diva-primary);
    color: #fff;
    padding: 10px 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-tile[b-alfda2n3gt]  .dashboard-grid-host {
    /* A real floor (not 0): the chart below claims whatever this one doesn't. */
    flex: 1 1 150px;
    min-height: 150px;
    overflow: auto;
    padding: 8px;
}

.dashboard-tile[b-alfda2n3gt]  .dashboard-grid-host::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.dashboard-tile[b-alfda2n3gt]  .dashboard-grid-host::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-tile[b-alfda2n3gt]  .dashboard-grid-host::-webkit-scrollbar-thumb {
    background: var(--diva-border-light);
    border-radius: 4px;
}

.dashboard-tile[b-alfda2n3gt]  .dashboard-tile-footer {
    font-family: var(--diva-font-heading);
    font-weight: 600;
    padding: 8px 12px;
    background: var(--diva-bg-secondary);
    border-top: 1px solid var(--diva-border-light);
    font-size: 12px;
    color: var(--diva-text-secondary);
}

.dashboard-tile[b-alfda2n3gt]  .dashboard-chart {
    flex: 1 1 0;
    min-height: 140px;
    width: 100%;
}

.dashboard-tile[b-alfda2n3gt]  .dashboard-chart > .dxbl-chart-with-legend-container,
.dashboard-tile[b-alfda2n3gt]  .dashboard-chart .dxbl-widget-container {
    height: 100%;
    min-height: 0 !important;
}

.dashboard-tile[b-alfda2n3gt]  .dashboard-chart-tooltip {
    margin: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
}
/* /Components/Dashboard/KpiCategoryEditor.razor.rz.scp.css */
.kpi-editor[b-8xl9dzh2m4] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    font-family: var(--diva-font-body);
    font-size: 12px;
    color: var(--diva-text-primary);
}

.kpi-editor-pane[b-8xl9dzh2m4] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kpi-editor-pane-caption[b-8xl9dzh2m4] {
    font-family: var(--diva-font-heading);
    font-weight: 700;
    font-size: 13px;
    color: var(--diva-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.kpi-editor-bucket[b-8xl9dzh2m4] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 40px;
    padding: 6px;
    border: 1px dashed var(--diva-border);
    border-radius: 6px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.kpi-editor-pane > .kpi-editor-bucket[b-8xl9dzh2m4] {
    flex: 1;
    max-height: 380px;
    overflow-y: auto;
}

.kpi-editor-bucket-hover[b-8xl9dzh2m4],
.kpi-editor-bucket-hover > .kpi-editor-bucket[b-8xl9dzh2m4] {
    border-color: var(--diva-primary);
    background: var(--diva-bg-secondary);
}

.kpi-editor-card[b-8xl9dzh2m4] {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 6px 10px;
    border: 1px solid var(--diva-border-light);
    border-left: 3px solid var(--diva-primary-light);
    border-radius: 4px;
    background: var(--diva-bg-primary);
    box-shadow: var(--diva-shadow);
    cursor: grab;
    overflow: hidden;
}

.kpi-editor-card-label[b-8xl9dzh2m4] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kpi-editor-card:active[b-8xl9dzh2m4] {
    cursor: grabbing;
}

.kpi-editor-categories[b-8xl9dzh2m4] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

.kpi-editor-category[b-8xl9dzh2m4] {
    flex-shrink: 0;
    border: 1px solid var(--diva-border-light);
    border-radius: 6px;
    padding: 8px;
    background: var(--diva-bg-primary);
    transition: border-color 0.15s ease;
}

.kpi-editor-category-head[b-8xl9dzh2m4] {
    display: grid;
    grid-template-columns: 14px 18px minmax(0, 1fr) auto 24px;
    gap: 6px;
    align-items: center;
    cursor: grab;
}

.kpi-editor-category-head:has(+ .kpi-editor-bucket)[b-8xl9dzh2m4] {
    margin-bottom: 6px;
}

.kpi-editor-toggle[b-8xl9dzh2m4] {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
    color: var(--diva-text-secondary);
}

.kpi-editor-count[b-8xl9dzh2m4] {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    color: var(--diva-text-secondary);
    padding: 0 4px;
}

.kpi-editor-category-head:active[b-8xl9dzh2m4] {
    cursor: grabbing;
}

.kpi-editor-grip[b-8xl9dzh2m4] {
    color: var(--diva-text-secondary);
    text-align: center;
    line-height: 1;
}

.kpi-editor-new[b-8xl9dzh2m4] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 6px;
    align-items: center;
    margin-bottom: 10px;
}

.kpi-editor-name[b-8xl9dzh2m4] {
    font-family: inherit;
    font-size: inherit;
    font-weight: 600;
    color: inherit;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px 6px;
    min-width: 0;
}

.kpi-editor-name:hover[b-8xl9dzh2m4],
.kpi-editor-name:focus[b-8xl9dzh2m4] {
    background: var(--diva-bg-primary);
    border-color: var(--diva-border);
}

.kpi-editor-new .kpi-editor-name[b-8xl9dzh2m4] {
    font-weight: 400;
    background: var(--diva-bg-primary);
    border-color: var(--diva-border);
}

.kpi-editor-add[b-8xl9dzh2m4],
.kpi-editor-remove[b-8xl9dzh2m4] {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 4px 0;
}

.kpi-editor-add[b-8xl9dzh2m4] {
    background: var(--diva-primary);
    color: var(--diva-text-light);
}

.kpi-editor-add:disabled[b-8xl9dzh2m4] {
    background: var(--diva-border);
    cursor: default;
}

.kpi-editor-remove[b-8xl9dzh2m4] {
    background: transparent;
    color: var(--diva-danger);
}
/* /Components/Dashboard/KpiComparisonChartTile.razor.rz.scp.css */
.dashboard-legend[b-099i0yj0p5] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    align-content: flex-start;
    max-height: 54px;
    overflow-y: auto;
    padding: 4px 2px 0;
    border-bottom: 1px solid var(--diva-border-light);
    margin-bottom: 4px;
    flex: 0 0 auto;
}

.dashboard-legend-row[b-099i0yj0p5] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    padding: 1px 4px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: none;
    font: inherit;
    font-size: 11px;
    color: var(--diva-text-primary);
    cursor: pointer;
}

.dashboard-legend-row:hover[b-099i0yj0p5] {
    border-color: var(--diva-border);
}

.dashboard-legend-row-focused[b-099i0yj0p5] {
    border-color: var(--diva-primary);
    background: var(--diva-bg-primary);
    font-weight: 600;
}

.dashboard-legend-row-dimmed[b-099i0yj0p5] {
    opacity: 0.45;
}

.dashboard-legend-swatch[b-099i0yj0p5] {
    width: 9px;
    height: 9px;
    border-radius: 2px;
    flex: 0 0 auto;
}

.dashboard-legend-label[b-099i0yj0p5] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 190px;
}

.dashboard-legend-id[b-099i0yj0p5] {
    flex: 0 0 auto;
    color: var(--diva-text-light);
    font-variant-numeric: tabular-nums;
}

.dashboard-legend-unit[b-099i0yj0p5] {
    color: var(--diva-text-secondary);
}

.dashboard-comparison-body[b-099i0yj0p5] {
    display: grid;
    grid-template-rows: auto 1fr;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

/* DxChart needs a resolved height, not a flex basis, or it paints over the legend. */
.dashboard-comparison-body[b-099i0yj0p5]  .dashboard-comparison-chart {
    height: 100%;
    min-height: 0;
    width: 100%;
}
/* /Components/Dashboard/KpiDeltaTile.razor.rz.scp.css */
.dashboard-delta[b-cd87wvb5c1] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
    min-height: 0;
    padding: 2px 4px;
}

.dashboard-delta-object[b-cd87wvb5c1] {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 11px;
    color: var(--diva-text-secondary);
}

.dashboard-delta-object-name[b-cd87wvb5c1] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-delta-object-id[b-cd87wvb5c1] {
    flex: 0 0 auto;
    color: var(--diva-text-light);
    font-variant-numeric: tabular-nums;
}

.dashboard-delta-value[b-cd87wvb5c1] {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.dashboard-delta-rows[b-cd87wvb5c1] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dashboard-delta-row[b-cd87wvb5c1] {
    display: grid;
    grid-template-columns: 1.2em auto 1fr;
    align-items: baseline;
    gap: 5px;
    font-size: 12px;
}

.dashboard-delta-change[b-cd87wvb5c1] {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.dashboard-delta-against[b-cd87wvb5c1] {
    color: var(--diva-text-secondary);
    font-size: 11px;
}

.dashboard-delta-improved .dashboard-delta-arrow[b-cd87wvb5c1],
.dashboard-delta-improved .dashboard-delta-change[b-cd87wvb5c1] {
    color: var(--diva-success);
}

.dashboard-delta-worsened .dashboard-delta-arrow[b-cd87wvb5c1],
.dashboard-delta-worsened .dashboard-delta-change[b-cd87wvb5c1] {
    color: var(--diva-danger);
}

.dashboard-delta-neutral .dashboard-delta-arrow[b-cd87wvb5c1],
.dashboard-delta-neutral .dashboard-delta-change[b-cd87wvb5c1] {
    color: var(--diva-text-secondary);
}

.dashboard-delta-sparkline[b-cd87wvb5c1] {
    width: 100%;
    height: 46px;
    margin-top: auto;
    flex: 0 0 auto;
}

.dashboard-delta-sparkline polyline[b-cd87wvb5c1] {
    fill: none;
    stroke: var(--diva-primary);
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}
/* /Components/Dashboard/KpiRankingTile.razor.rz.scp.css */
.dashboard-ranking[b-t5ah35rz0p] {
    position: relative;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding-right: 2px;
}

.dashboard-ranking-row[b-t5ah35rz0p] {
    display: grid;
    grid-template-columns: 1.6em minmax(60px, 26%) 1fr 6.5em;
    align-items: center;
    gap: 6px;
    height: 22px;
    font-size: 11px;
}

.dashboard-ranking-position[b-t5ah35rz0p] {
    color: var(--diva-text-light);
    text-align: right;
}

.dashboard-ranking-label[b-t5ah35rz0p] {
    display: flex;
    align-items: baseline;
    gap: 4px;
    min-width: 0;
}

.dashboard-ranking-name[b-t5ah35rz0p] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-ranking-id[b-t5ah35rz0p] {
    flex: 0 0 auto;
    color: var(--diva-text-light);
    font-variant-numeric: tabular-nums;
}

.dashboard-ranking-track[b-t5ah35rz0p] {
    background: var(--diva-border-light);
    border-radius: 3px;
    height: 11px;
    overflow: hidden;
}

.dashboard-ranking-bar[b-t5ah35rz0p] {
    display: block;
    height: 100%;
    border-radius: 3px;
}

.dashboard-ranking-value[b-t5ah35rz0p] {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.dashboard-rank-best .dashboard-ranking-position[b-t5ah35rz0p]::after {
    content: " ●";
    color: var(--diva-success);
}

.dashboard-rank-worst .dashboard-ranking-position[b-t5ah35rz0p]::after {
    content: " ●";
    color: var(--diva-danger);
}

.dashboard-ranking-average[b-t5ah35rz0p] {
    --track-start: calc(1.6em + 26% + 12px);
    --track-end: calc(100% - 6.5em - 6px);
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--track-start) + ((var(--track-end) - var(--track-start)) * var(--avg) / 100));
    border-left: 1px dashed var(--diva-text-secondary);
    pointer-events: none;
}

.dashboard-ranking-average-label[b-t5ah35rz0p] {
    position: absolute;
    top: -2px;
    left: 2px;
    font-size: 9px;
    color: var(--diva-text-secondary);
}
/* /Components/Dashboard/KpiVisualIcon.razor.rz.scp.css */
.kpi-visual-icon[b-rekgtta4wf] {
    flex-shrink: 0;
    color: var(--diva-text-secondary);
    vertical-align: middle;
}
/* /Components/Dashboard/SummaryCardTile.razor.rz.scp.css */
.dashboard-summary[b-23rsvqb1nd] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 8px 16px;
    margin: 12px 8px 0;
    padding: 8px 0;
    border-top: 1px solid var(--diva-border-light);
}

.dashboard-summary dt[b-23rsvqb1nd] {
    font-family: var(--diva-font-heading);
    font-weight: 600;
    color: var(--diva-text-primary);
    font-size: 13px;
}

.dashboard-summary dd[b-23rsvqb1nd] {
    margin: 0;
    color: var(--diva-text-secondary);
}
/* /Components/Pages/Home.razor.rz.scp.css */
.dashboard-page[b-eozyma7f1n] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: calc(100vh - 60px);
    padding: 16px;
}

.dashboard-banner[b-eozyma7f1n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: var(--diva-primary);
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: var(--diva-shadow);
}

.dashboard-banner-brand[b-eozyma7f1n] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-banner-logo[b-eozyma7f1n] {
    height: 20px;
    width: auto;
    display: block;
}

/* ReleaseVersionBadge renders its own <span> internally — reach through it. */
.dashboard-banner-brand[b-eozyma7f1n]  .dashboard-banner-release {
    font-family: var(--diva-font-heading);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
}

.dashboard-banner-actions[b-eozyma7f1n] {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* DivaLiveClock renders its own <span> internally — reach through it. */
.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-banner-clock {
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

/* CultureSwitcher renders <details>/<summary>/<form> internally — reach through it. */
.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-culture-switcher {
    position: relative;
}

.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-culture-trigger {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
    list-style: none;
}

/* <summary> ships a default disclosure triangle marker in every browser — hide it,
   the flag/globe glyph is the only affordance we want. */
.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-culture-trigger::-webkit-details-marker,
.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-culture-trigger::marker {
    display: none;
    content: "";
}

.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-culture-trigger:hover,
.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-culture-switcher[open] > .dashboard-culture-trigger {
    background: rgba(255, 255, 255, 0.18);
}

.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-culture-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--diva-bg-primary);
    border: 1px solid var(--diva-border-light);
    border-radius: 6px;
    box-shadow: var(--diva-shadow-md);
    padding: 4px;
    min-width: 140px;
    z-index: 20;
    animation: dashboard-menu-open-b-eozyma7f1n 0.15s ease;
}

.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-culture-option {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: none;
    border: none;
    border-radius: 4px;
    padding: 6px 8px;
    font: inherit;
    font-size: 13px;
    color: var(--diva-text-primary);
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-culture-option:hover {
    background: var(--diva-secondary);
}

.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-flag {
    width: 20px;
    height: 14px;
    flex-shrink: 0;
    border-radius: 2px;
    border: 1px solid var(--diva-border-light);
}

.dashboard-banner-actions[b-eozyma7f1n]  .dashboard-globe-icon {
    /* Fallback glyph (no language resolved yet) — a plain icon, not a flag card. */
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 0;
}

.dashboard-banner-user[b-eozyma7f1n] {
    font-family: var(--diva-font-heading);
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    opacity: 0.9;
    white-space: nowrap;
}

.dashboard-banner-logout button[b-eozyma7f1n] {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 4px;
    padding: 4px 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dashboard-banner-logout button:hover[b-eozyma7f1n] {
    background: rgba(255, 255, 255, 0.28);
}

.dashboard-menu-toggle[b-eozyma7f1n] {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.dashboard-menu-toggle:hover[b-eozyma7f1n],
.dashboard-menu-toggle[aria-expanded="true"][b-eozyma7f1n] {
    background: rgba(255, 255, 255, 0.18);
}

.dashboard-reset-icon[b-eozyma7f1n] {
    display: block;
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-menu-panel[b-eozyma7f1n] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
    animation: dashboard-menu-open-b-eozyma7f1n 0.15s ease;
}

.dashboard-menu-panel .dashboard-panel[b-eozyma7f1n] {
    flex: 1;
    min-width: 220px;
}

.dashboard-menu-panel .dashboard-menu-reports[b-eozyma7f1n] {
    flex: 2;
    min-width: 280px;
}

@keyframes dashboard-menu-open-b-eozyma7f1n {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-panel[b-eozyma7f1n] {
    border: 1px solid var(--diva-border-light);
    border-radius: 6px;
    padding: 12px;
    background: var(--diva-bg-primary);
    box-shadow: var(--diva-shadow);
}

.dashboard-panel-caption[b-eozyma7f1n] {
    font-family: var(--diva-font-heading);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
    color: var(--diva-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-panel-caption-actions[b-eozyma7f1n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dashboard-kpi-manage[b-eozyma7f1n] {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    padding: 0;
    color: var(--diva-text-secondary);
}

.dashboard-kpi-manage:hover[b-eozyma7f1n] {
    color: var(--diva-primary);
}

.dashboard-dates[b-eozyma7f1n] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* DxDateEdit renders its own <input> internally — reach through it. */
.dashboard-dates[b-eozyma7f1n]  input {
    flex: 1;
    border: 1px solid var(--diva-border-light);
    border-radius: 4px;
    padding: 8px 10px;
    font: inherit;
    background: var(--diva-bg-primary);
    color: var(--diva-text-primary);
}

.dashboard-dates[b-eozyma7f1n]  input:focus {
    outline: none;
    border-color: var(--diva-primary);
    box-shadow: 0 0 0 3px rgba(0, 160, 159, 0.1);
}

.dashboard-kpi-catalog[b-eozyma7f1n] {
    height: 280px;
    overflow-y: auto;
    border: 1px solid var(--diva-border-light);
    border-radius: 4px;
    background: var(--diva-bg-primary);
    padding: 4px 8px;
}

.dashboard-kpi-catalog[b-eozyma7f1n]::-webkit-scrollbar {
    width: 6px;
}

.dashboard-kpi-catalog[b-eozyma7f1n]::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-kpi-catalog[b-eozyma7f1n]::-webkit-scrollbar-thumb {
    background: var(--diva-border-light);
    border-radius: 4px;
}

.dashboard-kpi-category[b-eozyma7f1n] {
    font-family: var(--diva-font-heading);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--diva-primary);
    padding: 10px 4px 4px;
}

.dashboard-kpi-category:first-child[b-eozyma7f1n] {
    padding-top: 6px;
}

.dashboard-kpi-subcategory[b-eozyma7f1n] {
    font-family: var(--diva-font-heading);
    font-weight: 600;
    font-size: 11px;
    color: var(--diva-text-secondary);
    padding: 8px 4px 2px 12px;
}

.dashboard-kpi-row[b-eozyma7f1n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 4px;
    border-bottom: 1px solid var(--diva-border-light);
    font-size: 13px;
}

.dashboard-kpi-label[b-eozyma7f1n] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.dashboard-kpi-row:last-child[b-eozyma7f1n] {
    border-bottom: none;
}

.dashboard-kpi-add[b-eozyma7f1n] {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--diva-secondary);
    color: var(--diva-primary);
    border: none;
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.dashboard-kpi-add:hover[b-eozyma7f1n] {
    background: var(--diva-primary);
    color: #fff;
}

.dashboard-kpi-empty[b-eozyma7f1n] {
    color: var(--diva-text-light);
    font-style: italic;
    font-size: 13px;
    padding: 16px 4px;
    text-align: center;
}

.dashboard-kpi-disabled[b-eozyma7f1n] {
    color: var(--diva-text-light);
    opacity: 0.6;
}

.dashboard-subbar[b-eozyma7f1n] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

.dashboard-welcome[b-eozyma7f1n] {
    font-family: var(--diva-font-heading);
    font-weight: 600;
    font-size: 15px;
    color: var(--diva-text-primary);
}

.dashboard-subbar-actions[b-eozyma7f1n] {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ObjectStructureLookup's DxButton and this file's own DxButtons all render their real
   <button> markup inside a child component's own template — reach through both. */
.dashboard-subbar-actions[b-eozyma7f1n]  .dashboard-pill-button {
    border-radius: 20px !important;
    padding: 6px 18px !important;
}

.dashboard-subbar-actions[b-eozyma7f1n]  .dashboard-pill-button-active {
    background: var(--diva-success) !important;
    border-color: var(--diva-success) !important;
    color: #fff !important;
}

.dashboard-content[b-eozyma7f1n] {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}

.dashboard-content[b-eozyma7f1n]::-webkit-scrollbar {
    width: 8px;
}

.dashboard-content[b-eozyma7f1n]::-webkit-scrollbar-track {
    background: transparent;
}

.dashboard-content[b-eozyma7f1n]::-webkit-scrollbar-thumb {
    background: var(--diva-border-light);
    border-radius: 4px;
}

.dashboard-content[b-eozyma7f1n]::-webkit-scrollbar-thumb:hover {
    background: var(--diva-border);
}

.dashboard-tiles[b-eozyma7f1n] {
    display: grid;
    grid-auto-flow: dense;
    /* Fixed (not minmax(...,auto)): a tile's height is only its row span times this —
       toggling optional content inside one tile must never inflate the whole row and
       drag every other tile in it along. */
    grid-auto-rows: var(--dashboard-tile-min-height, 340px);
    gap: 16px;
    /* auto-fill (not auto-fit): keeps empty tracks instead of collapsing them, so a
       section with just one or two tiles (e.g. a lone pinned KPI) keeps its natural
       size instead of stretching to fill the whole row. */
    grid-template-columns: repeat(auto-fill, minmax(min(var(--dashboard-tile-min-width, 400px), 100%), 1fr));
}

.dashboard-tiles + .dashboard-section-label[b-eozyma7f1n] {
    margin-top: 20px;
}

.dashboard-section-label[b-eozyma7f1n] {
    font-family: var(--diva-font-heading);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--diva-text-secondary);
    margin: 0 0 8px;
}

.dashboard-popup-buttons[b-eozyma7f1n] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    border-top: 1px solid var(--diva-border-light);
}

.dashboard-popup-buttons[b-eozyma7f1n]  button {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.dashboard-popup-buttons[b-eozyma7f1n]  button:not(.dxbl-btn-primary) {
    border: 1px solid var(--diva-border);
    background: var(--diva-bg-primary);
    color: var(--diva-text-primary);
}

.dashboard-popup-buttons[b-eozyma7f1n]  button:not(.dxbl-btn-primary):hover {
    background: var(--diva-bg-secondary);
}
