:root { --paper:#faf4f2; --surface:#fffaf8; --ink:#49383f; --muted:#75636d; --accent:#96566f; --line:#ead7df; --soft:#f0dee5;
  --display:"Fredoka","Nunito",system-ui,sans-serif; --body:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif; }
@media (prefers-color-scheme: dark) { :root { --paper:#211c24; --surface:#2d2530; --ink:#f4e9ee; --muted:#c4b2bc; --accent:#e3a3bb; --line:#4a3b4d; --soft:#3d3040; color-scheme: dark } }
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--body) }
main { max-width: 760px; margin: 0 auto; padding: 32px max(16px, env(safe-area-inset-left)) 72px max(16px, env(safe-area-inset-right)) }
header.site { display: flex; align-items: center; gap: 12px; margin-bottom: 24px }
header.site img { width: 56px; height: auto }
header.site a { font: 700 22px var(--display); color: var(--ink); text-decoration: none }
h1, h2, h3 { font-family: var(--display); line-height: 1.2; text-wrap: balance }
h1 { font-size: clamp(28px, 6vw, 38px); margin: 0 0 6px; color: var(--accent) }
h2 { font-size: 22px; margin: 36px 0 8px }
h3 { font-size: 18px; margin: 24px 0 6px }
.meta { color: var(--muted); margin: 0 0 20px; font-size: 14.5px }
.card { background: var(--surface); border: 2px solid var(--line); border-radius: 18px; padding: 16px 18px; margin: 16px 0 }
table { width: 100%; border-collapse: collapse; font-size: 15px }
.table-wrap { overflow-x: auto }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line) }
th { font-weight: 700 }
a { color: var(--accent) }
nav.lang { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 8px; font-size: 14.5px }
hr { border: 0; border-top: 2px dashed var(--line); margin: 48px 0 }
footer { color: var(--muted); font-size: 14px; margin-top: 48px }
.todo { background: var(--soft); border-radius: 6px; padding: 0 4px }
