:root {
  --bg: #0f1419;
  --fg: #e8eef4;
  --muted: #9aabbc;
  --ok: #2fbf71;
  --fail: #e5484d;
  --row: #1a222c;
  --line: #2a3542;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

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

html, body {
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
}

body {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  padding: 8px 10px 6px;
  margin: 0;
}

.hdr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
  flex: 0 0 auto;
}

.brand {
  font-size: clamp(32px, 5.5vh, 46px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.clock {
  font-size: clamp(22px, 4vh, 34px);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.row {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 1.15fr 1.2fr 1fr 1.35fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  background: var(--row);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 18px;
  min-height: 0;
  font-size: clamp(24px, 4.6vh, 40px);
  line-height: 1.1;
}

.status {
  font-weight: 900;
  font-size: clamp(32px, 6vh, 48px);
  letter-spacing: 0.01em;
}

.status.ok { color: var(--ok); }
.status.fail { color: var(--fail); }
.status.other { color: var(--muted); }

.time, .agent, .model {
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
  min-width: 0;
}

.time { color: var(--muted); font-size: clamp(22px, 4.2vh, 34px); }
.agent { font-size: clamp(24px, 4.6vh, 38px); font-weight: 700; }
.model { color: var(--muted); font-size: clamp(22px, 4.2vh, 34px); }

.empty, .err {
  color: var(--muted);
  padding: 28px 8px;
  text-align: center;
  font-size: clamp(22px, 4vh, 34px);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.err { color: var(--fail); }
