/* 补充样式：登录表单、管理后台表格、通用补充 */
.tbl{width:100%;border-collapse:collapse;background:#fff;font-size:13px}
.tbl thead th{position:sticky;top:0;background:#f7f9fc;color:#4a5568;font-weight:600;text-align:left;padding:10px 12px;border-bottom:1px solid #e8ecf2;white-space:nowrap;z-index:2}
.tbl tbody td{padding:10px 12px;border-bottom:1px solid #f0f3f7;vertical-align:middle}
.tbl tbody tr:hover{background:#fafbfd}
.tbl .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#8a94a6}
.tbl-wrap{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:auto;max-height:calc(100vh - 240px)}
.tbl-empty{padding:40px;text-align:center;color:#8a94a6}
.kv{display:grid;grid-template-columns:88px 1fr;gap:8px 12px;font-size:13px;align-items:center}
.kv .k{color:#8a94a6}
.kv .v{color:#0e1726;font-weight:600}
.adm-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:12px}
.adm-head .grow{flex:1}
.inp-sm{height:34px;font-size:13px;padding:0 10px;border-radius:8px}
.btn-xs{height:26px;padding:0 9px;font-size:12px;border-radius:6px}
.danger-text{color:#c0143c}
.mt8{margin-top:8px}.mt12{margin-top:12px}.mt16{margin-top:16px}
.w100{width:100%}
.nowrap{white-space:nowrap}
.flex1{flex:1;min-width:0}

/* 手机端：底部中间已有“+”派工按钮，顶部就不再重复显示派工按钮 */
@media (max-width:1023px){
  .page-tools > .btn-primary{display:none}
  .page-sub{font-size:12px}
  .nav-item,.sidebar,.side-user{display:none}
}
/* 电脑端（手机模型预览）也隐藏底部导航 */
@media (min-width:1024px){
  .bottomnav{display:none!important}
}

/* 手机端防误触：整页不许左右拖走、不许双击放大 */
html,body{overscroll-behavior-x:none}
@media (max-width:1023px){
  body{overflow-x:hidden;touch-action:manipulation}
  #shell{overscroll-behavior-x:contain}
  .page,.view,.detail{max-width:100%;overflow-x:clip}
}

/* 小迈浮球（右下角常驻，可拖到左边） */
.mf-fab{display:none;position:fixed;right:14px;bottom:calc(76px + env(safe-area-inset-bottom));z-index:55;
  width:54px;height:54px;border-radius:50%;flex-direction:column;align-items:center;justify-content:center;
  background:linear-gradient(150deg,#ff9a4d 0%,#ff6a13 55%,#e2570a 100%);color:#fff;
  box-shadow:0 12px 22px -10px rgba(255,106,19,.9),0 0 0 3px rgba(255,255,255,.95),0 0 0 4px rgba(255,106,19,.14);
  cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:none;
  transition:transform .12s ease,left .18s ease,right .18s ease}
.mf-fab.left{right:auto;left:14px}
.mf-fab .mf-ico{font-size:17px;line-height:1}
.mf-fab .mf-tx{font-size:9.5px;line-height:1.25;letter-spacing:.4px;opacity:.96;margin-top:1px}
.mf-fab:active{transform:scale(.94)}
@media (min-width:901px){.mf-fab{width:58px;height:58px;bottom:26px;right:22px}.mf-fab.left{right:auto;left:22px}}
