/* 智+ 移动端 — 手机优先、单手操作、触控尺寸 >= 44px */
:root {
  --m-bg: #f4f6f8;
  --m-card: #ffffff;
  --m-text: #1f2d3d;
  --m-text2: #64748b;
  --m-line: #e6ebf1;
  --m-primary: #147a6b;
  --m-primary-dark: #0f5f53;
  --m-navy: #0f2f46;
  --m-gold: #d69a2d;
  --m-red: #d94b43;
  --m-green: #2f9e5e;
  --m-radius: 14px;
  --m-shadow: 0 6px 22px rgba(15, 47, 70, .07);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--m-bg); color: var(--m-text); font: 14px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--m-primary); text-decoration: none; }
.m-app { min-height: 100vh; max-width: 760px; margin: 0 auto; background: var(--m-bg); position: relative; }
.m-hide { display: none !important; }
/* 安卓原生壳自带顶栏：隐藏 H5 顶部用户条，避免双栏 */
.m-native .m-top { display: none !important; }
.m-native .m-login { min-height: calc(100vh - 0px); }
.m-native .m-login-foot { display: none; }
.m-muted { color: var(--m-text2); }
.m-center { text-align: center; }
.m-num { font-variant-numeric: tabular-nums; }
.m-grow { flex: 1; }
.m-row { display: flex; align-items: center; gap: 8px; }
.m-wrap { display: flex; flex-wrap: wrap; }

/* 登录 */
.m-login { min-height: 100vh; background: linear-gradient(160deg, #0f2f46 0%, #124f5d 52%, #147a6b 100%); padding: 0 22px; display: flex; flex-direction: column; justify-content: center; }
.m-brand { color: #fff; text-align: center; margin-bottom: 26px; }
.m-brand .m-logo { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; color: #0f2f46; background: linear-gradient(145deg, #f7d78b, #d69a2d); box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
.m-brand h1 { font-size: 24px; letter-spacing: 2px; margin: 0 0 4px; font-weight: 700; }
.m-brand p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 12.5px; letter-spacing: .5px; }
.m-login-card { background: #fff; border-radius: 18px; padding: 18px 16px 16px; box-shadow: 0 18px 48px rgba(0, 0, 0, .22); }
.m-login-card h2 { font-size: 16px; margin: 0 0 14px; font-weight: 700; }
.m-field { margin-bottom: 12px; }
.m-field label { display: block; font-size: 12px; color: var(--m-text2); margin-bottom: 5px; }
.m-input, .m-select { width: 100%; height: 46px; border: 1px solid var(--m-line); border-radius: 11px; background: #fbfcfd; padding: 0 12px; outline: none; font-size: 15px; }
.m-input:focus, .m-select:focus { border-color: var(--m-primary); background: #fff; box-shadow: 0 0 0 3px rgba(20, 122, 107, .1); }
.m-server-row { display: flex; gap: 8px; }
.m-server-row .m-input { flex: 1; min-width: 0; }
.m-btn { height: 46px; border: 0; border-radius: 11px; background: #eef2f6; color: var(--m-text); padding: 0 16px; font-size: 14.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.m-btn:active { transform: scale(.985); }
.m-btn.primary { background: var(--m-primary); color: #fff; }
.m-btn.primary:disabled { opacity: .55; }
.m-btn.ghost { background: transparent; border: 1px solid var(--m-line); }
.m-btn.danger { background: #fdf0ef; color: var(--m-red); }
.m-btn.block { width: 100%; }
.m-btn.sm { height: 36px; border-radius: 9px; padding: 0 12px; font-size: 13px; }
.m-login-msg { min-height: 20px; color: var(--m-red); font-size: 12.5px; margin-top: 8px; }
.m-login-tip { color: var(--m-text2); font-size: 11.5px; line-height: 1.6; margin-top: 4px; }
.m-acc-who { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f6f9fa; border: 1px solid var(--m-line); border-radius: 10px; padding: 9px 11px; margin-bottom: 10px; }
.m-acc-who span { font-weight: 600; color: var(--m-navy); }
.m-acc-who small { color: var(--m-text2); font-size: 10.5px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-acc-list { display: flex; flex-direction: column; gap: 8px; }
.m-acc-card { position: relative; width: 100%; border: 1px solid var(--m-line); background: #fff; border-radius: 12px; padding: 12px; display: flex; align-items: center; gap: 8px; text-align: left; }
.m-acc-card:active { background: #f8fbfa; }
.m-acc-card.disabled { background: #f8fafb; opacity: .72; }
.m-acc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.m-acc-main b { font-size: 13.5px; color: var(--m-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-acc-main small { font-size: 11px; color: var(--m-text2); }
.m-acc-arrow { font-size: 12px; color: var(--m-primary); flex: none; font-weight: 600; }
.m-acc-card.disabled .m-acc-arrow { color: var(--m-text2); font-weight: 400; }
.m-acc-block { display: block; position: absolute; left: 12px; right: 12px; bottom: -1px; color: var(--m-red); font-size: 10.5px; font-style: normal; transform: translateY(100%); padding: 2px 0; }
.m-acc-card.disabled { margin-bottom: 14px; }
.m-login-help { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 12px; color: var(--m-text2); }
.m-link { color: var(--m-primary); background: none; border: 0; padding: 4px 2px; font-size: 12.5px; }
.m-server-ok { color: var(--m-green); }
.m-login-foot { text-align: center; color: rgba(255,255,255,.58); font-size: 11.5px; margin-top: 20px; line-height: 1.7; }

/* 顶栏 */
.m-top { position: sticky; top: 0; z-index: 20; background: linear-gradient(150deg, #0f2f46, #12515c); color: #fff; padding: 14px 16px 16px; border-radius: 0 0 18px 18px; }
.m-top .m-top-row { display: flex; align-items: center; gap: 10px; }
.m-top .m-hello { flex: 1; min-width: 0; }
.m-top .m-hello b { font-size: 17px; display: block; font-weight: 700; }
.m-top .m-hello span { font-size: 11.5px; color: rgba(255,255,255,.7); display: block; margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.m-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.24); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; flex: none; }
.m-page { padding: 14px 14px 84px; }
.m-page-title { display: flex; align-items: center; justify-content: space-between; margin: 2px 2px 10px; }
.m-page-title h2 { font-size: 17px; margin: 0; }
.m-page-title span { font-size: 12px; color: var(--m-text2); }

/* 卡片 / 首页 */
.m-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-card { background: var(--m-card); border-radius: var(--m-radius); padding: 14px; box-shadow: var(--m-shadow); }
.m-stat { border-left: 3px solid var(--m-primary); }
.m-stat.warn { border-left-color: var(--m-gold); }
.m-stat.danger { border-left-color: var(--m-red); }
.m-stat .m-stat-label { color: var(--m-text2); font-size: 12px; display: flex; align-items: center; gap: 5px; }
.m-stat .m-stat-val { font-size: 26px; font-weight: 800; margin-top: 6px; font-variant-numeric: tabular-nums; }
.m-stat .m-stat-sub { color: var(--m-text2); font-size: 11.5px; margin-top: 3px; }
.m-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.m-quick-btn { border: 0; background: var(--m-card); border-radius: 13px; padding: 12px 4px; box-shadow: var(--m-shadow); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; color: var(--m-text); }
.m-quick-btn .m-ico { width: 34px; height: 34px; border-radius: 10px; background: #e9f4f2; color: var(--m-primary); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.m-section { margin-top: 16px; }
.m-section-h { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px; }
.m-section-h b { font-size: 14.5px; }
.m-section-h a, .m-section-h button { font-size: 12px; color: var(--m-text2); background: none; border: 0; }
.m-list { background: var(--m-card); border-radius: var(--m-radius); box-shadow: var(--m-shadow); overflow: hidden; }
.m-list-item { padding: 12px 14px; border-bottom: 1px solid var(--m-line); display: flex; align-items: center; gap: 10px; }
.m-list-item:last-child { border-bottom: 0; }
.m-list-item:active { background: #f8fafb; }
.m-list-main { flex: 1; min-width: 0; }
.m-list-title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-list-sub { color: var(--m-text2); font-size: 11.5px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-list-val { text-align: right; flex: none; }
.m-list-val b { font-size: 15px; font-variant-numeric: tabular-nums; }
.m-list-val span { display: block; font-size: 11px; color: var(--m-text2); margin-top: 2px; }
.m-empty { padding: 28px 12px; text-align: center; color: var(--m-text2); font-size: 12.5px; }
.m-tag { display: inline-flex; align-items: center; height: 20px; border-radius: 999px; padding: 0 8px; font-size: 10.5px; background: #eef2f6; color: var(--m-text2); }
.m-tag.pending { background: #fff5e6; color: #b26a00; }
.m-tag.audited { background: #e9f6ee; color: #1f7a45; }
.m-tag.danger { background: #fdeceb; color: var(--m-red); }
.m-tag.blue { background: #eaf1fb; color: #255e9c; }

/* 列表筛选 */
.m-filter { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.m-filter::-webkit-scrollbar { display: none; }
.m-chip { flex: none; height: 34px; border: 1px solid var(--m-line); border-radius: 999px; background: #fff; color: var(--m-text2); padding: 0 14px; font-size: 12.5px; }
.m-chip.on { background: var(--m-navy); color: #fff; border-color: var(--m-navy); }
.m-search { display: flex; gap: 8px; margin-bottom: 10px; }
.m-search .m-input { height: 42px; background: #fff; }
.m-search .m-btn { height: 42px; flex: none; }

/* 单据详情 */
.m-drawer { position: fixed; inset: 0; z-index: 60; background: var(--m-bg); overflow-y: auto; padding-bottom: 80px; }
.m-drawer-head { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--m-line); padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.m-drawer-head h3 { flex: 1; margin: 0; font-size: 15px; text-align: center; }
.m-back { width: 40px; height: 40px; border: 0; background: transparent; font-size: 22px; color: var(--m-text); }
.m-doc-card { background: #fff; border-radius: var(--m-radius); box-shadow: var(--m-shadow); margin: 12px 14px; padding: 14px; }
.m-doc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--m-line); padding-bottom: 10px; }
.m-doc-head b { font-size: 15px; }
.m-kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 12.5px; }
.m-kv span { color: var(--m-text2); flex: none; }
.m-kv b { font-weight: 500; text-align: right; word-break: break-all; }
.m-line { padding: 10px 0; border-bottom: 1px dashed var(--m-line); }
.m-line:last-child { border-bottom: 0; }
.m-line .m-line-top { display: flex; justify-content: space-between; gap: 10px; }
.m-line .m-line-name { font-weight: 600; font-size: 13px; }
.m-line .m-line-meta { color: var(--m-text2); font-size: 11.5px; margin-top: 3px; }
.m-total { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px dashed var(--m-line); margin-top: 8px; }
.m-total b { font-size: 20px; color: var(--m-navy); }
.m-doc-actions { display: flex; gap: 10px; margin-top: 14px; }
.m-doc-actions .m-btn { flex: 1; }
.m-note { background: #fbfcfd; border: 1px dashed var(--m-line); border-radius: 10px; padding: 10px; color: var(--m-text2); font-size: 12px; margin-top: 10px; }

/* 库存 */
.m-inv-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--m-line); }
.m-inv-item:last-child { border-bottom: 0; }
.m-inv-main { flex: 1; min-width: 0; }
.m-inv-name { font-size: 14px; font-weight: 600; }
.m-inv-meta { color: var(--m-text2); font-size: 11.5px; margin-top: 3px; }
.m-inv-qty { text-align: right; flex: none; }
.m-inv-qty b { font-size: 17px; color: var(--m-navy); font-variant-numeric: tabular-nums; }
.m-inv-qty span { display: block; font-size: 10.5px; color: var(--m-text2); margin-top: 2px; }
.m-inv-qty.low b { color: var(--m-red); }

/* 底部导航 */
.m-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--m-line); padding-bottom: env(safe-area-inset-bottom); backdrop-filter: blur(8px); }
.m-tab { border: 0; background: transparent; padding: 7px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--m-text2); font-size: 10.5px; }
.m-tab .m-tab-ico { font-size: 19px; line-height: 1; }
.m-tab.on { color: var(--m-primary); font-weight: 600; }

/* 我的 */
.m-profile { background: linear-gradient(145deg, #0f2f46, #146a67); color: #fff; border-radius: 16px; padding: 18px 16px; box-shadow: var(--m-shadow); display: flex; align-items: center; gap: 12px; }
.m-profile .m-avatar { width: 52px; height: 52px; font-size: 20px; background: rgba(255,255,255,.16); }
.m-profile b { font-size: 17px; display: block; }
.m-profile span { font-size: 11.5px; color: rgba(255,255,255,.7); display: block; margin-top: 3px; }
.m-menu { margin-top: 12px; background: #fff; border-radius: var(--m-radius); box-shadow: var(--m-shadow); overflow: hidden; }
.m-menu-item { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid var(--m-line); font-size: 13.5px; background: #fff; width: 100%; border-left: 0; border-right: 0; border-top: 0; text-align: left; }
.m-menu-item:last-child { border-bottom: 0; }
.m-menu-item .m-menu-ico { width: 28px; height: 28px; border-radius: 8px; background: #eef7f4; color: var(--m-primary); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.m-menu-item .m-grow { text-align: right; color: var(--m-text2); font-size: 12px; }
.m-version { text-align: center; color: #9aa8b5; font-size: 11px; margin: 18px 0 6px; }
.m-server-card { background: #fff; border-radius: var(--m-radius); box-shadow: var(--m-shadow); padding: 14px; }
.m-server-card .m-hint { color: var(--m-text2); font-size: 11.5px; margin: 6px 0 10px; line-height: 1.6; }
.m-server-current { background: #f6f9fa; border: 1px solid var(--m-line); border-radius: 10px; padding: 9px 11px; color: var(--m-text2); font-size: 12px; word-break: break-all; margin-bottom: 10px; }

/* toast / loading */
.m-toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(12px); background: rgba(15, 47, 70, .94); color: #fff; padding: 9px 16px; border-radius: 999px; font-size: 12.5px; z-index: 100; opacity: 0; pointer-events: none; transition: .2s; max-width: 86vw; text-align: center; }
.m-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.m-loading { padding: 26px 12px; text-align: center; color: var(--m-text2); font-size: 12.5px; }
.m-spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid #dbe3ea; border-top-color: var(--m-primary); border-radius: 50%; animation: mspin .8s linear infinite; vertical-align: middle; margin-right: 6px; }
@keyframes mspin { to { transform: rotate(360deg); } }
.m-error { background: #fdf0ef; color: #a92d28; border-radius: 10px; padding: 10px 12px; font-size: 12px; margin: 10px 0; }
.m-safe-bottom { height: calc(10px + env(safe-area-inset-bottom)); }

@media (min-width: 520px) {
  .m-quick { grid-template-columns: repeat(4, 1fr); }
  .m-cards { grid-template-columns: repeat(4, 1fr); }
}

/* =====================================================================
   2026-11-28 移动端 V2：参考蓝白工作台样式 + 手机录入单据
   ===================================================================== */
:root {
  --m-primary: #2f6bff;
  --m-primary-dark: #1e56e6;
  --m-navy: #1f5fe0;
  --m-blue-soft: #eaf1ff;
  --m-bg: #f3f6fb;
  --m-radius: 16px;
  --m-shadow: 0 8px 24px rgba(31, 95, 224, .08);
}
.m-main { background: var(--m-bg); }
.m-top {
  background: linear-gradient(140deg, #2f6bff 0%, #4b91ff 58%, #61a5ff 100%);
  border-radius: 0 0 22px 22px;
  padding: 12px 16px 14px;
  box-shadow: 0 10px 24px rgba(47, 107, 255, .18);
}
.m-top-bar { display: flex; align-items: center; justify-content: center; position: relative; min-height: 30px; }
.m-top-deco { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,.78); font-size: 12px; font-weight: 800; letter-spacing: 1px; background: rgba(255,255,255,.16); border-radius: 8px; padding: 3px 7px; }
.m-top-title { color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .5px; }
.m-top-act { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 10px; background: rgba(255,255,255,.16); color: #fff; font-size: 17px; }
.m-top-sub { text-align: center; color: rgba(255,255,255,.68); font-size: 10.5px; margin-top: 5px; }
.m-home-search { display: flex; align-items: center; gap: 7px; height: 40px; margin-top: 9px; padding: 0 12px; border-radius: 12px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.2); }
.m-home-search .m-search-ico { color: rgba(255,255,255,.88); font-size: 19px; line-height: 1; }
.m-home-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: #fff; font-size: 13px; }
.m-home-search input::placeholder { color: rgba(255,255,255,.65); }
.m-page { padding: 13px 14px 90px; }
.m-greeting { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 1px 3px 10px; }
.m-greeting b { display: block; font-size: 16px; color: var(--m-text); }
.m-greeting span { display: block; color: var(--m-text2); font-size: 11.5px; margin-top: 2px; }
.m-greeting-role { flex: none; color: var(--m-primary); background: #eaf1ff; border-radius: 999px; padding: 4px 9px; font-size: 10.5px; font-weight: 600; }
.m-tabbar { grid-template-columns: repeat(6, 1fr); border-radius: 18px 18px 0 0; box-shadow: 0 -4px 18px rgba(31, 95, 224, .07); }
.m-tab { padding: 7px 0 5px; font-size: 10px; gap: 2px; }
.m-tab .m-tab-ico { font-size: 18px; }
.m-tab.on { color: var(--m-primary); }
.m-section-tip { font-size: 11px; color: #93a1b3; }
.m-quick-card { padding: 13px 10px 8px; }
.m-quick { gap: 2px; }
.m-quick-btn { box-shadow: none; padding: 5px 2px; font-size: 11.5px; gap: 5px; border-radius: 10px; }
.m-quick-btn .m-ico { width: 42px; height: 42px; border-radius: 13px; font-size: 20px; background: #eaf1ff; color: #2f6bff; }
.m-quick-btn .m-ico.orange { background: #fff2e0; color: #f08a24; }
.m-quick-btn .m-ico.green { background: #e8f7ee; color: #2f9e5e; }
.m-quick-btn .m-ico.teal { background: #e6f7f5; color: #129a8a; }
.m-quick-btn .m-ico.red { background: #fdeceb; color: #e2544b; }
.m-quick-btn .m-ico.purple { background: #f0edff; color: #7a63e8; }
.m-ai-banner { margin-top: 13px; border-radius: var(--m-radius); background: linear-gradient(115deg, #f0f5ff 0%, #e9f1ff 55%, #f7faff 100%); border: 1px solid #e2ebff; padding: 14px 15px; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.m-ai-copy { flex: 1; min-width: 0; }
.m-ai-copy b { display: block; color: #2d5fd0; font-size: 15px; margin-bottom: 4px; }
.m-ai-copy span { display: block; color: #6c7e96; font-size: 11.5px; line-height: 1.6; }
.m-ai-robot { width: 56px; height: 56px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #dbe9ff 60%, #b8d3ff); display: flex; align-items: center; justify-content: center; font-size: 31px; box-shadow: inset 0 0 0 1px #fff; }
.m-wb-head { display: flex; align-items: baseline; gap: 8px; margin: 2px 2px 11px; }
.m-wb-head b { font-size: 17px; }
.m-wb-head span { font-size: 11.5px; color: var(--m-text2); }
.m-wb-grid { display: flex; flex-direction: column; gap: 10px; }
.m-wb-card { background: #fff; border-radius: var(--m-radius); padding: 13px; box-shadow: var(--m-shadow); }
.m-wb-top { display: flex; align-items: center; gap: 10px; }
.m-wb-top > div { min-width: 0; }
.m-wb-top b { display: block; font-size: 14px; }
.m-wb-top > div > span { display: block; font-size: 11px; color: var(--m-text2); margin-top: 2px; }
.m-wb-ico { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 19px; background: #eaf1ff; flex: none; line-height: 0; padding: 0; text-align: center; }
.m-wb-ico.orange { background: #fff2e0; } .m-wb-ico.green { background: #e8f7ee; } .m-wb-ico.teal { background: #e6f7f5; }
.m-wb-ico.purple { background: #f0edff; } .m-wb-ico.red { background: #fdeceb; }
.m-wb-actions { display: flex; gap: 7px; margin-top: 10px; }
.m-wb-actions button { flex: 1; height: 33px; border: 1px solid #e6edf8; border-radius: 9px; background: #f8fbff; color: #3568d4; font-size: 11.5px; }
.m-wb-actions button:active { background: #eaf1ff; }
.m-chart-card { margin-top: 12px; padding: 14px 12px 8px; }
.m-chart-card .m-section-h { margin: 0 0 8px; }
.m-chart { height: 120px; display: flex; align-items: flex-end; gap: 10px; padding: 0 4px 2px; }
.m-bar-wrap { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; min-width: 0; }
.m-bar { width: 65%; min-height: 3px; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #62a0ff, #2f6bff); display: block; }
.m-bar-wrap em { font-style: normal; font-size: 9.5px; color: var(--m-text2); white-space: nowrap; }
.m-login { background: linear-gradient(160deg, #2f6bff 0%, #3f86ff 52%, #5aa6ff 100%); }
.m-login-tip { color: #7b8ba1; background: #f7faff; border: 1px solid #e7eef9; border-radius: 9px; padding: 7px 9px; margin-top: 10px; }
.m-form-card { background: #fff; border-radius: var(--m-radius); padding: 12px 13px 4px; box-shadow: var(--m-shadow); }
.m-doc-create { background: #f3f6fb; }
.m-doc-create .m-drawer-head { background: #fff; }
.m-create-scroll { padding: 10px 14px 92px; }
.m-create-title { font-size: 12px; color: var(--m-text2); margin: 2px 2px 7px; }
.m-create-types { padding-bottom: 12px; }
.m-create-types .m-chip { height: 32px; padding: 0 12px; background: #fff; }
.m-create-types .m-chip.on { background: var(--m-primary); border-color: var(--m-primary); }
.m-line-card { background: #fff; border-radius: 14px; box-shadow: var(--m-shadow); padding: 12px; margin-bottom: 10px; }
.m-line-card-head { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.m-line-card-head > span { width: 20px; height: 20px; border-radius: 6px; background: #eaf1ff; color: #2f6bff; font-size: 10.5px; display: flex; align-items: center; justify-content: center; flex: none; }
.m-line-card-head b { flex: 1; min-width: 0; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-line-del { width: 28px; height: 28px; border: 0; border-radius: 8px; background: #f6f8fb; color: #91a0b3; font-size: 13px; }
.m-pick-inv { width: 100%; height: 33px; border: 1px dashed #bcd2f7; border-radius: 9px; background: #f7faff; color: #3568d4; font-size: 12px; margin-bottom: 8px; }
.m-line-fields { display: flex; gap: 7px; margin-bottom: 7px; }
.m-line-fields label { flex: 1; min-width: 0; font-size: 10.5px; color: var(--m-text2); display: flex; flex-direction: column; gap: 3px; }
.m-line-fields input { width: 100%; height: 35px; border: 1px solid #e5ebf3; border-radius: 8px; background: #fbfcfe; padding: 0 8px; font-size: 13px; outline: none; min-width: 0; }
.m-line-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed #eef2f7; padding-top: 7px; color: var(--m-text2); font-size: 11px; }
.m-line-foot b { color: var(--m-navy); font-size: 14px; }
.m-create-total { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 12px; padding: 13px 14px; box-shadow: var(--m-shadow); margin-top: 4px; color: var(--m-text2); font-size: 12px; }
.m-create-total b { color: var(--m-primary-dark); font-size: 20px; }
.m-create-foot { position: fixed; left: 0; right: 0; bottom: 0; max-width: 760px; margin: 0 auto; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid #e8eef7; display: flex; gap: 9px; z-index: 80; }
.m-create-foot .m-btn { flex: 1; height: 44px; }
.m-picker { z-index: 90; }
.m-picker .m-list-item { padding: 11px 2px; }
.m-picker .m-list-item .m-list-val span { color: var(--m-primary); font-weight: 600; }
.m-native .m-top { display: none !important; }
.m-native .m-page { padding-top: 14px; }

/* =====================================================================
   V3 UI 美化：内联 SVG 图标 / 渐变头图 / 卡片层级 / 动效
   ===================================================================== */
.m-svg { width: 1em; height: 1em; display: block; flex: none; }
.m-top { position: sticky; top: 0; z-index: 20; overflow: hidden; isolation: isolate; }
.m-top::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -76px; top: -100px; background: rgba(255,255,255,.12); z-index: -1; }
.m-top::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; left: -54px; bottom: -78px; background: rgba(255,255,255,.08); z-index: -1; }
.m-top-bar, .m-home-search, .m-top-sub { position: relative; z-index: 1; }
.m-top-act { display: flex; align-items: center; justify-content: center; }
.m-top-act .m-svg { width: 18px; height: 18px; }
.m-search-ico { display: flex; align-items: center; }
.m-search-ico .m-svg { width: 19px; height: 19px; }
.m-tab .m-tab-ico { width: 30px; height: 25px; display: flex; align-items: center; justify-content: center; border-radius: 9px; transition: background .15s, transform .15s; }
.m-tab .m-tab-ico .m-svg { width: 20px; height: 20px; }
.m-tab.on .m-tab-ico { background: rgba(47,107,255,.1); transform: translateY(-1px); }
.m-tab.on .m-tab-ico .m-svg { stroke-width: 2; }
.m-tabbar { padding-top: 3px; }
.m-page { animation: mPageIn .22s ease-out; }
@keyframes mPageIn { from { opacity: .55; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.m-card { border: 1px solid rgba(226,235,249,.8); }
.m-stat { position: relative; overflow: hidden; background: linear-gradient(160deg, #fff 0%, #fbfdff 100%); }
.m-stat::after { content: ""; position: absolute; width: 58px; height: 58px; right: -26px; bottom: -30px; border-radius: 50%; background: rgba(47,107,255,.05); }
.m-stat-label { font-weight: 500; }
.m-stat-val { letter-spacing: -.6px; color: #19345e; }
.m-stat.danger .m-stat-val { color: #d94b43; }
.m-stat.warn .m-stat-val { color: #d68a16; }
.m-quick-btn { border: 0; }
.m-quick-btn:active .m-ico { transform: scale(.93); }
.m-quick-btn .m-ico { transition: transform .15s, background .15s; }
.m-quick-btn .m-ico .m-svg { width: 22px; height: 22px; }
.m-section-h b { position: relative; padding-left: 9px; }
.m-section-h b::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 3px; width: 3px; border-radius: 2px; background: var(--m-primary); }
.m-section-h button { color: #8291a6; }
.m-section-h button:active { color: var(--m-primary); }
.m-list { border: 1px solid rgba(226,235,249,.8); }
.m-list-item { transition: background .12s; }
.m-ai-banner { position: relative; overflow: hidden; }
.m-ai-banner::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; right: -64px; top: -60px; background: rgba(255,255,255,.5); pointer-events: none; }
.m-ai-copy, .m-ai-robot { position: relative; z-index: 1; }
.m-ai-robot { color: #2f6bff; }
.m-ai-robot .m-svg { width: 34px; height: 34px; }
.m-ai-robot::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(47,107,255,.25); }
.m-greeting-role { display: inline-flex; align-items: center; gap: 4px; }
.m-wb-card { border: 1px solid rgba(226,235,249,.8); transition: transform .15s, box-shadow .15s; }
.m-wb-card:active { transform: scale(.993); box-shadow: 0 4px 14px rgba(31,95,224,.08); }
.m-wb-ico { color: #2f6bff; }
.m-wb-ico .m-svg { width: 21px; height: 21px; }
.m-wb-ico.orange { color: #ed8a22; } .m-wb-ico.green { color: #2f9e5e; } .m-wb-ico.teal { color: #129a8a; }
.m-wb-ico.purple { color: #7a63e8; } .m-wb-ico.red { color: #e2544b; }
.m-wb-actions button { transition: background .15s, border-color .15s; }
.m-wb-actions button:first-child { background: #eef4ff; border-color: #dbe8ff; color: #2f6bff; }
.m-chart-card { border: 1px solid rgba(226,235,249,.8); }
.m-bar { box-shadow: 0 -3px 9px rgba(47,107,255,.18); }
.m-tabbar { padding-top: 3px; }
.m-login-card { border: 1px solid rgba(255,255,255,.5); }
.m-login .m-input, .m-login .m-select { background: #f7f9fd; }
.m-login .m-input:focus, .m-login .m-select:focus { background: #fff; }
.m-login .m-btn.primary { box-shadow: 0 8px 18px rgba(20,74,201,.22); }
.m-drawer { animation: mDrawerIn .2s ease-out; }
@keyframes mDrawerIn { from { opacity: .5; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.m-drawer-head { box-shadow: 0 2px 10px rgba(20,40,80,.04); }
.m-back { display: flex; align-items: center; justify-content: center; }
.m-back .m-svg { width: 20px; height: 20px; }
.m-create-types .m-chip { transition: background .15s, color .15s; }
.m-pick-inv { display: flex; align-items: center; justify-content: center; gap: 5px; }
.m-pick-inv::before { content: "+"; font-size: 15px; font-weight: 600; }
.m-empty { color: #98a6b8; line-height: 1.8; }
.m-empty::before { content: "◇"; display: block; font-size: 26px; color: #c5d3e6; margin-bottom: 5px; }
.m-inv-qty.low b { color: #e2544b; }

/* 首页预警卡片跳转 */
.m-stat.m-clickable { width: 100%; text-align: left; color: inherit; font: inherit; cursor: pointer; padding: 14px; }
.m-stat.m-clickable:active { transform: scale(.985); }
.m-stat-arrow { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: rgba(47,107,255,.07); color: #9cb5e8; display: flex; align-items: center; justify-content: center; }
.m-stat-arrow .m-svg { width: 12px; height: 12px; }
.m-stat.m-clickable .m-stat-val { transition: color .15s; }
.m-stat.m-clickable:active .m-stat-val { color: var(--m-primary); }
.m-warn-card { margin-bottom: 10px; padding: 13px; border-radius: 14px; }
.m-warn-card .m-line-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.m-warn-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 10px 0 8px; }
.m-warn-grid span { background: #f6f9fe; border-radius: 8px; padding: 7px 3px; text-align: center; color: var(--m-text2); font-size: 10px; display: flex; flex-direction: column; gap: 2px; }
.m-warn-grid b { color: var(--m-navy); font-size: 13px; font-variant-numeric: tabular-nums; }
.m-warn-bar { height: 5px; border-radius: 4px; background: #eef2f8; overflow: hidden; }
.m-warn-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ffb34d, #f06a5e); }

/* 收付款 / 收入费用开单 + 更多资金按钮 */
.m-wb-actions { flex-wrap: wrap; }
.m-wb-actions button { flex: 1 1 30%; min-width: 0; }
.m-create-types .m-chip { flex: none; }
.m-create-total { position: sticky; bottom: 0; z-index: 2; }
.m-money-hint { color: #7b8ba1; font-size: 11px; margin: 5px 2px 10px; line-height: 1.65; }

/* 首页自定义工作台 */
button.m-section-tip { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; color: #7b8ba1; }
button.m-section-tip:active { color: var(--m-primary); }
.m-quick-custom { padding: 10px 14px 20px; }
.m-custom-tip { color: #7b8ba1; font-size: 12px; line-height: 1.7; margin: 2px 2px 12px; }
.m-quick-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.m-quick-choice { position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; padding: 10px; border: 1px solid #e6edf8; border-radius: 13px; background: #fbfdff; color: var(--m-text); font: inherit; text-align: left; transition: border-color .15s, background .15s, transform .15s; }
.m-quick-choice:active { transform: scale(.985); }
.m-quick-choice.on { border-color: #9dc0ff; background: #eef4ff; box-shadow: 0 2px 8px rgba(47,107,255,.07); }
.m-quick-choice .m-ico { width: 34px; height: 34px; border-radius: 10px; font-size: 0; flex: none; }
.m-quick-choice .m-ico .m-svg { width: 19px; height: 19px; }
.m-quick-choice-label { flex: 1; min-width: 0; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-quick-choice-check { width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid #d3dfef; color: #fff; font-size: 12px; line-height: 17px; text-align: center; flex: none; background: #fff; }
.m-quick-choice.on .m-quick-choice-check { border-color: var(--m-primary); background: var(--m-primary); }
.m-custom-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(255,255,255,0), #fff 22%); }
.m-custom-foot > span { flex: 1; color: #7b8ba1; font-size: 12px; }
.m-custom-foot > span b { color: var(--m-primary); font-size: 15px; }
.m-custom-foot .m-btn { flex: none; min-height: 38px; padding: 0 12px; font-size: 12px; }

/* =====================================================================
   小智 AI 助手 — 全屏对话 / 文字 / 语音
   ===================================================================== */
body.m-ai-lock { overflow: hidden; }
.m-ai-panel {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh;
  z-index: 90; display: flex; flex-direction: column; border-radius: 0;
  background: #f4f7fd; overflow: hidden;
  animation: mAiIn .22s ease-out;
}
@keyframes mAiIn { from { opacity: .4; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.m-ai-head {
  flex: none; display: flex; align-items: center; gap: 10px;
  padding: calc(10px + env(safe-area-inset-top)) 14px 14px;
  color: #fff; background: linear-gradient(135deg, #2f6bff 0%, #4e8dff 70%, #67a8ff 100%);
  box-shadow: 0 5px 18px rgba(31,95,224,.18);
}
.m-ai-close { width: 36px; height: 36px; border: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; padding: 0; }
.m-ai-close .m-svg { width: 20px; height: 20px; }
.m-ai-head-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.m-ai-head-copy b { font-size: 17px; letter-spacing: .3px; }
.m-ai-head-copy span { font-size: 10.5px; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ai-head-badge { flex: none; padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,.18); font-size: 11px; font-weight: 600; }
.m-ai-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 14px 14px 6px; }
.m-ai-welcome { background: #fff; border: 1px solid #e5edfa; border-radius: 18px; padding: 16px; box-shadow: 0 5px 18px rgba(31,95,224,.05); }
.m-ai-welcome-badge { width: 46px; height: 46px; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: #2f6bff; background: linear-gradient(145deg, #edf4ff, #dfeaff); }
.m-ai-welcome-badge .m-svg { width: 26px; height: 26px; }
.m-ai-welcome h3 { margin: 11px 0 5px; font-size: 17px; color: #17335e; }
.m-ai-welcome p { margin: 0; color: #7183a0; font-size: 12px; line-height: 1.7; }
.m-ai-insights { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.m-ai-insight { display: flex; gap: 7px; align-items: flex-start; background: #f5f9ff; border-radius: 9px; padding: 8px 10px; color: #4a5d78; font-size: 11px; line-height: 1.5; }
.m-ai-insight i { flex: none; width: 6px; height: 6px; border-radius: 50%; margin-top: 5px; background: #4e8dff; }
.m-ai-insight.warn { background: #fff7ee; color: #9b6a2d; }
.m-ai-insight.warn i { background: #f2a23a; }
.m-ai-tip { margin-top: 12px; font-size: 10.5px; color: #9aa9bd; }
.m-ai-msg { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 12px; }
.m-ai-msg.user { justify-content: flex-end; padding-left: 38px; }
.m-ai-msg.user .m-ai-bubble { background: linear-gradient(135deg, #2f6bff, #4e8dff); color: #fff; border-radius: 15px 15px 4px 15px; box-shadow: 0 4px 12px rgba(31,95,224,.16); }
.m-ai-msg.bot { padding-right: 16px; }
.m-ai-avatar { flex: none; width: 30px; height: 30px; border-radius: 10px; background: #eaf2ff; color: #2f6bff; display: flex; align-items: center; justify-content: center; }
.m-ai-avatar .m-svg { width: 19px; height: 19px; }
.m-ai-bubble { min-width: 0; max-width: 100%; padding: 10px 12px; border-radius: 15px 15px 15px 4px; background: #fff; border: 1px solid #e6edf8; color: #273b57; font-size: 13px; line-height: 1.7; box-shadow: 0 3px 12px rgba(31,95,224,.04); }
.m-ai-msg.user .m-ai-bubble { border: 0; font-size: 13px; }
.m-ai-text { white-space: pre-wrap; word-break: break-word; }
.m-ai-note { margin-top: 6px; font-size: 10.5px; color: #98a7ba; }
.m-ai-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.m-ai-kpi { background: linear-gradient(145deg, #f3f8ff, #eef5ff); border-radius: 9px; padding: 7px 9px; min-width: 0; }
.m-ai-kpi span { display: block; font-size: 10px; color: #7b8ba1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-ai-kpi b { display: block; margin-top: 2px; color: #1d3b68; font-size: 14px; font-variant-numeric: tabular-nums; word-break: break-all; }
.m-ai-kpi b i { font-style: normal; font-size: 10px; color: #7b8ba1; margin-left: 2px; }
.m-ai-chart { margin-top: 9px; display: flex; flex-direction: column; gap: 5px; }
.m-ai-bar-row { display: flex; align-items: center; gap: 5px; font-size: 10px; color: #75869c; }
.m-ai-bar-row > span { width: 54px; flex: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-ai-bar-row > div { flex: 1; height: 7px; border-radius: 4px; background: #eef3fa; overflow: hidden; }
.m-ai-bar-row > div i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #6aa8ff, #2f6bff); }
.m-ai-bar-row > b { width: 58px; flex: none; text-align: right; color: #435878; font-size: 10px; font-weight: 500; font-variant-numeric: tabular-nums; }
.m-ai-table-wrap { margin-top: 9px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 9px; }
.m-ai-table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.m-ai-table th { background: #f1f6fd; color: #70839b; font-weight: 500; padding: 6px 7px; text-align: left; white-space: nowrap; }
.m-ai-table td { padding: 6px 7px; border-top: 1px solid #edf2f9; color: #344a69; white-space: nowrap; }
.m-ai-table th.num, .m-ai-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.m-ai-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.m-ai-links button { border: 1px solid #d8e6ff; background: #f3f8ff; color: #2f6bff; border-radius: 8px; padding: 5px 8px; font: inherit; font-size: 10.5px; }
.m-ai-loading { display: flex; align-items: center; gap: 7px; color: #8192a8; }
.m-ai-loading .m-spinner { width: 14px; height: 14px; border-width: 2px; }
.m-ai-suggest { flex: none; display: flex; gap: 7px; overflow-x: auto; padding: 2px 14px 9px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.m-ai-suggest::-webkit-scrollbar { display: none; }
.m-ai-sug { flex: none; border: 1px solid #dbe8ff; background: #fff; color: #3568c9; border-radius: 14px; padding: 6px 10px; font: inherit; font-size: 10.5px; box-shadow: 0 2px 8px rgba(31,95,224,.04); }
.m-ai-sug:active { background: #eef5ff; }
.m-ai-compose { flex: none; display: flex; align-items: flex-end; gap: 7px; padding: 8px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e8eef8; box-shadow: 0 -4px 16px rgba(31,95,224,.05); }
.m-ai-compose textarea { flex: 1; min-width: 0; min-height: 38px; max-height: 92px; resize: none; border: 1px solid #e1eaf7; border-radius: 11px; padding: 9px 10px; font: inherit; font-size: 13px; line-height: 1.45; color: #243a59; background: #f8faff; outline: none; }
.m-ai-compose textarea:focus { border-color: #a8c8ff; background: #fff; }
.m-ai-voice { flex: none; height: 38px; padding: 0 9px; border: 1px solid #dce8fa; border-radius: 11px; background: #f4f8ff; color: #52739e; display: flex; align-items: center; gap: 4px; font: inherit; font-size: 10.5px; }
.m-ai-voice .m-svg { width: 17px; height: 17px; }
.m-ai-voice.listening { background: #fff0ed; border-color: #ffd3cb; color: #e2544b; animation: mAiPulse 1.1s infinite; }
@keyframes mAiPulse { 50% { box-shadow: 0 0 0 5px rgba(226,84,75,.08); } }
.m-ai-send { flex: none; width: 40px; height: 38px; border: 0; border-radius: 11px; background: linear-gradient(135deg, #2f6bff, #4e8dff); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(31,95,224,.2); }
.m-ai-send .m-svg { width: 18px; height: 18px; }
.m-ai-send:active { transform: scale(.96); }

/* 我的 · 关于移动端 */
.m-about-panel { background: #f5f8fe; }
.m-about-wrap { padding: 14px 16px calc(20px + env(safe-area-inset-bottom)); }
.m-about-hero { text-align: center; padding: 14px 8px 18px; }
.m-about-logo { width: 66px; height: 66px; margin: 0 auto 10px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(145deg, #2f6bff, #6aa8ff); box-shadow: 0 8px 20px rgba(31,95,224,.22); }
.m-about-logo .m-svg { width: 34px; height: 34px; }
.m-about-hero h2 { margin: 0; font-size: 20px; color: #17335e; letter-spacing: .5px; }
.m-about-hero p { margin: 5px 0 0; font-size: 11px; color: #8b9bb0; }
.m-about-card { background: #fff; border: 1px solid #e6eef9; border-radius: 16px; padding: 4px 14px; box-shadow: 0 4px 16px rgba(31,95,224,.04); }
.m-about-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #f0f4fa; font-size: 12px; color: #75869c; }
.m-about-row:last-child { border-bottom: 0; }
.m-about-row b { color: #2a405f; font-size: 13px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.m-about-row b.ok { color: #2f9e5e; }
.m-about-row b.warn { color: #d68a16; }
.m-about-row b.m-about-server { max-width: 58%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; font-size: 11.5px; color: #55708f; }
.m-about-note { margin: 11px 4px 0; color: #8495aa; font-size: 11px; line-height: 1.7; }
.m-about-actions { display: flex; gap: 10px; margin-top: 16px; }
.m-about-actions .m-btn { flex: 1; }
.m-about-copy { text-align: center; color: #b0bccb; font-size: 10.5px; margin-top: 18px; }

/* 移动端 Logo 与电脑端统一 */
.m-brand .m-logo { width: 76px; height: 76px; border-radius: 0; background: none; box-shadow: none; padding: 0; }
.m-brand .m-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.m-top-deco { width: 29px; height: 29px; padding: 0; background: rgba(255,255,255,.14); border-radius: 9px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.m-top-deco img { width: 26px; height: 26px; display: block; object-fit: contain; }
.m-about-logo-img { width: 222px; max-width: 82%; height: auto; display: block; margin: 0 auto 5px; }
.m-menu-item .m-menu-ico .m-svg { width: 16px; height: 16px; }

/* 切换账套 */
.m-switch-wrap { padding: 12px 14px calc(20px + env(safe-area-inset-bottom)); }
.m-switch-tip { color: #7b8ba1; font-size: 11.5px; line-height: 1.7; margin: 2px 2px 12px; }
.m-switch-wrap .m-acc-list { display: flex; flex-direction: column; gap: 0; }
.m-switch-wrap .m-acc-card { margin-bottom: 10px; }

/* 基础档案：列表 / 新增修改（权限与电脑端一致） */
.m-meta-panel { width: 100%; max-width: none; }
.m-meta-form { width: 100%; max-width: none; }
.m-meta-wrap { padding: 10px 14px calc(24px + env(safe-area-inset-bottom)); }
.m-meta-tabs { margin: 2px 0 8px; }
.m-meta-wrap .m-meta-search { margin-bottom: 6px; }
.m-meta-count { color: #8b9bb0; font-size: 11px; padding: 2px 2px 8px; }
.m-meta-item { cursor: pointer; }
.m-meta-item .m-list-title small { color: #93a3b6; font-size: 10.5px; font-weight: 400; margin-left: 4px; }
.m-meta-item .m-line-del { flex: none; margin-left: 2px; }
.m-meta-form-wrap { padding: 14px 16px calc(20px + env(safe-area-inset-bottom)); }
.m-meta-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; background: #fff; border: 1px solid #e6eef9; border-radius: 15px; padding: 14px; }
.m-meta-form-grid .m-field { margin: 0; min-width: 0; }
.m-meta-form-grid .m-field-full { grid-column: 1 / -1; }
.m-meta-form-grid .m-field > span { display: block; font-size: 11px; color: #75869c; margin-bottom: 5px; }
.m-meta-form-grid .m-input, .m-meta-form-grid .m-select { height: 38px; font-size: 13px; }
.m-req { color: #d94b43; font-style: normal; }
.m-meta-form-note { color: #8b9bb0; font-size: 10.5px; line-height: 1.7; margin: 11px 3px; }
.m-meta-form-actions { display: flex; gap: 10px; }
.m-meta-form-actions .m-btn { flex: 1; }
