
  .pv, .pv * { box-sizing: border-box; }
  .pv { margin: 0; padding: 40px 28px 72px; background: #eef1f5; color: #1d2129;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; }
  .pv .head { max-width: 1560px; margin: 0 auto 30px; }
  .pv .head h1 { font-size: 26px; margin: 0 0 10px; letter-spacing: .5px; }
  .pv .head p { margin: 0; font-size: 14px; color: #5b6472; line-height: 1.8; }
  .pv .updates { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
  .pv .upd { background: #fff; border-left: 4px solid #0bb07b; border-radius: 10px; padding: 12px 18px;
    font-size: 13.5px; color: #333; box-shadow: 0 2px 10px rgba(20,40,60,.06); }
  .pv .upd b { color: #068a5f; }
  .pv .legend-note { font-size: 13px; color: #78818f; margin-top: 14px; }
  .pv .grid-wrap { max-width: 1560px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 46px 40px; justify-content: flex-start; }
  .pv .frame { width: 375px; }
  .pv .cap { font-size: 14px; font-weight: 600; color: #2b3440; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
  .pv .cap-no { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
    border-radius: 50%; background: #0bb07b; color: #fff; font-size: 12px; font-weight: 700; }
  .pv .phone { width: 375px; height: 667px; border-radius: 32px; overflow-x: hidden; overflow-y: auto;
    background: #f4f6f8; box-shadow: 0 0 0 9px #1b1f27, 0 0 0 11px #2c323d, 0 16px 36px rgba(20,40,60,.18);
    scrollbar-width: none; }
  .pv .phone::-webkit-scrollbar { width: 0; height: 0; }
  .pv .screen { width: 750px; zoom: .5; background: #f4f6f8; min-height: 1334px; }
  .pv .nav { height: 88px; background: #fff; display: flex; align-items: center; justify-content: center;
    position: relative; border-bottom: 1px solid #f0f2f5; }
  .pv .nav-title { font-size: 30px; font-weight: 600; color: #1d2129; }
  .pv .nav-back { position: absolute; left: 24px; top: 0; height: 88px; display: flex; align-items: center; font-size: 44px; color: #1d2129; }
  .pv .body { position: relative; }
  .pv .tabbar { height: 110px; background: #fff; border-top: 1px solid #f0f2f5; display: flex; }
  .pv .tb-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
  .pv .tb-icon { width: 48px; height: 48px; display: block; }
  .pv .tb-text { font-size: 20px; color: #8a94a6; }
  .pv .tb-item.on .tb-text { color: #0bb07b; }
  /* switch 组件在预览中的替身 */
  .pv .sw { width: 84px; height: 48px; border-radius: 24px; background: #e5e5e5; position: relative; flex-shrink: 0; }
  .pv .sw span { position: absolute; top: 4px; left: 4px; width: 40px; height: 40px; border-radius: 20px; background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: left .2s; }
  .pv .sw-on { background: #0bb07b; }
  .pv .sw-on span { left: 40px; }
  /* ===== 小程序样式（rpx -> px），必须在覆盖规则之前 ===== */
/* ============ 全局样式 ============ */
.pv .screen {
  --brand: #0bb07b;
  --brand-dark: #068a5f;
  --brand-soft: #e9f8f2;
  --blue: #3d7eff;
  --blue-soft: #ecf2ff;
  /* 橙色两套语义，别混用：
     --orange = 费用口径标识色「总费用 / 非能耗费用」，与走势图、分享图的 COLORS.orange 同值；
     --warn   = 警示态（风险提示），与费用口径无关。 */
  --orange: #ff9f43;
  --warn: #ff7a45;
  --warn-soft: #fff3ec;
  --danger: #f5483b;
  --ink-1: #1d2129;
  --ink-2: #4e5969;
  --ink-3: #86909c;
  --line: #eef0f4;
  --bg: #f4f6f8;
  --card: #ffffff;

  background: var(--bg);
  color: var(--ink-1);
  font-size: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.5;
}

.pv view, .pv text, .pv scroll-view, .pv button, .pv input, .pv picker {
  box-sizing: border-box;
}

/* ---------- 通用容器 ---------- */
.pv .page-wrap {
  padding: 24px 24px 48px;
}

.pv .card {
  background: var(--card);
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .card-tight {
  padding: 8px 28px;
}

.pv .card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.pv .card-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--ink-1);
  display: flex;
  align-items: center;
}

.pv .card-title::before {
  content: '';
  width: 8px;
  height: 30px;
  border-radius: 4px;
  background: var(--brand);
  margin-right: 14px;
}

.pv .card-sub {
  font-size: 24px;
  color: var(--ink-3);
}

/* ---------- 文本 ---------- */
.pv .t-1 { color: var(--ink-1); }
.pv .t-2 { color: var(--ink-2); }
.pv .t-3 { color: var(--ink-3); }
.pv .t-brand { color: var(--brand); }
.pv .t-warn { color: var(--warn); }
.pv .t-danger { color: var(--danger); }
.pv .fz-20 { font-size: 20px; }
.pv .fz-22 { font-size: 22px; }
.pv .fz-24 { font-size: 24px; }
.pv .fz-26 { font-size: 26px; }
.pv .fz-30 { font-size: 30px; }
.pv .fz-36 { font-size: 36px; }
.pv .fw-6 { font-weight: 600; }
.pv .mono { font-variant-numeric: tabular-nums; }

/* ---------- 布局 ---------- */
.pv .row { display: flex; align-items: center; }
.pv .row-between { display: flex; align-items: center; justify-content: space-between; }
.pv .col { display: flex; flex-direction: column; }
.pv .flex-1 { flex: 1; min-width: 0; }
.pv .gap-8 { gap: 8px; }
.pv .gap-16 { gap: 16px; }
.pv .mt-8 { margin-top: 8px; }
.pv .mt-16 { margin-top: 16px; }
.pv .mt-24 { margin-top: 24px; }

.pv .ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* ---------- 数据键值行 ---------- */
.pv .kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.pv .kv:last-child { border-bottom: none; }

.pv .kv-label {
  color: var(--ink-2);
  font-size: 26px;
  display: flex;
  align-items: center;
}

.pv .kv-value {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}

.pv .kv-value.calc { color: var(--blue); }

/* ---------- 当前车辆条 ---------- */
.pv .veh-chip {
  display: flex;
  align-items: center;
  background: var(--card);
  border-radius: 18px;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .veh-chip-name {
  font-size: 27px;
  font-weight: 600;
  color: var(--ink-1);
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pv .veh-chip-plate {
  font-size: 21px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 8px;
  padding: 2px 12px;
  margin-left: 12px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* 号牌底色（记录页 / 分析页的当前车辆条）：燃油蓝 / 新能源绿 */
.pv .veh-chip-plate.type-fuel {
  color: var(--blue);
  background: var(--blue-soft);
}

.pv .veh-chip-plate.type-ne {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.pv .veh-chip-op {
  font-size: 23px;
  color: var(--brand);
  margin-left: auto;
  padding-left: 16px;
  flex-shrink: 0;
}

.pv .veh-chip-empty {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* ---------- 按钮 ---------- */
.pv .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 88px;
  border-radius: 44px;
  font-size: 30px;
  font-weight: 600;
  border: none;
}

.pv .btn::after { border: none; }

.pv .btn-primary {
  background: linear-gradient(135deg, #16c98d 0%, #0bb07b 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 176, 123, 0.25);
}

.pv .btn-primary[disabled] {
  background: #c9d2dc;
  color: #fff;
  box-shadow: none;
}

.pv .btn-ghost {
  background: #fff;
  color: var(--ink-1);
  border: 1px solid var(--line);
}

.pv .btn-danger-ghost {
  background: #fff;
  color: var(--danger);
  border: 1px solid #ffd9d5;
}

.pv .btn-block { width: 100%; }

/* ---------- 表单 ---------- */
.pv .field {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.pv .field:last-child { border-bottom: none; }

.pv .field-label {
  font-size: 27px;
  color: var(--ink-1);
  display: flex;
  align-items: center;
}

.pv .field-label .req { color: var(--danger); margin-left: 6px; font-size: 26px; }
.pv .field-label .opt { color: var(--ink-3); font-size: 22px; margin-left: 10px; }

.pv .field-hint {
  font-size: 22px;
  color: var(--ink-3);
  margin-top: 8px;
}

.pv .field-hint.err { color: var(--danger); }

.pv .field-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.pv .field-input {
  flex: 1;
  height: 76px;
  background: #f7f8fa;
  border-radius: 14px;
  padding: 0 22px;
  font-size: 30px;
  font-weight: 600;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}

.pv .field-unit {
  font-size: 24px;
  color: var(--ink-3);
  width: 90px;
  text-align: right;
}

.pv .field-picker {
  flex: 1;
  height: 76px;
  background: #f7f8fa;
  border-radius: 14px;
  padding: 0 22px;
  font-size: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pv .group-title {
  font-size: 24px;
  color: var(--ink-3);
  padding: 28px 4px 8px;
  letter-spacing: 2px;
}

/* ---------- 标签胶囊 ---------- */
.pv .pill {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 22px;
  font-weight: 600;
}

.pv .pill-brand { background: var(--brand-soft); color: var(--brand-dark); }
.pv .pill-warn { background: var(--warn-soft); color: var(--warn); }
.pv .pill-blue { background: var(--blue-soft); color: var(--blue); }
.pv .pill-gray { background: #f2f3f5; color: var(--ink-3); }

/* ---------- 空状态 ---------- */
.pv .empty {
  padding: 120px 40px;
  text-align: center;
  color: var(--ink-3);
  font-size: 26px;
}

.pv .empty-icon { font-size: 80px; display: block; margin-bottom: 20px; }

/* ---------- 悬浮新增按钮 ---------- */
.pv .fab {
  position: fixed;
  right: 36px;
  bottom: calc(60px + env(safe-area-inset-bottom));
  width: 108px;
  height: 108px;
  border-radius: 54px;
  background: linear-gradient(135deg, #16c98d 0%, #0bb07b 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  font-weight: 300;
  box-shadow: 0 10px 28px rgba(11, 176, 123, 0.35);
  z-index: 30;
}

.pv .fab:active { transform: scale(0.94); }

/* ---------- 底部安全区 ---------- */
.pv .safe-bottom { height: calc(40px + env(safe-area-inset-bottom)); }

/* ===== 顶部汇总卡 ===== */
.pv .hero {
  position: relative;
  border-radius: 28px;
  padding: 36px 32px 30px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #14c98f 0%, #0aa172 55%, #07956a 100%);
  box-shadow: 0 12px 32px rgba(10, 161, 114, 0.28);
  overflow: hidden;
}

.pv .hero::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -100px;
  width: 300px;
  height: 300px;
  border-radius: 150px;
  background: rgba(255, 255, 255, 0.1);
}

.pv .hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.pv .hero-id {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-right: 16px;
}

.pv .hero-id-hover {
  opacity: .72;
}

.pv .hero-id-row {
  display: flex;
  align-items: center;
  min-width: 0;
}

.pv .hero-vehicle {
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  max-width: 300px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pv .hero-arrow {
  font-size: 32px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  margin-left: 8px;
  flex-shrink: 0;
}

.pv .hero-plate {
  font-size: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  padding: 2px 12px;
  margin-left: 14px;
  letter-spacing: 2px;
  flex-shrink: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 号牌底色：hero 卡本身是深绿渐变底，绿底上再叠绿牌会糊成一片，
   所以这里用「白底 + 口径字色」—— 燃油蓝字 / 新能源绿字 */
.pv .hero-plate.type-fuel,
.pv .hero-plate.type-ne {
  font-weight: 600;
  background: #fff;
  border-color: rgba(255, 255, 255, 0.95);
}

.pv .hero-plate.type-fuel { color: #1b5fd9; }
.pv .hero-plate.type-ne { color: #068a5f; }

.pv .hero-manage {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
}

.pv .hero-badge {
  font-size: 21px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 4px 16px;
  flex-shrink: 0;
  align-self: flex-start;
}

.pv .hero-main {
  display: flex;
  align-items: baseline;
  margin: 26px 0 4px;
  position: relative;
  z-index: 1;
}

.pv .hero-num {
  font-size: 76px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -2px;
}

.pv .hero-unit {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.85);
  margin-left: 12px;
}

.pv .hero-sub {
  display: flex;
  align-items: center;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
  z-index: 1;
}

.pv .hero-sub-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pv .hero-divider {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.22);
  margin: 0 16px;
}

.pv .hero-sub-label {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

.pv .hero-sub-value {
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-top: 6px;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv .hero-tip {
  margin-top: 22px;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 18px;
  position: relative;
  z-index: 1;
}

/* ===== 记录提醒 ===== */
.pv .notice {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  padding: 24px 26px;
  margin-bottom: 24px;
  border-left: 8px solid var(--warn);
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .notice-ok {
  border-left-color: var(--brand);
}

.pv .notice-icon {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.pv .notice-ok .notice-icon {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.pv .notice-title {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-1);
}

.pv .notice-desc {
  display: block;
  font-size: 23px;
  color: var(--ink-3);
  margin-top: 4px;
}

.pv .notice-arrow {
  font-size: 40px;
  color: var(--ink-3);
  margin-left: 12px;
}

.pv .backup-notice {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  padding: 24px 26px;
  margin-bottom: 24px;
  border-left: 8px solid var(--blue);
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .backup-notice-icon {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.pv .backup-notice-title {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-1);
}

.pv .backup-notice-desc {
  display: block;
  font-size: 23px;
  color: var(--ink-3);
  margin-top: 4px;
}

.pv .backup-notice-op {
  font-size: 23px;
  color: var(--blue);
  margin-left: 12px;
  flex-shrink: 0;
}

/* ===== 指标网格 ===== */
.pv .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
}

.pv .grid-item {
  width: calc((100% - 20px) / 2);
  background: #fff;
  border-radius: 22px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .grid-label {
  font-size: 23px;
  color: var(--ink-3);
}

.pv .grid-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--ink-1);
  margin: 10px 0 6px;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

/* 费用口径标识色（与分析页 insights 的 tone、app.wxss 同源）：
   电=蓝 / 能耗=绿 / 总费用=橙；复合选择器用于压过 .grid-value / .ins-value 的默认色。
   v1.2.3 起详情页数值也复用同一套色，故把 .d-hero-value / .kv-value 一并加进这组。 */
.pv .grid-value.tone-elec,
.pv .ins-value.tone-elec,
.pv .d-hero-value.tone-elec,
.pv .kv-value.tone-elec,
.pv .calc-v.tone-elec { color: var(--blue); }

.pv .grid-value.tone-energy,
.pv .ins-value.tone-energy,
.pv .d-hero-value.tone-energy,
.pv .kv-value.tone-energy,
.pv .calc-v.tone-energy { color: var(--brand); }

.pv .grid-value.tone-total,
.pv .ins-value.tone-total,
.pv .d-hero-value.tone-total,
.pv .kv-value.tone-total,
.pv .calc-v.tone-total { color: var(--orange); }

.pv .grid-unit {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 4px;
}

.pv .grid-sub {
  font-size: 21px;
  color: var(--ink-3);
}

/* ===== 底部快捷按钮 ===== */
.pv .quick-row {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.pv .quick-btn { flex: 1; }

.pv .empty-btn {
  margin-top: 28px;
  width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.pv .empty-tip {
  margin-top: 26px;
  font-size: 23px;
  color: var(--ink-3);
  text-decoration: underline;
}


/* ===== 空状态下的车辆入口 ===== */
.pv .empty-veh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 20px;
  padding: 24px 26px;
  margin: 8px auto 20px;
  text-align: left;
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .empty-veh-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pv .empty-veh-name {
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-1);
}

.pv .empty-veh-plate {
  align-self: flex-start;
  font-size: 22px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 8px;
  padding: 2px 12px;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* 号牌底色：白卡上的浅底 + 饱和字，与记录页 / 分析页的车辆条同一套 */
.pv .empty-veh-plate.type-fuel {
  color: var(--blue);
  background: var(--blue-soft);
}

.pv .empty-veh-plate.type-ne {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.pv .empty-veh-plate.is-empty {
  color: var(--ink-3);
  background: transparent;
  font-weight: 400;
  letter-spacing: 0;
  padding: 2px 0;
}

.pv .empty-veh-op {
  font-size: 24px;
  color: var(--brand);
  flex-shrink: 0;
  margin-left: 16px;
}

/* 汇总条 */
.pv .sum-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  padding: 26px 10px;
  margin-bottom: 18px;
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .sum-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pv .sum-v {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}

.pv .sum-l {
  font-size: 21px;
  color: var(--ink-3);
  margin-top: 6px;
}

.pv .sum-line {
  width: 1px;
  height: 52px;
  background: var(--line);
}

.pv .range-hint {
  font-size: 22px;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 22px;
}

/* 分组标题 */
.pv .group-title {
  font-size: 24px;
  color: var(--ink-3);
  padding: 16px 6px 14px;
  letter-spacing: 1px;
}

/* 列表项 */
.pv .item {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 22px;
  padding: 26px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .item:active {
  background: #fafbfc;
}

.pv .item-left {
  width: 168px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.pv .item-period {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.pv .item-label {
  font-size: 21px;
  color: var(--ink-3);
  margin-top: 4px;
}

.pv .item-mid {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-left: 8px;
}

.pv .item-metric {
  font-size: 25px;
  color: var(--ink-2);
}

.pv .item-metric.sub {
  font-size: 22px;
  color: var(--ink-3);
  margin-top: 8px;
}

.pv .item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.pv .item-cost {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
}

.pv .item-right .pill {
  margin-top: 10px;
}

.pv .edit-page {
  padding-bottom: 200px;
}

/* 开关行 */
.pv .switch-row {
  display: flex;
  align-items: center;
  padding: 24px 0 6px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
}

.pv .switch-label {
  display: block;
  font-size: 27px;
  color: var(--ink-1);
}

.pv .switch-desc {
  display: block;
  font-size: 22px;
  color: var(--ink-3);
  margin-top: 6px;
}

/* 加油均摊提示行：金额单独成行且加红加粗 */
.pv .fuel-hint-line {
  margin-top: 6px;
  font-size: 22px;
  color: var(--ink-3);
  line-height: 1.6;
}

.pv .fuel-hint-label {
  color: var(--ink-3);
}

.pv .fuel-hint-amount {
  color: var(--danger);
  font-weight: 700;
  margin-left: 8px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 预览高亮区 */
.pv .preview-hero {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.pv .preview-hero-item {
  flex: 1;
  background: linear-gradient(135deg, #f0fbf7 0%, #e7f7f1 100%);
  border-radius: 18px;
  padding: 22px 20px;
}

.pv .ph-label {
  display: block;
  font-size: 22px;
  color: var(--ink-2);
}

.pv .ph-value {
  display: block;
  font-size: 40px;
  font-weight: 700;
  color: var(--brand-dark);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

.pv .ph-unit {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-3);
}

.pv .saved-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 26px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 14px;
  padding: 18px 22px;
}

.pv .saved-line.neg {
  color: var(--warn);
  background: var(--warn-soft);
}

/* 底部占位 */
.pv .bottom-space {
  height: 20px;
}

/* 版本水印：居中显示「版本号 · 代码生成时间」 */
.pv .ver-line {
  margin-top: 20px;
  padding: 0 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 22px;
  line-height: 1.7;
  color: var(--ink-3);
}

.pv .ver-text {
  text-align: center;
}

/* 备份数据至邮箱：折叠面板 */
.pv .mail-panel {
  padding: 8px 0 4px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.pv .mail-panel .mail-btn {
  margin-top: 16px;
}

.pv .mail-panel .mail-last {
  margin-top: 8px;
}

/* 固定操作栏 */
.pv .action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  z-index: 20;
}

.pv .bar-del {
  width: 200px;
  flex-shrink: 0;
}

.pv .detail-page {
  padding-bottom: 200px;
}

/* 顶部摘要 */
.pv .d-hero {
  background: #fff;
  border-radius: 24px;
  padding: 30px 28px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .d-period {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 20px;
}

.pv .d-hero-row {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.pv .d-hero-row:last-child {
  margin-bottom: 0;
}

.pv .d-hero-item {
  flex: 1;
  background: #f8fafb;
  border-radius: 16px;
  padding: 18px 20px;
}

.pv .d-hero-label {
  display: block;
  font-size: 21px;
  color: var(--ink-3);
}

.pv .d-hero-value {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--ink-1);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}

.pv .d-hero-value.hl { color: var(--brand-dark); }

.pv .d-hero-unit {
  font-size: 21px;
  font-weight: 500;
  color: var(--ink-3);
}

.pv .bottom-space { height: 20px; }

.pv .action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  z-index: 20;
}

.pv .bar-del {
  width: 200px;
  flex-shrink: 0;
}

/* 区间切换 */
.pv .seg {
  display: flex;
  background: #fff;
  border-radius: 20px;
  padding: 8px;
  margin-bottom: 24px;
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .seg-item {
  flex: 1;
  text-align: center;
  height: 68px;
  line-height: 68px;
  font-size: 26px;
  color: var(--ink-2);
  border-radius: 14px;
  transition: all 0.2s;
}

.pv .seg-item.on {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

/* 结论横幅 */
.pv .headline {
  border-radius: 26px;
  padding: 32px 30px 26px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #14c98f 0%, #0aa172 60%, #078e65 100%);
  box-shadow: 0 12px 30px rgba(10, 161, 114, 0.26);
}

.pv .headline-main {
  display: flex;
  flex-direction: column;
}

.pv .headline-label {
  font-size: 23px;
  color: rgba(255, 255, 255, 0.85);
}

.pv .headline-value {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.pv .headline-tip {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 12px 18px;
  margin-top: 16px;
}

.pv .headline-foot {
  display: flex;
  align-items: center;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.pv .hf-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pv .hf-v {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.pv .hf-l {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4px;
}

.pv .hf-line {
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.22);
}

/* 费用构成 */
.pv .mix-bar {
  display: flex;
  height: 26px;
  border-radius: 13px;
  overflow: hidden;
  background: #f2f3f5;
  margin-bottom: 22px;
}

.pv .mix-seg {
  height: 100%;
  transition: width 0.3s;
}

.pv .mix-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pv .mix-row {
  display: flex;
  align-items: center;
}

.pv .mix-dot {
  width: 16px;
  height: 16px;
  border-radius: 8px;
  margin-right: 14px;
  flex-shrink: 0;
}

.pv .mix-name {
  font-size: 25px;
  color: var(--ink-2);
}

.pv .mix-amt {
  font-size: 25px;
  font-weight: 600;
  color: var(--ink-1);
  font-variant-numeric: tabular-nums;
  margin-right: 18px;
}

.pv .mix-pct {
  font-size: 24px;
  color: var(--ink-3);
  width: 90px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 指标网格 */
/* 数值配色说明（图例）：色块的色值必须与 .ins-value.tone-* 同源 */
.pv .ins-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
  background: #fbfcfd;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.pv .ins-legend-row {
  display: flex;
  align-items: center;
}

.pv .ins-legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
}

.pv .ins-legend-dot.tone-elec { background: var(--blue); }
.pv .ins-legend-dot.tone-energy { background: var(--brand); }
.pv .ins-legend-dot.tone-total { background: var(--orange); }

.pv .ins-legend-text {
  font-size: 21px;
  color: var(--ink-2);
  line-height: 1.35;
}

.pv .ins-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.pv .ins-item {
  width: calc((100% - 18px) / 2);
  background: #f8fafb;
  border-radius: 16px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
}

.pv .ins-label {
  font-size: 21px;
  color: var(--ink-3);
}

.pv .ins-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink-1);
  margin: 8px 0 4px;
  font-variant-numeric: tabular-nums;
}

.pv .ins-sub {
  font-size: 20px;
  color: var(--ink-3);
}

/* 当前车辆 */
.pv .cur-veh {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #f3fdf9 0%, #ffffff 72%);
  border: 2px solid #d8f0e6;
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 6px;
}

.pv .cur-veh-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pv .cur-veh-name {
  font-size: 30px;
  font-weight: 600;
  color: var(--ink-1);
}

.pv .cur-veh-plate {
  align-self: flex-start;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2f7bff 0%, #1b5fd9 100%);
  border-radius: 8px;
  padding: 2px 14px;
  margin-top: 10px;
  letter-spacing: 2px;
}

/* 新能源号牌绿底（与车辆管理页同一规则） */
.pv .cur-veh-plate.type-ne {
  color: #08361f;
  background: linear-gradient(150deg, #eafcf3 0%, #8ce4b6 45%, #23b26d 100%);
}

.pv .cur-veh-plate.is-empty {
  color: var(--ink-3);
  background: #f2f3f5;
  font-weight: 400;
  letter-spacing: 0;
}

.pv .cur-veh-brand {
  font-size: 23px;
  color: var(--ink-2);
  margin-top: 8px;
}

/* 操作行 */
.pv .op-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.pv .op-row:last-child {
  border-bottom: none;
}

.pv .op-row:active {
  opacity: 0.6;
}

.pv .op-title {
  font-size: 28px;
  color: var(--ink-1);
}

.pv .op-row.danger .op-title {
  color: var(--danger);
}

.pv .op-arrow {
  font-size: 36px;
  color: var(--ink-3);
}

/* 字段说明 */
.pv .doc-row {
  display: flex;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.pv .doc-row:last-child {
  border-bottom: none;
}

.pv .doc-name {
  display: block;
  font-size: 26px;
  color: var(--ink-1);
}

.pv .doc-formula {
  display: block;
  font-size: 21px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* 关于 */
/* 关于：逐条编号列表 */
.pv .about-item {
  font-size: 24px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-top: 12px;
}

.pv .about-item:first-of-type {
  margin-top: 0;
}

.pv .veh-page {
  padding-bottom: 160px;
}

.pv .veh-tip {
  font-size: 23px;
  color: var(--ink-3);
  line-height: 1.6;
  background: #fff;
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

/* ---------- 车辆卡片 ---------- */
.pv .veh-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 24px;
  padding: 26px 24px;
  margin-bottom: 20px;
  border: 2px solid transparent;
  box-shadow: 0 2px 16px rgba(20, 40, 60, 0.05);
}

.pv .veh-card.on {
  border-color: var(--brand);
  background: linear-gradient(180deg, #f3fdf9 0%, #ffffff 46%);
}

.pv .veh-radio {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  border: 2px solid #d5dbe3;
  margin: 6px 20px 0 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pv .veh-card.on .veh-radio {
  border-color: var(--brand);
  background: var(--brand);
}

.pv .veh-radio-dot {
  width: 14px;
  height: 14px;
  border-radius: 7px;
  background: #fff;
}

.pv .veh-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pv .veh-name-row {
  display: flex;
  align-items: center;
}

.pv .veh-name {
  font-size: 32px;
  font-weight: 600;
  color: var(--ink-1);
  max-width: 320px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pv .veh-cur {
  font-size: 20px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 16px;
  padding: 2px 14px;
  margin-left: 14px;
}

.pv .veh-plate {
  display: inline-block;
  align-self: flex-start;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2f7bff 0%, #1b5fd9 100%);
  border-radius: 10px;
  padding: 4px 16px;
  margin-top: 12px;
  letter-spacing: 2px;
}

/* 新能源号牌绿底（判定来源：utils/format.js 的 plateTone） */
.pv .veh-plate.type-ne {
  color: #08361f;
  background: linear-gradient(150deg, #eafcf3 0%, #8ce4b6 45%, #23b26d 100%);
}

.pv .veh-plate.is-empty {
  color: var(--ink-3);
  background: #f2f3f5;
  font-weight: 400;
  letter-spacing: 0;
}

.pv .veh-brand {
  font-size: 23px;
  color: var(--ink-2);
  margin-top: 10px;
}

.pv .veh-meta {
  font-size: 22px;
  color: var(--ink-3);
  margin-top: 10px;
}

.pv .veh-ops {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  margin-left: 16px;
  flex-shrink: 0;
}

.pv .veh-op {
  font-size: 24px;
  color: var(--ink-2);
  padding: 8px 16px;
  border-radius: 12px;
  background: #f6f8fa;
}

.pv .veh-op.danger {
  color: var(--danger);
  background: #fef3f2;
}

/* ---------- 新增按钮 ---------- */
.pv .veh-add {
  margin-top: 8px;
}

.pv .veh-note {
  font-size: 22px;
  color: var(--ink-3);
  line-height: 1.6;
  margin-top: 18px;
  padding: 0 8px;
}

/* ---------- 弹层 ---------- */
.pv .sheet-mask {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 25, 35, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease;
  z-index: 90;
}

.pv .sheet-mask.show {
  opacity: 1;
  visibility: visible;
}

.pv .sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 32px 32px 0 0;
  padding: 32px 32px calc(32px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform .26s ease;
  z-index: 100;
}

.pv .sheet.show {
  transform: translateY(0);
}

.pv .sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pv .sheet-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--ink-1);
}

.pv .sheet-close {
  font-size: 26px;
  color: var(--ink-3);
  padding: 8px 4px;
}

.pv .plate-input {
  letter-spacing: 2px;
}

.pv .sheet-actions {
  display: flex;
  gap: 20px;
  margin-top: 32px;
}

.pv .mc { width: 100%; }

.pv .mc-canvas-wrap {
  position: relative;
  width: 100%;
}

.pv .mc-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.pv .mc-empty {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa3b0;
  font-size: 24px;
}

.pv .mc-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding-top: 12px;
}

.pv .mc-legend-item {
  display: flex;
  align-items: center;
}

.pv .mc-dot {
  width: 14px;
  height: 14px;
  border-radius: 7px;
  margin-right: 8px;
}

.pv .mc-legend-text {
  font-size: 22px;
  color: #86909c;
}

  /* ===== 首期初始化向导（pages/setup/setup.wxss，rpx -> px）===== */
/* ============ 首期初始化向导（pages/setup） ============ */

.pv .setup-page {
  padding-top: 20px;
}

/* ---------- 步骤条 ---------- */
.pv .rail {
  background: var(--card);
  border-radius: 24px;
  padding: 22px 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(29, 33, 41, 0.04);
}

.pv .rail-track {
  height: 6px;
  border-radius: 6px;
  background: #eef0f4;
  overflow: hidden;
  margin: 0 8px 16px;
}

.pv .rail-fill {
  height: 100%;
  border-radius: 6px;
  background: var(--brand);
  transition: width 0.25s ease;
}

.pv .rail-items {
  display: flex;
  align-items: flex-start;
}

.pv .rail-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.pv .rail-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f2f4f7;
  color: var(--ink-3);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.pv .rail-item.done .rail-dot {
  background: var(--brand-soft);
  color: var(--brand);
}

.pv .rail-item.cur .rail-dot {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 10px rgba(11, 176, 123, 0.28);
}

.pv .rail-label {
  font-size: 22px;
  color: var(--ink-3);
  white-space: nowrap;
}

.pv .rail-item.done .rail-label {
  color: var(--ink-2);
}

.pv .rail-item.cur .rail-label {
  color: var(--brand);
  font-weight: 600;
}

/* ---------- 步骤一：介绍 ---------- */
.pv .lead {
  font-size: 27px;
  color: var(--ink-2);
  line-height: 1.72;
  margin-bottom: 16px;
}

.pv .pts {
  margin-top: 8px;
  border-top: 2px solid var(--line);
}

.pv .pt {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 2px solid var(--line);
}

.pv .pt:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.pv .pt-no {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  line-height: 40px;
  margin-right: 16px;
  margin-top: 2px;
}

.pv .pt-body {
  flex: 1;
  min-width: 0;
}

.pv .pt-t {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--ink-1);
  margin-bottom: 4px;
}

.pv .pt-d {
  display: block;
  font-size: 24px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- 步骤二：原理 ---------- */
.pv .rec-list {
  background: #f7f9fb;
  border-radius: 16px;
  padding: 6px 20px;
  margin-bottom: 18px;
}

.pv .rec {
  display: flex;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 2px solid #eaeef3;
}

.pv .rec:last-child {
  border-bottom: none;
}

.pv .rec-k {
  flex: none;
  width: 140px;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink-1);
}

.pv .rec-v {
  flex: 1;
  min-width: 0;
  font-size: 25px;
  color: var(--ink-2);
  line-height: 1.55;
}

.pv .formula {
  border-left: 6px solid var(--brand);
  background: var(--brand-soft);
  border-radius: 0 14px 14px 0;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.pv .f-line {
  font-size: 26px;
  color: var(--ink-1);
  line-height: 1.85;
}

.pv .note {
  font-size: 24px;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ---------- 步骤三 ~ 六：录入 ---------- */
.pv .src {
  font-size: 24px;
  color: var(--ink-3);
  background: #f7f9fb;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 6px;
  line-height: 1.6;
}

.pv .fuel-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 0;
}

.pv .fuel-k {
  font-size: 24px;
  color: var(--ink-3);
}

.pv .fuel-v {
  font-size: 26px;
  font-weight: 600;
  color: var(--ink-1);
}

.pv .finish-note {
  margin-top: 20px;
  background: var(--brand-soft);
  border-radius: 16px;
  padding: 18px 20px;
  font-size: 24px;
  color: var(--ink-2);
  line-height: 1.7;
}

.pv .fn-line {
  margin-top: 10px;
  color: var(--ink-1);
  font-weight: 600;
}

/* ---------- 实时核算 ---------- */
.pv .calc-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.pv .calc-item {
  width: 50%;
  padding: 12px 8px;
}

.pv .calc-v {
  display: block;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-1);
}

.pv .calc-u {
  font-size: 24px;
  font-weight: 400;
}

.pv .calc-l {
  display: block;
  font-size: 23px;
  color: var(--ink-3);
  margin-top: 2px;
}

.pv .calc-note {
  font-size: 23px;
  color: var(--ink-3);
  line-height: 1.7;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 2px solid var(--line);
}

/* 图例里复用 .calc-v 的语义色，只把字号压到正文级别 */
.pv .calc-note .calc-v {
  font-size: 23px;
  font-weight: 600;
  display: inline;
}

/* ---------- 跳过 / 底部操作栏 ---------- */
.pv .setup-skip {
  text-align: center;
  font-size: 24px;
  color: var(--ink-3);
  padding: 22px 0 6px;
}

.pv .setup-prev {
  flex: none;
  width: 180px;
  margin-right: 20px;
}

.pv .bottom-space {
  height: 160px;
}

.pv .action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 2px solid var(--line);
  z-index: 20;
}


.pv .empty-skip {
  margin-top: 20px;
  font-size: 24px;
  color: var(--ink-2);
  text-decoration: underline;
}

  /* ===== 预览专用覆盖：fixed -> absolute，使其留在手机框内 ===== */
  .pv .screen .fab, .pv .screen .action-bar, .pv .screen .sheet, .pv .screen .sheet-mask { position: absolute; }

/* ===== 分享图成品展示 ===== */
.pv .share-showcase { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.pv .share-showcase-note { width: 420px; font-size: 14px; line-height: 2; color: #5a6577;
  background: #fff; border-radius: 16px; padding: 22px 24px; box-shadow: 0 4px 18px rgba(20,40,60,.06); }
.pv .share-showcase-note b { color: #0bb07b; }
.pv .share-showcase-img { width: 375px; border-radius: 14px; box-shadow: 0 8px 28px rgba(20,40,60,.16); }
.pv .share-panel-demo { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.pv .spd-phone { position: relative; width: 300px; height: 600px; background: #eef2f6; border-radius: 22px; padding: 10px; box-sizing: border-box; box-shadow: 0 8px 28px rgba(20,40,60,.16); }
.pv .spd-mask { position: absolute; left: 10px; right: 10px; top: 10px; bottom: 10px; background: rgba(16,22,30,.62); border-radius: 14px; display: flex; align-items: center; justify-content: center; padding: 12px; box-sizing: border-box; }
.pv .spd-sheet { width: 100%; max-width: 250px; max-height: 82%; background: #fff; border-radius: 12px; padding: 12px 11px 9px; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; }
.pv .spd-title { flex: none; font-size: 13px; font-weight: 600; color: #2b3440; margin-bottom: 8px; }
.pv .spd-body { flex: 1; width: 100%; min-height: 0; overflow-y: auto; border-radius: 8px; background: #f2f5f7; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #9aa3b0; text-align: center; line-height: 1.9; padding: 12px 4px; box-sizing: border-box; }
.pv .spd-hint { flex: none; font-size: 10px; color: #9aa3b0; margin: 8px 0 9px; }
.pv .spd-actions { flex: none; display: flex; width: 100%; }
.pv .spd-btn { flex: 1; text-align: center; padding: 8px 0; border-radius: 7px; font-size: 12px; background: #0bb07b; color: #fff; }
.pv .spd-close { flex: none; font-size: 10px; color: #9aa3b0; margin-top: 8px; }
.pv .spd-note { width: 420px; font-size: 14px; line-height: 2; color: #5a6577; }
.pv .spd-note p { margin: 0 0 14px; }
.pv .spd-note b { color: #0bb07b; }
.pv .spd-note code { background: #f0f2f5; padding: 1px 6px; border-radius: 5px; font-size: 13px; }
