:root { --bg: #0b0f14; --fg: #e5e7eb; --muted: #94a3b8; --card: #111827; --border: #1f2937; }
@media (prefers-color-scheme: light) {
  :root { --bg: #ffffff; --fg: #0b1220; --muted: #475569; --card: #f8fafc; --border: #e2e8f0; }
}
* { box-sizing: border-box; }
body { margin: 0; padding: 1.25rem; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif; background: var(--bg); color: var(--fg); line-height: 1.55; }
h1,h2,h3 { line-height: 1.25; }
.container { max-width: 1100px; margin: 0 auto; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 1rem; margin: 1rem 0; }
.cmd { position: relative; background: #0a0a0a20; border: 1px dashed var(--border); border-radius: 12px; padding: .75rem .75rem .75rem 1rem; margin-top: .75rem; }
pre { margin: 0; overflow: auto; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "DejaVu Sans Mono", monospace; font-size: 0.95rem; }
.copy-btn { position: absolute; top: 8px; right: 8px; border: 1px solid var(--border); background: transparent; color: var(--fg); padding: .35rem .6rem; border-radius: 10px; cursor: pointer; }
.copy-btn:hover { background: #ffffff18; }
.tabbar { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.tabbar button { border: 1px solid var(--border); background: transparent; color: var(--fg); padding: .3rem .6rem; border-radius: 999px; cursor: pointer; font-size: .9rem; }
.tabbar button.active { background: #ffffff18; }
.tabpanel { display: none; }
.tabpanel.active { display: block; }
.desc { color: var(--muted); margin-top: .4rem; }
kbd { background: #111827; color: #e5e7eb; border: 1px solid #1f2937; border-bottom-width: 3px; border-radius: .4rem; padding: 0 .35rem; font-weight: 600; font-size: .85rem; }
.badge { display:inline-block; border:1px solid var(--border); padding:.1rem .45rem; border-radius:999px; font-size:.8rem; color:var(--muted); }
hr { border: 0; border-top: 1px solid var(--border); margin: 1.25rem 0; }
.footer { color: var(--muted); font-size: .9rem; }
