:root {
  --teal: #00746A;
  --teal-dark: #00574F;
  --ink: #1D2C39;
  --muted: #6B7A86;
  --bg: #F3F6F7;
  --line: #E1E8EB;
  --ok: #2E9E6B;
  --warn: #C8892A;
  --err: #B23B2A;
}

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

body {
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1120px; margin: 0 auto; padding: 26px 24px 60px; }

.top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.logo { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--teal); line-height: 1.25; }
.logo b { display: block; font-size: 15px; letter-spacing: .01em; color: var(--ink); }
.pill {
  font-size: 12px; font-weight: 600; border-radius: 20px; padding: 7px 13px;
  background: #E4F3EF; color: #1F7A5C;
}
.pill.bad { background: #FBEDEA; color: var(--err); }
.pill.warn { background: #FBF6EC; color: var(--warn); }
.sp { flex: 1; }
.who { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}
a.logout { color: var(--muted); text-decoration: none; font-size: 12.5px; }
a.logout:hover { color: var(--ink); }

.lead { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.tile .k { font-size: 10.5px; font-weight: 700; letter-spacing: .09em; color: #8A97A1; }
.tile h3 { font-size: 19px; margin: 10px 0 6px; letter-spacing: -.01em; }
.tile p { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.go {
  display: inline-block; background: var(--teal); color: #fff; border-radius: 9px;
  padding: 11px 20px; font-size: 12.5px; font-weight: 600; border: 0; cursor: pointer;
  font-family: inherit;
}
.go.ghost { background: #fff; color: var(--ink); border: 1px solid #DDE6E9; }
.go:disabled { opacity: .45; cursor: default; }

.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 18px; }
.mini { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px 17px; }
.mini .t { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: #8A97A1; margin-bottom: 8px; }
.mini .v { font-size: 16px; font-weight: 700; }
.mini .s { font-size: 11.5px; color: #7B8993; margin-top: 3px; }
.bar { height: 5px; border-radius: 3px; background: #EDF2F4; margin-top: 10px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--teal); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 18px; }
.card h2 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }

.svc { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #F2F6F7; font-size: 13px; }
.svc:last-child { border-bottom: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none; }
.dot.bad { background: var(--err); }
.svc .host { color: #8A97A1; font-size: 11.5px; }
.svc .code { margin-left: auto; font-size: 11.5px; color: #8A97A1; }

table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th { text-align: left; font-size: 10.5px; letter-spacing: .07em; color: #8A97A1; padding: 6px 8px; border-bottom: 1px solid var(--line); }
td { padding: 9px 8px; border-bottom: 1px solid #F2F6F7; }
td.num { text-align: right; color: var(--muted); }

.empty { font-size: 12.5px; color: var(--muted); padding: 8px 0; }

/* вход */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card { width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; box-shadow: 0 18px 50px rgba(18,40,51,.08); }
.login-card .logo { margin-bottom: 22px; }
.login-card h1 { font-size: 21px; letter-spacing: -.01em; margin-bottom: 6px; }
.login-card .sub { font-size: 12.5px; margin-bottom: 20px; }
label { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); margin: 12px 0 5px; }
input {
  width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px;
  font-size: 13.5px; font-family: inherit; color: var(--ink); background: #fff;
}
input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,116,106,.12); }
.login-card .go { width: 100%; margin-top: 18px; }
.err { margin-top: 12px; font-size: 12px; color: var(--err); }

.footer { margin-top: 26px; font-size: 11.5px; color: #97A4AE; display: flex; gap: 16px; }
