/* The shell moves the same primary navigation between the header and the phone dock. */
#desktop-nav-slot{display:flex;align-self:stretch}#mobile-nav-slot{display:none}
@media (max-width:640px){
 :root{--phone-inset:clamp(15px,4.8vw,22px);--phone-dock:62px;--phone-safe-bottom:env(safe-area-inset-bottom,0px);--phone-safe-top:env(safe-area-inset-top,0px);--phone-clear:calc(var(--phone-dock) + var(--phone-safe-bottom) + 23px);}
 html{scrollbar-gutter:auto;scroll-padding-block:calc(64px + var(--phone-safe-top)) var(--phone-clear)}
 body{padding-bottom:var(--phone-clear);background:var(--canvas);}
 .shell{width:min(100% - 2 * var(--phone-inset),var(--width));}
 .topbar{padding-top:var(--phone-safe-top);border-color:#ffffff15;background:#0b0c12ed;}
 .top-inner{width:auto;margin-inline:max(var(--phone-inset),env(safe-area-inset-left,0px)) max(var(--phone-inset),env(safe-area-inset-right,0px));min-height:57px;padding:4px 0;display:flex;align-items:center;justify-content:space-between;gap:8px;}
 #desktop-nav-slot:empty{display:none}.top-inner .brand{gap:7px;min-height:44px;}.brand-type strong{font-size:1.38rem}.brand-type small{font-size:.58rem}.mark-stack{width:34px;height:34px}
 .top-aux{gap:3px}.top-aux .account-nav{min-height:44px;border:0;border-radius:22px;padding:6px 8px;background:transparent;color:#e0deeb;font-size:.81rem;gap:5px;}.top-aux .account-nav .icon{display:block;width:17px;height:17px}.top-aux .motion-toggle{width:44px;height:44px;}
 #mobile-nav-slot{
   display:block;
   position:fixed;
   z-index:60;
   bottom:calc(10px + var(--phone-safe-bottom));
   left:max(14px,calc(env(safe-area-inset-left,0px) + 8px));
   right:max(14px,calc(env(safe-area-inset-right,0px) + 8px));
   max-width:398px;
   margin-inline:auto;
 }
 #mobile-nav-slot .main-nav {
   display: grid;
   width: 100%;
   grid-template-columns: repeat(4, minmax(0, 1fr));
   align-items: stretch;
   min-height: var(--phone-dock);
   padding: 2px 9px;
   gap: 2px;
   border: 1px solid #eef0ff16;
   border-top-color: #eef0ff24;
   border-radius: 24px;
   background: linear-gradient(180deg, #1c1e26ed, #16171ded);
   box-shadow: 0 10px 26px #0007;
   -webkit-backdrop-filter: blur(20px) saturate(118%);
   backdrop-filter: blur(20px) saturate(118%);
 }
 #mobile-nav-slot .nav-link {
   min-height: 44px;
   min-width: 0;
   flex-direction: column;
   gap: 4px;
   border-radius: 16px;
   color: #b8bac7;
   font-size: 11px;
   line-height: 14px;
 }
 #mobile-nav-slot .nav-link .nav-icon{width:22px;height:22px;}
 #mobile-nav-slot .nav-link[aria-current=page]{color:#f6f6fc;font-weight:620;}
 #mobile-nav-slot .nav-link[aria-current=page] .nav-icon{color:#d7dfff;}
 #mobile-nav-slot .nav-jelly::after,
 #mobile-nav-slot .main-nav:not([data-jelly]) .nav-link[aria-current=page]::after {
   z-index:-1;
   top:calc(50% - 24px);
   bottom:auto;
   width:min(39px,75%);
   height:30px;
   border-radius:20px;
   background:linear-gradient(160deg,#cdd8ff23,#a6b9fa0c);
   box-shadow:inset 0 1px #ebefff13;
 }
 #mobile-nav-slot .nav-link,.hero-actions .action-button{-webkit-tap-highlight-color:transparent;}
 #mobile-nav-slot .nav-link:active,#mobile-nav-slot .nav-link:active .nav-icon{color:#fff;}
 .hero-actions .action-button:active{transform:translateY(1px);filter:brightness(.92);}
 :root[data-zone=auth] #mobile-nav-slot,:root[data-soft-keyboard=on] #mobile-nav-slot{display:none;}
 :root[data-zone=auth],:root[data-soft-keyboard=on]{--phone-clear:calc(12px + var(--phone-safe-bottom));}
 :root[data-zone=auth] .top-aux #account-nav{visibility:hidden;pointer-events:none;}
 .stage-transition{top:calc(var(--phone-safe-top) + 57px)}
 .toast{bottom:calc(var(--phone-clear) + 5px);left:var(--phone-inset);right:var(--phone-inset);max-width:460px;margin-inline:auto;}
 .foot{margin-top:auto;background:#0e1018;border-color:#b3c0ee23}.foot-inner{min-height:59px;gap:5px 11px;color:#aeb3c8;}.foot a{min-height:44px;}.foot .foot-name span{display:none;}
 .home .hero{padding:0;grid-template-rows:minmax(clamp(330px,86vw,425px),auto) auto;text-align:left;}
 .hero .hero-copy{align-self:start;padding:clamp(27px,7.7vw,41px) 0 65px;width:calc(100% - 2 * var(--phone-inset));z-index:3;}
 .hero-copy .hero-kicker{justify-content:flex-start;gap:8px;margin:0 0 12px;color:#d0d3ec;letter-spacing:.16em;font-size:.64rem;font-weight:630;}
 .hero-copy .hero-kicker span{width:20px;background:#c6ceff;}
 .hero .hero-copy h1{font-size:clamp(3.02rem,13.5vw,4.7rem);font-weight:710;line-height:1.06;letter-spacing:-.05em;white-space:nowrap;}
 .hero .hero-copy h1 span{color:#c3d0ff;}
 .hero-copy .hero-lead{max-width:100%;margin-top:10px;color:#d4d4df;font-size:clamp(.9rem,3.9vw,1.04rem);line-height:1.55;}
 .hero-copy .hero-actions{justify-content:flex-start;gap:8px;margin-top:19px;}
 .hero-actions .action-button{min-height:46px;padding:8px 13px;font-size:.84rem;}
 .hero .galaxy-stage{grid-row:1;grid-column:1;width:100%;height:100%;margin:0;z-index:0;}
 .galaxy-stage .galaxy-scene{mask-image:linear-gradient(to bottom,black 86%,#0009 100%);}
 .galaxy-stage .galaxy-parallax{inset:-10% -8%;}
 .galaxy-stage .galaxy-plate{object-fit:cover;object-position:65% 47%;}
 .galaxy-stage .galaxy-shade{background:linear-gradient(101deg,#080a11e8 0%,#090a13ac 21%,#090b1740 49%,transparent 73%),linear-gradient(180deg,#0b0b0f95 0%,transparent 42%,#0a0b183d 77%,#0b0b0fc9 100%);}
 .galaxy-stage .galaxy-brand{left:auto;right:max(23px,var(--phone-inset));top:auto;bottom:18px;gap:1px;align-items:end;transform:translate3d(calc(var(--galaxy-x)*.3),calc(var(--galaxy-y)*.2),0);}
 .galaxy-brand .galaxy-wordmark{display:none;}
 .galaxy-brand .galaxy-slogan{font-family:Georgia,'Songti SC',SimSun,serif;font-size:clamp(1.25rem,5.9vw,1.7rem);font-weight:500;letter-spacing:.18em;color:#e8e5f2;text-shadow:0 2px 13px #110f20;}
 .hero .model-strip{position:relative;grid-row:2;grid-column:1;display:grid;grid-template-columns:minmax(0,1fr) 48px;grid-template-rows:auto auto;row-gap:0;column-gap:4px;min-height:76px;margin:0 auto;width:calc(100% - 2 * var(--phone-inset));padding:0 0 2px;border-top-color:#6263795e;border-bottom-color:#343641;background:none;}
 .model-strip .model-strip-label{grid-column:1;grid-row:1;display:flex;align-items:center;gap:7px;padding:9px 0 0;font-size:.77rem;color:#e3e2f0;}.model-strip-label small{font-size:.63rem;}
 .model-strip .model-strip-link{grid-row:1 / 3;grid-column:2;width:44px;height:44px;align-self:center;justify-self:end;background:#1b1c27;border:1px solid #393b4b;border-radius:50%;}
 .model-strip .model-strip-window{grid-column:1;grid-row:2;}
 .model-loop-item{font-size:.8rem;}
 html[data-motion=off] .model-strip-window{overflow-x:auto;scrollbar-width:thin;mask-image:none;}
 html[data-motion=off] .model-strip-track{width:max-content;}
 html[data-motion=off] .model-loop{width:max-content;}
 html[data-motion=off] .model-loop-item{width:auto;gap:5px;padding-inline:8px;min-height:30px;font-size:.76rem;}
 html[data-motion=off] .model-loop-item img{width:16px;height:16px;}
 .home .verse{padding:13px 2px 16px;border-top:0;border-bottom:1px solid #242530;display:block;}
 .home .verse-index{display:none;}.home .verse p{color:#b3b1c6;text-align:left;font-size:.84rem;letter-spacing:.075em;line-height:1.62;}
 .home .route-section{padding:26px 0;}
 .home .route-heading{margin:0 0 12px;}.home .route-heading .section-code{display:none;}.home .route-heading h2{font-size:1.55rem;line-height:1.23;margin:0;letter-spacing:-.04em;}
 .home .route-heading>p{margin:4px 0 0;font-size:.81rem;color:#abaabc;}
 .home .route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .home .route-card{padding:13px 12px;min-height:108px;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;align-items:start;gap:6px 5px;position:relative;background:linear-gradient(147deg,#1b1c26,#13131a);border-radius:12px;}
 .home .route-card .route-icon{grid-column:1;grid-row:1;}.home .route-arrow{grid-column:2;grid-row:1;width:14px;height:14px;align-self:start;}.home .route-card>span:nth-child(2){grid-row:2;grid-column:1/-1;}
 .home .route-card b{font-size:.88rem;}.home .route-card small{font-size:.72rem;line-height:1.48;margin-top:2px;}
 .home .route-card:last-child{grid-column:1 / -1;min-height:66px;grid-template-columns:32px minmax(0,1fr) 18px;grid-template-rows:auto;align-items:center;gap:9px;}
 .home .route-card:last-child>span:nth-child(2){grid-row:1;grid-column:2;}.home .route-card:last-child .route-arrow{grid-column:3;align-self:center;}
 .home .quickstart{padding-bottom:30px;}
 /* Mobile catalog: compact masthead, search first, then horizontally pannable supplier chips. */
 .catalog-page{padding-top:18px;padding-bottom:28px;}
 .catalog-header{min-height:0;gap:10px;padding:17px 17px 14px;border-radius:14px;}
 .catalog-eyebrow{font-size:.62rem;margin-bottom:8px;}
 .catalog-header h1{font-size:clamp(1.9rem,8.5vw,2.6rem);font-weight:680;}
 .catalog-lead{font-size:.81rem;margin-top:6px;}
 .catalog-notice{font-size:.7rem;align-items:center;gap:6px;padding-left:0;border:0}.catalog-notice .catalog-icon{width:14px;height:14px;margin:0}.catalog-notice p{display:none;}
 .catalog-directory{margin-top:19px;}
 .catalog-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:7px;}
 .catalog-search-field{order:-1;}.catalog-search-field .catalog-label,.catalog-filter-field .catalog-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap;}
 .catalog-search{height:47px;border-radius:12px;background:#161720;font-size:16px;}
 .catalog-filters{display:flex;flex-wrap:nowrap;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;gap:5px;padding:2px 0;scroll-snap-type:x proximity;}
 .catalog-filters::-webkit-scrollbar{display:none;}
 .catalog-filter{flex:0 0 auto;min-height:44px;min-width:44px;padding:6px 13px;border-radius:22px;border:1px solid #393944;font-size:.82rem;scroll-snap-align:start;}
 .catalog-filter[aria-pressed=true]{border-color:#767392;background:#323044;color:#e6e3ff;}
 .catalog-results{margin:12px 0 9px;min-height:32px;}.catalog-results h2{font-size:1.16rem;}.catalog-reset{min-height:44px;}
 .catalog-grid{display:grid;grid-template-columns:1fr;gap:0;border:1px solid #30303c;border-radius:12px;background:#14141b;overflow:hidden;}
 .catalog-card{display:grid;grid-template-columns:minmax(0,1fr);border:0;border-radius:0;background:transparent;box-shadow:none;min-height:0;}
 .catalog-card:not([hidden]) ~ .catalog-card:not([hidden]){border-top:1px solid #30313d;}
 .catalog-card-main{padding:13px 13px 4px 52px;position:relative;min-height:0;}
 .catalog-provider{font-size:.66rem;gap:0;line-height:1.37;color:#b4b3c3;}
 .catalog-logo{position:absolute;left:12px;top:16px;width:30px;height:30px;border-radius:9px;}
 .catalog-logo img{width:17px;height:17px;}
 .catalog-card .catalog-name{font-size:1.02rem;margin:3px 0 5px;font-weight:630;line-height:1.23;}
 .catalog-meta{margin:0;gap:4px 7px;font-size:.69rem;}.catalog-tags li{font-size:.62rem;padding:1px 4px;}.catalog-protocol{font-size:.69rem;}
 .catalog-id-row{min-height:44px;align-items:center;margin:0 0 0 49px;padding:0 6px 2px 3px;background:none;border:0;}
 .catalog-id>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .catalog-id code{font-size:.73rem;color:#bfc4dc;}.catalog-copy{min-width:46px;min-height:44px;padding-inline:6px;border-color:transparent;background:none;color:#c8cae0;border-radius:7px;}
 /* Personal hub: member identity and navigation never depend on modeled billing data. */
 .profile-view{padding-block:26px 34px;}
 .profile-view .panel-header{position:relative;display:block;margin-bottom:16px;}.profile-view .panel-header .section-code{display:none;}.profile-view .panel-header h1{margin-top:0;font-size:clamp(1.95rem,8.1vw,2.5rem);}.profile-view .panel-header .panel-lead{font-size:.81rem;margin-top:6px;}
 .profile-view .profile-state{position:absolute;top:1px;right:0;border-radius:20px;font-size:.66rem;}
 .profile-overview{gap:10px;}
 .profile-box{border-radius:15px;padding:16px;}
 .profile-identity{background:radial-gradient(ellipse at 98% 0%,#37354d80,transparent 58%),#171720;}
 .profile-subscription{background:#16161d;}
 .profile-box-heading{gap:7px;margin-bottom:11px;}.profile-box-heading .profile-icon{width:25px;height:25px;border-radius:6px;}.profile-box-heading .profile-icon .panel-icon{width:14px;height:14px;}
 .profile-user{margin-bottom:8px;min-height:45px;gap:10px;}.profile-user h3{font-size:1.45rem;}.profile-avatar{width:44px;height:44px;}
 .profile-signin-row{margin:0 0 6px;}.profile-signin-row a,.profile-logout,.account-actions a,.account-actions button{min-height:44px;}
 .profile-key{border-radius:13px;}.profile-key ol{display:grid;gap:7px;}.profile-key .panel-text-link{align-self:start;}
}
@media(max-width:359px){
 .top-aux{gap:0;}.top-aux .account-nav{padding-inline:4px;font-size:.76rem;}.top-inner{gap:4px;}
 .hero .hero-copy h1{font-size:3.05rem;}.hero-copy .hero-lead{font-size:.88rem;}.hero-copy .hero-actions{gap:6px;}
 .home .route-card{padding-inline:10px;}.model-strip .model-strip-link{width:44px;height:44px;}
}
@media(max-width:640px) and (orientation:landscape) and (max-height:440px){
 :root{--phone-dock:54px;}.top-inner{min-height:48px;}.stage-transition{top:calc(var(--phone-safe-top) + 48px)}
 #mobile-nav-slot .main-nav{min-height:54px;padding-block:1px;} #mobile-nav-slot .nav-link{min-height:48px;}
}
@media(forced-colors:active) and (max-width:640px){#mobile-nav-slot .main-nav{border:1px solid CanvasText;background:Canvas}#mobile-nav-slot .nav-link[aria-current=page]{border:1px solid Highlight;color:Highlight}.galaxy-slogan{color:CanvasText}}
