/* Same-row line editor — fixed layout for Edit/Detail width parity */
.txn-lines-editor {
    background: #f3f7fd;
    border: 1px solid #dbe5f3;
    border-radius: .5rem;
    padding: .5rem;
}

.txn-lines-editor__table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.txn-lines-editor__table th,
.txn-lines-editor__table td {
    padding: .45rem .5rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
    font-size: .875rem;
    overflow: hidden;
}

.txn-lines-editor__table th {
    color: #6b7280;
    font-weight: 600;
    background: #e8eff9;
}

.txn-lines-editor__table tbody tr {
    background: transparent;
}

.txn-lines-editor__table .rz-numeric,
.txn-lines-editor__table .rz-dropdown,
.txn-lines-editor__table .rz-textarea {
    background: #fff;
}

.txn-lines-editor__empty td {
    padding: 1.5rem .5rem;
    text-align: center;
    color: #6b7280;
    font-size: .85rem;
    border: 1px dashed #c7d4e8;
    background: rgba(255, 255, 255, .6);
}

.txn-lines-editor__table .number {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.txn-lines-editor__actions {
    white-space: nowrap;
    text-align: right;
}

.txn-lines-editor__table .gs-form-field-control,
.txn-lines-editor__table .rz-numeric,
.txn-lines-editor__table .rz-dropdown,
.txn-lines-editor__table .rz-textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.txn-lines-editor__table textarea.rz-textarea {
    min-height: 2rem;
    resize: vertical;
}
