:root { color-scheme: dark; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #eef0f4; background: #0a0b0d; font-synthesis: none; }
* { box-sizing: border-box; }
body { margin: 0; font-size: 15px; line-height: 1.85; }
a { color: #b7c5ff; text-underline-offset: 4px; }
a:hover { color: #e1e7ff; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid #a6b9ff; outline-offset: 4px; }
button { font: inherit; cursor: pointer; }
.skip { position: absolute; top: -80px; left: 20px; z-index: 2; padding: 8px 14px; background: #e9edff; color: #101524; border-radius: 5px; }
.skip:focus { top: 12px; }
.guide-header { max-width: 1280px; margin: auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #24282f; }
.guide-brand { display: inline-flex; align-items: center; gap: 12px; color: #f5f6fa; font-weight: 650; text-decoration: none; }
.guide-brand img { border-radius: 10px; }
.guide-header nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.guide-layout { max-width: 1280px; margin: 0 auto; padding: 40px 32px 80px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; }
.guide-toc { align-self: start; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; padding-right: 12px; font-size: 12px; }
.guide-toc h2 { font-size: 12px; color: #a4adbe; font-weight: 500; margin: 0 0 12px; letter-spacing: .08em; }
.guide-toc ol { list-style: none; padding: 0; margin: 0; }
.guide-toc li { margin: 0; }
.guide-toc a { display: block; padding: 5px 0; text-decoration: none; color: #c0c6d2; }
.guide-toc a:hover { color: #fff; }
.guide-content { min-width: 0; }
.guide-content > h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 600; letter-spacing: -.035em; line-height: 1.3; margin: 8px 0 16px; }
.guide-kicker { margin: 0; color: #aabaff; font-size: 11px; letter-spacing: .12em; }
.guide-lead { font-size: 19px; line-height: 1.8; max-width: 740px; color: #cfd5e1; }
.guide-publication { display: flex; gap: 10px 24px; flex-wrap: wrap; font-size: 12px; color: #979fae; margin: 20px 0 26px; }
.guide-publication span, .guide-publication time { white-space: nowrap; }
.guide-content section { padding: 32px 0 20px; border-top: 1px solid #24282f; scroll-margin-top: 24px; }
h2 { margin: 0 0 18px; font-size: 25px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
h3 { margin: 28px 0 12px; font-size: 18px; line-height: 1.6; }
h4 { margin: 24px 0 10px; font-size: 15px; }
p { margin: 14px 0; }
ul, ol { padding-left: 24px; }
li { margin: 6px 0; }
code, pre { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .86em; }
code { color: #cbd6ff; overflow-wrap: anywhere; }
pre { background: #14171d; border: 1px solid #303640; border-radius: 8px; padding: 16px; white-space: pre; overflow-x: auto; line-height: 1.8; }
pre code { color: #e6eafa; overflow-wrap: normal; }
blockquote { margin: 18px 0; padding: 2px 18px; border-left: 2px solid #7387c2; color: #bac3d3; }
table { border-collapse: collapse; width: 100%; font-size: 12px; line-height: 1.7; }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid #303640; border-radius: 8px; margin: 20px 0; }
.table-scroll table { min-width: 640px; }
th, td { padding: 12px 14px; border-bottom: 1px solid #303640; text-align: left; vertical-align: top; }
th { color: #e1e7f4; background: #16191f; font-weight: 600; }
td { color: #c0c8d8; }
tr:last-child td { border-bottom: 0; }
.install-original table { display: block; overflow-x: auto; }
.install-original h1 { font-size: 24px; margin: 6px 0 18px; }
.install-original h2 { margin-top: 28px; font-size: 20px; scroll-margin-top: 24px; }
.install-original hr { border: 0; border-top: 1px solid #24282f; margin: 28px 0; }
.guide-figure { margin: 24px 0; }
.guide-figure img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid #24282f; }
.guide-figure figcaption, .guide-small { margin-top: 10px; color: #969faf; font-size: 12px; line-height: 1.8; }
.workflow { overflow-x: auto; margin: 24px 0; padding: 14px; border: 1px solid #303640; border-radius: 10px; background: #101319; }
.workflow svg { width: 100%; min-width: 560px; height: auto; display: block; }
.workflow rect { fill: #1a202c; stroke: #52617e; }
.workflow text { fill: #e3e9f5; font-family: system-ui, sans-serif; font-size: 15px; }
.workflow line, .workflow path { stroke: #8e9db8; }
.workflow polygon { fill: #8e9db8; }
.guide-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0; }
.guide-case { padding: 20px; background: #12151b; border: 1px solid #2c3340; border-radius: 10px; }
.guide-case h3 { margin: 0 0 12px; font-size: 16px; }
.guide-case dl { margin: 0; font-size: 12px; line-height: 1.9; }
.guide-case dt { color: #a7b9ed; margin-top: 10px; }
.guide-case dd { margin: 3px 0 0; color: #bdc7d9; }
.guide-command { margin: 24px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.guide-command code { flex: 1; min-width: 180px; padding: 13px 16px; border: 1px solid #303640; border-radius: 7px; white-space: nowrap; overflow-x: auto; background: #12151b; }
.guide-command button { border: 1px solid #dbe3ff; background: #dbe3ff; color: #101524; border-radius: 6px; min-height: 44px; padding: 8px 14px; font-size: 12px; }
.guide-command-status { flex-basis: 100%; color: #b7c5ff; font-size: 12px; min-height: 22px; }
.guide-links { display: flex; gap: 12px 22px; flex-wrap: wrap; font-size: 13px; margin: 20px 0; }
.guide-footer { border-top: 1px solid #24282f; padding-top: 24px; margin-top: 28px; color: #929bac; font-size: 12px; }
@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .guide-toc { position: static; max-height: none; padding: 18px; border: 1px solid #303640; border-radius: 8px; }
  .guide-toc ol { columns: 2; column-gap: 22px; }
  .guide-toc li { break-inside: avoid; }
}
@media (max-width: 540px) {
  body { font-size: 14px; }
  .guide-header { padding: 18px 20px; align-items: flex-start; flex-direction: column; }
  .guide-header nav { gap: 16px; font-size: 12px; }
  .guide-layout { padding: 24px 20px 48px; }
  .guide-toc ol { columns: 1; }
  .guide-lead { font-size: 16px; }
  h2 { font-size: 22px; }
  .guide-cases { grid-template-columns: 1fr; }
  .guide-command { align-items: stretch; }
  .guide-command code { flex-basis: 100%; font-size: 10px; }
  .guide-command button { flex-basis: 100%; }
}
