/* ============================================================
   代理端新版 UI（工单跟单 + 四钱包）
   基于参考图重做：浅蓝渐变底、白卡片、圆角 16、蓝色主色
   旧组件（团队/设备/商户卡片）样式过渡保留在 style.css
   ============================================================ */

:root{
  --primary:#1677FF;--primary2:#4096FF;
  --bg:#F6F8FC;--card:#fff;
  --text:#1B1F25;--text2:#5F6672;--text3:#9AA0AB;--line:#EDEFF3;
  --violet:#6C5CE7;--orange:#FF9A2E;--green:#22C55E;--purple:#8B5CF6;
  --radius:16px;
}
body{background:linear-gradient(180deg,#E9F0FF 0%,#F4F7FC 320px,#F6F8FC 100%);background-attachment:fixed}
#app{background:transparent}
.card{border-radius:var(--radius);box-shadow:0 2px 10px rgba(24,60,140,.05);margin:10px}

/* 顶栏：透明 + 白色圆形返回 */
.topbar{background:transparent;border-bottom:0;height:calc(56px + var(--safe-t));padding-top:var(--safe-t)}
.topbar .title{font-size:17px;font-weight:700;letter-spacing:.5px}
.topbar .back{width:40px;height:40px;margin-left:12px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(24,60,140,.12)}
.topbar .back .ic{width:20px;height:20px}
.topbar .right{width:56px}

/* 底部导航 */
.tabbar{background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-top:1px solid rgba(0,0,0,.04)}
.tabbar a{padding:8px 0 6px;font-size:11px;gap:3px;position:relative}
.tabbar a .ic{width:23px;height:23px}
.tabbar a.on{color:var(--primary)}
.tab-badge{position:absolute;top:2px;left:50%;margin-left:4px;min-width:17px;height:17px;line-height:17px;padding:0 5px;border-radius:9px;background:#FF4D4F;color:#fff;font-size:11px;font-weight:600;text-align:center}

/* ============ 首页 ============ */
.greet{padding:calc(8px + var(--safe-t)) 14px 2px}
.greet .hi{font-size:25px;font-weight:800;letter-spacing:-.3px;margin:2px 0 6px}
.greet .sub{font-size:12px;color:#7C879B;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lowp{display:inline-block;padding:2px 9px;border-radius:8px;border:1px solid #BBD6FF;color:#4A7FE0;font-size:11px;background:#fff}
.income-card{margin:10px 10px 0;border-radius:18px;padding:14px 16px 16px;color:#fff;
  background:linear-gradient(105deg,#2D6BFF 0%,#3E8BFF 46%,#63B6FF 100%);
  box-shadow:0 10px 24px rgba(45,107,255,.28);position:relative;overflow:hidden}
.income-card::after{content:"";position:absolute;right:-40px;bottom:-70px;width:200px;height:200px;border-radius:50%;background:rgba(255,255,255,.14)}
.income-row{display:flex;gap:28px}
.income-item span{display:block;font-size:11px;opacity:.86;margin-bottom:6px}
.income-item b{font-size:28px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.5px}

.wallet-grid{margin-top:8px;padding:14px 4px 12px;display:grid;grid-template-columns:repeat(4,1fr)}
.wcell{text-align:center;position:relative}
.wcell::after{content:"";position:absolute;right:0;top:14%;height:72%;width:1px;background:#EFF2F7}
.wcell:last-child::after{display:none}
.wcell .t{font-size:11px;color:#8A93A3;margin-bottom:6px;white-space:nowrap}
.wcell .v{font-size:17px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:-.4px;white-space:nowrap}
.wtag{display:inline-block;margin-top:8px;padding:1px 10px;border-radius:7px;font-size:11px;color:#fff;line-height:19px}
.wtag.equity{background:var(--violet)}
.wtag.activation{background:var(--orange)}
.wtag.monthly{background:var(--green)}
.wtag.other{background:var(--purple)}

.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);padding:16px 8px}
.qitem{text-align:center;cursor:pointer}
.qico{width:56px;height:56px;border-radius:18px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center}
.qico .ic{width:26px;height:26px;stroke-width:1.6}
.qico.blue{background:#E8F1FF;color:#2D6BFF}
.qico.amber{background:#FFF3E0;color:#E8942A}
.qico.violet{background:#F0EDFF;color:#6C5CE7}
.qitem .lb{font-size:12px;color:#3A4252}
.qitem .nm{font-size:13px;color:#6C7385;margin-top:4px;font-weight:600}

.feed-head{display:flex;justify-content:space-between;align-items:center;padding:2px 4px 6px}
.feed-head h3{margin:0;font-size:15px;font-weight:700}
.feed-head .more-l{font-size:11px;color:#9AA0AB}
.feed .fi{display:flex;align-items:center;gap:12px;padding:14px 2px;border-bottom:1px solid #F2F4F8}
.feed .fi:last-child{border-bottom:0}
.fdot{width:9px;height:9px;border-radius:50%;flex:none}
.fdot.equity{background:#4A7BFF}.fdot.activation{background:#FF9A2E}
.fdot.monthly{background:#7C6BFF}.fdot.other{background:#8B5CF6}
.fi .txt{flex:1;min-width:0;font-size:12px;color:#2B3240;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fi .amt{font-size:14px;font-weight:700;color:#12B25B;font-variant-numeric:tabular-nums}
.fi .amt.neg{color:#E5484D}

/* ============ 跟单任务 ============ */
.wo-head{padding:6px 12px 0;display:flex;align-items:center}
.btn-pill{height:38px;padding:0 16px;border-radius:19px;font-size:12px;display:inline-flex;align-items:center;gap:5px;border:0;color:#fff;background:linear-gradient(100deg,#2D6BFF,#4E9BFF);box-shadow:0 6px 14px rgba(45,107,255,.24)}
.duty-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:10px}
.duty-card{background:#fff;border-radius:14px;padding:12px 12px 10px;box-shadow:0 2px 10px rgba(24,60,140,.05)}
.duty-card .t{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;gap:8px}
.duty-card .t .ar{font-size:11px;font-weight:500;color:#4A7FE0;display:inline-flex;align-items:center;gap:2px}
.duty-card .s{font-size:11px;color:#9AA0AB;margin-top:6px}
.switch{width:46px;height:27px;border-radius:14px;background:#DDE3EC;position:relative;flex:none;transition:background .18s;cursor:pointer}
.switch::after{content:"";position:absolute;top:2px;left:2px;width:23px;height:23px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.18);transition:left .18s}
.switch.on{background:linear-gradient(90deg,#2D6BFF,#4E9BFF)}
.switch.on::after{left:21px}

.wo-tip{margin:0 10px 10px;background:#fff;border-radius:14px;padding:12px 12px 10px;box-shadow:0 2px 10px rgba(24,60,140,.05);position:relative}
.wo-tip h4{margin:0 0 4px;font-size:13px;font-weight:700}
.wo-tip p{margin:0 0 10px;font-size:11px;color:#8A93A3;line-height:1.5}
.wo-tip .x{position:absolute;right:10px;top:10px;width:26px;height:26px;border:0;background:none;color:#B9C0CC;display:flex;align-items:center;justify-content:center}
.wo-tip .x .ic{width:15px;height:15px}

.seg-tabs{display:flex;background:#fff;margin:0 10px 10px;border-radius:14px;padding:3px 6px;box-shadow:0 2px 10px rgba(24,60,140,.05);position:sticky;top:calc(52px + var(--safe-t));z-index:20}
.seg-tabs button{flex:1;border:0;background:none;padding:11px 0;font-size:13px;color:#5F6672;position:relative;display:flex;align-items:center;justify-content:center;gap:5px}
.seg-tabs button.on{color:#2D6BFF;font-weight:700}
.seg-tabs button.on::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:3px;width:26px;height:3px;border-radius:2px;background:#2D6BFF}
.seg-tabs .cnt{min-width:18px;height:18px;line-height:18px;padding:0 5px;border-radius:9px;background:#FF4D4F;color:#fff;font-size:11px;font-weight:600}

/* 工单卡片 */
.wcard{background:#fff;border-radius:var(--radius);margin:0 10px 10px;padding:13px 13px 12px;box-shadow:0 2px 10px rgba(24,60,140,.05)}
.wcard .top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.wcard .no{font-size:14px;font-weight:700;letter-spacing:.2px;word-break:break-all;display:flex;align-items:center;gap:6px}
.wcard .tags{display:flex;gap:6px;flex:none;flex-wrap:wrap;justify-content:flex-end}
.wcard .name{font-size:19px;font-weight:700;margin:10px 0 4px;display:flex;align-items:center;gap:8px;color:#1B1F25}
.wcard .name .ph{font-size:15px;color:#2D6BFF;font-weight:600}
.wcard .addr{font-size:12px;color:#6B7385;line-height:1.55}
.wcard .meta{font-size:11px;color:#8A93A3;margin-top:8px;line-height:1.6}
.wcard .meta b{color:#4A5468;font-weight:600}
.wcard .latest{margin-top:12px;border:1px solid #E3ECFF;background:#F7FAFF;border-radius:12px;padding:10px 12px}
.wcard .latest .h{display:flex;justify-content:space-between;font-size:11px;color:#8A93A3}
.wcard .latest .h b{color:#2D6BFF;font-weight:600}
.wcard .latest .d{font-size:11px;color:#4A5468;margin-top:4px}
.wcard .link{margin-top:10px;padding-top:10px;border-top:1px solid #F2F4F8;text-align:right;font-size:12px;color:#2D6BFF}
.wcard.masked .name{color:#2B3240}
.tag-g{background:#E6F7EC;color:#12A65A}
.tag-b{background:#EAF1FF;color:#2D6BFF}
.tag-o{background:#FFF1E0;color:#D97A11}
.tag-r{background:#FFEDED;color:#E5484D}
.tag-gy{background:#F0F2F5;color:#8A93A3}
.chip{display:inline-block;padding:0 8px;border-radius:6px;font-size:11px;line-height:21px;white-space:nowrap;font-weight:500}

/* ============ 跟单详情 ============ */
.dsec{background:#fff;border-radius:var(--radius);margin:0 10px 10px;padding:13px 13px 12px;box-shadow:0 2px 10px rgba(24,60,140,.05)}
.dsec h4{margin:0 0 12px;font-size:14px;font-weight:700}
.dtop{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.dtop .no{font-size:16px;font-weight:800;display:flex;align-items:center;gap:8px;word-break:break-all}
.dname{font-size:18px;font-weight:700;margin:10px 0 2px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dname .ph{font-size:16px;color:#2D6BFF}
.dlline{font-size:12px;color:#5F6672;line-height:1.6;margin-top:2px}
.dlline b{color:#3A4252;font-weight:600}
.copyi{width:26px;height:26px;border:0;background:none;color:#9AA7BD;display:inline-flex;align-items:center;justify-content:center;flex:none}
.copyi .ic{width:15px;height:15px}

.action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:4px 0 2px}
.act{text-align:center;cursor:pointer}
.act .b{width:62px;height:62px;border-radius:18px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center}
.act .b .ic{width:28px;height:28px;stroke-width:2}
.act .lb{font-size:13px;color:#2B3240}
.act.win .b{background:#E6F7EC;color:#12A65A}
.act.re .b{background:#FFF2E0;color:#E8942A}
.act.lose .b{background:#FFEDED;color:#E5484D}
.act.off .b{background:#F1EDFF;color:#7C6BFF}
.act.dis{opacity:.42;pointer-events:none}

.rec-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:12px;color:#8A93A3;line-height:1.6;margin-bottom:12px}
.rec-head b{color:#5F6672;font-weight:500;white-space:nowrap}
.tl{position:relative;padding-left:22px}
.tl::before{content:"";position:absolute;left:5px;top:6px;bottom:4px;width:1px;background:#E6EAF2}
.tli{position:relative;padding-bottom:16px}
.tli:last-child{padding-bottom:0}
.tli .dot{position:absolute;left:-22px;top:3px;width:11px;height:11px;border-radius:50%;background:#12B25B}
.tli.pending .dot{background:#C8CFDB}
.tli .t{font-size:13px;font-weight:600;color:#2B3240}
.tli .m{font-size:11px;color:#9AA0AB;margin-top:2px}
.tli .ext{font-size:11px;color:#5F6672;margin-top:6px;line-height:1.7}
.tli .ext span{color:#8A93A3}

/* ============ 表单 ============ */
.fwrap{padding:0 12px}
.fcard{background:#fff;border-radius:var(--radius);margin-bottom:10px;padding:13px;box-shadow:0 2px 10px rgba(24,60,140,.05)}
.flabel{font-size:13px;font-weight:600;color:#2B3240;margin-bottom:10px;display:flex;align-items:center;gap:4px}
.req{color:#E5484D;font-weight:700}
.farea{width:100%;min-height:150px;border:1px solid #E1E5EC;border-radius:10px;padding:12px;background:#fff;outline:0;resize:vertical;font-size:12px;line-height:1.6}
.farea:focus,.finput:focus{border-color:#2D6BFF;box-shadow:0 0 0 3px rgba(45,107,255,.1)}
.finput{width:100%;height:46px;border:1px solid #E1E5EC;border-radius:10px;padding:0 12px;background:#fff;outline:0;font-size:12px}
.seg2{display:flex;gap:12px}
.seg2 button{flex:1;height:48px;border:1px solid #E1E5EC;border-radius:10px;background:#fff;font-size:13px;color:#5F6672}
.seg2 button.on{border-color:#2D6BFF;color:#2D6BFF;background:#F4F8FF;font-weight:600}
.risk{background:#FFF6F6;border:1px solid #F8C9CB;border-radius:12px;padding:14px;margin-top:12px}
.risk h5{margin:0 0 6px;font-size:13px;color:#D93A3F}
.risk p{margin:0;font-size:11px;color:#B04A4E;line-height:1.6}
.checkrow{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:12px;color:#3A4252;cursor:pointer}
.checkrow input{width:20px;height:20px;flex:none;accent-color:#2D6BFF}
.upbox{border:1px dashed #CBD3E0;border-radius:12px;padding:14px;text-align:center;background:#FCFDFF}
.upbtn{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 16px;border-radius:8px;border:1px solid #BFD4F5;background:#EDF4FF;color:#2D6BFF;font-size:12px}
.upbox .hint{font-size:11px;color:#9AA0AB;margin-top:8px}
.thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;justify-content:center}
.thumb{width:56px;height:56px;border-radius:8px;object-fit:cover;background:#EEF1F6}
.tchip{font-size:11px;color:#5F6672;background:#F1F4F9;border-radius:6px;padding:4px 8px}
.fbar{position:sticky;bottom:0;background:#fff;border-top:1px solid #EEF1F6;padding:10px 12px calc(10px + var(--safe-b));display:flex;gap:12px;z-index:30;margin-top:16px}
.fbar .btn{flex:1;height:46px}
.opt-row{display:flex;gap:12px}
.opt{flex:1;border:1px solid #E1E5EC;border-radius:12px;padding:14px 12px;text-align:center;background:#fff;cursor:pointer}
.opt .o1{font-size:13px;font-weight:600;color:#2B3240}
.opt .o2{font-size:11px;color:#9AA0AB;margin-top:3px}
.opt.on{border-color:#2D6BFF;background:#F4F8FF}
.opt.on .o1{color:#2D6BFF}
.opt.dis{opacity:.45;pointer-events:none}
.twocol{display:flex;gap:12px}
.snsel{width:100%;height:48px;border:1px solid #E1E5EC;border-radius:10px;padding:0 12px;background:#fff;font-size:12px;color:#2B3240}
.fhint{font-size:11px;color:#9AA0AB;margin-top:8px;line-height:1.6}

/* ============ 钱包 ============ */
.wtabs{display:flex;background:#fff;border-radius:14px;margin:0 10px 10px;padding:3px 5px;box-shadow:0 2px 10px rgba(24,60,140,.05);overflow-x:auto}
.wtabs button{flex:1;border:0;background:none;padding:10px 6px;font-size:12px;color:#8A93A3;white-space:nowrap}
.wtabs button.on{color:#2D6BFF;font-weight:700;background:#EAF1FF;border-radius:11px}
.whero{background:#fff;border-radius:18px;margin:0 10px 10px;padding:15px 16px 14px;position:relative;overflow:hidden;box-shadow:0 2px 10px rgba(24,60,140,.05)}
.whero .lb{font-size:13px;color:#8A93A3;display:flex;align-items:center;gap:6px}
.whero .big{font-size:38px;font-weight:800;letter-spacing:-1px;margin:10px 0 16px;font-variant-numeric:tabular-nums}
.whero .mini{display:flex;gap:26px;font-size:11px;color:#8A93A3;border-top:1px solid #F1F4F9;padding-top:12px}
.whero .mini b{color:#3A4252;font-weight:600}
.whero .hero-ic{position:absolute;right:18px;top:50%;transform:translateY(-50%);width:58px;height:58px;border-radius:50%;background:linear-gradient(135deg,#F2F7FF,#DEEAFF);box-shadow:0 6px 16px rgba(45,107,255,.14);display:flex;align-items:center;justify-content:center;color:#2D6BFF;pointer-events:none}
.whero .hero-ic .ic{width:28px;height:28px;stroke-width:1.7}
.wbtn{margin:0 10px 12px;height:52px;border-radius:26px;font-size:15px;font-weight:700;color:#fff;border:0;width:calc(100% - 24px);background:linear-gradient(100deg,#2D6BFF,#4E9BFF);box-shadow:0 8px 18px rgba(45,107,255,.26)}
.card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}
.card-head h3{margin:0;font-size:15px;font-weight:700}
.card-head span{font-size:11px;color:#9AA0AB}
.logitem{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #F2F4F8}
.logitem:last-child{border-bottom:0;padding-bottom:2px}
.logic{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}
.logic .ic{width:20px;height:20px}
.logic.equity{background:#EAF1FF;color:#2D6BFF}
.logic.activation{background:#FFF1E0;color:#E8942A}
.logic.monthly{background:#EDEEFF;color:#6C5CE7}
.logic.other{background:#F2EDFF;color:#8B5CF6}
.logm{flex:1;min-width:0}
.logm .t{font-size:13px;font-weight:600;color:#2B3240}
.logm .s{font-size:11px;color:#9AA0AB;margin-top:2px;word-break:break-all}
.logm .tm{font-size:11px;color:#B4BBC8;margin-top:2px}
.loga{text-align:right;flex:none}
.loga .v{font-size:15px;font-weight:700;color:#12B25B;font-variant-numeric:tabular-nums}
.loga .v.neg{color:#E5484D}
.loga .w{font-size:11px;color:#9AA0AB;margin-top:2px}
.empty-mini{text-align:center;color:#B4BBC8;font-size:11px;padding:26px 0}

/* 余额总览 */
.sumrow{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #F2F4F8}
.sumrow:last-child{border-bottom:0}
.sumrow .n{flex:1;font-size:13px;color:#3A4252}
.sumrow .n span{display:block;font-size:11px;color:#9AA0AB;margin-top:2px}
.sumrow .v{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums}

/* ============ 提现 ============ */
.wd-hero{background:#fff;border-radius:18px;margin:0 10px 10px;padding:15px 16px 14px;box-shadow:0 2px 10px rgba(24,60,140,.05);position:relative;overflow:hidden}
.wd-hero .big{font-size:36px;font-weight:800;letter-spacing:-1px;margin:10px 0 14px}
.line{padding:16px 0;border-bottom:1px solid #F2F4F8;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#8A93A3;gap:12px}
/* .btn.line 与列表行 .line 同名，把按钮样式还原（权重高于 .line） */
.btn.line{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:0 20px;border:1px solid var(--primary);border-bottom:1px solid var(--primary);border-radius:21px;background:#fff;color:var(--primary);font-size:15px;font-weight:600}
.btn.line.sm{padding:0 14px;height:30px;font-size:13px;border-radius:15px}
.btn.line .ic{width:17px;height:17px}
.line:last-child{border-bottom:0}
.line b{color:#2B3240;font-weight:600;font-size:13px}
.line .amtx{display:flex;align-items:center;gap:6px;flex:1;justify-content:flex-end}
.line input{border:0;outline:0;text-align:right;font-size:24px;font-weight:700;width:100%;min-width:0;background:none}
.wd-rule h4{margin:0 0 4px;font-size:14px;font-weight:700}
.wd-rule .r{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid #F2F4F8;font-size:12px}
.wd-rule .r:last-child{border-bottom:0}
.wd-rule .r .k{color:#2B3240;font-weight:600;min-width:76px}
.wd-rule .r .v{color:#5F6672}
.wd-bar{position:sticky;bottom:0;padding:10px 12px calc(10px + var(--safe-b));background:linear-gradient(180deg,rgba(246,248,252,0),#F6F8FC 40%)}
.wd-bar .btn{width:100%;height:52px;border-radius:26px;font-size:15px}

/* ============ 我的 ============ */
.me-hero{background:linear-gradient(150deg,#2D6BFF 0%,#3E8BFF 52%,#6FB9FF 100%);padding:calc(22px + var(--safe-t)) 16px 44px;position:relative;overflow:hidden}
.me-hero::after{content:"";position:absolute;right:-70px;top:-60px;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.13)}
.me-row{display:flex;align-items:center;gap:14px;position:relative}
.me-ava{width:74px;height:74px;border-radius:18px;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;flex:none}
.me-ava .ic{width:38px;height:38px;color:#9FB4D6;stroke-width:1.6}
.me-info{color:#fff;min-width:0}
.me-name{font-size:24px;font-weight:800;letter-spacing:-.5px}
.me-acct{font-size:12px;opacity:.9;margin-top:4px}
.me-badge{display:inline-block;margin-top:10px;background:#FFD9A0;color:#8A5A12;font-size:11px;font-weight:600;padding:2px 12px;border-radius:9px}
.me-group{position:relative;z-index:1;background:#fff;border-radius:18px;margin:-30px 12px 0;overflow:hidden;box-shadow:0 6px 18px rgba(24,60,140,.08)}
.me-group.g2{margin:10px 10px 0;box-shadow:0 2px 10px rgba(24,60,140,.05)}
.me-cell{display:flex;align-items:center;gap:12px;padding:14px 14px;border-bottom:1px solid #F2F4F8;background:#fff;cursor:pointer}
.me-cell:last-child{border-bottom:0}
.me-ic{width:38px;height:38px;border-radius:12px;background:#F5F7FB;display:flex;align-items:center;justify-content:center;color:#4A5468;flex:none}
.me-ic .ic{width:20px;height:20px;stroke-width:1.6}
.me-cell .k{flex:1;font-size:15px;color:#2B3240}
.me-cell .k small{display:block;font-size:11px;color:#9AA0AB;margin-top:2px;font-weight:400}
.me-cell .v{font-size:11px;color:#9AA0AB;display:flex;align-items:center;gap:6px}
.me-cell .v .ic{width:15px;height:15px;color:#C3C9D4}
.code-pill{border:1px solid #BFD4F5;color:#4A7FE0;border-radius:10px;padding:4px 10px;font-size:12px;background:#F7FAFF}

/* 跟单任务自绘头部 */
.topbar-custom{position:relative;padding:calc(12px + var(--safe-t)) 12px 10px;display:flex;align-items:center;justify-content:space-between}
.tc-title{position:absolute;left:0;right:0;top:calc(12px + var(--safe-t));line-height:38px;text-align:center;font-size:17px;font-weight:700;letter-spacing:.5px;pointer-events:none}

/* 通用补充 */
.tag{font-weight:500}
.sheet h4{font-size:15px}
.demo-note{text-align:center;font-size:11px;color:#B9C0CC;padding:6px 20px 18px;line-height:1.6}

/* ============ 紧凑版：顶栏/分段条吸顶 + 手机号可拨 ============ */
:root{--top-h:44px}
.topbar{
  position:sticky;top:0;z-index:70;
  height:calc(var(--top-h) + var(--safe-t));padding-top:var(--safe-t);
  background:rgba(242,246,254,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(45,107,255,.07);
}
.topbar .back{width:30px;height:30px;margin-left:10px;background:#fff;border-radius:50%;box-shadow:0 1px 5px rgba(24,60,140,.14)}
.topbar .back .ic{width:16px;height:16px}
.topbar .right{width:44px}
.topbar .title{font-size:17px}

.topbar-custom{
  position:sticky;top:0;z-index:70;
  padding:calc(4px + var(--safe-t)) 10px 8px;
  background:rgba(242,246,254,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
}
.tc-title{top:calc(4px + var(--safe-t));line-height:32px;font-size:17px}

.seg-tabs{
  top:calc(var(--top-h) + var(--safe-t));z-index:60;
  background:rgba(255,255,255,.97);
}
.seg-tabs button{padding:8px 0}

/* 手机号可点击拨打 */
a.tel{color:inherit;text-decoration:none;-webkit-tap-highlight-color:rgba(45,107,255,.12)}
a.tel.ph{color:#2D6BFF}

/* 业务员回单：图片缩略图 / 微信选文件 */
.thwrap{position:relative;display:inline-block;margin:0 8px 8px 0}
.thwrap .thumb{display:block;width:64px;height:64px;border-radius:8px;object-fit:cover;background:#EEF1F6}
.thwrap .thx{position:absolute;top:-6px;right:-6px;width:20px;height:20px;line-height:18px;text-align:center;border-radius:50%;background:#FF5A4E;color:#fff;font-style:normal;font-size:13px;cursor:pointer}
.thwrap .thb{position:absolute;left:0;right:0;bottom:0;background:rgba(0,0,0,.55);color:#fff;font-size:11px;line-height:16px;text-align:center;border-radius:0 0 8px 8px;font-weight:400}
.upbtn{font-family:inherit;cursor:pointer}
/* 上传按钮组：原生文件选择（label + 透明 input） */
.upbtns{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.upbtn.file{position:relative;overflow:hidden;cursor:pointer}
.upbtn.file input{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;font-size:0;border:0;padding:0;margin:0}
/* ===== 我的团队 · 数据卡（自己 + 下级） ===== */
.team-act{display:flex;gap:10px;padding:12px 14px}
.team-act .btn{flex:1;min-width:0}
.tcard{background:#fff;border-radius:14px;padding:10px 12px;margin:0 10px 9px;box-shadow:0 2px 8px rgba(20,40,80,.05)}
.tcard.me{border:1px solid #d6e4ff;background:linear-gradient(180deg,#f4f9ff 0%,#ffffff 68%)}
.tch{display:flex;align-items:center;gap:8px}
.tav{width:34px;height:34px;border-radius:10px;background:#2b7cf5;color:#fff;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.tinfo{flex:1;min-width:0}
.tnm{font-size:15px;font-weight:700;display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.tsub{font-size:11px;color:#98A2B3;margin-top:1px;line-height:1.35}
.tright{text-align:right;flex:0 0 auto}
.tamt{font-size:15px;font-weight:800;color:#0B7A45;line-height:1.25}
.tamt i{font-style:normal;font-size:11px;color:#98A2B3;font-weight:400}
.tgrid{display:grid;grid-template-columns:1fr 1fr;border:1px solid #EEF1F5;border-radius:10px;overflow:hidden;margin-top:8px}
.tgrid>div{display:flex;align-items:center;justify-content:space-between;padding:5px 9px;font-size:11.5px;color:#8A93A3;line-height:1.5}
.tgrid>div:nth-child(1),.tgrid>div:nth-child(2){border-bottom:1px solid #F1F3F7}
.tgrid>div:nth-child(odd){border-right:1px solid #F1F3F7}
.tgrid b{color:#1D2129;font-size:13px;font-weight:700}
.tgrid.rate>div{align-items:flex-start;flex-direction:column;gap:1px;padding:5px 9px}
.tgrid.rate b{font-size:11.5px;font-weight:600}
.tgrid.rate b i{font-style:normal;color:#98A2B3;font-weight:400}
.tacts{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:7px;font-size:11px;color:#98A2B3;flex-wrap:wrap}
/* 团队数据蓝色大卡 */
.bizcard{margin:10px 12px 4px;border-radius:16px;padding:13px 13px 12px;background:linear-gradient(135deg,#1657E0 0%,#2E8BFF 100%);color:#fff;box-shadow:0 8px 20px rgba(22,87,224,.26)}
.biztop{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.bizlb{font-size:11.5px;opacity:.85;letter-spacing:.5px}
.bizamt{font-size:26px;font-weight:800;letter-spacing:-.6px;line-height:1.15;margin-top:2px}
.bizamt i{font-style:normal;font-size:11.5px;font-weight:400;opacity:.9;margin-left:5px}
.bizsub{font-size:11px;opacity:.85;margin-top:3px}
.bizdt{flex:0 0 auto;font-size:11px;opacity:.9;background:rgba(255,255,255,.16);padding:4px 8px;border-radius:8px;white-space:nowrap}
.biztabs{display:flex;gap:5px;margin:11px 0 9px;background:rgba(255,255,255,.15);padding:4px;border-radius:9px}
.biztabs .bt{flex:1;border:0;background:transparent;color:#fff;font-size:12px;padding:6px 0;border-radius:7px;-webkit-appearance:none;appearance:none;font-family:inherit}
.biztabs .bt.on{background:#fff;color:#1657E0;font-weight:700}
.bizrow{display:flex;align-items:baseline;gap:5px;font-size:11.5px;opacity:.95;margin-bottom:9px}
.bizrow b{font-size:15px}
.bizrow i{font-style:normal;opacity:.8}
.bizgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}
.bizgrid>div{background:rgba(255,255,255,.14);border-radius:8px;padding:7px 2px;text-align:center;line-height:1.4}
.bizgrid span{display:block;font-size:10px;opacity:.82;white-space:nowrap;transform:scale(.96)}
.bizgrid b{display:block;font-size:15px;font-weight:700;margin-top:2px}
.bizgrid b i{font-style:normal;font-size:9px;font-weight:400;opacity:.72;margin-left:1px}
.bizgrid.rt{margin-top:5px}
.bizgrid.rt>div{background:rgba(255,255,255,.1)}
.bizgrid.rt b{font-size:12.5px;font-weight:600}

/* 下级卡 5 项比率（成交率/打回率/权益成交率/未成交率/见面率） */
.tgrid.rate.r5{grid-template-columns:1fr 1fr 1fr}
.tgrid.rate.r5>div{border-right:1px solid #F1F3F7;border-bottom:1px solid #F1F3F7}
.tgrid.rate.r5>div:nth-child(3n){border-right:0}
.tgrid.rate.r5>div:nth-child(4),.tgrid.rate.r5>div:nth-child(5){border-bottom:0}
.tgrid.rate.r5>div:nth-child(5){grid-column:2 / 4;border-left:1px solid #F1F3F7}

/* 跟单任务页：顶栏留够高度，标题不再与下方卡片重叠；卡片组整体下移 */
.topbar-custom{min-height:calc(40px + var(--safe-t));padding-bottom:10px}
.tc-title{top:calc(6px + var(--safe-t))}
.duty-grid{margin:18px 10px 12px}

/* 页内分段标签（设备/营业记录/收益明细·提现记录）：整块白底 + 选中实心蓝，一眼能分清 */
.subbar .tabs{display:flex;gap:8px;background:#fff;margin:10px;padding:5px;border-radius:14px;box-shadow:0 2px 10px rgba(24,60,140,.06)}
.subbar .tabs button{flex:1;border:0;background:#F2F5FA;color:#5F6672;font-size:14px;font-weight:600;padding:11px 0;border-radius:11px;font-family:inherit;-webkit-appearance:none;appearance:none;transition:background .15s,color .15s}
.subbar .tabs button.on{background:#2D6BFF;color:#fff;font-weight:700;box-shadow:0 4px 12px rgba(45,107,255,.3)}

/* 客服端：检索区域省/市/区下拉 + 派单区域快捷按钮 */
.locbar .fsel{height:30px;border:1px solid #E4E9F2;background:#fff;color:#1D2939;border-radius:8px;font-size:13px;padding:0 6px;margin-right:6px;max-width:36%;-webkit-appearance:none;appearance:none;font-family:inherit}
.area-chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.area-chip{display:inline-flex;align-items:center;gap:4px;height:30px;padding:0 11px;border-radius:15px;border:1px solid #E4E9F2;background:#fff;color:#475467;font-size:13px;cursor:pointer;white-space:nowrap}
.area-chip i{font-style:normal;font-size:11px;color:#98A2B3}
.area-chip.on{background:#2A6CF6;border-color:#2A6CF6;color:#fff}
.area-chip.on i{color:rgba(255,255,255,.82)}

/* 顶栏标题严格居中：不依赖左右按钮宽度（tab 页隐藏返回键时也不会偏右） */
.topbar .title{position:absolute;left:0;right:0;top:var(--safe-t);bottom:0;display:flex;align-items:center;justify-content:center;padding:0 58px;text-align:center;pointer-events:none}
.topbar .back[hidden],.topbar .right[hidden]{display:none}

/* 客服端检索区：后台配好的省市只读标签 + 区/街道下拉 */
.fro{height:30px;line-height:30px;padding:0 10px;border-radius:8px;background:#EEF3FF;color:#2A6CF6;font-size:13px;font-weight:600;white-space:nowrap;margin-right:6px;flex:none}
.locbar select.fsel{flex:1;min-width:0;max-width:none}

/* ===== 滚轮选择器 ===== */
body.wh-open{overflow:hidden}
.wh-mask{position:fixed;inset:0;z-index:9990;background:rgba(12,18,32,.46);display:flex;align-items:center;justify-content:center;padding:0 26px;animation:whFade .18s ease}
.wh-sheet{width:100%;max-width:340px;background:#fff;border-radius:18px;box-shadow:0 18px 48px rgba(9,17,38,.26);overflow:hidden;animation:whPop .22s cubic-bezier(.2,.9,.3,1)}
.wh-title{padding:16px 18px 4px;font-size:15px;font-weight:600;color:#111827;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wh-foot{display:flex;border-top:1px solid #EEF1F6;margin-top:2px}
.wh-foot button{flex:1;height:50px;background:none;border:0;font-size:16px;font-family:inherit}
.wh-foot .wh-cancel{color:#8A93A6;border-right:1px solid #EEF1F6}
.wh-foot .wh-ok{color:#2A6CF6;font-weight:700}
.wh-core{position:relative;height:220px;overflow:hidden}
.wh-core::before,.wh-core::after{content:'';position:absolute;left:0;right:0;height:64px;z-index:3;pointer-events:none}
.wh-core::before{top:0;background:linear-gradient(180deg,#fff 12%,rgba(255,255,255,0))}
.wh-core::after{bottom:0;background:linear-gradient(0deg,#fff 12%,rgba(255,255,255,0))}
.wh-band{position:absolute;left:12px;right:12px;top:88px;height:44px;border-radius:10px;background:#EEF3FF;box-shadow:inset 0 0 0 1px #DCE7FF;pointer-events:none;z-index:0}
.wh-col{position:relative;height:220px;overflow-y:auto;scroll-snap-type:y mandatory;-webkit-overflow-scrolling:touch;z-index:1;scrollbar-width:none;-ms-overflow-style:none}
.wh-col::-webkit-scrollbar{display:none;width:0;height:0}
.wh-it{height:44px;line-height:44px;text-align:center;font-size:16px;color:#6B7688;scroll-snap-align:center;padding:0 16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .12s,font-weight .12s}
.wh-it.cur{color:#111827;font-weight:700;font-size:17px}
.wh-pad{width:100%}
@keyframes whFade{from{opacity:0}to{opacity:1}}
@keyframes whPop{from{opacity:0;transform:scale(.94)}to{opacity:1;transform:scale(1)}}

/* 被滚轮接管的原生 select：只作为取值容器，样式压平 */
select.snsel,select.whsel{appearance:none;-webkit-appearance:none;cursor:pointer}
