.docs-header { max-width:1440px; margin:auto; padding:24px 36px; display:flex; justify-content:space-between; align-items:center; gap:20px; border-bottom:1px solid var(--line); }
.docs-header .brand { font-size:22px; letter-spacing:-.5px; }
.docs-header .brand span { font-size:13px; font-weight:400; color:var(--muted); border-left:1px solid var(--line); padding-left:14px; margin-left:6px; }
.docs-header nav { display:flex; gap:22px; align-items:center; font-size:13px; }
.docs-layout { max-width:1440px; margin:auto; display:grid; grid-template-columns:250px minmax(0,1fr); }
.docs-layout aside { padding:32px 24px; border-right:1px solid var(--line); }
.docs-layout aside details { position:sticky; top:24px; }
.docs-layout aside summary { font-size:12px; color:var(--muted); margin-bottom:20px; cursor:pointer; }
.docs-layout aside nav { display:flex; flex-direction:column; gap:5px; }
.docs-layout aside nav a { padding:10px 12px; font-size:13px; line-height:1.6; border-radius:6px; }
.docs-layout aside nav a:hover { background:#eef1e8; }
.docs-layout aside nav a[aria-current] { background:#e4ecdf; color:#284d35; font-weight:600; }
.docs-setup-link { display:block; margin-top:30px; padding:14px 12px; border:1px solid var(--line); border-radius:6px; font-size:13px; }
.docs-layout main { padding:32px 48px 64px; min-width:0; max-width:1000px; }
.docs-toolbar { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; font-size:12px; color:var(--muted); align-items:center; margin-bottom:42px; }
.docs-toolbar div { display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.docs-toolbar button,.setup-actions button { padding:9px 13px; background:var(--ink); color:white; border:1px solid var(--ink); border-radius:6px; font-size:12px; line-height:1.5; }
.docs-toolbar button:disabled { opacity:.6; cursor:wait; }
.docs-content { font-size:15px; line-height:1.9; overflow-wrap:anywhere; }
.docs-content h1 { font-size:40px; line-height:1.25; letter-spacing:-1px; font-weight:550; margin:0 0 24px; }
.docs-content h2 { font-size:23px; line-height:1.5; font-weight:550; margin:40px 0 16px; padding-top:8px; }
.docs-content h3 { font-size:18px; }
.docs-content p,.docs-content ul,.docs-content ol { margin:16px 0; }
.docs-content li { padding-left:5px; margin:7px 0; }
.docs-content a { text-decoration:underline; text-underline-offset:4px; color:#356d55; }
.docs-content pre,.setup-panel pre { padding:20px; background:#edf0e8; border:1px solid var(--line); border-radius:8px; overflow:auto; font-size:13px; line-height:1.8; }
.docs-content :not(pre)>code { background:#edf0e8; border-radius:4px; padding:2px 5px; font-size:.88em; }
.docs-content table { display:block; overflow:auto; border-collapse:collapse; max-width:100%; font-size:13px; }
.docs-content th,.docs-content td { text-align:left; border:1px solid var(--line); padding:12px 16px; min-width:130px; }
.docs-content th { background:#edf0e8; }
.docs-content blockquote { border-left:3px solid #8ea58a; margin-left:0; padding-left:20px; color:var(--muted); }
.setup-panel { margin-top:40px; padding:28px; border:1px solid #afc2aa; border-radius:12px; background:white; line-height:1.8; }
.setup-panel h2 { font-size:24px; margin:0 0 14px; }
.setup-panel p { font-size:13px; color:var(--muted); }
.setup-panel label { display:block; margin-top:18px; font-size:13px; }
.setup-panel input,.setup-panel select { width:100%; max-width:440px; font:inherit; font-size:14px; padding:12px; border:1px solid var(--line); border-radius:6px; background:var(--paper); margin-top:6px; }
.setup-panel pre { white-space:pre-wrap; overflow-wrap:anywhere; max-height:420px; }
.setup-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }
.setup-actions button+button { background:white; color:var(--ink); }
.docs-footer { display:flex; justify-content:space-between; margin-top:60px; padding-top:25px; border-top:1px solid var(--line); font-size:13px; }
.docs-toast { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); max-width:90vw; border-radius:8px; background:var(--ink); color:white; padding:12px 18px; font-size:13px; box-shadow:0 4px 20px #0002; }
.docs-toast:empty { display:none; }
.copy-fallback { position:fixed; bottom:80px; left:5vw; width:90vw; height:220px; z-index:10; border:2px solid var(--accent); padding:16px; background:white; }
@media(max-width:900px){.docs-layout{grid-template-columns:210px minmax(0,1fr)}.docs-layout main{padding:28px}.docs-header{padding:22px 28px}.docs-content h1{font-size:32px}.docs-toolbar{margin-bottom:28px}}
@media(max-width:650px){.docs-header{padding:18px;flex-wrap:wrap}.docs-header nav{gap:16px;width:100%;flex-wrap:wrap}.docs-header nav .button{margin-left:auto}.docs-layout{display:block}.docs-layout aside{padding:18px;border-right:0;border-bottom:1px solid var(--line)}.docs-layout aside details{position:static}.docs-layout aside nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.docs-layout aside summary{margin-bottom:10px}.docs-setup-link{margin-top:14px}.docs-layout main{padding:24px 18px 40px}.docs-content h1{font-size:30px}.docs-content{font-size:14px}.setup-panel{padding:20px}.docs-content pre{padding:14px}}
