:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background: #f4f4f5;
}

* { box-sizing: border-box; }
body { margin: 0; }

main {
  width: min(760px, calc(100% - 32px));
  margin: 48px auto;
}

.card {
  background: white;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

h1 { margin-top: 0; }
nav { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
nav a { color: #18181b; }

label { display: block; font-weight: 700; margin: 18px 0 6px; }
input, select, button {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  border-radius: 10px;
  border: 1px solid #d4d4d8;
}

button {
  margin-top: 16px;
  border: 0;
  background: #18181b;
  color: white;
  cursor: pointer;
  font-weight: 700;
}
button.secondary { background: #52525b; }
button.danger { background: #991b1b; }
button:disabled { opacity: .55; cursor: wait; }

.status {
  margin-top: 18px;
  padding: 14px;
  border-radius: 10px;
  background: #f4f4f5;
  white-space: pre-wrap;
}

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.small { color: #52525b; font-size: .92rem; }
code { word-break: break-word; }
