* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; background: #e9eef6; color: #303133; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; overflow-anchor: none; }
button, input { font-family: inherit; }
a { color: #2979ff; text-decoration: none; }
#app { max-width: 480px; margin: 0 auto; min-height: 100%; background: #f5f7fb; position: relative; }

.page { min-height: 100vh; padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
.page.no-tab { padding-bottom: 24px; }

.home {
  min-height: 100vh;
  overflow: visible;
  padding-bottom: 0;
  background: #1f6bff url("/h5/skin/sy_bj.png") no-repeat top center;
  background-size: 100% auto;
}
.home-scroll {
  overflow: visible;
  padding-bottom: calc(70px + env(safe-area-inset-bottom));
}
.hero-space { height: 500px; }
.plans {
  width: 90%;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  padding: 22px 12px 16px;
  position: relative;
}
.steps { display: flex; align-items: flex-start; }
.step { flex: 1; text-align: center; position: relative; }
.step .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #c0c4cc; margin: 0 auto 8px; position: relative; z-index: 1;
}
.step.on .dot { background: #2979ff; }
.step .name { font-size: 14px; color: #909399; }
.step.on .name { color: #2979ff; font-weight: 600; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px; left: calc(50% + 12px); right: calc(-50% + 12px);
  height: 2px; background: #e4e7ed;
}

.card {
  margin: 12px 16px;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
}
.field { margin-top: 16px; }
.field:first-child { margin-top: 0; }
.field .lab { margin-bottom: 8px; font-size: 16px; color: #303133; }
.req { color: #fa3534; margin-left: 2px; }
.radios { display: flex; flex-wrap: wrap; }
.radio {
  width: 50%;
  display: flex; align-items: flex-start;
  gap: 8px;
  padding: 8px 4px 8px 0;
  font-size: 15px; color: #303133;
  background: none; border: 0; text-align: left;
}
.radio span { flex: 1; line-height: 1.35; word-break: break-all; }
.radio i {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid #c8c9cc; display: inline-block; flex: none;
  position: relative; margin-top: 2px;
}
.radio.on i { border-color: #2979ff; }
.radio.on i::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 50%; background: #2979ff;
}
.inp {
  width: 100%;
  height: 42px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 15px;
  color: #303133;
  background: #fff;
  outline: none;
  text-align: left;
}
.val {
  font-size: 15px;
  color: #303133;
  text-align: left;
  line-height: 1.5;
  word-break: break-all;
}
.val.fee { display: flex; align-items: center; justify-content: flex-start; gap: 6px; }
.val.fee img { width: 20px; height: 20px; }
.inp::placeholder { color: #c0c4cc; }
.inp-wrap { position: relative; }
.inp-wrap .inp { padding-right: 84px; }
.qbtn {
  position: absolute; right: 6px; top: 6px; height: 30px;
  padding: 0 10px; border: 0; border-radius: 4px;
  background: #2979ff; color: #fff; font-size: 13px;
}
.agree {
  margin-top: 22px;
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; color: #303133; line-height: 1.45;
}
.agree .box {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid #c8c9cc; flex: none;
}
.agree.on .box { border-color: #2979ff; background: #2979ff; }
.agree.on .box { box-shadow: inset 0 0 0 3px #fff; }
.btn {
  width: 100%; height: 42px; margin-top: 18px;
  border: 0; border-radius: 4px;
  background: #2979ff; color: #fff; font-size: 16px;
}
.btn:active { opacity: .85; }
.btn.ghost { background: #2979ff; }
.btn-row { display: flex; gap: 10%; margin-top: 28px; }
.btn-row .btn { width: 45%; margin-top: 0; }

.reasons { text-align: center; }
.reasons h3 { margin: 14px 0 6px; font-size: 20px; color: #000; font-weight: 600; }
.reason-grid { display: flex; flex-wrap: wrap; justify-content: space-evenly; padding: 10px 0 6px; }
.reason { width: 46%; margin: 8px 0; }
.reason img { width: 100px; height: 100px; object-fit: contain; }
.reason p { margin: 0; font-size: 14px; color: #303133; }

.ok-box { text-align: center; padding: 28px 8px 10px; }
.ok-box img { width: 110px; height: 110px; object-fit: contain; }
.ok-box h3 { margin: 22px 0 8px; font-size: 18px; }
.ok-box p { margin: 0 0 28px; color: #c0c4cc; font-size: 15px; }

.tabbar {
  position: fixed; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 100%; max-width: 480px; height: calc(54px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff; display: flex; z-index: 20;
  border-top: 1px solid #f0f0f0;
}
.tabbar button {
  flex: 1; border: 0; background: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 12px; color: #999eb5;
}
.tabbar button.on { color: #0554aa; }
.tabbar img { width: 24px; height: 24px; object-fit: contain; }

.mine {
  min-height: 100vh;
  background: #f3f6fb url("/h5/skin/grzxbj.png") no-repeat top center;
  background-size: 100% auto;
}
.welcome {
  text-align: center;
  padding: 78px 0 36px;
  font-size: 16px; color: #303133;
}
.mine-card { width: 90%; margin: 0 auto; background: #fff; border-radius: 10px; }
.mine-hd { display: flex; justify-content: space-between; align-items: center; padding: 18px 16px 8px; }
.mine-hd b { font-size: 15px; font-weight: 500; }
.mine-hd button { border: 0; background: none; color: #c5c5c5; font-size: 14px; }
.applys { display: flex; flex-wrap: wrap; padding: 6px 6px 14px; }
.apply {
  width: 33.33%; border: 0; background: none;
  padding: 10px 0; text-align: center; color: #303133; font-size: 13px;
}
.apply img { width: 40px; height: 40px; display: block; margin: 0 auto 6px; }
.service {
  width: 90%; margin: 16px auto 0; background: #fff; border-radius: 10px;
  border: 0; display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; font-size: 15px; color: #303133;
}
.service img { width: 22px; height: 22px; }

.topbar {
  height: 44px; display: flex; align-items: center; justify-content: center;
  background: #fff; position: sticky; top: 0; z-index: 5;
  font-size: 16px; font-weight: 600;
}
.topbar .back {
  position: absolute; left: 8px; top: 0; height: 44px; width: 44px;
  border: 0; background: none; font-size: 22px; color: #303133;
}
.orders { min-height: 100vh; background: #f6faff; }
.search-row { display: flex; align-items: center; gap: 8px; padding: 16px; }
.search-row input {
  flex: 1; height: 34px; border: 0; border-radius: 17px;
  background: #f2f2f2; padding: 0 14px; font-size: 14px; outline: none;
}
.search-row button {
  border: 0; background: none; color: #303133; font-size: 14px; padding: 0 4px;
}
.empty { text-align: center; color: #c0c4cc; padding: 80px 0; font-size: 14px; }
.order {
  margin: 0 16px 10px; background: #fff; border-radius: 10px;
  padding: 15px; position: relative; text-align: left; width: calc(100% - 32px);
  border: 0; display: block;
}
.order .title { font-size: 14px; font-weight: 500; color: #1d1e29; padding-right: 64px; }
.order .desc { margin-top: 10px; font-size: 11px; color: #999; }
.badge {
  position: absolute; top: 0; right: 0;
  background: #306cef; color: #fff;
  font-size: 11px; padding: 6px 10px; border-radius: 0 10px 0 10px;
}

.mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 40; display: flex; align-items: flex-end; justify-content: center;
}
.mask.center { align-items: center; }
.sheet {
  width: 100%; max-width: 480px; background: #fff;
  border-radius: 12px 12px 0 0; max-height: 70vh; overflow: auto;
  padding: 12px 16px 24px;
}
.dialog {
  width: 86%; max-width: 360px; background: #fff; border-radius: 14px;
  max-height: 78vh; display: flex; flex-direction: column; position: relative;
}
.dialog h3 { margin: 0; text-align: center; padding: 16px 36px 8px; font-size: 16px; }
.dialog .x {
  position: absolute; right: 8px; top: 6px; border: 0; background: none;
  font-size: 22px; color: #909399; width: 32px; height: 32px;
}
.dialog .body { overflow: auto; padding: 8px 16px 18px; font-size: 14px; line-height: 1.7; color: #606266; white-space: pre-wrap; }
.company {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px; margin-top: 12px; border-radius: 5px;
  box-shadow: 0 0 8px #ccc; font-size: 14px; background: #fff; width: 100%;
  border: 0; text-align: left;
}
.company small { color: #909399; }
.pay-choice { padding: 8px 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.toast {
  position: fixed; left: 50%; top: 46%; transform: translate(-50%, -50%);
  background: rgba(0,0,0,.72); color: #fff; padding: 10px 16px; border-radius: 6px;
  font-size: 14px; z-index: 60; max-width: 80%; text-align: center;
}
.loading {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.35); color: #2979ff; font-size: 14px;
}
