/* 进销存财务系统 — 自定义样式 */

body { font-size: .875rem; background: #f5f6fa; }

/* 业务面板大字块 */
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.field-card { display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem 1rem; border-radius: .75rem; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08);
  text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.field-card:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.12); color: inherit; }
.field-card .icon { font-size: 2rem; margin-bottom: .5rem; }
.field-card .label { font-weight: 600; }

/* 看板卡片 */
.stat-card { border-radius: .75rem; padding: 1.25rem; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.stat-card .stat-value { font-size: 1.75rem; font-weight: 700; }
.stat-card .stat-label { font-size: .8rem; color: #6c757d; }

/* 交账汇总 */
.settlement-card { border-radius: .75rem; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.settlement-card .sp-name { font-weight: 600; font-size: 1.1rem; }
.settlement-card .sp-stat { font-size: .85rem; color: #6c757d; }
.settlement-card .sp-stat strong { color: #212529; }

/* 表格紧凑 */
.table-sm td, .table-sm th { padding: .4rem .5rem; vertical-align: middle; }
.table-hover tbody tr { cursor: default; }

/* 手机适配 */
@media (max-width: 576px) {
  .field-grid { grid-template-columns: repeat(2, 1fr); }
  .container-fluid { padding-left: .5rem; padding-right: .5rem; }
  h4 { font-size: 1.1rem; }
}
