/* ===== 乐康源客户端 H5 — 全局样式 ===== */
:root {
  --brand: #0FA47A;
  --brand-dark: #0B8A66;
  --bg: #F4F5F9;
  --card: #FFFFFF;
  --text: #1D2129;
  --text-2: #86909C;
  --text-3: #A9AEB8;
  --line: #EEF0F3;
  --danger: #E8463A;
  --orange: #FF7D00;
  --gold: #FFBF00;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Helvetica, sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 14px;
}
.page { max-width: 480px; margin: 0 auto; min-height: 100vh; background: var(--bg); position: relative; }
img { display: block; }
button, input { font-family: inherit; }

/* ===== 顶部导航 ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  max-width: 480px; margin: 0 auto;
  height: 44px; background: var(--nav-bg, var(--brand)); color: #fff;
  display: flex; align-items: center; padding: 0 12px;
  transition: background .3s;
}
.nav.back { background: #fff; color: #1D2129; border-bottom: 1px solid var(--line); }
.nav .nav-title { flex: 1; text-align: center; font-size: 17px; font-weight: 600; }
.nav .nav-back { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: inherit; cursor: pointer; }
.nav .nav-back:empty { }
.nav .nav-right { width: 40px; text-align: right; }

/* 顶部安全区占位 */
.nav-space { height: 44px; }

/* ===== 底部 tabBar ===== */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  max-width: 480px; margin: 0 auto;
  height: 56px; background: #fff; border-top: 1px solid var(--line);
  display: none;
}
.tabbar.show { display: flex; }
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-2); cursor: pointer; position: relative; }
.tab-item.on { color: var(--brand); }
.tab-ico { font-size: 22px; line-height: 1; }
.tab-txt { font-size: 11px; margin-top: 3px; }
.tab-badge {
  position: absolute; top: 6px; left: 50%; transform: translateX(8px);
  min-width: 16px; height: 16px; border-radius: 8px; background: var(--danger);
  color: #fff; font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px;
  display: none;
}
.tab-badge.show { display: block; }

/* ===== 视图容器 ===== */
.view { padding-bottom: 64px; }
.view.with-nav { padding-top: 44px; }

/* ===== 通用 ===== */
.hide { display: none !important; }
.muted { color: var(--text-2); }

/* Toast */
.toast {
  position: fixed; left: 50%; top: 45%; transform: translate(-50%, -50%);
  max-width: 70%; background: rgba(0,0,0,.75); color: #fff;
  padding: 10px 16px; border-radius: 8px; font-size: 14px; z-index: 9999;
  text-align: center; opacity: 0; transition: opacity .25s; pointer-events: none;
}
.toast.show { opacity: 1; }
.toast.error { background: rgba(200,40,40,.85); }

/* Loading */
.loading {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%,-50%);
  background: rgba(0,0,0,.65); border-radius: 10px; z-index: 9998;
  width: 70px; height: 70px; display: flex; align-items: center; justify-content: center;
}
.spinner { width: 26px; height: 26px; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 空态 */
.empty-box { text-align: center; padding: 60px 20px; color: var(--text-2); }
.empty-icon { font-size: 46px; margin-bottom: 12px; }
.empty-text { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.empty-sub { font-size: 13px; color: var(--text-3); margin-bottom: 20px; }
.empty .go, .empty-box .go {
  display: inline-block; padding: 8px 34px; background: var(--brand); color: #fff;
  border-radius: 20px; font-size: 15px; cursor: pointer;
}

/* 按钮 */
.btn { display: block; width: 100%; padding: 12px; background: var(--brand); color: #fff; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; text-align: center; }
.btn:disabled { opacity: .6; }
.btn.plain { background: #E8FBF5; color: var(--brand); }

/* ===== 首页 ===== */
.banner { position: relative; width: 100%; height: 190px; overflow: hidden; }
.banner-track { display: flex; height: 100%; transition: transform .4s ease; }
.banner-slide { min-width: 100%; height: 100%; position: relative; overflow: hidden; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-mask { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
.banner-txt { position: absolute; left: 16px; bottom: 12px; right: 16px; color: #fff; }
.banner-tag { display: inline-block; background: var(--orange); padding: 2px 8px; border-radius: 4px; font-size: 12px; margin-bottom: 6px; }
.banner-title { font-size: 17px; font-weight: 600; }
.banner-sub { font-size: 13px; opacity: .9; margin-top: 2px; }
.banner-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; }
.banner-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.45); }
.banner-dots i.on { width: 14px; background: #fff; }

.sec { background: var(--card); margin: 10px; border-radius: 10px; padding: 12px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sec-title { font-size: 16px; font-weight: 600; }
.sec-sub { font-size: 12px; color: var(--text-3); }
.sk-head-l { display: flex; align-items: center; }
.sk-flag { background: var(--danger); color: #fff; font-size: 12px; padding: 2px 7px; border-radius: 4px; margin-right: 8px; }
.sk-cd { display: flex; align-items: center; font-size: 12px; color: var(--text-2); }
.sk-cd-label { margin-right: 5px; }
.cd-box { background: #1D2129; color: #fff; font-size: 12px; padding: 2px 5px; border-radius: 4px; font-family: monospace; }
.cd-colon { margin: 0 2px; color: #1D2129; }

/* 秒杀横向滚动 */
.sk-scroll { display: flex; overflow-x: auto; gap: 10px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.sk-card { flex: 0 0 126px; scroll-snap-align: start; background: #FBFCFE; border-radius: 8px; padding: 8px; position: relative; cursor: pointer; }
.sk-img { width: 100%; height: 110px; object-fit: cover; border-radius: 6px; margin-bottom: 6px; }
.sk-name { font-size: 13px; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sk-spec { font-size: 11px; color: var(--text-3); margin: 2px 0 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sk-price { display: flex; align-items: baseline; }
.sk-num { color: var(--danger); font-size: 16px; font-weight: 700; }
.sk-old { color: var(--text-3); font-size: 11px; text-decoration: line-through; margin-left: 4px; }
.sk-price.sold, .sk-price.lock { color: var(--text-3); font-size: 13px; }
.sk-sold { font-size: 11px; color: var(--text-2); margin-top: 3px; }
.sk-row { display: flex; align-items: center; margin-top: 5px; }
.sk-bar { flex: 1; height: 4px; background: #FFE3D6; border-radius: 2px; overflow: hidden; }
.sk-bar-in { height: 100%; background: var(--orange); }
.sk-pct { font-size: 10px; color: var(--text-3); margin-left: 5px; }
.sk-btn, .sk-btn.disabled { margin-top: 8px; padding: 5px 0; text-align: center; background: var(--danger); color: #fff; border-radius: 14px; font-size: 13px; cursor: pointer; }
.sk-btn.disabled { background: #D8DBE0; cursor: not-allowed; }

/* 步进器（通用） */
.stepper { display: inline-flex; align-items: center; }
.st-btn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--brand); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; line-height: 1; user-select: none; }
.st-btn.minus { border-color: var(--line); color: var(--text-2); }
.st-input { width: 38px; height: 28px; text-align: center; border: none; font-size: 15px; outline: none; background: transparent; }
.st-val { width: 44px; height: 30px; text-align: center; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; outline: none; }

/* 平台热卖卡片 */
.card { display: flex; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.card:last-child { border-bottom: none; }
.thumb { width: 74px; height: 74px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.info { flex: 1; margin-left: 10px; min-width: 0; }
.name-row { display: flex; align-items: center; }
.bd { font-size: 10px; padding: 1px 4px; border-radius: 3px; margin-right: 4px; color: #fff; }
.bd-top { background: var(--orange); }
.bd-hot { background: var(--danger); }
.bd-cat { background: #E8FBF5; color: var(--brand); }
.name { font-size: 14px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex: 1; }
.spec { font-size: 12px; color: var(--text-2); margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.meta { font-size: 12px; color: var(--text-3); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pack { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.stock { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; flex-shrink: 0; }
.price { color: var(--danger); font-size: 17px; font-weight: 700; }
.price .unit { font-size: 12px; font-weight: 400; color: var(--text-2); }
.price.none { font-size: 13px; color: var(--text-3); font-weight: 400; }
.price.lock { font-size: 13px; color: var(--text-2); font-weight: 400; }
.action { margin-top: 10px; }
.login-btn { font-size: 12px; color: var(--brand); border: 1px solid var(--brand); border-radius: 12px; padding: 3px 10px; cursor: pointer; }
.plus { width: 30px; height: 30px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; cursor: pointer; }
.plus.disabled { background: #D8DBE0; cursor: not-allowed; }

/* 未登录遮罩 */
.fade { position: relative; margin-top: 8px; padding: 26px 0; text-align: center; background: linear-gradient(transparent, var(--bg) 60%); }
.fade-btn { display: inline-block; padding: 9px 30px; background: var(--brand); color: #fff; border-radius: 20px; font-size: 14px; cursor: pointer; }
.empty { text-align: center; color: var(--text-3); padding: 40px 0; font-size: 14px; }

/* ===== 分类页 ===== */
.search-row { display: flex; padding: 10px 12px; background: var(--bg); }
.s-box { flex: 1; display: flex; align-items: center; background: #fff; border-radius: 18px; padding: 0 12px; height: 36px; }
.s-input { flex: 1; border: none; outline: none; font-size: 14px; background: transparent; height: 100%; }
.s-clear { width: 20px; text-align: center; color: var(--text-3); font-size: 16px; cursor: pointer; }
.s-btn { margin-left: 10px; color: var(--brand); font-size: 15px; display: flex; align-items: center; cursor: pointer; }
.cat-body { display: flex; height: calc(100vh - 44px - 100px); overflow: hidden; }
.cat-side { width: 96px; background: #F0F2F5; overflow-y: auto; }
.cat-side .sitem { padding: 14px 8px; text-align: center; font-size: 13px; color: var(--text-2); cursor: pointer; position: relative; }
.cat-side .sitem.on { background: var(--bg); color: var(--brand); font-weight: 600; }
.cat-side .sitem.on::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 18px; background: var(--brand); border-radius: 2px; }
.s-count { font-size: 10px; color: var(--text-3); }
.cat-main { flex: 1; overflow-y: auto; background: var(--bg); padding: 10px; }
.count { font-size: 12px; color: var(--text-3); margin-bottom: 8px; }

/* 二级面板（展开显示） */
.sub-panel { display: flex; flex-wrap: wrap; padding: 8px; gap: 8px; background: var(--bg); }
.sub-item { padding: 5px 12px; background: #fff; border-radius: 14px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.sub-item.on { background: var(--brand); color: #fff; }

/* 分类商品卡 */
.pcard { display: flex; background: #fff; border-radius: 8px; padding: 10px; margin-bottom: 8px; cursor: pointer; }
.pcard .thumb { width: 64px; height: 64px; }
.pc-info { flex: 1; margin-left: 10px; min-width: 0; }
.pc-name { font-size: 14px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pc-spec { font-size: 12px; color: var(--text-2); margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pc-producer { font-size: 12px; color: var(--text-3); margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pc-pack { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.pc-stock { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.pc-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.pc-price { color: var(--danger); font-size: 16px; font-weight: 700; }
.pc-unit { font-size: 11px; font-weight: 400; color: var(--text-2); }
.pc-plus { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; cursor: pointer; }
.pc-plus.disabled { background: #D8DBE0; cursor: not-allowed; }
.foot { text-align: center; color: var(--text-3); font-size: 12px; padding: 12px; }

/* ===== 商品详情 ===== */
.gallery { width: 100%; height: 280px; background: #fff; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.head-card { background: #fff; padding: 14px; }
.price-big { color: var(--danger); font-size: 24px; font-weight: 700; }
.price-big .unit { font-size: 14px; font-weight: 400; color: var(--text-2); }
.price-big.none, .price-big.lock { font-size: 15px; color: var(--text-2); font-weight: 400; }
.stock-row { display: flex; align-items: center; margin-top: 8px; }
.stock-label { font-size: 13px; color: var(--text-2); margin-right: 8px; }
.stock-num { color: var(--brand); font-size: 16px; font-weight: 600; }
.stock-unit { font-size: 13px; }
.stock-out { color: var(--danger); font-size: 14px; }
.badges { margin-top: 8px; }
.title { font-size: 16px; font-weight: 600; margin-top: 6px; }
.spec { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.detail-card { background: #fff; margin: 10px; border-radius: 10px; padding: 14px; }
.d-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.d-row { display: flex; padding: 7px 0; border-bottom: 1px solid var(--line); }
.d-row:last-child { border-bottom: none; }
.d-k { width: 76px; color: var(--text-2); font-size: 13px; flex-shrink: 0; }
.d-v { flex: 1; font-size: 13px; }
.d-v-strong { color: var(--brand); }

/* 底部操作栏（商品详情） */
.bar { position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto; height: 56px; background: #fff; border-top: 1px solid var(--line); display: flex; align-items: center; padding: 0 14px; z-index: 90; }
.bar-left { flex: 1; }
.bar-login { color: var(--brand); font-size: 14px; cursor: pointer; }
.bar-right { margin-left: 12px; }
.bar-right .btn { padding: 8px 22px; border-radius: 20px; }

/* ===== 计划单（购物车） ===== */
.ci { display: flex; background: #fff; margin: 8px 10px; border-radius: 8px; padding: 12px; position: relative; cursor: pointer; }
.rm { position: absolute; top: 6px; right: 10px; width: 22px; height: 22px; color: var(--text-3); font-size: 20px; text-align: center; cursor: pointer; }
.ci-img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.ci-info { flex: 1; margin-left: 10px; min-width: 0; }
.ci-name { font-size: 14px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding-right: 18px; }
.ci-spec { font-size: 12px; color: var(--text-2); margin-top: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ci-price { margin-top: 3px; display: flex; align-items: baseline; }
.ci-ms { background: var(--danger); color: #fff; font-size: 10px; padding: 1px 4px; border-radius: 3px; margin-right: 5px; }
.ci-unit { color: var(--text-2); font-size: 12px; }
.ci-msnote { color: var(--orange); font-size: 12px; margin-top: 2px; }
.ci-stock { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.ci-note { color: var(--orange); font-size: 12px; margin-top: 2px; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; flex-shrink: 0; }
.ci-right .st { display: inline-flex; align-items: center; }
.bn { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); color: var(--text-2); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; user-select: none; }
.sum { font-size: 14px; font-weight: 600; color: var(--danger); margin-top: 6px; }

/* 计划单底部 */
.cart-bar { position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto; height: 56px; background: #fff; border-top: 1px solid var(--line); display: flex; align-items: center; padding: 0 14px; z-index: 90; }
.cart-bar .clear { color: var(--text-2); font-size: 13px; cursor: pointer; padding-right: 14px; }
.cart-bar .total { flex: 1; font-size: 13px; color: var(--text-2); }
.cart-bar .money { color: var(--danger); font-size: 16px; font-weight: 700; }
.cart-bar .submit { background: var(--brand); color: #fff; border-radius: 20px; padding: 9px 26px; font-size: 15px; cursor: pointer; border: none; }

/* ===== 确认计划（下单） ===== */
.order-list { padding: 10px; }
.order-item { display: flex; background: #fff; border-radius: 8px; padding: 10px; margin-bottom: 8px; }
.order-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 6px; }
.o-info { flex: 1; margin-left: 10px; }
.o-nm { font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.o-sp { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.o-rt { text-align: right; flex-shrink: 0; }
.o-pr { color: var(--danger); font-size: 14px; }
.o-pr .ms { background: var(--danger); color: #fff; font-size: 10px; padding: 1px 4px; border-radius: 3px; margin-left: 4px; }
.o-pr.none { color: var(--text-3); font-weight: 400; }
.o-qty { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.o-sum { font-size: 14px; font-weight: 600; color: var(--danger); margin-top: 2px; }
.o-msnote { color: var(--orange); font-size: 12px; margin-top: 2px; }

.order-foot { background: #fff; padding: 4px 14px 14px; }
.frow { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.fl { width: 76px; color: var(--text-2); font-size: 14px; flex-shrink: 0; }
.fv { flex: 1; border: none; outline: none; font-size: 14px; background: transparent; text-align: right; }
.fv-static { flex: 1; text-align: right; font-size: 14px; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cancel { color: var(--danger); font-size: 13px; margin-left: 8px; cursor: pointer; }
.frow.total-row .fl { color: var(--text); font-weight: 600; }
.total { color: var(--danger); font-size: 18px; font-weight: 700; flex: 1; text-align: right; }
.hits { margin: 6px 0; }
.hit { padding: 10px 12px; background: #fff; border-radius: 6px; margin-top: 6px; display: flex; justify-content: space-between; cursor: pointer; border: 1px solid var(--line); }
.hit-n { font-size: 14px; }
.hit-s { font-size: 12px; color: var(--text-3); }
.order-submit { width: 100%; padding: 12px; background: var(--brand); color: #fff; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; margin-top: 10px; }
.order-submit:disabled { opacity: .6; }

/* ===== 我的订单 ===== */
.picker { background: #fff; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.picker .field { display: flex; align-items: center; }
.flabel { color: var(--text-2); font-size: 14px; width: 76px; flex-shrink: 0; }
.finput { flex: 1; border: none; outline: none; font-size: 14px; height: 34px; }
.picked { display: flex; align-items: center; justify-content: space-between; }
.pt-t { font-size: 15px; }
.unlink { color: var(--danger); font-size: 13px; cursor: pointer; }
.tip { text-align: center; color: var(--text-3); padding: 40px 0; }
.ocard { background: #fff; margin: 8px 10px; border-radius: 8px; padding: 12px; cursor: pointer; }
.o-head { display: flex; justify-content: space-between; align-items: center; }
.o-no { font-size: 13px; color: var(--text-2); }
.o-status { font-size: 12px; color: var(--brand); }
.o-status.o-bad { color: var(--danger); }
.o-line { font-size: 14px; margin-top: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.o-foot { display: flex; justify-content: space-between; margin-top: 8px; }
.o-time { font-size: 12px; color: var(--text-3); }
.o-money { font-size: 14px; font-weight: 600; }
.o-rebuy-row { margin-top: 8px; text-align: right; }
.o-rebuy { display: inline-block; color: #fff; background: var(--brand); border-radius: 14px; padding: 5px 16px; font-size: 13px; cursor: pointer; }

/* ===== 订单详情 ===== */
.od-head { background: var(--brand); color: #fff; padding: 20px; }
.h-status { font-size: 20px; font-weight: 600; }
.h-no { font-size: 13px; opacity: .9; margin-top: 6px; }
.fail-box { background: #FFF3F0; border: 1px solid #FFDAD5; border-radius: 8px; padding: 12px; margin: 10px; }
.fail-t { color: var(--danger); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.fail-c { color: var(--danger); font-size: 13px; }
.od-card { background: #fff; margin: 10px; border-radius: 10px; padding: 14px; }
.c-line { display: flex; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.c-line:last-child { border-bottom: none; }
.c-line .k { width: 84px; color: var(--text-2); flex-shrink: 0; }
.c-line .v { flex: 1; }
.c-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.it { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.it:last-child { border-bottom: none; }
.it-img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.it-img.ph { background: #F0F2F5; display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 14px; }
.it-l { flex: 1; margin-left: 10px; min-width: 0; }
.it-name { font-size: 14px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.it-sub { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.it-r { text-align: right; flex-shrink: 0; }
.it-qty { font-size: 14px; }
.it-je { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.od-foot { position: fixed; bottom: 0; left: 0; right: 0; max-width: 480px; margin: 0 auto; height: 52px; background: #fff; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; z-index: 90; }
.f-label { color: var(--text-2); font-size: 14px; }
.f-money { color: var(--danger); font-size: 18px; font-weight: 700; }

/* ===== 我的 ===== */
.mine-head { background: var(--brand); padding: 24px 16px 30px; display: flex; align-items: center; color: #fff; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; margin-right: 12px; }
.avatar.gray { background: #fff; color: var(--text-3); }
.mine-who { flex: 1; min-width: 0; }
.uname { font-size: 17px; font-weight: 600; }
.ucert { display: flex; align-items: center; margin-top: 5px; }
.tag { font-size: 11px; padding: 2px 6px; border-radius: 3px; }
.tag.ok { background: rgba(255,255,255,.3); color: #fff; }
.tag.no { background: rgba(0,0,0,.18); color: rgba(255,255,255,.85); }
.company { font-size: 13px; margin-left: 8px; }
.mine-go { background: rgba(255,255,255,.2); color: #fff; border-radius: 16px; padding: 7px 20px; font-size: 14px; cursor: pointer; }
.cells { background: #fff; margin: 10px; border-radius: 10px; overflow: hidden; }
.cell { display: flex; align-items: center; padding: 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.cell:last-child { border-bottom: none; }
.cell-tile { width: 30px; height: 30px; border-radius: 6px; background: #E8FBF5; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 15px; margin-right: 12px; }
.cell-label { flex: 1; font-size: 15px; }
.arr { color: var(--text-3); font-size: 18px; }
.logout { margin: 20px 10px; padding: 13px; text-align: center; background: #fff; color: var(--danger); border-radius: 8px; font-size: 15px; cursor: pointer; }

/* ===== 登录页 ===== */
.login-wrap { padding: 40px 30px; }
.logo-box { text-align: center; margin-bottom: 30px; }
.logo { width: 60px; height: 60px; border-radius: 14px; background: var(--brand); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; }
.app-name { font-size: 20px; font-weight: 600; }
.app-sub { font-size: 13px; color: var(--text-3); margin-top: 6px; }
.form .field { background: #fff; border-radius: 8px; padding: 0 14px; display: flex; align-items: center; height: 48px; margin-bottom: 12px; }
.form .field .flabel { color: var(--text-2); font-size: 14px; width: 70px; }
.form .finput { flex: 1; border: none; outline: none; font-size: 15px; height: 100%; }
.form .btn { margin-top: 6px; }
.no-account { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 16px; }
.demo { margin-top: 30px; }
.demo-title { font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
.demo-scroll { max-height: 380px; overflow-y: auto; }
.demo-row { background: #fff; border-radius: 8px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; display: flex; flex-direction: column; }
.demo-phone { font-size: 15px; font-weight: 600; }
.demo-info { font-size: 12px; color: var(--text-3); margin-top: 3px; }

/* ===== 修改密码 ===== */
.pwd-card { background: #fff; margin: 20px 14px; border-radius: 10px; padding: 16px; }
.pwd-card .field { display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pwd-card .field .flabel { width: 90px; color: var(--text-2); font-size: 14px; flex-shrink: 0; }
.pwd-card .finput { flex: 1; border: none; outline: none; font-size: 14px; }
.pwd-btn { margin: 20px 14px; }