
/* :root { --bg: #fafafa; --text: #222; --card: #fff; --muted: #6b7280; } */
* { box-sizing: border-box; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, Noto Sans, "Apple Color Emoji","Segoe UI Emoji"; background: #fafafa; color: #222; }
.page { min-height: 100vh; padding: 24px; max-width: 1200px; margin: 0 auto; }
.header { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.title { margin:0; font-size: 28px; font-weight: 700; }
.subtitle { margin:4px 0 0; color: #6b7280; font-size: 14px; }
.tabs { display:flex; gap:8px; }
.tab { padding:8px 12px; border-radius: 999px; background:#fff; border:1px solid #eee; cursor:pointer; }
.tab.active { background:#000; color:#fff; }
.stack { display:flex; flex-direction:column; gap:24px; }
.kpi-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:16px; }
@media (max-width: 1024px){ .kpi-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .kpi-grid { grid-template-columns: 1fr; } }
.kpi-card { background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding:16px; }
.kpi-label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; }
.kpi-value { font-size: 24px; font-weight: 700; margin-top: 6px; }
.card { background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); padding:20px; }
.section-title { font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.chart { height: 260px; }
.chart.small { height: 250px; }
.grid2 { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
@media (max-width: 900px){ .grid2 { grid-template-columns: 1fr; } }
