/* Shared phone shell for the public site and control panel. */
.mobile-app-tabs{display:none}
.mobile-dashboard{display:none}
@media(max-width:900px){
  html{scroll-padding-top:72px}
  body{min-width:0;overflow-x:hidden;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
  body.admin-surface,body.home-surface,body.support-surface{background:#f5f7fb!important}
  .site-nav,.support-surface .site-nav{position:sticky!important;top:0;z-index:70;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e3e9f3!important;backdrop-filter:blur(16px)}
  .admin-site-nav{height:60px!important}
  .site-nav-inner,.admin-site-nav .site-nav-inner{height:60px!important;min-height:60px;display:flex!important;flex-wrap:nowrap!important;gap:12px!important;padding:0 16px!important}
  .site-mobile-menu{order:2;margin-left:auto;flex:0 0 40px;width:40px;height:40px;border-radius:12px}
  .brand{min-width:0;gap:8px;font-size:21px!important;color:#10284b!important}
  .brand i{width:34px;height:34px;font-size:16px;border-color:#176fd1!important}
  .brand img{max-width:34px!important;max-height:34px!important}
  .site-nav .nav-actions{display:none!important}
  .site-nav .nav-links{top:60px!important;max-height:calc(100dvh - 150px);overflow-y:auto}
  .mobile-app-tabs{position:fixed;z-index:100;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(65px + env(safe-area-inset-bottom,0px));padding:4px 5px env(safe-area-inset-bottom,0px);border-top:1px solid #dce5f0;background:rgba(255,255,255,.97);box-shadow:0 -6px 24px rgba(25,51,91,.08);backdrop-filter:blur(16px)}
  .mobile-app-tabs a{min-width:0;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-radius:12px;color:#687a92;text-decoration:none;font-size:21px;line-height:1}
  .mobile-app-tabs a[aria-current="page"]{color:#176fd1;background:#edf5ff}
  .mobile-app-tabs small{font-size:11px;font-weight:700;line-height:1.4;white-space:nowrap}
  .mobile-app-tabs a:focus-visible,.site-mobile-menu:focus-visible{outline:3px solid #77b7fc;outline-offset:-2px}
  body.admin-surface .admin-sidebar{top:60px!important;bottom:calc(65px + env(safe-area-inset-bottom,0px));height:auto!important;max-height:none!important;overflow-y:auto}
  body.site-menu-open:not(.admin-surface) .site-nav .nav-links{max-height:calc(100dvh - 145px)}
  body.site-menu-open:not(.admin-surface) .site-nav .nav-actions{display:flex!important;position:absolute;top:60px;right:0;left:0;z-index:2;margin:0;padding:10px 16px;background:#fff;flex-wrap:wrap;box-shadow:0 10px 20px rgba(25,51,91,.08)}
  body.site-menu-open:not(.admin-surface) .site-nav .nav-links{padding-top:75px}
  body.admin-surface>main,body.admin-surface main.wrap,body.admin-surface main.support-admin{max-width:none!important;margin:0!important;padding:20px 16px 30px!important}
  body.admin-surface main h1,.page-title h1{font-size:27px!important;line-height:1.25!important}
  body.admin-surface main .card,body.admin-surface main .ma-card,body.admin-surface main .rc-device,body.admin-surface main .rc-stat{border-radius:16px!important;box-shadow:0 4px 18px rgba(25,51,91,.05)!important}
  body.admin-surface main :is(input,select,textarea,button){max-width:100%}
  body.admin-surface main :is(button,.button,a.btn){min-height:40px}
  .home-surface .hero{min-height:0!important;padding:42px 18px 50px!important;border-radius:0 0 22px 22px!important;text-align:left}
  .home-surface .hero h1{margin:20px 0 12px!important;font-size:clamp(31px,8vw,42px)!important;line-height:1.18!important}
  .home-surface .hero>p{font-size:15px!important;line-height:1.65}
  .home-surface .glow-search{width:100%;margin:28px 0 0;padding:12px;border-radius:18px;animation:none;box-shadow:0 10px 28px rgba(13,37,99,.2)}
  .home-surface .glow-search form{border-radius:12px}
  .home-surface .glow-search input{padding:12px;font-size:16px}
  .home-surface .features{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0!important;padding:18px 16px 32px!important}
  .home-surface .features article{min-height:150px!important;padding:18px!important;border-radius:17px!important}
  .home-surface .features h2{margin:22px 0 6px!important;font-size:17px!important;line-height:1.3}
  .home-surface .features p{font-size:12px;line-height:1.5}
  .home-surface .cta{min-height:0!important;padding:30px 18px 45px!important}
  .home-surface .cta h2{font-size:25px!important}
  .dyna-hero{padding:34px 16px 28px!important;border-radius:0 0 22px 22px}
  .dyna-hero-inner{text-align:left!important}
  .dyna-hero h1{margin:12px 0 22px!important;font-size:clamp(30px,8vw,40px)!important;line-height:1.2!important}
  .dyna-tabs{justify-content:flex-start!important;gap:18px!important;font-size:13px!important}
  .dyna-search{height:54px!important;padding:5px!important}
  .dyna-search input{padding-inline:10px!important;font-size:14px!important}
  .dyna-search button{min-width:68px!important;font-size:13px!important}
  .dyna-quick{justify-content:flex-start!important;flex-wrap:nowrap!important;overflow-x:auto;padding-bottom:4px}
  .dyna-quick a{white-space:nowrap}
  .dyna-trust{width:100%!important;gap:0!important;padding:18px 8px!important;background:#fff}
  .dyna-trust strong{font-size:21px!important}
  .dyna-trust span{font-size:11px!important}
  .dyna-section,.dyna-faq{width:100%!important;padding:26px 16px!important;background:#f5f7fb}
  .dyna-section>header{margin-bottom:18px!important;text-align:left!important}
  .dyna-section h2,.dyna-resources h2,.dyna-faq h2{font-size:24px!important;line-height:1.3!important}
  .dyna-service-grid,.dyna-why>div,.dyna-resources>div{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .dyna-service-grid>a,.dyna-why article,.dyna-resources a{min-height:0!important;padding:16px!important;border-radius:16px!important}
  .dyna-service-grid h3{margin:16px 0 6px!important;font-size:16px!important}
  .dyna-service-grid p,.dyna-why p,.dyna-resources p{font-size:12px!important;line-height:1.55!important}
  .dyna-service-grid b{margin-top:12px!important}
  .dyna-spotlight{padding:28px 16px!important;gap:18px!important}
  .dyna-spotlight h2{font-size:26px!important}
  .dyna-spotlight aside div{padding:14px!important}
  .dyna-regions>div{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .dyna-regions article{padding:16px!important}
  .dyna-resources{padding:26px 16px!important}
  .dyna-resources header{text-align:left!important}
  .dyna-resources>div{margin-top:18px!important}
  .dyna-faq details{padding-block:16px!important}
  .dyna-cta{padding:28px 16px!important;gap:15px!important}
  .dyna-cta h2{font-size:24px!important}
  .store-wrap{width:100%!important;padding:20px 16px 35px!important}
  .store-hero{gap:16px!important;padding:20px!important;border-radius:18px!important;box-shadow:none!important}
  .store-heading h1,.store-hero h1{font-size:28px!important;line-height:1.25!important}
  .store-hero aside{padding:18px!important}
  .store-hero aside{display:none!important}
  .store-hero>div>div{flex-direction:row!important;flex-wrap:wrap!important}
  .store-categories{margin:0 -16px 18px!important;padding:4px 16px 9px!important}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .product-card{border-radius:16px!important;box-shadow:0 4px 16px rgba(25,51,91,.05)!important}
  .product-card>div{padding:12px!important}
  .product-card h2{min-height:0!important;font-size:15px!important}
  .product-card p{font-size:12px!important}
  .product-card footer{align-items:stretch!important;flex-direction:column!important}
  .product-card footer strong{font-size:18px!important}
  .product-card button{min-height:40px!important}
  .cart-list,.checkout-card,.cart-summary,.order-list article,.store-empty{padding:18px!important;border-radius:16px!important}
  .support-hero{padding:30px 16px!important;border-radius:0 0 20px 20px!important}
  .support-hero h1{font-size:28px!important}
  .support-body{padding:22px 16px 34px!important}
  .support-item{border-radius:15px!important}
  .account,.auth-shell{padding:20px 16px 34px!important}
  .auth-card,.host-card,.empty-state{border-radius:18px!important}
  .auth-card h1{font-size:27px!important}
  .site-announcement{font-size:12px!important;line-height:1.5}
  body .gowan-floating-contact{display:none!important}
  :is(main,section,article,.card,.host-card){min-width:0}
  :is(main,section,article,.card,.host-card) img{max-width:100%;height:auto}
}
@media(max-width:370px){.home-surface .features,.dyna-service-grid,.dyna-why>div,.dyna-resources>div{grid-template-columns:1fr!important}.mobile-app-tabs small{font-size:10px}}

/* Compact phone application layout. Keep the desktop page and all its content intact. */
@media(max-width:900px){
  /* Admin sign-in uses its own header, outside portal_header(). */
  body.admin-login-page{min-height:100dvh;padding-bottom:0!important;background:#f5f7fb!important}
  .admin-login-page:before,.admin-login-page:after{display:none!important}
  .admin-login-page .login-site-nav{height:52px!important;padding:0 14px!important;box-shadow:none!important}
  .admin-login-page .login-brand{gap:7px!important;font-size:18px!important;letter-spacing:-.02em!important}
  .admin-login-page .login-brand i{width:30px!important;height:30px!important;border-radius:8px 3px 8px 3px!important;font-size:15px!important}
  .admin-login-page .login-home-link{padding:6px 10px!important;border-radius:8px!important;font-size:11px!important}
  .admin-login-page>.wrap{padding:0!important}
  .admin-login-page .login-layout{display:block!important;min-height:calc(100dvh - 52px)!important;max-width:560px!important;margin:auto!important;padding:14px 12px 26px!important}
  .admin-login-page .login-intro{display:none!important}
  .admin-login-page .login.card{max-width:none!important;margin:0!important;padding:18px 16px!important;border-radius:13px!important;box-shadow:0 5px 20px rgba(25,57,112,.06)!important}
  .admin-login-page .login-card-head{gap:10px!important;margin:0!important}
  .admin-login-page .login-lock{width:34px!important;height:34px!important;border-radius:9px!important;font-size:20px!important}
  .admin-login-page .login-card-head .eyebrow{font-size:10px!important;letter-spacing:.08em!important}
  .admin-login-page .login-card-head h2{margin:1px 0 0!important;font-size:19px!important}
  .admin-login-page .login>p{margin:10px 0 17px!important;font-size:12px!important}
  .admin-login-page .login form{gap:11px!important}
  .admin-login-page .login label{gap:5px!important;font-size:12px!important}
  .admin-login-page .login input{height:44px!important;padding:0 12px!important;font-size:16px!important}
  .admin-login-page .login button:not(.admin-captcha-refresh){height:44px!important;margin-top:0!important;font-size:14px!important;box-shadow:none!important}
  .admin-login-page .admin-login-note{margin:0!important;font-size:11px!important}
  .admin-login-page .login-back{display:none!important}
  .admin-login-page .admin-captcha-row input{min-height:44px!important}
  .admin-login-page .admin-captcha-image,.admin-login-page .admin-captcha-refresh{height:44px!important}
  /* Member devices and order history use the same compact page rhythm. */
  body.account-surface .page-title{margin-bottom:12px!important}
  body.account-surface .page-title .kicker{font-size:10px!important}
  body.account-surface .page-title h1{margin:4px 0!important}
  body.account-surface .member-ip-toolbar{position:relative!important;top:auto!important;gap:6px!important;margin-bottom:10px!important;padding:10px!important;border-radius:11px!important;box-shadow:none!important}
  body.account-surface .member-ip-toolbar label{font-size:12px!important}
  body.account-surface .member-ip-toolbar>div{height:42px!important;padding:0 9px!important;border-radius:8px!important}
  body.account-surface .member-ip-toolbar input{font-size:16px!important}
  body.account-surface .member-ip-toolbar p{display:none!important}
  body.account-surface .member-device-summary{gap:6px!important;margin-bottom:10px!important}
  body.account-surface .member-device-summary span{min-width:0!important;padding:7px 9px!important;border-radius:9px!important;font-size:11px!important}
  body.account-surface .member-device-summary b{font-size:14px!important}
  body.account-surface .host-card{padding:12px!important}
  body.account-surface .host-card h2{font-size:16px!important}
  body.account-surface .host-card dl{margin:11px 0!important}
  body.account-surface .host-card dl{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.account-surface .host-card dl>div{min-width:0!important;padding:8px!important}
  body.account-surface .host-card .member-online-ip{grid-column:1/-1!important}
  body.account-surface .host-card dt{font-size:10px!important}
  body.account-surface .host-card dd{margin-top:3px!important;font-size:12px!important;overflow-wrap:anywhere}
  .store-surface .store-heading{gap:7px!important;margin:0 0 12px!important}
  .store-surface .store-heading span{font-size:10px!important}
  .store-surface .store-heading h1{margin:3px 0!important;font-size:21px!important}
  .store-surface .store-heading p{font-size:12px!important}
  .store-surface .store-heading>a{min-height:36px!important;padding:8px 12px!important;font-size:11px!important}
  .store-surface .order-list{gap:8px!important}
  .store-surface .order-list article{padding:12px!important;border-radius:11px!important}
  .store-surface .order-list article header{gap:7px!important}
  .store-surface .order-list header b{font-size:13px!important}
  .store-surface .order-list time,.store-surface .order-list p,.store-surface .order-list small{font-size:11px!important}
  .store-surface .order-list article>div{gap:3px!important}
  .store-surface .order-list article>div p{margin:0!important}
  .store-surface .order-list .order-detail-link{margin-top:10px!important;padding-top:9px!important;font-size:12px!important}
  /* The administrator overview should behave like a compact status screen. */
  body.admin-surface .overview-hero{gap:10px!important;margin-bottom:10px!important;padding:13px!important;border-radius:12px!important;box-shadow:none!important}
  body.admin-surface .overview-hero h2{margin:5px 0 0!important;font-size:17px!important;line-height:1.35!important}
  body.admin-surface .overview-hero p{display:none!important}
  body.admin-surface .overview-live{font-size:10px!important}
  body.admin-surface .overview-hero-actions{width:100%;flex-direction:row!important;gap:7px!important}
  body.admin-surface .overview-hero-actions a{min-height:35px!important;flex:1;padding:7px 10px!important;border-radius:8px!important;font-size:11px!important;text-align:center!important}
  body.admin-surface .overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin-bottom:10px!important}
  body.admin-surface .overview-stat{min-height:91px!important;grid-template-columns:30px minmax(0,1fr)!important;gap:7px!important;padding:10px!important;border-radius:11px!important;box-shadow:none!important}
  body.admin-surface .overview-stat .overview-icon{width:30px!important;height:30px!important;border-radius:8px!important;font-size:16px!important}
  body.admin-surface .overview-stat small{font-size:10px!important}
  body.admin-surface .overview-stat strong{font-size:21px!important}
  body.admin-surface .overview-stat em{font-size:10px!important}
  body.admin-surface .overview-stat>b{grid-column:2;justify-self:start;padding:1px 4px;font-size:9px!important}
  body.admin-surface .overview-grid{grid-template-columns:1fr!important;gap:9px!important}
  body.admin-surface .overview-panel{padding:13px!important;border-radius:11px!important;box-shadow:none!important}
  body.admin-surface .overview-panel>header{margin-bottom:10px!important}
  body.admin-surface .overview-panel header h2{font-size:15px!important}
  body.admin-surface .overview-panel header>a{font-size:10px!important}
  body.admin-surface .commerce-metrics{gap:6px!important;margin-bottom:10px!important}
  body.admin-surface .commerce-metrics>div,body.admin-surface .commerce-metrics>a{padding:8px!important;border-radius:8px!important}
  body.admin-surface .commerce-metrics strong{font-size:17px!important}
  body.admin-surface .commerce-metrics small{font-size:10px!important}
  body.admin-surface .commerce-orders>a{grid-template-columns:66px minmax(0,1fr) 58px!important;gap:5px!important;min-height:50px!important;padding:7px!important}
  body.admin-surface .commerce-orders>a>em{grid-column:2/4!important;font-size:9px!important}
  body.admin-surface .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.admin-surface .overview-health{display:none!important}
  body.admin-surface .overview-attention:has(.attention-empty){display:none!important}
  body.admin-surface .overview-activity{display:none!important}
  body.admin-surface .overview-quick{order:-1!important}
  body.admin-surface .commerce-orders>a:nth-of-type(n+4){display:none!important}
  body.admin-surface .quick-grid>a{min-height:63px!important;padding:9px!important;border-radius:9px!important}
  body.admin-surface .quick-grid>a>span{display:none!important}
  /* Router list: a searchable list of concise device cards. */
  body.admin-surface .rc-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
  body.admin-surface .rc-stat{min-height:74px!important;padding:10px!important;border-radius:10px!important}
  body.admin-surface .rc-stat strong{font-size:23px!important}
  body.admin-surface .rc-tools{gap:7px!important;padding:10px!important;border-radius:10px!important}
  body.admin-surface .rc-tools input{min-height:40px!important;font-size:16px!important}
  body.admin-surface .rc-tools button,body.admin-surface .rc-tools a{min-height:36px!important;padding:7px 10px!important;font-size:11px!important}
  body.admin-surface .rc-help:not(.rc-actions .rc-help){font-size:11px!important}
  body.admin-surface .rc-device{margin-bottom:8px!important;padding:11px!important;border-radius:11px!important}
  body.admin-surface .rc-device-head{gap:7px!important}
  body.admin-surface .rc-remark-title input{min-height:38px!important;font-size:15px!important}
  body.admin-surface .rc-remark-title button{min-height:36px!important;padding:7px 9px!important;font-size:11px!important}
  body.admin-surface .rc-carrier,body.admin-surface .rc-reported{display:none!important}
  body.admin-surface .rc-device-info span{display:none!important}
  body.admin-surface .rc-meta{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:9px 0!important}
  body.admin-surface .rc-meta>div{min-width:0!important;padding:7px!important;border-radius:8px!important}
  body.admin-surface .rc-meta dt{font-size:10px!important}
  body.admin-surface .rc-meta dd{margin-top:2px!important;font-size:11px!important;overflow-wrap:anywhere}
  body.admin-surface .rc-live-job.is-finished{display:none!important}
  body.admin-surface .rc-actions summary,body.admin-surface .rc-acl summary,body.admin-surface .rc-inventory summary{min-height:38px!important;padding:8px 10px!important;font-size:12px!important}
  /* Store management keeps every control while fitting phone width. */
  body.admin-surface .shop-admin .dj-product-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:10px!important}
  body.admin-surface .shop-admin .dj-product-tools input[type=search]{grid-column:1/-1!important}
  body.admin-surface .shop-admin .dj-product-tools input,body.admin-surface .shop-admin .dj-product-tools select,body.admin-surface .shop-admin .dj-product-tools button{width:100%!important;min-height:38px!important;padding:7px 9px!important;font-size:12px!important}
  body.admin-surface .shop-admin .dj-product-tools button{grid-column:2!important}
  body.admin-surface .shop-admin .dj-product-row{display:grid!important;grid-template-columns:22px minmax(0,1fr) auto!important;gap:7px!important;min-height:0!important;padding:10px!important}
  body.admin-surface .shop-admin .dj-product-row>input[type=checkbox]{grid-column:1!important;grid-row:1!important;align-self:center!important}
  body.admin-surface .shop-admin .dj-product-id{display:none!important}
  body.admin-surface .shop-admin .dj-product-main{grid-column:2/4!important;grid-row:1!important;min-width:0!important}
  body.admin-surface .shop-admin .dj-product-main img{width:46px!important;height:46px!important;object-fit:cover!important}
  body.admin-surface .shop-admin .dj-product-main b{font-size:12px!important;line-height:1.35!important}
  body.admin-surface .shop-admin .dj-badges{gap:3px!important}
  body.admin-surface .shop-admin .dj-badge{padding:2px 5px!important;font-size:9px!important}
  body.admin-surface .shop-admin .dj-product-price{grid-column:2!important;grid-row:2!important;font-size:14px!important}
  body.admin-surface .shop-admin .dj-product-category{grid-column:2!important;grid-row:3!important;font-size:10px!important}
  body.admin-surface .shop-admin .dj-sort-input{grid-column:3!important;grid-row:3!important;width:54px!important;min-height:32px!important;font-size:12px!important}
  body.admin-surface .shop-admin .dj-product-status{grid-column:3!important;grid-row:2!important;min-height:30px!important;padding:5px 8px!important;font-size:10px!important}
  body.admin-surface .shop-admin .dj-product-actions{grid-column:1/-1!important;grid-row:4!important;display:flex!important;gap:7px!important;margin-top:4px!important}
  body.admin-surface .shop-admin .dj-product-actions a,body.admin-surface .shop-admin .dj-product-actions button{min-height:32px!important;padding:6px 12px!important;font-size:11px!important}
  html{scroll-padding-top:56px}
  body{padding-bottom:calc(62px + env(safe-area-inset-bottom,0px));font-size:14px}
  .site-nav,.admin-site-nav{height:52px!important;min-height:52px!important}
  .site-nav-inner,.admin-site-nav .site-nav-inner{height:52px!important;min-height:52px!important;padding:0 14px!important}
  .site-mobile-menu{width:36px;height:36px;flex-basis:36px;padding:8px!important}
  .brand i,.admin-site-nav .brand i{width:30px!important;height:30px!important;font-size:15px!important}
  .brand b{display:inline!important;font-size:18px!important;letter-spacing:-.02em}
  .site-nav .nav-links{top:52px!important}
  body.admin-surface .admin-sidebar{top:52px!important;bottom:calc(60px + env(safe-area-inset-bottom,0px))!important}
  body.site-menu-open:not(.admin-surface) .site-nav .nav-actions{top:52px}
  .mobile-app-tabs{height:calc(58px + env(safe-area-inset-bottom,0px));padding:2px 5px env(safe-area-inset-bottom,0px);box-shadow:0 -3px 12px rgba(25,51,91,.06)}
  .mobile-app-tabs a{min-height:48px;gap:0;font-size:19px;border-radius:9px}
  .mobile-app-tabs small{font-size:10px}
  .mobile-dashboard{display:block;min-height:calc(100dvh - 110px);padding:16px 14px 30px;background:#f5f7fb;color:#142b4b}
  .home-surface .dyna-home,.home-surface .dyna-footer{display:none!important}
  .mobile-dashboard-welcome{padding:17px 18px 18px;border-radius:17px;background:linear-gradient(120deg,#163e79,#0d72bc);color:#fff}
  .mobile-dashboard-welcome>span{font-size:11px;opacity:.82;letter-spacing:.06em}
  .mobile-dashboard-welcome h1{margin:7px 0 3px;font-size:21px;line-height:1.3;letter-spacing:-.025em}
  .mobile-dashboard-welcome p{margin:0;color:#d6e9ff;font-size:12px;line-height:1.5}
  .mobile-dashboard-welcome form{display:flex;height:39px;gap:4px;margin-top:16px;padding:3px;border-radius:10px;background:#fff}
  .mobile-dashboard-welcome input{flex:1;min-width:0;padding:0 9px;border:0;outline:0;background:transparent;color:#142b4b;font:inherit;font-size:16px}
  .mobile-dashboard-welcome button{min-width:54px;border:0;border-radius:7px;background:#166ccc;color:#fff;font-size:12px;font-weight:700}
  .mobile-dashboard-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0 21px}
  .mobile-dashboard-actions a{display:flex;min-width:0;min-height:78px;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #e7ecf3;border-radius:13px;background:#fff;color:#203955;text-decoration:none;box-shadow:0 2px 7px rgba(30,62,100,.035)}
  .mobile-dashboard-actions i{display:grid;width:33px;height:33px;place-items:center;border-radius:10px;background:#eaf3ff;color:#176fd1;font-size:18px;font-style:normal;font-weight:700}
  .mobile-dashboard-actions span{font-size:11px;font-weight:700;white-space:nowrap}
  .mobile-dashboard-services>header{display:flex;align-items:end;justify-content:space-between;gap:8px;margin:0 2px 9px}
  .mobile-dashboard-services header span{font-size:10px;color:#6d829b}
  .mobile-dashboard-services h2{margin:2px 0 0;font-size:17px;line-height:1.35}
  .mobile-dashboard-services header>a{color:#176fd1;font-size:11px;text-decoration:none;white-space:nowrap}
  .mobile-dashboard-services>a{display:flex;min-height:66px;align-items:center;gap:12px;margin-bottom:8px;padding:10px 13px;border:1px solid #e6ebf2;border-radius:12px;background:#fff;color:#19334f;text-decoration:none}
  .mobile-dashboard-services>a>i{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:11px;background:#edf5ff;color:#176fd1;font-size:20px;font-style:normal}
  .mobile-dashboard-services>a:nth-of-type(2)>i{background:#eaf8f2;color:#198663}
  .mobile-dashboard-services>a:nth-of-type(3)>i{background:#fff3e6;color:#bf7626}
  .mobile-dashboard-services>a>span{display:grid;min-width:0;gap:3px}
  .mobile-dashboard-services b{font-size:14px}
  .mobile-dashboard-services small{color:#78899c;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mobile-dashboard-services em{margin-left:auto;color:#9aacc0;font-size:22px;font-style:normal}
  .mobile-dashboard-help{display:flex;align-items:center;gap:7px;margin-top:14px;padding:13px;border-radius:12px;background:#e8f1fb;font-size:11px}
  .mobile-dashboard-help span{color:#617c9c;white-space:nowrap}
  .mobile-dashboard-help strong{font-weight:650;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-dashboard-help a{margin-left:auto;color:#176fd1;text-decoration:none;white-space:nowrap}
  .store-wrap{padding:12px 12px 24px!important}
  .store-hero{min-height:0!important;margin-bottom:10px!important;padding:14px 15px!important;border-radius:12px!important}
  .store-hero>div>span{font-size:10px!important;letter-spacing:.06em!important}
  .store-hero h1{margin:4px 0!important;font-size:21px!important}
  .store-hero p{font-size:11px!important;line-height:1.5!important}
  .store-hero>div>div{display:none!important}
  .store-hero:before,.store-hero:after{display:none!important}
  .store-catalog-layout{gap:10px!important}
  .catalog-sidebar{gap:10px!important}
  .catalog-search{min-height:44px!important;padding:5px 10px!important;border-radius:11px!important}
  .catalog-search input{font-size:16px!important}
  .category-panel{padding:10px!important;border-radius:11px!important}
  .category-panel h2{margin:0 0 7px!important;font-size:13px!important}
  .store-categories{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px!important;margin:0!important;padding:0 0 3px!important}
  .store-categories button{min-width:max-content!important;min-height:32px!important;padding:5px 9px!important;font-size:11px!important}
  .store-categories button img{display:none!important}
  .catalog-result-head{margin:2px 0 9px!important}
  .catalog-result-head span{display:none!important}
  .catalog-result-head h2{font-size:17px!important}
  .catalog-result-head b{font-size:11px!important}
  .product-grid{gap:8px!important}
  .product-card{border-radius:11px!important}
  .product-image{aspect-ratio:1.25!important}
  .product-card>div{padding:9px!important}
  .product-card>div{min-height:0!important}
  .product-card h2{display:-webkit-box;min-height:37px!important;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px!important;line-height:1.4!important}
  .product-card p{display:none!important}
  .product-card footer{gap:5px!important;padding-top:7px!important}
  .product-card footer strong{font-size:16px!important}
  .product-card footer .detail-link{font-size:11px!important}
  .product-card footer button{width:100%;min-height:34px!important;padding:5px!important;font-size:11px!important}
  .support-hero{padding:19px 14px!important;border-radius:0 0 13px 13px!important}
  .support-hero h1{margin:7px 0!important;font-size:21px!important}
  .support-hero p{font-size:12px!important;line-height:1.5!important}
  .support-search{height:42px!important;margin-top:12px!important}
  .support-search input{font-size:16px!important}
  .support-search button{width:35px!important;height:35px!important;font-size:19px!important}
  .support-body{padding:12px 12px 24px!important}
  .support-list{gap:7px!important}
  .support-item{min-height:0!important;padding:11px 12px!important;border-radius:11px!important}
  .support-item h2{font-size:14px!important;line-height:1.4!important}
  .support-item p{font-size:11px!important}
  .support-item>span{font-size:10px!important}
  .support-item>b{display:none!important}
  .account,.auth-shell{padding:14px 12px 24px!important}
  .page-title h1,.auth-card h1,body.admin-surface main h1{font-size:22px!important}
  .page-title p,.auth-card p{font-size:12px!important;line-height:1.5!important}
  .host-card,.auth-card,.empty-state{padding:15px!important;border-radius:12px!important}
  .auth-card form{gap:10px!important;margin:14px 0 13px!important}
  .auth-card label{gap:5px!important;font-size:12px!important}
  .auth-card input{min-height:44px!important;padding:10px 12px!important;font-size:16px!important}
  .auth-card button.member-auth-submit{min-height:44px!important;padding:10px 14px!important;font-size:14px!important}
  .host-grid{gap:9px!important}
  .host-card dl{gap:7px!important}
  .host-card dl div{padding:9px!important}
  body.admin-surface>main,body.admin-surface main.wrap,body.admin-surface main.support-admin{padding:12px 12px 24px!important}
  body.admin-surface main .card,body.admin-surface main .ma-card,body.admin-surface main .rc-device,body.admin-surface main .rc-stat{border-radius:12px!important}
  body.admin-surface main :is(input,select,textarea){font-size:16px!important}
}

@media(max-width:900px){
/* A single restrained color system for the public site at every width. */
body.home-surface,body.store-surface,body.support-surface,body.account-surface,body.auth-surface{--dy-blue:#087b88;--dy-dark:#15364b;--dy-soft:#eef6f5;background:#f5f8f7!important;color:#15364b}
body.home-surface .site-nav,body.store-surface .site-nav,body.support-surface .site-nav,body.account-surface .site-nav,body.auth-surface .site-nav{background:#fff!important;border-bottom-color:#dce8e7!important}
body.home-surface .mobile-dashboard-welcome{background:linear-gradient(120deg,#173c51,#087e86)!important}
body.home-surface .mobile-dashboard-actions i,body.home-surface .mobile-dashboard-services>a>i{background:#e4f4f3!important;color:#087b88!important}
body.home-surface .mobile-dashboard-welcome button{background:#087b88!important}
body.home-surface .mobile-dashboard-services header>a,body.home-surface .mobile-dashboard-help a{color:#087b88!important}
body.home-surface .mobile-dashboard-help{background:#e9f4f2!important}
body.store-surface .store-hero{background:linear-gradient(130deg,#e5f4f2,#f6faf7 60%,#fff5e9)!important;border-color:#d8e9e4!important}
body.store-surface .product-card,body.store-surface .catalog-search,body.store-surface .category-panel{border-color:#dce9e7!important;box-shadow:0 3px 12px rgba(19,70,79,.045)!important}
body.store-surface .product-card footer strong,body.store-surface .catalog-result-head h2{color:#0c6975!important}
body.support-surface .support-hero{background:linear-gradient(130deg,#e5f5f2,#f2f8fa 57%,#fff4e9)!important}
body.support-surface .support-item,body.support-surface .support-article{border-color:#dce9e7!important;box-shadow:0 3px 12px rgba(19,70,79,.045)!important}
body.account-surface .host-card,body.auth-surface .auth-card{border-color:#dce9e7!important;box-shadow:0 3px 14px rgba(19,70,79,.05)!important}
@media(max-width:900px){body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a[aria-current="page"]{color:#087b88!important;background:#e5f4f2!important}}
}


/* Keep the first screen focused on actions instead of a tall greeting banner. */
@media(max-width:900px){
  body.home-surface .mobile-dashboard{min-height:0;padding-top:11px}
  body.home-surface .mobile-dashboard-welcome{padding:0;border-radius:0;background:transparent!important}
  body.home-surface .mobile-dashboard-welcome>span,
  body.home-surface .mobile-dashboard-welcome h1,
  body.home-surface .mobile-dashboard-welcome p{display:none}
  body.home-surface .mobile-dashboard-welcome form{height:43px;margin:0;border:1px solid #dce9e7;box-shadow:0 3px 10px rgba(19,70,79,.05)}
  body.home-surface .mobile-dashboard-actions{margin:11px 0 17px}
  body.home-surface .mobile-dashboard-actions a{min-height:69px;gap:5px}
  body.home-surface .mobile-dashboard-services>header span{display:none}
  body.home-surface .mobile-dashboard-services h2{font-size:16px}
  body.admin-surface .rc-note{display:none!important}
  body.admin-surface .rc-stats{margin-bottom:8px!important}
  body.admin-surface .rc-stat{min-height:61px!important;padding:8px!important}
  body.admin-surface .rc-stat strong{font-size:19px!important}
}


/* Show the main destinations directly below the brand on phones. */
@media(max-width:900px){
  html{scroll-padding-top:112px}
  body{padding-top:101px;padding-bottom:env(safe-area-inset-bottom,0px)}
  .site-nav,.admin-site-nav{position:fixed!important;top:0;right:0;left:0;z-index:90;height:52px!important;min-height:52px!important}
  .site-nav-inner,.admin-site-nav .site-nav-inner{height:52px!important;min-height:52px!important}
  .mobile-app-tabs{position:fixed;top:52px;bottom:auto;z-index:89;height:49px;padding:3px 8px;border-top:0;border-bottom:1px solid #dce9e7;box-shadow:0 4px 12px rgba(19,70,79,.06);grid-template-columns:repeat(5,minmax(0,1fr))}
  .mobile-app-tabs a{min-height:40px;flex-direction:row;gap:4px;font-size:16px;border-radius:8px}
  .mobile-app-tabs small{font-size:11px}
  body:not(.admin-surface) .site-mobile-menu{display:none!important}
  body.admin-surface .admin-sidebar{top:101px!important;bottom:0!important}
  body.home-surface .mobile-dashboard{padding-top:15px}
  body.admin-surface>main,body.admin-surface main.wrap,body.admin-surface main.support-admin{padding-top:16px!important}
  body.admin-surface .admin-mobile-menu{width:44px;flex-basis:44px;padding:0!important;font-size:11px;font-weight:700;color:#173052}
  body.admin-surface .admin-mobile-menu span{display:none}
  body.admin-surface .admin-mobile-menu::after{content:"全部"}
  body.admin-surface .router-console .rc-device-head{padding:10px!important}
  body.admin-surface .router-console .rc-meta{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin:0 10px 10px!important;padding:0!important}
  body.admin-surface .router-console .rc-meta>div{padding:7px!important;min-height:0!important;border-radius:8px!important}
  body.admin-surface .router-console .rc-meta>div:first-child{grid-column:1/-1}
  body.admin-surface .router-console .rc-meta dt{margin:0 0 3px!important;font-size:10px!important}
  body.admin-surface .router-console .rc-meta dd{min-height:0!important;margin:0!important;font-size:11px!important;line-height:1.35!important}
  body.admin-surface .router-console .rc-meta code{font-size:11px!important;line-height:1.35!important}
  body.admin-surface .router-console .rc-meta>div:last-child dd{font-size:12px!important}
}

/* Public pages use a persistent app tab bar with Store in the center. */
@media(max-width:900px){
  body:not(.admin-surface):not(.admin-login-page){padding-top:52px;padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs{top:auto;bottom:0;z-index:100;height:calc(60px + env(safe-area-inset-bottom,0px));padding:3px 7px env(safe-area-inset-bottom,0px);border-top:1px solid #dce9e7;border-bottom:0;box-shadow:0 -3px 14px rgba(19,70,79,.07);background:#fff}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a{min-height:52px;flex-direction:column;gap:0;font-size:19px;color:#71818a}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a[aria-current="page"]{background:#eaf4ff!important;color:#0867d1!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a:nth-child(3){color:#0867d1;font-weight:750}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs small{font-size:10px}
  body.home-surface .mobile-dashboard-welcome button{background:#0867d1!important}
  body.home-surface .mobile-dashboard-actions i,body.home-surface .mobile-dashboard-services>a>i{background:#eaf4ff!important;color:#0867d1!important}
  body.home-surface .mobile-dashboard-services header>a,body.home-surface .mobile-dashboard-help a{color:#0867d1!important}
  body.home-surface .mobile-dashboard-help{background:#eaf4ff!important;color:#243443!important}
  body.home-surface .mobile-dashboard-help span{color:#7c6063!important}
  body.account-surface,body.auth-surface,body.support-surface,body.home-surface{background:#f7f8f8!important;color:#243443!important}
  body.account-surface .page-title .kicker,body.account-surface .host-card summary,body.auth-surface .kicker{color:#0867d1!important}
  body.account-surface .host-card,body.account-surface .member-ip-toolbar,body.account-surface .member-device-summary>span{border-color:#e5e8e9!important;box-shadow:none!important}
  body.store-surface .order-list header span{background:#eaf4ff!important;color:#0867d1!important}
  body.store-surface .store-heading>a{background:#0867d1!important;color:#fff!important}
  body.store-surface .order-list a{color:#0867d1!important}
}

/* Real products continue the home screen immediately after service shortcuts. */
.home-product-section{grid-column:1/-1;min-width:0}
.home-product-section>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 9px}
.home-product-section h2{margin:0;color:#243443;font-size:19px;line-height:1.3}
.home-product-section>header a{color:#0867d1;text-decoration:none;font-size:12px;font-weight:650}
.home-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.home-product-card{display:block;min-width:0;overflow:hidden;border:1px solid #e5e8e9;border-radius:12px;background:#fff;color:#243443;text-decoration:none}
.home-product-card img{display:block;width:100%;height:150px;object-fit:cover;background:#f1f3f4}
.home-product-card span{display:-webkit-box;min-height:39px;overflow:hidden;margin:8px 10px 2px;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:13px;line-height:1.5;font-weight:650}
.home-product-card strong{display:block;margin:0 10px 10px;color:#0867d1;font-size:16px}
@media(max-width:900px){
  body.home-surface .mobile-dashboard{padding-bottom:24px}
  body.home-surface .mobile-dashboard-help{margin:10px 0 16px}
  .home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .home-product-card img{height:112px}
  .home-product-card span{min-height:35px;margin:6px 8px 1px;font-size:11px;line-height:1.4}
  .home-product-card strong{margin:0 8px 8px;font-size:14px}
  .home-product-section h2{font-size:17px}
}

/* App navigation stays on phones. */
@media(max-width:900px){
  body:not(.admin-surface):not(.admin-login-page) .site-nav .nav-links,
  body:not(.admin-surface):not(.admin-login-page) .site-nav .nav-actions,
  body:not(.admin-surface):not(.admin-login-page) .site-mobile-menu{display:none!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs{position:fixed!important;top:auto!important;right:0!important;bottom:0!important;left:0!important;z-index:100!important;display:grid!important;grid-template-columns:repeat(var(--mobile-tab-count,5),minmax(0,1fr))!important;height:calc(60px + env(safe-area-inset-bottom,0px))!important;padding:3px 5px env(safe-area-inset-bottom,0px)!important;border-top:1px solid #e5e8e9!important;border-bottom:0!important;background:#fff!important;box-shadow:0 -3px 14px rgba(19,42,52,.07)!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a{min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;color:#71818a;font-size:19px;text-decoration:none}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a[aria-current="page"]{background:#eaf4ff!important;color:#0867d1!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a:nth-child(3){color:#0867d1!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs small{font-size:10px}
  body:not(.admin-surface):not(.admin-login-page){padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))!important}
}


@media(max-width:900px){
/* Public help uses the same compact shell as the other entry points. */
body.support-surface .support-hero{min-height:0!important;padding:25px 20px!important;border:1px solid #e5e8e9!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
body.support-surface .support-hero-inner{max-width:900px!important}
body.support-surface .support-hero h1{margin:4px 0 6px!important;color:#243443!important;font-size:clamp(24px,3vw,32px)!important;line-height:1.25!important}
body.support-surface .support-hero p{margin:0 0 13px!important;color:#697782!important;font-size:13px!important;line-height:1.55!important}
body.support-surface .support-hero .kicker,body.support-surface .support-hero span:first-child{color:#0867d1!important}
body.support-surface .support-search{max-width:760px!important;margin:0 auto!important;border-color:#e5e8e9!important;box-shadow:none!important}
body.support-surface .support-search button{background:#0867d1!important}
body.support-surface .support-item{border-color:#e5e8e9!important;border-radius:10px!important;box-shadow:none!important}
body.support-surface .support-item a,body.support-surface .support-item b{color:#243443!important}
}
@media(max-width:900px){body.support-surface .support-hero{margin:8px 12px 12px!important;padding:13px!important}body.support-surface .support-hero h1{font-size:20px!important}body.support-surface .support-search{height:40px!important}}
@media(max-width:900px){
  body.support-surface .site-nav{position:fixed!important;top:0!important;right:0!important;left:0!important;z-index:90!important;height:52px!important;min-height:52px!important}
  body.support-surface .support-hero-inner{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:900px!important}
  body.support-surface .support-search{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:760px!important}
  body.support-surface .support-search input{flex:1 1 auto!important;min-width:0!important;width:0!important}
  body.support-surface .support-search button{flex:0 0 35px!important;width:35px!important}
}

/* Mobile app experience v23: one GoWan shell, palette and component rhythm. */
@media(max-width:900px){
  :root{--app-blue:#0867d1;--app-blue-dark:#0758b4;--app-ink:#0b2347;--app-muted:#687c96;--app-line:#dce6f2;--app-bg:#f3f7fd;--app-card:#fff}
  html{background:var(--app-bg)!important;scroll-padding-top:68px!important}
  body:not(.admin-surface):not(.admin-login-page){padding-top:58px!important;padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;background:linear-gradient(180deg,#f6f9ff 0%,#eef5ff 54%,#f7faff 100%)!important;color:var(--app-ink)!important;font-family:Inter,"PingFang SC","Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif}
  body:not(.admin-surface):not(.admin-login-page) .site-nav{position:fixed!important;top:0!important;right:0!important;left:0!important;z-index:90!important;height:58px!important;min-height:58px!important;border-bottom:1px solid rgba(210,224,240,.85)!important;background:rgba(255,255,255,.9)!important;box-shadow:0 6px 22px rgba(31,68,112,.055)!important;backdrop-filter:blur(18px) saturate(150%)!important}
  body:not(.admin-surface):not(.admin-login-page) .site-nav-inner{height:58px!important;min-height:58px!important;padding:0 17px!important}
  body:not(.admin-surface):not(.admin-login-page) .brand{gap:9px!important;color:var(--app-ink)!important;font-size:19px!important;font-weight:800!important;letter-spacing:-.025em!important}
  body:not(.admin-surface):not(.admin-login-page) .brand i{width:32px!important;height:32px!important;border:2px solid var(--app-ink)!important;border-radius:10px 4px 10px 4px!important;background:#fff!important;color:var(--app-ink)!important;font-size:15px!important;box-shadow:0 4px 12px rgba(27,61,103,.08)!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs{position:fixed!important;top:auto!important;right:8px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;left:8px!important;z-index:100!important;grid-template-columns:repeat(var(--mobile-tab-count,5),minmax(0,1fr))!important;height:64px!important;padding:5px 4px!important;border:1px solid rgba(207,220,236,.92)!important;border-radius:21px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 12px 34px rgba(25,58,103,.16)!important;backdrop-filter:blur(20px) saturate(160%)!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a{min-width:0!important;min-height:52px!important;gap:1px!important;padding:0 1px!important;border-radius:13px!important;background:transparent!important;color:#7b8da3!important;font-size:17px!important;transition:background .18s,color .18s,transform .18s!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a>span{display:grid;width:25px;height:25px;place-items:center;border-radius:8px;font-size:16px;font-weight:750;line-height:1}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a[aria-current="page"]{background:#edf5ff!important;color:var(--app-blue)!important;transform:translateY(-1px)}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a[aria-current="page"]>span{background:#dcecff!important;color:var(--app-blue)!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a:nth-child(3){color:#637890!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a:nth-child(3)[aria-current="page"]{color:var(--app-blue)!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs small{max-width:100%;overflow:hidden;font-size:9px!important;font-weight:700!important;letter-spacing:0!important;text-overflow:ellipsis!important;white-space:nowrap!important}

  body.home-surface .mobile-dashboard{display:block!important;min-height:calc(100dvh - 146px)!important;padding:14px 14px 32px!important;background:transparent!important;color:var(--app-ink)!important}
  body.home-surface .mobile-dashboard-welcome{position:relative;overflow:hidden;padding:21px 19px 19px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:22px!important;background:linear-gradient(135deg,#0b58af 0%,#087bd0 66%,#36a5e9 100%)!important;box-shadow:0 16px 34px rgba(8,103,209,.22)!important;color:#fff!important}
  body.home-surface .mobile-dashboard-welcome:after{content:"";position:absolute;right:-44px;top:-58px;width:150px;height:150px;border:30px solid rgba(255,255,255,.1);border-radius:50%;pointer-events:none}
  body.home-surface .mobile-dashboard-welcome>span,body.home-surface .mobile-dashboard-welcome h1,body.home-surface .mobile-dashboard-welcome p{display:block!important;position:relative;z-index:1}
  body.home-surface .mobile-dashboard-welcome>span{font-size:10px!important;font-weight:750!important;letter-spacing:.1em!important;opacity:.82!important}
  body.home-surface .mobile-dashboard-welcome h1{margin:8px 0 4px!important;color:#fff!important;font-size:22px!important;font-weight:780!important;line-height:1.25!important}
  body.home-surface .mobile-dashboard-welcome p{margin:0!important;color:#dceeff!important;font-size:12px!important}
  body.home-surface .mobile-dashboard-welcome form{position:relative;z-index:1;height:44px!important;margin:18px 0 0!important;padding:4px!important;border:0!important;border-radius:13px!important;background:#fff!important;box-shadow:0 8px 20px rgba(4,47,99,.16)!important}
  body.home-surface .mobile-dashboard-welcome button{min-width:60px!important;border-radius:9px!important;background:var(--app-blue)!important;color:#fff!important}
  body.home-surface .mobile-dashboard-actions{gap:9px!important;margin:14px 0 24px!important}
  body.home-surface .mobile-dashboard-actions a{min-height:82px!important;gap:7px!important;border-color:var(--app-line)!important;border-radius:17px!important;background:rgba(255,255,255,.96)!important;color:var(--app-ink)!important;box-shadow:0 7px 20px rgba(29,63,105,.065)!important}
  body.home-surface .mobile-dashboard-actions i{width:36px!important;height:36px!important;border-radius:12px!important;background:#e8f3ff!important;color:var(--app-blue)!important;font-size:18px!important}
  body.home-surface .mobile-dashboard-actions span{font-size:11px!important}
  body.home-surface .mobile-dashboard-services>header{margin-bottom:11px!important}.mobile-dashboard-services h2{font-size:18px!important;color:var(--app-ink)!important}.mobile-dashboard-services header>a{color:var(--app-blue)!important}
  body.home-surface .mobile-dashboard-services>a{min-height:72px!important;margin-bottom:9px!important;padding:12px 14px!important;border-color:var(--app-line)!important;border-radius:17px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 6px 18px rgba(29,63,105,.055)!important}
  body.home-surface .mobile-dashboard-services>a>i{width:40px!important;height:40px!important;flex-basis:40px!important;border-radius:13px!important;background:#e8f3ff!important;color:var(--app-blue)!important}
  body.home-surface .mobile-dashboard-services small{color:var(--app-muted)!important}
  body.home-surface .mobile-dashboard-help{margin:15px 0 18px!important;padding:14px!important;border:1px solid #cfe2f7!important;border-radius:15px!important;background:#eaf4ff!important;color:var(--app-ink)!important}.mobile-dashboard-help span{color:#66809e!important}.mobile-dashboard-help a{color:var(--app-blue)!important}
  .home-product-section h2{color:var(--app-ink)!important}.home-product-section>header a,.home-product-card strong{color:var(--app-blue)!important}.home-product-grid{gap:10px!important}.home-product-card{border-color:var(--app-line)!important;border-radius:17px!important;box-shadow:0 6px 18px rgba(29,63,105,.055)!important}.home-product-card img{height:118px!important;background:#edf4fb!important}

  body.store-surface .store-wrap{padding:14px 14px 32px!important;background:transparent!important}.store-surface .store-hero{margin-bottom:14px!important;padding:19px!important;border-color:var(--app-line)!important;border-radius:20px!important;background:linear-gradient(135deg,#e7f2ff,#f8f2ff 58%,#fff3eb)!important;box-shadow:0 8px 24px rgba(29,63,105,.07)!important}.store-surface .store-hero h1{font-size:25px!important}.store-surface .store-hero>div>p{font-size:12px!important;line-height:1.6!important}.store-surface .store-hero a{height:39px!important;font-size:12px!important}.store-surface .catalog-search,.store-surface .category-panel{border-color:var(--app-line)!important;border-radius:16px!important;box-shadow:0 6px 18px rgba(29,63,105,.05)!important}.store-surface .store-categories button.current,.store-surface .product-card footer button,.store-surface .store-heading>a{background:var(--app-blue)!important;color:#fff!important}.store-surface .product-grid{gap:10px!important}.store-surface .product-card{border-color:var(--app-line)!important;border-radius:18px!important;box-shadow:0 7px 20px rgba(29,63,105,.06)!important}.store-surface .product-card footer strong{color:var(--app-blue)!important}.store-surface .product-card footer button{border-radius:11px!important}

  body.support-surface .support-page{padding:14px 14px 30px!important;background:transparent!important}.support-surface .support-hero{margin:0 0 14px!important;padding:20px 18px!important;border-color:var(--app-line)!important;border-radius:20px!important;background:linear-gradient(135deg,#e7f2ff,#f7f4ff 58%,#fff4ed)!important;box-shadow:0 8px 24px rgba(29,63,105,.06)!important}.support-surface .support-hero .kicker,.support-surface .support-hero span:first-child{color:var(--app-blue)!important}.support-surface .support-hero h1{margin:6px 0!important;color:var(--app-ink)!important;font-size:22px!important}.support-surface .support-search{height:44px!important;border-color:#cfddec!important;border-radius:13px!important;background:#fff!important}.support-surface .support-search button{flex-basis:36px!important;width:36px!important;height:36px!important;border-radius:10px!important;background:var(--app-blue)!important}.support-surface .support-body{padding:0 0 20px!important}.support-surface .support-list{gap:9px!important}.support-surface .support-item{padding:14px!important;border-color:var(--app-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 6px 18px rgba(29,63,105,.05)!important}.support-surface .support-item>span{background:#eaf4ff!important;color:var(--app-blue)!important}.support-surface .support-item h2{color:var(--app-ink)!important;font-size:15px!important}

  body.account-surface .account,body.auth-surface .auth-shell{padding:15px 14px 30px!important;background:transparent!important}.account-surface .host-card,.account-surface .member-ip-toolbar,.account-surface .member-device-summary>span,.auth-surface .auth-card,.store-surface .cart-list,.store-surface .checkout-card,.store-surface .cart-summary,.store-surface .order-list article{border-color:var(--app-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 22px rgba(29,63,105,.06)!important}.account-surface .page-title .kicker,.account-surface .host-card summary,.auth-surface .kicker,.store-surface .order-list a{color:var(--app-blue)!important}.auth-surface .auth-card button.member-auth-submit{border-radius:12px!important;background:var(--app-blue)!important;box-shadow:0 7px 18px rgba(8,103,209,.16)!important}
}
@media(max-width:370px){body.home-surface .mobile-dashboard-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.store-surface .product-grid,.home-product-grid{grid-template-columns:1fr!important}.home-product-card img{height:170px!important}}

/* Administrator app shell v24: keep the full menu, move primary destinations to the app dock. */
@media(max-width:900px){
  body.admin-surface{padding-top:58px!important;padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;background:linear-gradient(180deg,#f3f7fd,#eaf2ff)!important;color:#0b2347!important}
  body.admin-surface .admin-site-nav{position:fixed!important;top:0!important;right:0!important;left:0!important;z-index:95!important;height:58px!important;min-height:58px!important;border-bottom:1px solid rgba(210,224,240,.9)!important;background:rgba(255,255,255,.94)!important;box-shadow:0 6px 22px rgba(31,68,112,.055)!important;backdrop-filter:blur(18px) saturate(150%)!important}
  body.admin-surface .admin-site-nav .site-nav-inner{height:58px!important;min-height:58px!important;padding:0 14px 0 17px!important}
  body.admin-surface .admin-mobile-menu{width:40px!important;height:36px!important;flex-basis:40px!important;border:1px solid #d6e2f0!important;border-radius:11px!important;background:#edf5ff!important;color:#0867d1!important}
  body.admin-surface .mobile-app-tabs{position:fixed!important;top:auto!important;right:10px!important;bottom:calc(8px + env(safe-area-inset-bottom,0px))!important;left:10px!important;z-index:100!important;height:64px!important;padding:5px 6px!important;border:1px solid rgba(207,220,236,.92)!important;border-radius:21px!important;background:rgba(255,255,255,.95)!important;box-shadow:0 12px 34px rgba(25,58,103,.16)!important;backdrop-filter:blur(20px) saturate(160%)!important}
  body.admin-surface .mobile-app-tabs a{min-height:52px!important;gap:2px!important;border-radius:15px!important;background:transparent!important;color:#7b8da3!important;font-size:18px!important}
  body.admin-surface .mobile-app-tabs a>span{display:grid;width:27px;height:27px;place-items:center;border-radius:9px;font-size:17px;font-weight:750}
  body.admin-surface .mobile-app-tabs a[aria-current="page"]{background:#edf5ff!important;color:#0867d1!important}
  body.admin-surface .mobile-app-tabs a[aria-current="page"]>span{background:#dcecff!important;color:#0867d1!important}
  body.admin-surface .mobile-app-tabs small{font-size:10px!important;font-weight:700!important}
  body.admin-surface .admin-sidebar{top:58px!important;bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;border-right:1px solid #dce6f2!important;box-shadow:14px 0 34px rgba(25,58,103,.12)!important}
  body.admin-surface>main,body.admin-surface main.wrap,body.admin-surface main.support-admin{padding:14px 12px 28px!important;background:transparent!important}
  body.admin-surface main .card,body.admin-surface main .ma-card,body.admin-surface main .rc-device,body.admin-surface main .rc-stat,body.admin-surface main .overview-panel,body.admin-surface main .overview-hero{border-color:#dce6f2!important;border-radius:15px!important;background:#fff!important;box-shadow:0 7px 22px rgba(29,63,105,.06)!important}
}

/* Mobile palette lock v25: remove legacy red and teal declarations with higher specificity. */
@media(max-width:900px){
  body.home-surface .mobile-dashboard-services header>a,body.home-surface .mobile-dashboard-help a,body.home-surface .home-product-section>header a,body.home-surface .home-product-card strong{color:#0867d1!important}
  body.home-surface .mobile-dashboard-actions i,body.home-surface .mobile-dashboard-services>a>i{background:#e8f3ff!important;color:#0867d1!important}
  body.home-surface .mobile-dashboard-help{border-color:#cfe2f7!important;background:#eaf4ff!important;color:#0b2347!important}
  body.store-surface .store-categories button.current,body.store-surface .product-card footer button,body.store-surface .store-heading>a,body.store-surface .cart-list>button,body.store-surface .cart-summary button{border-color:#0867d1!important;background:#0867d1!important;color:#fff!important}
  body.store-surface .product-card footer strong,body.store-surface .catalog-result-head span,body.store-surface .store-heading span,body.store-surface .order-list a{color:#0867d1!important}
  body.store-surface .product-image span,body.store-surface .order-list header span{border-color:#c8dff5!important;background:#eaf4ff!important;color:#0867d1!important}
  body.support-surface .support-hero .kicker,body.support-surface .support-hero span:first-child,body.support-surface .support-item>span{color:#0867d1!important}
  body.support-surface .support-search button{background:#0867d1!important;color:#fff!important}
  body.account-surface .page-title .kicker,body.account-surface .host-card summary,body.auth-surface .kicker,body.auth-surface .auth-card>a{color:#0867d1!important}
}

/* Phone navigation: preserve every destination without shrinking seven labels. */
@media(max-width:900px){
  body:not(.admin-surface):not(.admin-login-page) .site-mobile-menu{display:flex!important;order:2;margin-left:auto;flex:0 0 38px;width:38px;height:38px;padding:8px!important;align-items:center;justify-content:center;border:1px solid #d4e2f1;border-radius:11px;background:#f4f9ff}
  body:not(.admin-surface):not(.admin-login-page) .site-mobile-menu span{flex:0 0 2px;width:20px;height:2px}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs{display:flex!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-x:contain;justify-content:flex-start!important;padding-inline:7px!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs::-webkit-scrollbar{display:none}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs a{flex:0 0 max(57px,calc((100vw - 42px)/5))!important;scroll-snap-align:start;padding-inline:3px!important}
  body:not(.admin-surface):not(.admin-login-page) .mobile-app-tabs small{font-size:11px!important}
  body.site-menu-open:not(.admin-surface):not(.admin-login-page) .site-nav{height:auto!important;max-height:calc(100dvh - 85px);overflow-y:auto}
  body.site-menu-open:not(.admin-surface):not(.admin-login-page) .site-nav-inner{height:auto!important;flex-wrap:wrap!important;align-items:center}
  body.site-menu-open:not(.admin-surface):not(.admin-login-page) .site-nav .nav-links{display:flex!important;position:static!important;order:3;flex:0 0 100%;width:100%;max-height:none;margin:0!important;padding:4px 0!important;border:0;box-shadow:none;overflow:visible}
  body.site-menu-open:not(.admin-surface):not(.admin-login-page) .site-nav .nav-actions{display:flex!important;position:static!important;order:4;flex:0 0 100%;width:100%;margin:0!important;padding:7px 0 12px!important;gap:7px;background:transparent;box-shadow:none}
  body.site-menu-open:not(.admin-surface):not(.admin-login-page) .site-nav .nav-actions a{flex:1 1 auto;min-height:40px;display:flex;align-items:center;justify-content:center;padding:7px 8px;font-size:12px}
}
