@import '_content/Microsoft.AspNetCore.Components.QuickGrid/Microsoft.AspNetCore.Components.QuickGrid.boiwgh0w5b.bundle.scp.css';

/* /Components/Account/Login.razor.rz.scp.css */
.login-shell[b-hwhjpmrbxz] {
    min-height: calc(100vh - 6rem);
    display: grid;
    place-items: center;
    padding: 1rem;
}

.login-panel[b-hwhjpmrbxz] {
    width: min(100%, 420px);
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 .75rem 2rem rgba(33, 37, 41, .08);
}

.login-brand[b-hwhjpmrbxz] {
    text-align: center;
    margin-bottom: 1.25rem;
}

.login-brand i[b-hwhjpmrbxz] {
    color: #0d6efd;
    font-size: 2rem;
}

.login-brand h1[b-hwhjpmrbxz] {
    margin: .35rem 0 .1rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.login-brand p[b-hwhjpmrbxz] {
    margin: 0;
    color: #6c757d;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.trade-app[b-ncgeo4fqfl] {
    min-height: 100vh;
    background: #f5f6f8;
}

.trade-topbar[b-ncgeo4fqfl] {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.75rem;
    padding: .75rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
}

.trade-brand[b-ncgeo4fqfl],
.trade-nav-link[b-ncgeo4fqfl],
.trade-language[b-ncgeo4fqfl] {
    color: #212529;
    text-decoration: none;
}

.trade-brand[b-ncgeo4fqfl] {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-weight: 800;
}

.trade-brand i[b-ncgeo4fqfl] {
    color: #0d6efd;
}

.trade-nav[b-ncgeo4fqfl] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.trade-nav-link[b-ncgeo4fqfl],
.trade-language[b-ncgeo4fqfl],
.trade-logout[b-ncgeo4fqfl] {
    border: 1px solid transparent;
    border-radius: 6px;
    padding: .35rem .55rem;
    font-size: .9rem;
}

.trade-nav-link:hover[b-ncgeo4fqfl],
.trade-language:hover[b-ncgeo4fqfl],
.trade-language.active[b-ncgeo4fqfl],
.trade-logout:hover[b-ncgeo4fqfl] {
    border-color: #ced4da;
    background: #f8f9fa;
}

.trade-language[b-ncgeo4fqfl] {
    font-weight: 700;
}

.trade-user[b-ncgeo4fqfl] {
    color: #6c757d;
    font-size: .88rem;
}

.trade-logout[b-ncgeo4fqfl] {
    background: transparent;
    color: #495057;
}

.trade-main[b-ncgeo4fqfl] {
    padding: 1.25rem;
}

@media (max-width: 575.98px) {
    .trade-topbar[b-ncgeo4fqfl] {
        align-items: flex-start;
        flex-direction: column;
    }

    .trade-nav[b-ncgeo4fqfl] {
        flex-wrap: wrap;
    }

    .trade-main[b-ncgeo4fqfl] {
        padding: .85rem;
    }
}
/* /Components/Pages/CategoryManagement.razor.rz.scp.css */
.category-page[b-44a0m1rif3] {
    max-width: 1480px;
    margin: 0 auto;
}

.category-header[b-44a0m1rif3] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-title[b-44a0m1rif3] {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
}

.category-title h1[b-44a0m1rif3] {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.category-search[b-44a0m1rif3] {
    position: relative;
    width: min(22rem, 100%);
}

.category-search i[b-44a0m1rif3] {
    position: absolute;
    top: .42rem;
    left: .55rem;
    color: #6c757d;
}

.category-search .form-control[b-44a0m1rif3] {
    padding-left: 1.8rem;
}

.category-shell[b-44a0m1rif3] {
    display: grid;
    grid-template-columns: minmax(18rem, 24rem) minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
}

.category-tree-panel[b-44a0m1rif3],
.category-detail-panel[b-44a0m1rif3] {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
}

.category-tree-panel[b-44a0m1rif3] {
    position: sticky;
    top: .75rem;
    max-height: calc(100vh - 2rem);
    overflow: auto;
}

.category-tree-summary[b-44a0m1rif3] {
    display: flex;
    align-items: baseline;
    gap: .35rem;
    padding: .75rem;
    border-bottom: 1px solid #e9ecef;
}

.category-tree-summary strong[b-44a0m1rif3] {
    font-size: 1.1rem;
}

.category-tree-summary span[b-44a0m1rif3] {
    color: #6c757d;
    font-size: .82rem;
    font-weight: 700;
}

.category-tree[b-44a0m1rif3] {
    display: grid;
    gap: .15rem;
    padding: .45rem;
}

.category-detail-panel[b-44a0m1rif3] {
    min-height: 34rem;
    padding: 1rem;
}

.category-detail-header[b-44a0m1rif3] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid #e9ecef;
}

.category-detail-header h2[b-44a0m1rif3] {
    margin: .15rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.category-detail-header p[b-44a0m1rif3],
.category-id[b-44a0m1rif3] {
    color: #6c757d;
    font-size: .8rem;
    font-weight: 700;
}

.category-detail-header .btn[b-44a0m1rif3] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.category-main-layout[b-44a0m1rif3] {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.category-image-panel[b-44a0m1rif3] {
    display: grid;
    align-content: start;
    gap: .65rem;
}

.category-image-panel label[b-44a0m1rif3] {
    display: grid;
    gap: .2rem;
}

.category-image-panel span[b-44a0m1rif3] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.category-image-frame[b-44a0m1rif3] {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    overflow: hidden;
}

.category-image-frame img[b-44a0m1rif3] {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-image-frame i[b-44a0m1rif3] {
    color: #adb5bd;
    font-size: 2rem;
}

.category-edit-grid[b-44a0m1rif3] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.category-edit-grid label[b-44a0m1rif3] {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.category-edit-grid span[b-44a0m1rif3] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.category-edit-grid .wide[b-44a0m1rif3] {
    grid-column: span 2;
}

.category-edit-grid .full[b-44a0m1rif3] {
    grid-column: 1 / -1;
}

.category-characteristics[b-44a0m1rif3],
.category-children[b-44a0m1rif3] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.category-section-header[b-44a0m1rif3] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .6rem;
}

.category-section-header h3[b-44a0m1rif3],
.category-children h3[b-44a0m1rif3] {
    margin: 0 0 .6rem;
    font-size: .95rem;
    font-weight: 800;
}

.category-section-header h3[b-44a0m1rif3] {
    margin: 0;
}

.category-characteristics-table[b-44a0m1rif3] {
    display: grid;
    gap: .3rem;
    overflow-x: auto;
}

.category-characteristics-head[b-44a0m1rif3],
.category-characteristic-row[b-44a0m1rif3] {
    display: grid;
    grid-template-columns: minmax(7rem, .75fr) minmax(9rem, 1fr) minmax(9rem, 1fr) minmax(10rem, 1fr) minmax(10rem, 1fr) 7rem 4rem 2.35rem;
    gap: .35rem;
    align-items: center;
    min-width: 980px;
}

.category-characteristics-head[b-44a0m1rif3] {
    color: #6c757d;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.category-characteristic-row[b-44a0m1rif3] {
    padding: .35rem;
    border: 1px solid #edf0f2;
    border-radius: 6px;
    background: #fbfcfd;
}

.category-characteristic-row .icon-button[b-44a0m1rif3] {
    width: 2.1rem;
    height: 2rem;
}

.category-child-list[b-44a0m1rif3] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
    gap: .45rem;
}

.category-child-list button[b-44a0m1rif3] {
    display: grid;
    gap: .1rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    padding: .55rem .65rem;
    text-align: left;
}

.category-child-list button:hover[b-44a0m1rif3] {
    border-color: #0d6efd;
    background: #f8fbff;
}

.category-child-list span[b-44a0m1rif3] {
    color: #6c757d;
    font-size: .78rem;
}

.category-empty[b-44a0m1rif3],
.category-loading[b-44a0m1rif3] {
    display: grid;
    place-items: center;
    min-height: 20rem;
    color: #6c757d;
}

.category-empty[b-44a0m1rif3] {
    gap: .5rem;
}

.category-empty i[b-44a0m1rif3] {
    font-size: 2rem;
}

@media (max-width: 991.98px) {
    .category-header[b-44a0m1rif3],
    .category-shell[b-44a0m1rif3] {
        grid-template-columns: 1fr;
    }

    .category-header[b-44a0m1rif3] {
        flex-direction: column;
    }

    .category-search[b-44a0m1rif3] {
        width: 100%;
    }

    .category-tree-panel[b-44a0m1rif3] {
        position: static;
        max-height: 24rem;
    }

    .category-edit-grid[b-44a0m1rif3] {
        grid-template-columns: 1fr;
    }

    .category-main-layout[b-44a0m1rif3] {
        grid-template-columns: 1fr;
    }

    .category-edit-grid .wide[b-44a0m1rif3],
    .category-edit-grid .full[b-44a0m1rif3] {
        grid-column: auto;
    }
}
/* /Components/Pages/EmkTradeDashboard.razor.rz.scp.css */
.emk-dashboard[b-13qubsir29] {
    max-width: 1480px;
    margin: 0 auto;
}

.emk-dashboard-header[b-13qubsir29] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.emk-dashboard-header h1[b-13qubsir29] {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.emk-dashboard-header p[b-13qubsir29] {
    margin: .2rem 0 0;
    color: #6c757d;
    font-size: .95rem;
}

.dashboard-status[b-13qubsir29] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.mode-badge[b-13qubsir29] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    padding: .3rem .55rem;
    background: #fff;
    color: #495057;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}

.mode-badge.sales[b-13qubsir29] {
    border-color: #f1c40f;
    background: #fff9db;
    color: #5c4700;
}

.mode-badge.office[b-13qubsir29] {
    border-color: #b6d4fe;
    background: #f8fbff;
    color: #084298;
}

.dashboard-grid[b-13qubsir29] {
    display: grid;
    grid-template-columns: repeat(5, minmax(10.5rem, 1fr));
    gap: .8rem;
}

.dashboard-tile[b-13qubsir29] {
    min-height: 8.25rem;
    display: grid;
    grid-template-rows: 2.5rem auto minmax(1.4rem, auto);
    align-items: center;
    gap: .4rem;
    border: 1px solid #dfe3e8;
    border-top-width: 4px;
    border-radius: 8px;
    padding: .85rem;
    background: #fff;
    color: #212529;
    text-align: center;
    text-decoration: none;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.dashboard-tile-shell[b-13qubsir29] {
    position: relative;
    min-height: 8.25rem;
}

.dashboard-tile-shell .dashboard-tile[b-13qubsir29] {
    width: 100%;
    height: 100%;
}

.dashboard-tile-actions[b-13qubsir29] {
    position: absolute;
    top: .55rem;
    right: .55rem;
    display: grid;
    gap: .35rem;
}

.dashboard-action-button[b-13qubsir29] {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfe2ff;
    border-radius: 6px;
    background: #0d6efd;
    color: #fff;
    box-shadow: 0 .2rem .55rem rgba(13, 110, 253, .22);
}

.dashboard-action-button:hover[b-13qubsir29],
.dashboard-action-button:focus[b-13qubsir29] {
    background: #0b5ed7;
    color: #fff;
}

.dashboard-action-button.disabled[b-13qubsir29] {
    border-color: #dee2e6;
    background: #e9ecef;
    color: #8a929a;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: none;
}

.dashboard-tile-actions .dropdown-item[b-13qubsir29] {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .86rem;
}

.dashboard-tile:not(.disabled):hover[b-13qubsir29] {
    border-color: #9ec5fe;
    box-shadow: 0 .35rem .9rem rgba(33, 37, 41, .08);
    transform: translateY(-1px);
}

.dashboard-tile.disabled[b-13qubsir29] {
    color: #6c757d;
    cursor: not-allowed;
}

.dashboard-tile-icon[b-13qubsir29] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.dashboard-tile-title[b-13qubsir29] {
    font-weight: 800;
    line-height: 1.15;
}

.dashboard-tile-stats[b-13qubsir29] {
    color: #6c757d;
    font-size: .82rem;
    line-height: 1.2;
}

.dashboard-tile.sales[b-13qubsir29] {
    border-top-color: #198754;
}

.dashboard-tile.delivery[b-13qubsir29] {
    border-top-color: #0d6efd;
}

.dashboard-tile.prices[b-13qubsir29] {
    border-top-color: #198754;
}

.dashboard-tile.partners[b-13qubsir29] {
    border-top-color: #20c997;
}

.dashboard-tile.products[b-13qubsir29] {
    border-top-color: #ffc107;
}

.dashboard-tile.invoice[b-13qubsir29] {
    border-top-color: #fd7e14;
}

.dashboard-tile.offer[b-13qubsir29] {
    border-top-color: #0dcaf0;
}

.dashboard-tile.proforma[b-13qubsir29] {
    border-top-color: #6f42c1;
}

.dashboard-tile.return[b-13qubsir29] {
    border-top-color: #dc3545;
}

.dashboard-tile.reports[b-13qubsir29] {
    border-top-color: #6c757d;
}

.dashboard-tile.settings[b-13qubsir29] {
    border-top-color: #adb5bd;
}

.dashboard-loading[b-13qubsir29] {
    display: grid;
    place-items: center;
    min-height: 16rem;
}

@media (max-width: 1199.98px) {
    .dashboard-grid[b-13qubsir29] {
        grid-template-columns: repeat(3, minmax(10.5rem, 1fr));
    }
}

@media (max-width: 767.98px) {
    .emk-dashboard-header[b-13qubsir29] {
        flex-direction: column;
    }

    .dashboard-status[b-13qubsir29] {
        width: 100%;
        justify-content: space-between;
    }

    .dashboard-grid[b-13qubsir29] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 459.98px) {
    .dashboard-grid[b-13qubsir29] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/EmkTradeDocumentDetail.razor.rz.scp.css */
.trade-document-detail[b-prml78ddbu] {
    --trade-control-height: 2.25rem;
    max-width: 1360px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
}

.trade-document-detail-header[b-prml78ddbu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.trade-document-title[b-prml78ddbu] {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
}

.trade-document-detail-header h1[b-prml78ddbu] {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.trade-document-header-actions[b-prml78ddbu] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.trade-document-facts[b-prml78ddbu] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.trade-document-facts div[b-prml78ddbu] {
    min-width: 0;
}

.trade-document-facts dt[b-prml78ddbu] {
    color: #6c757d;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.trade-document-facts dd[b-prml78ddbu] {
    margin: .2rem 0 0;
    font-weight: 600;
}

.sale-header-panel[b-prml78ddbu] {
    display: grid;
    grid-template-columns: 8.75rem minmax(20rem, 1fr) 9.5rem 7.5rem;
    gap: .65rem;
    align-items: end;
    padding: .85rem 0;
    border-bottom: 1px solid #e9ecef;
}

.sale-payment-panel[b-prml78ddbu] {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.sale-payment-panel > span[b-prml78ddbu] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.payment-method-group[b-prml78ddbu],
.sale-flow-actions[b-prml78ddbu] {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
}

.payment-method-group[b-prml78ddbu] {
    flex: 1 1 auto;
}

.sale-flow-actions[b-prml78ddbu] {
    justify-content: flex-end;
}

.sale-flow-actions .btn[b-prml78ddbu] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.sale-header-panel label[b-prml78ddbu],
.sale-discount-field[b-prml78ddbu] {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.sale-header-panel span[b-prml78ddbu],
.sale-discount-field span[b-prml78ddbu] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.sale-header-panel .form-control[b-prml78ddbu],
.sale-header-panel .form-select[b-prml78ddbu],
.sale-header-panel .btn[b-prml78ddbu],
.sale-client-input[b-prml78ddbu] {
    min-height: var(--trade-control-height);
}

.sale-client-field[b-prml78ddbu] {
    position: relative;
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.sale-client-input[b-prml78ddbu] {
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
}

.sale-client-input .form-control[b-prml78ddbu] {
    flex: 1 1 auto;
    min-width: 0;
}

.sale-client-input .btn[b-prml78ddbu] {
    flex: 0 0 auto;
}

.sale-client-input .btn-new-client[b-prml78ddbu] {
    width: var(--trade-control-height);
    height: var(--trade-control-height);
}

.sale-discount-value[b-prml78ddbu] {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
    min-height: var(--trade-control-height);
    margin: 0;
    padding: 0 .6rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    font-size: .92rem;
    font-weight: 800;
    color: #495057;
}

.client-results[b-prml78ddbu] {
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: .25rem;
    margin-top: .2rem;
    padding: .35rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 .5rem 1.5rem rgba(15, 23, 42, .12);
}

.client-results button[b-prml78ddbu],
.client-dialog-results button[b-prml78ddbu] {
    display: grid;
    gap: .1rem;
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    padding: .4rem .5rem;
    text-align: left;
    font-size: .83rem;
}

.client-results span[b-prml78ddbu],
.client-dialog-results span[b-prml78ddbu] {
    color: #6c757d;
    font-size: .76rem;
}

.trade-lines-section[b-prml78ddbu] {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.trade-line-add[b-prml78ddbu] {
    display: grid;
    padding: .85rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.line-add-grid[b-prml78ddbu] {
    display: grid;
    grid-template-columns: 2.6rem minmax(22rem, 1fr) 8.5rem 8rem 8.5rem 5.25rem;
    column-gap: .65rem;
    align-items: end;
}

.line-number[b-prml78ddbu] {
    display: inline-grid;
    width: 2.6rem;
    height: var(--trade-control-height);
    place-items: center;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    color: #6c757d;
    font-weight: 800;
}

.line-product-cell[b-prml78ddbu],
.line-qty-cell[b-prml78ddbu],
.line-availability-cell[b-prml78ddbu],
.line-total-cell[b-prml78ddbu] {
    display: grid;
    grid-template-rows: 1.15rem var(--trade-control-height);
    gap: .2rem;
    min-width: 0;
}

.line-product-cell > span[b-prml78ddbu],
.line-qty-cell > span[b-prml78ddbu],
.line-availability-cell > span[b-prml78ddbu],
.line-total-cell > span[b-prml78ddbu] {
    color: #6c757d;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.line-product-cell[b-prml78ddbu]  .product-search-picker {
    width: 100%;
}

.line-product-entry[b-prml78ddbu] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--trade-control-height);
    gap: .35rem;
}

.line-product-cell[b-prml78ddbu]  .product-search-picker,
.line-product-cell[b-prml78ddbu]  .product-search-row,
.line-product-cell[b-prml78ddbu]  .product-search-row .form-control,
.line-product-cell[b-prml78ddbu]  .product-search-row .btn,
.line-product-entry > .btn[b-prml78ddbu] {
    min-height: var(--trade-control-height);
}

.line-qty-cell[b-prml78ddbu]  .sale-line-number-input {
    width: 100%;
}

.quantity-entry-group[b-prml78ddbu] {
    display: flex;
    flex-wrap: nowrap;
    min-height: var(--trade-control-height);
    width: 100%;
}

.quantity-entry-group .form-control[b-prml78ddbu] {
    min-width: 0;
    flex: 1 1 auto;
}

.quantity-entry-group .btn[b-prml78ddbu] {
    width: var(--trade-control-height);
    flex: 0 0 var(--trade-control-height);
}

.line-availability-cell strong[b-prml78ddbu] {
    display: inline-grid;
    min-height: var(--trade-control-height);
    align-items: center;
    padding: 0 .1rem;
    color: #495057;
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
}

.sale-line-total[b-prml78ddbu] {
    display: inline-grid;
    min-height: var(--trade-control-height);
    width: 100%;
    align-items: center;
    justify-content: end;
    padding: 0 .45rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    font-size: .86rem;
}

.line-actions-cell[b-prml78ddbu] {
    display: flex;
    gap: .35rem;
    justify-content: flex-end;
    height: var(--trade-control-height);
}

.line-actions-cell .icon-button[b-prml78ddbu] {
    width: var(--trade-control-height);
    height: var(--trade-control-height);
}

.apply-discount-button[b-prml78ddbu] {
    min-height: var(--trade-control-height);
}

.trade-empty-lines[b-prml78ddbu] {
    color: #6c757d;
    text-align: center;
    padding: 2rem 1rem;
    border: 1px dashed #ced4da;
    border-radius: 8px;
}

.trade-lines-table-wrap[b-prml78ddbu] {
    overflow-x: auto;
}

.trade-lines-table-wrap[b-prml78ddbu]  .trade-lines-table {
    width: 100%;
    min-width: 1040px;
    font-size: .78rem;
    vertical-align: middle;
}

.trade-lines-table-wrap[b-prml78ddbu]  .trade-lines-table th {
    color: #5c6670;
    background: #f8f9fa;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.trade-lines-table-wrap[b-prml78ddbu]  .trade-lines-table td,
.trade-lines-table-wrap[b-prml78ddbu]  .trade-lines-table th {
    padding: .36rem .45rem;
}

.trade-lines-table-wrap[b-prml78ddbu]  .trade-lines-table th:first-child,
.trade-lines-table-wrap[b-prml78ddbu]  .trade-lines-table td:first-child {
    width: 3rem;
    max-width: 3rem;
}

.line-row-actions[b-prml78ddbu] {
    display: flex;
    justify-content: flex-end;
    gap: .25rem;
}

.sale-totals[b-prml78ddbu] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.sale-totals div[b-prml78ddbu] {
    display: grid;
    gap: .15rem;
    min-width: 0;
    padding: .65rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.sale-totals span[b-prml78ddbu] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sale-totals strong[b-prml78ddbu] {
    font-size: 1rem;
}

.sale-payable[b-prml78ddbu] {
    border-color: #198754 !important;
    background: #f4fbf7 !important;
}

.trade-modal-backdrop[b-prml78ddbu] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, .35);
}

.trade-modal[b-prml78ddbu] {
    width: min(760px, 100%);
    max-height: min(760px, 92vh);
    display: grid;
    gap: .75rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, .2);
}

.trade-modal header[b-prml78ddbu],
.trade-modal footer[b-prml78ddbu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.trade-modal h2[b-prml78ddbu] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.client-dialog-search[b-prml78ddbu],
.client-dialog-advanced[b-prml78ddbu],
.client-new-grid[b-prml78ddbu] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2.25rem 2.25rem;
    gap: .4rem;
}

.client-dialog-advanced[b-prml78ddbu] {
    grid-template-columns: minmax(10rem, 1.4fr) repeat(4, minmax(6.5rem, 1fr));
}

.client-new-grid[b-prml78ddbu] {
    grid-template-columns: minmax(10rem, 1fr) 8rem 8rem 6rem 2.25rem;
}

.client-dialog-results[b-prml78ddbu] {
    display: grid;
    gap: .35rem;
}

.client-new-panel[b-prml78ddbu] {
    display: grid;
    gap: .75rem;
    padding: .75rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
}

.client-new-panel header[b-prml78ddbu],
.client-new-panel footer[b-prml78ddbu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.client-new-panel h3[b-prml78ddbu] {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
}

.client-new-fields[b-prml78ddbu] {
    display: grid;
    grid-template-columns: minmax(12rem, 1.4fr) repeat(2, minmax(8rem, 1fr));
    gap: .6rem;
}

.client-new-fields label[b-prml78ddbu] {
    display: grid;
    gap: .25rem;
    margin: 0;
    min-width: 0;
}

.client-new-fields label.wide[b-prml78ddbu] {
    grid-column: span 2;
}

.client-new-fields span[b-prml78ddbu] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.discount-modal[b-prml78ddbu] {
    width: min(520px, 100%);
}

.cancel-sale-modal[b-prml78ddbu] {
    width: min(520px, 100%);
}

.line-edit-modal[b-prml78ddbu],
.line-remove-modal[b-prml78ddbu],
.complete-sale-modal[b-prml78ddbu] {
    width: min(520px, 100%);
}

.complete-sale-modal[b-prml78ddbu] {
    width: min(640px, 100%);
    max-height: min(820px, 94vh);
}

.product-picture-modal[b-prml78ddbu] {
    width: min(680px, 100%);
}

.product-picture-modal img[b-prml78ddbu] {
    display: block;
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
}

.line-edit-grid[b-prml78ddbu] {
    display: grid;
    grid-template-columns: 8rem 8rem;
    gap: .6rem;
}

.line-edit-grid label[b-prml78ddbu] {
    display: grid;
    gap: .25rem;
    margin: 0;
}

.line-edit-grid span[b-prml78ddbu] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sale-preview-modal[b-prml78ddbu] {
    width: min(820px, 100%);
}

.sale-preview-sheet[b-prml78ddbu] {
    display: grid;
    gap: .75rem;
}

.sale-preview-head[b-prml78ddbu] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .25rem .75rem;
}

.sale-preview-head span[b-prml78ddbu] {
    color: #6c757d;
}

.sale-preview-totals[b-prml78ddbu] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem;
    border: 1px solid #198754;
    border-radius: 8px;
    background: #f4fbf7;
}

.sale-preview-totals span[b-prml78ddbu] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.discount-dialog-grid label > span[b-prml78ddbu] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.discount-dialog-grid[b-prml78ddbu] {
    display: grid;
    gap: .6rem;
}

.discount-dialog-grid label[b-prml78ddbu] {
    display: grid;
    gap: .25rem;
    margin: 0;
}

.discount-percent-field[b-prml78ddbu] {
    width: 7.5rem;
}

.cancel-sale-reason[b-prml78ddbu] {
    display: grid;
    gap: .25rem;
    margin: 0;
}

.cancel-sale-reason span[b-prml78ddbu] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.rolls-table-wrap[b-prml78ddbu] {
    overflow-x: auto;
}

.rolls-table-wrap table[b-prml78ddbu] {
    min-width: 520px;
}

@media (max-width: 767.98px) {
    .trade-document-detail-header[b-prml78ddbu] {
        flex-direction: column;
    }

    .trade-document-header-actions[b-prml78ddbu] {
        width: 100%;
        justify-content: space-between;
    }

    .sale-header-panel[b-prml78ddbu],
    .sale-payment-panel[b-prml78ddbu],
    .trade-document-facts[b-prml78ddbu] {
        grid-template-columns: 1fr;
    }

    .sale-payment-panel[b-prml78ddbu] {
        align-items: stretch;
        flex-direction: column;
    }

    .line-add-grid[b-prml78ddbu] {
        grid-template-columns: 1fr 1fr;
    }

    .line-number[b-prml78ddbu],
    .line-product-cell[b-prml78ddbu] {
        grid-column: 1 / -1;
    }

    .line-qty-cell[b-prml78ddbu],
    .line-availability-cell[b-prml78ddbu],
    .line-total-cell[b-prml78ddbu] {
        grid-column: span 1;
    }

    .line-actions-cell[b-prml78ddbu] {
        grid-column: 1 / -1;
    }

    .trade-lines-table-wrap[b-prml78ddbu]  .trade-lines-table {
        min-width: 820px;
    }

    .sale-totals[b-prml78ddbu],
    .client-dialog-search[b-prml78ddbu],
    .client-dialog-advanced[b-prml78ddbu],
    .client-new-grid[b-prml78ddbu],
    .client-new-fields[b-prml78ddbu],
    .line-edit-grid[b-prml78ddbu],
    .sale-preview-head[b-prml78ddbu] {
        grid-template-columns: 1fr;
    }

    .client-new-fields label.wide[b-prml78ddbu] {
        grid-column: auto;
    }
}

@media print {
    body *[b-prml78ddbu] {
        visibility: hidden;
    }

    .sale-preview-modal[b-prml78ddbu],
    .sale-preview-modal *[b-prml78ddbu] {
        visibility: visible;
    }

    .trade-modal-backdrop[b-prml78ddbu] {
        position: static;
        display: block;
        padding: 0;
        background: #fff;
    }

    .sale-preview-modal[b-prml78ddbu] {
        width: 100%;
        max-height: none;
        box-shadow: none;
        border-radius: 0;
    }

    .sale-preview-modal > header button[b-prml78ddbu],
    .sale-preview-modal > footer[b-prml78ddbu] {
        display: none;
    }
}
/* /Components/Pages/InventoryManagement.razor.rz.scp.css */
.management-page[b-ybumx57c6s] {
    max-width: 1600px;
    margin: 0 auto;
    padding: .25rem .5rem 1.5rem;
}

.management-header[b-ybumx57c6s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.management-header-actions[b-ybumx57c6s] {
    display: flex;
    gap: .45rem;
}

.management-header h1[b-ybumx57c6s] {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.management-header span[b-ybumx57c6s] {
    color: #6c757d;
    font-size: .84rem;
}

.management-form[b-ybumx57c6s],
.management-search[b-ybumx57c6s] {
    margin-bottom: 1rem;
}

.form-grid[b-ybumx57c6s] {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr)) 2.5rem;
    gap: .5rem;
    align-items: end;
}

.form-grid .wide[b-ybumx57c6s] {
    grid-column: span 2;
}

.form-grid label[b-ybumx57c6s] {
    display: grid;
    gap: .15rem;
    margin: 0;
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
}

.form-actions[b-ybumx57c6s] {
    display: flex;
    justify-content: flex-end;
    gap: .45rem;
    margin-top: .7rem;
}

.management-table-wrap[b-ybumx57c6s] {
    overflow-x: auto;
    margin-top: .75rem;
}

.management-table-wrap[b-ybumx57c6s]  .inventory-grid,
.inventory-breakdown[b-ybumx57c6s]  .inventory-unit-grid {
    width: 100%;
    min-width: 1320px;
    font-size: .78rem;
    vertical-align: middle;
}

.inventory-breakdown[b-ybumx57c6s]  .inventory-unit-grid {
    min-width: 760px;
}

.management-table-wrap[b-ybumx57c6s]  .inventory-grid th,
.inventory-breakdown[b-ybumx57c6s]  .inventory-unit-grid th {
    color: #5c6670;
    background: #f8f9fa;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.management-table-wrap[b-ybumx57c6s]  .inventory-grid td,
.management-table-wrap[b-ybumx57c6s]  .inventory-grid th,
.inventory-breakdown[b-ybumx57c6s]  .inventory-unit-grid td,
.inventory-breakdown[b-ybumx57c6s]  .inventory-unit-grid th {
    padding: .36rem .45rem;
}

.product-name-cell[b-ybumx57c6s] {
    display: inline-block;
    max-width: 18rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.icon-button[b-ybumx57c6s] {
    width: 2rem;
    height: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inventory-breakdown[b-ybumx57c6s] {
    display: grid;
    gap: .65rem;
    margin-top: .75rem;
    padding: .75rem;
    border: 1px solid #dfe5eb;
    border-radius: 8px;
    background: #fbfcfd;
}

.inventory-breakdown header[b-ybumx57c6s] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.inventory-breakdown h2[b-ybumx57c6s] {
    margin: 0;
    font-size: .98rem;
    font-weight: 800;
}

.inventory-breakdown header span[b-ybumx57c6s],
.breakdown-empty[b-ybumx57c6s] {
    color: #6c757d;
    font-size: .82rem;
}

.breakdown-empty[b-ybumx57c6s] {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.5rem;
}

@media (max-width: 899.98px) {
    .form-grid[b-ybumx57c6s] {
        grid-template-columns: 1fr;
    }

    .form-grid .wide[b-ybumx57c6s] {
        grid-column: auto;
    }
}
/* /Components/Pages/InventoryProductDetail.razor.rz.scp.css */
.product-detail-page[b-vyp5e1drjh] {
    max-width: 1500px;
    margin: 0 auto;
    padding: .25rem .5rem 1.5rem;
}

.product-detail-header[b-vyp5e1drjh] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-detail-header h1[b-vyp5e1drjh] {
    margin: .2rem 0 .15rem;
    font-size: 1.35rem;
    font-weight: 800;
}

.product-detail-header span[b-vyp5e1drjh],
.back-link[b-vyp5e1drjh],
.detail-empty[b-vyp5e1drjh] {
    color: #6c757d;
    font-size: .84rem;
}

.back-link[b-vyp5e1drjh] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    text-decoration: none;
}

.product-detail-actions[b-vyp5e1drjh] {
    display: flex;
    gap: .45rem;
}

.product-detail-actions .btn[b-vyp5e1drjh] {
    width: 2.25rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.detail-layout[b-vyp5e1drjh] {
    display: grid;
    grid-template-columns: minmax(15rem, 22rem) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.detail-media[b-vyp5e1drjh],
.picture-placeholder[b-vyp5e1drjh] {
    min-height: 18rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
}

.detail-media[b-vyp5e1drjh] {
    display: grid;
    place-items: center;
    overflow: hidden;
}

.detail-media img[b-vyp5e1drjh] {
    width: 100%;
    height: 100%;
    max-height: 24rem;
    object-fit: contain;
}

.picture-placeholder[b-vyp5e1drjh] {
    width: 100%;
    display: grid;
    place-items: center;
    color: #adb5bd;
    font-size: 3rem;
}

.detail-fields[b-vyp5e1drjh],
.detail-section[b-vyp5e1drjh] {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    padding: .85rem;
}

.detail-fields dl[b-vyp5e1drjh] {
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: .45rem .8rem;
    margin: 0;
}

.detail-fields dt[b-vyp5e1drjh] {
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-fields dd[b-vyp5e1drjh] {
    margin: 0;
    min-width: 0;
}

.detail-section[b-vyp5e1drjh] {
    margin-top: .9rem;
}

.detail-section h2[b-vyp5e1drjh] {
    margin: 0 0 .5rem;
    font-size: .95rem;
    font-weight: 800;
}

.detail-section p[b-vyp5e1drjh] {
    margin: 0 0 .5rem;
}

.characteristic-list[b-vyp5e1drjh] {
    display: grid;
    grid-template-columns: minmax(10rem, .3fr) minmax(0, 1fr);
    gap: .4rem .8rem;
    margin: 0;
}

.characteristic-list dt[b-vyp5e1drjh] {
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
}

.characteristic-list dd[b-vyp5e1drjh] {
    margin: 0;
}

.detail-section[b-vyp5e1drjh]  .detail-grid {
    font-size: .8rem;
}

@media (max-width: 899.98px) {
    .product-detail-header[b-vyp5e1drjh],
    .detail-layout[b-vyp5e1drjh] {
        grid-template-columns: 1fr;
    }

    .product-detail-header[b-vyp5e1drjh] {
        display: grid;
    }
}
/* /Components/Pages/InventoryProductEdit.razor.rz.scp.css */
.product-edit-page[b-08rnk4staw] {
    max-width: 1500px;
    margin: 0 auto;
    padding: .25rem .5rem 1.5rem;
}

.product-edit-header[b-08rnk4staw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-edit-header h1[b-08rnk4staw] {
    margin: .2rem 0 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.back-link[b-08rnk4staw],
.edit-empty[b-08rnk4staw] {
    color: #6c757d;
    font-size: .84rem;
}

.back-link[b-08rnk4staw] {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    text-decoration: none;
}

.product-edit-actions[b-08rnk4staw] {
    display: flex;
    gap: .45rem;
}

.edit-toolbar[b-08rnk4staw] {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .85rem;
}

.edit-toolbar .btn[b-08rnk4staw] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
}

.product-edit-actions .btn[b-08rnk4staw],
.icon-button[b-08rnk4staw] {
    width: 2.25rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.edit-section[b-08rnk4staw] {
    display: grid;
    gap: .65rem;
    margin-bottom: .85rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    padding: .85rem;
}

.edit-section h2[b-08rnk4staw] {
    margin: 0;
    font-size: .95rem;
    font-weight: 800;
}

.edit-grid[b-08rnk4staw] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .55rem;
}

.edit-grid.compact[b-08rnk4staw] {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.edit-grid .wide[b-08rnk4staw] {
    grid-column: span 2;
}

.edit-grid label[b-08rnk4staw] {
    display: grid;
    gap: .16rem;
    margin: 0;
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
}

.field-label-actions[b-08rnk4staw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
}

.btn-xs[b-08rnk4staw] {
    --bs-btn-padding-y: .05rem;
    --bs-btn-padding-x: .35rem;
    --bs-btn-font-size: .68rem;
    --bs-btn-border-radius: .25rem;
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    white-space: nowrap;
}

.bilingual-grid[b-08rnk4staw] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
}

.bilingual-grid label[b-08rnk4staw] {
    display: grid;
    gap: .16rem;
    margin: 0;
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
}

.characteristic-editor[b-08rnk4staw] {
    display: grid;
    gap: .25rem;
}

.characteristic-head[b-08rnk4staw],
.characteristic-row[b-08rnk4staw] {
    display: grid;
    grid-template-columns: minmax(12rem, .65fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: .5rem;
    align-items: center;
}

.characteristic-head[b-08rnk4staw] {
    padding: .35rem .45rem;
    color: #5c6670;
    background: #f8f9fa;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.characteristic-row[b-08rnk4staw] {
    padding: .35rem .45rem;
    border-bottom: 1px solid #edf0f2;
}

.characteristic-row label[b-08rnk4staw] {
    display: grid;
    gap: .05rem;
    margin: 0;
    min-width: 0;
}

.characteristic-row label span[b-08rnk4staw] {
    color: #6c757d;
    font-size: .72rem;
}

.lookup-result[b-08rnk4staw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .65rem;
    padding: .65rem;
    border: 1px solid #dfe5eb;
    border-radius: 8px;
    background: #fbfcfd;
}

.lookup-result > div[b-08rnk4staw] {
    display: grid;
    gap: .15rem;
}

.lookup-result span[b-08rnk4staw] {
    color: #6c757d;
    font-size: .8rem;
}

.lookup-images[b-08rnk4staw],
.picture-tools[b-08rnk4staw] {
    display: grid;
    gap: .45rem;
    margin-top: .6rem;
}

.lookup-images[b-08rnk4staw] {
    grid-template-columns: repeat(auto-fit, minmax(8rem, max-content));
}

.no-spin[b-08rnk4staw]::-webkit-outer-spin-button,
.no-spin[b-08rnk4staw]::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.no-spin[b-08rnk4staw] {
    appearance: textfield;
}

.picture-list[b-08rnk4staw] {
    display: grid;
    gap: .45rem;
}

.picture-row[b-08rnk4staw] {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) 2.25rem;
    gap: .5rem;
    align-items: center;
}

.picture-row img[b-08rnk4staw] {
    width: 4rem;
    height: 3rem;
    object-fit: contain;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
}

@media (max-width: 899.98px) {
    .product-edit-header[b-08rnk4staw],
    .edit-grid[b-08rnk4staw],
    .edit-grid.compact[b-08rnk4staw],
    .bilingual-grid[b-08rnk4staw],
    .characteristic-head[b-08rnk4staw],
    .characteristic-row[b-08rnk4staw],
    .picture-row[b-08rnk4staw] {
        grid-template-columns: 1fr;
    }

    .product-edit-header[b-08rnk4staw] {
        display: grid;
    }

    .edit-grid .wide[b-08rnk4staw] {
        grid-column: auto;
    }
}
/* /Components/Pages/Invoices.razor.rz.scp.css */
.invoices-page[b-ulujsx5anw] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 .5rem 1.25rem;
}

.invoices-page .management-header[b-ulujsx5anw] {
    align-items: flex-start;
    margin-bottom: 0.65rem;
}

.invoice-title-row[b-ulujsx5anw] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.invoice-title-row h1[b-ulujsx5anw] {
    margin: 0;
}

.invoice-sales-selector[b-ulujsx5anw] {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.invoice-selector-toolbar[b-ulujsx5anw] {
    display: grid;
    grid-template-columns: minmax(16rem, 1fr) 9rem 9rem auto auto auto auto;
    gap: 0.75rem;
    align-items: end;
}

.sale-select-button[b-ulujsx5anw] {
    width: 2rem;
    height: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    color: #667485;
}

.sale-select-button.selected[b-ulujsx5anw] {
    color: #0d6efd;
}

.invoice-selector-toolbar label[b-ulujsx5anw] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin: 0;
}

.invoice-selector-toolbar label span[b-ulujsx5anw] {
    color: #5d6978;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.invoice-selector-toolbar .btn[b-ulujsx5anw] {
    min-height: 2rem;
}

.invoice-selection-summary[b-ulujsx5anw] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #dce3ea;
    border-radius: 6px;
    background: #f8fafc;
    color: #273444;
}

.invoice-terms-panel[b-ulujsx5anw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .4rem 0;
}

.invoice-terms-panel > span[b-ulujsx5anw] {
    color: #5d6978;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.invoice-terms-panel > strong[b-ulujsx5anw] {
    color: #273444;
    font-size: .9rem;
}

.invoice-terms-group[b-ulujsx5anw] {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #ced4da;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}

.terms-option[b-ulujsx5anw] {
    min-width: 3.2rem;
    min-height: 2rem;
    border: 0;
    border-right: 1px solid #ced4da;
    background: #fff;
    color: #495057;
    font-size: .82rem;
    font-weight: 800;
}

.terms-option.active[b-ulujsx5anw] {
    background: #0d6efd;
    color: #fff;
}

.terms-custom-input[b-ulujsx5anw] {
    width: 3.4rem;
    min-height: 2rem;
    border: 0;
    padding: .2rem .35rem;
    text-align: center;
}

.invoice-sales-table[b-ulujsx5anw] {
    margin: 0;
}

.invoice-sales-table .selection-column[b-ulujsx5anw] {
    width: 2.75rem;
    text-align: center;
}

.invoice-sales-table tr.selected > *[b-ulujsx5anw] {
    background-color: #eef5ff;
}

.empty-cell[b-ulujsx5anw] {
    color: #6b7785;
    padding: 1.25rem;
    text-align: center;
}

@media (max-width: 900px) {
    .invoice-selector-toolbar[b-ulujsx5anw] {
        grid-template-columns: 1fr 1fr;
    }

    .invoice-selector-toolbar .selector-client[b-ulujsx5anw] {
        grid-column: 1 / -1;
    }

    .invoice-terms-panel[b-ulujsx5anw] {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .invoice-selector-toolbar[b-ulujsx5anw] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/PartnerManagement.razor.rz.scp.css */
.partners-page[b-o8koz7x6fw] {
    max-width: 1500px;
    margin: 0 auto;
    padding: .25rem .5rem 1.5rem;
}

.partners-header[b-o8koz7x6fw] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.partners-header h1[b-o8koz7x6fw] {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.partners-header span[b-o8koz7x6fw] {
    color: #6c757d;
    font-size: .84rem;
}

.partner-form[b-o8koz7x6fw],
.partner-search[b-o8koz7x6fw] {
    margin-bottom: 1rem;
}

.partner-form-grid[b-o8koz7x6fw] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .5rem;
}

.partner-form-grid .wide[b-o8koz7x6fw] {
    grid-column: span 2;
}

.partner-form-grid label[b-o8koz7x6fw] {
    display: grid;
    gap: .15rem;
    margin: 0;
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
}

.partner-flags[b-o8koz7x6fw],
.partner-actions[b-o8koz7x6fw],
.partner-search-row[b-o8koz7x6fw] {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.partner-flags[b-o8koz7x6fw] {
    margin-top: .65rem;
    font-weight: 700;
}

.partner-actions[b-o8koz7x6fw] {
    justify-content: flex-end;
    margin-top: .7rem;
}

.partner-search-row[b-o8koz7x6fw] {
    display: grid;
    grid-template-columns: minmax(16rem, 28rem) 2.5rem;
}

.partner-table-wrap[b-o8koz7x6fw] {
    overflow-x: auto;
    margin-top: .75rem;
}

.partner-table[b-o8koz7x6fw] {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.partner-table th[b-o8koz7x6fw],
.partner-table td[b-o8koz7x6fw] {
    padding: .45rem .5rem;
    border-bottom: 1px solid #edf0f2;
}

.partner-table th[b-o8koz7x6fw] {
    color: #5c6670;
    background: #f8f9fa;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.partner-table tbody tr[b-o8koz7x6fw] {
    cursor: pointer;
}

.partner-table tbody tr:hover[b-o8koz7x6fw] {
    background: #f8fbff;
}

@media (max-width: 899.98px) {
    .partner-form-grid[b-o8koz7x6fw],
    .partner-search-row[b-o8koz7x6fw] {
        grid-template-columns: 1fr;
    }

    .partner-form-grid .wide[b-o8koz7x6fw] {
        grid-column: auto;
    }
}
/* /Components/Pages/PriceAdjustment.razor.rz.scp.css */
.price-adjustment-page[b-rewm8x87uh] {
    max-width: 1700px;
    margin: 0 auto;
    padding: .25rem .5rem 1.5rem;
}

.price-adjustment-header[b-rewm8x87uh] {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.price-adjustment-header h1[b-rewm8x87uh] {
    margin: .15rem 0 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.price-adjustment-header span[b-rewm8x87uh],
.back-link[b-rewm8x87uh] {
    color: #6c757d;
    font-size: .84rem;
}

.back-link[b-rewm8x87uh] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    text-decoration: none;
}

.price-adjustment-actions[b-rewm8x87uh] {
    display: flex;
    align-items: end;
    gap: .5rem;
}

.price-adjustment-actions label[b-rewm8x87uh] {
    display: grid;
    gap: .15rem;
    margin: 0;
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
}

.price-adjustment-actions select[b-rewm8x87uh] {
    min-width: 8.5rem;
}

.price-adjustment-actions input[b-rewm8x87uh] {
    width: 6rem;
}

.mode-switch[b-rewm8x87uh] {
    display: inline-flex;
    gap: .2rem;
    margin-bottom: .75rem;
    padding: .2rem;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    background: #f8f9fa;
}

.mode-switch button[b-rewm8x87uh] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2rem;
    border: 0;
    border-radius: 6px;
    padding: .35rem .65rem;
    background: transparent;
    color: #495057;
    font-size: .82rem;
    font-weight: 800;
}

.mode-switch button.active[b-rewm8x87uh] {
    background: #fff;
    color: #0d6efd;
    box-shadow: 0 .1rem .35rem rgba(33, 37, 41, .12);
}

.price-adjustment-panel[b-rewm8x87uh] {
    border: 1px solid #dfe5eb;
    border-radius: 8px;
    background: #fff;
}

.manual-panel[b-rewm8x87uh] {
    display: grid;
    gap: .75rem;
    padding: .75rem;
}

.price-table-wrap[b-rewm8x87uh] {
    overflow-x: auto;
}

.price-table-wrap[b-rewm8x87uh]  .price-grid {
    width: 100%;
    min-width: 1280px;
    font-size: .78rem;
    vertical-align: middle;
}

.price-table-wrap[b-rewm8x87uh]  .manual-grid {
    min-width: 1080px;
}

.price-table-wrap[b-rewm8x87uh]  .price-grid th {
    color: #5c6670;
    background: #f8f9fa;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.price-table-wrap[b-rewm8x87uh]  .price-grid td,
.price-table-wrap[b-rewm8x87uh]  .price-grid th {
    padding: .36rem .45rem;
}

.product-link[b-rewm8x87uh] {
    display: block;
    max-width: 24rem;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #0d6efd;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.product-link + span[b-rewm8x87uh],
.price-grid span[b-rewm8x87uh] {
    display: block;
    color: #6c757d;
    line-height: 1.2;
}

.history-cell[b-rewm8x87uh] {
    width: 7.5rem;
    min-height: 2.1rem;
    display: flex;
    align-items: center;
}

.history-cell svg[b-rewm8x87uh] {
    width: 7.5rem;
    height: 2.1rem;
}

.history-cell polyline[b-rewm8x87uh] {
    fill: none;
    stroke: #0d6efd;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.25;
}

.proposed-prices[b-rewm8x87uh] {
    display: inline-grid;
    grid-template-columns: 5.75rem 5.75rem;
    gap: .35rem;
}

.icon-button[b-rewm8x87uh] {
    width: 2.1rem;
    height: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.price-empty[b-rewm8x87uh] {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 8rem;
    padding: 1rem;
    color: #6c757d;
}

.price-empty.compact[b-rewm8x87uh] {
    min-height: 3.5rem;
    padding: .5rem 0;
}

.no-spin[b-rewm8x87uh]::-webkit-outer-spin-button,
.no-spin[b-rewm8x87uh]::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.no-spin[b-rewm8x87uh] {
    appearance: textfield;
}

@media (max-width: 899.98px) {
    .price-adjustment-header[b-rewm8x87uh],
    .price-adjustment-actions[b-rewm8x87uh],
    .mode-switch[b-rewm8x87uh] {
        align-items: stretch;
        flex-direction: column;
    }

    .price-adjustment-actions label[b-rewm8x87uh],
    .price-adjustment-actions input[b-rewm8x87uh],
    .price-adjustment-actions select[b-rewm8x87uh] {
        width: 100%;
    }

    .mode-switch button[b-rewm8x87uh] {
        justify-content: center;
    }
}
/* /Components/Pages/SalesDesk.razor.rz.scp.css */
.sales-desk[b-z3iq8r2iwl] {
    max-width: 1480px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.sales-desk-header[b-z3iq8r2iwl],
.sales-desk-actions[b-z3iq8r2iwl] {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.sales-desk-header[b-z3iq8r2iwl] {
    justify-content: space-between;
}

.sales-desk-header h1[b-z3iq8r2iwl] {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.sales-desk-header p[b-z3iq8r2iwl] {
    margin: .2rem 0 0;
    color: #6c757d;
    font-size: .95rem;
}

.sales-desk-actions[b-z3iq8r2iwl] {
    justify-content: flex-end;
}

.sales-desk-actions .btn[b-z3iq8r2iwl] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    white-space: nowrap;
}

.sales-desk-panel[b-z3iq8r2iwl] {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    padding: .85rem;
}

.sales-tabs .nav-link[b-z3iq8r2iwl] {
    min-height: 2.25rem;
    color: #495057;
    font-size: .86rem;
    font-weight: 800;
}

.sales-tabs .nav-link.active[b-z3iq8r2iwl] {
    color: #0d6efd;
}

.sales-tab-body[b-z3iq8r2iwl] {
    padding-top: .85rem;
}

@media (max-width: 767.98px) {
    .sales-desk-header[b-z3iq8r2iwl] {
        align-items: stretch;
        flex-direction: column;
    }

    .sales-desk-actions[b-z3iq8r2iwl] {
        justify-content: flex-start;
    }
}
/* /Components/Pages/SupplierDeliveries.razor.rz.scp.css */
.deliveries-page[b-3pqrlwkdb0] {
    max-width: 1600px;
}

.deliveries-page .management-header[b-3pqrlwkdb0] {
    align-items: flex-start;
}

.deliveries-page .management-title[b-3pqrlwkdb0] {
    min-width: 0;
}
/* /Components/Pages/SupplierDocumentImport.razor.rz.scp.css */
.purchase-workspace[b-je69x38gfb] {
    max-width: 1760px;
    margin: 0 auto;
    padding: .25rem .5rem 1.5rem;
}

.purchase-header[b-je69x38gfb],
.purchase-actions[b-je69x38gfb],
.purchase-panel-title[b-je69x38gfb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.purchase-header[b-je69x38gfb] {
    margin-bottom: .9rem;
}

.purchase-header h1[b-je69x38gfb] {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.purchase-actions[b-je69x38gfb] {
    justify-content: flex-end;
}

.matched-product-cell .btn[b-je69x38gfb],
.received-quantity-cell .btn[b-je69x38gfb],
.icon-button[b-je69x38gfb] {
    width: 2.35rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.purchase-actions .btn[b-je69x38gfb] {
    min-height: 2.1rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    white-space: nowrap;
}

.purchase-status[b-je69x38gfb] {
    display: inline-flex;
    margin-top: .25rem;
    color: #6c757d;
    font-size: .8rem;
    font-weight: 700;
}

.purchase-entry[b-je69x38gfb] {
    display: grid;
    grid-template-columns: repeat(2, minmax(14rem, 20rem));
    gap: .8rem;
    align-items: stretch;
}

.purchase-entry-card[b-je69x38gfb] {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: .1rem .75rem;
    align-items: center;
    min-height: 5.4rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
    padding: .85rem;
    text-align: left;
}

.purchase-entry-card:hover[b-je69x38gfb] {
    border-color: #0d6efd;
    background: #f8fbff;
}

.purchase-entry-card i[b-je69x38gfb] {
    grid-row: span 2;
    color: #0d6efd;
    font-size: 1.65rem;
}

.purchase-entry-card strong[b-je69x38gfb] {
    font-size: .98rem;
}

.purchase-entry-card span[b-je69x38gfb] {
    color: #6c757d;
    font-size: .82rem;
}

.purchase-import-panel[b-je69x38gfb],
.purchase-document-panel[b-je69x38gfb] {
    margin-top: 1rem;
}

.purchase-import-modes[b-je69x38gfb] {
    display: inline-flex;
    align-items: stretch;
    margin-bottom: .75rem;
    border: 1px solid #ced4da;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
}

.purchase-import-mode[b-je69x38gfb] {
    min-width: 7.2rem;
    min-height: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border: 0;
    border-right: 1px solid #ced4da;
    background: #fff;
    color: #495057;
    font-size: .86rem;
    font-weight: 800;
}

.purchase-import-mode:last-child[b-je69x38gfb] {
    border-right: 0;
}

.purchase-import-mode.active[b-je69x38gfb] {
    background: #0d6efd;
    color: #fff;
}

.purchase-import-progress[b-je69x38gfb] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .75rem;
    color: #495057;
    font-size: .86rem;
    font-weight: 700;
}

.purchase-file-drop[b-je69x38gfb] {
    min-height: 13rem;
    display: grid;
    place-items: center;
    gap: .35rem;
    border: 1px dashed #9aa6b2;
    border-radius: 8px;
    background: #fbfcfd;
    padding: 1.4rem;
    color: #495057;
    text-align: center;
    cursor: pointer;
}

.purchase-file-drop:hover[b-je69x38gfb] {
    border-color: #0d6efd;
    background: #f8fbff;
}

.purchase-file-drop > i[b-je69x38gfb] {
    color: #0d6efd;
    font-size: 2rem;
}

.purchase-file-drop strong[b-je69x38gfb] {
    color: #212529;
    font-size: 1rem;
}

.purchase-file-drop span[b-je69x38gfb] {
    max-width: 38rem;
    color: #6c757d;
    font-size: .84rem;
}

.purchase-file-drop input[type="file"][b-je69x38gfb] {
    max-width: 24rem;
    margin-top: .35rem;
}

.purchase-panel-title[b-je69x38gfb] {
    margin-bottom: .55rem;
}

.purchase-panel-title h2[b-je69x38gfb] {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.source-textarea[b-je69x38gfb] {
    min-height: 12rem;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88rem;
}

.purchase-document-header[b-je69x38gfb] {
    display: grid;
    grid-template-columns: minmax(22rem, 2.2fr) minmax(9rem, .7fr) minmax(8.5rem, .6fr) minmax(7rem, .55fr);
    gap: .65rem;
    align-items: start;
    margin-bottom: .85rem;
}

.purchase-document-header label[b-je69x38gfb] {
    display: grid;
    gap: .22rem;
    margin: 0;
    font-size: .78rem;
    font-weight: 800;
}

.purchase-supplier-field[b-je69x38gfb] {
    min-width: 0;
}

.purchase-metadata-grid[b-je69x38gfb] {
    display: grid;
    grid-template-columns: repeat(5, minmax(7rem, 1fr));
    gap: .55rem;
    align-items: end;
    margin: -.2rem 0 .85rem;
}

.purchase-metadata-grid label[b-je69x38gfb],
.purchase-original-file[b-je69x38gfb] {
    display: grid;
    gap: .22rem;
    margin: 0;
    min-width: 0;
    font-size: .72rem;
    font-weight: 800;
}

.purchase-original-file strong[b-je69x38gfb],
.purchase-original-file a[b-je69x38gfb] {
    min-height: 2rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #f8f9fa;
    padding: .25rem .45rem;
    color: #495057;
    font-size: .8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.purchase-original-file a[b-je69x38gfb] {
    color: #0d6efd;
    font-weight: 800;
    text-decoration: none;
}

.purchase-original-file a:hover[b-je69x38gfb] {
    border-color: #0d6efd;
    background: #f8fbff;
}

.purchase-original-file a strong[b-je69x38gfb] {
    min-height: 0;
    display: block;
    overflow: hidden;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    font-size: inherit;
    text-overflow: ellipsis;
}

.purchase-reupload-button[b-je69x38gfb] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.purchase-reupload-button input[type="file"][b-je69x38gfb] {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.purchase-line-options[b-je69x38gfb] {
    display: flex;
    justify-content: flex-end;
    margin: -.2rem 0 .45rem;
    color: #495057;
    font-size: .82rem;
    font-weight: 700;
}

.purchase-lines-shell[b-je69x38gfb] {
    width: 100%;
    overflow-x: auto;
}

.purchase-lines-list[b-je69x38gfb] {
    display: grid;
    gap: .55rem;
    min-width: 0;
}

.add-line-row-button[b-je69x38gfb] {
    width: 100%;
    min-height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    border: 1px dashed #adb5bd;
    border-radius: 6px;
    background: #fff;
    color: #495057;
    font-size: .86rem;
    font-weight: 700;
}

.add-line-row-button:hover[b-je69x38gfb] {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #f8fbff;
}

.purchase-lines-list .form-control-sm[b-je69x38gfb],
.purchase-lines-list .input-group-sm > .form-control[b-je69x38gfb],
.purchase-lines-list .input-group-sm > .input-group-text[b-je69x38gfb],
.purchase-lines-list .input-group-sm > .btn[b-je69x38gfb] {
    min-height: 2rem;
    padding: .25rem .45rem;
    font-size: .9rem;
}

.purchase-line-grid[b-je69x38gfb] {
    display: grid;
    grid-template-columns: 2.25rem minmax(25rem, 1.45fr) 7.4rem 14.5rem 5.8rem 5.8rem 6rem 4.6rem;
    grid-template-areas:
        "num product qty price sale total received actions";
    column-gap: .48rem;
    align-items: end;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    padding: .45rem .55rem .55rem;
}

.purchase-line-grid.rejected[b-je69x38gfb] {
    border-color: #f1aeb5;
    background: #fffafa;
}

.line-number-cell[b-je69x38gfb] {
    grid-area: num;
    align-self: stretch;
    display: grid;
    place-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-align: center;
    color: #5c6670;
    font-size: .82rem;
    font-weight: 800;
}

.matched-product-cell[b-je69x38gfb] {
    grid-area: product;
    color: #495057;
    font-size: .78rem;
    line-height: 1.15;
    min-width: 0;
}

.supplier-source-line[b-je69x38gfb] {
    display: flex;
    align-items: center;
    gap: .45rem;
    min-width: 0;
    margin-bottom: .18rem;
}

.supplier-source-line span[b-je69x38gfb],
.supplier-source-line strong[b-je69x38gfb] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.supplier-source-code[b-je69x38gfb] {
    flex: 0 0 auto;
    max-width: 7.8rem;
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.supplier-source-separator[b-je69x38gfb] {
    flex: 0 0 auto;
    color: #adb5bd;
    font-weight: 700;
}

.supplier-source-line strong[b-je69x38gfb] {
    flex: 1 1 auto;
    color: #212529;
    font-size: .82rem;
    font-weight: 700;
}

.reject-extraction-button[b-je69x38gfb] {
    flex: 0 0 auto;
    min-width: 1.35rem;
    min-height: 1.35rem;
    padding: 0;
    color: #6c757d;
    line-height: 1;
    text-decoration: none;
}

.reject-extraction-button:hover[b-je69x38gfb] {
    color: #dc3545;
}

.matched-product-input[b-je69x38gfb] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.matched-product-input:read-only[b-je69x38gfb] {
    background: #fff;
    opacity: 1;
}

.quantity-cell[b-je69x38gfb] {
    grid-area: qty;
    min-width: 0;
}

.received-quantity-cell[b-je69x38gfb] {
    grid-area: received;
    min-width: 0;
}

.received-quantity-cell .input-group[b-je69x38gfb] {
    flex-wrap: nowrap;
}

.line-actions-cell[b-je69x38gfb] {
    grid-area: actions;
    display: grid;
    gap: .12rem;
    align-items: end;
    justify-content: end;
    min-width: 0;
    text-align: center;
}

.line-action-buttons[b-je69x38gfb] {
    display: flex;
    gap: .25rem;
}

.line-price-group[b-je69x38gfb] {
    grid-area: price;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .82fr) minmax(0, 1fr);
    gap: .24rem;
    min-width: 0;
}

.line-price-group label[b-je69x38gfb] {
    display: grid;
    gap: .12rem;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}

.sale-price-cell[b-je69x38gfb] {
    grid-area: sale;
}

.line-totals-stack[b-je69x38gfb] {
    grid-area: total;
    display: grid;
    gap: .12rem;
    min-width: 0;
}

.field-label[b-je69x38gfb],
.single-field-label span[b-je69x38gfb],
.line-price-group label span[b-je69x38gfb],
.line-totals-stack small[b-je69x38gfb] {
    display: block;
    overflow: hidden;
    color: #6c757d;
    font-size: .66rem;
    font-weight: 800;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.field-label[b-je69x38gfb] {
    margin-bottom: .12rem;
    text-align: left;
}

.single-field-label[b-je69x38gfb] {
    display: grid;
    gap: .12rem;
    min-width: 0;
    margin: 0;
}

.line-totals-stack .field-label[b-je69x38gfb] {
    margin-bottom: .12rem;
    text-align: right;
}

.supplier-total-input:disabled[b-je69x38gfb] {
    background: #fff;
    opacity: 1;
}

.money-input[b-je69x38gfb] {
    min-width: 0;
}

.discount-input[b-je69x38gfb] {
    min-width: 0;
}

.received-quantity-cell .form-control[b-je69x38gfb],
.purchase-lines-list .money-input[b-je69x38gfb],
.purchase-lines-list .quantity-cell .form-control[b-je69x38gfb] {
    min-width: 0;
}

.qty-unit-group[b-je69x38gfb] {
    flex-wrap: nowrap;
}

.qty-unit-group .form-control[b-je69x38gfb] {
    flex: 0 1 4.75rem;
}

.qty-unit-group .input-group-text[b-je69x38gfb] {
    max-width: 3.4rem;
    overflow: hidden;
    color: #495057;
    font-size: .78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.readonly-line-value[b-je69x38gfb] {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    color: #212529;
}

.purchase-totals-grid[b-je69x38gfb] {
    justify-self: end;
    min-width: 20rem;
    display: grid;
    grid-template-columns: auto minmax(7rem, auto);
    gap: .25rem .8rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fbfcfd;
    padding: .55rem .7rem;
    color: #495057;
    font-weight: 700;
}

.purchase-totals-grid span[b-je69x38gfb] {
    text-align: right;
}

.purchase-totals-grid strong[b-je69x38gfb] {
    text-align: right;
}

.purchase-totals-grid strong:last-child[b-je69x38gfb] {
    color: #111827;
    font-size: .92rem;
    font-weight: 800;
}

.line-total-mismatch[b-je69x38gfb] {
    color: #dc3545;
    font-weight: 800;
}

.purchase-differences[b-je69x38gfb] {
    display: grid;
    gap: .35rem;
    margin-top: .75rem;
    border: 1px solid #ffe69c;
    border-radius: 8px;
    background: #fff8e1;
    padding: .65rem .75rem;
    color: #664d03;
    font-size: .84rem;
}

.purchase-differences-title[b-je69x38gfb],
.purchase-difference-line[b-je69x38gfb] {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
}

.purchase-differences-title[b-je69x38gfb] {
    font-weight: 800;
}

.purchase-difference-line strong[b-je69x38gfb] {
    color: #212529;
}

input.no-spin[b-je69x38gfb]::-webkit-outer-spin-button,
input.no-spin[b-je69x38gfb]::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

input.no-spin[b-je69x38gfb] {
    -moz-appearance: textfield;
}

.receiving-dialog-backdrop[b-je69x38gfb] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: rgba(15, 23, 42, .35);
    padding: 6vh 1rem;
}

.receiving-dialog[b-je69x38gfb] {
    width: min(780px, 100%);
    max-height: 88vh;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    gap: .75rem;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, .2);
    padding: 1rem;
}

.extraction-feedback-dialog[b-je69x38gfb] {
    width: min(520px, 100%);
    grid-template-rows: auto auto auto auto;
}

.extraction-feedback-field[b-je69x38gfb] {
    display: grid;
    gap: .25rem;
    margin: 0;
}

.extraction-feedback-field span[b-je69x38gfb] {
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.extraction-feedback-field textarea[b-je69x38gfb] {
    resize: vertical;
}

.receiving-dialog-header[b-je69x38gfb],
.receiving-dialog-footer[b-je69x38gfb] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.receiving-dialog-header h2[b-je69x38gfb] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.receiving-dialog-header span[b-je69x38gfb] {
    display: block;
    max-width: 40rem;
    overflow: hidden;
    color: #6c757d;
    font-size: .82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.receiving-dialog-summary[b-je69x38gfb] {
    display: grid;
    grid-template-columns: minmax(10rem, 13rem) minmax(10rem, 1fr);
    gap: .75rem;
    align-items: end;
}

.receiving-dialog-summary label[b-je69x38gfb] {
    display: grid;
    gap: .18rem;
    margin: 0;
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
}

.receiving-total[b-je69x38gfb] {
    min-height: 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
    color: #6c757d;
    font-size: .84rem;
}

.receiving-total strong[b-je69x38gfb] {
    color: #212529;
    font-size: 1rem;
}

.receiving-dialog-lines[b-je69x38gfb] {
    display: grid;
    gap: .35rem;
    overflow: auto;
}

.receiving-dialog-head[b-je69x38gfb],
.receiving-dialog-line[b-je69x38gfb] {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) 9rem 10rem 2.35rem;
    gap: .4rem;
    align-items: center;
}

.receiving-dialog-head[b-je69x38gfb] {
    color: #5c6670;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.receiving-dialog-footer[b-je69x38gfb] {
    justify-content: flex-end;
}

.receiving-dialog-footer .btn[b-je69x38gfb] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
}

@media (max-width: 899.98px) {
    .purchase-entry[b-je69x38gfb],
    .purchase-document-header[b-je69x38gfb],
    .purchase-metadata-grid[b-je69x38gfb],
    .receiving-dialog-summary[b-je69x38gfb],
    .receiving-dialog-head[b-je69x38gfb],
    .receiving-dialog-line[b-je69x38gfb] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/SupplierDocumentQueue.razor.rz.scp.css */
.supplier-documents-page[b-akbcz0036j] {
    max-width: 1400px;
}

.supplier-documents-page .management-header[b-akbcz0036j] {
    align-items: flex-start;
}

.supplier-documents-page .management-title[b-akbcz0036j] {
    min-width: 0;
}
/* /Components/Pages/UnitManagement.razor.rz.scp.css */
.units-page[b-8ipy6zh4xh] {
    max-width: 1100px;
    margin: 0 auto;
    padding: .25rem .5rem 1.5rem;
}

.units-header[b-8ipy6zh4xh] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.units-header h1[b-8ipy6zh4xh] {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
}

.units-header span[b-8ipy6zh4xh] {
    color: #6c757d;
    font-size: .84rem;
}

.unit-form[b-8ipy6zh4xh] {
    margin-bottom: 1rem;
}

.unit-form-title[b-8ipy6zh4xh] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .65rem;
}

.unit-form-title h2[b-8ipy6zh4xh] {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}

.unit-form-title span[b-8ipy6zh4xh] {
    color: #6c757d;
    font-size: .78rem;
}

.unit-form-grid[b-8ipy6zh4xh] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .5rem;
}

.unit-form-grid label[b-8ipy6zh4xh] {
    display: grid;
    gap: .15rem;
    margin: 0;
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
}

.unit-active[b-8ipy6zh4xh] {
    display: inline-flex;
    gap: .35rem;
    margin-top: .65rem;
    font-weight: 700;
}

.unit-actions[b-8ipy6zh4xh] {
    display: flex;
    justify-content: flex-end;
    gap: .45rem;
    margin-top: .7rem;
}

.unit-actions .btn[b-8ipy6zh4xh] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
}

.unit-table[b-8ipy6zh4xh] {
    width: 100%;
    border-collapse: collapse;
}

.unit-table th[b-8ipy6zh4xh],
.unit-table td[b-8ipy6zh4xh] {
    padding: .45rem .5rem;
    border-bottom: 1px solid #edf0f2;
}

.unit-table th[b-8ipy6zh4xh] {
    color: #5c6670;
    background: #f8f9fa;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.unit-table tbody tr[b-8ipy6zh4xh] {
    cursor: pointer;
}

.unit-table tbody tr:hover[b-8ipy6zh4xh] {
    background: #f8fbff;
}

.unit-table tbody tr.selected[b-8ipy6zh4xh] {
    background: #eaf4ff;
}

@media (max-width: 899.98px) {
    .unit-form-title[b-8ipy6zh4xh],
    .unit-form-grid[b-8ipy6zh4xh] {
        grid-template-columns: 1fr;
    }

    .unit-form-title[b-8ipy6zh4xh] {
        display: grid;
    }
}
/* /Components/Shared/CategoryTreeNode.razor.rz.scp.css */
.category-tree-node[b-er40ddl7mg] {
    display: grid;
    gap: .12rem;
}

.category-tree-button[b-er40ddl7mg] {
    display: grid;
    grid-template-columns: 1.1rem minmax(0, 1fr) auto;
    align-items: center;
    gap: .4rem;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    padding: .38rem .45rem .38rem calc(.45rem + (var(--depth) * .85rem));
    color: #212529;
    text-align: left;
}

.category-tree-button:hover[b-er40ddl7mg] {
    border-color: #cfe2ff;
    background: #f8fbff;
}

.category-tree-button.selected[b-er40ddl7mg] {
    border-color: #9ec5fe;
    background: #eef6ff;
}

.category-tree-button i[b-er40ddl7mg] {
    color: #6c757d;
}

.category-tree-button span[b-er40ddl7mg] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .86rem;
    font-weight: 700;
}

.category-tree-button small[b-er40ddl7mg] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
}

.category-tree-children[b-er40ddl7mg] {
    display: grid;
    gap: .12rem;
}
/* /Components/Shared/DiscountAuthorizationFields.razor.rz.scp.css */
.discount-authorization-fields[b-in1pnkpcfu] {
    display: grid;
    grid-template-columns: 7.5rem minmax(12rem, 1fr) minmax(9rem, 1fr);
    gap: .6rem;
    align-items: end;
}

.discount-authorization-fields label[b-in1pnkpcfu] {
    display: grid;
    gap: .25rem;
    margin: 0;
    min-width: 0;
}

.discount-authorization-fields label > span[b-in1pnkpcfu] {
    color: #6c757d;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.discount-authorization-fields .alert[b-in1pnkpcfu] {
    grid-column: 1 / -1;
}

@media (max-width: 767.98px) {
    .discount-authorization-fields[b-in1pnkpcfu] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Shared/InventoryUnitBreakdownEditor.razor.rz.scp.css */
.inventory-unit-editor[b-evz0chxzv3] {
    display: grid;
    gap: .65rem;
}

.inventory-unit-summary[b-evz0chxzv3] {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
}

.inventory-unit-summary > div[b-evz0chxzv3] {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 2rem;
    font-size: .82rem;
}

.inventory-unit-summary span[b-evz0chxzv3] {
    color: #6c757d;
}

.inventory-unit-lines[b-evz0chxzv3] {
    display: grid;
    gap: .35rem;
    overflow: auto;
}

.inventory-unit-head[b-evz0chxzv3],
.inventory-unit-line[b-evz0chxzv3] {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) 8rem 9rem 2.35rem;
    gap: .4rem;
    align-items: center;
}

.inventory-unit-head.with-remaining[b-evz0chxzv3],
.inventory-unit-line.with-remaining[b-evz0chxzv3] {
    grid-template-columns: minmax(12rem, 1fr) 8rem 8rem 9rem 2.35rem;
}

.inventory-unit-head[b-evz0chxzv3] {
    color: #5c6670;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.inventory-unit-actions[b-evz0chxzv3] {
    display: flex;
    justify-content: flex-end;
}

.inventory-unit-actions .btn[b-evz0chxzv3] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
}

.icon-button[b-evz0chxzv3] {
    width: 2.25rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.no-spin[b-evz0chxzv3]::-webkit-outer-spin-button,
.no-spin[b-evz0chxzv3]::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.no-spin[b-evz0chxzv3] {
    appearance: textfield;
}

@media (max-width: 899.98px) {
    .inventory-unit-head[b-evz0chxzv3],
    .inventory-unit-line[b-evz0chxzv3],
    .inventory-unit-head.with-remaining[b-evz0chxzv3],
    .inventory-unit-line.with-remaining[b-evz0chxzv3] {
        grid-template-columns: 1fr;
    }

    .inventory-unit-head[b-evz0chxzv3] {
        display: none;
    }
}
/* /Components/Shared/ProductSearchDialog.razor.rz.scp.css */
.product-dialog-backdrop[b-ilshe8zft8],
.product-picture-backdrop[b-ilshe8zft8] {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: rgba(15, 23, 42, .35);
    padding: 5vh 1rem;
}

.product-picture-backdrop[b-ilshe8zft8] {
    z-index: 1060;
    align-items: center;
}

.product-dialog[b-ilshe8zft8] {
    width: min(1180px, 100%);
    max-height: 88vh;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: .75rem;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, .2);
    padding: 1rem;
}

.product-dialog-header[b-ilshe8zft8],
.product-dialog-actions[b-ilshe8zft8],
.product-result-actions[b-ilshe8zft8],
.product-picture-dialog header[b-ilshe8zft8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.product-dialog-header h2[b-ilshe8zft8],
.product-picture-dialog h3[b-ilshe8zft8] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.product-dialog-actions .btn[b-ilshe8zft8],
.product-result-actions .btn[b-ilshe8zft8],
.product-picture-dialog .btn[b-ilshe8zft8] {
    width: 2.25rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-dialog-results[b-ilshe8zft8] {
    display: grid;
    align-content: start;
    gap: .25rem;
    overflow: auto;
}

.product-result-head[b-ilshe8zft8],
.product-dialog-result[b-ilshe8zft8] {
    display: grid;
    grid-template-columns: minmax(20rem, 1.2fr) minmax(13rem, .75fr) minmax(12rem, .65fr) 5rem;
    gap: .65rem;
    align-items: center;
}

.product-result-head[b-ilshe8zft8] {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: .35rem .55rem;
    background: #f8f9fa;
    color: #5c6670;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-dialog-result[b-ilshe8zft8] {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #fff;
    padding: .48rem .55rem;
}

.product-dialog-result:hover[b-ilshe8zft8] {
    border-color: #0d6efd;
    background: #f8fbff;
}

.product-result-name[b-ilshe8zft8] {
    display: grid;
    gap: .05rem;
    min-width: 0;
}

.product-result-name strong[b-ilshe8zft8],
.product-dialog-result > span[b-ilshe8zft8] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-result-name span[b-ilshe8zft8],
.product-dialog-result > span[b-ilshe8zft8] {
    color: #6c757d;
    font-size: .8rem;
}

.product-result-actions[b-ilshe8zft8] {
    justify-content: flex-end;
}

.product-picture-dialog[b-ilshe8zft8] {
    width: min(680px, 100%);
    display: grid;
    gap: .75rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, .25);
    padding: 1rem;
}

.product-picture-dialog img[b-ilshe8zft8] {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #fff;
}

@media (max-width: 899.98px) {
    .product-dialog[b-ilshe8zft8] {
        max-height: 94vh;
        padding: .8rem;
    }

    .product-result-head[b-ilshe8zft8],
    .product-dialog-result[b-ilshe8zft8] {
        grid-template-columns: 1fr;
    }

    .product-result-head[b-ilshe8zft8] {
        display: none;
    }
}
/* /Components/Shared/ProductSearchPanel.razor.rz.scp.css */
.product-search-panel[b-sl8pspy5kv] {
    display: grid;
    gap: .6rem;
}

.product-search-main .input-group[b-sl8pspy5kv] {
    flex-wrap: nowrap;
}

.product-search-main .input-group-text[b-sl8pspy5kv] {
    width: 2.35rem;
    justify-content: center;
}

.product-search-main .btn[b-sl8pspy5kv] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-weight: 700;
    white-space: nowrap;
}

.product-search-filters[b-sl8pspy5kv] {
    display: grid;
    grid-template-columns: 7.5rem 8.5rem minmax(14rem, 1fr) 10rem 12rem 9rem 2.5rem;
    gap: .45rem;
    align-items: end;
    padding: .65rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fbfcfd;
}

.product-search-filters label[b-sl8pspy5kv] {
    display: grid;
    gap: .16rem;
    margin: 0;
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
}

.product-search-filters .btn[b-sl8pspy5kv] {
    height: 2rem;
}

@media (max-width: 899.98px) {
    .product-search-filters[b-sl8pspy5kv] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Shared/ProductSearchPicker.razor.rz.scp.css */
.product-search-picker[b-76x323cu06] {
    position: relative;
    display: grid;
    gap: .4rem;
    width: 100%;
    min-width: 0;
}

.product-search-row[b-76x323cu06] {
    display: flex;
    min-width: 0;
}

.product-search-row .form-control[b-76x323cu06] {
    min-width: 0;
}

.product-search-row .btn[b-76x323cu06] {
    flex: 0 0 auto;
}

.selected-product[b-76x323cu06] {
    display: grid;
    gap: .1rem;
    padding: .4rem .5rem;
    border: 1px solid #badbcc;
    border-radius: 6px;
    background: #f0fff4;
    font-size: .84rem;
}

.selected-product span[b-76x323cu06],
.product-result span[b-76x323cu06] {
    color: #6c757d;
    font-size: .77rem;
}

.product-results[b-76x323cu06] {
    position: absolute;
    z-index: 25;
    display: grid;
    gap: .3rem;
    width: min(34rem, 100%);
    max-height: 17rem;
    overflow-y: auto;
    padding: .35rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 .5rem 1.5rem rgba(15, 23, 42, .12);
}

.product-result[b-76x323cu06] {
    display: grid;
    gap: .1rem;
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    padding: .4rem .5rem;
    text-align: left;
    font-size: .83rem;
}

.product-result:hover[b-76x323cu06] {
    border-color: #0d6efd;
    background: #f8fbff;
}

.product-dialog-backdrop[b-76x323cu06] {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, .35);
}

.product-dialog[b-76x323cu06] {
    width: min(880px, 100%);
    max-height: min(780px, 92vh);
    display: grid;
    gap: .75rem;
    overflow: auto;
    padding: 1rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1rem 3rem rgba(15, 23, 42, .2);
}

.product-dialog header[b-76x323cu06] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.product-dialog h2[b-76x323cu06] {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
}

.product-dialog-advanced[b-76x323cu06] {
    display: grid;
    grid-template-columns: repeat(2, minmax(10rem, 1.2fr)) repeat(2, minmax(8rem, 1fr));
    gap: .4rem;
}

.product-dialog-characteristics[b-76x323cu06] {
    display: grid;
    grid-template-columns: repeat(3, minmax(10rem, 1fr));
    gap: .45rem;
    padding: .6rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #f8f9fa;
}

.product-dialog-characteristics label[b-76x323cu06] {
    display: grid;
    gap: .2rem;
    min-width: 0;
    font-size: .78rem;
    font-weight: 700;
    color: #495057;
}

.product-dialog-results[b-76x323cu06] {
    display: grid;
    gap: .35rem;
}

.product-dialog-results button[b-76x323cu06] {
    display: grid;
    gap: .1rem;
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    padding: .5rem .6rem;
    text-align: left;
    font-size: .86rem;
}

.product-dialog-results button:hover[b-76x323cu06] {
    border-color: #0d6efd;
    background: #f8fbff;
}

.product-dialog-results span[b-76x323cu06] {
    color: #6c757d;
    font-size: .78rem;
}

.product-dialog-footer[b-76x323cu06] {
    display: flex;
    justify-content: flex-end;
    padding-top: .5rem;
    border-top: 1px solid #e9ecef;
}

.product-dialog-footer .btn[b-76x323cu06] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

@media (max-width: 767.98px) {
    .product-dialog-advanced[b-76x323cu06],
    .product-dialog-characteristics[b-76x323cu06] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Shared/SaleCompletionOptionsFields.razor.rz.scp.css */
.completion-options[b-88gbms3gdi] {
    display: grid;
    gap: 0.7rem;
    min-width: 0;
}

.completion-group[b-88gbms3gdi] {
    display: grid;
    gap: 0.35rem;
}

.completion-group > span[b-88gbms3gdi],
.completion-grid label > span[b-88gbms3gdi],
.completion-client > span[b-88gbms3gdi],
.completion-personal-id > span[b-88gbms3gdi] {
    color: #5f6b78;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.completion-button-group[b-88gbms3gdi] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: stretch;
    min-width: 0;
}

.completion-button-group .btn[b-88gbms3gdi] {
    border-radius: 0;
    min-height: 2rem;
    position: relative;
    white-space: nowrap;
}

.completion-button-group > :first-child[b-88gbms3gdi] {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.completion-button-group > :last-child[b-88gbms3gdi] {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.completion-button-group > * + *[b-88gbms3gdi] {
    margin-left: -1px;
}

.completion-button-group .btn:hover[b-88gbms3gdi],
.completion-button-group .btn:focus[b-88gbms3gdi],
.completion-button-group .btn-primary[b-88gbms3gdi] {
    z-index: 1;
}

.completion-grid[b-88gbms3gdi] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    align-items: end;
    min-width: 0;
}

.completion-grid label[b-88gbms3gdi],
.completion-client[b-88gbms3gdi],
.completion-personal-id[b-88gbms3gdi] {
    display: grid;
    gap: 0.2rem;
    margin: 0;
    min-width: 0;
}

.completion-grid .wide[b-88gbms3gdi] {
    grid-column: auto;
}

.completion-client[b-88gbms3gdi] {
    margin-bottom: 0.55rem;
    max-width: 100%;
}

.completion-personal-id[b-88gbms3gdi] {
    max-width: 9rem;
    padding-top: 0.35rem;
    border-top: 1px solid #e6ebf0;
}

.completion-terms[b-88gbms3gdi] {
    display: block;
}

.completion-inline-label[b-88gbms3gdi] {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.5rem;
    border: 1px solid #6c757d;
    background: #fff;
    color: #5f6b78;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.completion-terms-group[b-88gbms3gdi],
.completion-output-group[b-88gbms3gdi] {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: visible;
}

.completion-days-input[b-88gbms3gdi],
.completion-copies-input[b-88gbms3gdi] {
    flex: 0 0 2.6rem !important;
    width: 2.6rem !important;
    min-height: 2rem;
    min-width: 2.6rem !important;
    max-width: 2.6rem !important;
    border-radius: 0;
    padding-right: 0.2rem;
    padding-left: 0.2rem;
    text-align: center;
}

.completion-days-input[b-88gbms3gdi]::-webkit-outer-spin-button,
.completion-days-input[b-88gbms3gdi]::-webkit-inner-spin-button,
.completion-copies-input[b-88gbms3gdi]::-webkit-outer-spin-button,
.completion-copies-input[b-88gbms3gdi]::-webkit-inner-spin-button {
    margin: 0;
}

.completion-output-group .btn[b-88gbms3gdi] {
    flex: 0 1 auto;
    padding-right: 0.45rem;
    padding-left: 0.45rem;
    font-size: 0.8rem;
}

.completion-client input[b-88gbms3gdi],
.completion-grid input[b-88gbms3gdi],
.completion-grid .input-group[b-88gbms3gdi] {
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 1100px) {
    .completion-grid[b-88gbms3gdi] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .completion-grid[b-88gbms3gdi] {
        grid-template-columns: 1fr;
    }

    .completion-grid .wide[b-88gbms3gdi] {
        grid-column: auto;
    }
}
/* /Components/Shared/SupplierDocumentReviewQueue.razor.rz.scp.css */
.supplier-review-queue[b-h8bx0m41ks] {
    display: grid;
    gap: .75rem;
}

.supplier-review-toolbar[b-h8bx0m41ks],
.supplier-review-search[b-h8bx0m41ks] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.supplier-review-toolbar[b-h8bx0m41ks] {
    justify-content: space-between;
}

.supplier-review-search[b-h8bx0m41ks] {
    flex: 1 1 auto;
    min-width: 0;
}

.supplier-review-search .form-control[b-h8bx0m41ks] {
    max-width: 32rem;
}

.supplier-review-count[b-h8bx0m41ks] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    min-height: 1.8rem;
    border-radius: 6px;
    background: #f1f3f5;
    color: #495057;
    font-size: .78rem;
    font-weight: 800;
}

.supplier-review-grid-wrap[b-h8bx0m41ks] {
    overflow-x: auto;
}

.supplier-review-grid-wrap[b-h8bx0m41ks]  .supplier-review-grid {
    width: 100%;
    min-width: 860px;
    font-size: .78rem;
    vertical-align: middle;
}

.supplier-review-grid-wrap[b-h8bx0m41ks]  .supplier-review-grid th {
    color: #5c6670;
    background: #f8f9fa;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.supplier-review-grid-wrap[b-h8bx0m41ks]  .supplier-review-grid td,
.supplier-review-grid-wrap[b-h8bx0m41ks]  .supplier-review-grid th {
    padding: .36rem .45rem;
}

.supplier-review-grid-wrap[b-h8bx0m41ks]  .supplier-review-grid th:first-child,
.supplier-review-grid-wrap[b-h8bx0m41ks]  .supplier-review-grid td:first-child {
    width: 10rem;
    max-width: 10rem;
}

.status-badge[b-h8bx0m41ks] {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: .1rem .4rem;
    background: #fff;
    color: #495057;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 899.98px) {
    .supplier-review-toolbar[b-h8bx0m41ks],
    .supplier-review-search[b-h8bx0m41ks] {
        align-items: stretch;
    }

    .supplier-review-toolbar[b-h8bx0m41ks] {
        flex-direction: column;
    }

    .supplier-review-search[b-h8bx0m41ks] {
        width: 100%;
    }
}
/* /Components/Shared/SupplierSearchPicker.razor.rz.scp.css */
.supplier-search-picker[b-rh13083ae0] {
    display: grid;
    gap: .35rem;
}

.supplier-search-row[b-rh13083ae0] {
    flex-wrap: nowrap;
}

.supplier-search-row .btn[b-rh13083ae0] {
    width: 2.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.selected-supplier[b-rh13083ae0] {
    display: grid;
    gap: .1rem;
    padding: .35rem .5rem;
    border: 1px solid #badbcc;
    border-radius: 6px;
    background: #f0fff4;
    font-size: .82rem;
}

.selected-supplier span[b-rh13083ae0],
.supplier-result span[b-rh13083ae0] {
    color: #6c757d;
    font-size: .76rem;
}

.supplier-results[b-rh13083ae0] {
    display: grid;
    gap: .3rem;
}

.supplier-result[b-rh13083ae0] {
    display: grid;
    gap: .1rem;
    width: 100%;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background: #fff;
    padding: .4rem .5rem;
    text-align: left;
    font-size: .82rem;
}

.supplier-result:hover[b-rh13083ae0] {
    border-color: #0d6efd;
    background: #f8fbff;
}
/* /Components/Shared/TradeDocumentSearchGrid.razor.rz.scp.css */
.trade-document-search[b-f58g6psets] {
    display: grid;
    gap: .75rem;
}

.document-search-toolbar[b-f58g6psets],
.document-search-main[b-f58g6psets] {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.document-search-toolbar[b-f58g6psets] {
    justify-content: space-between;
}

.document-search-main[b-f58g6psets] {
    flex: 1 1 auto;
    min-width: 0;
}

.document-search-main .form-control[b-f58g6psets] {
    max-width: 32rem;
}

.document-search-count[b-f58g6psets] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    min-height: 1.8rem;
    border-radius: 6px;
    background: #f1f3f5;
    color: #495057;
    font-size: .78rem;
    font-weight: 800;
}

.document-search-extended[b-f58g6psets] {
    display: grid;
    grid-template-columns: minmax(14rem, 1.5fr) minmax(9rem, 1fr) minmax(8rem, .8fr) repeat(3, minmax(7rem, .7fr));
    gap: .5rem;
    align-items: end;
}

.document-search-extended label[b-f58g6psets] {
    display: grid;
    gap: .16rem;
    margin: 0;
    color: #5c6670;
    font-size: .72rem;
    font-weight: 800;
}

.trade-document-grid-wrap[b-f58g6psets] {
    overflow-x: auto;
}

.trade-document-grid-wrap[b-f58g6psets]  .trade-document-grid {
    width: 100%;
    min-width: 880px;
    font-size: .78rem;
    vertical-align: middle;
}

.trade-document-grid-wrap[b-f58g6psets]  .trade-document-grid th {
    color: #5c6670;
    background: #f8f9fa;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.trade-document-grid-wrap[b-f58g6psets]  .trade-document-grid td,
.trade-document-grid-wrap[b-f58g6psets]  .trade-document-grid th {
    padding: .36rem .45rem;
}

.trade-document-grid-wrap[b-f58g6psets]  .trade-document-grid th:first-child,
.trade-document-grid-wrap[b-f58g6psets]  .trade-document-grid td:first-child {
    width: 10rem;
    max-width: 10rem;
}

.status-badge[b-f58g6psets] {
    display: inline-flex;
    align-items: center;
    min-height: 1.35rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: .1rem .4rem;
    background: #fff;
    color: #495057;
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

@media (max-width: 899.98px) {
    .document-search-toolbar[b-f58g6psets],
    .document-search-main[b-f58g6psets] {
        align-items: stretch;
    }

    .document-search-toolbar[b-f58g6psets] {
        flex-direction: column;
    }

    .document-search-main[b-f58g6psets] {
        width: 100%;
    }

    .document-search-extended[b-f58g6psets] {
        grid-template-columns: 1fr;
    }
}
