:root{
  --m-bg:#f5f1e8;
  --m-panel:#fffdf9;
  --m-panel-soft:#f7f3eb;
  --m-border:#dfd6c7;
  --m-border-strong:#cbbca3;
  --m-ink:#1f2937;
  --m-subtle:#6b7280;
  --m-accent:#0f766e;
  --m-accent-soft:#d8f0ec;
  --m-danger:#b42318;
  --m-shadow:0 18px 40px rgba(66, 49, 20, .08);
  --m-radius:20px;
}

*{box-sizing:border-box}
html,body{
  margin:0;min-height:100%;
  background:
    radial-gradient(circle at top left, rgba(15,118,110,.08), transparent 38%),
    radial-gradient(circle at top right, rgba(196,164,132,.14), transparent 34%),
    linear-gradient(180deg,#f8f4ec 0%,var(--m-bg) 58%,#f3eee4 100%);
  color:var(--m-ink);
  font-family:"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif
}
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.m-lock-scroll{overflow:hidden}
button,input,select,textarea{
  font:inherit;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
input,select,textarea{
  font-size:16px !important;
}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
.hidden{display:none !important}

.m-app-shell{min-height:100vh;display:flex;flex-direction:column}
.m-topbar{
  position:sticky;top:0;z-index:20;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;
  padding:12px 14px 10px;background:rgba(248,244,236,.88);backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(203,188,163,.5)
}
.m-brand-block{display:flex;gap:10px;align-items:flex-start;min-width:0}
.m-brand-badge,.m-login-pill{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:66px;height:28px;
  padding:0 10px;border-radius:999px;background:#102a27;color:#fff;font-size:12px;font-weight:700;letter-spacing:.02em
}
.m-brand-block strong{display:block;font-size:17px;line-height:1.08}
.m-brand-block p{margin:3px 0 0;color:var(--m-subtle);font-size:11px;line-height:1.35}
#mobileRefreshBtn,#mobileInstallBtn{min-height:34px;padding:0 11px;font-size:12px}

.m-main{flex:1;display:flex;flex-direction:column;padding:12px 14px calc(18px + env(safe-area-inset-bottom));gap:12px}
.m-view{display:none;gap:12px}
.m-view.active{display:flex;flex-direction:column}
.m-view[data-view="my"]{gap:10px}
.m-view[data-view="my"] .m-section-card{padding:13px}
.m-view[data-view="my"] .m-section-head{margin-bottom:10px}
#mobilePrintHistorySection{padding:11px}
#mobilePrintHistorySection .m-section-head{margin-bottom:8px}
#mobilePrintHistorySection .m-section-head-actions{gap:6px}
#mobilePrintHistorySection .m-btn-compact{min-height:32px;padding:0 10px;font-size:11px}
#mobilePrintHistorySection .m-print-summary-grid{margin-bottom:8px}
#mobilePrintHistorySection .m-print-filter-stack{gap:8px}
#mobilePrintHistorySection .m-print-search-row{gap:6px}
#mobilePrintHistorySection .m-print-search-box input{min-height:38px;font-size:12px}
#mobilePrintHistorySection .m-print-search-actions{gap:6px}
#mobilePrintHistorySection .m-print-filter-toggle{padding:8px 10px}
#mobilePrintHistorySection .m-print-filter-toggle-actions{gap:6px}
#mobilePrintHistorySection .m-print-filter-panel{gap:8px}
#mobilePrintHistorySection .m-print-filter-row{margin-bottom:8px}
#mobilePrintHistorySection .m-print-filter-row .m-chip{min-height:30px;padding:0 10px;font-size:11px}
#mobilePrintHistorySection .m-print-bulk-bar{margin-bottom:8px;padding:8px 10px;border-radius:16px}
#mobilePrintHistorySection .m-print-list-more{margin-top:8px;padding:8px 10px;border-radius:14px}
#mobilePrintHistorySection .m-list-stack{gap:8px}
#mobilePrintHistoryMask .m-detail-head{padding:14px 14px 10px}
#mobilePrintHistoryMask .m-detail-caption{margin-bottom:2px;font-size:11px}
#mobilePrintHistoryMask .m-detail-head h2{font-size:18px;line-height:1.15}
#mobilePrintHistoryMask .m-icon-btn{min-height:34px;padding:0 10px;font-size:12px}
#mobilePrintHistoryMask .m-detail-body{padding:12px;gap:10px}
#mobilePrintHistoryMask .m-section-card{padding:11px}
#mobilePrintHistoryMask .m-section-head{margin-bottom:8px}
#mobilePrintHistoryMask .m-section-head h2{font-size:16px}
#mobilePrintHistoryMask .m-section-head span{font-size:11px}
#mobilePrintHistoryMask .m-print-detail-grid{gap:8px}
#mobilePrintHistoryMask .m-account-box{padding:8px 9px;border-radius:14px}
#mobilePrintHistoryMask .m-account-box span{margin-bottom:3px;font-size:10px}
#mobilePrintHistoryMask .m-account-box strong{font-size:13px;line-height:1.25}
#mobilePrintHistoryMask .m-print-detail-note{margin-top:8px;font-size:11px;line-height:1.45}
#mobilePrintHistoryMask .m-style-print-actions{gap:6px;margin-top:8px}
#mobilePrintHistoryMask .m-style-print-actions .m-btn-compact{min-height:32px;padding:0 10px;font-size:11px}
#mobilePrintHistoryMask .m-print-summary-list{gap:8px}
#mobilePrintHistoryMask .m-print-summary-item{gap:10px;padding:10px;border-radius:16px}
#mobilePrintHistoryMask .m-print-detail-list{gap:6px}
#mobilePrintHistoryMask .m-print-detail-item{gap:8px;padding:8px 9px;border-radius:12px}
#mobilePrintHistoryMask .m-print-detail-main strong{font-size:13px;line-height:1.25}
#mobilePrintHistoryMask .m-print-detail-main p{margin-top:2px;font-size:10px;line-height:1.3}
#mobilePrintHistoryMask .m-print-detail-side{gap:2px}
#mobilePrintHistoryMask .m-print-detail-side strong{font-size:12px}
#mobilePrintHistoryMask .m-print-detail-side span{font-size:9px;line-height:1.25;max-width:72px}
#mobilePrintHistoryMask .m-print-summary-list{gap:6px}
#mobilePrintHistoryMask .m-print-summary-item{gap:8px;padding:8px 9px;border-radius:12px}
#mobilePrintHistoryMask .m-print-summary-item .m-print-detail-main strong{font-size:13px;line-height:1.25}
#mobilePrintHistoryMask .m-print-summary-item .m-print-detail-main p{margin-top:2px;font-size:10px;line-height:1.3}
#mobilePrintHistoryMask .m-print-summary-item .m-print-detail-side{gap:2px}
#mobilePrintHistoryMask .m-print-summary-item .m-print-detail-side strong{font-size:12px}
#mobilePrintHistoryMask .m-print-summary-item .m-print-detail-side span{font-size:9px;line-height:1.25;max-width:72px}
#mobilePrintHistoryMask .m-print-detail-note{margin-top:6px;font-size:10px;line-height:1.35}
#mobilePrintHistoryMask .m-style-print-actions{margin-top:6px}
#mobilePrintHistoryMask .m-style-print-actions .m-btn-compact{min-height:30px;padding:0 9px;font-size:10px}
#mobilePrintHistoryMask .m-empty-box{padding:12px;font-size:11px;line-height:1.6}
#mobilePrintHistoryMask .m-print-list-more{margin-top:8px;padding:8px 10px;border-radius:14px}
#mobilePrintHistoryMask .m-print-list-more span{font-size:11px;line-height:1.4}
#mobilePrintHistoryMask .m-print-list-more .m-btn-compact{min-height:32px;padding:0 10px;font-size:11px}
#mobilePrintControlPanel{margin-top:8px}
#mobilePrintControlPanel .m-chip-row{gap:6px}
#mobilePrintControlPanel .m-chip{min-height:32px;padding:0 10px;font-size:11px}
#mobilePrintControlPanel .m-print-mode-tools-start{margin-left:auto}
#mobilePrintControlPanel .m-mobile-print-form{gap:8px}
#mobilePrintControlPanel .m-mobile-print-form .m-field span{font-size:12px}
#mobilePrintControlPanel .m-mobile-print-form select{min-height:40px;padding:0 12px;border-radius:12px;font-size:12px}
#mobilePrintCandidateList{gap:8px}
#mobilePrintCandidateList .m-button-row{gap:6px}
#mobilePrintCandidateList .m-button-row .m-primary-btn,
#mobilePrintCandidateList .m-button-row .m-ghost-btn{min-height:34px;padding:0 10px;font-size:11px}
#mobilePrintCandidateList .m-print-single-action-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
#mobilePrintCandidateList .m-print-batch-action-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#mobilePrintCandidateList .m-field input{min-height:40px;padding:0 12px;border-radius:12px;font-size:16px}
#mobilePrintCandidateList .m-print-search-box{display:flex;flex-direction:column;gap:8px}
#mobilePrintCandidateList .m-print-single-search-box{gap:0}
#mobilePrintCandidateList .m-print-batch-search-box{gap:8px}
#mobilePrintCandidateList .m-print-single-search-inline{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:8px;align-items:end}
#mobilePrintCandidateList .m-print-single-copies-field input{text-align:center;padding:0 6px;min-height:34px}
#mobilePrintCandidateList .m-print-copies-stepper{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:4px;align-items:center}
#mobilePrintCandidateList .m-print-copies-stepper .m-ghost-btn{min-height:34px;padding:0;font-size:14px}
#mobilePrintCandidateList .m-print-workbench-mode-card{display:flex;flex-direction:column;gap:8px}
#mobilePrintCandidateList .m-print-single-dropdown-list,
#mobilePrintCandidateList .m-print-batch-list{display:flex;flex-direction:column;gap:4px}
#mobilePrintCandidateList .m-print-selection-box{display:flex;flex-direction:column;gap:6px}
#mobilePrintCandidateList .m-print-selection-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
#mobilePrintCandidateList .m-print-selection-head strong{font-size:13px;line-height:1.25}
#mobilePrintCandidateList .m-print-selection-head span{font-size:11px;color:var(--m-subtle)}
#mobilePrintCandidateList .m-print-sku-row{display:flex;align-items:center;gap:6px;padding:6px;border:1px solid rgba(15,93,86,.12);border-radius:14px;background:#fff}
#mobilePrintCandidateList .m-print-sku-row.is-selected{border-color:rgba(15,93,86,.36);background:#f1fbf7}
#mobilePrintCandidateList .m-print-sku-check{display:flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px}
#mobilePrintCandidateList .m-print-sku-check.hidden{display:none}
#mobilePrintCandidateList .m-print-sku-check input{width:16px;height:16px}
#mobilePrintCandidateList .m-print-sku-cover{width:40px;height:40px;flex:0 0 40px;border-radius:10px;object-fit:cover;background:#eef2f6}
#mobilePrintCandidateList .m-print-sku-cover.placeholder{display:flex;align-items:center;justify-content:center;font-size:11px;color:#7a8696}
#mobilePrintCandidateList .m-print-sku-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:0}
#mobilePrintCandidateList .m-print-sku-head{display:flex;align-items:center;justify-content:space-between;gap:6px}
#mobilePrintCandidateList .m-print-sku-head strong{font-size:13px;line-height:1.2}
#mobilePrintCandidateList .m-print-sku-head .m-tag{min-height:22px;padding:0 7px;font-size:10px}
#mobilePrintCandidateList .m-print-sku-main p{margin:0;font-size:10.5px;line-height:1.25;color:var(--m-subtle)}
#mobilePrintCandidateList .m-print-sku-main .m-print-sku-sub{color:#59667a}
#mobilePrintCandidateList .m-print-batch-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;border:1px solid rgba(15,93,86,.12);border-radius:14px;background:#f7fbfb}
#mobilePrintCandidateList .m-print-batch-toolbar strong{display:block;font-size:13px;line-height:1.25;color:#15314f}
#mobilePrintCandidateList .m-print-batch-toolbar span{display:block;margin-top:2px;font-size:11px;line-height:1.35;color:var(--m-subtle)}
#mobilePrintCandidateList .m-print-batch-toolbar-actions{display:flex;gap:6px}
#mobilePrintControlPanel .m-print-control-stack{display:flex;flex-direction:column;gap:8px}
#mobilePrintControlPanel .m-print-mode-row{align-items:flex-start}
#mobilePrintControlPanel .m-print-setting-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#mobilePrintControlPanel .m-print-setting-grid .m-field{min-width:0}
#mobilePrintPickerMask .m-detail-head{padding:14px 14px 10px}
#mobilePrintPickerMask .m-detail-caption{margin-bottom:2px;font-size:11px}
#mobilePrintPickerMask .m-detail-head h2{font-size:18px;line-height:1.15}
#mobilePrintPickerMask .m-icon-btn{min-height:34px;padding:0 10px;font-size:12px}
#mobilePrintPickerMask .m-detail-body{padding:12px;gap:10px}
#mobilePrintPickerMask .m-mobile-print-picker{gap:10px}
#mobilePrintPickerMask .m-mobile-print-summary{padding:11px 12px;border-radius:14px}
#mobilePrintPickerMask .m-mobile-print-summary strong{font-size:14px;line-height:1.25}
#mobilePrintPickerMask .m-mobile-print-summary p{margin-top:4px;font-size:11px;line-height:1.45}
#mobilePrintPickerMask .m-mobile-print-summary .m-tag-list{margin-top:8px;gap:6px}
#mobilePrintPickerMask .m-mobile-print-summary .m-tag{min-height:24px;padding:0 8px;font-size:11px}
#mobilePrintPickerMask .m-chip-row{gap:6px}
#mobilePrintPickerMask .m-chip{min-height:32px;padding:0 10px;font-size:11px}
#mobilePrintPickerMask .m-mobile-print-scope-values{margin-top:-2px}
#mobilePrintPickerMask .m-mobile-print-form{gap:8px}
#mobilePrintPickerMask .m-mobile-print-form .m-field span{font-size:12px}
#mobilePrintPickerMask .m-mobile-print-form input{min-height:40px;padding:0 12px;font-size:12px}
#mobilePrintPickerMask .m-mobile-print-form textarea{min-height:64px;padding:10px 12px;font-size:12px}
#mobilePrintPickerMask .m-mobile-print-hint{margin-top:-2px;font-size:11px;line-height:1.45}
#mobilePrintPickerMask .m-style-action-grid{gap:8px}
#mobilePrintPickerMask .m-style-action-card{min-height:66px;padding:10px 12px;gap:4px}
#mobilePrintPickerMask .m-style-action-card strong{font-size:14px;line-height:1.2}
#mobilePrintPickerMask .m-style-action-card span{font-size:11px;line-height:1.4}
#mobilePrintPickerMask .m-mobile-print-note{font-size:11px;line-height:1.45}
#mobileProductDetailMask .m-detail-head{padding:14px 14px 10px}
#mobileProductDetailMask .m-detail-caption{margin-bottom:2px;font-size:11px}
#mobileProductDetailMask .m-detail-head h2{font-size:18px;line-height:1.15}
#mobileProductDetailMask .m-icon-btn{min-height:34px;padding:0 10px;font-size:12px}
#mobileProductDetailMask .m-detail-body{padding:12px;gap:10px}
#mobileProductDetailMask .m-section-card{padding:11px}
#mobileProductDetailMask .m-section-head{margin-bottom:8px}
#mobileProductDetailMask .m-section-head h2{font-size:16px}
#mobileProductDetailMask .m-section-head span{font-size:11px}
#mobileProductDetailMask .m-detail-shell-card{display:flex;flex-direction:column;gap:8px}
#mobileProductDetailMask .m-detail-hero{grid-template-columns:72px minmax(0,1fr);gap:8px}
#mobileProductDetailMask .m-detail-cover{width:72px;height:96px;border-radius:12px}
#mobileProductDetailMask .m-detail-title-row{gap:5px}
#mobileProductDetailMask .m-detail-info h3{font-size:15px;line-height:1.08}
#mobileProductDetailMask .m-detail-code{margin-top:2px;font-size:10px;line-height:1.2}
#mobileProductDetailMask .m-detail-info p{margin-top:4px;font-size:10px;line-height:1.35}
#mobileProductDetailMask .m-detail-facts{gap:5px;margin-top:6px}
#mobileProductDetailMask .m-detail-fact{padding:7px 8px;border-radius:10px}
#mobileProductDetailMask .m-detail-fact span{margin-bottom:2px;font-size:9px}
#mobileProductDetailMask .m-detail-fact strong{font-size:11px;line-height:1.2}
#mobileProductDetailMask .m-tag-list{gap:4px}
#mobileProductDetailMask .m-tag{min-height:20px;padding:0 6px;font-size:9px}
#mobileProductDetailMask .m-detail-quick-grid{gap:5px}
#mobileProductDetailMask .m-detail-quick-btn{min-height:48px;padding:7px 8px;gap:1px}
#mobileProductDetailMask .m-detail-quick-btn strong{font-size:11px}
#mobileProductDetailMask .m-detail-quick-btn span{font-size:9px;line-height:1.25}
#mobileProductDetailMask .m-detail-quick-btn span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#mobileProductDetailMask .m-detail-quick-wide{min-height:44px}
#mobileProductDetailMask .m-detail-focus-grid{gap:8px}
#mobileProductDetailMask .m-detail-focus-btn{min-height:56px;padding:10px;gap:3px;border-radius:14px}
#mobileProductDetailMask .m-detail-focus-btn strong{font-size:13px}
#mobileProductDetailMask .m-detail-focus-btn span{font-size:10px;line-height:1.35}
#mobileProductDetailMask .m-detail-stat-grid{gap:6px}
#mobileProductDetailMask .m-detail-mini-stat{min-height:58px;padding:8px 9px;border-radius:12px;gap:2px}
#mobileProductDetailMask .m-detail-mini-stat span{font-size:10px}
#mobileProductDetailMask .m-detail-mini-stat strong{font-size:16px}
#mobileProductDetailMask .m-detail-mini-stat small{font-size:9px;line-height:1.25}
#mobileProductDetailMask [data-style-section="base"]{padding:10px}
#mobileProductDetailMask .m-detail-grid{gap:6px}
#mobileProductDetailMask .m-detail-box{padding:8px 9px;border-radius:12px}
#mobileProductDetailMask .m-detail-box span{margin-bottom:3px;font-size:9px}
#mobileProductDetailMask .m-detail-box strong{font-size:12px;line-height:1.25}
#mobileProductDetailMask [data-style-section="links"]{padding:10px}
#mobileProductDetailMask .m-style-link-grid{gap:6px}
#mobileProductDetailMask .m-style-link-card{gap:3px;padding:8px 9px;border-radius:12px}
#mobileProductDetailMask .m-style-link-card strong{font-size:12px;line-height:1.25}
#mobileProductDetailMask .m-style-link-card span{font-size:10px;line-height:1.3}
#mobileProductDetailMask .m-style-print-actions{gap:6px;margin-top:8px}
#mobileProductDetailMask .m-style-print-actions .m-btn-compact{min-height:32px;padding:0 10px;font-size:11px}
#mobileProductDetailMask [data-style-section="print"]{padding:10px}
#mobileProductDetailMask [data-style-section="print"] .m-section-head{margin-bottom:8px}
#mobileProductDetailMask [data-style-section="print"] .m-section-head span{font-size:11px}
#mobileProductDetailMask [data-style-section="print"] .m-style-print-list{gap:6px}
#mobileProductDetailMask [data-style-section="print"] .m-print-record-card{padding:8px 9px;border-radius:12px}
#mobileProductDetailMask [data-style-section="print"] .m-print-record-head{gap:8px}
#mobileProductDetailMask [data-style-section="print"] .m-print-record-head strong{font-size:12px;line-height:1.25}
#mobileProductDetailMask [data-style-section="print"] .m-print-record-head .m-tag{min-height:21px;padding:0 7px;font-size:10px}
#mobileProductDetailMask [data-style-section="print"] .m-print-record-subline,
#mobileProductDetailMask [data-style-section="print"] .m-print-record-note{margin-top:4px;font-size:10px;line-height:1.3}
#mobileProductDetailMask [data-style-section="print"] .m-style-print-actions{gap:6px;margin-top:6px}
#mobileProductDetailMask [data-style-section="print"] .m-style-print-actions .m-btn-compact{min-height:30px;padding:0 9px;font-size:10px}
#mobileProductDetailMask .m-style-sku-toolbar{gap:8px;margin-bottom:10px}
#mobileProductDetailMask .m-style-sku-top-actions{gap:8px}
#mobileProductDetailMask .m-style-sku-top-actions .m-ghost-btn{min-height:32px;padding:0 10px;font-size:11px}
#mobileProductDetailMask .m-style-sku-top-note{font-size:11px;line-height:1.35}
#mobileProductDetailMask .m-search-box span{font-size:12px}
#mobileProductDetailMask .m-search-box input{min-height:40px;padding:0 12px;font-size:12px}
#mobileProductDetailMask .m-chip-row{gap:6px}
#mobileProductDetailMask .m-chip{min-height:32px;padding:0 10px;font-size:11px}
#mobileProductDetailMask .m-sku-list{gap:8px}
#mobileProductDetailMask .m-style-sku-card{padding:10px;border-radius:14px}
#mobileProductDetailMask .m-style-sku-main{grid-template-columns:54px minmax(0,1fr);gap:8px}
#mobileProductDetailMask .m-style-sku-cover{width:54px;height:68px;border-radius:10px}
#mobileProductDetailMask .m-style-sku-head{gap:6px}
#mobileProductDetailMask .m-style-sku-head h4{font-size:14px;line-height:1.25}
#mobileProductDetailMask .m-style-sku-line{margin-top:4px;font-size:11px;line-height:1.4}
#mobileProductDetailMask .m-sku-meta{gap:6px}
#mobileProductDetailMask .m-sku-meta .m-tag{min-height:22px;padding:0 7px;font-size:10px}
#mobileProductDetailMask .m-style-sku-actions{gap:6px;margin-top:8px}
#mobileProductDetailMask .m-style-sku-btn{min-height:34px;padding:0 8px;font-size:11px}
#mobileProductDetailMask [data-style-section="sku"]{padding:12px}
#mobileProductDetailMask [data-style-section="sku"] .m-section-head{margin-bottom:8px}
#mobileProductDetailMask [data-style-section="sku"] .m-section-head span{font-size:11px}
#mobileProductDetailMask [data-style-section="sku"] .m-search-box{gap:5px}
#mobileProductDetailMask [data-style-section="sku"] .m-search-box input{min-height:38px;padding:0 10px;font-size:11px}
#mobileProductDetailMask [data-style-section="sku"] .m-style-sku-toolbar{gap:6px;margin-bottom:8px}
#mobileProductDetailMask [data-style-section="sku"] .m-style-sku-top-actions{gap:6px}
#mobileProductDetailMask [data-style-section="sku"] .m-style-sku-top-actions .m-ghost-btn{min-height:30px;padding:0 8px;font-size:10px}
#mobileProductDetailMask [data-style-section="sku"] .m-style-sku-top-note{font-size:10px;line-height:1.3}
#mobileProductDetailMask [data-style-section="sku"] .m-chip-row{gap:5px}
#mobileProductDetailMask [data-style-section="sku"] .m-chip{min-height:30px;padding:0 9px;font-size:10px}
#mobileProductDetailMask [data-style-section="sku"] .m-sku-list{gap:6px}
#mobileWarehouseTaskMask .m-detail-head{padding:14px 14px 10px}
#mobileWarehouseTaskMask .m-detail-caption{margin-bottom:2px;font-size:11px}
#mobileWarehouseTaskMask .m-detail-head h2{font-size:18px;line-height:1.15}
#mobileWarehouseTaskMask .m-icon-btn{min-height:34px;padding:0 10px;font-size:12px}
#mobileWarehouseTaskMask .m-detail-body{padding:12px;gap:10px}
#mobileWarehouseTaskMask .m-section-card{padding:11px}
#mobileWarehouseTaskMask .m-section-head{margin-bottom:8px}
#mobileWarehouseTaskMask .m-section-head h2{font-size:16px}
#mobileWarehouseTaskMask .m-section-head span{font-size:11px}
#mobileWarehouseTaskMask .m-detail-action-stack{gap:10px}
#mobileWarehouseTaskMask .m-detail-focus-grid{gap:8px}
#mobileWarehouseTaskMask .m-detail-focus-btn{min-height:56px;padding:10px;gap:3px;border-radius:14px}
#mobileWarehouseTaskMask .m-detail-focus-btn strong{font-size:13px}
#mobileWarehouseTaskMask .m-detail-focus-btn span{font-size:10px;line-height:1.35}
#mobileWarehouseTaskMask .m-task-progress{gap:8px}
#mobileWarehouseTaskMask .m-task-progress .m-mini-stat{padding:8px 9px;border-radius:12px;min-width:0}
#mobileWarehouseTaskMask .m-task-progress .m-mini-stat span{margin-bottom:3px;font-size:10px}
#mobileWarehouseTaskMask .m-task-progress .m-mini-stat strong{font-size:13px;line-height:1.2}
#mobileWarehouseTaskMask .m-task-overview-tags{gap:6px}
#mobileWarehouseTaskMask .m-task-overview-tags .m-tag{min-height:22px;padding:0 7px;font-size:10px}
#mobileWarehouseTaskMask .m-section-note{font-size:11px;line-height:1.45}
#mobileWarehouseTaskMask .m-task-top-actions{gap:6px}
#mobileWarehouseTaskMask .m-task-top-actions .m-ghost-btn,
#mobileWarehouseTaskMask .m-task-top-actions .m-primary-btn,
#mobileWarehouseTaskMask .m-task-top-actions .m-danger-btn{min-height:34px;padding:0 10px;font-size:11px}
#mobileWarehouseTaskMask .m-route-overview-grid{gap:8px}
#mobileWarehouseTaskMask .m-route-overview-box{padding:8px 9px;border-radius:12px}
#mobileWarehouseTaskMask .m-route-overview-box span{margin-bottom:3px;font-size:10px}
#mobileWarehouseTaskMask .m-route-overview-box strong{font-size:13px;line-height:1.25}
#mobileWarehouseTaskMask .m-route-next-card{padding:10px;border-radius:14px}
#mobileWarehouseTaskMask .m-route-next-head{gap:8px}
#mobileWarehouseTaskMask .m-route-next-head strong{font-size:15px}
#mobileWarehouseTaskMask .m-route-next-head p{margin-top:4px;font-size:11px;line-height:1.4}
#mobileWarehouseTaskMask .m-route-next-grid{gap:8px;margin-top:8px}
#mobileWarehouseTaskMask .m-route-next-box{padding:8px 9px;border-radius:12px}
#mobileWarehouseTaskMask .m-route-next-box span{margin-bottom:3px;font-size:10px}
#mobileWarehouseTaskMask .m-route-next-box strong{font-size:12px;line-height:1.3}
#mobileWarehouseTaskMask .m-route-next-actions{gap:6px;margin-top:8px}
#mobileWarehouseTaskMask .m-route-next-actions .m-primary-btn,
#mobileWarehouseTaskMask .m-route-next-actions .m-ghost-btn{min-height:34px;padding:0 10px;font-size:11px}
#mobileWarehouseTaskMask .m-route-list{gap:8px}
#mobileWarehouseTaskMask .m-route-step-card{padding:10px;border-radius:14px}
#mobileWarehouseTaskMask .m-route-step-head{gap:8px}
#mobileWarehouseTaskMask .m-route-step-head strong{font-size:14px;line-height:1.25}
#mobileWarehouseTaskMask .m-route-step-title-line{gap:6px}
#mobileWarehouseTaskMask .m-route-step-sku{font-size:11px;line-height:1.4}
#mobileWarehouseTaskMask .m-route-step-index{min-width:24px;height:24px;font-size:11px}
#mobileWarehouseTaskMask .m-route-step-meta-grid{gap:6px}
#mobileWarehouseTaskMask .m-route-step-meta-box{padding:8px 9px;border-radius:12px}
#mobileWarehouseTaskMask .m-route-step-meta-box span{margin-bottom:3px;font-size:10px}
#mobileWarehouseTaskMask .m-route-step-meta-box strong{font-size:12px;line-height:1.3}
#mobileWarehouseTaskMask .m-route-step-note{margin-top:6px;font-size:11px;line-height:1.4}
#mobileWarehouseTaskMask .m-route-step-inputs{gap:8px}
#mobileWarehouseTaskMask .m-route-step-inputs .m-field span{font-size:11px}
#mobileWarehouseTaskMask .m-route-step-inputs input{min-height:38px;padding:0 10px;font-size:12px}
#mobileWarehouseTaskMask .m-route-step-actions{gap:6px;margin-top:8px}
#mobileWarehouseTaskMask .m-route-step-actions .m-ghost-btn,
#mobileWarehouseTaskMask .m-route-step-actions .m-primary-btn,
#mobileWarehouseTaskMask .m-route-step-actions .m-danger-btn{min-height:34px;padding:0 10px;font-size:11px}
#mobileWarehouseTaskMask .m-empty-box{padding:12px;font-size:11px;line-height:1.55}
#mobileStallDetailMask .m-detail-head{padding:14px 14px 10px}
#mobileStallDetailMask .m-detail-caption{margin-bottom:2px;font-size:11px}
#mobileStallDetailMask .m-detail-head h2{font-size:18px;line-height:1.15}
#mobileStallDetailMask .m-icon-btn{min-height:34px;padding:0 10px;font-size:12px}
#mobileStallDetailMask .m-detail-body{padding:12px;gap:10px}
#mobileStallDetailMask .m-section-card{padding:11px}
#mobileStallDetailMask .m-section-head{margin-bottom:8px}
#mobileStallDetailMask .m-section-head h2{font-size:16px}
#mobileStallDetailMask .m-section-head span{font-size:11px}
#mobileStallDetailMask .m-section-note{font-size:11px;line-height:1.45}
#mobileStallDetailMask .m-stall-compose-overview-card{padding:11px}
#mobileStallDetailMask .m-stall-compose-hero{gap:10px}
#mobileStallDetailMask .m-stall-compose-hero-head{gap:8px}
#mobileStallDetailMask .m-stall-compose-hero-head h2{font-size:16px}
#mobileStallDetailMask .m-stall-compose-hero-head span{font-size:11px}
#mobileStallDetailMask .m-stall-compose-hero-note{margin-top:6px;font-size:11px;line-height:1.45}
#mobileStallDetailMask .m-stall-compose-stat-grid{gap:8px;margin-top:8px}
#mobileStallDetailMask .m-stall-compose-stat{padding:8px 9px;border-radius:12px}
#mobileStallDetailMask .m-stall-compose-stat span{margin-bottom:3px;font-size:10px}
#mobileStallDetailMask .m-stall-compose-stat strong{font-size:14px}
#mobileStallDetailMask .m-stall-compose-stat em{margin-top:3px;font-size:10px;line-height:1.35}
#mobileStallDetailMask .m-stall-compose-meta{gap:6px;margin-top:8px}
#mobileStallDetailMask .m-stall-compose-meta .m-tag{min-height:22px;padding:0 7px;font-size:10px}
#mobileStallDetailMask .m-stall-compose-focus{gap:8px;margin-top:8px}
#mobileStallDetailMask .m-stall-compose-focus-btn{min-height:54px;padding:10px;gap:3px;border-radius:14px}
#mobileStallDetailMask .m-stall-compose-focus-btn strong{font-size:13px}
#mobileStallDetailMask .m-stall-compose-focus-btn span{font-size:10px;line-height:1.35}
#mobileStallDetailMask .m-stall-compose-panel .m-section-head{margin-bottom:8px}
#mobileStallDetailMask .m-stall-compose-panel .m-section-note{margin-bottom:8px}
#mobileStallDetailMask .m-op-summary{padding:10px 11px;border-radius:14px}
#mobileStallDetailMask .m-op-summary strong{font-size:14px}
#mobileStallDetailMask .m-op-summary p{margin-top:4px;font-size:11px;line-height:1.45}
#mobileStallDetailMask .m-op-summary-grid{gap:8px;margin-top:8px}
#mobileStallDetailMask .m-op-summary-box{padding:8px 9px;border-radius:12px}
#mobileStallDetailMask .m-op-summary-box span{margin-bottom:3px;font-size:10px}
#mobileStallDetailMask .m-op-summary-box strong{font-size:12px;line-height:1.3}
#mobileStallDetailMask .m-stall-list-card{padding:10px;border-radius:14px}
#mobileStallDetailMask .m-stall-list-head{gap:8px}
#mobileStallDetailMask .m-stall-list-main strong{font-size:14px;line-height:1.2}
#mobileStallDetailMask .m-stall-list-sub{margin-top:3px;font-size:11px;line-height:1.35}
#mobileStallDetailMask .m-stall-record-grid{gap:8px;margin-top:8px}
#mobileStallDetailMask .m-stall-record-box{padding:8px 9px;border-radius:12px}
#mobileStallDetailMask .m-stall-record-box span{margin-bottom:3px;font-size:10px}
#mobileStallDetailMask .m-stall-record-box strong{font-size:12px;line-height:1.3}
#mobileStallDetailMask .m-stall-list-meta{gap:6px;margin-top:8px}
#mobileStallDetailMask .m-stall-list-meta .m-tag{min-height:22px;padding:0 7px;font-size:10px}
#mobileStallDetailMask .m-stall-list-note{margin-top:6px;font-size:11px;line-height:1.4}
#mobileStallDetailMask .m-stall-list-actions{gap:6px;margin-top:8px}
#mobileStallDetailMask .m-stall-list-actions .m-ghost-btn,
#mobileStallDetailMask .m-stall-list-actions .m-primary-btn,
#mobileStallDetailMask .m-stall-list-actions .m-danger-btn{min-height:34px;padding:0 10px;font-size:11px}
#mobileStallDetailMask .m-stall-item-list,
#mobileStallDetailMask .m-stall-linked-list,
#mobileStallDetailMask .m-op-record-list{gap:8px}
#mobileStallDetailMask .m-stall-item-card{padding:8px 9px;border-radius:12px}
#mobileStallDetailMask .m-stall-item-card h4{font-size:13px;line-height:1.2}
#mobileStallDetailMask .m-stall-item-card p{margin-top:3px;font-size:10px;line-height:1.3}
#mobileStallDetailMask .m-stall-item-metrics{gap:5px;margin-top:6px}
#mobileStallDetailMask .m-stall-item-metrics .m-tag{min-height:20px;padding:0 6px;font-size:9px}
#mobileStallDetailMask .m-stall-linked-return-card{padding:10px}
#mobileStallDetailMask .m-stall-linked-return-head{gap:8px}
#mobileStallDetailMask .m-stall-linked-return-head .m-ghost-btn{min-width:82px;min-height:34px;padding:0 10px;font-size:11px}
#mobileStallDetailMask .m-stall-receive-row,
#mobileStallDetailMask .m-stall-compose-row,
#mobileStallDetailMask .m-stall-compose-row-4,
#mobileStallDetailMask .m-stall-bulk-row,
#mobileStallDetailMask .m-stall-draft-fields{gap:8px}
#mobileStallDetailMask .m-stall-search-result{gap:8px;padding:10px;border-radius:14px}
#mobileStallDetailMask .m-stall-search-main strong{font-size:13px;line-height:1.25}
#mobileStallDetailMask .m-stall-search-main p{margin-top:4px;font-size:11px;line-height:1.4}
#mobileStallDetailMask .m-stall-inline-actions{gap:6px;margin-top:8px}
#mobileStallDetailMask .m-stall-inline-actions .m-ghost-btn,
#mobileStallDetailMask .m-stall-inline-actions .m-primary-btn,
#mobileStallDetailMask .m-stall-inline-actions .m-danger-btn{min-height:34px;padding:0 10px;font-size:11px}
#mobileStallDetailMask .m-stall-submit-row{margin-top:8px}
#mobileStallDetailMask .m-stall-submit-total{font-size:11px}
#mobileStallDetailMask .m-stall-submit-actions{gap:6px}
#mobileStallDetailMask .m-stall-submit-btn{min-height:32px;padding:0 10px;font-size:11px}
#mobileStallDetailMask .m-stall-draft-card{padding:8px;border-radius:13px}
#mobileStallDetailMask .m-stall-draft-head{gap:7px}
#mobileStallDetailMask .m-stall-draft-cover{width:44px;height:44px;border-radius:9px}
#mobileStallDetailMask .m-stall-draft-line-top{min-height:18px;gap:4px}
#mobileStallDetailMask .m-stall-draft-line-middle{margin-top:3px;gap:5px;flex-wrap:nowrap}
#mobileStallDetailMask .m-stall-draft-line-bottom{margin-top:3px;gap:6px;justify-content:space-between}
#mobileStallDetailMask .m-stall-draft-code{font-size:13px;line-height:1.2}
#mobileStallDetailMask .m-stall-draft-mini{font-size:11px;gap:5px}
#mobileStallDetailMask .m-stall-draft-supplier{margin-left:.9em}
#mobileStallDetailMask .m-stall-draft-inline-input{height:26px;padding:0 6px;font-size:11px}
#mobileStallDetailMask .m-stall-draft-inline-input-qty{width:36px}
#mobileStallDetailMask .m-stall-draft-inline-input-cost{width:62px}
#mobileStallDetailMask .m-stall-draft-inline-input-note{width:86px}
#mobileStallDetailMask .m-stall-step-btn{min-width:18px;height:18px;font-size:11px}
#mobileStallDetailMask .m-stall-draft-available{font-size:11px}
#mobileStallDetailMask .m-stall-draft-limit{font-size:10px}
#mobileStallDetailMask .m-stall-remove-btn{width:22px;min-width:22px;height:22px;font-size:10px}
#mobileStallDetailMask .m-stall-draft-fields{margin-top:6px}
#mobileStallDetailMask .m-stall-voucher-grid{gap:8px}
#mobileStallDetailMask .m-stall-voucher-card{padding:7px;border-radius:14px;gap:6px}
#mobileStallDetailMask .m-stall-voucher-thumb{border-radius:10px}
#mobileStallDetailMask .m-stall-voucher-actions{gap:6px}
#mobileStallDetailMask .m-stall-voucher-actions .m-ghost-btn,
#mobileStallDetailMask .m-stall-voucher-actions .m-danger-btn{min-height:32px;padding:0 8px;font-size:11px}
#mobileStallDetailMask .m-empty-box,
#mobileStallDetailMask .m-stall-empty-note{padding:12px;font-size:11px;line-height:1.55}
#mobileWarehouseOpMask .m-detail-head{padding:14px 14px 10px}
#mobileWarehouseOpMask .m-detail-caption{margin-bottom:2px;font-size:11px}
#mobileWarehouseOpMask .m-detail-head h2{font-size:18px;line-height:1.15}
#mobileWarehouseOpMask .m-icon-btn{min-height:34px;padding:0 10px;font-size:12px}
#mobileWarehouseOpMask .m-detail-body{padding:12px;gap:10px}
#mobileWarehouseOpMask .m-section-card{padding:11px}
#mobileWarehouseOpMask .m-section-head{margin-bottom:8px}
#mobileWarehouseOpMask .m-section-head h2{font-size:16px}
#mobileWarehouseOpMask .m-section-head span{font-size:11px}
#mobileWarehouseOpMask .m-op-summary{padding:10px 11px;border-radius:14px}
#mobileWarehouseOpMask .m-op-summary strong{font-size:14px;line-height:1.25}
#mobileWarehouseOpMask .m-op-summary p{margin-top:4px;font-size:11px;line-height:1.45}
#mobileWarehouseOpMask .m-op-tag-row{gap:6px;margin-top:8px}
#mobileWarehouseOpMask .m-op-tag-row .m-tag{min-height:22px;padding:0 7px;font-size:10px}
#mobileWarehouseOpMask .m-op-summary-grid{gap:8px;margin-top:8px}
#mobileWarehouseOpMask .m-op-summary-box{padding:8px 9px;border-radius:12px}
#mobileWarehouseOpMask .m-op-summary-box span{margin-bottom:3px;font-size:10px}
#mobileWarehouseOpMask .m-op-summary-box strong{font-size:12px;line-height:1.3}
#mobileWarehouseOpMask .m-detail-focus-grid{gap:8px}
#mobileWarehouseOpMask .m-detail-focus-btn{min-height:56px;padding:10px;gap:3px;border-radius:14px}
#mobileWarehouseOpMask .m-detail-focus-btn strong{font-size:13px}
#mobileWarehouseOpMask .m-detail-focus-btn span{font-size:10px;line-height:1.35}
#mobileWarehouseOpMask .m-op-field-grid,
#mobileWarehouseOpMask .m-op-field-grid-3{gap:8px}
#mobileWarehouseOpMask .m-compact-field span{font-size:11px}
#mobileWarehouseOpMask .m-compact-field input,
#mobileWarehouseOpMask .m-compact-field select{min-height:38px;padding:0 10px;font-size:12px}
#mobileWarehouseOpMask .m-compact-field textarea{min-height:64px;padding:10px;font-size:12px}
#mobileWarehouseOpMask .m-button-row{gap:6px}
#mobileWarehouseOpMask .m-button-row .m-primary-btn,
#mobileWarehouseOpMask .m-button-row .m-ghost-btn,
#mobileWarehouseOpMask .m-button-row .m-danger-btn{min-height:34px;padding:0 10px;font-size:11px}
#mobileWarehouseOpMask .m-section-note{font-size:11px;line-height:1.45}
#mobileWarehouseOpMask .m-op-record-list{gap:8px}
#mobileWarehouseOpMask .m-op-record-card{padding:10px;border-radius:14px}
#mobileWarehouseOpMask .m-op-record-card strong{font-size:13px;line-height:1.25}
#mobileWarehouseOpMask .m-op-record-card p{margin-top:4px;font-size:11px;line-height:1.4}
#mobileWarehouseOpMask .m-op-record-actions{gap:6px;margin-top:8px}
#mobileWarehouseOpMask .m-op-record-actions .m-ghost-btn,
#mobileWarehouseOpMask .m-op-record-actions .m-primary-btn,
#mobileWarehouseOpMask .m-op-record-actions .m-danger-btn{min-height:32px;padding:0 10px;font-size:11px}
#mobileWarehouseOpMask .m-empty-box{padding:12px;font-size:11px;line-height:1.55}
#mobileImageViewerMask .m-detail-head{padding:12px 12px 8px}
#mobileImageViewerMask .m-detail-caption{margin-bottom:2px;font-size:11px}
#mobileImageViewerMask .m-detail-head h2{font-size:17px;line-height:1.15}
#mobileImageViewerMask .m-icon-btn{min-height:34px;padding:0 10px;font-size:12px}
#mobileImageViewerMask .m-image-viewer-sheet{width:min(720px,100%);max-height:min(90vh,860px)}
#mobileImageViewerMask .m-image-viewer-body{padding:8px 12px 0;min-height:240px}
#mobileImageViewerMask .m-image-viewer-img{border-radius:14px;max-height:min(68vh,700px)}
#mobileImageViewerMask .m-image-viewer-actions{gap:8px;padding:12px}
#mobileImageViewerMask .m-image-viewer-actions .m-ghost-btn,
#mobileImageViewerMask .m-image-viewer-actions .m-primary-btn{min-height:36px;padding:0 10px;font-size:12px}

.m-hero-card,.m-section-card,.m-login-card,.m-detail-sheet{
  background:rgba(255,253,249,.96);border:1px solid rgba(203,188,163,.72);border-radius:var(--m-radius);
  box-shadow:var(--m-shadow)
}
.m-hero-card{padding:12px}
.m-hero-card h1{margin:0;font-size:20px;line-height:1}
.m-hero-card p{margin:4px 0 0;color:var(--m-subtle);font-size:11px;line-height:1.3}
.m-hero-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.m-hero-actions{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px
}
.m-hero-action{
  display:flex;flex-direction:column;gap:2px;min-height:60px;padding:8px 9px;border-radius:14px;border:1px solid rgba(203,188,163,.72);
  background:rgba(255,255,255,.86);text-align:left
}
.m-hero-action strong{font-size:13px;line-height:1.08}
.m-hero-action span{color:var(--m-subtle);font-size:10px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.m-pill{
  display:inline-flex;align-items:center;justify-content:center;min-height:24px;padding:0 8px;border-radius:999px;
  border:1px solid var(--m-border);background:var(--m-panel-soft);color:#405064;font-size:10px;font-weight:600
}
.m-pill.strong{background:var(--m-accent-soft);border-color:#9fd3cb;color:#0f5d56}

.m-home-module-panel{display:flex;flex-direction:column;gap:14px;min-height:calc(100vh - 30px - env(safe-area-inset-bottom))}
.m-home-module-head{padding:4px 2px 0}
.m-home-module-head h1{margin:0;font-size:22px;line-height:1.15}
.m-home-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.m-module-entry-card{
  display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-height:108px;padding:14px;
  border:1px solid rgba(203,188,163,.72);border-radius:18px;background:rgba(255,253,249,.96);
  box-shadow:0 12px 26px rgba(66,49,20,.07);text-align:left;color:var(--m-ink)
}
.m-module-entry-card strong{font-size:18px;line-height:1.15}
.m-module-entry-card p{margin:0;color:var(--m-subtle);font-size:12px;line-height:1.4}
.m-module-entry-card span{align-self:flex-start;color:#0f766e;font-size:12px;font-weight:800}
.m-module-entry-card:active{transform:translateY(1px)}
.m-module-entry-card:disabled{opacity:.48;background:#f7f3eb;color:#6b7280}
.m-module-entry-card:disabled span{color:#6b7280}
.m-home-return-btn{
  position:fixed;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:22;
  min-width:64px;min-height:40px;padding:0 14px;border:1px solid rgba(203,188,163,.72);border-radius:999px;
  background:#102a27;color:#fff;font-size:13px;font-weight:800;box-shadow:0 12px 30px rgba(16,42,39,.22)
}
body[data-mobile-view="home"] .m-home-return-btn,
body[data-mobile-view="warehouse"][data-warehouse-module="query"] .m-home-return-btn,
body[data-mobile-view="warehouse"][data-warehouse-module="outbound"] .m-home-return-btn,
body[data-mobile-view="warehouse"][data-warehouse-module="putaway"] .m-home-return-btn,
body[data-mobile-view="warehouse"][data-warehouse-module="stocktake"] .m-home-return-btn,
body[data-mobile-view="warehouse"][data-warehouse-module="transfer"] .m-home-return-btn{display:none}

.m-section-card{padding:16px;scroll-margin-top:78px}
.m-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.m-section-head h2{margin:0;font-size:18px;line-height:1.2}
.m-section-head span,.m-inline-link{color:var(--m-subtle);font-size:12px;font-weight:600}
.m-section-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.m-inline-link{border:0;background:none;padding:0}
.m-home-section-toggle{
  display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;
  border:1px solid rgba(203,188,163,.72);border-radius:999px;background:#fff;color:#5f6b7a;font-size:11px;font-weight:700
}
.m-home-collapsible .m-home-collapsed-summary{
  display:none;margin:0;color:var(--m-subtle);font-size:11px;line-height:1.45
}
.m-home-collapsible.is-collapsed .m-home-section-body{display:none}
.m-home-collapsible.is-collapsed .m-home-collapsed-summary{display:block}
.m-home-collapsible.is-collapsed .m-section-head{margin-bottom:8px}

.m-shortcut-grid,.m-stat-grid{display:grid;gap:10px}
.m-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.m-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.m-shortcut-card,.m-stat-card,.m-product-card,.m-sku-card,.m-user-card,.m-note-card{
  border:1px solid var(--m-border);border-radius:18px;background:#fff;padding:14px
}
.m-shortcut-grid{gap:8px}
.m-shortcut-card{display:flex;flex-direction:column;gap:4px;min-height:82px;text-align:left;padding:10px;border-radius:16px}
.m-shortcut-card strong,.m-stat-card strong{font-size:16px}
.m-shortcut-card strong{font-size:14px;line-height:1.15}
.m-shortcut-card p,.m-note-card p,.m-user-card p{margin:0;color:var(--m-subtle);font-size:12px;line-height:1.5}
.m-shortcut-card p{font-size:11px;line-height:1.35}
.m-shortcut-card .m-tag{min-height:21px;padding:0 7px;font-size:10px}
.m-shortcut-card[data-ready="false"]{background:linear-gradient(180deg,#fffdfa 0%,#f7f3eb 100%)}

.m-stat-card{padding:12px}
.m-stat-card span{display:block;color:var(--m-subtle);font-size:12px;margin-bottom:6px}
.m-stat-card em{display:block;margin-top:6px;color:#5f6b7a;font-style:normal;font-size:12px;line-height:1.4}
#mobileHomeSummarySection .m-stat-grid{gap:8px}
#mobileHomeSummarySection .m-home-summary-card{padding:10px;border-radius:16px}
#mobileHomeSummarySection .m-home-summary-card span{font-size:10px;margin-bottom:4px}
#mobileHomeSummarySection .m-home-summary-card strong{font-size:14px;line-height:1.1}
#mobileHomeSummarySection .m-home-summary-card em{margin-top:4px;font-size:10px;line-height:1.3}
.m-warehouse-overview-card{
  text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:62px;border-radius:12px
}
.m-warehouse-workbench-panel{
  padding:0;border:0;background:transparent;box-shadow:none
}
.m-warehouse-workbench-panel .m-section-head{display:none}
.m-warehouse-workbench-panel .m-section-head span{font-size:11px}
.m-warehouse-workbench-panel .m-tag-list{display:none}
.m-warehouse-workbench-panel .m-tag{min-height:22px;padding:0 7px;font-size:10px}
.m-warehouse-workbench-panel .m-stat-grid{gap:6px}
.m-warehouse-workbench-panel .m-stat-card{padding:9px}
.m-warehouse-workbench-panel .m-stat-card span{font-size:9px;margin-bottom:3px}
.m-warehouse-workbench-panel .m-stat-card strong{font-size:13px;line-height:1.05}
.m-warehouse-workbench-panel .m-stat-card em{margin-top:3px;font-size:9px;line-height:1.25}
.m-warehouse-mode-row{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 0
}
.m-warehouse-mode-row.is-submodule{
  display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin-top:8px
}
.m-warehouse-mode-btn{
  min-height:44px;border:1px solid rgba(203,188,163,.72);border-radius:12px;background:#fff;padding:6px 6px;text-align:left
}
.m-warehouse-mode-btn strong{display:block;font-size:12px;line-height:1.1;color:#1d2b39}
.m-warehouse-mode-btn span{display:block;margin-top:3px;font-size:9px;line-height:1.2;color:#6b7785}
.m-warehouse-mode-btn.active{
  background:linear-gradient(180deg,#eef8f6 0%,#def1ed 100%);border-color:#86c7bd
}
.m-warehouse-mode-btn.active strong,.m-warehouse-mode-btn.active span{color:#0f5d56}
.m-warehouse-module-card{
  min-height:86px;border:1px solid rgba(203,188,163,.72);border-radius:16px;background:#fff;
  padding:10px;text-align:left;display:flex;flex-direction:column;gap:4px;box-shadow:0 8px 18px rgba(15,23,42,.04)
}
.m-warehouse-module-card span{display:block;color:#1f2937;font-size:14px;font-weight:900;line-height:1.15}
.m-warehouse-module-card strong{display:block;color:#0f766e;font-size:19px;line-height:1.05}
.m-warehouse-module-card em{
  display:block;margin-top:auto;color:#64748b;font-size:10px;line-height:1.25;font-style:normal;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.m-warehouse-module-card:active{transform:translateY(1px);background:#f2fbf8;border-color:#8bcfc2}
.m-warehouse-back-btn{
  min-height:34px;border:1px solid #fecaca;border-radius:999px;background:#fff1f2;color:#b91c1c;
  padding:0 12px;font-size:12px;font-weight:900;white-space:nowrap
}
.m-warehouse-back-btn:active{background:#fee2e2}
.m-warehouse-submodule-title{
  min-width:0;border:1px solid rgba(203,188,163,.72);border-radius:15px;background:#fff;padding:8px 10px
}
.m-warehouse-submodule-title strong{display:block;font-size:15px;line-height:1.15;color:#111827}
.m-warehouse-submodule-title span{
  display:block;margin-top:3px;font-size:10px;line-height:1.25;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-warehouse-overview-card.active{
  background:linear-gradient(180deg,#eef8f6 0%,#def1ed 100%);border-color:#9fd3cb;color:#0f5d56
}
.m-warehouse-overview-card.active span,.m-warehouse-overview-card.active em{color:#0f5d56}
.m-warehouse-overview-card.warn strong{color:#9a3412}
.m-warehouse-focus-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px
}
.m-warehouse-focus-btn{
  border:1px solid var(--m-border);border-radius:12px;background:#fff;padding:8px 9px;text-align:left;
  display:flex;flex-direction:column;gap:2px;min-height:60px
}
.m-warehouse-focus-btn span{display:block;color:var(--m-subtle);font-size:9px}
.m-warehouse-focus-btn strong{display:block;font-size:13px;line-height:1.1;color:#22303d}
.m-warehouse-focus-btn em{display:block;margin-top:auto;color:#617083;font-size:9px;line-height:1.25;font-style:normal}
.m-warehouse-focus-btn.active{
  background:linear-gradient(180deg,#eef8f6 0%,#def1ed 100%);border-color:#9fd3cb
}
.m-warehouse-focus-btn.active span,.m-warehouse-focus-btn.active strong,.m-warehouse-focus-btn.active em{color:#0f5d56}
.m-warehouse-focus-btn.warn strong{color:#9a3412}

.m-list-stack,.m-note-stack,.m-sku-list{display:flex;flex-direction:column;gap:10px}
.m-product-card{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px}
.m-product-cover{
  width:72px;height:92px;border-radius:16px;border:1px solid var(--m-border);
  background:linear-gradient(180deg,#f5f2ea 0%,#ece5d8 100%);
  object-fit:cover;display:block
}
.m-product-list-card{
  display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;
  border:1px solid var(--m-border);border-radius:16px;background:#fff;padding:10px
}
.m-product-workbench-panel{
  padding:12px;
  background:linear-gradient(180deg,rgba(246,251,250,.98) 0%,rgba(255,253,249,.98) 100%);border-color:#cfe4df
}
.m-product-workbench-panel .m-section-head{margin-bottom:10px}
.m-product-workbench-panel .m-section-head span{font-size:11px}
.m-product-filter-panel{
  padding:12px 12px 10px;
  background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(247,243,235,.92) 100%)
}
.m-product-filter-panel .m-section-head{margin-bottom:8px}
.m-product-filter-panel .m-section-head span{font-size:11px}
.m-product-filter-panel .m-search-form{gap:6px}
.m-product-view-row{gap:6px}
.m-product-view-row .m-chip{min-height:32px;padding:0 12px;font-size:11px}
.m-product-filter-panel .m-search-box{gap:5px}
.m-product-filter-panel .m-search-box span{font-size:11px}
.m-product-filter-panel .m-search-box input{min-height:36px;padding:0 10px;border-radius:10px;font-size:13px !important}
.m-product-filter-panel .m-chip-row{gap:6px}
.m-product-filter-panel .m-chip{min-height:30px;padding:0 10px;font-size:11px}
.m-product-filter-panel .m-button-row{gap:6px}
.m-product-filter-panel .m-button-row .m-primary-btn,.m-product-filter-panel .m-button-row .m-ghost-btn{min-height:34px;padding:0 10px;font-size:11px}
.m-product-overview-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px
}
.m-product-overview-card{
  min-height:68px;padding:10px;border-radius:14px;border:1px solid rgba(159,211,203,.72);background:#fff
}
.m-product-overview-card span{display:block;color:var(--m-subtle);font-size:10px;margin-bottom:4px}
.m-product-overview-card strong{display:block;font-size:16px;line-height:1.1}
.m-product-overview-card em{display:block;margin-top:4px;color:#617083;font-size:10px;font-style:normal;line-height:1.3}
.m-product-list-cover{
  width:56px;height:72px;border-radius:12px;border:1px solid var(--m-border);
  background:linear-gradient(180deg,#f5f2ea 0%,#ece5d8 100%);object-fit:cover;display:block
}
.m-product-list-cover.placeholder{
  display:flex;align-items:center;justify-content:center;color:#7b8794;font-size:12px;font-weight:700
}
.m-product-list-main{min-width:0}
.m-product-list-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:6px
}
.m-product-list-head strong{
  display:block;font-size:14px;line-height:1.2
}
.m-product-list-code{
  margin:3px 0 0;color:#516071;font-size:11px;line-height:1.35
}
.m-product-record-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px
}
.m-product-record-box{
  padding:8px 9px;border-radius:12px;background:#f9f6f1;border:1px solid rgba(203,188,163,.62)
}
.m-product-record-box span{display:block;color:var(--m-subtle);font-size:10px;margin-bottom:3px}
.m-product-record-box strong{display:block;font-size:12px;line-height:1.25;word-break:break-word}
.m-product-list-tags{
  display:flex;flex-wrap:wrap;gap:5px;margin-top:6px
}
.m-product-list-tags .m-tag{
  min-height:22px;padding:0 7px;font-size:10px
}
.m-product-list-note{
  margin:6px 0 0;color:var(--m-subtle);font-size:10px;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden
}
.m-product-list-actions{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:6px
}
.m-product-list-btn{
  min-height:30px;padding:0 7px;font-size:10px
}
.m-product-list-btn:disabled{
  opacity:.55;cursor:not-allowed;background:#f7f4ee
}
.m-product-filter-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
}
.m-product-filter-card{
  min-height:78px;padding:12px;border-radius:16px;border:1px solid rgba(203,188,163,.72);
  background:#f9f6f1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;text-align:left
}
.m-product-filter-card span{color:var(--m-subtle);font-size:12px;line-height:1.3}
.m-product-filter-card strong{font-size:22px;line-height:1}
.m-product-filter-card em{color:#5f6b7a;font-size:11px;line-height:1.35;font-style:normal}
.m-product-filter-card.active{
  background:linear-gradient(180deg,#eef8f6 0%,#def1ed 100%);border-color:#9fd3cb;color:#0f5d56
}
.m-product-filter-card.active span,.m-product-filter-card.active em{color:#0f5d56}
.m-product-cover.placeholder,.m-detail-cover.placeholder,.m-style-sku-cover.placeholder{
  display:flex;align-items:center;justify-content:center;color:#7b8794;font-size:12px;font-weight:700
}
.m-product-main{min-width:0}
.m-product-main h3{margin:0;font-size:17px;line-height:1.25}
.m-product-code{margin:4px 0 0;color:#516071;font-size:12px}
.m-product-meta,.m-product-tags,.m-tag-list,.m-chip-row,.m-action-row,.m-sku-meta{display:flex;flex-wrap:wrap;gap:8px}
.m-product-meta{margin-top:10px}
.m-product-actions{display:flex;gap:8px;margin-top:12px}
.m-mini-stat{
  min-width:76px;padding:8px 10px;border-radius:14px;background:var(--m-panel-soft);
  border:1px solid rgba(203,188,163,.68)
}
.m-mini-stat span{display:block;color:var(--m-subtle);font-size:11px;margin-bottom:4px}
.m-mini-stat strong{font-size:14px}
.m-tag{
  display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;
  background:#f2f7f6;border:1px solid #d1e7e3;color:#21534d;font-size:12px
}
.m-tag.warn{background:#fff4e8;border-color:#f0d3b1;color:#9a5b1b}
.m-tag.muted{background:#f5f5f4;border-color:#e7e5e4;color:#666}

.m-search-card{padding-bottom:14px}
.m-search-form{display:flex;flex-direction:column;gap:12px}
.m-search-box,.m-field{display:flex;flex-direction:column;gap:7px}
.m-search-box span,.m-field span{font-size:13px;font-weight:700;color:#465365}
.m-search-box input,.m-field input,.m-field select,.m-field textarea{
  width:100%;min-height:48px;padding:0 14px;border-radius:14px;border:1px solid var(--m-border-strong);
  background:#fff;color:var(--m-ink);outline:none
}
.m-field select{appearance:none}
.m-field textarea{padding:12px 14px;min-height:88px;resize:vertical}
.m-search-box input:focus,.m-field input:focus,.m-field select:focus,.m-field textarea:focus{border-color:#57a79d;box-shadow:0 0 0 3px rgba(87,167,157,.12)}
.m-chip-row{gap:10px}
.m-chip,.m-ghost-btn,.m-primary-btn,.m-danger-btn,.m-link-btn,.m-icon-btn{
  min-height:44px;padding:0 16px;border-radius:14px;border:1px solid transparent;background:#fff;touch-action:manipulation
}
.m-chip{border-color:var(--m-border);color:#465365;background:#f9f6f1}
.m-chip.active{background:#102a27;color:#fff;border-color:#102a27}
.m-primary-btn{background:linear-gradient(180deg,#177f74 0%,#0f6f66 100%);color:#fff;border-color:#0f6f66;font-weight:700}
.m-ghost-btn,.m-link-btn,.m-icon-btn{border-color:var(--m-border);background:#fff;color:#22303d}
.m-danger-btn{background:#fff4f2;color:var(--m-danger);border-color:#ebc1bb;font-weight:700}
.m-link-btn{display:inline-flex;align-items:center;justify-content:center}
.m-icon-btn{padding:0 12px}
.m-search-card .m-section-head{margin-bottom:12px}
#mobileProductSearchForm .m-search-box input{font-size:13px !important}

.m-product-list-panel{padding:12px}
.m-product-list-panel .m-section-head{margin-bottom:8px}
.m-product-list-panel .m-section-head span{font-size:11px}
.m-product-list-panel .m-list-stack{gap:6px}
.m-product-data-card{
  display:grid;grid-template-columns:44px minmax(0,1fr);gap:6px;
  padding:6px;border:1px solid rgba(15,93,86,.12);border-radius:12px;background:#fff
}
.m-product-data-cover{
  width:44px;height:44px;flex:0 0 44px;border-radius:9px;object-fit:cover;background:#eef2f6;display:block
}
.m-product-data-cover.placeholder{
  display:flex;align-items:center;justify-content:center;font-size:11px;color:#7a8696
}
.m-product-data-main{min-width:0;display:flex;flex-direction:column;gap:0}
.m-product-data-head{display:flex;align-items:center;justify-content:space-between;gap:6px}
.m-product-data-head strong{font-size:13px;line-height:1.25}
.m-product-data-inline-meta-wrap{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;white-space:nowrap}
.m-product-data-inline-meta{font-size:10.5px;line-height:1.3;font-weight:400;color:var(--m-subtle);white-space:nowrap;flex:0 0 auto}
.m-product-data-inline-available{font-size:12px;line-height:1.2;font-weight:700;color:#0f766e;white-space:nowrap;flex:0 0 auto}
.m-product-data-head .m-product-data-spu-title{font-size:12px;line-height:1.2}
.m-product-data-head .m-tag{min-height:22px;padding:0 7px;font-size:10px}
.m-product-data-line{
  margin:0;font-size:10.5px;line-height:1.3;color:var(--m-subtle);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:10px}
.m-pagination .m-ghost-btn{min-height:32px;padding:0 10px;font-size:11px}
.m-page-note{color:var(--m-subtle);font-size:11px;white-space:nowrap}

#mobileProductDetailMask .m-detail-head{padding:14px 14px 10px}
#mobileProductDetailMask .m-detail-caption{margin-bottom:2px;font-size:11px}
#mobileProductDetailMask .m-detail-head h2{font-size:18px;line-height:1.15}
#mobileProductDetailMask .m-icon-btn{min-height:34px;padding:0 10px;font-size:12px}
#mobileProductDetailMask .m-detail-body{padding:12px;gap:10px}
#mobileProductDetailMask .m-product-detail-shell{display:flex;flex-direction:column;gap:10px}
#mobileProductDetailMask .m-product-detail-hero-card,
#mobileProductDetailMask .m-product-detail-section{
  padding:12px;border:1px solid rgba(15,93,86,.12);border-radius:18px;background:#fff;
  box-shadow:0 8px 20px rgba(15,23,42,.04)
}
#mobileProductDetailMask .m-product-detail-hero{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:start}
#mobileProductDetailMask .m-product-detail-cover{
  width:88px;height:88px;border-radius:16px;object-fit:cover;background:#eef2f6;display:block
}
#mobileProductDetailMask .m-product-detail-cover.placeholder{
  display:flex;align-items:center;justify-content:center;font-size:11px;color:#7a8696
}
#mobileProductDetailMask .m-product-detail-hero-main{min-width:0;display:flex;flex-direction:column;gap:6px}
#mobileProductDetailMask .m-product-detail-hero-topline{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#mobileProductDetailMask .m-product-detail-hero-main h3{margin:0;font-size:16px;line-height:1.25}
#mobileProductDetailMask .m-product-detail-code{margin:0;font-size:11px;line-height:1.35;color:var(--m-subtle)}
#mobileProductDetailMask .m-product-detail-note{margin:0;font-size:11px;line-height:1.45;color:var(--m-subtle)}
#mobileProductDetailMask .m-product-detail-note-row{margin-top:8px;padding-top:8px;border-top:1px dashed rgba(15,93,86,.12)}
#mobileProductDetailMask .m-product-detail-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:10px}
#mobileProductDetailMask .m-product-detail-actions .m-btn-compact{min-height:34px;padding:0 12px;font-size:12px}
#mobileProductDetailMask .m-product-detail-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}
#mobileProductDetailMask .m-product-detail-section-head h3{margin:0;font-size:15px;line-height:1.2}
#mobileProductDetailMask .m-product-detail-section-head span{font-size:11px;line-height:1.4;color:var(--m-subtle)}
#mobileProductDetailMask .m-product-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#mobileProductDetailMask .m-product-detail-field{
  min-width:0;padding:10px;border:1px solid rgba(15,93,86,.10);border-radius:14px;background:#f8fbfb
}
#mobileProductDetailMask .m-product-detail-field.is-wide{grid-column:1 / -1}
#mobileProductDetailMask .m-product-detail-field span{display:block;margin-bottom:4px;font-size:10px;line-height:1.3;color:var(--m-subtle)}
#mobileProductDetailMask .m-product-detail-field strong{
  display:block;font-size:12px;line-height:1.5;font-weight:600;color:var(--m-text);
  white-space:pre-wrap;word-break:break-word
}
#mobileProductDetailMask .m-product-detail-field strong.is-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
#mobileProductDetailMask .m-product-detail-input{
  width:100%;min-height:36px;padding:8px 10px;border:1px solid #d7e0e6;border-radius:10px;
  background:#fff;font:inherit;font-size:12px;line-height:1.4;color:var(--m-text);outline:none
}
#mobileProductDetailMask .m-product-detail-input:focus{
  border-color:#0f766e;box-shadow:0 0 0 2px rgba(15,118,110,.12)
}
#mobileProductDetailMask .m-product-detail-input.is-textarea{
  min-height:92px;resize:vertical
}
#mobileProductDetailMask .m-product-detail-input[disabled]{
  background:#f3f6f8;color:#90a0af
}
#mobileProductDetailMask .m-product-detail-link-list{display:flex;flex-direction:column;gap:8px}
#mobileProductDetailMask .m-product-detail-link-card{
  width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;
  padding:11px 12px;border:1px solid rgba(15,93,86,.10);border-radius:14px;background:#f8fbfb;text-align:left
}
#mobileProductDetailMask .m-product-detail-link-card strong{font-size:12px;line-height:1.4}
#mobileProductDetailMask .m-product-detail-link-card span{font-size:11px;line-height:1.4;color:var(--m-subtle)}
#mobileProductDetailMask .m-product-detail-sku-list{display:flex;flex-direction:column;gap:8px}
#mobileProductDetailMask .m-product-detail-sku-card{
  width:100%;display:grid;grid-template-columns:56px minmax(0,1fr);gap:9px;
  padding:9px;border:1px solid rgba(15,93,86,.10);border-radius:16px;background:#f8fbfb;text-align:left
}
#mobileProductDetailMask .m-product-detail-sku-card.is-active{border-color:rgba(15,93,86,.34);background:#f1fbf9}
#mobileProductDetailMask .m-product-detail-sku-cover{
  width:56px;height:56px;border-radius:12px;object-fit:cover;background:#eef2f6;display:block
}
#mobileProductDetailMask .m-product-detail-sku-cover.placeholder{
  display:flex;align-items:center;justify-content:center;font-size:11px;color:#7a8696
}
#mobileProductDetailMask .m-product-detail-sku-main{min-width:0;display:flex;flex-direction:column;gap:3px}
#mobileProductDetailMask .m-product-detail-sku-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
#mobileProductDetailMask .m-product-detail-sku-head strong{font-size:12px;line-height:1.35}
#mobileProductDetailMask .m-product-detail-sku-head span{font-size:11px;line-height:1.3;color:#0f766e;font-weight:700;white-space:nowrap}
#mobileProductDetailMask .m-product-detail-sku-main p{
  margin:0;font-size:10.5px;line-height:1.35;color:var(--m-subtle);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
#mobileProductDetailMask .m-product-detail-empty{
  padding:14px;border:1px dashed rgba(15,93,86,.18);border-radius:14px;background:#f8fbfb;
  font-size:11px;line-height:1.5;color:var(--m-subtle)
}

@media (max-width: 520px){
  #mobileProductDetailMask .m-product-detail-grid{grid-template-columns:1fr}
}

.m-filter-stack{display:flex;flex-direction:column;gap:12px}
body[data-mobile-view="warehouse"][data-warehouse-module="query"],
body[data-mobile-view="warehouse"][data-warehouse-module="outbound"],
body[data-mobile-view="warehouse"][data-warehouse-module="putaway"]{
  background:#f4f6f7
}
body[data-mobile-view="warehouse"][data-warehouse-module="query"] .m-topbar,
body[data-mobile-view="warehouse"][data-warehouse-module="outbound"] .m-topbar,
body[data-mobile-view="warehouse"][data-warehouse-module="putaway"] .m-topbar{
  display:none
}
body[data-mobile-view="warehouse"][data-warehouse-module="query"] .m-main,
body[data-mobile-view="warehouse"][data-warehouse-module="outbound"] .m-main,
body[data-mobile-view="warehouse"][data-warehouse-module="putaway"] .m-main,
body[data-mobile-view="warehouse"][data-warehouse-module="stocktake"] .m-main{
  padding:0;gap:0;background:#f4f6f7
}
body[data-mobile-view="warehouse"][data-warehouse-module="query"] .m-warehouse-workbench-panel,
body[data-mobile-view="warehouse"][data-warehouse-module="outbound"] .m-warehouse-workbench-panel,
body[data-mobile-view="warehouse"][data-warehouse-module="putaway"] .m-warehouse-workbench-panel,
body[data-mobile-view="warehouse"][data-warehouse-module="stocktake"] .m-warehouse-workbench-panel{
  display:none
}
body[data-mobile-view="warehouse"][data-warehouse-module="query"] .m-warehouse-scan-panel,
body[data-mobile-view="warehouse"][data-warehouse-module="outbound"] .m-warehouse-scan-panel,
body[data-mobile-view="warehouse"][data-warehouse-module="putaway"] .m-warehouse-scan-panel{
  min-height:calc(100vh - 58px - env(safe-area-inset-bottom));border:0;box-shadow:none
}
.m-warehouse-filter-panel{padding:12px 12px 10px}
.m-warehouse-filter-panel{display:none !important}
.m-warehouse-filter-panel .m-section-head{margin-bottom:8px}
.m-warehouse-filter-panel .m-section-head span{font-size:11px}
.m-warehouse-filter-stack{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px
}
.m-warehouse-filter-stack .m-field{gap:5px}
.m-warehouse-filter-stack .m-field span{font-size:12px}
.m-warehouse-filter-stack .m-field select{min-height:40px;padding:0 12px;border-radius:12px;font-size:12px}
.m-warehouse-filter-stack .m-chip-row{grid-column:1 / -1}
.m-warehouse-filter-stack .m-chip-row{gap:6px}
.m-warehouse-filter-stack .m-chip{min-height:30px;padding:0 10px;font-size:11px}
.m-warehouse-scan-panel{
  padding:0;overflow:hidden;border-radius:0;background:#f4f6f7
}
.m-warehouse-query-title{
  position:sticky;top:0;z-index:24;min-height:40px;
  display:grid;grid-template-columns:86px minmax(0,1fr) 86px;align-items:center;gap:8px;
  padding:6px 10px;background:linear-gradient(135deg,#177fda,#0f6f66);color:#fff;border-bottom:0
}
.m-warehouse-query-title strong{font-size:18px;line-height:1.05;font-weight:900;letter-spacing:.02em;text-align:center}
.m-warehouse-query-title-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}
.m-warehouse-query-back{
  justify-self:start;min-height:28px;border:1px solid #f87171;border-radius:999px;background:#dc2626;
  color:#fff;padding:0 10px;font-size:12px;font-weight:900;white-space:nowrap
}
.m-warehouse-query-keyboard-toggle{
  width:30px;min-width:30px;min-height:28px;padding:0;border:1px solid rgba(255,255,255,.7);
  border-radius:50%;background:rgba(255,255,255,.1);color:rgba(255,255,255,.72);font-size:12px;font-weight:900
}
.m-warehouse-query-keyboard-toggle.active{
  background:#fff;color:#0f6f66;border-color:#fff
}
.m-warehouse-query-scan{
  min-height:28px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(255,255,255,.16);
  color:#fff;padding:0 10px;font-size:12px;font-weight:900;white-space:nowrap
}
.m-warehouse-query-back:active{background:#b91c1c}
.m-warehouse-query-scan:active,.m-warehouse-query-keyboard-toggle:active{background:rgba(255,255,255,.28)}
body[data-warehouse-module="outbound"] .m-warehouse-query-keyboard-toggle,
body[data-warehouse-module="transfer"] .m-warehouse-query-keyboard-toggle{display:none}
.m-warehouse-scan-panel .m-search-form{
  display:grid;grid-template-columns:92px minmax(0,1fr) 58px;align-items:stretch;gap:0;
  padding:4px;background:#f3f0e8;border-bottom:1px solid #c3d2dc
}
.m-warehouse-query-type{position:relative;margin:0}
.m-warehouse-query-type:before{
  content:"⌄";position:absolute;left:9px;top:50%;transform:translateY(-54%);
  z-index:1;color:#fff;font-size:18px;font-weight:900;pointer-events:none
}
.m-warehouse-query-type select{
  width:100%;height:40px;border:0;border-radius:5px 0 0 5px;background:#167bd1;color:#fff;
  padding:0 6px 0 28px;appearance:none;font-size:14px !important;font-weight:800
}
.m-warehouse-query-type select option{
  min-height:28px;padding:4px 7px;font-size:13px;line-height:1.18
}
.m-warehouse-query-type.is-custom-picker select{
  position:absolute;inset:0;opacity:0;pointer-events:none
}
.m-warehouse-query-type-trigger{
  width:100%;height:40px;border:0;border-radius:5px 0 0 5px;background:#167bd1;color:#fff;
  padding:0 6px 0 28px;text-align:left;font-size:13px;font-weight:800;line-height:1.05;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-warehouse-query-type-menu{
  position:absolute;left:0;top:43px;z-index:35;width:148px;max-height:min(70vh,300px);overflow-y:auto;
  border:1px solid #9eb6c9;border-radius:6px;background:#fff;box-shadow:0 12px 26px rgba(15,23,42,.18)
}
.m-warehouse-query-type-menu button{
  display:block;width:100%;min-height:30px;padding:4px 9px;border:0;border-bottom:1px solid #edf2f7;
  background:#fff;color:#111827;text-align:left;font-size:13px;font-weight:700;line-height:1.18
}
.m-warehouse-query-type-menu button:last-child{border-bottom:0}
.m-warehouse-query-type-menu button.active{background:#eaf5ff;color:#1269b4}
.m-warehouse-query-type-menu button:active{background:#dceeff}
.m-warehouse-scan-panel .m-search-box{gap:0;margin:0}
.m-warehouse-scan-panel .m-search-box input{
  width:100%;height:40px;min-height:40px;border:2px solid #2e89c8;border-left:0;border-right:0;
  border-radius:0;background:#fff;padding:0 8px;font-size:14px !important;color:#111827
}
.m-warehouse-scan-panel .m-primary-btn{
  min-height:40px;border:2px solid #2e89c8;border-left:0;border-radius:0 5px 5px 0;background:#fff;color:#475569;
  padding:0 6px;font-size:15px;font-weight:500
}
.m-scan-mode-hint{margin:6px 0 0;color:var(--m-subtle);font-size:11px;line-height:1.45}
.m-scan-mode-hint.is-error{color:#9f2f24}
.m-warehouse-scan-panel .m-list-stack{gap:0;background:#f4f6f7}
.m-warehouse-query-empty{
  margin:12px;padding:18px;border:1px dashed #b7c8d6;border-radius:14px;background:#fff;color:#64748b;text-align:center
}
.m-warehouse-query-empty strong{display:block;color:#147bd1;font-size:18px}
.m-warehouse-query-empty p{margin:8px 0 0;font-size:13px;line-height:1.5}
.m-warehouse-query-product{display:flex;flex-direction:column;min-height:calc(100vh - 132px);padding-bottom:96px;background:#f4f6f7}
.m-warehouse-query-image-wrap{
  display:flex;align-items:center;justify-content:center;min-height:108px;padding:8px 0;background:#f4f6f7
}
.m-warehouse-query-image{
  width:92px;height:92px;object-fit:cover;background:#e8edf2;border:1px solid #d6dee8
}
.m-warehouse-query-image.placeholder{
  display:flex;align-items:center;justify-content:center;color:#8a96a3;font-size:14px
}
.m-warehouse-query-info,.m-warehouse-query-stock{
  background:rgba(255,255,255,.92);border-top:1px solid #d4dde6;border-bottom:1px solid #d4dde6
}
.m-warehouse-query-info-head{
  display:grid;grid-template-columns:26px auto minmax(0,1fr) 22px;align-items:center;gap:4px;
  min-height:36px;padding:0 8px;color:#147bd1;border-bottom:1px solid #e2e8f0
}
.m-warehouse-query-info-icon{
  display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:4px;background:#147bd1;color:#fff;font-size:12px
}
.m-warehouse-query-info-head strong{font-size:16px;font-weight:500;white-space:nowrap}
.m-warehouse-query-info-head em{
  min-width:0;color:#111827;font-size:15px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-warehouse-query-info-toggle{
  width:22px;height:30px;border:0;border-radius:4px;background:transparent;color:#334155;
  padding:0;font-size:18px;line-height:1;text-align:center
}
.m-warehouse-query-info.is-collapsed .m-warehouse-query-info-body{display:none}
.m-warehouse-query-line{
  display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;gap:5px;min-height:25px;
  padding:0 8px;color:#475569
}
.m-warehouse-query-line span{font-size:14px;line-height:1.35;white-space:nowrap}
.m-warehouse-query-line strong{
  min-width:0;color:#111827;font-size:14px;line-height:1.35;font-weight:500;word-break:break-word
}
.m-warehouse-query-line.is-wrap strong{line-height:1.28}
.m-warehouse-query-tag-row{
  display:grid;grid-template-columns:max-content minmax(0,1fr) 64px;align-items:center;gap:5px;
  min-height:34px;padding:1px 8px 5px;color:#475569
}
.m-warehouse-query-tag-row span{font-size:14px}
.m-warehouse-query-edit{
  grid-column:3;width:62px;height:30px;border:0;border-radius:6px;background:#1783de;color:#fff;font-size:14px;font-weight:700
}
.m-warehouse-query-stock{margin-top:0;padding:5px 8px}
.m-warehouse-query-stock h3{
  margin:5px 0 5px;color:#147bd1;font-size:16px;line-height:1.2;font-weight:500
}
.m-warehouse-query-stock-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:3px 8px;color:#475569;font-size:14px;line-height:1.35
}
.m-warehouse-query-stock-grid .wide{grid-column:1 / -1}
.m-warehouse-query-stock-grid strong{color:#c2410c;font-weight:500}
.m-warehouse-query-location-list{display:flex;flex-direction:column;gap:0;border-top:1px solid #dbe3ea}
.m-warehouse-query-location-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto 22px;align-items:center;min-height:38px;
  border:0;border-bottom:1px solid #dbe3ea;background:#fff;text-align:left;padding:0 8px;color:#111827
}
.m-warehouse-query-location-row span{min-width:0;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-warehouse-query-location-row strong{font-size:14px;font-weight:500;color:#475569;white-space:nowrap}
.m-warehouse-query-location-row i{
  width:22px;height:22px;border:2px solid #a8b2bc;border-radius:999px
}
.m-warehouse-query-more{background:#fff;border-top:1px solid #dbe3ea}
.m-warehouse-query-more summary{padding:10px 12px;color:#147bd1;font-size:16px}
.m-warehouse-query-more button{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;min-height:42px;
  border:0;border-top:1px solid #edf2f7;background:#fff;padding:0 12px;text-align:left
}
.m-warehouse-query-more span{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-warehouse-query-more em{font-size:14px;font-style:normal;color:#64748b;white-space:nowrap}
.m-warehouse-query-bottom-actions{
  position:sticky;bottom:env(safe-area-inset-bottom);z-index:10;
  display:grid;grid-template-columns:1fr 1fr;gap:2px;margin-top:auto;background:#d9e0e8;border-top:1px solid #b7c8d6
}
.m-warehouse-query-action{
  min-height:54px;border:0;border-radius:0;font-size:23px;font-weight:500
}
.m-warehouse-query-action.primary{background:#1484d7;color:#fff}
.m-warehouse-query-action.secondary{background:#e7edf2;color:#111827}
.m-warehouse-outbound-panel{
  min-height:calc(100vh - 58px - 58px - env(safe-area-inset-bottom));
  padding-bottom:66px;background:#f4f6f7;color:#111827
}
.m-outbound-form{
  display:flex;flex-direction:column;background:#f7f3eb;border-bottom:1px solid #c3d2dc
}
.m-outbound-row{
  display:grid;grid-template-columns:104px minmax(0,1fr) auto auto;align-items:center;gap:0;
  min-height:58px;margin:0;border-bottom:1px solid #d68a54;background:rgba(255,255,255,.45)
}
.m-outbound-row span{
  padding-left:12px;color:#334155;font-size:20px;line-height:1;font-weight:500;white-space:nowrap
}
.m-outbound-row input{
  min-width:0;width:100%;height:56px;border:0;outline:none;background:transparent;
  padding:0 8px;color:#111827;font-size:22px !important;text-align:center
}
.m-outbound-icon-btn{
  width:44px;height:44px;margin-right:10px;border:0;border-radius:8px;background:#1684d9;color:#fff;
  font-size:27px;line-height:1;font-weight:900
}
.m-outbound-select-btn{
  min-width:88px;height:42px;border:0;background:transparent;color:#64748b;font-size:20px;font-weight:500;white-space:nowrap
}
.m-outbound-stats{
  display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;align-items:center;
  min-height:62px;padding:9px 12px;background:#f4f6f7;color:#475569;font-size:19px;line-height:1.35
}
.m-outbound-stats span{white-space:nowrap}
.m-outbound-stats b{color:#c2410c;font-weight:600}
.m-outbound-list-head{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;
  min-height:58px;padding:0 12px;background:#f4f6f7;border-bottom:1px solid #c5d1dc;color:#475569
}
.m-outbound-list-head > span{font-size:20px;line-height:1.1;font-weight:500}
.m-outbound-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#fff;border-radius:4px;overflow:hidden;border:1px solid #d6dee8}
.m-outbound-tabs button{
  min-width:82px;height:42px;border:0;background:#fff;color:#475569;font-size:19px;font-weight:500
}
.m-outbound-tabs button.active{background:#1684d9;color:#fff}
.m-outbound-list{
  display:flex;flex-direction:column;gap:0;background:#fff;min-height:calc(100vh - 58px - 58px - 62px - 58px - 58px - env(safe-area-inset-bottom))
}
.m-outbound-empty{
  min-height:180px;display:flex;align-items:center;justify-content:center;padding:18px;color:#94a3b8;
  font-size:16px;line-height:1.5;text-align:center
}
.m-outbound-item{
  display:grid;grid-template-columns:74px minmax(0,1fr) 0;align-items:start;gap:10px;
  min-height:84px;padding:9px 10px;border-bottom:1px solid #d6dee8;background:#fff;position:relative
}
.m-outbound-item.active{background:#eef7ff}
.m-outbound-cover{
  width:64px;height:64px;object-fit:cover;border:1px solid #d6dee8;background:#e8eef4
}
.m-outbound-cover.placeholder{
  display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:12px
}
.m-outbound-item-main{min-width:0;padding-right:2px}
.m-outbound-item-head{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px;line-height:1.15
}
.m-outbound-item-head strong{
  min-width:0;color:#147bd1;font-size:20px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-outbound-item-head b{color:#c2410c;font-weight:600}
.m-outbound-item-head span{color:#334155;font-size:20px;line-height:1.15;white-space:nowrap}
.m-outbound-item-main p{
  margin:3px 0 0;color:#475569;font-size:18px;line-height:1.18;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-outbound-item-actions{
  position:absolute;right:8px;bottom:6px;display:flex;align-items:center;gap:4px
}
.m-outbound-item-actions button{
  width:26px;height:26px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;color:#334155;
  font-size:15px;line-height:1;font-weight:900;padding:0
}
.m-outbound-item-actions [data-outbound-remove]{width:34px;color:#b42318}
.m-outbound-item-actions input{
  width:42px;height:26px;border:1px solid #cbd5e1;border-radius:5px;background:#fff;text-align:center;
  padding:0 3px;font-size:16px !important;font-weight:700;color:#111827
}
.m-outbound-style-card{
  padding:10px 12px;border-bottom:1px solid #d6dee8;background:#fff
}
.m-outbound-style-card strong{display:block;color:#147bd1;font-size:20px;line-height:1.2;font-weight:500}
.m-outbound-style-card p{margin:4px 0 0;color:#475569;font-size:18px;line-height:1.25}
.m-outbound-bottom-actions{
  position:sticky;bottom:env(safe-area-inset-bottom);z-index:10;
  display:grid;grid-template-columns:1fr 1.45fr;gap:0;background:#d9e0e8;border-top:1px solid #b7c8d6
}
.m-outbound-bottom-actions button{
  min-height:58px;border:0;border-radius:0;font-size:24px;font-weight:500
}
.m-outbound-bottom-actions button:first-child{background:#e7edf2;color:#147bd1}
.m-outbound-bottom-actions button:last-child{background:#1484d7;color:#fff}
.m-outbound-bottom-actions button:disabled,
.m-outbound-icon-btn:disabled,
.m-outbound-select-btn:disabled{opacity:.55}
.m-warehouse-putaway-panel{
  min-height:calc(100vh - 40px - env(safe-area-inset-bottom));
  padding-bottom:calc(50px + env(safe-area-inset-bottom));background:#f4f6f7;color:#111827
}
.m-putaway-form{
  display:flex;flex-direction:column;background:#fff;border-bottom:1px solid var(--m-border)
}
.m-putaway-row{
  display:grid;grid-template-columns:86px minmax(0,1fr) auto auto;align-items:center;gap:0;
  min-height:34px;margin:0;border-bottom:1px solid rgba(203,188,163,.55);background:#fff
}
.m-putaway-row.wide{grid-template-columns:86px minmax(0,1fr) 40px}
.m-putaway-row span{
  padding-left:12px;color:#334155;font-size:13px;line-height:1;font-weight:800;white-space:nowrap
}
.m-putaway-row input{
  min-width:0;width:100%;height:32px;border:0;outline:none;background:transparent;
  padding:0 6px;color:#111827;font-size:16px !important;text-align:left
}
.m-putaway-icon-btn{
  width:34px;height:30px;margin-right:6px;border:0;border-radius:6px;background:#1684d9;color:#fff;
  font-size:18px;line-height:1;font-weight:900
}
.m-putaway-icon-btn:not(.active){
  background:#98a1aa;color:#fff
}
.m-putaway-lock-btn{
  width:34px;height:30px;margin-right:6px;border:0;border-radius:6px;background:#98a1aa;color:#fff;
  font-size:14px;line-height:1;font-weight:900
}
.m-putaway-lock-btn.active{
  background:#1684d9;color:#fff
}
.m-putaway-plain-icon{
  width:36px;height:30px;border:0;background:transparent;color:#1684d9;font-size:16px;font-weight:900
}
.m-putaway-select-btn{
  min-width:56px;height:30px;border:0;background:transparent;color:#64748b;font-size:13px;font-weight:800;white-space:nowrap
}
.m-putaway-current{
  background:#f4f6f7;border-bottom:1px solid #cbd5e1
}
.m-putaway-current-meta{
  display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:8px;min-height:28px;
  padding:0 10px;color:#475569;font-size:12px;line-height:1.15
}
.m-putaway-current-card{
  display:grid;grid-template-columns:60px minmax(0,1fr) 18px;align-items:center;gap:8px;
  min-height:70px;padding:7px 10px;background:#fff;border-top:1px dashed #d6dee8
}
.m-putaway-current-card img,.m-putaway-current-img{
  width:58px;height:58px;object-fit:cover;border:1px solid #d6dee8;background:#e8eef4;border-radius:7px
}
.m-putaway-current-img{display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:10px}
.m-putaway-current-card strong{
  display:block;color:#334155;font-size:15px;line-height:1.15;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-putaway-current-card p{
  margin:2px 0 0;color:#475569;font-size:12px;line-height:1.22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-putaway-current-card em{color:#94a3b8;font-style:normal;font-size:16px;text-align:center}
.m-putaway-empty-current{
  min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px;color:#94a3b8;font-size:13px;line-height:1.35;text-align:center
}
.m-putaway-suggest{
  background:#fff;border-bottom:1px solid #cbd5e1
}
.m-putaway-suggest-title{
  padding:6px 10px 3px;color:#475569;font-size:12px;line-height:1.2
}
.m-putaway-suggest-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:0 10px 7px
}
.m-putaway-suggest-grid button{
  height:30px;border:1px solid #9ca3af;border-radius:0;background:#fff;color:#334155;
  padding:0 4px;font-size:13px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-putaway-suggest-grid button.empty{background:#f8fafc;color:transparent}
.m-putaway-list-head{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;
  min-height:40px;padding:0 10px;background:#f4f6f7;border-bottom:1px solid #c5d1dc;color:#475569
}
.m-putaway-list-head > span{font-size:15px;line-height:1.1;font-weight:800}
.m-putaway-tabs{display:grid;grid-template-columns:1fr 1fr;gap:0;background:#fff;border-radius:4px;overflow:hidden;border:1px solid #d6dee8}
.m-putaway-tabs button{
  min-width:58px;height:28px;border:0;background:#fff;color:#475569;font-size:13px;font-weight:800
}
.m-putaway-tabs button.active{background:#1684d9;color:#fff}
.m-putaway-list{
  display:flex;flex-direction:column;gap:0;background:#fff;min-height:180px;padding-bottom:calc(50px + env(safe-area-inset-bottom))
}
.m-putaway-empty{
  min-height:110px;display:flex;align-items:center;justify-content:center;padding:14px;color:#94a3b8;
  font-size:13px;line-height:1.45;text-align:center
}
.m-putaway-item{
  display:grid;grid-template-columns:58px minmax(0,1fr);align-items:start;gap:7px;
  min-height:70px;padding:7px 8px;border-bottom:1px dashed #d6dee8;background:#fff
}
.m-putaway-cover{
  width:58px;height:58px;object-fit:cover;border:1px solid #d6dee8;background:#e8eef4;border-radius:7px
}
.m-putaway-cover.placeholder{
  display:flex;align-items:center;justify-content:center;color:#94a3b8;font-size:10px
}
.m-putaway-item-main{min-width:0}
.m-putaway-item-head{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:6px;line-height:1.15
}
.m-putaway-item-head strong{
  min-width:0;color:#147bd1;font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-putaway-item-head b{color:#c2410c;font-weight:600}
.m-putaway-item-head span{color:#334155;font-size:13px;line-height:1.15;white-space:nowrap}
.m-putaway-item-main p{
  margin:2px 0 0;color:#475569;font-size:12px;line-height:1.22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-putaway-remove{
  width:22px;height:22px;border:0;background:transparent;color:#b42318;font-size:16px;line-height:1;font-weight:700
}
.m-putaway-style-card{
  padding:8px 10px;border-bottom:1px dashed #d6dee8;background:#fff
}
.m-putaway-style-card strong{display:block;color:#147bd1;font-size:15px;line-height:1.2;font-weight:800}
.m-putaway-style-card b{color:#c2410c;font-weight:600}
.m-putaway-style-card p{margin:3px 0 0;color:#475569;font-size:12px;line-height:1.25}
.m-putaway-bottom-actions{
  position:fixed;left:0;right:0;bottom:0;z-index:30;
  display:grid;grid-template-columns:1fr 1.45fr;gap:0;background:#fff;border-top:1px solid var(--m-border);
  padding-bottom:env(safe-area-inset-bottom)
}
.m-putaway-bottom-actions button{
  min-height:44px;border:0;border-radius:0;font-size:16px;font-weight:800
}
.m-putaway-bottom-actions button:first-child{background:#e7edf2;color:#147bd1}
.m-putaway-bottom-actions button:last-child{background:#1484d7;color:#fff}
.m-putaway-bottom-actions button:disabled,
.m-putaway-icon-btn:disabled,
.m-putaway-lock-btn:disabled,
.m-putaway-select-btn:disabled{opacity:.55}
.m-warehouse-stocktake-panel{
  padding:0;overflow:hidden;border-radius:22px;background:#fff
}
body[data-mobile-view="warehouse"][data-warehouse-module="stocktake"] .m-warehouse-stocktake-panel{
  min-height:calc(100vh - env(safe-area-inset-bottom));border:0;border-radius:0;box-shadow:none;overflow:visible
}
.m-stocktake-titlebar{
  position:sticky;top:0;z-index:24;min-height:40px;
  display:grid;grid-template-columns:86px minmax(0,1fr) 86px;align-items:center;gap:8px;
  padding:6px 10px;background:linear-gradient(135deg,#177fda,#0f6f66);color:#fff
}
.m-stocktake-titlebar strong{font-size:18px;line-height:1.05;letter-spacing:.02em;text-align:center}
.m-stocktake-titlebar span{font-size:11px;line-height:1.2;opacity:.9}
.m-stocktake-title-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}
.m-stocktake-title-actions button,
.m-stocktake-back-btn{
  min-height:28px;border:1px solid rgba(255,255,255,.7);border-radius:999px;background:rgba(255,255,255,.16);
  color:#fff;padding:0 10px;font-size:12px;font-weight:900;white-space:nowrap
}
.m-stocktake-title-actions .m-stocktake-keyboard-toggle{
  width:30px;min-width:30px;padding:0;border-radius:50%;background:rgba(255,255,255,.1);color:rgba(255,255,255,.72)
}
.m-stocktake-title-actions .m-stocktake-keyboard-toggle.active{
  background:#fff;color:#0f6f66;border-color:#fff
}
.m-stocktake-back-btn{justify-self:start;border-color:#f87171;background:#dc2626;color:#fff}
.m-stocktake-title-actions button:active,.m-stocktake-back-btn:active{background:rgba(255,255,255,.28)}
.m-stocktake-back-btn:active{background:#b91c1c}
.m-stocktake-form{
  position:sticky;top:40px;z-index:23;
  display:grid;grid-template-columns:minmax(0,1fr) 58px;gap:0;background:#fff;border-bottom:1px solid var(--m-border)
}
.m-stocktake-field{
  display:grid;grid-template-columns:86px minmax(0,1fr);align-items:center;min-height:34px;
  border-bottom:1px solid rgba(203,188,163,.55)
}
.m-stocktake-field span{padding-left:12px;color:#334155;font-size:13px;font-weight:800}
.m-stocktake-field input{
  min-width:0;width:100%;height:32px;border:0;outline:none;background:transparent;
  font-size:16px;color:#111827
}
.m-stocktake-field.wide{grid-column:1 / -1}
.m-stocktake-mini-btn{
  min-height:34px;border:0;border-left:1px solid rgba(203,188,163,.55);border-bottom:1px solid rgba(203,188,163,.55);
  background:#eef6ff;color:#1768aa;font-size:13px;font-weight:900
}
.m-stocktake-mini-btn.primary{background:#dff5f0;color:#0f6f66}
.m-stocktake-current{background:#f3f6fa;border-bottom:1px solid var(--m-border)}
.m-stocktake-current-card{
  display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px
}
.m-stocktake-current-card img,.m-stocktake-current-img{
  width:72px;height:72px;border-radius:8px;object-fit:cover;background:#edf2f7;border:1px solid var(--m-border);
  display:flex;align-items:center;justify-content:center;color:var(--m-subtle);font-size:11px
}
.m-stocktake-current-info{min-width:0;display:flex;flex-direction:column;gap:4px}
.m-stocktake-current-info p{
  margin:0;min-width:0;color:#111827;font-size:14px;line-height:1.25;font-weight:800;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-stocktake-empty-current{padding:14px 12px;color:var(--m-subtle);font-size:13px;line-height:1.45}
.m-stocktake-stats{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:4px 10px;background:#fff
}
.m-stocktake-stats div{
  min-height:24px;display:flex;align-items:center;justify-content:flex-start;gap:4px;
  color:#6b7280;font-size:12px;border-bottom:1px solid rgba(226,232,240,.7)
}
.m-stocktake-stats span{white-space:nowrap}
.m-stocktake-stats strong{min-width:0;color:#263445;font-size:15px;line-height:1.05;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m-stocktake-stats strong.accent{color:#c53030}
.m-stocktake-list-head{padding:8px 12px 6px;font-size:16px;font-weight:900;color:#1f2937;border-top:1px solid var(--m-border)}
.m-stocktake-list{display:flex;flex-direction:column;gap:0;background:#fff;padding-bottom:calc(62px + env(safe-area-inset-bottom))}
.m-stocktake-suggestions{display:flex;flex-direction:column;border-bottom:1px solid var(--m-border)}
.m-stocktake-suggestions button{
  display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:center;min-height:54px;
  padding:6px 10px;border:0;border-bottom:1px solid rgba(203,188,163,.45);background:#fff;text-align:left
}
.m-stocktake-suggestions img,.m-stocktake-suggestions span{
  width:44px;height:44px;border-radius:6px;object-fit:cover;background:#edf2f7;
  display:flex;align-items:center;justify-content:center;color:var(--m-subtle);font-size:10px
}
.m-stocktake-suggestions em{
  min-width:0;align-self:end;color:#0f6f66;font-size:13px;font-style:normal;font-weight:900;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-stocktake-suggestions small{
  grid-column:2;color:var(--m-subtle);font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-stocktake-swipe-row{
  position:relative;overflow:hidden;background:#dc2626;border-bottom:1px solid rgba(203,188,163,.55);touch-action:pan-y
}
.m-stocktake-swipe-delete{
  position:absolute;right:0;top:0;bottom:0;width:76px;border:0;background:#dc2626;color:#fff;
  font-size:18px;font-weight:900;z-index:0
}
.m-stocktake-item-card{
  position:relative;z-index:1;display:grid;grid-template-columns:58px minmax(0,1fr) 92px;gap:7px;align-items:center;padding:7px 8px;
  border-bottom:0;background:#fff;transition:transform .18s ease
}
.m-stocktake-swipe-row.is-open .m-stocktake-item-card{transform:translateX(-76px)}
.m-stocktake-swipe-row.is-dragging .m-stocktake-item-card{transition:none}
.m-stocktake-item-card{
  border-bottom:0
}
.m-stocktake-item-card.active{background:#eef7ff}
.m-stocktake-item-card img,.m-stocktake-item-img{
  width:58px;height:58px;border-radius:7px;object-fit:cover;background:#edf2f7;border:1px solid var(--m-border);
  display:flex;align-items:center;justify-content:center;color:var(--m-subtle);font-size:10px
}
.m-stocktake-item-main{min-width:0}
.m-stocktake-item-title{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}
.m-stocktake-item-title strong{min-width:0;color:#177fda;font-size:15px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.m-stocktake-item-main p{
  margin:2px 0 0;color:#374151;font-size:12px;line-height:1.22;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-stocktake-item-actions{
  justify-self:end;display:flex;flex-direction:column;align-items:flex-end;gap:4px;margin:0
}
.m-stocktake-before-qty{
  color:#475569;font-size:11px;line-height:1.15;white-space:nowrap
}
.m-stocktake-qty-stepper{
  display:grid;grid-template-columns:24px 34px 24px;gap:3px;align-items:center
}
.m-stocktake-qty-stepper button{
  min-width:0;height:25px;border:1px solid var(--m-border);border-radius:8px;background:#fff;font-size:12px;font-weight:900;padding:0
}
.m-stocktake-qty-stepper input{
  width:34px;height:25px;border:1px solid var(--m-border);border-radius:8px;text-align:center;font-size:13px !important;font-weight:900;padding:0
}
.m-stocktake-bottom-actions{
  position:fixed;left:0;right:0;bottom:0;z-index:30;
  display:grid;grid-template-columns:1fr 1.45fr;gap:0;background:#fff;border-top:1px solid var(--m-border);
  padding-bottom:env(safe-area-inset-bottom)
}
.m-stocktake-bottom-actions .m-ghost-btn,.m-stocktake-bottom-actions .m-primary-btn{
  min-height:44px;border-radius:0;font-size:16px
}
.m-stocktake-confirm-mask{
  position:fixed;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;
  background:rgba(15,23,42,.38);padding:18px
}
.m-stocktake-confirm-dialog{
  width:min(78vw,300px);min-height:174px;background:#fff;border-radius:3px;box-shadow:0 20px 56px rgba(0,0,0,.22);
  padding:24px 22px 16px;color:#1f2937
}
.m-stocktake-confirm-dialog h3{margin:0;font-size:22px;line-height:1.25;font-weight:500}
.m-stocktake-confirm-dialog p{margin:24px 0 34px;font-size:20px;line-height:1.35;color:#374151}
.m-stocktake-confirm-dialog div{display:flex;align-items:center;justify-content:flex-end;gap:32px}
.m-stocktake-confirm-dialog button{border:0;background:transparent;color:#b64b68;font-size:18px;font-weight:500;padding:8px 0}
.m-warehouse-task-panel,.m-warehouse-review-panel,.m-warehouse-txn-panel,.m-warehouse-exception-panel{padding:12px}
.m-warehouse-task-panel .m-section-head,.m-warehouse-review-panel .m-section-head,.m-warehouse-txn-panel .m-section-head,.m-warehouse-exception-panel .m-section-head{margin-bottom:8px}
.m-warehouse-task-panel .m-section-head h2,.m-warehouse-review-panel .m-section-head h2,.m-warehouse-txn-panel .m-section-head h2,.m-warehouse-exception-panel .m-section-head h2{font-size:16px}
.m-warehouse-task-panel .m-section-head span,.m-warehouse-review-panel .m-section-head span,.m-warehouse-txn-panel .m-section-head span,.m-warehouse-exception-panel .m-section-head span{font-size:11px}
.m-warehouse-task-panel .m-list-stack,.m-warehouse-review-panel .m-list-stack,.m-warehouse-txn-panel .m-list-stack,.m-warehouse-exception-panel .m-list-stack{gap:8px}
.m-warehouse-card,.m-route-step-card{
  border:1px solid var(--m-border);border-radius:18px;background:#fff;padding:14px
}
.m-warehouse-card-head,.m-route-step-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px
}
.m-warehouse-card-head strong,.m-route-step-head strong{font-size:16px;line-height:1.25}
.m-warehouse-card p,.m-route-step-card p{margin:0;color:var(--m-subtle);font-size:12px;line-height:1.55}
.m-warehouse-card-meta{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px
}
.m-warehouse-meta-box{
  padding:10px;border-radius:14px;background:var(--m-panel-soft);border:1px solid rgba(203,188,163,.62)
}
.m-warehouse-meta-box span{display:block;color:var(--m-subtle);font-size:11px;margin-bottom:4px}
.m-warehouse-meta-box strong{font-size:14px;line-height:1.4;word-break:break-word}
.m-warehouse-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.m-warehouse-actions .m-ghost-btn,.m-warehouse-actions .m-primary-btn,.m-warehouse-actions .m-danger-btn{flex:1 1 120px}
.m-warehouse-list{display:flex;flex-direction:column;gap:8px}
.m-warehouse-compact-card{
  border:1px solid var(--m-border);border-radius:16px;background:#fff;padding:10px
}
.m-warehouse-compact-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:8px
}
.m-warehouse-compact-main{min-width:0}
.m-warehouse-compact-main strong{
  display:block;font-size:14px;line-height:1.18
}
.m-warehouse-compact-sub{
  margin:3px 0 0;color:var(--m-subtle);font-size:11px;line-height:1.35
}
.m-warehouse-compact-flags{
  display:flex;flex-wrap:wrap;gap:5px;margin-top:8px
}
.m-warehouse-compact-flags .m-tag{
  min-height:22px;padding:0 7px;font-size:10px;background:#f9f6f1;border-color:rgba(203,188,163,.72);color:#465365
}
.m-warehouse-compact-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px
}
.m-warehouse-compact-box{
  padding:8px 9px;border-radius:12px;background:#faf7f2;border:1px solid rgba(203,188,163,.62)
}
.m-warehouse-compact-box span{
  display:block;color:var(--m-subtle);font-size:10px;margin-bottom:3px
}
.m-warehouse-compact-box strong{
  display:block;font-size:12px;line-height:1.3;word-break:break-word
}
.m-warehouse-compact-note{
  margin:6px 0 0;color:var(--m-subtle);font-size:10px;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.m-warehouse-compact-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px
}
.m-warehouse-compact-actions .m-ghost-btn,.m-warehouse-compact-actions .m-primary-btn,.m-warehouse-compact-actions .m-danger-btn{
  min-height:30px;padding:0 8px;font-size:10px
}
.m-warehouse-review-card{padding:10px}
.m-warehouse-review-card .m-warehouse-compact-flags{margin-top:6px}
.m-warehouse-review-card .m-warehouse-compact-note{margin-top:5px}
.m-warehouse-review-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));margin-top:8px
}
.m-warehouse-review-grid .m-warehouse-compact-box{
  padding:8px 9px
}
.m-warehouse-review-grid .m-warehouse-compact-box strong{
  font-size:12px
}
.m-warehouse-review-actions{
  margin-top:8px
}
.m-warehouse-review-actions .m-ghost-btn,.m-warehouse-review-actions .m-primary-btn{
  min-height:34px;padding:0 10px;font-size:11px
}
.m-warehouse-txn-list{display:flex;flex-direction:column;gap:7px}
.m-warehouse-record-filter{
  display:grid;grid-template-columns:minmax(0,1.2fr) minmax(98px,.8fr) auto auto;gap:6px;margin:0 0 9px
}
.m-warehouse-record-filter input,.m-warehouse-record-filter select{
  min-width:0;min-height:34px;border:1px solid var(--m-border);border-radius:11px;background:#fff;padding:0 9px;font-size:11px
}
.m-warehouse-record-filter .m-primary-btn,.m-warehouse-record-filter .m-ghost-btn{
  min-height:34px;padding:0 9px;font-size:11px
}
.m-warehouse-txn-card{
  border:1px solid var(--m-border);border-radius:14px;background:#fff;padding:8px
}
.m-warehouse-txn-main{
  display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:start
}
.m-warehouse-txn-img{
  width:44px;height:52px;border-radius:10px;border:1px solid var(--m-border);object-fit:cover;background:#f7f4ee
}
.m-warehouse-txn-img.placeholder{
  display:flex;align-items:center;justify-content:center;color:#8a96a3;font-size:10px;font-weight:700
}
.m-warehouse-txn-info{min-width:0}
.m-warehouse-txn-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:8px
}
.m-warehouse-txn-head strong{
  display:block;min-width:0;font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-warehouse-txn-qty{
  flex:0 0 auto;min-width:42px;text-align:right;font-size:15px;font-weight:800;line-height:1.1;color:#475569
}
.m-warehouse-txn-qty.in{color:#0f766e}
.m-warehouse-txn-qty.out{color:#b91c1c}
.m-warehouse-txn-info p{
  margin:2px 0 0;color:var(--m-subtle);font-size:10px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-warehouse-txn-foot{
  display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:7px;padding-left:52px
}
.m-warehouse-txn-foot .m-tag{min-height:20px;padding:0 6px;font-size:9px}
.m-warehouse-mini-action{
  min-height:22px;border:1px solid #b9d8d3;border-radius:999px;background:#f5fbfa;color:#0f5d56;padding:0 8px;font-size:10px;font-weight:700
}
.m-warehouse-exception-list{display:flex;flex-direction:column;gap:7px}
.m-warehouse-exception-card{
  border:1px solid rgba(248,113,113,.35);border-radius:14px;background:#fffafa;padding:8px
}
.m-warehouse-exception-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:7px;padding-left:52px
}
.m-warehouse-exception-grid div{
  padding:6px;border-radius:9px;background:#fff;border:1px solid rgba(248,113,113,.2)
}
.m-warehouse-exception-grid span{
  display:block;color:#7f1d1d;font-size:9px;line-height:1.1
}
.m-warehouse-exception-grid strong{
  display:block;margin-top:2px;color:#111827;font-size:12px;line-height:1.1
}
.m-warehouse-exception-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:7px;padding-left:52px
}
.m-warehouse-exception-actions .m-ghost-btn,.m-warehouse-exception-actions .m-primary-btn{
  min-height:30px;padding:0 8px;font-size:10px
}
@media (max-width: 380px){
  .m-warehouse-record-filter{grid-template-columns:1fr 1fr}
}
.m-empty-box{
  padding:18px;border:1px dashed var(--m-border-strong);border-radius:18px;background:rgba(255,255,255,.76);
  color:var(--m-subtle);font-size:13px;line-height:1.7;text-align:center
}
.m-task-progress{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px
}
.m-task-progress .m-mini-stat{min-width:0}
.m-task-compact-progress{
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.m-task-overview-tags{
  display:flex;flex-wrap:wrap;gap:6px;margin-top:10px
}
.m-task-top-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px
}
.m-task-top-actions .m-ghost-btn,.m-task-top-actions .m-primary-btn,.m-task-top-actions .m-danger-btn{
  min-height:42px;padding:0 12px
}
.m-task-detail-focus-grid{margin:0}
.m-route-overview-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px
}
.m-route-overview-box{
  padding:10px;border-radius:14px;background:#faf7f2;border:1px solid rgba(203,188,163,.62)
}
.m-route-overview-box span{display:block;color:var(--m-subtle);font-size:11px;margin-bottom:4px}
.m-route-overview-box strong{display:block;font-size:15px;line-height:1.3;word-break:break-word}
.m-route-next-card{
  padding:14px;border-radius:18px;border:1px solid #9fd3cb;background:linear-gradient(180deg,#f4fbf9 0%,#edf8f5 100%)
}
.m-route-next-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px
}
.m-route-next-head strong{display:block;font-size:17px;line-height:1.2}
.m-route-next-head p{margin:5px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.45}
.m-route-next-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px
}
.m-route-next-box{
  padding:10px;border-radius:14px;background:#fff;border:1px solid rgba(159,211,203,.78)
}
.m-route-next-box span{display:block;color:var(--m-subtle);font-size:11px;margin-bottom:4px}
.m-route-next-box strong{display:block;font-size:14px;line-height:1.35;word-break:break-word}
.m-route-next-actions{display:flex;gap:8px;margin-top:12px}
.m-route-next-actions .m-primary-btn,.m-route-next-actions .m-ghost-btn{flex:1 1 0}
.m-route-list{display:flex;flex-direction:column;gap:10px}
.m-route-step-card{padding:12px}
.m-route-step-card.is-confirmed{background:#f2fbf7;border-color:#b7e1d8}
.m-route-step-card.is-active{
  background:#f7fffd;border-color:#8bc9bf;box-shadow:0 0 0 2px rgba(23,127,116,.08)
}
.m-route-step-title-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.m-route-step-sku{
  margin:6px 0 0;color:#314253;font-size:12px;line-height:1.45
}
.m-route-step-line{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.m-route-step-index{
  display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:999px;
  background:#102a27;color:#fff;font-size:12px;font-weight:700
}
.m-route-step-index.muted{background:#dbe4eb;color:#425466}
.m-route-step-meta-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px
}
.m-route-step-meta-box{
  padding:9px 10px;border-radius:14px;background:#faf7f2;border:1px solid rgba(203,188,163,.62)
}
.m-route-step-meta-box span{display:block;color:var(--m-subtle);font-size:11px;margin-bottom:4px}
.m-route-step-meta-box strong{display:block;font-size:13px;line-height:1.35;word-break:break-word}
.m-route-step-note{
  margin:8px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.5
}
.m-route-step-inputs{
  display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:10px;align-items:end;margin-top:10px
}
.m-route-step-inputs .m-field{margin:0}
.m-route-step-actions{
  display:flex;gap:8px;margin-top:10px
}
.m-route-step-actions .m-ghost-btn,.m-route-step-actions .m-primary-btn,.m-route-step-actions .m-danger-btn{
  flex:1 1 0;min-height:40px;padding:0 12px
}
.m-detail-action-stack{display:flex;flex-direction:column;gap:14px}
.m-section-note{margin:8px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.55}
.m-inline-remark{
  min-height:40px;padding:10px 12px;border-radius:12px;border:1px solid var(--m-border);background:#fff;font-size:12px
}
.m-inline-remark:focus{outline:none;border-color:#57a79d;box-shadow:0 0 0 3px rgba(87,167,157,.12)}
.m-button-row{display:flex;flex-wrap:wrap;gap:8px}
.m-button-row .m-primary-btn,.m-button-row .m-ghost-btn,.m-button-row .m-danger-btn{flex:1 1 120px}
.m-muted-block{
  padding:12px;border-radius:14px;background:var(--m-panel-soft);border:1px solid rgba(203,188,163,.62);
  color:var(--m-subtle);font-size:12px;line-height:1.6
}
.m-compact-field span{font-size:12px}
.m-compact-field input,.m-compact-field select,.m-compact-field textarea{min-height:42px}
.m-inline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.m-scan-summary{
  padding:10px 12px;border:1px dashed var(--m-border-strong);border-radius:16px;background:rgba(255,255,255,.72);
  color:var(--m-subtle);font-size:12px;line-height:1.6
}
.m-scan-summary strong{display:block;color:#22303d;font-size:14px;line-height:1.3}
.m-scan-summary p{margin:4px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.55}
.m-scan-summary-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px
}
.m-scan-focus-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px
}
.m-scan-focus-btn{
  min-height:62px;padding:12px;border-radius:16px;border:1px solid var(--m-border);background:#fff;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;text-align:left
}
.m-scan-focus-btn strong{font-size:14px;line-height:1.2}
.m-scan-focus-btn span{color:var(--m-subtle);font-size:11px;line-height:1.45}
.m-scan-focus-btn.is-primary{
  background:linear-gradient(180deg,#eef8f6 0%,#def1ed 100%);border-color:#9fd3cb
}
.m-scan-focus-btn:disabled{opacity:.55;cursor:not-allowed;background:#f7f4ee}
.m-scan-overview-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px
}
.m-scan-overview-card{
  min-height:82px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center
}
.m-scan-overview-card.active{
  background:linear-gradient(180deg,#eef8f6 0%,#def1ed 100%);border-color:#9fd3cb;color:#0f5d56
}
.m-scan-overview-card.active span,.m-scan-overview-card.active em{color:#0f5d56}
.m-scan-group{display:flex;flex-direction:column;gap:10px}
.m-scan-group + .m-scan-group{margin-top:4px}
.m-scan-group-title{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  color:#314253;font-size:13px;font-weight:700
}
.m-scan-group-title strong{display:block;font-size:14px;line-height:1.2}
.m-scan-group-title small{display:block;margin-top:2px;color:var(--m-subtle);font-size:11px;font-weight:600;line-height:1.35}
.m-scan-card{
  padding:10px;border:1px solid var(--m-border);border-radius:14px;background:#fff
}
.m-scan-card-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:8px
}
.m-scan-card h3{margin:0;font-size:14px;line-height:1.18}
.m-scan-card p{margin:3px 0 0;color:var(--m-subtle);font-size:11px;line-height:1.35}
.m-scan-meta-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px
}
.m-scan-meta-box{
  padding:8px 9px;border-radius:12px;background:#faf7f2;border:1px solid rgba(203,188,163,.62)
}
.m-scan-meta-box span{display:block;color:var(--m-subtle);font-size:10px;margin-bottom:3px}
.m-scan-meta-box strong{display:block;font-size:12px;line-height:1.25;word-break:break-word}
.m-scan-tag-row{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.m-scan-stock-list,.m-scan-item-list{display:flex;flex-direction:column;gap:6px;margin-top:8px}
.m-scan-stock-row,.m-scan-item-row{
  padding:8px 9px;border-radius:12px;background:var(--m-panel-soft);border:1px solid rgba(203,188,163,.62)
}
.m-scan-stock-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:8px
}
.m-scan-stock-row strong,.m-scan-item-row strong{display:block;font-size:13px;line-height:1.25}
.m-scan-stock-row p,.m-scan-item-row p{margin-top:2px;font-size:10px;line-height:1.3}
.m-scan-inline-stats{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px
}
.m-scan-inline-stat{
  padding:8px;border-radius:12px;background:#fff;border:1px solid rgba(203,188,163,.58)
}
.m-scan-inline-stat span{display:block;color:var(--m-subtle);font-size:10px;margin-bottom:3px}
.m-scan-inline-stat strong{font-size:13px;line-height:1.2}
.m-scan-stock-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.m-scan-stock-actions .m-ghost-btn,.m-scan-stock-actions .m-primary-btn,.m-scan-stock-actions .m-danger-btn{flex:1 1 80px;min-height:30px;padding:0 8px;font-size:10px}
.m-op-summary{
  padding:12px 14px;border-radius:16px;background:linear-gradient(180deg,#f6fbfa 0%,#eff8f6 100%);
  border:1px solid #cfe4df
}
.m-op-summary strong{display:block;font-size:16px;line-height:1.3}
.m-op-summary p{margin:6px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.6}
.m-op-summary-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px
}
.m-op-summary-box{
  padding:10px;border-radius:14px;background:#faf7f2;border:1px solid rgba(203,188,163,.62)
}
.m-op-summary-box span{display:block;color:var(--m-subtle);font-size:11px;margin-bottom:4px}
.m-op-summary-box strong{display:block;font-size:13px;line-height:1.35;word-break:break-word}
.m-op-tag-row{
  display:flex;flex-wrap:wrap;gap:6px;margin-top:10px
}
.m-op-tag-row .m-tag{
  min-height:24px;padding:0 8px;font-size:11px
}
.m-op-focus-grid{margin-top:12px}
.m-op-action-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px
}
.m-op-action-grid .m-ghost-btn,.m-op-action-grid .m-primary-btn,.m-op-action-grid .m-danger-btn{
  min-height:40px;padding:0 10px
}
.m-op-field-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
}
.m-op-field-grid-3{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px
}
.m-op-field-grid .m-field,.m-op-field-grid-3 .m-field{
  margin:0
}
.m-op-record-list{
  display:flex;flex-direction:column;gap:8px
}
.m-op-record-card{
  padding:10px 12px;border-radius:16px;border:1px solid var(--m-border);background:#fff
}
.m-op-record-card strong{
  display:block;font-size:14px;line-height:1.3
}
.m-op-record-card p{
  margin:5px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.45
}
.m-op-record-actions{
  display:flex;gap:8px;margin-top:8px
}
.m-op-record-actions .m-ghost-btn,.m-op-record-actions .m-primary-btn,.m-op-record-actions .m-danger-btn{
  flex:1 1 0;min-height:38px;padding:0 10px
}
.m-stall-item-list,.m-stall-linked-list{display:flex;flex-direction:column;gap:10px}
.m-stall-compose-panel-plain{
  padding:0;border:0;background:transparent;box-shadow:none;border-radius:0
}
.m-stall-compose-panel-plain .m-section-head{padding:0 2px;margin-bottom:8px}
.m-stall-workbench-panel{
  background:linear-gradient(180deg,rgba(246,251,250,.98) 0%,rgba(255,253,249,.98) 100%);border-color:#cfe4df
}
.m-stall-workspace-panel.is-compose-plain{
  padding:0;border:0;background:transparent;box-shadow:none;border-radius:0
}
.m-stall-workspace-panel.is-compose-plain .m-section-head{padding:0 2px;margin-bottom:8px}
.m-stall-workspace-panel.is-compose-plain #mobileStallWorkspaceBody{
  display:flex;flex-direction:column;gap:8px
}
.m-stall-overview-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px
}
.m-stall-overview-card{
  min-height:68px;padding:10px;border-radius:14px;border:1px solid rgba(159,211,203,.72);background:#fff
}
.m-stall-overview-card span{display:block;color:var(--m-subtle);font-size:10px;margin-bottom:4px}
.m-stall-overview-card strong{display:block;font-size:16px;line-height:1.1}
.m-stall-overview-card em{display:block;margin-top:4px;color:#617083;font-size:10px;font-style:normal;line-height:1.3}
.m-stall-summary-tags{margin-top:10px}
.m-stall-filter-panel{
  padding:10px 10px 8px;
  background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(247,243,235,.92) 100%)
}
.m-stall-filter-panel .m-section-head{margin-bottom:8px}
.m-stall-filter-panel .m-section-head span{font-size:11px}
.m-stall-filter-stack{display:flex;flex-direction:column;gap:6px}
.m-stall-filter-stack .m-search-box,.m-stall-filter-stack .m-field{gap:5px}
.m-stall-filter-stack .m-search-box span,.m-stall-filter-stack .m-field span{font-size:11px}
.m-stall-filter-stack .m-search-box input,.m-stall-filter-stack .m-field select{min-height:38px;padding:0 10px;border-radius:12px;font-size:11px}
.m-stall-mode-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.m-stall-mode-switch .m-chip{justify-content:center;min-height:28px;padding:0 9px;font-size:10px}
.m-stall-filter-stack > .m-chip-row{gap:5px}
.m-stall-filter-stack > .m-chip-row .m-chip{min-height:28px;padding:0 9px;font-size:10px}
.m-stall-action-panel{padding:10px 12px}
.m-stall-action-row{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px
}
.m-stall-action-row .m-chip{justify-content:center;min-height:32px;padding:0 8px;font-size:11px}
.m-stall-workspace-panel .m-section-head{margin-bottom:8px}
.m-stall-workspace-panel .m-section-head span{font-size:11px}
.m-stall-quick-status{display:flex;flex-wrap:wrap;gap:8px}
.m-stall-list{display:flex;flex-direction:column;gap:8px}
.m-stall-summary-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px
}
.m-stall-focus-actions{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px
}
.m-stall-focus-actions .m-ghost-btn,.m-stall-focus-actions .m-primary-btn{
  min-height:34px;padding:0 9px;font-size:10px
}
.m-stall-compose-overview-card{
  padding:14px;border-color:#cfe4df;background:linear-gradient(180deg,rgba(246,251,250,.98) 0%,rgba(255,253,249,.98) 100%)
}
.m-stall-compose-hero{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px
}
.m-stall-compose-hero-main{min-width:0}
.m-stall-compose-hero-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px
}
.m-stall-compose-hero-head h2{margin:0;font-size:18px;line-height:1.2}
.m-stall-compose-hero-head span{color:var(--m-subtle);font-size:12px;font-weight:700}
.m-stall-compose-hero-note{
  margin:8px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.55
}
.m-stall-compose-stat-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px
}
.m-stall-compose-stat{
  padding:10px;border-radius:14px;background:#fff;border:1px solid rgba(159,211,203,.72)
}
.m-stall-compose-stat span{display:block;color:var(--m-subtle);font-size:11px;margin-bottom:4px}
.m-stall-compose-stat strong{display:block;font-size:16px;line-height:1.2}
.m-stall-compose-stat em{
  display:block;margin-top:4px;color:#617083;font-size:11px;font-style:normal;line-height:1.45
}
.m-stall-compose-meta{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:10px
}
.m-stall-compose-focus{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px
}
.m-stall-compose-focus-btn{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;min-height:62px;
  padding:12px;border-radius:16px;border:1px solid var(--m-border);background:#fff;text-align:left
}
.m-stall-compose-focus-btn strong{font-size:14px;line-height:1.2}
.m-stall-compose-focus-btn span{color:var(--m-subtle);font-size:11px;line-height:1.45}
.m-stall-compose-focus-btn.is-primary{
  background:linear-gradient(180deg,#eef8f6 0%,#def1ed 100%);border-color:#9fd3cb
}
.m-stall-compose-panel .m-section-head{margin-bottom:10px}
.m-stall-compose-panel .m-section-note{margin:0 0 12px}
.m-stall-process-card{
  padding:10px;border-radius:14px;border:1px solid #cfe4df;background:linear-gradient(180deg,#f6fbfa 0%,#eff8f6 100%)
}
.m-stall-process-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px
}
.m-stall-process-box{
  padding:8px 9px;border-radius:12px;background:#fff;border:1px solid rgba(159,211,203,.72)
}
.m-stall-process-box span{display:block;color:var(--m-subtle);font-size:10px;margin-bottom:3px}
.m-stall-process-box strong{display:block;font-size:13px;line-height:1.25;word-break:break-word}
#mobileStallDetailMask [data-stall-section="receive"] .m-section-note,
#mobileStallDetailMask [data-stall-section="complete"] .m-section-note{margin-top:6px;font-size:10px;line-height:1.35}
.m-stall-list-card{
  border:1px solid var(--m-border);border-radius:16px;background:#fff;padding:10px
}
.m-stall-list-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:8px
}
.m-stall-list-main{min-width:0}
.m-stall-list-main strong{
  display:block;font-size:14px;line-height:1.16
}
.m-stall-list-sub{
  margin:3px 0 0;color:var(--m-subtle);font-size:11px;line-height:1.35
}
.m-stall-record-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px
}
.m-stall-record-box{
  padding:8px 9px;border-radius:12px;background:#f9f6f1;border:1px solid rgba(203,188,163,.62)
}
.m-stall-record-box span{display:block;color:var(--m-subtle);font-size:10px;margin-bottom:3px}
.m-stall-record-box strong{display:block;font-size:12px;line-height:1.25;word-break:break-word}
.m-stall-list-meta{
  display:flex;flex-wrap:wrap;gap:5px;margin-top:8px
}
.m-stall-list-meta .m-tag{
  min-height:22px;padding:0 7px;font-size:10px;background:#f9f6f1;border-color:rgba(203,188,163,.72);color:#465365
}
.m-stall-list-note{
  margin:6px 0 0;color:var(--m-subtle);font-size:10px;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.m-stall-list-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:8px
}
.m-stall-list-actions .m-ghost-btn,.m-stall-list-actions .m-primary-btn,.m-stall-list-actions .m-danger-btn{
  width:100%;min-height:34px;padding:0 10px;font-size:11px
}
.m-stall-item-card{
  padding:12px;border-radius:16px;border:1px solid var(--m-border);background:#fff
}
.m-stall-item-card h4{margin:0;font-size:15px;line-height:1.35}
.m-stall-item-card p{margin:6px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.55}
.m-stall-item-metrics{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:10px
}
.m-stall-item-metrics .m-tag{background:#f9f6f1;border-color:rgba(203,188,163,.72);color:#465365}
.m-stall-linked-return-card{padding:10px 12px}
.m-stall-linked-return-head{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center
}
.m-stall-linked-return-head .m-ghost-btn{
  min-width:92px;min-height:38px;padding:0 12px
}
.m-stall-receive-row{
  display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:10px;align-items:end
}
.m-stall-receive-row .m-field{margin:0}
.m-stall-search-result-list{gap:6px}
.m-stall-search-result{
  display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:8px;align-items:center;
  padding:8px 9px;border-radius:14px;border:1px solid var(--m-border);background:#fff
}
.m-stall-search-cover{
  width:44px;height:44px;border-radius:10px;object-fit:cover;background:#eef2f6;display:block
}
.m-stall-search-cover.placeholder{
  display:flex;align-items:center;justify-content:center;font-size:10px;color:#7a8696
}
.m-stall-search-main{min-width:0}
.m-stall-search-head{display:flex;align-items:center;gap:8px}
.m-stall-search-main strong{display:block;font-size:13px;line-height:1.3}
.m-stall-search-main p{margin:2px 0 0;color:var(--m-subtle);font-size:11px;line-height:1.3}
.m-stall-search-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px}
.m-stall-search-available{font-size:11px;line-height:1.3;color:#0f766e;font-weight:700;white-space:nowrap}
.m-stall-search-side .m-ghost-btn,.m-stall-search-side .m-primary-btn,.m-stall-search-side .m-danger-btn{
  flex:0 0 auto;min-width:42px;min-height:28px;padding:0 8px;font-size:10px
}
.m-stall-compose-row{
  display:flex;align-items:center;gap:8px
}
.m-stall-compose-search-field{flex:1 1 auto;min-width:0}
.m-stall-compose-search-field input{
  width:100%;height:34px;padding:0 12px;border-radius:12px;border:1px solid var(--m-border);
  background:#fff;font-size:16px;line-height:34px
}
.m-stall-compose-search-actions{display:flex;justify-content:flex-end;gap:6px;flex:0 0 auto}
.m-stall-compose-search-actions .m-primary-btn,.m-stall-compose-search-actions .m-ghost-btn{
  min-width:56px;min-height:34px;padding:0 10px;font-size:11px
}
.m-stall-compose-row-4{
  display:grid;grid-template-columns:minmax(0,1fr) 80px 92px 88px;gap:10px;align-items:end
}
.m-stall-compose-row-4 .m-field{margin:0}
.m-stall-bulk-row{
  display:grid;grid-template-columns:120px repeat(3,minmax(0,1fr));gap:10px;align-items:end;margin-bottom:12px
}
.m-stall-bulk-row .m-field{margin:0}
.m-stall-inline-actions{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:10px
}
.m-stall-inline-actions .m-ghost-btn,.m-stall-inline-actions .m-primary-btn,.m-stall-inline-actions .m-danger-btn{flex:1 1 110px}
.m-stall-submit-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px
}
.m-stall-submit-total{
  flex:0 0 auto;color:#314253;font-size:12px;font-weight:700;line-height:1.3
}
.m-stall-submit-actions{
  display:flex;justify-content:flex-end;gap:8px;flex:1 1 auto;min-width:0
}
.m-stall-submit-btn{
  flex:0 0 auto;min-width:92px;min-height:32px;padding:0 10px;font-size:11px
}
.m-stall-draft-card{
  padding:8px;border:1px solid rgba(203,188,163,.72);border-radius:14px;background:#fff;
  box-shadow:0 1px 0 rgba(16,24,40,.03)
}
.m-stall-draft-head{
  display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:7px;align-items:center
}
.m-stall-draft-cover{
  width:48px;height:48px;border-radius:10px;object-fit:cover;background:#eef2f6;display:block
}
.m-stall-draft-cover.placeholder{
  display:flex;align-items:center;justify-content:center;font-size:10px;color:#7a8696
}
.m-stall-draft-main{min-width:0}
.m-stall-draft-line{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.m-stall-draft-line-top{min-height:18px;gap:4px}
.m-stall-draft-line-middle{margin-top:3px;gap:6px;flex-wrap:nowrap}
.m-stall-draft-line-bottom{margin-top:3px;gap:8px;justify-content:space-between}
.m-stall-draft-code{font-size:14px;line-height:1.25}
.m-stall-draft-mini{display:inline-flex;align-items:center;gap:5px;color:var(--m-subtle);font-size:12px;line-height:1.3}
.m-stall-draft-supplier{margin-left:1em}
.m-stall-draft-inline-input{
  width:60px;min-width:0;height:26px;padding:0 6px;border:1px solid var(--m-border);border-radius:10px;background:#fff;
  color:var(--m-ink);font-size:12px;line-height:1
}
.m-stall-draft-inline-input-qty{width:40px}
.m-stall-draft-inline-input-cost{width:66px}
.m-stall-draft-inline-input-note{width:96px}
.m-stall-draft-qty-wrap{display:inline-flex;align-items:center;gap:4px}
.m-stall-step-btn{
  min-width:18px;height:18px;padding:0;border:1px solid var(--m-border);border-radius:6px;background:#fff;color:var(--m-ink);font-size:11px;font-weight:700;line-height:1
}
.m-stall-draft-subtotal{font-weight:700;color:var(--m-ink)}
.m-stall-draft-side{display:grid;grid-template-rows:1fr auto 1fr;align-items:center;justify-items:end;gap:3px;min-width:42px;height:100%}
.m-stall-draft-available{color:#21564e;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap;grid-row:1;align-self:end}
.m-stall-draft-limit{color:#8f5b11;font-size:11px;line-height:1.2;white-space:nowrap;grid-row:3;align-self:start}
.m-stall-remove-btn{
  width:22px;min-width:22px;height:22px;padding:0;border:1px solid rgba(229,70,70,.22);border-radius:999px;background:#fff;color:#c13636;font-size:10px;line-height:1;grid-row:2;align-self:center
}
.m-stall-draft-fields{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:6px
}
.m-stall-draft-fields .m-field{margin:0}
.m-stall-draft-fields.is-return .m-field:last-child{grid-column:1 / -1}
.m-stall-draft-fields:not(.is-return){display:none}
.m-stall-pick-meta{margin-top:8px}
.m-stall-pick-meta .m-inline-grid{margin-bottom:6px}
.m-stall-pick-meta .m-field{margin:0}
.m-stall-pick-meta-row{
  display:grid;grid-template-columns:104px minmax(0,1fr);gap:8px;align-items:end
}
.m-stall-pick-meta-agent input{text-align:left}
.m-stall-pick-meta-remark input{width:100%}
.m-stall-upload-btn{position:relative;display:inline-flex;align-items:center;justify-content:center}
.m-stall-upload-btn.disabled{pointer-events:none;opacity:.6}
.m-stall-voucher-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
}
.m-stall-voucher-card{
  padding:8px;border-radius:16px;border:1px solid var(--m-border);background:#fff;display:flex;flex-direction:column;gap:8px
}
.m-stall-voucher-preview{
  appearance:none;border:0;background:none;padding:0;margin:0;cursor:pointer
}
.m-stall-voucher-thumb{
  width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:12px;border:1px solid rgba(203,188,163,.72);display:block;background:#f6efe5
}
.m-stall-voucher-actions{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px
}
.m-stall-voucher-actions .m-ghost-btn,.m-stall-voucher-actions .m-danger-btn{
  min-height:36px;padding:0 10px;font-size:12px
}
.m-stall-voucher-actions button:disabled{
  opacity:.45;cursor:not-allowed
}
.m-image-viewer-sheet{
  width:min(760px,100%);max-height:min(92vh,920px)
}
.m-image-viewer-body{
  padding:10px 18px 0;display:flex;align-items:center;justify-content:center;min-height:320px
}
.m-image-viewer-img{
  width:100%;max-height:min(72vh,760px);object-fit:contain;border-radius:18px;background:#111827
}
.m-image-viewer-actions{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:16px 18px 20px
}
.m-stall-empty-note{
  padding:14px;border-radius:16px;border:1px dashed var(--m-border-strong);background:rgba(255,255,255,.72);
  color:var(--m-subtle);font-size:12px;line-height:1.7
}

.m-login-mask,.m-detail-mask,.m-scanner-mask{
  position:fixed;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;
  padding:20px 16px calc(20px + env(safe-area-inset-bottom));background:rgba(16,24,40,.38);backdrop-filter:blur(8px)
}
.m-login-mask{align-items:center}
.m-login-card{width:min(420px,100%);padding:22px 18px}
.m-login-brand h1{margin:14px 0 6px;font-size:30px;line-height:1}
.m-login-brand p,.m-login-hint{margin:0;color:var(--m-subtle);font-size:13px;line-height:1.6}
.m-login-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.m-login-meta .m-tag{min-height:26px;padding:0 10px;background:#f9f6f1;border-color:rgba(203,188,163,.72);color:#465365}
.m-login-note{
  margin-top:14px;padding:12px 14px;border-radius:16px;border:1px solid rgba(203,188,163,.72);
  background:linear-gradient(180deg,#f9f6ef 0%,#f5f1e8 100%)
}
.m-login-note strong{display:block;font-size:15px;line-height:1.3}
.m-login-note p{margin:6px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.55}
.m-login-form{display:flex;flex-direction:column;gap:12px;margin-top:18px}

.m-detail-sheet{
  width:min(760px,100%);max-height:min(88vh,880px);display:flex;flex-direction:column;
  border-bottom-left-radius:0;border-bottom-right-radius:0
}
.m-detail-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 18px 14px;
  border-bottom:1px solid rgba(203,188,163,.6)
}
.m-detail-caption{margin:0 0 4px;color:var(--m-subtle);font-size:12px}
.m-detail-head h2{margin:0;font-size:22px;line-height:1.1}
.m-detail-body{overflow:auto;padding:18px;display:flex;flex-direction:column;gap:14px}
.m-detail-hero{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px}
.m-detail-cover{
  width:96px;height:126px;border-radius:18px;border:1px solid var(--m-border);background:#f4efe6;object-fit:cover
}
.m-detail-shell-card{gap:12px}
.m-detail-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.m-detail-info h3{margin:0;font-size:20px;line-height:1.15}
.m-detail-code{margin:6px 0 0;color:#304150;font-size:13px;font-weight:700;line-height:1.35}
.m-detail-info p{margin:7px 0 0;color:var(--m-subtle);font-size:13px;line-height:1.55}
.m-detail-facts{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px
}
.m-detail-fact{
  padding:10px 12px;border:1px solid rgba(203,188,163,.68);border-radius:14px;background:#fcfaf6
}
.m-detail-fact span{display:block;color:var(--m-subtle);font-size:11px;margin-bottom:5px}
.m-detail-fact strong{display:block;font-size:13px;line-height:1.35;word-break:break-word}
.m-detail-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.m-detail-quick-btn{
  min-height:72px;padding:12px 14px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;text-align:left
}
.m-detail-quick-btn strong{font-size:14px;line-height:1.2}
.m-detail-quick-btn span{color:var(--m-subtle);font-size:12px;line-height:1.45}
.m-detail-quick-btn:disabled{opacity:.55;cursor:not-allowed;background:#f7f4ee}

.m-scanner-mask{z-index:46;align-items:center}
.m-scanner-sheet{
  width:min(520px,100%);border-radius:26px;border:1px solid rgba(203,188,163,.72);
  background:#fffdf8;box-shadow:0 24px 80px rgba(16,24,40,.28);overflow:hidden
}
.m-scanner-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 16px 12px;
  border-bottom:1px solid rgba(203,188,163,.62)
}
.m-scanner-head p{margin:0 0 4px;color:var(--m-subtle);font-size:12px}
.m-scanner-head h2{margin:0;font-size:20px;line-height:1.15}
.m-scanner-stage{
  position:relative;margin:14px;border-radius:22px;overflow:hidden;background:#111827;aspect-ratio:3/4;
  border:1px solid rgba(16,24,40,.24)
}
.m-scanner-stage video{width:100%;height:100%;object-fit:cover;display:block}
.m-scanner-frame{
  position:absolute;left:12%;right:12%;top:31%;height:28%;border:2px solid rgba(255,255,255,.9);
  border-radius:20px;box-shadow:0 0 0 999px rgba(0,0,0,.24),0 0 28px rgba(23,127,116,.35) inset
}
.m-scanner-frame::after{
  content:"";position:absolute;left:10px;right:10px;top:50%;height:2px;background:#23c3a9;
  box-shadow:0 0 14px rgba(35,195,169,.9)
}
.m-scanner-hint{margin:0 16px 12px;color:var(--m-subtle);font-size:12px;line-height:1.55}
.m-scanner-hint.is-error{color:#9f2f24}
.m-scanner-actions{display:flex;gap:10px;padding:0 16px 16px}
.m-scanner-actions .m-ghost-btn,.m-scanner-actions .m-primary-btn{flex:1;min-height:40px}
.m-detail-quick-wide{grid-column:1 / -1}
.m-detail-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.m-detail-focus-btn{
  min-height:66px;padding:12px;border-radius:16px;border:1px solid var(--m-border);background:#fff;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;text-align:left
}
.m-detail-focus-btn strong{font-size:14px;line-height:1.2}
.m-detail-focus-btn span{color:var(--m-subtle);font-size:11px;line-height:1.45}
.m-detail-focus-btn.is-primary{
  background:linear-gradient(180deg,#eef8f6 0%,#def1ed 100%);border-color:#9fd3cb
}
.m-detail-focus-btn:disabled{opacity:.55;cursor:not-allowed;background:#f7f4ee}
.m-detail-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.m-detail-mini-stat{
  min-height:78px;padding:12px;border-radius:16px;border:1px solid rgba(203,188,163,.72);background:#f9f6f1;
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;text-align:left
}
.m-detail-mini-stat span{color:var(--m-subtle);font-size:12px;line-height:1.2}
.m-detail-mini-stat strong{font-size:22px;line-height:1}
.m-detail-mini-stat small{color:#6b7280;font-size:11px;line-height:1.35}
.m-detail-mini-stat.active{background:linear-gradient(180deg,#eef8f6 0%,#def1ed 100%);border-color:#9fd3cb;color:#0f5d56}
.m-detail-mini-stat.active span,.m-detail-mini-stat.active small{color:#0f5d56}
.m-detail-mini-stat.warn strong{color:#9a3412}
.m-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.m-detail-box{
  padding:12px;border:1px solid var(--m-border);border-radius:16px;background:#fff
}
.m-detail-box span{display:block;color:var(--m-subtle);font-size:11px;margin-bottom:6px}
.m-detail-box strong{font-size:15px;line-height:1.35;word-break:break-word}
.m-style-link-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
}
.m-style-sku-summary{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px
}
.m-style-sku-stat{
  min-height:74px;padding:12px;border-radius:16px;border:1px solid rgba(203,188,163,.72);
  background:#f9f6f1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;text-align:left
}
.m-style-sku-stat span{color:var(--m-subtle);font-size:12px;line-height:1.3}
.m-style-sku-stat strong{font-size:22px;line-height:1}
.m-style-sku-stat.active{
  background:linear-gradient(180deg,#eef8f6 0%,#def1ed 100%);border-color:#9fd3cb;color:#0f5d56
}
.m-style-sku-stat.active span{color:#0f5d56}
.m-style-action-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
}
.m-style-action-card{
  min-height:78px;padding:12px 14px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;text-align:left
}
.m-style-action-wide{
  grid-column:1 / -1;min-height:68px
}
.m-style-action-card strong{font-size:15px;line-height:1.25}
.m-style-action-card span{color:var(--m-subtle);font-size:12px;line-height:1.45}
.m-style-action-card:disabled{
  opacity:.55;cursor:not-allowed;background:#f7f4ee
}
.m-style-link-card{
  display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:16px;border:1px solid var(--m-border);
  background:#fff
}
.m-style-link-card strong{font-size:14px;line-height:1.3}
.m-style-link-card span{color:var(--m-subtle);font-size:12px;line-height:1.4;word-break:break-all}
.m-style-print-list{display:flex;flex-direction:column;gap:10px}
.m-style-print-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.m-mobile-print-picker{
  display:flex;flex-direction:column;gap:14px
}
.m-mobile-print-summary{
  padding:14px 15px;border-radius:16px;border:1px solid var(--m-border);background:linear-gradient(180deg,#fbfcff 0%,#f2f7ff 100%)
}
.m-mobile-print-summary strong{
  display:block;font-size:16px;line-height:1.25
}
.m-mobile-print-summary p{
  margin:6px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.55
}
.m-mobile-print-summary .m-tag-list{
  margin-top:10px
}
.m-mobile-print-bridge-box{
  display:flex;flex-direction:column;gap:8px;padding:11px 12px;border-radius:14px;
  border:1px dashed #b7d3ce;background:linear-gradient(180deg,#f7fbfa 0%,#f1f8f6 100%)
}
.m-mobile-print-bridge-box .m-section-head{margin-bottom:0}
.m-mobile-print-note{
  margin:0;color:var(--m-subtle);font-size:12px;line-height:1.6
}
.m-mobile-print-scope-values{
  margin-top:-4px
}
.m-mobile-print-form{
  display:grid;grid-template-columns:minmax(0,110px) minmax(0,1fr);gap:10px
}
.m-mobile-print-form .m-field{
  min-width:0
}
.m-mobile-print-form textarea{
  min-height:78px;resize:vertical
}
.m-mobile-print-hint{
  margin:-2px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.55
}
.m-style-action-card{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start
}
.m-style-action-card-buttons{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;margin-top:6px
}
.m-style-action-card-buttons .m-btn-compact{
  width:100%
}
.m-style-sku-top-actions{
  display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap
}
.m-style-sku-top-actions .m-ghost-btn{
  min-height:36px;padding:0 12px
}
.m-style-sku-top-actions .m-ghost-btn.active{
  background:#eef4ff;border-color:#b8d1ff;color:#2253b8
}
.m-style-sku-top-note{
  color:var(--m-subtle);font-size:12px;line-height:1.45
}
.m-style-sku-toolbar{
  display:flex;flex-direction:column;gap:10px;margin-bottom:12px
}
.m-style-sku-card{
  padding:12px;border:1px solid var(--m-border);border-radius:16px;background:#fff
}
.m-style-sku-main{
  display:grid;grid-template-columns:60px minmax(0,1fr);gap:10px;align-items:flex-start
}
.m-style-sku-cover{
  width:60px;height:76px;border-radius:12px;border:1px solid var(--m-border);background:#f4efe6;object-fit:cover
}
.m-style-sku-content{min-width:0}
.m-style-sku-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:8px
}
.m-style-sku-head h4{margin:0;font-size:15px;line-height:1.3}
.m-style-sku-line{
  margin:7px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.5
}
.m-style-sku-line-tight{margin-top:4px}
.m-style-sku-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px
}
.m-style-sku-btn{
  min-height:38px;padding:0 10px;font-size:12px
}
.m-style-sku-btn:disabled{
  opacity:.55;cursor:not-allowed;background:#f7f4ee
}
@media (max-width:520px){
  .m-mobile-print-form{
    grid-template-columns:minmax(0,1fr)
  }
}
.m-sku-card h4{margin:0;font-size:15px}
.m-sku-card p{margin:6px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.55}

.m-user-card{padding:0}
.m-role-badge{
  display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 12px;border-radius:999px;
  background:var(--m-accent-soft);color:#0c6058;font-size:12px;font-weight:700
}
.m-user-card-head{display:flex;align-items:center;gap:10px}
.m-account-avatar{
  width:42px;height:42px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg,#d9f0ec 0%,#bfe0da 100%);color:#0f5d56;font-size:18px;font-weight:800;flex:0 0 auto
}
.m-user-card-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.m-user-card-main strong{display:block;font-size:18px;line-height:1.05}
.m-user-card-main p{margin:0;color:var(--m-subtle);font-size:11px;line-height:1.3}
.m-user-card-main span{
  display:block;color:#637285;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-user-card-stats{
  display:flex;gap:8px;margin-top:10px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none
}
.m-user-card-stats::-webkit-scrollbar{display:none}
.m-user-card-stat{
  flex:0 0 92px;min-width:92px;padding:8px 10px;border-radius:14px;border:1px solid rgba(203,188,163,.72);background:#f9f6f1
}
.m-user-card-stat span{display:block;color:var(--m-subtle);font-size:10px;margin-bottom:4px}
.m-user-card-stat strong{
  display:block;font-size:13px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-account-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px
}
.m-account-box{
  padding:11px 12px;border-radius:16px;border:1px solid rgba(203,188,163,.72);background:#f9f6f1
}
.m-account-box span{display:block;color:var(--m-subtle);font-size:11px;margin-bottom:5px}
.m-account-box strong{font-size:15px;line-height:1.3}
.m-user-card-note{margin:10px 0 0;color:var(--m-subtle);font-size:11px;line-height:1.45}
.m-account-shortcuts{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px
}
.m-account-shortcut{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:58px;padding:8px 9px;border-radius:14px;
  border:1px solid var(--m-border);background:#fff;text-align:left
}
.m-account-shortcut strong{font-size:13px;line-height:1.1}
.m-account-shortcut span{color:var(--m-subtle);font-size:10px;line-height:1.25}
.m-account-shortcut:disabled{
  opacity:.55;background:#f7f4ee;color:#7a8696;cursor:not-allowed
}
.m-account-shortcut:disabled span{color:#8b95a1}
.m-my-status-list{gap:6px;margin-top:8px}
.m-my-status-list .m-tag{min-height:24px;padding:0 8px;font-size:11px}
.m-access-tag-list{gap:6px;margin-top:2px}
.m-access-tag-list .m-tag{min-height:24px;padding:0 8px;font-size:11px}
.m-access-action-row{gap:8px;margin-top:10px}
.m-access-action-row .m-link-btn,.m-access-action-row .m-danger-btn{
  flex:1 1 0;min-height:34px;padding:0 10px;font-size:12px;border-radius:14px
}
.m-btn-compact{min-height:34px;padding:0 12px;font-size:12px}
.m-print-summary-grid{
  display:flex;gap:8px;margin:0 0 10px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none
}
.m-print-summary-grid::-webkit-scrollbar{display:none}
.m-print-summary-grid .m-account-box{
  flex:0 0 108px;min-width:108px;padding:9px 10px;border-radius:14px;background:#fbf8f2
}
.m-print-summary-grid .m-account-box span{
  margin-bottom:4px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.m-print-summary-grid .m-account-box strong{
  word-break:break-word;font-size:14px;line-height:1.2
}
.m-print-filter-stack{display:flex;flex-direction:column;gap:10px}
.m-print-search-row{display:flex;flex-direction:column;gap:8px}
.m-print-search-box input{min-height:42px;padding:0 12px;font-size:13px}
.m-print-search-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.m-print-filter-toggle{
  display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;
  border:1px solid #d7e4ef;border-radius:16px;background:#fbfdff
}
.m-print-filter-toggle strong{display:block;font-size:13px;line-height:1.3;color:#15314f}
.m-print-filter-toggle span{display:block;margin-top:2px;font-size:12px;line-height:1.45;color:var(--m-subtle)}
.m-print-filter-toggle-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.m-print-filter-panel{display:flex;flex-direction:column;gap:10px}
.m-print-filter-group{display:flex;flex-direction:column;gap:6px}
.m-print-filter-title{font-size:12px;font-weight:700;color:#6a7685}
.m-print-filter-row{margin-bottom:12px}
.m-print-filter-row .m-chip{min-height:34px;padding:0 12px;font-size:12px}
.m-print-bulk-bar{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px;
  padding:10px 12px;border:1px solid #d5e4f6;border-radius:18px;background:#f7fbff
}
.m-print-bulk-bar strong{display:block;font-size:13px;line-height:1.35;color:#15314f}
.m-print-bulk-bar span{display:block;margin-top:2px;font-size:12px;line-height:1.45;color:var(--m-subtle)}
.m-print-bulk-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.m-print-list-more{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px;
  padding:10px 12px;border:1px dashed #d7e4ef;border-radius:16px;background:#fbfdff
}
.m-print-list-more span{font-size:12px;line-height:1.45;color:var(--m-subtle)}
.m-print-record-card{
  width:100%;padding:10px;border:1px solid var(--m-border);border-radius:16px;background:#fff;text-align:left
}
.m-print-record-card.is-selected{
  border-color:#0f5d56;box-shadow:0 0 0 1px rgba(15,93,86,.14);background:#f7fcfb
}
.m-print-record-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:8px
}
.m-print-record-head strong{font-size:12px;line-height:1.2}
.m-print-record-head .m-tag{min-height:21px;padding:0 6px;font-size:10px}
.m-print-record-metrics{
  display:flex;flex-wrap:wrap;gap:5px;margin-top:5px
}
.m-print-record-metrics .m-tag{min-height:20px;padding:0 6px;font-size:10px}
.m-print-record-subline,.m-print-record-note{
  margin:6px 0 0;color:var(--m-subtle);font-size:11px;line-height:1.45
}
.m-print-record-note{
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;word-break:break-all
}
.m-print-record-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px
}
.m-print-record-actions .m-btn-compact{min-height:30px;padding:0 8px;font-size:10px}
.m-print-record-link{color:#0f5d56;font-weight:700;white-space:nowrap}
.m-print-detail-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px
}
.m-print-summary-list{display:flex;flex-direction:column;gap:10px}
.m-print-summary-item{
  display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid #d7e4ef;
  border-radius:18px;background:#f8fbff
}
.m-print-detail-list{display:flex;flex-direction:column;gap:10px}
.m-print-detail-item{
  display:flex;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--m-border);
  border-radius:18px;background:#fff
}
.m-print-detail-main{min-width:0}
.m-print-detail-main strong{display:block;font-size:15px;line-height:1.35}
.m-print-detail-main p{margin:5px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.5}
.m-print-detail-side{
  flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-start;gap:4px
}
.m-print-detail-side strong{font-size:14px;line-height:1.2}
.m-print-detail-side span{
  color:var(--m-subtle);font-size:11px;line-height:1.4;text-align:right;word-break:break-all;max-width:92px
}
.m-print-detail-note{
  margin:12px 0 0;color:var(--m-subtle);font-size:12px;line-height:1.55
}
.m-note-card strong{display:block;margin-bottom:6px;font-size:15px}
.m-home-style-card{
  display:grid;grid-template-columns:50px minmax(0,1fr);gap:8px;padding:9px 10px;border:1px solid var(--m-border);
  border-radius:14px;background:#fff
}
.m-home-style-filter-row{
  gap:5px;margin:0 0 6px
}
.m-home-style-filter-row .m-chip{
  min-height:28px;padding:0 9px;font-size:10px
}
.m-home-style-cover{
  width:50px;height:64px;border-radius:10px;border:1px solid var(--m-border);
  background:linear-gradient(180deg,#f5f2ea 0%,#ece5d8 100%);object-fit:cover;display:block
}
.m-home-style-cover.placeholder{
  display:flex;align-items:center;justify-content:center;color:#7b8794;font-size:11px;font-weight:700
}
.m-home-style-main{min-width:0}
.m-home-style-main strong{display:block;font-size:14px;line-height:1.22}
.m-home-style-main p{margin:3px 0 0;color:var(--m-subtle);font-size:11px;line-height:1.35}
.m-home-style-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.m-home-style-tags .m-tag{min-height:22px;padding:0 7px;font-size:10px}
.m-home-style-issues{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.m-home-style-issues .m-tag{min-height:22px;padding:0 7px;font-size:10px}
.m-home-style-issue-btn{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  cursor:pointer;
  font:inherit;
  color:inherit;
}
.m-home-style-issue-btn:active{transform:translateY(1px)}
.m-home-style-note{
  margin:6px 0 0;color:#5f6b7a;font-size:10px;line-height:1.35;
  display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden
}
.m-home-style-actions{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px
}
.m-home-style-wide-btn{
  grid-column:1 / -1
}
.m-home-style-actions .m-product-list-btn{
  min-height:30px;padding:0 7px;font-size:10px
}

.m-toast{
  position:fixed;left:50%;top:18px;transform:translateX(-50%);z-index:60;min-width:180px;max-width:min(90vw,360px);
  padding:12px 14px;border-radius:14px;background:#102a27;color:#fff;box-shadow:0 16px 34px rgba(15,23,42,.22);font-size:13px;text-align:center
}

@media (max-width: 540px){
  .m-product-filter-grid{
    grid-template-columns:1fr
  }
  .m-product-list-actions{
    grid-template-columns:1fr
  }
  .m-account-grid{
    grid-template-columns:1fr
  }
  .m-account-shortcuts{
    grid-template-columns:1fr
  }
  .m-warehouse-filter-stack{
    grid-template-columns:1fr
  }
  .m-scan-overview-grid{
    grid-template-columns:1fr
  }
  .m-op-action-grid{
    grid-template-columns:1fr
  }
  .m-op-field-grid{
    grid-template-columns:1fr
  }
  .m-op-field-grid-3{
    grid-template-columns:1fr
  }
  .m-task-top-actions{
    grid-template-columns:1fr
  }
  .m-route-overview-grid{
    grid-template-columns:1fr
  }
  .m-route-next-grid{
    grid-template-columns:1fr
  }
  .m-route-step-inputs{
    grid-template-columns:1fr
  }
  .m-hero-actions{
    grid-template-columns:1fr
  }
  .m-detail-facts{
    grid-template-columns:1fr
  }
  .m-detail-quick-grid{
    grid-template-columns:1fr
  }
  .m-detail-focus-grid{
    grid-template-columns:1fr
  }
  .m-detail-stat-grid{
    grid-template-columns:1fr
  }
  .m-product-overview-grid{
    grid-template-columns:1fr
  }
  .m-style-link-grid{
    grid-template-columns:1fr
  }
  .m-style-action-grid{
    grid-template-columns:1fr
  }
  .m-style-sku-main{
    grid-template-columns:52px minmax(0,1fr)
  }
  .m-style-sku-cover{
    width:52px;height:66px
  }
  .m-style-sku-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .m-warehouse-compact-grid{
    grid-template-columns:1fr
  }
  .m-route-step-meta-grid{
    grid-template-columns:1fr
  }
  .m-scan-meta-grid{
    grid-template-columns:1fr
  }
  .m-scan-inline-stats{
    grid-template-columns:1fr
  }
  .m-stall-bulk-row{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .m-stall-bulk-row .m-field{
    grid-column:1 / -1
  }
  .m-stall-summary-grid{
    grid-template-columns:1fr
  }
  .m-stall-focus-actions{
    grid-template-columns:1fr
  }
  .m-stall-process-grid{
    grid-template-columns:1fr
  }
  .m-stall-voucher-grid{
    grid-template-columns:1fr
  }
  .m-image-viewer-actions{
    grid-template-columns:1fr
  }
  .m-print-detail-grid{
    grid-template-columns:1fr
  }
  .m-print-detail-item{
    flex-direction:column
  }
  .m-print-detail-side{
    align-items:flex-start
  }
  .m-print-detail-side span{
    text-align:left;max-width:none
  }
}

@media (min-width: 820px){
  .m-main{max-width:860px;width:100%;margin:0 auto;padding-left:20px;padding-right:20px}
  .m-topbar{padding-left:20px;padding-right:20px}
  .m-shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .m-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .m-product-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .m-task-progress{grid-template-columns:repeat(4,minmax(0,1fr))}
  .m-inline-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .m-stall-overview-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .m-stall-compose-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .m-stall-compose-focus{grid-template-columns:repeat(4,minmax(0,1fr))}
}
