:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --card: #fff;
  --text: #1a1d21;
  --muted: #5c6570;
  --border: #dde1e6;
  --link: #0b57d0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.site-header,
main,
.site-footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.site-header h1 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.15rem;
}

.post h2 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.post time {
  font-size: 0.85rem;
  color: var(--muted);
}

.post .body {
  margin: 0.75rem 0 0;
  white-space: pre-wrap;
}

.post .drive {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.post .drive a {
  color: var(--link);
}

.status.error {
  color: #b3261e;
}