/* BistroSync site. System fonts only; light and dark follow the device (prefers-color-scheme). */
:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --fg: #1d1d1b;
  --muted: #5c5b57;
  --line: #e3e0d8;
  --accent: #a4441c;
  --panel: #f2efe8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --fg: #ecebe6;
    --muted: #a9a79f;
    --line: #2e2d29;
    --accent: #f08a5d;
    --panel: #1d1c19;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
main, header, footer { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
header { padding-top: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
header a { color: var(--fg); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
main { padding-top: 1.5rem; padding-bottom: 3rem; }
footer { padding-bottom: 2rem; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); padding-top: 1rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0.5rem 0 0.25rem; }
h2 { font-size: 1.25rem; margin: 2.25rem 0 0.5rem; }
p, ul { margin: 0.6rem 0; }
ul { padding-left: 1.25rem; }
li { margin: 0.3rem 0; }
a { color: var(--accent); }
.meta { color: var(--muted); margin-top: 0; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 0.75rem 1rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }
code { font-size: 0.9em; }
