/* Match the builder without inheriting its fixed-height workspace layout. */
html{scroll-behavior:smooth;scroll-padding-top:90px}
body.guide-page,html[data-theme="light"] body.guide-page{background:var(--deck-bg);font-family:"Segoe UI",Arial,sans-serif}
.guide-page::before{display:none}
.guide-page .app-shell,.guide-shell{width:min(1120px,calc(100% - 40px));margin:auto}
.guide-page .topbar{position:relative;padding:18px 0;background:var(--deck-bg-2);box-shadow:none;backdrop-filter:none;border-bottom:1px solid var(--deck-line)}
.guide-page .app-shell-top{padding:0;border:0;background:none}
.guide-page .brand-mark{width:46px;height:46px;box-shadow:none}
.guide-page .brand-title{font-size:1.3rem;line-height:1.4}
.guide-page .techtahi-animated{text-shadow:none}
.guide-page .subtitle{font-size:.85rem;font-weight:400;color:var(--deck-muted)}
.guide-page .brand-sub{font-size:.8rem;line-height:1.6;max-width:60ch}
.guide-page .top-actions{align-items:center;margin:0}
.guide-shell{padding:28px 0 24px}
.guide-page .glass{background:var(--deck-panel-strong);border:1px solid var(--deck-line);border-radius:16px;box-shadow:0 4px 18px rgba(0,0,0,.05);border-image:none;transform:none}
.guide-page .glass::before{display:none}
.guide-hero,.guide-section{padding:28px;margin-bottom:18px}
.guide-kicker{color:var(--deck-cyan);font-size:.75rem;letter-spacing:.08em;font-weight:700;text-transform:uppercase}
.guide-hero h2{font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.2;font-weight:750;letter-spacing:-.035em;max-width:28ch;margin:10px 0 16px}
.guide-lead,.guide-section>p{color:var(--deck-muted);max-width:80ch;line-height:1.7}
.guide-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.guide-page .btn,.guide-page .language-select{min-height:44px;padding:10px 14px;border-radius:8px;font-size:.85rem;font-weight:600;box-shadow:none!important;transform:none;background:var(--deck-panel-strong)!important;border:1px solid var(--deck-line)!important;color:var(--deck-text)!important}
.guide-page .btn::before{display:none}
.guide-page .btn:hover{border-color:var(--deck-cyan)!important;background:var(--deck-bg)!important}
.guide-page .btn-primary{background:var(--deck-cyan)!important;border-color:var(--deck-cyan)!important;color:var(--deck-bg)!important}
.guide-page .btn-primary:hover{background:var(--deck-cyan)!important;filter:brightness(.93)}
.guide-page .language-select{color-scheme:dark;max-width:100%}
html[data-theme="light"] .guide-page .language-select{color-scheme:light}
.guide-nav{position:sticky;top:0;z-index:20;display:flex;gap:6px;flex-wrap:wrap;padding:10px;margin-bottom:18px;border:1px solid var(--deck-line);border-radius:12px;background:var(--deck-bg-2)}
.guide-nav a{display:flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:8px;color:var(--deck-muted);font-size:.85rem;font-weight:600;text-decoration:none}
.guide-nav a:hover{color:var(--deck-cyan);background:var(--deck-bg)}
.guide-section h2{font-size:1.3rem;font-weight:700;letter-spacing:-.02em;margin:0 0 10px;color:var(--deck-text)}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
.guide-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.guide-card{padding:18px;border:1px solid var(--deck-line);border-radius:10px;background:var(--deck-bg)}
.guide-card h3{font-size:1rem;font-weight:700;margin:0 0 8px;color:var(--deck-text)}
.guide-card p{font-size:.9rem;line-height:1.7;color:var(--deck-muted);margin:0}
.step-number{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--deck-cyan);color:var(--deck-bg);font-size:.85rem;font-weight:700;margin-bottom:12px}
.prompt-box{margin:20px 0 14px;padding:20px;border:1px solid var(--deck-line);border-radius:10px;background:var(--deck-bg);color:var(--deck-text);font:.9rem/1.75 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
.copy-status{display:inline-block;color:var(--deck-green);font-size:.85rem;margin:8px 12px}
.warning-note{margin-top:20px;padding:12px 16px;border-left:3px solid var(--deck-gold);color:var(--deck-muted);line-height:1.7;font-size:.9rem}
.checklist,.source-list{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:10px}
.checklist li{position:relative;padding:14px 16px 14px 42px;background:var(--deck-bg);border:1px solid var(--deck-line);border-radius:8px;color:var(--deck-muted);line-height:1.7}
.checklist li::before{content:'✓';position:absolute;left:16px;color:var(--deck-green);font-weight:700}
.source-list a{display:block;padding:14px 16px;min-height:44px;border:1px solid var(--deck-line);border-radius:8px;color:var(--deck-cyan);text-decoration:none;overflow-wrap:anywhere}
.source-list a:hover{background:var(--deck-bg);text-decoration:underline}
.guide-footer{padding:12px;text-align:center;font-size:.8rem;color:var(--deck-muted-2)}
.guide-page :is(a,button,select):focus-visible{outline:3px solid var(--deck-cyan)!important;outline-offset:3px;box-shadow:none}
.skip-link{position:absolute;top:-100px;left:16px;z-index:50;padding:12px;background:var(--deck-panel-strong);color:var(--deck-cyan)}
.skip-link:focus{top:8px}
@media(max-width:900px){.guide-nav{position:static}.guide-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}html{scroll-padding-top:20px}}
@media(max-width:600px){.guide-page .app-shell,.guide-shell{width:calc(100% - 24px)}.guide-shell{padding-top:18px}.guide-hero,.guide-section{padding:18px}.guide-grid,.guide-grid.three{grid-template-columns:1fr}.guide-page .subtitle{display:block}.guide-page .top-actions{width:100%}.guide-page .language-select{font-size:16px}.guide-nav{gap:4px;padding:8px}.guide-nav a{flex:1 1 42%;font-size:.8rem}.guide-hero h2{max-width:none}.prompt-box{padding:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.guide-page *,.guide-page *::before,.guide-page *::after{animation:none!important;transition:none!important}}
