/* Shared small-screen layout. Data tables retain their own horizontal scroller. */
.gh-account-menu-toggle{display:none}
.gh-account-menu-links{display:flex;flex-direction:column;gap:7px}
.gh-account-menu-links>.eyebrow{padding:8px 12px;margin-bottom:12px}
@media(max-width:760px){
 body .site-nav .hero-wordmark{width:126px}
 body .site-nav .hero-splash{width:36px;height:28px}
 body .site-nav .hero-splash img{width:46px;height:46px}
 body :is(.site-main,.gh-service-page,.admin-main){min-width:0}
 body :is(.site-main,.gh-service-page,.admin-main) :is(h1,h2,h3,p,li,dd,label){overflow-wrap:break-word}
 body :is(.site-main,.gh-service-page,.admin-main) :is(input,select,textarea){min-width:0;max-width:100%;font-size:16px}
 .gh-partner-band p:last-child{display:flex;flex-direction:column;align-items:stretch;gap:12px}
 .gh-partner-band p:last-child a{display:flex;justify-content:center;align-items:center;min-height:44px;margin:0!important;text-align:center;white-space:normal}
 .ax-products{padding:64px 20px}
 .ax-cards{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:28px}
 .ax-cards a{min-width:0;min-height:0;padding:24px}
 .ax-card-k{overflow-wrap:break-word}
 .gh-service-page{padding:32px 20px 44px}
 .gh-service-page h1{font-size:clamp(32px,8.5vw,42px);line-height:1.15}
 .gh-service-card{padding:22px 18px;min-width:0}
 .gh-doc-row{flex-direction:column;align-items:flex-start;gap:10px}
 .gh-service-page :is(button,.action){min-height:44px;white-space:normal;line-height:1.4}
 .gh-consent{max-height:calc(100dvh - 24px);overflow:auto}
 .gh-support-launcher{padding:11px 14px;gap:8px;bottom:max(12px,env(safe-area-inset-bottom));right:12px;min-height:44px;font-size:14px}
 .gh-support-launcher small{display:none}
 .gh-support-launcher svg{width:22px;height:22px}
 .gh-support-dialog{max-height:calc(100dvh - 24px);overflow:auto;padding:24px 20px}
 .account-workspace{grid-template-columns:minmax(0,1fr);gap:24px;min-height:0}
 .account-sidebar{border-right:0;border-bottom:1px solid #dce4dc;padding:0 0 16px}
 .account-sidebar[data-mobile-menu]>.gh-account-menu-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;border:1px solid #b4c7ba;border-radius:7px;padding:12px 14px;background:#eef4e9;color:#143e2e;text-align:left;font:600 16px/1.4 Roboto,Arial,sans-serif}
 .account-sidebar[data-mobile-menu] .gh-account-menu-links{display:none}
 .account-sidebar[data-menu-open=true] .gh-account-menu-links{display:flex;flex-direction:column;gap:5px;padding-top:12px}
 .account-sidebar .eyebrow{display:none}
 .account-sidebar a{min-height:44px;box-sizing:border-box}
 .account-content{min-width:0}
 .inventory-columns{width:100%;margin-left:0}
 .inventory-columns>summary{min-height:44px}
 .inventory-columns fieldset{position:static;min-width:0;width:100%;margin:8px 0 0}
 .ongoing-capability,.ongoing-capability>header>div{min-width:0}
 .ongoing-capability-state{white-space:normal;overflow-wrap:break-word;line-height:1.5}
 .ongoing-metric-grid{grid-template-columns:minmax(0,1fr)}
 .ongoing-metric-grid>div{min-width:0}
 .ongoing-capability :is(h4,p,li,b,small){overflow-wrap:break-word}
 .account-content h2,.directory-heading h2{font-size:28px;line-height:1.2}
 .account-fields{grid-template-columns:minmax(0,1fr);gap:18px;margin:24px 0}
 .account-shortcuts{display:grid;gap:12px}
 .account-shortcuts>*{white-space:normal;line-height:1.5}
 .directory-toolbar,.directory-heading{flex-direction:column;align-items:stretch}
 .directory-dialog{box-sizing:border-box;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;padding:22px 18px}
 .directory-form-grid{grid-template-columns:minmax(0,1fr)}
 .stock-toolbar{flex-direction:column;align-items:stretch;gap:16px}
 .stock-toolbar input{width:100%;min-width:0;box-sizing:border-box}
 .stock-toolbar>div{flex-wrap:wrap;gap:8px}
 .stock-toolbar button{min-height:44px;white-space:normal}
 .product-inventory-controls{align-items:stretch}
 .product-inventory-controls>label{width:100%;min-width:0}
 .product-inventory-controls select{max-width:100%}
 .commerce-order-detail{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 .commerce-order-detail>header{align-items:flex-start}
 .commerce-order-detail h2{white-space:normal;overflow-wrap:anywhere}
 .commerce-pagination{flex-wrap:wrap;gap:10px}
 .commerce-pagination span{flex-basis:100%}
 body[data-commerce] .pdp-gallery{min-height:0}
 body[data-commerce] .pdp-gallery>img{position:relative;inset:auto;display:block;width:100%;height:320px;max-height:50svh;object-fit:contain;margin:50px auto 20px;transform:none}
 body[data-commerce] .product-photo-panel img{height:300px;max-height:45svh}
 body[data-commerce] .pdp-gallery .system-product-visual{padding:66px 0 22px}
 body[data-commerce] .system-spin img{height:320px;max-height:48svh}
 body[data-commerce] .pdp-buybox h1{font-size:clamp(30px,7.5vw,38px);line-height:1.15}
 body[data-commerce] .pdp-buybox{padding:28px 20px}
 body[data-commerce] .pdp-key-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-commerce] .pdp-key-metrics>div{border-bottom:0;min-width:0;padding:12px 6px}
 body[data-commerce] .pdp-section{padding:48px 20px}
 body[data-commerce] .pdp-section-heading h2{font-size:30px;line-height:1.15}
 body[data-commerce] .spec-groups p{flex-direction:column;gap:7px;line-height:1.5}
 body[data-commerce] .pdp-final-cta h2{font-size:32px;line-height:1.15}
 body[data-commerce] .pdp-final-cta{padding:44px 20px}
 body[data-commerce] .product-name{line-height:1.35}
 body[data-commerce] .card-purchase button{min-height:44px;white-space:normal;line-height:1.4}
 body[data-commerce] .card-purchase input{font-size:16px}
 body[data-commerce] .cart-drawer{padding:20px}
 body[data-commerce] .cart-item{grid-template-columns:64px minmax(0,1fr);gap:12px}
 body[data-commerce] .cart-item img{width:64px;height:64px}
 body[data-commerce] .cart-item>div{min-width:0;overflow-wrap:break-word}
 body[data-commerce] .cart-item>div:last-child{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:12px}
 body[data-commerce] .cart-item h3{font-size:15px;line-height:1.4;margin-top:0}
 body[data-commerce] .cart-item p,body[data-commerce] .cart-item b{font-size:13px;line-height:1.5}
 body[data-commerce] .cart-item button{min-width:44px;min-height:44px}
 body[data-commerce] .commerce-checkout :is(input,select,textarea){font-size:16px}
 body[data-commerce] .commerce-checkout{max-height:calc(100dvh - 24px);padding:22px 18px}
 body[data-commerce] .commerce-checkout h2{font-size:28px;line-height:1.2;overflow-wrap:break-word}
 body[data-commerce] .shop-controls{align-items:stretch;gap:14px}
 body[data-commerce] .shop-controls .sort{margin-left:0}
}
@media(max-width:480px){
 .admin-header .admin-mark{flex:0 0 36px;width:36px}
 .admin-header .admin-wordmark{width:126px}
 body[data-commerce] .product-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 body[data-commerce] .product-card .product-name{min-height:0;font-size:18px}
 body[data-commerce] .product-card .product-description{min-height:0}
 body[data-commerce] .product-card .product-info{gap:10px}
 body[data-commerce] .product-image{aspect-ratio:1.1}
 body[data-commerce] .commerce-context{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
 body[data-commerce] .commerce-context select{width:100%;max-width:100%}
 body[data-commerce] .system-visual-metrics{font-size:11px}
 .gh-service-grid,.gh-form-grid{grid-template-columns:minmax(0,1fr)}
}
