:root {
  --bg: #f4f3ee;
  --surface: #ffffff;
  --text: #14254a;
  --muted: #55607a;
  --accent: #1e4fa0;
  --border: #dcdde6;
  --todo-bg: #fff4d6;
  --todo-text: #7a5600;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #131416;
    --text: #f3f2ee;
    --muted: #a4a5ac;
    --accent: #8fb3e8;
    --border: #2a2b30;
    --todo-bg: #3a2e0a;
    --todo-text: #ffd774;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

header a { color: var(--muted); text-decoration: none; font-size: 15px; }
h1 { font-size: 32px; line-height: 1.2; margin: 12px 0 4px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
p, li { color: var(--text); }
.updated { color: var(--muted); font-size: 15px; margin-top: 0; }
a { color: var(--accent); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 20px;
  margin: 16px 0;
}

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

/* Campos que el responsable debe completar antes de publicar. */
.todo {
  background: var(--todo-bg);
  color: var(--todo-text);
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

footer { margin-top: 48px; color: var(--muted); font-size: 14px; }
