* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #09090b;
  color: #fafafa;
  min-height: 100vh;
  line-height: 1.5;
}
nav {
  display: flex;
  gap: 2rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid #27272a;
  position: sticky;
  top: 0;
  background: #09090b;
  z-index: 10;
}
nav a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: color 0.15s;
}
nav a:hover { color: #fafafa; }
main {
  max-width: 480px;
  margin: 3rem auto;
  padding: 0 1.25rem 4rem;
}
h1 {
  font-size: 1.375rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}
form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
label {
  display: block;
  font-size: 0.8rem;
  color: #a1a1aa;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
input, select, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #27272a;
  border-radius: 0.5rem;
  background: #18181b;
  color: #fafafa;
  font-size: 0.9375rem;
  transition: border-color 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #3f3f46;
}
button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  background: #fafafa;
  color: #09090b;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}
button:hover, .btn:hover { background: #e4e4e7; }
button.danger {
  background: transparent;
  color: #ef4444;
  padding: 0;
  font-size: 0.85rem;
}
button.danger:hover { color: #f87171; }
ul {
  list-style: none;
  margin-top: 2rem;
}
li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid #27272a;
  font-size: 0.9rem;
  color: #a1a1aa;
}
li a {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.85rem;
  margin-left: 1rem;
}
li a:hover { color: #60a5fa; }
.actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
@media (max-width: 600px) {
  nav { gap: 1.25rem; padding: 1rem 1.25rem; }
  main { margin: 2rem auto; }
  h1 { font-size: 1.25rem; }
}

input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}
.success {
  background: #14532d;
  color: #86efac;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.error {
  background: #450a0a;
  color: #fca5a5;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}