/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-y6sqpza6y8],
.components-reconnect-repeated-attempt-visible[b-y6sqpza6y8],
.components-reconnect-failed-visible[b-y6sqpza6y8],
.components-pause-visible[b-y6sqpza6y8],
.components-resume-failed-visible[b-y6sqpza6y8],
.components-rejoining-animation[b-y6sqpza6y8] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-y6sqpza6y8],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-y6sqpza6y8],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-y6sqpza6y8],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-y6sqpza6y8],
#components-reconnect-modal.components-reconnect-retrying[b-y6sqpza6y8],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-y6sqpza6y8],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-y6sqpza6y8],
#components-reconnect-modal.components-reconnect-failed[b-y6sqpza6y8],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-y6sqpza6y8] {
    display: block;
}


#components-reconnect-modal[b-y6sqpza6y8] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-y6sqpza6y8 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-y6sqpza6y8 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-y6sqpza6y8 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-y6sqpza6y8]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-y6sqpza6y8 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-y6sqpza6y8 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-y6sqpza6y8 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-y6sqpza6y8 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-y6sqpza6y8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-y6sqpza6y8] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-y6sqpza6y8] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-y6sqpza6y8] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-y6sqpza6y8] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-y6sqpza6y8] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-y6sqpza6y8] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-y6sqpza6y8 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-y6sqpza6y8] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-y6sqpza6y8 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Dashboard.razor.rz.scp.css */
/* The page index: one card per module, its pages as small pill links.
   MudBlazor components render their own markup and never carry the scope attribute, so
   anything set on a MudLink or MudIcon is reached with ::deep from the plain element
   wrapping it. */

.h365-dash-toolbar[b-nkyz8uyho4] {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.h365-dash-search[b-nkyz8uyho4] {
    width: 260px;
    max-width: 100%;
}

/* Column flow rather than a grid. The modules are wildly different sizes — Reports has
   twenty pages and Administration has nine — and a grid sizes every row to its tallest
   card, which leaves a screen of white space beside the long one. Columns pack each card
   under the one above it instead. */
.h365-dash-modules[b-nkyz8uyho4] {
    columns: 330px;
    column-gap: 12px;
}

.h365-dash-card[b-nkyz8uyho4] {
    /* Never let a card be split across two columns. */
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    display: flow-root;
    margin: 0 0 12px;
    padding: 12px 14px 14px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    background-color: var(--mud-palette-surface);
    transition: box-shadow 140ms ease, border-color 140ms ease;
}

.h365-dash-card:hover[b-nkyz8uyho4] {
    border-color: var(--mud-palette-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.h365-dash-modhead[b-nkyz8uyho4] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.h365-dash-modicon[b-nkyz8uyho4] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.h365-dash-modicon[b-nkyz8uyho4]  .mud-icon-root {
    font-size: 1rem;
}

/* The name takes the space that is left and truncates; the count never gets pushed out
   of the card. */
.h365-dash-modhead[b-nkyz8uyho4]  .h365-dash-modname {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--mud-palette-text-primary);
}

.h365-dash-modhead[b-nkyz8uyho4]  .h365-dash-modname:hover {
    color: var(--mud-palette-primary);
}

.h365-dash-count[b-nkyz8uyho4] {
    flex: 0 0 auto;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    background-color: var(--mud-palette-primary-hover);
    color: var(--mud-palette-primary);
}

.h365-dash-group[b-nkyz8uyho4] {
    margin: 12px 0 6px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.h365-dash-pills[b-nkyz8uyho4] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.h365-dash-pills[b-nkyz8uyho4]  .h365-dash-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 11px 5px 8px;
    font-size: 12.5px;
    line-height: 1.25;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 999px;
    background-color: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.h365-dash-pills[b-nkyz8uyho4]  .h365-dash-pill:hover {
    border-color: var(--mud-palette-primary);
    background-color: var(--mud-palette-primary-hover);
    color: var(--mud-palette-primary);
    transform: translateY(-1px);
}

.h365-dash-pills[b-nkyz8uyho4]  .mud-icon-root {
    font-size: 0.95rem;
    color: var(--mud-palette-primary);
}
/* /Components/Pages/Inventory/DefinedLists.razor.rz.scp.css */
/* Master-detail: the list catalogue on a fixed rail, the selected list's values beside it.
   Collapses to a single column on a narrow screen so the grid keeps the full width. */

.h365-lists[b-7x7zquv6c2] {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 960px) {
    .h365-lists[b-7x7zquv6c2] {
        grid-template-columns: minmax(0, 1fr);
    }
}

.h365-lists-rail[b-7x7zquv6c2] {
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: var(--mud-default-borderradius);
    overflow: hidden;
}

.h365-rail-head[b-7x7zquv6c2] {
    padding: 8px 12px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-gray);
}

.h365-rail-item[b-7x7zquv6c2] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    cursor: pointer;
    border-left: 3px solid transparent;
    font-size: 13px;
}

.h365-rail-item:hover[b-7x7zquv6c2] {
    background: var(--mud-palette-action-default-hover);
}

.h365-rail-item-active[b-7x7zquv6c2] {
    border-left-color: var(--mud-palette-primary);
    background: var(--mud-palette-action-default-hover);
    font-weight: 500;
}

.h365-rail-item-text[b-7x7zquv6c2] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.h365-lists-detail[b-7x7zquv6c2] {
    min-width: 0;
}

/* Colour swatch beside a value on a list flagged uses_colour. */
.h365-swatch[b-7x7zquv6c2] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border-radius: 3px;
    border: 1px solid var(--mud-palette-lines-default);
    flex: 0 0 auto;
}
/* /Components/Pages/Inventory/Dialogs/LookupValueEditDialog.razor.rz.scp.css */
/* Live swatch beside the hex field, so a typo is visible before it is saved. */
.h365-colour-preview[b-c0q4ygmbw7] {
    display: inline-block;
    width: 36px;
    height: 36px;
    border-radius: var(--mud-default-borderradius);
    border: 1px solid var(--mud-palette-lines-default);
}
/* /Components/Pages/Inventory/Dialogs/ProductEditDialog.razor.rz.scp.css */
/* The dialog must not resize as the user moves between tabs.

   Width is already pinned by MaxWidth.Large + FullWidth on the dialog options. Height is
   what moved: General is a long form, Tax & accounts is a short one, so the card grew and
   shrank on every tab click and the Save button chased the pointer around the screen.

   Fixing the body height solves it: each tab scrolls inside a panel of the same size, so the
   card, its header and its buttons stay exactly where they are. overflow-x is hidden so the
   wide barcode and pricing tables scroll within their own container rather than widening
   the card. */

.h365-tab-body[b-wsdiptjpxx] {
    height: 58vh;
    min-height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
    /* Keeps the right-hand fields clear of the scrollbar. */
    padding-right: 8px;
}
/* /Components/Pages/Inventory/Products.razor.rz.scp.css */
/* Colour swatch beside a product whose colour variant carries one. */
.h365-swatch[b-m29dvpflo0] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 8px;
    border-radius: 3px;
    border: 1px solid var(--mud-palette-lines-default);
    flex: 0 0 auto;
}
