.guide-page,.guide-page *,.guide-links,.guide-links *{box-sizing:border-box}html:has(body.guide-page){scroll-behavior:smooth}body.guide-page{margin:0;background:var(--surface);color:var(--ink);font:17px/1.7 var(--font)}.guide-page a,.guide-links a{color:var(--brand-strong);text-underline-offset:4px}.guide-page a:hover,.guide-links a:hover{color:var(--brand-deep)}.guide-page a:focus-visible,.guide-links a:focus-visible,.guide-page summary:focus-visible{outline:3px solid var(--brand-strong);outline-offset:4px;border-radius:3px}.guide-page .skip-link{position:fixed;top:-100px;left:12px;background:var(--surface);padding:12px;z-index:9}.guide-page .skip-link:focus{top:8px}.guide-header{border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px max(24px,calc((100vw - 1180px)/2))}.guide-brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:20px;font-weight:750;text-decoration:none;min-height:44px}.guide-brand img{width:32px;height:32px}.guide-header nav{display:flex;gap:20px}.guide-header nav a,.guide-footer a{display:inline-flex;align-items:center;min-height:44px}.guide-shell{max-width:1180px;margin:auto;padding:28px 24px 64px}.guide-breadcrumb{font-size:14px;display:flex;gap:9px;flex-wrap:wrap;margin-bottom:38px}.guide-breadcrumb a{min-height:44px;display:inline-flex;align-items:center}.guide-breadcrumb span{align-self:center}.guide-kicker{font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:700;margin:0 0 12px}.guide-title{font-size:clamp(34px,5vw,58px);line-height:1.08;letter-spacing:-.035em;max-width:900px;margin:0 0 22px}.guide-lead{font-size:21px;line-height:1.55;max-width:850px;margin:0 0 20px}.guide-meta{font-size:14px;color:var(--muted);margin-bottom:36px}.guide-layout{display:grid;grid-template-columns:minmax(0,780px) minmax(0,240px);gap:64px;align-items:start}.guide-article{min-width:0}.guide-article h2{font-size:29px;line-height:1.24;letter-spacing:-.02em;margin:44px 0 16px;scroll-margin-top:20px}.guide-article h2:first-child{margin-top:0}.guide-article h3{font-size:21px;line-height:1.35;margin:30px 0 12px}.guide-article p{margin:0 0 19px}.guide-article li{margin-bottom:10px}.guide-article ul,.guide-article ol{padding-left:24px;margin:20px 0 28px}.guide-table-wrap{overflow-x:auto;margin:26px 0;max-width:100%;border:1px solid var(--line-2);border-radius:12px}.guide-article table{border-collapse:collapse;width:100%;font-size:16px;line-height:1.5}.guide-article th,.guide-article td{padding:14px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.guide-article th{background:var(--surface-2);font-weight:700}.guide-article tr:last-child td{border-bottom:0}.guide-article blockquote{border-left:3px solid var(--brand);margin:28px 0;padding:12px 20px;background:var(--soft)}.guide-sidebar{position:sticky;top:24px;background:var(--surface-2);border:1px solid var(--line);border-radius:16px;padding:22px}.guide-sidebar h2{font-size:17px;margin:0 0 12px}.guide-sidebar ul{padding:0;list-style:none;margin:0}.guide-sidebar a{display:block;padding:10px 0;line-height:1.45;font-size:15px}.guide-related{border-top:1px solid var(--line);margin-top:46px;padding-top:22px}.guide-related a{display:block;min-height:44px;padding:8px 0}.guide-footer{border-top:1px solid var(--line);background:var(--soft);padding:30px max(24px,calc((100vw - 1180px)/2));font-size:14px}.guide-footer nav{display:flex;flex-wrap:wrap;gap:8px 22px}.guide-footer p{max-width:780px}.guide-links{max-width:1180px;margin:36px auto;padding:24px;border-top:1px solid var(--line)}.guide-links h2{font-size:24px}.guide-links nav{display:flex;flex-wrap:wrap;gap:12px 26px}.guide-links a{display:inline-flex;align-items:center;min-height:44px}.guide-index-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:30px 0 48px}.guide-index-card{border:1px solid #d3e2e9;border-radius:16px;padding:26px;text-decoration:none;color:var(--ink);display:block}.guide-index-card h2{font-size:23px;line-height:1.3;margin:0 0 12px}.guide-index-card p{color:var(--muted);margin:0}.guide-index-card:hover{border-color:#0789ba;background:var(--brand-tint)}.guide-index-card span{display:block;color:var(--brand-strong);font-weight:650;margin-top:20px}@media(max-width:800px){.guide-layout{grid-template-columns:1fr;gap:28px}.guide-sidebar{position:static;grid-row:1}.guide-sidebar details:not([open]) ul{display:none}.guide-title{font-size:38px}.guide-lead{font-size:19px}.guide-breadcrumb{margin-bottom:25px}.guide-shell{padding:20px 20px 44px}.guide-header{padding:12px 20px;gap:12px;flex-wrap:wrap}.guide-header nav{gap:16px}.guide-index-grid{grid-template-columns:1fr}.guide-article th,.guide-article td{padding:12px 10px;font-size:15px}}@media(prefers-reduced-motion:reduce){html:has(body.guide-page){scroll-behavior:auto}}

.guide-sidebar summary{min-height:44px;cursor:pointer;padding:7px 0}.guide-sidebar a{min-height:44px}

@media(max-width:800px){.site-header .site-nav>a[href="/guides/"]{display:none}}

/* dark theme */
html[data-theme="dark"] .guide-article blockquote { background: var(--surface); border-left-color: var(--brand-strong); }
html[data-theme="dark"] .guide-sidebar { background: var(--surface); border-color: var(--line); }
html[data-theme="dark"] .guide-article th { background: var(--surface-2); }
html[data-theme="dark"] .guide-table-wrap { border-color: var(--line); }
html[data-theme="dark"] .guide-article th, html[data-theme="dark"] .guide-article td { border-bottom-color: var(--line); }
html[data-theme="dark"] .guide-related, html[data-theme="dark"] .guide-footer, html[data-theme="dark"] .guide-links { border-top-color: var(--line); }
html[data-theme="dark"] .guide-footer { background: var(--soft); }
html[data-theme="dark"] .guide-index-card { border-color: var(--line-2); color: var(--ink); }
html[data-theme="dark"] .guide-index-card:hover { border-color: var(--brand); background: var(--brand-tint); }
