:root {
  color-scheme: dark;
  font:
    16px/1.5 Inter,
    system-ui,
    sans-serif;
  color: #ebf1f5;
  background: #111820;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header,
main {
  max-width: 1180px;
  margin: auto;
  padding: 0 clamp(18px, 4vw, 54px);
}
header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #35424b;
  gap: 12px;
}
header a {
  font-weight: 750;
  color: #ebf1f5;
  text-decoration: none;
  font-size: 1.22rem;
}
header a span {
  color: #89ddc6;
}
#stamp,
small,
footer,
p,
h3,
th {
  color: #b0bdc7;
}
#stamp,
small,
footer,
th {
  font-size: 0.9rem;
}
h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.13;
  margin: 52px 0 38px;
}
h2 {
  font-size: 1.3rem;
  margin: 30px 0 14px;
}
h3,
th {
  margin: 0;
  font-weight: 500;
}
h3 {
  font-size: 1rem;
}
.home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
article,
.tablewrap {
  border: 1px solid #34434e;
  border-radius: 12px;
  background: #19232c;
}
article {
  padding: 22px;
  min-width: 0;
}
strong {
  display: block;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin: 8px 0;
  color: #eff9f7;
  font-variant-numeric: tabular-nums;
}
canvas {
  width: 100%;
  height: 38px;
  display: block;
}
.ram canvas {
  margin-top: 12px;
}
.disk {
  margin: 0.6rem 0;
}
.disk small {
  display: block;
}
progress {
  width: 100%;
  height: 7px;
  accent-color: #72d5bd;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
td,
th {
  padding: 15px 18px;
}
td {
  border-top: 1px solid #34434e;
  font-variant-numeric: tabular-nums;
}
td:first-child {
  font-weight: 650;
}
.ping-head, .ping-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.ping-head { margin: 30px 0 14px; }
.ping-head h2 { margin: 0; }
.ping-head select {
  padding: 0.5rem 0.8rem;
  font: inherit;
  color: inherit;
  background: #19232c;
  border: 1px solid #516472;
  border-radius: 8px;
}
#ping-chart { height: clamp(200px, 28vw, 270px); cursor: crosshair; }
.ping-caption { margin-top: 0.6rem; color: #c5d2da; font-variant-numeric: tabular-nums; }
td small {
  display: block;
  font-weight: 400;
}
.ok {
  color: #92e2c9;
}
.warn {
  color: #ffcf8c;
}
footer {
  padding: 20px 0 40px;
}
.tablewrap {
  overflow: auto;
}
p {
  margin: 0.6rem 0;
}
@media (max-width: 720px) {
  .home {
    grid-template-columns: 1fr 1fr;
  }
  h1 {
    margin-top: 30px;
  }
  td,
  th {
    padding: 12px 10px;
  }
  td,
  th {
    overflow-wrap: anywhere;
  }
  #stamp {
    font-size: 0.8rem;
    text-align: right;
  }
  article {
    padding: 15px;
  }
}
