:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --text: #1c1b18;
  --muted: #6b6860;
  --border: #e4e1d8;
  --accent: #2f6b4f;
  --accent-text: #ffffff;
  --danger: #a33a2b;
  --pill: #ecebe5;
  --ok: #2f6b4f;
  --code: #f1efe9;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141412;
    --surface: #1d1c1a;
    --text: #ecebe6;
    --muted: #9c998f;
    --border: #2e2d29;
    --accent: #5aa37f;
    --accent-text: #0e1a14;
    --danger: #e0715f;
    --pill: #2a2926;
    --ok: #79c39c;
    --code: #252421;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif;
}
.top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 960px; margin: 0 auto; padding: 20px 16px;
}
.brand { font-weight: 650; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.mark {
  width: 28px; height: 28px; border-radius: 8px; display: inline-grid; place-items: center;
  background: var(--accent); color: var(--accent-text); font-size: 15px;
}
.who { display: flex; gap: 12px; align-items: center; color: var(--muted); }
main { max-width: 960px; margin: 0 auto; padding: 0 16px 48px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; margin-bottom: 16px; min-width: 0;
}
.narrow { max-width: 400px; margin: 48px auto; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid .card { margin-bottom: 16px; }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; gap: 0; } }
h2 { font-size: 16px; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.muted { color: var(--muted); margin: 0 0 12px; }
.small { font-size: 13px; margin: 12px 0 0; }
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
label.check { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--text); font-size: 14px; white-space: nowrap; }
input, textarea {
  display: block; width: 100%; margin-top: 4px; padding: 9px 11px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
}
label.check input { width: auto; margin: 0; }
textarea { resize: vertical; font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
button {
  font: inherit; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer;
}
button:hover { border-color: var(--muted); }
button:disabled { opacity: 0.6; cursor: progress; }
button.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); font-weight: 550; }
a.button {
  padding: 6px 12px; border-radius: 8px; text-decoration: none; font-weight: 550;
  background: var(--accent); color: var(--accent-text);
}
button.danger { color: var(--danger); }
button.link { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row input { flex: 1 1 200px; margin: 0; width: auto; }
.tabs { display: flex; gap: 4px; margin-bottom: 16px; background: var(--bg); padding: 4px; border-radius: 10px; }
.tab { flex: 1; border: 0; background: none; color: var(--muted); }
.tab.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,0.08); }
.error { color: var(--danger); margin: 8px 0 0; min-height: 1em; font-size: 14px; }
.pill { font-size: 12px; font-weight: 500; padding: 2px 8px; border-radius: 99px; background: var(--pill); color: var(--muted); }
.pill.ok { color: var(--ok); }
.table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; display: block; overflow-x: auto; }
.table thead, .table tbody { display: table; width: 100%; table-layout: auto; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--border); }
.table td { padding: 8px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
pre, code {
  font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; background: var(--code);
  border-radius: 6px;
}
pre { padding: 10px 12px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; margin: 8px 0; }
code { padding: 1px 5px; word-break: break-all; }
.reveal { border: 1px dashed var(--accent); border-radius: 10px; padding: 12px; margin-top: 12px; }
.reveal p { margin: 0 0 4px; }
