/* === Base === */
:root {
  --page-max: 1000px;
  --bg: #ffffff;
  --fg: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --panel: #f9fafb;
  --link: #ff6f61;
  --radius: 12px;
  --font: "Open Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--fg); font-family: var(--font); }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.header {
  display: block;
  position: sticky;
  align-items: center;
  margin-bottom: 16px;
}

.title { font-size: 22px; font-weight: 700; margin: 0;}
.subtitle { color: var(--muted); font-size: 13px; margin: 0; }

/* === Nav === */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  z-index: 10;
}

.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  display: inline-block;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 15px;
  font-size: 14px;
  line-height: 1;
}

/* === Sections === */
.sheet {
  margin-top: 24px;
  padding: 16px;
  border: 0px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

h1 {
 text-align: center;
}

.sheet h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

/* === Table === */
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.excel-table {
  width:100%;
  border-collapse: collapse;
  min-width: 600px;
}

.excel-table thead th {
  position: sticky;
  top: 0;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 13px;
  text-align: left;
}

.excel-table th, .excel-table td {
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
  vertical-align: top;
  font-size: 13px;
}

.excel-table tbody tr:hover td { background: #fafafa; }

/* Optional: align numbers to the right if needed */
.excel-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
