/* Standalone guide; shared brand tokens come from style.css. */
.guide-page{font-size:16px;line-height:1.8}.guide-page [hidden]{display:none!important}.guide-page p{max-width:none}.guide-header{position:sticky;top:0;z-index:30;background:rgba(244,244,242,.96);border-bottom:1px solid var(--line)}.guide-header-inner{max-width:1400px;min-height:76px;margin:auto;padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.guide-brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:30px;font-weight:700;line-height:1}.guide-brand img:not(.guide-brand-zh){border-radius:8px}.guide-brand-zh{width:210px;height:64px;object-fit:contain}.guide-header nav{display:flex;gap:24px;font-size:14px}.guide-header nav a{text-decoration:none}.guide-shell{max-width:1400px;margin:auto;padding:0 32px}.guide-lead{padding:64px 0 48px;max-width:920px}.guide-eyebrow{color:var(--orange-ink);font-size:13px;letter-spacing:.08em;font-weight:700}.guide-lead h1{font-size:clamp(2rem,5vw,4rem);line-height:1.18;margin:14px 0 22px}.guide-lede{max-width:46em!important;font-size:19px;color:var(--ink-2)}.guide-version{font-size:13px;color:var(--ink-3);margin-top:16px;max-width:62em!important}.guide-start{margin-top:28px;background:#fff;border:1px solid var(--line);border-left:3px solid var(--orange);border-radius:0 12px 12px 0;padding:20px 24px}.guide-start h2{font-size:16px;line-height:1.6}.guide-start ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:12px;list-style:decimal;padding-left:20px}.guide-start li{font-size:14px;padding-left:3px}.guide-layout{display:grid;grid-template-columns:252px minmax(0,1fr);gap:36px;align-items:start}.guide-sidebar{position:sticky;top:96px;max-height:calc(100dvh - 116px);overflow:auto;padding:0 10px 16px 0;scrollbar-width:thin}.guide-search label{font-size:14px;font-weight:700;display:block;margin-bottom:8px}.guide-search input,.guide-search select{font:inherit;background:#fff;border:1px solid var(--line-2);border-radius:9px;color:var(--ink);width:100%;min-width:0;padding:11px 12px}.guide-search input{font-size:14px}.guide-search input::placeholder{color:var(--ink-3);font-size:12px}.guide-filter-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:10px}.guide-filter-row select{font-size:14px}.guide-filter-row button{padding:4px 0;font-size:13px;color:var(--orange-ink);text-decoration:underline;text-underline-offset:3px}.guide-results{margin:8px 0 16px;color:var(--ink-3);font-size:13px}.guide-toc summary{font-weight:700;font-size:14px;cursor:pointer}.guide-toc-group{margin-top:20px}.guide-toc-group h3{font-size:12px;line-height:1.6;color:var(--ink-3);margin-bottom:6px;font-weight:500}.guide-toc a{display:block;font-size:13px;line-height:1.6;padding:6px 0;text-decoration:none}.guide-toc a:hover{color:var(--orange-ink)}.guide-articles{min-width:0}.guide-topic{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:30px;margin-bottom:24px;scroll-margin-top:100px}.guide-alias{position:absolute;top:0;scroll-margin-top:100px}.guide-topic-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}.guide-number{color:var(--orange-ink);font-size:18px;font-weight:700;padding-top:18px}.guide-group-label{font-size:12px;color:var(--ink-3);margin:0 0 5px}.guide-topic h2{font-size:clamp(1.35rem,2.2vw,1.7rem);line-height:1.35;text-wrap:pretty}.guide-topic h2 a{text-decoration:none}.guide-topic h2 a:hover{color:var(--orange-ink)}.guide-topic-body.has-media{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,260px);gap:28px}.guide-instructions{min-width:0}.guide-intro{color:var(--ink-2);font-size:16px;margin-bottom:18px}.guide-instructions ol{list-style:decimal;padding-left:23px}.guide-instructions li{padding-left:4px;margin-bottom:14px;font-size:14px}.guide-instructions li::marker{color:var(--orange-ink);font-weight:700}.guide-tip{font-size:13px;color:var(--ink-2);margin-top:20px;padding:14px 16px;background:var(--bg);border-radius:8px}.guide-media{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;align-items:start;padding-bottom:12px;scrollbar-width:thin}.guide-figure,.guide-demo{width:100%;flex:0 0 100%;min-width:0;margin:0;scroll-snap-align:start}.guide-media img{width:100%;height:auto;object-fit:contain;border-radius:12px;background:var(--bg)}.guide-enlarge{display:block;text-decoration:none}.guide-enlarge span{display:block;padding-top:9px;color:var(--orange-ink);font-size:12px}.guide-media figcaption{font-size:11px;color:var(--ink-3);line-height:1.6;margin-top:5px}.guide-demo button{width:100%;background:var(--orange-ink);color:#fff;border-radius:8px;min-height:44px;font-size:12px;padding:8px;margin-top:10px}.guide-demo button[aria-pressed=true]{background:var(--ink)}.guide-empty{padding:30px;background:#fff;border:1px solid var(--line);border-radius:12px}.guide-footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:32px 0 48px;margin-top:32px;font-size:14px}.guide-dialog{width:min(96vw,1100px);max-width:96vw;max-height:94dvh;border:1px solid var(--line-2);border-radius:14px;padding:0;margin:auto;background:var(--bg);color:var(--ink)}.guide-dialog::backdrop{background:rgba(0,0,0,.8)}.guide-dialog-bar{display:flex;align-items:center;gap:16px;padding:12px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap;position:sticky;top:0;background:var(--bg);font-size:13px}.guide-dialog-bar p{flex:1;min-width:150px}.guide-dialog-bar button{background:var(--ink);color:white;border-radius:7px;padding:8px 12px}.guide-dialog-image{overflow:auto;max-height:calc(94dvh - 88px);padding:18px}.guide-dialog-image img{width:auto;max-width:100%;height:auto;margin:auto}.guide-page:has(.guide-dialog[open]){overflow:hidden}
@media(min-width:1300px){.guide-topic-body.has-media{grid-template-columns:minmax(0,1fr) 260px}}
@media(max-width:1050px){.guide-layout{grid-template-columns:220px minmax(0,1fr);gap:24px}.guide-topic{padding:24px}.guide-topic-body.has-media{grid-template-columns:minmax(0,1fr)}.guide-media{max-width:100%}.guide-figure,.guide-demo{width:240px;flex:0 0 240px}.guide-instructions li{font-size:15px}}
@media(max-width:720px){.guide-header-inner{padding:0 18px;min-height:64px;gap:8px}.guide-brand-zh{width:168px;height:54px}.guide-brand{font-size:25px}.guide-header nav{font-size:12px;gap:12px}.guide-shell{padding:0 18px}.guide-lead{padding:36px 0 30px}.guide-lede{font-size:16px}.guide-start{padding:18px}.guide-start ol{grid-template-columns:1fr;gap:8px}.guide-layout{grid-template-columns:1fr;gap:20px}.guide-sidebar{position:static;max-height:none;overflow:visible;padding:0}.guide-filter-row{flex-wrap:nowrap}.guide-filter-row select{width:60%}.guide-filter-row button{white-space:nowrap}.guide-toc{border:1px solid var(--line);border-radius:10px;padding:12px 16px;background:#fff}.guide-toc nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;max-height:320px;overflow:auto;margin-top:6px}.guide-toc-group{margin-top:8px}.guide-toc a{font-size:12px}.guide-topic{padding:22px 18px;scroll-margin-top:80px}.guide-alias{scroll-margin-top:80px}.guide-topic-heading{gap:12px;margin-bottom:20px}.guide-topic h2{font-size:1.35rem}.guide-number{font-size:16px}.guide-figure,.guide-demo{width:min(260px,82vw);flex-basis:min(260px,82vw)}.guide-topic-body.has-media{gap:20px}.guide-dialog-bar{gap:10px;padding:10px}.guide-dialog-image{padding:10px}.guide-footer{font-size:12px}}
@media(prefers-reduced-motion:reduce){.guide-page{scroll-behavior:auto}.guide-page *{scroll-behavior:auto!important}}

.guide-media-wrap{min-width:0}.guide-gallery-hint{font-size:11px;color:var(--ink-3);margin-bottom:8px}.guide-filter-row button:disabled{color:var(--ink-3);cursor:default;text-decoration:none}
