/* ==========================================================================
   泵易联 H5 移动端样式（小程序 / APK WebView 共用）
   依赖 design.css 的变量与基础类
   ========================================================================== */

html, body { height: 100%; }
body {
  background: var(--bg-app);
  overscroll-behavior-y: none;
  -webkit-tap-highlight-color: transparent;
}

#app { min-height: 100%; display: flex; flex-direction: column; }

/* ---------- 移动端骨架 ---------- */
.m-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg-app);
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
.m-page.no-tabbar { padding-bottom: 0; }

/* 顶部导航 */
.m-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.m-nav .nav-back {
  width: 32px; height: 32px; margin-left: -6px;
  display: grid; place-items: center; color: var(--text-primary); border-radius: var(--r-sm);
}
.m-nav .nav-back:active { background: var(--gray-100); }
.m-nav .nav-title { font-size: 16px; font-weight: 600; letter-spacing: -.01em; flex: 1; min-width: 0; }
.m-nav .nav-right { display: flex; align-items: center; gap: 6px; }

/* 主内容 */
.m-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.m-body.flush { padding: 0; gap: 0; }

/* ---------- 底部 TabBar ---------- */
.m-tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: stretch;
  height: calc(58px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--border);
}
.m-tabbar .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: var(--text-tertiary); font-size: 11px; font-weight: 500;
  position: relative; transition: color var(--dur-fast);
}
.m-tabbar .tab.is-active { color: var(--primary-500); }
.m-tabbar .tab svg { width: 22px; height: 22px; }
.m-tabbar .tab .badge {
  position: absolute; top: 7px; left: 50%; margin-left: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--brand-red); color: #fff; border-radius: var(--r-full);
  font-size: 10px; font-weight: 600; display: grid; place-items: center;
  border: 1.5px solid #fff;
}

/* ---------- 角色工作台头部 ---------- */
.m-hero {
  position: relative; overflow: hidden;
  padding: 18px 16px 22px;
  background: linear-gradient(135deg, #0E1420 0%, #1A2C4A 55%, #16406E 100%);
  color: #fff;
}
.m-hero::after {
  content: ""; position: absolute; right: -60px; top: -70px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,199,224,.38) 0%, transparent 68%);
}
.m-hero::before {
  content: ""; position: absolute; left: -40px; bottom: -90px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,104,227,.4) 0%, transparent 70%);
}
.m-hero-inner { position: relative; z-index: 1; }
.m-hero .hello { font-size: 12px; opacity: .68; margin-bottom: 3px; }
.m-hero .name { font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.m-hero .role-chip {
  display: inline-flex; align-items: center; gap: 4px;
  height: 21px; padding: 0 8px; margin-top: 7px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-full); font-size: 11px; font-weight: 500;
}

/* KPI 行 */
.m-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-top: 16px;
}
.m-kpi {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 9px 8px; text-align: center;
  backdrop-filter: blur(6px);
}
.m-kpi .num { font-size: 19px; font-weight: 600; font-family: var(--font-num); letter-spacing: -.02em; line-height: 1.2; }
.m-kpi .lbl { font-size: 10.5px; opacity: .72; margin-top: 1px; }
.m-kpi.is-warn .num { color: #FFC9A3; }

/* ---------- 快捷入口 ---------- */
.m-quick {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  background: #fff; border-radius: var(--r-lg); padding: 14px 6px;
  box-shadow: var(--shadow-xs); border: 1px solid var(--border);
}
.m-quick .q {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 4px 0; border-radius: var(--r-md);
}
.m-quick .q:active { background: var(--gray-50); }
.m-quick .q .qi {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; color: #fff;
}
.m-quick .q .qt { font-size: 11.5px; color: var(--text-secondary); font-weight: 500; }

/* ---------- 卡片 ---------- */
.m-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.m-card-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 14px; border-bottom: 1px solid var(--border);
}
.m-card-hd .t { font-size: 14.5px; font-weight: 600; }
.m-card-bd { padding: 14px; }
.m-card-bd.flush { padding: 0; }

/* 区块标题 */
.m-sec-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2px 2px 0; font-size: 13px; font-weight: 600; color: var(--text-secondary);
}
.m-sec-title .more { font-size: 12px; color: var(--text-tertiary); font-weight: 400; }

/* ---------- 工单卡片 ---------- */
.m-order {
  display: block; background: #fff;
  border-radius: var(--r-lg); border: 1px solid var(--border);
  padding: 13px 14px; box-shadow: var(--shadow-xs);
  transition: transform .1s, box-shadow var(--dur);
}
.m-order:active { transform: scale(.994); box-shadow: var(--shadow-sm); }
.m-order-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.m-order-no { font-family: var(--font-num); font-size: 12px; color: var(--text-tertiary); letter-spacing: -.01em; }
.m-order-cust { display: flex; align-items: baseline; gap: 8px; margin-bottom: 5px; }
.m-order-cust .cn { font-size: 15.5px; font-weight: 600; color: var(--text-primary); letter-spacing: -.01em; }
.m-order-cust .cp { font-size: 12.5px; color: var(--text-tertiary); font-family: var(--font-num); }
.m-order-addr { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 9px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-order-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.m-order-ft {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 11px; padding-top: 10px; border-top: 1px dashed var(--border);
}
.m-order-ft .time { font-size: 11.5px; color: var(--text-tertiary); font-family: var(--font-num); }
.m-order-ft .fee { font-size: 13px; font-weight: 600; color: var(--brand-red); font-family: var(--font-num); }

/* ---------- 筛选条 ---------- */
.m-filter {
  position: sticky; top: 52px; z-index: 40;
  display: flex; gap: 6px; padding: 10px 14px;
  background: rgba(245,247,250,.95); backdrop-filter: blur(10px);
  overflow-x: auto; scrollbar-width: none;
}
.m-filter::-webkit-scrollbar { display: none; }
.m-chip {
  flex: none; height: 30px; padding: 0 13px;
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-full);
  font-size: 12.5px; color: var(--text-secondary); font-weight: 500;
  transition: all var(--dur-fast); white-space: nowrap;
}
.m-chip.is-active {
  background: var(--primary-500); border-color: var(--primary-500); color: #fff;
}
.m-chip .cnt { font-size: 11px; opacity: .7; }

/* ---------- 表单 ---------- */
.m-form { display: flex; flex-direction: column; gap: 0; }
.m-field {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-bottom: 1px solid var(--border);
  background: #fff;
}
.m-field:last-child { border-bottom: none; }
.m-field-label {
  flex: none; width: 88px; padding-top: 10px;
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.4;
}
.m-field-label .req { color: var(--danger-500); margin-left: 1px; }
/* 所有位置的必填星号统一标红（含卡片标题内的 .req） */
.req { color: var(--danger-500); font-weight: 600; }
.m-card-hd .t .req { color: var(--danger-500); }
.m-field-ctrl { flex: 1; min-width: 0; }
.m-field-tip { font-size: 11.5px; color: var(--text-tertiary); margin-top: 4px; line-height: 1.4; }
/* 纵向布局：子元素必须撑满整行（否则分段按钮/文本域会被压窄换行） */
.m-field.is-block { flex-direction: column; align-items: stretch; gap: 7px; }
.m-field.is-block > .m-field-ctrl { width: 100%; }
.m-field.is-block .m-segment { width: 100%; }
.m-field.is-block .m-field-label { width: auto; padding-top: 0; }
.m-field.is-error { background: #FFFCFC; }

/* 移动端输入框更大 */
.m-field .input, .m-field .select, .m-field .textarea {
  border-color: transparent; background: var(--gray-50);
  height: 40px; font-size: 15px; border-radius: var(--r-md);
}
.m-field .textarea { height: auto; min-height: 76px; padding: 10px 11px; }
.m-field .input:focus, .m-field .select:focus, .m-field .textarea:focus {
  background: #fff; border-color: var(--primary-500); box-shadow: var(--shadow-focus);
}

/* 分段控件 */
.m-segment {
  display: flex; background: var(--gray-100); border-radius: var(--r-md);
  padding: 3px; gap: 3px;
}
.m-segment .seg {
  flex: 1; min-width: 0; height: 34px; border-radius: 6px;
  font-size: 13.5px; color: var(--text-secondary); font-weight: 500;
  white-space: nowrap; transition: all var(--dur-fast);
}
.m-segment .seg.is-active {
  background: #fff; color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(16,24,40,.1); font-weight: 600;
}

/* 图片上传 */
.m-uploader { display: flex; flex-wrap: wrap; gap: 8px; }
.m-uploader .u-item, .m-uploader .u-add {
  width: 74px; height: 74px; border-radius: var(--r-md); position: relative; overflow: hidden;
}
.m-uploader .u-item img { width: 100%; height: 100%; object-fit: cover; }
.m-uploader .u-item .del {
  position: absolute; top: 2px; right: 2px;
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(16,24,40,.66); color: #fff;
  display: grid; place-items: center; font-size: 13px; line-height: 1;
}
.m-uploader .u-add {
  display: grid; place-items: center; gap: 2px;
  background: var(--gray-50); border: 1px dashed var(--border-strong);
  color: var(--text-tertiary); font-size: 11px;
}
.m-uploader .u-add:active { background: var(--gray-100); }

/* 独立使用的上传占位块（实名认证等页面不包在 .m-uploader 里） */
.u-add {
  display: grid; place-items: center; gap: 2px;
  background: var(--gray-50); border: 1px dashed var(--border-strong);
  color: var(--text-tertiary); font-size: 11px;
  cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  min-width: 64px; min-height: 64px;
}
.u-add:active { background: var(--gray-100); }
.u-add svg { pointer-events: none; }
.u-add span { pointer-events: none; line-height: 1.3; }

/* ---------- 底部操作栏 ---------- */
.m-actions {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px; padding: 12px 14px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.m-actions .btn { flex: 1; height: 46px; font-size: 15.5px; font-weight: 600; border-radius: var(--r-lg); }

/* ---------- 时间轴 ---------- */
.m-timeline { position: relative; padding-left: 26px; }
.m-timeline::before {
  content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px;
  width: 2px; background: var(--border);
}
.m-tl-item { position: relative; padding-bottom: 18px; }
.m-tl-item:last-child { padding-bottom: 0; }
.m-tl-item .dot {
  position: absolute; left: -26px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--gray-300);
}
.m-tl-item.is-done .dot { border-color: var(--success-500); background: var(--success-500); }
.m-tl-item.is-current .dot { border-color: var(--primary-500); background: #fff; box-shadow: 0 0 0 4px var(--primary-50); }
.m-tl-item .tl-t { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.m-tl-item .tl-m { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; line-height: 1.5; }
.m-tl-item .tl-time { font-size: 11px; color: var(--text-tertiary); font-family: var(--font-num); margin-top: 3px; }

/* ---------- 信息行 ---------- */
.m-info { display: flex; flex-direction: column; }
.m-info-row {
  display: flex; gap: 12px; padding: 10px 14px;
  border-bottom: 1px solid var(--border); font-size: 13.5px;
}
.m-info-row:last-child { border-bottom: none; }
.m-info-row .k { flex: none; width: 84px; color: var(--text-tertiary); }
.m-info-row .v { flex: 1; min-width: 0; color: var(--text-primary); word-break: break-word; text-align: right; }
.m-info-row .v.mono { font-family: var(--font-num); }
.m-info-row .v.strong { font-weight: 600; }
.m-info-row .v.fee { font-weight: 600; color: var(--brand-red); font-family: var(--font-num); }

/* ---------- 登录页 ---------- */
.m-login {
  min-height: 100vh; display: flex; flex-direction: column;
  background: linear-gradient(165deg, #0E1420 0%, #16253D 42%, #1B3A63 72%, #1E4B7A 100%);
  position: relative; overflow: hidden;
}
.m-login::before {
  content: ""; position: absolute; top: -90px; right: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,199,224,.34), transparent 66%);
}
.m-login::after {
  content: ""; position: absolute; bottom: -120px; left: -90px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,104,227,.32), transparent 68%);
}
.m-login-top {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px 28px 20px; color: #fff;
}
.m-login-logo {
  width: 66px; height: 66px; border-radius: 17px;
  background: #fff; padding: 7px; margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
}
.m-login-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 11px; }
.m-login-title { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.m-login-sub { font-size: 13.5px; opacity: .62; margin-top: 8px; line-height: 1.6; }
.m-login-card {
  position: relative; z-index: 1;
  background: #fff; border-radius: 22px 22px 0 0;
  padding: 26px 22px calc(26px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px rgba(0,0,0,.16);
}
.m-login-card h2 { font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.m-login-tabs { display: flex; gap: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.m-login-tabs .lt {
  padding: 0 2px 10px; font-size: 14px; color: var(--text-tertiary);
  font-weight: 500; position: relative;
}
.m-login-tabs .lt.is-active { color: var(--text-primary); font-weight: 600; }
.m-login-tabs .lt.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--brand-red); border-radius: 2px;
}

/* ---------- 空态 / 加载 ---------- */
.m-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 56px 24px; text-align: center;
}
.m-empty .ico {
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--gray-100); display: grid; place-items: center; color: var(--gray-300);
  margin-bottom: 2px;
}
.m-empty .t { font-size: 14px; color: var(--text-secondary); font-weight: 500; }
.m-empty .d { font-size: 12.5px; color: var(--text-tertiary); max-width: 240px; line-height: 1.5; }

/* ---------- 顶部下拉刷新提示 ---------- */
.m-loading {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 22px; font-size: 12.5px; color: var(--text-tertiary);
}
.m-loadmore {
  padding: 16px; text-align: center; font-size: 12.5px; color: var(--text-tertiary);
}

/* ---------- 师傅工作台专用 ---------- */
.m-task {
  background: #fff; border-radius: var(--r-lg); border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow-xs);
}
.m-task-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; background: linear-gradient(90deg, #F8FAFD, #fff);
  border-bottom: 1px solid var(--border);
}
.m-task-hd .t { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.m-task-bd { padding: 13px 14px; }
.m-task-ft {
  display: flex; gap: 8px; padding: 0 14px 13px;
}
.m-task-ft .btn { flex: 1; height: 40px; border-radius: var(--r-md); font-weight: 600; }

/* 步骤条 */
.m-steps { display: flex; align-items: center; gap: 0; padding: 14px; background: #fff; }
.m-steps .st {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px;
  position: relative;
}
.m-steps .st::before {
  content: ""; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px;
  background: var(--border); z-index: 0;
}
.m-steps .st:first-child::before { display: none; }
.m-steps .st.is-done::before { background: var(--success-500); }
.m-steps .st .sc {
  width: 20px; height: 20px; border-radius: 50%; z-index: 1;
  background: var(--gray-200); color: var(--text-tertiary);
  display: grid; place-items: center; font-size: 10px; font-weight: 600;
}
.m-steps .st.is-done .sc { background: var(--success-500); color: #fff; }
.m-steps .st.is-current .sc { background: var(--primary-500); color: #fff; box-shadow: 0 0 0 3px var(--primary-50); }
.m-steps .st .sl { font-size: 10.5px; color: var(--text-tertiary); white-space: nowrap; }
.m-steps .st.is-done .sl, .m-steps .st.is-current .sl { color: var(--text-secondary); font-weight: 500; }

/* ==========================================================================
   小程序客户端（买家）—— 产品 / 服务 / 我的
   ========================================================================== */

/* 简洁表单行（客户端页面专用，比 PC 的 .field 更紧凑） */
.fld {
  display: block; padding: 11px 0; border-bottom: 1px solid var(--border);
}
.fld:last-child { border-bottom: 0; }
.fld > span {
  display: block; font-size: 12px; color: var(--text-tertiary); margin-bottom: 5px;
}
.fld input, .fld select, .fld textarea {
  width: 100%; border: 0; outline: 0; background: transparent;
  font-size: 15px; color: var(--text-primary); font-family: inherit;
}
.fld input::placeholder { color: var(--gray-300, #D0D5DD); }

.hint {
  font-size: 12px; color: var(--text-tertiary); line-height: 1.6;
  padding: 10px 12px; background: var(--warning-50); border-radius: var(--r-sm);
}
.hint.center { text-align: center; background: transparent; padding: 18px 12px; }
.hint a { color: var(--primary-500); text-decoration: none; font-weight: 500; }

/* 产品列表 */
.c-hero {
  padding: 18px 16px; border-radius: var(--r-lg); color: #fff;
  background: linear-gradient(135deg, #0E1420 0%, #1A2C4A 60%, #16406E 100%);
}
.c-hero-t { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.c-hero-s { font-size: 12px; opacity: .78; margin-top: 5px; }

.c-prod {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 10px; box-shadow: var(--shadow-xs);
}
.c-prod:active { background: var(--gray-50); }
.c-prod-img {
  width: 68px; height: 68px; flex: 0 0 68px; border-radius: var(--r-sm);
  background: var(--gray-100) center/cover no-repeat;
  display: grid; place-items: center; color: var(--gray-400, #98A2B3);
}
.c-prod-main { flex: 1; min-width: 0; }
.c-prod-name { font-size: 14.5px; font-weight: 600; }
.c-prod-model { font-size: 11.5px; color: var(--primary-600); margin-top: 2px; }
.c-prod-desc { font-size: 11.5px; color: var(--text-tertiary); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-prod-arrow { color: var(--gray-300, #D0D5DD); flex: 0 0 auto; }

/* 产品详情 */
.c-detail-img {
  width: 100%; height: 190px; border-radius: var(--r-lg);
  background: var(--gray-100) center/cover no-repeat;
  display: grid; place-items: center; color: var(--gray-400, #98A2B3);
}
.c-detail-name { font-size: 18px; font-weight: 700; }
.c-detail-meta { font-size: 12.5px; color: var(--text-tertiary); margin-top: 4px; }
.c-intro { font-size: 13.5px; line-height: 1.75; color: var(--text-secondary); white-space: pre-wrap; }
.c-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.c-gallery-item { padding-top: 100%; border-radius: var(--r-sm); background: var(--gray-100) center/cover no-repeat; }
.c-actions { display: flex; gap: 10px; padding: 6px 0 12px; }
.c-actions .btn { flex: 1; }

/* 服务入口 */
.c-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c-entry-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 14px 12px; box-shadow: var(--shadow-xs);
}
.c-entry-item:active { background: var(--gray-50); }
.c-entry-ic {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: grid; place-items: center; margin-bottom: 8px;
}
.c-entry-ic.ic-warranty { background: var(--warning-50); color: var(--warning-500); }
.c-entry-ic.ic-install { background: var(--primary-50); color: var(--primary-500); }
.c-entry-t { font-size: 14px; font-weight: 600; }
.c-entry-s { font-size: 11.5px; color: var(--text-tertiary); margin-top: 3px; }

.c-chip {
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-full);
  white-space: nowrap;
}
.c-chip.is-doing { background: var(--primary-50); color: var(--primary-600); }
.c-chip.is-done { background: var(--success-50); color: var(--success-500); }

/* 进度步骤 */
.c-steps { display: flex; align-items: flex-start; gap: 0; padding: 10px 2px 4px; }
.c-step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.c-step::before {
  content: ""; position: absolute; top: 5px; left: -50%; width: 100%; height: 2px; background: var(--border);
}
.c-step:first-child::before { display: none; }
.c-step.done::before { background: var(--success-500); }
.c-step .dot {
  width: 11px; height: 11px; border-radius: 50%; background: var(--gray-200); z-index: 1;
}
.c-step.done .dot { background: var(--success-500); box-shadow: 0 0 0 3px var(--success-50); }
.c-step .lb { font-size: 10px; color: var(--text-tertiary); white-space: nowrap; }
.c-step.done .lb { color: var(--text-secondary); font-weight: 500; }

/* 我的 */
.c-me {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 14px; box-shadow: var(--shadow-xs);
}
.c-me-avatar {
  width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%;
  background: var(--gray-100) center/cover no-repeat;
  display: grid; place-items: center; color: var(--gray-400, #98A2B3);
}
.c-me-main { flex: 1; min-width: 0; }
.c-me-name { font-size: 16px; font-weight: 700; }
.c-me-phone { font-size: 12px; color: var(--text-tertiary); margin-top: 3px; }
.c-avatar-row { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; }

.c-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.c-kpi {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 12px 8px; text-align: center; box-shadow: var(--shadow-xs);
}
.c-kpi .n { font-size: 19px; font-weight: 700; color: var(--text-primary); }
.c-kpi .l { font-size: 11.5px; color: var(--text-tertiary); margin-top: 2px; }

.c-row {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px; border-bottom: 1px solid var(--border);
}
.c-row:last-child { border-bottom: 0; }
.c-row:active { background: var(--gray-50); }
.c-row-ic { color: var(--text-tertiary); display: grid; place-items: center; }
.c-row-t { flex: 1; font-size: 14px; }
.c-row-a { color: var(--gray-300, #D0D5DD); display: grid; place-items: center; }
.c-pwd { padding: 4px 14px 14px; }

/* 设备档案 */
.c-dev-hd { display: flex; align-items: center; gap: 8px; }
.c-dev-name { flex: 1; font-size: 14.5px; font-weight: 600; }
.c-dev-act { display: flex; gap: 4px; }
.c-dev-meta { display: flex; gap: 10px; margin-top: 6px; font-size: 11.5px; color: var(--text-tertiary); flex-wrap: wrap; }
.c-dev-addr { margin-top: 6px; font-size: 12px; color: var(--text-secondary); }

/* 弹窗 */
.c-modal {
  position: fixed; inset: 0; z-index: 200; background: rgba(14, 20, 32, .5);
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
}
.c-modal-box {
  width: 100%; max-height: 86vh; overflow-y: auto;
  background: #fff; border-radius: 18px 18px 0 0; padding: 18px 16px 20px;
}
.c-modal-hd { font-size: 16px; font-weight: 700; margin-bottom: 6px; text-align: center; }
.c-modal-ft { display: flex; gap: 10px; padding-top: 16px; }
.c-modal-ft .btn { flex: 1; }

/* ===== 客户进度查询：竖版时间轴 ===== */
.c-tl { padding: 4px 0 2px; }
.c-tl-item { display: flex; gap: 10px; }
.c-tl-rail { position: relative; width: 14px; flex: 0 0 14px; display: flex; flex-direction: column; align-items: center; }
.c-tl-dot { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; border: 2px solid #e5e7eb; margin-top: 5px; flex: 0 0 auto; }
.c-tl-line { flex: 1 1 auto; width: 2px; background: #eef0f3; margin: 3px 0 0; }
.c-tl-item.done .c-tl-dot { background: #2563eb; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.c-tl-item.done .c-tl-line { background: #bfdbfe; }
.c-tl-body { padding-bottom: 16px; min-width: 0; }
.c-tl-t { font-size: 14px; color: #6b7280; line-height: 1.5; }
.c-tl-item.done .c-tl-t { color: #111827; font-weight: 600; }
.c-tl-time { font-size: 12px; color: #9ca3af; margin-top: 2px; }
.c-tl-note { font-size: 12px; color: #6b7280; margin-top: 2px; word-break: break-all; }

/* ===== 首页 Banner 轮播 ===== */
.c-bn { position: relative; margin: 12px 14px 4px; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(15,23,42,.10); }
.c-bn-item { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.c-bn-item.on { position: relative; opacity: 1; pointer-events: auto; }
.c-bn-item img { display: block; width: 100%; height: 168px; object-fit: cover; }
.c-bn-txt { position: absolute; left: 14px; right: 14px; bottom: 12px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.c-bn-t { font-size: 17px; font-weight: 700; }
.c-bn-s { font-size: 12px; opacity: .92; margin-top: 2px; }
.c-bn-dots { position: absolute; right: 12px; bottom: 8px; display: flex; gap: 5px; }
.c-bn-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.c-bn-dot.on { background: #fff; width: 14px; border-radius: 3px; }

/* ==========================================================================
   主页（原「服务」）—— 参照家电服务首页版式
   ========================================================================== */
.hm-nav{display:flex;align-items:center;justify-content:space-between;padding:0 16px;height:52px;background:#fff}
.hm-brand{display:flex;align-items:center;gap:8px;min-width:0}
.hm-logo{width:26px;height:26px;border-radius:6px;object-fit:contain;background:#eef3fb}
.hm-brand-t{font-size:16px;font-weight:600;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-body{padding:0 0 24px;background:#f4f7fc}
.hm-top{background:linear-gradient(180deg,#8fc0f5 0%,#b6d6f9 26%,#dcebfc 55%,#eef5fe 78%,#f6faff 100%);padding:14px 12px 10px}
.hm-my{background:#fff;border-radius:20px;padding:16px 14px 12px;box-shadow:0 10px 26px rgba(46,96,178,.14)}
.hm-my-hd{display:flex;align-items:center;gap:6px;font-size:16px;font-weight:600;color:#1f2937}
.hm-q{width:15px;height:15px;border-radius:50%;background:#e5eaf3;color:#8b96a8;font-size:11px;font-style:normal;display:inline-flex;align-items:center;justify-content:center}
.hm-quick{display:flex;justify-content:space-between;margin:16px 0 10px}
.hm-quick-i{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px}
.hm-quick-ic{width:42px;height:42px;border-radius:50%;background:#eaf2ff;color:#3f7bff;display:flex;align-items:center;justify-content:center}
.hm-quick-t{font-size:12px;color:#4b5563}
.hm-my-ft{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f2f6;padding-top:12px}
.hm-my-tip{font-size:13px;color:#374151}
.hm-add{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 18px;border:0;border-radius:20px;background:#1e63ff;color:#fff;font-size:14px}
.hm-shortcuts{display:flex;justify-content:space-between;margin:14px 2px 6px}
.hm-short{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}
.hm-short-ic{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#2f7bff;
  background:radial-gradient(circle at 32% 26%,#ffffff 0%,#f4f9ff 52%,#dcecff 100%);
  box-shadow:0 8px 20px rgba(43,104,200,.20),inset 0 2px 3px rgba(255,255,255,.95)}
.hm-short-img{width:22px;height:22px;object-fit:contain}
.hm-short-t{font-size:13px;color:#1f3f78;font-weight:600}
.hm-sec{background:#fff;margin:12px 12px 0;border-radius:18px;padding:16px 14px 8px;box-shadow:0 6px 18px rgba(60,110,190,.07)}
.hm-sec-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.hm-sec-t{font-size:15px;font-weight:600;color:#1f2937}
.hm-sec-more{font-size:12px;color:#8b96a8}
.hm-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px 4px;padding-bottom:8px}
.hm-grid-i{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0}
.hm-grid-ic{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#fff}
.hm-grid-img{width:24px;height:24px;object-fit:contain}
.hm-grid-t{font-size:12px;color:#374151;text-align:center;line-height:1.25}
.hm-grid-s{font-size:10px;color:#9aa4b2;text-align:center;line-height:1.2}
.hm-hotline{display:flex;align-items:center;gap:12px;margin:10px 12px 0;padding:14px 16px;border-radius:16px;background:linear-gradient(90deg,#eef4ff,#e4efff)}
.hm-hotline-ic{width:36px;height:36px;border-radius:50%;background:#fff;color:#1e63ff;display:flex;align-items:center;justify-content:center}
.hm-hotline-body{flex:1;min-width:0}
.hm-hotline-s{font-size:12px;color:#6b7280}
.hm-hotline-n{font-size:18px;font-weight:700;color:#1e63ff;letter-spacing:.5px}
.hm-hotline-go{color:#9aa4b2}
.hm-banner{margin:10px 12px 0;border-radius:16px;overflow:hidden}
.hm-banner-img{width:100%;display:block;min-height:96px;object-fit:cover;background:#dbe7fb}
.hm-prods{display:flex;flex-direction:column;gap:10px;padding-bottom:10px}
.hm-prod{display:flex;gap:10px;padding:10px;border-radius:12px;background:#f8fafd}
.hm-prod-img{width:78px;height:78px;border-radius:10px;object-fit:cover;background:#eef2f8;flex:0 0 auto}
.hm-prod-body{flex:1;min-width:0}
.hm-prod-t{font-size:14px;font-weight:600;color:#1f2937;margin-bottom:3px}
.hm-prod-m{font-size:12px;color:#4d7cf3;margin-bottom:3px}
.hm-prod-d{font-size:12px;color:#8b96a8;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-art{display:flex;gap:12px;padding:12px 0;border-top:1px solid #f2f4f8;align-items:center}
.hm-art:first-of-type{border-top:0}
.hm-art-img{width:48%;aspect-ratio:1/1;height:auto;border-radius:12px;object-fit:cover;background:#eef2f8;flex:0 0 auto}
.hm-art-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:8px}
.hm-art-t{font-size:15px;font-weight:600;color:#1f2937;line-height:1.45}
.hm-art-s{font-size:12px;color:#8b96a8;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hm-art-h{font-size:19px;font-weight:700;color:#111827;margin:2px 0 8px}
.hm-art-meta{font-size:12px;color:#98a2b3;margin-bottom:12px}
.hm-article{font-size:15px;line-height:1.75;color:#374151}
.hm-article h3{font-size:16px;color:#111827;margin:16px 0 8px}
.hm-article p{margin:0 0 10px}
.hm-article img{max-width:100%;border-radius:10px}
.hm-loading{padding:60px 0;text-align:center;color:#98a2b3;font-size:13px}
.hm-foot{text-align:center;color:#a8b2c1;font-size:12px;padding:18px 0 6px}

/* ============ 首次进入：全屏 banner ============ */
.wl-wrap{min-height:100vh;background:#0f172a;display:flex;flex-direction:column;padding-bottom:calc(58px + env(safe-area-inset-bottom, 0px));box-sizing:border-box}
.wl-slide{position:relative;flex:1;min-height:0;overflow:hidden;background:linear-gradient(180deg,#dbe8ff 0%,#eef4ff 55%,#f7faff 100%);display:flex;flex-direction:column}
.wl-img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.wl-mask{position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,20,40,.18) 0%,rgba(8,20,40,0) 28%,rgba(8,20,40,.10) 62%,rgba(8,20,40,.55) 100%)}
.wl-logo{position:relative;z-index:3;display:flex;align-items:center;gap:8px;padding:calc(env(safe-area-inset-top, 0px) + 14px) 18px 14px;color:#fff;font-size:16px;font-weight:600;text-shadow:0 1px 6px rgba(0,0,0,.25)}
.wl-logo img{width:28px;height:28px;border-radius:7px;object-fit:contain;background:#fff}
.wl-copy{position:relative;z-index:2;margin-top:auto;padding:0 26px 26px;text-align:center;color:#fff}
.wl-t{font-size:26px;font-weight:700;line-height:1.35;text-shadow:0 2px 10px rgba(0,0,0,.35)}
.wl-s{font-size:14px;opacity:.92;margin-top:8px;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.wl-btn{margin-top:22px;height:44px;padding:0 40px;border:0;border-radius:24px;background:rgba(255,255,255,.94);color:#1c3d7a;font-size:15px;font-weight:600;box-shadow:0 8px 22px rgba(10,30,70,.22)}
.wl-dots{position:relative;z-index:3;display:flex;justify-content:center;gap:7px;padding-bottom:8px}
.wl-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.55)}
.wl-dot.on{width:18px;border-radius:4px;background:#fff}
.wl-swipe{position:relative;z-index:4;text-align:center;color:#7b8798;font-size:12px;padding:0 0 34px;letter-spacing:.5px}
.wl-arrow{display:inline-block;margin-left:4px;font-size:14px;transform:translateY(-1px)}
.wl-tabbar{height:56px;display:flex;background:#fff;border-top:1px solid #eceff5}
.wl-tab{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:11px;color:#7c8798}
.wl-tab:first-child{color:#1e63ff;font-weight:600}
.wl-ic{display:flex}

.hm-art-ph{display:flex;align-items:center;justify-content:center;color:#8db4ee;width:36%;aspect-ratio:4/3;height:auto;
  background:linear-gradient(135deg,#eaf3ff 0%,#d8e9ff 55%,#eef6ff 100%)}

/* ==================== 我的（与主页同风格） ==================== */
.mine-page{background:linear-gradient(180deg,#8fc0f5 0%,#b6d6f9 22%,#e3effd 52%,#f5f9ff 78%,#f7fafd 100%)}
.mine-nav{background:transparent !important;border-bottom:0;box-shadow:none}
.mine-nav .nav-title{color:#12305e}
.mine-top{padding:4px 12px 6px}
.mine-card{background:#fff;border-radius:20px;padding:18px 16px 6px;box-shadow:0 10px 26px rgba(46,96,178,.16)}
.mine-me{display:flex;align-items:center;gap:12px}
.mine-avatar{width:58px;height:58px;border-radius:50%;flex:0 0 auto;display:flex;align-items:center;justify-content:center;
  color:#2f7bff;background:radial-gradient(circle at 32% 26%,#ffffff 0%,#eef6ff 55%,#d8e9ff 100%);
  box-shadow:0 6px 16px rgba(43,104,200,.18),inset 0 1px 0 #fff;background-size:cover;background-position:center}
.mine-me-main{flex:1;min-width:0}
.mine-name{font-size:17px;font-weight:700;color:#16233a}
.mine-phone{font-size:12.5px;color:#6b7a90;margin-top:3px}
.mine-edit{flex:0 0 auto;height:30px;padding:0 14px;border-radius:15px;border:1px solid #cfe1fb;background:#f2f8ff;
  color:#2f7bff;font-size:12.5px}
.mine-stat{display:flex;margin-top:16px;border-top:1px solid #f1f5fb;padding:12px 0 8px}
.mine-stat-i{flex:1;text-align:center}
.mine-stat-i .n{font-size:19px;font-weight:700;color:#16233a}
.mine-stat-i .l{font-size:12px;color:#7b8798;margin-top:2px}
.mine-short{display:flex;gap:6px;margin-top:8px}
.mine-short-i{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;padding:6px 0}
.mine-short-ic{width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#2f7bff;
  background:radial-gradient(circle at 32% 26%,#ffffff 0%,#f4f9ff 52%,#dcecff 100%);
  box-shadow:0 8px 20px rgba(43,104,200,.20),inset 0 2px 3px rgba(255,255,255,.95)}
.mine-short-t{font-size:12.5px;color:#1f3f78;font-weight:600}
.mine-body{padding:6px 12px 0}
.mine-sec{background:#fff;border-radius:18px;padding:6px 14px 8px;margin-top:12px;box-shadow:0 6px 18px rgba(60,110,190,.08)}
.mine-sec-hd{font-size:14px;font-weight:700;color:#16233a;padding:12px 0 6px}
.mine-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #f4f7fc}
.mine-row-ic{width:32px;height:32px;border-radius:50%;flex:0 0 auto;display:flex;align-items:center;justify-content:center;color:#2f7bff;background:#eef5ff}
.mine-row-t{flex:1;min-width:0;font-size:14px;color:#243244}
.mine-row-a{color:#b8c4d4;display:flex}
.mine-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px 0;padding:4px 0 10px;border-top:1px solid #f4f7fc}
.mine-cell{display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 0}
.mine-cell-ic{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#2f7bff;
  background:radial-gradient(circle at 32% 26%,#ffffff 0%,#f4f9ff 52%,#dcecff 100%);
  box-shadow:0 6px 16px rgba(43,104,200,.16),inset 0 1px 0 #fff}
.mine-cell-t{font-size:12px;color:#2b3b52}
.mine-pwd{padding:4px 0 10px;border-top:1px solid #f4f7fc}
.mine-foot{text-align:center;font-size:12px;color:#9aa7b8;padding:16px 0 22px}

/* 首屏无轮播图时的品牌兜底背景 */
.wl-slide.is-brand { background: radial-gradient(130% 90% at 72% 18%, #1B4B7E 0%, #122C49 42%, #0B1826 100%); }
.wl-slide.is-brand::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('/assets/img/logo-white.png') center 38% / 46% no-repeat;
  opacity: .085;
}
.wl-slide.is-brand .wl-mask { background: linear-gradient(180deg, rgba(6,16,28,.15) 0%, rgba(6,16,28,.05) 45%, rgba(6,16,28,.72) 100%); }

/* ---------- 首页顶部轮播 ---------- */
.hm-carousel { position: relative; margin: 10px 12px 12px; border-radius: 16px; overflow: hidden; background: #eaf1fb; box-shadow: 0 6px 18px rgba(46,96,178,.12); }
.hm-cb-track { display: flex; transition: transform .45s cubic-bezier(.22,.61,.36,1); }
.hm-cb-item { flex: 0 0 100%; }
.hm-cb-item img { width: 100%; display: block; height: 176px; object-fit: cover; }
.hm-cb-dots { position: absolute; left: 0; right: 0; bottom: 9px; display: flex; justify-content: center; gap: 5px; }
.hm-cb-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.6); transition: all .2s; }
.hm-cb-dot.on { width: 16px; border-radius: 3px; background: #fff; }

.wl-dot{background: rgba(255,255,255,.45) !important;}
.wl-dot.on{background: #fff !important;}

/* ---------- 首屏底部遮挡弧线（凹陷，两层） ---------- */
.wl-wave {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; pointer-events: none;
  background-repeat: no-repeat; background-size: 100% 100%; display: block;
}
.wl-wave.is-a {
  bottom: 46px; height: 96px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,10 Q500,58 1000,10 L1000,100 L0,100 Z' fill='%23ffffff' fill-opacity='0.5'/%3E%3C/svg%3E");
}
.wl-wave.is-b {
  height: 100px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 100' preserveAspectRatio='none'%3E%3Cpath d='M0,14 Q500,68 1000,14 L1000,100 L0,100 Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* 首屏顶部不显示内容（自定义导航下留出状态栏安全区） */
.wl-slide { padding-top: env(safe-area-inset-top, 0px); box-sizing: border-box; }
/* 主页「服务」锚点：滚动留一点顶部余量 */
#hm-services { scroll-margin-top: 8px; height: 1px; }

/* ---------- 首屏模板样式（后台可选） ---------- */
/* wave：默认，文字在图片上 + 底部白弧（现有样式） */
/* center：文字与按钮居中卡片，底部不加白弧 */
.wl-st-center .wl-wave { display: none; }
.wl-st-center .wl-copy {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  margin: 0 26px; padding: 26px 22px; border-radius: 18px;
  background: rgba(8, 20, 38, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.wl-st-center .wl-t { font-size: 24px; }
.wl-st-center .wl-swipe { color: rgba(255,255,255,.9); padding: 0 0 26px; }
/* minimal：只留按钮，文字极简，底部细渐变 */
.wl-st-minimal .wl-wave { display: none; }
.wl-st-minimal .wl-copy { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: 84px; }
.wl-st-minimal .wl-t { font-size: 18px; font-weight: 500; opacity: .92; }
.wl-st-minimal .wl-btn { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.5); }
.wl-st-minimal .wl-swipe { padding: 0 0 62px; color: rgba(255,255,255,.8); }

/* center/minimal：指示点与底部小字固定到最底部（避免被绝对定位的文案块顶到上方） */
.wl-st-center .wl-dots, .wl-st-minimal .wl-dots,
.wl-st-center .wl-swipe, .wl-st-minimal .wl-swipe { position: absolute; left: 0; right: 0; }
.wl-st-center .wl-dots, .wl-st-minimal .wl-dots { bottom: 58px; padding-bottom: 0; }
.wl-st-center .wl-swipe, .wl-st-minimal .wl-swipe { bottom: 0; padding: 0 0 30px; }

/* ---------- 首屏视频模式 ---------- */
.wl-video { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: #0b1826; }

/* ==================== 登录/注册页：次要操作与说明区排版 ==================== */
.auth-alt {
  margin: 22px 0 14px;
  text-align: center;
  font-size: 14px;
  color: #5b667a;
  letter-spacing: .2px;
}
.auth-alt a { color: #1668e3; font-weight: 600; text-decoration: none; }

.auth-skip {
  margin-bottom: 18px;
  font-size: 15px;
  color: #3c4658;
  border-color: #dbe3ef;
  background: #fff;
}
.auth-skip:active { background: #f2f6fc; }

.auth-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  background: #f5f8fd;
  border-radius: 12px;
}
.auth-note-ic {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e4eefc;
  color: #1668e3;
  font-size: 12px; font-weight: 700; font-style: normal;
  display: grid; place-items: center;
  font-family: Georgia, serif;
}
.auth-note-t {
  font-size: 13px;
  font-weight: 600;
  color: #3c4658;
  margin-bottom: 4px;
  letter-spacing: .2px;
}
.auth-note-d {
  font-size: 12.5px;
  line-height: 1.75;
  color: #8590a4;
}

.auth-agree {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  line-height: 1.75;
  color: #9aa4b6;
}
.auth-agree a { color: #1668e3; text-decoration: none; }

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 2px 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: #8590a4;
}
.auth-check input { margin-top: 3px; width: 15px; height: 15px; accent-color: #1668e3; }
.auth-check a { color: #1668e3; text-decoration: none; }

/* ---------- 极简系统弹窗（「我的」未登录） ---------- */
.sysdlg-mask{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.42);display:flex;align-items:center;justify-content:center;padding:0 40px}
.sysdlg{width:100%;max-width:290px;background:#fff;border-radius:14px;overflow:hidden;text-align:center;
  box-shadow:0 12px 40px rgba(16,32,56,.22);animation:sysdlg-in .18s ease-out}
@keyframes sysdlg-in{from{transform:scale(.94);opacity:.6}to{transform:scale(1);opacity:1}}
.sysdlg-t{padding:22px 18px 0;font-size:17px;font-weight:600;color:#111;letter-spacing:.5px}
.sysdlg-b{padding:12px 22px 22px;font-size:14px;color:#5b6579;line-height:1.6}
.sysdlg-f{display:flex;border-top:1px solid #eceff5}
.sysdlg-btn{flex:1;height:50px;background:none;border:0;font-size:16px;color:#33383f;cursor:pointer}
.sysdlg-btn:active{background:#f5f7fa}
.sysdlg-btn + .sysdlg-btn{border-left:1px solid #eceff5}
.sysdlg-btn.is-primary{color:#1668e3;font-weight:600}

/* ---------- 微信授权登录按钮 ---------- */
.btn-wechat{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;
  background:#fff;color:#1668e3;border:1px solid #cddffb;box-shadow:none}
.btn-wechat:active{background:#f2f7ff}
.btn-wechat[disabled]{opacity:.6}
.btn-wechat .wx-logo{display:inline-flex;width:18px;height:18px}
.btn-wechat .wx-logo svg{width:18px;height:18px;display:block}

/* 登录页：折叠「用账号密码登录」 */
.auth-fold{text-align:center;margin:16px 0 4px;font-size:13px;color:#8590a4}
.auth-fold span{text-decoration:underline;cursor:pointer}

/* ============ 我的水泵（远程控制） ============ */
.fld-title{font-size:14px;font-weight:600;color:#1f2b3d;margin:2px 0 10px}
.fld-title .fs-xs{font-weight:400;margin-left:4px}
.req{color:#e5484d;font-style:normal}
.pmp-card{cursor:pointer}
.pmp-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.pmp-name{font-size:15px;font-weight:600;color:#12233a}
.pmp-tag{font-size:11px;padding:2px 8px;border-radius:20px;background:#eef2f8;color:#8494a8}
.pmp-tag.on{background:#e6f7ee;color:#0f9d58}
.pmp-big{display:flex;align-items:baseline;gap:4px;margin:2px 0 4px}
.pmp-val{font-size:34px;font-weight:700;color:#1668e3;font-family:-apple-system,"SF Pro Display",sans-serif;line-height:1}
.pmp-unit{font-size:12px;color:#8494a8}
.pmp-meta{display:flex;gap:12px;font-size:12px;color:#7c8aa0;margin-bottom:4px;flex-wrap:wrap}
.pmp-sim{color:#c58a00;background:#fff7e6;border-radius:4px;padding:0 6px}
.pmp-dev{font-size:11px;color:#a3adbf;word-break:break-all}
.pmp-hero{border-radius:16px;background:linear-gradient(160deg,#f2f7ff,#ffffff)}
.pmp-hero.run{background:linear-gradient(160deg,#e8f2ff,#ffffff)}
.pmp-hero-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.pmp-dev-no{font-size:11px;color:#a3adbf}
.pmp-sub{font-size:12px;color:#8494a8;margin-bottom:14px}
.pmp-grid{display:flex;gap:10px;margin-bottom:14px}
.pmp-cell{flex:1;background:#f6f9fe;border-radius:10px;padding:10px 8px;text-align:center}
.pmp-cell b{display:block;font-size:15px;color:#12233a}
.pmp-cell span{font-size:11px;color:#8494a8}
.pmp-switch{margin-top:2px}
.pmp-fault{margin-top:10px;font-size:12px;color:#c0392b;background:#fdecea;border-radius:8px;padding:8px 10px}
.pmp-range-row{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.pmp-range{flex:1;-webkit-appearance:none;height:4px;border-radius:2px;background:#e3e9f3;outline:none}
.pmp-range::-webkit-slider-thumb{-webkit-appearance:none;width:20px;height:20px;border-radius:50%;background:#1668e3;box-shadow:0 2px 6px rgba(22,104,227,.35)}
.pmp-range-val{font-size:13px;font-weight:600;color:#1668e3;min-width:70px;text-align:right}
.pmp-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #f1f4f9;font-size:13px}
.pmp-row:last-child{border-bottom:0}
.pmp-row span{color:#8494a8}
.pmp-row b{color:#12233a;font-weight:500;text-align:right;max-width:62%;word-break:break-all}
.pmp-log{display:flex;justify-content:space-between;font-size:13px;color:#33415c;padding:7px 0;border-bottom:1px solid #f1f4f9}
.pmp-log:last-child{border-bottom:0}
.pmp-log em{font-style:normal;color:#1668e3}
.pmp-log-time{color:#a3adbf;font-size:12px}
.pmp-actions{margin:14px 0 24px}

/* 登录页：主表单 + 「或」分隔 + 微信一键登录 */
.auth-or{display:flex;align-items:center;gap:10px;margin:18px 0 14px;color:#c1cad6;font-size:12px}
.auth-or::before,.auth-or::after{content:'';flex:1;height:1px;background:#eef2f8}
.btn-wechat{background:#fff;border:1px solid #e3e9f2;color:#07c160;font-weight:600;display:flex;align-items:center;justify-content:center;gap:8px}
.btn-wechat .wx-logo{display:inline-flex;width:20px;height:20px}
.btn-wechat .wx-logo svg{width:20px;height:20px}

/* ===== 我的水泵：概览 / 卡片 / 实时六项 / 曲线 / 参数设置 ===== */
.pmp-ov{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
.pmp-ov-i{background:#fff;border-radius:12px;padding:10px 6px;text-align:center;box-shadow:0 1px 3px rgba(16,32,56,.06)}
.pmp-ov-i b{display:block;font-size:19px;font-weight:700;line-height:1.2}
.pmp-ov-i span{font-size:10.5px;color:#8b95a8}
.pmp-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#12b76a;margin-right:6px;vertical-align:1px}
.pmp-dot.off{background:#c2cad6}
.pmp-dot.alarm{background:#e5484d}
.pmp-lv{font-size:11px;color:#8b95a8;margin-left:8px}
.pmp-foot{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding-top:8px;border-top:1px solid #f2f5f9}
.pmp-mini{border:1px solid #dbe3ee;background:#fff;color:#3d4a5c;border-radius:14px;font-size:12px;padding:4px 12px}
.pmp-mini.on{border-color:#1668e3;color:#1668e3}
.pmp-6{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 6px;margin-top:6px}
.pmp-6i{background:#f7f9fc;border-radius:10px;padding:9px 4px;text-align:center}
.pmp-6i b{display:block;font-size:15px;font-weight:700;color:#1d2b3f}
.pmp-6i span{font-size:10.5px;color:#8b95a8}
.pmp-chart{width:100%;height:110px;display:block;margin-top:6px}
.pmp-link{display:flex;align-items:center;justify-content:space-between;padding:12px 2px;font-size:14px;color:#1d2b3f}
.pmp-link-r{color:#8b95a8;font-size:12.5px}
.pmp-set{align-items:center}
.pmp-set span{flex:1}
.pmp-set input,.pmp-set select{width:88px;text-align:right;border:none;background:transparent;font-size:14px;color:#1d2b3f}
.pmp-set em{font-style:normal;color:#8b95a8;font-size:12px;width:22px;text-align:right}

/* 参数设置行：左标签 + 右数值 */
.fld.pmp-set{display:flex;flex-direction:row;align-items:center;gap:8px;padding:12px 0;border-bottom:1px solid #f2f5f9}
.fld.pmp-set>span{flex:1;margin:0;font-size:14px;color:#3d4a5c}
.fld.pmp-set>input,.fld.pmp-set>select{width:104px;text-align:right;border:none;background:transparent;font-size:15px;color:#1d2b3f;padding:0;height:auto}
.fld.pmp-set>em{font-style:normal;color:#8b95a8;font-size:12px;width:20px;text-align:right}
.fld.pmp-set:last-child{border-bottom:none}
