:root {
  color-scheme: dark;
  --bg: #0b1017;
  --side: #0d131c;
  --panel: #111923;
  --line: #23303e;
  --muted: #8c9bae;
  --text: #e6edf6;
  --cyan: #62d8d0;
  --green: #7bd8a5;
  --violet: #b09cf8;
  --blue: #75b5fc;
  --amber: #efc17a;
  --danger: #ff9292;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
.chart:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}
button {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.cyan {
  color: var(--cyan);
}
.violet {
  color: var(--violet);
}
.amber {
  color: var(--amber);
}
.blue {
  color: var(--blue);
}
.green {
  color: var(--green);
}
.cyan-bg {
  background: var(--cyan);
}
.violet-bg {
  background: var(--violet);
}
.amber-bg {
  background: var(--amber);
}
.blue-bg {
  background: var(--blue);
}
.green-bg {
  background: var(--green);
}
.cache-bg {
  background: #527082;
}
.free-bg {
  background: #2b3c4b;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--cyan);
  color: #0b1017;
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}
.sidebar {
  width: 214px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--side);
  border-right: 1px solid var(--line);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -0.8px;
}
.brand-mark {
  display: grid;
  place-content: center;
  background: #153034;
  color: var(--cyan);
  width: 39px;
  height: 42px;
  font-size: 33px;
  position: relative;
  border: 1px solid #2a5559;
  border-radius: 9px;
  line-height: 1;
}
.brand-mark span {
  position: absolute;
  right: 5px;
  bottom: 3px;
  font-size: 26px;
}
.brand-caption {
  display: block;
  letter-spacing: 1.6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: -2px;
}
.nav-label {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #75889e;
  margin: 48px 12px 12px;
  font-weight: 650;
}
nav {
  display: grid;
  gap: 6px;
}
nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  font-size: 14px;
  font-weight: 550;
  border-radius: 6px;
  color: #a3b1c3;
}
nav a span {
  font-size: 21px;
  width: 22px;
  line-height: 1;
  color: #70859b;
}
nav a:hover {
  background: #172331;
  color: var(--text);
}
nav a.selected {
  background: #193033;
  color: var(--cyan);
}
nav a.selected span {
  color: var(--cyan);
}
.sidebar-host {
  margin-top: 36px;
  display: grid;
  gap: 6px;
  padding: 0 10px;
}
.sidebar-host .nav-label {
  margin: 0 0 8px;
}
.sidebar-host strong {
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.sidebar-host > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.sidebar-bottom > .muted {
  margin-left: auto;
}
.lock-icon {
  color: #5aab98;
}
main {
  margin-left: 214px;
  padding: 0 36px;
  max-width: 1840px;
}
.topbar {
  height: 76px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.slash {
  color: #4b5b6c;
  margin: 0 12px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.connection {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--amber);
  font-size: 12px;
  border: 1px solid #364139;
  border-radius: 5px;
  padding: 4px 9px;
}
.connection:before {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: currentColor;
}
.connection.live {
  color: var(--green);
  border-color: #25413b;
  background: #102b2329;
}
.sign-out {
  padding: 6px 10px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  font-size: 12px;
  white-space: nowrap;
}
.sign-out:hover {
  border-color: var(--muted);
}
.sign-out:disabled {
  opacity: 0.6;
}
@media (max-width: 480px) {
  .topbar > div:first-child .muted,
  .topbar .slash {
    display: none;
  }
  .topbar-right {
    gap: 8px;
  }
  .sign-out {
    min-height: 44px;
  }
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 32px 0 25px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: var(--cyan);
  margin-bottom: 7px;
}
h1 {
  font-size: 29px;
  font-weight: 620;
  letter-spacing: -0.7px;
  margin: 0;
}
h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.25px;
  margin: 0;
}
h3 {
  font-size: 14px;
  font-weight: 550;
  margin: 0;
  color: #b8c7d8;
}
p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.page-heading p {
  font-size: 13px;
}
.uptime-block {
  display: grid;
  text-align: right;
  font-size: 12px;
  gap: 3px;
}
.uptime-block strong {
  font-size: 15px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.summary-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 17px 18px 15px;
  min-width: 0;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #b4c1d0;
  gap: 8px;
}
.metric-icon {
  font-size: 21px;
  line-height: 1;
}
.metric {
  font-size: 31px;
  line-height: 1.4;
  font-weight: 590;
  letter-spacing: -0.8px;
  margin: 10px 0 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.metric .unit {
  font-size: 17px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 450;
  margin-left: 5px;
}
.summary-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.meter {
  background: #243140;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 13px;
}
.meter i {
  display: block;
  height: 100%;
  width: 0;
  transition: width 0.5s ease;
}
.small-metric {
  font-size: 27px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.download-arrow {
  font-size: 22px;
  color: var(--blue);
}
.network-note {
  font-size: 12px;
  color: #74869c;
  margin-top: 9px;
}
.memory-insight {
  display: flex;
  gap: 26px;
  align-items: center;
  background: linear-gradient(100deg, #121e27, #111923);
  border: 1px solid var(--line);
  border-radius: 9px;
  margin: 20px 0 33px;
  padding: 22px;
}
.insight-main {
  flex: 1;
  min-width: 210px;
}
.insight-title {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 7px;
}
.insight-title h2 {
  font-size: 14px;
}
.pill {
  font-size: 12px;
  line-height: 1.4;
  display: inline-block;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
  background: #23303b;
  color: #a4b6c8;
  border: 1px solid #314253;
}
.pill.good {
  color: var(--green);
  background: #162e29;
  border-color: #25473b;
}
.pill.warn {
  color: var(--amber);
  background: #342b1c;
  border-color: #4a3b25;
}
.pill.bad {
  color: var(--danger);
  background: #361f27;
  border-color: #55303a;
}
.insight-main > div > strong {
  font-size: 22px;
  font-weight: 600;
}
.insight-main .muted {
  font-size: 13px;
}
.insight-main p {
  font-size: 12px;
  max-width: 345px;
  margin-top: 4px;
}
.memory-breakdown {
  flex: 1.45;
  min-width: 270px;
}
.segmented-meter {
  height: 9px;
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  gap: 2px;
  background: #202e3a;
}
.segmented-meter i {
  display: block;
  transition: width 0.5s ease;
}
.memory-legend {
  display: flex;
  gap: 17px;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
}
.memory-legend span {
  display: block;
}
.memory-legend b {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  padding-left: 13px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: 2px;
}
.dot.spaced {
  margin-left: 12px;
}
.memory-breakdown details {
  margin-top: 9px;
}
.memory-breakdown summary {
  font-size: 12px;
  color: #90a7bf;
}
.memory-breakdown details p {
  font-size: 12px;
  margin: 10px 0;
  color: #afbdcb;
}
code {
  font-size: inherit;
  color: #d8dfeb;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.detail-grid b {
  font-weight: 500;
  color: var(--text);
}
.swap-summary {
  border-left: 1px solid var(--line);
  padding-left: 23px;
  display: grid;
  min-width: 130px;
  font-size: 12px;
  color: var(--muted);
  gap: 2px;
}
.swap-summary strong {
  font-size: 20px;
  color: var(--text);
  font-weight: 550;
}
.swap-summary small {
  font-size: 12px;
  margin-top: 7px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 16px;
}
.section-heading p {
  font-size: 12px;
  margin-top: 3px;
}
.history-heading {
  margin-top: 0;
}
.range-picker {
  display: flex;
  gap: 3px;
  padding: 4px;
  background: #111923;
  border: 1px solid var(--line);
  border-radius: 7px;
  flex-shrink: 0;
}
.range-picker button {
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}
.range-picker button:hover {
  color: var(--text);
  background: #1b2835;
}
.range-picker button[aria-pressed="true"] {
  color: var(--text);
  background: #293847;
  box-shadow: 0 1px 3px #0003;
}
.charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.chart-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 9px;
  min-width: 0;
  overflow: hidden;
  padding: 19px 21px 14px;
}
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  margin-bottom: 13px;
}
.chart-value {
  font-size: 23px;
  letter-spacing: -0.4px;
  margin-top: 5px;
  font-weight: 550;
}
.load-values,
.chart-meta {
  display: grid;
  gap: 2px;
  text-align: right;
}
.load-values span {
  font-size: 12px;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.load-values strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 4px;
}
.load-values small {
  font-size: 12px;
  color: #70859b;
}
.chart-meta {
  font-size: 12px;
  color: var(--muted);
}
.chart-meta strong {
  font-size: 13px;
  color: #b6c5d6;
  font-weight: 500;
  margin-top: 4px;
}
.chart {
  position: relative;
  width: 100%;
  height: 169px;
  outline-offset: 0 !important;
}
.chart svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.chart text {
  font-family: inherit;
  font-size: 12px;
  fill: #8293a7;
}
.chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: #1e2c3b;
  border: 1px solid #3b5269;
  box-shadow: 0 6px 25px #0004;
  border-radius: 5px;
  padding: 9px 11px;
  font-size: 12px;
  z-index: 3;
  white-space: pre-line;
  max-width: 255px;
  color: var(--text);
}
.chart-empty {
  position: absolute;
  inset: 40px 16px;
  display: grid;
  place-content: center;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  background: #111923bb;
}
.chart-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.core-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 16px;
}
.core {
  font-size: 12px;
  color: var(--muted);
}
.core > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 3px;
}
.core b {
  font-weight: 450;
  color: #b6c8d8;
}
.core .meter {
  height: 3px;
  margin-top: 5px;
}
.dual-values {
  display: flex;
  gap: 25px;
  margin-top: 9px;
}
.dual-values > span {
  display: grid;
  gap: 1px;
}
.dual-values small {
  font-size: 12px;
  letter-spacing: 0.8px;
  color: var(--muted);
}
.dual-values strong {
  font-size: 18px;
  font-weight: 550;
  letter-spacing: -0.3px;
}
.disk-space {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
  margin-top: 12px;
}
.table-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  overflow: hidden;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 12px;
  white-space: nowrap;
}
th {
  background: #15202c;
  padding: 12px 20px;
  color: #91a4ba;
  font-size: 12px;
  font-weight: 500;
}
td {
  padding: 11px 20px;
  border-top: 1px solid #202c3b;
  font-variant-numeric: tabular-nums;
  color: #9eb0c5;
}
td:first-child {
  font-weight: 550;
  color: #d5dfeb;
}
tbody tr:hover {
  background: #152330;
}
.numeric {
  text-align: right;
}
.table-note {
  border-top: 1px solid var(--line);
  padding: 11px 20px;
  font-size: 12px;
  color: #8397ac;
}
.process-name {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rss-bar {
  display: inline-block;
  width: 45px;
  background: #253444;
  height: 3px;
  margin-right: 12px;
  vertical-align: 3px;
  overflow: hidden;
}
.rss-bar i {
  background: var(--violet);
  height: 100%;
  display: block;
}
.count {
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
  border: 1px solid var(--line);
  background: #172331;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 8px;
  vertical-align: 2px;
  color: #aabdd0;
}
.integration-empty,
.empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--muted) !important;
  font-size: 13px;
  font-weight: 400 !important;
}
.services-panel {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  padding: 22px;
  gap: 30px;
}
.failed-count {
  display: grid;
  align-content: start;
  min-width: 140px;
  font-size: 12px;
}
.failed-count strong {
  font-size: 35px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--green);
}
.failed-count strong.has-failed {
  color: var(--danger);
}
.failed-count > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 25px;
  flex: 1;
  border-left: 1px solid var(--line);
  padding-left: 28px;
  align-content: start;
}
.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  min-width: 0;
}
.service-item span:first-child {
  overflow-wrap: anywhere;
}
.service-item small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding: 19px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: #7f93a9;
}
.banner {
  padding: 12px 16px;
  border: 1px solid #754c37;
  background: #342920;
  color: #efc17a;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 13px;
}
.banner.error {
  border-color: #693841;
  background: #301d24;
  color: #ffabab;
}
.history-error {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 12px;
}
section {
  scroll-margin-top: 25px;
}
.history-loading {
  opacity: 0.55;
}
svg .chart-line {
  stroke-width: 2;
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
@media (min-width: 1600px) {
  main {
    padding: 0 48px;
  }
  .chart {
    height: 195px;
  }
  .summary-card {
    padding: 21px;
  }
  .metric {
    font-size: 36px;
  }
  .memory-insight {
    padding: 26px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 185px;
    padding: 28px 14px;
  }
  main {
    margin-left: 185px;
    padding: 0 24px;
  }
  .summary-grid {
    gap: 12px;
  }
  .summary-card {
    padding: 15px 13px;
  }
  .metric {
    font-size: 27px;
  }
  .small-metric {
    font-size: 24px;
  }
  .card-top {
    font-size: 12px;
  }
  .memory-insight {
    gap: 18px;
    padding: 18px;
  }
  .memory-breakdown {
    min-width: 230px;
  }
  .swap-summary {
    padding-left: 16px;
    min-width: 120px;
  }
  .memory-legend {
    gap: 8px;
    font-size: 12px;
  }
  .insight-main {
    min-width: 190px;
  }
  .chart-card {
    padding: 17px;
  }
  .sidebar-host {
    padding: 0 6px;
  }
}
@media (max-width: 1050px) {
  .sidebar {
    width: 76px;
    align-items: center;
    padding: 24px 10px;
  }
  .brand > span:last-child,
  .nav-label,
  .sidebar-host,
  .sidebar-bottom {
    display: none;
  }
  nav {
    margin-top: 40px;
    width: 100%;
  }
  nav a {
    font-size: 0;
    gap: 0;
    justify-content: center;
    padding: 12px 8px;
  }
  nav a span {
    font-size: 24px;
    width: auto;
  }
  .brand-mark {
    width: 38px;
  }
  main {
    margin-left: 76px;
  }
  .memory-insight {
    flex-wrap: wrap;
  }
  .memory-breakdown {
    flex: 1.5;
  }
  .swap-summary {
    flex-direction: row;
    display: flex;
    align-items: center;
    width: 100%;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 12px 0 0;
    gap: 12px;
  }
  .swap-summary strong {
    font-size: 16px;
  }
  .swap-summary small {
    margin: 0 0 0 auto;
  }
  .summary-bottom {
    font-size: 12px;
  }
  .core-list {
    gap: 7px;
  }
  .insight-main {
    flex: 1;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: relative;
    width: 100%;
    height: 64px;
    padding: 0 18px;
    flex-direction: row;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
  }
  .brand > span:last-child {
    display: block;
    font-size: 20px;
  }
  .brand-caption {
    display: none;
  }
  .brand-mark {
    height: 32px;
    width: 31px;
    font-size: 26px;
  }
  .brand-mark span {
    font-size: 20px;
  }
  nav {
    display: flex;
    margin: 0;
    width: auto;
    gap: 4px;
  }
  nav a {
    padding: 6px 10px;
  }
  nav a span {
    font-size: 23px;
  }
  main {
    margin: 0;
    padding: 0 18px;
  }
  .topbar {
    height: 56px;
    font-size: 12px;
  }
  .topbar time {
    display: none;
  }
  .page-heading {
    margin: 24px 0 20px;
  }
  h1 {
    font-size: 25px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .page-heading p {
    font-size: 12px;
    max-width: 260px;
  }
  .uptime-block {
    font-size: 12px;
  }
  .uptime-block strong {
    font-size: 13px;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .summary-card {
    padding: 15px;
  }
  .metric {
    font-size: 29px;
    margin: 10px 0;
  }
  .card-top {
    font-size: 12px;
  }
  .summary-bottom {
    font-size: 12px;
  }
  .memory-insight {
    gap: 19px;
    margin-top: 16px;
    padding: 18px;
  }
  .insight-main,
  .memory-breakdown {
    flex-basis: 100%;
    min-width: 0;
  }
  .memory-legend {
    font-size: 12px;
  }
  .insight-main p {
    max-width: none;
  }
  .swap-summary {
    padding-top: 14px;
    flex-wrap: wrap;
  }
  .swap-summary small {
    font-size: 12px;
  }
  .charts-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .chart {
    height: 185px;
  }
  .section-heading {
    gap: 12px;
  }
  .history-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .range-picker {
    width: auto;
  }
  .history-heading .range-picker {
    width: 100%;
    justify-content: space-between;
  }
  .range-picker button {
    font-size: 12px;
    padding: 7px 11px;
  }
  .chart-card {
    padding: 18px;
  }
  .chart-foot {
    font-size: 12px;
  }
  .chart-meta {
    font-size: 12px;
  }
  .chart-value {
    font-size: 25px;
  }
  .core {
    font-size: 12px;
  }
  .chart text {
    font-size: 12px;
  }
  .core-list {
    margin-top: 12px;
  }
  .dual-values strong {
    font-size: 20px;
  }
  .table-note {
    font-size: 12px;
  }
  th,
  td {
    padding: 11px 15px;
  }
  .services-panel {
    padding: 18px;
    gap: 18px;
    flex-direction: column;
  }
  .failed-count {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  .failed-count strong {
    font-size: 26px;
    order: -1;
  }
  .failed-count > span:last-child {
    margin-left: auto;
  }
  .service-list {
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .service-item {
    font-size: 13px;
  }
  footer {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .count {
    vertical-align: 1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Readable operational labels; metadata is kept at 12px or larger. */
.card-top,
h3,
.insight-title h2 {
  font-size: 14px;
}
.summary-bottom {
  font-size: 12px;
}
.range-picker button {
  font-size: 14px;
}
table {
  font-size: 14px;
}
th {
  font-size: 12px;
}
.process-name {
  max-width: 200px;
}
.service-item {
  font-size: 14px;
}
.memory-legend {
  flex-wrap: wrap;
  row-gap: 8px;
}
.summary-bottom {
  flex-wrap: wrap;
  white-space: normal;
}
.metric {
  font-size: clamp(24px, 2.3vw, 34px);
}
.core-list {
  grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
}
.chart-foot {
  font-size: 12px;
}
.chart text {
  font-size: 12px;
}
.sidebar-host strong {
  font-size: 12px;
}
.chart-tooltip {
  font-size: 12px;
}
.uptime-block {
  min-width: 100px;
}

@media (max-width: 760px) {
  .history-heading .range-picker {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
  }
  .history-heading .range-picker button {
    font-size: 12px;
    padding: 6px 2px;
    min-height: 38px;
    white-space: normal;
  }
  .summary-grid .metric {
    font-size: 28px;
  }
  .insight-title {
    flex-wrap: wrap;
  }
  .page-heading {
    gap: 12px;
  }
  .page-heading > div:first-child {
    min-width: 0;
  }
  .load-values strong {
    letter-spacing: 0;
  }
}
