:root {
  --ink: #1c1915;
  --muted: #5c564c;
  --line: #e4ddd2;
  --paper: #f7f4ef;
  --card: #fffdf9;
  --accent: #2f4a3c;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font: 16px/1.5 "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--ink);
  background: var(--paper);
}
.top, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.top { padding-top: 28px; }
.brand { font-weight: 700; letter-spacing: 0.01em; }
.tag { color: var(--muted); font-size: 14px; }
h1 { font-size: 32px; line-height: 1.15; margin: 18px 0 10px; font-weight: 650; }
.lede { margin: 0 0 8px; }
.note, .notice, .docs p, footer p { color: var(--muted); }
.panel, .docs {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 18px 0;
}
.notice {
  background: #f3f0ea;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
}
.notice p { margin: 0 0 8px; }
.notice p:last-child { margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; }
.check input { margin-top: 4px; }
form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.file { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
button, .file input { font: inherit; }
button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
}
button:disabled, .file input:disabled { cursor: not-allowed; opacity: 0.55; }
.status { min-height: 1.4em; }
.result { margin-top: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { width: 34%; color: var(--muted); font-weight: 600; }
.empty { color: var(--muted); }
footer { padding-bottom: 40px; font-size: 14px; }
