/* Shared responsive rules for the public site, store, member portal and ERP. */
html{scroll-padding-top:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:0}main,main>*{min-width:0}img,video,svg{max-width:100%;height:auto}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}input,select,textarea{max-width:100%}textarea{width:100%}p,h1,h2,h3,label{overflow-wrap:anywhere}.fields>*,.cards>*,.review-meta>*,.dashboard-columns>*,.split>*{min-width:0}pre{max-width:100%;overflow:auto}table{display:block;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}table:focus-visible,.tree-scroll:focus-visible{outline:2px solid #b59d64;outline-offset:2px}.tree-scroll{touch-action:pan-x pan-y;overscroll-behavior:contain}.actions{flex-wrap:wrap}.admin-shell #view-body,.admin-shell #content,.admin-shell .panel,.admin-shell .member-profile-panel,.admin-shell .member-account-panel{min-width:0}.admin-shell .account-actions{max-width:calc(100vw - 24px)}
@media(max-width:1100px){.admin-shell .fields{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell .review-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px),(pointer:coarse){input,select,textarea,.admin-shell input,.admin-shell select,.admin-shell textarea{font-size:16px;min-height:44px}.admin-shell button.primary,.admin-shell button.secondary,.admin-shell td button.secondary,.admin-shell .tabs button,.admin-shell #section-nav button,.admin-shell #primary-nav button,button.primary,button.secondary,nav a,nav button,.header-actions>a,.text-link,.install,.icon-button{min-height:44px}.admin-shell #section-nav button{display:flex;align-items:center;padding:9px 14px}.admin-shell .tabs button{padding:9px 12px}.admin-shell .member-search button{height:auto;min-height:44px}.admin-shell .member-panel summary,.faq summary{min-height:44px;padding:10px 0}.admin-shell #account-menu summary{min-height:44px;padding:14px 0}.admin-shell input[type=checkbox],.check input{width:22px;min-height:22px;height:22px;flex-shrink:0}.admin-shell .panel-title{flex-wrap:wrap}.admin-shell .org-node{min-height:90px}.site-header nav a,.header-actions>a,.text-link{display:inline-flex;align-items:center}nav a,nav button{display:inline-flex;align-items:center}table th,table td{min-height:40px}.admin-shell .dashboard-intro .actions{gap:8px}}
@media(max-width:700px){.admin-shell .fields,.admin-shell .review-meta,.admin-shell .cards{grid-template-columns:1fr}.admin-shell .heading{gap:10px}.admin-shell .heading h1{overflow-wrap:anywhere}.admin-shell .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell header{min-height:56px;height:auto}.admin-shell #breadcrumb{max-width:110px}.admin-shell .workspace-status{gap:8px}.admin-shell .account{min-width:0}.admin-shell #account-menu summary{max-width:130px}.admin-shell .member-search{grid-template-columns:1fr}.admin-shell .member-search>label:first-child{grid-column:auto}.admin-shell .panel-title .pill{max-width:100%}.admin-shell .actions>button{flex:1 1 auto}.admin-shell .task-row{gap:10px}.admin-shell .recovery-codes{grid-template-columns:1fr}.admin-shell #primary-nav button{min-width:0}.site-header .header-actions{min-width:0}.site-header .header-actions a{white-space:nowrap}header nav{row-gap:0}.product-info>div{flex-wrap:wrap;gap:8px}.order-head{overflow-wrap:anywhere}.member-portal .panel{margin-bottom:16px}.member-portal form button{margin-top:16px}.split .panel{min-width:0}.bank{overflow-wrap:anywhere}.quick-links a{min-height:64px}}
@media(max-width:380px){.admin-shell .dashboard-kpis{grid-template-columns:1fr}.admin-shell #breadcrumb{max-width:85px;font-size:9px}.admin-shell #account-menu summary{max-width:110px}.hero-copy{padding:28px 20px 20px}.hero h1{font-size:30px}.hero-actions{gap:12px}.hero-foot{flex-wrap:wrap}.product-card{grid-template-columns:100px minmax(0,1fr)}.site-header{gap:12px}.site-header .logo{font-size:19px}.quick-links small{display:block;margin-top:5px}.footer-top>div{flex-wrap:wrap}.steps{grid-template-columns:1fr}.steps li{border-right:0;border-bottom:1px solid #37332d!important}.steps li:last-child{border-bottom:0!important}}
@media(orientation:landscape) and (max-height:500px){.admin-shell aside{padding-top:12px}.admin-shell .nav-label{margin-top:12px}.admin-shell #primary-nav button{padding-top:8px;padding-bottom:8px}.admin-shell .aside-bottom{padding-top:16px}.admin-shell .tree-scroll{min-height:240px;max-height:75dvh}}
@supports(padding:max(0px)){body>header,.site-header{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}body>footer{padding-bottom:max(24px,env(safe-area-inset-bottom))}.admin-shell main{padding-bottom:max(24px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(max-width:700px){.admin-shell.nav-open{overflow:hidden}.admin-shell aside{max-height:100dvh}.admin-shell .tree-scroll{touch-action:pan-x pan-y pinch-zoom}}
