/* 小微车服 · 订单日报 · 20261028mAdmAn · 整页连续滚动，无固定底栏 */
:root {
  --ink: #0F1C2E;
  --brand: #1B4F8A;
  --accent: #0D7A5F;
  --surface: #F4F6F9;
  --card: #FFFFFF;
  --line: #D8DEE8;
  --muted: #5B6B7C;
  --warn: #B45309;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: auto;
  min-height: 100%;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.hidden { display: none !important; }
.daily-screen {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  height: auto;
  max-height: none;
  margin: 0 auto;
  padding: 10px 10px 28px;
  background: var(--surface);
  overflow: visible;
  display: block;
}
.hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.hd h1 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.hd .meta, .store-sec .meta { margin: 2px 0 0; font-size: 11px; color: var(--muted); }
.hd input[type="date"] {
  min-height: 36px; border: 1px solid var(--line); border-radius: 8px;
  padding: 2px 6px; font-size: 12px; background: #fff; color: var(--ink);
}
.kpi-row { display: grid; grid-template-columns: 1fr; gap: 6px; margin-bottom: 6px; }
.kpi-row.month { margin-bottom: 8px; }
.kpi {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; border-left: 4px solid var(--brand);
}
.kpi.accent { border-left-color: var(--accent); }
.kpi.warn { border-left-color: #DC2626; }
.kpi .lab { font-size: 12px; color: var(--muted); }
.kpi .val { font-size: 18px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.kpi .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.regions, .chart-card, .store-sec {
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; margin-bottom: 8px;
}
.regions { max-height: none; overflow: visible; }
.reg-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; padding: 3px 0; }
.reg-row .k { color: var(--ink); }
.reg-row .v { color: var(--muted); white-space: nowrap; }
.charts { display: block; }
.chart-card h3, .store-sec h3 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.chartbox { height: 86px; }
.chartbox svg { width: 100%; height: 100%; display: block; }
.summary { margin: 0 0 8px; font-size: 13px; color: var(--ink); line-height: 1.45; }
.actions { margin: 0 0 12px; }
button.primary {
  width: 100%; min-height: 44px; border: none; border-radius: 8px;
  background: var(--brand); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer;
}
.store-scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}
.store-table { border-collapse: collapse; min-width: 760px; width: 100%; font-size: 12px; }
.store-table th, .store-table td {
  padding: 8px 8px; border-bottom: 1px solid var(--line);
  text-align: right; white-space: nowrap;
}
.store-table th:first-child, .store-table td:first-child {
  text-align: left; position: sticky; left: 0; background: #fff; z-index: 1;
}
.store-table th { color: var(--muted); font-weight: 700; background: #F8FAFC; }
.toast {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; font-size: 12px; z-index: 5;
}
.toast.ok { background: var(--accent); }
.toast.err { background: #B42318; }
.gate { max-width: 480px; margin: 40px auto; padding: 24px 16px; text-align: center; }
.gate a { display: block; margin: 10px 0; color: var(--brand); font-weight: 700; }
.empty { color: var(--muted); font-size: 12px; text-align: center; padding: 10px 0; }
.daily-screen.self-scope .hd h1 { font-size: 16px; }


/* 20261028pendingLoanKpi */
.kpi-row.pending { margin-top: 8px; }
.kpi-card.pending-snap {
  background: #FFF8F0; border: 1px solid #E8D4B8; border-radius: 12px;
  padding: 12px 14px; width: 100%;
}
.kpi-card.pending-snap .lab { color: #8A5A20; font-size: 12px; font-weight: 600; }
.kpi-card.pending-snap .val { font-size: 15px; font-weight: 700; margin-top: 4px; color: #1c2430; }
.kpi-card.pending-snap .sub { font-size: 12px; color: #8A5A20; margin-top: 4px; }
