*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; background: #f5f5f0; color: #1a1a1a; min-height: 100dvh; }
.topbar { background: #01696f; color: white; padding: 1rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.topbar a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.9rem; }
.topbar a:hover { color: white; }
.topbar-title { font-weight: 800; font-size: 1.1rem; }
.container { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.kpi-card { background: white; border-radius: 12px; padding: 1.25rem 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.kpi-label { font-size: 0.78rem; color: #7a7974; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.4rem; }
.kpi-value { font-size: 2.4rem; font-weight: 800; color: #01696f; line-height: 1; }
.kpi-sub   { font-size: 0.8rem; color: #7a7974; margin-top: 0.35rem; }
.funnel-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,0.06); margin-bottom: 1.5rem; }
.funnel-card h2, .chart-card h2, .table-card h2 { font-size: 0.8rem; color: #01696f; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.25rem; }
.funnel-steps { display: flex; flex-direction: column; gap: 0.5rem; }
.funnel-bar-bg { height: 40px; background: #f0efe8; border-radius: 8px; overflow: hidden; }
.funnel-bar-fill { height: 100%; border-radius: 8px; display: flex; align-items: center; padding-left: 1rem; transition: width 0.9s cubic-bezier(0.16,1,0.3,1); }
.funnel-bar-fill span { font-size: 0.85rem; font-weight: 700; color: white; white-space: nowrap; }
.funnel-meta { display: flex; justify-content: space-between; margin-top: 0.3rem; font-size: 0.78rem; color: #7a7974; }
.funnel-drop { color: #a12c7b; font-weight: 600; }
.charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (max-width: 700px) { .charts-row { grid-template-columns: 1fr; } }
.chart-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.chart-wrap { position: relative; height: 280px; }
.table-card { background: white; border-radius: 12px; padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 0.78rem; color: #7a7974; padding: 0.5rem 0.75rem; border-bottom: 2px solid #f0efe8; }
td { padding: 0.6rem 0.75rem; font-size: 0.9rem; border-bottom: 1px solid #f5f5f0; }
tr:last-child td { border-bottom: none; }
.bar-mini-bg  { height: 8px; background: #f0efe8; border-radius: 4px; overflow: hidden; max-width: 200px; }
.bar-mini-fill { height: 100%; background: #01696f; border-radius: 4px; }
.pct { color: #7a7974; font-size: 0.82rem; min-width: 3rem; text-align: right; }
.empty { color: #bab9b4; font-size: 0.9rem; text-align: center; padding: 2rem; }