/* BJPS ERP mobile design system — Android-first | deployment refresh 2026-11-15 */
:root{--bjps-red:#b5121b;--bjps-red-dark:#8f0d15;--bjps-pink:#fff1f2;--bjps-ink:#182230;--bjps-muted:#667085;--bjps-line:#e7e9ee}
@media(max-width:700px){
 html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
 body{font-size:16px;line-height:1.45;padding-bottom:env(safe-area-inset-bottom)}
 button,a,input,select,textarea{touch-action:manipulation}
 button,a{ -webkit-tap-highlight-color:transparent}
 button{cursor:pointer}
 input,select,textarea{font-size:16px!important;min-height:48px;border-radius:12px!important}
 button,.btn,.module-button,.auth-button,[type=submit]{min-height:48px;border-radius:12px}
 header{max-width:100%}
 table{font-size:13px}
 th,td{padding:11px 10px!important}
 .container,.main,.page,.content,.shell{max-width:100%;min-width:0}
 .card,.panel,.data-panel,.stat-card,.kpi-card{border-radius:16px}
 .toolbar,.filters,.actions{gap:9px}
 .toolbar button,.filters button,.actions button{min-height:46px}
 .page-title,h1{font-size:clamp(22px,6vw,28px);line-height:1.15}
 h2{font-size:19px;line-height:1.2}
 .muted,.helper,.description{line-height:1.45}
 .modal,.dialog{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:88dvh;overflow:auto;border-radius:18px}
 .table-wrap,.overflow-x-auto{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 .form-grid,.grid-cols-2,.grid-cols-3,.grid-cols-4{grid-template-columns:1fr!important}
 .form-actions,.action-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
 .form-actions>* ,.action-row>*{min-width:0}
 .badge,.pill,.chip{font-size:11px}
}
