.view-journal-rule-test.gs-page-detail {
    overflow: hidden;
}

.journal-rule-test-card.gs-card > .rz-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 1rem;
}

.journal-rule-test-body {
    display: flex;
    flex: 1;
    min-height: 0;
    gap: 1rem;
    overflow: hidden;
}

.journal-rule-test-left {
    width: 340px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    padding-right: 0.5rem;
    border-right: 1px solid var(--rz-base-300, #e0e0e0);
}

.journal-rule-test-right {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
}

.journal-rule-test-section {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.journal-rule-test-section-title {
    flex-shrink: 0;
    font-weight: 600;
}

.journal-rule-test-preview-actions {
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.journal-rule-test-warning {
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}

.journal-rule-test-debit-header {
    color: #f52c2c;
    font-weight: 600;
}

.journal-rule-test-credit-header {
    color: #43a047;
    font-weight: 600;
}

.journal-rule-test-debit-cell {
    color: #f52c2c;
    font-weight: 600;
}

.journal-rule-test-credit-cell {
    color: #43a047;
    font-weight: 600;
}
