@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.lcdo7z9xd2.bundle.scp.css';

/* /Components/Layout/LoginLayout.razor.rz.scp.css */
.login-theme-switcher[b-f5jue4ndop] {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navmenu[b-e85019epjr] {
    /* Width follows the Fluent menu: 250px expanded, its icon rail when collapsed. */
    flex: 0 0 auto;
    min-height: 0;
    color: var(--app-foreground);
    background: linear-gradient(180deg, var(--app-nav-surface), var(--app-surface));
    border-right: 1px solid var(--app-glass-border);
    box-shadow: 8px 0 28px rgb(0 0 0 / 12%);
    backdrop-filter: blur(20px);
    /* Fluent's nav items paint these design tokens, which default to light-mode values
       and do not follow the app theme. Clear them so the theme-aware link styles below show through. */
    --neutral-fill-stealth-rest: transparent;
    --neutral-fill-secondary-rest: transparent;
    --tree-item-expand-collapse-hover: var(--app-nav-hover);
    --accent-fill-rest: var(--app-nav-accent);
}

[b-e85019epjr] .sitenav,
[b-e85019epjr] #main-menu {
    color: var(--app-foreground);
    background: transparent;
}

[b-e85019epjr] .fluent-nav-link {
    /* Fluent sets width: 100%, which pushes the link past the menu edge once the margin is added. */
    width: auto;
    min-height: 42px;
    margin: 3px 10px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: var(--app-foreground) !important;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

[b-e85019epjr] .fluent-nav-link:hover,
[b-e85019epjr] .fluent-nav-link:focus-visible {
    color: var(--app-foreground) !important;
    background: var(--app-nav-hover) !important;
    border-color: var(--app-glass-border);
}

[b-e85019epjr] .fluent-nav-link.active,
[b-e85019epjr] .fluent-nav-link[aria-current="page"] {
    color: var(--app-foreground) !important;
    background: var(--app-nav-active) !important;
    border-color: var(--app-glass-border);
    box-shadow: inset 3px 0 var(--app-nav-accent), 0 5px 16px rgb(0 0 0 / 12%);
}

[b-e85019epjr] .fluent-nav-link fluent-icon,
[b-e85019epjr] .fluent-nav-link svg {
    color: var(--app-nav-accent);
    fill: currentColor;
}

/* Customers, Credit customers and Monthly bills: a tinted group in the credit colour (--app-credit-*). */
[b-e85019epjr] .nav-credit {
    /* Fluent paints nav icons with this token inline. */
    --accent-fill-rest: var(--app-credit-accent);
}

[b-e85019epjr] .nav-credit.fluent-nav-link,
[b-e85019epjr] .nav-credit .fluent-nav-link {
    background: var(--app-credit-surface) !important;
    box-shadow: inset 3px 0 var(--app-credit-accent);
}

[b-e85019epjr] .nav-credit.fluent-nav-link:hover,
[b-e85019epjr] .nav-credit.fluent-nav-link:focus-visible,
[b-e85019epjr] .nav-credit .fluent-nav-link:hover,
[b-e85019epjr] .nav-credit .fluent-nav-link:focus-visible {
    background: var(--app-credit-active) !important;
    border-color: var(--app-glass-border);
}

[b-e85019epjr] .nav-credit.fluent-nav-link.active,
[b-e85019epjr] .nav-credit .fluent-nav-link.active {
    background: var(--app-credit-active) !important;
    border-color: var(--app-credit-accent);
    box-shadow: inset 3px 0 var(--app-credit-accent), 0 5px 16px rgb(0 0 0 / 12%);
}

[b-e85019epjr] .nav-credit.fluent-nav-link fluent-icon,
[b-e85019epjr] .nav-credit.fluent-nav-link svg,
[b-e85019epjr] .nav-credit .fluent-nav-link fluent-icon,
[b-e85019epjr] .nav-credit .fluent-nav-link svg {
    color: var(--app-credit-accent);
}

[b-e85019epjr] .fluent-nav-menu.collapsed .fluent-nav-link {
    justify-content: center;
    margin: 3px 4px;
    padding: 0;
}

[b-e85019epjr] #main-menu-expander {
    color: var(--app-foreground);
    border-bottom: 1px solid var(--app-glass-border);
}

@media (max-width: 768px) {
    .navmenu[b-e85019epjr] {
        flex-basis: auto;
        width: 100%;
        background: var(--app-nav-surface);
        border-right: 0;
        border-bottom: 1px solid var(--app-glass-border);
        /* backdrop-filter would make this the containing block for the position: fixed menu toggle,
           pulling it out of the header. The nav is opaque enough on phones without the blur. */
        backdrop-filter: none;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-5u5wofnaag],
.components-reconnect-repeated-attempt-visible[b-5u5wofnaag],
.components-reconnect-failed-visible[b-5u5wofnaag],
.components-pause-visible[b-5u5wofnaag],
.components-resume-failed-visible[b-5u5wofnaag],
.components-rejoining-animation[b-5u5wofnaag] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-5u5wofnaag],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-5u5wofnaag],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-5u5wofnaag],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-5u5wofnaag],
#components-reconnect-modal.components-reconnect-retrying[b-5u5wofnaag],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-5u5wofnaag],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-5u5wofnaag],
#components-reconnect-modal.components-reconnect-failed[b-5u5wofnaag],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-5u5wofnaag] {
    display: block;
}


#components-reconnect-modal[b-5u5wofnaag] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
    border: 1px solid var(--app-glass-border);
    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-5u5wofnaag 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-5u5wofnaag 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-5u5wofnaag 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-5u5wofnaag]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-5u5wofnaag 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-5u5wofnaag {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-5u5wofnaag {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-5u5wofnaag {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-5u5wofnaag] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-5u5wofnaag] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-5u5wofnaag] {
    border: 0;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    color: var(--app-foreground);
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-5u5wofnaag] {
        background: var(--app-accent-strong);
    }

    #components-reconnect-modal button:active[b-5u5wofnaag] {
        background: var(--app-accent);
    }

.components-rejoining-animation[b-5u5wofnaag] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-5u5wofnaag] {
        position: absolute;
        border: 3px solid var(--app-accent);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-5u5wofnaag 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-5u5wofnaag] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-5u5wofnaag {
    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/Layout/ThemeSwitcher.razor.rz.scp.css */
.theme-switcher[b-ke4qsc3mul] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 999px;
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    box-shadow: 0 4px 16px rgb(0 0 0 / 20%), inset 0 1px rgb(255 255 255 / 12%);
    cursor: pointer;
    font: inherit;
    font-size: 0.875rem;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.theme-switcher:hover[b-ke4qsc3mul] {
    transform: translateY(-1px);
    background: var(--app-glass-hover);
    box-shadow: 0 7px 22px rgb(0 0 0 / 25%), inset 0 1px rgb(255 255 255 / 18%);
}

.theme-option[b-ke4qsc3mul] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.theme-option span:first-child[b-ke4qsc3mul] {
    font-size: 1rem;
}

html[data-theme="light"] .theme-option-light[b-ke4qsc3mul],
html:not([data-theme="light"]) .theme-option-dark[b-ke4qsc3mul] {
    display: none;
}

@media (max-width: 600px) {
    /* Icon-only on phones; the visually hidden text still names the action for screen readers. */
    .theme-switcher[b-ke4qsc3mul] {
        padding: 0.45rem 0.6rem;
    }

    /* Visually hidden rather than display:none, so the button keeps its "Light mode"/"Dark mode" name. */
    .theme-option > span:nth-child(2)[b-ke4qsc3mul] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

.visually-hidden[b-ke4qsc3mul] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}
/* /Components/Pages/Home.razor.rz.scp.css */
.dashboard[b-3j8fp70xy6] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-3j8fp70xy6] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.page-header h1[b-3j8fp70xy6] {
    margin: 0;
}

.page-header p[b-3j8fp70xy6] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.pickers[b-3j8fp70xy6] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.user-picker[b-3j8fp70xy6] {
    display: grid;
    gap: 0.3rem;
    min-width: 14rem;
    color: var(--app-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.user-picker select[b-3j8fp70xy6] {
    min-height: 2.5rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--app-input-border);
    border-radius: 8px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
    font-size: 1rem;
    font-weight: 400;
}

.user-picker option[b-3j8fp70xy6] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.stat-grid[b-3j8fp70xy6] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-tile[b-3j8fp70xy6] {
    display: grid;
    gap: 0.25rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background:
        linear-gradient(160deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 0%) 50%),
        var(--app-surface);
    box-shadow: 0 6px 18px rgb(0 0 0 / 10%);
}

.stat-tile span[b-3j8fp70xy6],
.stat-tile small[b-3j8fp70xy6] {
    color: var(--app-text-muted);
    font-size: 0.82rem;
}

.stat-tile strong[b-3j8fp70xy6] {
    font-size: 1.6rem;
    font-variant-numeric: tabular-nums;
}

.stat-tile.accent[b-3j8fp70xy6] {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
}

.stat-tile.accent span[b-3j8fp70xy6],
.stat-tile.accent small[b-3j8fp70xy6] {
    color: rgb(255 255 255 / 85%);
}

/* Credit milk tiles use the credit colour that also marks the credit pages in the nav. */
/* Row headings: cash sales in the app accent, credit milk in the credit colour. */
.sales-summary h2[b-3j8fp70xy6],
.credit-summary h2[b-3j8fp70xy6] {
    margin: 0.5rem 0 0.75rem;
    font-size: 1.05rem;
}

.sales-summary h2[b-3j8fp70xy6] {
    margin-top: 0;
    color: var(--app-accent);
}

.credit-summary h2[b-3j8fp70xy6] {
    color: var(--app-credit-accent);
}

.stat-tile.credit[b-3j8fp70xy6] {
    box-shadow: inset 3px 0 var(--app-credit-accent);
    background:
        linear-gradient(160deg, var(--app-credit-surface), rgb(255 255 255 / 0%) 60%),
        var(--app-surface);
}

.stat-tile.credit.owing strong[b-3j8fp70xy6] {
    color: var(--app-danger-text);
}

/* Cards that open something: cash cards link to Quick cash entry, credit cards open their details. */
.stat-tile.is-clickable[b-3j8fp70xy6] {
    width: 100%;
    color: inherit;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

button.stat-tile[b-3j8fp70xy6] {
    appearance: none;
}

.stat-tile.is-clickable[b-3j8fp70xy6]::after {
    content: "View ›";
    justify-self: end;
    margin-top: 0.15rem;
    color: var(--app-accent);
    font-size: 0.78rem;
    font-weight: 600;
}

.stat-tile.accent.is-clickable[b-3j8fp70xy6]::after {
    color: rgb(255 255 255 / 90%);
}

.stat-tile.credit.is-clickable[b-3j8fp70xy6]::after {
    color: var(--app-credit-accent);
}

.stat-tile.is-clickable:hover[b-3j8fp70xy6],
.stat-tile.is-clickable:focus-visible[b-3j8fp70xy6] {
    border-color: var(--app-accent);
    box-shadow: 0 10px 24px rgb(0 0 0 / 18%);
    transform: translateY(-2px);
}

.stat-tile.credit.is-clickable:hover[b-3j8fp70xy6],
.stat-tile.credit.is-clickable:focus-visible[b-3j8fp70xy6] {
    border-color: var(--app-credit-accent);
}

.stat-tile.is-clickable:focus-visible[b-3j8fp70xy6] {
    outline: 2px solid var(--app-foreground);
    outline-offset: 2px;
}

/* Credit card details popup. */
.dialog-backdrop[b-3j8fp70xy6] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.detail-dialog[b-3j8fp70xy6] {
    width: min(100%, 760px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--app-foreground);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow);
}

.detail-header[b-3j8fp70xy6] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.detail-header h2[b-3j8fp70xy6] {
    margin: 0;
    font-size: 1.25rem;
}

.detail-header p[b-3j8fp70xy6] {
    margin: 0.3rem 0 0;
    color: var(--app-text-muted);
    font-size: 0.88rem;
}

.close-button[b-3j8fp70xy6] {
    width: 2rem;
    height: 2rem;
    border: 0;
    color: var(--app-foreground);
    background: transparent;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.detail-table tfoot th[b-3j8fp70xy6] {
    border-bottom: 0;
    color: var(--app-foreground);
    font-size: 0.88rem;
    letter-spacing: 0;
    text-transform: none;
}

.detail-actions[b-3j8fp70xy6] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}

.detail-link[b-3j8fp70xy6] {
    color: var(--app-accent);
    font-weight: 600;
}

.secondary-button[b-3j8fp70xy6] {
    padding: 0.55rem 1rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    cursor: pointer;
    font: inherit;
}

.panel-grid[b-3j8fp70xy6] {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel[b-3j8fp70xy6] {
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow);
}

.panel h2[b-3j8fp70xy6] {
    margin: 0;
    font-size: 1.1rem;
}

.panel-subtitle[b-3j8fp70xy6] {
    margin: 0.2rem 0 1rem;
    color: var(--app-text-muted);
    font-size: 0.85rem;
}

/* 7-day bar chart: one series, thin bars with rounded tops anchored to a recessive baseline. */
.week-chart[b-3j8fp70xy6] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    height: 200px;
    align-items: end;
    border-bottom: 1px solid var(--app-glass-border);
}

.week-bar-slot[b-3j8fp70xy6] {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    justify-items: center;
}

.week-bar-track[b-3j8fp70xy6] {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.week-bar[b-3j8fp70xy6] {
    width: min(28px, 60%);
    min-height: 2px;
    border-radius: 4px 4px 0 0;
    background: var(--app-accent);
    opacity: 0.55;
    transition: opacity 120ms ease;
}

.week-bar.today[b-3j8fp70xy6] {
    opacity: 1;
}

.week-value[b-3j8fp70xy6] {
    color: var(--app-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.week-value.hover-only[b-3j8fp70xy6] {
    visibility: hidden;
}

.week-day[b-3j8fp70xy6] {
    position: absolute;
    bottom: -1.5rem;
    color: var(--app-text-muted);
    font-size: 0.75rem;
}

.week-tooltip[b-3j8fp70xy6] {
    position: absolute;
    bottom: calc(100% + 0.25rem);
    z-index: 2;
    display: none;
    padding: 0.35rem 0.55rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 6px;
    color: var(--app-foreground);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow);
    font-size: 0.78rem;
    white-space: nowrap;
}

.week-bar-slot:hover .week-bar[b-3j8fp70xy6] {
    opacity: 1;
}

.week-bar-slot:hover .week-value.hover-only[b-3j8fp70xy6] {
    visibility: visible;
}

.week-bar-slot:hover .week-tooltip[b-3j8fp70xy6] {
    display: block;
}

/* Room for the day labels under the baseline. */
.panel .week-chart[b-3j8fp70xy6] {
    margin-bottom: 1.75rem;
}

.top-items[b-3j8fp70xy6] {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-item-row[b-3j8fp70xy6] {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.3rem;
}

.top-item-name[b-3j8fp70xy6] {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-item-value[b-3j8fp70xy6] {
    font-variant-numeric: tabular-nums;
}

.top-item-track[b-3j8fp70xy6] {
    height: 8px;
    border-radius: 4px;
    background: var(--app-glass-surface);
}

.top-item-bar[b-3j8fp70xy6] {
    height: 100%;
    min-width: 2px;
    border-radius: 4px;
    background: var(--app-accent);
}

.top-items small[b-3j8fp70xy6] {
    color: var(--app-text-muted);
    font-size: 0.78rem;
}

.table-container[b-3j8fp70xy6] {
    overflow-x: auto;
}

.recent-table[b-3j8fp70xy6] {
    width: 100%;
    margin-top: 0.75rem;
    border-collapse: collapse;
}

.recent-table th[b-3j8fp70xy6],
.recent-table td[b-3j8fp70xy6] {
    padding: 0.6rem 0.7rem;
    border-bottom: 1px solid var(--app-glass-border);
    text-align: left;
}

.recent-table th[b-3j8fp70xy6] {
    color: var(--app-text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.recent-table .numeric[b-3j8fp70xy6] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.empty-state[b-3j8fp70xy6] {
    margin: 0.5rem 0 0;
    color: var(--app-text-muted);
}

.error-message[b-3j8fp70xy6] {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.visually-hidden[b-3j8fp70xy6] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 900px) {
    .stat-grid[b-3j8fp70xy6] {
        grid-template-columns: repeat(2, 1fr);
    }

    .panel-grid[b-3j8fp70xy6] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .detail-dialog[b-3j8fp70xy6] {
        padding: 1rem 0.75rem;
    }

    .detail-table th[b-3j8fp70xy6],
    .detail-table td[b-3j8fp70xy6] {
        padding: 0.5rem 0.35rem;
    }

    .dashboard[b-3j8fp70xy6] {
        padding: 0.75rem 0;
    }

    .pickers[b-3j8fp70xy6] {
        width: 100%;
    }

    .user-picker[b-3j8fp70xy6] {
        flex: 1 1 10rem;
        min-width: 0;
    }

    .stat-grid[b-3j8fp70xy6] {
        gap: 0.6rem;
    }

    .stat-tile[b-3j8fp70xy6] {
        padding: 0.75rem 0.85rem;
    }

    .stat-tile strong[b-3j8fp70xy6] {
        font-size: 1.25rem;
    }

    .panel[b-3j8fp70xy6] {
        padding: 1rem;
    }
}
/* /Components/Pages/PgAuth.razor.rz.scp.css */
.auth-page[b-xgipf4e7a8] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-xgipf4e7a8],
.dialog-header[b-xgipf4e7a8],
.dialog-actions[b-xgipf4e7a8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-xgipf4e7a8] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-xgipf4e7a8],
.dialog-header h2[b-xgipf4e7a8] {
    margin: 0;
}

.page-header p[b-xgipf4e7a8] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-xgipf4e7a8] {
    overflow-x: auto;
}

.auth-table[b-xgipf4e7a8] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.auth-table th[b-xgipf4e7a8],
.auth-table td[b-xgipf4e7a8] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
    vertical-align: top;
}

.auth-table th[b-xgipf4e7a8] {
    background: var(--app-surface-raised);
}

.actions-cell[b-xgipf4e7a8] {
    white-space: nowrap;
}

.empty-state[b-xgipf4e7a8] {
    padding: 2rem;
    color: var(--app-text-muted);
    text-align: center;
}

.primary-button[b-xgipf4e7a8],
.secondary-button[b-xgipf4e7a8],
.close-button[b-xgipf4e7a8] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-xgipf4e7a8],
.secondary-button[b-xgipf4e7a8] {
    padding: 0.6rem 1rem;
}

.primary-button[b-xgipf4e7a8] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 7px 20px rgb(37 139 210 / 28%), inset 0 1px rgb(255 255 255 / 22%);
}

.secondary-button[b-xgipf4e7a8] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-xgipf4e7a8] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-xgipf4e7a8] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.auth-dialog[b-xgipf4e7a8] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--app-foreground);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-xgipf4e7a8] {
    margin-bottom: 1.25rem;
}

.close-button[b-xgipf4e7a8] {
    width: 2rem;
    height: 2rem;
    color: var(--app-foreground);
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
}

.form-grid[b-xgipf4e7a8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-xgipf4e7a8] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid input[b-xgipf4e7a8],
.form-grid select[b-xgipf4e7a8] {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.form-grid .checkbox-label[b-xgipf4e7a8] {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-grid .checkbox-label input[b-xgipf4e7a8] {
    width: auto;
    min-height: auto;
}

.form-grid option[b-xgipf4e7a8] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.dialog-actions[b-xgipf4e7a8] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-xgipf4e7a8],
.status-message[b-xgipf4e7a8] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-xgipf4e7a8] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-xgipf4e7a8] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.visually-hidden[b-xgipf4e7a8] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 600px) {
    .auth-page[b-xgipf4e7a8] {
        padding: 0.75rem 0;
    }

    .form-grid[b-xgipf4e7a8] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/PgBusiness.razor.rz.scp.css */
.business-page[b-2i283ll4ge] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-2i283ll4ge],
.dialog-header[b-2i283ll4ge],
.dialog-actions[b-2i283ll4ge] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-2i283ll4ge] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-2i283ll4ge],
.dialog-header h2[b-2i283ll4ge] {
    margin: 0;
}

.page-header p[b-2i283ll4ge] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-2i283ll4ge] {
    overflow-x: auto;
}

.business-table[b-2i283ll4ge] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.business-table th[b-2i283ll4ge],
.business-table td[b-2i283ll4ge] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
    vertical-align: top;
}

.business-table th[b-2i283ll4ge] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.actions-cell[b-2i283ll4ge] {
    white-space: nowrap;
}

.empty-state[b-2i283ll4ge] {
    padding: 2rem;
    text-align: center;
    color: var(--app-text-muted);
}

.primary-button[b-2i283ll4ge],
.secondary-button[b-2i283ll4ge],
.close-button[b-2i283ll4ge] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-2i283ll4ge],
.secondary-button[b-2i283ll4ge] {
    padding: 0.6rem 1rem;
}

.primary-button[b-2i283ll4ge] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 7px 20px rgb(37 139 210 / 28%), inset 0 1px rgb(255 255 255 / 22%);
}

.secondary-button[b-2i283ll4ge] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-2i283ll4ge] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-2i283ll4ge] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.business-dialog[b-2i283ll4ge] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--neutral-foreground-rest);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-2i283ll4ge] {
    margin-bottom: 1.25rem;
}

.close-button[b-2i283ll4ge] {
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--neutral-foreground-rest);
    background: transparent;
}

.form-grid[b-2i283ll4ge] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-2i283ll4ge] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid[b-2i283ll4ge]  input,
.form-grid[b-2i283ll4ge]  select {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.form-grid option[b-2i283ll4ge] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.full-width[b-2i283ll4ge] {
    grid-column: 1 / -1;
}

.dialog-actions[b-2i283ll4ge] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-2i283ll4ge],
.status-message[b-2i283ll4ge] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-2i283ll4ge] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-2i283ll4ge] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.visually-hidden[b-2i283ll4ge] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 600px) {
    .business-page[b-2i283ll4ge] {
        padding: 0.75rem 0;
    }

    .form-grid[b-2i283ll4ge] {
        grid-template-columns: 1fr;
    }

    .full-width[b-2i283ll4ge] {
        grid-column: auto;
    }
}

.numeric[b-2i283ll4ge] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}


.form-grid .checkbox-label[b-2i283ll4ge] {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-grid .checkbox-label input[b-2i283ll4ge] {
    width: auto;
    min-height: auto;
}

.access-badge[b-2i283ll4ge] {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.access-badge.active[b-2i283ll4ge] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.access-badge.trial[b-2i283ll4ge] {
    color: var(--app-accent);
    background: var(--app-nav-active);
}

.access-badge.expired[b-2i283ll4ge] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}
/* /Components/Pages/PgCashEntery1.razor.rz.scp.css */
.cash-page[b-qghff6jxpz] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-qghff6jxpz],
.dialog-header[b-qghff6jxpz],
.dialog-actions[b-qghff6jxpz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-qghff6jxpz] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-qghff6jxpz],
.dialog-header h2[b-qghff6jxpz] {
    margin: 0;
}

.page-header p[b-qghff6jxpz] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-qghff6jxpz] {
    overflow-x: auto;
}

.cash-table[b-qghff6jxpz] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.cash-table th[b-qghff6jxpz],
.cash-table td[b-qghff6jxpz] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
    vertical-align: top;
}

.cash-table th[b-qghff6jxpz] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.actions-cell[b-qghff6jxpz] {
    white-space: nowrap;
}

.empty-state[b-qghff6jxpz] {
    padding: 2rem;
    text-align: center;
    color: var(--app-text-muted);
}

.primary-button[b-qghff6jxpz],
.secondary-button[b-qghff6jxpz],
.close-button[b-qghff6jxpz] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-qghff6jxpz],
.secondary-button[b-qghff6jxpz] {
    padding: 0.6rem 1rem;
}

.primary-button[b-qghff6jxpz] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 7px 20px rgb(37 139 210 / 28%), inset 0 1px rgb(255 255 255 / 22%);
}

.secondary-button[b-qghff6jxpz] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-qghff6jxpz] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-qghff6jxpz] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.cash-dialog[b-qghff6jxpz] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--neutral-foreground-rest);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-qghff6jxpz] {
    margin-bottom: 1.25rem;
}

.close-button[b-qghff6jxpz] {
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--neutral-foreground-rest);
    background: transparent;
}

.form-grid[b-qghff6jxpz] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-qghff6jxpz] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid[b-qghff6jxpz]  input,
.form-grid[b-qghff6jxpz]  select {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.form-grid option[b-qghff6jxpz] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.full-width[b-qghff6jxpz] {
    grid-column: 1 / -1;
}

.dialog-actions[b-qghff6jxpz] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-qghff6jxpz],
.status-message[b-qghff6jxpz] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-qghff6jxpz] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-qghff6jxpz] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.visually-hidden[b-qghff6jxpz] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 600px) {
    .cash-page[b-qghff6jxpz] {
        padding: 0.75rem 0;
    }

    .form-grid[b-qghff6jxpz] {
        grid-template-columns: 1fr;
    }

    .full-width[b-qghff6jxpz] {
        grid-column: auto;
    }
}

.item-grid[b-qghff6jxpz] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.item-card[b-qghff6jxpz] {
    display: grid;
    place-items: center;
    gap: 0.5rem;
    min-height: 150px;
    padding: 1rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    color: var(--app-foreground);
    /* Frosted-glass tile: a translucent surface with a light top sheen over the blurred page behind it. */
    background:
        linear-gradient(160deg, rgb(255 255 255 / 16%), rgb(255 255 255 / 2%) 55%),
        var(--app-glass-surface);
    backdrop-filter: blur(14px);
    box-shadow: 0 6px 18px rgb(0 0 0 / 12%), inset 0 1px rgb(255 255 255 / 18%);
    cursor: pointer;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    overflow-wrap: anywhere;
    transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.item-image[b-qghff6jxpz] {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgb(0 0 0 / 18%));
    transition: transform 150ms ease;
}

.item-card:hover .item-image[b-qghff6jxpz],
.item-card:focus-visible .item-image[b-qghff6jxpz] {
    transform: scale(1.08);
}

.item-card:hover[b-qghff6jxpz],
.item-card:focus-visible[b-qghff6jxpz] {
    transform: translateY(-2px);
    border-color: var(--app-nav-accent);
    background: var(--app-nav-hover);
}

.item-card:focus-visible[b-qghff6jxpz] {
    outline: 2px solid var(--app-nav-accent);
    outline-offset: 2px;
}

.entry-summary[b-qghff6jxpz] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1rem;
    margin: 0 0 1.25rem;
    color: var(--app-text-muted);
}

.entry-summary dd[b-qghff6jxpz] {
    margin: 0;
    color: var(--app-foreground);
    font-weight: 600;
}

.quick-qty[b-qghff6jxpz] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3.5rem, 1fr));
    gap: 0.5rem;
}

.qty-chip[b-qghff6jxpz] {
    min-height: 2.75rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 10px;
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    cursor: pointer;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    transition: background 150ms ease, border-color 150ms ease;
}

.qty-chip:hover[b-qghff6jxpz],
.qty-chip:focus-visible[b-qghff6jxpz] {
    border-color: var(--app-nav-accent);
    background: var(--app-nav-hover);
}

.qty-chip.selected[b-qghff6jxpz] {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
}

@media (max-width: 600px) {
    .item-card[b-qghff6jxpz] {
        min-height: 112px;
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .item-image[b-qghff6jxpz] {
        width: 52px;
        height: 52px;
    }

    .quick-qty[b-qghff6jxpz] {
        grid-template-columns: repeat(3, 1fr);
    }

    .item-grid[b-qghff6jxpz] {
        grid-template-columns: repeat(2, 1fr);
    }
}

.field-hint[b-qghff6jxpz] {
    color: var(--app-text-muted);
    font-size: 0.8rem;
    font-weight: 400;
}

/* Day sales */
.day-sales[b-qghff6jxpz] {
    margin-top: 2rem;
    padding: 1.25rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    background:
        linear-gradient(160deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 0%) 45%),
        var(--app-surface);
    box-shadow: var(--app-shadow);
    backdrop-filter: blur(14px);
}

.day-sales-header[b-qghff6jxpz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.day-sales-header h2[b-qghff6jxpz] {
    margin: 0;
    font-size: 1.25rem;
}

.day-sales-header p[b-qghff6jxpz] {
    margin: 0.2rem 0 0;
    color: var(--app-text-muted);
}

.day-picker[b-qghff6jxpz] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.day-picker input[type="date"][b-qghff6jxpz] {
    min-height: 2.5rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--app-input-border);
    border-radius: 8px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.icon-button[b-qghff6jxpz] {
    min-width: 2.5rem;
    padding: 0.4rem 0.6rem;
    font-size: 1.25rem;
    line-height: 1;
}

.read-only-note[b-qghff6jxpz] {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 999px;
    color: var(--app-text-muted);
    background: var(--app-glass-surface);
    font-size: 0.85rem;
}

.day-summary[b-qghff6jxpz] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.summary-tile[b-qghff6jxpz] {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 12px;
    background: var(--app-glass-surface);
}

.summary-tile span[b-qghff6jxpz] {
    color: var(--app-text-muted);
    font-size: 0.8rem;
}

.summary-tile strong[b-qghff6jxpz] {
    font-size: 1.3rem;
    font-variant-numeric: tabular-nums;
}

.summary-tile.accent[b-qghff6jxpz] {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
}

.summary-tile.accent span[b-qghff6jxpz] {
    color: rgb(255 255 255 / 85%);
}

.sales-table[b-qghff6jxpz] {
    width: 100%;
    min-width: 680px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--app-glass-border);
    border-radius: 12px;
    overflow: hidden;
}

.sales-table th[b-qghff6jxpz],
.sales-table td[b-qghff6jxpz] {
    padding: 0.7rem 0.8rem;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--app-glass-border);
}

.sales-table thead th[b-qghff6jxpz] {
    position: sticky;
    top: 0;
    color: var(--app-text-muted);
    background: var(--app-surface-raised);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sales-table tbody tr:nth-child(even)[b-qghff6jxpz] {
    background: var(--app-glass-surface);
}

.sales-table tbody tr:hover[b-qghff6jxpz] {
    background: var(--app-nav-hover);
}

.sales-table tfoot td[b-qghff6jxpz] {
    border-bottom: 0;
    background: var(--app-surface-raised);
    font-weight: 700;
}

.sales-table .numeric[b-qghff6jxpz] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.time-cell[b-qghff6jxpz] {
    white-space: nowrap;
    color: var(--app-text-muted);
    font-variant-numeric: tabular-nums;
}

.item-cell[b-qghff6jxpz] {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.item-cell img[b-qghff6jxpz] {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.amount-pill[b-qghff6jxpz] {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    color: var(--app-success-text);
    background: var(--app-success-surface);
    font-weight: 700;
}

.muted[b-qghff6jxpz] {
    color: var(--app-text-muted);
}

.cell-no[b-qghff6jxpz] {
    display: block;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .day-sales[b-qghff6jxpz] {
        padding: 1rem;
    }

    .day-summary[b-qghff6jxpz] {
        grid-template-columns: 1fr 1fr;
    }

    .summary-tile.accent[b-qghff6jxpz] {
        grid-column: 1 / -1;
    }
}

.item-filter[b-qghff6jxpz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
    overflow-x: auto;
}

.filter-chip[b-qghff6jxpz] {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    padding: 0.3rem 0.75rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 999px;
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-chip img[b-qghff6jxpz] {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.filter-chip:hover[b-qghff6jxpz],
.filter-chip:focus-visible[b-qghff6jxpz] {
    border-color: var(--app-nav-accent);
    background: var(--app-nav-hover);
}

.filter-chip.selected[b-qghff6jxpz] {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
}

.filter-count[b-qghff6jxpz] {
    min-width: 1.4rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgb(0 0 0 / 14%);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 600px) {
    /* On phones keep the chips on one swipeable row instead of several wrapped rows. */
    .item-filter[b-qghff6jxpz] {
        flex-wrap: nowrap;
        margin-right: -1rem;
        padding-right: 1rem;
    }
}

.print-only[b-qghff6jxpz] {
    display: none;
}

/* Print / Save as PDF: only the day's report, in black on white. */
@media print {
    .page-header[b-qghff6jxpz],
    .status-message[b-qghff6jxpz],
    .error-message[b-qghff6jxpz],
    .item-grid[b-qghff6jxpz],
    .day-sales-header[b-qghff6jxpz],
    .read-only-note[b-qghff6jxpz],
    .item-filter[b-qghff6jxpz],
    .actions-cell[b-qghff6jxpz],
    .day-sales > .empty-state[b-qghff6jxpz] {
        display: none !important;
    }

    .print-only[b-qghff6jxpz] {
        display: block;
    }

    .print-heading[b-qghff6jxpz] {
        display: grid;
        gap: 0.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid #000;
    }

    .print-heading strong[b-qghff6jxpz] {
        font-size: 1.3rem;
    }

    .cash-page[b-qghff6jxpz],
    .day-sales[b-qghff6jxpz] {
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: none;
        backdrop-filter: none;
    }

    .day-summary[b-qghff6jxpz] {
        grid-template-columns: repeat(3, 1fr);
    }

    .summary-tile[b-qghff6jxpz],
    .summary-tile.accent[b-qghff6jxpz] {
        border: 1px solid #000;
    }

    .table-container[b-qghff6jxpz] {
        overflow: visible;
    }

    .sales-table[b-qghff6jxpz] {
        min-width: 0;
        border: 1px solid #000;
        border-radius: 0;
    }

    .sales-table th[b-qghff6jxpz],
    .sales-table td[b-qghff6jxpz] {
        border-bottom: 1px solid #999;
        white-space: normal;
    }

    .sales-table thead th[b-qghff6jxpz] {
        position: static;
    }

    .sales-table tr[b-qghff6jxpz] {
        break-inside: avoid;
    }

    .amount-pill[b-qghff6jxpz] {
        padding: 0;
    }
}
/* /Components/Pages/PgCashEntry.razor.rz.scp.css */
.cash-page[b-e5ulxwahjp] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-e5ulxwahjp],
.dialog-header[b-e5ulxwahjp],
.dialog-actions[b-e5ulxwahjp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-e5ulxwahjp] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-e5ulxwahjp],
.dialog-header h2[b-e5ulxwahjp] {
    margin: 0;
}

.page-header p[b-e5ulxwahjp] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-e5ulxwahjp] {
    overflow-x: auto;
}

.cash-table[b-e5ulxwahjp] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.cash-table th[b-e5ulxwahjp],
.cash-table td[b-e5ulxwahjp] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
    vertical-align: top;
}

.cash-table th[b-e5ulxwahjp] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.actions-cell[b-e5ulxwahjp] {
    white-space: nowrap;
}

.empty-state[b-e5ulxwahjp] {
    padding: 2rem;
    text-align: center;
    color: var(--app-text-muted);
}

.primary-button[b-e5ulxwahjp],
.secondary-button[b-e5ulxwahjp],
.close-button[b-e5ulxwahjp] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-e5ulxwahjp],
.secondary-button[b-e5ulxwahjp] {
    padding: 0.6rem 1rem;
}

.primary-button[b-e5ulxwahjp] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 7px 20px rgb(37 139 210 / 28%), inset 0 1px rgb(255 255 255 / 22%);
}

.secondary-button[b-e5ulxwahjp] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-e5ulxwahjp] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-e5ulxwahjp] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.cash-dialog[b-e5ulxwahjp] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--neutral-foreground-rest);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-e5ulxwahjp] {
    margin-bottom: 1.25rem;
}

.close-button[b-e5ulxwahjp] {
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--neutral-foreground-rest);
    background: transparent;
}

.form-grid[b-e5ulxwahjp] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-e5ulxwahjp] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid[b-e5ulxwahjp]  input,
.form-grid[b-e5ulxwahjp]  select {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.form-grid option[b-e5ulxwahjp] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.full-width[b-e5ulxwahjp] {
    grid-column: 1 / -1;
}

.dialog-actions[b-e5ulxwahjp] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-e5ulxwahjp],
.status-message[b-e5ulxwahjp] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-e5ulxwahjp] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-e5ulxwahjp] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.visually-hidden[b-e5ulxwahjp] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 600px) {
    .cash-page[b-e5ulxwahjp] {
        padding: 0.75rem 0;
    }

    .form-grid[b-e5ulxwahjp] {
        grid-template-columns: 1fr;
    }

    .full-width[b-e5ulxwahjp] {
        grid-column: auto;
    }
}

.numeric[b-e5ulxwahjp] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cash-table tfoot td[b-e5ulxwahjp] {
    font-weight: 700;
    border-top: 1px solid var(--app-glass-border);
}

.field-hint[b-e5ulxwahjp] {
    color: var(--app-text-muted);
    font-size: 0.8rem;
    font-weight: 400;
}
/* /Components/Pages/PgCreditEntry.razor.rz.scp.css */
.credit-page[b-l4jjvpmyje] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-l4jjvpmyje],
.dialog-header[b-l4jjvpmyje],
.dialog-actions[b-l4jjvpmyje] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-l4jjvpmyje] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-l4jjvpmyje],
.dialog-header h2[b-l4jjvpmyje] {
    margin: 0;
}

.page-header p[b-l4jjvpmyje] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-l4jjvpmyje] {
    overflow-x: auto;
}

.credit-table[b-l4jjvpmyje] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.credit-table th[b-l4jjvpmyje],
.credit-table td[b-l4jjvpmyje] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
    vertical-align: top;
}

.credit-table th[b-l4jjvpmyje] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.actions-cell[b-l4jjvpmyje] {
    white-space: nowrap;
}

.empty-state[b-l4jjvpmyje] {
    padding: 2rem;
    text-align: center;
    color: var(--app-text-muted);
}

.primary-button[b-l4jjvpmyje],
.secondary-button[b-l4jjvpmyje],
.close-button[b-l4jjvpmyje] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-l4jjvpmyje],
.secondary-button[b-l4jjvpmyje] {
    padding: 0.6rem 1rem;
}

.primary-button[b-l4jjvpmyje] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 7px 20px rgb(37 139 210 / 28%), inset 0 1px rgb(255 255 255 / 22%);
}

.secondary-button[b-l4jjvpmyje] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-l4jjvpmyje] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-l4jjvpmyje] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.credit-dialog[b-l4jjvpmyje] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--neutral-foreground-rest);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-l4jjvpmyje] {
    margin-bottom: 1.25rem;
}

.close-button[b-l4jjvpmyje] {
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--neutral-foreground-rest);
    background: transparent;
}

.form-grid[b-l4jjvpmyje] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-l4jjvpmyje] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid[b-l4jjvpmyje]  input,
.form-grid[b-l4jjvpmyje]  select {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.form-grid option[b-l4jjvpmyje] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.full-width[b-l4jjvpmyje] {
    grid-column: 1 / -1;
}

.dialog-actions[b-l4jjvpmyje] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-l4jjvpmyje],
.status-message[b-l4jjvpmyje] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-l4jjvpmyje] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-l4jjvpmyje] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.visually-hidden[b-l4jjvpmyje] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}


.numeric[b-l4jjvpmyje] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.summary-line[b-l4jjvpmyje] {
    margin: 0 0 1rem;
    color: var(--app-text-muted);
}

.state-badge[b-l4jjvpmyje] {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 999px;
    color: var(--app-text-muted);
    background: var(--app-glass-surface);
    font-size: 0.8rem;
    white-space: nowrap;
}

.form-grid .checkbox-label[b-l4jjvpmyje] {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-grid .checkbox-label input[b-l4jjvpmyje] {
    width: auto;
    min-height: auto;
}

.state-badge.is-active[b-l4jjvpmyje] {
    border-color: transparent;
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

@media (max-width: 600px) {
    .credit-page[b-l4jjvpmyje] {
        padding: 0.75rem 0;
    }

    .form-grid[b-l4jjvpmyje] {
        grid-template-columns: 1fr;
    }

    .full-width[b-l4jjvpmyje] {
        grid-column: auto;
    }
}

.field-hint[b-l4jjvpmyje] {
    margin: 0 0 1rem;
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.billing-switch[b-l4jjvpmyje] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
}

.billing-switch input[b-l4jjvpmyje] {
    width: 1.1rem;
    height: 1.1rem;
    margin: 0;
    accent-color: var(--app-accent);
    cursor: pointer;
}

.bulk-dialog[b-l4jjvpmyje] {
    width: min(100%, 720px);
}

.bulk-defaults[b-l4jjvpmyje] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bulk-defaults label[b-l4jjvpmyje] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.bulk-defaults input[b-l4jjvpmyje],
.bulk-input[b-l4jjvpmyje] {
    width: 7rem;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.bulk-input[b-l4jjvpmyje] {
    width: 5.5rem;
    text-align: right;
}

.bulk-table td[b-l4jjvpmyje] {
    vertical-align: middle;
}

.bulk-table input[type="checkbox"][b-l4jjvpmyje] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--app-accent);
}

.bulk-table .is-unselected td[b-l4jjvpmyje] {
    opacity: 0.55;
}

.customer-name[b-l4jjvpmyje] {
    display: block;
    font-weight: 600;
}

.customer-meta[b-l4jjvpmyje] {
    display: block;
    color: var(--app-text-muted);
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .bulk-dialog[b-l4jjvpmyje] {
        padding: 1rem;
    }

    .bulk-table th[b-l4jjvpmyje],
    .bulk-table td[b-l4jjvpmyje] {
        padding: 0.55rem 0.3rem;
    }

    .bulk-table th:first-child[b-l4jjvpmyje],
    .bulk-table td:first-child[b-l4jjvpmyje] {
        padding-left: 0.55rem;
    }

    .bulk-table td:nth-child(2)[b-l4jjvpmyje] {
        overflow-wrap: anywhere;
    }

    .bulk-input[b-l4jjvpmyje] {
        width: 3.9rem;
        padding: 0.45rem 0.3rem;
    }

    .bulk-defaults input[b-l4jjvpmyje] {
        width: 6rem;
    }
}
/* /Components/Pages/PgCustomer.razor.rz.scp.css */
.customer-page[b-sjp2wg8m4o] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-sjp2wg8m4o],
.dialog-header[b-sjp2wg8m4o],
.dialog-actions[b-sjp2wg8m4o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-sjp2wg8m4o] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-sjp2wg8m4o],
.dialog-header h2[b-sjp2wg8m4o] {
    margin: 0;
}

.page-header p[b-sjp2wg8m4o] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-sjp2wg8m4o] {
    overflow-x: auto;
}

.customer-table[b-sjp2wg8m4o] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.customer-table th[b-sjp2wg8m4o],
.customer-table td[b-sjp2wg8m4o] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
    vertical-align: top;
}

.customer-table th[b-sjp2wg8m4o] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.actions-cell[b-sjp2wg8m4o] {
    white-space: nowrap;
}

.empty-state[b-sjp2wg8m4o] {
    padding: 2rem;
    text-align: center;
    color: var(--app-text-muted);
}

.primary-button[b-sjp2wg8m4o],
.secondary-button[b-sjp2wg8m4o],
.close-button[b-sjp2wg8m4o] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-sjp2wg8m4o],
.secondary-button[b-sjp2wg8m4o] {
    padding: 0.6rem 1rem;
}

.primary-button[b-sjp2wg8m4o] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 7px 20px rgb(37 139 210 / 28%), inset 0 1px rgb(255 255 255 / 22%);
}

.secondary-button[b-sjp2wg8m4o] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-sjp2wg8m4o] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-sjp2wg8m4o] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.customer-dialog[b-sjp2wg8m4o] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--neutral-foreground-rest);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-sjp2wg8m4o] {
    margin-bottom: 1.25rem;
}

.close-button[b-sjp2wg8m4o] {
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--neutral-foreground-rest);
    background: transparent;
}

.form-grid[b-sjp2wg8m4o] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-sjp2wg8m4o] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid[b-sjp2wg8m4o]  input,
.form-grid[b-sjp2wg8m4o]  select {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.form-grid option[b-sjp2wg8m4o] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.full-width[b-sjp2wg8m4o] {
    grid-column: 1 / -1;
}

.dialog-actions[b-sjp2wg8m4o] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-sjp2wg8m4o],
.status-message[b-sjp2wg8m4o] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-sjp2wg8m4o] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-sjp2wg8m4o] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.visually-hidden[b-sjp2wg8m4o] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 600px) {
    .customer-page[b-sjp2wg8m4o] {
        padding: 0.75rem 0;
    }

    .form-grid[b-sjp2wg8m4o] {
        grid-template-columns: 1fr;
    }

    .full-width[b-sjp2wg8m4o] {
        grid-column: auto;
    }
}
/* /Components/Pages/PgItem.razor.rz.scp.css */
.item-page[b-pqqhjur3jd] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-pqqhjur3jd],
.dialog-header[b-pqqhjur3jd],
.dialog-actions[b-pqqhjur3jd] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-pqqhjur3jd] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-pqqhjur3jd],
.dialog-header h2[b-pqqhjur3jd] {
    margin: 0;
}

.page-header p[b-pqqhjur3jd] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-pqqhjur3jd] {
    overflow-x: auto;
}

.item-table[b-pqqhjur3jd] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.item-table th[b-pqqhjur3jd],
.item-table td[b-pqqhjur3jd] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
    vertical-align: top;
}

.item-table th[b-pqqhjur3jd] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.actions-cell[b-pqqhjur3jd] {
    white-space: nowrap;
}

.empty-state[b-pqqhjur3jd] {
    padding: 2rem;
    text-align: center;
    color: var(--app-text-muted);
}

.primary-button[b-pqqhjur3jd],
.secondary-button[b-pqqhjur3jd],
.close-button[b-pqqhjur3jd] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-pqqhjur3jd],
.secondary-button[b-pqqhjur3jd] {
    padding: 0.6rem 1rem;
}

.primary-button[b-pqqhjur3jd] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 7px 20px rgb(37 139 210 / 28%), inset 0 1px rgb(255 255 255 / 22%);
}

.secondary-button[b-pqqhjur3jd] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-pqqhjur3jd] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-pqqhjur3jd] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.item-dialog[b-pqqhjur3jd] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--neutral-foreground-rest);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-pqqhjur3jd] {
    margin-bottom: 1.25rem;
}

.close-button[b-pqqhjur3jd] {
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--neutral-foreground-rest);
    background: transparent;
}

.form-grid[b-pqqhjur3jd] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-pqqhjur3jd] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid[b-pqqhjur3jd]  input,
.form-grid[b-pqqhjur3jd]  select {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.form-grid option[b-pqqhjur3jd] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.full-width[b-pqqhjur3jd] {
    grid-column: 1 / -1;
}

.dialog-actions[b-pqqhjur3jd] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-pqqhjur3jd],
.status-message[b-pqqhjur3jd] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-pqqhjur3jd] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-pqqhjur3jd] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.visually-hidden[b-pqqhjur3jd] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 600px) {
    .item-page[b-pqqhjur3jd] {
        padding: 0.75rem 0;
    }

    .form-grid[b-pqqhjur3jd] {
        grid-template-columns: 1fr;
    }

    .full-width[b-pqqhjur3jd] {
        grid-column: auto;
    }
}

.numeric[b-pqqhjur3jd] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* /Components/Pages/PgLogin.razor.rz.scp.css */
/* Glassy sign-in: a frosted card over the themed background and three soft colour glows.
   All colours come from the theme tokens in app.css, so light and dark both work. */
.login-page[b-aeb5tre4se] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1.5rem;
    overflow: hidden;
    isolation: isolate;
    color: var(--app-foreground);
    background:
        radial-gradient(ellipse at 15% 10%, rgb(38 139 210 / 26%), transparent 40rem),
        radial-gradient(ellipse at 85% 90%, rgb(113 77 183 / 22%), transparent 38rem),
        linear-gradient(145deg, var(--app-background), var(--app-background-secondary) 60%, var(--app-background));
}

.login-glow[b-aeb5tre4se] {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    animation: drift-b-aeb5tre4se 18s ease-in-out infinite alternate;
}

.glow-one[b-aeb5tre4se] {
    top: -8rem;
    left: -6rem;
    width: 26rem;
    height: 26rem;
    background: var(--app-accent);
}

.glow-two[b-aeb5tre4se] {
    right: -8rem;
    bottom: -10rem;
    width: 30rem;
    height: 30rem;
    background: #7c5cd6;
    animation-duration: 22s;
}

.glow-three[b-aeb5tre4se] {
    top: 55%;
    left: 55%;
    width: 16rem;
    height: 16rem;
    background: #2fbf9f;
    opacity: 0.35;
    animation-duration: 26s;
}

@keyframes drift-b-aeb5tre4se {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(3rem, 2rem) scale(1.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-glow[b-aeb5tre4se] {
        animation: none;
    }
}

.login-card[b-aeb5tre4se] {
    position: relative;
    width: 100%;
    max-width: 26rem;
    padding: 2.25rem 2.25rem 1.75rem;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 24px;
    background:
        linear-gradient(155deg, rgb(255 255 255 / 16%), rgb(255 255 255 / 4%) 45%, rgb(255 255 255 / 2%)),
        var(--app-glass-surface);
    box-shadow:
        0 30px 80px rgb(0 0 0 / 35%),
        inset 0 1px 0 rgb(255 255 255 / 28%),
        inset 0 0 0 1px rgb(255 255 255 / 4%);
    backdrop-filter: blur(26px) saturate(160%);
    -webkit-backdrop-filter: blur(26px) saturate(160%);
}

/* Glossy reflection along the top edge of the glass. */
.login-card[b-aeb5tre4se]::before {
    position: absolute;
    inset: 0 0 auto;
    height: 45%;
    border-radius: 24px 24px 50% 50% / 24px 24px 18px 18px;
    background: linear-gradient(180deg, rgb(255 255 255 / 12%), transparent);
    content: "";
    pointer-events: none;
}

.login-brand[b-aeb5tre4se] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.brand-badge[b-aeb5tre4se] {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 16px;
    background: linear-gradient(145deg, rgb(255 255 255 / 35%), rgb(255 255 255 / 8%));
    box-shadow: 0 8px 22px rgb(0 0 0 / 22%), inset 0 1px 0 rgb(255 255 255 / 45%);
}

.brand-badge img[b-aeb5tre4se] {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgb(0 0 0 / 25%));
}

.brand-name[b-aeb5tre4se] {
    color: var(--app-foreground);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.login-card h1[b-aeb5tre4se] {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.login-description[b-aeb5tre4se] {
    margin: 0.4rem 0 1.5rem;
    color: var(--app-text-muted);
}

.login-fields[b-aeb5tre4se] {
    display: grid;
    gap: 0.45rem;
}

.login-fields label[b-aeb5tre4se] {
    margin-top: 0.6rem;
    color: var(--app-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.input-wrap[b-aeb5tre4se] {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon[b-aeb5tre4se] {
    position: absolute;
    left: 0.85rem;
    width: 1.15rem;
    height: 1.15rem;
    fill: var(--app-text-muted);
    pointer-events: none;
}

.login-fields[b-aeb5tre4se]  input {
    width: 100%;
    min-height: 3rem;
    box-sizing: border-box;
    padding: 0.75rem 0.9rem 0.75rem 2.6rem;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 14px;
    color: var(--app-foreground);
    background: rgb(255 255 255 / 7%);
    box-shadow: inset 0 1px 2px rgb(0 0 0 / 18%);
    font: inherit;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.login-fields[b-aeb5tre4se]  input::placeholder {
    color: var(--app-text-muted);
    opacity: 0.8;
}

.login-fields[b-aeb5tre4se]  input:focus {
    border-color: var(--app-accent);
    outline: none;
    background: rgb(255 255 255 / 11%);
    box-shadow: 0 0 0 4px rgb(101 199 247 / 22%), inset 0 1px 2px rgb(0 0 0 / 12%);
}

.login-fields[b-aeb5tre4se]  input:disabled {
    opacity: 0.6;
}

/* Room for the show/hide button inside the password field. */
.login-fields[b-aeb5tre4se]  #login-password {
    padding-right: 3rem;
}

.reveal-button[b-aeb5tre4se] {
    position: absolute;
    right: 0.4rem;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 10px;
    color: var(--app-text-muted);
    background: transparent;
    cursor: pointer;
}

.reveal-button svg[b-aeb5tre4se] {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.reveal-button:hover[b-aeb5tre4se],
.reveal-button:focus-visible[b-aeb5tre4se] {
    color: var(--app-foreground);
    background: rgb(255 255 255 / 10%);
}

.login-fields[b-aeb5tre4se]  .validation-message {
    color: var(--app-danger-text);
    font-size: 0.8rem;
}

.login-error[b-aeb5tre4se] {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgb(255 110 130 / 35%);
    border-radius: 14px;
    color: var(--app-error-text);
    background: var(--app-error-surface);
    backdrop-filter: blur(8px);
    font-size: 0.9rem;
}

.login-error svg[b-aeb5tre4se] {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.1rem;
    fill: currentColor;
}

.login-button[b-aeb5tre4se] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 3.1rem;
    margin-top: 1.6rem;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 12px 28px rgb(37 139 210 / 35%), inset 0 1px 0 rgb(255 255 255 / 30%);
    cursor: pointer;
    font: inherit;
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.login-button svg[b-aeb5tre4se] {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
    transition: transform 150ms ease;
}

/* Light sweep across the button on hover. */
.login-button[b-aeb5tre4se]::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 28%) 50%, transparent 70%);
    content: "";
    transform: translateX(-120%);
    transition: transform 600ms ease;
}

.login-button:hover:not(:disabled)[b-aeb5tre4se] {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgb(37 139 210 / 45%), inset 0 1px 0 rgb(255 255 255 / 30%);
}

.login-button:hover:not(:disabled)[b-aeb5tre4se]::after {
    transform: translateX(120%);
}

.login-button:hover:not(:disabled) svg[b-aeb5tre4se] {
    transform: translateX(3px);
}

.login-button:focus-visible[b-aeb5tre4se] {
    outline: 3px solid rgb(101 199 247 / 55%);
    outline-offset: 3px;
}

.login-button:disabled[b-aeb5tre4se] {
    cursor: wait;
    filter: saturate(0.7);
    opacity: 0.85;
}

.spinner[b-aeb5tre4se] {
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid rgb(255 255 255 / 45%);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin-b-aeb5tre4se 700ms linear infinite;
}

@keyframes spin-b-aeb5tre4se {
    to {
        transform: rotate(360deg);
    }
}

.login-footnote[b-aeb5tre4se] {
    margin: 1.4rem 0 0;
    color: var(--app-text-muted);
    font-size: 0.8rem;
    text-align: center;
}

/* Light theme: a brighter, milkier glass. */
html[data-theme="light"] .login-card[b-aeb5tre4se] {
    border-color: rgb(255 255 255 / 70%);
    background:
        linear-gradient(155deg, rgb(255 255 255 / 75%), rgb(255 255 255 / 45%)),
        rgb(255 255 255 / 30%);
    box-shadow: 0 30px 70px rgb(27 51 84 / 18%), inset 0 1px 0 rgb(255 255 255 / 90%);
}

html[data-theme="light"] .login-fields[b-aeb5tre4se]  input {
    border-color: rgb(23 38 59 / 16%);
    background: rgb(255 255 255 / 70%);
    box-shadow: inset 0 1px 2px rgb(23 38 59 / 8%);
}

html[data-theme="light"] .login-fields[b-aeb5tre4se]  input:focus {
    background: #fff;
}

html[data-theme="light"] .brand-badge[b-aeb5tre4se] {
    border-color: rgb(255 255 255 / 90%);
    background: linear-gradient(145deg, #fff, rgb(220 235 250 / 80%));
}

@media (max-width: 480px) {
    .login-page[b-aeb5tre4se] {
        align-items: flex-start;
        padding: 4.5rem 1rem 1.5rem;
    }

    .login-card[b-aeb5tre4se] {
        padding: 1.75rem 1.4rem 1.4rem;
        border-radius: 20px;
    }

    .login-card h1[b-aeb5tre4se] {
        font-size: 1.7rem;
    }
}
/* /Components/Pages/PgMonth.razor.rz.scp.css */
.month-page[b-horodp1nsk] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-horodp1nsk],
.dialog-header[b-horodp1nsk],
.dialog-actions[b-horodp1nsk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-horodp1nsk] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-horodp1nsk],
.dialog-header h2[b-horodp1nsk] {
    margin: 0;
}

.page-header p[b-horodp1nsk] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-horodp1nsk] {
    overflow-x: auto;
}

.month-table[b-horodp1nsk] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.month-table th[b-horodp1nsk],
.month-table td[b-horodp1nsk] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
    vertical-align: top;
}

.month-table th[b-horodp1nsk] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.actions-cell[b-horodp1nsk] {
    white-space: nowrap;
}

.empty-state[b-horodp1nsk] {
    padding: 2rem;
    text-align: center;
    color: var(--app-text-muted);
}

.primary-button[b-horodp1nsk],
.secondary-button[b-horodp1nsk],
.close-button[b-horodp1nsk] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-horodp1nsk],
.secondary-button[b-horodp1nsk] {
    padding: 0.6rem 1rem;
}

.primary-button[b-horodp1nsk] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 7px 20px rgb(37 139 210 / 28%), inset 0 1px rgb(255 255 255 / 22%);
}

.secondary-button[b-horodp1nsk] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-horodp1nsk] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-horodp1nsk] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.month-dialog[b-horodp1nsk] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--neutral-foreground-rest);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-horodp1nsk] {
    margin-bottom: 1.25rem;
}

.close-button[b-horodp1nsk] {
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--neutral-foreground-rest);
    background: transparent;
}

.form-grid[b-horodp1nsk] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-horodp1nsk] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid[b-horodp1nsk]  input,
.form-grid[b-horodp1nsk]  select {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.form-grid option[b-horodp1nsk] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.full-width[b-horodp1nsk] {
    grid-column: 1 / -1;
}

.dialog-actions[b-horodp1nsk] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-horodp1nsk],
.status-message[b-horodp1nsk] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-horodp1nsk] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-horodp1nsk] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.visually-hidden[b-horodp1nsk] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}


.numeric[b-horodp1nsk] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.summary-line[b-horodp1nsk] {
    margin: 0 0 1rem;
    color: var(--app-text-muted);
}

.state-badge[b-horodp1nsk] {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 999px;
    color: var(--app-text-muted);
    background: var(--app-glass-surface);
    font-size: 0.8rem;
    white-space: nowrap;
}

.form-grid .checkbox-label[b-horodp1nsk] {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-grid .checkbox-label input[b-horodp1nsk] {
    width: auto;
    min-height: auto;
}

.state-badge.is-open[b-horodp1nsk] {
    border-color: transparent;
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.filter-bar[b-horodp1nsk] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-bar label[b-horodp1nsk] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.filter-bar select[b-horodp1nsk] {
    min-width: 14rem;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.notice-message[b-horodp1nsk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--app-accent);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.warning-message[b-horodp1nsk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--app-danger-text);
    border-radius: 4px;
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.field-hint[b-horodp1nsk] {
    margin: 0.75rem 0 0;
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.audit-dialog[b-horodp1nsk] {
    width: min(100%, 760px);
}

.audit-table th[b-horodp1nsk],
.audit-table td[b-horodp1nsk] {
    white-space: nowrap;
}

.audit-table tr.has-balance td:last-child[b-horodp1nsk] {
    color: var(--app-danger-text);
    font-weight: 600;
}

.cash-input[b-horodp1nsk] {
    width: 7.5rem;
    min-height: 2.25rem;
    padding: 0.35rem 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
    text-align: right;
}

.confirm-box[b-horodp1nsk] {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 8px;
    background: var(--app-glass-surface);
}

.confirm-box p[b-horodp1nsk] {
    margin: 0;
}

.confirm-box .dialog-actions[b-horodp1nsk] {
    margin-top: 1rem;
}


.muted[b-horodp1nsk] {
    color: var(--app-text-muted);
}

/* Rate under the customer name; shown only on phones, where the Qty and Price columns are hidden. */
.price-meta[b-horodp1nsk] {
    display: none;
    margin-top: 0.15rem;
    color: var(--app-text-muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

/* Days button under each customer in the audit. */
.row-controls[b-horodp1nsk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    margin-top: 0.3rem;
}

.row-controls .days-toggle[b-horodp1nsk] {
    margin-top: 0;
}

/* Pending amount from earlier months under the customer name, with a box to receive it. */
.earlier-due[b-horodp1nsk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.6rem;
    margin-top: 0.4rem;
    color: var(--app-danger-text);
    font-size: 0.85rem;
}

.earlier-due label[b-horodp1nsk] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--app-text-muted);
}

/* Pending amount under the Status badge in the months list. */
.pending-note[b-horodp1nsk] {
    display: block;
    margin-top: 0.3rem;
    color: var(--app-text-muted);
    font-size: 0.82rem;
    white-space: nowrap;
}

.pending-note.is-pending[b-horodp1nsk] {
    color: var(--app-danger-text);
    font-weight: 600;
}

/* Shown only on phones (see the media query). */
.pending-meta[b-horodp1nsk] {
    display: none;
}

/* The way into a customer's delivery days: a filled accent button with a calendar icon and an open/close arrow,
   so it reads as something to tap rather than a label. */
.days-toggle[b-horodp1nsk] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.3rem;
    white-space: nowrap;
    min-width: 0;
    min-height: 2.1rem;
    padding: 0.35rem 0.75rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 4px 12px rgb(37 139 210 / 30%), inset 0 1px rgb(255 255 255 / 22%);
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.days-toggle:hover[b-horodp1nsk],
.days-toggle:focus-visible[b-horodp1nsk] {
    box-shadow: 0 6px 16px rgb(37 139 210 / 42%), inset 0 1px rgb(255 255 255 / 22%);
    transform: translateY(-1px);
}

.days-toggle:focus-visible[b-horodp1nsk] {
    outline: 2px solid var(--app-foreground);
    outline-offset: 2px;
}

/* Downloads the customer's bill: an outlined button beside the days button. */
.pdf-button[b-horodp1nsk] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    min-height: 2.1rem;
    margin-top: 0.3rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid var(--app-accent);
    border-radius: 999px;
    color: var(--app-accent);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.pdf-button svg[b-horodp1nsk] {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.pdf-button:hover[b-horodp1nsk],
.pdf-button:focus-visible[b-horodp1nsk] {
    background: var(--app-glass-hover);
}

.pdf-button:focus-visible[b-horodp1nsk] {
    outline: 2px solid var(--app-foreground);
    outline-offset: 2px;
}

.days-icon[b-horodp1nsk],
.days-chevron[b-horodp1nsk] {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    flex: 0 0 auto;
}

.days-chevron[b-horodp1nsk] {
    transition: transform 150ms ease;
}

/* Open: the arrow flips and the button darkens to show which customer's days are showing. */
.days-toggle[aria-expanded="true"][b-horodp1nsk] {
    background: var(--app-accent-strong);
}

.days-toggle[aria-expanded="true"] .days-chevron[b-horodp1nsk] {
    transform: rotate(180deg);
}

.days-row td[b-horodp1nsk] {
    background: var(--app-glass-surface);
}

.days-panel[b-horodp1nsk] {
    white-space: normal;
}

.days-help[b-horodp1nsk] {
    margin: 0 0 0.6rem;
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.day-grid[b-horodp1nsk] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.35rem;
    max-width: 22rem;
}

.day-chip[b-horodp1nsk] {
    min-height: 2.4rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-variant-numeric: tabular-nums;
}

.day-chip.is-delivered[b-horodp1nsk] {
    border-color: transparent;
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.day-chip.is-missed[b-horodp1nsk] {
    border-color: var(--app-danger-text);
    color: var(--app-danger-text);
    background: transparent;
    text-decoration: line-through;
}

/* Days after today: not deliverable yet, so plain and muted rather than "missed". */
.day-chip.is-future[b-horodp1nsk],
.day-chip.is-future:disabled[b-horodp1nsk] {
    border-style: dashed;
    border-color: var(--app-glass-border);
    color: var(--app-text-muted);
    text-decoration: none;
    opacity: 0.55;
}

.day-chip:disabled[b-horodp1nsk] {
    cursor: default;
    opacity: 1;
}

.days-actions[b-horodp1nsk] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
    margin-top: 0.6rem;
}

/* One price for every day of the customer's bill, at the end of the day actions. */
.day-price[b-horodp1nsk] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    color: var(--app-text-muted);
    font-size: 0.85rem;
}

.link-button[b-horodp1nsk] {
    padding: 0;
    border: 0;
    color: var(--app-accent);
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.add-customer-box h3[b-horodp1nsk] {
    margin: 0 0 0.75rem;
    font-size: 1.05rem;
}

@media (max-width: 600px) {
    .month-page[b-horodp1nsk] {
        padding: 0.75rem 0;
    }

    .form-grid[b-horodp1nsk] {
        grid-template-columns: 1fr;
    }

    .full-width[b-horodp1nsk] {
        grid-column: auto;
    }

    .filter-bar select[b-horodp1nsk] {
        min-width: 0;
        width: 100%;
    }

    .filter-bar[b-horodp1nsk],
    .filter-bar label[b-horodp1nsk] {
        width: 100%;
    }

    .dialog-actions[b-horodp1nsk] {
        flex-wrap: wrap;
    }

    .audit-dialog[b-horodp1nsk] {
        padding: 0.85rem;
    }

    .audit-table th[b-horodp1nsk],
    .audit-table td[b-horodp1nsk] {
        padding: 0.55rem 0.4rem;
    }

    .audit-table th[b-horodp1nsk],
    .audit-table td:first-child[b-horodp1nsk] {
        white-space: normal;
    }

    /* The billed amount already reflects the quantity, so drop it to keep the payment column in view. */
    .audit-table .qty-col[b-horodp1nsk] {
        display: none;
    }

    /* A smaller days button so Billed, Received and Balance stay in view. */
    .days-toggle[b-horodp1nsk] {
        gap: 0.25rem;
        padding: 0.3rem 0.55rem;
    }

    .days-icon[b-horodp1nsk] {
        display: none;
    }

    .month-table .pending-meta[b-horodp1nsk] {
        display: block;
    }

    .audit-table .price-meta[b-horodp1nsk] {
        display: block;
    }

    .cash-input[b-horodp1nsk] {
        width: 4.25rem;
    }
}
/* /Components/Pages/PgPage.razor.rz.scp.css */
.page-admin[b-ipg3wza8ah] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-ipg3wza8ah],
.dialog-header[b-ipg3wza8ah],
.dialog-actions[b-ipg3wza8ah] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-ipg3wza8ah] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-ipg3wza8ah],
.dialog-header h2[b-ipg3wza8ah] {
    margin: 0;
}

.page-header p[b-ipg3wza8ah] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-ipg3wza8ah] {
    overflow-x: auto;
}

.page-table[b-ipg3wza8ah] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.page-table th[b-ipg3wza8ah],
.page-table td[b-ipg3wza8ah] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
}

.page-table th[b-ipg3wza8ah] {
    background: var(--app-surface-raised);
}

.actions-cell[b-ipg3wza8ah] {
    white-space: nowrap;
}

.empty-state[b-ipg3wza8ah] {
    padding: 2rem;
    color: var(--app-text-muted);
    text-align: center;
}

.primary-button[b-ipg3wza8ah],
.secondary-button[b-ipg3wza8ah],
.close-button[b-ipg3wza8ah] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-ipg3wza8ah],
.secondary-button[b-ipg3wza8ah] {
    padding: 0.6rem 1rem;
}

.primary-button[b-ipg3wza8ah] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
}

.secondary-button[b-ipg3wza8ah] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-ipg3wza8ah] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-ipg3wza8ah] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.page-dialog[b-ipg3wza8ah] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--app-foreground);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-ipg3wza8ah] {
    margin-bottom: 1.25rem;
}

.close-button[b-ipg3wza8ah] {
    width: 2rem;
    height: 2rem;
    color: var(--app-foreground);
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
}

.form-grid[b-ipg3wza8ah] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-ipg3wza8ah] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid input[b-ipg3wza8ah] {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.dialog-actions[b-ipg3wza8ah] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-ipg3wza8ah],
.status-message[b-ipg3wza8ah] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-ipg3wza8ah] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-ipg3wza8ah] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

@media (max-width: 600px) {
    .page-admin[b-ipg3wza8ah] {
        padding: 0.75rem 0;
    }
}

@media (max-width: 640px) {
    .form-grid[b-ipg3wza8ah] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/PgUser.razor.rz.scp.css */
.user-page[b-2ssorn7d9i] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-2ssorn7d9i],
.dialog-header[b-2ssorn7d9i],
.dialog-actions[b-2ssorn7d9i] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-2ssorn7d9i] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-2ssorn7d9i],
.dialog-header h2[b-2ssorn7d9i] {
    margin: 0;
}

.page-header p[b-2ssorn7d9i] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-2ssorn7d9i] {
    overflow-x: auto;
}

.user-table[b-2ssorn7d9i] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.user-table th[b-2ssorn7d9i],
.user-table td[b-2ssorn7d9i] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
    vertical-align: top;
}

.user-table th[b-2ssorn7d9i] {
    background: var(--app-surface-raised);
}

.actions-cell[b-2ssorn7d9i] {
    white-space: nowrap;
}

.empty-state[b-2ssorn7d9i] {
    padding: 2rem;
    color: var(--app-text-muted);
    text-align: center;
}

.primary-button[b-2ssorn7d9i],
.secondary-button[b-2ssorn7d9i],
.close-button[b-2ssorn7d9i] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-2ssorn7d9i],
.secondary-button[b-2ssorn7d9i] {
    padding: 0.6rem 1rem;
}

.primary-button[b-2ssorn7d9i] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 7px 20px rgb(37 139 210 / 28%), inset 0 1px rgb(255 255 255 / 22%);
}

.secondary-button[b-2ssorn7d9i] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-2ssorn7d9i] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-2ssorn7d9i] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.user-dialog[b-2ssorn7d9i] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--app-foreground);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-2ssorn7d9i] {
    margin-bottom: 1.25rem;
}

.close-button[b-2ssorn7d9i] {
    width: 2rem;
    height: 2rem;
    color: var(--app-foreground);
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
}

.form-grid[b-2ssorn7d9i] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-2ssorn7d9i] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid[b-2ssorn7d9i]  input,
.form-grid[b-2ssorn7d9i]  select {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.form-grid .checkbox-label[b-2ssorn7d9i] {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-grid .checkbox-label input[b-2ssorn7d9i] {
    width: auto;
    min-height: auto;
}

.form-grid option[b-2ssorn7d9i] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.dialog-actions[b-2ssorn7d9i] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-2ssorn7d9i],
.status-message[b-2ssorn7d9i] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-2ssorn7d9i] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-2ssorn7d9i] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.visually-hidden[b-2ssorn7d9i] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 600px) {
    .user-page[b-2ssorn7d9i] {
        padding: 0.75rem 0;
    }

    .form-grid[b-2ssorn7d9i] {
        grid-template-columns: 1fr;
    }
}

.search-bar[b-2ssorn7d9i] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.search-field[b-2ssorn7d9i] {
    flex: 1 1 18rem;
    max-width: 26rem;
}

.search-field input[b-2ssorn7d9i] {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--app-input-border);
    border-radius: 8px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.search-count[b-2ssorn7d9i] {
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .search-field[b-2ssorn7d9i] {
        max-width: none;
    }
}

.read-only-badge[b-2ssorn7d9i] {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 999px;
    color: var(--app-text-muted);
    background: var(--app-glass-surface);
    font-size: 0.8rem;
    white-space: nowrap;
}

.danger-button[b-2ssorn7d9i] {
    margin-left: 0.4rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--app-danger-text);
    border-radius: 8px;
    color: var(--app-danger-text);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.danger-button:hover:not(:disabled)[b-2ssorn7d9i],
.danger-button:focus-visible[b-2ssorn7d9i] {
    background: var(--app-error-surface);
}

.danger-button.solid[b-2ssorn7d9i] {
    margin-left: 0;
    border-color: transparent;
    color: #fff;
    background: #c42b3d;
}

.danger-button.solid:hover:not(:disabled)[b-2ssorn7d9i] {
    background: #a3202f;
}

.confirm-dialog[b-2ssorn7d9i] {
    max-width: 30rem;
}

.confirm-dialog p[b-2ssorn7d9i] {
    margin: 0 0 0.75rem;
}

.delete-impact[b-2ssorn7d9i] {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
    color: var(--app-text-muted);
    font-size: 0.9rem;
}
/* /Components/Pages/PgUserLog.razor.rz.scp.css */
.log-page[b-jgyc96q4jg] {
    /* Fill the available width on wide screens. */
    max-width: none;
    padding: 1.5rem;
    color: var(--app-foreground);
}

.page-header[b-jgyc96q4jg],
.dialog-header[b-jgyc96q4jg],
.dialog-actions[b-jgyc96q4jg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.page-header[b-jgyc96q4jg] {
    margin-bottom: 1.5rem;
}

.page-header h1[b-jgyc96q4jg],
.dialog-header h2[b-jgyc96q4jg] {
    margin: 0;
}

.page-header p[b-jgyc96q4jg] {
    margin: 0.4rem 0 0;
    color: var(--app-text-muted);
}

.table-container[b-jgyc96q4jg] {
    overflow-x: auto;
}

.log-table[b-jgyc96q4jg] {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--app-glass-border);
    border-radius: 14px;
    background: var(--app-surface);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px);
}

.log-table th[b-jgyc96q4jg],
.log-table td[b-jgyc96q4jg] {
    padding: 0.8rem;
    border-bottom: 1px solid var(--app-glass-border);
    color: var(--app-foreground);
    text-align: left;
    vertical-align: top;
}

.log-table th[b-jgyc96q4jg] {
    background: var(--app-surface-raised);
}

.actions-cell[b-jgyc96q4jg] {
    white-space: nowrap;
}

.empty-state[b-jgyc96q4jg] {
    padding: 2rem;
    color: var(--app-text-muted);
    text-align: center;
}

.primary-button[b-jgyc96q4jg],
.secondary-button[b-jgyc96q4jg],
.close-button[b-jgyc96q4jg] {
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
}

.primary-button[b-jgyc96q4jg],
.secondary-button[b-jgyc96q4jg] {
    padding: 0.6rem 1rem;
}

.primary-button[b-jgyc96q4jg] {
    color: #fff;
    background: linear-gradient(135deg, var(--app-accent-strong), var(--app-accent));
    box-shadow: 0 7px 20px rgb(37 139 210 / 28%), inset 0 1px rgb(255 255 255 / 22%);
}

.secondary-button[b-jgyc96q4jg] {
    color: var(--app-foreground);
    background: var(--app-glass-surface);
    border: 1px solid var(--app-glass-border);
}

button:disabled[b-jgyc96q4jg] {
    cursor: not-allowed;
    opacity: 0.65;
}

.dialog-backdrop[b-jgyc96q4jg] {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgb(0 0 0 / 50%);
}

.log-dialog[b-jgyc96q4jg] {
    width: min(100%, 620px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--app-glass-border);
    border-radius: 16px;
    color: var(--app-foreground);
    background: var(--app-surface-raised);
    box-shadow: var(--app-shadow), inset 0 1px rgb(255 255 255 / 10%);
    backdrop-filter: blur(24px);
}

.dialog-header[b-jgyc96q4jg] {
    margin-bottom: 1.25rem;
}

.close-button[b-jgyc96q4jg] {
    width: 2rem;
    height: 2rem;
    color: var(--app-foreground);
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
}

.form-grid[b-jgyc96q4jg] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid label[b-jgyc96q4jg] {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 600;
}

.form-grid[b-jgyc96q4jg]  input,
.form-grid[b-jgyc96q4jg]  select {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem;
    border: 1px solid var(--app-input-border);
    border-radius: 4px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
}

.form-grid .checkbox-label[b-jgyc96q4jg] {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-grid .checkbox-label input[b-jgyc96q4jg] {
    width: auto;
    min-height: auto;
}

.form-grid option[b-jgyc96q4jg] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.dialog-actions[b-jgyc96q4jg] {
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.error-message[b-jgyc96q4jg],
.status-message[b-jgyc96q4jg] {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-radius: 4px;
}

.error-message[b-jgyc96q4jg] {
    color: var(--app-error-text);
    background: var(--app-error-surface);
}

.status-message[b-jgyc96q4jg] {
    color: var(--app-success-text);
    background: var(--app-success-surface);
}

.visually-hidden[b-jgyc96q4jg] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

@media (max-width: 600px) {
    .log-page[b-jgyc96q4jg] {
        padding: 0.75rem 0;
    }

    .form-grid[b-jgyc96q4jg] {
        grid-template-columns: 1fr;
    }
}

.filters[b-jgyc96q4jg] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.filters label[b-jgyc96q4jg] {
    display: grid;
    gap: 0.3rem;
    color: var(--app-text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.filters select[b-jgyc96q4jg],
.filters input[b-jgyc96q4jg] {
    min-height: 2.5rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--app-input-border);
    border-radius: 8px;
    color: var(--app-foreground);
    background: var(--app-input-background);
    font: inherit;
    font-size: 1rem;
    font-weight: 400;
}

.filters option[b-jgyc96q4jg] {
    color: var(--app-foreground);
    background: var(--app-surface-raised);
}

.log-count[b-jgyc96q4jg] {
    margin: 0 0 0.5rem;
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.log-table td[b-jgyc96q4jg] {
    white-space: nowrap;
}

.mono[b-jgyc96q4jg] {
    font-family: Consolas, "Cascadia Mono", monospace;
}

.muted[b-jgyc96q4jg] {
    color: var(--app-text-muted);
}

@media (max-width: 900px) {
    .filters[b-jgyc96q4jg] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
