:root {
  color-scheme: dark;
  --bg: #071019;
  --panel: #0d1b27;
  --panel-soft: #122534;
  --line: #24475c;
  --text: #edf8ff;
  --muted: #9db6c7;
  --cyan: #5ee6ff;
  --green: #78f0b3;
  --amber: #ffd27a;
  --red: #ff8d9b;
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 78% 0%, #12364b 0, transparent 34rem), var(--bg); color: var(--text); font: 16px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, .button { border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .72rem 1.1rem; font-weight: 750; }
.button-primary { background: var(--cyan); color: #041018; }
.button-secondary { background: #173246; color: var(--text); border: 1px solid #31586e; }
.button:disabled, button:disabled { cursor: not-allowed; opacity: .52; }
.shell { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.topbar { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); background: rgba(7,16,25,.88); border-bottom: 1px solid rgba(94,230,255,.16); }
.topbar-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand strong { display: block; font-size: 1.05rem; }
.brand small { display: block; color: var(--muted); }
.top-actions { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
.hero { padding: clamp(3.5rem, 8vw, 7rem) 0 3rem; display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: center; }
.eyebrow { margin: 0 0 .55rem; color: var(--cyan); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 850; }
h1, h2, h3 { line-height: 1.08; margin-top: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 5.1rem); margin-bottom: 1rem; letter-spacing: -.045em; }
h1 span { color: var(--cyan); }
.lede { max-width: 760px; color: #c2d5e1; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.status-card, .panel { background: linear-gradient(145deg, rgba(18,37,52,.96), rgba(10,25,36,.96)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 60px rgba(0,0,0,.24); }
.status-card { padding: 1.25rem; }
.status-row { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid rgba(157,182,199,.15); }
.status-row:last-child { border-bottom: 0; }
.status-row span { color: var(--muted); }
.status-row strong { text-align: right; }
.pill { display: inline-flex; align-items: center; gap: .45rem; border-radius: 999px; padding: .35rem .7rem; background: rgba(120,240,179,.12); color: var(--green); font-weight: 800; font-size: .82rem; }
.pill.warn { background: rgba(255,210,122,.12); color: var(--amber); }
.safety { margin: 0 auto 3rem; border: 1px solid rgba(255,210,122,.4); background: rgba(255,210,122,.08); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.safety strong { color: var(--amber); }
.section { padding: 2.5rem 0; }
.section-heading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 1.5rem; align-items: end; margin-bottom: 1.3rem; }
.section-heading h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 0; }
.section-heading p { margin: 0; color: var(--muted); }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.panel { padding: 1.25rem; }
.panel h3 { margin-bottom: .55rem; }
.panel p { color: var(--muted); }
.hardware-list { display: grid; gap: .8rem; margin-top: 1rem; }
.hardware-item { display: grid; grid-template-columns: 42px 1fr; gap: .8rem; align-items: start; padding: .9rem; border-radius: 14px; background: rgba(7,16,25,.55); border: 1px solid rgba(94,230,255,.12); }
.hardware-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(94,230,255,.12); color: var(--cyan); font-weight: 900; }
.hardware-item strong, .hardware-item small { display: block; }
.hardware-item small { color: var(--muted); margin-top: .15rem; }
.checklist { display: grid; gap: .75rem; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.5rem; color: #c7d9e4; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.checklist.blocked li::before { content: "×"; color: var(--red); }
form { display: grid; gap: .9rem; }
label { display: grid; gap: .35rem; color: #d8e9f3; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid #31586e; border-radius: 12px; background: #07131d; color: var(--text); padding: .78rem .85rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(94,230,255,.42); outline-offset: 2px; }
.check-row { display: grid; grid-template-columns: 20px 1fr; gap: .65rem; align-items: start; font-weight: 600; color: #c9dce7; }
.check-row input { width: 18px; height: 18px; margin-top: .2rem; }
.form-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: .4rem; }
pre { margin: 0; min-height: 220px; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 14px; padding: 1rem; background: #030a10; border: 1px solid #1d4054; color: #bdefff; font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.notice { margin-top: 1rem; color: var(--muted); font-size: .92rem; }
footer { padding: 3rem 0 4rem; color: var(--muted); }
@media (max-width: 850px) {
  .hero, .section-heading, .grid-2 { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .topbar-inner { align-items: flex-start; padding: .75rem 0; }
  .top-actions { max-width: 55%; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 1.1rem, 1160px); }
  .top-actions .button { min-height: 38px; padding: .55rem .7rem; font-size: .82rem; }
  h1 { font-size: 2.55rem; }
}

/* Extracted from inline style="" attributes for CSP compliance. */
.panel-title-spaced { margin-top: 1rem; }
