.docs-layout { display:grid; grid-template-columns: 215px minmax(0, 820px); gap: clamp(30px, 7vw, 110px); padding-block: 42px 85px; }
.contents { position:sticky; top:24px; display:grid; gap:9px; padding:16px 16px 16px 0; border-right:1px solid var(--line); font-size:.92rem; }
.contents strong { margin-bottom:5px; }
.contents a { color:var(--muted); }
.contents a:hover, .docs a:not(.button):hover { color:var(--accent); }
.docs h1 { font-size:clamp(2.55rem, 6vw, 6.2rem); letter-spacing:-.075em; margin:0 0 19px; overflow-wrap:anywhere; }
.docs-intro p { max-width:45ch; color:var(--muted); font-size:clamp(1rem, 2vw, 1.25rem); }
.docs .actions { margin-bottom:12px; }
.docs section { padding-top:38px; margin-top:38px; border-top:1px solid var(--line); scroll-margin-top:14px; }
.docs h2 { font-size:clamp(2rem, 4vw, 3.6rem); margin:0 0 20px; letter-spacing:-.06em; }
.docs h3 { margin:25px 0 9px; }
.docs section p, .docs li, .docs dd { color:#d6d2df; }
.docs section p + p { margin-top:12px; }
.docs section a { text-decoration:underline; text-underline-offset:.2em; }
.docs ol { margin:0; padding-left:1.55em; }
.docs li + li { margin-top:11px; }
.docs li::marker { color:var(--accent); font-weight:700; }
.docs code, .docs kbd { background:#25232f; border-radius:4px; padding:2px 5px; color:#f3edf8; }
.docs kbd + kbd { margin-left:3px; }
.note-box { margin-top:22px; padding:15px 17px; border-left:3px solid var(--accent); background:var(--surface); }
.docs-shot { width:100%; height:auto; border:1px solid var(--line); border-radius:10px; }
.reference { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:19px 0 0; }
.reference > div, details { padding:15px 17px; background:var(--surface); border:1px solid var(--line); border-radius:7px; }
.reference dt { font-weight:740; margin-bottom:4px; }
.reference dd { margin:0; }
details + details { margin-top:9px; }
summary { font-weight:700; cursor:pointer; }
details p { margin-top:10px; }
@media (max-width:760px) {
  .docs-layout { grid-template-columns:1fr; gap:28px; padding-top:25px; }
  .contents { position:static; display:flex; flex-wrap:wrap; gap:8px 14px; border-right:0; border-bottom:1px solid var(--line); }
  .contents strong { flex-basis:100%; }
}
@media (max-width:490px) {
  .reference { grid-template-columns:1fr; }
  .docs .actions .button { white-space:normal; }
}
.component-search { margin-top:26px; }
.component-search label { display:block; margin-bottom:5px; font-weight:700; }
.component-search input { width:min(100%, 480px); padding:10px 12px; border:1px solid var(--line); border-radius:5px; background:var(--surface); color:var(--text); font:inherit; }
.component-search input:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.component-search p { margin-top:5px; color:var(--muted); font-size:.9rem; }
.reference[hidden] { display:none; }
