:root {
  --bg: #0b0f14;
  --panel: #121821;
  --text: #e9eef5;
  --muted: #94a3b8;
  --accent: #3b82f6;
  --soft: #1e293b;
  --border: #223047;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
}
.container { max-width: 1200px; padding: 24px; margin: 0 auto; }
h1 { margin: 0 0 8px; font-weight: 700; letter-spacing: .2px; }
.subtitle { margin: 0 0 16px; color: var(--muted); }
.user-block { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 20px; }

.ts-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--soft);
}
.ts-table th, .ts-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
.ts-table th:last-child, .ts-table td:last-child { border-right: none; }
.ts-table thead th {
  background: #132033;
  position: sticky;
  top: 0;
  z-index: 2;
}
.week-col { text-align: center; }
.subhead th { font-weight: 500; color: var(--muted); }
.sticky-col {
  position: sticky; left: 0; z-index: 3;
  background: #0f1724;
}
.category { font-weight: 600; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

.empty { background: #1a2638; border: 1px dashed var(--border); border-radius: 12px; padding: 16px; color: var(--muted); }
.footer { color: var(--muted); }
code { background: #0f1724; padding: 2px 6px; border-radius: 6px; border: 1px solid var(--border); }