+ {isCollapsed ? (
+ // Show only a compact progress indicator when collapsed
+
+ ) : (
+ // Show full details when expanded
+ <>
+
+
+ {pagesUsed.toLocaleString()} / {pagesLimit.toLocaleString()} pages
+
+ {usagePercentage.toFixed(0)}%
+
+
+
+ >
+ )}
+
+