.documentation main { max-width:1280px; margin-top:32px; }
.docs-hero { background:linear-gradient(120deg,#fff,#e4f5f6); scroll-margin-top:24px; }
.docs-hero h1 { font-size:clamp(2.2rem,4.8vw,4rem); letter-spacing:-.045em; max-width:760px; margin:0 0 20px; }
.docs-hero > p:not(.eyebrow) { max-width:730px; }
.docs-start { display:inline-block; margin-top:10px; font-weight:700; }
.docs-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:32px; margin-top:36px; align-items:start; }
.docs-sidebar { position:sticky; top:20px; max-height:calc(100vh - 40px); overflow-y:auto; padding:12px 8px; }
.docs-sidebar h2 { margin:0 0 16px; font-size:1rem; }
.docs-sidebar nav a { display:block; padding:9px 12px; border-left:2px solid var(--line); font-size:.9rem; text-decoration:none; }
.docs-sidebar nav a:hover { border-color:var(--accent); background:#e4f5f6; }
.docs-sidebar > p { font-size:.85rem; padding-left:12px; }
.docs-content { min-width:0; }
.docs-section { margin-bottom:28px; scroll-margin-top:24px; padding:clamp(22px,3.2vw,40px); }
.docs-section h2 { margin-top:0; font-size:clamp(1.55rem,2.4vw,2rem); }
.docs-section h3 { margin-top:28px; line-height:1.3; }
.docs-table-wrap { overflow-x:auto; margin:22px 0; }
.docs-section table { width:100%; border-collapse:collapse; font-size:.94rem; text-align:left; }
.docs-section th,.docs-section td { padding:13px 14px; vertical-align:top; border-bottom:1px solid var(--line); }
.docs-section thead { background:#eaf5f7; }
.docs-section tbody th { width:30%; font-weight:650; }
.docs-note { padding:16px 18px; background:#eff7f9; border-left:3px solid var(--accent); border-radius:0 8px 8px 0; font-size:.93rem; }
.docs-shots { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:24px 18px; align-items:start; margin:28px 0; }
.docs-shots figure { margin:0; width:100%; max-width:220px; justify-self:center; }
.docs-shots img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:14px; box-shadow:0 8px 20px #183b4614; }
.docs-shots figcaption { font-size:.78rem; color:var(--muted); margin-top:10px; line-height:1.5; }
.docs-back { font-size:.85rem; margin:26px 0 0; }
.docs-section details { border-bottom:1px solid var(--line); padding:16px 0; }
.docs-section summary { cursor:pointer; font-weight:650; }
.documentation a:focus-visible,.documentation summary:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
@media(min-width:1000px) { .documentation .home-nav { gap:16px; } }
@media(max-width:850px) { .docs-layout { grid-template-columns:1fr; gap:20px; } .docs-sidebar { position:static; max-height:none; padding:20px; background:#fff; border:1px solid var(--line); border-radius:14px; } .docs-sidebar nav { display:grid; grid-template-columns:1fr 1fr; } .docs-sidebar h2 { grid-column:1/-1; } }
@media(max-width:520px) { .docs-sidebar nav { grid-template-columns:1fr; } .docs-section th,.docs-section td { padding:10px 8px; } .docs-section tbody th { width:34%; } .docs-shots { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 12px; } }
@media print { .home-header,.docs-sidebar,.docs-back,.docs-start,.skip-link { display:none; } .documentation main { width:100%; margin:0; } .docs-layout { display:block; } .card { box-shadow:none; } .docs-section { break-inside:auto; } .docs-shots { grid-template-columns:repeat(4,1fr); } .docs-section details { display:block; } }
