.ro-table {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
    background: #fff;
    color: #111827;
}

.ro-table__title {
    padding: 12px 16px;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(90deg, #eef2ff 0%, #e0e7ff 100%);
}

.ro-table__controls {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.ro-table__controls button {
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.ro-table__controls button:hover {
    background: #eef2ff;
}

.ro-table__wrapper {
    overflow-x: auto;
}

.ro-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.ro-table thead th {
    position: sticky;
    top: 0;
    background: #4338ca;
    color: #fff;
    text-align: right;
    padding: 10px 12px;
    font-weight: 600;
    border-bottom: 2px solid #312e81;
    z-index: 2;
}

.ro-table thead th:first-child {
    text-align: left;
}

.ro-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.ro-table tbody tr.ro-row--subtotal {
    background: #eef2ff;
    font-weight: 600;
}

.ro-table tbody tr.ro-row--item:hover {
    background: #f3f4f6;
}

.ro-cell {
    padding: 8px 12px;
    text-align: right;
    white-space: nowrap;
}

.ro-cell--konto {
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ro-cell--num {
    font-variant-numeric: tabular-nums;
}

.ro-konto {
    display: inline-block;
}

.ro-konto--level-0 {
    padding-left: 4px;
}

.ro-konto--level-1 {
    padding-left: 18px;
}

.ro-konto--level-2 {
    padding-left: 32px;
}

.ro-toggle {
    width: 22px;
    height: 22px;
    border: 1px solid #9ca3af;
    border-radius: 4px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.ro-toggle--spacer {
    border: none;
    background: transparent;
    cursor: default;
}

.ro-row--hidden {
    display: none;
}

.ro-table__empty {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f3f4f6;
}
