/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-in31w6xsfo] {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--shell-bg);
    color: var(--text);
}

.sidebar[b-in31w6xsfo] {
    position: relative;
    background: var(--nav-bg);
}

.main-shell[b-in31w6xsfo] {
    flex: 1;
    min-width: 0;
}

.app-topbar[b-in31w6xsfo] {
    min-height: 3.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    background: var(--topbar-bg);
    color: var(--text);
    border-bottom: 1px solid var(--border);
    box-shadow: inset 0 3px 0 var(--topbar-accent);
}

.app-topbar > *[b-in31w6xsfo] {
    min-width: 0;
    max-width: 100%;
}

.topbar-label[b-in31w6xsfo] {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
}

.topbar-status[b-in31w6xsfo] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    max-width: 100%;
    color: var(--text);
    font-size: 0.9rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

.content-shell[b-in31w6xsfo] {
    padding: 1rem;
}

@media (min-width: 900px) {
    .page[b-in31w6xsfo] {
        flex-direction: row;
    }

    .sidebar[b-in31w6xsfo] {
        width: 17rem;
        height: 100vh;
        position: sticky;
        top: 0;
        flex: 0 0 17rem;
    }

    .app-topbar[b-in31w6xsfo] {
        position: sticky;
        top: 0;
        z-index: 1;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .topbar-status[b-in31w6xsfo] {
        flex-wrap: nowrap;
        white-space: nowrap;
    }

    .content-shell[b-in31w6xsfo] {
        padding: 1.5rem;
    }
}

#blazor-error-ui[b-in31w6xsfo] {
    color-scheme: light only;
    background: #fef3c7;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.75rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-in31w6xsfo] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.brand-block[b-nwq8xofsnv] {
    position: relative;
    min-height: 4.25rem;
    padding: 1rem 4.75rem 1rem 1rem;
    border-bottom: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
}

.brand-link[b-nwq8xofsnv] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: var(--nav-text);
    text-decoration: none;
}

.brand-link strong[b-nwq8xofsnv],
.brand-link small[b-nwq8xofsnv] {
    display: block;
}

.brand-link small[b-nwq8xofsnv] {
    color: var(--nav-muted);
    font-size: 0.76rem;
}

.brand-mark[b-nwq8xofsnv] {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.4rem;
    background: var(--nav-active-bg);
    color: var(--nav-active-text);
    font-weight: 700;
}

.brand-logo-frame[b-nwq8xofsnv] {
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.brand-logo[b-nwq8xofsnv] {
    display: block;
    max-width: 2.35rem;
    max-height: 2.35rem;
    object-fit: contain;
}

.navbar-toggler[b-nwq8xofsnv] {
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.navbar-toggler-label[b-nwq8xofsnv] {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 3rem;
    height: 2.5rem;
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    z-index: 10;
    border: 1px solid color-mix(in srgb, var(--nav-text) 48%, transparent);
    border-radius: 0.4rem;
    background-color: var(--nav-active-bg);
    box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.28);
}

.navbar-toggler-label span[b-nwq8xofsnv],
.navbar-toggler-label span[b-nwq8xofsnv]::before,
.navbar-toggler-label span[b-nwq8xofsnv]::after {
    display: block;
    width: 1.45rem;
    height: 0.14rem;
    border-radius: 999px;
    background: var(--nav-active-text);
}

.navbar-toggler-label span[b-nwq8xofsnv] {
    position: relative;
}

.navbar-toggler-label span[b-nwq8xofsnv]::before,
.navbar-toggler-label span[b-nwq8xofsnv]::after {
    content: "";
    position: absolute;
    left: 0;
}

.navbar-toggler-label span[b-nwq8xofsnv]::before {
    top: -0.48rem;
}

.navbar-toggler-label span[b-nwq8xofsnv]::after {
    top: 0.48rem;
}

.navbar-toggler:focus-visible + .brand-block .navbar-toggler-label[b-nwq8xofsnv] {
    outline: 2px solid color-mix(in srgb, var(--focus-ring) 85%, transparent);
    outline-offset: 2px;
}

.navbar-toggler:checked + .brand-block .navbar-toggler-label[b-nwq8xofsnv] {
    background-color: var(--nav-active-bg);
    border-color: color-mix(in srgb, var(--nav-text) 72%, transparent);
}

.nav-scrollable[b-nwq8xofsnv] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-nwq8xofsnv] {
    display: block;
}

.nav-shell[b-nwq8xofsnv] {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1rem 0.75rem 1.25rem;
}

.nav-shell-command-centre[b-nwq8xofsnv] {
    gap: 1rem;
}

.nav-shell-command-centre .nav-group-label[b-nwq8xofsnv] {
    color: color-mix(in srgb, var(--nav-muted) 86%, var(--nav-active-bg));
}

.nav-group[b-nwq8xofsnv] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nav-tree-group[b-nwq8xofsnv] {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.nav-tree-parent[b-nwq8xofsnv] {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.55rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--nav-text);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    list-style: none;
    line-height: 1.2;
    text-align: left;
}

.nav-tree-parent[b-nwq8xofsnv]::-webkit-details-marker {
    display: none;
}

.nav-tree-parent[b-nwq8xofsnv]::before {
    content: ">";
    flex: 0 0 auto;
    color: var(--nav-muted);
    font-size: 0.72rem;
    line-height: 1;
}

.nav-tree-parent:hover[b-nwq8xofsnv],
.nav-tree-parent:focus[b-nwq8xofsnv] {
    background: color-mix(in srgb, var(--nav-active-bg) 18%, transparent);
    color: var(--nav-text);
}

.nav-tree-parent:focus-visible[b-nwq8xofsnv] {
    outline: 2px solid color-mix(in srgb, var(--focus-ring) 85%, transparent);
    outline-offset: 2px;
}

.nav-tree-group.active .nav-tree-parent[b-nwq8xofsnv] {
    background: color-mix(in srgb, var(--nav-active-bg) 20%, transparent);
}

.nav-tree-group[open] .nav-tree-parent[b-nwq8xofsnv]::before {
    content: "v";
}

.nav-tree-children[b-nwq8xofsnv] {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-left: 1.15rem;
    padding-left: 0.6rem;
    border-left: 1px solid color-mix(in srgb, var(--nav-muted) 34%, transparent);
}

.nav-tree-group:not([open]) .nav-tree-children[b-nwq8xofsnv] {
    display: none;
}

.nav-group-label[b-nwq8xofsnv] {
    padding: 0 0.55rem 0.35rem;
    color: var(--nav-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.nav-account[b-nwq8xofsnv] {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
}

.nav-link[b-nwq8xofsnv],
.nav-shell[b-nwq8xofsnv]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 2.55rem;
    width: 100%;
    padding: 0.55rem 0.65rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--nav-text);
    font-size: 0.92rem;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.nav-link:hover[b-nwq8xofsnv],
.nav-link:focus[b-nwq8xofsnv],
.nav-shell[b-nwq8xofsnv]  .nav-link:hover,
.nav-shell[b-nwq8xofsnv]  .nav-link:focus {
    background: color-mix(in srgb, var(--nav-active-bg) 18%, transparent);
    color: var(--nav-text);
}

.nav-link.active[b-nwq8xofsnv],
.nav-shell[b-nwq8xofsnv]  .nav-link.active {
    background: var(--nav-active-bg);
    color: var(--nav-active-text);
}

.nav-shell[b-nwq8xofsnv]  .nav-tree-link {
    min-height: 2.1rem;
    padding: 0.42rem 0.55rem;
    font-size: 0.86rem;
}

.nav-shell[b-nwq8xofsnv]  .nav-tree-link.active {
    font-weight: 700;
    box-shadow: inset 3px 0 0 color-mix(in srgb, var(--nav-active-text) 52%, transparent);
}

.nav-button[b-nwq8xofsnv] {
    cursor: pointer;
}

.nav-icon[b-nwq8xofsnv] {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    flex: 0 0 1rem;
    border-radius: 0.2rem;
    background: var(--primary);
}

.nav-icon-dashboard[b-nwq8xofsnv],
.nav-icon-platform[b-nwq8xofsnv] { background: var(--primary); }
.nav-icon-stores[b-nwq8xofsnv],
.nav-icon-tenants[b-nwq8xofsnv] { background: #7aa28f; }
.nav-icon-agents[b-nwq8xofsnv],
.nav-icon-audit[b-nwq8xofsnv] { background: var(--primary-hover); }
.nav-icon-users[b-nwq8xofsnv],
.nav-icon-user[b-nwq8xofsnv] { background: #d4dde1; }
.nav-icon-branding[b-nwq8xofsnv],
.nav-icon-modules[b-nwq8xofsnv] { background: var(--header-orange); }
.nav-icon-sales[b-nwq8xofsnv] { background: #6f8fb4; }
.nav-icon-catalog[b-nwq8xofsnv] { background: #7aa28f; }
.nav-icon-accounts[b-nwq8xofsnv] { background: #7d8491; }
.nav-icon-insights[b-nwq8xofsnv] { background: #4f9a94; }
.nav-icon-logout[b-nwq8xofsnv] { background: #c94f3f; }

@media (min-width: 900px) {
    .navbar-toggler[b-nwq8xofsnv],
    .navbar-toggler-label[b-nwq8xofsnv] {
        display: none;
    }

    .nav-scrollable[b-nwq8xofsnv] {
        display: block;
        height: calc(100vh - 4.25rem);
        overflow-y: auto;
    }

    .nav-shell[b-nwq8xofsnv] {
        min-height: 100%;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-nraq7j1cwk],
.components-reconnect-repeated-attempt-visible[b-nraq7j1cwk],
.components-reconnect-failed-visible[b-nraq7j1cwk],
.components-pause-visible[b-nraq7j1cwk],
.components-resume-failed-visible[b-nraq7j1cwk],
.components-rejoining-animation[b-nraq7j1cwk] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-nraq7j1cwk],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-nraq7j1cwk],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-nraq7j1cwk],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-nraq7j1cwk],
#components-reconnect-modal.components-reconnect-retrying[b-nraq7j1cwk],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-nraq7j1cwk],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-nraq7j1cwk],
#components-reconnect-modal.components-reconnect-failed[b-nraq7j1cwk],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-nraq7j1cwk] {
    display: block;
}


#components-reconnect-modal[b-nraq7j1cwk] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-nraq7j1cwk 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-nraq7j1cwk 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-nraq7j1cwk 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-nraq7j1cwk]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-nraq7j1cwk 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-nraq7j1cwk {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-nraq7j1cwk {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-nraq7j1cwk {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-nraq7j1cwk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-nraq7j1cwk] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-nraq7j1cwk] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-nraq7j1cwk] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-nraq7j1cwk] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-nraq7j1cwk] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-nraq7j1cwk] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-nraq7j1cwk 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-nraq7j1cwk] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-nraq7j1cwk {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/ProductPerformance.razor.rz.scp.css */
.performance-controls[b-vfi4cjhrb2] { display: grid; gap: .75rem; }
.performance-picker-heading[b-vfi4cjhrb2], .product-performance > header[b-vfi4cjhrb2], .performance-date[b-vfi4cjhrb2] { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .75rem; }
.performance-picker-heading h2[b-vfi4cjhrb2], .performance-picker-heading p[b-vfi4cjhrb2], .product-performance h2[b-vfi4cjhrb2], .product-performance header p[b-vfi4cjhrb2] { margin: 0; }
.performance-picker-heading > div:last-child[b-vfi4cjhrb2] { display: flex; gap: .5rem; }
.performance-search[b-vfi4cjhrb2] { display: grid; gap: .25rem; max-width: 24rem; }
.performance-store-list[b-vfi4cjhrb2] { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .5rem; max-height: 20rem; overflow: auto; }
.performance-store-list label[b-vfi4cjhrb2] { display: grid; grid-template-columns: auto 1fr; gap: .1rem .6rem; padding: .65rem; border: 1px solid var(--border); border-radius: .4rem; }
.performance-store-list input[b-vfi4cjhrb2] { grid-row: span 2; align-self: center; }
.performance-store-list span[b-vfi4cjhrb2], .product-performance header p[b-vfi4cjhrb2], .product-performance footer[b-vfi4cjhrb2] { color: var(--muted); font-size: .8rem; }
.performance-date label[b-vfi4cjhrb2] { display: grid; gap: .25rem; }
.product-performance[b-vfi4cjhrb2] { display: grid; gap: 1rem; }
.performance-sections[b-vfi4cjhrb2] { display: grid; gap: 1rem; }
.performance-sections h3[b-vfi4cjhrb2], .performance-sections h4[b-vfi4cjhrb2] { margin: 0; }
.performance-sections header p[b-vfi4cjhrb2], .performance-list > p[b-vfi4cjhrb2] { margin: .2rem 0 0; color: var(--muted); font-size: .8rem; }
.performance-groups[b-vfi4cjhrb2] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: .65rem; }
.performance-list ol[b-vfi4cjhrb2] { display: grid; gap: .5rem; padding: 0; margin: .4rem 0 0; list-style: none; }
.performance-list li[b-vfi4cjhrb2] { display: grid; gap: .3rem; padding: .7rem; border: 1px solid var(--border); border-radius: .4rem; }
.performance-list small[b-vfi4cjhrb2] { color: var(--muted); overflow-wrap: anywhere; }
.performance-list dl[b-vfi4cjhrb2] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem; margin: 0; }
.performance-list dt[b-vfi4cjhrb2] { color: var(--muted); font-size: .7rem; }
.performance-list dd[b-vfi4cjhrb2] { margin: .1rem 0 0; font-size: .78rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 64rem) { .performance-groups[b-vfi4cjhrb2] { grid-template-columns: 1fr; } }
/* /Components/Pages/SalesPerformance.razor.rz.scp.css */
.performance-page-header[b-tbnz2h3ve4] { max-width: 760px; margin-inline: auto; margin-bottom: .85rem; }
.performance-page-header h1[b-tbnz2h3ve4] { margin-bottom: 0; }
.sales-performance[b-tbnz2h3ve4] { display: grid; gap: 1rem; max-width: 760px; margin-inline: auto; }

.performance-store-selector[b-tbnz2h3ve4] { display: flex; align-items: center; gap: .85rem; min-height: 76px; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: 1rem; background: #fff; color: var(--heading); text-decoration: none; box-shadow: 0 3px 16px rgba(16, 43, 68, .07); }
.performance-store-selector:hover[b-tbnz2h3ve4], .performance-store-card:hover[b-tbnz2h3ve4], .performance-store-breakdown-list a:hover[b-tbnz2h3ve4] { border-color: var(--brand-accent, #fa6f3b); }
.performance-selector-icon[b-tbnz2h3ve4] { display: grid; place-items: center; flex: 0 0 42px; height: 42px; border-radius: .7rem; background: #e8f0f5; color: var(--brand-primary, #123353); font-size: 1.55rem; line-height: 1; }
.performance-selector-copy[b-tbnz2h3ve4] { display: grid; min-width: 0; gap: .08rem; margin-right: auto; }
.performance-selector-copy small[b-tbnz2h3ve4] { color: var(--muted); font-size: .78rem; }
.performance-selector-copy strong[b-tbnz2h3ve4] { overflow: hidden; color: var(--heading); font-size: 1.1rem; text-overflow: ellipsis; white-space: nowrap; }
.performance-selector-count[b-tbnz2h3ve4] { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.performance-selector-chevron[b-tbnz2h3ve4] { color: var(--brand-primary, #123353); font-size: 1.4rem; font-weight: 700; }

.performance-view-nav[b-tbnz2h3ve4] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem; border-bottom: 1px solid var(--border); }
.performance-view-nav a[b-tbnz2h3ve4] { display: grid; place-items: center; min-height: 48px; padding: .5rem; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 700; text-align: center; text-decoration: none; }
.performance-view-nav a.selected[b-tbnz2h3ve4] { border-bottom-color: var(--brand-primary, #123353); color: var(--brand-primary, #123353); }
.performance-controls[b-tbnz2h3ve4] { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem; }
.performance-period[b-tbnz2h3ve4], .performance-gst[b-tbnz2h3ve4] { display: inline-flex; gap: .15rem; padding: .2rem; border: 1px solid var(--border); border-radius: .7rem; background: var(--surface, #f5f7fa); }
.performance-period a[b-tbnz2h3ve4], .performance-gst a[b-tbnz2h3ve4] { display: grid; place-items: center; min-height: 42px; border-radius: .5rem; padding: .45rem .8rem; color: var(--heading); font-weight: 650; text-decoration: none; white-space: nowrap; }
.performance-period a.selected[b-tbnz2h3ve4], .performance-gst a.selected[b-tbnz2h3ve4] { background: var(--brand-primary, #123353); color: #fff; }
.performance-period a:focus-visible[b-tbnz2h3ve4], .performance-gst a:focus-visible[b-tbnz2h3ve4], .performance-view-nav a:focus-visible[b-tbnz2h3ve4], .performance-store-selector:focus-visible[b-tbnz2h3ve4], .performance-store-card:focus-visible[b-tbnz2h3ve4], .performance-back:focus-visible[b-tbnz2h3ve4], .performance-store-breakdown-list a:focus-visible[b-tbnz2h3ve4], .performance-search input:focus-visible[b-tbnz2h3ve4], .performance-freshness summary:focus-visible[b-tbnz2h3ve4] { outline: 3px solid var(--brand-accent, #fa6f3b); outline-offset: 2px; }
.performance-status[b-tbnz2h3ve4], .performance-warning[b-tbnz2h3ve4] { margin: 0; padding: .7rem .9rem; border-radius: .6rem; }
.performance-status[b-tbnz2h3ve4] { background: var(--surface, #f5f7fa); }
.performance-warning[b-tbnz2h3ve4] { background: #fff3d6; color: #5c3900; font-size: .88rem; }

.performance-overview[b-tbnz2h3ve4] { display: grid; gap: .85rem; padding: clamp(1.15rem, 3vw, 1.7rem); border-radius: 1rem; box-shadow: 0 5px 22px rgba(16, 43, 68, .07); }
.performance-overview-heading[b-tbnz2h3ve4] { display: flex; justify-content: space-between; align-items: end; gap: .5rem 1rem; flex-wrap: wrap; }
.performance-overview-heading .eyebrow[b-tbnz2h3ve4] { margin: 0 0 .2rem; }
.performance-overview h2[b-tbnz2h3ve4] { margin: 0; font-size: 1.05rem; font-weight: 650; }
.performance-date-scope[b-tbnz2h3ve4], .performance-note[b-tbnz2h3ve4] { margin: 0; color: var(--muted); font-size: .83rem; }
.performance-figure[b-tbnz2h3ve4] { margin: 0; color: var(--heading); font-size: clamp(2.7rem, 8vw, 4.25rem); font-weight: 760; line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.performance-figure-empty[b-tbnz2h3ve4] { font-size: clamp(1.6rem, 5vw, 2.4rem); }
.performance-comparison-grid[b-tbnz2h3ve4] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.performance-comparison-grid > div[b-tbnz2h3ve4] { display: grid; gap: .15rem; min-width: 0; padding: .75rem .9rem; border-radius: .65rem; background: #f4f7f9; }
.performance-comparison-grid > div > span[b-tbnz2h3ve4], .performance-gp-comparisons > div > span[b-tbnz2h3ve4] { color: var(--muted); font-size: .81rem; }
.performance-comparison-grid strong[b-tbnz2h3ve4] { justify-content: flex-start; font-size: 1.1rem; }
.performance-comparison-grid small[b-tbnz2h3ve4] { color: var(--muted); }
.performance-gp-card[b-tbnz2h3ve4] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: .8rem 1.25rem; align-items: center; padding: 1rem; border: 1px solid #cddce7; border-radius: .75rem; background: #edf4f8; }
.performance-gp-heading[b-tbnz2h3ve4] { display: grid; gap: .15rem; }
.performance-gp-heading span[b-tbnz2h3ve4] { color: var(--heading); font-size: .9rem; font-weight: 700; }
.performance-gp-heading strong[b-tbnz2h3ve4] { color: var(--heading); font-size: clamp(1.5rem, 5vw, 2rem); font-variant-numeric: tabular-nums; }
.performance-gp-comparisons[b-tbnz2h3ve4] { display: grid; gap: .45rem; }
.performance-gp-comparisons > div[b-tbnz2h3ve4] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem .5rem; align-items: center; }
.performance-gp-comparisons strong[b-tbnz2h3ve4] { font-size: .82rem; }
.performance-gp-comparisons small[b-tbnz2h3ve4] { grid-column: 1 / -1; color: var(--muted); text-align: right; }
.performance-gp-note[b-tbnz2h3ve4] { grid-column: 1 / -1; margin: 0; color: #795100; font-size: .82rem; }
.performance-gp-warning[b-tbnz2h3ve4] { grid-column: 1 / -1; }

.performance-by-store[b-tbnz2h3ve4] { display: grid; gap: .65rem; padding: clamp(1rem, 3vw, 1.5rem); border-radius: 1rem; }
.performance-section-heading[b-tbnz2h3ve4] { display: flex; justify-content: space-between; align-items: start; gap: .75rem; }
.performance-section-heading h2[b-tbnz2h3ve4] { margin: 0; font-size: 1.2rem; }
.performance-section-heading p[b-tbnz2h3ve4], .performance-section-heading > span[b-tbnz2h3ve4] { margin: .2rem 0 0; color: var(--muted); font-size: .82rem; }
.performance-store-breakdown-list[b-tbnz2h3ve4] { display: grid; }
.performance-store-breakdown-list a[b-tbnz2h3ve4] { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .7rem; min-height: 65px; padding: .7rem .15rem; border-top: 1px solid var(--border); color: var(--heading); text-decoration: none; }
.performance-store-breakdown-name[b-tbnz2h3ve4] { display: grid; min-width: 0; gap: .1rem; }
.performance-store-breakdown-name strong[b-tbnz2h3ve4] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.performance-store-breakdown-name small[b-tbnz2h3ve4] { color: var(--muted); font-size: .77rem; }
.performance-store-breakdown-value[b-tbnz2h3ve4] { font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.performance-store-breakdown-list a > span:last-child[b-tbnz2h3ve4] { color: var(--brand-primary, #123353); font-size: 1.3rem; }

.performance-department-total[b-tbnz2h3ve4] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; padding: 1.1rem 1.3rem; border-radius: 1rem; }
.performance-department-total > div[b-tbnz2h3ve4] { display: grid; gap: .1rem; }
.performance-department-total span[b-tbnz2h3ve4] { color: var(--muted); font-size: .82rem; }
.performance-department-total strong[b-tbnz2h3ve4] { color: var(--heading); font-size: clamp(1.25rem, 3vw, 1.65rem); font-variant-numeric: tabular-nums; }
.performance-department-total > p[b-tbnz2h3ve4] { grid-column: 1 / -1; }
.performance-departments[b-tbnz2h3ve4] { display: grid; gap: .85rem; padding: clamp(1rem, 3vw, 1.5rem); border-radius: 1rem; }
.performance-departments header[b-tbnz2h3ve4] { display: grid; gap: .25rem; }
.performance-departments h2[b-tbnz2h3ve4] { margin: 0; font-size: 1.2rem; }
.performance-departments header p[b-tbnz2h3ve4] { margin: 0; color: var(--muted); font-size: .84rem; }
.performance-department-list[b-tbnz2h3ve4] { display: grid; gap: .65rem; }
.performance-department-card[b-tbnz2h3ve4] { display: grid; gap: .75rem; padding: 1rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--surface, #fff); }
.performance-department-top[b-tbnz2h3ve4] { display: flex; justify-content: space-between; gap: 1rem; }
.performance-department-top h3[b-tbnz2h3ve4] { margin: 0; font-size: 1.05rem; }
.performance-department-top small[b-tbnz2h3ve4], .performance-department-sales small[b-tbnz2h3ve4] { display: block; color: var(--muted); font-size: .75rem; }
.performance-department-sales[b-tbnz2h3ve4] { text-align: right; font-variant-numeric: tabular-nums; }
.performance-department-sales strong[b-tbnz2h3ve4] { display: block; color: var(--heading); font-size: 1.18rem; }
.performance-department-stats[b-tbnz2h3ve4], .performance-department-comparisons[b-tbnz2h3ve4] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1rem; padding-top: .65rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .82rem; }
.performance-department-stats span[b-tbnz2h3ve4], .performance-department-comparisons span[b-tbnz2h3ve4] { display: flex; justify-content: space-between; gap: .45rem; }
.performance-department-stats strong[b-tbnz2h3ve4], .performance-department-comparisons strong[b-tbnz2h3ve4] { color: var(--heading); text-align: right; font-variant-numeric: tabular-nums; }
.performance-name-warning[b-tbnz2h3ve4] { display: block; color: #9a4a00; font-size: .75rem; }

.performance-freshness[b-tbnz2h3ve4] { padding: .75rem 1rem; border: 1px solid var(--border); border-radius: .7rem; background: var(--surface, #f5f7fa); }
.performance-freshness summary[b-tbnz2h3ve4] { display: flex; justify-content: space-between; gap: .8rem; cursor: pointer; color: var(--heading); font-weight: 650; list-style-position: inside; }
.performance-freshness summary span:last-child[b-tbnz2h3ve4] { color: var(--muted); font-size: .8rem; font-weight: 500; }
.performance-freshness summary[b-tbnz2h3ve4]::after { content: "⌄"; color: var(--brand-primary, #123353); font-size: 1.15rem; line-height: 1; transition: transform .15s ease; }
.performance-freshness[open] summary[b-tbnz2h3ve4]::after { transform: rotate(180deg); }
.performance-freshness ul[b-tbnz2h3ve4] { display: grid; gap: .55rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.performance-freshness li[b-tbnz2h3ve4] { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; padding: .65rem; border: 1px solid var(--border); border-radius: .45rem; background: #fff; }
.performance-freshness li strong[b-tbnz2h3ve4] { margin-right: auto; }
.performance-freshness li time[b-tbnz2h3ve4], .performance-freshness li small[b-tbnz2h3ve4] { color: var(--muted); }
.performance-freshness li small[b-tbnz2h3ve4] { flex-basis: 100%; }
.performance-reason[b-tbnz2h3ve4] { color: #8a4700; font-size: .8rem; }

.performance-store-screen[b-tbnz2h3ve4] { display: grid; gap: .85rem; }
.performance-picker-heading[b-tbnz2h3ve4] { display: grid; gap: .1rem; }
.performance-picker-heading p[b-tbnz2h3ve4] { margin: 0; color: var(--muted); font-size: .84rem; }
.performance-back[b-tbnz2h3ve4] { display: inline-flex; align-items: center; width: fit-content; min-height: 40px; color: var(--brand-primary, #123353); font-weight: 700; text-decoration: none; }
.performance-search input[b-tbnz2h3ve4] { width: 100%; min-height: 50px; }
.performance-store-list[b-tbnz2h3ve4] { display: grid; gap: .55rem; }
.performance-store-card[b-tbnz2h3ve4] { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .8rem; min-height: 78px; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: .75rem; background: #fff; color: var(--heading); text-decoration: none; }
.performance-store-card.selected[b-tbnz2h3ve4] { border-color: var(--brand-primary, #123353); box-shadow: inset 4px 0 var(--brand-primary, #123353); }
.performance-store-card strong[b-tbnz2h3ve4], .performance-store-card small[b-tbnz2h3ve4] { display: block; }
.performance-store-card small[b-tbnz2h3ve4] { color: var(--muted); font-size: .77rem; }
.performance-store-sales[b-tbnz2h3ve4] { text-align: right; font-variant-numeric: tabular-nums; }
.performance-selected-mark[b-tbnz2h3ve4] { color: var(--brand-primary, #123353); font-size: 1.2rem; font-weight: 700; }

@media (max-width: 620px) {
    .performance-page-header .status-chip[b-tbnz2h3ve4] { display: none; }
    .performance-controls[b-tbnz2h3ve4] { display: grid; grid-template-columns: 1fr; }
    .performance-period[b-tbnz2h3ve4] { width: 100%; }
    .performance-period a[b-tbnz2h3ve4] { flex: 1 1 0; padding-inline: .25rem; }
    .performance-gst[b-tbnz2h3ve4] { justify-self: start; }
    .performance-gp-card[b-tbnz2h3ve4] { grid-template-columns: 1fr; }
    .performance-department-stats[b-tbnz2h3ve4], .performance-department-comparisons[b-tbnz2h3ve4] { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
    .performance-selector-count[b-tbnz2h3ve4] { display: none; }
    .performance-store-card[b-tbnz2h3ve4] { grid-template-columns: minmax(0, 1fr) auto; }
    .performance-store-sales[b-tbnz2h3ve4] { grid-column: 1; text-align: left; }
    .performance-selected-mark[b-tbnz2h3ve4] { grid-column: 2; grid-row: 1 / 3; }
}
/* /Components/PerformanceTrend.razor.rz.scp.css */
.performance-trend[b-608vdsixr8] { display: inline-flex; align-items: center; justify-content: flex-end; gap: .3rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.performance-trend-up[b-608vdsixr8] { color: #146c3e; }
.performance-trend-down[b-608vdsixr8] { color: #bd3434; }
.performance-trend-flat[b-608vdsixr8], .performance-trend-unavailable[b-608vdsixr8] { color: var(--muted); }
.performance-trend-arrow[b-608vdsixr8] { font-size: .72em; line-height: 1; }
