:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #17212f;
  --muted: #637083;
  --primary: #2f6bff;
  --primary-dark: #2454c8;
  --border: #dce3ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 14px 40px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(36, 59, 99, 0.08);
  margin-bottom: 14px;
  padding: 18px;
}

.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 8px 0 10px;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 20px;
}

.muted,
.status {
  color: var(--muted);
}

.external {
  color: var(--primary);
  display: inline-block;
  margin-bottom: 10px;
}

.stats {
  background: #eef3ff;
  border-radius: 999px;
  display: inline-block;
  font-weight: 700;
  padding: 8px 12px;
}

textarea {
  border: 1px solid var(--border);
  border-radius: 14px;
  display: block;
  font: inherit;
  margin: 10px 0;
  padding: 12px;
  resize: vertical;
  width: 100%;
}

button {
  background: var(--primary);
  border: 0;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 12px 16px;
}

button:hover {
  background: var(--primary-dark);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.secondary {
  background: #e7ecf6;
  color: var(--text);
  width: 100%;
}

.secondary:hover {
  background: #d8e0ef;
}

.comments {
  display: grid;
  gap: 10px;
}

.comment {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.comment:last-child {
  border-bottom: 0;
}

.comment-header {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.hidden {
  display: none;
}

