:root {
  --ld-bg: #0b1020;
  --ld-panel: #141b2f;
  --ld-text: #e8ecf8;
  --ld-muted: #8b95b5;
  --ld-accent: #5b8cff;
  --ld-accent-2: #9db7ff;
  --ld-line: #24304d;
  --ld-warn: #f5c542;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); background: var(--ld-bg); color: var(--ld-text); line-height: 1.55; min-height: 100vh; }
.shell-ld-app { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem 2.5rem; }
.shell-ld-top { padding: 1.5rem 0 1rem; border-bottom: 1px solid var(--ld-line); }
.shell-ld-brand { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ld-muted); font-weight: 700; display: flex; gap: 0.45rem; align-items: center; }
.shell-ld-mark { color: var(--ld-accent); font-size: 1.05rem; letter-spacing: 0; }
.shell-ld-nav { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 0.85rem 0 0.5rem; }
.shell-ld-nav a { color: var(--ld-accent-2); text-decoration: none; font-size: 0.88rem; }
.shell-ld-kicker { margin: 0; color: var(--ld-muted); font-size: 0.8rem; }
.shell-ld-top h1 { margin: 0.35rem 0 0; font-size: clamp(1.4rem, 3vw, 1.95rem); letter-spacing: -0.02em; max-width: 40rem; }
.shell-ld-axes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; margin: 1.25rem 0; }
@media (max-width: 900px) { .shell-ld-axes { grid-template-columns: 1fr; } }
.shell-ld-axis { background: var(--ld-panel); border: 1px solid var(--ld-line); border-radius: 10px; padding: 1rem; min-height: 180px; }
.shell-ld-axis h2 { margin: 0 0 0.65rem; font-size: 0.95rem; color: var(--ld-accent-2); }
.shell-ld-axis label { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.4rem 0; font-size: 0.88rem; cursor: pointer; }
.shell-ld-pack { background: #0f1528; border: 1px dashed var(--ld-line); border-radius: 10px; padding: 1rem; }
.shell-ld-out { margin: 0 0 0.75rem; min-height: 140px; white-space: pre-wrap; font-family: var(--mono); font-size: 0.78rem; color: var(--ld-text); background: #0a0e1a; border-radius: 8px; padding: 0.75rem; border: 1px solid var(--ld-line); }
.shell-ld-go, .shell-ld-copy { border: 0; border-radius: 8px; padding: 0.55rem 1rem; font: inherit; font-weight: 700; cursor: pointer; margin-right: 0.5rem; margin-top: 0.25rem; }
.shell-ld-go { background: var(--ld-accent); color: #061018; }
.shell-ld-copy { background: transparent; color: var(--ld-text); border: 1px solid var(--ld-line); }

.matrix-prose{color:var(--ld-muted);font-size:.92rem}
.matrix-prose h2{color:var(--ld-text);font-size:1.05rem}
.matrix-prose a{color:var(--ld-accent-2)}
.matrix-prose code{font-family:var(--mono);font-size:.85em}
