.docs{max-width:1100px;margin:0 auto;padding:40px 24px 80px;display:grid;grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start}
.docs nav.toc{position:sticky;top:96px;display:flex;flex-direction:column;gap:10px;font-size:15px}.docs nav.toc a{text-decoration:none;color:var(--muted)}
@media (hover:hover){.docs nav.toc a:hover{color:var(--ink)}}
.docs main{min-width:0}
.docs h1{font-size:clamp(30px,4vw,44px);line-height:1.1;letter-spacing:-.02em;margin:0 0 8px;font-weight:600}
.docs h1::after,.docs h2::after{content:none!important;display:none!important}
.docs .lead{color:var(--muted);margin:0 0 32px;max-width:44em}
.docs article{background:var(--surface);border-radius:20px;padding:36px;margin-bottom:24px;scroll-margin-top:90px}
.docs article h2{font-size:26px;line-height:1.2;margin:4px 0 12px;letter-spacing:-.01em;font-weight:600;max-width:none}
.docs article h3{font-size:18px;margin:28px 0 8px;font-weight:600}
.docs article p{margin:0 0 12px;max-width:46em}.docs .ed{font-size:13px;color:var(--muted)}.docs .sub{color:var(--muted)}
.docs a{color:#0F6E93}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .docs a{color:var(--signal)}}
:root[data-theme="dark"] .docs a{color:var(--signal)}
.docs .tw{overflow-x:auto;margin:12px 0 18px}.docs table{border-collapse:collapse;width:100%;font-size:14px;line-height:1.45}
.docs th,.docs td{text-align:left;vertical-align:top;padding:10px 12px;border-bottom:1px solid var(--line)}.docs th{font-weight:600;background:var(--bg)}
.docs .sample{border:1px dashed var(--line);border-radius:14px;padding:20px}
.docs .dfoot{font-size:13px;color:var(--muted);margin:8px 0 0}
@media (max-width:860px){.docs{grid-template-columns:minmax(0,1fr);gap:24px}.docs nav.toc{position:static;flex-direction:row;flex-wrap:wrap;gap:8px 16px}.docs article{padding:22px}}
@media (max-width:600px){.docs .tw table,.docs .tw tbody,.docs .tw tr,.docs .tw td{display:block;width:100%}.docs .tw thead{display:none}.docs .tw tr{padding:12px 0;border-bottom:1px solid var(--line)}.docs .tw td{border:0;padding:3px 0}.docs .tw td::before{content:attr(data-l);display:block;font-size:12px;color:var(--muted)}.docs .tw td:first-child{font-weight:600}.docs .tw td:first-child::before{display:none}}
