:root {
  --bg: #0f1115;
  --panel: #171a21;
  --text: #f4f6fb;
  --muted: #a9b0c0;
  --primary: #5c8cff;
  --warn: #ffb020;
  --danger: #ff5d5d;
  --ok: #23c36b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}
.container { max-width: 1240px; margin: 0 auto; padding: 30px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 16px; }
h1, h2, h3 { font-family: Sora, Inter, sans-serif; margin: 0 0 12px; }
h1 { font-size: 30px; font-weight: 700; }
h2 { font-weight: 700; letter-spacing: .1px; }
h3 { font-weight: 600; }
.asof { color: var(--muted); font-weight: 500; }
.nav { display:flex; gap:10px; margin-bottom:18px; flex-wrap:wrap; }
.nav a { color: var(--text); text-decoration: none; background:#1a2030; padding:8px 12px; border-radius:10px; font-weight:500; }
.nav a:hover { background:#24304a; }
.panel { background: var(--panel); border-radius: 14px; padding: 20px; margin-bottom: 18px; }
.decisions { border: 1px solid rgba(255,93,93,.4); }
.decisions li { margin: 10px 0; font-weight: 500; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.card { background: var(--panel); border-radius: 14px; padding: 18px; }
.card h3 { color: var(--muted); font-size: 15px; font-weight:600; }
.card p { font-size: 24px; line-height:1.25; font-weight: 700; margin: 10px 0 0; }
.dept-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.dept { display:block; color:var(--text); text-decoration:none; background: #1e2330; border-radius: 12px; padding: 16px; border-left: 5px solid var(--primary); line-height:1.45; }
.dept.on-track { border-left-color: var(--ok); }
.dept.at-risk { border-left-color: var(--warn); }
.dept.off-track { border-left-color: var(--danger); }
.dept p { margin: 8px 0; font-weight:500; }
ul { margin: 0; padding-left: 20px; }
li { margin: 8px 0; line-height:1.45; }
.small { color:var(--muted); font-size: 14px; }
a.inline { color:#9ec2ff; text-decoration:none; font-weight:600; }
a.inline:hover { text-decoration:underline; }
@media (max-width: 900px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: 1fr; }
}
