:root {
  --bg: #e9eeec; --surface: #fffdf8; --ink: #13202b; --muted: #55626c; --line: #dad8cf;
  --accent: #f2a541; --link: #a04a12; --note: #fbe8df; --note-ink: #8a3412;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e171f; --surface: #17242e; --ink: #eef1ee; --muted: #a7b4ba; --line: #2a3a45;
    --link: #f4b66a; --note: #3a2219; --note-ink: #f2b49a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 'DM Sans Variable', 'DM Sans', 'Segoe UI', Arial, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 24px 16px 64px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; }
h1, h2 { font-family: 'Sora Variable', 'Sora', 'Trebuchet MS', Arial, sans-serif; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 30px; margin: 8px 0 12px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 4px; }
p, li { margin: 0 0 10px; }
ul { padding-left: 22px; }
a { color: var(--link); }
:focus-visible { outline: 3px solid #2f7f7a; outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.draft { background: var(--note); color: var(--note-ink); border-radius: 14px; padding: 12px 16px; font-size: 15px; }
.top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 16px; }
th, td { text-align: left; vertical-align: top; padding: 8px 8px 8px 0; border-top: 1px solid var(--line); }
th { font-weight: 700; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { position: absolute; left: -9999px; }
  tr { border-top: 1px solid var(--line); padding: 8px 0; }
  td { border: 0; padding: 2px 0; }
  td:first-child { font-weight: 700; }
}
.box { border: 2px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 10px 0; }
