* { box-sizing: border-box; }
body {
    font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: #f4f5f7;
    color: #1d2129;
    margin: 0;
}
header {
    background: #1d2129;
    color: #fff;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header a { color: #fff; text-decoration: none; font-weight: 600; }
header nav a { color: #c7cad1; margin-left: 16px; font-weight: 400; font-size: 14px; }
main { max-width: 1100px; margin: 24px auto; padding: 0 16px; }
table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #edeef1; font-size: 14px; }
th { background: #fafbfc; font-weight: 600; color: #5b6270; }
tr:hover td { background: #f8f9fb; }
a { color: #2563eb; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge.ok { background: #dcfce7; color: #15803d; }
.badge.warn { background: #fef9c3; color: #a16207; }
.badge.err { background: #fee2e2; color: #b91c1c; }
.badge.unknown { background: #e5e7eb; color: #4b5563; }
.card { background: #fff; padding: 16px 20px; border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.08); margin-bottom: 20px; }
.login-box { max-width: 340px; margin: 80px auto; }
input[type=text], input[type=password] {
    width: 100%; padding: 9px 10px; margin: 6px 0 14px; border: 1px solid #d1d5db; border-radius: 6px; font-size: 14px;
}
button {
    background: #1d2129; color: #fff; border: none; padding: 9px 16px; border-radius: 6px; cursor: pointer; font-size: 14px;
}
button:hover { background: #343945; }
.error { color: #b91c1c; font-size: 13px; margin-bottom: 8px; }
.muted { color: #8a8f98; font-size: 13px; }
pre { white-space: pre-wrap; background: #fafbfc; padding: 12px; border-radius: 6px; border: 1px solid #edeef1; }
.stat { display: inline-block; margin-right: 28px; }
.stat .num { font-size: 22px; font-weight: 700; }
.stat .label { font-size: 12px; color: #8a8f98; }
