/* ==========================================================================
   miniapp.css —— C 端用户小程序专属样式（安诚车生活）
   依赖 tokens.css / base.css / components.css / phone.css
   ========================================================================== */

/* ==========================================================================
   1. 首页头部（红色渐变 + 弧线）
   ========================================================================== */
.mp-hero {
  position: relative; flex: none;
  background: var(--brand-grad-d);
  padding: 0 16px 74px;
  color: #fff;
  overflow: visible;
}
.mp-hero::after {
  content: ""; position: absolute; left: -12%; right: -12%; bottom: -1px; height: 62px;
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.mp-hero::before {
  content: ""; position: absolute; right: -50px; top: -60px; width: 210px; height: 210px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 70%);
}
.mp-hero-top { position: relative; display: flex; align-items: center; gap: 9px; height: 44px; }
.mp-hero-loc { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }
.mp-hero-loc svg { width: 14px; height: 14px; }
.mp-hero-title { position: relative; margin-top: 4px; font-size: 20px; font-weight: 800; letter-spacing: .4px; }
.mp-hero-sub { position: relative; margin-top: 7px; font-size: 12px; color: rgba(255,255,255,.76); letter-spacing: .3px; }
.mp-hero-search {
  position: relative; display: flex; align-items: center; gap: 8px;
  height: 36px; margin-top: 14px; padding: 0 14px;
  border-radius: 99px; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.24);
  font-size: 12.5px; color: rgba(255,255,255,.82);
  backdrop-filter: blur(6px);
}
.mp-hero-search svg { width: 14px; height: 14px; }
.mp-hero-bell {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; flex: none;
  margin-left: auto;
}
.mp-hero-bell svg { width: 17px; height: 17px; }
.mp-hero-bell b {
  position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 99px; background: #FFD166; color: #6B3B00; font-size: 10px; font-weight: 800;
  display: grid; place-items: center; border: 1.5px solid var(--brand-700);
}

/* 悬浮在弧线上的车辆卡 */
.mp-vehicle-card {
  position: relative; z-index: 3; margin: -58px 14px 0;
  background: #fff; border-radius: var(--r-xl); padding: 15px 16px 13px;
  box-shadow: 0 8px 26px rgba(16,18,24,.14);
}
.mp-vc-top { display: flex; align-items: center; gap: 8px; }
.mp-vc-plate {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
  border-radius: 6px; background: #1B4E9B; color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .6px;
  font-family: var(--font-num);
}
.mp-vc-plate.energy { background: linear-gradient(135deg,#2FB36B,#0E9E8E); }
.mp-vc-model { font-size: 13px; font-weight: 700; }
.mp-vc-status { margin-left: auto; }
.mp-vc-mid { display: flex; align-items: flex-end; gap: 10px; margin-top: 13px; }
.mp-vc-days { font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.8px; font-family: var(--font-num); }
.mp-vc-days small { font-size: 12px; font-weight: 600; margin-left: 3px; color: var(--ink-4); letter-spacing: 0; }
.mp-vc-label { font-size: 11.5px; color: var(--ink-4); margin-top: 5px; }
.mp-vc-actions { margin-left: auto; display: flex; gap: 7px; }
.mp-vc-btn {
  height: 32px; padding: 0 14px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 700;
  background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100);
}
.mp-vc-btn.solid { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: var(--brand-glow-s); }
.mp-vc-btn svg { width: 14px; height: 14px; }
.mp-vc-btn:active { transform: scale(.96); }
.mp-vc-bar { margin-top: 13px; }
.mp-vc-bar .meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-4); margin-bottom: 6px; }

/* ==========================================================================
   2. 常用功能九宫格
   ========================================================================== */
.mp-grid-card {
  margin: 12px 14px 0; background: #fff; border-radius: var(--r-xl);
  padding: 16px 8px 12px; box-shadow: 0 1px 2px rgba(22,24,29,.04);
}
.mp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.mp-grid a, .mp-grid button {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 9px 0 11px; border-radius: var(--r-m); transition: background .14s ease;
}
.mp-grid a:active, .mp-grid button:active { background: var(--bg-2); }
.mp-grid .gi {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); position: relative;
}
.mp-grid .gi svg { width: 21px; height: 21px; }
.mp-grid .gi.g-blue { background: var(--info-bg); color: var(--info); }
.mp-grid .gi.g-teal { background: #E6F6F4; color: var(--teal); }
.mp-grid .gi.g-gold { background: var(--gold-50); color: var(--gold); }
.mp-grid .gi.g-violet { background: #F1ECFE; color: var(--violet); }
.mp-grid .gi.g-amber { background: #FFF3E8; color: var(--amber); }
.mp-grid .gl { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.mp-grid .tag-hot {
  position: absolute; top: -5px; right: -8px; height: 15px; padding: 0 5px;
  border-radius: 99px; background: var(--brand); color: #fff;
  font-size: 9px; font-weight: 700; display: grid; place-items: center; letter-spacing: 0;
}

/* ==========================================================================
   2.5 顶部两个大方块（我的保单 / 我的权益）
   ========================================================================== */
.mp-duo {
  position: relative; z-index: 3; margin: -58px 14px 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.mp-block {
  background: #fff; border-radius: var(--r-xl); padding: 13px 12px 11px;
  box-shadow: 0 8px 26px rgba(16,18,24,.14);
  display: flex; flex-direction: column; gap: 9px;
  border: 1px solid transparent; transition: transform .16s ease;
  min-width: 0;
}
.mp-block:active { transform: scale(.985); }
.mp-block.gold { border-color: #F2E3C4; background: linear-gradient(165deg, #FFFFFF 0%, #FFFBF3 100%); }

.mp-block .mb-head { display: flex; align-items: center; gap: 8px; min-width: 0; }
.mp-block .mb-ico {
  width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand);
}
.mp-block .mb-ico svg { width: 18px; height: 18px; }
.mp-block .mb-ico.gold { background: var(--gold-50); color: var(--gold); }
.mp-block .mb-t { font-size: 13.5px; font-weight: 800; letter-spacing: .2px; white-space: nowrap; }
.mp-block .mb-s { margin-top: 2px; font-size: 10px; color: var(--ink-4); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-block .mb-ar { color: var(--ink-5); flex: none; display: grid; }

.mp-block .mb-metrics { display: flex; align-items: flex-end; gap: 0; }
.mp-block .mb-m {
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  padding: 0 2px 0 7px; border-left: 2px solid var(--line-2);
}
.mp-block .mb-m:first-child { padding-left: 0; border-left: 0; }
.mp-block .mb-m b {
  font-size: 19px; font-weight: 800; letter-spacing: -.5px; line-height: 1;
  color: var(--brand); font-family: var(--font-num); white-space: nowrap;
}
.mp-block.gold .mb-m b { color: var(--gold); }
.mp-block .mb-m.warn b { color: var(--warn); }
.mp-block .mb-m span { font-size: 9.5px; color: var(--ink-4); white-space: nowrap; }

.mp-block .mb-thumbs { display: flex; flex-wrap: wrap; gap: 5px; }
.mp-block .mb-thumb {
  display: inline-flex; align-items: center; gap: 3px;
  height: 21px; padding: 0 7px; border-radius: 6px;
  background: var(--brand-50); color: var(--brand);
  font-size: 10px; font-weight: 700; white-space: nowrap;
}
.mp-block .mb-thumb svg { width: 12px; height: 12px; }
.mp-block .mb-thumb.teal { background: #E6F6F4; color: var(--teal); }
.mp-block .mb-thumb.blue { background: var(--info-bg); color: var(--info); }
.mp-block .mb-thumb.gold { background: var(--gold-50); color: var(--gold); }
.mp-block .mb-thumb.more { background: var(--bg-3); color: var(--ink-3); }

.mp-block .mb-foot {
  margin-top: auto; padding-top: 9px; border-top: 1px dashed var(--line-2);
  font-size: 10px; color: var(--ink-4); display: flex; align-items: center; gap: 4px;
}
.mp-block .mb-foot svg { width: 12px; height: 12px; }

/* 非车险快捷入口条 */
.mp-quickline {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 12px 14px 2px;
}
.mp-quickline::-webkit-scrollbar { display: none; }
.mp-quickline button {
  flex: none; height: 32px; padding: 0 13px; border-radius: 99px;
  display: inline-flex; align-items: center; gap: 5px;
  background: #fff; border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  box-shadow: 0 1px 2px rgba(22,24,29,.04);
}
.mp-quickline button svg { width: 14px; height: 14px; }
.mp-quickline button:first-child {
  background: var(--brand-grad); color: #fff; border-color: transparent;
  box-shadow: var(--brand-glow-s);
}
.mp-quickline button:active { transform: scale(.96); }

/* 可领取权益小卡 */
.mp-claim-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
.mp-claim {
  background: #fff; border-radius: var(--r-l); padding: 12px 10px 11px;
  text-align: center; border: 1px dashed #E6D3A8;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.mp-claim .ci { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.mp-claim .ci svg { width: 16px; height: 16px; }
.mp-claim .ci.t-teal { background: #E6F6F4; color: var(--teal); }
.mp-claim .ci.t-blue { background: var(--info-bg); color: var(--info); }
.mp-claim .ci.t-violet { background: #F1ECFE; color: var(--violet); }
.mp-claim .cn { font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.mp-claim .cv { font-size: 15px; font-weight: 800; color: var(--brand); font-family: var(--font-num); }
.mp-claim button {
  width: 100%; height: 26px; border-radius: 99px; background: var(--brand-grad);
  color: #fff; font-size: 11px; font-weight: 700; margin-top: 2px;
}

/* ==========================================================================
   3. Banner 轮播
   ========================================================================== */
.mp-banner { margin: 12px 14px 0; position: relative; }
.mp-banner-rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
.mp-banner-rail::-webkit-scrollbar { display: none; }
.mp-banner-item {
  flex: 0 0 86%; scroll-snap-align: center;
  border-radius: var(--r-l); padding: 15px 16px; color: #fff;
  display: flex; align-items: center; gap: 12px; position: relative; overflow: hidden;
  min-height: 88px;
}
.mp-banner-item.t-brand { background: var(--brand-grad); }
.mp-banner-item.t-gold { background: var(--gold-grad); }
.mp-banner-item.t-violet { background: var(--violet-grad); }
.mp-banner-item::after {
  content: ""; position: absolute; right: -20px; bottom: -30px; width: 96px; height: 96px;
  border-radius: 50%; background: rgba(255,255,255,.14);
}
.mp-banner-item .bt { font-size: 14.5px; font-weight: 800; letter-spacing: .2px; }
.mp-banner-item .bs { margin-top: 6px; font-size: 11.5px; color: rgba(255,255,255,.82); }
.mp-banner-item .bi { margin-left: auto; opacity: .9; flex: none; }
.mp-dots { display: flex; justify-content: center; gap: 5px; margin-top: 9px; }
.mp-dots i { width: 5px; height: 5px; border-radius: 99px; background: var(--line-3); transition: all .2s ease; }
.mp-dots i.on { width: 15px; background: var(--brand); }

/* ==========================================================================
   4. 权益 / 卡券
   ========================================================================== */
.mp-benefit {
  margin: 12px 14px 0; border-radius: var(--r-xl); padding: 14px 16px;
  background: linear-gradient(120deg, #FFF7E8 0%, #FDF1DA 52%, #F8E6C6 100%);
  border: 1px solid #F1E2C2; position: relative; overflow: hidden;
}
.mp-benefit::after {
  content: ""; position: absolute; right: -26px; top: -26px; width: 96px; height: 96px;
  border-radius: 50%; background: rgba(200,150,62,.1);
}
.mp-benefit-top { display: flex; align-items: center; gap: 8px; position: relative; }
.mp-benefit-top .bt { font-size: 13.5px; font-weight: 800; color: #7A5A16; }
.mp-benefit-top .bs { margin-left: auto; font-size: 11px; color: #A98A47; display: flex; align-items: center; gap: 2px; }
.mp-benefit-row { display: flex; gap: 9px; margin-top: 12px; position: relative; }
.mp-coupon {
  flex: 1 1 0; background: #fff; border-radius: var(--r-m); padding: 11px 12px;
  border: 1px dashed #E6D3A8; position: relative; overflow: hidden;
}
.mp-coupon .cv { font-size: 18px; font-weight: 800; color: var(--brand); letter-spacing: -.4px; font-family: var(--font-num); }
.mp-coupon .cv small { font-size: 10.5px; font-weight: 600; }
.mp-coupon .cn { margin-top: 5px; font-size: 11.5px; font-weight: 700; color: var(--ink-2); }
.mp-coupon .ce { margin-top: 3px; font-size: 10px; color: var(--ink-4); }
.mp-coupon .cbtn {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  height: 24px; padding: 0 10px; border-radius: 99px;
  background: var(--brand-grad); color: #fff; font-size: 11px; font-weight: 700;
  display: grid; place-items: center;
}
.mp-coupon::before {
  content: ""; position: absolute; left: -6px; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%; background: #FAF0DC;
}

/* ==========================================================================
   5. 推荐产品
   ========================================================================== */
.mp-products { display: flex; gap: 10px; overflow-x: auto; padding: 2px 14px 8px; scrollbar-width: none; }
.mp-products::-webkit-scrollbar { display: none; }
.mp-product {
  flex: 0 0 152px; background: #fff; border-radius: var(--r-l); padding: 13px 13px 14px;
  box-shadow: 0 1px 2px rgba(22,24,29,.05); position: relative; overflow: hidden;
}
.mp-product .pi {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand);
}
.mp-product .pi svg { width: 18px; height: 18px; }
.mp-product .pi.g-blue { background: var(--info-bg); color: var(--info); }
.mp-product .pi.g-gold { background: var(--gold-50); color: var(--gold); }
.mp-product .pi.g-violet { background: #F1ECFE; color: var(--violet); }
.mp-product .pt { margin-top: 10px; font-size: 13px; font-weight: 800; line-height: 1.35; }
.mp-product .ps { margin-top: 5px; font-size: 11px; color: var(--ink-4); line-height: 1.5; min-height: 32px; }
.mp-product .pp { margin-top: 9px; font-size: 13px; font-weight: 800; color: var(--brand); font-family: var(--font-num); }
.mp-product .ptag {
  position: absolute; right: 0; top: 0; padding: 3px 8px; border-radius: 0 var(--r-l) 0 10px;
  background: var(--brand-50); color: var(--brand); font-size: 10px; font-weight: 700;
}

/* 产品两列网格（产品超市 / 非车险专区） */
.mp-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mp-product-grid .mp-product { flex: none; width: 100%; }
.mp-product-grid .mp-product .ps { min-height: 30px; }

/* ==========================================================================
   6. 服务卡片（用车养车）
   ========================================================================== */
.mp-svc {
  display: block; background: #fff; border-radius: var(--r-l); padding: 14px;
  box-shadow: 0 1px 2px rgba(22,24,29,.04); margin-bottom: 10px;
}
.mp-svc:active { background: var(--bg-2); }
.mp-svc-top { display: flex; align-items: center; gap: 11px; }
.mp-svc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.mp-svc-ico svg { width: 20px; height: 20px; }
.mp-svc-ico.t-teal { background: #E6F6F4; color: var(--teal); }
.mp-svc-ico.t-blue { background: var(--info-bg); color: var(--info); }
.mp-svc-ico.t-brand { background: var(--brand-50); color: var(--brand); }
.mp-svc-ico.t-violet { background: #F1ECFE; color: var(--violet); }
.mp-svc-ico.t-gold { background: var(--gold-50); color: var(--gold); }
.mp-svc-t { font-size: 14px; font-weight: 800; }
.mp-svc-s { margin-top: 4px; font-size: 11.5px; color: var(--ink-4); }
.mp-svc-arrow { margin-left: auto; color: var(--ink-5); }
.mp-svc-tags { display: flex; gap: 6px; margin-top: 11px; flex-wrap: wrap; }
.mp-svc-tags span { padding: 3px 8px; border-radius: 5px; background: var(--bg-3); color: var(--ink-3); font-size: 10.5px; font-weight: 600; }
.mp-svc-tags span.hot { background: var(--brand-50); color: var(--brand); }

/* 服务商列表 */
.mp-shop {
  display: flex; gap: 11px; padding: 13px 14px; background: #fff; border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.mp-shop:last-child { border-bottom: 0; }
.mp-shop:active { background: var(--bg-2); }
.mp-shop .sh-thumb {
  width: 52px; height: 52px; border-radius: var(--r-m); flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg,#F3F5F9,#E7EAF0); color: var(--ink-4);
}
.mp-shop .sh-t { font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mp-shop .sh-s { margin-top: 5px; font-size: 11px; color: var(--ink-4); display: flex; gap: 10px; flex-wrap: wrap; }
.mp-shop .sh-s b { color: var(--brand); font-family: var(--font-num); }
.mp-shop .sh-tags { display: flex; gap: 5px; margin-top: 7px; flex-wrap: wrap; }
.mp-shop .sh-tags span { padding: 2px 7px; border-radius: 4px; background: var(--bg-3); color: var(--ink-3); font-size: 10px; font-weight: 600; }
.mp-shop .sh-tags span.brand { background: var(--brand-50); color: var(--brand); }
.mp-shop .sh-tags span.gold { background: var(--gold-50); color: var(--gold); }
.mp-shop .sh-right { margin-left: auto; flex: none; text-align: right; }
.mp-shop .sh-btn {
  height: 28px; padding: 0 13px; border-radius: 99px; margin-top: 10px;
  background: var(--brand-grad); color: #fff; font-size: 11.5px; font-weight: 700;
  display: inline-grid; place-items: center; box-shadow: var(--brand-glow-s);
}

/* ==========================================================================
   7. 权益校验提示条
   ========================================================================== */
.mp-verify {
  margin: 12px 14px 0; padding: 12px 14px; border-radius: var(--r-l);
  background: linear-gradient(120deg,#EAF7F3 0%,#E2F3EE 100%);
  border: 1px solid #CDEAE2; display: flex; gap: 10px; align-items: flex-start;
}
.mp-verify .vi { color: var(--teal); flex: none; margin-top: 1px; }
.mp-verify .vt { font-size: 12.5px; font-weight: 700; color: #0B6B5F; }
.mp-verify .vs { margin-top: 4px; font-size: 11px; color: #4C8A80; line-height: 1.6; }
.mp-verify.warn { background: linear-gradient(120deg,#FFF8EA 0%,#FDF1DC 100%); border-color: #F0E0BC; }
.mp-verify.warn .vi, .mp-verify.warn .vt { color: #8A6209; }
.mp-verify.warn .vs { color: #A2823C; }

/* ==========================================================================
   8. 表单（移动端）
   ========================================================================== */
.mp-form { background: #fff; border-radius: var(--r-l); overflow: hidden; }
.mp-field {
  display: flex; align-items: center; gap: 12px; padding: 14px; min-height: 52px;
  border-bottom: 1px solid var(--line);
}
.mp-field:last-child { border-bottom: 0; }
.mp-field > label { flex: none; width: 74px; font-size: 12.5px; color: var(--ink-3); }
.mp-field input, .mp-field select, .mp-field textarea {
  flex: 1 1 auto; min-width: 0; border: 0; outline: none; background: none;
  font-size: 13.5px; color: var(--ink); text-align: right;
}
.mp-field textarea { text-align: left; resize: none; min-height: 62px; line-height: 1.6; padding-top: 2px; }
.mp-field input::placeholder, .mp-field textarea::placeholder { color: var(--ink-5); }
.mp-field .mf-val { margin-left: auto; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.mp-field .mf-val svg { width: 15px; height: 15px; color: var(--ink-5); }
.mp-field.stack { flex-direction: column; align-items: stretch; gap: 9px; }
.mp-field.stack > label { width: auto; }

.mp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mp-chip {
  height: 30px; padding: 0 14px; border-radius: 99px; display: inline-flex; align-items: center;
  font-size: 12.5px; font-weight: 600; background: var(--bg-3); color: var(--ink-3);
  border: 1px solid transparent;
}
.mp-chip.on { background: var(--brand-50); color: var(--brand); border-color: var(--brand-200); font-weight: 700; }

.mp-upload { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mp-upload .up {
  aspect-ratio: 1; border-radius: var(--r-m); border: 1px dashed var(--line-3);
  display: grid; place-items: center; color: var(--ink-4); background: var(--bg-2);
}
.mp-upload .up svg { width: 20px; height: 20px; }
.mp-upload .shot {
  aspect-ratio: 1; border-radius: var(--r-m); position: relative; overflow: hidden;
  background: linear-gradient(135deg,#EEF1F6,#DFE4EC); display: grid; place-items: center; color: var(--ink-4);
}
.mp-upload .shot b {
  position: absolute; right: 4px; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(16,18,24,.6); color: #fff; display: grid; place-items: center; font-size: 11px;
}

/* ==========================================================================
   9. 保单卡
   ========================================================================== */
.mp-policy {
  background: #fff; border-radius: var(--r-l); padding: 15px; box-shadow: 0 1px 2px rgba(22,24,29,.04);
  position: relative; overflow: hidden;
}
.mp-policy + .mp-policy { margin-top: 10px; }
.mp-policy::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3.5px;
  background: var(--brand-grad);
}
.mp-policy.accident::before { background: linear-gradient(180deg,#34C4B0,#0E9E8E); }
.mp-policy.enterprise::before { background: linear-gradient(180deg,#5B93E8,#2B6CD4); }
.mp-policy-top { display: flex; align-items: center; gap: 8px; }
.mp-policy-type {
  padding: 2px 8px; border-radius: 5px; background: var(--brand-50); color: var(--brand);
  font-size: 10.5px; font-weight: 800;
}
.mp-policy-type.teal { background: #E6F6F4; color: var(--teal); }
.mp-policy-type.blue { background: var(--info-bg); color: var(--info); }
.mp-policy-no { margin-left: auto; font-size: 10.5px; color: var(--ink-4); font-family: var(--font-num); }
.mp-policy-title { margin-top: 10px; font-size: 14.5px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.mp-policy-meta { margin-top: 8px; display: flex; gap: 16px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-4); }
.mp-policy-meta b { color: var(--ink-2); font-family: var(--font-num); }
.mp-policy-foot { display: flex; align-items: center; gap: 8px; margin-top: 13px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.mp-policy-prem { font-size: 17px; font-weight: 800; color: var(--brand); font-family: var(--font-num); letter-spacing: -.3px; }
.mp-policy-prem small { font-size: 10.5px; font-weight: 600; color: var(--ink-4); margin-left: 2px; }
.mp-policy-btns { margin-left: auto; display: flex; gap: 7px; }
.mp-mini-btn {
  height: 29px; padding: 0 12px; border-radius: 99px; display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 700; border: 1px solid var(--line-3); color: var(--ink-2); background: #fff;
}
.mp-mini-btn.solid { background: var(--brand-grad); color: #fff; border-color: transparent; }
.mp-mini-btn svg { width: 13px; height: 13px; }

/* 保单详情 */
.mp-detail-hero {
  margin: 12px 14px 0; border-radius: var(--r-xl); padding: 18px 16px;
  background: var(--brand-grad); color: #fff; position: relative; overflow: hidden;
}
.mp-detail-hero::after {
  content: ""; position: absolute; right: -30px; bottom: -40px; width: 130px; height: 130px;
  border-radius: 50%; background: rgba(255,255,255,.12);
}
.mp-detail-hero .dh-t { font-size: 14px; font-weight: 700; opacity: .88; }
.mp-detail-hero .dh-v { margin-top: 8px; font-size: 30px; font-weight: 800; letter-spacing: -.6px; font-family: var(--font-num); }
.mp-detail-hero .dh-v small { font-size: 13px; font-weight: 600; margin-left: 4px; }
.mp-detail-hero .dh-m { margin-top: 10px; font-size: 11.5px; opacity: .8; display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   10. 理赔进度（时间轴强化）
   ========================================================================== */
.mp-claim-hero {
  margin: 12px 14px 0; border-radius: var(--r-xl); padding: 16px;
  background: linear-gradient(135deg,#2B2F3A 0%,#1B1E26 100%); color: #fff;
  position: relative; overflow: hidden;
}
.mp-claim-hero::after {
  content: ""; position: absolute; right: -40px; top: -50px; width: 150px; height: 150px;
  border-radius: 50%; background: radial-gradient(circle, rgba(199,0,11,.5) 0%, rgba(199,0,11,0) 70%);
}
.mp-claim-hero .ch-top { display: flex; align-items: center; gap: 8px; position: relative; }
.mp-claim-hero .ch-no { font-size: 11.5px; color: rgba(255,255,255,.6); font-family: var(--font-num); }
.mp-claim-hero .ch-status {
  margin-left: auto; padding: 3px 10px; border-radius: 99px;
  background: rgba(199,0,11,.9); font-size: 11px; font-weight: 700;
}
.mp-claim-hero .ch-main { margin-top: 14px; font-size: 19px; font-weight: 800; letter-spacing: .2px; position: relative; }
.mp-claim-hero .ch-sub { margin-top: 7px; font-size: 11.5px; color: rgba(255,255,255,.62); position: relative; }
.mp-claim-hero .ch-bar { margin-top: 14px; position: relative; }
.mp-claim-hero .ch-bar .bar { background: rgba(255,255,255,.16); }
.mp-claim-hero .ch-meta { margin-top: 9px; display: flex; justify-content: space-between; font-size: 10.5px; color: rgba(255,255,255,.5); position: relative; }

.mp-steps { display: flex; align-items: flex-start; padding: 16px 4px 6px; }
.mp-step { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.mp-step::before {
  content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--line-2);
}
.mp-step:first-child::before { display: none; }
.mp-step.done::before, .mp-step.now::before { background: var(--brand); }
.mp-step .sd {
  width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line-3); color: var(--ink-4); font-size: 11px; font-weight: 800;
  position: relative; z-index: 1;
}
.mp-step.done .sd { background: var(--brand); border-color: var(--brand); color: #fff; }
.mp-step.now .sd { border-color: var(--brand); color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.mp-step .st { font-size: 10.5px; color: var(--ink-4); text-align: center; line-height: 1.3; }
.mp-step.done .st, .mp-step.now .st { color: var(--ink-2); font-weight: 700; }

/* ==========================================================================
   11. AI 客服
   ========================================================================== */
.chat-body {
  flex: 1 1 auto; overflow-y: auto; padding: 14px 14px 8px;
  background: linear-gradient(180deg,#F5F6F8 0%,#EFF1F5 100%);
  scrollbar-width: none;
}
.chat-body::-webkit-scrollbar { display: none; }
.chat-day { text-align: center; font-size: 10.5px; color: var(--ink-4); margin: 4px 0 14px; }
.msg { display: flex; gap: 9px; margin-bottom: 15px; align-items: flex-start; }
.msg.me { flex-direction: row-reverse; }
.msg .av {
  width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center;
  background: var(--brand-grad); color: #fff; font-size: 12px; font-weight: 800;
}
.msg .av.bot { background: linear-gradient(135deg,#3D4048,#16181D); }
.msg .bubble {
  max-width: 234px; padding: 11px 13px; border-radius: 4px 14px 14px 14px;
  background: #fff; font-size: 13px; line-height: 1.62; color: var(--ink);
  box-shadow: 0 1px 3px rgba(22,24,29,.06);
}
.msg.me .bubble { background: var(--brand-grad); color: #fff; border-radius: 14px 4px 14px 14px; box-shadow: var(--brand-glow-s); }
.msg .bubble .mt { font-size: 10px; color: var(--ink-4); margin-top: 6px; }
.msg.me .bubble .mt { color: rgba(255,255,255,.7); }
.msg .bubble b { color: var(--brand); }
.msg.me .bubble b { color: #FFE0A3; }

.chat-card {
  margin-top: 9px; border-radius: var(--r-m); border: 1px solid var(--line-2);
  overflow: hidden; background: var(--bg-2);
}
.chat-card .cc-h {
  padding: 8px 11px; background: #fff; font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--line);
}
.chat-card .cc-b { padding: 9px 11px; font-size: 11.5px; color: var(--ink-3); line-height: 1.7; }
.chat-card .cc-f { display: flex; border-top: 1px solid var(--line); background: #fff; }
.chat-card .cc-f button {
  flex: 1 1 0; height: 34px; font-size: 12px; font-weight: 700; color: var(--brand);
}
.chat-card .cc-f button + button { border-left: 1px solid var(--line); }

.chat-quick { display: flex; gap: 7px; overflow-x: auto; padding: 9px 14px 4px; scrollbar-width: none; }
.chat-quick::-webkit-scrollbar { display: none; }
.chat-quick button {
  flex: none; height: 29px; padding: 0 13px; border-radius: 99px; background: #fff;
  border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); font-weight: 600;
}
.chat-quick button:active { background: var(--brand-50); color: var(--brand); border-color: var(--brand-200); }
.chat-input {
  flex: none; display: flex; align-items: center; gap: 9px; padding: 9px 14px 10px;
  background: #fff; border-top: 1px solid var(--line-2);
}
.chat-input .ci {
  flex: 1 1 auto; height: 38px; border-radius: 99px; background: var(--bg-3);
  display: flex; align-items: center; padding: 0 15px; font-size: 13px; color: var(--ink-4);
}
.chat-input .send {
  width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--brand-grad); color: #fff; box-shadow: var(--brand-glow-s);
}
.chat-input .send svg { width: 17px; height: 17px; }
.typing { display: flex; gap: 4px; align-items: center; height: 18px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,60%,100% { opacity: .28; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ==========================================================================
   12. 我的 / 会员中心
   ========================================================================== */
.mp-me-hero {
  position: relative; background: var(--brand-grad-d); color: #fff;
  padding: 0 16px 62px; overflow: visible;
}
.mp-me-hero::after {
  content: ""; position: absolute; left: -12%; right: -12%; bottom: -1px; height: 54px;
  background: var(--bg); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.mp-me-user { position: relative; display: flex; align-items: center; gap: 12px; padding-top: 8px; }
.mp-me-av {
  width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.5);
  font-size: 20px; font-weight: 800;
}
.mp-me-name { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 7px; }
.mp-me-level {
  display: inline-flex; align-items: center; gap: 3px; height: 19px; padding: 0 8px;
  border-radius: 99px; background: var(--gold-grad); color: #4A3200;
  font-size: 10px; font-weight: 800; letter-spacing: .3px;
}
.mp-me-sub { margin-top: 6px; font-size: 11px; color: rgba(255,255,255,.72); }
.mp-me-arrow { margin-left: auto; color: rgba(255,255,255,.6); }

.mp-me-stats {
  position: relative; z-index: 3; margin: -46px 14px 0;
  background: #fff; border-radius: var(--r-xl); padding: 15px 6px;
  box-shadow: 0 8px 24px rgba(16,18,24,.12); display: flex;
}
.mp-me-stats > a, .mp-me-stats > div {
  flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 5px;
  position: relative;
}
.mp-me-stats > * + *::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: var(--line-2);
}
.mp-me-stats .ms-v { font-size: 19px; font-weight: 800; color: var(--brand); font-family: var(--font-num); letter-spacing: -.3px; }
.mp-me-stats .ms-k { font-size: 11px; color: var(--ink-4); }

.mp-me-card { margin: 12px 14px 0; background: #fff; border-radius: var(--r-l); overflow: hidden; }

/* ==========================================================================
   13. 消息中心
   ========================================================================== */
.mp-msg { display: flex; gap: 11px; padding: 14px; background: #fff; border-bottom: 1px solid var(--line); position: relative; }
.mp-msg:last-child { border-bottom: 0; }
.mp-msg.unread { background: #FFFCFC; }
.mp-msg.unread::before {
  content: ""; position: absolute; left: 5px; top: 20px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.mp-msg .mi { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.mp-msg .mi.t-blue { background: var(--info-bg); color: var(--info); }
.mp-msg .mi.t-gold { background: var(--gold-50); color: var(--gold); }
.mp-msg .mi.t-green { background: var(--success-bg); color: var(--success); }
.mp-msg .mi.t-teal { background: #E6F6F4; color: var(--teal); }
.mp-msg .mi svg { width: 17px; height: 17px; }
.mp-msg .mt-t { font-size: 13.5px; font-weight: 700; }
.mp-msg .mt-s { margin-top: 4px; font-size: 11.5px; color: var(--ink-4); line-height: 1.55; }
.mp-msg .mt-time { margin-left: auto; font-size: 10.5px; color: var(--ink-5); flex: none; }

/* ==========================================================================
   14. 契约式功能宫格（会员中心）
   ========================================================================== */
.contract-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.contract-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 16px 6px 14px; position: relative;
}
.contract-item + .contract-item::before {
  content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--line);
}
.contract-item:active { background: var(--bg-2); }
.ci-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.ci-ico svg { width: 19px; height: 19px; }
.ci-ico.t-blue { background: var(--info-bg); color: var(--info); }
.ci-ico.t-gold { background: var(--gold-50); color: var(--gold); }
.ci-ico.t-violet { background: #F1ECFE; color: var(--violet); }
.ci-ico.t-teal { background: #E6F6F4; color: var(--teal); }
.ci-t { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.ci-s { font-size: 10px; color: var(--ink-4); }

/* ==========================================================================
   15. 通用
   ========================================================================== */
.mp-hero-pad { height: 8px; }
.mp-sheet-list .m-row { padding-left: 18px; padding-right: 18px; }
.mp-section-pad { padding: 0 14px; }
.mp-white-block { background: #fff; border-radius: var(--r-l); margin: 12px 14px 0; overflow: hidden; }
.mp-empty-pad { padding: 30px 0; }

.mp-price-row { display: flex; align-items: baseline; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.mp-price-row:last-child { border-bottom: 0; }
.mp-price-row .n { flex: 1 1 auto; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.mp-price-row .a { color: var(--ink-3); font-size: 11.5px; }
.mp-price-row .p { width: 70px; text-align: right; font-weight: 700; font-family: var(--font-num); }

.mp-radio-row { display: flex; gap: 9px; }
.mp-radio {
  flex: 1 1 0; border-radius: var(--r-m); border: 1.5px solid var(--line-2); padding: 12px 10px;
  text-align: center; transition: all .16s ease;
}
.mp-radio.on { border-color: var(--brand); background: var(--brand-50); }
.mp-radio .rt { font-size: 13px; font-weight: 800; }
.mp-radio.on .rt { color: var(--brand); }
.mp-radio .rs { margin-top: 4px; font-size: 10.5px; color: var(--ink-4); }
.mp-radio .rp { margin-top: 7px; font-size: 13px; font-weight: 800; color: var(--brand); font-family: var(--font-num); }
