* { box-sizing: border-box; }
body {
  font-family: -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", sans-serif;
  margin: 0;
  background: #0f1420;
  color: #e6e9f0;
}
header.app-header {
  background: #171d2e;
  padding: 12px 20px;
  border-bottom: 1px solid #2a3350;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
header.app-header .title { font-weight: 600; }
header.app-header nav a {
  color: #9db2ff;
  text-decoration: none;
  margin-left: 16px;
  font-size: 14px;
}
.disclaimer {
  background: #2a1f0f;
  color: #ffcf8a;
  border: 1px solid #6b4a12;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 16px 20px;
  font-size: 13px;
  line-height: 1.6;
}
main { padding: 4px 20px 40px; max-width: 1000px; margin: 0 auto; }
.card {
  background: #171d2e;
  border: 1px solid #2a3350;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 20px;
}
.card h2 { margin-top: 0; font-size: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #2a3350; }
th { color: #9db2ff; font-weight: 600; }
label { display: block; font-size: 13px; margin: 10px 0 4px; color: #b7c0da; }
input[type=text], input[type=email], input[type=password], select {
  width: 100%; padding: 8px 10px; border-radius: 6px; border: 1px solid #384267;
  background: #0f1420; color: #e6e9f0; font-size: 14px;
}
button {
  background: #4c6fff; color: white; border: none; border-radius: 6px;
  padding: 9px 16px; font-size: 14px; cursor: pointer; margin-top: 12px;
}
button.secondary { background: #2a3350; }
button:hover { opacity: 0.9; }
.row { display: flex; gap: 20px; flex-wrap: wrap; }
.row > * { flex: 1; min-width: 220px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.pill.safe { background: #113a24; color: #7ee6a4; }
.pill.naive { background: #3a1414; color: #ff9d9d; }
pre.raw {
  background: #0a0e18; border: 1px solid #2a3350; border-radius: 6px;
  padding: 10px; white-space: pre-wrap; word-break: break-all; font-size: 12px;
  max-height: 260px; overflow: auto;
}
.status-line { font-weight: 600; margin-bottom: 6px; }
.status-200 { color: #7ee6a4; }
.status-404 { color: #7ee6a4; }
.status-other { color: #ff9d9d; }
.error-text { color: #ff9d9d; font-size: 13px; }
.muted { color: #7f8bb0; font-size: 12px; }
