/* /Pages/Orders/OrdersGrid.razor.rz.scp.css */
[b-514yv74mbn] .post-success > td {
    color: green !important
}

[b-514yv74mbn] .post-fail > td {
    color: darkred !important;
}

[b-514yv74mbn] .check-box {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-right: 0 !important;
}

[b-514yv74mbn] .check-box > label {
    margin: 0 !important;
}

[b-514yv74mbn] .post-selection-cell {
    position: relative;
}

[b-514yv74mbn] .post-selection-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-514yv74mbn] .post-selection-header .check-box {
    transform: translateX(4px);
}

.bulk-selection-banner[b-514yv74mbn] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75em;
    padding: 0.4em 0.8em;
    background-color: #fff8e1;
    border: 1px solid #f0c36d;
    border-radius: 3px;
    margin-bottom: 0.4em;
    font-size: 0.9em;
}

.link-btn[b-514yv74mbn] {
    background: none;
    border: none;
    color: #1f6feb;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    font-size: inherit;
}

.link-btn:disabled[b-514yv74mbn] {
    color: #6c757d;
    cursor: default;
    text-decoration: none;
}

.busy-overlay[b-514yv74mbn] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* /Pages/StockStatusDemoConsole/StockStatusDemoConsolePage.razor.rz.scp.css */
.demo-page[b-4xtoojjfl0] {
    max-width: 1400px;
}

.demo-lead[b-4xtoojjfl0] {
    color: var(--grey-600);
    font-size: 1.2rem;
    max-width: 60rem;
}

/* Sections: one rounded panel per step, matching the editor's grey panels. */
.demo-section[b-4xtoojjfl0] {
    background: var(--grey-100);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.demo-section + .demo-section[b-4xtoojjfl0],
.demo-section + .demo-workspace[b-4xtoojjfl0] {
    margin-top: 1.5rem;
}

.demo-section-heading[b-4xtoojjfl0] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.demo-step-title[b-4xtoojjfl0] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.demo-step-number[b-4xtoojjfl0] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    flex: 0 0 auto;
}

.demo-open-link[b-4xtoojjfl0] {
    font-weight: 600;
    white-space: nowrap;
}

/* Step 1: tank cards */
.demo-unit-cards[b-4xtoojjfl0] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.demo-unit-card[b-4xtoojjfl0] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    text-align: left;
    background: var(--white);
    color: inherit;
    border: 2px solid var(--grey-200);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s var(--curve), box-shadow 0.2s var(--curve);
}

.demo-unit-card:hover:not(:disabled)[b-4xtoojjfl0],
.demo-unit-card:focus-visible[b-4xtoojjfl0] {
    border-color: var(--grey-300);
    box-shadow: var(--shadow);
    outline: none;
}

.demo-unit-card.is-selected[b-4xtoojjfl0] {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.15);
}

.demo-unit-card:disabled[b-4xtoojjfl0] {
    cursor: default;
    opacity: 0.75;
}

.demo-unit-name[b-4xtoojjfl0] {
    font-size: 1.15rem;
    font-weight: 700;
}

.demo-unit-meta[b-4xtoojjfl0] {
    color: var(--grey-600);
    font-size: 0.9rem;
}

.demo-unit-facts[b-4xtoojjfl0] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
    margin: 0.5rem 0 0;
}

.demo-unit-facts dt[b-4xtoojjfl0] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--grey-600);
    font-weight: 600;
}

.demo-unit-facts dd[b-4xtoojjfl0] {
    margin: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.demo-unit-flag[b-4xtoojjfl0] {
    margin-top: 0.5rem;
}

/* Step 2: operations */
.demo-console-operations[b-4xtoojjfl0] {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-operation[b-4xtoojjfl0] {
    display: grid;
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
    align-items: center;
    gap: 1rem 1.5rem;
}

.demo-action-button[b-4xtoojjfl0] {
    width: 100%;
    font-size: var(--bs-btn-font-size);
    padding: 0.7rem 1rem;
    white-space: normal;
}

.demo-operation-description[b-4xtoojjfl0] {
    color: var(--grey-600);
    overflow-wrap: anywhere;
}

/* A button waiting for a selection stays clickable so the click can show the hint. */
.demo-action-button[aria-disabled="true"][b-4xtoojjfl0] {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

.demo-selection-hint[b-4xtoojjfl0] {
    color: var(--primary);
    font-weight: 600;
}

.demo-selection-hint:empty[b-4xtoojjfl0] {
    display: none;
}

/* Step 3: reading */
.demo-reading-controls[b-4xtoojjfl0] {
    display: grid;
    grid-template-columns: minmax(8rem, 10rem) minmax(0, 1fr) minmax(10rem, 14rem);
    align-items: end;
    gap: 1rem 1.5rem;
    margin-bottom: 0.75rem;
}

.demo-gauge-wrapper[b-4xtoojjfl0] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 0.15rem;
}

.demo-gauge[b-4xtoojjfl0] {
    position: relative;
    height: 1.4rem;
    border-radius: 0.7rem;
    background: var(--grey-200);
    overflow: hidden;
}

.demo-gauge-fill[b-4xtoojjfl0] {
    height: 100%;
    border-radius: 0.7rem;
    background: var(--blue);
    transition: width 0.3s var(--curve), background-color 0.3s var(--curve);
}

.demo-gauge-fill.is-ok[b-4xtoojjfl0] {
    background: var(--green);
}

.demo-gauge-fill.is-low[b-4xtoojjfl0] {
    background: var(--red);
}

.demo-gauge-refill[b-4xtoojjfl0] {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--black);
    opacity: 0.6;
}

.demo-gauge-scale[b-4xtoojjfl0] {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--grey-600);
}

.demo-payload summary[b-4xtoojjfl0] {
    cursor: pointer;
    color: var(--grey-600);
    font-size: 0.9rem;
}

.demo-payload textarea[b-4xtoojjfl0] {
    margin-top: 0.5rem;
    resize: none;
    font-size: 0.85rem;
}

/* Loading dialog: a card naming the running operation; it is also the focus target. */
.demo-loading-focus[b-4xtoojjfl0] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--grey-200);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    outline: none;
}

.demo-loading-spinner[b-4xtoojjfl0] {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

.demo-loading-message[b-4xtoojjfl0] {
    font-size: 1.1rem;
    font-weight: 600;
}

.demo-loading-hint[b-4xtoojjfl0] {
    color: var(--grey-600);
}

@media (max-width: 767.98px) {
    .demo-operation[b-4xtoojjfl0],
    .demo-reading-controls[b-4xtoojjfl0] {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}
/* /Pages/StockStatusDemoConsole/StockStatusDemoStatusPanel.razor.rz.scp.css */
.demo-status-panel[b-kact4ym10e] {
    background: var(--grey-100);
    border-radius: 1.5rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-status-heading[b-kact4ym10e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.demo-status-title[b-kact4ym10e] {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.demo-status-empty[b-kact4ym10e],
.demo-status-waiting[b-kact4ym10e] {
    color: var(--grey-600);
}

.demo-status-waiting[b-kact4ym10e] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.demo-status-headline[b-kact4ym10e] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.demo-status-badge[b-kact4ym10e] {
    font-size: 1.6rem;
    padding: 0.4em 0.8em;
}

.demo-status-headline-text[b-kact4ym10e] {
    font-size: 1.1rem;
    font-weight: 600;
}

.demo-status-note[b-kact4ym10e] {
    font-size: 0.9rem;
}

/* Estimated level bar */
.demo-level[b-kact4ym10e] {
    height: 0.9rem;
    border-radius: 0.45rem;
    background: var(--grey-200);
    overflow: hidden;
}

.demo-level-fill[b-kact4ym10e] {
    height: 100%;
    border-radius: 0.45rem;
    background: var(--green);
    transition: width 0.4s var(--curve);
}

.demo-status-facts[b-kact4ym10e] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
    margin: 0;
}

.demo-status-fact dt[b-kact4ym10e] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--grey-600);
    font-weight: 600;
}

.demo-status-fact dd[b-kact4ym10e] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.demo-status-fact:nth-child(4)[b-kact4ym10e],
.demo-status-fact:nth-child(5)[b-kact4ym10e] {
    grid-column: 1 / -1;
}

/* Priority band legend */
.demo-bands[b-kact4ym10e] {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--grey-200);
}

.demo-bands-title[b-kact4ym10e] {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--grey-600);
    font-weight: 600;
    margin-bottom: 0.6rem;
}

.demo-bands-list[b-kact4ym10e] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.demo-band[b-kact4ym10e] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.demo-band-badge[b-kact4ym10e] {
    font-size: 0.85rem;
    padding: 0.3em 0.6em;
    min-width: 2.6rem;
    text-align: center;
}

.demo-band-condition[b-kact4ym10e] {
    font-weight: 600;
}

.demo-band-trigger[b-kact4ym10e] {
    color: var(--grey-600);
    font-size: 0.9rem;
}

.demo-band-trigger[b-kact4ym10e]::before {
    content: "\00B7";
    margin-right: 0.5rem;
    font-weight: 700;
}

@media (max-width: 575.98px) {
    .demo-status-facts[b-kact4ym10e] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/StockStatusPriorities/StockStatusPriorityEdit.razor.rz.scp.css */
/* Colour swatches on the stock status priority edit page (ogs-077). The transparent border
   keeps every swatch the same size, so selecting one does not shift the row. */
.colour-swatch[b-selyknphru] {
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.875rem;
    min-width: 2.75rem;
    padding: 0.4em 0.6em;
}

.colour-swatch.selected[b-selyknphru],
.colour-custom.selected[b-selyknphru] {
    /* --black is the app text colour in both themes (#131320 light, #c5c5d6 dark);
       --bs-body-color stays at its light value because the app never sets data-bs-theme. */
    border: 2px solid var(--black);
}

.colour-custom[b-selyknphru] {
    border: 2px solid transparent;
    border-radius: 0.375rem;
    cursor: pointer;
    margin-bottom: 0;
    padding: 0 0.25rem;
}
/* /Pages/StorageUnitEdit/StorageUnitBrowserPage.razor.rz.scp.css */
[b-0e3wmjunbv] .e-tab .e-tab-header .e-toolbar-item.nav-tab-item .e-tab-wrap {
    padding: 0;
}

[b-0e3wmjunbv] .e-tab .e-tab-header .e-toolbar-item.nav-tab-item .e-tab-text {
    display: block;
    width: 100%;
    height: 100%;
}

    [b-0e3wmjunbv] .e-tab .e-tab-header .e-toolbar-item.nav-tab-item .e-tab-text span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        padding: 0 16px;
        cursor: pointer;
    }
/* /Pages/StorageUnitEdit/StorageUnitEditor.razor.rz.scp.css */
[b-nc3wztpkyz] .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

[b-nc3wztpkyz] .remove-last-child-mb > .row:last-child {
    margin-bottom: 0 !important;
}
/* /Pages/Zones/ZoneEdit.razor.rz.scp.css */
.e-appointment .e-lib .e-draggable[b-fd3e4c9sz0]{
    height: 3em !important;
}

.e-schedule .e-month-view .e-appointment[b-fd3e4c9sz0]{
    background: var(--primary) !important;
}

.e-schedule .e-month-view .e-current-date .e-date-header[b-fd3e4c9sz0], .e-schedule .e-month-agenda-view .e-current-date .e-date-header[b-fd3e4c9sz0]{
    background: var(--primary) !important;
}
/* /Shared/InstanceBadge.razor.rz.scp.css */
/* Deployment identity badge (ogs-049). --primary is redefined for dark mode in main.css. */
.header__instance[b-xwpf1dtsho] {
    margin-left: 1rem;
    padding: 0.2rem 0.9rem;
    border: 1px solid var(--primary);
    border-radius: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}
/* /Shared/MainLayout.razor.rz.scp.css */
.dashboard[b-tfupdkop9m] {
    min-height: 100vh;
    min-width: 950px;
    display: flex;
    flex-direction: column;
    padding: 0 4rem;
}

.header[b-tfupdkop9m] {
    min-height: 8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
}

.header__logo[b-tfupdkop9m] {
    width: auto;
    height: 3rem;
    margin-right: 1em;
}

.header__branding[b-tfupdkop9m] {
    display: flex;
    align-items: flex-end;
}

.header__ogs[b-tfupdkop9m] {
    max-width: 4.5rem;
    transform: translateY(-0.25rem);
    margin-left: 0.5rem;
}

.header__ogs_bestrane[b-tfupdkop9m] {
    max-width: 4.5rem;
    transform: translateY(0.25rem);
    margin-left: 0.5rem;
}

.footer__version[b-tfupdkop9m] {
    color: inherit;
    opacity: 0.7;
}
