:root{font-size:16px;}
body{background:var(--bg);color:var(--ink);font-size:16px;line-height:1.5}
button,input,select,textarea{font-size:16px}
input,select,textarea{min-height:44px;padding:10px 12px;border-radius:6px}
input[type=checkbox]{min-height:20px;width:20px;height:20px;flex-shrink:0}
.small,.muted.small{font-size:14px}
.sidebar{width:220px;padding:22px 16px}
.brand{margin:0 0 24px;padding:0 10px;gap:12px}
.brand img{width:36px;height:36px}
.brand strong{font-size:24px;letter-spacing:1px}
.nav{gap:4px}
.nav a{padding:11px 12px;gap:12px;font-size:16px}
.nav a .icon{width:22px;height:22px}
.sidebar-bottom{padding-top:16px}
.profile{padding:0;gap:10px;margin-top:12px}
.profile strong{font-size:16px}.profile small{font-size:14px}
.main{margin-left:220px}
.topbar{height:58px;padding:0 24px;gap:12px}
.breadcrumb{font-size:15px;gap:10px}.breadcrumb>span:first-child{max-width:200px}
.top-user{font-size:15px;white-space:nowrap}
.top-right{gap:12px}.top-right>button{padding:8px}
.badge,.badge.green,.badge.red{font-size:13px;padding:4px 8px}
.content{max-width:1250px;padding:20px 24px 32px}
.page-head{align-items:center;margin-bottom:16px;gap:12px}
.page-head h1{font-size:24px;font-weight:600;letter-spacing:0;margin:0}
.page-head p{font-size:15px;line-height:1.5;margin:7px 0 0;max-width:none}
.page-head p:empty{display:none}
.page-head .btn,.btn{font-size:16px;min-height:44px;padding:10px 14px;border-radius:6px}
.btn.small{font-size:14px;min-height:40px;padding:8px 12px}
.btn .icon{width:20px;height:20px}.btn.small .icon{width:18px;height:18px}
.text-btn{font-size:15px;min-height:40px;padding:8px 2px}
.business-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid var(--line);border-radius:6px;margin-bottom:18px;padding:10px 0}
.business-counts a{display:flex;flex-direction:column;gap:3px;align-items:center;border-right:1px solid var(--line);min-width:0}
.business-counts a:last-child{border:0}.business-counts span{font-size:15px;color:var(--secondary)}.business-counts strong{font-size:23px;font-weight:600;line-height:1.3;word-break:break-all}.business-counts small{font-size:14px;font-weight:400;margin-left:4px}
.module-group{margin-bottom:17px}.module-group h2{font-size:17px;font-weight:600;margin:0 0 8px}
.business-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:6px;overflow:hidden}
.module-tile{background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:83px;padding:10px 5px;font-size:16px;font-weight:500;line-height:1.3;text-align:center;min-width:0}
.module-tile .icon{width:27px;height:27px;color:var(--brand);stroke-width:1.8}
.module-tile:hover{background:var(--surface-soft)}.module-tile.main-action{background:var(--surface-soft)}.module-tile span{overflow-wrap:anywhere}
.panel{border-radius:6px;margin-bottom:18px}.panel-head{padding:16px 18px}.panel-head h2{font-size:18px;font-weight:600}.panel-head p{font-size:14px;line-height:1.5;margin-top:7px}.panel-head>span{font-size:14px;color:var(--muted)}.panel-body{padding:0 18px 18px}
.stats{gap:12px;margin-bottom:18px}.stat{padding:17px;border-radius:6px}.stat-top{font-size:15px}.stat .value{font-size:27px;margin:10px 0 7px}.stat .value span{font-size:15px}.stat small{font-size:14px;line-height:1.5}
.summary-rows{padding:0 18px}.summary-rows>div{display:flex;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid var(--line);font-size:16px}.summary-rows>div:last-child{border:0}.summary-rows strong{font-size:20px;font-weight:600;white-space:nowrap}
.tabs{gap:24px;margin-bottom:16px}.tabs button{font-size:16px;padding:0 0 12px;min-height:42px}
.task-list{padding:0 16px}.task-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border:0}.task-info{flex:1;text-align:left;min-width:0;padding:4px 0}.task-info strong,.order-pick strong{display:block;font-size:17px;font-weight:600}.task-info span,.order-pick span{display:block;font-size:15px;margin-top:4px;color:var(--muted)}.task-row .btn{flex-shrink:0}
.order-pick{display:block;padding:14px 2px;border-bottom:1px solid var(--line);width:100%;text-align:left}.order-pick:hover{background:var(--surface-soft)}
.table-wrap{max-width:100%;overflow:auto}th{font-size:14px;padding:12px 16px;font-weight:500;color:var(--secondary)}td{font-size:16px;padding:14px 16px}.subline{font-size:14px;line-height:1.5;margin-top:5px;color:var(--secondary)}.row-foot{font-size:14px;padding:12px 16px}.status{font-size:14px;padding:4px 7px}.status.pending{color:#91632c;background:#fff2df}
.toolbar{gap:10px;margin-bottom:16px}.toolbar select{font-size:16px;min-height:44px;padding:9px 10px}.toolbar .btn{font-size:16px;min-height:44px;padding:10px 12px}.searchbox{gap:10px;border-radius:6px}.searchbox input{font-size:16px}.searchbox .icon{width:21px;height:21px}
.products{gap:14px}.product-card{border-radius:6px;transition:none}.product-card:hover{transform:none;box-shadow:none}.product-image{height:160px}.product-image .sku{font-size:12px;letter-spacing:0;padding:4px 6px}.product-info{padding:13px}.product-info h3{font-size:17px;font-weight:600;margin-bottom:6px;line-height:1.4}.product-info p{font-size:14px;margin-bottom:12px;line-height:1.5}.product-meta{font-size:14px;gap:6px;flex-wrap:wrap}.product-meta strong{font-size:20px}.product-stock{font-size:14px;padding-top:10px;margin-top:10px;gap:8px;flex-wrap:wrap}.product-stock b{font-size:17px}
.pager{font-size:15px;margin-top:20px;gap:14px}
.empty{padding:35px 18px;font-size:16px;line-height:1.9}.empty .small{font-size:15px}
.field{font-size:16px;color:var(--ink)}.field small{font-size:14px;line-height:1.5;margin-top:6px}.field input,.field select,.field textarea{margin-top:7px}.check-row{font-size:16px;gap:9px;line-height:1.6}
.form-grid{gap:16px}.form-error{font-size:15px;line-height:1.6;margin-top:12px}
.note,.note.warn{font-size:15px;line-height:1.7;padding:12px 14px;border-radius:6px}.section-label{font-size:15px}.pill{font-size:14px;padding:5px 8px}.settings-rule{font-size:16px;line-height:1.9}.settings-rule li{margin-bottom:5px}
.history-line{font-size:16px;gap:12px;padding:13px 0}.history-line small{font-size:14px;line-height:1.5}.account-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.account-tools .btn{white-space:nowrap}
.detail-facts{padding:16px 18px;gap:26px}.detail-facts div{font-size:15px}.detail-facts strong{font-size:20px;font-weight:600;margin-top:5px}.detail-actions{padding:16px 18px;gap:10px}.detail-actions .btn{font-size:16px;min-height:44px}
.modal-backdrop{padding:22px}.modal{border-radius:8px;width:660px;box-shadow:0 12px 40px #0002}.modal.wide{width:900px}.modal-head{padding:18px 20px}.modal-head h2{font-size:21px;font-weight:600}.modal-head button{padding:8px}.modal-body{padding:20px;font-size:16px}.modal-footer{padding:15px 20px;gap:10px;border-radius:0 0 8px 8px}.modal-footer .total{font-size:15px}.modal-footer .total strong{font-size:24px}.modal-body>p{line-height:1.7}
.line-labels{font-size:14px;grid-template-columns:minmax(0,1fr) 76px 94px 28px}.line-item{font-size:16px;grid-template-columns:minmax(0,1fr) 76px 94px 28px;padding:12px 0}.line-item strong{font-size:16px}.line-item small{font-size:14px;line-height:1.5}.line-item input{font-size:16px;min-height:44px;padding:8px}.picker input{font-size:16px}.picker-item{padding:12px}.picker-item span{font-size:16px}.picker-item small{font-size:14px;line-height:1.5}.picker-list{max-height:260px}
.file-field{font-size:15px;padding:15px}.file-field input{font-size:15px}.balance{font-size:30px}.balance span{font-size:16px}
.auth{display:block;min-height:100dvh;background:var(--bg)}.auth-form{display:flex;align-items:flex-start;justify-content:center;min-height:100dvh;padding:65px 20px 35px}.auth-card{width:100%;max-width:410px;background:#fff;padding:28px;border:1px solid var(--line);border-radius:8px}.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:26px}.auth-brand img{width:40px;height:40px}.auth-brand strong{font-size:26px;display:block;line-height:1.2}.auth-brand span{font-size:16px;display:block;color:var(--muted);margin-top:4px}.auth-card h1{font-size:22px;margin:0 0 22px;font-weight:600}.auth-card .field{margin:17px 0}.auth-card .btn{width:100%;font-size:17px;margin-top:12px;min-height:46px}.auth-card .forgot-link{width:auto;margin-top:0;font-size:15px;white-space:nowrap;min-height:36px}.login-options{display:flex;flex-wrap:wrap;align-items:center;gap:10px 15px;margin:12px 0 6px}.login-options .check-row{font-size:15px;gap:6px;white-space:nowrap}.forgot-link{margin-left:auto}.login-button{font-weight:500}
.footnote{font-size:14px;color:var(--secondary);line-height:1.5;margin:20px 0 0}.share-preview{padding:22px;border-radius:6px}.share-preview h2{font-size:23px}.share-preview .share-title{font-size:17px}.shop-contact{font-size:14px;line-height:1.7}.share-preview td,.share-preview th{padding:12px 10px}.share-preview .share-total{font-size:18px}.share-preview .small{font-size:15px}
#toast{font-size:16px;padding:12px 18px;border-radius:6px}
@media(max-width:1100px){.sidebar{width:190px;padding:20px 12px}.main{margin-left:190px}.content{padding:18px}.topbar{padding:0 18px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){
  .sidebar{display:none}.main{margin-left:0}.topbar{height:50px;padding:0 14px}.breadcrumb{font-size:15px;gap:8px}.breadcrumb>span:first-child{max-width:100px}.top-right{gap:6px}.top-user{font-size:14px}.badge{font-size:12px;padding:3px 6px}.top-right>button{padding:7px}
  .content{padding:16px 12px 92px}.page-head{gap:10px;margin-bottom:13px;align-items:center}.page-head h1{font-size:23px;margin:0}.page-head p{font-size:14px;line-height:1.5;max-width:none;margin-top:6px}.page-head .actions{gap:6px}.page-head .btn{font-size:15px;padding:9px 11px;min-height:42px}.page-head .btn .icon{width:18px}.page-head .hide-mobile{display:none}
  .business-counts{margin-bottom:15px;padding:9px 0}.business-counts span{font-size:14px}.business-counts strong{font-size:21px}.business-counts small{font-size:13px}.module-group{margin-bottom:15px}.module-group h2{font-size:16px;margin-bottom:7px}.module-tile{min-height:78px;font-size:16px;padding:10px 3px;gap:7px}.module-tile .icon{width:25px;height:25px}
  .mobile-nav{display:flex;padding:7px 5px calc(7px + env(safe-area-inset-bottom));min-height:64px}.mobile-nav a{font-size:14px;min-width:60px;gap:4px;padding:4px 14px}.mobile-nav .icon{width:24px;height:24px}
  .panel-head{padding:15px}.panel-head h2{font-size:18px}.panel-head p{font-size:14px}.panel-body{padding:0 15px 16px}.panel{margin-bottom:16px}.stats{gap:10px}.stat{padding:14px}.stat-top{font-size:14px}.stat .value{font-size:25px}.stat .value span{font-size:14px}.stat small{font-size:14px}
  th{font-size:14px;padding:11px 13px}td{font-size:16px;padding:13px}.subline{font-size:14px}.row-foot{font-size:14px;padding:12px 14px}.tabs{gap:20px;margin-bottom:15px}.tabs button{font-size:16px;min-height:42px;white-space:nowrap}.status{font-size:14px}
  .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-image{height:135px}.product-image .sku{font-size:12px;top:8px;left:8px}.product-info{padding:11px}.product-info h3{font-size:16px;font-weight:600;line-height:1.4}.product-info p{font-size:14px;line-height:1.5;margin-bottom:10px}.product-meta{font-size:14px}.product-meta strong{font-size:18px}.product-stock{font-size:14px;gap:7px;padding-top:9px}.product-stock b{font-size:16px}
  .toolbar{gap:8px}.toolbar .searchbox{min-width:100%;order:-1}.toolbar select{font-size:16px;min-height:44px;min-width:100px;padding:8px;flex:1}.toolbar .btn{font-size:15px;min-height:44px;padding:8px 10px}.pager{font-size:14px;gap:12px}.pager .btn.small{font-size:14px}
  .split-grid{grid-template-columns:1fr;gap:0}.form-grid{gap:15px}.field{font-size:16px}.field small{font-size:14px}input,select,textarea{font-size:16px;min-height:44px;padding:10px}.check-row{font-size:16px}.history-line{font-size:16px}.history-line small{font-size:14px}.settings-rule{font-size:16px}.pill{font-size:13px}
  .modal-backdrop{padding:0;align-items:flex-end}.modal{width:100%;max-height:94dvh;border-radius:12px 12px 0 0}.modal-head{padding:17px}.modal-head h2{font-size:20px}.modal-body{padding:17px;max-height:calc(94dvh - 140px);font-size:16px}.modal-footer{padding:14px 17px calc(14px + env(safe-area-inset-bottom));border-radius:0}.modal-footer .btn{font-size:16px;min-height:44px}.modal-footer .total{font-size:14px}.modal-footer .total strong{font-size:23px}
  .line-labels{grid-template-columns:minmax(0,1fr) 62px 82px 24px;gap:7px;font-size:14px}.line-item{grid-template-columns:minmax(0,1fr) 62px 82px 24px;gap:7px}.line-item strong{font-size:16px}.line-item small{font-size:14px}.line-item input{font-size:16px;min-height:44px}.picker-item span{font-size:16px}.picker-item small{font-size:14px}.detail-facts{padding:15px;gap:20px}.detail-facts div{font-size:14px}.detail-facts strong{font-size:19px}.detail-actions{padding:15px;gap:8px}.detail-actions .btn{font-size:15px;min-height:44px;padding:9px 11px}
  .auth-form{padding:28px 14px;min-height:100dvh;align-items:flex-start}.auth-card{max-width:410px;padding:24px 20px}.auth-brand{margin-bottom:23px}.auth-card h1{font-size:22px}.auth-card .field{font-size:16px;margin:17px 0}.login-options{gap:8px 13px}.login-options .check-row{font-size:15px}.auth-card .forgot-link{font-size:15px}.auth-card .btn{font-size:17px}.auth-card .forgot-link{font-size:15px}
  .note,.note.warn{font-size:15px;line-height:1.7;padding:12px}.small{font-size:14px}.summary-rows{padding:0 15px}.summary-rows>div{font-size:16px;padding:13px 0}.summary-rows strong{font-size:20px}.task-list{padding:0 14px}.task-info strong,.order-pick strong{font-size:17px}.task-info span,.order-pick span{font-size:15px}.task-row .btn{padding:8px 11px}.footnote{font-size:14px;margin-top:18px}#toast{bottom:83px;font-size:16px}
}
@media(max-width:360px){.module-tile{font-size:15px}.login-options{gap:6px 10px}.auth-card{padding:22px 16px}.account-tools{max-width:175px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:1}.page-head .btn{font-size:14px}}
@media print{.mobile-nav,.sidebar,.topbar,.page-head,.detail-actions,.footnote,#overlay{display:none!important}.main{margin:0}.content{padding:0}.panel{border:0}.share-preview{border:0}}

.business-grid.grid-six{grid-template-columns:repeat(3,minmax(0,1fr))}
.product-image .sku,.badge,.badge.green,.badge.red,.pill,.business-counts small{font-size:14px}
@media(max-width:360px){.module-tile{font-size:16px}}
