/* Drocer v0.1 — minimal base styles. */
:root {
  --ink: #1c2430;
  --paper: #ffffff;
  --accent: #14532d;
  --muted: #5b6672;
  --line: #dde3ea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
  text-decoration: none;
}

.site-nav a {
  margin-left: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover { text-decoration: underline; }

.site-main {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1rem 1.25rem;
}

/* Comment thread embed (articles/discussion.html → comments/thread.html). */
.comments-thread { margin-top: 0.5rem; }
.comments-status { color: var(--muted); font-style: italic; }
.comment-children { list-style: none; padding-left: 1.1rem; }
.comment-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.6rem;
}
.comment-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  color: var(--muted);
  font-size: 0.85rem;
}
.comment-badge {
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;
  padding: 0 0.45rem;
  font-size: 0.72rem;
}
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  padding: 0.5rem;
}
.comment-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 1rem;
  cursor: pointer;
}
.comment-hint { color: var(--muted); font-size: 0.85rem; }
.comment-login-note { color: var(--muted); }
