:root{--g-font:Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--g-mono:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--g-bg:#fff;--g-surface:#f5f7f5;--g-fg:#1a1f1c;--g-muted:#56605a;--g-border:#e1e6e2;--g-accent:#15803d;--g-accent-soft:#15803d1a;--g-amber:#a16207;--g-coral:#b91c1c;--g-code-bg:#f7f8f7;--g-gutter:16px;color-scheme:light dark}@media (prefers-color-scheme:dark){:root:not(.light){--g-bg:#0e120f;--g-surface:#151b17;--g-fg:#e6ebe7;--g-muted:#9ba59e;--g-border:#253029;--g-accent:#4ade80;--g-accent-soft:#4ade801f;--g-amber:#f59e0b;--g-coral:#fb7185;--g-code-bg:#111612}}:root.light{color-scheme:light}*{box-sizing:border-box}body{background:var(--g-bg);color:var(--g-fg);font:16px/1.65 var(--g-font);margin:0}a{color:var(--g-accent)}html{scroll-padding-top:5rem}.guide-header{z-index:5;padding:.7rem clamp(var(--g-gutter), 3vw, 2rem);background:color-mix(in srgb, var(--g-bg) 85%, transparent);backdrop-filter:blur(12px);border-bottom:1px solid var(--g-border);justify-content:space-between;align-items:center;gap:1rem;display:flex;position:sticky;top:0}.guide-brand{color:inherit;align-items:center;gap:.5rem;text-decoration:none;display:flex}.guide-tag{background:var(--g-accent-soft);color:var(--g-accent);border-radius:999px;padding:.05rem .5rem;font-size:.75rem;font-weight:700}.guide-header nav{gap:1.25rem;display:flex}.guide-header nav a{color:var(--g-muted);font-weight:500;text-decoration:none}.guide-header nav a:hover{color:var(--g-fg)}.guide-layout{max-width:1240px;padding:0 clamp(var(--g-gutter), 3vw, 2rem);grid-template-columns:15rem minmax(0,1fr);gap:clamp(1.5rem,4vw,3.5rem);margin:0 auto;display:grid}.guide-sidebar{align-self:start;max-height:calc(100vh - 4rem);padding:1.5rem 0;position:sticky;top:4rem;overflow-y:auto}.guide-sidebar summary{display:none}.guide-sidebar ul{margin:0;padding:0;list-style:none}.guide-sidebar li{margin:0}.guide-sidebar nav>ul>li{letter-spacing:.1em;text-transform:uppercase;color:var(--g-muted);margin-bottom:1.1rem;font-size:.75rem;font-weight:700}.guide-sidebar nav>ul>li>ul{letter-spacing:0;text-transform:none;margin-top:.35rem;font-size:.92rem;font-weight:500}.guide-sidebar a{color:var(--g-fg);border-radius:8px;padding:.28rem .7rem;text-decoration:none;display:block}.guide-sidebar a:hover{background:var(--g-surface)}.guide-sidebar a.active{background:var(--g-accent-soft);color:var(--g-accent);font-weight:600}.guide-main{min-width:0;padding:1.5rem 0 5rem}.guide-footer{padding:1.5rem clamp(var(--g-gutter), 3vw, 2rem);border-top:1px solid var(--g-border);color:var(--g-muted);font-size:.875rem}.guide-footer p{margin:.25rem 0}.guide-footer a{color:inherit}.guide-footer [aria-current=page]{font-weight:600;text-decoration:none}@media (width<=860px){.guide-layout{grid-template-columns:1fr;gap:0}.guide-sidebar{max-height:none;padding:.75rem 0 0;position:static}.guide-sidebar summary{cursor:pointer;padding:.4rem 0;font-weight:600;display:block}.guide-sidebar:not([open]) nav{display:none}}.guide-prose{max-width:50rem}.guide-prose h1{letter-spacing:-.025em;margin:.5rem 0 .75rem;font-size:clamp(2rem,4vw,2.6rem);font-weight:800;line-height:1.1}.guide-prose h1+p{color:var(--g-muted);font-size:1.12rem}.guide-prose h2{border-top:1px solid var(--g-border);letter-spacing:-.015em;margin:3rem 0 .75rem;padding-top:1.25rem;font-size:1.5rem;font-weight:700}.heading-anchor{color:var(--g-muted);opacity:0;margin-left:.4rem;font-weight:400;text-decoration:none;transition:opacity .15s}:is(h2,h3):hover>.heading-anchor,.heading-anchor:focus-visible{opacity:1}@media (hover:none){.heading-anchor{opacity:.6}}.guide-prose h3{margin:2rem 0 .5rem;font-size:1.15rem}.guide-prose :not(pre)>code{background:var(--g-accent-soft);font:.88em var(--g-mono);border-radius:5px;padding:.1em .35em}.guide-prose pre:not(.example pre){border:1px solid var(--g-border);font:.86rem/1.6 var(--g-mono);border-radius:12px;margin:1.25rem 0;padding:1rem 1.25rem;overflow-x:auto;background:var(--g-code-bg)!important}.guide-prose table{border-collapse:collapse;width:100%;margin:1.25rem 0;font-size:.93rem;display:block;overflow-x:auto}.guide-prose th,.guide-prose td{border-bottom:1px solid var(--g-border);text-align:left;vertical-align:top;padding:.55rem .8rem}.guide-prose th{text-transform:uppercase;letter-spacing:.06em;color:var(--g-muted);font-size:.78rem}.guide-prose td:first-child code{white-space:nowrap}.guide-loading,.guide-error{border-radius:10px;padding:1rem}.guide-error{border:1px solid var(--g-coral);color:var(--g-coral)}.example{border:1px solid var(--g-border);background:var(--g-surface);border-radius:16px;margin:1.75rem 0;overflow:hidden;box-shadow:0 18px 50px -30px #15803d73}.example-bar{border-bottom:1px solid var(--g-border);background:var(--g-bg);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;padding:.6rem .9rem;display:flex}.example-title{font-size:.95rem;font-weight:700}.example-note{color:var(--g-amber);font:600 .78rem var(--g-mono)}.example-stage{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.9rem;padding:.9rem;display:grid}@media (width<=760px){.example-stage{grid-template-columns:1fr}}.example-preview{border:1px solid var(--g-border);background:var(--g-bg);border-radius:12px;align-content:start;gap:.9rem;padding:1.25rem;font-size:.93rem;display:grid}.example-preview label{gap:.3rem;font-weight:500;display:grid}.example-preview input[type=text]{border:1px solid var(--g-border);background:var(--g-bg);color:var(--g-fg);font:.9rem var(--g-mono);border-radius:8px;padding:.45rem .6rem}.example-preview input:focus-visible{outline:2px solid var(--g-accent);outline-offset:1px}.example-preview input[type=range],.example-preview input[type=checkbox]{accent-color:var(--g-accent)}.example-preview .example-check{align-items:center;gap:.5rem;display:flex}.example-bucket{color:var(--g-muted);margin:0}.example-model{background:var(--g-bg);border:1px dashed var(--g-border);border-radius:12px;min-width:0;padding:.8rem}.example-model-label{letter-spacing:.1em;text-transform:uppercase;color:var(--g-muted);margin-bottom:.4rem;font-size:.72rem;font-weight:700;display:block}.example-model pre{font:.78rem/1.5 var(--g-mono);white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 .9rem;overflow:auto}.example-source{border-top:1px solid var(--g-border);background:var(--g-bg)}.example-source summary{cursor:pointer;padding:.6rem .9rem;font-size:.9rem;font-weight:600}.example-code{background:var(--g-code-bg);max-height:34rem;overflow:auto}.example-code pre{font:.84rem/1.6 var(--g-mono);margin:0;padding:1rem 1.25rem;background:0 0!important}
