(null)
@@ -271,6 +288,7 @@ export function OverviewContent({
const now = new Date()
const stats = deriveStats(data, now)
const periodDaily = sliceDailyToPeriod(data.history.daily, period, now)
+ const chartDaily = buildDailyWindow(data.history.daily, now, Math.max(30, periodDaily.length))
const recent14 = data.history.daily.slice(-14)
const dailyAverage = mean(periodDaily.map(day => day.cost))
const averageDelta = dailyAverage > 0 ? ((stats.todayCost - dailyAverage) / dailyAverage) * 100 : 0
@@ -317,7 +335,7 @@ export function OverviewContent({
Daily spend
{topModel ? `Biggest driver: ${topModel.name}` : 'No model driver yet'}
-
{periodDaily.length ? : No spend in this range yet.}
+
{data.history.daily.length ? : No spend yet.}
diff --git a/app/renderer/styles/plain.css b/app/renderer/styles/plain.css
index d67ad05d..07c17a47 100644
--- a/app/renderer/styles/plain.css
+++ b/app/renderer/styles/plain.css
@@ -93,8 +93,14 @@
--fill: #f1f2f4; --hover: #f2f3f5;
}
-body { background: var(--bg); color: var(--ink); }
-.win { background: var(--canvas); box-shadow: 0 1px 2px rgba(20,22,28,.08); }
+html, body, #root { height: 100%; margin: 0; }
+body { overflow: hidden; background: var(--bg); color: var(--ink); }
+.win { height: 100%; min-height: 0; border-radius: 0; background: var(--canvas); box-shadow: none; }
+.ct { min-height: 0; }
+.body { overflow-y: auto; min-height: 0; }
+/* Use the real OS window controls, not the wireframe's fake traffic-light dots. */
+.lights { display: none; }
+.sb { padding-top: 12px; }
.app b { background: none; color: var(--accent); filter: none; }
.ni.on { background: var(--hover); color: var(--t1); box-shadow: none; }
.ni.on::before { background: var(--accent); }