/* /Components/Cart/CartContents.razor.rz.scp.css */
/* Sizing lives here rather than on the popover: MudPopover renders elsewhere in the page,
   where this file's scoped styles can't reach it. */
.cart-contents[b-18m6lrhp1d] {
    display: flex;
    flex-direction: column;
    width: min(440px, calc(100vw - 24px));
    max-height: min(70vh, 600px);
    padding: 12px 16px;
    color: var(--mud-palette-text-primary);
}

.cart-header[b-18m6lrhp1d],
.cart-footer[b-18m6lrhp1d] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cart-header[b-18m6lrhp1d] {
    padding-bottom: 8px;
}

.cart-empty[b-18m6lrhp1d] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 0 4px;
}

/* Search box between the header and the lines: small, with "x of y" beside it while searching. */
.cart-search[b-18m6lrhp1d] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}

.cart-search[b-18m6lrhp1d]  .mud-input-control {
    flex: 1;
    margin-top: 0;
}

.cart-search[b-18m6lrhp1d]  .mud-typography-caption {
    white-space: nowrap;
}

.cart-lines[b-18m6lrhp1d] {
    overflow-y: auto;
    padding: 4px 0;
}

.cart-row[b-18m6lrhp1d] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.cart-row + .cart-row[b-18m6lrhp1d] {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.cart-thumb[b-18m6lrhp1d] {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    object-fit: contain;
    background-color: var(--app-image-background);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
}

.cart-thumb-missing[b-18m6lrhp1d] {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-secondary);
}

.cart-line-text[b-18m6lrhp1d] {
    flex: 1;
    min-width: 0;
}

.cart-line-text[b-18m6lrhp1d]  .cart-line-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-actions[b-18m6lrhp1d] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.cart-actions[b-18m6lrhp1d]  .cart-quantity {
    min-width: 20px;
    text-align: center;
}

.cart-footer[b-18m6lrhp1d] {
    padding-top: 8px;
}

.cart-checkout[b-18m6lrhp1d] {
    padding-top: 8px;
}
/* /Components/Cart/CartMenu.razor.rz.scp.css */
.cart-menu[b-l5q6d8caxg] {
    display: inline-flex;
    align-items: center;
}

/* Icon buttons clip to their circle (overflow: hidden, for the ripple), which cut off the badge's corner.
   The ripple is turned off on this button, so nothing else can spill out. */
.cart-menu[b-l5q6d8caxg]  .mud-icon-button {
    overflow: visible;
}
/* /Components/Layout/PageHeader.razor.rz.scp.css */
.page-header[b-mpc9pbdjer] {
    position: relative;
    /* Up against the colour bar: cancels the main area's top padding (.company-main-content in MainLayout). */
    margin: -0.5rem 0 16px;
    background-color: var(--app-page-header-background);
    box-shadow: 0 1px 3px color-mix(in srgb, var(--app-shadow) 8%, transparent);
}

/* The accent bar on the left, starting a little below the top as in the guide. */
.page-header[b-mpc9pbdjer]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 0;
    width: 8px;
    background-color: var(--mud-palette-secondary);
}

.page-header-inner[b-mpc9pbdjer] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 22px 24px 20px 36px;
}

.page-header-text[b-mpc9pbdjer] {
    min-width: 0;
}

.page-header-actions[b-mpc9pbdjer] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

@media (max-width: 600px) {
    .page-header-inner[b-mpc9pbdjer] {
        padding: 18px 16px 16px 28px;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* Which message shows: Blazor puts a state class on the dialog (show, retrying, failed, paused, resume-failed). */
.components-reconnect-first-attempt-visible[b-wf0xjuynuy],
.components-reconnect-repeated-attempt-visible[b-wf0xjuynuy],
.components-reconnect-failed-visible[b-wf0xjuynuy],
.components-pause-visible[b-wf0xjuynuy],
.components-resume-failed-visible[b-wf0xjuynuy],
.components-rejoining-animation[b-wf0xjuynuy] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-failed[b-wf0xjuynuy],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-wf0xjuynuy] {
    display: block;
}

/* The card, in the theme's colours. MudThemeProvider (MainLayout) sets the --mud-* variables, which stay on the page while it's disconnected. */
#components-reconnect-modal[b-wf0xjuynuy] {
    background-color: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font-family: var(--mud-typography-default-family, inherit);
    width: min(22rem, calc(100vw - 2rem));
    margin: 20vh auto;
    padding: 2rem 1.5rem;
    border: 0;
    border-top: 4px solid var(--mud-palette-primary);
    border-radius: 8px;
    box-shadow: 0 3px 6px 2px color-mix(in srgb, var(--app-shadow) 30%, transparent);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-wf0xjuynuy 0.5s both;
}

#components-reconnect-modal[open][b-wf0xjuynuy] {
    animation: components-reconnect-modal-slideUp-b-wf0xjuynuy 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s,
               components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-wf0xjuynuy]::backdrop {
    background-color: color-mix(in srgb, var(--app-shadow) 40%, transparent);
    animation: components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy 0.5s ease-in-out;
    opacity: 1;
}

.components-reconnect-container[b-wf0xjuynuy] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-wf0xjuynuy] {
    margin: 0;
    text-align: center;
    line-height: 1.5;
}

/* Filled, like the app's main buttons (the theme's button colours and shape). */
#components-reconnect-modal button[b-wf0xjuynuy] {
    border: 0;
    background-color: var(--app-button-fill);
    color: var(--app-button-fill-text);
    padding: 6px 24px;
    border-radius: var(--app-button-radius);
    font: inherit;
    font-family: var(--mud-typography-button-family);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

    #components-reconnect-modal button:hover[b-wf0xjuynuy] {
        background-color: color-mix(in srgb, var(--app-button-fill) 85%, var(--mud-palette-text-primary));
    }

.components-rejoining-animation[b-wf0xjuynuy] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-wf0xjuynuy] {
        position: absolute;
        border: 3px solid var(--mud-palette-primary);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-wf0xjuynuy 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-wf0xjuynuy] {
            animation-delay: -0.5s;
        }

@keyframes components-reconnect-modal-slideUp-b-wf0xjuynuy {
    0% { transform: translateY(30px) scale(0.95); }
    100% { transform: translateY(0); }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-wf0xjuynuy {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-wf0xjuynuy {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes components-rejoining-animation-b-wf0xjuynuy {
    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: 0; left: 0; width: 80px; height: 80px; opacity: 0; }
}
/* /Components/Layout/SignedInUser.razor.rz.scp.css */
.signed-in-user[b-83jm4liqiz] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    max-width: 320px;
    margin-right: 12px;
    font-size: 0.8rem;
    line-height: 1.3;
}

.signed-in-line[b-83jm4liqiz] {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

.signed-in-label[b-83jm4liqiz] {
    opacity: 0.75;
}

.signed-in-value[b-83jm4liqiz] {
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

/* The top bar is crowded on small screens: the cart stays, this goes. */
@media (max-width: 900px) {
    .signed-in-user[b-83jm4liqiz] {
        display: none;
    }
}
/* /Components/Pages/Cart/CartItems.razor.rz.scp.css */
/* Above the lines, staying at the top while a long cart scrolls inside the order panel: the search box, with
   "Return all" beside it. "Showing x of y" appears under the box while searching. */
.cart-toolbar[b-al74wmd6qu] {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 2px 0 4px;
    background-color: var(--mud-palette-surface);
}

.cart-toolbar[b-al74wmd6qu]  .cart-search {
    flex: 1;
    min-width: 0;
    margin-top: 0;
}

/* Vertically centred on the dense search box (about 40px tall). */
.cart-toolbar[b-al74wmd6qu]  .cart-return-all {
    flex: 0 0 auto;
    margin-top: 2px;
    white-space: nowrap;
}

/* The cart's lines in the cart page's order panel (a narrow column), so quantity and remove sit under the text. */
.cart-item[b-al74wmd6qu] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 12px;
    padding: 12px 0;
}

.cart-item + .cart-item[b-al74wmd6qu] {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.cart-item-warning[b-al74wmd6qu] {
    background-color: color-mix(in srgb, var(--mud-palette-error) 6%, transparent);
    border-radius: 8px;
    padding-inline: 8px;
}

.cart-item-thumb[b-al74wmd6qu] {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    object-fit: contain;
    background-color: var(--app-image-background);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
}

.cart-item-thumb-missing[b-al74wmd6qu] {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-secondary);
}

.cart-item-text[b-al74wmd6qu] {
    flex: 1 1 calc(100% - 68px);
    min-width: 0;
}

.cart-item-text[b-al74wmd6qu]  .cart-item-name {
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.cart-item-text[b-al74wmd6qu]  .cart-item-return {
    margin-left: -10px;
}

.cart-item-actions[b-al74wmd6qu] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
}

.cart-item-actions[b-al74wmd6qu]  .cart-item-quantity {
    width: 110px;
    flex: 0 0 auto;
    margin: 0;
}

/* The quantity field always has a line under its box for "Max available" (MudBlazor: 3px + 0.75rem at line height
   1.66). The same space under the delete button lines it up with the box rather than the box and that line. */
.cart-item-actions[b-al74wmd6qu]  .cart-item-remove {
    margin-bottom: calc(3px + 0.75rem * 1.66);
}
/* /Components/Pages/Cart/CartPage.razor.rz.scp.css */
/* Cart page layout. Classes given to Mud components through Class="..." need ::deep under .cart-page. */
.cart-page[b-xumkdsshm2] {
    max-width: 1320px;
    margin: 0 auto;
}

.cart-page[b-xumkdsshm2]  .cart-section-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.cart-page[b-xumkdsshm2]  .cart-section {
    margin-bottom: 16px;
    border-radius: 12px;
}

/* Details on the left, the order on the right (stays in view while the form scrolls). */
.cart-layout[b-xumkdsshm2] {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr);
    gap: 24px;
    align-items: start;
}

.cart-summary[b-xumkdsshm2] {
    position: sticky;
    top: 80px;   /* below the top bar */
}

/* A long cart scrolls inside the panel, so Submit stays reachable. */
.summary-items[b-xumkdsshm2] {
    max-height: 45vh;
    overflow-y: auto;
    padding-right: 4px;
}

/* Narrow screens: one column, the order (with Submit) after the form. */
@media (max-width: 959.98px) {
    .cart-layout[b-xumkdsshm2] {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-summary[b-xumkdsshm2] {
        position: static;
    }

    .summary-items[b-xumkdsshm2] {
        max-height: none;
        overflow: visible;
    }
}

.cart-page[b-xumkdsshm2]  .submitted,
.cart-page[b-xumkdsshm2]  .empty-cart {
    max-width: 640px;
    margin: 32px auto;
    text-align: center;
    border-radius: 12px;
}

/* /Components/Pages/Cart/ContactFields.razor.rz.scp.css */
.contact-fields[b-5zhgpqgmin] {
    margin-bottom: 16px;
}
/* /Components/Pages/Cart/QuoteRequestFields.razor.rz.scp.css */
/* Mud components render their own elements, so classes given through Class="..." need ::deep under our own wrapper. */
.quote-fields[b-2pon97x25w]  .form-section {
    margin-bottom: 16px;
    border-radius: 12px;
}

.quote-fields[b-2pon97x25w]  .section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
/* /Components/Pages/ComingSoon.razor.rz.scp.css */
.coming-soon[b-svjux7wneu] {
    display: flex;
    justify-content: center;
    padding: 48px 16px;
}

.coming-soon[b-svjux7wneu]  .coming-soon-card {
    width: min(560px, 100%);
    text-align: center;
    border-radius: 12px;
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Each tile is one big link: icon, title and a short description, with a coloured bar on top (--tile-accent, one of
   the theme's highlight colours, set per tile in Home.razor). */
.home-tile[b-oovckuxxru] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 24px;
    border-top: 4px solid var(--tile-accent);
    border-radius: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    text-decoration: none;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--app-shadow) 8%, transparent);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease;
}

.home-tile:hover[b-oovckuxxru],
.home-tile:focus-visible[b-oovckuxxru] {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--app-shadow) 16%, transparent);
}

.home-tile:focus-visible[b-oovckuxxru] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

/* The highlight colours are light, so the circle uses more of it than a dark colour would need. */
.home-tile-icon[b-oovckuxxru] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--tile-accent) 35%, var(--mud-palette-surface));
    color: var(--mud-palette-primary);
}

.home-tile-title[b-oovckuxxru] {
    color: var(--app-heading);
    font-family: var(--mud-typography-h6-family);
    font-size: 1.1rem;
    font-weight: 700;
}

.home-tile-arrow[b-oovckuxxru] {
    display: inline-block;
    color: var(--mud-palette-secondary);
    transition: transform 180ms ease;
}

.home-tile:hover .home-tile-arrow[b-oovckuxxru] {
    transform: translateX(5px);
}

.home-tile-description[b-oovckuxxru] {
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
    .home-tile[b-oovckuxxru],
    .home-tile-arrow[b-oovckuxxru] {
        transition: none;
    }
}
/* /Components/Pages/Inventory/InventoryItemCard.razor.rz.scp.css */
.item-card[b-29wuz3tgha] {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    box-shadow: 0 3px 10px color-mix(in srgb, var(--app-shadow) 8%, transparent);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.item-card:hover[b-29wuz3tgha] {
    box-shadow: 0 8px 20px color-mix(in srgb, var(--app-shadow) 14%, transparent);
    transform: translateY(-3px);
}

/* A button (it opens "More info"), styled as a plain picture area. */
.item-image[b-29wuz3tgha] {
    height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--mud-palette-divider);
    background-color: var(--app-image-background);
    font: inherit;
    cursor: zoom-in;
}

.item-image:focus-visible[b-29wuz3tgha] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: -2px;
}

.item-image img[b-29wuz3tgha] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-image-missing[b-29wuz3tgha] {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-secondary);
}

.item-content[b-29wuz3tgha] {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.item-content[b-29wuz3tgha]  .customer-icon {
    font-size: 0.95rem;
    vertical-align: text-bottom;
}

.item-stock-row[b-29wuz3tgha] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.unit-label[b-29wuz3tgha] {
    color: var(--mud-palette-text-secondary);
}

.item-actions[b-29wuz3tgha] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 0 16px 16px;
}

@media (prefers-reduced-motion: reduce) {
    .item-card[b-29wuz3tgha] {
        transition: none;
    }

    .item-card:hover[b-29wuz3tgha] {
        transform: none;
    }
}
/* /Components/Pages/Inventory/InventoryItemDialog.razor.rz.scp.css */
.item-dialog[b-irt2zoarnh] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
}

.item-dialog-image[b-irt2zoarnh] {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    max-height: 60vh;
    background-color: var(--app-image-background);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    overflow: hidden;
}

.item-dialog-image a[b-irt2zoarnh] {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
}

.item-dialog-image img[b-irt2zoarnh] {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.item-dialog-image-missing[b-irt2zoarnh] {
    width: 100%;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--mud-palette-background-gray);
    color: var(--mud-palette-text-secondary);
}

.item-dialog-descriptions[b-irt2zoarnh] {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
    gap: 6px 16px;
    margin: 4px 0 0;
    padding: 8px 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
}

.item-dialog-descriptions dt[b-irt2zoarnh] {
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
}

.item-dialog-descriptions dd[b-irt2zoarnh] {
    margin: 0;
    overflow-wrap: anywhere;
}

.item-dialog-info[b-irt2zoarnh]  .item-dialog-facts th {
    width: 40%;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
    text-align: left;
}

.item-dialog-actions[b-irt2zoarnh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    padding: 0 8px 8px;
}

.item-dialog-title[b-irt2zoarnh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

/* Category and stock (with the cart count under it): pushed right, away from Close, next to Quantity. */
.item-dialog-status[b-irt2zoarnh] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.item-dialog-stock[b-irt2zoarnh] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.item-dialog-actions[b-irt2zoarnh]  .quantity {
    flex: 0 0 120px;
    margin: 0;
}

/* The quantity field always has a line under its box for "Max available" (MudBlazor: 3px + 0.75rem at line height
   1.66). The same space under everything else in the row lines them up with the box rather than the box and that line. */
.item-dialog-actions[b-irt2zoarnh]  .beside-quantity {
    margin-bottom: calc(3px + 0.75rem * 1.66);
}

@media (max-width: 700px) {
    .item-dialog[b-irt2zoarnh] {
        grid-template-columns: minmax(0, 1fr);
    }

    .item-dialog-image[b-irt2zoarnh],
    .item-dialog-image-missing[b-irt2zoarnh] {
        min-height: 220px;
    }
}
/* /Components/Pages/Inventory/InventoryPage.razor.rz.scp.css */
/* Inventory page layout. MudBlazor components render their own elements, so styles for anything given a
   class through a Mud component's Class="..." need ::deep under the page's own .inventory wrapper. */

/* Admins' "View as customer" box: in the results row beside Reset filters, not among the filters it doesn't reset. */
.results-actions[b-6q69d7ba2c] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.customer-filter[b-6q69d7ba2c] {
    width: 320px;
    min-width: 0;
}

.customer-filter[b-6q69d7ba2c]  .mud-input-control {
    margin-top: 0;
}

.customer-option[b-6q69d7ba2c] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

.customer-option-no[b-6q69d7ba2c] {
    color: var(--mud-palette-text-secondary);
    font-size: 0.75rem;
}

.inventory[b-6q69d7ba2c]  .sticky-filters {
    position: sticky;
    top: 72px;
    z-index: 1100;
    background-color: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 12px;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--app-shadow) 10%, transparent);
}

.filter-grid[b-6q69d7ba2c] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    align-items: center;
}

.view-buttons[b-6q69d7ba2c] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.results-bar[b-6q69d7ba2c] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.item-grid[b-6q69d7ba2c] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pager[b-6q69d7ba2c] {
    display: flex;
    justify-content: center;
    margin: 28px 0 8px;
}

@media (max-width: 1100px) {
    .item-grid[b-6q69d7ba2c] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .filter-grid[b-6q69d7ba2c],
    .item-grid[b-6q69d7ba2c] {
        grid-template-columns: 1fr;
    }

    .results-bar[b-6q69d7ba2c] {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .results-actions[b-6q69d7ba2c],
    .customer-filter[b-6q69d7ba2c] {
        width: 100%;
    }

    .results-actions[b-6q69d7ba2c] {
        justify-content: flex-start;
    }
}
/* /Components/Pages/Inventory/InventoryTable.razor.rz.scp.css */
/* The thumbnail is inside MudTable's own markup, so it needs ::deep. */
.inventory-table[b-my36kon6qr]  .item-thumb {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
    background-color: var(--app-image-background);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
}

.inventory-table[b-my36kon6qr]  .table-actions {
    display: flex;
    gap: 6px;
}
/* /Components/Pages/PageNotFound.razor.rz.scp.css */
/* Same card as the "coming soon" page, with a big "4🏪4" on top. */
.not-found[b-6q52e75qe2] {
    display: flex;
    justify-content: center;
    padding: 48px 16px;
}

.not-found[b-6q52e75qe2]  .not-found-card {
    width: min(600px, 100%);
    text-align: center;
    border-radius: 12px;
}

.not-found-code[b-6q52e75qe2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: clamp(4rem, 14vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    color: var(--mud-palette-primary);
}

/* The booth stands in for the 0 and bobs gently, like it's being carried in. */
.not-found-code[b-6q52e75qe2]  .not-found-booth {
    font-size: 0.9em;
    color: var(--mud-palette-secondary);
    animation: booth-bob-b-6q52e75qe2 2.4s ease-in-out infinite;
}

@keyframes booth-bob-b-6q52e75qe2 {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(-4deg); }
}

.not-found[b-6q52e75qe2]  .not-found-status {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.not-found-actions[b-6q52e75qe2] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

@media (prefers-reduced-motion: reduce) {
    .not-found-code[b-6q52e75qe2]  .not-found-booth {
        animation: none;
    }
}
