body { font-family: system-ui, Arial; margin:0; background:#0b0e14; color:#e8eefc; }
a { color:#e8eefc; text-decoration:none; }
.wrap { max-width: 1100px; margin: 26px auto; padding: 0 16px; }
.wrap.small { max-width: 460px; }
.topbar { position: sticky; top:0; background:#0b0e14; border-bottom:1px solid #1a2233; padding: 14px 16px; display:flex; align-items:center; justify-content:space-between; }
.brand { font-weight:700; letter-spacing:0.2px; }
.nav a { margin-left:14px; font-size:14px; opacity:0.9; }
.nav a.muted { opacity:0.6; }
.card { background:#0f1420; border:1px solid #1a2233; border-radius:14px; padding:16px; margin: 14px 0; }
.grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:14px; }
.grid2 { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:12px; margin-top:10px; }
.kicker { font-size:12px; opacity:0.7; margin-bottom:8px; }
.big { font-size:22px; font-weight:700; }
.hint { font-size:13px; opacity:0.7; margin-top:6px; }
.flash { background:#17233a; border:1px solid #2a3a5c; padding:10px 12px; border-radius:10px; margin: 12px 0; font-size:13px; }

.btn { background:#e8eefc; color:#0b0e14; border:0; padding:10px 14px; border-radius:10px; font-weight:700; cursor:pointer; }
.btn.small { padding:8px 10px; font-size:13px; }
.btn.ghost { background:transparent; color:#e8eefc; border:1px solid #2a3a5c; }

label { display:block; font-size:13px; opacity:0.85; margin-top:10px; }
input, select { width:100%; margin-top:6px; padding:10px 12px; border-radius:10px; border:1px solid #22314f; background:#0b0e14; color:#e8eefc; }
.row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pill { font-size:12px; padding:6px 10px; border-radius:999px; border:1px solid #2a3a5c; opacity:0.9; }
.pill.on { }
.pill.off { opacity:0.6; }

.status { font-size:28px; font-weight:800; }
.status.ok { opacity:0.95; }
.status.warning { opacity:0.95; }
.status.critical { opacity:0.95; }

.alert { display:flex; justify-content:space-between; align-items:flex-start; padding:12px 0; border-top:1px solid #1a2233; }
.alert:first-child { border-top:0; }
.left { display:flex; gap:12px; }
.sev { font-size:12px; padding:6px 10px; border-radius:999px; border:1px solid #2a3a5c; }
.sev.critical { }
.sev.warning { }
.title { font-weight:700; }
.check { display:flex; align-items:center; gap:10px; margin-top:0; }
.check input { width:auto; margin:0; }
