.pwa-install{border:1px solid #cbdaf4;border-radius:10px;padding:10px 14px;background:#edf3ff;color:#193c87;font:600 12px system-ui;cursor:pointer;white-space:nowrap}.pwa-install[hidden]{display:none!important}.pwa-dialog{border:1px solid #dae4f5;border-radius:22px;width:min(420px,calc(100% - 32px));padding:28px;color:#16315a;box-sizing:border-box;box-shadow:0 24px 90px #142b5640}.pwa-dialog::backdrop{background:#10274788}.pwa-dialog h2{font:700 23px system-ui}.pwa-dialog p{font:16px/1.7 system-ui}.pwa-dialog small{display:block;font:13px/1.6 system-ui;color:#667995}.pwa-close{float:right;border:0;background:transparent;font-size:26px;color:#526c90;min-width:44px;min-height:44px}.pwa-confirm{width:100%;padding:14px;border:0;border-radius:12px;background:#2356e8;color:white;font:600 15px system-ui;margin-top:24px}.login-card>.pwa-install{display:block;margin:22px auto 0}
@media(max-width:760px){
html{scrollbar-gutter:auto;scroll-padding-top:140px}body{overflow-wrap:anywhere}.main-shell,main,.view{min-width:0;width:100%;box-sizing:border-box}main{padding:20px 12px max(24px,env(safe-area-inset-bottom))!important}.sidebar{height:auto!important;min-height:0!important;position:sticky;top:0;z-index:30;flex-wrap:wrap;padding:12px max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));gap:10px;background:#f8fafff5;backdrop-filter:blur(18px)}.brand-openparts{flex:1;min-width:100px}.brand-openparts img{width:142px;height:auto}.brand-sub{font-size:10px}.sidebar .header-tools{margin-left:auto;gap:7px}.header-tools .today,.header-tools .demo-toggle,.workspace-label{display:none}.header-tools .top-avatar{width:30px;height:30px;font-size:11px}.sidebar nav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));order:3;width:100%;gap:4px;margin:0}.sidebar .nav-item{height:52px;min-width:0;flex-direction:column;gap:4px;padding:6px 1px;font-size:9px}.nav-item svg{width:18px;height:18px}.nav-mark{display:none}.pwa-install{font-size:11px;padding:10px}.page-heading{gap:12px;align-items:flex-start}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.heading-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}.button,button,input,select{touch-action:manipulation}.button,input:not([type=checkbox]):not([type=radio]),select{min-height:44px}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;max-width:100%;box-sizing:border-box}.dash-filters,.filter-row,.filter-main,.dash-filter-top,.dash-filter-bottom{display:flex;flex-wrap:wrap;gap:12px;min-width:0}.dash-filters label,.dash-filter-top>label,.dash-filter-bottom>label{min-width:0!important;flex:1 1 135px}.dash-filters input,.dash-filters select{width:100%}.dash-filters .dash-check{flex-basis:100%}.dash-check input{width:auto}.dash-tabs{display:flex;flex-wrap:wrap;gap:6px;overflow:visible;white-space:normal}.dash-tabs button{flex:1 1 130px;white-space:normal;min-height:44px;padding:10px}.dash-kpis,.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.dash-kpi{padding:15px;min-width:0}.dash-kpi>strong{font-size:23px!important}.dash-kpi>span,.dash-kpi>small{font-size:11px}.dash-chart-grid,.dash-three-grid,.dash-insights,.account-grid,.history-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px}.dash-card,.inventory-panel,.white-card,.invoice-card{min-width:0;max-width:100%}.dash-card-head,.panel-heading{padding:17px;flex-wrap:wrap;gap:10px}.dash-card-head h2{font-size:17px}.dash-card-head p{font-size:12px}.table-scroll{min-width:0;max-width:100%}.table-scroll:has(>.mobile-records){overflow:visible}.mobile-records,.mobile-records tbody{display:block!important;width:100%!important;min-width:0!important;table-layout:auto!important}.mobile-records thead{display:none!important}.mobile-records tbody>tr{display:block;width:auto;margin:0 12px;padding:12px 0;border-bottom:1px solid #dce5f4}.mobile-records tbody>tr>td{display:block!important;width:auto!important;min-width:0!important;max-width:none!important;text-align:left!important;padding:7px 4px!important;border:0!important;white-space:normal!important;overflow-wrap:anywhere;font-size:13px}.mobile-records td[data-label]:before{content:attr(data-label);display:block;font-size:10px;font-weight:600;letter-spacing:.35px;color:#7285a1;margin-bottom:4px}.mobile-records .piece-company-detail[hidden]{display:none!important}.mobile-records .piece-company-detail{margin:0;padding:0}.piece-company-toggle{width:36px;height:36px}.invoice-details{display:flex;flex-wrap:wrap;gap:14px}.invoice-details>*{min-width:0;max-width:100%}.invoice-info{width:100%}.invoice-top{flex-wrap:wrap}.invoice-info,.invoice-additional{overflow-wrap:anywhere}.pagination{flex-wrap:wrap;gap:10px}.pagination button{min-width:44px;min-height:44px}.dash-line-chart svg,#dash-line-chart svg,#xray-chart svg{max-width:100%;height:auto}.dash-bar-top{gap:8px}.dash-bar-top>strong{min-width:0;overflow-wrap:anywhere}.workspace-strip{padding:12px;gap:10px}.company-load{flex-wrap:wrap}.log-line{grid-template-columns:1fr!important}.brand-field,.search-field{width:100%;box-sizing:border-box}.filter-row>label{max-width:100%;flex-wrap:wrap}.date-field{flex-wrap:wrap}.pwa-dialog{max-height:85dvh;overflow:auto}.login-card{width:calc(100% - 28px);box-sizing:border-box}.xray-financial-table tr{margin:0}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

#financial-summary-text{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.7 system-ui;color:#16315a}#financial-summary-dialog{width:min(540px,calc(100% - 28px));max-height:85dvh;overflow:auto}#push-card .heading-actions{flex-wrap:wrap;justify-content:flex-start;padding:0}#push-disable[hidden]{display:none!important}

@media(min-width:761px){.pwa-install{display:none!important}}
