:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: #edf3fb;
  background: #0c1420;
  --muted: #a9b9cd;
  --line: #304258;
  --good: #88e0b1;
  --bad: #ffabb0;
  --unknown: #f1cf8e;
}
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 90% 0%, #1a2c43 0, transparent 55%); min-height: 100vh; }
.shell { max-width: 1200px; margin: auto; padding: 2.5rem 1.5rem; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.brand { font-size: 1.8rem; font-weight: 750; letter-spacing: -.05em; }
.brand-dot { color: #8fbfff; }
.vantage { border: 1px solid var(--line); border-radius: 2rem; padding: .4rem .85rem; color: #c2d7f2; font-size: .85rem; }
.monitor-meta { margin: 1.25rem 0 2rem; color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -.045em; line-height: 1.2; }
.intro { color: var(--muted); margin: .65rem 0 1.75rem; max-width: 48rem; }
.host-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.host-card { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 1rem; background: linear-gradient(135deg, #19283c, #121e2d); padding: 1.5rem; transition: border-color .15s, transform .15s; }
.host-card:hover { border-color: #8fbfff; transform: translateY(-2px); }
a:focus-visible { outline: 3px solid #9dccff; outline-offset: 5px; }
h1:focus { outline: none; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
h2 { font-size: 1.6rem; letter-spacing: -.025em; }
.arrow { color: #9dccff; font-size: 1.5rem; }
.connectivity { display: grid; gap: .75rem; }
.probe { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #0d1725; border: 1px solid #293a4f; padding: .85rem 1rem; border-radius: .6rem; }
.probe-label { font-weight: 650; }
.probe-target { display: block; color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }
.badge { display: inline-flex; gap: .4rem; align-items: center; font-size: .85rem; font-weight: 650; white-space: nowrap; }
.badge::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.up { color: var(--good); }
.down { color: var(--bad); }
.unknown, .stale { color: var(--unknown); }
.summary { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.summary-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.summary-text { margin-top: .25rem; }
.card-action { color: #a8ccfa; margin-top: 1rem; font-size: .9rem; }
.back { display: inline-block; color: #a8ccfa; margin-bottom: 1.25rem; text-underline-offset: .2em; }
.detail-connectivity { max-width: 50rem; margin-bottom: 2rem; }
.section-heading { margin: 1.75rem 0 1rem; font-size: 1.25rem; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.service { padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: .6rem; background: #142132; border-left: 3px solid var(--line); }
.service.down { border-left-color: var(--bad); }
.service.stale, .service.unknown { border-left-color: var(--unknown); }
.service-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #edf3fb; }
h3 { font-size: 1rem; font-weight: 650; overflow-wrap: anywhere; }
.service-meta { font-size: .85rem; color: var(--muted); margin-top: .4rem; overflow-wrap: anywhere; }
.service-errors { color: var(--bad); font-size: .9rem; margin-top: .4rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.empty { padding: 1.5rem; border: 1px dashed var(--line); border-radius: .75rem; color: var(--muted); }
.error-banner { padding: 1rem; margin-bottom: 1.5rem; border: 1px solid #ad666d; border-radius: .6rem; background: #321d29; color: #ffd0d3; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
footer { color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 2.5rem; }
@media (max-width: 740px) {
  .shell { padding: 1.5rem 1rem; }
  .masthead { flex-direction: column; align-items: flex-start; }
  .host-grid { grid-template-columns: 1fr; }
  .host-card { padding: 1.15rem; }
}
@media (max-width: 380px) { .probe, .service-top { align-items: flex-start; flex-direction: column; gap: .4rem; } }
@media (prefers-reduced-motion: reduce) { .host-card { transition: none; } .host-card:hover { transform: none; } }
