:root{
  --brand:#123c2e;--brand2:#1c6b4b;--mint:#7fd0a8;
  --ink:#132019;--ink2:#4a5d54;--ink3:#8a9c93;--line:#e6ece8;--bg:#eef1ef;
  --red:#c0392b;--amber:#b57a12;--blue:#2b6cb0;--green:#1e8e5a;
  /* 小程序化 token：rpx 体系（1rem = 100rpx，750rpx 设计稿基准） */
  --r:1rpx;                       /* 1rpx ≈ 0.5px @375pt */
  --sp-1:16rpx; --sp-2:24rpx; --sp-3:32rpx;
  --fs-display:60rpx;             /* 重点大数字 */
  --fs-h1:38rpx;
  --fs-h2:32rpx;
  --fs-body:28rpx;
  --fs-cap:22rpx;
  --shadow-card:0 2rpx 10rpx rgba(19,32,25,.05);
  --shadow-float:0 12rpx 40rpx rgba(15,61,45,.22);
  /* 财务专属色（敏感数据视觉隔离） */
  --fin:#8a6d3b; --fin-bg:#fdfaf3; --fin-line:#e8dcc2;
}
*{margin:0;padding:0;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
body{font-family:"PingFang SC","Hiragino Sans","Noto Sans JP",-apple-system,sans-serif;
  background:#dfe5e1;color:var(--ink);font-size:15px;overscroll-behavior:none}
button,input,select,textarea{font-family:inherit;font-size:inherit;color:inherit;outline:none}
button{border:none;background:none;cursor:pointer}
.hidden{display:none!important}
.muted{color:var(--ink3);font-size:11.5px}
.neg{color:var(--red)!important}
.pos{color:var(--green)!important}
.num{font-family:"SF Mono",Menlo,Consolas,monospace;font-variant-numeric:tabular-nums}
#finance,#driver,#login,#ops,#outsource{max-width:460px;margin:0 auto;min-height:100vh;background:var(--bg)}

/* 登录 */
.login{min-height:100vh;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(165deg,#0f3d2d 0%,#1c6b4b 55%,#dfe5e1 55.1%)}
.lg-box{width:86%;max-width:330px;background:#fff;border-radius:22px;padding:34px 26px 26px;
  text-align:center;box-shadow:0 20px 50px rgba(15,61,45,.25)}
.lg-logo{font-size:40px}
.lg-box h2{font-size:19px;margin:10px 0 4px}
.lg-box .lg-sub{font-size:11.5px;color:var(--ink3);line-height:1.8;margin-bottom:20px}
.lg-box input{width:100%;border:1.5px solid #e2e8e4;border-radius:12px;padding:13px;text-align:center;font-size:16px;background:#fbfcfb;letter-spacing:1px}
.btn-full{width:100%;margin-top:14px;background:linear-gradient(140deg,#2f8f68,#123c2e);color:#fff;padding:13px;border-radius:12px;font-size:15px;font-weight:600}
.lg-tip{min-height:18px;font-size:12px;color:var(--red);margin-top:9px}
.lg-role{display:flex;gap:8px;margin-bottom:14px}
.lg-role span{flex:1;font-size:11px;color:var(--ink3);background:#f4f8f5;border-radius:9px;padding:7px 4px;line-height:1.5}
.lg-role b{display:block;font-size:12px;color:var(--ink)}

/* 顶栏 */
.hdr{position:sticky;top:0;z-index:20;background:var(--brand);color:#fff;
  padding:calc(10px + env(safe-area-inset-top)) 16px 10px;display:flex;align-items:center;gap:10px}
.hdr-title{font-size:15.5px;font-weight:600}
.hdr-right{margin-left:auto;display:flex;align-items:center;gap:4px}
.hdr-right button{color:#cfe3d8;font-size:18px;padding:0 7px;line-height:1}
.hdr-right .mlab{font-size:13px;font-weight:600;min-width:64px;text-align:center;font-variant-numeric:tabular-nums}
.hdr-who{font-size:10.5px;color:#9fc4b1;margin-top:1px;display:flex;align-items:center;gap:6px}
/* 核算币种切换（财务端）：日元 / 人民币 各自独立核算 */
.cur-seg{display:inline-flex;border:1px solid rgba(255,255,255,.28);border-radius:9px;overflow:hidden}
.cur-seg button{font-size:10px;line-height:1.6;padding:0 8px;color:#cfe3d8;background:transparent;border:none}
.cur-seg button.on{background:#fff;color:var(--brand);font-weight:600}
/* 当前核算币种提示条 */
.cur-bar{font-size:11px;color:#4d6357;background:#eef4f0;border:1px solid #dbe7e0;border-radius:10px;
  padding:7px 10px;margin-bottom:10px;line-height:1.55}
.cur-bar b{color:#14523A}

/* 底部留出 tabbar 高度 + 安全区，避免最后一屏内容被固定导航遮挡 */
#page{padding:12px 12px calc(64px + env(safe-area-inset-bottom));min-height:calc(100vh - 120px)}
.loading,.empty{text-align:center;padding:52px 0;color:var(--ink3);font-size:13px}

/* 卡片 */
.card{background:#fff;border-radius:16px;padding:15px;margin-bottom:11px;box-shadow:0 1px 3px rgba(19,32,25,.05)}
.card-t{font-size:13.5px;font-weight:600;display:flex;align-items:center;gap:8px;margin-bottom:10px}
.card-t .right{margin-left:auto;font-size:11px;font-weight:400;color:var(--ink3)}

/* KPI */
.hero{background:linear-gradient(150deg,#0f3d2d,#1c6b4b 85%);color:#fff;border-radius:20px;padding:19px;
  box-shadow:0 12px 26px rgba(15,61,45,.28)}
.h-lab{font-size:11.5px;color:#9fc4b1;letter-spacing:.6px}
.h-val{font-size:33px;font-weight:600;margin:7px 0 2px;font-family:"SF Mono",Menlo,monospace;letter-spacing:-1px}
.h-sub{font-size:11.5px;color:#9fc4b1}
.h-row{display:flex;margin-top:14px;padding-top:13px;border-top:1px solid rgba(255,255,255,.14)}
.h-row>div{flex:1;text-align:center}
.h-row b{display:block;font-size:12px;font-family:Menlo,monospace}
.h-row span{font-size:10px;color:#9fc4b1}

.kpis{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:11px}
.kpi{background:#fff;border-radius:14px;padding:13px 14px;box-shadow:0 1px 3px rgba(19,32,25,.05)}
.kpi .lab{font-size:11px;color:var(--ink3)}
.kpi .val{font-size:19px;font-weight:600;font-family:Menlo,monospace;margin-top:5px;letter-spacing:-.4px}
.kpi .foot{font-size:10.5px;color:var(--ink3);margin-top:3px}
.kpi.warn{background:#fdf6ec}
.kpi.warn .val{color:var(--amber)}

/* 表格列表行 */
.pl-r{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px dashed #eef2ef;font-size:13px}
.pl-r:last-child{border:none}
.pl-r span{color:var(--ink2)}
.pl-r b{font-family:Menlo,monospace;font-size:13px}
.pl-r.sub span{padding-left:13px;color:var(--ink3);font-size:12.5px}
.pl-r.total{border-top:1.5px solid #e4ece7;margin-top:2px;padding-top:11px}
.pl-r.total span{font-weight:600;color:var(--ink)}
.pl-r.total b{font-size:16px;color:var(--brand2)}
/* 订单详情：上车/下车地址（可点击跳转地图） */
.pl-addr{display:block;padding:9px 0;border-bottom:1px dashed #eef2ef;font-size:13px}
.pl-addr:last-child{border:none}
.pl-addr-l{display:block;color:var(--ink2);font-size:11.5px;margin-bottom:3px}
.pl-addr b{font-family:inherit;font-weight:400;text-align:left;display:block}
.omap{display:inline-block;color:#1a6e5b;font-weight:800;text-decoration:none;border-bottom:2px dashed #7fc4b4;line-height:1.55;word-break:break-all}
.omap:active{opacity:.55}
.otel{display:inline-block;margin-left:6px;color:#1e7f6b;text-decoration:none;font-family:inherit}
.otel:active{opacity:.55}
/* 订单卡：紧凑地址（可点击跳转地图） */
.dc-addr{display:flex;flex-wrap:wrap;gap:8px 14px;margin:9px 0 3px}
.dc-addr-i{display:inline-flex;align-items:center;gap:5px;font-size:14.5px;font-weight:700}
.dc-addr-t{font-size:11.5px;font-weight:800;color:#4a6b5c;background:#eef4f1;border-radius:6px;padding:2px 7px;font-style:normal}

/* 订单卡 */
.ocard{background:#fff;border-radius:14px;padding:13px 14px;margin-bottom:9px;box-shadow:0 1px 3px rgba(19,32,25,.05);cursor:pointer}
/* 批量确认收款：勾选条 + 卡片勾选框 */
.ubar{display:flex;align-items:center;gap:8px;background:#fff;border-radius:12px;padding:8px 12px;margin-bottom:8px;box-shadow:0 1px 3px rgba(19,32,25,.05);flex-wrap:wrap;position:sticky;z-index:14}
.ubar-all{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ink2);font-weight:600;flex:0 0 auto;white-space:nowrap}
.ubox{width:17px;height:17px;accent-color:#0f6b52;margin:0;flex:0 0 auto;cursor:pointer}
.ubox-w{display:flex;align-items:center;padding:2px 2px 2px 0;flex:0 0 auto}
.ubar-cnt{font-size:12px;color:var(--ink3);flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ubar-cnt b{color:var(--brand2);font-size:12.5px}
.ubar-r{display:flex;gap:6px;flex:0 0 auto;margin-left:auto}
.ubar-r .btn{padding:6px 11px;font-size:12.5px}
.ubar-r .btn[disabled]{opacity:.45}
.ocard.sel{box-shadow:0 0 0 2px #0f6b52,0 1px 4px rgba(19,32,25,.10);background:#f7fbf8}
.oc-h{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--ink3)}
.oc-h .no{font-family:Menlo,monospace}
.oc-h .oc-date{font-size:12.5px;font-weight:800;color:var(--ink1)}
.oc-h .right{margin-left:auto;display:flex;gap:6px}
.oc-biz{font-size:12.5px;color:var(--ink3);margin:6px 0 2px}
.oc-biz b{color:var(--ink1);font-weight:700}
.oc-route{font-size:14.5px;font-weight:500;margin:8px 0 6px;line-height:1.4}
.oc-f{display:flex;gap:9px;align-items:center;font-size:11.5px;color:var(--ink3);flex-wrap:wrap}
.oc-f b{margin-left:auto;font-size:15px;color:var(--ink);font-family:Menlo,monospace}

/* 徽章 */
.tag{display:inline-flex;align-items:center;font-size:10.5px;padding:2px 8px;border-radius:12px;font-weight:600;line-height:1.5}
.tag.gray{background:#f0f2f1;color:#66786e}
.tag.green{background:#e8f6ee;color:var(--green)}
.tag.amber{background:#fdf3e3;color:var(--amber)}
.tag.red{background:#fdecea;color:var(--red)}
.tag.blue{background:#e9f0fa;color:var(--blue)}
.tag.brand{background:#e8f3ee;color:var(--brand2)}

/* 按钮 */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:8px 14px;border-radius:10px;
  font-size:13px;font-weight:500;background:#fff;border:1px solid var(--line);color:var(--ink2)}
.btn.primary{background:var(--brand2);color:#fff;border-color:var(--brand2)}
.btn.sm{padding:4px 10px;font-size:11.5px;border-radius:8px}
.btn.ghost{border:none;background:none;color:var(--brand2);padding:4px 6px}
.btn-ghost-full{width:100%;margin-top:6px;background:#fff;border:1.5px dashed #c3d6ca;color:var(--brand2);padding:12px;border-radius:14px;font-size:13px;font-weight:600}
.btn-primary{width:100%;margin-top:14px;background:linear-gradient(140deg,#2f8f68,#123c2e);color:#fff;padding:13px;border-radius:13px;font-size:15px;font-weight:600}
.btn-line{width:100%;margin-top:8px;padding:11px;color:var(--ink3);font-size:13px}
.btn-danger{width:100%;margin-top:8px;padding:11px;border:1px solid #ecc7c0;background:#fdf2f0;color:#b94a37;font-size:13.5px;font-weight:600;border-radius:11px;cursor:pointer;font-family:inherit}
.btn-danger:active{background:#f7e3df}
.btn-line.danger{color:var(--red)}
.btn-return{background:linear-gradient(140deg,#3a6ea5,#1f3f63);color:#fff;border-radius:13px;font-size:15px;font-weight:600;border:none;cursor:pointer}
.btn-return:disabled{background:#cdd6df;cursor:not-allowed}
.btn-act{background:linear-gradient(140deg,#e0a13a,#b3740f);color:#fff;border-radius:13px;font-size:15px;font-weight:600;border:none;cursor:pointer}
.btn-act:disabled{background:#e6dcc6;color:#9c8a6a;cursor:not-allowed}
/* 経停：頻繁に押すので落客（橙）と色を分ける。押し間違い防止のため形も別 */
.btn-stop{background:#fdf7e9;color:#96610f;border:1px solid #efdab2;border-radius:13px;
  font-size:15px;font-weight:600;cursor:pointer}
.btn-stop:disabled{background:#f4f0e7;color:#b3a992;border-color:#e8e2d5;cursor:not-allowed}
/* 启动：停車中に押す発車ボタン。押すだけで現在時刻が発車時刻になる＝最も目立たせる */
.btn-go{background:linear-gradient(140deg,#2f9e6e,#1b7a51);color:#fff;border-radius:13px;
  font-size:15px;font-weight:700;border:none;cursor:pointer;box-shadow:0 3px 9px rgba(31,122,81,.28)}
.btn-go:disabled{background:#cdd6df;box-shadow:none;cursor:not-allowed}
/* 停車時刻の自動記録表示（入力欄ではなく読み取り専用の表示） */
.sp-autotime{background:#eef4ff;color:#2c4a75;border-radius:10px;padding:8px 11px;
  font-size:12.5px;margin:4px 0 6px}
.sp-autotime b{font-size:15px;letter-spacing:.03em}
/* 発車時刻が未記録＝停車中の印 */
.sp-waiting{font-style:normal;background:#fff3d8;color:#96610f;border-radius:6px;
  padding:1px 5px;font-size:10.5px;font-weight:700}
.sp-kind{font-style:normal;font-size:10.5px;font-weight:700;border-radius:6px;padding:2px 6px;
  vertical-align:middle;margin-left:2px;letter-spacing:.02em}
.sp-kind.k-pickup{background:#e3f2e9;color:#1d6b43}
.sp-kind.k-stop{background:#eef1f7;color:#3a5a86}
.sp-kind.k-dropoff{background:#fdf0e4;color:#9a5b12}
.btn-primary:disabled{background:#bfd3c8;cursor:not-allowed}
button:disabled{opacity:.85}

/* 表单 */
.fl{display:block;font-size:11.5px;color:var(--ink3);margin:12px 0 5px}
.fl .jp{color:#b3c0b9;margin-left:5px;font-size:10.5px}
input,select,textarea{width:100%;border:1px solid #e2e8e4;border-radius:11px;padding:11px 12px;font-size:15px;background:#fbfcfb}
input:focus,select:focus{border-color:var(--mint);background:#fff}
input:disabled{background:#f2f4f2;color:#a8b5ae}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
.seg{display:flex;background:#eef2ef;border-radius:11px;padding:3px;gap:2px}
.seg button{flex:1;padding:9px 4px;border-radius:9px;font-size:13px;color:var(--ink2)}
.seg button.on{background:#fff;font-weight:600;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.cond-box{border:1px dashed #d6e2db;border-radius:12px;padding:12px;margin-top:10px;background:#fbfdfb}
.cond-box.hidden{display:none!important}

/* 上传 */
.up{border:1.5px dashed #d6e2db;border-radius:11px;padding:13px;text-align:center;font-size:12.5px;color:var(--ink3);background:#fafcfb;position:relative;overflow:hidden}
.up img{width:46px;height:46px;object-fit:cover;border-radius:8px;vertical-align:middle;margin-right:8px}

/* ── 临时停用拍照/上传图片功能：隐藏所有图片上传按钮（不影响老板端查看票据链接）──
   如需恢复拍照功能，删除或注释掉下面这一行即可。 */
.up{display:none!important}

/* 底部 tabbar */
.tabbar{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:460px;
  background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-top:1px solid var(--line);
  display:flex;align-items:center;padding:7px 0 calc(7px + env(safe-area-inset-bottom));z-index:30}
.tabbar a{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10px;color:#98a8a0;position:relative}
.tabbar a span{font-size:16px;line-height:1}
.tabbar a.on{color:var(--brand2);font-weight:600}
.tabbar .dot{position:absolute;top:-2px;right:calc(50% - 14px);width:7px;height:7px;background:#d0544a;border-radius:50%}
.tabbar .fab{width:46px;height:46px;background:linear-gradient(140deg,#2f8f68,#123c2e);color:#fff;border-radius:50%;display:grid;place-items:center;font-size:23px;font-weight:300;box-shadow:0 6px 15px rgba(18,60,46,.35);margin-top:-15px}

/* 抽屉 */
.mask{position:fixed;inset:0;background:rgba(10,20,16,.42);z-index:40;opacity:0;pointer-events:none;transition:.2s}
.mask.on{opacity:1;pointer-events:auto}
.sheet{position:fixed;left:50%;bottom:0;transform:translate(-50%,105%);width:100%;max-width:460px;
  background:#fff;border-radius:22px 22px 0 0;z-index:50;padding:6px 18px calc(20px + env(safe-area-inset-bottom));
  transition:transform .28s cubic-bezier(.32,.72,0,1);max-height:92vh;overflow:auto}
.sheet.on{transform:translate(-50%,0)}
.grab{width:38px;height:4px;background:#e2e8e4;border-radius:3px;margin:5px auto 12px}
.sheet h3{font-size:15.5px;font-weight:600;margin-bottom:8px;text-align:center}

/* 筛选条 */
.filters{display:flex;gap:8px;margin-bottom:10px;flex-wrap:wrap}
.filters select,.filters input{flex:1;min-width:0;border:1px solid #e2e8e4;border-radius:10px;padding:9px 10px;font-size:12.5px;background:#fff}
.sumline{font-size:12px;color:var(--ink2);padding:2px 4px 12px}
.sumline b{color:var(--ink);font-family:Menlo,monospace}

/* 图表 */
.bar-row{display:flex;align-items:flex-end;gap:5px;height:110px;padding-top:12px}
.bar-col{flex:1;display:flex;flex-direction:column;align-items:center;gap:3px;height:100%}
.bar-val{font-size:9px;color:var(--ink3);font-family:Menlo,monospace}
.bar-track{flex:1;width:100%;display:flex;align-items:flex-end;justify-content:center}
.bar-track span{width:58%;border-radius:4px 4px 0 0;display:block;min-height:2px;background:#2f8f68}
.bar-lab{font-size:9.5px;color:var(--ink3)}
.legend{display:flex;gap:12px;flex-wrap:wrap;font-size:10.5px;color:var(--ink3);margin-top:9px}
.legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px}

/* 高亮未收 */
.hl-unpaid{border-left:3px solid #d0544a}
.hl-later{border-left:3px solid #c9a04a}

/* 消息 */
.msg{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid #f2f5f3}
.msg:last-child{border:none}
.msg-ic{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:15px;flex:0 0 auto}
.msg-ic.new{background:#e8f3ee;color:var(--brand2)}
.msg-ic.ok{background:#e8f6ee;color:var(--green)}
.msg-ic.no{background:#fdecea;color:var(--red)}
.msg b{font-size:13px;display:block}
.msg small{font-size:11px;color:var(--ink3);line-height:1.5;display:block;margin-top:2px}
.msg .tm{margin-left:auto;font-size:10px;color:#b3c0b9;flex:0 0 auto}
.msg.unread b::before{content:"";display:inline-block;width:6px;height:6px;background:#d0544a;border-radius:50%;margin-right:6px;vertical-align:2px}

/* 司机端 行程卡
   2026-11-02 重新排版：現場でパッと見えるよう文字を大きく・太く（日付/時刻/行程/客名/ボタンを強調） */
.dcard{background:#fff;border-radius:18px;padding:16px 15px 15px;margin-bottom:12px;box-shadow:0 2px 8px rgba(19,32,25,.07)}
.dcard > .dc-no{margin-bottom:8px}
.dc-no{display:inline-block;font-family:Menlo,monospace;font-size:12.5px;font-weight:800;color:#3d5f51;background:#eaf3ee;border-radius:7px;padding:3px 9px;margin:0;letter-spacing:.5px}
/* 1行目：订单号 + 状态标签 */
.dc-hd{display:flex;align-items:center;gap:8px;margin-bottom:9px}
.dc-tags{margin-left:auto;display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
.dc-top{display:flex;align-items:center;gap:8px}
/* 2行目：日期・星期・集合时刻（ここが一番目立つ） */
.dc-when{display:flex;align-items:baseline;gap:11px;flex-wrap:wrap;margin-bottom:2px}
.dc-time{font-size:31px;font-weight:800;font-family:Menlo,monospace;color:#e0231c;letter-spacing:.5px;line-height:1.1}
.dc-date{font-size:21px;font-weight:800;color:#1a2b23;margin-top:0;letter-spacing:.3px}
.dc-date .wk{display:inline-block;background:#fde8e6;color:#e0231c;font-size:15px;font-weight:800;border-radius:7px;padding:1px 8px;margin-left:5px}
.dc-top .right{margin-left:auto}
.dc-route{font-size:17.5px;font-weight:800;margin:10px 0 9px;line-height:1.45;color:#12251d}
.dc-cust{margin:6px 0 2px}
.dc-cust-name{font-size:16.5px;font-weight:800;color:#12251d}
.dc-cust-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;flex-wrap:wrap}
.dc-veh{font-size:14.5px;font-weight:700;color:#33413a}
.dc-call{display:inline-flex;align-items:center;gap:5px;background:#eaf6ff;color:#1f6fb2;text-decoration:none;font-weight:800;font-size:15.5px;border-radius:12px;padding:8px 14px;white-space:nowrap}
.dc-call:active{background:#d4ecff}
.dc-note{margin-top:10px;background:#fff7e3;border:1px solid #f0dca0;border-radius:11px;padding:9px 12px;font-size:14px;color:#7a5a14;line-height:1.55;font-weight:700}
.dc-note-hotel{background:#f1f8fd;border-color:#cfe0ef;color:#2a5d86}
.dc-meta{font-size:13.5px;font-weight:600;color:var(--ink2);line-height:1.8}
.dc-meta b{color:var(--ink)}
/* 里程表の読み取り値（出发/归库/本单行驶） */
.dc-odo{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
.dc-odo-i{display:inline-flex;align-items:baseline;gap:4px;background:#f3f7f5;border:1px solid #e2eae5;
  border-radius:10px;padding:6px 11px;font-size:13.5px;font-weight:700;color:#41524a}
.dc-odo-i i{font-style:normal;font-size:11.5px;font-weight:800;color:#7b8a82}
.dc-odo-i b{font-size:19px;font-weight:800;font-family:Menlo,monospace;color:#1a2b23}
.dc-odo-i em{font-style:normal;font-size:12px;font-weight:700;color:#7b8a82}
.dc-odo-i.ret{background:#eef4fa;border-color:#d6e3f0}
.dc-odo-i.ret b{color:#1f4f80}
.dc-odo-i.tot{background:#eef7f1;border-color:#cfe6d9}
.dc-odo-i.tot b{color:#1f6b45}
/* ボタン列：出発／归库 の2つを大きく */
.dc-bar{display:flex;gap:11px;margin-top:13px}
.dc-bar button{flex:1;min-width:0;width:auto;margin-top:0;padding:15px 6px;font-size:17.5px;font-weight:800;border-radius:14px}
.dc-bar .btn-line{background:#f1f5f3;color:#5a6b62;padding:15px 6px}
/* 卡片内のタグも読みやすく */
.dcard .tag{font-size:12px;padding:3px 10px;font-weight:800;border-radius:11px}

/* 行程ポイント（接客／経停／落客）：停まるたびの記録をカードと弾層に並べる */
.dc-stops{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.dc-stop{display:inline-flex;align-items:center;gap:4px;background:#f2f6f3;border:1px solid #e0e8e3;
  border-radius:8px;padding:2px 7px;font-size:11.5px;color:#41524a}
.dc-stop i{font-style:normal;font-weight:700;font-size:10px;border-radius:5px;padding:1px 4px}
i.k-pickup{background:#e3f2e9;color:#1d6b43}
i.k-stop{background:#eef1f7;color:#3a5a86}
i.k-dropoff{background:#fdf0e4;color:#9a5b12}
.sp-list{padding:8px 12px}
.sp-row{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#3d4a44;
  padding:6px 0;border-bottom:1px dashed #e6ece8;line-height:1.45}
.sp-row:last-child{border-bottom:none}
.sp-row i{font-style:normal;font-weight:700;font-size:10.5px;border-radius:5px;padding:2px 5px;flex:0 0 auto}
.sp-row span{flex:1;min-width:0;word-break:break-word}
.sp-row b{font-weight:600;color:#1f6b45;flex:0 0 auto;font-size:12px}
.sp-del{color:#b04a3a;font-size:15px;line-height:1;padding:2px 4px;cursor:pointer;flex:0 0 auto}
/* 給油（日報）：回数ごと・車両ごとの明細 */
i.k-card{background:#e3f2f5;color:#1d6b7d}
i.k-advance{background:#fdf0e4;color:#9a5b12}
.fuel-row{display:flex;align-items:center;gap:8px;font-size:12.5px;color:#3d4a44;
  padding:7px 0;border-bottom:1px dashed #e6ece8;line-height:1.45}
.fuel-row:last-child{border-bottom:none}
.fuel-row-m{flex:1;min-width:0;display:flex;align-items:center;gap:8px;cursor:pointer}
.fuel-row-m i{font-style:normal;font-weight:700;font-size:10.5px;border-radius:5px;padding:2px 5px;flex:0 0 auto}
.fuel-row-m span{flex:1;min-width:0;word-break:break-word}
.fuel-ed-t{font-size:13px;color:#33413a;font-weight:700;margin-top:10px;padding-top:10px;border-top:1px dashed #e2eae5}
.fuel-ed-t .rk-hint{font-weight:400}
.fuel-none-row input{width:16px;height:16px;accent-color:#1f6b45;margin:0}
.fuel-none-done{font-size:12.5px;color:#1f6b45;background:#eef7f1;border:1px solid #cfe6d9;
  border-radius:8px;padding:8px 10px;line-height:1.5}

/* 運管：運行記録の経由地（接客・経停・落客）訂正 */
.leg-h{display:flex;align-items:center;gap:8px}
.leg-ed{flex:0 0 auto;font-size:11px;color:#1f6b45;background:#eef7f1;border:1px solid #cfe6d9;
  border-radius:7px;padding:3px 8px;cursor:pointer;line-height:1.5}
.leg-ed.on{background:#1f6b45;color:#fff;border-color:#1f6b45}
.sp-ed-box{margin-top:8px;background:#f5faf7;border:1px solid #e2ece6;border-radius:10px;padding:9px 10px}
.sp-ed-t{font-size:11.5px;color:#33413a;font-weight:700;margin-bottom:6px}
.sp-ed-t span{display:block;font-weight:400;color:#7b8a82;font-size:10.5px;margin-top:1px}
.sp-ed{background:#fff;border:1px solid #e6ece8;border-radius:8px;padding:7px;margin-bottom:6px;
  display:flex;flex-direction:column;gap:5px}
.sp-ed:last-child{background:#fffdf6;border-color:#f0e4c8}
.sp-ed-h{display:flex;gap:5px;align-items:center;flex-wrap:nowrap}
.sp-ed-h .sp-k{flex:0 0 66px}
.sp-ed-h .sp-t{flex:0 0 90px}
.sp-ed-h .sp-n{flex:0 0 56px}
.sp-ed-h .sp-o{flex:0 0 92px}
.sp-ed-h .sp-m{flex:1;min-width:0}
.sp-ed input,.sp-ed select{font-size:12.5px;padding:6px 7px;border:1px solid #dbe4de;border-radius:7px;
  background:#fff;width:100%;font-family:inherit;color:#22302a}
.sp-ed input:focus,.sp-ed select:focus{outline:none;border-color:#8fbfa4;box-shadow:0 0 0 2px rgba(31,107,69,.08)}
.sp-ed-b{display:flex;gap:6px;margin-top:1px}
/* 経停地の編集：メーター入力行（未入力は黄色で目立たせる） */
.sp-ed-odo{display:flex;align-items:center;gap:6px}
.sp-ed-odo label{flex:0 0 auto;font-size:11px;color:#6b7a72;font-weight:600}
.sp-ed-odo input{flex:1;min-width:0}
.sp-ed-odo span{flex:0 0 auto;font-size:11px;color:#8b9a92}
.sp-ed-odo input.sp-odo-miss{background:#fff8e6;border-color:#e8c98a}
.sp-ed-odo input.sp-odo-miss::placeholder{color:#b8892a}
/* 保存後の区間（起終点）確認 */
.sp-ed-range{margin-top:8px;padding-top:7px;border-top:1px dashed #dbe7e0;
  font-size:11.5px;color:#4a5a52}
.sp-ed-range b{color:#1f6b45;font-size:13px}
/* 経停地の編集：停車→発車の時刻ペア（「启动」で記録した発車時刻をここで確認・訂正） */
.sp-ed-tm{display:flex;align-items:center;gap:5px}
.sp-ed-tm label{flex:0 0 auto;font-size:11px;color:#6b7a72;font-weight:600}
.sp-ed-tm input{flex:1;min-width:0}
.sp-ed-tm input.sp-lv-miss{background:#fff8e6;border-color:#e8c98a}
.sp-ed-wait{font-size:11px;color:#4a5a52;margin:-1px 0 1px}
.sp-ed-wait b{color:#1f6b45}
/* 日報の経由明細：時刻の後ろに出す待ち時間 */
.sp-wait{font-style:normal;background:#e8f4ec;color:#1d6b43;border-radius:6px;
  padding:0 4px;font-size:10px;font-weight:700;margin-left:2px}
/* 日報の運行記録：1注文1行のまま、行をタップで経由明細を開く */
.rp-leg.has-sp{cursor:pointer}
.rp-sp-n{display:inline-block;background:#eef2ef;color:#4f6157;border-radius:6px;padding:0 5px;
  font-size:10.5px;margin-left:4px}
.rp-leg-s{display:none;margin-top:6px;border-top:1px dashed #e2eae5;padding-top:2px}
.rp-leg.open .rp-leg-s{display:block}
.has-sp{cursor:pointer}
.has-sp.open .rp-leg-s{display:block}
.dc-f{display:flex;gap:9px;align-items:center;font-size:11.5px;color:var(--ink3);margin-top:9px;padding-top:9px;border-top:1px dashed #eef2ef}

/* 报销项 */
.rb{display:flex;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #f2f5f3;flex-wrap:wrap}
.rb:last-child{border:none}
.rb .ic{width:32px;height:32px;border-radius:9px;background:#fdf3e3;color:var(--amber);display:grid;place-items:center;font-size:14px;flex:0 0 auto}
.rb b{font-size:13px;display:block}
.rb small{font-size:10.5px;color:var(--ink3);display:block;margin-top:1px}
.rb .amt{margin-left:auto;font-family:Menlo,monospace;font-size:14px;flex:0 0 auto}
.rb .ops{display:flex;flex-direction:column;gap:5px;margin-left:8px;flex:0 0 auto}
.rb small.rb-sub{font-size:10px;color:#7f9a90;margin-top:3px}
/* 卡片主区占满宽度，金额挪到标题行右侧，按钮单独一行，避免三行小字被挤成多行 */
.rb .rb-main{flex:1;min-width:0}
.rb .rb-main>b{display:flex;align-items:center;gap:6px;padding-right:2px}
.rb .rb-main>b .tag{font-weight:400}
.rb .rb-acts{flex:0 0 100%;display:flex;gap:8px;margin-top:9px}
.rb .rb-acts .btn{flex:1;margin:0}
/* 报销页的去向选择单独占一行，不用再跳到订单详情 */
.rb .rb-foot{flex:0 0 100%;display:flex;align-items:center;gap:8px;margin-top:9px;
  padding-top:8px;border-top:1px dashed #e8efeb}
.rb .rb-lab{font-size:11px;color:var(--ink3);flex:0 0 auto}
.rb .rb-seg{flex:1;margin:0}
.rb .rb-seg button{padding:7px 3px;font-size:11.5px}
.rb .btn[disabled]{opacity:.42;cursor:not-allowed}
/* 去向未处理的代付款：整行描边提示，避免漏掉 */
.rb.hl-unset{background:#fff8f7;border-radius:10px;padding-left:8px;margin-left:-8px;
  box-shadow:inset 3px 0 0 var(--red)}

/* 司机代付款去向（订单详情内逐项确认） */
.adv-row{border:1px solid var(--line);border-radius:12px;padding:10px 11px;margin-bottom:9px;background:#fbfdfc}
.adv-row.unset{border-color:#f0bdb8;background:#fff7f6;box-shadow:inset 3px 0 0 var(--red)}
.adv-hd{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.adv-n{font-size:13.5px;font-weight:700;color:var(--ink)}
.adv-a{margin-left:auto;font-family:Menlo,monospace;font-size:14.5px;color:var(--ink)}
.adv-seg{margin-top:9px}
.adv-seg button{padding:9px 3px;font-size:12px}
.adv-seg button.off{opacity:.45;cursor:not-allowed}
/* 已报销的行淡化，只剩状态标签；未报销的留出报销按钮 */
.adv-row.done{background:#f7f9f8;border-color:#e4ebe7}
.adv-ops{margin-top:9px}
.adv-ops .btn{margin-top:0;width:100%;padding:10px;font-size:13px}
.adv-all{margin-top:2px;padding:11px;font-size:13.5px;width:100%;display:block}
.fin-ok{font-size:11.5px;line-height:1.7;color:#0f6b52;background:#eef7f2;border:1px solid #cbe4d8;
  border-radius:10px;padding:9px 11px;margin-top:6px}
.fin-ok b{color:#0a5340}
/* 未收款页：订单应收 + 代付款 = 本次应收合计 */
.adv-sum{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;margin-top:8px;padding:8px 10px;
  border-radius:10px;background:#f2f7fa;border:1px solid #d5e5f0;font-size:12px;color:#456}
.adv-sum b{font-family:Menlo,monospace;font-size:13px;color:var(--ink)}
.adv-sum .tot{flex:1 1 100%;padding-top:6px;margin-top:2px;border-top:1px dashed #c9dbe8;color:#1d6fb8}
.adv-sum .tot b{font-size:15px;color:#1d6fb8}

/* toast */
#toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:rgba(19,32,25,.93);
  color:#fff;padding:10px 18px;border-radius:20px;font-size:13px;z-index:99;opacity:0;transition:.25s;pointer-events:none;max-width:80%}
#toast.on{opacity:1}

/* 切换 */
.switch{position:relative;width:44px;height:25px;background:#d9e2dc;border-radius:14px;transition:.2s;flex:0 0 auto}
.switch::after{content:"";position:absolute;top:2.5px;left:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:.2s;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.switch.on{background:var(--brand2)}
.switch.on::after{left:21px}

/* 明细表导出：时间快捷按钮 */
.quick{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.quick button{flex:1;min-width:60px;padding:9px 4px;border:1px solid var(--bd,#d9e2dc);background:#f6f8f7;border-radius:10px;font-size:13px;color:var(--ink2,#1f3b2f);cursor:pointer;transition:.15s}
.quick button:active{background:var(--green,#1f6f4a);color:#fff}
.cond-box{padding:10px 12px;background:#eef4f0;border:1px solid var(--bd,#d9e2dc);border-radius:10px;font-size:14px;color:var(--ink,#1f3b2f)}

/* 页面内确认弹窗（替代原生 confirm，微信/手机浏览器可靠） */
.dlg-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;z-index:999;padding:24px}
.dlg-box{background:#fff;border-radius:14px;max-width:320px;width:100%;padding:20px 18px;text-align:center;box-shadow:0 10px 40px rgba(0,0,0,.25)}
.dlg-msg{font-size:15px;line-height:1.5;color:#1f3b2f;margin-bottom:18px;white-space:normal}
.dlg-btns{display:flex;gap:10px}
.dlg-btns button{flex:1;padding:11px 0;border-radius:10px;font-size:15px;border:1px solid #d9e2dc;cursor:pointer}
.dlg-cancel{background:#f1f4f2;color:#46594f}
.dlg-ok{background:#1f6f4a;color:#fff;font-weight:600}
.dlg-ok:active{background:#185c3d}

/* ==========================================================================
   小程序化组件层（2026-10 重构）
   —— 重点信息突出：金额分级（display / major / minor）、分组入口、财务专属隔离
   ========================================================================== */

/* 金额分级：所有"钱"都套 .money，按重要性选 lv1/lv2/lv3 */
.money{font-family:"SF Mono",Menlo,Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:-.5rpx}

/* lv1：本月核心结论（毛利/净利），一屏之内最需要被看见的数字 */
.stat-lv1{display:flex;flex-direction:column;gap:4rpx}
.stat-lv1 .lab{font-size:var(--fs-cap);color:rgba(255,255,255,.72);letter-spacing:1rpx}
.stat-lv1 .val{font-size:var(--fs-display);font-weight:700;line-height:1.1;letter-spacing:-2rpx}
.stat-lv1 .foot{font-size:var(--fs-cap);color:rgba(255,255,255,.66)}

/* lv2：本月钱三件套（营收 / 应收 / 应付），并排但弱于 lv1 */
.money-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:0;
  background:#fff;border-radius:16px;margin-bottom:11px;overflow:hidden;
  box-shadow:0 1px 3px rgba(19,32,25,.05)}
.money-strip>div{padding:13px 8px;text-align:center;position:relative;cursor:pointer}
.money-strip>div+div::before{content:"";position:absolute;left:0;top:18%;height:64%;width:1px;background:var(--line)}
.money-strip .lab{font-size:var(--fs-cap);color:var(--ink3);line-height:1.3;min-height:28rpx}
.money-strip .val{font-size:34rpx;font-weight:700;margin-top:6rpx;letter-spacing:-1rpx}
.money-strip .foot{font-size:20rpx;color:var(--ink3);margin-top:3rpx}
.money-strip .val.warn{color:var(--amber)}
.money-strip .val.red{color:var(--red)}

/* 分组入口（替代原来一长串纯文字列表）：2 列图标网格 */
.group-card{margin-bottom:11px}
.group-card .g-h{display:flex;align-items:center;gap:8rpx;padding:4rpx 4rpx 12rpx;font-size:var(--fs-cap);
  font-weight:600;color:var(--ink3);letter-spacing:1rpx}
.group-card .g-h::after{content:"";flex:1;height:1px;background:var(--line)}
.g-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.g-item{display:flex;align-items:center;gap:11px;background:#fff;border-radius:14px;padding:14px 13px;
  box-shadow:0 1px 3px rgba(19,32,25,.05);cursor:pointer;transition:transform .12s,box-shadow .12s}
.g-item:active{transform:scale(.97);box-shadow:0 1px 2px rgba(19,32,25,.08)}
.g-item .g-ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;font-size:18px;
  background:#eef4f0;color:var(--brand2);flex:0 0 auto}
.g-item .g-tx{min-width:0;flex:1}
.g-item .g-tx b{display:block;font-size:13px;font-weight:600;line-height:1.3}
.g-item .g-tx small{display:block;font-size:10.5px;color:var(--ink3);margin-top:2px;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g-item .g-badge{min-width:18px;height:18px;border-radius:9px;background:#d0544a;color:#fff;
  font-size:10.5px;font-weight:700;display:grid;place-items:center;padding:0 5px;flex:0 0 auto}
/* 分组配色：财务/资金类用暖色，成本类用中性，外协用蓝，系统设置用灰 */
.g-item.tone-fin .g-ic{background:#fdf6ea;color:#b57a12}
.g-item.tone-cost .g-ic{background:#f1f4f2;color:#4a5d54}
.g-item.tone-out .g-ic{background:#eaf1fa;color:#2b6cb0}
.g-item.tone-sys .g-ic{background:#f2f2f4;color:#6d7480}

/* 财务专属数字（客户收款价 / 毛利 / 外协应付）：左侧金色竖条 + 淡金底，视觉上与其他数字隔离 */
.fin-only{position:relative;padding-left:10px!important;background:var(--fin-bg);
  border-radius:8px;margin:2px 0}
.fin-only::before{content:"";position:absolute;left:0;top:15%;bottom:15%;width:3px;
  background:var(--fin);border-radius:2px}
.fin-only .tag-mini{font-size:9.5px;color:var(--fin);border:1px solid var(--fin-line);
  border-radius:4px;padding:0 3px;margin-left:4px;vertical-align:1px}

/* 次级指标折叠区：运营数据（油耗/里程/升数）默认收起，不抢财务数字的注意力 */
.substat-toggle{display:flex;align-items:center;gap:6px;padding:12px 4px;font-size:11.5px;
  color:var(--ink3);cursor:pointer}
.substat-toggle .arw{transition:transform .2s;font-size:10px}
.substat-toggle.open .arw{transform:rotate(90deg)}

/* 空态 / 骨架，移动端更轻 */
.empty-tip{text-align:center;padding:40px 0;color:var(--ink3);font-size:12.5px;line-height:1.8}

/* 小屏兜底（iPhone SE 等 320~360pt）：不让 3 列金额挤成两行 */
@media (max-width:360px){
  .money-strip .val{font-size:30rpx}
  .g-grid{gap:8px}
  .g-item{padding:12px 10px}
}

/* 大屏（小程序 webview 内一般为手机宽度，此处仅桌面预览兜底） */
@media (min-width:520px){
  #finance,#driver,#ops,#outsource{border-radius:0}
}

/* ===== 批量录入档案 ===== */
/* 空档案时的引导卡：刚清空完系统第一次进来会看到，做成虚线框区别于普通卡片 */
.b-welcome{border:1.5px dashed var(--fin-line,#f0c98a);background:var(--fin-bg,#fffaf0)}
.b-wel-btns{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.b-wel-btns .btn-primary,.b-wel-btns .btn-line{width:100%;padding:11px 12px;font-size:13.5px}

/* 类型切换（司机/车辆/客户） */
.b-tabs{display:flex;gap:6px;margin:2px 0 10px}
.b-tab{flex:1;text-align:center;padding:8px 4px;font-size:12.5px;border-radius:10px;
  background:#f2f5f3;color:var(--ink2,#6b7a70);cursor:pointer;transition:.15s}
.b-tab.on{background:var(--brand,#0f9d58);color:#fff;font-weight:600}

/* 说明文字 */
.b-tip{font-size:11.5px;line-height:1.65;color:var(--ink3,#8a968d);
  background:#f7f9f8;border-radius:9px;padding:8px 10px;margin:6px 0 10px}
.b-tip.warn{background:#fff6f4;color:#b4482f}
.b-tip b{color:#b4482f}
.b-or{font-size:11.5px;color:var(--ink3,#8a968d);text-align:center;margin:12px 0 6px}

/* 粘贴区：等宽字体让列对齐，关闭自动大写 */
.b-ta{width:100%;box-sizing:border-box;border:1px solid #e2e8e4;border-radius:10px;
  padding:10px;font-size:12.5px;line-height:1.7;font-family:Menlo,Consolas,monospace;
  resize:vertical;background:#fff;color:var(--ink)}
.b-ta:focus{outline:none;border-color:var(--brand,#0f9d58)}
input[type=file]{width:100%;font-size:11.5px;padding:8px 6px;box-sizing:border-box;
  border:1px dashed #d5dcd7;border-radius:10px;background:#fbfcfb;color:var(--ink2)}

/* 预览表格：网格布局保证多列不错位 */
.b-prev{border:1px solid #e8ede9;border-radius:11px;overflow:hidden;margin:8px 0 12px;max-height:44vh;overflow-y:auto}
.b-prev-h,.b-row{display:grid;grid-template-columns:26px repeat(var(--cols,3),minmax(0,1fr));
  gap:4px;padding:7px 8px;font-size:11.5px;align-items:center}
.b-prev-h{background:#f4f7f5;font-weight:600;color:var(--ink2);position:sticky;top:0;z-index:1}
.b-row{border-top:1px solid #f0f3f1}
.b-row.bad{background:#fff6f4}
.b-i{color:var(--ink3);font-size:10.5px}
.b-row.bad .b-i{color:#c0553c;font-weight:600}
.b-err{grid-column:1/-1;color:#c0553c;font-size:11px;padding-top:2px}
.b-more{font-size:11px;color:var(--ink3);text-align:center;padding:6px;background:#fafbfa}

/* 结果页 */
.b-done{display:flex;align-items:baseline;justify-content:center;gap:6px;padding:14px 0 4px}
.b-done-n{font-size:28px;font-family:Menlo,monospace;color:var(--brand,#0f9d58)}
.b-done-n.bad{color:#c0553c}
.b-done span{font-size:12px;color:var(--ink2)}

/* ===== 档案删除 / 停用 ===== */
/* 行内多个按钮并排（配置+删除），不挤压左侧名称 */
.row-btns{display:flex;align-items:center;gap:6px;flex-shrink:0}
.etc-sw{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--ink3)}
.btn.danger{color:#c0553c;border-color:#f0cdc4;background:#fff8f6}
.btn.danger:active{background:#fdeae5}
/* 确认弹窗：危险操作用红色确认键 + 警告文案 */
.dlg-msg.warn{color:#b4482f;font-weight:500}
.dlg-ok.danger{background:#c0553c;color:#fff}
.pl-r.muted{color:var(--ink3)}
.pl-r.muted span:first-child{text-decoration:line-through}

/* 金额输入 + 币种选择（财务/运管建单） */
.money-in{display:flex;gap:6px;align-items:center}
.money-in input{flex:1;min-width:0}
.money-in select{width:88px;flex:none}
/* 币种徽标：人民币单需要与日元单明显区分 */
.cur-tag{display:inline-block;font-size:9.5px;line-height:1.5;padding:0 5px;border-radius:5px;
  background:#fff3e0;color:#a35b00;border:1px solid #f0d3a8;margin-left:5px;vertical-align:1px}
.cur-tag.jpy{background:#eef4f0;color:#4d6357;border-color:#dbe7e0}

/* ---------- 单笔核算：分币种表格（日元/人民币各算各的，不折算） ---------- */
.fin-grid{width:100%;border-collapse:collapse;margin:4px 0 6px;font-size:12.5px;table-layout:fixed}
.fin-grid th{font-size:10.5px;font-weight:600;color:#6b7c72;padding:7px 8px;text-align:right;
  background:#f6faf7;border-bottom:1px solid #e3ebe6;letter-spacing:.3px}
.fin-grid th:first-child{text-align:left;width:44%}
.fin-grid td{padding:8px;text-align:right;border-bottom:1px solid #f0f3f1;
  font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}
.fin-grid td:first-child{text-align:left;color:#3f5348;font-family:inherit}
.fin-grid tr.sub td{border-bottom:1px dashed #eef2f0}
.fin-grid tr.sub td:first-child{color:#82948a;font-size:11.5px}
.fin-grid tr.tot td{font-weight:800;font-size:14px;color:#14523A;border-top:1.5px solid #dce7e1;border-bottom:none;padding-top:10px}
.fin-grid tr.tot td:first-child{font-size:12px;font-weight:600}
.fin-grid td.neg{color:#c0392b}
.fin-grid td.dim{color:#c3cec8;font-weight:400}
.fin-note{font-size:10.5px;line-height:1.65;color:#7d8f85;margin:2px 0 4px}
.fin-tip{font-size:11.5px;line-height:1.7;color:#8a5a00;background:#fff8e8;border:1px solid #f2e2c0;
  border-radius:10px;padding:9px 11px;margin-top:6px}
.fin-tip b{color:#7a4b00}
.fin-star{color:#c07600;font-weight:700;font-size:10px;vertical-align:super}

/* 派单缺口提醒：未派单（红）/ 未指定车辆（橙）做成小药丸，看板与派单页一眼可见 */
.rb .drv-warn{display:inline-block;padding:0 6px;border-radius:6px;background:#fdecea;border:1px solid #f3b6b0;
  font-size:12px;line-height:18px;font-weight:700;color:#c0392b;margin-left:2px;white-space:nowrap;vertical-align:1px}
.rb .veh-warn{display:inline-block;padding:0 6px;border-radius:6px;background:#fff4e6;border:1px solid #ffd591;
  font-size:12px;line-height:18px;font-weight:700;color:#ad6800;margin-left:2px;white-space:nowrap;vertical-align:1px}
.dc-veh-warn{display:inline-flex;align-items:center;gap:5px;font-size:16px;font-weight:800;color:#c0392b;
  background:#fdecea;border:1px solid #f5c6c0;border-radius:8px;padding:3px 9px}

/* 外协提交备注：财务审核时高亮显示（蓝底，与黄色意见框区分） */
.out-note{margin-top:6px;background:#eef6ff;border:1px solid #c6dcf7;border-radius:9px;
  padding:7px 10px;font-size:13px;color:#1f4d7a;font-weight:600;line-height:1.5;word-break:break-word}
.out-note-s{background:#fff7e3;border-color:#f0dca0;color:#7a5a14;font-weight:500;font-size:12.5px}

/* 财务外协审核看板：卡片改两段式，备注与结算明细不再被状态/按钮挤成窄条 */
.rb.ob{flex-wrap:wrap;align-items:flex-start;row-gap:9px;padding:13px 0}
.rb.ob > .ic{margin-top:3px}
.rb.ob > .ob-main{flex:1 1 calc(100% - 46px);min-width:0}
.rb.ob > .ob-main small{font-size:11.5px;line-height:1.6}
.rb.ob > .tag{order:3;margin-top:2px}
.rb.ob > .ops{order:4;flex-direction:row;gap:6px;margin-left:auto;align-items:center}
.rb.ob > .ops + .ops{margin-left:6px}
/* 结算状态 + 收款状态并排一行，不各占一行 */
.rb.ob > .ob-tags{order:3;display:flex;flex-wrap:wrap;gap:6px;align-items:center}

/* 财务外协看板：收款价/应付行内显示，避免金额各占一行 */
.rb.ob .fin-only b{display:inline;margin:0 2px}
.rb.ob .fin-only .tag-mini{white-space:nowrap;margin-left:6px}
.rb.ob .fin-only{overflow:hidden}

/* 财务外协看板：未初审的结算单不给终审按钮，只显示等待提示 */
.wait-first{font-size:11px;color:#ad6800;background:#fff7e6;border:1px solid #ffd591;
  border-radius:8px;padding:3px 8px;white-space:nowrap}

/* ---------- 乗務員日報（出庫点呼・運行記録・日報タブ） ---------- */
.rp-box{border:1px solid #d8e4dc;background:#f7faf8;border-radius:12px;padding:11px 12px;margin:6px 0 10px}
.rp-t{font-size:13px;font-weight:600;margin-bottom:8px;display:flex;align-items:center;gap:8px}
.rp-sub{font-size:11px;font-weight:400;color:#7d8a83;margin-left:auto}
.rp-req{font-size:10px;background:#fdecea;color:#b93a2c;padding:2px 8px;border-radius:10px;margin-left:auto;font-weight:600}
.rp-ok{background:#e8f6ee;color:#1e7f6b;border-radius:10px;padding:9px 12px;font-size:12.5px;margin:6px 0 10px;font-weight:600}
.rp-chk{border:1px dashed #b9cdc2;border-radius:10px;padding:10px 11px;font-size:12.5px;color:#66786e;margin-top:8px;cursor:pointer;line-height:1.5}
.rp-chk.on{background:#e8f3ee;border-color:#1e7f6b;color:#14614f;border-style:solid;font-weight:600}
.rp-leg{display:flex;gap:9px;padding:9px 0;border-bottom:1px dashed #e6ece8}
.rp-leg:last-of-type{border-bottom:0}
.rp-leg-l{width:20px;height:20px;border-radius:10px;background:#eef3f0;color:#4a5a53;font-size:11px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 auto;margin-top:2px}
.rp-leg-edit{margin-top:3px;width:20px;height:18px;border:0;border-radius:6px;background:#e8f1ec;color:#1e7f6b;
  font-size:11px;line-height:1;cursor:pointer}
.rp-leg-edit:active{background:#cfe6dc}
.rp-leg-stop-edit{display:inline-block;margin:5px 0 0 auto;padding:4px 9px;border:1px solid #cfe0d8;border-radius:7px;background:#f3faf6;color:#1e7f6b;font-size:11.5px;font-family:inherit;cursor:pointer;flex:0 0 auto}
.rp-leg-stop-edit:active{background:#e2f0e9}
.rp-leg-add{width:100%;margin-top:8px;padding:10px;border:1px dashed #bcd6cb;border-radius:10px;background:#f5fbf8;color:#1e7f6b;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer}
.rp-leg-add:active{background:#e8f4ef}
.rp-leg-t{font-size:13px;font-weight:600;line-height:1.4}
.rp-leg-m{font-size:11.5px;color:#7d8a83;margin-top:2px}
.rp-sum{border-top:1px solid #e6ece8;margin-top:9px;padding-top:9px;font-size:12.5px;color:#4a5a53}

/* メーター読み取り → 本单行驶 → 実車/回送 の自動計算表示（三重入力をやめた） */
.rk-sum{font-size:12.5px;color:#3d4a44;background:#f4f8f5;border:1px solid #e2eae5;border-radius:9px;
  padding:7px 10px;margin:6px 0 2px;line-height:1.55}
.rk-sum b{font-weight:700;color:#1f6b45}
.rk-sum:empty{display:none}
.rk-hint{font-size:11px;font-weight:400;color:#8a968f;margin-left:6px}
.rk-ok{color:#2f7d52}
.rk-bad{color:#c0392b;font-weight:600}

/* 点呼執行者など、運管が記録する項目は運転者側では編集させない（閲覧のみ） */
.ro-fld{display:flex;align-items:center;gap:6px;background:#f2f5f3;border:1px solid #dfe7e2;
  border-radius:10px;padding:10px 11px;font-size:13px;color:#3d4a44;min-height:42px}
.ro-fld span{flex:1;min-width:0;line-height:1.35;word-break:break-word}
.ro-fld i{font-style:normal;font-size:10px;background:#e4ece7;color:#4f6157;border-radius:8px;padding:2px 6px;flex:0 0 auto}
/* 財務（閲覧のみ）画面のバナー */
.ro-bar{display:flex;gap:8px;align-items:center;background:#fff7e6;border:1px solid #ffd591;color:#8a5300;
  border-radius:10px;padding:9px 11px;font-size:12.5px;line-height:1.5;margin-bottom:10px;font-weight:600}
.ro-bar b{font-weight:700}
.ro-kv{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px dashed #e6ece8;font-size:13px}
.ro-kv span{color:#6b7a72;flex:0 0 auto}
.ro-kv b{font-weight:600;text-align:right;font-family:inherit;word-break:break-all}

/* 乗務員日報：2回記入の進捗（第1回 出庫前 → 第2回 帰庫後） */
.rp-steps{display:flex;gap:8px;margin:4px 0 2px}
.rp-step{flex:1;display:flex;gap:8px;align-items:flex-start;background:#f5f8f6;border:1px solid #e2ebe6;
  border-radius:11px;padding:9px 10px;min-width:0}
.rp-step i{font-style:normal;width:19px;height:19px;border-radius:50%;background:#cfdad4;color:#fff;
  font-size:11px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;margin-top:1px;font-weight:700}
.rp-step b{display:block;font-size:12.5px;line-height:1.35}
.rp-step small{display:block;font-size:10.5px;color:#7d8a83;margin-top:2px;line-height:1.35}
.rp-step.done{background:#eaf5ef;border-color:#bfdccd}
.rp-step.done i{background:#1e7f6b}
.rp-step.done b{color:#14614f}
.rp-step.cur{background:#fff8ec;border-color:#f0d9b0}
.rp-step.cur i{background:#c98a12}
.rp-step.cur b{color:#8a5300}
.rp-step.wait{background:#f5f8f6;border-color:#e2ebe6}
.rp-step.todo{opacity:.62}
/* 日常点検の項目チップ */
.rp-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:4px}
.rp-chips .rp-chk{margin-top:0;padding:7px 10px;font-size:12px;border-radius:9px}
/* 未帰庫の注文リスト */
.rp-pend{margin:8px 0 10px;padding:4px 10px;background:#f7f9f8;border:1px solid #e6ece8;border-radius:10px}

/* ---------- ETC 账单导入（2026-11-04 批次口径） ---------- */
.etc-hint{font-size:12px;line-height:1.75;color:#5d6f64;background:#f4f8f5;border:1px solid #e0eae4;
  border-radius:10px;padding:10px 12px;margin-bottom:12px}
.etc-file{display:block;border:1.5px dashed #c9d9cf;border-radius:12px;padding:20px 14px;text-align:center;
  color:#5d6f64;font-size:13px;margin:6px 0 10px;position:relative;overflow:hidden;background:#fbfdfb}
.etc-file input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}
.etc-file b{color:#14523A}
.etc-sum{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.etc-sum>div{background:#f7faf8;border:1px solid #e6eee9;border-radius:10px;padding:9px 11px}
.etc-sum span{display:block;font-size:10.5px;color:#7b8d83;margin-bottom:2px}
.etc-sum b{font-size:16px;font-weight:700;color:#14523A;font-variant-numeric:tabular-nums}
.etc-sum b.red{color:#b8432f}
.etc-tb{width:100%;border-collapse:collapse;font-size:11.5px;table-layout:auto}
.etc-tb th{font-size:10px;color:#7b8d83;font-weight:600;text-align:right;padding:6px 5px;
  border-bottom:1px solid #e6eee9;white-space:nowrap}
.etc-tb th:first-child,.etc-tb td:first-child{text-align:left}
.etc-tb td{padding:6px 5px;text-align:right;border-bottom:1px solid #f2f6f3;
  font-variant-numeric:tabular-nums;white-space:nowrap;color:#2f4638}
.etc-tb tr.tot td{font-weight:700;border-top:1.5px solid #dce7e1;border-bottom:none;color:#14523A}
.etc-tb tr.tot td:first-child{color:#51655a}
.etc-tb .p{font-size:10.5px;color:#51655a;font-variant-numeric:normal}
.etc-warn{font-size:11.5px;line-height:1.7;color:#a05a00;background:#fff8e8;border:1px solid #f2e2c0;
  border-radius:9px;padding:9px 11px;margin:8px 0}
.etc-batch{display:flex;gap:8px;align-items:center;padding:9px 0;border-bottom:1px dashed #eef2ef;font-size:12.5px}
.etc-batch .no{font-weight:600;color:#14523A}
.etc-batch .sp{flex:1;min-width:0}
.etc-batch .sub{font-size:10.5px;color:#82948a;display:block}
.etc-seg{display:flex;background:#eef2ef;border-radius:11px;padding:3px;gap:2px;margin:8px 0}
.etc-seg button{flex:1;border:0;background:transparent;padding:8px;border-radius:9px;font-size:12.5px;
  color:#5d6f64;font-family:inherit;font-weight:500}
.etc-seg button.on{background:#fff;color:#14523A;font-weight:700;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.etc-step{font-size:10.5px;color:#82948a;text-align:center;margin-bottom:6px;letter-spacing:.5px}

.etc-link{border:0;background:transparent;padding:0;margin-left:4px;color:#14523A;font:inherit;
  font-weight:700;text-decoration:underline;text-underline-offset:2px}
.etc-sub{font-size:11px;color:#7b8d83;font-weight:600;margin:14px 0 5px;letter-spacing:.3px}
.etc-rs{display:inline-block;font-size:10px;line-height:1.6;padding:1px 6px;border-radius:6px;
  white-space:nowrap;font-variant-numeric:normal}
.etc-rs.red{background:#fbeeea;color:#b8432f}
.etc-rs.amber{background:#fff5e0;color:#a05a00}
.etc-rs.blue{background:#eaf1fb;color:#2d5a9e}
.etc-rs.gray{background:#f0f2f1;color:#6b7b72}

.etc-det td:nth-child(2){white-space:nowrap}
.etc-det td:nth-child(3){white-space:nowrap}
.etc-mini{display:block;font-size:9.5px;color:#8d9c94;font-variant-numeric:tabular-nums;font-weight:400}
.etc-ord{display:block;font-size:10px;color:#33415c;font-family:ui-monospace,Menlo,monospace}
.etc-det .etc-rs{margin-top:2px}

/* ===== 看板 · 点呼記録簿の提醒条（第6页入口） ===== */
.rcstrip{display:flex;align-items:center;gap:10px;margin:10px 12px 0;padding:10px 12px;
  border:1px solid #f0dca0;background:#fff7e3;border-radius:12px;cursor:pointer}
.rcstrip.ok{border-color:#cfe2d7;background:#eef4f0}
.rcstrip .rc-ic{width:28px;height:28px;border-radius:9px;background:#c58a2a;color:#fff;
  display:grid;place-items:center;font-size:15px;flex:0 0 auto}
.rcstrip.ok .rc-ic{background:#2f8f68}
.rcstrip .rc-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.rcstrip .rc-tx b{font-size:12.5px;color:#3c2f12;font-weight:700}
.rcstrip.ok .rc-tx b{color:#14523A}
.rcstrip .rc-tx span{font-size:11.5px;color:#7a5a14}
.rcstrip.ok .rc-tx span{color:#4a6b5a}
.rcstrip .rc-go{font-size:12px;font-weight:600;color:#8a6414;white-space:nowrap}
.rcstrip.ok .rc-go{color:#2f8f68}

/* ===== 派单栏卡片右上角的待处理数量：有积压时红底白字，清零后转灰 ===== */
.cnt-badge{display:inline-block;min-width:40px;text-align:center;padding:2px 9px;border-radius:20px;
  font-size:11.5px;font-weight:700;line-height:1.45;font-variant-numeric:tabular-nums;
  background:#c0392b;color:#fff;box-shadow:0 1px 5px rgba(192,57,43,.32);letter-spacing:.2px}
/* 信息不完善用橙色，与「待派单」的红色区分开：一个是缺资料，一个是缺人 */
.cnt-badge.warn{background:#b06a00;box-shadow:0 1px 5px rgba(176,106,0,.3)}
.cnt-badge.zero{background:#e7ece9;color:#7e8b85;font-weight:600;box-shadow:none}
/* 待派单标题本身也跟数量一起变红，扫一眼就能定位 */
.card-t.cnt-hot{color:#a5301f}
