/* Page layout only. Fonts, palette, nav, buttons and footer come from the
   approved /ai-os/ final stylesheet, generated as site-base.css. */
.guide-page [hidden]{display:none!important}
.guide-page{font-weight:400}
.guide-page :is(a,button,summary):focus-visible{outline:2px solid var(--accent);outline-offset:5px}
.guide-page .skip{position:fixed;top:-100px;left:24px;z-index:200;background:var(--study-paper);color:var(--study-ink);padding:12px 18px;border-radius:9px}
.guide-page .skip:focus{top:12px}
html[data-theme="silver"] .guide-page .hero.guide-hero{height:auto}
html[data-theme="silver"] .guide-page .guide-hero .hero__pin{position:relative;height:auto;min-height:0;padding:100px 0 48px}
html[data-theme="silver"] .guide-page .guide-hero .hero__media{inset:0;transform:none;translate:none}
.guide-page .guide-hero__inner{position:relative;z-index:2}
.guide-page .guide-breadcrumb{display:flex;gap:12px;align-items:center;font-size:11px;color:#51636e;margin:0 0 30px}
.guide-page .guide-breadcrumb a:hover{text-decoration:underline;text-underline-offset:4px}
html[data-theme="silver"] .guide-page .hero__eyebrow{margin:0 0 16px;max-width:none}
html[data-theme="silver"] .guide-page .hero__headline{max-width:1020px;margin:0 0 35px;font-size:clamp(42px,4.3vw,60px);line-height:1.04}
.guide-page .guide-hero__grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:38px;align-items:start}
.guide-page .guide-tour{min-width:0;margin:0}
.guide-page .guide-tour .hero-demo__frame{border-radius:17px;overflow:clip;box-shadow:0 17px 40px #28363e22,0 0 0 4px #fff6;border:1px solid #71869280}
.guide-page .guide-tour .hero-demo__bar{height:40px;font-size:8px;gap:10px;background:#24333d;letter-spacing:.04em}
.guide-page .guide-tour .frame-dots{color:#71838e;margin-right:auto;white-space:nowrap}
.guide-page .hero-demo__bar button{color:#dfe5e8;min-width:32px;min-height:30px;padding:3px 8px;border:1px solid #dfe5e833;border-radius:999px;font:10px var(--font-sans);white-space:nowrap}
.guide-page .hero-demo__bar button:hover{background:#dfe5e820}
.guide-page .tour-screen{position:relative;aspect-ratio:1265/712;overflow:hidden;background:#0b1015}
.guide-page .tour-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .65s ease;pointer-events:none}
.guide-page .tour-image.is-active{opacity:1;z-index:1}
.guide-page .tour-image[data-scene="0"]{transform:scale(1.45);transform-origin:50% 60%}
.guide-page .tour-steps{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #28363e35;margin-top:14px;gap:12px}
.guide-page .tour-steps button{position:relative;text-align:left;color:#51636e;font-size:12px;padding:12px 0 14px;border-bottom:2px solid transparent}
.guide-page .tour-steps button span{font:9px var(--font-mono);margin-right:6px;opacity:.7}
.guide-page .tour-steps button[aria-pressed="true"]{border-color:var(--study-ink);color:var(--study-ink);font-weight:600}
.guide-page .tour-steps button:hover{color:var(--study-ink)}
.guide-page .guide-tour figcaption{display:flex;justify-content:space-between;gap:16px;color:#425660;font:9px/1.6 var(--font-mono);padding-top:14px;letter-spacing:.02em}
.guide-page .guide-hero__details{padding-top:8px}
html[data-theme="silver"] .guide-page .hero__sub{font-size:17px;line-height:1.65;margin:0 0 22px}
.guide-page .tour-story{border-block:1px solid #28363e30;padding:20px 0;margin-bottom:22px;min-height:182px}
.guide-page .tour-story .eyebrow{font-size:9px;color:#51636e}
html[data-theme="silver"] .guide-page .tour-story h2{font-size:24px;line-height:1.18;color:#28363e;margin:10px 0;letter-spacing:-.035em}
.guide-page .tour-story p{font-size:13px;line-height:1.7;color:#425660;max-width:360px}
html[data-theme="silver"] .guide-page .hero__cta{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
html[data-theme="silver"] .guide-page .hero-offer-note{font-size:10px;line-height:1.9;margin:16px 0 0}
.guide-page .guide-route{border-bottom:1px solid var(--border);padding:28px 0;background:var(--bg-soft)}
.guide-page .guide-route>.container{display:flex;justify-content:space-between;align-items:center;gap:24px}
.guide-page .guide-route .eyebrow{color:var(--text-dim);font-size:9px;letter-spacing:.1em}
.guide-page .guide-route p{font-size:14px;color:var(--text)}
.guide-page .guide-route a{font-size:12px;color:var(--accent);white-space:nowrap}
.guide-page .article-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:65px;padding-top:64px;padding-bottom:60px;align-items:start}
.guide-page .contents{position:sticky;top:110px;align-self:start}
.guide-page .contents .eyebrow{font-size:9px;color:var(--text-dim)}
.guide-page .contents nav{display:flex;flex-direction:column;gap:6px;margin:18px 0 24px}
.guide-page .contents nav a{font-size:12px;color:var(--text-dim);padding:7px 0;border-left:2px solid transparent}
.guide-page .contents nav a:hover,.guide-page .contents nav a[aria-current="location"]{color:var(--text);border-color:var(--accent);padding-left:12px}
.guide-page .contents-note{border-top:1px solid var(--border);padding-top:20px;font-size:11px;line-height:1.8;color:var(--text-muted)}
.guide-page article{min-width:0;max-width:820px}
.guide-page article p{margin:18px 0;font-size:15px;line-height:1.85;color:var(--text-dim)}
.guide-page article strong{font-weight:550;color:var(--text)}
.guide-page article a:not(.btn){color:#e5ae8d;text-decoration:underline;text-underline-offset:4px}
.guide-page article a:hover{color:var(--text)}
.guide-page article .intro{border-bottom:1px solid var(--border);padding-bottom:24px}
.guide-page article .intro p{font-size:17px;line-height:1.8;margin-top:0}
.guide-page article section{padding-top:62px;scroll-margin-top:100px}
html[data-theme="silver"] .guide-page article h2{font-size:clamp(28px,3vw,38px);line-height:1.15;font-weight:500;letter-spacing:-.045em;margin:0 0 20px}
.guide-page .section-heading{display:flex;align-items:baseline;gap:16px}
.guide-page .section-heading h2{margin-bottom:4px}
.guide-page .step{font:12px var(--font-mono);color:var(--accent)}
.guide-page article h3{font-size:12px;font-weight:500;letter-spacing:0;margin-bottom:12px;color:var(--text-dim)}
.guide-page code{font-family:var(--font-mono);font-size:.83em;overflow-wrap:anywhere;color:var(--text)}
.guide-page pre{background:#101b23;border:1px solid var(--border);padding:20px;border-radius:13px;overflow:auto;margin:0;line-height:1.85}
.guide-page pre code{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;color:#dfe5e8}
.guide-page .command-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:26px 0}
.guide-page .command-pair>div{min-width:0;display:flex;flex-direction:column}
.guide-page .command-pair pre{height:auto;flex:1;overflow-y:hidden}
.guide-page .needs{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:24px;margin:26px 0;border:1px solid var(--border);border-radius:18px;background:var(--bg-soft)}
.guide-page .needs span{display:block;font:9px var(--font-mono);letter-spacing:.1em;color:var(--text-dim)}
.guide-page .needs strong{display:block;font-size:14px;margin:10px 0}
.guide-page .needs small{display:block;font-size:11px;line-height:1.7;color:var(--text-dim)}
.guide-page article .note{border-left:2px solid #708492;padding:2px 0 2px 18px;font-size:13px;color:var(--text-dim)}
.guide-page .folder-tree{margin:26px 0}.guide-page .folder-tree code{font-size:13px}
.guide-page .success{border:1px solid #92b3a45a;border-radius:13px;background:#253d39;padding:22px;margin:26px 0}
.guide-page .success .eyebrow{display:block;font-size:9px;color:#b5cdbf;margin-bottom:10px}.guide-page .success code{font-size:13px;color:#e4f0e9}
.guide-page article figure{margin:30px 0}
.guide-page article figure a{display:block;border:1px solid #71869280;border-radius:17px;overflow:clip;box-shadow:0 14px 36px #0002}
.guide-page article figure img{width:100%;height:auto}
.guide-page article figcaption{padding-top:14px;font-size:11px;line-height:1.7;color:var(--text-dim)}
.guide-page article figcaption span{font:9px var(--font-mono);letter-spacing:.08em;color:var(--accent);margin-right:10px}
.guide-page .checkpoint{border-block:1px solid var(--border);padding:22px 0;margin-top:32px}
.guide-page .checkpoint>span{font:9px var(--font-mono);letter-spacing:.1em;color:var(--accent)}
.guide-page .checkpoint p{font-size:22px;color:var(--text);line-height:1.5;letter-spacing:-.025em;margin-bottom:0}
.guide-page details{border-bottom:1px solid var(--border);padding:20px 0}
.guide-page summary{cursor:pointer;font-size:15px;line-height:1.6;font-weight:500;color:var(--text)}
.guide-page details p{font-size:14px}.guide-page details pre{margin-top:18px}
.guide-page kbd{font:11px var(--font-mono);padding:2px 5px;border:1px solid var(--border);border-radius:4px}
.guide-page article .verification{font-size:11px;line-height:1.85;color:var(--text-muted);margin-top:25px}
.guide-page article .builder{margin-top:60px;padding:34px;border-radius:20px;border:1px solid #dfe5e838;background:var(--bg-soft)}
.guide-page .builder .eyebrow{font-size:9px}
html[data-theme="silver"] .guide-page .builder h2{margin:20px 0;font-size:36px;line-height:1.12}
.guide-page .builder .btn{margin:8px 0;color:var(--study-ink)}
.guide-page .builder .builder-note{font-size:11px}
.guide-page .text-link{font-size:12px;display:inline-block}
.guide-page .related{display:flex;flex-direction:column;align-items:start;gap:18px;margin:40px 0 0;font-size:13px;line-height:1.7}
.guide-page .related .eyebrow{font-size:9px;color:var(--text-dim)}
.guide-page .footer{padding-bottom:40px}
.guide-page .image-viewer{position:fixed;inset:0;margin:auto;width:min(1200px,96vw);max-height:94vh;padding:0;border:1px solid #71869280;border-radius:17px;background:#101b23;color:var(--text);box-shadow:0 24px 70px #0008;overflow:auto}
.guide-page .image-viewer::backdrop{background:#08121de8;backdrop-filter:blur(10px)}
.guide-page .image-viewer__bar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:14px 20px;font:10px var(--font-mono);border-bottom:1px solid var(--border)}
.guide-page .image-viewer button{font:13px var(--font-sans);min-height:30px;color:var(--text)}
.guide-page .image-viewer img{width:100%;max-height:75vh;object-fit:contain}
.guide-page .image-viewer__actions{display:flex;align-items:center;gap:16px}
.guide-page .image-viewer__canvas{overflow:auto;max-height:72vh;scrollbar-color:#718692 #101b23}
.guide-page .image-viewer.is-zoomed img{width:max(1100px,100%);max-width:none;max-height:none}
.guide-page .image-viewer .viewer-zoom{font-size:11px;color:var(--accent)}
.guide-page .image-viewer p{padding:16px 20px;font-size:12px;color:var(--text-dim);line-height:1.6}
@media(max-width:1000px){.guide-page .guide-hero__grid{gap:28px;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)}.guide-page .tour-story{min-height:190px}.guide-page .article-layout{grid-template-columns:170px minmax(0,1fr);gap:35px}.guide-page .command-pair{grid-template-columns:1fr}}
@media(max-width:800px){html[data-theme="silver"] .guide-page .guide-hero .hero__pin{padding:100px 0 35px}html[data-theme="silver"] .guide-page .hero__headline{font-size:42px;max-width:650px;margin-bottom:28px}.guide-page .guide-hero__grid{grid-template-columns:minmax(0,1fr);gap:30px}.guide-page .guide-tour{width:100%}.guide-page .guide-hero__details{padding:0}.guide-page .tour-story{min-height:0}.guide-page .tour-story p{max-width:560px}.guide-page .guide-route>.container{flex-wrap:wrap;gap:12px}.guide-page .guide-route .eyebrow{width:100%}.guide-page .article-layout{grid-template-columns:minmax(0,1fr);gap:32px;padding-top:34px}.guide-page .contents{position:static;border-bottom:1px solid var(--border);padding-bottom:25px}.guide-page .contents nav{display:grid;grid-template-columns:1fr 1fr;margin-bottom:0;gap:5px 14px}.guide-page .contents-note{display:none}.guide-page article{max-width:none}.guide-page article section{padding-top:45px}.guide-page .command-pair{grid-template-columns:1fr 1fr}}
@media(max-width:720px){html[data-theme="silver"] .guide-page .guide-hero .hero__pin{padding-top:145px}.guide-page .guide-breadcrumb{margin-bottom:24px}html[data-theme="silver"] .guide-page .hero__headline{font-size:40px;letter-spacing:-.055em}.guide-page .guide-tour .hero-demo__bar{font-size:7px;padding-inline:10px;gap:6px}.guide-page .hero-demo__bar button{font-size:9px;padding:2px 7px}.guide-page .tour-steps{gap:8px}.guide-page .tour-steps button{font-size:11px}.guide-page .tour-steps button span{font-size:8px;margin-right:4px}.guide-page .guide-tour figcaption{font-size:8px;gap:12px;flex-wrap:wrap}.guide-page .tour-story h2{font-size:23px}.guide-page .guide-route p{font-size:13px;max-width:235px}.guide-page .guide-route a{font-size:11px}.guide-page article p{font-size:14px}.guide-page article .intro p{font-size:16px}.guide-page .command-pair{grid-template-columns:1fr}.guide-page .needs{gap:16px;padding:20px}.guide-page .needs strong{font-size:13px}.guide-page .needs small{font-size:10px}.guide-page article .builder{padding:24px}.guide-page .builder .btn{font-size:12px;padding:14px 18px}.guide-page article h2{font-size:29px}.guide-page .image-viewer__bar{padding:10px 14px}.guide-page .image-viewer p{font-size:11px}.guide-page .hero__cta .btn--primary{font-size:14px}}
@media(prefers-reduced-motion:reduce){.guide-page .tour-image{transition:none}.guide-page{scroll-behavior:auto}}
