.abacuz-main-body {
    min-inline-size: 0;
    max-inline-size: 100%;
    overflow-x: clip;
}

.mud-tabs-panels,
.mud-tabs-panels > div {
    min-inline-size: 0;
    max-inline-size: 100%;
}

.abacuz-grid-scroll {
    overflow: auto;
    max-inline-size: 100%;
    inline-size: 100%;
    min-inline-size: 0;
    box-sizing: border-box;
}

.abacuz-grid-scroll:focus-visible {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
}

.abacuz-edit-table {
    width: max-content;
    min-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.78rem;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.abacuz-edit-table th,
.abacuz-edit-table td {
    border-right: 1px solid #d9e2ec;
    border-bottom: 1px solid #d9e2ec;
    padding: 4px 6px;
    text-align: right;
}

.abacuz-edit-table thead tr:first-child th {
    border-top: 1px solid #d9e2ec;
}

.abacuz-edit-table tr > :first-child {
    border-left: 1px solid #d9e2ec;
}

.abacuz-edit-table thead th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: #f0f4f8;
    font-weight: 700;
    color: #1f3b5c;
}

.abacuz-row-readonly td {
    background: #fff3e6;
}

.abacuz-row-total-bolivia td {
    background: #fde2d2;
}

.abacuz-row-dup td {
    background: #ffebee;
}

.abacuz-cell-locked {
    background: #eceff1;
    color: #455a64;
}

.abacuz-cell-danger {
    background: #ffcdd2;
}

.abacuz-cell-colwarn,
.abacuz-col-warn {
    background: #ede7f6 !important;
    color: #4a148c !important;
}

.abacuz-cell-input {
    width: 68px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: right;
    border: 1px solid #cfd8dc;
    background: #ffffff;
    font-size: 0.78rem;
    padding: 2px 4px;
    border-radius: 3px;
    font-variant-numeric: tabular-nums;
}

.abacuz-cell-input:focus {
    outline: none;
    border-color: #1976d2;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.18);
}

.abacuz-cell-select {
    border: 1px solid #cfd8dc;
    border-radius: 3px;
    padding: 2px 4px;
    font-size: 0.78rem;
    background: #ffffff;
    max-width: 240px;
    width: 100%;
}
