:root{--blue:#2f6fed;--blue-d:#1d54c4;--bg:#f4f6fa;--card:#fff;--line:#e8ecf3;--text:#1f2a3d;--muted:#8b95a7;--green:#16a34a;--red:#e2483d;--amber:#d97706}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;font-size:14px;color:var(--text);background:#e9edf5}
a{text-decoration:none;color:inherit}
button,input{font-family:inherit}
.hidden{display:none!important}
.wrap{max-width:520px;margin:0 auto;min-height:100vh;background:var(--bg);padding-bottom:78px;position:relative;box-shadow:0 0 40px rgba(24,35,56,.06)}
.view{padding:0 14px}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:15px;margin-bottom:12px}
.card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}
.card-title strong{font-size:15px;font-weight:500}.card-title span{font-size:11.5px;color:var(--muted)}
.btn-main{width:100%;height:46px;border:0;border-radius:10px;background:linear-gradient(90deg,#3b7bff,#2f6fed);color:#fff;font-size:15px;font-weight:500;cursor:pointer;box-shadow:0 5px 14px rgba(47,111,237,.22)}
.btn-main:disabled{background:#c8d2e4;box-shadow:none;cursor:not-allowed}
.btn-light{height:40px;padding:0 20px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#5a667a;font-size:14px;cursor:pointer}
.btn-outline{display:block;text-align:center;height:42px;line-height:42px;border:1px solid var(--blue);border-radius:9px;color:var(--blue);font-size:14px;background:#fff}

/* 首页 */
.h-head{display:flex;align-items:center;justify-content:space-between;padding:18px 2px 14px}
.h-brand{display:flex;align-items:center;gap:9px}
.h-logo{width:34px;height:34px;border-radius:10px;background:var(--blue);color:#fff;display:grid;place-items:center;font-size:16px}
.h-brand strong{display:block;font-size:15px;font-weight:500}.h-brand small{display:block;font-size:11px;color:var(--muted)}
.h-badge{font-size:11px;color:var(--blue);background:#e7f0ff;border-radius:20px;padding:4px 10px}
.hero{position:relative;overflow:hidden;border-radius:16px;background:linear-gradient(135deg,#1e56d6,#3b82f6 60%,#63a0ff);color:#fff;padding:24px 20px 26px;margin-bottom:12px}
.hero-tag{display:inline-block;font-size:11px;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);border-radius:20px;padding:4px 11px;margin-bottom:14px}
.hero h1{font-size:25px;line-height:1.4;margin:0 0 9px;font-weight:500;position:relative;z-index:2}
.hero p{font-size:12.5px;line-height:1.7;opacity:.88;margin:0;max-width:330px;position:relative;z-index:2}
.hero-deco{position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.18)}.d1{width:200px;height:200px;right:-56px;top:-66px}.d2{width:130px;height:130px;right:22px;bottom:-74px;background:rgba(255,255,255,.07)}
.notice{display:flex;align-items:center;gap:9px;background:#fff8e8;border:1px solid #f6e2b6;border-radius:10px;padding:9px 12px;margin-bottom:12px;font-size:12px;overflow:hidden}
.notice-ico{flex:0 0 auto;background:var(--amber);color:#fff;border-radius:4px;padding:2px 6px;font-size:10.5px}
.notice-text{color:#8a7a55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.query-card{padding:17px 16px}
.phone-input{display:flex;align-items:center;border:1.5px solid #dfe6f2;border-radius:10px;height:50px;padding:0 13px;margin-bottom:12px;background:#fbfcfe}
.phone-input:focus-within{border-color:var(--blue);background:#fff}
.pi-prefix{font-size:14px;color:#5a667a;padding-right:11px;border-right:1px solid var(--line);margin-right:11px}
.phone-input input{border:0;outline:0;flex:1;font-size:17px;letter-spacing:.5px;background:transparent;font-variant-numeric:tabular-nums}
.query-note{text-align:center;font-size:11.5px;color:var(--muted);margin-top:11px}.query-note strong{color:var(--blue)}
.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}
.quick-item{background:#fff;border:1px solid var(--line);border-radius:12px;padding:13px 4px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11.5px;color:#4a5568;cursor:pointer}
.qi-ico{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;font-size:16px;font-style:normal}
.qi-ico.blue{background:#eaf1ff;color:var(--blue)}.qi-ico.green{background:#e7f7ed;color:var(--green)}.qi-ico.violet{background:#f0ebfd;color:#7c5cd6}.qi-ico.amber{background:#fff3e2;color:var(--amber)}
.plat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px 6px}
.plat{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:11.5px;color:#5a667a;text-align:center}
.plat-dot{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;color:#fff;font-size:15px;font-weight:500}
.flow-list{display:flex;flex-direction:column;gap:13px}
.flow-list>div{display:flex;align-items:center;gap:11px}
.fnum{width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#eaf1ff;color:var(--blue);display:grid;place-items:center;font-size:12px}
.flow-list strong{display:block;font-size:13px;font-weight:500}.flow-list small{display:block;font-size:11.5px;color:var(--muted);margin-top:2px}
.h-foot{text-align:center;font-size:11.5px;color:var(--muted);line-height:2;padding:16px 0 22px}.h-foot a{color:var(--blue)}.foot-dim{color:#a6afbe;font-size:11px}

/* 结果页 */
.sub-head{display:flex;align-items:center;justify-content:space-between;height:52px;margin:0 -14px 12px;padding:0 14px;background:#fff;border-bottom:1px solid var(--line)}
.sub-head strong{font-size:15px;font-weight:500}
.back{border:0;background:transparent;font-size:26px;color:#4a5568;line-height:1;cursor:pointer;width:34px;text-align:left}
.back.right{font-size:13px;width:auto;color:var(--blue)}.head-blank{width:34px}
.result-top{background:linear-gradient(135deg,#2f6fed,#548cff);border-radius:14px;color:#fff;padding:17px 18px;margin-bottom:12px}
.rt-phone{font-size:23px;font-weight:500;letter-spacing:1px;font-variant-numeric:tabular-nums}
.rt-sub{font-size:11.5px;opacity:.85;margin-top:5px}
.rt-summary{display:flex;gap:18px;margin-top:14px;padding-top:12px;border-top:1px solid rgba(255,255,255,.22);font-size:12px}
.rt-summary b{font-size:16px;font-weight:500;margin-right:3px}
.mode-switch{background:#fff8e8;border:1px solid #f6e2b6;border-radius:10px;padding:11px 13px;margin-bottom:12px;font-size:12.5px}
.mode-switch label{display:flex;align-items:center;gap:7px}.mode-switch input{accent-color:var(--blue)}
.mode-warn{color:#9a7a3c;font-size:11px;margin-top:6px;line-height:1.6}
.matrix{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mcell{border:1px solid var(--line);border-radius:10px;padding:10px 8px;min-height:76px;background:#fbfcfe;display:flex;flex-direction:column;justify-content:space-between}
.mcell .mc-name{font-size:11.5px;color:#5a667a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mcell .mc-val{font-size:12.5px;font-weight:500;margin-top:9px;line-height:1.35}
.mcell.marked{background:#fff5f4;border-color:#f7d4d0}.mcell.marked .mc-val{color:var(--red)}
.mcell.clean .mc-val{color:var(--green)}
.mcell.fail{background:#f6f7f9;border-color:#e5e8ee}.mcell.fail .mc-val{color:#8b95a7}
.matrix-legend{display:flex;gap:15px;justify-content:center;margin-top:12px;font-size:11px;color:var(--muted)}
.matrix-legend span{display:flex;align-items:center;gap:5px}
.lg{width:9px;height:9px;border-radius:3px;display:inline-block}.lg.marked{background:#f7d4d0}.lg.clean{background:#cceeda}.lg.fail{background:#e5e8ee}
.options{display:flex;flex-direction:column;gap:9px}
.opt{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:11px;padding:11px 12px;cursor:pointer;background:#fff}
.opt.checked{border-color:var(--blue);background:#f5f9ff}
.opt input{width:17px;height:17px;accent-color:var(--blue);flex:0 0 17px}
.opt-main{flex:1;min-width:0}.opt-name{font-size:13.5px;font-weight:500}.opt-mark{font-size:11.5px;color:var(--red);margin-top:3px}
.opt-price{font-size:15px;color:var(--blue);font-weight:500;white-space:nowrap}
.opt-disabled{display:flex;align-items:center;justify-content:space-between;border:1px dashed var(--line);border-radius:10px;padding:10px 12px;font-size:12px;color:var(--muted);background:#fafbfd}
.opt-tip{font-size:11px;color:var(--muted);line-height:1.7;margin-top:11px}
.bottom-bar{position:fixed;bottom:62px;left:50%;transform:translateX(-50%);width:100%;max-width:520px;background:#fff;border-top:1px solid var(--line);padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:8;box-shadow:0 -4px 16px rgba(24,35,56,.05)}
.bb-left{font-size:12px;color:#5a667a}.bb-left strong{color:var(--blue)}.bb-total{margin-top:3px}.bb-total span{color:var(--red);font-size:17px;font-weight:500}.bb-total strong{font-size:19px;color:var(--red)}
.bb-btn{width:150px;height:42px;flex:0 0 150px;font-size:14px}

/* 进度 / 我的 */
.form-row{margin-bottom:13px}.form-row label{display:block;font-size:12px;color:#5a667a;margin-bottom:7px}
.form-row input{width:100%;height:44px;border:1px solid var(--line);border-radius:9px;padding:0 12px;font-size:14px;outline:0;background:#fbfcfe}
.form-row input:focus{border-color:var(--blue);background:#fff}
.progress-list{margin-top:12px}
.progress-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:10px}
.pc-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.pc-no{font-family:ui-monospace,Consolas,monospace;font-size:12px;color:#5a667a}
.pc-status{font-size:11.5px;border-radius:5px;padding:3px 9px}
.pc-status.green{background:#e7f7ed;color:var(--green)}.pc-status.blue{background:#eaf1ff;color:var(--blue)}.pc-status.amber{background:#fff3e2;color:var(--amber)}.pc-status.red{background:#fdeceb;color:var(--red)}.pc-status.gray{background:#f0f2f6;color:#7c879a}
.pc-row{display:flex;justify-content:space-between;font-size:12.5px;padding:5px 0;color:#5a667a}.pc-row strong{color:var(--text);font-weight:500}
.pc-reason{margin-top:9px;padding:9px 11px;background:#f7f9fd;border-radius:8px;font-size:11.5px;color:#6b7689;line-height:1.6}
.pg-tip{text-align:center;font-size:11.5px;color:var(--muted);line-height:1.8;padding:14px 10px 24px}
.pg-empty{text-align:center;color:var(--muted);font-size:13px;padding:30px 0}
.mine-head{display:flex;align-items:center;gap:13px;background:linear-gradient(135deg,#2f6fed,#548cff);border-radius:14px;color:#fff;padding:20px 18px;margin-bottom:12px}
.mh-avatar{width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.24);display:grid;place-items:center;font-size:19px}
.mine-head strong{display:block;font-size:16px;font-weight:500}.mine-head small{display:block;font-size:11.5px;opacity:.85;margin-top:3px}
.mine-balance{display:flex;align-items:center;justify-content:space-between;padding:12px 2px 16px;font-size:13px;color:#5a667a}
.mine-balance strong{font-size:24px;color:var(--blue);font-weight:500}

/* 底部导航 */
.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:520px;height:62px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);z-index:9}
.tab{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;color:var(--muted);cursor:pointer}
.tab i{font-style:normal;font-size:19px;line-height:1}.tab.active{color:var(--blue)}

/* 弹窗 / toast */
.modal{position:fixed;inset:0;z-index:30;display:flex;align-items:flex-end;justify-content:center}
.modal-mask{position:absolute;inset:0;background:rgba(15,23,38,.45)}
.modal-box{position:relative;width:100%;max-width:520px;background:#fff;border-radius:16px 16px 0 0;padding-bottom:16px;animation:up .2s ease-out}
@keyframes up{from{transform:translateY(30px);opacity:.6}to{transform:translateY(0);opacity:1}}
.modal-head{display:flex;align-items:center;justify-content:space-between;padding:15px 17px;border-bottom:1px solid var(--line)}
.modal-head strong{font-size:15px;font-weight:500}.modal-x{border:0;background:transparent;font-size:23px;color:var(--muted);cursor:pointer;line-height:1}
.modal-body{padding:15px 17px}
.modal-sum{background:#f5f9ff;border:1px solid #dce8ff;border-radius:10px;padding:11px 13px;margin-bottom:14px;font-size:12.5px;line-height:1.8;color:#2a4b8d}
.modal-foot{display:flex;gap:10px;padding:0 17px}.modal-foot .btn-light{flex:0 0 100px}.modal-foot .btn-main{flex:1}
.toast{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:50;background:rgba(24,35,56,.9);color:#fff;padding:11px 20px;border-radius:9px;font-size:13px;max-width:80%;text-align:center;line-height:1.6}
.success-box{background:#e9f8ef;border:1px solid #bfe8ce;border-radius:12px;padding:16px;margin-bottom:12px;text-align:center}
.success-box strong{display:block;font-size:16px;color:var(--green);margin-bottom:8px}
.success-code{font-family:ui-monospace,Consolas,monospace;font-size:24px;letter-spacing:3px;color:var(--blue);margin:8px 0}
.success-box small{font-size:11.5px;color:#5a667a;line-height:1.7;display:block}

@media(max-width:360px){.matrix{grid-template-columns:repeat(2,1fr)}.plat-grid{grid-template-columns:repeat(3,1fr)}.hero h1{font-size:22px}}
