﻿.approval-history-trigger {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    cursor: help;
}

.approval-history-trigger:focus-visible {
    outline: 2px solid #07519C;
    outline-offset: 3px;
    border-radius: 999px;
}

.approval-history-tooltip.e-tooltip-wrap {
    --approval-history-navy: #102848;
    --approval-history-blue: #1f4f83;
    --approval-history-paper: #f5f8fc;
    --approval-history-surface: #ffffff;
    --approval-history-line: #d7e2ee;
    --approval-history-line-strong: #bfd0e2;
    --approval-history-ink: #17314d;
    --approval-history-ink-soft: #667a90;
    --approval-history-panel: #ffffff;
    max-width: 396px;
    border: 1px solid rgba(16, 40, 72, 0.14);
    border-radius: 14px;
    background: var(--approval-history-surface);
    box-shadow: 0 18px 36px rgba(10, 31, 59, 0.18);
    color: var(--approval-history-ink);
    overflow: hidden;
}

.approval-history-tooltip.e-tooltip-wrap .e-tip-content {
    padding: 0;
    background: transparent;
}

.approval-history-tooltip.e-tooltip-wrap .e-tip-close,
.approval-history-tooltip.e-tooltip-wrap .e-tooltip-close {
    display: none;
}

.approval-history-card {
    min-width: 332px;
    max-width: 396px;
    padding: 16px;
    background: linear-gradient(180deg, #f9fbfe 0%, var(--approval-history-paper) 100%);
}

.approval-history-card__tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: -4px 0 16px;
}

.approval-history-card__tab {
    padding: 8px 10px;
    border: 1px solid var(--approval-history-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--approval-history-blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.approval-history-card__tab-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.approval-history-card__tab-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #b42318;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

.approval-history-card__tab:hover {
    border-color: var(--approval-history-line-strong);
    background: #ffffff;
}

.approval-history-card__tab--active {
    border-color: rgba(16, 40, 72, 0.16);
    background: linear-gradient(180deg, #ffffff 0%, #edf4fb 100%);
    color: var(--approval-history-navy);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.approval-history-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: -16px -16px 16px;
    padding: 16px 18px 14px;
    background: linear-gradient(180deg, #183a64 0%, #102848 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: grab;
    user-select: none;
}

.approval-history-card__header--dragging {
    cursor: grabbing;
}

.approval-history-card__header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.approval-history-card__header-copy {
    min-width: 0;
}

.approval-history-card__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.approval-history-card__record {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: rgba(247, 251, 255, 0.88);
}

.approval-history-card__record-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.approval-history-card__record-value {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.approval-history-card__count {
    flex-shrink: 0;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 600;
    color: #f7fbff;
    white-space: nowrap;
}

.approval-history-card__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.approval-history-card__close:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.approval-history-card__close:focus-visible {
    outline: none;
    border-color: rgba(255, 255, 255, 0.34);
    box-shadow: 0 0 0 3px rgba(227, 237, 248, 0.16);
}

.approval-history-card__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.approval-history-card__metric {
    padding: 11px 12px;
    border: 1px solid var(--approval-history-line);
    border-radius: 10px;
    background: var(--approval-history-panel);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.approval-history-card__metric-label {
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--approval-history-ink-soft);
}

.approval-history-card__metric strong {
    font-size: 15px;
    color: var(--approval-history-ink);
}

.approval-history-card__section {
    margin-bottom: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--approval-history-line);
}

.approval-history-card__section-title {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--approval-history-blue);
}

.approval-history-card__section-title--spaced {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--approval-history-line);
}

.approval-history-card__timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.approval-history-card__item {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.approval-history-card__item:not(.approval-history-card__item--last)::after {
    content: "";
    position: absolute;
    top: 40px;
    left: 18px;
    width: 2px;
    height: calc(100% - 22px);
    background: linear-gradient(180deg, var(--approval-history-line-strong), rgba(191, 208, 226, 0));
}

.approval-history-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--approval-history-line-strong);
    border-radius: 50%;
    background: linear-gradient(180deg, #ffffff 0%, #ebf1f7 100%);
    color: var(--approval-history-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.approval-history-card__avatar--pending {
    background: linear-gradient(180deg, #f8fbff 0%, #edf3f8 100%);
}

.approval-history-card__body {
    min-width: 0;
    padding-top: 2px;
}

.approval-history-card__item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 4px;
}

.approval-history-card__employee {
    min-width: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--approval-history-ink);
    word-break: break-word;
}

.approval-history-card__date {
    font-size: 12px;
    line-height: 1.4;
    color: var(--approval-history-ink-soft);
}

.approval-history-card__meta {
    font-size: 12px;
    line-height: 1.45;
    color: var(--approval-history-ink-soft);
}

.approval-history-card__reason {
    margin-top: 8px;
    padding: 10px 11px;
    border: 1px solid var(--approval-history-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    line-height: 1.5;
    color: var(--approval-history-ink);
    white-space: pre-wrap;
    word-break: break-word;
}

.approval-history-card__status {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.approval-history-card__status--approved {
    background: #e7f2e9;
    border-color: #c9ddcd;
    color: #2f6640;
}

.approval-history-card__status--rejected {
    background: #faecec;
    border-color: #ebc8c8;
    color: #8a4040;
}

.approval-history-card__status--cancelled {
    background: #faf1e5;
    border-color: #e8d2b7;
    color: #88623b;
}

.approval-history-card__status--pending {
    background: #edf3f8;
    border-color: #d0dce7;
    color: #2e4a69;
}

.approval-history-card__status--sent {
    background: #e8f1fb;
    border-color: #c8d8ea;
    color: #31567b;
}

.approval-history-card__status--waiting {
    background: #f5f7fa;
    border-color: #d9e1ea;
    color: #6f8194;
}

.approval-history-card__loading,
.approval-history-card__empty {
    padding: 4px 2px 2px;
}

.approval-history-card__loading-text,
.approval-history-card__empty-copy {
    font-size: 12px;
    line-height: 1.5;
    color: var(--approval-history-ink-soft);
}

.approval-history-card__empty-title {
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 700;
    color: var(--approval-history-ink);
}

.approval-history-card__skeleton {
    height: 12px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(231, 238, 246, 0.55), rgba(198, 212, 227, 0.9), rgba(231, 238, 246, 0.55));
    background-size: 200% 100%;
    animation: approval-history-pulse 1.4s ease-in-out infinite;
}

.approval-history-card__skeleton--wide {
    width: 72%;
}

.approval-action-dialog .e-dlg-content {
    padding-top: 12px;
}

.approval-action-dialog__message {
    margin-bottom: 14px;
    color: #42576e;
    font-size: 13px;
    line-height: 1.5;
}

.approval-action-dialog__validation {
    margin-top: 10px;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}

.approval-workflow-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.approval-workflow-cell__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.approval-workflow-cell__pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
}

.approval-workflow-cell__pill--unread {
    border: 1px solid #fecdd3;
    background: #fff1f2;
    color: #9f1239;
}

.approval-workflow-cell__pill--required {
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
}

@keyframes approval-history-pulse {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
/* --- A4 Page Setup --- top, right, bottom, left */
@page {
    size: A4;
    margin: 10mm 5mm 10mm 5mm; 
}

/* wrapper for your content pages */
.a4-page-container {
    width: 210mm;
    max-width: 210mm;
    min-width: 210mm;
    height:100%;
    padding: 0;
    margin: 0 auto;
    background: white !important;
    background-color: white !important;
    box-shadow: none !important;
    border: none !important;
    page-break-after: always;
}

@page {
    @bottom-center {
        content: "www.shoppingshop.com";
        font-size: 14px;
        color: dodgerblue;
    }
}
.e-dlg-overlay {
    backdrop-filter: unset !important;
}

.e-checkbox-wrapper.e-checkbox-disabled .e-frame.e-check, .e-css.e-checkbox-wrapper.e-checkbox-disabled .e-frame.e-check {
    background-color: rgb(188 152 152 / 0%);
    border-color: #107c10;
    color: #107c10;
}
/* Scoped Sidebar and Toolbar Styles - MainLayoutSF */
#sidebar-wrapper .e-toolbar.defaultToolbar .e-toolbar-items {
    background: #07519C !important;
}

#sidebar-wrapper .e-toolbar.defaultToolbar {
    background-color: #07519C !important;
}
#sidebar-wrapper .e-treeview {
    border: 0;
    
}
#sidebar-wrapper .e-sidebar.e-left {
    top: 40px !important;
    background-color: #07519C;
}

/* Sidebar TreeView Styles - only apply within default-sidebar */
.default-sidebar .e-treeview .e-list-text {
    color: #fff !important;
    font-size: 14px;
}
.default-sidebar .e-treeview .e-list-item.e-hover > .e-fullrow, .e-treeview .e-list-item.e-node-focus > .e-fullrow {
    background-color: #f0eded85 !important;
    border-color: #f0eded85 !important;
}


#sidebar-wrapper .default-sidebar .e-treeview .e-list-item.e-active > .e-text-content .e-icon-collapsible,
#sidebar-wrapper .default-sidebar .e-treeview .e-list-item.e-active > .e-text-content .e-icon-expandable {
    color: #fff !important;
}
#sidebar-wrapper .default-sidebar .e-treeview .e-icon-collapsible, #sidebar-wrapper .default-sidebar .e-treeview .e-icon-expandable {
    color: #fff !important;
}

default-sidebar .e-treeview .e-list-item.e-hover > .e-fullrow,
default-sidebar .e-treeview .e-list-item.e-node-focus > .e-fullrow {
    background-color: #f0eded85 !important;
    color: #f0eded85 !important;
}

/*.default-sidebar .e-treeview .e-icon-collapsible, .e-treeview .e-icon-expandable {
    color: #ffffff !important;
}*/

.default-sidebar .e-treeview .e-list-item.e-active > .e-fullrow {
    background-color: #f0eded85 !important;
}

.default-sidebar .e-treeview .e-list-item.e-active.e-hover > .e-fullrow,
.default-sidebar .e-treeview .e-list-item.e-active.e-node-focus > .e-fullrow {
    background-color: #f0eded85 !important;
    border-color: #f0eded85 !important;
    color: #f0eded85 !important;
}

/*.e-treegrid .e-treecolumn-container .e-treecell-child {
    width: 20px;
    display: inline-block;
}*/

/* Global Scrollbar Styles for Sidebar */
.e-sidebar-context::-webkit-scrollbar,
.e-sidebar::-webkit-scrollbar,
.default-sidebar::-webkit-scrollbar,
.default-sidebar *::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}

.e-sidebar-context::-webkit-scrollbar-track,
.e-sidebar::-webkit-scrollbar-track,
.default-sidebar::-webkit-scrollbar-track,
.default-sidebar *::-webkit-scrollbar-track {
    background: transparent !important;
}

.e-sidebar-context::-webkit-scrollbar-thumb,
.e-sidebar::-webkit-scrollbar-thumb,
.default-sidebar::-webkit-scrollbar-thumb,
.default-sidebar *::-webkit-scrollbar-thumb {
    background-color: rgb(255 255 255 / 40%)!important;
    border-radius: 4px !important;
}

.e-sidebar-context::-webkit-scrollbar-thumb:hover,
.e-sidebar::-webkit-scrollbar-thumb:hover,
.default-sidebar::-webkit-scrollbar-thumb:hover,
.default-sidebar *::-webkit-scrollbar-thumb:hover {
    background-color: rgba(7, 81, 156, 0.6) !important;
}



/*.e-control, [class^="e-"] *:not([class*="e-icon"]) {
    font-size: 13px !important;
}
.default-sidebar .e-treeview .e-list-text {
    color: #fff !important;
    font-size: 13px;
}*/


/* Firefox scrollbar */
.e-sidebar-context,
.e-sidebar,
.default-sidebar,
.default-sidebar * {
    scrollbar-width: thin !important;
    scrollbar-color: rgb(255 255 255 / 40%)transparent !important;
    scrollbar-gutter: stable !important;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

:root {
    font-size: var(--rz-root-font-size);
}

body {
    font-family: var(--rz-text-font-family);
    color: var(--rz-text-color);
    font-size: var(--rz-body-font-size);
    line-height: var(--rz-body-line-height);
    background-color: var(--rz-body-background-color);
}

.rz-body {
    --rz-body-padding: 0;
}

a {
    color: var(--rz-link-color);
}

a:hover,
a:focus {
    color: var(--rz-link-hover-color);
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEggMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDgJTYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}
.man-grid-cell {
/*    --rz-grid-cell-font-size: x-small !important;
*/    font-weight: 500;
    /*--rz-input-font-size: x-small !important;*/
    
}

.man-grid-cell-edit {
    /*    --rz-grid-cell-font-size: x-small !important;
*/ font-weight: 700 !important;
    /*--rz-input-font-size: x-small !important;*/
}
.man-grid-cell-header-secondary {
    --rz-grid-header-font-weight: 400 !important;
    white-space: pre-wrap !important;
}
.man-grid-cell-header-primary {
    --rz-grid-header-font-weight: 700 !important;
}

.man-grid-cell-hier {
    background-color: #D6D9EC !important;
    --rz-grid-frozen-cell-background-color: #D6D9EC !important;
    font-weight: 500 !important;
}

.man-grid-cell-total {
    font-weight: 700 !important;
    background-color: #E8E8E8 !important;
}

.sizechart-grid-cell {
    --rz-grid-header-font-weight: 700 !important;
    --rz-grid-header-color: red !important;
}
.man-composite-column-header1 {
    background-color: #E5F3FC !important;
    color: #000 !important;
}
.man-composite-column-header2 {
    background-color: #FFE5B4 !important;
    color: #333 !important;
}

.cssCenterScreen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
}

.cssCenterScreen1 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99999;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CUSTOM SIDEBAR MENU  –  global styles (not scoped)
   Base: #07519C blue  |  Accent: --csm-accent (#ff451a)  |  Text: white
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Container ────────────────────────────────────────────────────────────── */
.csm-container {
    /* Accent color token — override via inline style or parent CSS to recolor
       all accent elements (module pills, active indicators, flyout titles)   */
    --csm-accent:        #ff451a;
    --csm-accent-90:     color-mix(in srgb, var(--csm-accent) 90%, transparent);
    --csm-accent-65:     color-mix(in srgb, var(--csm-accent) 65%, transparent);
    --csm-accent-55:     color-mix(in srgb, var(--csm-accent) 55%, transparent);
    --csm-accent-22:     color-mix(in srgb, var(--csm-accent) 22%, transparent);
    --csm-accent-15:     color-mix(in srgb, var(--csm-accent) 15%, transparent);
    display: flex;
    flex-direction: column;
    padding: 2px 0 16px;
    -webkit-user-select: none;
    user-select: none;
}

/* ── MODULE TITLE  –  subtle section label ────────────────────────────────── */
.csm-module-title {
    display: flex;
    align-items: center;
    gap: 7px;
    /* left/right match the search box wrapper padding (10px each side) */
    margin: 22px 10px 4px 10px;
    padding: 0;
    background: transparent;
    border-left: none;
    box-shadow: none;
    font-size: 0.60rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 20px);
}

/* short accent tick before the label */
.csm-module-title::before {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 3px;
    height: 12px;
    border-radius: 2px;
    background: var(--csm-accent);
    opacity: 0.85;
}

/* hairline rule that fills the remaining space after the text */
.csm-module-title::after {
    content: '';
    display: block;
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.10);
    margin-left: 4px;
}

/* collapsed: just the accent tick spanning full width, no text */
.csm-collapsed .csm-module-title {
    margin: 14px 10px 4px 10px;
    max-width: calc(100% - 20px);
    color: transparent !important;
    letter-spacing: 0;
    overflow: hidden;
}

.csm-collapsed .csm-module-title::before {
    width: calc(100% - 0px);
    height: 2px;
    border-radius: 2px;
    opacity: 0.50;
}

.csm-collapsed .csm-module-title::after {
    display: none;
}

/* ── NODE WRAPPER ─────────────────────────────────────────────────────────── */
.csm-node {
    position: relative;
}

/* collapsed nodes must not clip flyout panels */
.csm-collapsed .csm-node,
.csm-collapsed .csm-node * {
    overflow: visible;
}

/* ── ITEM ROW  (leaf div + accordion <summary>) ───────────────────────────── */
.csm-item-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    padding: 8px 12px 8px 10px !important;
    margin: 1px 6px 1px 16px;   /* left 16px: visually nested under module title */
    cursor: pointer;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 0.875rem !important;
    font-weight: 400;
    line-height: 1.4;
    transition: background 0.15s ease, color 0.15s ease;
    list-style: none !important;
    outline: none;
    position: relative;
    text-decoration: none !important;
}

/* left accent pipe — placeholder on all rows, activated selectively below */
.csm-item-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18%;
    height: 64%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: transparent;
    transition: background 0.15s ease;
    display: none; /* off by default; enabled only for depth-1 children below */
}

/* depth-1 children (direct submenu items): pipe ON */
.csm-children > .csm-children-inner > .csm-node > .csm-item-row::before {
    display: block;
}

/* grandchildren and deeper: pipe OFF */
.csm-children .csm-children .csm-item-row::before {
    display: none !important;
}

.csm-item-row:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    color: #fff !important;
}

.csm-item-row:hover::before {
    background: rgba(255, 255, 255, 0.45);
}

/* active leaf */
.csm-item-row.csm-active {
    background: rgba(255, 255, 255, 0.20) !important;
    color: #fff !important;
    font-weight: 600;
}

.csm-item-row.csm-active::before {
    background: var(--csm-accent);
}

/* open parent */
.csm-item-row.csm-ancestor-active {
    color: #fff !important;
    font-weight: 500;
}

.csm-item-row.csm-ancestor-active::before {
    background: var(--csm-accent-65);
}

/* ── ICON (legacy class — kept for compatibility, SVGs used instead) ──────── */
.csm-item-icon {
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.80;
    transition: opacity 0.15s ease;
    color: inherit;
    display: none; /* hidden: replaced by .csm-svg-icon */
}

/* ── LABEL ────────────────────────────────────────────────────────────────── */
.csm-item-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: inherit;
}

/* ── ACCORDION  –  Blazor div-based, no native <details> ──────────────── */
.csm-accordion {
    /* grouping wrapper only — no extra layout */
}

/* ── CHILDREN  –  indented connector + expand/collapse animation ───────── */
.csm-children {
    display: grid;
    grid-template-rows: 0fr;    /* collapsed: zero height */
    transition: grid-template-rows 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-left: 26px;
    border-left: 2px solid rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.csm-children-open {
    grid-template-rows: 1fr;    /* open: full natural height */
}

/* required inner wrapper: min-height:0 allows grid to compress to 0fr */
.csm-children > .csm-children-inner {
    min-height: 0;
    overflow: hidden;
}

/* child item rows (depth-1) */
.csm-children > .csm-children-inner > .csm-node > .csm-item-row {
    padding-left: 10px !important;
    font-size: 0.855rem !important;
}

/* grandchildren (depth-2) */
.csm-children .csm-children {
    margin-left: 16px;
    border-left: 2px solid rgba(255, 255, 255, 0.10);
}

.csm-children .csm-children > .csm-children-inner > .csm-node > .csm-item-row {
    font-size: 0.835rem !important;
}

/* ── COLLAPSED: icon-only buttons ────────────────────────────────────────── */
.csm-icon-btn {
display: flex;
align-items: center;
justify-content: center;
width: 42px;
height: 40px;
margin: 2px 0 2px 8px;
border-radius: 10px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.82) !important;
    transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
    position: relative;
    overflow: visible !important;
    /* must not create a new stacking context that clips the flyout */
    isolation: auto;
}

.csm-icon-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
    /* NOTE: no transform here — transform creates a stacking context
       that would clip the absolutely-positioned flyout child */
}

.csm-icon-btn.csm-active-icon {
    background: var(--csm-accent-22);
    color: var(--csm-accent) !important;
}

.csm-icon-btn .csm-item-icon {
    font-size: 1.05rem;
    opacity: 1;
    width: auto;
}

/* ── FLYOUT (collapsed — Blazor state-driven, no CSS :hover) ─────────────── */
.csm-flyout-host {
    position: relative;
    overflow: visible !important;
}

/* icon button highlight when flyout is open */
.csm-flyout-host.csm-flyout-open {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
}

.csm-flyout {
    /* shown/hidden by Blazor rendering — display:block when rendered */
    position: fixed;
    left: calc(var(--csm-flyout-left, 48px) + 8px);
    top: var(--csm-flyout-top, 0px);
    max-height: calc(100vh - var(--csm-flyout-top, 0px) - 12px);
    min-width: 220px;
    background: #0a4080;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.50), 0 2px 8px rgba(0,0,0,0.28);
    z-index: 99999;
    padding: 6px 0;
    white-space: nowrap;
    animation: csmFlyIn 0.13s ease;
    overflow-y: auto !important;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.55) transparent;
}

.csm-flyout::-webkit-scrollbar {
    width: 5px;
}

.csm-flyout::-webkit-scrollbar-track {
    background: transparent;
}

.csm-flyout::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.55);
    border-radius: 4px;
}

.csm-flyout::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.80);
}

@keyframes csmFlyIn {
    from { opacity: 0; transform: translateX(-6px); }
    to   { opacity: 1; transform: translateX(0);    }
}

/* arrow pointer from flyout back to icon */
.csm-flyout::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 14px;
    width: 9px;
    height: 9px;
    background: #0a4080;
    border-left: 1px solid rgba(255,255,255,0.16);
    border-bottom: 1px solid rgba(255,255,255,0.16);
    transform: rotate(45deg);
}

.csm-flyout-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 9px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--csm-accent) !important;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    margin-bottom: 4px;
}

.csm-flyout .csm-item-row {
    border-radius: 6px;
    margin: 1px 6px;
    padding: 7px 12px !important;
    font-size: 0.855rem !important;
}

.csm-flyout .csm-children {
    margin-left: 14px;
    border-left: 2px solid rgba(255,255,255,0.12);
}

.csm-flyout .csm-children > .csm-children-inner > .csm-node > .csm-item-row {
    padding-left: 10px !important;
}

/* leaf tooltip flyout */
.csm-flyout.csm-flyout-label {
    min-width: unset;
    padding: 6px 14px !important;
    font-size: 0.855rem !important;
    font-weight: 500;
    color: #fff !important;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
}

.csm-flyout.csm-flyout-label::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
/* ── SVG ICONS (img tags loading .svg files from SidebarLine.Icon path) ──── */
.csm-svg-icon {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    /* invert dark SVGs to white so they show on the blue sidebar */
    filter: brightness(0) invert(1);
    opacity: 0.80;
    transition: opacity 0.15s ease;
    object-fit: contain;
}

.csm-item-row:hover .csm-svg-icon,
.csm-item-row.csm-active .csm-svg-icon,
.csm-item-row.csm-ancestor-active .csm-svg-icon {
    opacity: 1;
}

.csm-icon-btn .csm-svg-icon {
    opacity: 0.86;
}

.csm-icon-btn:hover .csm-svg-icon,
.csm-icon-btn.csm-active-icon .csm-svg-icon,
.csm-icon-btn.csm-flyout-open .csm-svg-icon {
    opacity: 1;
}

.csm-flyout-title .csm-svg-icon {
    opacity: 0.90;
    flex-shrink: 0;
}

/* ── CHEVRON SVG (replaces e-icons class) ─────────────────────────────────── */
.csm-chevron {
    flex-shrink: 0;
    opacity: 0.50;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.15s ease;
    margin-left: auto;
    color: inherit !important;
}

.csm-item-row:hover .csm-chevron {
    opacity: 0.85;
}

.csm-accordion-open > .csm-item-row .csm-chevron {
    transform: rotate(90deg);
    opacity: 0.90;
}

/* ── END CUSTOM SIDEBAR MENU ─────────────────────────────────────────────── */

/* Additional CSS for enhanced hover states */
.draggable-resizable.dragging .drag-handle,
.draggable-resizable.resizing .resize-handle,
.draggable-resizable.dragging .resize-handle,
.draggable-resizable.resizing .drag-handle {
    opacity: 1 !important;
}

.draggable-resizable.hovering .drag-handle,
.draggable-resizable.hovering .resize-handle {
    opacity: 1 !important;
}

/* Smooth transitions for better UX */
.draggable-resizable * {
    transition: opacity 0.2s ease;
}


@keyframes custom-rolling {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.custom-loading {
    border: 2px solid green;
    border-style: dotted;
    border-radius: 50%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    height: 16px;
    width: 16px;
}

.custom-loading {
    -webkit-animation: custom-rolling 1.3s linear infinite;
    animation: custom-rolling 1.3s linear infinite;
}

/* ========================================================================
   DASHBOARD CAROUSEL – Big Vibrant Arrows & Indicators
   ======================================================================== */

.e-carousel.r20-carousel {
    border-radius: 14px;
    background: transparent;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.e-carousel.r20-carousel .e-carousel-items {
    height: 100%;
}

.e-carousel.r20-carousel .e-carousel-item {
    padding: 0;
    height: 100%;
}

/* ── Navigation arrows inside the carousel ── */

.e-carousel.r20-carousel .e-carousel-navigators {
    padding: 0 4px !important;
}

.e-carousel.r20-carousel .e-carousel-navigators .e-previous,
.e-carousel.r20-carousel .e-carousel-navigators .e-next {
    width: 28px !important;
    height: 28px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.e-carousel.r20-carousel .e-carousel-navigators .e-previous .e-btn,
.e-carousel.r20-carousel .e-carousel-navigators .e-next .e-btn {
    width: 28px !important;
    height: 28px !important;
    background: linear-gradient(135deg, #0052b5, #1a7aff) !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(0, 75, 155, 0.5), 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.e-carousel.r20-carousel .e-carousel-navigators .e-previous .e-btn:hover,
.e-carousel.r20-carousel .e-carousel-navigators .e-next .e-btn:hover {
    transform: scale(1.18) !important;
    box-shadow: 0 4px 14px rgba(0, 82, 181, 0.65), 0 2px 4px rgba(0, 0, 0, 0.25) !important;
    background: linear-gradient(135deg, #0066e0, #3d94ff) !important;
}

.e-carousel.r20-carousel .e-carousel-navigators .e-previous .e-btn-icon,
.e-carousel.r20-carousel .e-carousel-navigators .e-next .e-btn-icon {
    font-size: 14px !important;
    color: #ffffff !important;
    font-weight: 900 !important;
}

/* ── Indicators at the bottom inside the carousel ── */

.e-carousel.r20-carousel .e-carousel-indicators {
    position: absolute !important;
    bottom: 2px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10;
    padding: 0 !important;
}

.e-carousel.r20-carousel .e-carousel-indicators .e-indicator-bars .e-indicator-bar .e-indicator,
.e-carousel.r20-carousel .e-carousel-indicators .e-indicator-bar .e-indicator {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: #c3cfdb !important;
    margin: 0 4px;
}

.e-carousel.r20-carousel .e-carousel-indicators .e-indicator-bars .e-indicator-bar.e-active .e-indicator,
.e-carousel.r20-carousel .e-carousel-indicators .e-indicator-bar.e-active .e-indicator {
    background: #004b9b !important;
    box-shadow: 0 0 8px rgba(0, 75, 155, 0.6);
}

/* ══════════════════════════════════════════════════════════════════════════════
   KINETIC FLOW — Global dark-mode overrides
   These MUST be global (not scoped CSS) to penetrate multiple Blazor
   component boundaries: Dashboard → DSHB_Retail → DSHB_Retail_10/20/30
   ══════════════════════════════════════════════════════════════════════════════ */

/* ─── Retail root container ─── */
.dashboard-shell--kinetic-flow .dashboard-retail {
    --retail-ink: #e6edf3;
    --retail-muted: #8b949e;
    --retail-border: rgba(48, 54, 61, 0.8);
    --retail-border-strong: rgba(56, 63, 71, 0.9);
    --retail-panel: rgba(22, 27, 34, 0.92);
    --retail-panel-soft: rgba(22, 27, 34, 0.85);
    --retail-shell: rgba(13, 17, 23, 0.8);
    --retail-shadow: 0 2px 6px rgba(0, 0, 0, 0.25), 0 12px 36px rgba(0, 0, 0, 0.35);
    color: #e6edf3;
}

/* Service card */
.dashboard-shell--kinetic-flow .dashboard-retail__service-card {
    background: rgba(22, 27, 34, 0.92) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    color: #e6edf3;
}
.dashboard-shell--kinetic-flow .dashboard-retail__service-tag {
    background: rgba(88, 166, 255, 0.15) !important;
    color: #58a6ff !important;
}

/* ─── Retail inner tabs ─── */
.dashboard-shell--kinetic-flow .dashboard-retail__tabs .e-tab-header {
    background: transparent !important;
}
.dashboard-shell--kinetic-flow .dashboard-retail__tabs .e-toolbar-item .e-tab-text {
    color: #8b949e !important;
}
.dashboard-shell--kinetic-flow .dashboard-retail__tabs .e-toolbar-item.e-active .e-tab-text {
    color: #58a6ff !important;
}
.dashboard-shell--kinetic-flow .dashboard-retail__tabs .e-content .e-item {
    background: transparent !important;
}
.dashboard-shell--kinetic-flow .dashboard-retail__tab-panel {
    background: transparent !important;
    color: #e6edf3;
}

/* ─── Filter shell (DSHB_Retail_10) ─── */
.dashboard-shell--kinetic-flow .retail-filter-shell {
    background: rgba(13, 17, 23, 0.6) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
}
.dashboard-shell--kinetic-flow .retail-header-loading {
    background: rgba(13, 17, 23, 0.8) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .retail-filter-field label {
    color: #8b949e !important;
}
.dashboard-shell--kinetic-flow .retail-period-group {
    background: rgba(22, 27, 34, 0.85) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    box-shadow: none !important;
}

/* Dropdowns */
.dashboard-shell--kinetic-flow .retail-select.e-dropdownlist,
.dashboard-shell--kinetic-flow .retail-select.e-dropdownlist.e-input-group,
.dashboard-shell--kinetic-flow .retail-select.e-dropdownlist.e-ddl.e-input-group {
    background: rgba(22, 27, 34, 0.85) !important;
    background-color: rgba(22, 27, 34, 0.85) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    box-shadow: none !important;
}
.dashboard-shell--kinetic-flow .retail-select.e-dropdownlist input.e-input,
.dashboard-shell--kinetic-flow .retail-select.e-dropdownlist .e-input-value,
.dashboard-shell--kinetic-flow .retail-select.e-dropdownlist .e-input {
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .retail-select.e-dropdownlist .e-input-group-icon,
.dashboard-shell--kinetic-flow .retail-select.e-dropdownlist .e-ddl-icon {
    color: #58a6ff !important;
}

/* Radio buttons */
.dashboard-shell--kinetic-flow .retail-radio.e-radio-wrapper .e-radio + label,
.dashboard-shell--kinetic-flow .retail-radio.e-radio-wrapper .e-label {
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .retail-radio.e-radio-wrapper:has(.e-radio:checked) {
    background: rgba(88, 166, 255, 0.12) !important;
    border-color: rgba(88, 166, 255, 0.3) !important;
    box-shadow: none !important;
}
.dashboard-shell--kinetic-flow .retail-radio.e-radio-wrapper .e-radio:checked + .e-ripple-container + .e-label,
.dashboard-shell--kinetic-flow .retail-radio.e-radio-wrapper .e-radio:checked + .e-label {
    color: #58a6ff !important;
}

/* ─── KPI cards (DSHB_Retail_10) ─── */
.dashboard-shell--kinetic-flow .retail-kpi-card {
    background: rgba(22, 27, 34, 0.94) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .retail-kpi-card h4 {
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .retail-kpi-label {
    color: #8b949e !important;
}
.dashboard-shell--kinetic-flow .retail-kpi-line {
    color: #8b949e !important;
}
.dashboard-shell--kinetic-flow .retail-kpi-line--highlight {
    color: #e6edf3 !important;
}

/* ─── r20-panel (DSHB_Retail_20 slide panels) ─── */
.dashboard-shell--kinetic-flow .r20-panel {
    background: rgba(22, 27, 34, 0.92) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .r20-panel-header {
    background: rgba(13, 17, 23, 0.9) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .r20-panel-body {
    background: rgba(22, 27, 34, 0.92) !important;
    color: #e6edf3 !important;
}

/* Monthly & Store totals bars */
.dashboard-shell--kinetic-flow .r20-monthly-totals-bar {
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.7), rgba(22, 27, 34, 0.8)) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .r20-store-totals-bar {
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.7), rgba(22, 27, 34, 0.8)) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    color: #e6edf3 !important;
}

/* ─── Mini KPI cards (DSHB_Retail_20) ─── */
.dashboard-shell--kinetic-flow .retail-mini-kpi {
    background: rgba(22, 27, 34, 0.92) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .retail-mini-kpi__label {
    color: #8b949e !important;
}
.dashboard-shell--kinetic-flow .retail-mini-kpi__primary {
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .retail-mini-kpi__secondary {
    color: #8b949e !important;
}

/* ─── control-section panels (retail layout) ─── */
.dashboard-shell--kinetic-flow .control-section,
.dashboard-shell--kinetic-flow .control-section-header {
    background: rgba(22, 27, 34, 0.92) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .label-title-header {
    color: #8b949e !important;
}
.dashboard-shell--kinetic-flow .span-panel-title,
.dashboard-shell--kinetic-flow .label-title,
.dashboard-shell--kinetic-flow .label-title-left {
    color: #e6edf3 !important;
}

/* ─── Product Performance cards (DSHB_Retail_30) ─── */
.dashboard-shell--kinetic-flow .retail-product__card,
.dashboard-shell--kinetic-flow .retail-product__kpi-card {
    background: rgba(22, 27, 34, 0.92) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    color: #e6edf3 !important;
}

/* ─── Syncfusion Grid — GLOBAL dark overrides ─── */
.dashboard-shell--kinetic-flow .e-grid {
    background-color: rgba(22, 27, 34, 0.95) !important;
    background: rgba(22, 27, 34, 0.95) !important;
    color: #e6edf3 !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
}
.dashboard-shell--kinetic-flow .e-grid .e-gridheader,
.dashboard-shell--kinetic-flow .e-grid .e-headercontent,
.dashboard-shell--kinetic-flow .e-grid .e-table,
.dashboard-shell--kinetic-flow .e-grid .e-gridcontent,
.dashboard-shell--kinetic-flow .e-grid .e-gridcontent .e-content {
    background-color: rgba(22, 27, 34, 0.95) !important;
    background: rgba(22, 27, 34, 0.95) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .e-grid .e-headercell {
    background-color: rgba(13, 17, 23, 0.9) !important;
    background: rgba(13, 17, 23, 0.9) !important;
    color: #8b949e !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
}
.dashboard-shell--kinetic-flow .e-grid .e-headercelldiv {
    color: #8b949e !important;
}
.dashboard-shell--kinetic-flow .e-grid .e-rowcell {
    background-color: rgba(22, 27, 34, 0.95) !important;
    background: rgba(22, 27, 34, 0.95) !important;
    color: #e6edf3 !important;
    border-color: rgba(48, 54, 61, 0.6) !important;
}
.dashboard-shell--kinetic-flow .e-grid .e-row:hover .e-rowcell {
    background-color: rgba(88, 166, 255, 0.06) !important;
    background: rgba(88, 166, 255, 0.06) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .e-grid .e-altrow .e-rowcell {
    background-color: rgba(13, 17, 23, 0.5) !important;
    background: rgba(13, 17, 23, 0.5) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .e-grid .e-gridpager,
.dashboard-shell--kinetic-flow .e-grid .e-pager,
.dashboard-shell--kinetic-flow .e-pager {
    background-color: rgba(22, 27, 34, 0.95) !important;
    background: rgba(22, 27, 34, 0.95) !important;
    color: #8b949e !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
}
.dashboard-shell--kinetic-flow .e-grid .e-pager .e-numericitem,
.dashboard-shell--kinetic-flow .e-grid .e-pager .e-currentitem,
.dashboard-shell--kinetic-flow .e-grid .e-pager .e-parentmsgbar {
    color: #8b949e !important;
    background: transparent !important;
}
.dashboard-shell--kinetic-flow .e-grid .e-pager .e-currentitem {
    color: #58a6ff !important;
}
.dashboard-shell--kinetic-flow .e-grid .e-sortfilter .e-headercelldiv,
.dashboard-shell--kinetic-flow .e-grid .e-icons {
    color: #8b949e !important;
}
/* Grid frozen & movable */
.dashboard-shell--kinetic-flow .e-gridcontent,
.dashboard-shell--kinetic-flow .e-frozencontent,
.dashboard-shell--kinetic-flow .e-movablecontent,
.dashboard-shell--kinetic-flow .e-frozenheader,
.dashboard-shell--kinetic-flow .e-movableheader {
    background-color: rgba(22, 27, 34, 0.95) !important;
    background: rgba(22, 27, 34, 0.95) !important;
}
/* Grid summary rows */
.dashboard-shell--kinetic-flow .e-grid .e-summaryrow .e-summarycell {
    background-color: rgba(13, 17, 23, 0.8) !important;
    background: rgba(13, 17, 23, 0.8) !important;
    color: #e6edf3 !important;
    font-weight: 700;
    border-color: rgba(48, 54, 61, 0.8) !important;
}

/* ─── Syncfusion Charts — GLOBAL dark overrides ─── */
.dashboard-shell--kinetic-flow .e-chart,
.dashboard-shell--kinetic-flow .e-accumulationchart {
    background-color: transparent !important;
    background: transparent !important;
}
.dashboard-shell--kinetic-flow .e-chart svg,
.dashboard-shell--kinetic-flow .e-accumulationchart svg {
    background: transparent !important;
}
/* SVG background rect — this is the #FFFFFF white rectangle Syncfusion renders */
.dashboard-shell--kinetic-flow .e-chart svg > rect:first-child,
.dashboard-shell--kinetic-flow .e-accumulationchart svg > rect:first-child,
.dashboard-shell--kinetic-flow .e-chart svg rect[id*="_ChartBorder"],
.dashboard-shell--kinetic-flow .e-accumulationchart svg rect[id*="_ChartBorder"],
.dashboard-shell--kinetic-flow svg rect[id*="SeriesBorder"],
.dashboard-shell--kinetic-flow svg rect[id*="_ChartAreaBorder"] {
    fill: transparent !important;
}
.dashboard-shell--kinetic-flow .e-chart svg text,
.dashboard-shell--kinetic-flow .e-accumulationchart svg text,
.dashboard-shell--kinetic-flow .e-circulargauge svg text {
    fill: #8b949e !important;
}
.dashboard-shell--kinetic-flow .e-chart-focused {
    background: transparent !important;
}
/* Axis lines & gridlines */
.dashboard-shell--kinetic-flow line[id*="AxisLine"],
.dashboard-shell--kinetic-flow line[id*="MajorTickLine"] {
    stroke: rgba(48, 54, 61, 0.8) !important;
}
.dashboard-shell--kinetic-flow line[id*="MajorGridLine"] {
    stroke: rgba(48, 54, 61, 0.4) !important;
}
/* Legend text */
.dashboard-shell--kinetic-flow .e-chart-legend-text,
.dashboard-shell--kinetic-flow .e-legend-text,
.dashboard-shell--kinetic-flow text[id*="legend"],
.dashboard-shell--kinetic-flow text[id*="Legend"] {
    fill: #8b949e !important;
}
/* Chart title text */
.dashboard-shell--kinetic-flow text[id*="_ChartTitle"],
.dashboard-shell--kinetic-flow text[id*="_AxisTitle"] {
    fill: #e6edf3 !important;
}
/* Chart tooltip */
.dashboard-shell--kinetic-flow .e-tooltip-wrap {
    background: rgba(22, 27, 34, 0.96) !important;
    border-color: rgba(48, 54, 61, 0.8) !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .e-tooltip-wrap .e-tip-content {
    color: #e6edf3 !important;
}

/* ─── Circular Gauge ─── */
.dashboard-shell--kinetic-flow .e-circulargauge {
    background: transparent !important;
}

/* ─── DashboardLayout panels (non-compact retail) ─── */
.dashboard-shell--kinetic-flow .e-dashboardlayout {
    background: transparent !important;
}
.dashboard-shell--kinetic-flow .e-dashboardlayout .e-panel {
    background: transparent !important;
}
.dashboard-shell--kinetic-flow .kpi-sales-panel1 {
    background: transparent !important;
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .kpi-sales-panel1 .e-panel-container,
.dashboard-shell--kinetic-flow .kpi-sales-panel1 .e-panel-content {
    background: transparent !important;
    color: #e6edf3 !important;
}

/* ─── Carousel (compact mode) ─── */
.dashboard-shell--kinetic-flow .e-carousel,
.dashboard-shell--kinetic-flow .e-carousel .e-carousel-items,
.dashboard-shell--kinetic-flow .e-carousel .e-carousel-item {
    background: transparent !important;
}
.dashboard-shell--kinetic-flow .e-carousel .e-carousel-navigators .e-previous .e-btn-icon,
.dashboard-shell--kinetic-flow .e-carousel .e-carousel-navigators .e-next .e-btn-icon {
    color: #8b949e !important;
}

/* ─── Syncfusion Dialog ─── */
.dashboard-shell--kinetic-flow .e-dlg-header {
    color: #e6edf3 !important;
}
.dashboard-shell--kinetic-flow .e-dlg-closeicon-btn,
.dashboard-shell--kinetic-flow .e-btn-icon.e-icon-dlg-close {
    color: #8b949e !important;
}

/* ─── Generic catch-all for remaining e-control wrappers ─── */
.dashboard-shell--kinetic-flow .e-control.e-lib {
    border-color: rgba(48, 54, 61, 0.8);
}
