.ri-tab {
    padding: 0.5rem 1rem;
    border-radius: 0.6rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    transition: background-color 0.15s, color 0.15s;
}
.ri-tab:hover { color: #0f172a; }
.ri-tab[aria-selected="true"] {
    background: #fff;
    color: #047857;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
}
.dark .ri-tab { color: #cbd5e1; }
.dark .ri-tab:hover { color: #fff; }
.dark .ri-tab[aria-selected="true"] { background: #334155; color: #6ee7b7; }

.ri-input:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

.ri-preset {
    padding: 0.25rem 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    background: #fff;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.ri-preset:hover { border-color: #059669; color: #047857; }
.ri-preset[aria-pressed="true"] { background: #059669; border-color: #059669; color: #fff; }
.dark .ri-preset { background: #0f172a; border-color: #475569; color: #e2e8f0; }
.dark .ri-preset:hover { border-color: #34d399; color: #6ee7b7; }
.dark .ri-preset[aria-pressed="true"] { background: #10b981; border-color: #10b981; color: #022c22; }

.ri-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ri-table th, .ri-table td { padding: 0.5rem 0.6rem; text-align: right; white-space: nowrap; }
.ri-table th:first-child, .ri-table td:first-child { text-align: left; }
.ri-table thead th { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: #64748b; border-bottom: 1px solid #e2e8f0; }
.ri-table tbody td { border-bottom: 1px solid #f1f5f9; }
.ri-table tbody tr.ri-current td { background: #ecfdf5; color: #065f46; font-weight: 700; }
.dark .ri-table thead th { color: #94a3b8; border-bottom-color: #334155; }
.dark .ri-table tbody td { border-bottom-color: #1e293b; }
.dark .ri-table tbody tr.ri-current td { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
