:root {
  --bg: #0f0f0f;
  --fg: #e4e4e4;
  --muted: #888;
  --accent: #22c55e;
  --code-bg: #1a1a1a;
  --border: #2a2a2a;
}

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

header p {
  color: var(--muted);
  margin: 0;
  font-size: 1rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--accent);
}

section {
  margin-bottom: 1.5rem;
}

p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  font-size: 0.85rem;
  margin: 0.75rem 0;
}

code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
}

pre code {
  background: none;
  padding: 0;
}

p code, li code {
  background: var(--code-bg);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--muted);
  font-weight: 500;
}

ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  color: var(--muted);
}

li {
  margin-bottom: 0.35rem;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--accent);
}

.project-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.project-name-row label {
  color: var(--muted);
  font-size: 0.9rem;
}

.project-name-row input {
  flex: 1;
  min-width: 140px;
  padding: 0.4rem 0.6rem;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg);
}

.project-name-row input:focus {
  outline: none;
  border-color: var(--accent);
}

.project-name-row button {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
}

.project-name-row button:hover {
  opacity: 0.9;
}
