:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1020;
  color: #eff4ff;
  line-height: 1.5;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: radial-gradient(circle at 20% 0%, #192a4d, transparent 36rem), #0b1020; }
button { font: inherit; }
.page-shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 64px; }
.topbar, .intro, .workspace, .console-heading, .results-heading { display: flex; align-items: center; }
.topbar, .intro, .console-heading, .results-heading { justify-content: space-between; gap: 24px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.04em; }
h2 { margin-bottom: 0; font-size: 1.2rem; letter-spacing: -0.02em; }
.eyebrow { margin-bottom: 6px; color: #8ca9dc; font-size: .72rem; font-weight: 700; letter-spacing: .13em; }
.status-badge { display: inline-block; border-radius: 999px; padding: 5px 10px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.checking { background: #25324d; color: #c8d4ed; }
.healthy { background: #143d32; color: #83f3c8; }
.unhealthy { background: #542936; color: #ffc3cf; }
.intro, .panel { border: 1px solid #293656; border-radius: 14px; background: rgba(14, 22, 42, .88); box-shadow: 0 18px 45px rgba(0, 0, 0, .16); }
.intro { margin: 30px 0 18px; padding: 20px 24px; }
.intro h2 span { color: #90b6ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .75em; word-break: break-all; }
.intro > p, .panel-copy { max-width: 480px; margin-bottom: 0; color: #aebbd3; font-size: .9rem; }
.workspace { align-items: stretch; gap: 18px; }
.panel { padding: 24px; }
.action-panel { flex: 1 1 42%; }
.console-panel { flex: 1 1 58%; min-width: 0; }
.panel-copy { margin: 22px 0; }
button { border: 0; border-radius: 8px; padding: 11px 15px; background: #78a8ff; color: #081224; font-weight: 800; cursor: pointer; }
button:hover { background: #9abbff; }
button:disabled { cursor: wait; opacity: .65; }
.text-button { padding: 5px 7px; background: transparent; color: #9eb9ed; font-size: .8rem; }
.text-button:hover { background: #1d2c4a; }
.console-output { height: 316px; margin: 16px 0 0; overflow: auto; border-radius: 9px; padding: 15px; background: #070c18; color: #a6f3cc; font: .78rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
.results-panel { margin-top: 18px; }
.results-heading { margin-bottom: 16px; }
#result-message { color: #becae0; }
.result-details { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 18px 0 0; padding: 14px; border: 1px solid #33466f; border-radius: 9px; background: #111b31; }
.result-details dt { color: #91a1bd; font-size: .82rem; font-weight: 700; }
.result-details dd { margin: 0; color: #e5edff; font: .82rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.is-hidden { display: none !important; }
@media (max-width: 760px) { .page-shell { width: min(100% - 24px, 1120px); padding-top: 24px; } .topbar, .intro, .workspace { align-items: stretch; flex-direction: column; } .intro > p { max-width: none; } .workspace { gap: 14px; } }
@media (max-width: 460px) { .result-details { grid-template-columns: 1fr; gap: 3px; } .result-details dd { margin-bottom: 8px; } }
