/* 网页版车主端：和小程序同一套黄白灰（尺寸 = 小程序 rpx ÷ 2）。号牌黄只用在顶栏、主按钮和进度上 */
:root {
  --yellow: #FFC81F;
  --yellow-deep: #E6B000;
  --yellow-soft: #FFF5D1;
  --yellow-ink: #7A5B00;
  --ink: #1F2126;
  --muted: #5E6573;
  --line: #E6E6E3;
  --bg: #F2F2F0;
  --green: #12784F;
  --green-soft: #E2F4EA;
  --red: #C3302A;
  --red-soft: #FDECEA;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
button { font: inherit; cursor: pointer; }
input { font: inherit; color: inherit; }
img { display: block; }
.boot { text-align: center; padding: 120px 0; color: var(--muted); }

.wrap { padding: 14px 16px 120px; max-width: 560px; margin: 0 auto; }
.card { background: #fff; border-radius: 16px; padding: 16px; margin-bottom: 12px; }
.h1 { font-size: 20px; font-weight: 700; }
.h2 { font-size: 16px; font-weight: 700; }
.muted { color: var(--muted); font-size: 14px; }
.small { font-size: 13px; line-height: 1.5; }
.row { display: flex; align-items: center; justify-content: space-between; }
.chip { display: inline-block; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); white-space: nowrap; }
.chip.warn { background: var(--yellow-soft); color: var(--yellow-ink); }
.chip.bad { background: var(--red-soft); color: var(--red); }
.chip.grey { background: #ECECEA; color: var(--muted); }
.btn { display: block; width: 100%; border: 0; background: var(--yellow); color: var(--ink); border-radius: 12px; font-size: 16px; font-weight: 700; height: 50px; text-align: center; }
.btn:disabled { background: #E8E6DE; color: #9A9DA4; }
.ghost { display: block; width: 100%; background: #fff; color: var(--ink); border: 1.5px solid #D9D9D5; border-radius: 12px; font-size: 15px; height: 50px; text-align: center; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -4px 16px rgba(31, 33, 38, 0.05); z-index: 10; }
.bar-in { max-width: 560px; margin: 0 auto; }
.bar .hint { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 7px; }
.two { display: flex; gap: 10px; }
.two .ghost { flex: 1; }
.two .btn { flex: 2; }
.notice { border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 12px; line-height: 1.55; }
.notice .h2 { font-size: 14px; margin-bottom: 3px; }
.notice.bad { background: var(--red-soft); color: #8F221D; }
.notice.warn { background: var(--yellow-soft); color: #5C4400; }
.notice.ok { background: var(--green-soft); color: var(--green); }
.empty { text-align: center; padding: 30px 0; color: var(--muted); font-size: 14px; }
.link { color: var(--yellow-ink); font-size: 14px; cursor: pointer; }
.plate-tag { display: inline-block; font-weight: 700; letter-spacing: 1px; padding: 1px 8px; border-radius: 5px; background: var(--yellow); color: var(--ink); border: 1.5px solid var(--ink); font-size: 18px; line-height: 1.4; }
.check { width: 20px; height: 20px; flex: none; border: 1.5px solid #B9BBC0; border-radius: 50%; font-size: 13px; line-height: 17px; text-align: center; margin-top: 2px; }
.check.on { background: var(--yellow); border-color: var(--yellow); font-weight: 700; }
.field { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; font-size: 16px; background: #fff; }
.field:focus { outline: none; border-color: var(--yellow-deep); }
.topbar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--yellow); font-weight: 700; }
.topbar .back { border: 0; background: rgba(255, 255, 255, 0.55); border-radius: 50%; width: 32px; height: 32px; font-size: 18px; line-height: 1; }

/* 提示框（代替 wx.showModal / showToast） */
.toast { position: fixed; left: 50%; top: 22%; transform: translate(-50%, -50%); background: rgba(31, 33, 38, 0.88); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; max-width: 80%; text-align: center; z-index: 100; }
.mask { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; z-index: 90; padding: 24px; }
.dialog { background: #fff; border-radius: 16px; width: 100%; max-width: 340px; overflow: hidden; }
.dialog .dt { font-size: 17px; font-weight: 700; text-align: center; padding: 20px 20px 6px; }
.dialog .dc { font-size: 15px; color: var(--muted); text-align: center; padding: 0 20px 20px; white-space: pre-wrap; }
.dialog .db { display: flex; border-top: 1px solid var(--line); }
.dialog .db button { flex: 1; border: 0; background: #fff; height: 50px; font-size: 16px; }
.dialog .db button + button { border-left: 1px solid var(--line); }
.dialog .db .primary { font-weight: 700; color: var(--yellow-ink); }
.dialog .db .danger { font-weight: 700; color: var(--red); }

/* 三步进度：了解情况 → 拍照上传 → 确认提交 */
.steps3 { display: flex; gap: 6px; padding: 4px 16px 12px; background: var(--yellow); }
.steps3 .s { flex: 1; }
.steps3 .ln { height: 4px; border-radius: 2px; background: rgba(31, 33, 38, 0.15); }
.steps3 .s.done .ln, .steps3 .s.now .ln { background: var(--ink); }
.steps3 .t { font-size: 13px; margin-top: 5px; color: rgba(31, 33, 38, 0.6); }
.steps3 .s.now .t { color: var(--ink); font-weight: 700; }
.steps3 .s.done .t { color: var(--ink); }

/* 登录 */
.pg-login .hero { padding: 48px 0 30px; text-align: center; }
.pg-login .hero .h1 { font-size: 26px; margin-bottom: 6px; }
.pg-login .code-row { display: flex; gap: 10px; margin-top: 10px; }
.pg-login .code-row .field { flex: 1; }
.pg-login .code-row .ghost { width: 120px; flex: none; height: auto; font-size: 14px; }
.pg-login .agree { display: flex; align-items: flex-start; gap: 8px; margin: 16px 2px; font-size: 14px; color: var(--muted); }
.pg-login .tip { text-align: center; margin-top: 12px; }

/* 首页 */
.pg-home .hero { background: var(--yellow); padding: 8px 20px 75px; }
.pg-home .top { margin-bottom: 18px; }
.pg-home .brand { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 700; letter-spacing: 1px; }
.pg-home .logo { width: 26px; height: 26px; background: #fff; border-radius: 7px; padding: 4px; }
.pg-home .icon-btn { position: relative; width: 36px; height: 36px; border-radius: 18px; background: rgba(255, 255, 255, 0.55); display: flex; align-items: center; justify-content: center; border: 0; }
.pg-home .icon-btn img { width: 18px; height: 18px; }
.pg-home .title { font-size: 26px; font-weight: 900; line-height: 1.35; }
.pg-home .sub { font-size: 14px; color: #5C4400; margin-top: 6px; }
.pg-home .start { margin: -55px 16px 0; box-shadow: 0 8px 24px rgba(31, 33, 38, 0.08); display: flex; flex-direction: column; gap: 16px; }
.pg-home .flow { display: flex; }
.pg-home .f { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pg-home .fi { width: 40px; height: 40px; border-radius: 12px; background: var(--yellow-soft); display: flex; align-items: center; justify-content: center; }
.pg-home .fi img { width: 20px; height: 20px; }
.pg-home .ft { font-size: 13px; }
.pg-home .prep { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.pg-home .prep-t { font-size: 14px; color: var(--muted); margin-bottom: 5px; }
.pg-home .prep-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-home .pi { font-size: 14px; background: #fff; border-radius: 6px; padding: 3px 8px; }
.pg-home .list { padding-top: 20px; }
.pg-home .list-head { margin: 0 2px 10px; }
.pg-home .order { display: flex; flex-direction: column; gap: 11px; cursor: pointer; }
.pg-home .car { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pg-home .trailer { font-size: 13px; }
.pg-home .segs { display: flex; gap: 4px; }
.pg-home .seg { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.pg-home .seg.done { background: var(--ink); }
.pg-home .seg.now { background: var(--yellow); }
.pg-home .meta .muted { flex: 1; }
.pg-home .next { font-size: 14px; font-weight: 700; white-space: nowrap; margin-left: 8px; }
.pg-home .batch .brow { padding: 7px 0; border-top: 1px solid var(--line); }
.pg-home .plate-tag.mini { font-size: 14px; padding: 1px 7px; }
.pg-home .fold { text-align: center; color: var(--muted); font-size: 14px; padding: 12px 0 16px; cursor: pointer; }
.pg-home .order.off { opacity: 0.7; }
.pg-home .logout { text-align: center; color: var(--muted); font-size: 13px; padding: 10px 0; cursor: pointer; }

/* 填写情况 / 拍照清单 / 确认提交 */
.pg-apply .head { margin: 4px 2px 14px; }
.pg-apply .q { display: flex; flex-direction: column; gap: 12px; }
.pg-apply .qh { display: flex; gap: 10px; }
.pg-apply .qn { font-size: 15px; font-weight: 700; color: var(--yellow-ink); }
.pg-apply .qt { font-size: 15.5px; font-weight: 700; }
.pg-apply .opts { display: flex; gap: 9px; }
.pg-apply .opt { flex: 1; height: 44px; border: 1.5px solid #D9D9D5; border-radius: 11px; font-size: 14.5px; background: #fff; }
.pg-apply .opt.on { border-color: var(--yellow-deep); background: var(--yellow-soft); font-weight: 700; }
.pg-apply .count { display: flex; align-items: center; gap: 7px; }
.pg-apply .count img { width: 18px; height: 18px; flex: none; }
.pg-apply .ring { width: 56px; height: 56px; border-radius: 28px; display: flex; align-items: center; justify-content: center; flex: none; }
.pg-apply .ring-in { width: 44px; height: 44px; border-radius: 22px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.pg-apply .item { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 10px; cursor: pointer; }
.pg-apply .item.bad { border: 1.5px solid #E7A39E; }
.pg-apply .dot { width: 40px; height: 40px; border-radius: 20px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--yellow-soft); color: var(--yellow-ink); font-weight: 700; }
.pg-apply .dot img { width: 20px; height: 20px; }
.pg-apply .dot.done { background: var(--green-soft); }
.pg-apply .dot.bad { background: var(--red-soft); }
.pg-apply .it { flex: 1; min-width: 0; }
.pg-apply .il { font-size: 15px; font-weight: 700; }
.pg-apply .is { font-size: 13px; color: var(--muted); margin-top: 2px; }
.pg-apply .is.bad { color: var(--red); }
.pg-apply .ia { font-size: 14px; color: var(--yellow-ink); white-space: nowrap; }
.pg-apply .ia.done { color: var(--green); font-size: 13px; }
.pg-apply .ia.bad { color: var(--red); font-weight: 700; }
.pg-apply .change { text-align: center; padding: 8px 0; display: block; }
.pg-apply .kv { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pg-apply .kv:last-child { border-bottom: 0; }
.pg-apply .k { color: var(--muted); }
.pg-apply .mono { font-weight: 700; letter-spacing: 0.5px; }
.pg-apply .consent { display: flex; gap: 9px; font-size: 13.5px; cursor: pointer; }
.pg-apply .consent + .consent { margin-top: 14px; }
.pg-apply .ct { flex: 1; }
.pg-apply .ctext { color: var(--muted); font-size: 13px; margin-top: 4px; white-space: pre-wrap; }
.pg-apply .cancel { text-align: center; color: var(--muted); font-size: 14px; padding: 16px 0; cursor: pointer; }
.pg-apply .vo { margin-top: 0; }

/* 拍照 */
.pg-capture .top { background: var(--yellow); padding: 4px 16px 14px; }
.pg-capture .intro { font-size: 14px; color: #5C4400; flex: 1; padding-right: 10px; }
.pg-capture .pos { font-size: 14px; font-weight: 700; }
.pg-capture .tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.pg-capture .tab { font-size: 13px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); border: 0; }
.pg-capture .tab.on { background: var(--ink); color: #fff; font-weight: 700; }
.pg-capture .tab.ok { color: var(--green); }
.pg-capture .tab.bad { color: var(--red); }
.pg-capture .tab.on.ok, .pg-capture .tab.on.bad { color: #fff; }
.pg-capture .err { display: flex; gap: 7px; align-items: flex-start; }
.pg-capture .err img { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.pg-capture .stage { position: relative; height: 230px; border-radius: 16px; background: #2B2D33; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; }
.pg-capture .example { width: 100%; height: 100%; object-fit: contain; }
.pg-capture .ex-tag { position: absolute; left: 10px; top: 10px; background: var(--yellow); font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pg-capture .doc { width: 78%; padding: 18px 16px; border-radius: 10px; background: #FAF7EC; text-align: center; font-size: 17px; font-weight: 700; }
.pg-capture .tip-line { font-size: 15px; line-height: 1.5; margin-top: 12px; }
.pg-capture .tip-k { font-weight: 700; margin-right: 6px; }
.pg-capture .points { display: flex; gap: 8px; margin-top: 12px; }
.pg-capture .pt { flex: 1; background: #fff; border-radius: 12px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; text-align: center; }
.pg-capture .pt img { width: 24px; height: 24px; }
.pg-capture .photo { width: 100%; height: 240px; border-radius: 16px; background: #2B2D33; object-fit: contain; }
.pg-capture .checking { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 0; }
.pg-capture .spinner { width: 32px; height: 32px; border-radius: 50%; border: 4px solid var(--yellow-soft); border-top-color: var(--yellow-deep); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pg-capture .res { margin-top: 12px; }
.pg-capture .rh { display: flex; gap: 10px; align-items: center; }
.pg-capture .badge { width: 36px; height: 36px; border-radius: 18px; flex: none; display: flex; align-items: center; justify-content: center; }
.pg-capture .badge.ok { background: var(--green); }
.pg-capture .badge.bad { background: var(--red); }
.pg-capture .badge img { width: 20px; height: 20px; }
.pg-capture .fields { background: var(--bg); border-radius: 12px; padding: 2px 14px; margin-top: 14px; }
.pg-capture .f { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pg-capture .f:last-child { border-bottom: 0; }
.pg-capture .fk { font-size: 14px; color: var(--muted); flex: none; }
.pg-capture .fv { font-size: 15px; font-weight: 700; text-align: right; word-break: break-all; }
.pg-capture .fv.same { color: var(--green); font-size: 14px; }
.pg-capture .fv.diff { color: var(--red); font-size: 14px; }
.pg-capture .shoot { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pg-capture .shoot img { width: 20px; height: 20px; }
.pg-capture .file { display: none; }
.preview { position: fixed; inset: 0; background: #000; z-index: 95; display: flex; align-items: center; justify-content: center; }
.preview img { max-width: 100%; max-height: 100%; }

/* 订单 */
.pg-order .head { background: var(--yellow); padding: 6px 16px 50px; }
.pg-order .no { font-size: 13px; color: #5C4400; }
.pg-order .hr { justify-content: flex-start; gap: 10px; margin-top: 6px; }
.pg-order .state { font-size: 14px; font-weight: 700; background: var(--ink); color: #fff; border-radius: 999px; padding: 2px 12px; }
.pg-order .body { margin-top: -40px; }
.pg-order .amount { font-size: 22px; font-weight: 900; }
.pg-order .pay-box { background: var(--bg); border-radius: 12px; padding: 12px; margin-top: 10px; }
.pg-order .pay-t { font-weight: 700; }
.pg-order .pay-note { white-space: pre-wrap; display: block; margin: 4px 0; user-select: text; }
.pg-order .steps { padding-left: 4px; }
.pg-order .st { display: flex; gap: 10px; position: relative; padding-bottom: 14px; }
.pg-order .st .d { width: 14px; height: 14px; border-radius: 50%; background: var(--line); margin-top: 5px; flex: none; }
.pg-order .st.done .d { background: var(--ink); }
.pg-order .st.now .d { background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-soft); }
.pg-order .st .tt { font-size: 14.5px; }
.pg-order .st.now .tt { font-weight: 700; }
.pg-order .kv2 { display: flex; gap: 10px; font-size: 14px; padding: 4px 0; }
.pg-order .kv2 .k { color: var(--muted); flex: none; width: 64px; }
.pg-order .sel { user-select: text; -webkit-user-select: text; }
.pg-order .link-btn { border: 0; background: none; color: var(--green); font-size: 14px; padding: 4px 0; }
.pg-order .ship { background: var(--bg); border-radius: 12px; padding: 10px 12px; margin-top: 8px; }
.pg-order .ship-form { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.pg-order select.field { appearance: none; -webkit-appearance: none; }
.pg-order .traces { margin: 8px 0 4px; }
.pg-order .trace { display: flex; gap: 10px; padding: 4px 0; font-size: 14px; }
.pg-order .tdot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); margin-top: 6px; flex: none; }
.pg-order .tdot.on { background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.pg-order .plate-box { text-align: center; background: var(--bg); border-radius: 14px; padding: 14px; margin-top: 10px; }
.pg-order .plate-no { font-size: 30px; font-weight: 900; letter-spacing: 2px; margin: 4px 0; }
.mt { margin-top: 10px; }

/* 协议 */
.pg-doc .sec { margin-bottom: 14px; }
.pg-doc .sec .h2 { margin-bottom: 4px; }

/* 签署 */
.section-title { display: flex; align-items: center; gap: 8px; margin: 18px 2px 9px; }
.section-title .num { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.pg-sign .doc { cursor: pointer; }
.pg-sign .doc .muted { margin-top: 3px; }
.pg-sign .doc .link { display: inline-block; margin-top: 6px; }
.pg-sign .consent { display: flex; gap: 8px; font-size: 14px; cursor: pointer; }
.pg-sign .term { margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line); line-height: 1.55; }
.pg-sign .term-from { font-size: 13px; color: var(--muted); }
.pg-sign .pad { display: block; width: 100%; height: 150px; margin-top: 9px; border: 1.5px dashed var(--line); border-radius: 10px; background: #FCFCFA; touch-action: none; }
.pg-sign .pad.saved { display: flex; align-items: center; justify-content: center; border-style: solid; }
.pg-sign .sig-img { max-width: 100%; max-height: 100%; }
.pg-sign .pad-actions { display: flex; gap: 10px; margin-top: 10px; }
.pg-sign .pad-actions .ghost { flex: 1; }
.pg-sign .pad-actions .btn { flex: 2; }
.pg-sign .no-face { text-align: center; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 4px 0 10px; cursor: pointer; }
.pg-sign .result { text-align: center; padding: 24px 18px; }
.pg-sign .result-mark { width: 48px; height: 48px; line-height: 48px; margin: 0 auto 10px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 26px; font-weight: 700; }
.pg-sign .result-line { font-size: 14px; line-height: 1.6; margin-top: 6px; text-align: left; }

/* 翻看文书 */
.pg-read { padding-bottom: 130px; }
.pg-read .page { max-width: 760px; margin: 10px auto 0; padding: 0 8px; }
.pg-read .page-img { width: 100%; background: #fff; border-radius: 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }
.pg-read .page-no { text-align: center; font-size: 12px; margin-top: 4px; }
.pg-read .end { height: 1px; }

/* 首页：价格、时效、客服入口 */
.pg-home .top { display: flex; align-items: center; justify-content: space-between; }
.pg-home .top-btns { display: flex; gap: 8px; }
.pg-home .pill { position: relative; border: 0; background: rgba(255, 255, 255, 0.6); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.pg-home .pill .dot { position: absolute; top: 3px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.pg-home .facts { display: flex; gap: 10px; }
.pg-home .fact { flex: none; min-width: 108px; background: var(--yellow-soft); border-radius: 12px; padding: 10px 12px; }
.pg-home .fact.wide { flex: 1; }
.pg-home .fv { font-size: 24px; font-weight: 900; line-height: 1.2; }
.pg-home .fv span { font-size: 14px; font-weight: 700; margin-left: 2px; }
.pg-home .fv2 { font-size: 15px; font-weight: 700; line-height: 1.6; min-height: 29px; display: flex; align-items: center; }
.pg-home .fk { font-size: 13px; color: #5C4400; margin-top: 2px; }
.pg-home .assure { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); margin-top: -6px; }
.pg-home .assure .link { white-space: nowrap; }
.warn-line { color: #8A5A00; margin-top: 4px; }
/* 订单页：客服和取消 */
.pg-order .help .tel { line-height: 47px; text-decoration: none; color: var(--ink); font-size: 14px; }
.pg-order .help .cancel { text-align: center; color: var(--muted); font-size: 14px; padding: 14px 0 2px; cursor: pointer; }
.pg-order .pay-box .kv2 { margin: 2px 0; }
/* 客服 */
.pg-support { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }
.pg-support .tb-tel { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; background: rgba(255, 255, 255, 0.55); border-radius: 999px; padding: 5px 12px; }
.pg-support .chat { flex: 1; overflow-y: auto; padding: 12px 14px; }
.pg-support .tip { background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 14px; color: var(--muted); margin-bottom: 12px; line-height: 1.55; }
.pg-support .quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pg-support .q { background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 13px; font-size: 14px; }
.pg-support .msg { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 12px; }
.pg-support .msg.user { align-items: flex-end; }
.pg-support .msg.system { align-items: center; }
.pg-support .who { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.pg-support .bubble { max-width: 82%; background: #fff; border-radius: 14px; padding: 9px 12px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.pg-support .msg.user .bubble { background: var(--yellow); }
.pg-support .msg.system .bubble { background: none; color: var(--muted); font-size: 13px; text-align: center; }
.pg-support .typing { color: var(--muted); }
.pg-support .inputbar { background: #fff; border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
.pg-support .inputbar .row { gap: 8px; }
.pg-support .inputbar .field { flex: 1; }
.pg-support .human { font-size: 13px; color: #5C4400; background: var(--yellow-soft); border-radius: 8px; padding: 5px 10px; margin-bottom: 6px; }
.pg-support .send { flex: none; border: 0; background: var(--yellow); border-radius: 10px; padding: 0 16px; height: 46px; font-size: 15px; font-weight: 700; }
.pg-support .send:disabled { opacity: 0.5; }
/* 消息 */
.pg-messages .wrap { padding-top: 14px; }
.pg-messages .note { cursor: pointer; }
.pg-messages .note.unread { border-left: 4px solid var(--yellow-deep); }
.pg-messages .nb { font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.55; }

/* 运输公司入口、认证页、车主签字链接页 */
.pg-home .corp { cursor: pointer; margin-top: 12px; }
.pg-home .corp .next { color: var(--yellow-ink); font-size: 14px; white-space: nowrap; }
.center { text-align: center; display: block; }
.pg-company .wrap, .pg-vo .wrap { padding-top: 14px; }
.pg-company .lbl { font-size: 14px; color: var(--muted); margin: 10px 0 4px; }
.pg-company .lbl:first-child { margin-top: 0; }
.pg-company .field:disabled { background: var(--bg); color: var(--muted); }
.pg-company .doc { display: block; position: relative; cursor: pointer; }
.pg-company .doc .file { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; }
.pg-company .section-title, .pg-vo .section-title { display: flex; align-items: center; gap: 8px; margin: 18px 2px 10px; }
.pg-company .num { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pg-company .bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 8px 16px calc(10px + env(safe-area-inset-bottom)); }
.pg-company .bar .hint { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 6px; }
.pg-vo .h1 { font-size: 20px; font-weight: 800; }

/* 投诉举报 */
.pg-report .wrap { padding-top: 14px; }
.pg-report .tel { display: block; text-align: center; line-height: 50px; text-decoration: none; color: var(--ink); }
.pg-report textarea.field { resize: vertical; font-family: inherit; }

/* 首页：协助办理范围，如实说明 */
.pg-home .scope { font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: -6px; }

/* ---------- 2026-11-23 界面打磨：字大一点、按得准、层次清楚（用户多是四五十岁的司机） ---------- */
:root { --bg: #F5F4EF; --line: #E7E5DD; --muted: #5A6070; --shadow: 0 1px 2px rgba(31, 33, 38, .04), 0 6px 18px rgba(31, 33, 38, .05); }
html, body { font-size: 16px; }
.card { border-radius: 18px; padding: 18px 16px; box-shadow: var(--shadow); }
.h1 { font-size: 22px; line-height: 1.35; }
.h2 { font-size: 17px; line-height: 1.4; }
.muted { font-size: 14.5px; line-height: 1.6; }
.small { font-size: 14px; }
.btn { height: 54px; border-radius: 14px; font-size: 17px; letter-spacing: .5px; box-shadow: 0 3px 0 var(--yellow-deep); transition: transform .08s, box-shadow .08s; }
.btn:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 var(--yellow-deep); }
.btn:disabled { box-shadow: none; }
.ghost { height: 52px; border-radius: 14px; font-size: 16px; transition: background .1s; }
.ghost:active { background: var(--bg); }
.btn:focus-visible, .ghost:focus-visible, .opt:focus-visible, .back:focus-visible { outline: 3px solid rgba(31, 33, 38, .35); outline-offset: 2px; }
.field { min-height: 50px; border-radius: 12px; }
.field:focus { box-shadow: 0 0 0 3px var(--yellow-soft); }
.chip { font-size: 13.5px; padding: 3px 11px; font-weight: 600; }
.notice { border-radius: 14px; font-size: 15px; }
.topbar { padding: 11px 14px; font-size: 17px; min-height: 56px; }
.topbar .back { width: 36px; height: 36px; font-size: 22px; }
.bar { padding-top: 12px; box-shadow: 0 -6px 20px rgba(31, 33, 38, .07); }
.bar .hint { font-size: 14px; }
.toast { top: 42%; font-size: 15px; padding: 12px 18px; border-radius: 12px; }
.dialog { border-radius: 18px; }
.dialog .dc { line-height: 1.7; }
.section-title .h2 { font-size: 17px; }

/* 登录 */
.pg-login .hero { padding: 56px 0 28px; }
.pg-login .hero .h1 { font-size: 30px; font-weight: 900; letter-spacing: 1px; }
.pg-login .code-row .ghost { width: 126px; font-size: 15px; }
.pg-login .agree { font-size: 14.5px; }

/* 首页 */
.pg-home { display: flex; flex-direction: column; min-height: 100vh; }
.pg-home .hero { padding: 12px 20px 84px; order: 0; }
.pg-home .top { margin-bottom: 22px; }
.pg-home .brand { font-size: 18px; font-weight: 800; }
.pg-home .logo { width: 30px; height: 30px; }
.pg-home .pill { min-height: 36px; padding: 6px 15px; }
.pg-home .title { font-size: 31px; line-height: 1.28; letter-spacing: 1px; }
.pg-home .sub { font-size: 15px; line-height: 1.6; margin-top: 10px; color: #4F3B00; max-width: 21em; }
.pg-home .start { order: 1; width: calc(100% - 32px); max-width: 528px; align-self: center; margin: -64px 0 0; padding: 18px 16px; gap: 15px; box-shadow: 0 10px 28px rgba(31, 33, 38, .10); }
.pg-home .flow { position: relative; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pg-home .f { position: relative; }
.pg-home .f:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: calc(50% + 27px); right: calc(-50% + 27px); border-top: 2px dotted #D9CFA8; }
.pg-home .fi { width: 44px; height: 44px; border-radius: 14px; }
.pg-home .fi img { width: 23px; height: 23px; }
.pg-home .ft { font-size: 13.5px; font-weight: 600; }
.pg-home .fact { min-width: 118px; border-radius: 14px; padding: 12px; }
.pg-home .fv { font-size: 29px; letter-spacing: -.5px; }
.pg-home .fv2 { font-size: 15.5px; line-height: 1.45; }
.pg-home .fk { font-size: 13.5px; }
.pg-home .scope { margin-top: 0; font-size: 14px; color: var(--muted); background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.pg-home .scope b { display: block; color: var(--ink); font-size: 14.5px; margin-bottom: 1px; }
.pg-home .assure { margin-top: -3px; font-size: 14px; align-items: center; }
.pg-home .assure .link { font-weight: 600; }
.pg-home .prep { background: none; padding: 2px 2px 0; }
.pg-home .prep-t { font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.pg-home .prep-list { display: grid; grid-template-columns: 1fr; gap: 7px; }
.pg-home .pi { background: none; padding: 0 0 0 25px; position: relative; font-size: 15px; line-height: 1.45; }
.pg-home .pi::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.pg-home .list { order: 2; width: 100%; padding-top: 16px; padding-bottom: 8px; }
.pg-home .logout { order: 3; padding: 4px 0 16px; font-size: 14px; }
.pg-home .order { gap: 12px; }
.pg-home .plate-tag { font-size: 19px; }
.pg-home .next { color: var(--yellow-ink); font-size: 15px; }
/* 老客户回来：先看自己的单，再看“再办一辆” */
.pg-home.returning .list { order: 1; max-width: 560px; align-self: center; margin-top: -68px; padding-top: 0; }
.pg-home.returning .list-head .h2, .pg-home.returning .list-head .muted { color: var(--ink); }
.pg-home.returning .start { order: 2; margin-top: 4px; }
.pg-home.returning .flow, .pg-home.returning .facts, .pg-home.returning .prep, .pg-home.returning .assure, .pg-home.returning .scope { display: none; }
.pg-home.returning .hero { padding-bottom: 92px; }
.pg-home.returning .title { font-size: 25px; }

/* 申请 */
.steps3 .t { font-size: 14px; }
.pg-apply .qt { font-size: 17px; line-height: 1.45; }
.pg-apply .opt { height: 50px; border-radius: 13px; font-size: 16px; }
.pg-apply .opt.on { box-shadow: inset 0 0 0 1px var(--yellow-deep); }
.pg-apply .il { font-size: 16.5px; }
.pg-apply .is { font-size: 14px; line-height: 1.5; }
.pg-apply .ia { font-size: 15px; font-weight: 600; }
.pg-apply .kv { font-size: 15.5px; padding: 11px 0; }
.pg-apply .consent { font-size: 15px; line-height: 1.55; }
.warn-line { line-height: 1.55; font-size: 14px; background: var(--yellow-soft); border-radius: 9px; padding: 7px 9px; margin-top: 7px; }

/* 拍照 */
.pg-capture .intro { font-size: 14.5px; line-height: 1.5; }
.pg-capture .tab { min-height: 36px; font-size: 14px; padding: 6px 12px; }
.pg-capture .stage { height: 236px; border-radius: 18px; background: #F2EFE5; }
.pg-capture .ex-cap { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.pg-capture .tip-line { font-size: 16px; }
.pg-capture .tip-k { display: block; font-size: 17px; margin-bottom: 1px; }
.pg-capture .pt { font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow); }
.pg-capture .photo { border-radius: 18px; background: #F2EFE5; }

/* 订单 */
.pg-order .head { padding: 8px 18px 54px; }
.pg-order .no { font-size: 13.5px; }
.pg-order .state { font-size: 14.5px; padding: 3px 13px; }
.pg-order .amount { font-size: 27px; }
.pg-order .pay-box { border-radius: 14px; padding: 13px 14px; }
.pg-order .pay-note { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.pg-order .kv2 { font-size: 15.5px; line-height: 1.55; padding: 5px 0; }
.pg-order .kv2 .k { width: 72px; }
.pg-order .steps { padding-left: 2px; }
.pg-order .st { padding-bottom: 18px; }
.pg-order .st:last-child { padding-bottom: 0; }
.pg-order .st:not(:last-child)::before { content: ""; position: absolute; left: 6px; top: 22px; bottom: -3px; width: 2px; background: var(--line); }
.pg-order .st.done:not(:last-child)::before { background: var(--ink); }
.pg-order .st .d { position: relative; z-index: 1; }
.pg-order .st .tt { font-size: 15.5px; }
.pg-order .plate-box { border-radius: 16px; background: var(--yellow-soft); padding: 16px; }
.pg-order .plate-no { font-size: 32px; }
.pg-order .help .cancel { font-size: 14.5px; }

/* 签署 */
.pg-sign .wrap.waiting > :not(.load-state) { display: none; }
.pg-sign .consent { font-size: 15px; line-height: 1.55; }
.pg-sign .term { font-size: 15px; }
.pg-sign .pad { height: 170px; border-radius: 13px; }
.pg-sign .no-face { font-size: 14px; }
.pg-sign .result-mark { width: 58px; height: 58px; line-height: 58px; font-size: 31px; }
.pg-sign .result-line { font-size: 15.5px; }

/* 客服、消息、认证 */
.pg-support .bubble { font-size: 16px; }
.pg-support .q { font-size: 15px; padding: 8px 14px; }
.pg-support .tip { font-size: 14.5px; }
.pg-messages .nb { font-size: 15px; }
.pg-company .lbl { font-size: 14.5px; }
