#pragma once

// Dashboard panel — a styled child window with title bar.
// Usage:
//   if (dashboard_panel_begin("Sales")) {
//       line_plot("Revenue", xs, ys, N);
//   }
//   dashboard_panel_end(); // ALWAYS call, even if begin returned false
//
// Features: title bar with text, rounded corners, subtle border, auto-resize.
// min_width/min_height set minimum size constraints.

bool dashboard_panel_begin(const char* title, float min_width = 200.0f, float min_height = 150.0f);
void dashboard_panel_end();
