:root {
  --bg: #f6f3ee;
  --ink: #1c1917;
  --muted: #78716c;
  --line: #d6d3d1;
  --accent: #0f766e;
  --surface: #fffcf7;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse at top left, #dbece8 0%, transparent 50%),
    radial-gradient(ellipse at bottom right, #efe6d8 0%, transparent 45%),
    var(--bg);
  min-height: 100vh;
}

.page-header {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  padding: 2rem 2.5rem 1rem;
}
h1 {
  margin: 0;
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}
.subtitle, .meta, .note, .crumb {
  color: var(--muted);
  margin: 0.35rem 0 0;
}
.crumb a { color: var(--accent); text-decoration: none; }
.header-actions { text-align: right; }
.btn {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.45rem 0.9rem;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.9rem;
}
main { padding: 0 2.5rem 3rem; }
.note { max-width: 48rem; margin-bottom: 1.25rem; font-size: 0.9rem; }

.usage-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
}
.usage-table th,
.usage-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.usage-table th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.usage-table .num { text-align: right; }
.app-row { cursor: pointer; }
.app-row:hover { background: #f0f7f5; }
.totals-row { font-weight: 600; background: #f3faf8; }
.cost { display: block; font-variant-numeric: tabular-nums; }
.sessions { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.15rem; }

.group-nav { margin-bottom: 1rem; display: flex; gap: 0.75rem; }
.group-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.group-nav a.active { color: var(--accent); border-color: var(--accent); }

.status-files { margin-top: 2rem; }
.status-files h2 { font-size: 1.1rem; }
.status-files ul { padding-left: 1.2rem; color: var(--muted); }
