/* 工资核算页：全局视觉覆盖
   页面 bundle 内的 scoped CSS 含大量 %?N?% 占位，浏览器会丢弃声明，
   因此这里使用 [data-v-60f787bc] + !important 的独立覆盖层。 */

body .container[data-v-60f787bc] {
  height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  background: #f4f7fb !important;
}

/* 顶部导航 */
body .nav-bar[data-v-60f787bc] {
  position: relative !important;
  height: 52px !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #ffffff !important;
  border-bottom: 1px solid #edf2f7 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  z-index: 4;
}
body .nav-back[data-v-60f787bc] {
  width: 36px !important;
  height: 36px !important;
  margin-left: -6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body .back-arrow[data-v-60f787bc] {
  font-size: 22px !important;
  line-height: 1 !important;
  color: #334155 !important;
}
body .nav-title[data-v-60f787bc] {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  max-width: 170px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #1e293b !important;
  text-align: center !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}
body .nav-icons[data-v-60f787bc] {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-left: auto !important;
  z-index: 2;
}
body .nav-icon-btn[data-v-60f787bc] {
  min-height: 28px !important;
  padding: 0 10px !important;
  margin-left: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f1f5f9 !important;
  border: 1px solid #e7edf6 !important;
  border-radius: 7px !important;
  box-sizing: border-box !important;
}
body .nav-icon-btn:last-child[data-v-60f787bc] {
  background: #2563eb !important;
  border-color: #2563eb !important;
}
body .nav-icon-text[data-v-60f787bc] {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #475569 !important;
}
body .nav-icon-btn:last-child .nav-icon-text[data-v-60f787bc] {
  color: #ffffff !important;
}

/* 月份与重新核算 */
body .month-section[data-v-60f787bc] {
  padding: 10px 16px 11px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}
body .month-picker[data-v-60f787bc] {
  flex: 0 0 132px !important;
  height: 38px !important;
  padding: 0 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f5f8fc !important;
  border: 1px solid #e6edf6 !important;
  border-radius: 9px !important;
  box-sizing: border-box !important;
}
body .month-text[data-v-60f787bc] {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  letter-spacing: 0.2px;
}
body .month-arrow[data-v-60f787bc] {
  font-size: 14px !important;
  line-height: 1 !important;
  color: #94a3b8 !important;
  margin-left: 4px !important;
}
body .calc-hint[data-v-60f787bc] {
  flex: 1 !important;
  height: 38px !important;
  min-width: 0 !important;
  padding: 0 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  background: #edf4ff !important;
  border: 1px solid #dbe7ff !important;
  border-radius: 9px !important;
  box-sizing: border-box !important;
  color: #2563eb !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
}
body .calc-hint[data-v-60f787bc]::before {
  content: "↻";
  font-size: 14px;
  line-height: 1;
  color: #3b82f6;
}
body .calc-hint-text[data-v-60f787bc] {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
body .calc-hint[data-v-60f787bc]:active {
  background: #e3eeff !important;
}

/* 滚动列表 */
body .list-scroll[data-v-60f787bc] {
  flex: 1 !important;
  padding: 12px 16px calc(24px + env(safe-area-inset-bottom)) !important;
  box-sizing: border-box !important;
}

/* 汇总卡 */
body .summary-card[data-v-60f787bc] {
  display: flex !important;
  align-items: stretch !important;
  margin: 0 0 12px !important;
  padding: 12px 2px !important;
  background: #ffffff !important;
  border: 1px solid #ebf0f7 !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
}
body .summary-item[data-v-60f787bc] {
  position: relative !important;
  flex: 1 !important;
  min-width: 0 !important;
  padding: 0 6px !important;
  display: flex !important;
  flex-direction: column-reverse !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}
body .summary-item + .summary-item[data-v-60f787bc]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: #eff2f7;
}
body .summary-label[data-v-60f787bc] {
  font-size: 10.5px !important;
  line-height: 1.2 !important;
  color: #8a99ad !important;
  white-space: nowrap !important;
}
body .summary-value[data-v-60f787bc] {
  font-size: 18px !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  font-family: DIN, Helvetica, Arial, sans-serif !important;
  color: #1e293b !important;
  white-space: nowrap !important;
  letter-spacing: -0.3px;
}
body .summary-value.blue[data-v-60f787bc] {
  color: #2563eb !important;
  font-size: 16px !important;
}
body .summary-value.red[data-v-60f787bc] {
  color: #dc2626 !important;
  font-size: 16px !important;
}

/* 空状态 */
body .empty-state[data-v-60f787bc] {
  padding: 80px 0 !important;
  align-items: center !important;
}
body .empty-icon[data-v-60f787bc] {
  font-size: 44px !important;
  margin-bottom: 12px !important;
}
body .empty-title[data-v-60f787bc] {
  font-size: 15px !important;
  color: #64748b !important;
  margin-bottom: 6px !important;
}
body .empty-desc[data-v-60f787bc] {
  font-size: 11px !important;
  color: #94a3b8 !important;
  text-align: center !important;
}

/* 员工工资卡 */
body .salary-card[data-v-60f787bc] {
  margin: 0 0 12px !important;
  padding: 14px 15px !important;
  background: #ffffff !important;
  border: 1px solid #ebf0f7 !important;
  border-radius: 14px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  box-sizing: border-box !important;
}
body .card-header[data-v-60f787bc] {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding-bottom: 10px !important;
  margin-bottom: 6px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
body .card-user[data-v-60f787bc] {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
}
body .card-name[data-v-60f787bc] {
  font-size: 16.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #1e293b !important;
}
body .card-meta[data-v-60f787bc] {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 1px !important;
}
body .meta-tag[data-v-60f787bc] {
  display: inline-flex !important;
  align-items: center !important;
  padding: 2px 6px !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  color: #64748b !important;
  background: #f5f8fc !important;
  border: 1px solid #ebf1f8 !important;
  border-radius: 5px !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
}
body .meta-tag.dept[data-v-60f787bc] {
  color: #2563eb !important;
  background: #eff5ff !important;
  border-color: #dbe8ff !important;
}
body .card-total-box[data-v-60f787bc] {
  flex-shrink: 0 !important;
  min-width: 88px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 1px !important;
}
body .card-total-label[data-v-60f787bc] {
  font-size: 10px !important;
  line-height: 1.2 !important;
  color: #94a3b8 !important;
}
body .card-total[data-v-60f787bc] {
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  font-family: DIN, Helvetica, Arial, sans-serif !important;
  color: #dc2626 !important;
  white-space: nowrap !important;
  letter-spacing: -0.3px;
}

/* 区块标题 */
body .section-label[data-v-60f787bc] {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 2px 0 1px !important;
  padding: 6px 0 4px !important;
  font-size: 10.5px !important;
  line-height: 1.2 !important;
  color: #8a99ad !important;
  letter-spacing: 0.4px;
}
body .section-label[data-v-60f787bc]::before {
  content: "";
  width: 3px;
  height: 10px;
  border-radius: 2px;
  background: #3b82f6;
}

/* 薪资构成行 */
body .salary-items[data-v-60f787bc] {
  display: flex !important;
  flex-direction: column !important;
}
body .salary-row[data-v-60f787bc] {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 7px 0 !important;
  border-bottom: 1px solid #f5f7fa !important;
  box-sizing: border-box !important;
}
body .salary-row:last-child[data-v-60f787bc] {
  border-bottom: 0 !important;
}
body .s-label[data-v-60f787bc] {
  flex: 1 !important;
  min-width: 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  color: #55657a !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
body .s-value[data-v-60f787bc] {
  flex-shrink: 0 !important;
  padding-top: 1px;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  font-family: DIN, Helvetica, Arial, sans-serif !important;
  color: #334155 !important;
  white-space: nowrap !important;
  text-align: right !important;
}
body .s-value.green[data-v-60f787bc] {
  color: #16a34a !important;
}
body .s-value.red[data-v-60f787bc] {
  color: #dc2626 !important;
}
body .s-value.bold[data-v-60f787bc] {
  color: #0f172a !important;
}

/* 应发小计强调 */
body .subtotal-row[data-v-60f787bc] {
  margin: 5px -7px 2px !important;
  padding: 8px 7px !important;
  background: #f7f9fc !important;
  border: 0 !important;
  border-radius: 8px !important;
}
body .subtotal-row .s-label[data-v-60f787bc] {
  font-weight: 600 !important;
  color: #334155 !important;
}
body .subtotal-row .s-value[data-v-60f787bc] {
  font-size: 15px !important;
  color: #0f172a !important;
}

/* 扣款分隔 */
body .divider[data-v-60f787bc] {
  height: 1px !important;
  margin: 8px 0 4px !important;
  background: #f1f5f9 !important;
}

/* 核算明细：默认收起，展开后为独立小卡片 */
body .detail-list[data-v-60f787bc] {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-top: 8px !important;
}
body .detail-block[data-v-60f787bc] {
  padding: 7px 9px !important;
  background: #f7f9fc !important;
  border: 1px solid #eff3f9 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
}
body .detail-head[data-v-60f787bc] {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 3px !important;
}
body .detail-title[data-v-60f787bc] {
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: #64748b !important;
}
body .detail-count[data-v-60f787bc] {
  flex-shrink: 0 !important;
  padding: 1px 5px !important;
  font-size: 9.5px !important;
  line-height: 1.3 !important;
  color: #94a3b8 !important;
  background: #ffffff !important;
  border-radius: 8px !important;
}
body .detail-text[data-v-60f787bc] {
  display: block !important;
  font-size: 10px !important;
  line-height: 1.65 !important;
  color: #8a97a8 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
  white-space: pre-line !important;
}

/* 卡片底部操作 */
body .card-actions[data-v-60f787bc] {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: 9px !important;
  padding-top: 8px !important;
  border-top: 1px solid #f1f5f9 !important;
}
body .detail-toggle[data-v-60f787bc] {
  min-height: 24px !important;
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  padding: 0 2px !important;
  color: #64748b !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
}
body .detail-toggle-text[data-v-60f787bc] {
  font-size: 11.5px !important;
  line-height: 1.2 !important;
  color: #64748b !important;
}
body .detail-toggle-arrow[data-v-60f787bc] {
  display: inline-block !important;
  width: 12px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  color: #94a3b8 !important;
  transform: rotate(90deg);
  transition: transform 0.18s ease;
}
body .detail-toggle-arrow.is-open[data-v-60f787bc] {
  transform: rotate(-90deg);
}
body .adjust-btn[data-v-60f787bc] {
  min-height: 26px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #eff5ff !important;
  border: 1px solid #dbe8ff !important;
  border-radius: 7px !important;
  box-sizing: border-box !important;
  color: #2563eb !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
}

/* 旧版明细与底部提示（兼容缓存残留） */
body .salary-dates[data-v-60f787bc] {
  margin-top: 6px !important;
  padding: 7px 9px !important;
  background: #f7f9fc !important;
  border-radius: 8px !important;
  line-height: 1.65 !important;
}
body .salary-dates uni-text[data-v-60f787bc] {
  font-size: 10px !important;
  color: #8a97a8 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
body .card-foot-tip[data-v-60f787bc] {
  margin-top: 8px !important;
  padding-top: 7px !important;
  border-top: 1px solid #f1f5f9 !important;
  text-align: left !important;
}
body .card-foot-tip uni-text[data-v-60f787bc] {
  font-size: 10px !important;
  color: #b2bcc9 !important;
}

/* 设置与调整弹窗 */
body .modal-mask[data-v-60f787bc] {
  position: fixed !important;
  inset: 0 !important;
  z-index: 900 !important;
  padding: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(15, 23, 42, 0.5) !important;
  box-sizing: border-box !important;
}
body .modal-card[data-v-60f787bc] {
  width: 100% !important;
  max-width: 420px !important;
  max-height: 82vh !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22) !important;
}
body .modal-title[data-v-60f787bc] {
  padding: 14px 18px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #1e293b !important;
  text-align: center !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
body .modal-scroll[data-v-60f787bc] {
  max-height: 60vh !important;
  padding: 0 18px !important;
  box-sizing: border-box !important;
}
body .cfg-item[data-v-60f787bc] {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 11px 0 !important;
  border-bottom: 1px solid #f5f7fa !important;
}
body .cfg-item-col[data-v-60f787bc] {
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}
body .cfg-label[data-v-60f787bc] {
  flex: 1 !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  color: #475569 !important;
}
body .cfg-input[data-v-60f787bc] {
  flex-shrink: 0 !important;
  width: 112px !important;
  height: 34px !important;
  padding: 0 10px !important;
  background: #f5f8fc !important;
  border: 1px solid #e7edf6 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  font-size: 13px !important;
  text-align: right !important;
}
body .cfg-textarea[data-v-60f787bc] {
  width: 100% !important;
  min-height: 72px !important;
  padding: 9px 10px !important;
  background: #f5f8fc !important;
  border: 1px solid #e7edf6 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
  font-size: 12px !important;
}
body .cfg-tip[data-v-60f787bc] {
  padding: 6px 0 !important;
  font-size: 10.5px !important;
  line-height: 1.55 !important;
  color: #94a3b8 !important;
}
body .adjust-preview[data-v-60f787bc] {
  margin: 12px 0 !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #dc2626 !important;
  text-align: center !important;
  background: #fef2f2 !important;
  border-radius: 9px !important;
}
body .modal-actions[data-v-60f787bc] {
  display: flex !important;
  gap: 10px !important;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom)) !important;
  border-top: 1px solid #f1f5f9 !important;
}
body .btn-ghost[data-v-60f787bc],
body .btn-main[data-v-60f787bc] {
  flex: 1 !important;
  height: 40px !important;
  line-height: 40px !important;
  border-radius: 9px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
body .btn-ghost[data-v-60f787bc] {
  color: #475569 !important;
  background: #f1f5f9 !important;
}
body .btn-main[data-v-60f787bc] {
  color: #ffffff !important;
  background: #2563eb !important;
}

/* 小屏兜底 */
@media (max-width: 360px) {
  body .summary-value[data-v-60f787bc] {
    font-size: 17px !important;
  }
  body .summary-value.blue[data-v-60f787bc],
  body .summary-value.red[data-v-60f787bc] {
    font-size: 14.5px !important;
  }
  body .card-total[data-v-60f787bc] {
    font-size: 19px !important;
  }
  body .month-picker[data-v-60f787bc] {
    flex-basis: 120px !important;
  }
}

/* 桌面端居中收窄 */
@media (min-width: 720px) {
  body .month-section[data-v-60f787bc],
  body .list-scroll[data-v-60f787bc] {
    max-width: 760px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
  body .month-section[data-v-60f787bc] {
    border-left: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
  }
}
