:root {
  --bg: #111318;
  --panel: #1a1d24;
  --border: #2a2f3a;
  --text: #e6e8ec;
  --muted: #8a93a6;
  --accent: #6aa9ff;
  --error: #ff6b6b;
  --success: #6bd389;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

h1 {
  font-size: 1.5rem;
  margin: 0 0 1.5rem 0;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

input[type="text"],
input[type="url"] {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  color: var(--text);
  font-size: 0.95rem;
}

input:focus {
  outline: none;
  border-color: var(--accent);
}

button {
  padding: 0.625rem 1rem;
  background: var(--accent);
  color: #0b1221;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.75rem;
}

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

ul.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.steps li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.875rem;
}

ul.steps li:last-child {
  border-bottom: none;
}

.error {
  color: var(--error);
}

.success {
  color: var(--success);
}

.path {
  font-family: ui-monospace, SFMono-Regular, monospace;
  background: var(--bg);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  word-break: break-all;
  font-size: 0.875rem;
}

.form-row {
  margin-bottom: 0.75rem;
}
