:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  background: #090b10;
  color: #edf1f7;
  --panel: #121722;
  --line: #283246;
  --muted: #a5b0c2;
  --accent: #79e0c6;
  --warn: #ffc56e;
  --bad: #ff8f9c;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top left, #18243a 0, #090b10 42rem); }
header, main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
header { display: flex; justify-content: space-between; gap: 2rem; align-items: end; padding: 4rem 0 2rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: .4rem; font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -.055em; }
h2 { margin-bottom: .25rem; font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { margin-bottom: .4rem; }
.lede, section > p, .tool-help { color: var(--muted); max-width: 70ch; }
.eyebrow { margin-bottom: .35rem; color: var(--accent); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sign-in, button { border: 1px solid var(--accent); border-radius: .65rem; background: transparent; color: inherit; font: inherit; font-weight: 750; padding: .65rem .9rem; text-decoration: none; cursor: pointer; }
.sign-in:hover, button:hover { background: #183a38; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, pre:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
section { margin-bottom: 2rem; border: 1px solid var(--line); border-radius: 1rem; background: color-mix(in srgb, var(--panel) 92%, transparent); padding: clamp(1rem, 3vw, 2rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.capability-grid, .tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .8rem; }
.capability, .tool-card { border: 1px solid var(--line); border-radius: .75rem; background: #0d1119; padding: 1rem; min-width: 0; }
.capability strong { display: block; overflow-wrap: anywhere; }
.state { display: inline-block; margin-top: .5rem; border-radius: 999px; padding: .2rem .55rem; background: #243149; color: #dce7f8; font-size: .78rem; font-weight: 800; text-transform: uppercase; }
.state-ready, .state-resolved { background: #16483f; color: #a8ffea; }
.state-degraded, .state-stale, .state-truncated, .state-ambiguous { background: #523d1e; color: #ffe1a5; }
.state-unavailable, .state-error, .state-invalid { background: #562731; color: #ffc2ca; }
.state-disabled, .state-never-checked, .state-empty, .state-not-found { background: #283246; color: #d4dcec; }
form { display: grid; gap: .65rem; margin: 1rem 0; }
label { display: grid; gap: .3rem; color: var(--muted); font-size: .86rem; }
input, select { min-width: 0; border: 1px solid #3a4760; border-radius: .5rem; background: #090d14; color: inherit; font: inherit; padding: .6rem .7rem; }
input:disabled, select:disabled, button:disabled { cursor: not-allowed; opacity: .55; }
.filter { display: flex; align-items: center; gap: .5rem; }
.result-status { min-height: 1.5em; margin-bottom: .5rem; }
details { border-top: 1px solid var(--line); padding-top: .75rem; }
summary { cursor: pointer; color: var(--accent); }
pre { max-height: 22rem; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: #c8d4e5; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 10; background: #fff; color: #000; padding: .65rem; }
.skip-link:focus { top: 1rem; }
.live-status { min-height: 1.5em; }
.admission-note { color: var(--muted); font-size: .86rem; }
.confirmation { margin: 1rem 0; border: 1px solid var(--warn); border-radius: .7rem; background: #201a11; padding: .9rem; }
.confirmation code { display: block; margin: .7rem 0; overflow-wrap: anywhere; color: var(--warn); }
.confirmation button { margin: .35rem .35rem 0 0; }
.consequence { margin-bottom: 0; }
.command-audit { max-height: 18rem; overflow: auto; color: var(--muted); }
.command-audit li { margin-bottom: .35rem; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 680px) { header, .section-heading { align-items: stretch; flex-direction: column; } header { padding-top: 2rem; } .sign-in { text-align: center; } }
@media (prefers-reduced-motion: no-preference) { .tool-card { transition: border-color 120ms ease, transform 120ms ease; } .tool-card:focus-within { border-color: var(--accent); transform: translateY(-2px); } }
