/* Shared landing and instruction navigation. */
.guide-page .site-header,.guide-page .header-inner{height:64px}
.back-to-top{display:none}.back-to-top[hidden]{display:none!important}
.guide-page .guide-global-toggle{border:0;box-shadow:0 8px 30px #0003;right:24px;left:auto}
.guide-page .guide-global-nav{border:0}.guide-page .guide-global-nav .account{display:flex;width:100%;max-width:none;box-sizing:border-box;justify-content:center;margin-top:12px}
.guide-number{border:0;box-shadow:0 4px 16px #0003}
.guide-main .guide-product-nav{box-shadow:0 8px 30px #0003;gap:24px;padding:16px 16px 16px 32px}
.guide-page .guide-global-nav a.account{width:100%;align-self:stretch}
@media(max-width:1100px){.guide-page .site-header,.guide-page .header-inner{height:64px}.guide-page .site-header .account,.guide-page .site-header .global-nav{display:none}.guide-page .guide-global-toggle{width:43px;height:43px;border-radius:13px;left:16px;right:auto}.guide-page .guide-global-nav{left:16px;right:auto;width:265px}.guide-page .header-inner{padding-left:70px;padding-right:24px}.guide-main .guide-product-nav{width:100%;max-width:none;margin-left:0;margin-right:0;top:68px}}
@media(max-width:600px){
 .back-to-top{position:fixed;right:16px;bottom:calc(104px + env(safe-area-inset-bottom));width:44px;height:44px;border:0;border-radius:12px;background:#292929e8;color:#fff;display:flex;align-items:center;justify-content:center;z-index:45;box-shadow:0 4px 18px #0005;backdrop-filter:blur(20px)}
 .guide-page .back-to-top{bottom:max(20px,env(safe-area-inset-bottom))}
 .guide-page .header-inner{padding-left:0;padding-right:64px}.guide-page .header-router-logo{width:118px;height:auto}.guide-page .guide-global-toggle{left:auto;right:16px;top:12px}.guide-page .guide-global-nav{left:auto;right:16px;top:64px}
 .guide-main{width:calc(100% - 32px)}.guide-page .guide-hero{min-height:calc(100svh - 256px);padding:36px 0 30px}
 .guide-main .guide-product-nav{display:grid;grid-template-columns:28px 1.35fr 1fr .8fr;gap:24px 8px;top:68px;width:100%;max-width:none;margin:0 0 32px;padding:20px 16px 16px;border-radius:16px!important;box-sizing:border-box}
 .guide-main .guide-product-nav>a:not(.button){display:flex!important;align-items:center;justify-content:center;font-size:12px;padding:0;white-space:nowrap}.guide-main .guide-product-nav .guide-back{width:28px;margin:0;font-size:24px}.guide-main .guide-product-nav>.button{grid-column:1/-1;display:flex;width:100%;min-width:0;min-height:50px;margin:0;padding:14px 12px;font-size:15px;border-radius:8px!important}
 .guide-page .site-footer{padding-bottom:100px}.guide-section,.guide-help{scroll-margin-top:230px}
}

/* One compact instruction toolbar after the hero; original height stays reserved. */
.guide-main .guide-product-nav.is-compact{position:fixed;top:12px;left:50%;right:auto;transform:translateX(-50%);display:grid;grid-template-columns:40px minmax(0,1fr) 43px;align-items:center;gap:10px;width:min(960px,calc(100% - 32px));max-width:none;height:60px;padding:8px;margin:0!important;box-sizing:border-box;border-radius:16px!important;z-index:50;background:#1c1c1ce8}
.guide-main .guide-product-nav.is-compact>a:not(.guide-back):not(.button){display:none!important}
.guide-main .guide-product-nav.is-compact .guide-back{display:flex!important;width:40px;height:44px;margin:0!important;padding:0;align-items:center;justify-content:center;font-size:24px;grid-column:auto}
.guide-main .guide-product-nav.is-compact>.button{grid-column:auto;width:100%;min-width:0;min-height:44px;height:44px;display:flex;padding:10px 16px;margin:0;border-radius:8px!important;font-size:16px;line-height:1.2}
.guide-main .guide-product-nav.is-compact>.guide-global-toggle{position:static!important;display:flex;width:43px;height:43px;min-width:0;margin:0;padding:0;transform:none;border-radius:10px;box-shadow:none}
@media(min-width:1101px){.guide-main .guide-product-nav.is-compact{height:68px;grid-template-columns:44px minmax(0,1fr) 52px}.guide-main .guide-product-nav.is-compact>.button{height:52px}.guide-main .guide-product-nav.is-compact>.guide-global-toggle{width:52px;height:52px}}

/* Connection selector uses the same selected/unselected colours as the bundle picker. */
.guide-main .connection-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;background:#242424;padding:5px;border-radius:8px;flex-direction:row}
.guide-main .connection-picker button{min-width:0;min-height:58px;padding:14px 18px;border-radius:8px;background:transparent;color:#ddd;font-size:16px;line-height:1.35}
.guide-main .connection-picker button:hover{background:#353535;color:#fff}
.guide-main .connection-picker button[aria-pressed=true]{background:#fff;color:#121212}
.guide-main .connection-picker button[aria-pressed=true]:hover{background:#e0e0e0;color:#121212}
@media(max-width:600px){.guide-main .connection-picker button{font-size:14px;padding:12px 8px;min-height:58px}}
