:root {
  --bg: #faf9f6;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e2e0da;
  --accent: #b4552d;
  --urgent: #c0392b;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #161513; --ink: #e8e6e1; --muted: #999; --line: #2c2a26; }
}

* { margin: 0; box-sizing: border-box; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 Georgia, "Times New Roman", serif;
  max-width: 680px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 3px double var(--ink);
  padding-bottom: .75rem;
}
h1 { font-size: 1.9rem; letter-spacing: .02em; }
#date { color: var(--muted); font-style: italic; }
#print {
  font: inherit; font-size: .8rem;
  background: none; border: 1px solid var(--line);
  color: var(--muted); padding: .25rem .7rem;
  border-radius: 3px; cursor: pointer;
}
#print:hover { color: var(--ink); border-color: var(--muted); }

#headline {
  font-size: 1.15rem;
  font-style: italic;
  margin: 1.4rem 0 .5rem;
}

section { margin-top: 2.2rem; }
section h2 {
  font-size: .8rem;
  font-family: system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: .35rem;
  margin-bottom: .9rem;
}

article { margin-bottom: 1.05rem; }
article .t { font-weight: bold; }
article .t a { color: inherit; text-decoration: none; }
article .t a:hover { text-decoration: underline; }
article.urgent .t::before { content: "▲ "; color: var(--urgent); font-size: .8em; }
article .s { margin-top: .1rem; }
article .m {
  font-family: system-ui, sans-serif;
  font-size: .72rem;
  color: var(--muted);
  margin-top: .15rem;
}

footer {
  margin-top: 3.5rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
  font-family: system-ui, sans-serif;
  font-size: .72rem;
  color: var(--muted);
}

@media print {
  body { max-width: none; font-size: 11pt; padding: 0; }
  :root { --bg: #fff; --ink: #000; --muted: #444; --accent: #000; }
  #print { display: none; }
  section { break-inside: avoid-page; }
}
