


.a1 { --ac: var(--orange); --ac-tint: oklch(94% 0.035 25); }
.a2 { --ac: var(--blue); --ac-tint: oklch(94% 0.03 250); }
.a3 { --ac: var(--pink); --ac-tint: oklch(94% 0.03 340); }


.docs { display: flex; min-height: 100vh; }
.side { width: 14rem; flex: none; padding: 2rem 1.25rem; border-right: 1px solid var(--line); }
.doc { flex: 1; max-width: var(--w-lg); padding: 3rem 2.5rem; }
@media (max-width: 44rem) {
  .docs { flex-direction: column; }
  .side { width: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 1.25rem; }
  .doc { padding: 2rem 1.25rem; }
}


.side .brand { display: block; margin-bottom: 0.25rem; font-size: 0.85rem; color: var(--muted); text-decoration: none; }
.side .brand:hover { color: var(--blue); }
.side h1 { margin: 0 0 1.5rem; font-size: 1rem; font-weight: 700; color: var(--ink); }
.navlabel {
  margin: 0 0 0.5rem; font: 600 0.65rem 'IBM Plex Mono', ui-monospace, monospace;
  color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase;
}
.side ul { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.side ul a {
  display: block; padding: 0.45rem 0.65rem; border-left: 2px solid var(--ac);
  border-radius: 0 6px 6px 0; font-size: 0.8rem; font-weight: 500;
  color: var(--body); text-decoration: none;
}
.side ul a:hover { background: var(--ac-tint); color: var(--ink); }


.doc article { margin-bottom: 2.5rem; scroll-margin-top: 1.5rem; }
.art-h { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.75rem; font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.art-h::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--ac); flex: none; }


.doc ol.steps { list-style: none; counter-reset: step; padding: 0; }
.doc ol.steps > li {
  counter-increment: step; position: relative;
  margin: 0 0 1.1rem; padding: 0 0 0 2.4rem;
}
.doc ol.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 0.9rem;
  display: grid; place-items: center;
}
.doc ol.steps > li:nth-child(3n+2)::before { background: var(--blue); }
.doc ol.steps > li:nth-child(3n)::before { background: var(--pink); }
.doc li b { color: var(--ink); }


.doc pre {
  position: relative; overflow: hidden;
  background: oklch(22% 0.03 25); color: #f2ded6; border-radius: 10px;
  padding: 1.1rem 1.1rem 0.8rem; margin: 0.5rem 0;
  font-size: 0.85rem; line-height: 1.7; overflow-x: auto;
}
.doc pre::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
}
.doc pre code { background: none; color: inherit; padding: 0; }


.doc table { width: 100%; border-collapse: collapse; margin: 0.5rem 0 1rem; font-size: 0.9rem; }
.doc th, .doc td { text-align: left; padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; }
.doc tbody tr:nth-child(3n+1) { background: oklch(96% 0.025 25); }
.doc tbody tr:nth-child(3n+2) { background: oklch(96% 0.02 250); }
.doc tbody tr:nth-child(3n) { background: oklch(96% 0.025 340); }

.doc .note { color: var(--muted); font-size: 0.88rem; }
