', max(1, $rows) ); $tabHtml = ''; foreach (array_values($tabs) as $i => $label) { $tabHtml .= ''; } return self::styles() . '
' . '

' . esc_html($title) . '

' . '
' . ($tabHtml !== '' ? '
' . $tabHtml . '
' : '') . '
' . '
' . $rowHtml . '
' . '
' . esc_html__('Loading…', 'ai-content-generation') . '
' . '
' . '
'; } private static function styles(): string { return ''; } }