body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #f4f5f7;
  color: #1b1b1b;
}
nav {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #2b2f36;
  padding: 12px 20px;
}
nav a { color: #fff; text-decoration: none; font-weight: 500; }
nav a.right { margin-left: auto; opacity: .7; }
main { max-width: 960px; margin: 24px auto; padding: 0 16px; }
h1 { font-size: 22px; }
h2 { font-size: 17px; margin-top: 28px; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e4e6ea; font-size: 14px; vertical-align: middle; }
th { background: #eceef1; }
.muted { color: #6b7280; font-size: 14px; }
.error { color: #b91c1c; }
.btn, button {
  display: inline-block;
  background: #2563eb; color: #fff; border: 0; border-radius: 6px;
  padding: 7px 14px; font-size: 14px; cursor: pointer; text-decoration: none;
}
button.danger { background: #dc2626; }
.actions form { display: inline-block; margin: 2px 4px 2px 0; }
.stack label { display: block; margin-bottom: 12px; font-size: 14px; }
.stack input { display: block; width: 100%; max-width: 420px; margin-top: 4px; padding: 8px; box-sizing: border-box; }
.inline input { padding: 7px; margin-right: 8px; }
#reader { width: 100%; max-width: 420px; margin-bottom: 12px; }
#result { padding: 14px; border-radius: 8px; background: #eceef1; margin-bottom: 12px; }
#result.ok { background: #dcfce7; }
#result.warn { background: #fef9c3; }
#result.err { background: #fee2e2; }
.manual input { padding: 8px; width: 280px; }
.login-body { display: flex; min-height: 100vh; align-items: center; justify-content: center; }
.login-box { background: #fff; padding: 32px 48px; border-radius: 12px; text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,.08); }
