.dl-hero { margin-bottom: 10px; }
.dl-datebar { display: flex; align-items: center; gap: 8px; margin: 4px 0 2px; }
.dl-nav { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1; padding: 0; }
.dl-nav:active { transform: scale(.94); }
.dl-date { flex: 1; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 8px;
  font-size: 16px; font-weight: 800; color: var(--ink); background: var(--card); text-align: center; min-width: 0; }
.dl-today-tag { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: #0D7C5F; background: #EAF3EF;
  border-radius: 999px; padding: 7px 10px; }
.dl-today-btn { flex: 0 0 auto; font-size: 12.5px; font-weight: 700; color: #fff; background: linear-gradient(135deg,#0E9F7A,#0D7C5F);
  border: none; border-radius: 999px; padding: 9px 12px; }
.dl-today-btn:active { transform: scale(.95); }
/* ★v47：日期状态行——小字日期/星期在左，标签/按钮在右（可换行，绝不挤占日期框） */
.dl-date-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 6px 2px 8px; }
.dl-date-sub { font-size: 12px; color: var(--ink2); margin: 0; min-width: 0; }
.dl-state { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.dl-chip { font-size: 12px; font-weight: 700; color: #6B7280; background: #F3F4F6; border-radius: 999px; padding: 5px 10px; }
.dl-chip.on { color: #0D7C5F; background: #EAF3EF; }
.dl-chip.warn { color: #9A6A00; background: #FFF7E6; }
.dl-sum-main { background: linear-gradient(135deg,#0E9F7A,#0D7C5F); border-radius: 16px; padding: 14px 14px 12px; color: #fff; margin-bottom: 8px; }
.dl-sum-main label { display: block; font-size: 12px; opacity: .92; }
.dl-sum-main b { display: block; font-size: 26px; font-weight: 800; letter-spacing: .3px; margin: 3px 0 4px; }
.dl-sum-main small { font-size: 11px; opacity: .85; }
.dl-sum-sub { display: flex; justify-content: space-between; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 9px 12px; margin-bottom: 6px; font-size: 13px; color: var(--ink2); }
.dl-sum-sub b { font-weight: 800; }
.dl-sum-sub.over b { color: #2C5F8A; }
.dl-sum-sub.net b { color: #6B7280; }
.dl-warn { background: #FFFBF3; border: 1px solid #F0E2C8; color: #7A6A4F; border-radius: 12px; padding: 9px 11px;
  font-size: 12.5px; line-height: 1.6; margin-bottom: 8px; }
.dl-warn.lite { background: #F7FBF9; border-color: #E3ECE8; color: #56736A; }
.dl-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 9px 0 8px; }
.dl-actions .action-btn { flex-direction: column; gap: 3px; padding: 8px 2px; font-size: 11.5px; min-height: 56px;
  display: flex; align-items: center; justify-content: center; }
.dl-actions .action-btn .action-ico { font-size: 15px; line-height: 1; margin: 0; }
.dl-search { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 0 12px; height: 42px; margin: 2px 0 12px; }
.dl-search-ico { font-size: 14px; opacity: .6; }
.dl-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; color: var(--ink); height: 100%; min-width: 0; }
.dl-list { display: flex; flex-direction: column; gap: 8px; }
.dl-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 12px 8px; border-left: 4px solid #D7E2DD; }
.dl-card.loss { border-left-color: #D64545; }
.dl-card.over { border-left-color: #2C5F8A; }
.dl-card.ok { border-left-color: #3E9A6E; }
.dl-card.none { border-left-color: #D7E2DD; }
.dl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 7px; }
.dl-title { min-width: 0; }
.dl-title b { font-size: 14.5px; color: var(--ink); }
.dl-title small { display: block; font-size: 11px; color: #8a8f98; margin-top: 1px; line-height: 1.45; }
.dl-price { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #0D7C5F; background: #EAF3EF; border-radius: 8px; padding: 3px 7px; white-space: nowrap; }
.dl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.dl-grid > div { min-width: 0; }
.dl-grid label { display: block; font-size: 10.5px; color: #8a8f98; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-in { width: 100%; box-sizing: border-box; height: 34px; border: 1px solid var(--line); border-radius: 9px;
  padding: 0 6px; font-size: 14px; font-weight: 700; color: var(--ink); text-align: center; background: #fff; }
.dl-in:focus { border-color: #0D7C5F; box-shadow: 0 0 0 2px rgba(13,124,95,.12); outline: none; }
.dl-num { display: block; height: 34px; line-height: 34px; text-align: center; font-size: 15px; font-weight: 800; color: #17211E;
  background: #F6FAF8; border-radius: 9px; overflow: hidden; }
/* ★v45：盘点只读带出（数据来自盘货页，同一份，不重复填） */
.dl-stock-ro { background: #EEF4F1; color: #3E6B5B; border: 1px dashed #C8DCD3; line-height: 33px; }
/* ★当天真实营业额输入行 */
.dl-rev-row { display: flex; align-items: center; gap: 7px; margin: 8px 0 6px; }
.dl-rev-row label { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.dl-rev-cur { font-size: 15px; font-weight: 800; color: #0D7C5F; }
.dl-rev-input { width: 120px; flex: 0 0 auto; height: 36px; }
.dl-rev-row .muted { font-size: 11px; color: #8a8f98; }
.dl-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 7px; padding-top: 6px; border-top: 1px dashed #EDF1EF; }
.dl-loss { font-size: 12.5px; color: #8a8f98; }
.dl-loss b { font-size: 14px; }
.dl-amt { font-size: 14px; font-weight: 800; }
.dl-src { font-style: normal; font-size: 10px; font-weight: 600; color: #8a8f98; margin-left: 2px; }
.dl-src.warn { color: #B97A00; }
.dl-src.ok { color: #3E9A6E; }
.dl-blue { color: #2C5F8A !important; }
.dl-sale-tip { font-size: 12.5px; color: var(--ink2); line-height: 1.65; margin-bottom: 8px; }
.dl-sale-actions { display: flex; gap: 8px; margin-bottom: 8px; }
.dl-sale-box { max-height: 46vh; overflow-y: auto; border: 1px solid #EDF1EF; border-radius: 12px; -webkit-overflow-scrolling: touch; }
.dl-sale-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 10px; border-bottom: 1px solid #F3F7F5; }
.dl-sale-row:last-child { border-bottom: none; }
.dl-sale-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--ink); font-weight: 600; }
.dl-sale-row input { width: 84px; box-sizing: border-box; height: 34px; border: 1px solid var(--line); border-radius: 9px; text-align: center;
  font-size: 14px; font-weight: 700; color: var(--ink); }
.dl-led-box { max-height: 40vh; overflow-y: auto; border: 1px solid #EDF1EF; border-radius: 12px; margin-bottom: 8px; }
.dl-led-row { display: flex; justify-content: space-between; padding: 7px 10px; border-bottom: 1px solid #F3F7F5; font-size: 13px; }
.dl-led-row:last-child { border-bottom: none; }
.dl-led-row b { font-weight: 600; color: var(--ink); }
.dl-led-row span { font-weight: 800; color: #0D7C5F; }
.dl-led-miss { font-size: 12px; color: #7A6A4F; background: #FFFBF3; border: 1px solid #F0E2C8; border-radius: 10px;
  padding: 8px 10px; line-height: 1.6; }
.dl-foot-tip { font-size: 11px; color: #9CA3AF; text-align: center; line-height: 1.7; margin: 12px 0 6px; }

/* ===== v46：每日损耗 · 营业额大卡片 + 盘点补填 + 日期跳转提示 ===== */
.dl-rev-card { border: 2px solid #0D7C5F; border-radius: 14px; padding: 12px 14px 10px; margin: 10px 0 12px;
  background: linear-gradient(180deg, #F2FAF6, #FFFFFF); }
.dl-rev-card.filled { background: linear-gradient(180deg, #E8F7F0, #FFFFFF); }
.dl-rev-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.dl-rev-step { background: #0D7C5F; color: #fff; border-radius: 50%; width: 22px; height: 22px; display: flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: 0 0 auto; }
.dl-rev-head label { font-size: 16px; font-weight: 800; color: #173B31; flex: 1; }
.dl-rev-ok { color: #0D7C5F; font-weight: 700; font-size: 13px; }
.dl-rev-need { color: #C53030; font-weight: 700; font-size: 13px; }
.dl-rev-body { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #CFE6DC;
  border-radius: 10px; padding: 4px 10px; }
.dl-rev-body .dl-rev-cur { font-size: 22px; font-weight: 800; color: #0D7C5F; }
.dl-rev-body input.dl-rev-input { flex: 1; width: auto; height: auto; border: 0; outline: 0; font-size: 24px;
  font-weight: 800; color: #173B31; background: transparent; padding: 6px 0; min-width: 0; }
.dl-rev-unit { font-size: 15px; color: #6B7B74; font-weight: 600; }
/* ═══ 总部端·每日损耗 门店同款镜像（v2.8）补充 ═══ */
.dl-mirror{max-width:640px;margin:0 auto}
.dl-list .empty-state{display:none}
.dl-card{cursor:default}
.dl-rev-hint{font-size:11.5px;color:var(--ink3);margin-top:6px}
.empty-state{padding:20px;text-align:center;color:var(--ink3);font-size:13px}
dl-root{display:block}
