:root {
  color-scheme: light;
  --ink: #1f2937;
  --muted: #607080;
  --line: #d7dee7;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --accent: #0f766e;
  --accent-2: #b45309;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 48px; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.brand { font-weight: 800; text-decoration: none; font-size: 1.15rem; }
nav { display: flex; gap: 16px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 650; }
nav a:hover { color: var(--accent); }
.hero, .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 40px);
}
.hero h1, .panel h1 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.hero p, .panel p { margin: 0; color: var(--muted); max-width: 760px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.tile {
  display: grid;
  gap: 8px;
  min-height: 132px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  text-decoration: none;
}
.tile:hover { border-color: var(--accent); }
.tile strong { font-size: 1.05rem; }
.tile span { color: var(--muted); }
.file-list { list-style: none; padding: 0; margin: 20px 0 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.file-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; background: var(--paper); border-top: 1px solid var(--line); }
.file-list li:first-child { border-top: 0; }
.file-list a { color: var(--accent); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.file-list span { color: var(--muted); white-space: nowrap; }
.empty { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.stats div { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fbfcfd; }
.stats dt { color: var(--muted); font-size: 0.9rem; }
.stats dd { margin: 4px 0 0; font-size: 1.8rem; font-weight: 800; color: var(--accent-2); }
code { background: #eef2f7; border-radius: 5px; padding: 0.1em 0.35em; }
@media (max-width: 760px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .grid, .stats { grid-template-columns: 1fr; }
  .file-list li { align-items: flex-start; flex-direction: column; gap: 4px; }
  .file-list span { white-space: normal; }
}
