/* WordPress theme token integration */
[class*="rv-"] {
	--mhm-primary: var(--wp--preset--color--primary, #2271b1);
	--mhm-font-base: var(--wp--preset--font-size--normal, 1rem);
	--mhm-radius: var(--wp--preset--border-radius, 4px);
	--mhm-text: var(--wp--preset--color--foreground, #1d2327);
}

/* Vendor Ledger — scoped under .mhm-rentiva-ledger */

.mhm-rentiva-ledger {
    white-space: normal; /* reset inherited white-space:pre from wp-block-shortcode <pre> wrapper */
    font-family: -apple-system, BlinkMacSystemFont, "DM Sans", "Segoe UI", sans-serif;
    max-width: 960px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
}

.mhm-rentiva-ledger__header {
    margin-bottom: 1.25rem;
}

.mhm-rentiva-ledger__header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.mhm-rentiva-ledger__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 6px;
}

.mhm-rentiva-ledger__filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1 1 160px;
}

.mhm-rentiva-ledger__filter-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
}

.mhm-rentiva-ledger__filter-group select {
    padding: 0.45rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #fff;
    font-size: 0.9375rem;
    color: #111827;
}

.mhm-rentiva-ledger__filter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    flex-shrink: 0;
}

.mhm-rentiva-ledger__table-wrap {
    overflow-x: auto;
}
